Commit Graph

  • 4718791f11 cpuinfo: Make CPU flags easier to read and add to. Ryan C. Gordon 2018-05-14 00:03:39 -04:00
  • 8543ad7df1 cpuinfo: Added some internal SIMD-aligned allocation functions. Ryan C. Gordon 2018-05-21 11:34:57 -04:00
  • 999af8099b Merged latest changes from Steam Link app Sam Lantinga 2018-05-18 13:09:30 -07:00
  • e2619f1dcf dynapi: don't let system loader resolve the initializer to the wrong version. Ryan C. Gordon 2018-05-17 12:50:46 -04:00
  • 425149f47b remove testvulkan.vcproj (was a VS2008 left-over.) Ozkan Sezer 2018-05-11 09:37:00 +03:00
  • 652d59fb3b make sure SDL_vsnprintf() nul terminates if it is using _vsnprintf Ozkan Sezer 2018-05-10 09:02:39 +03:00
  • c11ae93aed SDL_stdinc.h: move the alloca() includes before begin_code.h Ozkan Sezer 2018-05-10 08:28:00 +03:00
  • fe032ff4c9 do the direct3d tap dance for overscan hint only if SDL_VIDEO_RENDER_D3D == 1 Ozkan Sezer 2018-05-10 08:25:23 +03:00
  • a4d0571e4a Reverted change for bug 4152 - restrict the win10 mouse bug workaround to win10 v1709 only Sam Lantinga 2018-05-07 20:10:12 -07:00
  • eb14b635cd Fixed bug 4134 - Render targets lose scale quality after minimizing a fullscreen window Sam Lantinga 2018-05-07 19:52:25 -07:00
  • c04dca0dad Fixed bug 4159 - Windows headers are included after packing alignment change Sam Lantinga 2018-05-07 19:26:02 -07:00
  • 0bade9b411 Fixed bug 4154 - Fix three empty variable tests in configure Sam Lantinga 2018-05-05 10:31:03 -07:00
  • 606c5a585c Fixed bug 4152 - Windows 10 v1803 update seems to have fixed the jumping mouse bug (see bug #3931.) Sam Lantinga 2018-05-05 10:27:53 -07:00
  • 386790efbf Improved error messages when Vulkan isn't configured (thanks Daniel Gibson!) Sam Lantinga 2018-04-23 22:29:14 -07:00
  • 8f780e76e1 Fixed build Sam Lantinga 2018-04-23 22:17:56 -07:00
  • f521b22eb5 Added SDL_THREAD_PRIORITY_TIME_CRITICAL Sam Lantinga 2018-04-23 22:07:56 -07:00
  • db94dfb1d5 Fixed bug 4144 - CMake complains about trailing spaces in sdl2.pc Sam Lantinga 2018-04-23 21:55:59 -07:00
  • a1b8fa6071 TryLockMutex: Fix error handling for TryLockMutex Sam Lantinga 2018-04-23 21:50:03 -07:00
  • a9ae1b508d Handle NULL return from SDL_DBus_GetContext() Sam Lantinga 2018-04-23 20:24:12 -07:00
  • b5d231eede Handle NULL return from SDL_DBus_GetContext() Sam Lantinga 2018-04-23 19:20:12 -07:00
  • 432312561f Added SDL_LinuxSetThreadPriority() to directly set the priority of a Linux thread (tid) This function tries using RealtimeKit connecting over DBUS as needed. Sam Lantinga 2018-04-23 19:18:52 -07:00
  • 816a6e68e5 Added support for adjusting thread priorities using Linux RealtimeKit Sam Lantinga 2018-04-23 17:10:36 -07:00
  • dc8b55e50b coreaudio: Use the standard SDL audio thread instead of spinning a new one. Ryan C. Gordon 2018-04-16 02:11:09 -04:00
  • 2df59062dc wayland: zxdg_shell_v6 needs a configure event before using a surface at all. Ryan C. Gordon 2018-04-15 17:42:09 -04:00
  • 5e8c81673f Fixed bug 4135 - Broken symlink libSDL2.so since rev11940 Sam Lantinga 2018-04-15 09:37:51 -07:00
  • b7228bc51f Added support for the GameSir G3w Sam Lantinga 2018-04-11 18:28:03 -07:00
  • 9856d96777 Fix the include path in the installed CMake target import file Bastien Bouclet 2018-04-11 06:16:23 +02:00
  • 6b5ed0fd49 Added debug postfix to install command and fixed library path Saad Khattak 2018-04-10 08:03:54 -07:00
  • 6a0ef0cdbc SDL: Sam Lantinga 2018-04-09 10:37:31 -07:00
  • 4d78a99544 Fixed bug where an SDL window that was activated while hidden could never be shown. Sam Lantinga 2018-03-26 12:38:29 -07:00
  • e14278ef6f Fixed bug 3804 - Message box on Windows truncates button ID Sam Lantinga 2018-03-24 10:26:40 -07:00
  • b41b9d34c7 Fixed return value Sam Lantinga 2018-03-19 14:52:53 -07:00
  • 8e062f6925 Generalized the handling of instantaneous guide button presses so there's a minimum of 100 ms between guide button press and release. This happens with at least the following controllers: All Apple MFI controllers, ASUS Gamepad, XiaoMi Bluetooth Controller Sam Lantinga 2018-03-19 14:42:51 -07:00
  • d529b001bc Added mapping for the ASUS Gamepad removing the guide button, which doesn't generate events even though it's reported in the Android APIs. Sam Lantinga 2018-03-19 13:16:11 -07:00
  • f536fbea71 Reimplemented Android cursor API support using reflection so it builds with older SDKs Sam Lantinga 2018-03-16 11:08:53 -07:00
  • e20d4173bf Added Android custom cursor implementation This is commented out in SDLActivity.java, with the note #CURSORIMPLEENTATION because it requires API 24, which is higher than the minimum required SDK Sam Lantinga 2018-03-15 18:22:48 -07:00
  • 1cfbe664f5 Added Mac OpenGL ES configure support Sam Lantinga 2018-03-12 18:41:06 -07:00
  • d401a77eff Fixed bug 4102 - define _WIN32_WINNT_WIN7 if not already defined Sam Lantinga 2018-03-10 21:22:42 -08:00
  • 6d39e67bad Fixed bug 4103 - SDL_cpuinfo.h provokes warnings with -Wundef on non-x86 hosts Sam Lantinga 2018-03-10 21:20:25 -08:00
  • 0a5c10654c Fix ARM builds with MSVC Micha? Janiszewski 2018-03-10 21:16:14 -08:00
  • cc7b2fc512 Temporary fix for bug 3432 - macOS 10.12: small scrolls (1 wheel notch) don't generate events Sam Lantinga 2018-03-10 21:13:50 -08:00
  • 129431b4f4 Delay delivery of the pause button release on MFI controllers so it doesn't happen in the same frame as the button press Sam Lantinga 2018-03-08 16:32:22 -08:00
  • 92847022f5 Added a mapping for the latest firmware for the Xbox One S controller on Android Sam Lantinga 2018-03-07 18:10:01 -08:00
  • a2c1d83c02 Include a USB VID/PID for Apple MFI controllers This is just placeholder VID/PID, but allows code that works with VID/PID to identify the MFI controllers easily. Sam Lantinga 2018-03-07 18:09:58 -08:00
  • a8ac588549 Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened Sam Lantinga 2018-03-07 13:30:40 -08:00
  • 9e651b6915 Try to dynamically create a default Android game controller mapping based on the buttons and axes on the controller. Include the controller USB VID/PID in the GUID where possible, as we do on other platforms. Sam Lantinga 2018-03-06 14:51:50 -08:00
  • 2419d26724 Progress fixing bug 4100 - errors and warnings after changeset 11917 Sam Lantinga 2018-03-02 22:53:25 -08:00
  • e9b29ed007 Fixed bug 4101 - configure needs regenerating after changeset 11894 Sam Lantinga 2018-03-02 22:48:15 -08:00
  • ac2d1f6773 Fixed setting the layer drawable size Without this change the drawable had a size of 0 and the metal renderer asserted because the projection matrix wasn't set. Sam Lantinga 2018-03-02 12:08:18 -08:00
  • cef1c1c2ee windows: Restore patches for Task Dialogs and TerminateProcess(). Ryan C. Gordon 2018-03-02 14:10:25 -05:00
  • 003c0dce9c Use the real controller name for game controllers on iOS and Apple TV Sam Lantinga 2018-03-02 10:56:21 -08:00
  • 4f695bc5e5 Added tag release-2.0.8 for changeset dfbae17e87ac Sam Lantinga 2018-03-01 09:32:53 -08:00
  • e9fc66a038 Added patch note for Android Studio support release-2.0.8 Sam Lantinga 2018-03-01 08:26:10 -08:00
  • 0df7fe8404 Temporarily disabled fullscreen switching code on Android, until we can resolve bug 4096 - Enabling fullscreen on Android causes the app to toggle fullscreen mode continuously in a loop Sam Lantinga 2018-03-01 08:22:56 -08:00
  • eac3766698 Added a patch note for OpenGL ES support on Mac Sam Lantinga 2018-03-01 08:08:20 -08:00
  • 3537c3e7a9 Back out Task Dialog and TerminateProcess patches for 2.0.8. Ryan C. Gordon 2018-02-28 10:39:41 -05:00
  • 6a1cfccef8 windows: dos2unix'd messagebox code, and (hopefully) fixed on MingW. Ryan C. Gordon 2018-02-28 02:14:15 -05:00
  • a749035f10 windows: Message boxes use Task Dialogs if possible (thanks, Jack!). Ryan C. Gordon 2018-02-28 01:54:22 -05:00
  • 8536130aa2 assert: Use TerminateProcess() on Windows, vs ExitProcess (thanks, Jack!). Ryan C. Gordon 2018-02-28 01:23:49 -05:00
  • 99683f7c04 Added patch note about the Vulkan Mac SDK Sam Lantinga 2018-02-26 08:39:25 -08:00
  • be6ca785e3 Support official Vulkan SDK for macOS. Mark Callow 2018-02-25 23:02:09 -08:00
  • f9f45d0bf5 Fixed bug 4097 - Segmentation fault by SDL_CreateThreadWithStackSize Sam Lantinga 2018-02-25 19:51:34 -08:00
  • 5cbb90da02 cmake: Set debug library name suffix per target instead of setting it globally. Don't add a suffix on android Olli Kallioinen 2018-02-25 19:22:47 +02:00
  • 3ea093cc85 SDL_test_fuzzer.c: fix strict aliasing warnings by using a union. Ozkan Sezer 2018-02-25 10:15:00 +03:00
  • cbfee82dff Moved Android patch note into the Android section Sam Lantinga 2018-02-24 09:09:20 -08:00
  • 6cf4d0e43b Fixed bug 4092 - CMake support for building everything in the "test" directory Sam Lantinga 2018-02-24 08:59:58 -08:00
  • 849d042fa4 Fixed bug 4091 - Undefined references to Android audio functions when SDL_AUDIO_DISABLED is on Sam Lantinga 2018-02-24 08:58:22 -08:00
  • 8e4afb556a Added patch note for Ryan's work Sam Lantinga 2018-02-24 08:42:04 -08:00
  • b33dbd2769 Added missing file to tvOS build Sam Lantinga 2018-02-24 08:40:30 -08:00
  • 99a0c0f0e2 Fixed MinGW-w64 build Sam Lantinga 2018-02-24 08:23:44 -08:00
  • 5adc1b7d3e Updated documentation with API changes in SDL 2.0.8 Sam Lantinga 2018-02-24 08:18:09 -08:00
  • 0626486e2e Backout the vulkan change in d449dea10fc8 breaks Mir builds Brandon Schaefer 2018-02-23 19:12:04 -05:00
  • e17c3219d3 mir: Disable Mir by default as Mir supports Wayland clients Brandon Schaefer 2018-02-23 11:24:26 -05:00
  • 8891f5919f Backed out changeset 6c8521d53507 Ryan C. Gordon 2018-02-21 22:53:52 -05:00
  • fd8f12d2a1 android: apparently they fixed this header at some point. Ryan C. Gordon 2018-02-21 22:35:17 -05:00
  • ac309df7b4 vulkan: Possibly fix a compiler warning (-Wstrict-prototypes). Ryan C. Gordon 2018-02-21 22:27:09 -05:00
  • c7e4366530 wasapi: let Windows do the resampling for us if possible. Ryan C. Gordon 2018-02-21 21:34:06 -05:00
  • 7e1fa0ce53 wasapi: fixed typo in an assert message. Ryan C. Gordon 2018-02-21 21:34:35 -05:00
  • ed64d54dfd windows: added WIN_IsWindows7OrGreater(). Ryan C. Gordon 2018-02-21 21:36:10 -05:00
  • 6e3d0a133c Use new XInput mapping for Win10+ (Bugzilla #3960) Ethan Lee 2018-02-21 12:42:30 -05:00
  • 69958441be Fix high-dpi support on macOS and simplify it and iOS variant. Mark Callow 2018-02-21 09:58:21 -08:00
  • a0687a9ccb Fixed bug 4034 - Don't include _DllMainCRTStartup() if SDL_STATIC_LIB is defined. Sam Lantinga 2018-02-21 09:40:47 -08:00
  • c00858bfb1 Fixed bug 4088 - Fix Metal link errors with test programs in SDLTest.xcodeproj Sam Lantinga 2018-02-20 09:04:31 -08:00
  • 58f9be1257 Actually, this is needed for building with Visual Studio with both /MT and /MD. With the previous change, I get: 1> Creating library C:\projects\SDL\VisualC\Win32\Debug\SDL2.lib and object C:\projects\SDL\VisualC\Win32\Debug\SDL2.exp 1>LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 Sam Lantinga 2018-02-18 09:09:56 -08:00
  • 3c9d33361c Fixed bug 4034 - Do we really need _DllMainCRTStartup() in every Windows build? Sam Lantinga 2018-02-18 08:57:01 -08:00
  • 75a58303a0 pthread: fix error code checks (thanks, Andreas!). Ryan C. Gordon 2018-02-17 23:57:57 -05:00
  • 2ea4419a57 yuv: patched to compile. Ryan C. Gordon 2018-02-17 20:18:48 -05:00
  • 7c0c2c22a8 yuv: fixed variable declaration shadowing warnings. Ryan C. Gordon 2018-02-17 20:10:13 -05:00
  • 97494f5374 pulseaudio: Just read/dump captured data in FlushCapture. Ryan C. Gordon 2018-02-17 18:30:21 -05:00
  • 6867f6189f video: put a spinlock around a global linked list. Ryan C. Gordon 2018-02-16 14:56:28 -05:00
  • 8ddebfa06e Fixed bug 4085 - X11: Allow configuring _NET_WM_BYPASS_COMPOSITOR through SDL hints Sam Lantinga 2018-02-16 10:23:10 -08:00
  • 926d803f83 bug #3739: handle %lu, %li and %ld in SDL_SetError. Ozkan Sezer 2017-10-29 14:15:00 +03:00
  • 5abd7d16d7 Don't attempt WM_NCCALCSIZE adjustment when in fullscreen window transition Sam Lantinga 2018-02-13 22:58:20 -08:00
  • ba0ecc6712 fix building SDL_audiotypecvt.c with gcc < 4.0 sezero 2018-02-12 10:47:00 +03:00
  • 40b27fd51b revert the recent typecast assignment changes (see bug #4079) sezero 2018-02-12 17:00:00 +03:00
  • ba9ede12fb Fixed bug 4027 - CheckLibSampleRate macro in sdlchecks.cmake never defines HAVE_LIBSAMPLERATE{,_SHARED}, so they're always reported as disabled by MESSAGE_TESTED_OPTION macro in macros.cmake Sam Lantinga 2018-02-13 13:25:59 -08:00
  • f6366c09e2 Fixed bug 3920 - IBus not work with SDL 2.0.7 Sam Lantinga 2018-02-13 08:15:39 -08:00
  • 3b4c2fdf5d Fixed bug 3947 - replace strlcpy with memcpy in SDL_strdup() Sam Lantinga 2018-02-13 08:13:29 -08:00
  • 714085d327 Fixed bug 3950 - Don't always call dbus_shutdown in SDL_DBus Sam Lantinga 2018-02-13 08:07:52 -08:00
  • 4ff16ba3a4 Fixed bug 4081 - sdlchecks.cmake: typo introduced by rev11848 breaks building with wayland support Sam Lantinga 2018-02-13 07:59:45 -08:00