Sam Lantinga
f52f040b3d
First pass at a simple drag and drop API, allowing you to accept files dropped into your application.
2011-11-20 19:38:18 -05:00
Sam Lantinga
51dad9cf5e
GIMP wrote bmp files in RGBX format. Huh.
2011-11-09 22:53:44 -05:00
Sam Lantinga
2c5a3ddb62
Fixed a typo in the header.
2011-11-07 02:25:01 -05:00
Sam Lantinga
ad2a21d404
Lots of fixes importing SDL source wholesale into a new iOS project
...
--HG--
rename : src/libm/math.h => src/libm/math_libm.h
2011-10-31 05:56:58 -04:00
Sam Lantinga
0c041192f6
SDL_ConvertPixels() returns 0 on success
2011-10-31 02:44:21 -04:00
Sam Lantinga
f7c2849eb9
The draw color affects RenderClear() as well. (thanks to the feedback form to whoever pointed this out)
2011-10-30 17:53:54 -04:00
Sam Lantinga
efc259dce1
Fixed typo - thanks Sheena!
2011-10-30 17:31:59 -04:00
Andreas Schiffler
c5e05365c6
Update SDL_HasClipboardText functions to return value based on clipboard content; Fix memory leak in fallback SetClipboard implementation
2011-10-29 23:43:59 -07:00
Sam Lantinga
ee56d1a748
Added SDL_GetScancodeFromName() and SDL_GetKeyFromName()
2011-10-24 21:34:54 -04:00
Tim Angus
aa76adf490
* Android's InputStream::skip is apparently buggy, so instead read into a dummy buffer
2011-10-14 17:29:49 +01:00
Ryan C. Gordon
32104bc32e
Specify joystick (accelerometer) support for iOS in the config header.
...
Fixes Bugzilla #1292 .
Thanks to Vittorio Giovara for the patch!
2011-10-14 00:20:44 -04:00
Ryan C. Gordon
0863dee582
1.3 API CHANGE: Add support for naming threads.
...
--HG--
extra : rebase_source : ae532d4b4d68ef86de0fc2cb6794a622e0841bce
2011-10-02 00:29:16 -04:00
Ryan C. Gordon
8cd891d753
Fixed compiler warnings on Haiku.
2011-09-18 03:52:08 +00:00
Andreas Schiffler
6c74730331
Fix SDL_RectEquals define
2011-09-17 22:35:10 -07:00
Andreas Schiffler
6e3ff8fdf5
Add NULL handling in SDL_RectEmpty and SDL_RectEquals
2011-09-16 08:25:49 -07:00
Ryan C. Gordon
15c4fb2a9d
Clean up the win32 compiler warnings for SDL threads, in the 1.3 branch.
...
--HG--
extra : rebase_source : 420916ed06d79e2d3c1d50e5fb40314ac7d94d85
2011-09-12 13:36:38 -04:00
Ryan C. Gordon
caedc60d07
Removed legacy Mac OS X dlcompat code.
...
It was only needed for Mac OS X 10.0 through 10.2, so it seems silly to keep
it around for SDL 1.3.
I'll leave it in the 1.2 branch for now, though.
2011-09-09 00:34:48 -04:00
Andreas Schiffler
1ee4e6dc4f
Update SDL_REVISION
2011-09-04 20:45:38 -07:00
Ryan C. Gordon
981cef30eb
Fixed another Apple typedef in SDL_opengl.h
2011-09-02 13:54:45 -04:00
Ryan C. Gordon
8f75030cce
Backed out SDL_config.h overwrite that got committed by accident.
2011-08-30 17:11:51 -04:00
Ryan C. Gordon
d2587c649d
Automated merge with https://bitbucket.org/Markusk/sdl-gsoc
2011-08-29 13:17:07 -04:00
Ryan C. Gordon
1787c68923
Fixed missing audio on iOS.
2011-08-29 00:27:43 -04:00
Ryan C. Gordon
3d9a685099
Fix another Apple conflict in SDL_opengl.h
2011-08-26 03:38:46 -04:00
Ryan C. Gordon
0daed19a0e
Removed the MAC_OS_X_VERSION_10_x macros from the 1.3 branch.
2011-08-25 03:11:28 -04:00
Ryan C. Gordon
b4c91cf7b3
Fixed -pedantic warning in SDL_assert.h.
...
Fixes Bugzilla #1282 .
2011-08-21 12:36:55 -04:00
Ryan C. Gordon
46bb3d8770
Implemented XAudio2 target for Windows (and Xbox360, theoretically!).
2011-08-04 01:07:09 -04:00
Ryan C. Gordon
6bd5c1b002
Reworked Windows waveOut code.
...
Implemented multi-device support, changed name to "winmm".
--HG--
rename : src/audio/windib/SDL_dibaudio.h => src/audio/winmm/SDL_winmm.h
2011-08-04 01:24:22 -04:00
Ryan C. Gordon
77f25419aa
Apple uses a void* for GLhandleARB, not an unsigned int.
2011-08-04 00:46:27 -04:00
Ryan C. Gordon
247346d526
Allow Android platforms to read from .apk files via the RWOPS interface.
...
Fixes Bugzilla #1261 .
Thanks to Tim Angus for the patch!
2011-07-29 16:51:25 -04:00
Ryan C. Gordon
4b70200bf8
Work on systems without sa_sigaction.
2011-07-20 16:35:37 -07:00
Markus Kauppila
e16810661d
Testing out implementation for skipping unsupported test
...
automatically.
2011-07-18 22:26:26 +03:00
Nathan Heisey
dfe639930e
Implemented pthread spinlocks.
2011-06-22 10:33:48 +00:00
Tim Angus
2f0bec3220
* SDL_IOS_IDLE_TIMER_DISABLED hint
2011-06-10 14:23:36 +01:00
Tim Angus
a36a856bf9
* SDL_IOS_ORIENTATIONS hint
2011-06-10 14:23:24 +01:00
Sam Lantinga
94e1b6970f
Make SDL_QuitRequested() return an SDL_bool
2011-06-12 12:23:39 -04:00
Ryan C. Gordon
c3ab04563b
Fixed gcc warnings for apps using SDL headers with -Wundef flag.
...
Fixes Bugzilla #1216 .
Thanks to Dimitris Zenios for the patch!
2011-06-06 12:20:04 -04:00
Andreas Schiffler
7004e4ae6d
Fixed global suite declaration segfault via external linkage declaration
2011-05-26 20:13:49 -07:00
Sam Lantinga
b62273437c
Clarified SDL_GetWindowSurface() documentation
...
Matthew Orlando to Sam
Someone asked in IRC whether they should free the surface from SDL_GetWindowSurface. The doc comment is a bit vague so i checked the code and revised the comment.
2011-04-22 09:06:29 -07:00
Sam Lantinga
401e97ad0c
Fixed so SDL_quit.h doesn't require SDL_compat.h
2011-04-21 09:50:29 -07:00
Ryan C. Gordon
b94f23a46d
Removed assertion list terminator (just do it like a normal linked list).
2011-04-19 14:12:56 -04:00
Sam Lantinga
1665c192e6
Minor missing parameter name
2011-04-18 12:20:30 -07:00
Sam Lantinga
b0660ba5ff
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
126bbbaa50
Added SDL_GetRenderer()
2011-04-04 09:29:13 -07:00
Sam Lantinga
85ad17e7d6
Added high resolution timing API: SDL_GetPerformanceCounter(), SDL_GetPerformanceFrequency()
2011-03-25 14:45:04 -07:00
Sam Lantinga
5c01c4797c
SDL 1.3 requires a 64-bit type for the platform.
2011-03-25 13:47:49 -07:00
Sam Lantinga
f0b1c9b859
The API sets the priority for the current thread, not an arbitrary thread.
...
Implemented thread priority as the 'nice' value on Linux. High priority threads require root permissions (you shouldn't give your game root permissions though!)
2011-03-25 12:44:06 -07:00
Sam Lantinga
bca33709c6
Implemented SDL_SetThreadPriority()
2011-03-25 10:47:49 -07:00
Sam Lantinga
7472736e2d
Fixed related function documentation
2011-03-22 10:48:33 -07:00
Ken Rogoway
791cca44b5
Split SDL_BlitScaled into SDL_UpperBlitScaled and SDL_LowerBlitScaled.
...
Fixed issue when calling SDL_BlitScaled() directly with src or dst rectangles that were out of bounds.
2011-03-13 22:38:41 -05:00
Sam Lantinga
5f721ad51f
Fixed error because intrin.h contains C++ code and can't be included in an extern "C" block.
2011-03-15 19:37:38 -07:00