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
Anonymous Maarten
4ac5d4506b
testcamera: always render current texture
2024-08-15 09:20:34 -04:00
Anonymous Maarten
612b41c451
camera: use cdevice SDL_Event union member
2024-08-15 09:20:34 -04:00
Anonymous Maarten
f95027e3d7
sdlprocdump: skip parsed arguments
2024-08-15 12:17:52 +02:00
Anonymous Maarten
01c42f1399
testautomation: test palettization using SDL_ConvertSurfaceAndColorspace
2024-08-13 10:56:09 +02:00
Anonymous Maarten
b9ad5fc589
ci: build tvOs/iOs CMake project
2024-08-12 06:44:35 +02:00
Anonymous Maarten
dc67a51782
sdlprocdump: fix clang -Wincompatible-pointer-types warning
2024-08-11 21:23:57 +02:00
Anonymous Maarten
35b61f70da
sdlprocdump: add option to print debug stream
2024-08-11 21:00:08 +02:00
Anonymous Maarten
00b59c96f1
Fix /W3 warnings in examples
2024-08-08 10:11:39 +00:00
Anonymous Maarten
8714de9f46
SDL_GetAudioStreamAvailable and SDL_GetAudioStreamAvailable return error codes
2024-08-08 10:11:39 +00:00
Anonymous Maarten
6e6c2b8e7d
cmake: build SDL with /W3 on MSVC
...
The Visual Studio projects also did this.
2024-08-08 10:11:39 +00:00
Anonymous Maarten
5cd6923298
Assert a valid window pointer instead of dismissing an invalid pointer
...
Throwing an assertion and breaking the program should allow developers
to catch wrong usage of the API faster.
Follow-up of 9493e6974f
2024-08-08 10:11:39 +00:00
Anonymous Maarten
125ce71379
SDL_Log: avoid sending text to the debug stream twice
...
When debugging a GUI application in Visual Studio,
text printed with fprintf(stderr) will also be sent to the debug stream.
When buiding SDL with SDL_LIBC=ON, this patch makes logging skip
OutputDebugString and rely on fprintf(stderr) to send the text to
the debugger.
2024-08-08 10:11:39 +00:00
Anonymous Maarten
7b97fd3b44
SDLDropTarget_Drop: use SDL_strlen instead of strlen
2024-08-07 11:50:22 +02:00
Anonymous Maarten
27bb5bcef6
sdlprocdump: fix stacktrace
2024-08-07 06:51:35 +02:00
Anonymous Maarten
e631fdfbd2
gdk: show dialog when xgameruntime.dll is not installed
2024-08-05 09:18:21 +00:00
Anonymous Maarten
7dfb9acb71
VisualC: add testdialog project
2024-08-05 00:07:15 +02:00
Anonymous Maarten
90757fba5d
Remove bscmake reference
...
Although BSCMAKE is still installed with Visual Studio,
it is no longer used by the IDE.
Since Visual Studio 2008, browse and symbol information is stored
automatically in a SQL Server .sdf file in the solution folder.
2024-08-04 22:16:25 +02:00
Anonymous Maarten
4b3a80bb73
msbuild: add TreatWarningAsError property, and enable it on ci
2024-08-04 21:23:25 +02:00
Anonymous Maarten
31b3f5ea79
ci: add GDK
2024-08-04 13:07:32 +00:00
Anonymous Maarten
f57c597c60
Added SDL_GetWindowFromEvent
2024-08-03 02:37:11 +00:00
Anonymous Maarten
68fb07787b
cmake: Remove HAVE_D3D12_H from sources and introduce SDL_RENDER_D3D(11|12)
2024-08-01 17:49:02 +00:00
Anonymous Maarten
0c5bb532c3
Remove support for building a SDL3 library from gradle
2024-08-01 17:48:49 +00:00
Anonymous Maarten
349540f73f
Document the new SDL3 Android archive artifact
2024-08-01 17:48:49 +00:00
Anonymous Maarten
a1c6f99877
android: add script in Android archive to create a SDK
...
Also,
- Move mingw's pkg-support into build-scripts
- Add type annotations to python scripts for mypy
- ci: use v4 tag of actions/cache
- cmake: use PYTHON3_EXECUTABLE for running xxd.py
(Python3::Interpreter is not always recognized.)
2024-08-01 05:07:08 +02:00
Anonymous Maarten
b68ac011e0
ctest: fail if there are outstanding allocations
2024-07-30 20:56:19 +00:00
Anonymous Maarten
c7a1876536
SDL_test: use mutex based on SDL_AtomicInt in memory tracking
...
SDL_Mutex or SDL_SpinLock cannot be used as these use SDL_malloc internally.
ff
2024-07-30 20:56:19 +00:00
Anonymous Maarten
4c00433b69
SDL_test: format tracked allocation names during report generation
2024-07-30 20:56:19 +00:00
Anonymous Maarten
bc8f4a1d0b
ci: fix artifacts on libsdl-org repo
2024-07-30 22:55:36 +02:00
Anonymous Maarten
1ef3263ad4
ci: only upload artifacts in libsdl-org GitHub organization
2024-07-30 22:53:14 +02:00
Anonymous Maarten
446c05a001
ci: update actions descriptions + fix loongarch64 action
...
[sdl-ci-filter *loongarch64*]
2024-07-29 13:53:27 +02:00
Anonymous Maarten
44f1f81d6c
ci: add vita job
2024-07-28 03:12:51 +02:00
Anonymous Maarten
12eb1f1497
ci: limit jobs by using sdl-ci-filter
...
[sdl-ci-filter msvc-*]
2024-07-27 15:19:20 +00:00
Anonymous Maarten
eae6758abe
ci: build haiku as canary
2024-07-27 15:19:20 +00:00
Anonymous Maarten
da8aa84c1d
ci: merge all workflows into one
2024-07-27 15:19:20 +00:00
Anonymous Maarten
3374e57102
stdinc: strcasecmp is declared in strings.h
2024-07-27 15:19:20 +00:00
Anonymous Maarten
76f60c4b66
riscos: fix -Wunused-variable
2024-07-27 15:19:20 +00:00
Anonymous Maarten
3bfc103e76
tests: start memory tracking first + clean up cached text textures
2024-07-27 13:44:04 +02:00
Anonymous Maarten
6f1136c6ce
testgles2: fix leaks
2024-07-27 13:06:54 +02:00
Anonymous Maarten
8a5d1fc196
cmake: add swift test
2024-07-27 08:39:55 +02:00
Anonymous Maarten
37881b3150
cmake: use genex to link with Apple Frameworks
2024-07-27 08:37:21 +02:00
Anonymous Maarten
2aad26abb0
cmake: gate all preseeding behind SDL_PRESEED option
2024-07-25 16:42:11 +00:00
Anonymous Maarten
9826f73230
cmake: fix copying of resource files on uwp
2024-07-25 16:01:57 +02:00
Anonymous Maarten
9f9ebcd40a
cmake: fix copying of example resource files on desktop, ps2 and psp
2024-07-25 14:54:20 +02:00
Anonymous Maarten
22bfbdbc02
stdinc: c23 deprecated _Static_assert in favor of static_assert
2024-07-21 21:51:55 +03:00
Anonymous Maarten
6d39c18dd3
ci: test the MSVC development archive for targeting arm64ec
2024-07-20 00:59:58 +02:00
Anonymous Maarten
476b987f1b
intrinsics: avx, avx2 and avx512f are (currently) unsupported on arm64ec
2024-07-20 00:59:58 +02:00
Anonymous Maarten
b3b74e8aed
Fix SDL3ConfigVersion.cmake of VC development package for ARM64EC
2024-07-20 00:59:58 +02:00
Anonymous Maarten
cc47969a79
cmake: actually check ARM64EC
2024-07-19 22:24:44 +02:00
Anonymous Maarten
f8c1cd6622
ci: build MSVC workflows using Ninja generator
2024-07-19 10:21:34 +00:00
Anonymous Maarten
a2a1d2de66
Add HAVE_UNSETENV to preprocessor guard
2024-07-19 10:21:34 +00:00
Anonymous Maarten
2d1d3d9fb2
cmake: fix building UWP with non-MSVC generator
2024-07-19 10:21:34 +00:00
Anonymous Maarten
ccebbb6c6e
Fix UWP build in non-UNICODE mode
2024-07-19 10:21:34 +00:00
Anonymous Maarten
c59771d7fc
cmake: detect ARM64EC
2024-07-19 10:21:34 +00:00
Anonymous Maarten
b9dcc5de60
ci: bump cross-platform-actions/action, used by the BSDs
2024-07-14 21:09:18 +02:00
Anonymous Maarten
933f2fc239
pthread: timespec.tv_nsec must be less then 1000000000 ns
2024-07-14 17:28:54 +02:00
Anonymous Maarten
c80665a696
Avoid code duplication in SDL_GetPixelFormatDetails
2024-07-14 01:20:02 +02:00
Anonymous Maarten
f13be04980
testaudio: use SDL_APP_FAILURE macro to signal failure
2024-07-13 17:06:54 +02:00
Anonymous Maarten
7277d69c0e
cmake: verify no undefined versioned symbols exist
2024-07-12 18:45:38 +02:00
Anonymous Maarten
ca36f6c43b
sdlprocdump: remove dead code
2024-07-12 18:38:03 +02:00
Anonymous Maarten
40f9fd854f
test: use SDL_HINT_(AUDIO,VIDEO)_DRIVER macro
2024-07-11 23:37:11 +02:00
Anonymous Maarten
83d4251540
hidapi: netbsd's iconv expects a 'char ** restrict src'
2024-07-11 08:12:42 -07:00
Anonymous Maarten
131108ee48
Remove references to SDL_CreatePixelFormat and SDL_DestroyPixelFormat
2024-07-11 08:12:42 -07:00
Anonymous Maarten
9ecc531970
ci: bump NetBSD and FreeBSD
2024-07-11 08:12:42 -07:00
Anonymous Maarten
b5a7b1ca89
ci: force PDB and runtime variables
2024-07-11 13:58:13 +02:00
Anonymous Maarten
628e083e02
ci: Build SDL3 with libusb support on MSVC
2024-07-10 23:42:39 +02:00
Anonymous Maarten
1664ac4fcb
hidapi: fix 'conversion from 'size_t' to 'int', possible loss of data' of libusb functions
2024-07-10 20:27:39 +02:00
Anonymous Maarten
d1eab18de2
cmake: build ci and and release with static runtime library
...
(The Visual Studio projects do this as well)
2024-07-10 19:47:27 +02:00
Anonymous Maarten
001c1b29df
cmake: remove SDL_STATIC_VCRT option
...
projects are expected to use CMAKE_MSVC_RUNTIME_LIBRARY to select the
runtime library.
With current CMake versions, this can be done with:
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=xxx
with xxx one of:
"MultiThreaded" -> -MT (static non-debug)
"MultiThreadedDLL" -> -MD (shared non-debug)
"MultiThreadeDebug" -> -MTd (static debug)
"MultiThreadedDebugDLL" -> -MDd (shared debug)
See CMake documentation for more information:
https://cmake.org/cmake/help/latest/policy/CMP0091.html
https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html
2024-07-10 18:34:34 +02:00
Anonymous Maarten
1cddc7b66e
sdlprocdump: exceptions are not handled
2024-07-08 21:30:49 +02:00
Anonymous Maarten
c4cbbca185
sdlprocdump: ignore C++ exceptions
2024-07-08 20:48:33 +02:00
Anonymous Maarten
18c9bd21b5
sdlprocdump: become C90 compatible
2024-07-07 21:18:16 +02:00
Anonymous Maarten
4d6b23b68f
mingw: use DESTDIR to change the install location of the mingw package
2024-07-07 20:35:33 +02:00
Anonymous Maarten
be43dec798
sdlprocdump: store context and exception record in minidump
2024-07-06 17:36:16 +02:00