Anonymous Maarten
48b6b93fb6
cmake: make RelWithDebInfo the default configuration
2024-12-09 18:03:03 +01:00
Anonymous Maarten
e4215a04d9
gpu: make macro's function-like using do-while-0
2024-12-09 00:01:16 +01:00
Anonymous Maarten
fb71b44231
gpu: define EXPAND_ARRAY_IF_NEEDED macro once and make it function-like
2024-12-09 00:01:16 +01:00
Anonymous Maarten
0370b92d80
gpu: SDL_ClaimWindowForGPUDevice must set an error message on failure
2024-12-09 00:01:16 +01:00
Anonymous Maarten
19cc04a162
Add build-release.py updates from satellite libraries
...
[ci skip]
2024-12-08 02:16:02 +01:00
Anonymous Maarten
ec2ef5f9b5
dynapi: order headers for reproducible behavior
2024-12-02 18:25:48 +01:00
Anonymous Maarten
88926f2b73
emscripten: send drag and drop events
2024-11-24 13:22:46 -05:00
Anonymous Maarten
848fd1eab4
ci: don't do 'brew install pkg-config' anymore II
...
Assume it is installed by default
2024-11-22 20:52:57 +01:00
Anonymous Maarten
0007451222
ci: don't do 'brew install pkg-config' anymore
...
Assume it is installed by default
2024-11-22 20:46:03 +01:00
Anonymous Maarten
4fb955c80b
cmake: fix sdlcpu.cmake for C89 compilers
2024-11-20 05:35:50 +01:00
Anonymous Maarten
bd57cfdb55
ci: pin MSVC ARM Windows SDK version to 10.0.22621.0
2024-11-17 19:39:28 +01:00
Anonymous Maarten
c56a3f60fe
xcode+cmake: use SDL3.framework folder as IMPORTED_LOCATION
...
[ci skip]
2024-11-02 22:22:35 +01:00
Anonymous Maarten
e001a309be
create-release.py: use head of git ref as default commit
2024-11-02 04:20:32 +01:00
Anonymous Maarten
f543faf837
Allow in-tree build
2024-10-30 00:04:17 +01:00
Anonymous Maarten
8bf1a84200
ci: add include headers of build directory to ci artifacts
...
[sdl-ci-artifacts]
2024-10-25 17:47:26 +02:00
Anonymous Maarten
590e1196d0
snake: check allocated memory before use
2024-10-25 17:47:26 +02:00
Anonymous Maarten
20e01c6fbe
android: add (disabled) android.permission.INTERNET to AndroidManifest.xml
...
It's required for SDL3_net
2024-10-25 17:47:26 +02:00
Anonymous Maarten
0bec18245d
android: fix android.content.Context:getCacheDir JNI prototype
2024-10-22 18:03:34 +02:00
Anonymous Maarten
5492be23a1
ci: test Apple x64 on macos-13 runner
...
GitHub will remove macos-12 by December 3rd, 2024.
2024-10-17 02:28:20 +02:00
Anonymous Maarten
69433ee075
doc: explain build-scripts/create-release.py in the release checklist
2024-10-16 18:43:15 +02:00
Anonymous Maarten
075ae7db7d
ci: update LoongArch toolchain to 2023.08.08
2024-10-15 19:10:39 +02:00
Anonymous Maarten
4162bddca7
cmake: fix configuration with -DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON
2024-10-15 19:09:54 +02:00
Anonymous Maarten
817fa9a975
releases: don't add static library to MinGW binary release
2024-10-14 21:30:48 +02:00
Anonymous Maarten
45dfdfbb7b
Add parametrized build script
...
[ci skip]
2024-10-14 21:30:48 +02:00
Anonymous Maarten
b641c2a0db
Refactor gendynapi.py with the final goal to make it re-usable
2024-10-13 02:52:56 +02:00
Anonymous Maarten
173c168ff4
Default functions are already declared by the first SDL_dynapi_procs.h include
2024-10-13 02:52:56 +02:00
Anonymous Maarten
95ab38ba15
ci: actions/cache might return a boolean as string
...
https://github.com/actions/cache/issues/1466
2024-10-08 18:53:29 +02:00
Anonymous Maarten
f26dd52090
SDL_GetProcessProperties is missing a SDLCALL
2024-10-04 21:48:27 +02:00
Anonymous Maarten
bd4cd34a74
Add docs to mingw development archive
2024-10-04 18:19:07 +02:00
Anonymous Maarten
b3388d5753
Haiku does not have fdatasync, but has fsync
...
https://dev.haiku-os.org/ticket/17378
2024-09-30 15:10:03 +02:00
Anonymous Maarten
396afa2117
ci: bump haiku to r1beta5
2024-09-30 15:10:03 +02:00
Anonymous Maarten
7241dd9ec3
Add more SDL_Process tests
2024-09-30 03:03:33 +02:00
Anonymous Maarten
f6055432c8
Fix null-pointer dereference on failing SDL_SYS_CreateProcess
2024-09-30 03:03:33 +02:00
Anonymous Maarten
e9bfa5bf6a
Mitigate BatBadBut vulnerability
2024-09-30 03:03:33 +02:00
Anonymous Maarten
345cae361d
Document mode parameter of SDL_GetRenderLogicalPresentation
2024-09-26 16:12:13 +02:00
Anonymous Maarten
80cf3f7c38
ci: Fix check_stdlib_usage.py and run on ci
2024-09-25 23:59:35 +02:00
Anonymous Maarten
76f28ea120
Fix stdlib usage
2024-09-25 23:59:35 +02:00
Anonymous Maarten
1561d7c089
Fix warnings in build-scripts/check_stdlib_usage.py
2024-09-25 20:34:32 +02:00
Anonymous Maarten
2070adb262
android: add python script checking Android JNI bindings
2024-09-25 20:34:32 +02:00
Anonymous Maarten
cf4049cfde
ci: check versioning on ci
2024-09-25 20:34:32 +02:00
Anonymous Maarten
1ffb9f22aa
build-release.py fixes from SDL2 port
2024-09-17 16:24:02 +02:00
Anonymous Maarten
dd07cc8991
SDL_Process: WAIT_TIMEOUT means the process has not exited yet
2024-09-14 21:16:29 -07:00
Anonymous Maarten
3166a05c18
cmake: don't prepend absolute CMAKE_INSTALL_{INCLUDE,LIB}DIR with ${prefix}
2024-09-14 16:21:42 +02:00
Anonymous Maarten
ee65176eec
SDL_test: add SDLTest_LogEscapedString
2024-09-13 20:52:32 +02:00
Anonymous Maarten
6a305e1532
SDL_test: fix SDLTest_CommonQuit with NULL state
2024-09-13 20:52:32 +02:00
Anonymous Maarten
c797ae1619
Fix -Wtype-limits warning
...
actual has type Uint8, so there's no need to compare against 0.
2024-09-09 14:40:50 +02:00
Anonymous Maarten
ac0b1b207f
SDL_hints: fix gpu direct3d11 driver name in documentation
...
This was renamed in b17ca32d8c
2024-09-08 15:56:17 +02:00
Anonymous Maarten
4c0cb94b96
vulkan: VULKAN_CreateTexture returns a boolean
...
Fixes regression introduced by 9ff3446f03
VK_SUCCESS == 0, where failure needs to return false (0).
2024-09-08 13:14:18 +02:00
Anonymous Maarten
3eb49ac862
vulken: VULKAN_CreateTexture returns a boolean
...
Fixes regression introduced by 9ff3446f03
VK_SUCCESS == 0, where success needs to return true (1).
2024-09-08 12:42:55 +02:00
Anonymous Maarten
360bc667a8
SDL_Log: restore SDL2's SDL_LogCategory order
2024-09-06 17:40:59 +02:00
Anonymous Maarten
26728c321f
SDL_test: add include for SDLTest_CommonState
2024-09-06 14:23:08 +02:00
Anonymous Maarten
b4c3df1189
SDL_test: whitespace header fixes
2024-09-06 14:19:05 +02:00
Anonymous Maarten
db96ddca34
SDL_test: use SDLCALL calling convention
...
This is needed when using a pre-built static SDL3_test library.
2024-09-06 14:19:05 +02:00
Anonymous Maarten
434193d153
testmultiaudio: initialize audio through SDL_test framework
2024-09-06 03:06:40 +02:00
Anonymous Maarten
102b3b480b
SDL_test: move argument parsing into SDL_test
2024-09-06 03:06:40 +02:00
Anonymous Maarten
09af4a8086
SDL_test: make argument parsing extendable
2024-09-06 03:06:40 +02:00
Anonymous Maarten
396dd16471
SDL_test: Remove unused common_usage_* static char pointers
2024-09-06 03:06:40 +02:00
Anonymous Maarten
872608b8af
Don't allocate in SDLTest_GenerateRunSeed
2024-09-06 03:06:40 +02:00
Anonymous Maarten
2f4b2df595
SDL_test: pass data pointer to unit tests
2024-09-06 03:06:40 +02:00
Anonymous Maarten
baa1a5e2f4
Add SDL_strpbrk
2024-09-06 01:35:43 +02:00
Anonymous Maarten
55934bc85e
include: add SDL_RESTRICT for restricted pointer aliasing
2024-09-06 01:35:43 +02:00
Anonymous Maarten
ff1e252413
testautomation: remove SDLTest_TestCaseFp casts
2024-09-04 23:54:56 +02:00
Anonymous Maarten
c11b58ead7
Increase maximum line length of SDLTest_LogAllocations
2024-09-01 02:19:39 +02:00
Anonymous Maarten
63e58e5d66
SDL_Log: always use WriteFile/WriteConsole on Windows
...
OutputDebugString and fprintf(stderr) (of mslibc) both output
to the debug window of Visual Studio.
In other debuggers (e.g. RAD), this does not happen.
To avoid double output, this commit always uses WriteFile/WriteConsole.
2024-08-31 17:48:57 +02:00
Anonymous Maarten
8ffc1c2705
SDL_Log: don't rely on printf to forward stderr to the debug stream
...
This partially reverts 125ce71379
2024-08-31 17:48:57 +02:00
Anonymous Maarten
31a5f3b833
Fix C4090: 'function': different 'const' qualifiers
2024-08-31 06:49:33 -07:00
Anonymous Maarten
c57cf716af
Document the SDL-specific custom ci commands
2024-08-31 13:16:51 +02:00
Anonymous Maarten
ea0ab2647a
SDL_test: print no procname when SDL_TRACKMEM_SYMBOL_NAMES is false
...
On ci, by default this variable is set to a false value.
By adding [sdl-ci-trackmem] to the commit message,
it will become true.
2024-08-31 13:16:51 +02:00
Anonymous Maarten
36b84e7e00
blit_testRandomToRandomSVGAMultipleIterations: avoid 250000 allocations
2024-08-31 13:16:51 +02:00
Anonymous Maarten
f5f10a8cd1
ci: increase timeout multiplier on Linux
2024-08-31 13:16:51 +02:00
Anonymous Maarten
384afa378c
SDL_test: fix proc names on older libunwind
...
Older libunwind does not have unw_get_proc_name_by_ip.
Instead, use unw_get_proc_name.
Reference: 4c00433b69
2024-08-31 13:16:51 +02:00
Anonymous Maarten
9ca8a6e50b
ci: install libunwind for printing traces of leaks
2024-08-31 13:16:51 +02:00
Anonymous Maarten
a724aae728
ci: build xcode project targeting macos
2024-08-31 11:45:39 +02:00
Anonymous Maarten
ec85d2f74f
sdlprocdump: fix minidump filename
2024-08-30 14:18:03 +02:00
Anonymous Maarten
88fe52df7b
SDL_test: add --gpu option
2024-08-30 13:43:38 +02:00
Anonymous Maarten
8ce2074d08
cmake: fix SDL_RENDER_GPU report at end of configuration
2024-08-30 13:35:13 +02:00
Anonymous Maarten
d6ad28a4cb
Dynamically generate __main__.py of Android aar package
2024-08-29 13:57:29 +02:00
Anonymous Maarten
a5866809bb
cmake: also test ARM neon on non-gcc compilers
2024-08-29 12:38:56 +02:00
Anonymous Maarten
38815c22cd
cmake: build uclibc as a static library
2024-08-24 05:21:02 +03:00
Anonymous Maarten
8bcfdb0c92
cmake: fix SDL3-x.y.z.jar installation on Windows
2024-08-23 03:20:39 +02:00
Anonymous Maarten
c298d2024a
Include SDL_build_config.h without a 'build_config/' prefix
2024-08-23 00:51:35 +00:00
Anonymous Maarten
702abfe7d5
cmake: only build uclibc when building without external libc
2024-08-23 00:40:19 +00:00
Anonymous Maarten
46903e61e6
Fix typo in the Android archive's INSTALL.md documentation
2024-08-22 18:11:28 +02:00
Anonymous Maarten
2b8ebf08d1
The SDL3 MSVC SDK does not provide ARM64EC binaries
...
(X64 is compatible)
2024-08-22 18:10:48 +02:00
Anonymous Maarten
46d9066a69
Fix warnings shown when making SDL_bool a typedef of bool
2024-08-22 16:03:39 +00:00
Anonymous Maarten
9eac3a434e
ctest/emscripten: make audio and video driver configurable
2024-08-21 20:14:55 +02:00
Anonymous Maarten
1f89e05dcf
testautomation: skip window resize and repositioning tests on Emscripten
2024-08-20 16:04:58 +00:00
Anonymous Maarten
430f448ea1
testautomation: skip timerTestCallback on Emscripten
...
Timer callbacks on Emscripten require a main event loop
2024-08-20 16:04:58 +00:00
Anonymous Maarten
937c41eb1c
testautomation/mouse: add SDLTest_AssertPass before SDL_DestroyCursor's
2024-08-20 16:04:58 +00:00
Anonymous Maarten
08661166e9
ci: verify SDL_REVISION
2024-08-20 16:04:58 +00:00
Anonymous Maarten
161761653f
test: use Selenium to run Emscripten tests
2024-08-20 16:04:58 +00:00
Anonymous Maarten
46bafda7ab
testshader: add -sLEGACY_GL_EMULATION for emscripten
2024-08-20 16:04:58 +00:00
Anonymous Maarten
6052136ced
tests/emscripten: add link-time dependency on the resources
2024-08-20 16:04:58 +00:00
Anonymous Maarten
5415909f2d
docs/emscripten: --embed-file does not accept a '='
2024-08-20 16:04:58 +00:00
Anonymous Maarten
2eaf73d9e0
Errors on non-threaded platforms are limited to 128 bytes
2024-08-20 16:04:58 +00:00
Anonymous Maarten
29ca5b5dcd
SDLTest_CompareMemory: print header
2024-08-20 16:04:58 +00:00
Anonymous Maarten
c66a09ce26
Make main_testSetError test more verbose
2024-08-20 16:04:58 +00:00
Anonymous Maarten
c054435f37
Add verbose logging to TestVirtualJoystick
2024-08-20 16:04:58 +00:00
Anonymous Maarten
50f50df8b1
tests: add --no-threads argument to disable threads
...
This is useful for Emscripten that can be built without threads support
2024-08-20 16:04:58 +00:00
Anonymous Maarten
3fccb77da6
test: map URL to other directories
...
This allows to 'mount' the SDL source directory on http://localhost:8080/SDL .
This is useful for debugging emscripten applications in the browser.
Build SDL with "-gsource-map -ffile-prefix-map=/path/to/SDL:/SDL" to
configure the URL where the source code must be available.
2024-08-20 16:04:58 +00:00