Anonymous Maarten
|
f2a277414f
|
raspberry: SDL_DisplayMode's w/h members have been renamed to screen_w/screen_h
Found by running the coccinelle script on SDL's source tree.
|
2023-02-24 06:55:28 -08:00 |
|
Anonymous Maarten
|
f1202fccdc
|
cmake: create SDL3::SDL3-shared for VC and Xcode devel package
|
2023-02-20 00:43:53 +01:00 |
|
Anonymous Maarten
|
213fbd01c5
|
SDL_endian.h: improve doxygen documentation
|
2023-02-19 10:01:33 -08:00 |
|
Anonymous Maarten
|
549cedfa88
|
include: add \brief to includes
|
2023-02-19 10:01:33 -08:00 |
|
Anonymous Maarten
|
0625695898
|
docs: Fix doxyfile
|
2023-02-19 10:01:33 -08:00 |
|
Anonymous Maarten
|
efdc92802f
|
Fix -Wunused-function warning when configuring with -DSDL_X11_XINPUT2=OFF
|
2023-02-19 09:59:12 -08:00 |
|
Anonymous Maarten
|
0e2866f846
|
Fix -Wunused-variable warning when configuring with -DSDL_X11_XRANDR=OFF
|
2023-02-19 09:59:12 -08:00 |
|
Anonymous Maarten
|
cfadb4c106
|
Fix -Wunused-variable warning when configuring with -DSDL_X11_XSHAPE=OFF
|
2023-02-19 09:59:12 -08:00 |
|
Anonymous Maarten
|
18f38bef03
|
Remove include/SDL3/SDL_name.h
|
2023-02-18 12:33:54 -08:00 |
|
Anonymous Maarten
|
dc138ee3d4
|
cmake: SDL3-shared target will always be a shared target
|
2023-02-17 23:42:03 +01:00 |
|
Anonymous Maarten
|
6ae1578691
|
ci: cache PVR_PSP2 and gl4es4vita
|
2023-02-17 21:29:22 +01:00 |
|
Anonymous Maarten
|
d3b7308ee7
|
ci: install pkg-config on Macos runner
|
2023-02-16 13:59:23 -08:00 |
|
Anonymous Maarten
|
4d8a50912b
|
cmake: no shared SDL libraries for riscos
|
2023-02-16 13:59:23 -08:00 |
|
Anonymous Maarten
|
e203046a5c
|
cmake+ci: build shared and static libraries on ci
|
2023-02-16 13:59:23 -08:00 |
|
Anonymous Maarten
|
236d26b480
|
cmake: add -F <SDL3-framework-parent-folder> compile option in CMakeLists.txt
|
2023-02-13 05:26:57 +01:00 |
|
Anonymous Maarten
|
d0b39890d2
|
cmake: include_guard() is not needed
|
2023-02-13 04:55:46 +01:00 |
|
Anonymous Maarten
|
ff82341ce9
|
cmake: allow find_package from build directory (requires CMake 3.26)
|
2023-02-09 17:20:28 -08:00 |
|
Anonymous Maarten
|
b8adf90aa3
|
cmake: check again for unknown documentation commands
|
2023-02-09 17:20:28 -08:00 |
|
Anonymous Maarten
|
cc0fa00049
|
cmake: include directories of (generated) dependencies as SYSTEM
|
2023-02-09 17:20:28 -08:00 |
|
Anonymous Maarten
|
d6fdb842b0
|
include: add comment documenting the change(s) to SDL_opengl_glext.h
|
2023-02-04 02:44:10 +01:00 |
|
Anonymous Maarten
|
93fc72a405
|
opengl: make SDL_opengl_glext.h's include compatible with macos
- Mesa defines __gl_glext_h_
- Apple defines __glext_h_
|
2023-02-03 20:58:05 +01:00 |
|
Anonymous Maarten
|
d8f0715385
|
Revert "Remove unused SDL_GetCPUName"
This reverts commit 4e6ab13d6f.
|
2023-02-02 00:49:09 +01:00 |
|
Anonymous Maarten
|
78be9eaf38
|
Revert "Add testcpuinfo.c"
This reverts commit 5888b008b1.
|
2023-02-02 00:49:09 +01:00 |
|
Anonymous Maarten
|
69aede6c9e
|
Add missing _ in SDL_EVENT_LOCALECHANGED and SSDL_EVENT_TEXTEDITING_EXT
|
2023-02-02 00:49:09 +01:00 |
|
Anonymous Maarten
|
08bcee8570
|
test: don't use wiki urls for documentation comments
Also make consistent use of \ as documentation escape character.
|
2023-02-02 00:49:09 +01:00 |
|
Anonymous Maarten
|
bff449eb24
|
testcpuinfo.c needs SDL3/SDL_main.h
|
2023-02-01 23:49:27 +01:00 |
|
Anonymous Maarten
|
5888b008b1
|
Add testcpuinfo.c
|
2023-02-01 23:34:37 +01:00 |
|
Anonymous Maarten
|
4e6ab13d6f
|
Remove unused SDL_GetCPUName
|
2023-02-01 23:17:15 +01:00 |
|
Anonymous Maarten
|
048df6260c
|
Remove disabled self test main functions in src/SDL_error.c
|
2023-02-01 20:14:48 +01:00 |
|
Anonymous Maarten
|
4af93990a9
|
Remove disabled self test main functions
|
2023-02-01 20:13:34 +01:00 |
|
Anonymous Maarten
|
e73151f544
|
ci: don't upload test directory for ps2 workflow separately
|
2023-02-01 20:04:47 +01:00 |
|
Anonymous Maarten
|
2afee88c81
|
ci+haiku: ignore return code of sv force-restart
|
2023-02-01 19:43:11 +01:00 |
|
Anonymous Maarten
|
0a3d038ff7
|
cmake: fix installed SDL3::SDL3_test + test on ci
|
2023-01-31 05:29:38 +01:00 |
|
Anonymous Maarten
|
72f40cb1f5
|
ci: restart VM after installing haiku dependencies
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
25b723cc82
|
cmake: detect Emscripten architecture as emscripten
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
53d434fd24
|
cmake: add CPack support for creating binary archives
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
64c97906c9
|
ci: fail CMake configuration on warning
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
23c2c15a70
|
cmake: capitalize SDL3::Headers target
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
d45f0a0566
|
ci: upload artifacts for main workflow
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
32e7921f98
|
cmake: by default, link tests to SDL3.dll on Windows
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
13c294eec3
|
cmake: add support for creating Apple frameworks with CMake
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
93c25e650c
|
cmake: create SDL3::headers for include path + no exported CMake variables
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
5690dfb65b
|
cmake: don't install Android.mk files for Android
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
09e2f83e17
|
cmake: no more SDL3_* cache variables
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
19d162281c
|
cmake: detect cpu architecture in SDL_DetectCPUArchitecture
Stop looking for arch, when one is found
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
9cf34908a1
|
cmake: pass VERSION to project() + don't use SDL_VERSION
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
3aa456dead
|
cmake: remove MSCOS_RPATH related FIXME
The Macos CI does not show any warnings, so assume it's fixed
|
2023-01-31 01:59:21 +01:00 |
|
Anonymous Maarten
|
758c0dd6d8
|
Rename mouse BUTTON(DOWN|UP) event to BUTTON_(DOWN|UP)
|
2023-01-29 19:24:48 -08:00 |
|
Anonymous Maarten
|
4ec3a5ac27
|
cmake: only add <LANG>_VISIBILITY_PRESET properties when compiler supports -fvisibility=
|
2023-01-25 22:27:47 +01:00 |
|
Anonymous Maarten
|
330ad80014
|
cocci: fix game pad event types
|
2023-01-25 22:02:31 +01:00 |
|
Anonymous Maarten
|
ecffa93f39
|
ci: test vita piglet/pvr gles support
ci: configure gl4es4vita
ci: test gles on pib AND pvr
|
2023-01-25 00:23:05 +01:00 |
|
Anonymous Maarten
|
edf8db0466
|
cmake: removed unused code
|
2023-01-25 00:23:05 +01:00 |
|
Anonymous Maarten
|
5f995579e9
|
vita: add missing static libraries for using gles with pib
|
2023-01-25 00:23:05 +01:00 |
|
Anonymous Maarten
|
bb3a60bce5
|
cmake: move include(sdlfind.cmake) to main cmake script
|
2023-01-25 00:23:05 +01:00 |
|
Anonymous Maarten
|
3e3debf9de
|
vita: allow GLES support without GL support
|
2023-01-25 00:23:05 +01:00 |
|
Anonymous Maarten
|
3cb819ac48
|
vita: fix PVR_PSP2 (GLES) + gl4es4fita (GL)
|
2023-01-25 00:23:05 +01:00 |
|
Anonymous Maarten
|
ec3234ea21
|
editorconfig: trim trailing spaces from yml's
|
2023-01-25 00:23:05 +01:00 |
|
Anonymous Maarten
|
0770c55e8d
|
cocci: remove SDL_INIT_NOPARACHUTE
|
2023-01-22 20:14:35 +01:00 |
|
Anonymous Maarten
|
967ebd78e6
|
cocci: also fix up SDL_CreateRenderer calls with non-default render indices
|
2023-01-22 20:04:40 +01:00 |
|
Anonymous Maarten
|
6d11515873
|
cmake: make sdl3.pc relocatable
|
2023-01-15 12:37:51 -08:00 |
|
Anonymous Maarten
|
0a1479d58c
|
cmake: fix sdl3.pc for Nintendo 3DS + add to test matrix
|
2023-01-15 17:46:36 +01:00 |
|
Anonymous Maarten
|
fc72ee5775
|
haiku: cast pointer to SDL_FunctionPointer
|
2023-01-14 15:25:22 +01:00 |
|
Anonymous Maarten
|
0785f272fd
|
Add type argument to non-dynamic LOAD_LIBUSB_SYMBOL macro
It should not need a cast.
|
2023-01-13 19:31:18 +01:00 |
|
Anonymous Maarten
|
a3ae26ddd0
|
cmake: convert spaces in PTHREAD_CFLAGS to ';'
|
2023-01-13 19:02:54 +01:00 |
|
Anonymous Maarten
|
3d67b8d026
|
cmake: convert spaces in USB_CFLAGS to ';'
|
2023-01-13 18:40:49 +01:00 |
|
Anonymous Maarten
|
b60084eb0b
|
cmake: don't quote INOTIFY_INCLUDE_DIRS
|
2023-01-13 18:33:51 +01:00 |
|
Anonymous Maarten
|
1e8443f54e
|
cmake: only use $<COMPILE_LANGUAGE:OBJC> when CMAKE_OBJC_COMPILER is defined
|
2023-01-12 21:12:54 +01:00 |
|
Anonymous Maarten
|
67d517907b
|
log: fix unused-variable warning when configuring SDL with -DSDL_LIBC=OFF
|
2023-01-11 16:31:27 -08:00 |
|
Anonymous Maarten
|
c4b471bd13
|
Ensure training new line in cocci files
|
2023-01-10 16:43:15 +01:00 |
|
Anonymous Maarten
|
ecc48b882d
|
migration: change 2nd arg of SDL_CreateRenderer to NULL if it was -1
|
2023-01-10 16:11:22 +01:00 |
|
Anonymous Maarten
|
9597c482fa
|
ci: add haiku to ci matrix
|
2023-01-10 02:39:09 +01:00 |
|
Anonymous Maarten
|
a486d0e2b2
|
ci: rename *.yaml -> *.yaml
|
2023-01-10 02:39:09 +01:00 |
|
Anonymous Maarten
|
049e6ff408
|
cmake: haiku uses CXX code, so enable it in C-only project
|
2023-01-10 02:39:09 +01:00 |
|
Anonymous Maarten
|
837416ef85
|
cmake: command-line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++
|
2023-01-10 02:39:09 +01:00 |
|
Anonymous Maarten
|
aa7fdd6624
|
haiku: remove unused variable in SDL_BApp.h
|
2023-01-10 02:39:09 +01:00 |
|
Anonymous Maarten
|
0ab99ffb2a
|
cmake: add SDL_TESTS_TIMEOUT_MULTIPLIER to account for slower machines
|
2023-01-10 02:39:09 +01:00 |
|
Anonymous Maarten
|
f85ef6fc3c
|
haiku: fix use of SDL_ConvertSurfaceFormat
|
2023-01-10 02:39:09 +01:00 |
|
Anonymous Maarten
|
62297e7da5
|
cmake: avoid string(SUBSTRING) on short strings
CMake 3.1 and older throws an error when the input string is too short
|
2023-01-09 15:44:50 +01:00 |
|
Anonymous Maarten
|
f91a747549
|
include: SDL_dynapi.h depends on platform defines
|
2023-01-08 21:37:54 +01:00 |
|
Anonymous Maarten
|
61f76efb85
|
cmake: do all compile tests with -D_GNU_SOURCE=1
|
2023-01-08 19:07:58 +01:00 |
|
Anonymous Maarten
|
f53d797cca
|
cmake: generate git hash using GetRevisionDescription CMake module
This allows the build system (ninja/make/VS) to detect whether the current
checkout git commit has changed. If so, SDL_revision.h will be updated.
|
2023-01-08 18:20:56 +01:00 |
|
Anonymous Maarten
|
c8286fc9a2
|
testevdev: cannot test evdev capabilities without linux input
Configure with "-DSDL_LIBC=OFF" to get this configuration.
|
2023-01-08 07:29:40 -08:00 |
|
Anonymous Maarten
|
1d60030e84
|
cmake: add -Wformat when checking -Wformat-extra-args
The need for -Wformat when using -Wformat-extra-args was observed for
the msys2 mingw64 gcc toolchain.
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
e85e11b211
|
cmake: avoid adding full path to SDL_EXTRA_LIBS
This avoids placing e.g. -l/path/to/libX11.so in sdl3.pc when configuring with -DSDL_X11_SHARED=OFF
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
dfcd8d5835
|
cmake: remove unused function 'listtostrrev'
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
77025417dd
|
cmake: add SDL_ prefix to EXTRA_LIBS/EXTRA_LDFLAGS
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
bffbfa572c
|
cmake: rename SDL_STATIC_LIBS -> SDL_PC_STATIC_LIBS
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
2f1860cfc6
|
cmake: add sdl-shared-build-options target to collect SDL shared library flags
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
0003559adf
|
cmake: handle macos current and compatibility version through VERSION/SOVERSION properties
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
053c37583c
|
cmake: avoid modifying CMAKE_C_FLAGS
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
8fc445c730
|
cmake: SDL3 does not need -lmingw32 anymore because SDL_main has gone
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
562a8209d8
|
cmake: HAVE_LINUX_VERSION_H is unused
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
5555284a70
|
cmake: use target_compile_options to use -idirafter for khronos headers
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
4d9ee735fd
|
cmake: SIZEOF_VOIDP, LIBNAME and LIBTYPE are not used
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
0a4420e02f
|
cmake: rename cmake variables to include _PC_ as they are meant for pkgconfig file
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
373a6464c8
|
cmake: collect cflags in sdl-build-options and sdl-global-options
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
fb80608fff
|
cmake: use cmake <LANG>_VISIBILITY_PRESET property to pass -fvisibility=hidden
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
87af5cfc9f
|
cmake: HAVE_GCC_PREFERRED_STACK_BOUNDARY is not used anymore
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
d73b9fec1e
|
cmake: target_compile_definitions does not need -D prefix
|
2023-01-08 15:57:51 +01:00 |
|
Anonymous Maarten
|
ec14487e1d
|
unix/SDL_systimer.c: add ';' to statement
|
2023-01-08 01:04:06 +01:00 |
|