Eric Wasylishen
b786c10013
SDL_render_gl.c: GL_RunCommandQueue: always set viewport_dirty on macOS
...
Without this, moving the window changes the viewport and causes contents
to render stretched.
Fixes #1504
2021-11-27 07:12:34 -05:00
Sam Lantinga
4f683f01d4
Fixed potentially truncated entry in stack trace
2021-11-26 17:27:07 -08:00
Sam Lantinga
5f1558ffe3
Fixed detecting Raspberry Pi 2/3 video support on Pi 4
2021-11-26 13:47:42 -08:00
Sam Lantinga
4e5839a5f4
Fixed compiling for Raspberry Pi
2021-11-26 13:45:08 -08:00
Ryan C. Gordon
86c0cf2bb1
software: Draw a single pixel for a line with the same start/end point.
...
Otherwise it would drop it, which seems like a bug to me, as it normally
fills the endpoint on lines.
Reference #2006 .
2021-11-26 14:34:51 -05:00
Sam Lantinga
a2e8565230
The Google Pixel fingerprint sensor isn't actually a joystick
...
Fixes https://github.com/libsdl-org/SDL/issues/4971
2021-11-26 11:04:15 -08:00
Ozkan Sezer
cb2f3bedf5
tidy-up a comment in cmake script
2021-11-26 21:20:50 +03:00
Sam Lantinga
67b5de5b41
Fixed build warnings
2021-11-26 10:18:08 -08:00
Sam Lantinga
2ca2ad76da
Fixed build warnings
2021-11-26 10:13:45 -08:00
Sam Lantinga
b6c1cfb93a
Added API changes in 2.0.18
2021-11-26 09:37:27 -08:00
Sam Lantinga
f90164a62f
Fixed mapping for the G-Shark GS-GP702
...
Fixes https://github.com/libsdl-org/SDL/issues/5006
2021-11-26 09:02:12 -08:00
Ozkan Sezer
22e59cd106
CMakeLists.txt: update DYLIB_CURRENT_VERSION too 2.0.18 for release
2021-11-26 19:15:28 +03:00
Sam Lantinga
7242075b2b
Updated version to 2.0.18 for release
2021-11-26 08:12:45 -08:00
Sam Lantinga
d861820465
SDL_JoystickGetAttached() doesn't need to be noisy for NULL joystick
...
Fixes https://github.com/libsdl-org/SDL/issues/5008
2021-11-26 07:57:48 -08:00
Sam Lantinga
30f04d63e6
HIDAPI is only reliable on Android 4.3 and newer
...
Fixes https://github.com/libsdl-org/SDL/issues/4955
2021-11-26 07:15:46 -08:00
Ryan C. Gordon
d713a68071
pulseaudio: wait until at least 1/8th (!) of the mixbuffer is available.
...
This is to workaround systems where we hang in playback because the buffer
does not report the space for whatever reason. The system will instead block
in PlayDevice, which always immediately follows WaitDevice in modern times
so this works out, and it seems to keep the device moving forward.
For a future revision, we are either going to clean this up more properly,
or attempt to move to PulseAudio's pa_stream_set_write_callback() API, but
this will do for SDL 2.0.18.
Reference #4387 for discussion and further information.
2021-11-25 22:32:40 -05:00
Ozkan Sezer
eb39e20588
SDL_endian.h: remove aarch64 asm.
...
The asm has been reported broken in at least optimized Apple M1 builds;
and besides, the compiler builtins have precedence over the asm anyway.
Closes https://github.com/libsdl-org/SDL/issues/3943
2021-11-25 17:00:50 +03:00
Ozkan Sezer
53aa8eec5f
minor cleanup for watcom _inline keyword.
2021-11-25 17:00:24 +03:00
SDL Wiki Bot
3c71f8939b
Sync wiki -> header
2021-11-25 13:53:04 +00:00
Cameron Gutman
57520cbde6
Improve documentation for input grabbing functions
2021-11-25 16:49:57 +03:00
Cameron Gutman
2fa35757a9
cmake: Weak link to GameController.framework to handle older OSes
2021-11-25 16:01:56 +03:00
Cameron Gutman
bc409163a8
cmake: Detect SDL_JOYSTICK_MFI for macOS
2021-11-25 16:01:56 +03:00
Sylvain
d5813776db
Release UDEV ressources
2021-11-25 07:24:18 -05:00
Cameron Gutman
5cb85d611d
CI: Add iOS and tvOS builds
2021-11-24 22:49:40 +03:00
Cameron Gutman
b99510836e
SDL_mfijoystick.m: Fix -Wshadow warning
2021-11-24 13:04:50 -06:00
DarkContact
e77cfb9a11
Fixed d3d11 renderer creation
2021-11-24 10:11:35 -05:00
Ozkan Sezer
d9f70878f9
don't use CMAKE_COMPILER_IS_MINGW
...
Fixes https://github.com/libsdl-org/SDL/issues/5002
2021-11-24 18:10:00 +03:00
Sam Lantinga
57366285d8
Only send display events for hotplugged displays, not the initial state
2021-11-23 20:14:18 +00:00
Sam Lantinga
a3c05d2f34
Added debug output for display connect/disconnect events
2021-11-23 19:43:01 +00:00
Ozkan Sezer
b7f9c2089a
cmake: handle warning flags properly (thanks to hgs3 for pointers.)
...
fixes https://github.com/libsdl-org/SDL/issues/4983
2021-11-23 18:56:50 +03:00
Ozkan Sezer
f8900583e5
removed windows winmm joystick driver
2021-11-23 17:04:40 +03:00
Ozkan Sezer
d2871a348b
testhaptic.c, testjoystick.c: fixed -Wshadow warnings.
2021-11-23 15:10:50 +03:00
Sam Lantinga
e6a4230de9
Revert testevdev libc changes
...
This file uses internal SDL headers as a hack, without actually being built as part of SDL, so we should use normal C functions here.
2021-11-23 03:51:32 -08:00
Ozkan Sezer
3eaa80bb0b
testgamecontroller.c: fixed -Wshadow warnings.
2021-11-23 14:22:02 +03:00
Ozkan Sezer
370b8318af
testmouse.c: fixed -Wshadow warnings.
2021-11-23 14:01:10 +03:00
Sylvain
381f99a3fd
Fix warnings: re-add enum forward declaration
2021-11-23 10:58:04 +01:00
Sylvain
dd6817b3b7
Fix warnings: static function, {} initializier, un-needed enum forward declaration
2021-11-23 10:47:34 +01:00
Sylvain
fae7034901
Fix warnings: static, include, un-initialized vairables
2021-11-23 10:33:12 +01:00
Sylvain
2a24418bd3
More "Integer overflow generates Illegal instruction under sanitizers" (see bug #4995 )
2021-11-23 09:44:37 +01:00
Sylvain
e5467af7c8
Minor change comment
2021-11-23 09:42:07 +01:00
Sylvain
9c72adc86c
More "Integer overflow generates Illegal instruction under sanitizers" (see bug #4995 )
2021-11-23 09:41:01 +01:00
Sylvain
8dd6edec00
Fixed bug #3232 - Integer overflow generates Illegal instruction under sanitizers + see bug #4995
2021-11-23 09:30:42 +01:00
Ozkan Sezer
e18be04bc6
Fixed undefined behavior in QueueCmdSetDrawColor()
...
Fixes https://github.com/libsdl-org/SDL/issues/4995
Patch from Andrew Kelley
2021-11-23 08:01:02 +03:00
Sylvain
c878d9a0aa
Haiku: comment this should not be SDL_free()
2021-11-22 08:38:46 -08:00
Sylvain
c0029f01d7
remove 'free' in comment
2021-11-22 08:38:46 -08:00
Sylvain
aef7105408
Use SDL_free
2021-11-22 08:38:46 -08:00
Sylvain
2004aaf3bb
SDL_wave: use SDL_free
2021-11-22 08:38:46 -08:00
Sylvain
0445c13aae
Remove 'malloc' from comment
2021-11-22 08:38:46 -08:00
Sylvain
155db97d14
Remove 'malloc' from comment
2021-11-22 08:38:46 -08:00
Sylvain
c3633d2c99
Haiku: use SDL_malloc
2021-11-22 08:38:46 -08:00