Simon McVittie
cd7c2f1de7
Switch versioning scheme to be the same as GLib and Flatpak
...
For stable releases, this gives us the ability to make bugfix-only point
releases such as 2.24.1 if we want to, and distinguish between them
programmatically. For example, this ability could have been useful after
2.0.16 to fix Xwayland regressions, and after 2.0.18 to fix event loop
regressions.
For development releases, this gives us the ability to make multiple
prereleases during the same feature cycle, and distinguish between them
programmatically. For example, this would have been useful during 2.0.22
development, which went through three prereleases before reaching the
final release.
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-05-04 09:55:35 -07:00
Sam Lantinga
e551384a99
Added functions to get the platform dependent name for a joystick or game controller
2022-04-26 14:54:14 -07:00
Eddy Jansson
8c1584e8e8
WhatsNew: Start block for 2.0.24
2022-04-26 09:21:40 -07:00
Eddy Jansson
5d4a1f8356
WhatsNew.txt: Add SDL_FRectEqualsEpsilon()
2022-04-20 08:38:53 -07:00
Simon McVittie
c36bd78474
WhatsNew.txt: Document new dependency on libwayland-client 1.18.0
...
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-04-13 10:14:29 -04:00
Ethan Lee
46616af722
WhatsNew.txt: Added SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR
2022-04-12 11:53:40 -04:00
Sam Lantinga
a256e6ba7f
Updated the patch notes with API changes for 2.0.22
2022-04-08 18:10:56 -07:00
Sam Lantinga
18032979d8
Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram mice show up as joysticks
...
This hint defaults off, but when it is enabled the mice will have a game controller mapping set up for Profile 3 (set in the Armoury Crate software)
2022-02-15 13:07:51 -08:00
Sam Lantinga
9f1e609aa0
Document SDL_HINT_RENDER_LINE_METHOD in the release notes
2022-01-08 12:42:36 -08:00
Sam Lantinga
9294634840
Updated to version 2.0.20 for release
2022-01-07 18:29:40 -08:00
Cameron Gutman
b7a0200aab
Update 2.0.18 release notes with CMake prefix change
2021-12-03 09:35:47 -08:00
Sam Lantinga
2e9821423a
Aded a patch note for relative mouse mode over RDP
2021-11-29 20:20:07 -08:00
Sam Lantinga
aa1d76e829
Added a patch note about WinRT/UWP WGI support
2021-11-27 10:55:54 -08:00
Sam Lantinga
b6c1cfb93a
Added API changes in 2.0.18
2021-11-26 09:37:27 -08:00
Sam Lantinga
c97b721868
Added SDL_PremultiplyAlpha() to premultiply alpha on a block of SDL_PIXELFORMAT_ARGB8888 pixels
2021-11-21 12:18:10 -08:00
Sam Lantinga
66058bbbd5
Fixed exception accessing Bluetooth devices on Android 12
...
Since accessing Bluetooth prompts the user for permission on both Android and iOS, and we only need it for Steam Controller support, we'll leave it off by default. You can enable it by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init()
Fixes https://github.com/libsdl-org/SDL/issues/4952
2021-11-15 16:52:56 -08:00
Sam Lantinga
1c78b08007
Added support for /dev/input/js* on Linux
...
Added the hint SDL_HINT_LINUX_JOYSTICK_CLASSIC to control whether /dev/input/js* or /dev/input/event* are used as joystick devices
Added the hint SDL_HINT_JOYSTICK_DEVICE to allow the user to specify devices t
hat will be opened in addition to the normal joystick detection
Fixes https://github.com/libsdl-org/SDL/issues/1314
Fixes https://github.com/libsdl-org/SDL/issues/1727
Fixes https://github.com/libsdl-org/SDL/issues/1981
Closes https://github.com/libsdl-org/SDL/pull/4727
2021-11-10 20:02:25 -08:00
Sam Lantinga
dca5ce4ea3
Clarified that AAudio is only used on Android 8.1 and newer
2021-11-10 10:15:47 -08:00
Sam Lantinga
19c129faba
Added documentation that the UIApplicationSupportsIndirectInputEvents key must be set to true
...
in your application's Info.plist in order to get real Bluetooth mouse events.
2021-11-09 20:32:16 -08:00
Sam Lantinga
6810399352
Enable AAUDIO driver for Android
...
I thought this was already enabled for 2.0.16, but apparently not.
Fixes https://github.com/libsdl-org/SDL/issues/3710
2021-08-10 14:50:43 -07:00
Cameron Gutman
f5bc58bf57
Add note about keyboard grab to WhatsNew.txt for 2.0.16
2021-08-04 09:03:28 -07:00
Sam Lantinga
d784dd20b6
Updated WhatsNew with major changes for 2.0.16
2021-07-31 17:53:07 -07:00
Sam Lantinga
d3d2aee7f4
Fixed the name of the PS5 hint
2020-12-09 10:39:36 -08:00
Sam Lantinga
a2098a47b6
Updated SDL to 2.0.14 in preparation for release candidate
2020-12-08 18:56:06 -08:00
Sam Lantinga
f00ddd0a38
Updated WhatsNew.txt with SDL 2.0.12 release notes
2020-03-02 11:39:44 -08:00
Sylvain Becker
1ae61f1009
Added a helper function SDL_LockTextureToSurface()
...
Similar to SDL_LockTexture(), except the locked area is exposed as a SDL surface.
2019-09-30 20:58:44 +02:00
Sam Lantinga
972bdfb47f
Made it more explicit that 2.0.10 and newer are required for the SDL_RW* functions
2019-07-01 09:05:15 -07:00
Sam Lantinga
60606dfb31
Documented that the SDL_RW* macros no longer exist, and you can't use an older SDL library if you build with SDL 2.0.10.
2019-07-01 09:02:04 -07:00
Sam Lantinga
63506ae195
Added a patch note about batched rendering
2019-06-18 08:35:31 -07:00
Sam Lantinga
e89789bb4b
Added patch notes for 2.0.10
2019-06-18 07:55:30 -07:00
Sylvain Becker
05333a6e9f
Android: add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE
...
to set whether the event loop will block itself when the app is paused.
2019-04-05 09:16:30 +02:00
Sylvain Becker
b470cd9b09
Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour
2019-04-05 08:36:31 +02:00
Sylvain Becker
6f732d4ee8
Update WhatsNew.txt
2019-04-04 20:24:22 +02:00
Sylvain Becker
458c60e6a4
Update WhatsNew.txt
2019-04-04 20:10:55 +02:00
Sam Lantinga
91da4963d3
Added patch note for SDL_GameControllerGetPlayerIndex() and friends
2018-10-26 09:49:27 -07:00
Sam Lantinga
88f9f0307d
Added patch notes for SDL 2.0.9
2018-09-27 23:54:40 -07:00
Sam Lantinga
a8ac588549
Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened
2018-03-07 13:30:40 -08:00
Sam Lantinga
e9fc66a038
Added patch note for Android Studio support
2018-03-01 08:26:10 -08:00
Sam Lantinga
eac3766698
Added a patch note for OpenGL ES support on Mac
2018-03-01 08:08:20 -08:00
Sam Lantinga
99683f7c04
Added patch note about the Vulkan Mac SDK
2018-02-26 08:39:25 -08:00
Sam Lantinga
cbfee82dff
Moved Android patch note into the Android section
2018-02-24 09:09:20 -08:00
Sam Lantinga
8e4afb556a
Added patch note for Ryan's work
2018-02-24 08:42:04 -08:00
Sam Lantinga
5adc1b7d3e
Updated documentation with API changes in SDL 2.0.8
2018-02-24 08:18:09 -08:00
Sam Lantinga
baae74c857
Added SDL_WinRTGetDeviceFamily() to find out what type of device your application is running on (thanks Daniel Knobe!)
2017-12-10 09:10:02 -08:00
Sam Lantinga
2c5724ef5d
Updated version to 2.0.8 since SDL_image depends on it
2017-11-04 21:58:48 -07:00
Sam Lantinga
7a6cf53aea
Added SDL_AudioStreamFlush() to the list of new audio stream functions
2017-10-20 10:45:38 -07:00
Sam Lantinga
80f8464d97
Added audio stream conversion functions:
...
SDL_NewAudioStream
SDL_AudioStreamPut
SDL_AudioStreamGet
SDL_AudioStreamAvailable
SDL_AudioStreamClear
SDL_FreeAudioStream
2017-10-18 15:54:05 -07:00
Sam Lantinga
9c580e14c9
Added functions to query and set the SDL memory allocation functions:
...
SDL_GetMemoryFunctions()
SDL_SetMemoryFunctions()
SDL_GetNumAllocations()
2017-10-12 13:44:28 -07:00
Sam Lantinga
0e495e83dd
Updated WhatsNew.txt for 2.0.7 changes
2017-10-10 20:16:52 -07:00
Sam Lantinga
c08a7a74a5
Added a hint SDL_HINT_AUDIO_CATEGORY to control the audio category,
...
determining whether the phone mute switch affects the audio
2017-09-15 17:27:32 -07:00