Commit Graph

  • 69a526fdc9 Fixed bug 2298 - undefined reference to `IID_IUnknown' on cygwin Sam Lantinga 2014-02-22 15:34:31 -08:00
  • 5291d11e7e Fix audio conversion when channel count changes James Legg 2014-02-21 13:57:53 +00:00
  • a9cb800215 Fixed bug 2414 - Execute event watchers in the order they were added Sam Lantinga 2014-02-22 15:27:11 -08:00
  • 759db64dca Fixed bug 2407 - Support for OpenGL ES 3 contexts on iOS Sam Lantinga 2014-02-22 15:23:09 -08:00
  • 3a66c3ccbc Fixed bug 2346 - Mac: mousewheel events have flipped horizontal scroll values Sam Lantinga 2014-02-22 14:57:12 -08:00
  • 3f171c3331 Thou shalt not use more than 4k local variables in this code. Sam Lantinga 2014-02-22 10:40:12 -08:00
  • 3a6f999419 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
  • 27d5a7e400 Fixes #2326, clean up the X11 backend a bit Gabriel Jacobo 2014-02-21 08:37:57 -03:00
  • 634b16cfd6 Fixed infinite recursion in D3D_Reset() Sam Lantinga 2014-02-20 21:07:56 -08:00
  • e739e95fd9 Fixes #2408, VS2013: several projects of release build are not built Gabriel Jacobo 2014-02-20 17:03:55 -03:00
  • 16abbefb81 Improve testgles2 exit behavior (useful on Android) Gabriel Jacobo 2014-02-20 16:12:11 -03:00
  • 770dd95100 Fixes #2403, add SDL2 dependency to testgles2 (thanks Hiroyuki Iwatsuki) Gabriel Jacobo 2014-02-19 11:03:03 -03:00
  • 67c2c9e664 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
  • 35563d4298 s/iPhoneOS/iOS Ryan C. Gordon 2014-02-17 11:47:54 -05:00
  • 6495350741 Corrected battery percentage on iOS (thanks, Felix!). Ryan C. Gordon 2014-02-17 11:46:23 -05:00
  • c061c5613a Fixed documentation comments in SDL_hints.h file. Philipp Wiesemann 2014-02-16 00:04:15 +01:00
  • efd19efcf6 Changed text in documentation. Philipp Wiesemann 2014-02-15 23:57:38 +01:00
  • 2a06201c82 Corrected name of hint in README. Philipp Wiesemann 2014-02-15 23:52:04 +01:00
  • 2c962054ca 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
  • 7c529ab78b Fixed Mac PS4 controller entry, added Linux OUYA controller entry Sam Lantinga 2014-02-14 11:38:59 -08:00
  • 997f0c65d3 Added the new function at the end so we don't break the ABI Sam Lantinga 2014-02-13 11:08:12 -08:00
  • adf7311ba7 Back out changelist 1951976 Sam Lantinga 2014-02-13 11:05:34 -08:00
  • 5e96712fb1 Back out changelist 2026006 Sam Lantinga 2014-02-13 11:05:32 -08:00
  • 38e55d5f40 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
  • 3adb37518a 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
  • eb44f69490 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
  • 18a7c93e52 Added SDL_GetLoadedModule to do the equivalent of GetModuleHandle/dlload(NOLOAD) Sam Lantinga 2014-02-13 11:05:24 -08:00
  • 6438cb2372 Try to work around Android's handling of static variables in terminated apps Gabriel Jacobo 2014-02-12 18:12:14 -03:00
  • 21707536ae Fixed crash if render target textures are used while the device is lost Sam Lantinga 2014-02-10 13:40:02 -08:00
  • bac409c888 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
  • e987abc343 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
  • 825261c067 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
  • 12a80abc41 Fixed DualShock 4 controller config on Mac OS X. Ryan C. Gordon 2014-02-10 12:47:26 -05:00
  • b45413975a Fix Cmake so generated SOname matches autoconf's #. Edward Rudd 2014-02-10 10:53:02 -05:00
  • e450b2f9d9 Make controllermap, etc, work on platforms with hardcoded window sizes. Ryan C. Gordon 2014-02-10 11:29:48 -05:00
  • acd58f19d8 Backed out 51935d107921 Gabriel Jacobo 2014-02-10 09:26:22 -03:00
  • 802397a171 Removed unused function. Ryan C. Gordon 2014-02-10 01:43:01 -05:00
  • c18be74a8e Replace testgamecontroller visualization mode with something more useful. Ryan C. Gordon 2014-02-10 01:41:58 -05:00
  • 87dd51b115 No need to use a render target here. Ryan C. Gordon 2014-02-09 15:20:41 -05:00
  • 1af9aa0b1e Updated SDL to version 2.0.2 Sam Lantinga 2014-02-09 03:09:56 -08:00
  • 4cc159d3f4 Fixed the OUYA controller mapping on Windows Sam Lantinga 2014-02-09 03:09:04 -08:00
  • 45399df5d0 Added Windows entry for the bluetooth OUYA controller Sam Lantinga 2014-02-09 02:42:59 -08:00
  • 808c05198c Possibly fixed bug 2250 - Cmake: SDL2 Doesn't install DLLs on Windows Sam Lantinga 2014-02-09 02:04:40 -08:00
  • 10deb7fb9f Fixed bug 2385 - error: unknown type name 'IDirect3DDevice9' Sam Lantinga 2014-02-09 01:56:41 -08:00
  • 96705398c1 Fixed bug 2354 - [ES 2.0] SDL_RenderClear clears render target with wrong color Sam Lantinga 2014-02-09 01:49:01 -08:00
  • aed28e46e6 Updated README-macosx.txt to note new minimum requirements, end of PowerPC. Ryan C. Gordon 2014-02-07 12:03:02 -05:00
  • a18eec16cc Make non-Clang compilers happy. Ryan C. Gordon 2014-02-07 11:55:13 -05:00
  • 241fc337a8 Tell Clang's static analysis that SDL_assert() is an assertion handler. Ryan C. Gordon 2014-02-07 11:52:35 -05:00
  • ca1ebb24b6 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
  • 8c04aaf554 ignore hot plugs in mac haptic layer IF hap tics hasn't been initialized. Edward Rudd 2014-02-07 09:35:13 -05:00
  • e7c7bbcd8d Added DualShock 4 game controller config for Windows, Mac, and Linux. Ryan C. Gordon 2014-02-06 21:28:11 -05:00
  • 326bcf7cef Fixed crash on Windows if haptic isn't initialized when controllers are added. Ryan C. Gordon 2014-02-06 21:26:41 -05:00
  • 1e6f86ee52 Fixed a typo. Ryan C. Gordon 2014-02-06 10:00:45 -05:00
  • 52bef1a3cf 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
  • 7123f71d3d fix indentation and spaces Edward Rudd 2014-02-06 09:11:05 -05:00
  • 85219a6a5d Fixed return values on testhotplug mainline. Ryan C. Gordon 2014-02-06 07:38:41 -05:00
  • fd7ded0e94 Fixed copyright date. Ryan C. Gordon 2014-02-06 07:38:04 -05:00
  • 97e15d4d3b Wired up haptic hotplugging for Windows DirectInput/XInput code. Ryan C. Gordon 2014-02-06 07:37:20 -05:00
  • 1aef91f898 Fixed memory leak. Ryan C. Gordon 2014-02-05 20:07:25 -05:00
  • da6d0e63ea Make SDL_SYS_HapticMouse() count device indexes like HapticByDevIndex(). Ryan C. Gordon 2014-02-05 18:36:40 -05:00
  • 2ee4b430a5 Cleanup some vi footer comments, rename new PRIVATE_* funcs to MacHaptic_*. Ryan C. Gordon 2014-02-05 01:02:09 -05:00
  • 3985954d03 SDL_pixels.h needs SDL_stdinc.h for SDL_FOURCC #define (thanks, Dmitry!). Ryan C. Gordon 2014-02-05 00:34:26 -05:00
  • 943e4dc475 add testdropfile to OS X Project Edward Rudd 2014-02-04 18:21:39 -05:00
  • 8c1b08595f Implement new backend methods for haptic and hot plugging on OS X Edward Rudd 2014-02-04 18:17:16 -05:00
  • 713a47ad24 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
  • 5932071c34 implement new backend method for Haptics in dummy driver Edward Rudd 2014-02-04 16:50:34 -05:00
  • e957be0dd8 Rework haptic backend to properly support hotplugging of haptic devices. Edward Rudd 2014-02-04 15:44:09 -05:00
  • 2d6feda57f allow safely quitting the hotplug test by pressing button 0 on the joystick Edward Rudd 2014-02-04 15:40:51 -05:00
  • 599d0d78f8 * Remove android based workaround, it is handled in SDL_EGL_GetProcAddress. Brandon Schaefer 2014-02-04 12:28:35 -08:00
  • bbe5c7aaee Added SDL_GetAssertionHandler() and SDL_GetDefaultAssertionHandler(). Ryan C. Gordon 2014-02-04 11:38:40 -05:00
  • 80dbd8ae39 testhotplug: Actually log the SDL_Error that occured on failures Edward Rudd 2014-02-03 23:08:53 -05:00
  • 48e9978f42 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
  • 92a8ee88f0 add simple test showing off hotplugging of joysticks w/ haptic. Edward Rudd 2014-02-03 22:52:18 -05:00
  • 7e414636ad Removed -force_cpusubtype_ALL cflag from Mac builds. Ryan C. Gordon 2014-02-03 14:47:48 -05:00
  • b16638a442 Fixed some compiler warnings from the latest Clang, cleaned up some things. Ryan C. Gordon 2014-02-03 14:45:38 -05:00
  • 1957b51ba0 Temporarily default Wayland and Mir to disabled, for 2.0.2 release. Ryan C. Gordon 2014-02-03 11:59:17 -05:00
  • f7d97a1c04 Unload Wayland libs if memory allocation fails during init. Ryan C. Gordon 2014-02-03 11:53:21 -05:00
  • e8b47266fd Hooked up dynamic loading for Mir. Ryan C. Gordon 2014-02-03 11:52:54 -05:00
  • 8bb49ceaf5 Add Mir to configure script's summary output. Ryan C. Gordon 2014-02-03 11:14:25 -05:00
  • f21007bb65 Bumped copyright date on Mir code. Ryan C. Gordon 2014-02-03 11:01:32 -05:00
  • 463c008617 Disable some minor things that need newer Mir dev headers. Ryan C. Gordon 2014-02-02 23:55:51 -05:00
  • 3031403652 Added some SysWM bits for Mir. Ryan C. Gordon 2014-02-02 23:53:48 -05:00
  • 77bc141f4f Cleaned up headers and footers on Mir code. Ryan C. Gordon 2014-02-02 23:54:10 -05:00
  • 781022f33d Added Mir video target (thanks, Brandon!). Ryan C. Gordon 2014-02-02 23:41:46 -05:00
  • 1552338a1a Ignore the buildbot build directories. Ryan C. Gordon 2014-02-02 21:38:16 -05:00
  • d4bfd9ab6e Fixed including SDL_internal.h twice for DirectFB. Philipp Wiesemann 2014-02-02 20:58:46 +01:00
  • e94925fc40 Added additional platform check for __ANDROID__. Philipp Wiesemann 2014-02-02 20:55:42 +01:00
  • dba255c1e5 Fixed bug 2374 - Update copyright for 2014... Sam Lantinga 2014-02-02 00:53:27 -08:00
  • 921f2abe11 Fixed bug 2376 - no SDL_HasAVX Sam Lantinga 2014-02-02 00:33:31 -08:00
  • 12813a0222 Treacherous copy/paste! Gabriel Jacobo 2014-01-30 20:29:58 -03:00
  • 346fdd8976 Detect Xrandr >= 1.2 at build time Gabriel Jacobo 2014-01-30 20:27:13 -03:00
  • 7e4c549afe Add SDL_GL_ResetAttributes. Jørgen P. Tjernø 2014-01-29 18:38:13 -08:00
  • 7490c5a28f 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
  • 171fa6872d Document Michael's changes adding TranslateMessage() back to the SDL message loop. Sam Lantinga 2014-01-30 12:27:24 -08:00
  • 7bd79f5a4b * 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
  • fa1d9a169f Mac: [NSApp keyWindow] is not valid in windowDidBecomeKey: Jørgen P. Tjernø 2014-01-29 18:37:23 -08:00
  • 99745583e9 fixed hat code validation. dbrady 2014-01-28 15:28:20 -08:00
  • 9cc268018e Fixed spaces in source file license comment. Philipp Wiesemann 2014-01-29 00:29:14 +01:00
  • 6303c03038 Fixed comments in joystick implementation files claiming to be headers. Philipp Wiesemann 2014-01-29 00:27:54 +01:00
  • 7e262ea7ac Move to no-argument version of "endif()" in CMakeLists.txt. Ryan C. Gordon 2014-01-28 12:42:01 -05:00