Commit Graph

148 Commits

Author SHA1 Message Date
Hassan DRAGA
fb63521042 Fix serve_a_folder (Now should be Header + Body) 2024-07-11 13:32:31 -04:00
Hassan DRAGA
3f683ea036 Fix GCC Warning 2024-07-09 20:59:24 -04:00
Hassan DRAGA
633a96c54b New Example - virtual_file_system 2024-07-09 19:51:08 -04:00
Hassan DRAGA
50e9e4c2c6 Update example (Bun - Deno - Nodejs) 2024-07-08 19:22:41 -04:00
Hassan DRAGA
bdf6bac511 Fix Makefile x86 and ARM conflict
Removing ` /MACHINE:X64`
2024-07-06 22:45:06 -04:00
Hassan DRAGA
13c889a10e Update Text Editor Example 2024-07-06 20:42:33 -04:00
Hassan DRAGA
836e1d115f Fix zig CI build 2024-07-05 18:59:08 -04:00
Hassan DRAGA
56f787cf73 New example - web_app_multi_client 2024-07-05 18:52:56 -04:00
Hassan DRAGA
efe64ba0af Updating example - public_network_access
* Allowing public URL to be updated on refresh
2024-07-03 09:26:22 -04:00
Hassan DRAGA
da7bb84ca3 MSVC Makefile - Keep .pdb (Debug Symbols) 2024-06-30 23:33:19 -04:00
Hassan DRAGA
b0dd088d56 Examples rename (webui.js) path to (/webui.js)
* All examples should use `/webui.js` instead of `webui.js`, this is because without the slash `/` it won't work if HTML file is located in a sub-folder.
2024-06-25 13:03:44 -04:00
Hassan DRAGA
5aa49f6563 Rename Example IDs - call_c_from_js 2024-06-19 08:29:48 -04:00
Hassan DRAGA
56420d67b0 Rename Example IDs - call_js_from_c 2024-06-19 08:22:50 -04:00
Hassan DRAGA
a046af263c Rename Example IDs - custom_web_server 2024-06-18 18:55:54 -04:00
Hassan DRAGA
90e774bb13 Rename Example IDs - serve_a_folder 2024-06-18 16:35:13 -04:00
Hassan DRAGA
c3ce70c384 Rename Example IDs - text-editor 2024-06-18 12:28:34 -04:00
Hassan DRAGA
6e775b277d Linux - C Adding -LDL lib
* Adding `-ldl`
* Fix https://github.com/webui-dev/webui/issues/380
2024-06-05 09:09:59 -04:00
Hassan DRAGA
b61b145bb9 Arguments count example 2024-05-29 17:47:13 -04:00
Hassan DRAGA
19234368ba Float example 2024-05-29 17:39:49 -04:00
Hassan DRAGA
ac2230c4c0 Fix GNU Makefile examples 2024-05-27 16:18:53 -04:00
Turiiya
32d1917ff9 Apply changes to other examples 2024-05-27 14:11:53 +02:00
Turiiya
4700c2c5ff Cleanup variables in makefile and move into correct scope 2024-05-27 13:49:06 +02:00
Hassan DRAGA
c832eced7b Updating MSVC Makefile
* Adding `-lOle32` for Windows, needed by WebView2
2024-05-26 19:57:37 -04:00
Hassan DRAGA
c5ddba49fd Update GNU Makefile
* Adding `-lOle32` for Windows, needed by WebView2
* Adding Cocoa and WebKit frameworks, needed by macOS WKWebView
2024-05-26 19:56:47 -04:00
Hassan DRAGA
d20df6483b Update the date to 2024 2024-05-26 19:52:59 -04:00
Hassan DRAGA
70def025c8 Adding webui.setEventCallback
* Adding new feature to WebUI Bridge to listen for connect/disconnect events in the UI. More events will be added in the future.
*
2024-01-04 16:17:51 -05:00
Hassan DRAGA
c063f07dcd New example - Public network access 2023-11-29 18:22:35 -05:00
Hassan DRAGA
44a488025d Fix bridge Maximum call stack size exceeded
Fix https://github.com/webui-dev/webui/issues/270
2023-11-16 16:43:52 -05:00
Hassan DRAGA
907f0330a1 Removing Git from GNU-Makefile 2023-10-29 16:40:47 -04:00
Hassan DRAGA
f39af55093 C99 to C 2023-10-28 19:51:02 -04:00
Hassan DRAGA
73d6e9f294 custom_web_server Python example 2023-10-28 19:48:19 -04:00
Hassan DRAGA
bac9786d81 New example - Custom Server 2023-10-28 17:55:21 -04:00
Hassan DRAGA
b1d2ae04e4 Cleaning examples 2023-10-28 11:58:28 -04:00
Hassan DRAGA
30a1e49130 GNU Makefile Adding Musl-GCC
- Adding musl-gcc
- Renaming text-editor to main. It should be the same as other examples
2023-10-27 11:58:26 -04:00
Hassan DRAGA
c346969eaf MSVC Makefile Update 2023-10-25 20:17:14 -04:00
Hassan DRAGA
6e6bd540e7 GNU Makefile Update 2023-10-25 20:16:57 -04:00
Hassan DRAGA
1e2fa6a7a2 MultiPacket Example 2023-10-24 20:59:32 -04:00
Hassan DRAGA
a59c1fe1db TLS GCC/Clang
- To build lib with TLS: `make WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="~/OpenSSL/include" WEBUI_TLS_LIB="~/OpenSSL/lib"`
- To build examples with TLS: `make WEBUI_USE_TLS=1` (Only Dynamic. No static TLS will be supported)
2023-10-23 17:58:39 -04:00
Hassan DRAGA
66c95342bc MSVC Makefile TLS
- To build lib with TLS: `nmake WEBUI_USE_TLS=1 WEBUI_TLS_INCLUDE="C:\OpenSSL\include" WEBUI_TLS_LIB="C:\OpenSSL\lib"`
- To build examples with TLS: `nmake WEBUI_USE_TLS=1` (Only Dynamic. No static TLS will be supported)
2023-10-21 23:17:25 -04:00
Hassan DRAGA
026617cb18 Adding Shell32.lib to MSVC 2023-10-10 18:05:08 -04:00
Hassan DRAGA
90bfa0f607 Fix macOS Firefox Window Style (workaround) 2023-10-10 13:07:31 -04:00
Turiiya
a0420daec3 Remove trailing whitespaces 2023-10-10 02:36:21 +02:00
Turiiya
5518a3e044 Use GNUmakefile and Makefile to simplify MSVC compilation 2023-10-10 02:32:05 +02:00
Turiiya
3e8f854a89 Prettify 2023-10-08 03:55:05 +02:00
Turiiya
50cc7619ba Format C code 2023-10-08 03:48:25 +02:00
Hassan DRAGA
9a78898d62 Fix big-data crash (Civetweb Issue)
- For same reason, data over 97.6Kb (100000 bytes) may have data loss because of Civetweb has an issue. That's make the webui-protocol-header had incorrect data size so it crashes (over flow) if user access the most significant byte. However, WebUI won't crash now. But we should report this to Civetweb.
2023-10-07 15:35:45 -04:00
Hassan DRAGA
90dc676e39 Fix GCC printf format warning 2023-10-05 22:50:50 -04:00
Hassan DRAGA
b09c0dca94 Multi Arguments
- New: webui_get_int_at()
- New: webui_get_string_at()
- New: webui_get_bool_at()
- New: webui_get_size_at()
- Change: webui_interface_bind
- Removed: `e->data` becomes `webui_get_xxx_at(e, 0)`
2023-10-05 20:03:12 -04:00
Hassan DRAGA
53724d4ef8 Fix multi click sync
- Fix multi click sync. Now the second click won't process until the first one finishes first
2023-10-03 14:35:44 -04:00
Hassan DRAGA
e7418ef36a Core re-design - Up to 10ms event speed
- No breaking change
- Re-design the events again to up speed to 10ms
- Fix URL links click
2023-10-01 20:41:52 -04:00