David Ludwig
7eb00a855c
WinRT: use OS-native vsnprintf, which allows SDL_Log to format wide strings (via %ls)
2013-02-03 12:33:15 -05:00
David Ludwig
4f6ffdc590
WinRT: started refactoring Direct3D 11.1 code into a new SDL_Renderer backend
2013-02-02 19:32:44 -05:00
David Ludwig
4d3efcce33
WinRT: added platform-specific APIs to access common, writable folder paths
2013-01-22 21:45:59 -05:00
David Ludwig
1221e49e58
WinRT: added support for the SDL_loadso APIs, via LoadPackagedLibrary
2012-12-31 10:30:38 -05:00
David Ludwig
b2fc5e5186
WinRT: fixed XAudio2 crash bug + enabled XAudio2 backend
2012-12-30 12:57:33 -05:00
David Ludwig
1d8ca8fb11
WinRT: merged with the latest official SDL source
2012-12-16 22:02:01 -05:00
Andreas Schiffler
f9c94c75e8
Refactor/fix test lib harness, assert and log component; add harness driver; port platform suite from GSOC code
2012-12-14 23:05:34 -08:00
Sam Lantinga
26cf48ded8
Improvements from Alfred:
...
- Add new SDL_WINDOW_FULLSCREEN_DESKTOP video mode, makes a fullscreen window the size of the desktop (i.e no window manager mode change)
- Fix crash in warp mouse if you specified null as the window
- Added new SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS Hint, if set to 0 then don't minimize a fullscreen window on focus lost (if not set or set to non-zero then minimize on focus loss)
2012-12-15 00:30:17 +00:00
Ryan C. Gordon
ed4988c379
Fixed comment on SDL_JoystickGetGUIDString().
2012-12-11 16:53:38 -05:00
Sam Lantinga
eee39a0603
Don't build with X11 by default since it's not included with the latest versions of Mac OS X. Cocoa is the preferred path here.
2012-12-11 12:03:00 -08:00
Sam Lantinga
10abca2c02
Changes from Alfred:
...
- rename JoystickGUID -> SDL_JoystickGUID
- change SDL_JoystickGetGUIDString to take the string as an arg, rather than doing a malloc
2012-12-11 11:54:32 -08:00
Ryan C. Gordon
211e1cb7ec
Updated Linux joystick code to support hotplug, GUIDs, etc.
...
This uses libudev for hotplug, but it's optional, so we'll just try to find
some reasonable defaults without it (maybe an older Linux box or under
FreeBSD's Linux emulation?).
2012-12-11 12:07:06 -05:00
Andreas Schiffler
e1c75c0fc9
Added existing common.c/.h functions to test lib; minor assert refactoring
2012-12-09 17:56:19 -08:00
Andreas Schiffler
e96fd5ab17
Added to harness in test lib (work in progress)
2012-12-04 19:21:10 -08:00
Andreas Schiffler
ca03267939
Update assert API in test lib; add to and harness; add test lib to VS2010 and VS2012 solution; fix VS2012 solution; fix compiler warning
2012-12-01 14:48:30 -08:00
Andreas Schiffler
7c313311a4
Add log, assert and harness (partial) to test lib
2012-11-30 23:25:34 -08:00
Andreas Schiffler
8515d11219
Add crc32 and md5 to test lib
2012-11-28 19:19:57 -08:00
Andreas Schiffler
2cfb6fbb8e
Add fuzzer to test lib
2012-11-27 21:40:46 -08:00
Sam Lantinga
3f5fd55965
Organized joystick hotplug code a bit.
...
Cleaned up names, return types, etc.
2012-11-27 00:58:12 -08:00
Andreas Schiffler
8ee87a4da7
Add random module to test lib
2012-11-26 23:12:47 -08:00
Sam Lantinga
23950f0183
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
2012-11-26 16:37:54 -08:00
David Ludwig
9fc6a63d06
Merged with latest official SDL code
2012-11-26 16:58:41 -05:00
Sam Lantinga
9c2cdf677b
Work in progress on an SDL test library
2012-11-26 07:53:56 -08:00
David Ludwig
aca89bc12b
WinRT: fixed Win32 builds by prevented __WINRT__ from being defined
2012-11-25 14:45:04 -05:00
David Ludwig
a88bd2513b
WinRT: got timers working
2012-11-24 12:07:35 -05:00
David Ludwig
3df1f642d6
WinRT: cleaned up SDL_platform_windowsrt.h
2012-11-24 11:46:15 -05:00
David Ludwig
c728870637
WinRT: disabled the XAudio2 backend, pending work on stability and quality
2012-11-24 11:20:59 -05:00
David Ludwig
eb5bc65363
WinRT: cleanups in SDL_platform.h
2012-11-23 00:02:27 -05:00
David Ludwig
a10ba5bcb9
WinRT: added a skeleton SDL backend for C++11-based threads
2012-11-22 23:03:56 -05:00
David Ludwig
18cc7d9a0c
WinRT: got the XAudio2 backend compiling (but not running, yet)
2012-11-22 22:34:50 -05:00
David Ludwig
7a6a66c59e
WinRT: made SDL_platform.h auto-detect WinRT
2012-11-22 13:11:05 -05:00
DavidLudwig
4f845c6e57
Merged with latest official SDL sources.
2012-11-12 13:25:44 -05:00
Sam Lantinga
d3d6706dfc
SDL no longer grabs the keyboard by default on X11.
...
You can re-enable that functionality by setting a new hint SDL_HINT_GRAB_KEYBOARD
2012-11-07 15:55:43 -08:00
Sam Lantinga
4ff7b0238c
Added SDL_ReadU8() and SDL_WriteU8() for consistency with the rest of the API.
2012-11-04 23:44:13 -08:00
Sam Lantinga
9e89faaf15
Synchronized the on-screen keyboard state with whether we are accepting text input.
...
The functions to show/hide/toggle the on-screen keyboard have been folded into the text input state.
Calling SDL_StartTextInput() will automatically show the on-screen keyboard if it's available.
Calling SDL_StopTextInput() will automatically hide the on-screen keyboard if it's available.
There is a new API function SDL_IsTextInputActive() which will return whether text input is currently active.
Text input is disabled by default, you must call SDL_StartTextInput() when you are ready to accept text input.
SDL_HasScreenKeyboardSupport() no longer needs to be passed a window.
The iPhone-specific on-screen keyboard functions have been removed.
2012-11-04 21:53:28 -08:00
David Ludwig
d202bff7f5
merged with latest sources
2012-11-04 13:22:40 -05:00
David Ludwig
1621b95c10
WinRT: fixed SDL_main-related linker error when __WINRT__ is defined in an app
2012-11-04 13:17:18 -05:00
Sam Lantinga
2a972eadfe
Added documentation on loading assets on Android.
2012-11-04 09:45:18 -08:00
DavidLudwig
3114de8407
Merge with latest, official SDL code
2012-11-04 09:46:59 -05:00
David Ludwig
345e645cb5
WinRT: created a skeleton for a video driver, using a copy of the dummy driver for a base
2012-10-27 22:48:04 -04:00
David Ludwig
7b60f488d9
WinRT: disabled threads to prevent SDL_Init(SDL_INIT_VIDEO) from crashing
2012-10-27 22:27:51 -04:00
David Ludwig
39084bc6b8
WinRT: made SDL.dll compile for ARM (and not just x86 or x64)
2012-10-27 18:39:09 -04:00
David Ludwig
db346c5593
WinRT: used Win32-style DECLSPEC and SDLCALL macros (for building a .dll)
2012-10-27 18:21:31 -04:00
Sam Lantinga
e7ea5f6646
Added an API to get the size of a file - WARNING! ABI CHANGE!
2012-11-03 18:43:36 -07:00
Ryan C. Gordon
6c4223b251
More compiler warning fixes.
2012-11-02 14:03:14 -04:00
Ryan C. Gordon
28fbd54ae5
Fixed compiler warnings about "/*" inside a multi-line comment.
2012-11-02 14:00:44 -04:00
Sam Lantinga
525b3ca0e9
Added some platform specific API functions for Android:
...
SDL_AndroidGetJNIEnv()
SDL_AndroidGetActivity()
SDL_AndroidGetInternalStoragePath()
SDL_AndroidGetExternalStorageState()
SDL_AndroidGetExternalStoragePath()
2012-11-02 02:22:32 -07:00
Sam Lantinga
017bece619
We might actually have PI
2012-11-01 00:12:57 -07:00
Sam Lantinga
4bbe3a7073
Added an assert log category, and NSLog support on Mac OS X and iOS
2012-10-30 12:30:02 -07:00
Sam Lantinga
07f0419650
Added some documentation on the behavior of SDL_ShowMessageBox()
2012-10-30 10:07:32 -07:00