Roman Sirokov
8c826753ff
2.3 info
2.3
2019-02-12 23:30:43 +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
1043204123
#189 : Remove QT4 ( #305 )
2019-02-04 15:58:18 +02:00
Roman Sirokov
7a4f5c6a79
[All] Add logging formatter
2018-12-23 14:32:38 +02:00
Roman Sirokov
634621b7f4
Add virtual environment to gitignore
2018-12-23 12:25:38 +02:00
Roman Sirokov
8e6acbb2ec
Merge branch 'master' of github.r0x0r:r0x0r/pywebview
2018-12-23 12:24:17 +02:00
Roman Sirokov
ed9b4bca27
[All] Refactor logging to keep its configuration locally
2018-12-23 12:22:59 +02:00
Shiva Prasad
40e424fbf9
[Cocoa] Enable dark mode support for macOS Mojave
2018-12-20 12:01:13 +05:30
Roman
669eaf82e6
Merge pull request #294 from r0x0r/wkwebview
...
[Cocoa] Upgrade to WKWebView
2018-12-19 00:29:43 +02:00
Roman Sirokov
3c0b2afe82
Update docs with WKWebView
2018-12-18 14:58:05 +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
7b1fffb7ae
[All] Fix set_window_size test
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
Shiva Prasad
3965293631
[Cocoa] Ignore colons while quoting urls
...
Plus some code cleanup.
2018-12-18 00:13:35 +02:00
Shiva Prasad
50960b02ee
[Cocoa] Move bridgesupport metadata to cocoa.py
2018-12-18 00:13:34 +02:00
Roman
1f87e1bc37
Remove commented code
2018-12-18 00:13:34 +02:00
Shiva Prasad
10a8248bd2
[Cocoa] Init NSURLs with quoted strings
...
Follow up to 91cd767 .
2018-12-18 00:13:34 +02:00
Shiva Prasad
a2c79086d6
[Cocoa] Reimplement JS window.print() hook
...
We are forced to use the private API _printOperationWithPrintInfo_ of
WKWebView, for the time being. It offers no better alternatives.
2018-12-18 00:13:34 +02:00
Shiva Prasad
ee33d18125
[Cocoa] Disable delete key nav via preference flag
...
More direct and robust than the current method. Works for internal links
as well. And this seems to be the method used by Safari. But the flag is
available only from macOS 14+.
2018-12-18 00:13:34 +02:00
Shiva Prasad
77c179366e
[Cocoa] Disable right/control click context menu
2018-12-18 00:13:34 +02:00
Shiva Prasad
3475532bb6
[Cocoa] Port WKNavigationDelegate methods
2018-12-18 00:13:34 +02:00
Shiva Prasad
7d4d089732
[Cocoa] Convert method signatures to byte strings
...
For compatibility with Python 3.x ctypes.create_string_buffer.
2018-12-18 00:13:34 +02:00
Shiva Prasad
f3f9cc0516
[Cocoa] Properly port WKUIDelegate methods
...
Manually assign the missing block signatures of the completionHandler
arguments (idea credits: https://github.com/munki/munki/commit/b9944e9 ).
2018-12-18 00:13:34 +02:00
Shiva Prasad
577fbd9563
[Cocoa] Manually load metadata when unavailable
...
The metadata for WKWebView evaluateJavaScript:completionHandler: is
absent in older versions (<3.1) of PyObjC. We need to manually load
the required metadata using PyObjC's manual metadata loading system.
2018-12-18 00:13:33 +02:00
Roman
064b859601
Fix alert/confirm delegates
2018-12-18 00:13:33 +02:00
Roman
23ffc1d345
Fix indendation
2018-12-18 00:13:33 +02:00
Roman
4c7f49681c
Fix macOS Python3 travis run
2018-12-18 00:13:33 +02:00
Roman
cf558741fd
Remove multiprocessing from tests
2018-12-18 00:13:33 +02:00
Roman
884be9169f
[macOS] Eval JS fixes
2018-12-18 00:12:47 +02:00
Shiva Prasad
36d56ebed9
[Cocoa] Test Python 3
2018-12-18 00:12:47 +02:00
Roman
50fa55c852
Change multiprocessing start method to spawn for tests
2018-12-18 00:12:47 +02:00
Shiva Prasad
ead212ab9e
[Cocoa] Port JS Bridge to WKWebView
2018-12-18 00:12:46 +02:00
Shiva Prasad
b787136817
[Cocoa] Port evaluate_js to WKWebView
...
Note: Seems not to work with older versions of PyObjC (2.5.1 throws
exception). Probably wontfix.
2018-12-18 00:12:46 +02:00
Shiva Prasad
0410e8be89
[Cocoa] Enable web inspector
...
TODO: Disable context menu
2018-12-18 00:12:46 +02:00
Shiva Prasad
0415f84c1c
[Cocoa] Initiate transition to WKWebView
...
Added the most basic stuff, lot of things to fix.
2018-12-18 00:12:46 +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
Roman Sirokov
45cd366631
[Cocoa] Fix window closing issue with Mojave
2018-12-17 17:22:46 +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
8418a6e9ec
[All] Fix set_window_size test
2018-12-14 15:29:30 +05:30
Shiva Prasad
ae56ed9197
Merge branch 'master' into wkwebview
2018-12-14 15:27:32 +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
f11111c285
[Cocoa] Ignore colons while quoting urls
...
Plus some code cleanup.
2018-12-10 12:10:38 +05:30
Shiva Prasad
52dbb235f7
[Cocoa] Move bridgesupport metadata to cocoa.py
2018-12-10 11:57:19 +05:30
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
067fc12684
Remove commented code
2018-12-09 23:40:36 +02:00
Shiva Prasad
580295d0cf
[Cocoa] Init NSURLs with quoted strings
...
Follow up to 91cd767 .
2018-12-09 12:07:34 +05:30