|
30cf26e0
|
2022-06-06T06:48:54
|
|
Show the firmware version in testgamecontroller
|
|
5f25a6ea
|
2022-06-06T09:36:20
|
|
Revert "SDL_SetHintWithPriority: better test if hint value has changed."
Actually, the original test was fine, disregard.
This reverts commit c391bdc1607de896a0f0b577e2b4a57e5f5740b7.
|
|
c391bdc1
|
2022-06-06T09:31:35
|
|
SDL_SetHintWithPriority: better test if hint value has changed.
|
|
55a07d91
|
2022-06-06T09:30:43
|
|
SDL_SetHintWithPriority: Allow setting NULL hints.
Fixes #5120.
|
|
a236bf4f
|
2022-06-06T02:13:37
|
|
x11: Hook up display hotplug notifications.
Obviously this needs XRandR support.
Fixes #4977.
|
|
6b4bd5a7
|
2022-06-05T09:34:12
|
|
test_harness: Report if zero tests to run.
Fixes static analysis complain about a potential malloc(0) call.
|
|
46624b4e
|
2022-06-05T06:53:15
|
|
Removed two distracting gcc-11 warnings
|
|
3807e950
|
2022-06-05T00:24:04
|
|
Sync wiki -> header
|
|
3a20274d
|
2022-06-04T20:16:28
|
|
Refactoring: move GUID operations out of Joystick
- SDL_JoystickGUID -> SDL_GUID (though we retain a type alias)
- Operations for GUID <-> String ops are now in
src/SDL_guid.c and include/SDL_guid.h
- The corresponding Joystick operations delegate to SDL_guid.c
- Added test/testguid.c
|
|
4e07d472
|
2022-06-04T13:03:51
|
|
Build warning fixes for gcc-11.3
|
|
b359282a
|
2022-06-04T12:58:00
|
|
regenerated configure script
|
|
20c76599
|
2022-06-04T03:11:23
|
|
Fix MinGW SDK redist: sdl2-config.cmake needs to set SDL2_FOUND
|
|
fd3f3810
|
2022-06-04T03:16:27
|
|
Initialize SDL_STATIC_PIC from CMAKE_POSITION_INDEPENDENT_CODE
|
|
65a3453b
|
2022-05-26T16:02:15
|
|
build: Compile with large inode number support where possible
On filesystems with large inode numbers, such as overlayfs, attempting
to stat() a file on a 32-bit system using legacy syscalls can fail
with EOVERFLOW. If we opt-in to more modern "large file support"
syscalls, then source code references to functions like stat() are
transparently replaced with ABIs that support large file sizes and
inode numbers, such as stat64().
This cannot safely be done globally by Linux distributions, because
some libraries expose types like `off_t` or `struct stat` in their
ABI, meaning that enabling large file support would be an incompatible
change that would cause crashes. However, SDL appears to be careful to
avoid these types in header files, so it should be OK to enable this.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
3604ae1d
|
2022-06-04T01:52:04
|
|
Sync wiki -> header
|
|
423141bf
|
2022-06-03T18:49:41
|
|
Added a function to get the controller firmware version
|
|
d6143ab3
|
2022-06-03T23:53:05
|
|
Add -Wl,-Bstatic to "sdl2-config --static-libs" output
|
|
799d39a3
|
2022-06-03T23:08:22
|
|
Make the sdl2-config script relocatable
|
|
142a3630
|
2022-06-04T01:10:00
|
|
updated watcom makefiles after 17410887d05495c328d5cf8c2dd28cb2bafafa9b
|
|
17410887
|
2022-06-03T15:02:31
|
|
Separated controller type data into a C file
|
|
2b59cb90
|
2022-06-03T12:51:00
|
|
Added mingw package support directory to the distribution archive
|
|
f858d130
|
2022-06-03T19:24:20
|
|
ci: test installed packages using CMake
|
|
96e3733a
|
2022-06-03T20:13:57
|
|
cmake: make Xcode's sdl2-config.cmake compatible with the one from autotools
|
|
5a8ccf45
|
2022-06-03T20:13:38
|
|
cmake: make VisualC's sdl2-config.cmake compatible with the one from autotools
|
|
5ec2d46f
|
2022-06-03T20:12:52
|
|
cmake: make SDL2Config.cmake compatible with autotools' sdl2-config.cmake
|
|
9ff8f29f
|
2022-06-03T20:07:43
|
|
cmake: Add mini-SDL2 CMake project to test SDL2 prefixes
|
|
67792767
|
2022-06-03T20:06:09
|
|
cmake: Add CMake configuration files, meant for the prebuilt MinGW SDK
|
|
246f3ba5
|
2022-06-03T19:57:21
|
|
cmake: rewrite autotools' sdl2-config.cmake.in with IMPORTED targets + no more -lmingw32
|
|
6f3474db
|
2022-06-03T19:58:25
|
|
autotools: export relative path of an installed sdl2-config.cmake to the prefix root
|
|
8e13cc30
|
2022-05-30T00:46:00
|
|
cmake: add 'compatible interface properties' to allow enforcing SDL2 sharedness
|
|
1087eaad
|
2022-05-27T01:40:11
|
|
cmake: install SDL2::SDL2test when configuring with SDL2_TEST enabled
|
|
ae2cc29f
|
2022-06-03T09:44:34
|
|
Make sure initial state is set correctly for the D3D renderer
Fixes https://github.com/libsdl-org/SDL/issues/5749
|
|
345efdcb
|
2022-06-03T08:46:08
|
|
Wait for all the threads to actually finish before exiting
Fixes https://github.com/libsdl-org/SDL/issues/5748
|
|
847539af
|
2022-06-01T23:06:19
|
|
wayland: Only call libdecor_dispatch() if we've loaded libdecor
As of #5703, we call libdecor_dispatch() in Wayland_WaitEventTimeout(),
but this will crash if we don't load libdecor, as
SDL_VideoData::shell.libdecor will be NULL.
Since we don't load libdecor if we don't intend to use it (i.e., if
should_use_libdecor returns false), this results in a crash under KDE in
almost all circumstances.
|
|
7fa46ec4
|
2022-05-31T11:11:19
|
|
The Google Pixel fingerprint sensor also shows up on Linux when running on the phone
|
|
3c3c0251
|
2022-05-30T00:39:53
|
|
Add Compatible Interface Properties to VisualC and Xcode SDL2 config file
|
|
4809bd35
|
2022-05-30T00:36:33
|
|
Add documentation to autotoo'ls sdl2-config-version.cmake.in
|
|
774c5017
|
2022-05-28T11:52:23
|
|
Add CMake section to the Xcode ReadMe.txt
|
|
423c7ef8
|
2022-05-27T14:47:39
|
|
Don't set SDL2_LIBRARY, we need the Framework configuration on Apple platforms
|
|
37ef6a76
|
2022-05-27T14:46:49
|
|
Use a full path for the framework header include path
|
|
f73c2564
|
2022-05-27T22:17:12
|
|
cmake: attempt to use framework in Xcode's sdl2-config.cmake
|
|
4c3d1d32
|
2022-05-27T11:52:16
|
|
Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake
|
|
7c2a6ea5
|
2022-05-26T18:31:31
|
|
Removed 64-bit check for Apple
We build the SDL framework for macOS, iOS, and tvOS, including 32-bit and 64-bit architectures. Since this file will actually be included in the framework you're linking, it should be fine to use.
|
|
e30b9993
|
2022-05-26T18:31:06
|
|
Fixed warning about location of CMake support files
|
|
01492a24
|
2022-05-26T18:30:15
|
|
Added CMake package support files to the SDL framework
|
|
2c591e40
|
2022-05-26T16:26:54
|
|
Add CMake configuration files, meant for Macos framework
|
|
8ac8230b
|
2022-05-25T23:57:26
|
|
Add CMake configuration files, meant for VC devel package
|
|
964e979d
|
2022-05-30T16:17:04
|
|
hidapi: Allow disabling libusb support at runtime
|
|
c87b0142
|
2022-05-30T12:02:08
|
|
Fixed building with C89 compiler
|
|
4ddf85b1
|
2022-05-30T14:31:05
|
|
Sync wiki -> header
|
|
f78f7752
|
2022-05-28T03:53:43
|
|
ime: windows: allocate space for null terminator
|
|
fd2a2eea
|
2022-05-28T07:49:18
|
|
Fixed declaration-after-statement warning
|
|
d2c4d74d
|
2022-05-27T15:49:35
|
|
Fixed build with MinGW-64 windows.devices.power.h
The MinGW-64 header defines the parameters as ABI::Windows::Foundation::IReference<INT32 > **, but the Windows header defines the parameters as __FIReference_1_int**
|
|
bd22ca76
|
2022-05-27T15:40:50
|
|
Revert "Workaround for compiling with MinGW-w64"
This reverts commit efdf43aa9b4f4d623ffba01f503d9793d5021330.
The broken mingw headers aren't in an official release yet, so reporting this upstream.
|
|
efdf43aa
|
2022-05-27T15:34:45
|
|
Workaround for compiling with MinGW-w64
Fixes bug https://github.com/libsdl-org/SDL/issues/5589
|
|
001d2e2f
|
2022-05-27T15:29:21
|
|
Disable formatting not supported by Visual Studio 2019
|
|
c02cd203
|
2022-05-27T15:16:02
|
|
Revert "Disable formatting not supported by Visual Studio 2019"
This reverts commit 26a75add31c219f0a9368b474b8a0691b937a465.
It turns out Visual Studio doesn't support a lot of the formatting used here.
|
|
26a75add
|
2022-05-27T15:15:14
|
|
Disable formatting not supported by Visual Studio 2019
|
|
bef9f2b2
|
2022-05-26T20:45:13
|
|
Don't trigger device notifications when Steam Deck backlight changes
|
|
5968f3d8
|
2022-05-26T10:44:01
|
|
gen_audio_resampler_filter.c: Precalculate loop-invariant bessel(beta).
Minor optimization in offline code.
|
|
822cf0b3
|
2022-05-26T01:33:32
|
|
updated config.guess from mainstream.
|
|
6eda520f
|
2022-05-25T21:40:28
|
|
riscos: Add a basic implementation of SDL_ShowCursor()
|
|
347659e8
|
2022-05-25T22:07:12
|
|
riscos: Ensure that last_mouse_buttons is initialised correctly
|
|
cb43eb43
|
2022-05-25T21:43:36
|
|
riscos: Ensure the mouse focus is set when creating the window
|
|
4c711d2d
|
2022-05-25T22:12:25
|
|
testcustomcursor: Allow running without custom or system cursors
|
|
22d6e09a
|
2022-05-25T11:04:58
|
|
Don't try to call hid_ble_scan() if HIDAPI is disabled
Fixes https://github.com/libsdl-org/SDL/issues/5699
|
|
195ca499
|
2022-05-25T10:46:06
|
|
include/SDL_video.h: You can google it.
This looks bad when reading Markdown as plain text, as one would do when
reading the headers directly.
|
|
7ce311be
|
2022-05-25T10:43:14
|
|
include/SDL_system.h: Fixed a link that was still hg.libsdl.org
|
|
bed96482
|
2022-05-25T10:42:11
|
|
wikiheaders.pl: Deal with links better.
|
|
96a04cb9
|
2022-05-25T09:30:29
|
|
wikiheaders.pl: Don't wordwrap truly massive words.
Usually, these are going to be URLs that you don't want to split
across lines.
|
|
b28d304b
|
2022-05-24T17:24:03
|
|
Only include controller_type.h in SDL_joystick.c
It has a huge array of controllers and we only want it instantiated once
|
|
a8e75487
|
2022-05-24T22:57:04
|
|
Sync wiki -> header
|
|
9220f92b
|
2022-05-25T01:01:02
|
|
hidapi/libusb/hid.c (read_thread): mark as SDLCALL
|
|
17976556
|
2022-05-24T18:26:05
|
|
Sync wiki -> header
|
|
5dee0821
|
2022-05-24T20:00:02
|
|
updates to windows watcom makefile:
- use 'OPTIONS RESOURCE' linker directive, instead of playing tricks on
the built dll.
- build libm sources as a static library and link the dll to with, like
the os/2 makefile does.
- remove *.res with make clean.
|
|
412ceb84
|
2022-05-24T16:27:54
|
|
video: Only check major version in SDL_GetWindowWMInfo
Since #5602, SDL is intended to have the same ABI across the whole
major-version 2 cycle, so we should not check that the minor version
matches the one that was used to compile an application.
There are two checks that could make sense here.
The first check is that the major version matches the expected major
version. This is usually unnecessary and is not usually done (if we're
calling into the wrong library we'll likely crash anyway), but since we
have the information, we might as well continue to use it.
The second check is whether the version provided by the caller is
equal to or greater than a threshold version at which additional fields
were added to the struct. If it is, we should populate those fields;
if it is not, then we cannot. This is only useful on platforms where
additional fields have genuinely been added during the lifetime of
SDL 2, like Windows and DirectFB (but not X11).
This commit changes the first check to be consistent about only looking
at the minor version, while leaving the second check using SDL_VERSIONNUM
(which will be removed or widened in SDL 3, but it's fine for now).
Resolves: https://github.com/libsdl-org/SDL/issues/5711
Fixes: cd7c2f1 "Switch versioning scheme to be the same as GLib and Flatpak"
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
aeeccb5d
|
2022-05-23T00:24:40
|
|
CI, OpenWatcom: remove workaround now that setup-watcom is fixed.
|
|
d5e58049
|
2022-05-22T10:51:21
|
|
Don't specify a specific SDK when building for UWP
Instead use the latest version installed
|
|
12cc636c
|
2022-05-21T23:33:31
|
|
Make sdl2-config prefixes configurable again
The installation prefix ended up being hard-coded into the
`sdl2-config` script after the placeholders were accidentally removed
in 6956f4aa1982b66b234026b46f7bb2dd44c67894.
|
|
6da6a6cb
|
2022-05-21T13:51:21
|
|
Make sure Objective C files are built with the same flags as C files.
Fixes https://github.com/libsdl-org/SDL/issues/5707
|
|
e97b5062
|
2022-05-21T10:06:05
|
|
Need SDL_stdinc.h for _SDL_HAS_BUILTIN
|
|
626a3c5e
|
2022-05-21T09:58:39
|
|
Use _SDL_HAS_BUILTIN() instead of __has_builtin
|
|
f4fc4719
|
2022-05-09T18:35:50
|
|
fix CheckCOCOA on modern CMake
Modern CMake doesn't need "LANGUAGE C" for Objective-C
set_source_files_properties(${COCOA_SOURCES} PROPERTIES LANGUAGE C) should be removed fro video/cocoa/*.m as well otherwise project won't compile
see also https://github.com/libsdl-org/SDL/commit/d3cc5764c0f66872a6b87c0ffbca66c85dccbea3
|
|
1f48f8cd
|
2022-05-21T17:47:32
|
|
SDL_TriggerBreakPoint update using builtin instead of assembly versions if available
|
|
fe46569c
|
2022-05-21T10:44:50
|
|
Fix potential memory leak in SDL_AddHintCallback
|
|
e4b5afa5
|
2022-05-21T13:16:12
|
|
fix unused variable depending on YUV format
|
|
e59cba95
|
2022-05-21T13:50:56
|
|
add libdecor_dispatch
|
|
1a1cc802
|
2022-05-21T16:15:24
|
|
Use a tagged version of OpenWatcom in CI builds
|
|
dc62fec5
|
2022-05-20T21:07:25
|
|
audio: Fix locking in backends that manage their own callback threads.
Otherwise you might get a race where an app pauses the device, but
the audio callback still manages to run after the pause is in place.
|
|
a95f5a79
|
2022-05-20T19:43:02
|
|
test: Use install(1) more portably
I had assumed that only Linux users would be interested in GNOME-style
installed-tests, but in principle there's no reason why they can't be
used on non-Linux.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
848d2008
|
2022-05-20T21:10:56
|
|
test/Makefile.w32: fix minor typo
|
|
b1cf3229
|
2022-05-19T16:49:47
|
|
Fixed HIDAPI PS4 controller being picked up when running under Steam
Input with PS4 configuration enabled
|
|
83ae1b49
|
2022-05-19T23:11:22
|
|
Convert the test executables to AIF in RISC OS CMake builds
|
|
d2b59658
|
2022-05-19T22:54:23
|
|
Remove extra path separator in GetNearbyFilename
|
|
9edd411a
|
2022-05-19T17:15:10
|
|
x11: send move/resize events when waiting on fullscreen change.
Otherwise we ignore the Configure/etc events when they come in because
the window is already in an identical state as far as SDL is concerned.
Fixes #5593.
May also fix:
Issue #5572.
Issue #5595.
|
|
b798e49c
|
2022-05-19T21:44:38
|
|
Fix build warning with MSVC
|
|
b0a27cb1
|
2022-05-19T19:45:24
|
|
Avoid unintended float -> double conversion in SDL_FRectEqualsEpsilon
Resolves: https://github.com/libsdl-org/SDL/issues/5691
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
f0566702
|
2022-05-19T16:58:11
|
|
Fix enabling SDL_DYNAMIC_API in OpenWatcom builds
|
|
3d52d049
|
2022-05-19T15:38:35
|
|
Remove the '_' prefix from symbol names in Windows OpenWatcom builds
|
|
aa51a979
|
2022-05-19T13:14:29
|
|
Run tests with OpenWatcom on CI
|