Commit Graph

  • 96aef8cbca X11: Fixed compiler warnings in DEBUG_XEVENTS sections. Ryan C. Gordon 2015-06-04 10:59:02 -04:00
  • 7738bd9b55 AIX: Fixed nearly impossible file descriptor leak. Philipp Wiesemann 2015-06-04 17:52:51 +02:00
  • eab076a7ee Fixed not needed calculation in test program. Philipp Wiesemann 2015-06-04 17:52:27 +02:00
  • 38549a7bba Fixed bug 2625 - Direct3D9 with SDL_TEXTUREACCESS_TARGET textures causes an application crash Sam Lantinga 2015-06-04 00:56:11 -07:00
  • ba1263cd1d Backout commit 83034612a883 Ryan C. Gordon 2015-06-04 02:12:06 -04:00
  • e8b376c9d5 Linux: Implemented sysfs-based version of SDL_GetPowerInfo(). Ryan C. Gordon 2015-06-03 13:11:28 -07:00
  • 36ecb766c8 Changed a static function to match the naming scheme of rest of source file. Ryan C. Gordon 2015-06-01 01:25:22 -04:00
  • cad269bc27 Also set the _NET_WM_NAME. Window managers supporting this will take this value over the value set by XStoreName. This explicitly supports UTF-8 encoding, which fixes corrupt UTF-8 titles in KDE. Jason Wyatt 2015-05-05 09:16:12 +01:00
  • 52df7f5b8f testmessage: Try Unicode chars in the title, too. Ryan C. Gordon 2015-05-31 23:53:10 -04:00
  • 05e78b3f49 X11: search all XI2 touch devices, not just masters (thanks, Volumetic!). Ryan C. Gordon 2015-05-31 22:59:59 -04:00
  • 554b2b0e36 X11: Fixed message boxes not responding to click on titlebar close button. Ryan C. Gordon 2015-05-31 22:48:26 -04:00
  • cb60f2dfc2 testmessage.c should report when message boxes were closed. Ryan C. Gordon 2015-05-31 22:27:46 -04:00
  • 8bfc622b18 Fixed memory leaks in testfilesystem.c (thanks, Nitz!). Ryan C. Gordon 2015-05-31 21:50:50 -04:00
  • 7619ad3430 Cocoa: deal with mouse focus when warping the cursor from outside a window. Ryan C. Gordon 2015-05-31 21:43:36 -04:00
  • 5b2ff76c12 Cocoa: send a MOUSEMOTION event when warping cursor from outside the window. Ryan C. Gordon 2015-05-31 13:58:36 -04:00
  • dbfd4fdd22 Android: Added missing space in three log messages. Philipp Wiesemann 2015-05-31 19:23:16 +02:00
  • 551fbf7bea Android: Changed two unknown keys to be consistent with Windows and X11 mapping. Philipp Wiesemann 2015-05-31 19:22:42 +02:00
  • 80614b27e4 Fixed swizzle of SDL_FillRect() on 24-bit surface (thanks, "nagydavid91"!). Ryan C. Gordon 2015-05-31 11:38:10 -04:00
  • 1899dfb041 Fixed SDL_ISPIXELFORMAT_ALPHA to check pixel orders that match pixel type. Ryan C. Gordon 2015-05-31 01:45:20 -04:00
  • e58a5c43c4 X11: Fixed high mouse buttons mappings and horizontal wheels (thanks, Daniel!). Ryan C. Gordon 2015-05-31 00:58:43 -04:00
  • 870df8adab Cocoa: ignore mouseDown events in a window's titlebar. Ryan C. Gordon 2015-05-31 00:50:30 -04:00
  • 8c9571a26b Fixed typo in header file documentation comment. Philipp Wiesemann 2015-05-29 22:24:38 +02:00
  • f001a00b08 X11: Force the window focus during ShowWindow if there's no window manager. Ryan C. Gordon 2015-05-29 15:21:47 -04:00
  • c888183728 Improved fix for bug 2096 - Mapping from scancode to keycode doesn't work for remapped modifier keys Sam Lantinga 2015-05-28 19:06:07 -07:00
  • 45f967be8f Fixed building test programs on the iOS simulator Sam Lantinga 2015-05-28 18:57:57 -07:00
  • da1909755b Fixed clip rectangle calculation when there is a viewport offset Sam Lantinga 2015-05-28 18:57:10 -07:00
  • 6e67c949c1 Fixed bug 2054 - SDL_GetError: "Unknown touch device" Sam Lantinga 2015-05-28 12:55:01 -07:00
  • 32d6dcdb47 Fixed bug 2096 - Mapping from scancode to keycode doesn't work for remapped modifier keys Sam Lantinga 2015-05-28 12:48:20 -07:00
  • 4d1626d042 Windows SDL_GetBasePath: free string on failure. Ryan C. Gordon 2015-05-28 15:36:27 -04:00
  • aa43bee434 Windows GetBasePath: fixed reallocation code. Ryan C. Gordon 2015-05-28 15:32:45 -04:00
  • 566316e052 Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer size. Ryan C. Gordon 2015-05-28 15:29:43 -04:00
  • f9abea2061 Fixed bug 2210 - Initializing Video produces unnecessary errors Sam Lantinga 2015-05-28 12:31:25 -07:00
  • 6a3ad8a998 Fixed bug 2367 - Bad mouse motion coordinates with two windows where one has changed logical size Sam Lantinga 2015-05-28 12:18:05 -07:00
  • bccc2ad09e Fixed compiling and tested on Windows Sam Lantinga 2015-05-28 12:06:48 -07:00
  • 6d1ad3847a Windows GetBasePath should use GetModuleFileNameExW() and check for overflows. Ryan C. Gordon 2015-05-28 01:54:52 -04:00
  • 75702ffebc Make sure we have the vsscanf() prototype (thanks, Ozkan!). Ryan C. Gordon 2015-05-28 14:34:38 -04:00
  • cb24f4de94 Fixed bug 2772 - SDL2 doesn't handle X KeymapNotify events Sam Lantinga 2015-05-28 10:44:46 -07:00
  • aa4952fdef Added SDL_WINDOWEVENT_HIT_TEST. Ryan C. Gordon 2015-04-21 10:10:59 -04:00
  • d4aedf9951 Added SDL_SetWindowModalFor(). Ryan C. Gordon 2015-04-21 09:45:58 -04:00
  • e497e46515 Added SDL_SetWindowInputFocus(). Ryan C. Gordon 2016-01-05 02:28:56 -05:00
  • 3bdaf4c611 Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity(). Ryan C. Gordon 2016-01-05 02:46:10 -05:00
  • 5696e88e6b Added SDL_GetWindowBordersSize(). Ryan C. Gordon 2016-01-05 02:29:06 -05:00
  • f9af0c0376 x11: Put a matching window_group wmhint on every window created. Ryan C. Gordon 2016-01-05 02:27:26 -05:00
  • 8e855f2fbc Added SDL_DROPBEGIN and SDL_DROPCOMPLETE events, plus window IDs for drops. Ryan C. Gordon 2016-01-05 01:42:00 -05:00
  • f2defe5e11 Added special window type flags. Ryan C. Gordon 2016-01-05 01:30:40 -05:00
  • f9b7379341 Added SDL_DROPTEXT event, for dragging and dropping string data. Ryan C. Gordon 2016-01-05 02:26:45 -05:00
  • c3114975db Added SDL_GetDisplayUsableBounds(). Ryan C. Gordon 2016-01-04 23:52:40 -05:00
  • 8875a4014f x11: Optimize SDL_GetGlobalMouseState() a little. Ryan C. Gordon 2015-04-22 16:50:48 -04:00
  • 14e007772a x11: window managers might mark windows as FULLSCREEN _and_ MAXIMIZED. Ryan C. Gordon 2015-04-21 10:14:17 -04:00
  • 9a7527988a x11: Workaround window managers that mark fullscreen windows as maximized. Ryan C. Gordon 2015-04-21 01:22:32 -04:00
  • 81209acbd8 x11: Let apps specify that video init should fail if XRandR is unavailable. Ryan C. Gordon 2016-01-04 23:44:27 -05:00
  • f9d478b6c3 x11: _NET_WM_PID needs a long, not a pid_t, I think. Ryan C. Gordon 2016-01-05 02:40:14 -05:00
  • e6e62bee71 CMake: Let static libraries optionally be built with Position Independent Code. Ryan C. Gordon 2016-01-05 01:26:32 -05:00
  • 008a6abd04 CMake: use the old MACOSX_RPATH behavior (for now), silence the warning. Ryan C. Gordon 2016-01-05 01:25:54 -05:00
  • 0c0ce2096c Updated comment: this is the correct way to do fullscreen on X11 now. Ryan C. Gordon 2015-04-21 10:19:20 -04:00
  • e0e04542d0 Added a few FIXMEs. Ryan C. Gordon 2015-04-21 09:46:48 -04:00
  • 1373e8909a Try to build with GCC's -Wdeclaration-after-statement. Ryan C. Gordon 2016-01-04 22:58:38 -05:00
  • 15bc7aea64 Mac: allows apps to use OpenGL on a slower, integrated GPU. Ryan C. Gordon 2016-01-04 22:00:04 -05:00
  • 7678b1db88 Patch to compile on C89 compilers. Ryan C. Gordon 2016-01-04 16:36:42 -05:00
  • 6df5e1e535 x11: Support _NET_WM_USER_TIME and give _NET_ACTIVE_WINDOW a valid timestamp. Ryan C. Gordon 2016-01-04 16:25:27 -05:00
  • 9fcf5d7d4d CMake: Don't link directly to libGL on Unix. Ryan C. Gordon 2016-01-03 21:48:17 -05:00
  • 1240f8e0a6 CMake: Don't make a libSDL2.so symlink on Mac OS X (do .dylib instead). Ryan C. Gordon 2016-01-03 20:52:44 -05:00
  • fa8c83c1c1 Remove almost all instances of "volatile" keyword. Ryan C. Gordon 2016-01-03 06:50:50 -05:00
  • 21f66ea295 Added tag release-2.0.4 for changeset 5596f75b34e8 Sam Lantinga 2016-01-02 12:17:33 -08:00
  • e2fd1c0fe3 Backed out commit 80ce90dbc266, this causes Visual Studio build failure on buildbot release-2.0.4 Sam Lantinga 2016-01-02 11:17:06 -08:00
  • 68a3272852 Fixed sed error on Mac OS X and updated copyright on a few last files Sam Lantinga 2016-01-02 10:38:51 -08:00
  • ac444cd313 Fixed bug 3092 - Statically link sdl2 with /MT for msvc Sam Lantinga 2016-01-02 10:25:53 -08:00
  • 42065e785d Updated copyright to 2016 Sam Lantinga 2016-01-02 10:10:34 -08:00
  • 5ba1fd9bb1 Fixed typo in README for iOS. Philipp Wiesemann 2016-01-01 17:41:11 +01:00
  • 4a93dae4cd Added brackets to function names in header comments so doxygen links them. Philipp Wiesemann 2016-01-01 17:39:55 +01:00
  • 4aae0290ea Updated some header comments and iOS documentation to better clarify high-dpi / retina support and screen-coordinate sizes versus pixel sizes. Alex Szpakowski 2015-12-31 21:16:43 -04:00
  • b0d8dfcd8a CMake: Fixed building for Windows with VS2015 (bug #3080). Alex Szpakowski 2015-12-31 15:26:40 -04:00
  • 44c0b2da87 WinRT: minor code-comment cleanups David Ludwig 2015-12-31 01:54:11 -05:00
  • 6823a22162 WinRT: fixed bug whereby a Win8.x app's SDL_Window wasn't getting de-marked as maximized (on window restore) David Ludwig 2015-12-31 01:50:30 -05:00
  • d8aa066288 Fixed Bug 3217 - WinRT: after alt-tab'ing back into fullscreen app, mouse cursor is sometimes wrong David Ludwig 2015-12-31 01:40:50 -05:00
  • 854cf7ac40 Fixed Bug 3215 - Win32: 'fullscreen' app doesn't always extend to top of screen David Ludwig 2015-12-30 12:44:13 -05:00
  • 9d789ebe0d Updated configure script. Philipp Wiesemann 2015-12-29 19:14:19 +01:00
  • c41feca5de Fixed a crash if creating accelerated renderer after accessing window surface. Philipp Wiesemann 2015-12-29 19:13:56 +01:00
  • 696cd7975c NetBSD: fixed issues with cpuinfo and pthread_setname_np (thanks, Thomas!). Ryan C. Gordon 2015-12-29 02:32:47 -05:00
  • ce0f90ffb9 NetBSD: improved joystick support (thanks, Thomas!). Ryan C. Gordon 2015-12-29 02:29:56 -05:00
  • 2254932b3e Added support for building for NetBSD on the Raspberry Pi (thanks, Jared!). Ryan C. Gordon 2015-12-29 02:27:02 -05:00
  • 18c7d6df21 XRandR: fixed primary output detection logic (thanks, "winterknight"!). Ryan C. Gordon 2015-12-29 02:16:14 -05:00
  • 326b357804 Mac: don't ignore mouse clicks on the top pixel of a window (thanks, Joshua!). Ryan C. Gordon 2015-12-29 01:09:58 -05:00
  • 61518bce6b CMake: Changes to get CMake project to work with Android (thanks, Martin!). Ryan C. Gordon 2015-12-29 00:57:24 -05:00
  • 7e679ed2c1 CMake: fixed a failure to reset CMAKE_REQUIRED_FLAGS (thanks, Martin!). Ryan C. Gordon 2015-12-29 00:36:03 -05:00
  • c9927bbb17 CMake: don't try to use the Linux joystick code on Android (thanks, Martin!). Ryan C. Gordon 2015-12-29 00:24:37 -05:00
  • 7ca3b27064 CMake: Fixed to work on Windows 8 SDK (thanks, Martin!). Ryan C. Gordon 2015-12-29 00:02:43 -05:00
  • 2f59284971 Fixed typo in sdl2-config.cmake.in (thanks, Rafal!). Ryan C. Gordon 2015-12-28 23:29:11 -05:00
  • f893ce3d3e OpenGL+GLES renderers: Fixed incorrect clip rectangle coords (thanks, Marcel!). Ryan C. Gordon 2015-12-28 15:15:58 -05:00
  • 4ae69e3222 Mac: expose joystick buttons that report themselves as having 'Start' and 'Select' HID usages. Alex Szpakowski 2015-12-28 15:44:09 -04:00
  • 51c1d69d13 Mac: Whoops, lost legit Caps lock keypress events. Fixed. Ryan C. Gordon 2015-12-28 13:30:58 -05:00
  • fd6b435c6a Windows: resync num/caps lock when window is gaining focus. Ryan C. Gordon 2015-12-28 13:08:19 -05:00
  • 257b7af247 Sync up the caps/numlock state properly without sending key events. Ryan C. Gordon 2015-12-28 13:07:44 -05:00
  • d3b323f89d Mac: Fix keyboard state if capslock was toggled while app wasn't in foreground. Ryan C. Gordon 2015-12-27 23:39:43 -05:00
  • fa7c15ce1f WinRT: made bug 3202/3213's fix apply for WinRT apps David Ludwig 2015-12-27 22:26:27 -05:00
  • 2befe01d39 Removed a tabstop. Ryan C. Gordon 2015-12-27 18:56:46 -05:00
  • 6a2e8a7a90 Win: make sure SDL keyboard state reflects system capslock state at startup. Ryan C. Gordon 2015-12-27 18:48:14 -05:00
  • 9e9ef5ad31 Fixed bug 3202 - Fix renderer visibility on a window maximized directly from the minimized state David Ludwig 2015-12-27 17:55:45 -05:00
  • faed05850e Mac: make sure SDL keyboard state reflects system capslock state at startup. Ryan C. Gordon 2015-12-27 16:46:12 -05:00
  • 1446faf00e Fixed a comment in two test programs. Philipp Wiesemann 2015-12-25 13:41:23 +01:00