24 Commits

Author SHA1 Message Date
Roman Sirokov
8235dd612d Fix unescaped single quote in js api calls 2019-08-29 23:14:54 +03:00
Roman Sirokov
1a1085c60e [All] Fix JS API type conversion for objectlike strings 2019-07-28 01:37:02 +03:00
Konstantin Vasserman
81dabd0900 Don't escape line breaks in result of js_bridge_call (#349) 2019-07-18 11:39:40 +03:00
Konstantin Vasserman
b1bb8c5b81 Fix for pytest warning about invalid escape sequence (#348) 2019-07-18 11:36:13 +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
9c785381e9 #15 CEF implementation (#310) 2019-02-12 22:34:22 +02:00
Roman
0d7d49889e Merge branch 'wkwebview' of https://github.com/r0x0r/pywebview into wkwebview 2018-12-18 00:17:03 +02:00
Roman
a4e886490e Fix Windows tests 2018-12-18 00:14:20 +02:00
Shiva Prasad
971f6a8466 [All] Quote URLs only on macOS
Quoting seems to produce errors on Windows. Also, the quote function of
urllib encodes parts of query strings as well, which is undesirable. So
a custom function has been used.
2018-12-18 00:13:35 +02:00
Shiva Prasad
bd8a1d7abc [Cocoa] Fix non-existant DOM when url is empty
Follow-up to a52d90b.
2018-12-18 00:13:35 +02:00
Roman
cf7d6edebf Merge branch 'wkwebview' of https://github.com/r0x0r/pywebview into wkwebview 2018-12-17 23:49:16 +02:00
Roman
72dd7b3084 Fix Windows tests 2018-12-17 23:47:18 +02:00
Shiva Prasad
339331aa09 [All] Quote URLs only on macOS
Quoting seems to produce errors on Windows. Also, the quote function of
urllib encodes parts of query strings as well, which is undesirable. So
a custom function has been used.
2018-12-14 18:51:19 +05:30
Shiva Prasad
1c2b315647 [Cocoa] Fix non-existant DOM when url is empty
Follow-up to a52d90b.
2018-12-10 12:29:12 +05:30
Shiva Prasad
91cd767877 [All] Quote special characters in relative URLs
Fixes #283.
2018-11-21 00:01:20 +02:00
Roman
d8235627c8 Add 32/64 support for WebBrowserInterop (#218) 2018-04-28 19:54:44 +03:00
Roman
d48374e143 [WinForms] Make WebBrowserInterop.dll import frozen friendly 2018-04-07 22:41:49 +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
Shiva Prasad
79b5cae38e Fix transform_url logic
It should have been `':' in url` instead of `not in`. :D
Anyway I think this syntax reads better.
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