Commit Graph

49 Commits

Author SHA1 Message Date
Roman
0698b059db pywebview 3.0 (#340)
* Update change_url.md

* Update api.md

* Update installation.md

* Add Google Analytics

* Fix installation

* 2.4 info

* [Docs] add information about window.pywebview availability

* Update debuggig info about QTWebEngine

* [Docs] Add information about app architecture

* Update cef.md

* [CEF] Fix JS logic not persisting after navigating to another page

* #169 Frameless window (#313)

* Merge PR #177: [Cocoa] Implement frameless windows

* [All] Add skeleton for `frameless` parameter
* [Cocoa] Add `frameless` kwarg to remove the window frame.
  - Implement a DragBar class to enable dragging the webview
  - Make the drag bar stick to the top and autoresize to the width
    of the view.

* [WinForms] Implement frameless window + easy drag

* Merge PR #177: [Cocoa] Implement frameless windows

* [All] Add skeleton for `frameless` parameter
* [Cocoa] Add `frameless` kwarg to remove the window frame.
  - Implement a DragBar class to enable dragging the webview
  - Make the drag bar stick to the top and autoresize to the width
    of the view.

* [WinForms] Implement frameless window + easy drag

* [GTK] partial implementation of frameless window

* [QT] Partial implementation of frameless window

* [QT] implement easy drag

* [Cocoa] Hide standard buttons and make the entire window draggable

* [GTK] implement easy move

* Add frameless tests

* Remove unused parameter

* [Cocoa] Implement free drag

* Revert WebBrowserInterops

* Code cleanup

* Update interop DLLs

* Fix interop dll

* Update docs; Fix tests

* Add example

* Update examples

* [CEF]: Implement support for pyinstaller one-file mode

* [CEF] Fix typo

* [All] Change api_call timeout to 15 seconds

* Update setup.py

* [QT] Simplify QT installation

* New API
Cocoa implementation
Revamped tests and examples

* Fix web engine force setting

* Rename destroy_window to destroy

* Update documentation

* Add documentation for 2.4

* Refactor project structure

* [GTK] New API support

* Rename confirm_quit to confirm_close
Split lifecycle events to shown and loaded

* [GTK] Implement new API
Fix tests

* [QT] New API implementation

* Remove multiprocessing

* [Windows/CEF] New API implementation

* Implement CSRF token
[All] Implement get_element

* Update Flask app example

* Rename get_element to get_elements. Bug fixes.

* [GTK] Implement propert JS-Python bridge for WebKit2 >2.2

* Update documentation

* [Windows/CEF] New API implementation

* Add token test

* [Winforms] Fix js api initialization

* [Cocoa] Fix events

* Debug: print webkit version

* [GTK] Check for old webkit

* [GTK] Fix event issues

* Catch notimlementederror in tests

* Update travis conf with qt from pip

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* [Windows] Preliminary implementation of EdgeHTML based on PR from @HeavenVolkoff

* [docs] Add information about EdgeHTML

* EdgeHTML WIP

* Remove windows.web import

* EdgeHTML improvements. Fix MSHTML evaluate_js

* [Docs] Add information about renderer limitations

* [EdgeHTML] Fix bugs and tests

* Remove window from windows list after it is destroyed

* Fix window object deletion after window is closed via GUI

* [Docs] Add information about renderer codes

* Refactor and fix JS API
Remove multiprocessing example
[MSHTML] Add console.log debug support

* [Travis] Change conf

* [WinForms] Fix fullscreen

* Fix dll installation

* [Windows] Fix DLL bundling

* Update changelog

* [CEF]: Fix JS API

* Update changelog

* Built-in HTTP server implementation

* Add http server test

* Add http server testcd

* Add http server testcd

* [EdgeHTML] allow localhost urls

* Add video example

* Bug fixing

* [Cocoa] Remove media prefs

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* [Travis] Disable QT 5.12 builds

* Update html_load.md
2019-07-07 13:33:37 +03:00
Roman
6ee73e7e66 #169 Frameless window (#313)
* Merge PR #177: [Cocoa] Implement frameless windows

* [All] Add skeleton for `frameless` parameter
* [Cocoa] Add `frameless` kwarg to remove the window frame.
  - Implement a DragBar class to enable dragging the webview
  - Make the drag bar stick to the top and autoresize to the width
    of the view.

* [WinForms] Implement frameless window + easy drag

* Merge PR #177: [Cocoa] Implement frameless windows

* [All] Add skeleton for `frameless` parameter
* [Cocoa] Add `frameless` kwarg to remove the window frame.
  - Implement a DragBar class to enable dragging the webview
  - Make the drag bar stick to the top and autoresize to the width
    of the view.

* [WinForms] Implement frameless window + easy drag

* [GTK] partial implementation of frameless window

* [QT] Partial implementation of frameless window

* [QT] implement easy drag

* [Cocoa] Hide standard buttons and make the entire window draggable

* [GTK] implement easy move

* Add frameless tests

* Remove unused parameter

* [Cocoa] Implement free drag

* Revert WebBrowserInterops

* Code cleanup

* Update interop DLLs

* Fix interop dll

* Update docs; Fix tests

* Add example

* Update examples
2019-02-16 21:33:05 +02:00
Roman Sirokov
e12f4feeb2 Delete __pycache__ 2019-02-12 22:41:21 +02:00
Roman
9c785381e9 #15 CEF implementation (#310) 2019-02-12 22:34:22 +02:00
Roman
a4e886490e Fix Windows tests 2018-12-18 00:14:20 +02:00
Shiva Prasad
7b1fffb7ae [All] Fix set_window_size test 2018-12-18 00:13:35 +02:00
Roman
1f87e1bc37 Remove commented code 2018-12-18 00:13:34 +02:00
Roman
cf558741fd Remove multiprocessing from tests 2018-12-18 00:13:33 +02:00
Roman
50fa55c852 Change multiprocessing start method to spawn for tests 2018-12-18 00:12:47 +02:00
Alexander Rowe
f368fc7a72 Set Window Size Functionality
Added set_window_size to api.
Added for all backends, tested on two of them

```
set_window_size(width, height, uid='master')
```

Tested Platforms:
- cocoa
- winforms

Untested platforms:
- win32
- gtk
- Qt
2018-12-09 23:41:30 +02:00
Roman
bc68569821 [GTK] Upgrade to Webkit2 (#264)
* [GTK] WIP WebKit2 upgrade

* [GTK] Implement getting js value via url change

* [GTK] Remove inspect-web-view signal handler

WebKit2 automatically shows the web inspector.

* [GTK] add a js_result lock

* [GTK] Implement document.title based JSON communication bridge
2018-10-07 01:02:29 +03:00
Roman Sirokov
156c3f01a4 Add a delay to window closing procedure in OSX tests 2018-06-05 15:33:22 +03:00
Roman Sirokov
ed7621a6e9 Code cleanup 2018-05-26 00:09:27 +03:00
Roman Sirokov
f489e6a411 [Cocoa] Change window close behaviour so that it returns control back to the calling code instead of termination 2018-05-24 23:14:40 +03:00
Roman
d8235627c8 Add 32/64 support for WebBrowserInterop (#218) 2018-04-28 19:54:44 +03:00
Roman
986cc57193 Change start to create_window 2018-04-07 22:41:49 +03:00
Roman
c9c0215244 Refactor tests 2018-04-07 22:41:49 +03:00
Roman Sirokov
073e6eb62f Location based implementation of .start() 2018-04-07 22:41:49 +03:00
r0x0r
e65f1eb356 Add test_start 2018-04-07 22:41:49 +03:00
Roman
22de1e0f9c evaluate_js, thread safety improvements
- Uniform cross-platform JS type conversion to Python types in evalulate_js
- Thread safety improvements 
- New test runner
2018-03-10 09:23:01 +02:00
Roman Sirokov
a620d3b580 Fix assert_js
[GTK] convert 'undefined' to None when evaluating js
2018-02-10 11:56:37 +02:00
Roman Sirokov
d755a597fd [Cocoa] Fix event logic 2018-02-10 01:23:02 +02:00
Roman Sirokov
599c154129 Refactor assert_js 2018-02-09 00:48:40 +02:00
Roman Sirokov
089b820fc0 Add uid to assert_js 2018-02-08 16:06:30 +02:00
Roman
0be073fb25 Remove debug message 2018-02-07 23:59:18 +02:00
Roman Sirokov
e48267bc71 [All] Add js bridge multi-window test 2018-02-07 21:39:25 +02:00
Roman
3f64c19472 Fix multi-window tests 2018-02-03 01:28:31 +02:00
Roman
c1ee9a0d4c Refactor tests 2018-02-02 00:53:17 +02:00
Roman
f08a52ce51 [WinForms] Multi-window implementation 2018-02-02 00:53:05 +02:00
Roman
cf9ba2bc06 Code cleanup 2018-01-26 23:28:56 +02:00
Roman Sirokov
81beb3ad1b [Winforms, GTK, QT] Implement set_title
Add test case
Update README
2018-01-26 15:13:59 +02:00
Roman
70d354f621 [WinForms] Fix race conditionm 2018-01-14 01:50:22 +02:00
Roman
438f15198d Add float test to test_js_bridge 2018-01-12 23:14:58 +02:00
Roman Sirokov
a68f879dec [QT] Fix concurrency issues with evaluate_js 2018-01-12 15:58:14 +02:00
Roman
6348ac8a12 Tweak test_js_bridge to pass on Windows 2018-01-05 00:02:21 +02:00
Roman Sirokov
a1f116040a Fix js_bridge test 2018-01-04 16:04:37 +02:00
Roman Sirokov
6db8cf499b Add prelimanary JSBridge tests 2018-01-04 14:07:55 +02:00
Roman Sirokov
046f41790a Update README 2018-01-04 14:07:41 +02:00
Roman
ff691adafe Remove open_file_dialog test 2017-09-19 00:38:18 +03:00
Roman
f7e9de1c6c Add evaluate_js test 2017-09-19 00:33:23 +03:00
Roman
1935a5c786 Merge branch 'master' into loading-indicator 2017-05-31 18:12:56 +03:00
Roman
c69e836180 Disable test_get_current_url 2017-05-31 18:11:41 +03:00
Roman
ea389739fb Increase destroy_window delay of test_get_current_url 2017-05-31 00:16:48 +03:00
Roman
57991e6232 Add invalid bg_color test cases 2017-05-31 00:03:59 +03:00
Roman
73eb0a825d Disable test_get_current_url 2017-05-30 00:13:31 +03:00
Roman
41eea121df Update test_bg_color.py 2017-05-16 09:05:37 +03:00
Roman
198785df41 Add bg_color test 2017-05-16 00:27:08 +03:00
Roman Sirokov
03f321aa80 [WinForms] Add background color 2017-05-16 00:26:17 +03:00
Roman
c5ff4e1362 Add test suite (#108)
* Add preliminary tests

* Tests experimentations

* Cosmetic changes

* Add preliminary tests

* Tests experimentations

* Cosmetic changes

* Make tests work on GTK/QT

* Fix confirm_quit on QT

* Add possibility to use env variables in config

* Add destroy event on event close in GTK

* Add queue to test_url_load

* Refine OSX tests
2017-04-27 16:08:51 +03:00