Commit Graph

33 Commits

Author SHA1 Message Date
Hassan DRAGA
18f7ce3460 Update C++ Examples 2024-07-11 17:06:23 -04:00
Hassan DRAGA
bdf6bac511 Fix Makefile x86 and ARM conflict
Removing ` /MACHINE:X64`
2024-07-06 22:45:06 -04:00
Hassan DRAGA
62a3b79e4b Linux - C++ Adding -LDL lib
* Adding `-ldl`
2024-06-05 09:09:38 -04: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
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
Turiiya
5518a3e044 Use GNUmakefile and Makefile to simplify MSVC compilation 2023-10-10 02:32:05 +02:00
Turiiya
50cc7619ba Format C code 2023-10-08 03:48:25 +02:00
Turiiya
5cd3f53da7 Update makefiles to support more architectures 2023-09-28 23:19:43 +02:00
Turiiya
c41533feac Update Makefiles 2023-09-09 15:18:30 +02:00
Turiiya
740f6ed873 Use a single Makefile to build examples 2023-09-07 07:10:05 +02:00
Turiiya
67fa22009e Remove remaining @cd "$(_LIB)" && $(MAKE) residues in examples 2023-09-05 02:08:07 +02:00
Hassan DRAGA
294883704b Adding webui.js to C++ examples
- Adding `webui.js` to C++ examples
2023-08-30 21:48:56 -04:00
Turiiya
cde123517d
Optimize CI (#168) 2023-08-25 20:38:49 +02:00
Hassan DRAGA
9308d767c9 Quick fix example makefiles
* Removing `@cd "$(LIB)" && $(MAKE) debug`
2023-08-24 23:24:27 -04:00
Turiiya
a79ebbf7ac Don't try to rebuild library when running example Makefiles 2023-08-21 22:43:30 +02:00
Turiiya
900d9670ca Rename output dir from build to dist 2023-08-21 19:04:43 +02:00
Turiiya
3432cf4562 Update examples to use new build output directory 2023-08-21 19:04:43 +02:00
Hassan DRAGA
52885648d2 Up to v2.4.0
* Up all to v2.4.0
2023-08-19 17:49:08 -04:00
Hassan DRAGA
25f66ae8fc Update makefile to C++17
* Update makefile from C++11 to C++17
2023-05-23 22:49:49 -04:00
Hassan DRAGA
cdf67b17ac C++ Improvement
* Set C++11 as minimal standard
* Fix C++ Makefile in macOS
* Update the C++ WebUI header to use references (https://github.com/webui-dev/webui/issues/103)
* Update `webui_return_string()` argument from `char*` to `const char*`
2023-05-21 12:20:54 -04:00
Hassan DRAGA
7db9826676 Updating the links
* Updating the links to the new organization
2023-05-13 10:47:42 -04:00
Hassan DRAGA
192b3172be Full C++ support
* The C++ wrapper is now complete
* Optimizing the close time in case the browser did not run
* Linux GCC build issue is fixed
2023-05-05 21:54:12 -04:00
Albert Shown
e116261130 C++ Wrapper Update
* Now the C++ wrapper has its own class instead of direct C calls.
2023-05-05 17:41:20 -04:00
Hassan DRAGA
ca7b4f50ed WebUI v2.3.0
# Users/Wrappers Changes
* The window object changed from `void*` (pointer) to a simple `size_t` (integer)

# New Core Features And Changes
* License changed from `GPLv2` to 'MIT'. Thanks to @xD0135
* The core APIs is completely changed from `Mongoose` to `civetweb`. Thanks to @xD0135
* Kiosk mode support. Thanks to @malisipi
* UI responses resolving using IDs instead of first received (WebUI-JS-Bridge)
* Fix C++ Linux Clang build issue (C++ Linux GCC still broken)
2023-05-04 21:41:03 -04:00
Hassan DRAGA
866796c8d2 Event Struct Improvement
* In webui_event_t `type` changed to `event_type`. This is because some wrapper's language does not support using _type_ as a variable name.
* In webui_event_t `char* response` changed to `unsigned int event_number`.
* Now `webui_interface_set_response()` use a simple `unsigned int event_number` instead of `char* response`.
2023-04-29 13:46:11 -04:00
Albert Shown
f4f168c912 Fix TCC (tlhelp32.h) issue
* Removing auto-running browser detection from TCC build
2023-04-26 18:15:55 -04:00
Albert Shown
01e19872ac More C++ examples
* Adding more C++ examples
* Updating C++ docs
2023-04-26 16:44:35 -04:00
Albert Shown
579d9e5b23 Support C++ Methods
* Adding example of how to use WebUI with C++ methods
2023-04-26 13:08:57 -04:00
Albert Shown
296dfdc0b4 Go & C++ Documentation
* Adding Go Documentation
* Adding C++ Documentation
* Removing TCC warnings
2023-04-25 17:56:57 -04:00
Hassan DRAGA
51f552d738 Support Visual Studio (C++)
* New Visual Studio (C++) Examples
* New C++ wrapper (simple)
* Fixing a memory issue when using (VS CRT)
2023-04-22 22:51:45 -04:00