Commit Graph

120 Commits

Author SHA1 Message Date
zxey
256d0e5c20 Move edge feature to windows target in build.rs 2019-10-08 00:00:27 +02:00
zxey
32a10871e6 Rename wrapper functions to webview functions 2019-10-07 23:52:36 +02:00
zxey
5c4f3966e9 Use opaque webview pointer in mshtml backend 2019-10-07 23:42:03 +02:00
zxey
563f25de6d Remove unneeded file 2019-10-07 23:29:22 +02:00
zxey
56fc5b3d66 Use opaque webview pointer in cocoa backend 2019-10-07 23:26:12 +02:00
zxey
7511c98dad Use opaque webview pointer in gtk backend 2019-10-07 22:57:12 +02:00
zxey
44cb58c107 Use all webview functions in edge backend
Previously the backend would define some functions differently and had some functions missing.
Now that all of the backends use the same webview.h header, we can make sure that all the functions needed are there.
2019-10-07 22:29:46 +02:00
zxey
79cca98f76 Remove unnecessary files 2019-10-07 22:04:15 +02:00
zxey
7f2448610a Move edge backend to .cpp 2019-10-07 22:03:23 +02:00
zxey
415a333d88 Fix build.rs rename default webview include 2019-10-03 23:53:20 +02:00
zxey
7cefa46882 Move cocoa backend to separate file 2019-10-03 23:32:29 +02:00
zxey
0a0557be3b Gtk backend is now compilable 2019-10-03 23:25:08 +02:00
zxey
8756886ee7 Split mshtml and gtk backends into separate files 2019-10-03 23:14:49 +02:00
zxey
b5a9c7193a Bump versions 2019-09-29 11:58:17 +02:00
zxey
a755951793 Update authors
Sam Green did a lot of work, also added myself.
2019-09-29 11:56:58 +02:00
zxey
2f2ab621c5 Do not depend on exact version of bitflags
This is so cargo can resolve any version '1', helps if user of this library has also bitflags on another version, so there does not get
compiled more crates than is needed.
2019-09-29 11:55:28 +02:00
zxey
31b4904b69 Fix rustc warnings 2019-09-29 11:50:26 +02:00
zxey
040041be55 Remove pre Rust 1.30 flag 2019-09-29 11:49:43 +02:00
zxey
04b5b47002 Fix webview-sys build 2019-09-29 11:46:45 +02:00
zxey
1928cbe83c Only allow edge feature on windows 2019-09-29 11:43:26 +02:00
zxey
7e32701b53 Add EdgeHTML notes to READMEs 2019-09-29 11:43:26 +02:00
zxey
023a4e3b08 Enable private access network
This is so you can load pages from LAN.
2019-09-29 11:43:26 +02:00
zxey
659da10fc1 Minor cleanup 2019-09-29 11:43:26 +02:00
zxey
dbe9aa5ae7 Add dialog function 2019-09-29 11:43:26 +02:00
zxey
0843215e14 Add inject_css function 2019-09-29 11:43:26 +02:00
zxey
28a1b10f64 Implement set_color 2019-09-29 11:43:26 +02:00
zxey
f123d15678 Implement set fullscreen
The implementation for EdgeHTML is the same as for MSHTML.
2019-09-29 11:43:26 +02:00
zxey
121a201590 Implement initial title 2019-09-29 11:43:26 +02:00
zxey
4b5f919862 Fix resizable flag not working and fix initial window size
Window now respects whether resizable was set or not, it was ignore previously.
We can also set initial width and height of the window now, previously you would set it after window creation which resulted in window jumping
from its initial position, that is fixed now.
2019-09-29 11:43:26 +02:00
zxey
38b1fd0c46 Remove unnecessary inheritance indirection
The webview class did not have much code left, just merge it with its base class.
2019-09-29 11:43:26 +02:00
zxey
88368b3fdd Remove bindings code, not used anymore 2019-09-29 11:43:26 +02:00
zxey
778ba53d02 Fix callbacks from js to rust
window.external.invoke now works, invoke_handler gets invoked properly

the functionality was there but was used to create variable bindings

todo example now works
2019-09-29 11:43:26 +02:00
zxey
88429369fe Fix eval function signature 2019-09-29 11:43:26 +02:00
zxey
ae47b7bbd1 Correctly navigate to string instead of url 2019-09-29 11:43:26 +02:00
zxey
44c614d682 Add remaining missing function stubs 2019-09-29 11:43:26 +02:00
zxey
3a4563404a Fixed segmentation fault, minimal example now works 2019-09-29 11:43:26 +02:00
zxey
3fca22764c Compiles and runs with window creation but crashes 2019-09-29 11:43:26 +02:00
zxey
27b897450d Add edge html files
the files are taken from zserge/webview webview-x branch

i removed all backends except edgehtml, cleaned the files up and formatted them

webview-sys builds but there are some missing symbols, this does not work yet
2019-09-29 11:43:26 +02:00
zxey
960aed804a Add actix embed example
Fixes #53
2019-09-25 15:16:18 +02:00
zxey
f9bf450eef Remove webview submodule, include webview.h directly
Closes #64
2019-09-09 22:08:56 +02:00
zxey
47287de107 Add another cool project to showcase 2019-09-09 21:26:17 +02:00
Jim McGrath
fde0bcbf84 disable objc_msgSend type checking 2019-09-08 22:59:34 +02:00
zxey
8e73dc5264 Add new idea to README 2019-09-05 23:28:37 +02:00
zxey
175e4cf907 Add neutrino to showcase 2019-09-05 23:21:30 +02:00
zxey
79477f1432 Forgot to publish webview-sys 2019-09-05 22:59:39 +02:00
zxey
ae00777837 Update webview-sys to use better webview fork 2019-09-05 21:25:20 +02:00
zxey
17308c5be0 Bump patch version 2019-09-04 20:57:42 +02:00
zxey
2984d78e8c Update webview submodule
Fixes #29
This also changes the submodule to point to a fork used solely for this project,
it seems that original webview is no longer maintained.
2019-09-04 20:54:50 +02:00
Thomas Hurst
4f29b0554f Add Compactor to showcase 2019-07-22 12:22:11 +02:00
Francesco Frassinelli
e052b6e1ca Add FrakeGPS as example app 2019-05-26 17:27:44 +02:00