|
fe6c797c
|
2015-04-10T23:30:31
|
|
Fixed an iOS view orientation issue when SDL_GL_CreateContext or SDL_CreateRenderer is called.
|
|
162ef5ea
|
2015-03-24T13:52:01
|
|
Cleanups in the joystick code.
Removed some redundant state and other confusions.
Fixes Bugzilla #2738.
|
|
8a58e12f
|
2015-03-23T20:21:45
|
|
Updated test program for Emscripten.
|
|
e9a7a81f
|
2015-03-19T22:20:12
|
|
Immediately minimize the goofy window in testaudiohotplug.
|
|
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.
|
|
f9adb453
|
2015-02-18T21:31:21
|
|
Removed redundant include statements from test programs.
The needed header files are already included with SDL.h. Still including them in
the test programs is confusing because it somehow suggests they would be needed.
|
|
cec3efe6
|
2015-02-15T11:33:39
|
|
Fixed compile warning about unused variable in wave test program.
|
|
d1932834
|
2015-02-12T21:40:53
|
|
Fixed test programs for joystick not exiting on events after first disconnect.
Exit was broken since the main loop extraction needed for Emscripten support
because the former local but now global variables were not reset correctly.
|
|
b88ca1b4
|
2015-02-10T16:28:56
|
|
the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here.
Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here. Not 5 or 10 depending on the architecture.
More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802
|
|
39c41bb9
|
2015-02-10T20:40:03
|
|
Fixed bug 2873 - Joystick test won't reload after reattach
lectem
-plug in the joystick
-start testjoystick 0
-unplug
-replug
The joystick is detected but doesn't enter the loop anymore since done==SDL_TRUE
|
|
bd61c276
|
2015-02-10T20:31:05
|
|
Fixed compiling test with older C.
|
|
c17a5b11
|
2015-02-07T22:40:36
|
|
Fixed bug 2866 - testrelative.c: patch to make the orange box wrap around
Eric Wasylishen
Here's a patch to make the 'testrelative' demo program more useful: it just makes the orange rectangle wrap around. Previously, the orange cursor would just disappear off screen if you move the mouse a lot in one direction, so it was hard to tell if relative mouse mode was still working.
|
|
b48e54aa
|
2015-01-26T22:00:29
|
|
Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation
Jonas Kulla
The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c.
I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along.
|
|
4b3f0d6d
|
2015-01-16T23:03:14
|
|
Fixed two warnings about initialized but unused local variables in tests.
|
|
31832d2a
|
2014-12-25T22:47:04
|
|
Removed missing test program from Makefile.
|
|
97e87667
|
2014-12-25T21:42:56
|
|
Fixed compile errors in example programs.
|
|
e8467cbc
|
2014-12-24T22:22:35
|
|
Maybe actually patched to compile this time?
|
|
9c38244f
|
2014-12-24T13:21:28
|
|
Really patched to compile this time?
|
|
9f111ce4
|
2014-12-24T13:16:27
|
|
Patched to compile.
|
|
eab2433f
|
2014-12-24T02:12:16
|
|
Maybe patched to compile on Windows for real now?
|
|
b0ebfabf
|
2014-12-24T02:06:38
|
|
Patched to compile on Windows.
|
|
707c11f6
|
2014-12-24T02:01:12
|
|
Patched to compile on non-Emscripten targets.
|
|
fe40a172
|
2014-12-18T00:19:52
|
|
Initial merge of Emscripten port!
With this commit, you can compile SDL2 with Emscripten
( http://emscripten.org/ ), and make your SDL-based C/C++ program
into a web app.
This port was due to the efforts of several people, including: Charlie Birks,
Sathyanarayanan Gunasekaran, Jukka Jyl?nki, Alon Zakai, Edward Rudd,
Bruce Mitchener, and Martin Gerhardy. (Thanks, everyone!)
|
|
b9707732
|
2014-12-12T21:51:30
|
|
Removed unused includes and functions from test program.
|
|
269c2476
|
2014-12-12T21:02:46
|
|
Replaced sqrt() with SDL_sqrt() in test program.
|
|
701c9707
|
2014-12-12T21:00:25
|
|
Removed global variable from test program.
On Android starting the application after a previous quit did not always work.
Android keeps VM processes for a faster restart and therefore the loaded *.so.
|
|
d9991154
|
2014-12-10T21:13:43
|
|
Fixed setting text to clipboard in controllermap program.
|
|
45fa5642
|
2014-12-10T21:10:55
|
|
Added comments in example program.
|
|
73daadb7
|
2014-12-03T12:23:17
|
|
switch to use SDL_PRI* macros for long long formatting everywhere.
|
|
70438be2
|
2014-12-03T10:55:23
|
|
WinRT: fixed bug whereby SDL would override an app's default orientation
WinRT apps can set a default, preferred orientation via a .appxmanifest file.
SDL was overriding this on app startup, and making the app use all possible
orientations (landscape and portrait).
Thanks to Eric Wing for the heads up on this!
|
|
52760dcd
|
2014-11-30T20:55:27
|
|
Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes
|
|
8c9341b9
|
2014-11-23T15:39:28
|
|
add "i" shortcut to testgesture tool to log # of fingers down on the touch devices.
|
|
9c398852
|
2014-11-22T22:20:40
|
|
Corrected header file documentation comment.
|
|
743ba2f4
|
2014-11-07T10:02:45
|
|
Added missing brackets in test source assert messages.
|
|
e11969a7
|
2014-11-07T10:01:20
|
|
Fixed two typos in test source.
|
|
5f9ea7ed
|
2014-09-17T14:49:36
|
|
Haptic: Deal with negative periodic magnitudes (thanks, Elias!).
A negative periodic magnitude doesn't exist in Windows' and MacOS' FF APIs
The periodic magnitude parameter of the SDL Haptic API is based on the Linux
FF API, so it means they are not directly compatible:
'dwMagnitude' is a 'DWORD', which is unsigned.
Fixes Bugzilla #2701.
|
|
4544343b
|
2014-09-17T11:41:12
|
|
[Android] Fixes #2480, music does not pause when process backgrounded
This modifies SDL_PauseAudio behavior to pause all audio devices instead of
just the default one (required on Android, at least for testmultiaudio on my
Nexus 4 which reported 2 audio devices).
It also changes SDL_PauseAudioDevice to retain the device lock from pause until
resume in order to save battery in mobile devices.
|
|
24c86b55
|
2014-09-11T19:24:42
|
|
[X11] Reconcile logical keyboard state with physical state on FocusIn
since the window system doesn't do it for us like other platforms.
This prevents sticky keys and missed keys when going in and out
of focus, for example Alt would appear to stick if switching away
from an SDL app with Alt-Tab and had to be pressed again.
CR: Sam
|
|
96d23f6a
|
2014-08-20T22:51:56
|
|
Fixed typos in test program.
|
|
aaefa6a8
|
2014-08-20T22:49:59
|
|
Fixed not needed standard includes in test program.
|
|
ed543503
|
2014-08-20T22:47:07
|
|
Fixed warnings about unused value in test program.
|
|
a0cdcb0a
|
2014-08-20T22:44:15
|
|
Fixed warnings about unused functions in test program.
|
|
005da280
|
2014-08-20T22:40:56
|
|
Fixed warnings about missing initializers in test program.
|
|
2a13cab9
|
2014-08-17T10:10:41
|
|
Fixed bug 2688 - failure to build test/loopwavequeue.c on Linux
|
|
d72c61d8
|
2014-08-16T16:50:10
|
|
Haptic: Add some missing haptic types to test, and fix wrong array-sizes.
Thanks, Elias!
Fixes Bugzilla #2686.
(along with the last several commits.)
|
|
57db2790
|
2014-08-16T16:47:42
|
|
Haptic: Fix the saturation and deadband parameters' available range.
There was a misconception that Linux's saturation and deadband parameters -
on which the corresponding SDL parameters were based - use only half of the
possible range.
Thanks, Elias!
Partially fixes Bugzilla #2686.
|
|
6fef39d6
|
2014-08-06T11:34:54
|
|
Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers
|
|
f30e120a
|
2014-07-22T21:41:49
|
|
Added audio device buffer queueing API.
|
|
962c9911
|
2014-07-07T23:33:57
|
|
Update audio testautomation: more coverage; added SDL_PauseAudio test /w callback coverage
|
|
97bdefe2
|
2014-07-07T20:26:21
|
|
Enable 2 disabled audio tests (since bug 1396 is fixed and they pass now)
|
|
de1b22e7
|
2014-07-07T10:39:02
|
|
Fixed compiler warning
|
|
c5812c55
|
2014-07-05T16:11:23
|
|
2620 solaris port missing atomics if not using gcc
|
|
b29740b8
|
2014-06-25T17:06:12
|
|
Merged Ryan's SDL-gui-backend branch.
Adds three APIs, and implements them on X11, Cocoa, and Windows:
- SDL_CaptureMouse()
- SDL_GetGlobalMouseState()
- SDL_SetWindowHitTest()
|
|
3344db40
|
2014-06-23T11:06:50
|
|
Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings
|
|
ce84813a
|
2014-06-21T11:24:06
|
|
commit 9e211e646f9d51dc1372c9f3c8f47a78caf4f2a5
Author: Sam Clegg <sbc@chromium.org>
Date: Fri Jun 20 12:52:11 2014
Fix win32 build which was failing due to missing PRIs64.
This change adds definitions for the C99 PRIs16 and PRIu64
which are missing from <stdint.h> on at last win32 and
possibly other platforms.
These already existed in testgesture.c so I removed them
from there also.
|
|
ea93820e
|
2014-06-09T17:25:03
|
|
Fixed format string faults in audio tests.
They were found by the recent code annotations.
|
|
efa2d058
|
2014-06-08T18:18:13
|
|
Fixes audio for Native Client, and other fixes...
- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
|
|
cde32ccc
|
2014-06-07T18:20:25
|
|
Fixed compile warnings
|
|
0ddd252f
|
2014-06-07T17:25:56
|
|
Fixed initializing test event queue
|
|
5907cfaa
|
2014-06-07T17:25:35
|
|
Fixed another loopwave crash with no command line arguments
|
|
a93474a2
|
2014-06-07T17:09:32
|
|
Fixed loopwave crash with no command line arguments
|
|
93aabd32
|
2014-06-06T18:33:17
|
|
Adds missing Makefile for NACL test and a couple of smaller fixes
|
|
1e352d79
|
2014-06-06T15:45:59
|
|
Chrome's Native Client backend implementation
|
|
31de8f8b
|
2014-06-05T00:49:25
|
|
Minor tweaks to testhittesting.
|
|
2d38a71a
|
2014-06-05T00:45:16
|
|
Added SDL_HITTEST_RESIZE_*, and implemented for X11.
|
|
bf03bec1
|
2014-05-30T01:48:26
|
|
Patched to compile on Visual Studio.
|
|
4ef6edda
|
2014-05-30T01:48:08
|
|
Make some printf() calls into SDL_Log() so I can see them on Windows. :)
|
|
8d11db2f
|
2014-05-29T22:48:10
|
|
Added missing stdio include in test program.
|
|
3a803358
|
2014-05-29T22:44:08
|
|
Fixed use of uninitialized variable warning in test program.
|
|
7364ed01
|
2014-05-28T01:27:27
|
|
Added a few debug printf() calls.
|
|
98c03f39
|
2014-05-28T01:22:47
|
|
Changed drag area API to a hit-testing API.
There were several good arguments for this: it's how Windows works with
WM_NCHITTEST, SDL doesn't need to manage a list of rects, it allows more
control over the regions (how do you use rects to cleanly surround a circular
button?), the callback can be more optimized than a iterating a list of
rects, and you don't have to send an updated list of rects whenever the
window resizes or layout changes.
|
|
3cbc83ef
|
2014-05-27T01:27:42
|
|
First shot at SDL_SetWindowDragAreas().
Only Cocoa implemented right now.
|
|
9bc47465
|
2014-05-18T21:11:30
|
|
Changed C++ style comments.
|
|
ca11d7c8
|
2014-05-17T22:02:25
|
|
Changed C++ style comments to fix pedantic warnings.
|
|
f565d81a
|
2014-05-10T15:57:09
|
|
A few more ANDROID for __ANDROID__ replacements
|
|
548a0ee7
|
2014-05-05T22:21:26
|
|
__ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.
|
|
d9ffe549
|
2014-04-26T12:29:40
|
|
Fixed the inertia effect in the test program
|
|
65c82148
|
2014-04-19T15:28:13
|
|
Removed global variable from test program.
|
|
353feb5c
|
2014-04-17T22:40:57
|
|
Fixed bug 2475 - Incorrect SDL_Log() format specifiers in test/testgesture.c
rettichschnidi
The floats should not be interpreted as integers. Patch against the current head attached.
|
|
3dcb451f
|
2014-04-09T21:29:19
|
|
Added a README file regarding WinRT support
To note, this file is currently formatted with CRLF line endings, rather than
LF, to allow the file to be viewed with Notepad.
|
|
83200a32
|
2014-04-05T23:50:09
|
|
Removed empty statements.
|
|
9a56cde2
|
2014-04-04T23:56:15
|
|
Removed unused variable from test program.
|
|
229b438d
|
2014-03-29T12:27:27
|
|
Fixed assertion loading button.bmp in testgamecontroller
|
|
22a7dd0b
|
2014-03-24T11:42:09
|
|
Fixes #2456, controllermap's undo does not work correctly (by Bogdan Marinov)
|
|
25919bf2
|
2014-03-23T23:08:26
|
|
Fixed warning on Mac OS X
|
|
a7b84069
|
2014-03-19T21:48:32
|
|
Fix visualstudio build break introduced by changeset 8645
|
|
f018ca46
|
2014-03-19T21:39:55
|
|
Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
|
|
1f45d4b6
|
2014-03-18T12:33:57
|
|
controllermap: Don't treat SDL_HAT_CENTERED as a valid input.
|
|
7a36070a
|
2014-03-11T07:17:56
|
|
Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError
|
|
1367bf87
|
2014-03-09T11:36:47
|
|
Integrated David Ludwig's support for Windows RT
|
|
05c23063
|
2014-03-09T11:06:11
|
|
Fixed line endings on WinRT source code
|
|
01550b96
|
2014-02-20T16:12:11
|
|
Improve testgles2 exit behavior (useful on Android)
|
|
2d92a372
|
2014-02-10T11:29:48
|
|
Make controllermap, etc, work on platforms with hardcoded window sizes.
This makes sure everything renders correctly, even if, say, an Android device
gives you a certain "window" size no matter what you ask for.
|
|
9268c7a1
|
2014-02-10T09:26:22
|
|
Backed out 0869362ccc3c
The render target usage in controllermap is required if you are forced to use
the app at a different resolution than the one the art has been made for, for
example on Android, where you don't control the resolution.
(The coordinates for each button are hardcoded to the art size, and appear out
of place otherwise)
|
|
f0aa97d2
|
2014-02-10T01:43:01
|
|
Removed unused function.
|
|
b17fd9a1
|
2014-02-10T01:41:58
|
|
Replace testgamecontroller visualization mode with something more useful.
|
|
9a15da84
|
2014-02-09T15:20:41
|
|
No need to use a render target here.
|
|
d3f64213
|
2014-02-07T09:35:33
|
|
slight adjustment to the hot plug test to allow it to be run with hap tics disabled
|
|
257ab5f5
|
2014-02-06T07:38:41
|
|
Fixed return values on testhotplug mainline.
|