Commit graph

1263 commits

Author SHA1 Message Date
David Ludwig
e3d03f99fd WinRT: added a function to retrieve the root path to the installed app 2013-02-03 12:49:12 -05:00
David Ludwig
31e3d85727 WinRT: made path retrieval functions return wide-char strings 2013-02-03 12:34:34 -05:00
David Ludwig
e14a2fd8b6 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
f7b08ae60b WinRT: started refactoring Direct3D 11.1 code into a new SDL_Renderer backend 2013-02-02 19:32:44 -05:00
David Ludwig
61cc1f3aa4 WinRT: added platform-specific APIs to access common, writable folder paths 2013-01-22 21:45:59 -05:00
Sam Lantinga
831e12e08b Fixed building SDL under Xcode 2013-02-11 11:09:55 -08:00
Sam Lantinga
4809ef4290 Fixed typo in documentation 2013-01-27 15:53:24 -08:00
Tim Angus
bd462555d7 Fix warning in SDL_keyboard.h 2013-01-17 11:54:14 +00:00
Andreas Schiffler
b4a190fb6f Update SDL_InvalidParamError to take param name; add additional fuzzer function; add new tests to keyboard test suite; improve surface test suite 2013-01-12 22:58:12 -08:00
Andreas Schiffler
a20096403e Add new internal error message for invalid parameters; add validation of input rect in SDL_SetTextInputRect; add test cases for SDL_SetTextInputRect to keyboard suite 2013-01-11 20:36:39 -08:00
Gabriel Jacobo
678523ea7c Android: Access APK files using AssetFileDescriptor 2013-01-08 09:30:53 -03:00
David Ludwig
1ce8f1c824 WinRT: added support for the SDL_loadso APIs, via LoadPackagedLibrary 2012-12-31 10:30:38 -05:00
David Ludwig
0b7cfac19e WinRT: fixed XAudio2 crash bug + enabled XAudio2 backend 2012-12-30 12:57:33 -05:00
Sam Lantinga
290bbdda14 Fixed bug 1653 - comma at the end of enum
Martin Gerhardy 2012-11-30 03:07:14 PST

SDL_gamecontroller.h:61:29: warning: comma at end of enumerator list [-pedantic]
2012-12-31 16:29:01 -08:00
Sam Lantinga
1a92f18381 Added SDL_SetWindowMaximumSize() and SDL_GetWindowMaximumSize()
Also fixed Cocoa implementation so that it affects client area, not the whole window area.
2012-12-31 12:15:25 -08:00
Sam Lantinga
ce28a79602 Added SDL_GetDisplayName(), with implementation for Mac OS X 2012-12-31 11:07:46 -08:00
Sam Lantinga
5e519b21ed Renamed SDL_GetWindowDisplay() to SDL_GetWindowDisplayIndex() 2012-12-31 10:29:17 -08:00
Sam Lantinga
f4294fd806 Improvements from Alfred:
- Added new SDL_HINT_ALLOW_TOPMOST hint, when set to "0" then never set the topmost bit on a window. Useful when debugging fullscreen issues.
- fixed crash in windows joystick scanning if we failed to load the xinput dll
- added support for SDL_WINDOW_FULLSCREEN_DESKTOP under windows
- synthesize relative mouse movements if directinput fails to send relative moves, happens under virtual box.
2012-12-31 09:30:15 -08:00
Ryan C. Gordon
da7983235f Better compiler warning fix for gcc2. 2012-12-28 20:01:41 -05:00
Ryan C. Gordon
cfbe53d1df Fixing buildbot on Haiku.
Damn you, gcc2.
2012-12-28 18:15:02 -05:00
Ryan C. Gordon
fc98164d8d Replaced Gnome screensaver hack with D-Bus messages to org.gnome.ScreenSaver. 2012-12-28 03:46:55 -05:00
Andreas Schiffler
9ddb1f459d Add surface test suite; minor improvements to render suite; refactor image saving into test lib compare function; fix for Haiku build 2012-12-26 22:26:44 -08:00
Andreas Schiffler
d9a9083464 Added audio test suite; minor code cleanups in test lib 2012-12-24 14:43:57 -08:00
Sam Lantinga
b11f967898 Fixed const correctness in the test harness 2012-12-22 17:24:14 -08:00
Sam Lantinga
f1d2b88a2f Merged Andreas' changes 2012-12-22 16:52:00 -08:00
Andreas Schiffler
81eb615d45 Test lib updates: updated harness to support filtering, added surface comparer, updated interface to test images; added Render test suite from GSOC project 2012-12-22 16:06:55 -08:00
Sam Lantinga
062602b52b The latest version of MinGW-w64 has the necessary headers and libraries: http://mingw-w64.sourceforge.net/ 2012-12-22 11:23:18 -08:00
Andreas Schiffler
f5af517cd2 Add image data definitions (for render tests) to test lib 2012-12-20 08:50:36 -08:00
Ryan C. Gordon
02c860852a Patched to compile when SDL_ASSERT_LEVEL is zero.
--HG--
extra : rebase_source : a8a29d66692b1bba00003c017c1e3785ce008780
2012-12-18 06:35:49 -05:00
David Ludwig
643b3f0a30 WinRT: merged with the latest official SDL source 2012-12-16 22:02:01 -05:00
Andreas Schiffler
a6185d6ad9 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
dfe7f2bc59 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
3da6d29ab7 Fixed comment on SDL_JoystickGetGUIDString(). 2012-12-11 16:53:38 -05:00
Sam Lantinga
71f9f9517c 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
89ef9e3168 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
c8713a62c1 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
84aaf1fed9 Added existing common.c/.h functions to test lib; minor assert refactoring 2012-12-09 17:56:19 -08:00
Andreas Schiffler
23ed51ea1b Added to harness in test lib (work in progress) 2012-12-04 19:21:10 -08:00
Andreas Schiffler
d4bfe07a4f 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
a8af7eca89 Add log, assert and harness (partial) to test lib 2012-11-30 23:25:34 -08:00
Andreas Schiffler
7daed4ab7b Add crc32 and md5 to test lib 2012-11-28 19:19:57 -08:00
Andreas Schiffler
732f28216b Add fuzzer to test lib 2012-11-27 21:40:46 -08:00
Sam Lantinga
03e08a6a79 Organized joystick hotplug code a bit.
Cleaned up names, return types, etc.
2012-11-27 00:58:12 -08:00
Andreas Schiffler
3483eda505 Add random module to test lib 2012-11-26 23:12:47 -08:00
Sam Lantinga
34b88dfaae Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds 2012-11-26 16:37:54 -08:00
David Ludwig
022b2a3cc4 Merged with latest official SDL code 2012-11-26 16:58:41 -05:00
Sam Lantinga
59a04adfba Work in progress on an SDL test library 2012-11-26 07:53:56 -08:00
David Ludwig
615aeebd1a WinRT: fixed Win32 builds by prevented __WINRT__ from being defined 2012-11-25 14:45:04 -05:00
David Ludwig
a83b10fba8 WinRT: got timers working 2012-11-24 12:07:35 -05:00
David Ludwig
afa31553cd WinRT: cleaned up SDL_platform_windowsrt.h 2012-11-24 11:46:15 -05:00