Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Wrappers to 2.5.0.Beta.2 #430

Open
1 of 12 tasks
hassandraga opened this issue Jun 23, 2024 · 4 comments
Open
1 of 12 tasks

Update Wrappers to 2.5.0.Beta.2 #430

hassandraga opened this issue Jun 23, 2024 · 4 comments
Assignees

Comments

@hassandraga
Copy link
Member

hassandraga commented Jun 23, 2024

  • Deno
  • Rust
  • Go
  • Swift
  • Pascal
  • Zig
  • V
  • Nim
  • Odin
  • Python
  • Bun
  • PureBasic
@tvortsa
Copy link

tvortsa commented Jul 2, 2024

Wait Deno wrapper o.o

@ttytm
Copy link
Member

ttytm commented Jul 6, 2024

I'm pretty occupied time wise atm, sorry about delays helping out here.

Trying to build latest webui with gcc / use it with e.g. the v-wrapper, I'm running into complications compiling.

gcc (GCC) 14.1.1 20240522
❯ make
Build WebUI library (gcc release static)...
/home/t/.vmodules/vwebui/src/webui//src/webui.c: In function ‘_webui_http_send_header’:
/home/t/.vmodules/vwebui/src/webui//src/webui.c:7430:37: error: passing argument 1 of ‘_webui_generate_cookies’ from incompatible pointer type [-Wincompatible-pointer-types]
 7430 |             _webui_generate_cookies(new_auth_cookies, WEBUI_COOKIES_LEN);
      |                                     ^~~~~~~~~~~~~~~~
      |                                     |
      |                                     char **
/home/t/.vmodules/vwebui/src/webui//src/webui.c:584:43: note: expected ‘char *’ but argument is of type ‘char **’
  584 | static void _webui_generate_cookies(char* cookies, size_t length);
      |                                     ~~~~~~^~~~~~~
/home/t/.vmodules/vwebui/src/webui//src/webui.c:7431:49: error: passing argument 2 of ‘_webui_client_cookies_save’ from incompatible pointer type [-Wincompatible-pointer-types]
 7431 |             if (_webui_client_cookies_save(win, new_auth_cookies, &new_client_id)) {
      |                                                 ^~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 char **
/home/t/.vmodules/vwebui/src/webui//src/webui.c:579:74: note: expected ‘const char *’ but argument is of type ‘char **’
  579 | static bool _webui_client_cookies_save(_webui_window_t* win, const char* cookies, size_t* client_id);
      |                                                              ~~~~~~~~~~~~^~~~~~~
make: *** [GNUmakefile:134: --release] Error 1

@hassandraga hassandraga added the bug Something isn't working label Jul 6, 2024
@hassandraga hassandraga changed the title Update Wrappers to 2.5.0.Beta.1 Update Wrappers to 2.5.0.Beta.2 Jul 7, 2024
@hassandraga
Copy link
Member Author

Warnings are fixed now (923f487).
And to avoid this in the future, now debug build shows warnings (4f6fbc5).

@hassandraga hassandraga removed the bug Something isn't working label Jul 8, 2024
@hassandraga
Copy link
Member Author

I guess now WebUI v2.5.0.beta.2 is ready to be released.
If all wrappers are happy with beta.2 then we will release the stable version.

@jinzhongjia jinzhongjia closed this as completed by moving to Done in WebUI Jul 14, 2024
@jinzhongjia jinzhongjia reopened this Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

6 participants