|
51487a71
|
2019-11-21T10:14:57
|
|
Added support for the MOGA XP5-A Plus
|
|
405a3c82
|
2019-11-21T11:50:50
|
|
ran gendynapi.pl after newly added SDL_string.c functions.
|
|
65096446
|
2019-11-20T16:42:50
|
|
Improved XInput VID/PID detection and added SDL_wcsstr() and SDL_wcsncmp()
|
|
eb8f14bb
|
2019-11-20T20:40:50
|
|
added SDL_strtokr() as a replacement for POSIX strtok_r (bug #4046.)
|
|
ce8411c5
|
2019-11-20T08:43:24
|
|
Fixed Xbox One Elite Series 2 showing up as 2 devices in Bluetooth mode on Windows
|
|
200d37da
|
2019-11-20T02:47:40
|
|
SDL.c (SDL_ExitProcess): unconstify its param to match its declaration.
|
|
972a70d8
|
2019-11-19T15:15:00
|
|
Added support for the Xbox One Elite Series 2 controller on Mac OSX
|
|
68d8fc5c
|
2019-11-18T15:46:13
|
|
Added support for the Xbox One Elite Series 2 controller in wired mode
|
|
2bfcf5cd
|
2019-11-18T14:08:05
|
|
Added Linux controller mapping for the Xbox One Elite Series 2 controller in Bluetooth mode
|
|
1e24a151
|
2019-11-18T11:51:39
|
|
Added names for some missing Xbox controllers
|
|
14495644
|
2019-11-18T11:44:51
|
|
Added identifiers for the Xbox One Elite Series 2 controller
|
|
df728f85
|
2019-11-18T10:48:14
|
|
Fixed unused function warning on Android
|
|
dd7fe0af
|
2019-11-16T22:45:49
|
|
Fixed bug 4814 - Missing scancodes on Linux
Michael Roe
The mappings for keyboard scancodes on Linux do not include keypad left and right parentheses (used on some Microsoft keyboard), keypad plus/minus, LANG1 and LANG2 (used on Korean keyboards), XK86MenuKB, and F20 (remapped to Audio Mic Mute in the usual X11 config).
|
|
b1539c4c
|
2019-11-16T22:35:48
|
|
Fixed bug 4819 - Attempting to create an OpenGL ES context with unachievable MSAA parameters under X11 dooms the program
Solra Bizna
I have written a program that, in the event that the user requests more MSAA samples than their hardware supports, attempts to gracefully fall back to the best MSAA available. This code works with my conventional OpenGL renderer, but if I change nothing about the code except to make it request an OpenGL ES profile instead, Xlib kills the program with an error that looks like:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x5c00008
Serial number of failed request: 188
Current serial number in output stream: 193
To trigger the bug, attempt to create a window with the SDL_WINDOW_OPENGL flag, with SDL_GL_CONTEXT_PROFILE_MASK set to SDL_GL_CONTEXT_PROFILE_ES, and with SDL_GL_MULTISAMPLESAMPLES set to any unsupported value. SDL_CreateWindow properly returns NULL, but at this point the program is already doomed. Xlib will shortly terminate the program with an error. Calling SDL_CreateWindow again will immediately trigger this termination.
I have attached a skeletal program that reproduces this bug for me. Replacing SDL_GL_CONTEXT_PROFILE_ES with SDL_GL_CONTEXT_PROFILE_COMPATIBILITY avoids the bug (but, obviously, doesn't create an OpenGL ES context).
As I suspected, the problem was with XDestroyWindow being called twice on the same window. The X11_CreateWindow function in src/video/x11/SDL_x11window.c calls SetupWindowData. If initialization fails after that point, XDestroyWindow gets called on the window by a subsequent call to X11_DestroyWindow. But, later in the same function, iff a GLES context is requested and initializing it fails, X11_XDestroyWindow (which wraps XDestroyWindow) is manually called. Shortly after, the intended call to X11_DestroyWindow occurs, which attempts to destroy the same window again. Boom.
(The above confusing summary involves three separate, similarly-named functions: XDestroyWindow, X11_DestroyWindow, X11_XDestroyWindow)
I have attached a simple patch that removes the redundant X11_XDestroyWindow calls. I've tested that XDestroyWindow still gets called for the windows in question, and that it only gets called once.
|
|
a9ac9e38
|
2019-11-16T19:58:29
|
|
Don't try to use this driver with the Xbox One S in Bluetooth mode on Linux
|
|
9ca53730
|
2019-11-16T19:55:53
|
|
Added support for the Xbox One S controller in Bluetooth mode on Linux
|
|
9d4c3f12
|
2019-11-16T22:59:56
|
|
Fix missing prototype warning
|
|
2dab79bc
|
2019-11-16T22:55:36
|
|
Fix crash when detecting SIMD
|
|
cf33f1f0
|
2019-11-13T21:53:01
|
|
Added a utility function to simplify the hint handling logic
|
|
a63e93a1
|
2019-11-13T15:46:58
|
|
Supported Android and Apple hardware has ARM SIMD capability
|
|
9a76bebf
|
2019-11-13T14:24:48
|
|
SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS defaults to true, to match Steam's default behavior
|
|
b44fe0f8
|
2019-11-12T17:24:37
|
|
haiku: Rename BE_* entities to HAIKU_*
In favor Bugzilla #2349.
Update copyright years to 2019.
Partially fixes Bugzilla #4442.
|
|
33ae5e5e
|
2019-11-11T22:23:33
|
|
haiku: mouse_relative fix
Partially fixes Bugzilla #4442.
|
|
79510b75
|
2019-11-11T22:22:40
|
|
haiku: mouse->ShowMouse method added
Partially fixes Bugzilla #4442.
|
|
95a402d7
|
2019-11-11T22:21:17
|
|
haiku: Add support for relative mouse mode.
Partially fixes Bugzilla #4442.
|
|
bd648bd5
|
2019-11-11T22:18:21
|
|
haiku: Add simple relative mode for mouse.
Partially fixes Bugzilla #4442.
|
|
3b516e63
|
2019-11-11T22:14:00
|
|
haiku: Fix crash when opening window.
- _num_clips was not set in constructor, so a NULL _clips could be
mistakenly dereferenced.
- As _clips is accessible outside the class, it is not a good idea to
free/reallocate it. Try to limit this by reallocating only when it needs to
grow.
Partially fixes Bugzilla #4442.
|
|
50806eee
|
2019-11-11T22:04:10
|
|
haiku: use addr_t instead of size_t for OpenGL dynamic loading.
Partially fixes Bugzilla #4442.
|
|
55b5d8dc
|
2019-11-11T21:59:39
|
|
haiku: Invert mouse wheel values to match what SDL expects.
Partially fixes Bugzilla #4442.
|
|
b22fb9e2
|
2019-11-11T16:44:40
|
|
haiku: Implement message box for Haiku
Add implementation for functions:
SDL_ShowSimpleMessageBox()
SDL_ShowMessageBox()
Add simple customization support also.
Fix build for x86_gcc2.
Partially fixes Bugzilla #4442.
|
|
a365c7f6
|
2019-11-04T11:15:24
|
|
ran gendynapi.pl after SDL_HasARMSIMD() addition
|
|
20ddf45e
|
2019-11-02T22:58:52
|
|
Added SDL_PIXELFORMAT_BGR444
|
|
303646a6
|
2019-10-31T15:53:10
|
|
Android: some readability: redundant casts, deads stores, redundant control flow
|
|
fea3c8bd
|
2019-10-31T17:10:02
|
|
SDL_qsort.c: sync comments with version 1.15 from mainstream
|
|
88ba6798
|
2019-10-30T21:12:36
|
|
Wayland: touch events, use of memory after it is freed
|
|
86ae245b
|
2019-10-30T17:59:20
|
|
Use correct enum: typo in org_kde_kwin_server_decoration_mode
instead of org_kde_kwin_server_decoration_manager_mode
|
|
81cdd500
|
2019-10-30T17:35:40
|
|
Remove redundant 'SDL_GetErrBuf' declaration
|
|
9e509e4a
|
2019-10-30T16:45:53
|
|
SDL_render_gles2: remove ineffective widening cast
warning: either cast from 'int' to 'size_t' (aka 'unsigned long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast]
|
|
ce308a78
|
2019-10-30T16:33:32
|
|
revert this const parameter for X11 function
|
|
dab55a8d
|
2019-10-30T16:20:58
|
|
Readability: remove redundant cast
|
|
f16e5106
|
2019-10-30T16:17:59
|
|
Fix const warning in RLE getpix functions
|
|
25d53a44
|
2019-10-30T16:12:39
|
|
SDL_syspower.c: remove redundant expression
|
|
d4a67e25
|
2019-10-30T16:06:51
|
|
Readability: change some pointer parameter to be pointer to const
|
|
3d100df3
|
2019-10-30T15:43:49
|
|
Readability: remove const-qualifation from function declaration
const-qualification of parameters only has an effect in function definitions
|
|
60d3965e
|
2019-10-30T15:36:17
|
|
Readability: remove redundant return, continue, enum declaration
|
|
b458d7a2
|
2019-10-30T15:13:55
|
|
Readability: remove redundant cast to the same type
|
|
56cbe120
|
2019-10-30T14:37:06
|
|
BlitAuto: remove redundant cast to the same type
|
|
735691ec
|
2019-10-30T14:29:41
|
|
Remove nested redundant #ifndef
|
|
ff0d9245
|
2019-10-30T14:26:18
|
|
SDL_syspower: remove dead store warning
Value stored to 'str' during its initialization is never read
|
|
42153342
|
2019-10-29T16:13:41
|
|
Use fill_function for FillRect SIMD/NEON (bug 4365)
|
|
bda618a2
|
2019-10-27T11:41:48
|
|
iOS: remove some unused code, minor code style cleanup.
|
|
df49e2a5
|
2019-10-27T11:41:11
|
|
iOS: replace a deprecated function call with a non-deprecated equivalent.
|
|
7289e5e2
|
2019-10-27T15:22:28
|
|
Android: remove warning in blit_features
"integer constant not in range of enumerated type 'enum blit_features'"
|
|
463bf5c2
|
2019-10-27T14:52:09
|
|
Android: fix compilation error of SDL_cpuinfo.c on android-r13b (bug 4365)
|
|
c0255be4
|
2019-10-26T23:58:55
|
|
x11: check if the X server honored our XMoveWindow() call (thanks, R.E. Rust!).
This can happen if a window is still grabbed when we try to move it, or if
the X11 ecosystem is just in a bad mood, I guess.
This makes sure that SDL will report the correct position for a window;
otherwise, SDL_GetWindowPosition will just report whatever the last
SDL_SetWindowPosition call requested, even if the window didn't actually move.
Fixes Bugzilla #4646.
|
|
a963e36e
|
2019-10-26T15:27:51
|
|
macOS: more robust detection and switching of exclusive-fullscreen display modes (bug #4822).
|
|
a9b867ab
|
2019-10-26T14:39:50
|
|
macOS Fix potential memory leaks in the Metal renderer caught by clang's static analyzer.
|
|
1ce1364b
|
2019-10-26T12:56:18
|
|
d3d11: Don't fail if there's no vertex data to upload (thanks, Martin!).
Fixes Bugzilla #4832.
|
|
6dffc5d4
|
2019-10-25T00:07:30
|
|
cpuinfo: Remove incorrect #warning when building for non-ARM architectures.
|
|
72f8044a
|
2019-10-24T21:17:52
|
|
ARM: NEON assembly optimization for SDL_FillRect
|
|
1187b013
|
2019-10-24T21:17:38
|
|
ARM: NEON assembly optimization for function BlitARGBto565PixelAlpha
|
|
2dfe0605
|
2019-10-24T21:17:19
|
|
ARM: NEON assembly optimization for function BlitRGBtoRGBPixelAlpha
|
|
74846657
|
2019-10-24T21:15:50
|
|
ARM: SIMD optimization for 4:4:4:4 to 8:8:8:8 normal blits
|
|
becc649a
|
2019-10-24T21:15:35
|
|
ARM: assembly optimization for SDL_FillRect
|
|
7ac733f0
|
2019-10-24T21:15:21
|
|
ARM: SIMD assembly optimization for BGR-to-RGB 32bpp normal blits
|
|
8425d9d5
|
2019-10-24T21:15:09
|
|
SDL_blit: use a named enum for required hardware bits in dispatch tables
|
|
0eaa52ce
|
2019-10-24T21:13:56
|
|
ARM: SIMD assembly optimization for function BlitARGBto565PixelAlpha
|
|
57723b83
|
2019-10-24T21:13:05
|
|
ARM: SIMD assembly optimization for function BlitRGBtoRGBPixelAlpha
Much of the heavy lifting of this optimization is lifted from the Pixman
project, which is distributed under an MIT-style license. As far as possible,
these elements have been relicensed to the zlib license.
|
|
6a6a0528
|
2019-10-24T21:12:08
|
|
ARM: Create configure option --enable-arm-simd to govern assembly optimizations
|
|
59beaccd
|
2019-10-24T20:15:54
|
|
macOS: Expose high dpi-capable display modes on macOS 10.13+.
Fixes an issue in macOS 10.15 where the displayed content would move up after entering, exiting and re-entering exclusive fullscreen when certain display modes were used (bug #4822).
Bug #3949 is also related to this change.
|
|
8081f117
|
2019-10-24T18:07:30
|
|
Fixed bug 2014 - Hardcoded srcA value in SDL_Blit_auto.c functions
|
|
3a8b8994
|
2019-10-23T11:07:11
|
|
Android: remove eglGetProcAdded busted comment (bug #4040)
|
|
0f871c03
|
2019-10-23T09:53:23
|
|
Fixed bug 4843 - Passing NULL to memset in SDL_PrivateLoadButtonMapping
(Thanks!)
|
|
ed469fa5
|
2019-10-23T09:36:41
|
|
Fixed bug 4842 - Redundant condition in MS_ADPCM_Decode and IMA_ADPCM_Decode
(Thanks!)
|
|
c9d0e2ae
|
2019-10-23T09:26:27
|
|
Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!)
|
|
d5d34de4
|
2019-10-23T09:17:53
|
|
Fixed bug 4839 - Read of uninitialized memory in Win32_ResizeWindowShape
(Thanks!)
|
|
758badff
|
2019-10-23T08:58:52
|
|
Fixed bug 4841 - Misplaced parenthesis WIN_WindowProc / WM_ACTIVATE / ClipCursor
(Thanks!)
|
|
b7ab3b39
|
2019-10-23T08:50:57
|
|
Fixed bug 4838 - Use after free in SDL_JoystickUpdate (Thanks!)
|
|
3ac67cf4
|
2019-10-23T08:46:59
|
|
Fixed bug 4837 - Use after free in SDL_SensorUpdate (Thanks!)
|
|
5025109f
|
2019-10-22T15:43:58
|
|
Fixed accidental whitespace
|
|
9da4bfc1
|
2019-10-22T10:57:07
|
|
Added support for the Power A Nintendo Switch Enhanced Wireless Controller
|
|
f96da11f
|
2019-10-22T10:28:51
|
|
Reordered Power A Switch controllers so they're grouped together
|
|
9e7894ef
|
2019-10-22T10:27:30
|
|
Added support for the PowerA - Super Mario Controller
|
|
9ececeea
|
2019-10-20T22:17:59
|
|
cpuinfo: Use a better default alignment value (thanks, Simon!).
Fixes Bugzilla #4835.
|
|
cdc7181e
|
2019-10-19T01:54:02
|
|
Don't try to use the Xbox HID protocol with the NVIDIA Shield controllers
|
|
336a7549
|
2019-10-19T09:23:40
|
|
remove warning prototype SDL_ExitProcess()
|
|
9c14c789
|
2019-10-18T23:10:00
|
|
updated includes for _exit()
|
|
24bee6e5
|
2019-10-18T21:47:30
|
|
Add internal function SDL_EGL_GetVersion()
|
|
b060b2ea
|
2019-10-18T08:56:54
|
|
Fixed whitespace
|
|
412ab7e1
|
2019-10-18T14:23:37
|
|
Fixed bug 4829 - Sensor events incorrectly disabled
|
|
e5bd2003
|
2019-10-18T14:08:07
|
|
Android: enable eglGetProcAddress (bug #4040, bug #4794)
|
|
03f27a3a
|
2019-10-18T13:27:58
|
|
Add robustness getting the EGL version (see bug #4040)
|
|
3ecce847
|
2019-10-18T00:07:32
|
|
egl: adjust how we load symbols in SDL_EGL_GetProcAddress.
Use eglGetProcAddress for everything on EGL >= 1.5. Try SDL_LoadFunction first
for EGL <= 1.4 in case it's a core symbol, and as a fallback if
eglGetProcAddress fails. Finally, for EGL <= 1.4, fallback to
eglGetProcAddress to catch extensions not exported from the shared library.
(Maybe) Fixes Bugzilla #4794.
|
|
4f304fd8
|
2019-10-17T18:07:52
|
|
Added support for the BDA PS4 Fightpad
|
|
097b9c30
|
2019-10-17T17:51:49
|
|
Better fix for iOS build
|
|
a1349d46
|
2019-10-17T17:51:36
|
|
Build fix for the build fix
|
|
8984d25b
|
2019-10-17T17:47:27
|
|
Fixed build on iOS
|
|
bf9092cf
|
2019-10-17T17:47:11
|
|
Removed unused variable
|
|
b3470f04
|
2019-10-17T17:32:47
|
|
Added the hint SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to control whether Nintendo Switch controllers use their button labels or button positions for game controller button reporting.
|
|
e6ac16ef
|
2019-10-17T16:59:05
|
|
Added support for third party Nintendo Switch controllers that don't support the full protocol
|