Serge Zaitsev
50e4bcc420
fix crash on macOS, thanks to @JBildstein
2020-04-10 18:01:18 +02:00
Serge A. Zaitsev
843c3aaba6
merge webview-x branch
2020-03-01 22:38:52 +01:00
Pierre-Felber
9c1b0a888a
Do NOT handle uninitialized messages ( #221 )
...
Both, GetMessage and PeekMessage, can end up not filling out the msg struct.
In those cases we have garbage in the struct and must not handle anything.
2020-01-21 14:57:17 +01:00
Lettier
f222b43ed0
Fixes set title selector typo for macOS. ( #197 )
2020-01-21 14:52:15 +01:00
Brandon Bennett
f78d5821f0
Move to JavaScriptCore Glib API over DOM API ( #215 )
...
In WebkitGTK 2.22 webkit_javascript_result_get_value() was depricated in
favor of webkit_javascript_result_get_js_value(). This change will use
the new JSC API when WebkitGTK 2.22 is present.
Fixes #192
2020-01-10 10:07:26 +01:00
Richard Hozák
23539831b4
Fix uninitialized variable ( #214 )
...
Fixes uninitialized FILEOPENDIALOGOPTIONS variable used to display
dialogs.
This sometimes caused problem in debug builds vs release builds.
Sometimes the dialog would not show and sometimes it would (There was
probably some garbage initialized to these variables in debug builds
and they were correctly initialized to 0 in release builds).
2020-01-08 14:45:08 +01:00
Noah
88b25ef65a
Add option to supress warnings for IE ( #286 )
...
* Added option to supress warnings in IE
* Fixed Formatting
2020-01-08 14:40:35 +01:00
R32
ae4af08edd
minor L"eval" ( #252 )
2020-01-08 14:40:06 +01:00
Joshua Achorn
16c93bcaea
Fixed bug in Windows 7 where window does not close after a call to webview_exit ( #229 )
2019-01-23 07:26:48 +00:00
Favyen Bastani
f390a2df9e
Add IInternetSecurityManager to override any IE settings. ( #199 )
...
This fixes a bug where JavaScript is disabled in the application if the
user has increased their security level in IE.
2018-10-18 10:49:47 +02:00
Jeremy Legendre
e94d679fff
Objc-runtime re-write ( #181 )
...
* objc-runtime re-write
Cocoa version completely re-written in pure C.
Notes:
- No need to pass '-x', '-ObjC', or Cocoa framework flags to GCC anymore
- - Readme and various build files updated
- CoreGraphics.h needed for drawing windows
-Formatted with clang-format
* Made methods static for Go compatibility
2018-08-17 08:47:15 +02:00
Jeremy Legendre
161f899c0d
Standardizing JS behavior for Cocoa ( #175 )
...
WKWebView can now display Open and Save panels as well as JS alert and confirmation boxes.
Proper download functionality also implemented.
2018-08-09 13:49:32 +02:00
Serge Zaitsev
0310a65c43
cocoa-webkit: fix message handler, use nil completion handler
2018-08-03 08:37:46 +02:00
Jeremy Legendre
04e4ec323b
Updated macOS version to use WKWebView ( #174 )
...
Updated to use WKWebView. I was also able to maintain compatibility with other 'webviews' so you can still use 'window.external.invoke'
2018-08-03 08:23:49 +02:00
Wesley Moore
01f52f3ae1
Fix under allocation of webview_dispatch_arg ( #169 )
2018-07-03 09:47:17 +02:00
Serge A. Zaitsev
77691c35c1
cmake: simplified library build
2018-03-25 13:58:57 +03:00
Serge Zaitsev
613e63bded
Python bindings ( #124 )
...
* python: initial bindings
* webview: add c++ tests
2018-03-15 13:29:49 +02:00
valepakh
a6359e755f
Fix showing window on Windows under debugger ( #122 )
2018-03-11 21:36:19 +02:00
Hosh
53ed92bbe5
Add backwards compatibility fixes #106 ( #107 )
2018-02-15 14:04:17 +02:00
1l0
dbddbff89c
cocoa: rollback eval to not returning -1 ( #93 )
2018-02-03 13:43:39 +01:00
1l0
af1a71c17d
go: Eval return error, objc: eval return -1 ( #88 )
2018-01-27 11:44:21 +02:00
Serge A. Zaitsev
0af3b7ad32
winapi: implement set background color on windows
2018-01-24 21:17:34 +02:00
Serge A. Zaitsev
a00f784703
gtk-webkit: implement webview_set_color
2018-01-22 11:34:56 +02:00
1l0
7fd11d26d7
cocoa: window color (new proposal) ( #73 )
...
* window color
* separate RGBA parameters to be double
see examples/window-go as a demo
* example: SetColor before Run
* uint8_t as RGBA parameters
see examples/window-go as a demo
* WINAPI: add stdint.h
* add stdint.h globally
2018-01-22 01:02:13 +02:00
Serge A. Zaitsev
68631a9dec
webview: use WEBVIEW_API prefix for public functions
2018-01-18 20:32:06 +02:00
Serge A. Zaitsev
84c79e2819
webview: properly name width and height parameters
2018-01-18 20:22:22 +02:00
Serge A. Zaitsev
d0432c4e3e
gtk-webkit: fix typo
2018-01-18 20:21:14 +02:00
Serge A. Zaitsev
2bb1cffff1
webview: add license text to webview.h
2018-01-18 20:20:48 +02:00
Serge A. Zaitsev
2806361491
webview: make it a proper header-only library
2018-01-18 20:18:12 +02:00
Serge A. Zaitsev
fa2728aa21
lint: fix warnings of cppcheck and clang-tidy
2018-01-15 13:42:54 +02:00
Serge A. Zaitsev
705c58300c
winapi: implement fullscreen mode
2018-01-09 13:48:25 +02:00
1l0
fed7848ff4
cocoa: implement full-screen api
2018-01-09 15:10:53 +09:00
Serge A. Zaitsev
a29901bbea
gtk: implement full-screen api
2018-01-08 23:07:26 +02:00
Serge A. Zaitsev
c752fe37df
winapi: implement alert types
2018-01-08 19:00:00 +02:00
Serge A. Zaitsev
b80de78148
cocoa-webkit: formatting
2018-01-08 18:39:51 +02:00
Serge A. Zaitsev
a2cff5c5ab
cocoa-webkit: implement alert styles
2018-01-08 18:39:19 +02:00
Serge A. Zaitsev
e7c72e6ad5
gtk-webkit: add alert dialog flags for gtk, add go bindings
2018-01-08 16:58:13 +02:00
Serge A. Zaitsev
6a72610dda
api: flag for open directory diralog, formatting
2018-01-07 11:49:44 +02:00
jicg
16f36018d7
System File dialog box, add to select the directory #59
2018-01-07 16:23:37 +08:00
Serge A. Zaitsev
7451f8d931
dialogs: use calloc instead of malloc and do not null-terminate forcefully
2018-01-06 20:08:16 +02:00
Serge A. Zaitsev
d32a197c8b
webkit-gtk: migrate from webkit1 to webkit2
2018-01-06 15:26:45 +02:00
Shiva Prasad
17ae483a97
webview: rename the "weird" invoke_ to invoke
2017-12-21 16:15:57 +05:30
Serge A. Zaitsev
379a92f905
webview: cast char to unsigned char
2017-12-08 18:38:17 +02:00
Serge A. Zaitsev
f561d8c2f9
webview: remove unnecessary comparison for a signed char range
2017-12-08 18:35:48 +02:00
Serge A. Zaitsev
621d169709
webview: fix buffer size calculation
2017-11-28 18:11:51 +02:00
Serge A. Zaitsev
af7b0290a9
webview: add function to inject CSS
2017-11-28 17:26:05 +02:00
Serge A. Zaitsev
63342029ab
webview: use default data url if url field is empty
2017-11-28 08:12:59 +02:00
Serge A. Zaitsev
576bbbd446
gtk-webview: fix signal name
2017-11-27 12:42:59 +02:00
Serge A. Zaitsev
b631493549
webview: add webview_debug()
2017-11-27 11:38:27 +02:00
Serge A. Zaitsev
f19e622dff
cocoa-webkit: implement debug option
2017-11-27 10:13:57 +02:00