Commit graph

  • 26f3d038c1 Fixed syntax error in C style block comment. Sam Lantinga 2013-09-14 11:25:52 -07:00
  • 0922362ed5 Don't incorrectly report success for negative swap intervals on Mac OS X. Ryan C. Gordon 2013-09-14 01:30:57 -04:00
  • a70c4acd7e 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
  • de6d5716f1 Fix X11_RestoreWindow() and X11_RaiseWindow() to properly do window activation. Sam Lantinga 2013-09-13 17:42:38 -07:00
  • 024315e321 Mac: Translate Ctrl-Left click to right click. Sam Lantinga 2013-09-13 17:42:31 -07:00
  • 1c5546e2dd Mac: Turn off momentum-based scrolling. Sam Lantinga 2013-09-13 17:41:17 -07:00
  • 2505a8812c Mac: Fix cast warning. Sam Lantinga 2013-09-13 17:40:41 -07:00
  • cb4c648641 [SDL] X11+GL: Allow Visual override for GL windows. pgriffais 2013-09-10 18:25:13 -07:00
  • 9fe6d0f1d9 Workaround for compiling with /W4 warnings on Visual C++. Ryan C. Gordon 2013-09-07 13:57:20 -04:00
  • 020c9b4c8e Disable thread naming on Win64 for now. Ryan C. Gordon 2013-09-07 13:47:14 -04:00
  • 9281452a53 Fixed bug 2090 - Some joystick inputs are delayed on FreeBSD Sam Lantinga 2013-09-06 20:54:14 -07:00
  • 2952baa5cd Fixed time comparison and explicitly delay 1 ms instead of an arbitrary scheduled time. Sam Lantinga 2013-09-06 20:45:08 -07:00
  • 7826585446 Fix to buffer overrun in SDL_JoystickGetGUIDString(). J?rgen P. Tjern? 2013-09-05 15:49:57 -07:00
  • f9d066f29b Fixed bug 2076 - OpenGL doesn't work with --disable-threads Sam Lantinga 2013-09-05 07:15:26 -07:00
  • 6510aa0655 Fixed bug 2081 - Add name to SDL_Point structure Sam Lantinga 2013-09-05 07:02:27 -07:00
  • b91e9f69ec 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
  • e38eb5ab45 Fixed bug 2084 - SDL_log xxx on Android outputs to Logcat with incorrect priority. Sam Lantinga 2013-09-05 06:43:34 -07:00
  • aae466b753 The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const. Ryan C. Gordon 2013-09-04 23:40:11 -04:00
  • e82bceb418 Enabled thread naming on Windows. Ryan C. Gordon 2013-08-31 01:36:38 -04:00
  • c69c53f064 Fixes bug #2040, prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1 Gabriel Jacobo 2013-08-29 15:02:32 -03:00
  • acfd6497d9 Fixes bug #2074 - Thanks Sylvain! Gabriel Jacobo 2013-08-29 14:03:44 -03:00
  • a7a55fd629 Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)). Sam Lantinga 2013-08-29 08:30:21 -07:00
  • af3541ce5e Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x) Sam Lantinga 2013-08-29 08:29:51 -07:00
  • f7fda2b389 Christoph Mallon: Remove pointless if (x) before SDL_free(x) Sam Lantinga 2013-08-29 08:29:21 -07:00
  • 3f1c70c044 Christoph Mallon: Correct indendation. Sam Lantinga 2013-08-29 08:27:25 -07:00
  • 353227c74e Christoph Mallon: Use SDL_arraysize() Sam Lantinga 2013-08-29 08:26:55 -07:00
  • bcc2ee4859 Christoph Mallon: Simplify assignment. Sam Lantinga 2013-08-29 08:26:24 -07:00
  • 012380adcd Christoph Mallon: Report an error, if creating the directories in SDL_GetPrefPath() failed. Sam Lantinga 2013-08-29 08:25:54 -07:00
  • 5b05d9e95f Christoph Mallon: Remove lone /* if */ comment. Sam Lantinga 2013-08-29 08:25:24 -07:00
  • 2485a8430e Christoph Mallon: Simplify avoidance of duplicate / in SDL_GetPrefPath() Sam Lantinga 2013-08-29 08:24:43 -07:00
  • abee777d4e Change order we enumerate Windows joysticks. Ryan C. Gordon 2013-08-28 22:09:17 -04:00
  • d17a53c8ce Don't corrupt XInput device state during SDL_SYS_JoystickClose(). Ryan C. Gordon 2013-08-28 22:07:54 -04:00
  • c6edebfad1 Fix endlines for logging via OutputDebugString(). Ryan C. Gordon 2013-08-28 22:05:16 -04:00
  • 5450cca33f Make XInput joystick names match the numbers on the device. Ryan C. Gordon 2013-08-28 17:17:21 -04:00
  • e232870849 Fixed comment typo. Ryan C. Gordon 2013-08-28 17:12:07 -04:00
  • c3ff0ff451 Reworked XInput and DirectInput joystick code. Ryan C. Gordon 2013-08-28 16:43:47 -04:00
  • abbcb73213 Better XInput detection code for DirectInput device enumeration. Ryan C. Gordon 2013-08-28 16:35:32 -04:00
  • 4296551a49 Fixed testgamecontroller output to make sense. Ryan C. Gordon 2013-08-28 00:07:02 -04:00
  • ed6692ec28 [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
  • fcbd17d648 Fixes test building Gabriel Jacobo 2013-08-28 10:41:25 -03:00
  • de0414c25f Fixes typo in EGL code (thanks jmcfarlane!) Gabriel Jacobo 2013-08-26 14:23:18 -03:00
  • 5320afc175 Removed obvious comment to trigger buildbot. Ryan C. Gordon 2013-08-25 21:28:03 -04:00
  • a9a7fb7d82 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
  • 22cd3eb7c2 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
  • bef7d2ef2d Fixes "error: conflicting types for 'GLintptr'" Gabriel Jacobo 2013-08-25 11:48:49 -03:00
  • 807e5ccb6d Minor FreeBSD code cleanup. Ryan C. Gordon 2013-08-24 21:15:10 -04:00
  • fd13d7cd7e 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
  • 8d164f06ea 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
  • 9bc89f40b9 Patched to compile on Solaris. Ryan C. Gordon 2013-08-23 23:34:23 -04:00
  • a22e8c931d Patched to compile on FreeBSD. Ryan C. Gordon 2013-08-23 21:48:40 -04:00
  • c9caaf317a Add support for some BSDs and Solaris to SDL_GetBasePath(). Ryan C. Gordon 2013-08-23 21:38:54 -04:00
  • e8e09674f9 Fix warning in GL ES2 renderer Gabriel Jacobo 2013-08-22 17:26:22 -03:00
  • efa7502f52 Separate EGL / GL ES detection in CMake Gabriel Jacobo 2013-08-22 14:56:07 -03:00
  • 74df3ce2f8 XAudio2/DirectSound: Use the usual Windows string convert (thanks, Norfanin!). Ryan C. Gordon 2013-08-22 13:32:27 -04:00
  • a5b404a075 Added SDL_VIDEO_OPENGL_ES2 to the SDL_config.h templates (Thanks, Kerim!). Ryan C. Gordon 2013-08-22 13:00:05 -04:00
  • 27bd826129 Fixes #2036 and #2038, bypass camera zoom and shutter keypresses on Android. Gabriel Jacobo 2013-08-22 10:22:22 -03:00
  • c660649e07 Fixed compiling on old versions of the DirectX SDK Sam Lantinga 2013-08-21 12:12:04 -07:00
  • c3ad265a89 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
  • dbeed82880 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
  • 92c2ef2556 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
  • 07aa49b745 Fix a couple of warnings Gabriel Jacobo 2013-08-21 10:34:32 -03:00
  • 2b0edd42d0 Patched to compile on Darwin Gabriel Jacobo 2013-08-21 10:27:39 -03:00
  • c2cdb9c5f4 More fixes for -Wdeclaration-after-statement Gabriel Jacobo 2013-08-21 10:13:12 -03:00
  • 0923b0873d Fixes for -Wdeclaration-after-statement Gabriel Jacobo 2013-08-21 10:12:16 -03:00
  • fde7308882 OCD fixes: Adds a space after /* (glory to regular expressions!) Gabriel Jacobo 2013-08-21 09:47:10 -03:00
  • 28046de503 OCD fixes: Adds a space before */ Gabriel Jacobo 2013-08-21 09:43:09 -03:00
  • ec08df6bad Actually, this should be a memcpy(). Ryan C. Gordon 2013-08-20 23:20:32 -04:00
  • 2576d2f741 Added filesystem code to Mac and iOS Xcode projects. Ryan C. Gordon 2013-08-20 21:29:40 -04:00
  • 1551ff427b Patched to compile on iOS. Ryan C. Gordon 2013-08-20 21:21:57 -04:00
  • 433252b9e8 More Haiku fixes. Ryan C. Gordon 2013-08-20 20:39:22 -04:00
  • e3073916d8 Fixed compiler warning. Ryan C. Gordon 2013-08-20 20:31:57 -04:00
  • 1fd2f5f98d More Windows fixes for filesystem code. Ryan C. Gordon 2013-08-20 20:29:30 -04:00
  • bbd2c3ba5f Regenerate configure script. Ryan C. Gordon 2013-08-20 20:27:42 -04:00
  • 48a48176c9 Corrected Haiku build. Ryan C. Gordon 2013-08-20 20:16:15 -04:00
  • bfd88e7351 Patched new filesystem code to compile. Ryan C. Gordon 2013-08-20 20:15:15 -04:00
  • c9218e986d Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module. Ryan C. Gordon 2013-08-20 19:57:11 -04:00
  • 2617500503 Fixed cut-and-paste error. Ryan C. Gordon 2013-08-20 15:28:14 -04:00
  • a165b0ddb5 Added SDL_DEPRECATED #define. Ryan C. Gordon 2013-08-20 14:21:35 -04:00
  • 36b1778dfb Added SDL_assert_always (never disabled). Ryan C. Gordon 2013-08-20 14:17:48 -04:00
  • b3ca66a00f More non C89 compliant comments Gabriel Jacobo 2013-08-20 20:34:40 -03:00
  • a0cd92a644 Fixes a few non C89 compliant comments Gabriel Jacobo 2013-08-20 19:49:24 -03:00
  • 37aaf7bc88 add missing SDL_bits.h from OS X framework Edward Rudd 2013-08-20 15:56:08 -04:00
  • 96358477cb Added some FIXMEs for later. Ryan C. Gordon 2013-08-20 12:43:06 -04:00
  • a665c8eb41 Fixes bug #2037, common EGL code for Android and X11 Gabriel Jacobo 2013-08-19 16:29:46 -03:00
  • c3edcbf968 Fixed leaking of pixel shader object in D3D renderer (thanks, Peter!). Ryan C. Gordon 2013-08-19 11:02:44 -04:00
  • 96f09a5af1 Fixed warnings building with gcc 2 and gcc 4 on Haiku Sam Lantinga 2013-08-18 23:18:11 -07:00
  • 97128e3941 Fixed Haiku build (thanks Alexander!) Sam Lantinga 2013-08-18 22:05:53 -07:00
  • 645d51ea1b Replaced introduction in header file with more recent version from README.txt. Philipp Wiesemann 2013-08-18 11:15:30 +02:00
  • 7c915c8ceb Corrected file names in header file comments. Philipp Wiesemann 2013-08-18 11:12:46 +02:00
  • 646e85fffb Changed some documentation comments in header files to be used by doxygen. Philipp Wiesemann 2013-08-18 11:08:52 +02:00
  • 35fe3c3252 Patched to compile with Visual Studio. Ryan C. Gordon 2013-08-17 20:46:34 -04:00
  • c830512c80 Fixed Windows build Sam Lantinga 2013-08-17 17:14:15 -07:00
  • 6f06b9db7a Fixed for consistency with the other platforms Sam Lantinga 2013-08-17 17:04:14 -07:00
  • 5e8897a82a 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
  • 8a8f81a1d7 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
  • 022c8ff651 Fixed windows build Sam Lantinga 2013-08-16 17:50:44 -07:00
  • d69b098e11 The keyboard text events should be sent after the key down events Sam Lantinga 2013-08-16 15:38:06 -07:00
  • e38292a8a9 Fixed bug 1876 - SDL_TEXTINPUT only returns '?' (0x3F) in event.text.text with Khmer language input Sam Lantinga 2013-08-16 15:35:10 -07:00
  • 8d71d5576e Android quirk:Some devices don't report GL_OES_framebuffer_object but support it Gabriel Jacobo 2013-08-16 14:38:04 -03:00
  • 72b1cffe4a Patched to compile. Ryan C. Gordon 2013-08-16 12:51:29 -04:00