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.
Previously `sscanf` is used in decoding the url-encoded html document.
But `sscanf` is quite expensive. Loading a larger document (~800KiB) has
a noticeable delay.
And mshtml is giving the third argument to `sscanf` a `char*` when it
should be an `int*`. It is very problematic.
This commit replaces them with our own hex decoding function.
* First pass at graceful exit
* Working macos unified exit
* fix example html to work with IE
* terminate > exit
* unified edge, I think
* update gtk c impl
* tag terminate as depricated
* fix old fn name
* remove OleUninitialize from edge
* remove queue_close
* remove terminate
* fix typo in edge cpp file
* inspect return value of graceful exit example
* actually create the variable inspected
* make example run a little faster
* Adjust cocoa webveiw_exit
* add back missing method on edge
* lots of pinting
* fix printf arg
* better even debug printing
* clean up debugging stuff
* remove some unneeded changes
* slow down example
* fix view title
* add comment about posting the event to the application on close
Closes#105Fixes#52
Added missing linked libraries to edge backend.
I also kept the pragmas, if someone want to build the backends separately, so they do not have to supply link library flags to msvc.
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.