Commit Graph

  • d3cf7360db Fix audio conversion when channel count changes James Legg 2014-02-21 13:57:53 +00:00
  • 5512eac69f Fixed bug 2414 - Execute event watchers in the order they were added Sam Lantinga 2014-02-22 15:27:11 -08:00
  • f7de4ae130 Fixed bug 2407 - Support for OpenGL ES 3 contexts on iOS Sam Lantinga 2014-02-22 15:23:09 -08:00
  • af0ab49003 Fixed bug 2346 - Mac: mousewheel events have flipped horizontal scroll values Sam Lantinga 2014-02-22 14:57:12 -08:00
  • 7c33f23361 Thou shalt not use more than 4k local variables in this code. Sam Lantinga 2014-02-22 10:40:12 -08:00
  • 0deb54c024 Reworked Mac OS X joystick code to use the 10.5+ HID Manager API. Ryan C. Gordon 2014-02-22 00:55:28 -05:00
  • abe2ac2cb4 Fixes #2326, clean up the X11 backend a bit Gabriel Jacobo 2014-02-21 08:37:57 -03:00
  • 22e3217e59 Fixed infinite recursion in D3D_Reset() Sam Lantinga 2014-02-20 21:07:56 -08:00
  • ea71a5e074 Fixes #2408, VS2013: several projects of release build are not built Gabriel Jacobo 2014-02-20 17:03:55 -03:00
  • 01550b96cc Improve testgles2 exit behavior (useful on Android) Gabriel Jacobo 2014-02-20 16:12:11 -03:00
  • e3f0d53b55 Fixes #2403, add SDL2 dependency to testgles2 (thanks Hiroyuki Iwatsuki) Gabriel Jacobo 2014-02-19 11:03:03 -03:00
  • 6b33f2e8ca Fixed resetting the current render target if the D3D device is reset while using a non-default render target. Sam Lantinga 2014-02-17 22:20:33 -08:00
  • ccce6fb302 s/iPhoneOS/iOS Ryan C. Gordon 2014-02-17 11:47:54 -05:00
  • 245e125e0f Corrected battery percentage on iOS (thanks, Felix!). Ryan C. Gordon 2014-02-17 11:46:23 -05:00
  • fbeb24e96e Fixed documentation comments in SDL_hints.h file. Philipp Wiesemann 2014-02-16 00:04:15 +01:00
  • fc1c17cc01 Changed text in documentation. Philipp Wiesemann 2014-02-15 23:57:38 +01:00
  • 70b975d626 Corrected name of hint in README. Philipp Wiesemann 2014-02-15 23:52:04 +01:00
  • 5c5770ad44 Make sure we don't stay in the windows event loop forever if there are lots of events coming in quickly. Sam Lantinga 2014-02-14 11:39:58 -08:00
  • 441f7d8d63 Fixed Mac PS4 controller entry, added Linux OUYA controller entry Sam Lantinga 2014-02-14 11:38:59 -08:00
  • 268071d16f Added the new function at the end so we don't break the ABI Sam Lantinga 2014-02-13 11:08:12 -08:00
  • baf2dd4c7e Back out changelist 1951976 Sam Lantinga 2014-02-13 11:05:34 -08:00
  • f5d1559b51 Back out changelist 2026006 Sam Lantinga 2014-02-13 11:05:32 -08:00
  • c52c91056b Added SDL_DXGIGetOutputInfo which returns the adapter and output indices that are used to create DX10 and DX11 devices and swap chains on a particular display. Sam Lantinga 2014-02-13 11:05:30 -08:00
  • e34da6801f Fixed lost mouse button when in relative mouse warp mode and you click on the title bar, entering a modal move/resize loop. Sam Lantinga 2014-02-13 11:05:28 -08:00
  • 567b5ba8e9 As part of Jorgen's code review of this function I added a call to LoadLibrary so the refcounts would be consistent between Windows and Posix. Then I forgot to include the check that the thing was actually loaded and caused it to be loaded all the time. Oops. Sam Lantinga 2014-02-13 11:05:26 -08:00
  • 1fa4939a38 Added SDL_GetLoadedModule to do the equivalent of GetModuleHandle/dlload(NOLOAD) Sam Lantinga 2014-02-13 11:05:24 -08:00
  • cf119f786a Try to work around Android's handling of static variables in terminated apps Gabriel Jacobo 2014-02-12 18:12:14 -03:00
  • 076a14b263 Fixed crash if render target textures are used while the device is lost Sam Lantinga 2014-02-10 13:40:02 -08:00
  • ae05f178c2 Recreate render target textures when the D3D device is being reset, and notify the application using the SDL_RENDER_TARGETS_RESET event when this happens. Sam Lantinga 2014-02-10 10:02:51 -08:00
  • 9f2509da79 Exposed the font character size and SDLTest_DrawCharacter() to make it easier to do custom debug text layout Sam Lantinga 2014-02-10 10:02:42 -08:00
  • a396841f8d Fixed bug where a window created fullscreen and hidden would get activated and "shown" but never actually be visible. This is the case with the Steam In-Home Streaming client. Sam Lantinga 2014-02-10 10:02:18 -08:00
  • f38c1f05f5 Fixed DualShock 4 controller config on Mac OS X. Ryan C. Gordon 2014-02-10 12:47:26 -05:00
  • 7f4c6a9ca1 Fix Cmake so generated SOname matches autoconf's #. Edward Rudd 2014-02-10 10:53:02 -05:00
  • 2d92a37237 Make controllermap, etc, work on platforms with hardcoded window sizes. Ryan C. Gordon 2014-02-10 11:29:48 -05:00
  • 9268c7a1b3 Backed out 0869362ccc3c Gabriel Jacobo 2014-02-10 09:26:22 -03:00
  • f0aa97d20f Removed unused function. Ryan C. Gordon 2014-02-10 01:43:01 -05:00
  • b17fd9a180 Replace testgamecontroller visualization mode with something more useful. Ryan C. Gordon 2014-02-10 01:41:58 -05:00
  • 9a15da84db No need to use a render target here. Ryan C. Gordon 2014-02-09 15:20:41 -05:00
  • 853334afed Updated SDL to version 2.0.2 Sam Lantinga 2014-02-09 03:09:56 -08:00
  • 8cabd44f36 Fixed the OUYA controller mapping on Windows Sam Lantinga 2014-02-09 03:09:04 -08:00
  • c8c3911e0d Added Windows entry for the bluetooth OUYA controller Sam Lantinga 2014-02-09 02:42:59 -08:00
  • c3c2964dbb Possibly fixed bug 2250 - Cmake: SDL2 Doesn't install DLLs on Windows Sam Lantinga 2014-02-09 02:04:40 -08:00
  • 3ab3ea642d Fixed bug 2385 - error: unknown type name 'IDirect3DDevice9' Sam Lantinga 2014-02-09 01:56:41 -08:00
  • b331ada815 Fixed bug 2354 - [ES 2.0] SDL_RenderClear clears render target with wrong color Sam Lantinga 2014-02-09 01:49:01 -08:00
  • fab5c7599b Updated README-macosx.txt to note new minimum requirements, end of PowerPC. Ryan C. Gordon 2014-02-07 12:03:02 -05:00
  • ba55cbef6e Make non-Clang compilers happy. Ryan C. Gordon 2014-02-07 11:55:13 -05:00
  • 129456fe2e Tell Clang's static analysis that SDL_assert() is an assertion handler. Ryan C. Gordon 2014-02-07 11:52:35 -05:00
  • d3f64213e2 slight adjustment to the hot plug test to allow it to be run with hap tics disabled Edward Rudd 2014-02-07 09:35:33 -05:00
  • fff7503b6a ignore hot plugs in mac haptic layer IF hap tics hasn't been initialized. Edward Rudd 2014-02-07 09:35:13 -05:00
  • c2f6ab0cc1 Added DualShock 4 game controller config for Windows, Mac, and Linux. Ryan C. Gordon 2014-02-06 21:28:11 -05:00
  • 7033e597b5 Fixed crash on Windows if haptic isn't initialized when controllers are added. Ryan C. Gordon 2014-02-06 21:26:41 -05:00
  • 56979749e9 Fixed a typo. Ryan C. Gordon 2014-02-06 10:00:45 -05:00
  • a09548eb00 Fix device counting in HapticMouse and JoystickOpen routines. 0 is the first item in the list not the last Edward Rudd 2014-02-06 09:35:44 -05:00
  • f3e6a0a71b fix indentation and spaces Edward Rudd 2014-02-06 09:11:05 -05:00
  • 257ab5f573 Fixed return values on testhotplug mainline. Ryan C. Gordon 2014-02-06 07:38:41 -05:00
  • 1191a902fc Fixed copyright date. Ryan C. Gordon 2014-02-06 07:38:04 -05:00
  • e42d46b463 Wired up haptic hotplugging for Windows DirectInput/XInput code. Ryan C. Gordon 2014-02-06 07:37:20 -05:00
  • 9cf8c49c39 Fixed memory leak. Ryan C. Gordon 2014-02-05 20:07:25 -05:00
  • ccbf6943e7 Make SDL_SYS_HapticMouse() count device indexes like HapticByDevIndex(). Ryan C. Gordon 2014-02-05 18:36:40 -05:00
  • 7f94268805 Cleanup some vi footer comments, rename new PRIVATE_* funcs to MacHaptic_*. Ryan C. Gordon 2014-02-05 01:02:09 -05:00
  • 7afbb8c377 SDL_pixels.h needs SDL_stdinc.h for SDL_FOURCC #define (thanks, Dmitry!). Ryan C. Gordon 2014-02-05 00:34:26 -05:00
  • d4e3221f1d add testdropfile to OS X Project Edward Rudd 2014-02-04 18:21:39 -05:00
  • b352698d99 Implement new backend methods for haptic and hot plugging on OS X Edward Rudd 2014-02-04 18:17:16 -05:00
  • c9f6e4ec9f add testhotplug to OS X test project and set target OS version to 10.5 for tests. Edward Rudd 2014-02-04 18:16:52 -05:00
  • 4da8829812 implement new backend method for Haptics in dummy driver Edward Rudd 2014-02-04 16:50:34 -05:00
  • 5fb0be3079 Rework haptic backend to properly support hotplugging of haptic devices. Edward Rudd 2014-02-04 15:44:09 -05:00
  • a98c477bc8 allow safely quitting the hotplug test by pressing button 0 on the joystick Edward Rudd 2014-02-04 15:40:51 -05:00
  • 25fcc1959e * Remove android based workaround, it is handled in SDL_EGL_GetProcAddress. Brandon Schaefer 2014-02-04 12:28:35 -08:00
  • c2b5da9733 Added SDL_GetAssertionHandler() and SDL_GetDefaultAssertionHandler(). Ryan C. Gordon 2014-02-04 11:38:40 -05:00
  • e6dce68f8e testhotplug: Actually log the SDL_Error that occured on failures Edward Rudd 2014-02-03 23:08:53 -05:00
  • 8512f1b87c add logging for the case when haptic is not detected on the joystick as well. Edward Rudd 2014-02-03 23:01:19 -05:00
  • e0e6b2a461 add simple test showing off hotplugging of joysticks w/ haptic. Edward Rudd 2014-02-03 22:52:18 -05:00
  • c8ad30bc90 Removed -force_cpusubtype_ALL cflag from Mac builds. Ryan C. Gordon 2014-02-03 14:47:48 -05:00
  • e719158cb4 Fixed some compiler warnings from the latest Clang, cleaned up some things. Ryan C. Gordon 2014-02-03 14:45:38 -05:00
  • 0d9443d3a2 Temporarily default Wayland and Mir to disabled, for 2.0.2 release. Ryan C. Gordon 2014-02-03 11:59:17 -05:00
  • bd01a9c914 Unload Wayland libs if memory allocation fails during init. Ryan C. Gordon 2014-02-03 11:53:21 -05:00
  • 89fd0faf5e Hooked up dynamic loading for Mir. Ryan C. Gordon 2014-02-03 11:52:54 -05:00
  • 8f055d199a Add Mir to configure script's summary output. Ryan C. Gordon 2014-02-03 11:14:25 -05:00
  • 69d85ff563 Bumped copyright date on Mir code. Ryan C. Gordon 2014-02-03 11:01:32 -05:00
  • 435b80b9a3 Disable some minor things that need newer Mir dev headers. Ryan C. Gordon 2014-02-02 23:55:51 -05:00
  • 6bc2977043 Added some SysWM bits for Mir. Ryan C. Gordon 2014-02-02 23:53:48 -05:00
  • 8674b7aeee Cleaned up headers and footers on Mir code. Ryan C. Gordon 2014-02-02 23:54:10 -05:00
  • 19f8c6224f Added Mir video target (thanks, Brandon!). Ryan C. Gordon 2014-02-02 23:41:46 -05:00
  • dce9b7b129 Ignore the buildbot build directories. Ryan C. Gordon 2014-02-02 21:38:16 -05:00
  • e8f5e010ad Fixed including SDL_internal.h twice for DirectFB. Philipp Wiesemann 2014-02-02 20:58:46 +01:00
  • 9ee68e8f8d Added additional platform check for __ANDROID__. Philipp Wiesemann 2014-02-02 20:55:42 +01:00
  • 58edac3e69 Fixed bug 2374 - Update copyright for 2014... Sam Lantinga 2014-02-02 00:53:27 -08:00
  • 3bd0e9002e Fixed bug 2376 - no SDL_HasAVX Sam Lantinga 2014-02-02 00:33:31 -08:00
  • 8ba565fffb Treacherous copy/paste! Gabriel Jacobo 2014-01-30 20:29:58 -03:00
  • 6f3bf18656 Detect Xrandr >= 1.2 at build time Gabriel Jacobo 2014-01-30 20:27:13 -03:00
  • 338bf9cc6c Add SDL_GL_ResetAttributes. J?rgen P. Tjern? 2014-01-29 18:38:13 -08:00
  • d76c2cc1da Add a new hint SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT that allows SDL_CreateWindowFrom() to set the pixel format of another SDL_Window (and also will set the SDL_WINDOW_OPENGL flag on the window created with SDL_CreateWindowFrom()). Sam Lantinga 2014-01-30 12:30:40 -08:00
  • dbd4a917e0 Document Michael's changes adding TranslateMessage() back to the SDL message loop. Sam Lantinga 2014-01-30 12:27:24 -08:00
  • 5c58bd6877 * Added TranslateMessage call to SDL default message pump - was causing problems in S2 tools mode apps that used Qt. Qt relies on the WM_CHAR message generated by TranslateMessage and keyboard input was showing up in the UI as mixed-case. (Depending on which message pump got a given message - both SDL and Qt pump messages for the entire process.) Sam will review and possibly tweak this change before propagating to public SDL, but I'm checking this version in so I can integrate into S2 and fix the issue there. Sam Lantinga 2014-01-30 12:27:00 -08:00
  • 366b1727bb Mac: [NSApp keyWindow] is not valid in windowDidBecomeKey: J?rgen P. Tjern? 2014-01-29 18:37:23 -08:00
  • 109fe0e0dc fixed hat code validation. dbrady 2014-01-28 15:28:20 -08:00
  • 68f2fe6499 Fixed spaces in source file license comment. Philipp Wiesemann 2014-01-29 00:29:14 +01:00
  • 62b17e7edb Fixed comments in joystick implementation files claiming to be headers. Philipp Wiesemann 2014-01-29 00:27:54 +01:00
  • 4f1b8a4067 Move to no-argument version of "endif()" in CMakeLists.txt. Ryan C. Gordon 2014-01-28 12:42:01 -05:00
  • 2de3b01c61 Some CMake fixes for static linking on Windows from the OpenFL project. Ryan C. Gordon 2014-01-28 12:37:04 -05:00