106 Commits

Author SHA1 Message Date
Roman
c875c8d98d Move window (#402)
* add move function to gtk.py

* add move function to qt.py

* add move function to window.py

* blind implementation of move function for winforms.py

* blindly implementing move in cocoa.py

* Add x,y
Update documentation
Fix GTK

* [Win] Center window by default

* [GTK] Center window by default
2019-10-18 23:50:03 +03:00
Roman Sirokov
410d089e63 Add exception handling to JS API 2019-10-16 09:27:12 +03:00
Roman Sirokov
73de4216c6 Fix Flask example to allow freezing 2019-08-11 22:12:17 +03:00
Roman Sirokov
d01531bbbc [Docs] Update docs, implement half-assed blog 2019-07-10 16:55:38 +03:00
Roman Sirokov
252fea34d4 [Docs] add info about link types 2019-07-07 13:35:46 +03:00
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
9c785381e9 #15 CEF implementation (#310) 2019-02-12 22:34:22 +02:00
Marco Roose
a6048d132c corrected some small JS linting mistakes 2018-11-27 23:56:04 +02:00
Marco Roose
628d47c50b Added an example how to use the js_api with parameters. 2018-11-27 23:56:04 +02:00
Roman
2160e60655 Revise evaluate_js example 2018-11-20 23:44:32 +02:00
Roman
2a370084ec Documentation website (#270) 2018-10-23 18:27:02 +03:00
Roman
225fc291ba Merge pull request #247 from r0x0r/import-refactor
#220: Refactor import logic
2018-09-05 10:03:46 +03:00
Roman Sirokov
06525ed5e1 Refactor import logic 2018-09-02 12:05:05 +03:00
Roman
4c01dbbd1b Create a dedicated landing page for examples 2018-09-02 01:17:24 +03:00
Roman Sirokov
c2963783ed Add fullscreen button to the todos example 2018-04-08 23:08:35 +03:00
Roman
986cc57193 Change start to create_window 2018-04-07 22:41:49 +03:00
Roman
64012f018f [WinForms] Make todos app Windows compatible 2018-04-07 22:41:49 +03:00
Roman Sirokov
4f32fa58b8 [WinForms] Add base_uri support 2018-04-07 22:41:49 +03:00
Roman Sirokov
0783b2c7f3 Revert "Remove base_uri paramter from load_html"
This reverts commit ee59b9412e1b0966116c279b75736aadfd530395.
2018-04-07 22:41:49 +03:00
Roman Sirokov
c000e4e1f9 Reshuffle todo assets 2018-04-07 22:41:49 +03:00
Roman Sirokov
442e141ba3 Add py2app script to todos_app 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
4f3348dc33 Refactoring and refinements 2018-04-07 22:41:49 +03:00
r0x0r
e65f1eb356 Add test_start 2018-04-07 22:41:49 +03:00
r0x0r
8b6e9120b9 [WIP] Implementation of webview.start() 2018-04-07 22:41:49 +03:00
Asiel Díaz Benítez
b9cc4d376e Examples clean up (#205) 2018-03-25 23:39:43 +03:00
Roman
1273fdb3d3 Convert js files to py modules (#193) 2018-03-13 19:40:43 +02: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
cd19742748 Remove base_uri paramter from load_html (#180) 2018-02-26 00:01:36 +02:00
Roman
57c79dd248 [WinForms] Change multi-window not to exit the app on master window close 2018-02-03 01:20:58 +02:00
Roman
0b8510fed8 Merge branch 'set-title' into multi-window 2018-01-27 00:32:03 +02:00
Roman
cf9ba2bc06 Code cleanup 2018-01-26 23:28:56 +02:00
Roman
c0410a97b2 [WinForms] Fix window title change 2018-01-26 23:23:07 +02:00
Shiva Prasad
61ab6a66af Merge js_api code from master into multi-window 2018-01-26 22:49:33 +05:30
Roman Sirokov
6514714a54 Set title skeleton + Cocoa implementation 2018-01-26 15:13:59 +02:00
Roman
717fa5f75d [WinForms] Implement custom alert box 2018-01-25 23:29:22 +02:00
Roman
6beae3094e Remove debug parameter 2018-01-06 00:00:20 +02:00
Roman
6348ac8a12 Tweak test_js_bridge to pass on Windows 2018-01-05 00:02:21 +02:00
Roman
234bc493dd [WinForms] Convert set_js_api to create_window parameter 2017-12-30 01:34:48 +02:00
Roman Sirokov
5c12dfdd94 [QT] >QT5.5 implementation of scripting object 2017-12-29 14:56:25 +02:00
Roman Sirokov
557d75be20 [QT] WIP implementation of scriping object in >QT5.5 2017-12-27 15:56:31 +02:00
Shiva Prasad
6d18d10a63 [All] Add cancel_heavy_stuff to JS API example 2017-12-03 08:10:03 +05:30
Roman
cec289353e Refine JS API example 2017-12-01 21:56:50 +02:00
Roman Sirokov
3bdbc37600 Make a better example of js_api 2017-11-30 00:42:16 +02:00
Shiva Prasad
44104ffd79 [All] Merge relevant changes from master 2017-11-26 11:37:54 +05:30
Roman
5d772c55d2 [GTK] Fix race conditioning when loading JS api 2017-11-25 00:49:47 +02:00
Roman Sirokov
1db02fa9f8 Add debugging skeleton
[OSX] Debug implementation
2017-11-23 23:00:40 +02:00
Roman Sirokov
46e73435d9 Proof of concept of non-blocking threading model for js-bridge functions 2017-11-22 16:51:51 +02:00
Roman Sirokov
837a23b7be Add promises support 2017-11-22 00:18:13 +02:00