|
b6e7c743
|
2022-08-25T20:21:03
|
|
SDL_cpuinfo: define __ARM_ARCH=8 for _M_ARM64
Microsoft's compiler doesn't define __ARM_ARCH, but we have several
places that use it.
|
|
d2300516
|
2022-09-07T06:49:02
|
|
cocoa: set sRGB colorspace on nswindow
This makes the colorspace match across different graphics APIs. By
default, OpenGL was getting a much more saturated colorspace (maybe
Display P3?) and it was looking very different from the rendering done
by Metal or MoltenVK.
|
|
019e9d4c
|
2022-08-25T23:15:58
|
|
SDL_cocoavideo.m: add missing SDL_cocoaopengles.h include
|
|
dd72f3f0
|
2022-10-24T10:37:43
|
|
Added comment for #endif
|
|
3d35c085
|
2022-10-02T17:30:03
|
|
fix a few 'unused but set variable' and 'unused function' warnings
|
|
f4d1f5ed
|
2022-10-23T16:35:36
|
|
SDL-HIDPS4: fix PS4 Slim controller over BT - it sends the same input report as the it does over USB, but with a larger packet size
CR: saml
|
|
5bd13dec
|
2022-10-23T16:35:22
|
|
Merge commit '8db3a33872cfbefcdfb059beea92338a7873f89e' into main
|
|
e6742d05
|
2022-10-23T16:35:20
|
|
Merge commit '413500ab69d9ac288a73946073d4414376ca17d2' into main
|
|
5373ad6f
|
2022-10-23T16:35:18
|
|
Merge commit '2ebaafa6c9334071b664b15d045656250690dd96' into main
|
|
7acab504
|
2022-10-23T16:35:15
|
|
Merge commit 'c3b13346e0a2200f1521cf064b9a602c8196e6a6' into main
|
|
f07673a1
|
2022-10-23T16:35:13
|
|
Merge commit 'd4d99e8c29da350379c991a8360d544d2c9eaa32' into main
|
|
d41fb3c4
|
2022-10-23T16:35:11
|
|
Merge commit 'cfd5d8eb29c8958de3333632a96032d3481816e5' into main
|
|
9c7b9e08
|
2022-10-23T16:35:09
|
|
Merge commit '4ca5ea5b7e8333b2cde1b7cdddf167c67cc3f23c' into main
|
|
86963509
|
2022-10-23T16:35:07
|
|
Merge commit '2dc788cb9ffa83a2840e62f5ad2d0a7055cfcb19' into main
|
|
e45ef5a6
|
2022-10-23T16:35:05
|
|
Merge commit '5b8f830e342b296d255969bbaec5a1a3522f1083' into main
|
|
491d5949
|
2022-10-23T16:35:03
|
|
Merge commit '0e1d19cf680fc51635b3c52a9afa33fe03881bb5' into main
|
|
26c9620a
|
2022-10-23T16:35:01
|
|
Merge commit 'a905a7869f18332579ff06ba3f7f3777708a3007' into main
|
|
e738cf80
|
2022-10-23T16:34:59
|
|
Merge commit '65a38a4015e54add093bdb3fbd2ad1cdc1770c72' into main
|
|
da4c9725
|
2022-10-23T16:34:57
|
|
Merge commit '3f1b5efccaa727745b335b546a42bd650694ca08' into main
|
|
b3ba8f40
|
2022-10-23T16:34:55
|
|
Merge commit '3d415bc5d61e625189ccca6348ff1b70c469e45c' into main
|
|
2d3e21ab
|
2022-10-23T16:34:52
|
|
Merge commit 'f37db957f8c5d9de53bdd58b2a95a2da0937307d' into main
|
|
8047ece1
|
2022-10-23T16:34:50
|
|
Merge commit '5ed091c12d4edefb366d78217b72cb75b563bfcd' into main
|
|
ef62b767
|
2022-10-23T16:34:48
|
|
Merge commit '0823b5973a28ebad2ca6d34058c12602bc8a69f0' into main
|
|
e5fe5221
|
2022-10-23T16:34:46
|
|
Merge commit '4264c0b67469896fced5ba8ac4c0e75acbb13ff1' into main
|
|
57a98aa5
|
2022-10-23T16:34:44
|
|
Merge commit '96361fc476a9f0a91ac021133bb44e6d97b16f11' into main
|
|
b5712c1b
|
2022-10-23T16:34:42
|
|
Merge commit '11d53c84a7663d5a5861f3672990ca4b32376e3e' into main
|
|
0d5fb2a0
|
2022-10-23T16:34:40
|
|
Merge commit '94ac8ae08b19210efedd0e73b0c60010fb9308a0' into main
|
|
be3dc1ac
|
2022-10-23T16:34:38
|
|
Merge commit 'c6e89619794ed6307f9efb0b242a2cdb605e1dc3' into main
|
|
3bc84ace
|
2022-10-23T16:34:36
|
|
Merge commit 'd542f43b2aa23966913c08e4973793150e8073d0' into main
|
|
f20c2759
|
2022-10-23T16:34:34
|
|
Merge commit 'f28cf2b0d3fa6b4b9c692b0aa04f2875a09e0dfa' into main
|
|
284df27b
|
2022-10-23T16:34:32
|
|
Merge commit 'e7ab581d796aa83f7d028ea4249fdc66600df173' into main
|
|
8db3a338
|
2022-10-23T15:45:20
|
|
#6433 Fix WINRT_IsScreenKeyboardShown on Xbox
|
|
413500ab
|
2022-10-22T09:37:34
|
|
Replaced mouseWheelGesture with GCMouse support on iOS (thanks @russelltg!)
Fixes https://github.com/libsdl-org/SDL/issues/6411
|
|
2ebaafa6
|
2022-10-18T21:02:49
|
|
Use translationInView for mouse wheel event
|
|
c3b13346
|
2022-10-21T18:32:53
|
|
On x86, pass -nodefaultlib to linker when wanting to avoid the C library
|
|
d4d99e8c
|
2022-10-21T12:19:59
|
|
workflows: Check we can screen-scrape the SDL_REVISION from Linux builds
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
cfd5d8eb
|
2022-10-20T20:38:57
|
|
build: Regenerate ./configure
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
4ca5ea5b
|
2022-10-20T20:02:21
|
|
build: Add a mechanism to mark builds with vendor info
Downstream distributors can use this to mark a version with their
preferred version information, like a Linux distribution package version
or the Steam revision it was built to be bundled into, or just to mark
it with the vendor it was built by or the environment it's intended to
be used in.
For instance, in Debian I'd use this by configuring with:
--enable-vendor-info="${DEB_VENDOR} ${DEB_VERSION}"
to get a SDL_REVISION like:
release-2.24.1-0-ga1d1946dc (Debian 2.24.1+dfsg-2)
which gives a Debian user enough information to track down the patches
and build-time configuration that were used for package revision 2.
In Autotools and CMake, this is a configure-time option like any other,
and will go into both SDL_REVISION (via SDL_revision.h) and
SDL_GetRevision().
In other build systems (MSVC, Xcode, etc.), defining the
SDL_VENDOR_INFO macro will get it into the output of SDL_GetRevision(),
although not SDL_REVISION.
Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
2dc788cb
|
2022-10-20T19:54:24
|
|
build: Expand version info in SDL_REVISION and SDL_GetRevision()
Instead of using a URL and git sha1, this uses `git describe` to
describe the version relative to the nearest previous git tag, which
gives a better indication of whether this is a release, a prerelease,
a slightly patched prerelease, or a long way after the last release
during active development.
This serves two purposes: it makes those APIs more informative, and it
also puts this information into the binary in a form that is easy to
screen-scrape using strings(1). For instance, if the bundled version of
SDL in a game has this, we can see at a glance what version it is.
It's also shorter than using the web address of the origin git
repository and the full git commit sha1.
Also write the computed version into a file ./VERSION in `make dist`
tarballs, so that when we build from a tarball on a system that doesn't
have git available, we still get the version details.
For the Perforce code path in showrev.sh, output the version number
followed by the Perforce revision, in a format reminiscent of
`git describe` (with p instead of g to indicate Perforce).
For the code path with no VCS available at all, put a suffix on the
version number to indicate that this is just a guess (we can't know
whether this SDL version is actually a git snapshot or has been
patched locally or similar).
Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
5b8f830e
|
2022-10-22T09:24:28
|
|
Virtual joysticks don't need initial axis jitter protection
Fixes https://github.com/libsdl-org/SDL/issues/6426
|
|
0e1d19cf
|
2022-10-22T18:56:40
|
|
fix build errors resulting from -Wmisleading-indentation
|
|
a905a786
|
2022-10-22T08:50:18
|
|
Clear the previous bitmap when calculating a new window shape
Fixes https://github.com/libsdl-org/SDL/issues/6428
|
|
65a38a40
|
2022-10-22T14:28:10
|
|
hidapi, libusb: remove os/2 symbol load hack after os/2 loadso updates
|
|
3f1b5efc
|
2022-10-22T14:28:10
|
|
os2 loadso improvements:
- SDL_LoadObject: upon failure, strip the .dll extension and retry,
but only if module name has no path.
- SDL_LoadFunction: upon failure, retry with an underscore prepended,
e.g. for gcc-built dlls.
|
|
3d415bc5
|
2022-10-22T11:56:56
|
|
loadso, dlsym, SDL_LoadFunction: cleanup the underscored name path.
- strlcpy was passed a wrong buffer length parameter. has worked so
far by luck.
- use memcpy instead of strlcpy for simplicity.
- 'append' has been a typo: should be 'prepend'.
|
|
f37db957
|
2022-10-21T04:49:15
|
|
Use -lpthread on OpenBSD
|
|
5ed091c1
|
2022-10-21T15:32:05
|
|
cmake: fix reporting of SDL_TESTS
|
|
0823b597
|
2022-10-21T15:31:43
|
|
cmake: fix finding wayland-libdecor
It was broken in 11d53c84a7663d5a5861f3672990ca4b32376e3e
|
|
4264c0b6
|
2022-10-21T11:21:40
|
|
os2: fix error message for SDL_LoadObject()
|
|
96361fc4
|
2022-10-04T21:17:10
|
|
cmake: create and install sdl2.pc for MSVC & WATCOM
|
|
11d53c84
|
2022-10-20T01:11:39
|
|
cmake: use pkg-config's library dirs as hint for finding a shared library
|
|
94ac8ae0
|
2022-10-20T13:29:35
|
|
cmake: else() does not need an argument
|
|
c6e89619
|
2022-10-19T08:05:47
|
|
Define _USE_MATH_DEFINES for Visual Studio (thanks @pionere!)
Fixes https://github.com/libsdl-org/SDL/issues/3790
|
|
d542f43b
|
2022-10-19T16:03:43
|
|
cmake: add SDL_INSTALL_CMAKEDIR cache variable to override location of cmake config files
|
|
f28cf2b0
|
2022-10-19T02:28:36
|
|
Also remove the OpenBSD comment about OSS
|
|
e7ab581d
|
2022-10-19T09:14:16
|
|
coreaudio: Dispose of AudioQueue before waiting on the thread.
Otherwise the thread might block for a long time (more than 10 seconds!).
It's not clear to me why this happens, or why its safe to do this with a
resource that's still in use, but we have, until recently, always
disposed of the AudioQueue first, so changing back is probably okay.
Also changed the disposal to allow in-flight buffers to reach hardware;
otherwise you lose the last little bit of audio that's already been queued
but not played, which you can hear clearly in the loopwave test program.
Fixes #6377.
|
|
5b6d36fd
|
2022-10-18T09:21:53
|
|
Merge commit 'aefc6b5bb57cd3aadc6964e26f2caac1d1c5f624' into main
|
|
764e7c4f
|
2022-10-18T09:21:51
|
|
Merge commit '965ba1e09712fc57968d87c1cf60c541529fbd20' into main
|
|
8b6f7265
|
2022-10-18T09:21:48
|
|
Merge commit 'dfbb93dd0c4bcdea2a3edc0e3cb0f5dae153d16e' into main
|
|
86695af4
|
2022-10-18T09:21:46
|
|
Merge commit 'e8a4c23ce560dad786922e8d51496da2687e1723' into main
|
|
8f7577d7
|
2022-10-18T09:21:44
|
|
Merge commit '790fa3156cfee847a7c0b34986de0cd7fdd7438f' into main
|
|
ac68c34f
|
2022-10-18T09:21:42
|
|
Merge commit '3ec4c9b3b9a29f17482ad2e130d6b14d79c5cb97' into main
|
|
66226f65
|
2022-10-18T09:21:40
|
|
Merge commit '3d99d31026bb69e208ac82c30c67e62ca1333141' into main
|
|
aefc6b5b
|
2022-10-18T08:40:03
|
|
Renamed variables, index is the singular of indices
|
|
965ba1e0
|
2022-10-18T19:03:19
|
|
fix SDL_SendEditingText when long composition text is enabled and strlen(text) == SDL_TEXTEDITINGEVENT_TEXT_SIZE
|
|
dfbb93dd
|
2022-10-18T11:31:30
|
|
SDL_Renderer / GLES2: add specific list of indice to render rect (see #6401)
|
|
e8a4c23c
|
2022-10-18T10:45:01
|
|
Revert commit 790fa3156cfee847a7c0b34986de0cd7fdd7438f.
SDL_BLENDMODE_INVALID case is probably used for custom blendmode
|
|
790fa315
|
2022-10-18T10:41:10
|
|
Fix warning: enumeration value 'SDL_BLENDMODE_INVALID' not explicitly handled in switch
|
|
3ec4c9b3
|
2022-10-18T10:37:22
|
|
Merge remote-tracking branch 'refs/remotes/origin/main'
|
|
3d99d310
|
2022-10-18T10:34:56
|
|
Fixed bug #6401 - back-end can choose the order the triangles when rendering rects, attempt to fix small glitch rendering.
|
|
428b5ae5
|
2022-10-18T10:34:51
|
|
PSP: Reorder extra imports
|
|
285cbf6f
|
2022-10-18T10:04:06
|
|
Revert commit 485bb3565b6da24620e4eedde837fbfbc5cee6d2.
"Fixed bug #6401 - change the order of triangles when using RenderCopy, RenderCopyEx and RenderFillRect"
because the glitch reappears on other backend
|
|
0bc852ce
|
2022-10-17T17:43:06
|
|
Revert "Disable the RAWINPUT joystick driver by default"
Disabling RAWINPUT on Windows 10 causes these issues:
* All Xbox controllers are named "XInput Controller".
* Trigger rumble no longer works.
* "XInput Controllers" are now also listed as separate haptic devices
|
|
7e108816
|
2022-10-18T01:07:54
|
|
Fixed command modifier on macOS
|
|
cdf312c8
|
2022-10-18T00:48:55
|
|
Fixed mouse warp after resizing window on macOS.
|
|
7c7cd2a6
|
2022-10-17T14:04:29
|
|
Fix issue #6037 (incorrect modifier flags on Wayland)
|
|
3903f4c8
|
2022-10-17T21:59:38
|
|
PSP: Use vramalloc instead of conflicting valloc function
The libpspvram library was offering a function with conflicted with valloc. This has been renamed now, so SDL2 had to be updated for it.
|
|
333935ff
|
2022-10-17T11:10:53
|
|
Make sure we completely unlock joysticks when opening HIDAPI devices
Also lock the joysticks when adding and removing Android joysticks
|
|
47ba997f
|
2022-10-17T07:39:52
|
|
Disable the RAWINPUT joystick driver by default
It's only needed to support more than 4 Xbox controllers, and adds significant complexity to the joystick processing, and we regularly get bugs from people who aren't using an SDL window who need to turn on SDL_HINT_JOYSTICK_THREAD.
|
|
5025f240
|
2022-10-17T07:32:44
|
|
Don't use RAWINPUT joystick driver on Windows XP
Fixes https://github.com/libsdl-org/SDL/issues/6400
|
|
f4e3af15
|
2022-10-17T07:23:40
|
|
Simplify OSS test by removing OpenBSD specific location of the soundcard.h header
OpenBSD has long since stopped using OSS. Remove checking for OpenBSD specific header.
|
|
485bb356
|
2022-10-17T13:30:30
|
|
Fixed bug #6401 - change the order of triangles when using RenderCopy, RenderCopyEx and RenderFillRect
|
|
70dfd6dd
|
2022-10-16T09:05:13
|
|
Added mapping for Xbox Series X controller
Fixes https://github.com/libsdl-org/SDL/issues/6296
|
|
ed412c13
|
2022-10-15T14:05:35
|
|
wayland: Cleanup event source comments, headers, and error reporting
Replace instances of fprintf(stderr, ...) with SDL_SetError(), replace C++ comments with C style, use a uniform format for multi-line comments, and remove unused headers as poll and select aren't used in this file (the SDL function which calls them is used instead).
|
|
22461383
|
2022-10-15T15:54:12
|
|
SDL_audiocvt: Respct the SDL_HINT_AUDIO_RESAMPLING_MODE hint
This implements using libsamplerate for the SDL_AudioCVT API.
This library was already being used for audio streams when this hint is
set.
|
|
e8fdb861
|
2022-10-15T10:02:39
|
|
Removed redundant masking when loading the IMU calibration
|
|
a6573f94
|
2022-10-16T00:23:25
|
|
Fix bugs in IMU calibration loading for Nintendo Controllers
|
|
62047686
|
2022-10-13T16:24:13
|
|
wayland: Don't block on libdecor_dispatch()
libdecor_dispatch() needs to be called, as libdecor plugins might do some required internal processing within, however care must be taken to avoid double-blocking in the case of a timeout, which can occur if libdecor_dispatch() and the SDL event processing both work on the main Wayland queue. Additionally, assumptions that libdecor will always dispatch the main queue or not process zero-length queues (can occur if a wait is interrupted by the application queueing an event) should not be made, as this behavior is outside the control of SDL and can change.
SDL handles polling for Wayland events and then calls libdecor to do its internal processing and dispatch. If libdecor operates on the main queue, it will dispatch the queued events and the additional wl_display_dispatch_pending() call will be a NOP. If a libdecor plugin uses its own, separate queue, then the wl_display_dispatch_pending() call will ensure that the main queue is always dispatched.
|
|
e89389ba
|
2022-10-14T20:41:10
|
|
wayland: Use MAP_PRIVATE when mapping the keyboard keymap file descriptor
Per the Wayland spec, this must be mapped with MAP_PRIVATE in version 7 of the protocol and higher.
|
|
5129a077
|
2022-10-14T14:35:52
|
|
Steam Controller support defaults off, as documented in SDL_hints.h
|
|
6af17369
|
2022-10-14T10:36:24
|
|
Added mapping for Qanba Drone on Linux without HIDAPI
|
|
93b71967
|
2022-10-14T10:32:03
|
|
Only update the battery level if we're on Bluetooth
Fixes battery level dropping to empty with the Qanba Drone Arcade Stick.
It looks like we might also be able to skip the check for all third party controllers, but I think this is the right thing to do for Sony controllers as well.
|
|
120a957d
|
2022-10-14T09:57:02
|
|
Added support for the Qanba Drone Arcade Stick
|
|
6bb0c2a5
|
2022-10-14T06:33:38
|
|
Added documentation for some scancodes
|
|
91ff8845
|
2022-10-13T23:56:17
|
|
Disable "The key you just pressed is not recognized by SDL." message by default
|
|
13919214
|
2022-10-13T23:23:55
|
|
Fixed reported cases of "Keyboard layout unknown" messages
In all cases they were using SDL_SCANCODE_TABLE_XFREE86_2 with some keycodes remapped or fewer than expected keycodes. This adds a sanity check that catches all of them and gives them the right scancode table.
|
|
2c192385
|
2022-10-13T22:50:57
|
|
Don't remove entries from an existing scancode keymap
If we can't find the X11 keysym, it's likely that either the keysym is NoSymbol, in which case we won't hit it anyway, or it's been mapped to a character, in which case the existing mapping is correct for the scancode and the character will be reflected in the keycode mapping.
|
|
99f2a503
|
2022-10-13T22:40:24
|
|
X11 scancode mapping cleanup
* Consolidated scancode mapping tables into a single location for all backends
* Verified that the xfree86_scancode_table2 is largely identical to the Linux scancode table
* Updated the Linux scancode table with the latest kernel keycodes (still unmapped)
* Route X11 keysym -> scancode mapping through the linux scancode table (which a few hand-written exceptions), which will allow mappings to automatically get picked up as they are added in the Linux scancode table
* Disabled verbose reporting of missing keysym mappings, we have enough data for now
|
|
f5afb7d1
|
2022-10-13T18:44:15
|
|
directfb: Fix return type of DirectFB_RenderPresent()
|
|
fc73386f
|
2022-10-12T21:44:50
|
|
Fixed the mapping from raw joystick values to the expected [SDL_JOYSTICK_AXIS_MIN, SDL_JOYSTICK_AXIS_MAX] range. (thanks Tas!)
The original code mapped incorrectly from [min, max] to [-32768, 32512], the upper bound being SDL_JOYSTICK_AXIS_MAX - 255 instead of SDL_JOYSTICK_AXIS_MAX.
|