Commit Graph

  • 3ef5a97706 Fixed the name of the environment variable to match the name of the hint. Sam Lantinga 2013-09-27 23:19:22 -07:00
  • 869a707612 add in High DPI support (aka Retina) Edward Rudd 2013-09-20 13:43:00 -04:00
  • 0103bc0bff Default to OpenGL ES 2.0 instead of 1.0 when it's available. Sam Lantinga 2013-09-27 22:09:51 -07:00
  • d3d6f9ad19 Fixed syntax error in C style block comment. Sam Lantinga 2013-09-14 11:25:52 -07:00
  • bfe1b1d066 Don't incorrectly report success for negative swap intervals on Mac OS X. Ryan C. Gordon 2013-09-14 01:30:57 -04:00
  • fae4190dca Added SDL_Direct3D9GetAdapterIndex(), which returns the adapter index you would pass into CreateDevice to get your device on the right monitor in full screen mode. This fixes the default adapter in SDL_render_d3d.c, which means that tests will work fullscreen off the main monitor now. Sam Lantinga 2013-09-13 17:42:46 -07:00
  • 49d64d52d5 Fix X11_RestoreWindow() and X11_RaiseWindow() to properly do window activation. Sam Lantinga 2013-09-13 17:42:38 -07:00
  • 67c02a282a Mac: Translate Ctrl-Left click to right click. Sam Lantinga 2013-09-13 17:42:31 -07:00
  • e231d5b450 Mac: Turn off momentum-based scrolling. Sam Lantinga 2013-09-13 17:41:17 -07:00
  • 37509cf3e3 Mac: Fix cast warning. Sam Lantinga 2013-09-13 17:40:41 -07:00
  • a9166450f4 [SDL] X11+GL: Allow Visual override for GL windows. pgriffais 2013-09-10 18:25:13 -07:00
  • 5081b5d3da Workaround for compiling with /W4 warnings on Visual C++. Ryan C. Gordon 2013-09-07 13:57:20 -04:00
  • 83383c6527 Disable thread naming on Win64 for now. Ryan C. Gordon 2013-09-07 13:47:14 -04:00
  • dc9ddf1f61 Fixed bug 2090 - Some joystick inputs are delayed on FreeBSD Sam Lantinga 2013-09-06 20:54:14 -07:00
  • 10ffa28a28 Fixed time comparison and explicitly delay 1 ms instead of an arbitrary scheduled time. Sam Lantinga 2013-09-06 20:45:08 -07:00
  • f06eeb013b Fix to buffer overrun in SDL_JoystickGetGUIDString(). J?rgen P. Tjern? 2013-09-05 15:49:57 -07:00
  • 4b942c5a07 Fixed bug 2076 - OpenGL doesn't work with --disable-threads Sam Lantinga 2013-09-05 07:15:26 -07:00
  • 2afbd773b8 Fixed bug 2081 - Add name to SDL_Point structure Sam Lantinga 2013-09-05 07:02:27 -07:00
  • cefffd618f Fixed bug 2082 - SDL stdlib implementation does not force upper case for %X format specifier Sam Lantinga 2013-09-05 06:59:34 -07:00
  • 48aca0b2df Fixed bug 2084 - SDL_log xxx on Android outputs to Logcat with incorrect priority. Sam Lantinga 2013-09-05 06:43:34 -07:00
  • b63d11ce9c The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const. Ryan C. Gordon 2013-09-04 23:40:11 -04:00
  • 2bafbedac7 Enabled thread naming on Windows. Ryan C. Gordon 2013-08-31 01:36:38 -04:00
  • ace1e98a18 Fixes bug #2040, prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1 Gabriel Jacobo 2013-08-29 15:02:32 -03:00
  • eec4710c53 Fixes bug #2074 - Thanks Sylvain! Gabriel Jacobo 2013-08-29 14:03:44 -03:00
  • e07d7e649c Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)). Sam Lantinga 2013-08-29 08:30:21 -07:00
  • 3e2930defe Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x) Sam Lantinga 2013-08-29 08:29:51 -07:00
  • f79fc33a39 Christoph Mallon: Remove pointless if (x) before SDL_free(x) Sam Lantinga 2013-08-29 08:29:21 -07:00
  • 1d2c7796ae Christoph Mallon: Correct indendation. Sam Lantinga 2013-08-29 08:27:25 -07:00
  • 7267ea8f8b Christoph Mallon: Use SDL_arraysize() Sam Lantinga 2013-08-29 08:26:55 -07:00
  • 9e23d17869 Christoph Mallon: Simplify assignment. Sam Lantinga 2013-08-29 08:26:24 -07:00
  • 67c10169ee Christoph Mallon: Report an error, if creating the directories in SDL_GetPrefPath() failed. Sam Lantinga 2013-08-29 08:25:54 -07:00
  • db7c92b4b4 Christoph Mallon: Remove lone /* if */ comment. Sam Lantinga 2013-08-29 08:25:24 -07:00
  • 321aa4ae10 Christoph Mallon: Simplify avoidance of duplicate / in SDL_GetPrefPath() Sam Lantinga 2013-08-29 08:24:43 -07:00
  • 257cef3024 Change order we enumerate Windows joysticks. Ryan C. Gordon 2013-08-28 22:09:17 -04:00
  • ea4350d821 Don't corrupt XInput device state during SDL_SYS_JoystickClose(). Ryan C. Gordon 2013-08-28 22:07:54 -04:00
  • 2538d31140 Fix endlines for logging via OutputDebugString(). Ryan C. Gordon 2013-08-28 22:05:16 -04:00
  • aa65211486 Make XInput joystick names match the numbers on the device. Ryan C. Gordon 2013-08-28 17:17:21 -04:00
  • 7949989884 Fixed comment typo. Ryan C. Gordon 2013-08-28 17:12:07 -04:00
  • 4b255c63f1 Reworked XInput and DirectInput joystick code. Ryan C. Gordon 2013-08-28 16:43:47 -04:00
  • c89e04694d Better XInput detection code for DirectInput device enumeration. Ryan C. Gordon 2013-08-28 16:35:32 -04:00
  • 540cb5389c Fixed testgamecontroller output to make sense. Ryan C. Gordon 2013-08-28 00:07:02 -04:00
  • aef52c3501 [Linux] Test config script: Add the X11 library search path if it is not empty Gabriel Jacobo 2013-08-28 12:43:29 -03:00
  • 7fc50affaa Fixes test building Gabriel Jacobo 2013-08-28 10:41:25 -03:00
  • ad20c801cb Fixes typo in EGL code (thanks jmcfarlane!) Gabriel Jacobo 2013-08-26 14:23:18 -03:00
  • 2abe45e8cb Removed obvious comment to trigger buildbot. Ryan C. Gordon 2013-08-25 21:28:03 -04:00
  • 833fd30eb8 reworked GetBasePath on OS X to use Contents/Resource by default if bundled, or exedir if not bundled. Edward Rudd 2013-08-25 11:24:01 -04:00
  • 9ce449e6cd update xcode projects with filesystem API bits. (missing tests and missing from files from some targets) Edward Rudd 2013-08-25 11:20:14 -04:00
  • 64e6eeac7f Fixes "error: conflicting types for 'GLintptr'" Gabriel Jacobo 2013-08-25 11:48:49 -03:00
  • c9c6852f84 Minor FreeBSD code cleanup. Ryan C. Gordon 2013-08-24 21:15:10 -04:00
  • 5f45f4224f make the examples in the doc comments match the actual output of the SDL_GetPrefPath function Edward Rudd 2013-08-24 09:43:14 -04:00
  • e5b65e4e03 Fix #2062 Be more diligent about validating trailing "/" existence in HOME and XDG_DATA_HOME env vars Edward Rudd 2013-08-24 09:05:18 -04:00
  • 58a558e326 Patched to compile on Solaris. Ryan C. Gordon 2013-08-23 23:34:23 -04:00
  • 88cd94a0eb Patched to compile on FreeBSD. Ryan C. Gordon 2013-08-23 21:48:40 -04:00
  • 97948aef66 Add support for some BSDs and Solaris to SDL_GetBasePath(). Ryan C. Gordon 2013-08-23 21:38:54 -04:00
  • f60bcf8b50 Fix warning in GL ES2 renderer Gabriel Jacobo 2013-08-22 17:26:22 -03:00
  • 1c6d55767c Separate EGL / GL ES detection in CMake Gabriel Jacobo 2013-08-22 14:56:07 -03:00
  • faf760d203 XAudio2/DirectSound: Use the usual Windows string convert (thanks, Norfanin!). Ryan C. Gordon 2013-08-22 13:32:27 -04:00
  • f77c2372e0 Added SDL_VIDEO_OPENGL_ES2 to the SDL_config.h templates (Thanks, Kerim!). Ryan C. Gordon 2013-08-22 13:00:05 -04:00
  • cc122ce520 Fixes #2036 and #2038, bypass camera zoom and shutter keypresses on Android. Gabriel Jacobo 2013-08-22 10:22:22 -03:00
  • cd27a1ef05 Fixed compiling on old versions of the DirectX SDK Sam Lantinga 2013-08-21 12:12:04 -07:00
  • 9faefccd48 SDL - detect that you tried to open a gamecontroller in xinput mode and failed, then re-get the mapping for the dinput variant you did open (and most likely now just fail the open) Sam Lantinga 2013-08-21 10:32:04 -07:00
  • 05d8c2dcd2 Fix SDL xinput code to work at all when xinput has devices at high indexes but no device connected at lower index, for instance 0->disconnected, 1->wireles, 2->wired. Previously the SDL code assumed the indexes were always used up in order which is not true at all and lead to a bunch of failure cases where controllers would go unrecognized. Sam Lantinga 2013-08-21 10:31:44 -07:00
  • 3d217ed7b5 Fixed crash if the IC isn't set up for some reason (bad X11 locale?) Sam Lantinga 2013-08-21 10:07:48 -07:00
  • 6107705a40 Fix a couple of warnings Gabriel Jacobo 2013-08-21 10:34:32 -03:00
  • 5f8de2b936 Patched to compile on Darwin Gabriel Jacobo 2013-08-21 10:27:39 -03:00
  • 29dfdd1edc More fixes for -Wdeclaration-after-statement Gabriel Jacobo 2013-08-21 10:13:12 -03:00
  • 2490166d2d Fixes for -Wdeclaration-after-statement Gabriel Jacobo 2013-08-21 10:12:16 -03:00
  • 1e49b1ed6e OCD fixes: Adds a space after /* (glory to regular expressions!) Gabriel Jacobo 2013-08-21 09:47:10 -03:00
  • 695344d163 OCD fixes: Adds a space before */ Gabriel Jacobo 2013-08-21 09:43:09 -03:00
  • 3984c7d8e3 Actually, this should be a memcpy(). Ryan C. Gordon 2013-08-20 23:20:32 -04:00
  • 38dc821b0a Added filesystem code to Mac and iOS Xcode projects. Ryan C. Gordon 2013-08-20 21:29:40 -04:00
  • 9ff379ba67 Patched to compile on iOS. Ryan C. Gordon 2013-08-20 21:21:57 -04:00
  • fb7a02912a More Haiku fixes. Ryan C. Gordon 2013-08-20 20:39:22 -04:00
  • 24006be288 Fixed compiler warning. Ryan C. Gordon 2013-08-20 20:31:57 -04:00
  • ad8aa33bce More Windows fixes for filesystem code. Ryan C. Gordon 2013-08-20 20:29:30 -04:00
  • 13e67150b9 Regenerate configure script. Ryan C. Gordon 2013-08-20 20:27:42 -04:00
  • 06f6a59212 Corrected Haiku build. Ryan C. Gordon 2013-08-20 20:16:15 -04:00
  • c9152adcb0 Patched new filesystem code to compile. Ryan C. Gordon 2013-08-20 20:15:15 -04:00
  • 2dd7091e50 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module. Ryan C. Gordon 2013-08-20 19:57:11 -04:00
  • 6344736696 Fixed cut-and-paste error. Ryan C. Gordon 2013-08-20 15:28:14 -04:00
  • abbaa90dd6 Added SDL_DEPRECATED #define. Ryan C. Gordon 2013-08-20 14:21:35 -04:00
  • 094a72b8f7 Added SDL_assert_always (never disabled). Ryan C. Gordon 2013-08-20 14:17:48 -04:00
  • 552b04c58a More non C89 compliant comments Gabriel Jacobo 2013-08-20 20:34:40 -03:00
  • 63fe3a7753 Fixes a few non C89 compliant comments Gabriel Jacobo 2013-08-20 19:49:24 -03:00
  • d8f66188d1 add missing SDL_bits.h from OS X framework Edward Rudd 2013-08-20 15:56:08 -04:00
  • e43ff8fb59 Added some FIXMEs for later. Ryan C. Gordon 2013-08-20 12:43:06 -04:00
  • 0eeb76d869 Fixes bug #2037, common EGL code for Android and X11 Gabriel Jacobo 2013-08-19 16:29:46 -03:00
  • b44267693d Fixed leaking of pixel shader object in D3D renderer (thanks, Peter!). Ryan C. Gordon 2013-08-19 11:02:44 -04:00
  • 0ca506611c Fixed warnings building with gcc 2 and gcc 4 on Haiku Sam Lantinga 2013-08-18 23:18:11 -07:00
  • c2a29aede9 Fixed Haiku build (thanks Alexander!) Sam Lantinga 2013-08-18 22:05:53 -07:00
  • a46437f798 Replaced introduction in header file with more recent version from README.txt. Philipp Wiesemann 2013-08-18 11:15:30 +02:00
  • ad608e2dc3 Corrected file names in header file comments. Philipp Wiesemann 2013-08-18 11:12:46 +02:00
  • 8cf730554b Changed some documentation comments in header files to be used by doxygen. Philipp Wiesemann 2013-08-18 11:08:52 +02:00
  • 7e3b7dbcb6 Patched to compile with Visual Studio. Ryan C. Gordon 2013-08-17 20:46:34 -04:00
  • 1455a94714 Fixed Windows build Sam Lantinga 2013-08-17 17:14:15 -07:00
  • d7817f424b Fixed for consistency with the other platforms Sam Lantinga 2013-08-17 17:04:14 -07:00
  • e187810eca auto init the ticks if the GetTicks and the like methods are called before SDL_Init().. This prevents annoying game bugs such as caching SDL_GetPerformanceFrequency in a static initializer Edward Rudd 2013-08-17 18:07:29 -04:00
  • 6995ff18d3 Do full state initialization in D3D_Reset(), this fixes blend mode issues when resizing the window on Windows 8. Sam Lantinga 2013-08-17 09:54:30 -07:00
  • 9ab14aa554 Fixed windows build Sam Lantinga 2013-08-16 17:50:44 -07:00
  • ff77ca8d0b The keyboard text events should be sent after the key down events Sam Lantinga 2013-08-16 15:38:06 -07:00