Update Website & Release folder

* Update website
* Update release folder
This commit is contained in:
Hassan DRAGA 2023-04-25 23:16:35 -04:00
parent 72a6c2b5bf
commit bf0a0db8c4
47 changed files with 58 additions and 26 deletions

Binary file not shown.

Binary file not shown.

View File

@ -52,6 +52,7 @@
#include <direct.h>
#include <io.h>
#include <tchar.h>
#include <tlhelp32.h>
#define WEBUI_GET_CURRENT_DIR _getcwd
#define WEBUI_FILE_EXIST _access
#define WEBUI_POPEN _popen
@ -61,6 +62,7 @@
// -- Linux ---------------------------
#ifdef __linux__
#include <unistd.h>
#include <pthread.h>
#include <unistd.h>
#include <limits.h>
@ -85,8 +87,9 @@
#include <sys/socket.h>
#include <fcntl.h>
#include <poll.h>
#include <sys/syslimits.h> // PATH_MAX
#include <sys/syslimits.h>
#include <sys/time.h>
#include <sys/sysctl.h>
#define WEBUI_GET_CURRENT_DIR getcwd
#define WEBUI_FILE_EXIST access
#define WEBUI_POPEN popen
@ -151,13 +154,17 @@ WEBUI_EXPORT void webui_close(void* window);
WEBUI_EXPORT void webui_exit(void);
// -- Other ---------------------------
// Check a specific window if it's still running
WEBUI_EXPORT bool webui_is_shown(void* window);
// Set the maximum time in seconds to wait for browser to start
WEBUI_EXPORT void webui_set_timeout(unsigned int second);
// Set the default embedded HTML favicon
WEBUI_EXPORT void webui_set_icon(void* window, const char* icon, const char* type);
// Allow the window URL to be re-used in normal web browsers
WEBUI_EXPORT void webui_set_multi_access(void* window, bool status);
// -- JavaScript ----------------------
// Quickly run a JavaScript (no response waiting).
// Run JavaScript quickly with no waiting for the response.
WEBUI_EXPORT bool webui_run(void* window, const char* script);
// Run a JavaScript, and get the response back (Make sure your local buffer can hold the response).
WEBUI_EXPORT bool webui_script(void* window, const char* script, unsigned int timeout, char* buffer, size_t buffer_length);

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -154,13 +154,17 @@ WEBUI_EXPORT void webui_close(void* window);
WEBUI_EXPORT void webui_exit(void);
// -- Other ---------------------------
// Check a specific window if it's still running
WEBUI_EXPORT bool webui_is_shown(void* window);
// Set the maximum time in seconds to wait for browser to start
WEBUI_EXPORT void webui_set_timeout(unsigned int second);
// Set the default embedded HTML favicon
WEBUI_EXPORT void webui_set_icon(void* window, const char* icon, const char* type);
// Allow the window URL to be re-used in normal web browsers
WEBUI_EXPORT void webui_set_multi_access(void* window, bool status);
// -- JavaScript ----------------------
// Quickly run a JavaScript (no response waiting).
// Run JavaScript quickly with no waiting for the response.
WEBUI_EXPORT bool webui_run(void* window, const char* script);
// Run a JavaScript, and get the response back (Make sure your local buffer can hold the response).
WEBUI_EXPORT bool webui_script(void* window, const char* script, unsigned int timeout, char* buffer, size_t buffer_length);

Binary file not shown.

View File

@ -52,6 +52,7 @@
#include <direct.h>
#include <io.h>
#include <tchar.h>
#include <tlhelp32.h>
#define WEBUI_GET_CURRENT_DIR _getcwd
#define WEBUI_FILE_EXIST _access
#define WEBUI_POPEN _popen
@ -61,6 +62,7 @@
// -- Linux ---------------------------
#ifdef __linux__
#include <unistd.h>
#include <pthread.h>
#include <unistd.h>
#include <limits.h>
@ -85,8 +87,9 @@
#include <sys/socket.h>
#include <fcntl.h>
#include <poll.h>
#include <sys/syslimits.h> // PATH_MAX
#include <sys/syslimits.h>
#include <sys/time.h>
#include <sys/sysctl.h>
#define WEBUI_GET_CURRENT_DIR getcwd
#define WEBUI_FILE_EXIST access
#define WEBUI_POPEN popen
@ -151,13 +154,17 @@ WEBUI_EXPORT void webui_close(void* window);
WEBUI_EXPORT void webui_exit(void);
// -- Other ---------------------------
// Check a specific window if it's still running
WEBUI_EXPORT bool webui_is_shown(void* window);
// Set the maximum time in seconds to wait for browser to start
WEBUI_EXPORT void webui_set_timeout(unsigned int second);
// Set the default embedded HTML favicon
WEBUI_EXPORT void webui_set_icon(void* window, const char* icon, const char* type);
// Allow the window URL to be re-used in normal web browsers
WEBUI_EXPORT void webui_set_multi_access(void* window, bool status);
// -- JavaScript ----------------------
// Quickly run a JavaScript (no response waiting).
// Run JavaScript quickly with no waiting for the response.
WEBUI_EXPORT bool webui_run(void* window, const char* script);
// Run a JavaScript, and get the response back (Make sure your local buffer can hold the response).
WEBUI_EXPORT bool webui_script(void* window, const char* script, unsigned int timeout, char* buffer, size_t buffer_length);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ IF "%ARG1%"=="debug" (
echo.
echo WebUI v%WEBUI_VERSION% Build Script
echo Platform: Microsoft Windows x64
echo Compiler: MSVC and GCC
echo Compiler: MSVC, GCC and TCC
Set RootPath=%CD%\..\
cd "%RootPath%"

View File

@ -154,13 +154,17 @@ WEBUI_EXPORT void webui_close(void* window);
WEBUI_EXPORT void webui_exit(void);
// -- Other ---------------------------
// Check a specific window if it's still running
WEBUI_EXPORT bool webui_is_shown(void* window);
// Set the maximum time in seconds to wait for browser to start
WEBUI_EXPORT void webui_set_timeout(unsigned int second);
// Set the default embedded HTML favicon
WEBUI_EXPORT void webui_set_icon(void* window, const char* icon, const char* type);
// Allow the window URL to be re-used in normal web browsers
WEBUI_EXPORT void webui_set_multi_access(void* window, bool status);
// -- JavaScript ----------------------
// Quickly run a JavaScript (no response waiting).
// Run JavaScript quickly with no waiting for the response.
WEBUI_EXPORT bool webui_run(void* window, const char* script);
// Run a JavaScript, and get the response back (Make sure your local buffer can hold the response).
WEBUI_EXPORT bool webui_script(void* window, const char* script, unsigned int timeout, char* buffer, size_t buffer_length);

View File

@ -154,13 +154,17 @@ WEBUI_EXPORT void webui_close(void* window);
WEBUI_EXPORT void webui_exit(void);
// -- Other ---------------------------
// Check a specific window if it's still running
WEBUI_EXPORT bool webui_is_shown(void* window);
// Set the maximum time in seconds to wait for browser to start
WEBUI_EXPORT void webui_set_timeout(unsigned int second);
// Set the default embedded HTML favicon
WEBUI_EXPORT void webui_set_icon(void* window, const char* icon, const char* type);
// Allow the window URL to be re-used in normal web browsers
WEBUI_EXPORT void webui_set_multi_access(void* window, bool status);
// -- JavaScript ----------------------
// Quickly run a JavaScript (no response waiting).
// Run JavaScript quickly with no waiting for the response.
WEBUI_EXPORT bool webui_run(void* window, const char* script);
// Run a JavaScript, and get the response back (Make sure your local buffer can hold the response).
WEBUI_EXPORT bool webui_script(void* window, const char* script, unsigned int timeout, char* buffer, size_t buffer_length);

View File

@ -154,13 +154,17 @@ WEBUI_EXPORT void webui_close(void* window);
WEBUI_EXPORT void webui_exit(void);
// -- Other ---------------------------
// Check a specific window if it's still running
WEBUI_EXPORT bool webui_is_shown(void* window);
// Set the maximum time in seconds to wait for browser to start
WEBUI_EXPORT void webui_set_timeout(unsigned int second);
// Set the default embedded HTML favicon
WEBUI_EXPORT void webui_set_icon(void* window, const char* icon, const char* type);
// Allow the window URL to be re-used in normal web browsers
WEBUI_EXPORT void webui_set_multi_access(void* window, bool status);
// -- JavaScript ----------------------
// Quickly run a JavaScript (no response waiting).
// Run JavaScript quickly with no waiting for the response.
WEBUI_EXPORT bool webui_run(void* window, const char* script);
// Run a JavaScript, and get the response back (Make sure your local buffer can hold the response).
WEBUI_EXPORT bool webui_script(void* window, const char* script, unsigned int timeout, char* buffer, size_t buffer_length);

1
website/404.html Normal file
View File

@ -0,0 +1 @@
404 Not Found.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 105 KiB

BIN
website/docs/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
website/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

@ -142,17 +142,17 @@
</div>
<div class="w-full font-bold text-2xl text-gray-800 px-6">Windows</div>
<p class="text-gray-800 text-base px-6 mb-5">
This download include the WebUI prebuilt Windows x64 Static & Dynamic lib binaries.<br><br>
- MSVC 2019 (v142)<br>
- MSVC 2022 (v143)<br>
- GCC <a class="underline" href="https://jmeubank.github.io/tdm-gcc/" target="_blank">TDM</a>(v10.3.0)<br>
- TCC <a class="underline" href="https://github.com/TinyCC/tinycc" target="_blank">MobDev</a>(v0.9.27)<br>
Download the WebUI prebuilt binaries for Windows x64.<br><br>
The static & dynamic libs are compiled using:<br>
- MSVC 2022 v17.5.3 (<a class="underline" href="https://visualstudio.microsoft.com/vs/community/" target="_blank">visualstudio.microsoft.com</a>)<br>
- MinGW-W64 v12.2.0 (<a class="underline" href="https://www.mingw-w64.org/" target="_blank">mingw-w64.org</a>)<br>
- TCC v0.9.27 (<a class="underline" href="https://github.com/TinyCC/tinycc" target="_blank">github.com/TinyCC/tinycc</a>)<br>
</p>
</div>
<div class="flex-none mt-auto bg-white rounded-b rounded-t-none overflow-hidden shadow p-6">
<div class="flex items-center justify-center">
<a href="https://github.com/alifcommunity/webui/releases/download/2.2.0/webui_2.2.0.zip" target="_blank" class="mx-auto lg:mx-0 hover:underline gradient-button text-white font-bold my-6 py-2 px-4 shadow-lg no-underline">
Download Windows WebUI v2.2.0
<a href="https://raw.githubusercontent.com/alifcommunity/webui/main/Release/webui-windows-x64-v2.2.0.zip" target="_blank" class="mx-auto lg:mx-0 hover:underline gradient-button text-white font-bold my-6 py-2 px-4 shadow-lg no-underline">
webui-windows-x64-v2.2.0.zip
</a>
</div>
</div>
@ -164,16 +164,16 @@
</div>
<div class="w-full font-bold text-2xl text-gray-800 px-6">Linux</div>
<p class="text-gray-800 text-base px-6 mb-5">
This download include the WebUI prebuilt Linux x64 Static & Dynamic lib binaries.<br><br>
- GCC<br>
- TCC<br>
- Clang<br>
Download the WebUI prebuilt binaries for Linux x64<br><br>
The static & dynamic libs are compiled using:<br>
- GCC v11.3.0<br>
- Clang v14.0.0<br>
</p>
</div>
<div class="flex-none mt-auto bg-white rounded-b rounded-t-none overflow-hidden shadow p-6">
<div class="flex items-center justify-center">
<a href="https://github.com/alifcommunity/webui/releases/download/2.2.0/webui_2.2.0.zip" target="_blank" class="mx-auto lg:mx-0 hover:underline gradient-button text-white font-bold my-6 py-2 px-4 shadow-lg no-underline">
Download Linux WebUI v2.2.0
<a href="https://raw.githubusercontent.com/alifcommunity/webui/main/Release/webui-linux-x64-v2.2.0.zip" target="_blank" class="mx-auto lg:mx-0 hover:underline gradient-button text-white font-bold my-6 py-2 px-4 shadow-lg no-underline">
webui-linux-x64-v2.2.0.zip
</a>
</div>
</div>
@ -185,14 +185,15 @@
</div>
<div class="w-full font-bold text-2xl text-gray-800 px-6">macOS</div>
<p class="text-gray-800 text-base px-6 mb-5">
This download include the WebUI prebuilt macOS Static & Dynamic lib binaries.<br><br>
- Clang<br>
Download the WebUI prebuilt binaries for macOS x64<br><br>
The static & dynamic libs are compiled using:<br>
- Clang v14.0.0<br>
</p>
</div>
<div class="flex-none mt-auto bg-white rounded-b rounded-t-none overflow-hidden shadow p-6">
<div class="flex items-center justify-center">
<a href="#" target="_blank" class="mx-auto lg:mx-0 hover:underline gradient-button text-white font-bold my-6 py-2 px-4 shadow-lg no-underline">
Coming Soon
<a href="https://raw.githubusercontent.com/alifcommunity/webui/main/Release/webui-macos-x64-v2.2.0.zip" target="_blank" class="mx-auto lg:mx-0 hover:underline gradient-button text-white font-bold my-6 py-2 px-4 shadow-lg no-underline">
webui-macos-x64-v2.2.0.zip
</a>
</div>
</div>

BIN
webui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB