Commit Graph

16 Commits

Author SHA1 Message Date
zxey
f9bf450eef Remove webview submodule, include webview.h directly
Closes #64
2019-09-09 22:08:56 +02:00
Jim McGrath
fde0bcbf84 disable objc_msgSend type checking 2019-09-08 22:59:34 +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
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
zxey
8954113627 Increment patch version 2019-05-20 18:16:33 +02:00
Thomas Hurst
e982977219 Use C calling convention for callbacks
This fixes crashes on 32bit Windows (reported in #3)
2019-05-16 15:44:48 +02:00
zxey
9f45f4e95d Fix cc build warnings 2018-11-29 12:58:26 +01:00
zxey
f9cbefdf10 Bump version 2018-11-29 12:51:43 +01:00
Sam Green
41fa713175 Add ability to override webview source and document. (#39) 2018-11-16 10:01:35 +00:00
Sam Green
d5f9f284e3 Rewrite to use builder pattern. Fix dispatch unsafety. (#36)
* Major rewrite.

- Fix unsafety (require 'static bound on dispatched closure)
- Switch to builder pattern.
- Run rustfmt
- Fix clippy warnings
- Userdata borrowed from webview instead of being arg of dispatch closure
- Bump minor version
- Update webview
- Add crate-level doc

* Add rustfmt.toml

* Allow propagation of errors from invoke and dispatch closures.

* Refine doc comments.

* Add enum derives.

* Remove mut bound from `handle()`.

* Remove dependency on failure.
2018-11-10 20:16:12 +00:00
Aaron Weiss
8f5caf2db6 Add support for webview_set_title and use it in todo example. 2018-07-12 10:23:19 +02:00
Aaron Weiss
db9e4babc5 Add support for webview_set_color and use it in todo example. 2018-07-11 22:00:54 +02:00
zxey
d416fa4bce Fix indentation and typo 2018-04-16 12:48:44 +02:00
zxey
02c3004c8f Implement dialog function for showing system dialogs 2018-04-08 02:04:48 +02:00
zxey
3e5c8a44bf Update c-webview, introduce -sys convention
This adds webview as a submodule instead of including sources directly.
New webview function are not yet implemented, the functionality stays the
same.
2018-04-08 00:00:41 +02:00