Commit Graph

  • 6a3356ab3f Backed out changeset cec31de4e126 Ryan C. Gordon 2019-03-25 12:24:38 -04:00
  • 8ab698af15 opengles2: Fix static analysis warning. Ryan C. Gordon 2019-03-21 10:39:49 -04:00
  • 01c924fa9e Hopefully fixed the mingw32 build Sam Lantinga 2019-03-19 17:20:54 -07:00
  • deb7d08c28 Fixed Visual Studio build Sam Lantinga 2019-03-19 17:05:22 -07:00
  • ac23d78f7a Didn't need to add SDL_windows.h include, that was already included Sam Lantinga 2019-03-19 16:53:55 -07:00
  • b2e76d860f Fixed Windows RT build Sam Lantinga 2019-03-19 16:52:09 -07:00
  • a71489221b Fixed archiving the SDL dynamic library on iOS and tvOS Sam Lantinga 2019-03-19 11:02:43 -07:00
  • a0ac5ffc9f Fixed building with C++ Sam Lantinga 2019-03-19 10:59:41 -07:00
  • 03fc5eebcb Fixed building with C++ Sam Lantinga 2019-03-19 10:56:46 -07:00
  • 8177388e5e Fixed declaration of SDL_main_func for C++ Sam Lantinga 2019-03-19 08:29:34 -07:00
  • 4d8ac6b8b2 Added support for building SDL as a dynamic library on tvOS Sam Lantinga 2019-03-19 07:53:39 -07:00
  • de82759c84 Added support for building SDL as a dynamic library on iOS Sam Lantinga 2019-03-19 07:53:33 -07:00
  • edebdeb47f testgesture: Make the background gray. Ryan C. Gordon 2019-03-17 12:45:19 -04:00
  • 82ebe63f9a Fixed Visual Studio build Sam Lantinga 2019-03-16 19:46:37 -07:00
  • d49f1faeb1 Fixed iOS build Sam Lantinga 2019-03-16 19:46:27 -07:00
  • cf7c05c282 Fixed Mac OS X build Sam Lantinga 2019-03-16 19:44:04 -07:00
  • fd946a48dc Fixed configure error if pkg modules aren't available Sam Lantinga 2019-03-16 19:32:59 -07:00
  • 6311c7cf95 emscripten: force resize event when pixel ratio changes Without this, applications can't react to changed canvas size on window zoom. Sebastian Krzyszkowiak 2019-03-16 19:08:59 -07:00
  • b8bd0aa0bd Fixed bug 4450 - SDL_mouse.c fails to compile with CMake generated Visual Studio files if SDL_VIDEO_VULKAN 0/undefined Sam Lantinga 2019-03-16 19:07:34 -07:00
  • faf97978ea Fixed bug 4511 - SDL_gamecontrollerdb Mapping for Sony Playstation USB controller Sam Lantinga 2019-03-16 19:03:13 -07:00
  • b6a45f1a8d Fixed DualShock 3 mapping Silent 2019-02-14 20:46:58 +01:00
  • 35255342cd Fixed bug 4525 - Fix crash in ALSA_HotplugThread caused by bad return value check Sam Lantinga 2019-03-16 18:48:21 -07:00
  • 55f18d3625 Fixed bug 4544 - SDL2.m4 SDL2.framework patch made it impossible to fail detection Sam Lantinga 2019-03-16 18:45:10 -07:00
  • 8bc59f87ec Fixed CVE-2019-7635 and bug 4498 - Heap-Buffer Overflow in Blit1to4 pertaining to SDL_blit_1.c Sam Lantinga 2019-03-16 18:34:33 -07:00
  • 0f148eb651 Fix polling left trigger reporting right trigger's values. Jimb Esser 2019-03-16 18:12:26 -07:00
  • 58ca76bee3 Fix DirectInput error codes being lost Jimb Esser 2019-03-16 18:11:09 -07:00
  • c528615626 hidapi: Add support for Wii U/Switch USB GameCube controller adapter. Ethan Lee 2019-03-12 20:27:54 -04:00
  • 938a5508d1 Fixed bug 4452 - Please replace AC_HELP_STRING with AS_HELP_STRING Sam Lantinga 2019-03-16 17:47:59 -07:00
  • 40e3c015f1 Added missing PKG_CONFIG macros Sam Lantinga 2019-03-16 17:39:15 -07:00
  • cada4b8b8e Use host system pkg-config when (cross-)compiling and convert to PKG_CHECK_MODULES Hugh McMaster 2019-02-03 20:06:18 +11:00
  • 12c5cda6bf Fix compiler warnings. Ryan C. Gordon 2019-03-16 00:08:19 -04:00
  • 08dc8cc20a testgesture: Add dependency to SDLtest to Visual Studio project. Ryan C. Gordon 2019-03-15 23:54:42 -04:00
  • 6727408d2c testgesture: cleaned up code formatting, etc. Ryan C. Gordon 2019-03-15 22:39:31 -04:00
  • 7cc0a606d8 testgesture: minor cleanups. Ryan C. Gordon 2019-03-15 22:17:21 -04:00
  • 5897ed85f5 test: Moved testgesture.c over to the common SDLtest framework. Ryan C. Gordon 2019-03-15 22:16:02 -04:00
  • f95ca7bb8e events: Disable all the signal-handling code on platforms without support. Ryan C. Gordon 2019-03-15 16:13:19 -04:00
  • 8a5a05c168 events: Let arbitrary signals to simulate iOS/Android backgrounding events. Ryan C. Gordon 2019-03-15 15:51:05 -04:00
  • 911bf6241b events: Make debug logging of the event queue a hint instead of an #ifdef. Ryan C. Gordon 2019-03-15 14:08:30 -04:00
  • cbe80d4708 KMSDRM: valid file descriptors could positive or 0. -1 is invalid. (Bug 4530) Sylvain Becker 2019-03-13 14:54:51 +01:00
  • 3bc1a8b619 Android: minor comment update Sylvain Becker 2019-03-13 14:08:21 +01:00
  • 063c0c2a73 Android: check SDL is initialized before sending the event Avoid error message: SDLActivity thread ends (error=Video subsystem has not been initialized) Sylvain Becker 2019-03-13 09:39:30 +01:00
  • 82758efc46 [iOS DAC] Fix touch events getting from SDL2 to source2. Sam Lantinga 2019-03-12 14:45:04 -07:00
  • d05eec7207 Fixed initial display orientation at Android app start Sam Lantinga 2019-03-12 14:44:25 -07:00
  • 1a8e3a0270 HIDAPI: fix bug that caused non-HID class parts of composite devices to have windows HID functions called on them. Sam Lantinga 2019-03-12 14:44:12 -07:00
  • cddb285cdb Fixed bug 4513 - Wayland, fix crash when remove event is sent (from Sebastian Krzyszkowiak) Sylvain Becker 2019-03-12 20:04:08 +01:00
  • 052b4f2969 SDL_EVDEV_kbd_init: uninitialized data for ioctl (Bug 4530) Sylvain Becker 2019-03-12 14:20:37 +01:00
  • b28e956b8c Fixed bug 4542 - Image flipped vertically when rendering on texture Sylvain Becker 2019-03-12 07:59:53 +01:00
  • 28f54ee439 SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530) Sylvain Becker 2019-03-11 15:31:46 +01:00
  • 7b27594274 KMSDRM: missing return value in VideoInit() (Bug 4530) Sylvain Becker 2019-03-11 15:27:42 +01:00
  • 3b49ee5261 KMSDRM: change calls free() to SDL_free() (Bug 4529) Sylvain Becker 2019-03-11 15:22:40 +01:00
  • 2fd4aee149 Un-activate some routine on mips because they are slowers (Bug 4503) Sylvain Becker 2019-02-23 09:36:56 +01:00
  • 47fb781b94 BlitNtoN BlitNtoNKey: remove non-aligned word read/store (bpp 3<->4) (Bug 4503) Sylvain Becker 2019-02-22 09:30:45 +01:00
  • 6fbe9e23fa raspberry: expose second display. Ryan C. Gordon 2019-02-19 23:46:54 -05:00
  • 90a075d75f Fix windows build Sylvain Becker 2019-02-18 22:48:14 +01:00
  • e9a7b6973a Fix bug 4053: Blit issues on Big Endian CPU Sylvain Becker 2019-02-18 22:06:53 +01:00
  • ea4c4cfc28 Fixed bug 4500 - Heap-Buffer Overflow in Map1toN pertaining to SDL_pixels.c Sam Lantinga 2019-02-18 07:50:33 -08:00
  • afd1b3dae4 Fix invalid memory access and optimise Blit_3or4_to_3or4__* Sylvain Becker 2019-02-17 16:20:23 +01:00
  • 1aa2ad2fe8 Better naming for the blit permutation variables Sylvain Becker 2019-02-09 17:40:32 +01:00
  • f6a2ae6007 Faster blit colorkey or not, applied to bpp: 3->4 and 4->3 Sylvain Becker 2019-02-09 17:20:53 +01:00
  • 604b44f20f Fix wrong access and simplify Sylvain Becker 2019-02-08 17:15:30 +01:00
  • 5ed30f844d Some simplification of previous commit Sylvain Becker 2019-02-07 22:45:50 +01:00
  • 5fd228921c Faster blit with CopyAlpha, no ColorKey Applied to following formats: Sylvain Becker 2019-02-07 22:03:30 +01:00
  • 704e62bbf4 Code factorization of the pixel format permutation Sylvain Becker 2019-02-07 21:49:24 +01:00
  • 0a007a9bea Fix wrong comment Sylvain Becker 2019-02-07 18:52:49 +01:00
  • e5192384d0 Faster blit with no ColorKey Applied to following formats: Sylvain Becker 2019-02-07 18:51:14 +01:00
  • 7372295ec9 Faster blit when using No Alpha or Set Alpha, + ColorKey Applied to following formats: Sylvain Becker 2019-02-07 17:52:28 +01:00
  • bb9a9080dc Fix pointer warnings Sylvain Becker 2019-02-07 16:13:25 +01:00
  • 3543a44ae4 Faster blit when using CopyAlpha + ColorKey Applied to following formats: Sylvain Becker 2019-02-07 15:12:17 +01:00
  • 03cbac4040 Android/openslES: fix warnings, comment out un-used interface Sylvain Becker 2019-02-05 15:14:15 +01:00
  • 614c8aea20 Android/openslES: set number of buffers of DATALOCATOR to internal NUM_BUFFER If we increase NUM_BUFFER, Enqueue won't fail with SL_RESULT_BUFFER_INSUFFICIENT Sylvain Becker 2019-02-05 15:09:41 +01:00
  • bf823bf2dc Android/openslES: prevent to run out of buffers if Enqueue() fails. Sylvain Becker 2019-02-05 15:05:32 +01:00
  • 40781dfb15 opengles2: patched to compile. Ryan C. Gordon 2019-02-04 23:35:18 -05:00
  • b7504f311b opengles2: keep cached texturing state correct. Ryan C. Gordon 2019-02-04 23:32:28 -05:00
  • a609c03ac6 opengles1: keep cached texturing state correct. Ryan C. Gordon 2019-02-04 23:24:10 -05:00
  • 40a52ceef7 render: Fix OpenGL draw state cache for various points of texture binding. Ryan C. Gordon 2019-02-04 18:55:39 -05:00
  • 670f3d3327 Fixed bug 4484 - use SIMD aligned memory for SDL_Surface Sylvain Becker 2019-02-04 09:11:07 +01:00
  • 9292dc7ca1 Fix include path compilation Sylvain Becker 2019-02-04 08:43:37 +01:00
  • 9a98dcc516 Rename surface aligned memory flag to SDL_SIMD_ALIGNED Sylvain Becker 2019-02-04 08:34:24 +01:00
  • 65e07b3884 iOS/tvOS: fix support for SDL_GameControllerGetButton(controller, GUIDE) with MFi controllers (thanks Caleb!) Fixes bug #4463. Alex Szpakowski 2019-01-31 19:52:47 -04:00
  • e5d194e902 Add SDL_MEMALIGNED flag for SDL_Surface using aligned memory. Sylvain Becker 2019-01-31 11:45:31 +01:00
  • 7b8bac5958 Add fast paths in BlitNtoNKey Sylvain Becker 2019-01-30 22:50:20 +01:00
  • cd25c83aad Fix blit with blending (Blit_A) to RGB332 which has no palette Sylvain Becker 2019-01-30 17:16:08 +01:00
  • 5b07148f73 Fixed failing SDL_ConvertSurface() when blit has failed. Sylvain Becker 2019-01-30 16:36:47 +01:00
  • a052d81bdf Add explicit unsigned int and char types in (for bug 4290) Sylvain Becker 2019-01-30 15:31:07 +01:00
  • 1128d57316 Fixed bug 4290 - add fastpaths for format conversion in BlitNtoN Sylvain Becker 2019-01-30 15:23:33 +01:00
  • 3b4e369365 Emscripten: No need for Runtime. for dynCalls Alon Zakai 2019-01-29 12:21:22 +00:00
  • 53ead95e1d Emscripten: Avoid SDL2 in JS global scope After this fix, closure works with the LLVM wasm backend on SDL2. Alon Zakai 2019-01-29 12:19:36 +00:00
  • 6d89a7bc71 Emscripten: remove GLES_DeleteContext implementation It was calling glClear without a context. The issue it was trying to solve was actually that after destroying a window and creating a new one , the contents of the old window were preserved. This no longer happens since we resize the window to nothing on destroy. Charlie Birks 2019-01-29 12:19:32 +00:00
  • 04b1494cf8 Emscripten: resize canvas to 0x0 in DestroyWindow Closest we can get to actually destroying it Charlie Birks 2019-01-29 12:19:23 +00:00
  • d60546aaa8 Emscripten: don't zero the display mode before adding it Charlie Birks 2019-01-29 12:19:06 +00:00
  • 4a2888af10 Emscripten: use UTF8ToString instead of Pointer_stringify Charlie Birks 2019-01-29 12:19:03 +00:00
  • aacb1091df Emscripten: call emscripten_sample_gamepad_data Charlie Birks 2019-01-29 12:19:00 +00:00
  • 8dab9c956f Emscripten: Use set_canvas_element_size This will be needed for supporting multiple canvases and set_canvas_size is deprecated anyway. Charlie Birks 2019-01-29 12:18:56 +00:00
  • ed66a430c9 Emscripten: Do not consume mouseup event outside of the canvas kichikuou 2019-01-29 12:14:54 +00:00
  • 2838abb5b2 Emscripten: fix duplicate mousebuttonup/mousebuttondown events when touch events are disabled Sylvain Beucler 2019-01-29 12:14:44 +00:00
  • 1767d09187 Emscripten: use a fake size for external sizing check The check would fail if the canvas happened to be the correct size already. (#66, mentioned in #58) Charlie Birks 2019-01-29 12:14:41 +00:00
  • 80d690a2a0 Emscripten: reset fullscreen_window when leaving fullscreen If the browser left fullscreen mode by the user pressing ESC, the next call to SDL_SetWindowFullscreen(1) will fail as it thinks the window is already fullscreen. (#65) Charlie Birks 2019-01-29 12:14:33 +00:00
  • 82b2c849f0 Fixed bug 4024 - GameController error "Unexpected controller element" Sylvain Becker 2019-01-21 23:41:43 +01:00
  • adabfdc0c5 Revert SDL_gamecontrollerdb.h and sort_controllers.py from bug 4024 Sylvain Becker 2019-01-21 20:49:08 +01:00
  • d984f323fc Fixed bug 3827 - issue with MapRGB, palette and colorkey Sylvain Becker 2019-01-21 19:53:06 +01:00