115 Commits

Author SHA1 Message Date
Roman
83893c7f1a [Windows] Fix JS API reload 2018-08-30 23:17:13 +03:00
Roman
1832d0f204 Merge pull request #231 from r0x0r/issue229-fix
[All] Change window close behaviour so that it returns control back instead of terminating
2018-06-07 15:16:00 +03:00
leetao
f5272fb534 remove the empty line 2018-06-04 20:06:43 +08:00
leetao
dd3d97e607 fix resize error 2018-06-04 11:28:14 +08:00
Roman Sirokov
ed7621a6e9 Code cleanup 2018-05-26 00:09:27 +03:00
Shiva Prasad
1ef00f9539 [Winforms] Create new windows via arbitary instance
The master instance could have been closed when creating new windows, we
cannot rely on it to create the window for us. So we use an arbitary
running instance. This is the pattern followed for such scenarios on the
other platforms.
2018-05-21 11:46:17 +05:30
Roman
450614fd1e [WinForms] Fix typo in js_result_semaphore 2018-04-18 22:46:01 +03:00
Shiva Prasad
afe466cc5f Merge branch 'master' into debug-feature 2018-04-16 23:08:27 +05:30
Roman
119285d879 Merge branch 'master' into issue153 2018-04-15 23:03:16 +03:00
Roman
d48374e143 [WinForms] Make WebBrowserInterop.dll import frozen friendly 2018-04-07 22:41:49 +03:00
Roman
5c29bd4ac0 [Winforms] Fix evaluate_js 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
r0x0r
4f3348dc33 Refactoring and refinements 2018-04-07 22:41:49 +03:00
r0x0r
8b6e9120b9 [WIP] Implementation of webview.start() 2018-04-07 22:41:49 +03:00
Roman
ef611cc6f1 Fix missing import 2018-04-07 19:14:52 +03:00
Roman
720d1df1e2 [WinForms] Support for opening external links 2018-04-07 10:56:02 +03:00
Roman
1273fdb3d3 Convert js files to py modules (#193) 2018-03-13 19:40:43 +02:00
Roman Sirokov
a648b0015a [WinForms] Don't suppress JS error messages in debug mode 2018-03-12 19:25:54 +05:30
Shiva Prasad
f466ee6da9 [Winforms] Enable right click menu for debug=True 2018-03-12 19:25:54 +05:30
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
640ab8e44a [WinForms] Fix High DPI 2018-02-20 22:08:46 +02:00
Roman
f415eca117 [Winforms] Adjust webview_ready event behaviour 2018-02-03 01:28:54 +02:00
Roman
81ad970d36 Merge branch 'multi-window' of https://github.com/r0x0r/pywebview into multi-window 2018-02-03 01:23:21 +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
Shiva Prasad
7aadcd862a [All] Remove obsolete is_running function calls
This is as planned in the commit message to c3f95a5: check that for more
info. To summarise, is_running is not required in multi-window code as
the KeyError block automatically handles its functionality.
2018-02-02 23:14:42 +05:30
Shiva Prasad
46744d7fab [WinForms] Remove uid from create_file_dialog
(Currently) create_file_dialog is not supposed to accept the uid of any
instance. Instead the dialog is created on an arbitary running instance.

(I feel like this should be changed in the future, but for now I am
changing this as it breaks the code).
2018-02-02 23:03:32 +05:30
Roman
f08a52ce51 [WinForms] Multi-window implementation 2018-02-02 00:53:05 +02:00
Roman
0b8510fed8 Merge branch 'set-title' into multi-window 2018-01-27 00:32:03 +02:00
Roman
7fdcd86341 [WinForms] Rename browser->form 2018-01-26 23:40:14 +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
1a5825f615 [All] Add instance uid to _js_bridge_call
Because _js_bridge_call needs to execute evaluate_js with the uid of the
appropriate instance.
2018-01-26 23:34:19 +05:30
Shiva Prasad
61ab6a66af Merge js_api code from master into multi-window 2018-01-26 22:49:33 +05:30
Roman Sirokov
81beb3ad1b [Winforms, GTK, QT] Implement set_title
Add test case
Update README
2018-01-26 15:13:59 +02:00
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
baf27a8cc7 Merge branch 'master' into scripting-object 2018-01-14 21:11:36 +02:00
Roman
70d354f621 [WinForms] Fix race conditionm 2018-01-14 01:50:22 +02:00
Swardu
f6f5b0e07a Update winforms.py
Adding .dll to WebBrowserInterop
2018-01-06 15:08:35 +01:00
Roman
7c3b29ac92 [Winforms] Make evaluate_js wait for page load 2018-01-05 00:02:00 +02:00
Roman
234bc493dd [WinForms] Convert set_js_api to create_window parameter 2017-12-30 01:34:48 +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
d76558c14a [WinForms] Add missing debug parameter 2017-11-24 10:09:48 +02:00
Roman Sirokov
1db02fa9f8 Add debugging skeleton
[OSX] Debug implementation
2017-11-23 23:00:40 +02:00
Roman
8eb2cc0363 [WinForms] Add file_filter implementation + Refactoring 2017-11-17 13:56:57 +02:00
Shiva Prasad
50f99fabb2 [All] Add skeleton for create_file_dialog file filter 2017-11-17 13:56:57 +02:00