|
c4035654
|
2015-04-09T19:28:00
|
|
Added framebuffer and colorbuffer members to the uikit portion of the SDL_SysWMinfo struct, removed SDL_iOSGetViewRenderbuffer and SDL_iOSGetViewFramebuffer.
|
|
fcd0f06a
|
2015-04-08T15:59:29
|
|
Renamed SDL_iPhoneGetViewFramebuffer/Renderbuffer to SDL_iOSGetViewFramebuffer/Renderbuffer. Added #defines for SDL_iOSSetAnimationCallback and SDL_iOSSetEventPump, which point to SDL_iPhoneSetAnimationCallback and SDL_iPhoneSetEventPump.
|
|
1152a759
|
2015-04-08T15:44:07
|
|
Generated dynapi prototypes for the new iPhone functions.
|
|
26c28114
|
2015-04-08T15:35:07
|
|
Merged default into iOS-improvements
|
|
a210dbcb
|
2015-04-08T02:42:29
|
|
Removed unused variable.
|
|
53287ad5
|
2015-04-08T02:31:54
|
|
X11: Removed code to set "icon" title, since it was never used.
(Leftover from SDL 1.2, which let you specify this?)
|
|
78026f54
|
2015-04-08T02:24:17
|
|
Patched to compile on Windows.
|
|
e0ad1021
|
2015-04-08T02:22:28
|
|
Wayland: Patched to compile.
|
|
785618af
|
2015-04-08T02:14:59
|
|
DirectInput: ignore everything but joysticks and gamepads (thanks, Justin!).
Fixes Bugzilla #2460.
|
|
6e53bc9b
|
2015-04-08T02:00:14
|
|
SDL_SetWindowTitle() should never set a NULL pointer for the title string.
Various backends reacted differently (or not at all) in the presence of a
NULL pointer. This simplifies things.
Fixes Bugzilla #2902.
|
|
1339ce71
|
2015-04-08T01:42:47
|
|
Make SDL_stdinc.h work when compiling with -Wundef (thanks, Ben!).
Fixes Bugzilla #2664.
|
|
88e85f4d
|
2015-04-08T01:40:01
|
|
Patched to compile on C89 compilers.
|
|
8da7e8ad
|
2015-04-08T01:37:17
|
|
Log Android hardware at startup (thanks, rettichschnidi!).
Fixes Bugzilla #2653.
|
|
6a126a48
|
2015-04-07T23:40:01
|
|
Do the "fix" for asserts with MSVC's /W4 warnings only on MSVC.
Naturally, this way generates a warning on GCC and Clang instead. :)
|
|
9a686aaa
|
2015-04-07T22:49:56
|
|
Wayland: changed a few "SetError(); return -1;" to "return SetError()".
|
|
e7ba78a3
|
2015-04-07T21:52:22
|
|
CMake: Dependency variable for FUSIONSOUND_SHARED was wrong (thanks, Kaleb!).
Fixes Bugzilla #2055.
|
|
5b6e064a
|
2015-04-07T20:01:43
|
|
CMake: fix CHECK_OBJC_SOURCE_COMPILES to work with GCC (thanks, Ivan!).
Apparently -ObjC works with Clang, but -x objective-c works with both.
Fixes Bugzilla #2392.
|
|
684f9e96
|
2015-04-07T23:00:56
|
|
Fixed typo in gesture README.
|
|
3e9c2e75
|
2015-04-07T00:39:16
|
|
Another attempt to make MSVC's /W4 warning level cooperate with SDL_assert.
Fixes Bugzilla #2733.
|
|
80115574
|
2015-04-06T18:26:13
|
|
Refuse to make a window that's too large. Some systems (x11) freak out at this.
Fixes Bugzilla #2255.
|
|
df98b11c
|
2015-04-06T15:26:37
|
|
Merged default into iOS-improvements
|
|
f3590aba
|
2015-04-06T00:11:58
|
|
X11: Always specify "True" if setting GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB.
Fixes Bugzilla #2897.
|
|
83aeb31d
|
2015-04-06T00:10:54
|
|
This function can be static.
|
|
2f3f3287
|
2015-04-05T18:59:52
|
|
Make loading/saving dollar gesture templates endian clean (thanks, Martin!).
Fixes Bugzilla #2674.
|
|
05a9206a
|
2015-04-05T18:44:24
|
|
Add some SDL_SetError() calls to the dollar gesture code (thanks, Martin!).
Fixes Bugzilla #2673.
|
|
0713c1e5
|
2015-04-05T15:52:37
|
|
Patched to compile on Android when audio subsystem is disabled (thanks, Jonas!)
Fixes Bugzilla #2797.
|
|
3e4a8ce1
|
2015-04-01T19:18:56
|
|
Fixed detecting the NVIDIA controller which shows up as both a mouse and a game controller
|
|
c5d9d164
|
2015-04-01T18:22:42
|
|
Added a game controller entry for the NVIDIA Controller
|
|
41961e4f
|
2015-04-02T00:55:45
|
|
Cast the result of calling getButtonState to an Integer
|
|
c7ec9c1d
|
2015-04-01T16:11:37
|
|
handle the case where the ibus address can't be found. (prevents nasty crash)
|
|
64237d7f
|
2015-04-01T14:45:09
|
|
Patched to compile on Android (I hope).
|
|
f9041771
|
2015-04-01T12:14:56
|
|
Android: more separate-mouse-and-touch work.
This avoids a hint lookup for each mouse event we get by setting a static Java
variable from native code during our hint watcher callback.
Also attempts to do the right thing with mouse buttons if you happen to be
on an API14 (Ice Cream Sandwich, Android 4.0) or later device. We still
target API12 (Honeycomb MR1, Android 3.1) for SDL 2.0.4 though.
This isn't tested, so I'm pushing to see what the Android buildbot says. Stand
back, I'm a professional!
|
|
236deab4
|
2015-03-30T11:31:53
|
|
Fixed relative mouse motion moving farther and farther off screen.
|
|
b620df3e
|
2015-03-28T19:43:46
|
|
Wayland: Specify the output we want to put our window on.
Fixes Bugzilla #2803.
|
|
a0e878aa
|
2015-03-28T00:48:03
|
|
Minor input grab clarifications.
Clarify that grabbing the mouse only works with one window at a time; this was
always true at the system level, though SDL could previously get confused
by multiple simultaneous grabs, so now we explicitly break any existing
grab before starting a new one and document it as such.
Also track the window that is currently grabbed, and provide an API to query
for that window. This makes it easy to automate mouse ungrabbing at
breakpoints with gdb7's scripting, since the scripts can now know which window
to ungrab.
In 2.1, we should probably change this API to SDL_GrabInput(win) and
SDL_UngrabInput(void), or something.
|
|
73990628
|
2015-03-27T18:09:51
|
|
Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12
|
|
e7a659eb
|
2015-03-25T22:48:57
|
|
Removed not needed call to SDL_free().
|
|
37672303
|
2015-03-25T22:47:22
|
|
Android: Removed outdated comment from source.
|
|
03f5185e
|
2015-03-25T11:18:54
|
|
Make the Dynamic API master switch more clear.
|
|
1270247c
|
2015-03-25T10:59:10
|
|
Add a hint watch callback for SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH.
|
|
83a44680
|
2015-03-25T10:48:59
|
|
Removed unnecessary SDL_log.h include.
|
|
87ef19c4
|
2015-03-25T10:19:10
|
|
Keep track of maximum number of events in-flight in the SDL queue at once.
|
|
ca7b18e4
|
2015-03-24T21:02:28
|
|
* More Android patch work
|
|
387fa5dc
|
2015-03-24T20:45:29
|
|
* Improve mouse support in Android. These changes require Android API v12 to compile
|
|
3f9f0027
|
2015-03-24T14:40:31
|
|
Patched to compile on C89 compilers.
|
|
672ccb4f
|
2015-03-24T14:36:36
|
|
Make the signal handler hint more generic.
|
|
a91a5604
|
2015-03-24T14:29:25
|
|
Added a hint to prevent SDL from installing signal handlers.
Fixes Bugzilla #2431.
|
|
162ef5ea
|
2015-03-24T13:52:01
|
|
Cleanups in the joystick code.
Removed some redundant state and other confusions.
Fixes Bugzilla #2738.
|
|
4a071b31
|
2015-03-24T03:24:57
|
|
Mac: patched to compile with haptic subsystem disabled (thanks, Rodrigo!).
Fixes Bugzilla #2717.
|
|
9470f4a2
|
2015-03-24T03:21:57
|
|
Better fixes for CMake subsystem enabling (thanks, Sebastian!).
Fixes Bugzilla #2875.
|
|
d9f37853
|
2015-03-24T03:12:35
|
|
Make SDL error string formatting deal with nasty corner cases.
We continued looping while maxlen > 0, but maxlen was unsigned, so an overflow
would make it a large number instead of negative. Fixed.
Some snprintf() implementations might return a negative value if there isn't
enough space, and we now check for that.
Don't overrun the SDL error message buffer, if snprintf() returned the number
of chars it wanted to write instead of the number it did.
snprintf is a portability mess, we should just never use the C runtime for it.
Fixes Bugzilla #2049.
|
|
54f4725a
|
2015-03-24T02:48:16
|
|
Ran hardcoded game controller database through sort_controllers.py.
|
|
a300a735
|
2015-03-24T02:47:25
|
|
Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).
Fixes Bugzilla #2091.
|
|
878c2324
|
2015-03-24T02:13:25
|
|
winmm: Let audio callback buffer size be less than 1/4 second (thanks, Jon!).
Maybe this was here for Win9x? There's no reason to insert this much latency
by default.
Fixes Bugzilla #2835.
|
|
ac2bb3f2
|
2015-03-23T20:07:24
|
|
configure script: fix recursive mutex test on Linux systems (thanks, Ozkan!).
|
|
c76130c9
|
2015-03-23T19:54:33
|
|
X11: Reenabled setlocale() and fork() for message boxes.
Fixes Bugzilla #1658.
|
|
331a434f
|
2015-03-23T19:47:08
|
|
Windows: Report window HDC in SDL_SysWMinfo.
Fixes Bugzilla #2668.
|
|
528e48b9
|
2015-03-23T20:24:04
|
|
Android: Removed not needed include statement.
|
|
8a58e12f
|
2015-03-23T20:21:45
|
|
Updated test program for Emscripten.
|
|
b42c2597
|
2015-03-22T01:25:12
|
|
Cocoa: Handle more cases of lost focus when Key window closes (thanks, Alex!).
Sort of fixes Bugzilla #1825 a little more. It's an ongoing effort. :)
|
|
49f33b41
|
2015-03-21T22:42:53
|
|
Added missing SDL_DOLLARRECORD event type documentation in header.
|
|
716ef0d5
|
2015-03-21T08:01:43
|
|
Fixed confusing audio and touch events because of shared enumeration values.
|
|
eb49f8ca
|
2015-03-21T00:09:22
|
|
Patched to compile on OpenGL ES-based platforms.
|
|
161e5d15
|
2015-03-20T23:29:09
|
|
Whoops, lost a newline in here.
|
|
3c76d2ff
|
2015-03-20T21:57:15
|
|
Several corrections to the CMake project files (thanks, Ozkan!).
Fixes Bugzilla #2732.
|
|
a4458a70
|
2015-03-20T19:47:03
|
|
Fix DBus error message if IBus couldn't be initialized.
|
|
34415c45
|
2015-03-20T12:23:53
|
|
Windows: support for OpenGL extension WGL_ARB_context_flush_control.
|
|
70191a93
|
2015-03-20T11:51:03
|
|
CMake: Don't search for the OpenGL library on Mac OS X. It's always there.
|
|
182a7768
|
2015-03-20T11:11:44
|
|
Audio hotplug fixes for winmm and XAudio2 backends.
|
|
c1091f32
|
2015-03-20T10:35:42
|
|
CMake project files no longer force you to link against Wayland or Mir libs.
|
|
d8988ea8
|
2015-03-20T10:02:45
|
|
Fixed some defaults in CMake project file.
Fixes not finding dlopen(), etc.
|
|
6c072917
|
2015-03-19T23:54:35
|
|
Patched to compile on gcc2.
|
|
06e85acd
|
2015-03-19T23:45:34
|
|
Removed unused variable.
|
|
b24ff446
|
2015-03-19T23:44:47
|
|
Make static analysis happy.
|
|
277e07e7
|
2015-03-19T23:39:53
|
|
Fixed a compiler warning on Visual Studio.
|
|
1877f574
|
2015-03-19T23:35:43
|
|
Patched to compile on Windows.
|
|
e9a7a81f
|
2015-03-19T22:20:12
|
|
Immediately minimize the goofy window in testaudiohotplug.
|
|
537b68b9
|
2015-03-19T22:11:20
|
|
Zero out the audio hotplug event structure, so the "padded" fields are sane.
Just in case we ever need those bits in the future.
|
|
cafd030b
|
2015-03-19T22:08:12
|
|
PulseAudio: Hotplug support!
|
|
11cffe1d
|
2015-03-19T15:43:00
|
|
SDL_RemoveAudioDevice() should specify capture vs output.
This lets us reuse values between the two categories without conflicting, etc.
|
|
1e78ef21
|
2015-03-19T13:34:17
|
|
Removed the broken audio streaming code, other small cleanups.
|
|
5cbb32ef
|
2015-03-19T13:27:10
|
|
Disconnected/broken/lost audio devices now continue to fire their callback.
The data produced by the callback is just thrown away and the audio thread
delays as if it's waiting for the hardware to drain.
This lets apps that rely on their audio callback firing regularly continue
to make progress to function as properly as possible in the face of disaster.
Apps that want to know that the device is really gone and deal with that
scenario can use the new hotplug functionality.
|
|
75973f81
|
2015-03-19T13:15:28
|
|
Don't assert if an audio backend reports the same device disconnected twice.
|
|
1110f536
|
2015-03-18T12:03:32
|
|
WinRT: updated names, and references-to, various ANGLE/WinRT repositories
|
|
7c4b88f2
|
2015-03-18T10:29:04
|
|
PulseAudio: Improved multidevice support.
Added capture device enumeration, report human-readable device name, other
cleanups.
|
|
338bf5d2
|
2015-03-18T10:09:39
|
|
Changed some SDL_memset() calls to SDL_zero().
|
|
97ff10c6
|
2015-03-18T10:09:23
|
|
Tweaked a couple comments, added some FIXMEs.
|
|
43674503
|
2015-03-18T10:05:36
|
|
Patched to compile on C89 compilers.
|
|
9a83151e
|
2015-03-18T09:59:22
|
|
PulseAudio: Added multiple device support, other cleanups.
Thanks to Dominik Frizel for most of the effort on this!
Fixes Bugzilla #2730.
|
|
f9cfd9fa
|
2015-03-18T02:01:17
|
|
Bunch of reworking to how we manage audio devices.
Device enumeration now happens at startup and then is managed exclusively
through hotplugging instead of full redetection. The device name list now has
a unique "handle" associated with each item and SDL will pass this to the
backend so they don't have to figure out how a human readable name maps to
real hardware for a second time.
Other cleanups, fixes, improvements, plus all the audio backends updated to
the new interface...largely untested at this point, though.
|
|
73feb8c0
|
2015-03-18T00:56:33
|
|
Fixed a compiler warning.
|
|
89be609a
|
2015-03-18T01:14:45
|
|
Wayland: Properly discover displays and their modes.
Fixes Bugzilla #2913.
|
|
522fd829
|
2015-03-17T19:45:47
|
|
WinRT: made OpenGL window-init work with latest round of ANGLE/WinRT updates
Various constants in ANGLE/WinRT, both in MSOpenTech's ms-master branch, and
in Google's branch, were changed again. This change makes SDL/WinRT work with
them.
To note, the ms-master branch (of ANGLE) was updated via this merge:
https://github.com/MSOpenTech/angle/commit/bbd2eb0a9c453a941f2c7abacf616d5a66b6be92#diff-d1377fbe747de154e1bfcf7221d3de67
|
|
b12ea759
|
2015-03-17T10:25:21
|
|
WinRT: another ANGLE/OpenGL-initialization, error messaging tweak
|
|
1083ae22
|
2015-03-17T10:22:36
|
|
WinRT: ANGLE/OpenGLES-initialization, error message improvements
|
|
0e02ce08
|
2015-03-16T02:11:39
|
|
Initial work on audio device hotplug support.
This fills in the core pieces and fully implements it for Mac OS X.
Most other platforms, at the moment, will report a disconnected device if
it fails to write audio, but don't notice if the system's device list changed
at all.
|
|
5b7ddd53
|
2015-03-15T19:25:10
|
|
Updated name of assert type in test program.
|
|
809b7be2
|
2015-03-13T12:20:17
|
|
Cleaning out a silly coding style I used to use.
Changed all the "return (x);" lines to "return x;"
|
|
3a532588
|
2015-03-13T00:48:30
|
|
Removed an unnecessary #ifdef.
|
|
da843f6a
|
2015-03-11T21:14:21
|
|
Updated internal documentation comments.
|