38 Commits

Author SHA1 Message Date
zxey
363dd8eb29 Bump versions 2020-03-15 00:43:14 +01:00
zxey
6006b7386d Deprecate dialogs
Uses tinyfiledialogs to implement dialog functions on webview.
Removes original implementation.
Converts all examples that use dialogs to use tinyfiledialogs directly.

Note:
Your code will still work as it is, you will only get deprecation warnings,
you should eventually switch to tinyfiledialogs or some other crate for handling dialogs.
2020-03-13 00:36:06 +01:00
zxey
fe26a67493 Bump version 2020-03-12 23:00:10 +01:00
Daniel
e5fc5b97db Addition to examples directory 2020-02-23 19:17:19 +01:00
zxey
0ef21b6682 Bump versions 2020-01-08 23:30:28 +01:00
zxey
e850ff0176 Bump version 2019-11-21 16:26:43 +01:00
zxey
6c2ecbe4fa Publish new version 2019-11-03 19:02:08 +01:00
zxey
e8dbc06d0c Publish new versions of crates
webview-sys updated its minor version, because the public api changed
web-view updated only patch version, the public api remains the same
2019-10-10 20:50:00 +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
040041be55 Remove pre Rust 1.30 flag 2019-09-29 11:49:43 +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
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
8954113627 Increment patch version 2019-05-20 18:16:33 +02:00
zxey
00bbb3adfd Fix webview-sys version in root crate 2018-11-29 13:00:40 +01:00
zxey
f9cbefdf10 Bump version 2018-11-29 12:51:43 +01: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
Julian Pistorius
e81f0c397c Problem: No Elm example
Solution: Add simple Elm 'counter' example

Elm counter example copied from https://github.com/evancz/guide.elm-lang.org
2018-08-28 21:31:53 -07:00
Boscop
58d2ec4068 increased patch version 2018-05-08 09:03:04 +02:00
Boscop
8ad43e4708 increased minor version because api changed 2018-05-07 11:22:11 +02:00
zxey
69519d102b Implement Content enum
Content enum allows us to pass url or html content easily to webview
without the need to encode the passed string beforehand.
2018-04-08 02:44:46 +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
Boscop
49846c9dea made init callback FnOnce and dispatch callback generic over WebView lifetime
(uses webview.h from zserge/webview#5a16d33)
2018-02-01 16:14:28 +01:00
Boscop
a1bdb954e6 v0.1.2 fixes build on macos 2018-01-22 07:38:13 +01:00
Boscop
422660b13d Merge pull request #2 from SergejJurecko/master
fix macos, use c instead of cpp
2018-01-22 01:56:14 +01:00
Boscop
fe545f23ce use new package name for repo 2018-01-22 00:07:03 +01:00
Boscop
d059d895dc renamed package to web-view because of naming conflict 2018-01-21 23:37:27 +01:00
Boscop
01271521b7 fixed Cargo.toml keywords 2018-01-21 23:23:37 +01:00
Boscop
dce010c10b Cargo.toml: added readme, keywords, categories 2018-01-21 23:14:40 +01:00
Boscop
33f53b8247 make it ready for crates.io release 2018-01-21 23:00:10 +01:00
sergej jurecko
2501090a06 fix macos, use c instead of cpp 2018-01-21 17:30:09 +01:00
Boscop
82599e65d6 simplify examples by using urlencoding::encode(html) instead of url::percent_encoding::utf8_percent_encode(html, PATH_SEGMENT_ENCODE_SET) 2018-01-21 13:27:16 +01:00
Wesley Moore
d03352e2ec Fix build on Linux and BSD 2018-01-21 21:42:23 +11:00
Boscop
450b215f2c import 2018-01-21 07:36:31 +01:00