Hassan DRAGA
bc9d074b4d
Improve set_size and set_position
...
- Improve `webui_set_size()` and `webui_set_position()`
- Now size and position works after reload of the UI
- Add window size to Firefox
- Add window position to Firefox (JS-Bridge only, no command line is available for Firefox)
2023-08-29 21:12:45 -04:00
Albert Shown
661ab75dec
C++ set_size and set_position
...
* C++ `set_size()`
* C++ `set_position()`
2023-08-28 18:53:32 -04:00
Albert Shown
e91d6d70bf
Adding webui_set_size and webui_set_position
...
* Adding `webui_set_size()`
* Adding `webui_set_position()`
2023-08-28 18:45:52 -04:00
Turiiya
500f030c35
Prevent bridge build permission error
2023-08-26 22:15:04 +02:00
Turiiya
782fdf461a
Remove obsolete build workflow
2023-08-25 20:43:22 +02:00
Turiiya
cde123517d
Optimize CI ( #168 )
2023-08-25 20:38:49 +02:00
Hassan DRAGA
9574724f99
Merge pull request #179 from ttytm/docs/refine-comments
...
Refine API comments
2023-08-25 10:35:36 -04:00
Hassan DRAGA
94a3db07b7
Fix https://github.com/webui-dev/webui/issues/180
...
* Update `CLOSE` command
* Update bridge
2023-08-25 10:24:41 -04:00
Hassan DRAGA
349dbad06b
Fix https://github.com/webui-dev/webui/issues/178
...
* Fix https://github.com/webui-dev/webui/issues/178
* Updating `webui_new_window_id()` to use `default_server_root_path`
2023-08-25 09:49:34 -04:00
Turiiya
ee66862f87
Refine API comments
2023-08-25 07:59:14 +02:00
Hassan DRAGA
e5363cd5c3
Fix Communication Protocol
...
* Clean Communication Protocol
* Update bridge
* Fix https://github.com/webui-dev/webui/issues/176
2023-08-25 00:33:11 -04:00
Hassan DRAGA
9308d767c9
Quick fix example makefiles
...
* Removing `@cd "$(LIB)" && $(MAKE) debug`
2023-08-24 23:24:27 -04:00
Hassan DRAGA
74830815cd
Adding webui_set_default_root_folder()
...
* Adding `webui_set_default_root_folder()`
* Fix non initialized webui-core in some scenarios
2023-08-24 21:54:13 -04:00
Hassan DRAGA
eda58b315e
Wait longer for WS
...
* When running the browser for the first time after a fresh PC start, it take time to run and connect. So increasing WS timeout from `1.5s` to `3s`. While browser running timeout stay `30s`.
2023-08-24 18:06:41 -04:00
Hassan DRAGA
cdfed3d7a2
Mem comments
...
* Just some comments about mem
2023-08-24 17:48:41 -04:00
Hassan DRAGA
ccac4a482e
Cleaning
...
* Removing Visual Studio Solution Examples
* Removing `webui.h` from examples
2023-08-24 17:21:09 -04:00
Turiiya
db5bc6bed3
Update style of interop examples ( #175 )
2023-08-24 17:53:31 +02:00
Hassan DRAGA
cf794df7d9
Bind any time
...
* Now `webui_bind()` can update the UI with new IDs at any time
2023-08-23 22:53:06 -04:00
Turiiya
af3e61c5c0
Fix file deletion in Windows GCC CI build ( #174 )
2023-08-24 03:48:46 +02:00
Turiiya
2194f600f2
Enquote paths in Makefile
2023-08-24 00:05:33 +02:00
Turiiya
b368b819b9
Fix mkdir dist
in build step on windows
2023-08-23 21:40:57 +02:00
Hassan DRAGA
0d400644d1
Adding DataSize to wrappers interface
...
* Adding DataSize to wrappers interface `webui_interface_bind()`
2023-08-22 22:13:58 -04:00
Hassan DRAGA
8c965807e1
Fix Makefile MSVC
...
* Fix Makefile MSVC. Wont work if `dist` folder not exist
2023-08-22 22:12:59 -04:00
Hassan DRAGA
7f0656c255
Bridge build windows batch script
2023-08-22 21:43:39 -04:00
Jazz
b4a3092480
fix some calls to "webui_decode"
2023-08-22 20:05:03 -04:00
Turiiya
77df52247d
Add pascal wrapper, alphabetize
2023-08-23 00:15:15 +02:00
Turiiya
83c802608c
Cleanup quotes
2023-08-23 00:15:15 +02:00
Hassan DRAGA
e941e35fc6
Send Raw to backend
...
* Send Raw to backend
* Updating bridge
* No memory copy when source is UI as is guaranteed to stay alive
2023-08-22 18:11:35 -04:00
Hassan DRAGA
ece2b15456
Update C++ header
2023-08-22 14:36:25 -04:00
Hassan DRAGA
7ac0b7c3d4
Rebuild the bridge after renaming
...
* Rebuild the bridge after renaming the class object from `WebUiClient` to `WebuiBridge`
2023-08-21 17:59:29 -04:00
Hassan DRAGA
2784a076a1
Update MSVC Makefile
...
* Move output to `dist` instead of `root`
* Update format
2023-08-21 17:40:48 -04:00
Turiiya
8299c0a9ba
Keep -DMUST_IMPLEMENT_CLOCK_GETTIME
for Windows GCC ( #167 )
2023-08-21 23:26:25 +02:00
Turiiya
7a59da84f0
Update readme ( #166 )
...
Co-authored-by: Hassan DRAGA <dragahassan@gmail.com>
2023-08-21 23:06:46 +02: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
9a8081647d
Update Readme
2023-08-21 19:04:43 +02:00
Turiiya
491c9541db
Update CI
2023-08-21 19:04:43 +02:00
Turiiya
80ec655901
Remove build directory
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
Turiiya
bb9cdb1c88
Add Makefile.nmake for MSVC compilation
2023-08-21 19:04:43 +02:00
Turiiya
6bc8133232
Add Makefile in project root
2023-08-21 19:04:43 +02:00
Turiiya
2bc90bd9cc
Fix CI cache restore for Windows
2023-08-21 18:32:18 +02:00
Hassan DRAGA
a5810e63d8
Rename class Client to Bridge
2023-08-21 09:23:29 -04:00
Hassan DRAGA
1a71813a2b
Update bridge build readme
2023-08-20 22:03:09 -04:00
Hassan DRAGA
549f901a9b
Update PowerShell bridge build
...
* Update PowerShell bridge build to detect Python and NPM if installed
* Auto install ESBuild
2023-08-20 21:52:12 -04:00
Hassan DRAGA
4768018655
Fix webui_show_browser() missing mutex
...
* Fix `webui_show_browser()` missing flag, this was causing the mutex to never unlock in `wait()`
2023-08-20 21:17:29 -04:00
Turiiya
7839a42cba
Update CI to use build scripts
2023-08-21 03:11:27 +02:00
Turiiya
4088230ebc
Add bridge build scripts
2023-08-21 03:11:27 +02:00
Hassan DRAGA
68a5d48e87
Mutex Conditional
...
* Improve `webui_wait()` by using mutex conditional signal instead of `sleep()` as suggested by @GiuseppeCesarano
2023-08-20 01:17:53 -04:00
Hassan DRAGA
78da533a3a
Adding Mutex
...
* Adding Mutex in server threads
* Adding Mutex in WS Send threads
* Adding Mutex in WS Receive threads
2023-08-19 23:25:41 -04:00