|
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
|
|
43c5f62d
|
2019-10-17T16:14:17
|
|
Merged latest data from Steam
|
|
216f5b98
|
2019-10-17T18:48:58
|
|
metal: Fix compilation when using older Apple SDKs (bug #4828).
|
|
6be83e61
|
2019-10-16T13:54:35
|
|
emscripten: Patched to compile (thanks, Caleb!).
Fixes Bugzilla #4827.
|
|
1b4de45d
|
2019-10-16T08:45:54
|
|
Fixed bug 4785 - SDL_CreateRGBSurface creates 1-bit surfaces with zero pitch
Sylvain
Seems to be a regression in this commit: https://hg.libsdl.org/SDL/rev/7fdbffd47c0e
SDL_CalculatePitch() was using format->BytesPerPixel, now it uses SDL_BYTESPERPIXEL().
The underlying issue is that "surface->format->BytesPerPixel" is *not* always the same as SDL_BYTESPERPIXEL(format);
BytesPerPixel defined as format->BytesPerPixel = (bpp + 7) / 8;
vs
#define SDL_BYTESPERPIXEL(format) ... (format & 0xff)
Because of SDL_pixels.h format definitions, one is giving a BytesPP 1, the other 0.
|
|
ed7483f8
|
2019-10-15T22:36:08
|
|
x11: On macOS, look for X11 install in /opt/X11 instead of /usr/X11R6.
This is where Apple installs XQuartz now (and apparently, the compatibility
symlink at /usr/X11R6 can be missing).
Fixes Bugzilla #4706.
|
|
02a2ec98
|
2019-10-15T14:55:09
|
|
video: Make sure SDL_FillRects()'s fill_function isn't used unitialized.
|
|
9f636be8
|
2019-10-15T14:04:43
|
|
video: Removed unused variables.
|
|
e23067ea
|
2019-10-15T14:03:01
|
|
video: speed up SDL_FillRect[s] slightly (thanks, Jakub!).
"This patch does the following:
* Instead of SDL_FillRects calling SDL_FillRect in a loop the opposite
happens -- SDL_FillRect (a specific case) calls SDL_FillRects (a general case)
with a count of 1
* The switch/case block is moved out of the loop -- it modifies the color
once and stores the fill routine in a pointer which is then used throughout
the loop"
Fixes Bugzilla #4674.
|
|
e9c1e126
|
2019-10-15T12:02:19
|
|
test: Fixed wrong verbose flag check (thanks, watcom.hecht!).
Fixes Bugzilla #4826.
|
|
aa0a6518
|
2019-10-15T08:54:25
|
|
test: Fixed compiler warning on Visual Studio.
|
|
526b9bdf
|
2019-10-14T22:41:27
|
|
Backed out changeset b0241180cdc5
Better commit incoming!
|
|
cd8652d8
|
2019-10-15T01:13:44
|
|
events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms.
Fixes Bugzilla #4356.
|
|
d5e378d1
|
2019-10-15T00:59:10
|
|
cocoa: Implement SDL_WINDOW_ALWAYS_ON_TOP support (thanks, Gabriel!).
Fixes Bugzilla #4809.
|
|
ec04110d
|
2019-10-14T12:41:06
|
|
dynapi: Deal with failure cases better, other fixes.
Fixes Bugzilla #4803.
|
|
fe20c35b
|
2019-10-14T16:40:46
|
|
Fixed race condition when scaling Touch events, and changing the renderer
target.
Always read the output size of the main renderer.
(similar to bug 2107)
|
|
074f6a51
|
2019-10-14T00:51:53
|
|
macOS: Fix the initial window background not being black since macOS 10.14.2 or so, when OpenGL is used (bug #4810). Also fixes "CGContext: invalid context 0x0" errors when an OpenGL window is created (bug #4470).
|
|
009226c6
|
2019-10-13T21:39:20
|
|
macOS: Fix non-highdpi OpenGL contexts not scaling properly in macOS 10.15 (bug 4810 and 4822).
|
|
72660a51
|
2019-10-13T20:52:52
|
|
Fixed bug 4825 - SDL Renderer OpenGL: Buffer overflow (SDL_RENDERCMD_DRAW_LINES)
|
|
f8bdefe1
|
2019-10-13T15:18:28
|
|
macOS: Fix asserts in SDL_Render's metal scissor code when the window is resized.
|
|
1773da89
|
2019-10-13T12:16:40
|
|
macOS: Fix a new issue in 10.15 where the window decorations don't always get restored after SDL_SetWindowFullscreen(window, 0).
|
|
3b0dcaf4
|
2019-10-12T18:47:56
|
|
Fixed bug 4797 - SDL fails to compile with Mesa Master (thanks Michael Olbrich!)
fix building with Mesa 19.2
With Mesa 19.2 building fails with:
/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr'
The same type is defined in include/SDL_opengl.h for OpenGL and the two
headers should not be included at the same time.
This was just never noticed because the same header guard '__gl_h_' was
used. This was changed in Mesa. The result is this error.
Fix this the same way GLES2 already handles this: Don't include the GLES
header when the OpenGL header was already included.
(https://hg.libsdl.org/SDL/rev/6a3670d6108d)
|
|
97901b9f
|
2019-10-10T17:21:46
|
|
Fixed bug 4820 - SDL assumes RW_SEEK_SET == SEEK_SET
|
|
a747106c
|
2019-10-09T19:38:16
|
|
linux: If D-Bus isn't available on the system, don't keep trying to load it.
Fixes Bugzilla #4476.
|
|
cf092eca
|
2019-10-09T13:42:13
|
|
mouse: Save initial position yet even if xrel and yrel are 0.
The X11 target sets mouse->last_x and last_y in EnterNotify and then calls
SDL_SendMouseMotion(), which throws away the new position because it matches
the mouse->last_x and last_y we just set, meaning that if the pointer is
in the window when it created, SDL_GetMouseState() will report a position of
0,0 until a MotionNotify event (the pointer moves) arrives and corrects the
mouse state.
Mostly fixes Bugzilla #1612.
|
|
b38a5ba0
|
2019-10-05T20:19:10
|
|
dynapi: Make gendynapi.pl work on older Perl releases.
|
|
c61ca915
|
2019-10-02T14:55:02
|
|
WinRT: fix a link-time error when building UWP + x64
|
|
3b3dbb5a
|
2019-10-01T08:50:04
|
|
Removed unused volume check interval
|
|
7d47f526
|
2019-10-01T09:26:30
|
|
SDL_LockTextureToSurface: robustness of locked region compared to texture size
|
|
a664e95d
|
2019-10-01T00:05:50
|
|
dynapi: move new SDL_LockTextureToSurface addition to the end of file.
|
|
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.
|
|
191fe25b
|
2019-09-27T15:21:31
|
|
Fixed rtkit feature guard
|
|
84dc44e2
|
2019-09-27T15:21:27
|
|
Fix the RealtimeKit dbus include guards
The SDL_USE_LIBDBUS define is set inside SDL_debug.h, therefore the
circular dependency made it impossible for this feature to be enabled.
Instead, guard SDL_dbus.h based on the autoconf variable HAVE_DBUS_DBUS_H
Additionally, fix one of the rtkit comments. CAP_SYS_NICE isn't required
to achieve high priority. But there is some scheduler config that rtkit
needs the app to setup.
|