Commit Graph

  • 3452a7d968 Fixed SDL printf output for 0x%.8x Sam Lantinga 2013-07-23 12:44:14 -07:00
  • 4862c1fc30 Updated blend semantics so blending uses the following formula: dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA)) dstA = srcA + (dstA * (1-srcA)) This allows proper compositing semantics without requiring premultiplied alpha. Sam Lantinga 2013-07-23 08:06:49 -07:00
  • 03cc44af03 Android: Removed all unnecessary dependencies on C++. Eric Wing 2013-07-22 02:51:45 -07:00
  • 924d28cba7 Corrected internal documentation in source. Philipp Wiesemann 2013-07-22 22:54:00 +02:00
  • ea5874859c Fix bug 1494: add missing test projects to VS2010/VS2010 solution Andreas Schiffler 2013-07-22 06:00:41 -07:00
  • ca9a19ea4c Fixed building with cygwin Note that building with cygwin gcc results in a DLL that depends on cygwin1.dll Sam Lantinga 2013-07-21 23:01:01 -07:00
  • 178f958a2a Removed not needed SDL_WINDOW_SHOWN from iOS example programs. See bug #1667. Philipp Wiesemann 2013-07-21 22:09:00 +02:00
  • 17747734e6 Fixed bug 1813 - MouseMotion relative values do not respect renderer LogicalSize Sam Lantinga 2013-07-21 12:54:27 -07:00
  • 04f86925d1 Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled... Sam Lantinga 2013-07-21 12:47:47 -07:00
  • 5644b36ad2 Added X include path so SDL_syswm.h works correctly on systems with X11 in a non-standard directory. Sam Lantinga 2013-07-21 12:37:43 -07:00
  • 6c92722aad Fixed cursor leak when quitting the mouse subsystem Sam Lantinga 2013-07-21 12:21:22 -07:00
  • a325c053a4 Fixed bug 1976 - SDL2.m4 shares same variables as SDL.m4 so they cache values Sam Lantinga 2013-07-21 11:52:16 -07:00
  • ccb06e4952 Add support for the _NET_WM_BYPASS_COMPOSITOR hint Jasper St. Pierre 2013-07-21 00:57:31 -04:00
  • 0936ec15d3 Cursor mask was uninitialized data, causing problems. Ryan C. Gordon 2013-07-21 00:07:43 -04:00
  • 94f48a7a79 Include SDL_assert.h to fix broken build. Ryan C. Gordon 2013-07-20 21:22:37 -04:00
  • f5dc9cbdd4 Don't allocate memory if we're just going to fail when checking parameters. Ryan C. Gordon 2013-07-20 21:19:20 -04:00
  • 458f6d50de Don't try to clear errors in GL_ActivateRenderer() before we MakeCurrent. Ryan C. Gordon 2013-07-20 21:10:05 -04:00
  • d456fb5414 Fixed another compiler warning. Ryan C. Gordon 2013-07-20 20:12:36 -04:00
  • 89f836cacf One more compiler warning. Ryan C. Gordon 2013-07-20 19:59:31 -04:00
  • 7ad45365b7 More compiler warning fixes. Ryan C. Gordon 2013-07-20 19:58:17 -04:00
  • ee3cbb1fa6 Fixed some compiler warnings that Visual Studio reported. Ryan C. Gordon 2013-07-20 19:51:51 -04:00
  • a4233dae85 Make XInput haptic code respect effect timeouts. Ryan C. Gordon 2013-07-20 18:51:49 -04:00
  • 5b2d7ee0c6 Changed documentation comment for SDL_CreateShapedWindow(). See bug #1667. Philipp Wiesemann 2013-07-20 21:55:15 +02:00
  • bfc26adbd5 Replaced use of malloc()/free() with SDL_malloc()/SDL_free() in test program. Philipp Wiesemann 2013-07-20 21:51:53 +02:00
  • aa1fee4fdb Removed not needed SDL_WINDOW_SHOWN from test programs. See bug #1667. Philipp Wiesemann 2013-07-20 21:47:16 +02:00
  • a30b85dd03 Replaced use of strcmp() with SDL_strcmp() in tests. Philipp Wiesemann 2013-07-20 21:39:54 +02:00
  • 8b105773a0 Removed not needed variable and work in standard library. Found by Cppcheck (that variable's value was never used). Philipp Wiesemann 2013-07-20 21:35:26 +02:00
  • 9227628387 Workaround crash bug in libXi <= 1.4.1 (thanks, Steve!). Ryan C. Gordon 2013-07-20 13:11:40 -04:00
  • 4c6c11e3a3 Corrected comments in test library source. Philipp Wiesemann 2013-07-20 11:16:50 +02:00
  • abd12ce602 Changed return value of internal function to shorten generic haptic source. Philipp Wiesemann 2013-07-20 11:01:03 +02:00
  • 56ec88d00b Fixed bug 1977 - D3D_UpdateClipRect() sets the wrong width for the clip rect Sam Lantinga 2013-07-19 22:43:14 -07:00
  • 211ea4ed99 Fixed wrong type being passed to eglGetConfigAttrib() (thanks, Alexander!). Ryan C. Gordon 2013-07-19 00:22:57 -04:00
  • a5e528c444 Added finger events to SDLTest_PrintEvent(). Ryan C. Gordon 2013-07-18 22:20:09 -04:00
  • a38344e9c5 Mac: Handle SDL_CreateWindow with SDL_WINDOW_MINIMZED. Jørgen P. Tjernø 2013-07-16 01:02:51 -07:00
  • a8c0012c9f Made PND_setwindowgrab() a no-op. It was a cut/paste of PND_destroywindow(). Ryan C. Gordon 2013-07-15 20:30:04 -04:00
  • ddc93adadf Changed strdup() to SDL_strdup(). Philipp Wiesemann 2013-07-15 23:00:47 +02:00
  • d4ebc23d72 Mac: Bring back FS windows when appropriate Jørgen P. Tjernø 2013-07-15 11:58:49 -07:00
  • 01109e93b9 Mac: CGMakePoint -> CGPointMake in previous change. Jørgen P. Tjernø 2013-07-15 11:58:45 -07:00
  • 3671b60b1b Mac: Fix SDL_WarpMouseInWindow in fullscreen. Jørgen P. Tjernø 2013-07-15 11:57:18 -07:00
  • f36a0e9ab8 Turn the system mouse cursor back on before VideoQuit(). Ryan C. Gordon 2013-07-15 14:38:19 -04:00
  • 9e574095f8 Minor indentation clean up. Ryan C. Gordon 2013-07-15 01:12:15 -04:00
  • 83c211c2bc Make winmm and directsound audio targets robust against unsupported formats. Ryan C. Gordon 2013-07-14 21:30:16 -04:00
  • 46e6bc483d Fix #1445: Use xcrun to find CpMac Jørgen P. Tjernø 2013-07-14 15:55:34 -07:00
  • c96b5c574e Fix #1667: Docs about SDL_CreateWindow and flags. Jørgen P. Tjernø 2013-07-14 15:46:43 -07:00
  • 9f8cddc1ba Re-enabled other messagebox tests, moved the SDL_Init() call as late as possible to show the circumstances where it's needed. Sam Lantinga 2013-07-14 12:16:10 -07:00
  • d1adb0a986 Fixed bug 1970 - Cocoa message boxes ignore parent window requests Sam Lantinga 2013-07-14 11:58:57 -07:00
  • c1de40a848 Added testing of messagebox with a parent window Sam Lantinga 2013-07-14 11:57:45 -07:00
  • 8ab710e751 Fixed code example for SDL_GetWindowWMInfo() Sam Lantinga 2013-07-14 11:57:01 -07:00
  • ef2e62274f Removed obsolete assertion code Sam Lantinga 2013-07-14 11:43:25 -07:00
  • b950abe129 Make sure a window is valid for a subsystem before using it in a messagebox Sam Lantinga 2013-07-14 11:41:57 -07:00
  • c8b8665f43 If the video system has been initialized, only use that message box system. Don't pass a window from one video driver to the messagebox function of another video driver. This makes bad things happen. :) Sam Lantinga 2013-07-14 11:11:42 -07:00
  • 9b5b5539ee Fixed compiler warnings in test program by using wrapped functions. Philipp Wiesemann 2013-07-14 19:56:22 +02:00
  • 2f8b666051 Changed use of isspace() to SDL_isspace(). Philipp Wiesemann 2013-07-14 19:53:50 +02:00
  • 26b21dc5ff Implement float32 support for winmm and directsound targets (Thanks, John!). Ryan C. Gordon 2013-07-14 13:27:54 -04:00
  • c88d5e0b60 Fixed compiler warning in testtimer.c Ryan C. Gordon 2013-07-14 13:25:49 -04:00
  • f6250318c6 Protect SDL_PauseAudio*() with the audio callback lock. Ryan C. Gordon 2013-07-14 12:42:12 -04:00
  • 10513105ac Fixed off-by-one error in SDL_AudioQuit() (thanks, Rainer!). Ryan C. Gordon 2013-07-14 11:28:18 -04:00
  • c672d321c2 Removed unused internal function. Found by Cppcheck. Philipp Wiesemann 2013-07-14 14:32:26 +02:00
  • 8f0765a932 Fixed compiler warnings in test program by using wrapped functions. Philipp Wiesemann 2013-07-14 13:33:54 +02:00
  • 642825d6f6 Fixed compiler warnings in test programs by adding return statements. Philipp Wiesemann 2013-07-14 13:30:26 +02:00
  • 27e8a1013d Fixed compiler warnings in test programs by adding includes directives. Philipp Wiesemann 2013-07-14 13:27:19 +02:00
  • 7a76c4f7f7 Changed some for-loops to be a bit more clear. Ryan C. Gordon 2013-07-13 21:56:31 -04:00
  • 6061eacb9c Don't copy structs to stack in cmpmodes(), use const pointers instead. Ryan C. Gordon 2013-07-13 21:50:40 -04:00
  • cb36800d33 Don't use SDL_memcmp() on modes to check if they've already been added. Ryan C. Gordon 2013-07-13 21:42:57 -04:00
  • 02f1966126 Explicitly check for Xext.h in the CMake project, fail if missing. Ryan C. Gordon 2013-07-13 20:24:09 -04:00
  • 843aed5449 Fixed compiler warnings in test programs. Philipp Wiesemann 2013-07-13 21:13:09 +02:00
  • 72b5424518 Added missing fclose() in test program. Found by Cppcheck. Philipp Wiesemann 2013-07-13 21:06:56 +02:00
  • 80d2811c3f Removed unused variable and not needed assignment in test program. Found by Cppcheck. Philipp Wiesemann 2013-07-13 21:05:13 +02:00
  • 2b52b168c3 Fixed printf() usage in test program. Found by Cppcheck. Philipp Wiesemann 2013-07-13 21:02:23 +02:00
  • 2eb2901197 Added a configure check for Xext.h Sam Lantinga 2013-07-13 10:41:57 -07:00
  • 8f2f5f59d2 Added a hint to control the Windows timer resolution: SDL_HINT_TIMER_RESOLUTION Added an API to watch hint changes: SDL_AddHintCallback(), SDL_DelHintCallback() You can now dynamically set the joystick background event hint. Sam Lantinga 2013-07-13 03:13:41 -07:00
  • 124aecc92c Only get desktop modes from Xinerama if we can't use XRandR (fix #1956) David Gow 2013-07-13 11:06:34 +08:00
  • 4aae6e7d86 Fixed bug 1938 - Buffer overflows in the Windows IME code Sam Lantinga 2013-07-12 23:45:12 -07:00
  • afeb38f404 Don't set the current OpenGL window if the context creation fails. Sam Lantinga 2013-07-12 23:28:34 -07:00
  • 6d20034027 Updated supported iOS version. Sam Lantinga 2013-07-12 23:16:11 -07:00
  • eae760a8ed CMake project should install sdl2.m4. Ryan C. Gordon 2013-07-13 00:10:25 -04:00
  • 398dc15e51 CMake project should enable pthreads for Mac OS X by default. Ryan C. Gordon 2013-07-13 00:07:34 -04:00
  • 1d2330e56c Fixed iOS context sharing again. Ryan C. Gordon 2013-07-12 23:38:44 -04:00
  • ad5ab01ee3 Patched to compile. Ryan C. Gordon 2013-07-12 23:32:54 -04:00
  • 394b84163f Implement SDL_GL_SHARE_WITH_CURRENT_CONTEXT for iOS. Ryan C. Gordon 2013-07-12 23:30:26 -04:00
  • 2ea8002cec Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates Sam Lantinga 2013-07-12 10:44:55 -07:00
  • f1c05e8f1b Oops, that was supposed to be in the Linux section. Sam Lantinga 2013-07-12 08:21:28 -07:00
  • c0d6bf12b0 Fixed bug 1810 - xxx_RenderReadPixels - incorrect behaviour in certain conditions Sam Lantinga 2013-07-12 00:55:04 -07:00
  • 824e95758a Don't crash if the current render target is destroyed. Sam Lantinga 2013-07-12 00:43:16 -07:00
  • 9637ceba41 Fixed gcc warnings for apps using SDL headers with -Wstrict-prototypes flag. Dimitris Zenios 2013-07-12 09:55:58 +03:00
  • b831828d7a Fixed name of the Logitech F710 controller Sam Lantinga 2013-07-11 23:21:09 -07:00
  • 777f618789 Fixed bug 1853 - Gamecontroller patch to add support for Logitech F510 (Linux) Sam Lantinga 2013-07-11 23:20:29 -07:00
  • 88d269ecd7 Fixed Azamat's patch for SIZEOF_VOIDP in SDL_config.h.in Sam Lantinga 2013-07-11 23:16:47 -07:00
  • 31d9bd334b WinRT: removed hack to flush out pending window-size-change events on app startup. David Ludwig 2013-06-08 14:34:09 -04:00
  • 214b051e50 Define universal answer of SIZEOF_VOIDP for 32/64-bit architectures. This commit makes SDL_config.h universal, so it can be used with mixed 32 and 64 enviroment simultaneously. Azamat H. Hackimov 2013-06-05 12:28:53 +06:00
  • 603b10c38f Fixed cast of the OpenGL context type Sam Lantinga 2013-07-11 23:05:02 -07:00
  • 2172f538cc Fixed bug 1946 - OpenGL contexts in threads Sam Lantinga 2013-07-11 22:59:20 -07:00
  • 81d61485aa Fixed off-by-one error in SDL_ConvertStereo(). Ryan C. Gordon 2013-07-12 01:26:43 -04:00
  • ce81311ab7 Check the parameters to SDL_UpdateTexture() Sam Lantinga 2013-07-11 22:04:16 -07:00
  • c0f6172cfe Fixed bug 1958 - Cocoa SwapWindow doesn't swap the specified window Sam Lantinga 2013-07-11 21:51:09 -07:00
  • 0d20116ec9 Whoops, missed a part of that last commit. Ryan C. Gordon 2013-07-11 23:59:09 -04:00
  • 0cbdae6cb5 Explicitly write silence to the audio device while it is paused. Ryan C. Gordon 2013-07-11 23:53:00 -04:00
  • 71117d7c74 Attempt to fix a compiler warning on Haiku. Ryan C. Gordon 2013-07-11 23:17:52 -04:00
  • b2dfae24bf Fixed compiler warnings on Haiku. Ryan C. Gordon 2013-07-11 12:44:03 -04:00
  • 35232f9450 Removed some unused variables. Ryan C. Gordon 2013-07-11 12:27:39 -04:00