8917f8634d
assert: allow assertions to work on platforms without threads.
Ryan C. Gordon
2017-05-19 12:54:17 -04:00
91e6054b03
wasapi: don't mark capture devices as failed for AUDCLNT_S_BUFFER_EMPTY.
Ryan C. Gordon
2017-05-19 12:40:55 -04:00
02773811b3
render: GL_DestroyRender() should activate first.
Ryan C. Gordon
2017-05-18 21:00:11 -04:00
cff9e5a876
test: info now reports usable display bounds and DPI (thanks, Eric!).
Ryan C. Gordon
2017-05-18 16:29:10 -04:00
81ab6c98fd
Patched to compile on Windows.
Ryan C. Gordon
2017-05-18 16:27:36 -04:00
13b6d9959a
wasapi: Replace tabs with strings in source code.
Ryan C. Gordon
2017-05-18 15:46:06 -04:00
adabc38439
wasapi: Deal with AUDCLNT_S_BUFFER_EMPTY when flushing audio device.
Ryan C. Gordon
2017-05-18 15:43:51 -04:00
4073a6694f
audio: One more callbackspec fix (thanks, Simon!).
Ryan C. Gordon
2017-05-18 15:33:17 -04:00
772407627b
Fixed restoring a window that was maximized then minimized, then restored.
Sam Lantinga
2017-05-16 17:48:57 -07:00
ccf0566ca4
SDL - add SDL_WINDOW_VULKAN and make Android_CreateWindow only create an EGLSurface when SDL_WINDOW_VULKAN is not present. This makes it so the ANativeWindow* can be used with vkCreateAndroidSurfaceKHR, otherwise it will fail because having both an EGLSurface and VkSurfaceKHR attached to a window is not allowed according to the Vulkan spec:
Sam Lantinga
2017-05-16 06:30:39 -07:00
a0aff76416
Added missing path in porting README.
Philipp Wiesemann
2017-05-13 23:01:04 +02:00
df4cf79d42
directfb: Fixed compiler warnings about undefined functions.
Philipp Wiesemann
2017-05-13 23:00:53 +02:00
29222db7f6
emscripten: Fixed not removing pointer lock event callback.
Philipp Wiesemann
2017-05-13 23:00:35 +02:00
cc5b4f450a
emscripten: Changed internal functions to be static.
Philipp Wiesemann
2017-05-12 23:01:17 +02:00
ce01128adf
Fixed warnings about shadowed global variable.
Philipp Wiesemann
2017-05-12 23:01:04 +02:00
87e0d812dd
directfb: Removed duplicate comment.
Philipp Wiesemann
2017-05-12 23:00:40 +02:00
61c326e12b
directfb: Fixed typo in log message.
Philipp Wiesemann
2017-05-11 23:00:39 +02:00
75c0d1ef6d
directfb: Fixed compiler warnings about unused variables.
Philipp Wiesemann
2017-05-11 23:00:21 +02:00
c878b59bbe
audio: fixed more "spec" references that should have been "callbackspec".
Ryan C. Gordon
2017-05-10 16:18:43 -04:00
8b7ae35356
Fixed build error on Linux
Sam Lantinga
2017-05-09 03:19:58 -07:00
9ac3bb7011
Added support for mixing Qt and SDL on iOS
Sam Lantinga
2017-05-09 10:10:42 -07:00
60f2848421
haiku: Fixed crash on quit if max number of joysticks was connected.
Philipp Wiesemann
2017-05-07 21:02:46 +02:00
b7b919078f
haiku: Changed internal function to be static.
Philipp Wiesemann
2017-05-07 21:02:31 +02:00
a4dbf56574
Fix divide-by-zero when videodata->ime_candpgsize is zero. We're seeing this happen in Dota in the wild.
Drew Bliss
2017-04-06 13:27:51 -07:00
66555f6115
SDL - attempt to fix https://github.com/ValveSoftware/Dota-2/issues/1199 of mouse not locking in Dota. This fix is proposed by Ryan Gordon (increase timeout in X11_SetWindowGrab from 250ms to 5000ms). I'm going to integrate to source2 and ship it to dota customers. If it works, SamL will upsteam it to SDL.
Drew Bliss
2017-04-06 13:27:48 -07:00
53f3786bc0
Added support for a number of game controllers, including the Nintendo Switch Pro Controller
Sam Lantinga
2017-04-04 08:43:44 -07:00
5789da67cf
Fixed bug 1859 - No SDL_VIDEORESIZE event generated when the window manager sets the window size.
Sam Lantinga
2017-04-03 13:32:53 -07:00
1517ba7285
PSP: Fixed error messages.
Philipp Wiesemann
2017-04-02 21:33:54 +02:00
f96cdca4e7
Mir: Changed two internal functions to be static.
Philipp Wiesemann
2017-04-02 21:33:42 +02:00
f1296a8652
Emscripten: Simplified option name in build script and README.
Philipp Wiesemann
2017-04-02 21:33:24 +02:00
06d6ada817
Updated generated configure script.
Philipp Wiesemann
2017-04-02 21:33:02 +02:00
7ae7fceb2e
Fixed typos and documentation in haptic header file.
Philipp Wiesemann
2017-04-02 21:32:49 +02:00
c57fe6d78a
Backing out broken change from previous commit.
Ryan C. Gordon
2017-04-01 00:46:42 -04:00
ed7f16e227
Intentionally breaking buildbot to test email server change.
Ryan C. Gordon
2017-04-01 00:46:15 -04:00
2ce52bf9e1
README-hg.md: Updated main Mercurial website.
Ryan C. Gordon
2017-04-01 00:17:15 -04:00
1018d56485
BUGS.txt: Changed mailing list link to discourse.libsdl.org.
Ryan C. Gordon
2017-04-01 00:05:25 -04:00
2092a88359
android: fix wrong events when locking device in landscape (thanks, Joshua!).
Ryan C. Gordon
2017-03-31 23:43:53 -04:00
7891e72dca
__atomic_load_n() appears to be available in GCC 5 but not GCC 4
Sam Lantinga
2017-03-30 06:52:34 -07:00
028716e79f
wasapi: deal with default device changes, and more robust failure recovery.
Ryan C. Gordon
2017-03-30 16:33:47 -04:00
c85c57a05d
wasapi: Handle lost audio device endpoints.
Ryan C. Gordon
2017-03-29 14:23:39 -04:00
f2179944cc
Patched to compile on some platforms.
Ryan C. Gordon
2017-03-29 12:04:17 -04:00
1dc9ae5c1e
Use GCC's atomic loads in SDL_AtomicGet and SDL_AtomicGetPtr
James Legg
2017-03-29 15:48:22 +01:00
266816b4aa
Removed newlines from error messages.
Philipp Wiesemann
2017-03-26 21:00:19 +02:00
00da0824f5
Updated axis/button mapping for Dualshock 3, for upcoming Sony driver changes
Sam Lantinga
2017-03-23 13:53:09 -07:00
6bd87635ee
iOS: Fixed compiling template on C89 compilers.
Philipp Wiesemann
2017-03-19 22:17:01 +01:00
34a2a46f66
Removed unused constant in testgesture program.
Philipp Wiesemann
2017-03-19 22:16:37 +01:00
7122036d03
Updated file name in porting README.
Philipp Wiesemann
2017-03-19 22:16:24 +01:00
c35f46d03c
mir: Set the max/min w/h vs just setting the window w/h
Brandon Schaefer
2017-03-18 13:57:57 -07:00
60ba8552d8
Backed out changeset e3fcdad257fc - testaudiocapture.c already does what we want
Sam Lantinga
2017-03-16 16:45:12 -07:00
570e286fd6
Added an audio recording test program
Sam Lantinga
2017-03-15 11:39:54 -07:00
22161480ee
Compile fix for android.
Sam Lantinga
2017-03-14 07:22:08 -07:00
6814f5dbc0
ALSA driver improvements: * alsa hotplug thread is low priority * give a chance for other threads to catch up when audio playback is not progressing * use nonblocking for alsa audio capture There is a bug with SDL hanging when an audio capture USB device is removed, because poll never returns
Sam Lantinga
2017-03-14 07:20:14 -07:00
c4d54504fa
differentiate between capture / playback audio thread names
Sam Lantinga
2017-03-14 07:16:56 -07:00
763e138903
Added an API to get the joystick instance ID before opening the device: SDL_JoystickGetDeviceInstanceID()
Sam Lantinga
2017-03-09 16:09:16 -08:00
6bdc0e724d
Fixed tabs to spaces
Sam Lantinga
2017-03-09 15:12:19 -08:00
aae481294d
Added support to loopwave for hotplugging audio devices
Sam Lantinga
2017-03-09 14:50:23 -08:00
c1802ef646
Fixed compile error with gcc -std=c99
Sam Lantinga
2017-03-06 21:25:06 -08:00
20c846ebe7
Fixed warning about implicit conversion in controllermap program.
Philipp Wiesemann
2017-03-04 23:05:47 +01:00
72fdf62980
Mir: Fixed crash if creating default cursor failed.
Philipp Wiesemann
2017-03-04 23:05:32 +01:00
42d02890f4
Linux: Fixed error message.
Philipp Wiesemann
2017-03-04 23:05:11 +01:00
6aa17426a6
video: Don't compile isAtLeastGL3() if we don't have OpenGL support _at all_.
Ryan C. Gordon
2017-03-03 16:38:45 -05:00
ca0bf151d5
Fix some more compiler warnings on armcc.
Ryan C. Gordon
2017-03-03 16:38:17 -05:00
d526b8a1e9
Some patches to make SDL compile with armcc (ARM's C compiler).
Ryan C. Gordon
2017-03-02 13:33:04 -05:00
94a69443c7
mistake: Revert the files that I did not mean to commit
Brandon Schaefer
2017-03-01 15:05:54 -08:00
7bbb13ea59
* Some refactoring and bug fixes. Thanks Micha? Kuchta!
Brandon Schaefer
2017-03-01 14:50:59 -08:00
bc8778854e
raspberrypi: RPI_Destroy() should free the SDL_VideoDevice and its driverdata.
Ryan C. Gordon
2017-02-28 19:48:52 -05:00
5a47ee0365
mir: Get ready for Mir 1.0, clean up deprecations. Thanks Micha? Kuchta!
Brandon Schaefer
2017-02-27 12:20:16 -08:00
1066bcc83a
audio: clarified what SDL_AudioSpec::samples is, removed note about power of 2.
Ryan C. Gordon
2017-02-27 10:11:40 -05:00
e5d9b25d8c
Fixed comment style.
Philipp Wiesemann
2017-02-26 21:20:39 +01:00
32ef85b52c
Updated generated configure script.
Ryan C. Gordon
2017-02-26 01:03:39 -05:00
a4249b48ee
Patched to compile on C89 compilers.
Ryan C. Gordon
2017-02-26 00:56:13 -05:00
4d525d465b
configure: Cygwin and MingW should try to use -Wdeclaration-after-statement.
Ryan C. Gordon
2017-02-26 00:54:45 -05:00
3b9e4d0a6c
audio: Try to keep callbacks firing at normal pace when device is lost.
Ryan C. Gordon
2017-02-26 00:39:22 -05:00