smallmodel
49fd4acef8
Wrap WriteCallback around HAS_LIBCURL define
Build branch / build-all (push) Failing after 48s
CodeQL / Analyze (push) Has been cancelled
2025-03-17 11:50:41 +01:00
smallmodel
e6f5d76abe
Set the appropriate headers to use API versioning
2025-03-13 23:42:50 +01:00
smallmodel
fecd1eb505
Preallocate and set the maximum buffer size to receive the request
2025-03-13 23:37:20 +01:00
smallmodel
9536a8ec64
Specify a small timeout for each request
2025-03-13 22:41:01 +01:00
smallmodel
06a12246f5
Notify the request thread of shutdown only if it's waiting
...
This avoids a deadlock that would occur if notify_all() is called before the thread is waiting
2025-03-13 22:37:21 +01:00
smallmodel
456b660b2a
Improve the update checker so it can be opt-out ( #696 )
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 1m4s
* Add a cvar to enable/disable update checking
* Refactor update checker
This splits the thread part from the main part to clarify the code
* Move and update the configuration documentation, for a more general approach
2025-03-13 21:09:42 +01:00
smallmodel
c854df8ffa
Don't start the update thread if it shouldn't be active or if the network doesn't work
2025-03-12 23:58:24 +01:00
smallmodel
22a34d8d68
Fix compile error when libcurl is not installed
2025-03-12 23:18:11 +01:00
smallmodel
79af8a46d1
Increase update thread sleep time
...
This prevents wasting time in scheduling the thread
2025-03-11 23:57:40 +01:00
smallmodel
4fe11b5ea9
Always return false for CheckNewVersion() if libcurl is not used
2025-03-11 23:37:34 +01:00
smallmodel
7a20bb4deb
Add a new method that return version numbers
2025-03-11 23:32:18 +01:00
smallmodel
58f7e6f1fe
Use cURL instead of cpp-httplib
2025-03-05 23:40:05 +01:00
smallmodel
01381ed084
Add HTTP support and update checking
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2025-02-24 02:20:31 +01:00
ysdragon
833408c663
Don't link against rt for musl and *BSD platforms
2025-02-08 04:03:24 +02:00
smallmodel
f22ea9eb21
Link against rt
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 21s
2025-01-11 23:50:33 +01:00
smallmodel
ec95b6bfbe
Fix localization not working properly
2025-01-08 22:52:47 +01:00
smallmodel
6a31381c8e
Format localization source files
2025-01-08 21:26:41 +01:00
smallmodel
7f8bcf8075
Don't read localization.txt file twice
2025-01-08 21:07:13 +01:00
smallmodel
b84a47ad3f
Localization files should be sorted case-insensitive
2025-01-08 21:04:09 +01:00
ysdragon
2ec2ef8bbf
Update sys
CMake configuration to link execinfo for BSD variants
2025-01-08 11:27:09 +02:00
smallmodel
387ccd5cc3
Bump the minimum CMake version to 3.12
2024-11-30 00:36:33 +01:00
smallmodel
83a874e4fd
Add an option for CMake to specify when targeting the local system
2024-11-29 20:59:47 +01:00
ysdragon
8d0b7b77c6
Check for libc and link against execinfo
lib for musl libc
2024-11-24 16:04:30 +01:00
smallmodel
2ce8450a7e
Use fprintf to stderr
2024-11-21 01:14:08 +01:00
smallmodel
58d8a73269
Don't abort() on interrupt or on program termination
2024-11-20 12:46:04 +01:00
smallmodel
c788d57c52
Use abort() rather than doing a segfault
2024-11-19 23:15:01 +01:00
smallmodel
01dfbcdbfe
Properly print the backtrace and generate a core dump on both Windows/Unix
2024-11-19 21:45:49 +01:00
smallmodel
b0a683c188
Don't localize if the localization hasn't been initialized
2024-11-12 23:09:32 +01:00
smallmodel
afc431c413
Add a basic launcher
2024-11-04 01:00:53 +01:00
smallmodel
1a3122bef3
Fix pointer to integer warning
2024-10-18 22:14:45 +02:00
smallmodel
b1c5d6c62a
Increase the backtrace size to 64
2024-10-13 11:32:20 +02:00
smallmodel
1fd6c2bd52
Merge pull request #360 from pryon/UINotepad-fixes
...
UINotepad fixes and improvements
2024-09-22 19:35:52 +02:00
smallmodel
764b95f617
Set a better name for binaries to properly distinguish the name of the architecture
2024-09-22 14:56:02 +02:00
pryon
6b91846b0c
Reimplement Sys_ListFiles
and Sys_ListFilteredFiles
...
They had several bugs, like showing the current and parent directory entires twice, not seeing files but only directories, etc.
2024-09-21 19:36:13 +02:00
pryon
92190220aa
Implement clipboard functionality
2024-09-21 19:32:23 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
smallmodel
a69d9d4483
Fix compilation errors for MacOS, and add support for MacOS
2024-09-20 21:31:27 +02:00
smallmodel
08c5186426
Use stdlib.h as malloc.h is deprecated
2024-09-20 21:27:53 +02:00
smallmodel
205709271b
Add fixes from upstream ioq3
2024-09-19 19:24:31 +02:00
Sébastien Noel
a010e648ee
Fix a few typos
2024-09-19 10:52:47 +02:00
smallmodel
75a71d35ec
Avoid calling isspace with a character that has a value below 0
2024-09-18 23:04:01 +02:00
smallmodel
3f139f463b
Remove stub print
2024-09-18 00:19:05 +02:00
Alan Zhao
769d06b0f0
Use nanosleep(2) instead of usleep(3)
...
usleep(3) was declared obsolete in POSIX.1-2001 and removed in
POSIX.1-2008 and nanosleep(2) was recommended to be used instead.
2024-07-26 23:03:09 +02:00
smallmodel
34ea099d87
Define _FILE_OFFSET_BITS to 64 due to a bug in readdir() affecting 32-bit architectures
...
readdir() would return NULL, setting errno to EOVERFLOW, unable to load pk3 files
2024-06-06 22:18:23 +02:00
smallmodel
054201bea9
Fixed character assertion fail when the character was a value below 0
2024-04-21 19:07:08 +02:00
smallmodel
3a5dcd6a3c
Increased MAX_BUFFERS
2023-11-07 22:34:04 +01:00
smallmodel
128c8f3c06
Added Sys_DebugPrint
2023-09-17 19:31:37 +02:00
smallmodel
c901bcf321
Call Sys_PrintBackTrace() directly from Sys_SigHandler()
2023-09-01 22:53:08 +02:00
smallmodel
8f3142e532
Display the header/footer before printing the backtrace
2023-09-01 22:52:52 +02:00
smallmodel
241fa5d485
Fixed backtrace always showing 0x0
2023-08-26 21:16:48 +02:00