Commit Graph

  • 7da63a0c08 Add some protection against double init of the Android audio backend Gabriel Jacobo 2013-08-08 09:47:42 -03:00
  • 66d3386956 Fixed compile error Sam Lantinga 2013-08-08 02:34:21 -07:00
  • dbc779cbcb Fixed bug 2009 - Creating texture from 32-bit surface with colorkey and per-surface alpha ignores the colorkey Sam Lantinga 2013-08-08 02:30:32 -07:00
  • b4d6152c93 autogen.sh on development system Sam Lantinga 2013-08-08 01:59:36 -07:00
  • aaa26e1f87 Updated README to match new website description Sam Lantinga 2013-08-08 01:59:19 -07:00
  • f180aebaa0 Explicitly use the RTLD_LOCAL flag since that's the behavior we want. The default on Linux is RTLD_LOCAL, the default on Mac OS X is RTLD_GLOBAL. Sam Lantinga 2013-08-07 17:26:28 -07:00
  • d683eadde5 The return value of SDL_MostSignificantBitIndex32(0) is defined as -1. Sam Lantinga 2013-08-07 16:32:51 -07:00
  • a861227272 Ensure that the right window is current in SDL_GL_SwapWindow. Jørgen P. Tjernø 2013-08-07 16:29:28 -07:00
  • 2be0b82864 Mac: Support for multiple contexts per SDL_Window. Jørgen P. Tjernø 2013-08-07 16:29:25 -07:00
  • 2d3e238096 Mac: Don't -[NSOpenGLContext update] on (potentially) the wrong thread. Jørgen P. Tjernø 2013-08-07 16:29:21 -07:00
  • 3c31b3003b Mac: Better mouse-grab if you define SDL_MAC_NO_SANDBOX. Jørgen P. Tjernø 2013-08-07 16:29:15 -07:00
  • cef724151d Updated the name of the iOS platform Sam Lantinga 2013-08-07 14:00:41 -07:00
  • 61d2cff464 Whoops, forgot to commit this piece. Ryan C. Gordon 2013-08-07 12:17:33 -07:00
  • a09638f0d7 SDL_Init() is now just a wrapper around SDL_InitSubSystem(). Ryan C. Gordon 2013-08-07 11:14:16 -07:00
  • 68d2df2a8c SDL_*Parachute() are no-ops, remove them. Ryan C. Gordon 2013-08-07 11:12:11 -07:00
  • 69e32dc7c4 Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :) Ryan C. Gordon 2013-08-07 11:00:44 -07:00
  • bbb0519eee Fix building the tests with Visual Studio 2012 (thanks Isaac!) Sam Lantinga 2013-08-07 09:20:41 -07:00
  • dfac4af69a Reset the viewport when we reset the other D3D state. Sam Lantinga 2013-08-07 01:14:04 -07:00
  • 51376e7d6b Unify the SetWindowPos() calls so that they all set the window state based on SDL state. This prevents a rogue call to SetWindowPos() from changing the state unexpectedly. Also moved the size correction code above the window position query, because the initial window size can affect the positioning. Sam Lantinga 2013-08-07 00:46:42 -07:00
  • 08caedf410 Fixed incorrect window state if the window is created grabbed. We don't want to activate the window if it isn't shown yet. Sam Lantinga 2013-08-07 00:10:31 -07:00
  • b3ce9dee4a Fixed bug 1848 - SDL_SetWindowSize cannot set sizes larger than desktop resolution in Windows Sam Lantinga 2013-08-06 22:55:55 -07:00
  • 4b9d9d7d74 Fixed clobbering viewport when window is resized when using the software renderer. The viewport adjustment is already handled in the top level rendering code. Sam Lantinga 2013-08-06 22:31:11 -07:00
  • 77b4978afb Removed function signature that doesn't actually exist yet. Ryan C. Gordon 2013-08-06 18:23:46 -07:00
  • 8b8f17d38d Fixed a number of missing keys in the X11 keyboard mapping. Sam Lantinga 2013-08-06 18:19:34 -07:00
  • 34fc54885e Added scancodes for F17, F18, F19 on a Mac keyboard Sam Lantinga 2013-08-06 12:56:47 -07:00
  • be0246d732 Added tag macosx_10_4_supported for changeset ccf5fbfa2afa Sam Lantinga 2013-08-06 01:19:23 -07:00
  • 6282a112e5 Removed anisotropic option from SDL_HINT_RENDER_SCALE_QUALITY. Ryan C. Gordon 2013-08-06 00:23:04 -04:00
  • a0bac03105 Added scancodes for F13-F19 from a Mac USB keyboard Sam Lantinga 2013-08-05 11:45:51 -07:00
  • 8aa3fca78a Added missing function prototype and changed its signature. Signature was changed to prevent a header for SDL_GLContext. Philipp Wiesemann 2013-08-04 23:38:25 +02:00
  • c14d87dec4 Fixed volume keys not being handled by Android if screen keyboard is visible. See bug #1569. Philipp Wiesemann 2013-08-04 23:28:34 +02:00
  • a5641a9745 Fixed bug 1972 - Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90) Sam Lantinga 2013-08-04 09:37:27 -07:00
  • c2d6d45a9f Added extra Visual C++ files to the ignore list Sam Lantinga 2013-08-04 09:35:35 -07:00
  • 2170675d1e Fixed bug 2008 - error typos in gles2 renderer Sam Lantinga 2013-08-04 09:26:45 -07:00
  • a55a716143 Allow C++ code to include SDL_android.h Sam Lantinga 2013-08-04 09:23:55 -07:00
  • acff4dec41 Added missing return statement. Philipp Wiesemann 2013-08-03 23:40:28 +02:00
  • 54bd7cde7b Fixed calling JNI method in a wrong way. Method is void and does not return bool. Philipp Wiesemann 2013-08-03 23:36:07 +02:00
  • 8d20160ad0 Fixes bug #1889, allows for GL Context deletion/recreation on Android Thanks ny00! Gabriel Jacobo 2013-08-03 12:54:39 -03:00
  • e623a7cea4 Some fixes for SDL_MaximizeWindow(). Ryan C. Gordon 2013-08-03 02:20:00 -04:00
  • 91068a6c21 Fixed some whitespace. Ryan C. Gordon 2013-08-02 18:25:20 -04:00
  • 4b9c3c0664 Temporary fix for bug #1639 SDL does not message back closing of screen keyboard Gabriel Jacobo 2013-08-02 12:38:39 -03:00
  • a082c12fd1 Fixed bug 1968 - SDL_RenderCopy stretch loses proportion on viewport boundaries for 3D renderers Sam Lantinga 2013-08-01 09:15:36 -07:00
  • 796b937fca Fixed bug 1638 - Blit Alpha surface bug Sam Lantinga 2013-08-01 01:29:07 -07:00
  • 4af79f780e Windows: Unstick shift keys in a timely manner when the OS loses a KEYUP event. Ryan C. Gordon 2013-08-01 01:50:02 -04:00
  • 0e06fd2dfc More work on bug 1999, added missing CFBundleExecutable key to Info.plist Sam Lantinga 2013-07-31 21:31:23 -07:00
  • 260c212fd0 Move the fix for Bugzilla #1395 into WIN_GL_SetupWindow() directly. Ryan C. Gordon 2013-08-01 00:27:22 -04:00
  • e5aa1694db Documented why we have global and thread-local variables for the GL context. Sam Lantinga 2013-07-31 21:22:09 -07:00
  • c7dfdbb52f Fixed bug 1569 - Android volume keys not honoured inside SDL Sam Lantinga 2013-07-31 21:08:22 -07:00
  • 5c921db1f1 Windows: Don't lose the existing current GL context in SDL_CreateWindow(). Ryan C. Gordon 2013-08-01 00:01:57 -04:00
  • 53cf4bf3c6 Set mAudioTrack to null when AudioTrack initialization fails Gabriel Jacobo 2013-07-31 16:25:50 -03:00
  • fb8455ec81 Further fix SIZEOF_VOIDP in SDL_config.h.in Edward Rudd 2013-07-31 12:13:26 -04:00
  • 6bcb92b468 Workaround some Windows OpenGL drivers mishandling wglMakeCurrent(). Ryan C. Gordon 2013-07-31 11:00:23 -04:00
  • b5b67aacf8 Fix for bug 2001, verify that the AudioTrack is properly initialized Gabriel Jacobo 2013-07-31 10:04:59 -03:00
  • ccdd2f87a3 Fixed bug 2000 - The framework INSTALL_PATH still uses @executable_path Sam Lantinga 2013-07-30 23:33:32 -07:00
  • 1a3a905aa9 Added code signature step to Framework build process Sam Lantinga 2013-07-30 21:39:38 -07:00
  • 94c6b39a04 Check for negative source rectangle in SDL_SoftBlit() (thanks John!) Sam Lantinga 2013-07-30 20:57:26 -07:00
  • 0f4de98390 Added support for the two new key codes from Android 4.3. Philipp Wiesemann 2013-07-30 23:24:23 +02:00
  • ff814534d2 Fixed compiler warning with gcc Sam Lantinga 2013-07-30 00:02:45 -07:00
  • a804c33317 Fixed stack smashing crash when using the GCC compiled DLL with Visual Studio. Sam Lantinga 2013-07-29 23:28:25 -07:00
  • a164f89158 Workaround older libpulse that fails in pa_context_new() with a NULL appname. Ryan C. Gordon 2013-07-30 01:32:26 -04:00
  • ff56141020 These should be __inline__, not inline. Ryan C. Gordon 2013-07-30 01:30:32 -04:00
  • ece38070df Attempt to fix compiler warning. Ryan C. Gordon 2013-07-30 00:17:44 -04:00
  • 1d3d9d10fb Added documentation saying the render API isn't for multi-threading. Sam Lantinga 2013-07-28 11:24:16 -07:00
  • 1de7a622ab Changed test program to be more compatible C. Philipp Wiesemann 2013-07-27 21:11:12 +02:00
  • 719f8227e0 Removed unused variable from test program. Philipp Wiesemann 2013-07-27 21:07:07 +02:00
  • af2f530b05 Removed unused parameter in test program. Philipp Wiesemann 2013-07-27 21:05:04 +02:00
  • 81450906db Corrected words in comments of test programs. Philipp Wiesemann 2013-07-27 21:02:50 +02:00
  • 8ee90e400d Fixed return value documentation for SDL_HapticUpdateEffect(). Ryan C. Gordon 2013-07-27 13:18:54 -04:00
  • ce89bf2ea5 Backed out hg changeset 7f26fd1df927; docs were wrong, not the code. Ryan C. Gordon 2013-07-27 13:13:57 -04:00
  • f5d7428a9e Added a FIXME discussion to last commit. Ryan C. Gordon 2013-07-27 13:09:15 -04:00
  • a5c322ecb7 Cocoa: Make the next-highest window gain focus when a window is closing. Ryan C. Gordon 2013-07-22 20:55:07 -04:00
  • 2f2a724332 Fixed SDL_HapticOpened() returning -1 instead of 0. According to header file it should only return 0 or 1. Philipp Wiesemann 2013-07-27 14:22:52 +02:00
  • 4f10b00b2b Removed C++ macro setup in internal header for Android port which is only C now. Philipp Wiesemann 2013-07-27 14:06:06 +02:00
  • 68c09645a0 Fixed SDL_HapticRumblePlay() maybe working because of SDL_HapticUpdateEffect(). Philipp Wiesemann 2013-07-27 13:52:16 +02:00
  • 10df5ccc6d Corrected SDL_HapticUpdateEffect() returning 0 instead of index of effect. According to documentation in header and wiki the index should be returned. This change may break existing programs which assume only 0 means a success. Philipp Wiesemann 2013-07-27 13:39:43 +02:00
  • aab0048d87 Added example of using the software renderer and window surface API, contributed by Nitin Jain. Sam Lantinga 2013-07-27 03:48:23 -07:00
  • 7fcffeefe0 Fixed bug 1983 - SDL_thread.h broken under MinGW crosscompiling environment Sam Lantinga 2013-07-27 03:44:03 -07:00
  • 1e7eb916c9 Fixed variable scoping for Windows build Sam Lantinga 2013-07-27 03:22:37 -07:00
  • ddb703566e Fixed bug 1272 - Bogus numlock key up/down events being reported on MacOS X Sam Lantinga 2013-07-27 03:20:09 -07:00
  • 10aa2f9e9d Fixed bug 1743 - CMake produces libraries with wrong filename/SONAME Sam Lantinga 2013-07-27 02:50:19 -07:00
  • cffce6aedd Improved error checking in the haptic system, preventing crashes in some cases. Sam Lantinga 2013-07-27 02:45:26 -07:00
  • 85df5b29d7 Fixed bug 1919 - Window icon disappears as soon as a renderer is created Sam Lantinga 2013-07-14 18:17:28 -07:00
  • 92312a88ef Fixed bug 1526 - X11 - XUnmapWindow should not be called directly Sam Lantinga 2013-07-27 00:49:34 -07:00
  • 42ae5d7882 Fix cmake breakage (thanks Marcus) Jørgen P. Tjernø 2013-07-26 13:30:24 -07:00
  • 8ebc49587f Consider the case where an attribute is set to EGL_DONT_CARE in eglChooseConfig SDL doesn't currently use EGL_DONT_CARE, but it doesn' hurt to future proof. Gabriel Jacobo 2013-07-26 12:37:36 -03:00
  • 77cacb8357 [Android] Bug 1827, select the best matching config provided by eglChooseConfig Gabriel Jacobo 2013-07-26 12:22:40 -03:00
  • a89e64a94e Fixed crash and garbled output when converting from F32 to S16 audio. Sam Lantinga 2013-07-25 18:11:09 -07:00
  • 7eff345ecb Updated the copyright year for the test programs Sam Lantinga 2013-07-25 09:51:21 -07:00
  • 499372f2c1 Corrected return value to be of correct type. Philipp Wiesemann 2013-07-24 22:25:17 +02:00
  • 1af8caa0a0 Corrected internal documentation in source. The parameter silent is no longer optional. Philipp Wiesemann 2013-07-24 22:23:19 +02:00
  • addf454fb9 Removed unreachable code. Philipp Wiesemann 2013-07-24 22:20:03 +02:00
  • d139035d90 Removed unused variables to fix warnings in test program. Philipp Wiesemann 2013-07-24 22:19:01 +02:00
  • 159649b794 Fix for recent GLX error bug Sam Lantinga 2013-07-23 19:20:03 -07:00
  • cc357a636a A little cleanup on the cleanup, just for consistency. Sam Lantinga 2013-07-23 19:18:01 -07:00
  • 01972a2e9d = {{0}} generates a memset() in MSVC, which isn't linked. Whoops! Jørgen P. Tjernø 2013-07-23 17:40:18 -07:00
  • f87ccc3ea5 Fix build errors from last change. Jørgen P. Tjernø 2013-07-23 17:40:16 -07:00
  • 61b46199ac Fix some clang analyzer warnings. Jørgen P. Tjernø 2013-07-23 17:40:13 -07:00
  • e1bbdec6b8 Mac: Codify SDK and OS requirements, and clean up. Jørgen P. Tjernø 2013-07-23 17:38:59 -07:00
  • 9747d8daf0 Add a timeout to the clipboard code to avoid hangs when using synergy. When a timeout is detected we set the clipboard so that we own it so that future timeouts are avoided. Testing has confirmed that this timeout and setting only occurs when the clipboard contains text from my Windows machine. macosx_10_4_supported Sam Lantinga 2013-07-23 12:59:29 -07:00
  • 3d68d1d1ea Added Direct3D shader to hardware accelerate YV12 and IYUV textures. Sam Lantinga 2013-07-23 12:55:19 -07:00
  • 976949bd01 Finished updating testoverlay2 for the new API and added it to the Visual Studio 2010 projects Sam Lantinga 2013-07-23 12:46:22 -07:00