|
36033e38
|
2023-06-10T08:54:36
|
|
Make it clear that you can't mix 2D rendering and the window surface API
Also added functions to query and destroy the window surface so you can switch between modes if you want.
See https://github.com/pygame-community/pygame-ce/issues/2190 for more details.
|
|
69644346
|
2023-05-20T11:09:36
|
|
Added the hint SDL_HINT_ENABLE_SCREEN_KEYBOARD to control whether the on-screen keyboard should be shown when text input is active
Fixes https://github.com/libsdl-org/SDL/issues/7160
|
|
264da8c1
|
2022-12-08T12:46:13
|
|
Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes
|
|
1f87e9e2
|
2022-11-17T09:00:27
|
|
Updated patch notes for 2.26 release
|
|
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
|
|
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.
|
|
c887cb02
|
2022-09-01T16:23:32
|
|
Added the hint SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED to control whether the player LED should be lit on the Nintendo Wii controllers
Also fixed the Y axes on the Wii U Pro controller, and various formatting cleanup
|
|
3cbfd75d
|
2022-08-27T18:55:55
|
|
Re-added the CRC to the joystick guid
This is now used as a crc field in the mapping rather than directly in mapping guids, for better mapping compatibility between versions of SDL.
Added SDL_GetJoystickGUIDInfo() to get device information encoded in a joystick GUID, so that mapping programs can clear the CRC from the GUID when generating mappings.
sort_controllers.py has been updated to extract the CRC from mappings created by older mapping programs and convert it into the new crc field. It will also take the CRC into account when checking for duplicate mappings.
Also regenerated the GUIDs for the PS2/PSP/Vita controller mappings, fixing https://github.com/libsdl-org/SDL/issues/6151
|
|
cf134235
|
2022-08-13T08:23:40
|
|
Removed line wrapping in patch notes
|
|
f1416ef2
|
2022-08-12T20:27:22
|
|
Updated to version 2.23.2 for release candidate
|
|
3861c557
|
2022-08-11T13:58:39
|
|
Added the hint SDL_HINT_MOUSE_RELATIVE_WARP_MOTION
This hint controls whether mouse warping generates motion events in relative mode, and defaults off.
Fixes https://github.com/libsdl-org/SDL/issues/6034
Fixes https://github.com/libsdl-org/SDL/issues/5741
|
|
b4c4dd84
|
2022-08-11T09:52:58
|
|
Added SDL_crc16() to be used in joystick GUIDs after 2.24.0
|
|
d4192850
|
2022-08-10T07:59:12
|
|
Added SDL_ResetHint() to reset a hint to the default value
Resolves question of how to clear an override hint raised by @pionere in https://github.com/libsdl-org/SDL/pull/5309
|
|
bcdef4aa
|
2022-08-03T13:07:47
|
|
Added separate hints for Nintendo Online classic controllers and Joy-Cons
This allows them to be enabled/disabled separately from Switch Pro HIDAPI support
|
|
2fa2f9ff
|
2022-07-28T19:22:27
|
|
Greatly improved Nintendo Joy-Con support using the HIDAPI driver
* Added support for mini-gamepad mode for Joy-Con controllers, matching the mapping for hid-nintendo on Linux and iOS 16
* Added the ability to merge left and right Joy-Con controllers into a single Pro-style controller
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_COMBINE_JOY_CONS to control this merging functionality
* Removed the hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS
|
|
31d38f2f
|
2022-07-26T15:14:37
|
|
WhatsNew.txt: Note that minimum macOS version is now 10.9.
|
|
8cd515c3
|
2022-07-22T20:37:28
|
|
better wording.
|
|
192ae1e3
|
2022-07-21T17:11:30
|
|
WhatsNew.txt: added line for the calling convention fixes.
|
|
a33b5449
|
2022-07-20T19:11:42
|
|
WhatsNew.txt: Added audio channel support changes
|
|
d21a18c6
|
2022-07-17T01:06:16
|
|
WhatsNew.txt: Add line for Shield HIDAPI driver
|
|
cdf9010a
|
2022-07-16T12:39:30
|
|
Added new audio features to WhatsNew.txt
|
|
cbd01874
|
2022-06-27T16:59:50
|
|
Removed the limit on the size of the SDL error message
Also added SDL_GetOriginalMemoryFunctions()
Fixes https://github.com/libsdl-org/SDL/issues/5795
|
|
269fc1bd
|
2022-06-16T12:34:35
|
|
Added more details to WhatsNew.txt
|
|
cd7c2f1d
|
2022-05-03T15:16:11
|
|
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>
|
|
e551384a
|
2022-04-26T14:54:14
|
|
Added functions to get the platform dependent name for a joystick or game controller
|
|
8c1584e8
|
2022-04-26T17:56:33
|
|
WhatsNew: Start block for 2.0.24
|
|
5d4a1f83
|
2022-04-20T05:45:35
|
|
WhatsNew.txt: Add SDL_FRectEqualsEpsilon()
|
|
c36bd784
|
2022-04-13T12:10:49
|
|
WhatsNew.txt: Document new dependency on libwayland-client 1.18.0
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
46616af7
|
2022-04-12T11:53:40
|
|
WhatsNew.txt: Added SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR
|
|
a256e6ba
|
2022-04-08T18:10:56
|
|
Updated the patch notes with API changes for 2.0.22
|
|
18032979
|
2022-02-15T13:07:51
|
|
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)
|
|
9f1e609a
|
2022-01-08T12:42:36
|
|
Document SDL_HINT_RENDER_LINE_METHOD in the release notes
|
|
92946348
|
2022-01-07T18:28:25
|
|
Updated to version 2.0.20 for release
|
|
b7a0200a
|
2021-12-03T17:02:30
|
|
Update 2.0.18 release notes with CMake prefix change
|
|
2e982142
|
2021-11-29T20:20:07
|
|
Aded a patch note for relative mouse mode over RDP
|
|
aa1d76e8
|
2021-11-27T10:55:54
|
|
Added a patch note about WinRT/UWP WGI support
|
|
b6c1cfb9
|
2021-11-26T09:37:27
|
|
Added API changes in 2.0.18
|
|
c97b7218
|
2021-11-21T12:18:10
|
|
Added SDL_PremultiplyAlpha() to premultiply alpha on a block of SDL_PIXELFORMAT_ARGB8888 pixels
|
|
66058bbb
|
2021-11-15T16:52:56
|
|
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
|
|
1c78b080
|
2021-11-10T20:02:25
|
|
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
|
|
dca5ce4e
|
2021-11-10T10:15:47
|
|
Clarified that AAudio is only used on Android 8.1 and newer
|
|
19c129fa
|
2021-11-09T20:32:16
|
|
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.
|
|
68103993
|
2021-08-10T14:50:43
|
|
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
|
|
f5bc58bf
|
2021-08-03T18:30:08
|
|
Add note about keyboard grab to WhatsNew.txt for 2.0.16
|
|
d784dd20
|
2021-07-31T17:53:07
|
|
Updated WhatsNew with major changes for 2.0.16
|
|
d3d2aee7
|
2020-12-09T10:39:36
|
|
Fixed the name of the PS5 hint
|
|
a2098a47
|
2020-12-08T18:56:06
|
|
Updated SDL to 2.0.14 in preparation for release candidate
|
|
f00ddd0a
|
2020-03-02T11:39:44
|
|
Updated WhatsNew.txt with SDL 2.0.12 release notes
|
|
1ae61f10
|
2019-09-30T20:58:44
|
|
Added a helper function SDL_LockTextureToSurface()
Similar to SDL_LockTexture(), except the locked area is exposed as a SDL surface.
|
|
972bdfb4
|
2019-07-01T09:05:15
|
|
Made it more explicit that 2.0.10 and newer are required for the SDL_RW* functions
|
|
60606dfb
|
2019-07-01T09:02:04
|
|
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.
|
|
63506ae1
|
2019-06-18T08:35:31
|
|
Added a patch note about batched rendering
|
|
e89789bb
|
2019-06-18T07:55:30
|
|
Added patch notes for 2.0.10
|
|
05333a6e
|
2019-04-05T09:16:30
|
|
Android: add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE
to set whether the event loop will block itself when the app is paused.
|
|
b470cd9b
|
2019-04-05T08:36:31
|
|
Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour
|
|
6f732d4e
|
2019-04-04T20:24:22
|
|
Update WhatsNew.txt
|
|
458c60e6
|
2019-04-04T20:10:55
|
|
Update WhatsNew.txt
|
|
91da4963
|
2018-10-26T09:49:27
|
|
Added patch note for SDL_GameControllerGetPlayerIndex() and friends
|
|
88f9f030
|
2018-09-27T23:54:40
|
|
Added patch notes for SDL 2.0.9
|
|
a8ac5885
|
2018-03-07T13:30:40
|
|
Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened
|
|
e9fc66a0
|
2018-03-01T08:26:10
|
|
Added patch note for Android Studio support
|
|
eac37666
|
2018-03-01T08:08:20
|
|
Added a patch note for OpenGL ES support on Mac
|
|
99683f7c
|
2018-02-26T08:39:25
|
|
Added patch note about the Vulkan Mac SDK
|
|
cbfee82d
|
2018-02-24T09:09:20
|
|
Moved Android patch note into the Android section
|
|
8e4afb55
|
2018-02-24T08:42:04
|
|
Added patch note for Ryan's work
|
|
5adc1b7d
|
2018-02-24T08:18:09
|
|
Updated documentation with API changes in SDL 2.0.8
|
|
baae74c8
|
2017-12-10T09:10:02
|
|
Added SDL_WinRTGetDeviceFamily() to find out what type of device your application is running on (thanks Daniel Knobe!)
|
|
2c5724ef
|
2017-11-04T21:58:48
|
|
Updated version to 2.0.8 since SDL_image depends on it
|
|
7a6cf53a
|
2017-10-20T10:45:38
|
|
Added SDL_AudioStreamFlush() to the list of new audio stream functions
|
|
80f8464d
|
2017-10-18T15:54:05
|
|
Added audio stream conversion functions:
SDL_NewAudioStream
SDL_AudioStreamPut
SDL_AudioStreamGet
SDL_AudioStreamAvailable
SDL_AudioStreamClear
SDL_FreeAudioStream
|
|
9c580e14
|
2017-10-12T13:44:28
|
|
Added functions to query and set the SDL memory allocation functions:
SDL_GetMemoryFunctions()
SDL_SetMemoryFunctions()
SDL_GetNumAllocations()
|
|
0e495e83
|
2017-10-10T20:16:52
|
|
Updated WhatsNew.txt for 2.0.7 changes
|
|
c08a7a74
|
2017-09-15T17:27:32
|
|
Added a hint SDL_HINT_AUDIO_CATEGORY to control the audio category,
determining whether the phone mute switch affects the audio
|
|
3261ca75
|
2017-09-04T23:10:12
|
|
Fixed typos in 2.0.6 patch notes
|
|
657ad72a
|
2017-09-04T21:16:28
|
|
Added some more big 2.0.6 changes
|
|
d75fea89
|
2017-09-04T20:48:01
|
|
Updated WhatsNew.txt for 2.0.6
|
|
4c9f3139
|
2016-10-12T18:57:12
|
|
Added note for David Carlier's work on OpenBSD
|
|
3b3dd9af
|
2016-10-11T23:56:52
|
|
Updated WhatsNew with 2.0.5 changes
|
|
4aae0290
|
2015-12-31T21:16:43
|
|
Updated some header comments and iOS documentation to better clarify high-dpi / retina support and screen-coordinate sizes versus pixel sizes.
|
|
fd9f06a0
|
2015-11-30T23:30:01
|
|
WinRT: noted Win10/UWP support in WhatsNew.txt (under 2.0.4)
|
|
2e525193
|
2015-11-25T21:31:02
|
|
Added SDL_HINT_VIDEO_X11_NET_WM_PING to WhatsNew.txt for 2.0.4.
|
|
e6ad29ae
|
2015-11-14T12:35:45
|
|
Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
|
|
ceb43129
|
2015-10-07T21:18:08
|
|
Added SDL_JoystickCurrentPowerLevel() to WhatsNew.txt for 2.0.4.
|
|
2bf6f1bc
|
2015-09-20T23:08:36
|
|
Added initial support for MFi game controllers on iOS.
|
|
cdfec382
|
2015-09-18T21:27:00
|
|
Added more entries to WhatsNew.txt for 2.0.4.
|
|
440d6cc0
|
2015-09-05T20:20:35
|
|
Added another entry to WhatsNew.txt for 2.0.4.
|
|
2d8c49fd
|
2015-08-05T21:03:31
|
|
Added more entries to WhatsNew.txt for 2.0.4.
|
|
0e45984f
|
2015-06-21T17:33:46
|
|
Fixed crash if initialization of EGL failed but was tried again later.
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
|
|
21935b03
|
2015-06-19T21:17:00
|
|
Added more entries and brackets to WhatsNew.txt for 2.0.4.
|
|
dd8c6477
|
2015-06-18T12:20:46
|
|
Updated WhatsNew.txt's 2.0.4 list to include a more detailed set of changes for iOS, and added a couple missing items to the OS X and Windows sections.
|
|
d29812d0
|
2015-06-16T20:28:21
|
|
Moved entry in WhatsNew.txt because it was already in 2.0.0 for Android and iOS.
|
|
8b737fa8
|
2015-06-13T13:19:31
|
|
Updated WhatsNew.txt for 2.0.4
|
|
b72938c8
|
2015-04-20T12:22:44
|
|
Windows: Always set the system timer resolution to 1ms by default.
An existing hint lets apps that don't need the timer resolution changed avoid
this, to save battery, etc, but this fixes several problems in timing, audio
callbacks not firing fast enough, etc.
Fixes Bugzilla #2944.
|
|
fe6c797c
|
2015-04-10T23:30:31
|
|
Fixed an iOS view orientation issue when SDL_GL_CreateContext or SDL_CreateRenderer is called.
|
|
b88ca1b4
|
2015-02-10T16:28:56
|
|
the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here.
Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here. Not 5 or 10 depending on the architecture.
More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802
|
|
b48e54aa
|
2015-01-26T22:00:29
|
|
Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation
Jonas Kulla
The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c.
I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along.
|
|
70438be2
|
2014-12-03T10:55:23
|
|
WinRT: fixed bug whereby SDL would override an app's default orientation
WinRT apps can set a default, preferred orientation via a .appxmanifest file.
SDL was overriding this on app startup, and making the app use all possible
orientations (landscape and portrait).
Thanks to Eric Wing for the heads up on this!
|
|
9c398852
|
2014-11-22T22:20:40
|
|
Corrected header file documentation comment.
|
|
24c86b55
|
2014-09-11T19:24:42
|
|
[X11] Reconcile logical keyboard state with physical state on FocusIn
since the window system doesn't do it for us like other platforms.
This prevents sticky keys and missed keys when going in and out
of focus, for example Alt would appear to stick if switching away
from an SDL app with Alt-Tab and had to be pressed again.
CR: Sam
|
|
1e352d79
|
2014-06-06T15:45:59
|
|
Chrome's Native Client backend implementation
|