Commit Graph

  • ace9a18a3d Fixed Android Lint warning in AndroidManifest.xml. If targetSdkVersion not set it becomes same as minSdkVersion and causes warning. Philipp Wiesemann 2013-06-09 11:51:59 +02:00
  • 52ec8b0045 Updated configure Sam Lantinga 2013-06-07 21:50:29 -07:00
  • bc032c1d7b Improved find_lib, gets the latest version of libpng, etc. Sam Lantinga 2013-06-07 21:47:23 -07:00
  • 61d2aee816 Check for well known XInput device GUIDs before enumerating the device list. Sam Lantinga 2013-06-07 18:26:55 -07:00
  • ef5dd95829 Removed redundant "Controller" names from gamepads, added mapping for Logitech F710 in DirectInput mode Sam Lantinga 2013-06-07 09:40:07 -07:00
  • 040fb5a8a3 Slightly more efficient to check the event type first Sam Lantinga 2013-06-07 09:39:10 -07:00
  • a3cdddf050 It's better not to have the full range of the axis (by 1 on the negative side) than turn 0 value into -1 Sam Lantinga 2013-06-07 08:48:25 -07:00
  • 17950d4dc7 Fixed bug 1897 - CPU spike on Windows with WM_EVENT and OpenGL Sam Lantinga 2013-06-06 23:18:36 -07:00
  • 49c28af42b Fixed crash trying to get the GUID of an invalid joystick index Sam Lantinga 2013-06-06 18:20:06 -07:00
  • fdd4b6aabf The triggers should be expanded out to the full range to match DirectInput behavior. The game controller code will scale them back to 0 - 32767 when it converts the triggers axes. Sam Lantinga 2013-06-06 17:59:01 -07:00
  • f62d534268 Remove unnecessary debugger detection logic again from Win32 SDL_LogOutput Andreas Schiffler 2013-06-06 07:25:41 -07:00
  • 93e8a274d6 Fixed compiling iOS demos Sam Lantinga 2013-06-05 23:11:20 -07:00
  • 895116188d Removed obsolete testsdl target Sam Lantinga 2013-06-05 23:09:13 -07:00
  • 9d951e2d16 Fixed building tests on iOS Sam Lantinga 2013-06-05 22:56:42 -07:00
  • 66367e81c9 Removed obsolete NoStdio configurations. Sam Lantinga 2013-06-05 22:35:13 -07:00
  • b35eab818b Added testautomation to the Visual Studio 2008 project. Sam Lantinga 2013-06-05 22:33:10 -07:00
  • 215b3b259b Fixed compile errors on iOS Sam Lantinga 2013-06-05 21:48:53 -07:00
  • 74f92adb17 The jump hack is no longer used. Sam Lantinga 2013-06-05 21:47:49 -07:00
  • 0ab9a7d71a Need to include SDL_main.h when we call SDL_main() Sam Lantinga 2013-06-05 21:38:54 -07:00
  • cdc319cb12 This patch isn't needed because you have the window and can do [nswindow contentView] yourself. I'm rolling this back so we minimize the things exposed that we have to keep consistent in the API. Sam Lantinga 2013-06-05 21:31:22 -07:00
  • 6a0ed22cdc Added some extra protection to notify the developer if they haven't initialized the application properly. Sam Lantinga 2013-06-05 21:23:59 -07:00
  • 1354508566 We already link SDL2_test by default now. Sam Lantinga 2013-06-05 21:14:26 -07:00
  • 3bff17cb2e Joystick: Only send joy events when focused. Jørgen P. Tjernø 2013-06-05 15:11:38 -07:00
  • 6e78c6aff1 Fixed doxygen warnings and corrected documentation in header files. Philipp Wiesemann 2013-06-05 23:33:15 +02:00
  • 5a1c4f777f Mac: Fix invalid PS3 controller mapping. Jørgen P. Tjernø 2013-06-05 12:48:44 -07:00
  • 5e9da0775c Win32: Fix issue with SetCapture & negative values. Jørgen P. Tjernø 2013-06-05 12:00:18 -07:00
  • 60d634fe86 Win32: Ignore WM_MOUSELEAVE in relative mode. Jørgen P. Tjernø 2013-06-05 12:00:15 -07:00
  • 6520cd55b2 Update SDL_LogOutput for WIN32 so it writes to the console Andreas Schiffler 2013-06-05 07:22:45 -07:00
  • a03a2650e9 Updated configure with Ryan's cygwin workaround Sam Lantinga 2013-06-04 22:13:06 -07:00
  • 4822c86099 Fixed build on newer Cygwin installs. Ryan C. Gordon 2013-06-05 00:42:39 -04:00
  • 0375acb1ab Mac: Fix incorrect relative jump on focus / start. Jørgen P. Tjernø 2013-06-04 14:54:49 -07:00
  • 9b8c5071e9 Mac: Hide cursor in relative mode. Jørgen P. Tjernø 2013-06-04 13:53:55 -07:00
  • b76f0d31de - fix misleading hint about minimising on focus loss Jørgen P. Tjernø 2013-06-04 13:47:51 -07:00
  • d87052e8fd Add missing VS2012 test projects; update VS2010 and VS2012 solutions; update keybord suite for VS compiler warnings Andreas Schiffler 2013-06-03 19:24:18 -07:00
  • 0d134ebbc0 Remove deprecated/deleted VS test projects Andreas Schiffler 2013-06-03 07:28:55 -07:00
  • 3645242ba8 Fix compilation with libX11 >= 1.5.99.902. Azamat H. Hackimov 2013-06-02 20:20:18 +06:00
  • de0c5b4bb5 Hopefully fixed mingw32 build Sam Lantinga 2013-06-02 08:48:52 -07:00
  • d6dbb779f0 Changed documentation in header because LocalReferenceHolder not public API. Philipp Wiesemann 2013-06-02 14:27:54 +02:00
  • 0fa5e74ce1 Changed haptic test program to use announced effect type. Philipp Wiesemann 2013-06-02 14:18:26 +02:00
  • aa1e431779 Fixed implicit function declaration for SDL_AndroidGetInternalStoragePath(). Philipp Wiesemann 2013-06-02 14:13:21 +02:00
  • 922efe43d8 Fixed implicit function declaration and warning for SDL_Log(). Philipp Wiesemann 2013-06-02 14:11:04 +02:00
  • b03876dbb8 Gyrations to get the code to compile with the latest version of mingw-w64 as well as Visual Studio. I think in this case mingw-w64 is incorrect in defining the GUID instead of declaring it like Visual Studio and the older mingw32 compilers. Sam Lantinga 2013-06-02 01:35:38 -07:00
  • 35b9ffa392 Fixed bug 1881 - SDL will not compile with "SDL_THREADS" disabled. Sam Lantinga 2013-06-02 01:12:29 -07:00
  • b0b6b803fc Fixed bug 1882 - SDL_GetKeyboardState should return const. Sam Lantinga 2013-06-02 01:09:12 -07:00
  • e576d9c370 Fixed testnative on Mac OS X, which no longer ships X11 by default. Sam Lantinga 2013-06-02 01:08:14 -07:00
  • ce7c921a5d Merged changes Sam Lantinga 2013-06-01 12:53:32 -07:00
  • c6349e124a The standard fat gcc scripts work well with SDL 2.0 Sam Lantinga 2013-06-01 12:53:06 -07:00
  • f79e338091 Fixed implicit function declarations and their warnings. For the SDL_SetMouseFocus() and SDL_SetKeyboardFocus(). Philipp Wiesemann 2013-06-01 21:17:43 +02:00
  • 6c6a5ba2e2 Removed debug output. Philipp Wiesemann 2013-06-01 21:11:52 +02:00
  • f2bce67fb9 Corrected indentation of license. Philipp Wiesemann 2013-06-01 21:09:36 +02:00
  • a036d6e64d Default the minimum required version to 2.0.0 Sam Lantinga 2013-06-01 08:57:17 -07:00
  • ce7e01dd7b Re-apply texture filter when resetting direct3d renderer. Yuri K. Schlesner 2013-05-29 06:31:48 -05:00
  • 4835250790 Fix bug 1492: Visual Studio builds sdl.lib and sdl.dll for version 2.0 (contributed by Jan Reitz); update SDL_bool handling in test_common to fix VS compiler warnings Andreas Schiffler 2013-05-30 20:03:56 -07:00
  • 231d1325c1 Add trigger value adjustment code to the SDL_GameControllerGetAxis code as well. Edward Rudd 2013-05-30 22:14:24 -04:00
  • d2ab989566 add in Controller configs for Logitech F510 for OS X / Linux Edward Rudd 2013-05-30 10:42:52 -04:00
  • 36e6e25ae1 Moved prototype for static function out of header file to prevent warnings. Philipp Wiesemann 2013-05-30 23:25:03 +02:00
  • 0156bfbfcc Changed line comments in header file. Philipp Wiesemann 2013-05-30 23:08:35 +02:00
  • 852882d81d Add an OS X Shared library target Edward Rudd 2013-05-30 10:02:26 -04:00
  • e4d34f3219 Fixups to the main Xcode project due to renamed README files and long since removed test files. Edward Rudd 2013-05-28 16:26:44 -04:00
  • 0122ce66f8 Added deactivated loading of SDL2_net to Java file. Philipp Wiesemann 2013-05-30 12:23:36 +02:00
  • 1130091307 Fixed recently deleted Ms in READMEs. Philipp Wiesemann 2013-05-30 12:15:00 +02:00
  • 028c19b92b When the window is resized, the viewport is automatically reset. This resolves lots of confusion around resizable windows. Most people don't expect a viewport to be implicitly set when the renderer is created and then not to be reset to the window size if the window is resized. Sam Lantinga 2013-05-29 03:22:19 -07:00
  • 23f33cb76c Fixed bug 1622 - SDL_RenderSetViewport with empty SDL_Rect raises wrong error for OpenGL rendering backend Sam Lantinga 2013-05-29 03:07:55 -07:00
  • f8c9841da0 Credits were truncated in a previous commit. Sam Lantinga 2013-05-27 21:44:16 -07:00
  • 3b298df3d8 Updated supported platforms Sam Lantinga 2013-05-27 20:53:19 -07:00
  • 9c6d6e4423 Fixed crash with movaps instruction in SDL_memcpy(), due to unaligned Uint32* cast and -O3 vectorization optimizations with gcc 4.9.0 Sam Lantinga 2013-05-27 16:18:11 -07:00
  • 34b782c94c Better mingw32-x64 linker flag fix, which doesn't require libtool patch Sam Lantinga 2013-05-26 22:16:42 -07:00
  • 95485edebb WinRT: fixed bug whereby landscape-only apps, as configured via an app's Package.appxmanifest file, would report an incorrect display mode on app init, if the device was in portrait mode David Ludwig 2013-05-26 20:27:13 -04:00
  • 2b39466c25 WinRT: added code to help debug events related to window-sizing and device-orientation David Ludwig 2013-05-26 19:40:12 -04:00
  • dd1dfc7c6e Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64 Sam Lantinga 2013-05-26 16:29:57 -07:00
  • 85f91bdb30 Added a comment to say why C runtime is off by default Sam Lantinga 2013-05-26 16:08:15 -07:00
  • 9bbe4b2a44 Need to generate aclocal.m4 when rebuilding configure, but we don't need to check it in. Sam Lantinga 2013-05-26 16:01:40 -07:00
  • c5701fe360 Don't use the C runtime library on Windows, to avoid C runtime dependencies and manifest issues. Sam Lantinga 2013-05-26 15:50:20 -07:00
  • d20e17f345 Fixed Visual Studio build Sam Lantinga 2013-05-26 14:37:41 -07:00
  • a2cfccc408 Updated VisualC.html for SDL 2.0 Sam Lantinga 2013-05-26 13:06:54 -07:00
  • 2effff4c7d Renamed WhatsNew so it can be easily read on Windows Sam Lantinga 2013-05-26 12:43:03 -07:00
  • 8ea72b2f62 Updated the installation instructions to cover all supported platforms Sam Lantinga 2013-05-26 12:42:46 -07:00
  • 767c1395d9 Fixed compiling XAudio2 code with mingw64 Sam Lantinga 2013-05-26 12:20:23 -07:00
  • 6642f27c10 Fixed compiler warning Sam Lantinga 2013-05-26 11:44:03 -07:00
  • 1e9722a016 Don't assume the XAudio2 APIs will never be available Sam Lantinga 2013-05-26 11:39:19 -07:00
  • 3c3e87d79f Fixed compile errors building with mingw64 Sam Lantinga 2013-05-26 11:34:04 -07:00
  • 96db5f7b81 Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems. Updated Makefile.in so "make dist" includes everything necessary for release. Sam Lantinga 2013-05-26 11:06:17 -07:00
  • d06a0935e6 Corrected documentation errors in header file. Philipp Wiesemann 2013-05-26 12:30:52 +02:00
  • 4edf9290cc Fixed wrong documentation for haptic implementation. Philipp Wiesemann 2013-05-26 12:15:15 +02:00
  • 5e4c1f280e Fixed test description in test suite for standard library. Philipp Wiesemann 2013-05-26 12:12:52 +02:00
  • 41b30114d5 Changed three similar error messages to contain more context. Philipp Wiesemann 2013-05-26 11:54:17 +02:00
  • e3041182ff Fixed Windows build Sam Lantinga 2013-05-24 03:29:31 -07:00
  • 9ab99a4157 Added the beginning of automated tests for the standard C library routines. Implemented more SDL_snprintf format specifiers. Sam Lantinga 2013-05-24 03:23:21 -07:00
  • 851b726444 Added a newline to OutputDebugString(), fixes output on Visual Studio 2008 Sam Lantinga 2013-05-23 23:27:48 -07:00
  • 199a800af5 Only free EventData if it's successfully retrieved. Edward Rudd 2013-05-23 18:45:14 -04:00
  • d464d16a8f Fixed Haiku build issue with missing extension support. Sam Lantinga 2013-05-21 22:48:50 -07:00
  • a346679caf Patched to compile with older glext.h that don't have GL_NUM_EXTENSIONS. Ryan C. Gordon 2013-05-22 01:36:37 -04:00
  • 971a985707 The Haiku install location fix needs to get into configure Sam Lantinga 2013-05-21 22:35:13 -07:00
  • a3be5baa21 Use glGetStringi() for extension lookup on OpenGL contexts >= version 3.0. Ryan C. Gordon 2013-05-22 01:31:04 -04:00
  • 89efb1821f Fixed macro line endings after whitespace was fixed Sam Lantinga 2013-05-21 22:04:14 -07:00
  • 28d1e55d4e Fixed bug 1534 - SIGSEGV in SDL_ConvertSurface() for certain formats in SDL2 Sam Lantinga 2013-05-21 22:01:18 -07:00
  • 723af2b82a Backed out changeset b69dfd56e1b0 Ryan C. Gordon 2013-05-21 23:35:45 -04:00
  • 886e159e92 Attempt to fix Haiku buildbot (and other systems with an old glext.h). Ryan C. Gordon 2013-05-21 23:13:52 -04:00
  • 0412136a9d Patched to compile on older Mac OS X devtools (thanks, D B!). Ryan C. Gordon 2013-05-21 23:02:16 -04:00
  • 266edfa1f8 WinRT: added hotplug support for joysticks/game-controllers David Ludwig 2013-05-21 20:08:53 -04:00