Ryan C. Gordon
45c301c43d
jack: removed accidental copy/paste.
2017-06-09 17:37:43 -04:00
Ryan C. Gordon
b39e699691
jack: added capture support.
...
--HG--
extra : rebase_source : f9f50992e51197bf743d507b65b2b54b13d14350
2017-06-09 00:47:47 -04:00
Ryan C. Gordon
1c75bb4b03
jack: Move jack_client_t into the audio device instead a global variable.
...
--HG--
extra : rebase_source : 4111e8ffc431d84cc7548c38cfa1acc3bf5cd582
2017-06-09 00:14:50 -04:00
Ryan C. Gordon
2cf7b08cc8
jack: Remove BROKEN_MULTI_DEVICE code.
...
--HG--
extra : rebase_source : 908401e327221e7d2b8a177974d0cc1edc2c4420
2017-06-08 22:20:49 -04:00
Ryan C. Gordon
0240079805
jack: Initial shot at a JACK audio target.
...
http://jackaudio.org/
Fixes Bugzilla #2163 .
(with several more commits following to improve this code.)
--HG--
extra : rebase_source : 5d0d44fcca077c41c56381575a45184bdc050003
2017-06-08 13:27:58 -04:00
Philipp Wiesemann
6219e4a880
Fixed ignoring first event in testshape program.
...
Found by Cppcheck.
2017-06-08 22:40:35 +02:00
Philipp Wiesemann
9e58330085
Fixed environment variable of SDL_HINT_RENDER_LOGICAL_SIZE_MODE.
2017-06-08 22:40:21 +02:00
Philipp Wiesemann
d4729ed3b8
Removed unused hint includes.
2017-06-08 22:40:09 +02:00
Ryan C. Gordon
260c6a36e6
Merged Eric Wing's overscan patch.
...
Fixes Bugzilla #2799 .
2017-06-06 14:06:40 -04:00
Olli Kallioinen
bd55411ea9
Android cmake build fixed to work with the official android gradle plugin
2017-06-04 21:25:57 +03:00
Ryan C. Gordon
e7bb1cbcf1
cmake: don't use /NODEFAULTLIB if we are using the C runtime (thanks, Rob!).
...
Fixes Bugzilla #3640 .
2017-06-06 13:39:29 -04:00
Ryan C. Gordon
38eb80fb44
windows: Change the default on SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING.
...
It's easier for Visual Studio users that want this information to turn it on
or live without it, than it is to explain why every debugger that isn't Visual
Studio crashes out here. Eventually SetThreadDescription() will be the thing
everyone uses anyhow.
Fixes Bugzilla #3645 .
(and several others).
2017-06-06 13:12:43 -04:00
Ryan C. Gordon
009b6f1b01
windows: Fix compiling of XInput code on newer MinGW installs.
...
Fixes Bugzilla #3609 .
2017-06-06 12:35:35 -04:00
Ryan C. Gordon
fda7c8723a
emscripten: listen for pointerlockchange events on the #document specifically.
...
--HG--
extra : rebase_source : 97702b056f7ddde4e0cc62a2e5a5ff9cdb807d09
2017-06-05 21:30:25 -04:00
Philipp Wiesemann
3c56d45c02
Removed duplicate includes.
2017-06-04 23:15:47 +02:00
Philipp Wiesemann
3e556aa92e
Fixed comments in headers for doxygen output.
2017-06-04 23:15:39 +02:00
Philipp Wiesemann
2172c1bd41
android: Fixed missing error message for SDL_GetBasePath().
2017-06-04 23:15:27 +02:00
Philipp Wiesemann
ac99b6519a
Fixed SDL_GL_SetSwapInterval() returning success on two unsupported platforms.
2017-06-04 23:15:13 +02:00
Philipp Wiesemann
f50bb2f3eb
haiku: Fixed missing title bar for windows with decorations.
...
B_BORDERED_WINDOW_LOOK has a border but no title bar.
2017-06-03 23:00:50 +02:00
Philipp Wiesemann
ff2cdde541
android: Moved internal function to new position.
...
It was grouped with functions for the public system header.
2017-06-03 23:00:40 +02:00
Philipp Wiesemann
afe4058438
Corrected names of header file guards.
2017-06-03 23:00:15 +02:00
Philipp Wiesemann
168480496d
haiku: Changed internal variable to be static.
2017-06-02 22:15:37 +02:00
Philipp Wiesemann
74a845ca37
Fixed crash if creating textures failed in testshape program.
2017-06-02 22:15:23 +02:00
Philipp Wiesemann
6fbdd373dc
Fixed crash if calling SDL_CreateShapedWindow() on unsupported platforms.
2017-06-02 22:15:12 +02:00
Bastien Bouclet
fe78534b55
x11: Don't send duplicate events when reconciling the keyboard state
...
Failing to check if a key was known to be pressed by SDL was causing
SDL_SendKeyboardKey to send duplicate key pressed events with the repeat
property set to true.
Fixes Bugzilla #3637 .
--HG--
extra : histedit_source : 1f71b0f1c260d52411175eb7029f9620c92edc18
2017-04-22 19:53:52 +02:00
Ryan C. Gordon
f2be7cdc96
test: Makefile.in should copy bitmap and wave files to build directory.
...
I've lost count of the times I've forgotten to do this manually and wondered
why loopwave can't open sample.wav. :)
2017-05-29 18:24:06 -04:00
Ryan C. Gordon
314b1b14e1
linux: Don't crash if fcitx support is requested but unavailable.
...
Fixes Bugzilla #3642 .
--HG--
extra : histedit_source : db349d6351fc81a138500b142f5424cfdbaf01c7
2017-05-29 02:48:51 -04:00
Ryan C. Gordon
eee7f7062f
Fixed whitespace code style.
...
--HG--
extra : histedit_source : fa3b73fb933e94008249907e1beb7700132f81b5
2017-05-29 00:51:38 -04:00
Ryan C. Gordon
06c1c1bfd3
linux: removed IBus_utf8_strlen(), use SDL_utf8strlen() instead.
...
--HG--
extra : histedit_source : ce70f618a69a0ef79af143ce6486d3e13d38b7ff
2017-05-29 00:51:02 -04:00
Ryan C. Gordon
12ee0a8659
fcitx: removed incompatibly-licensed code.
...
--HG--
extra : histedit_source : b2605d58542b9fea2367eceac2ea7ed5e84c2c3f
2017-05-29 00:54:08 -04:00
Ryan C. Gordon
d202066528
stdlib: added SDL_utf8strlen().
...
--HG--
extra : histedit_source : 3ef78f0c18ad1f096882e5e079119fe0b3fef6db%2Cd98e52df919c701f80b47d989028227d060e2ecb
2017-05-29 03:01:05 -04:00
Philipp Wiesemann
acf207211f
nacl: Fixed crash if allocating memory for audio device failed.
2017-05-28 21:50:47 +02:00
Philipp Wiesemann
803b5167a7
qnx: Removed unnecessary check for available audio devices.
2017-05-28 21:50:37 +02:00
Philipp Wiesemann
c0695a94d0
qnx: Removed unnecessary call to SDL_zerop() after SDL_calloc().
2017-05-28 21:50:27 +02:00
Philipp Wiesemann
127ee4bedc
haiku: Fixed SDL_SetClipboardText() putting random data in clipboard.
2017-05-28 21:50:11 +02:00
Ryan C. Gordon
261fa94dcb
haiku: Correctly set keyboard focus (thanks, Kai!).
...
The message sent upon the window being activated or deactivated, to trigger
the call to SDL_SetKeyboardFocus was missing a mandatory parameter. So
keyboard focus was never properly set.
Fixes Bugzilla #3658 .
2017-05-28 15:36:09 -04:00
Ryan C. Gordon
bc7c1157ea
power: Add Linux org.freedesktop.UPower D-Bus implementation.
...
Fixes Bugzilla #3485 .
(I think.)
2017-05-28 07:14:11 -04:00
Ryan C. Gordon
d74182dd40
linux: Simplify D-Bus interface, remove lots of boilerplate.
2017-05-28 07:11:52 -04:00
Ryan C. Gordon
779afcb4ab
linux: Make system D-Bus connection available (in addition to session).
2017-05-28 07:08:10 -04:00
Ryan C. Gordon
fc4b9f7209
wasapi: properly report init failure if on pre-Vista version of Windows.
...
We really should change the Init interface to return 0 on success and -1 on
error, like everything else, to avoid this sort of confusion.
2017-05-28 00:41:55 -04:00
Philipp Wiesemann
3a089295b0
haiku: Fixed SDL_SetClipboardText() allocating too much memory and cutting text.
...
It allocated pointers instead of chars and passed a wrong size to SDL_strlcpy().
2017-05-27 23:30:21 +02:00
Philipp Wiesemann
aaa20b5e5a
Removed unused errno includes.
2017-05-27 23:30:07 +02:00
Ryan C. Gordon
ac5d0eb674
code style: wrap a single-statement if in braces.
2017-05-27 00:33:26 -04:00
Ryan C. Gordon
d0d830b80a
windows: msgboxes should specify a parent HWND if possible (thanks, Ismael!).
...
This lets them be properly modal.
Fixes Bugzilla #3650 .
2017-05-27 00:30:06 -04:00
Philipp Wiesemann
90c0840933
Changed messages about not recognized keys to include discourse link.
2017-05-26 22:45:52 +02:00
Philipp Wiesemann
07ee631e1b
emscripten: Fixed compiling on C89 compilers.
2017-05-26 22:45:40 +02:00
Philipp Wiesemann
ce285c916c
ios: Fixed math include in demos.
2017-05-25 23:01:59 +02:00
Philipp Wiesemann
20515a19e9
directfb: Changed internal function to be static.
2017-05-25 23:01:34 +02:00
Philipp Wiesemann
817d90982b
android: Fixed parameter list in function definitions.
2017-05-25 23:01:16 +02:00
Philipp Wiesemann
c8e66972d0
wayland: Fixed freeing memory of SDL_malloc() with plain free().
2017-05-25 23:00:58 +02:00