Commit Graph

  • 398c0fdff0 cmake: simplify wayland-scanner 1.15 detection. Ozkan Sezer 2021-12-18 23:56:10 +03:00
  • 54d2451069 sdlchecks.cmake: Small tune by @sezero Wohlstand 2021-12-18 19:58:28 +03:00
  • 6c9907dd0e Fixed build on CMake older than 3.7 Wohlstand 2021-12-18 17:15:08 +03:00
  • 3861afacf5 Fixed build on CMake older than 3.13 Wohlstand 2021-12-18 17:14:32 +03:00
  • 840339c49d SDL_utf8strlcpy: store trailing_bytes explicity as unsigned type. Ozkan Sezer 2021-12-18 14:01:02 +03:00
  • 507d4bcd68 SDL_utf8strlen: run bit-test explicitly on unsigned char Ozkan Sezer 2021-12-18 14:01:02 +03:00
  • 82fc67ae4d SDL_joystick.c: cast the arguments to nibble() to unsigned char. Ozkan Sezer 2021-12-18 14:01:02 +03:00
  • 47d3e96b43 SDL_joystick.c: (unsigned char) cast to SDL_tolower() parameters. Ozkan Sezer 2021-12-18 14:01:02 +03:00
  • 881feca1f2 CMAKE: fixed cflags check for build type Sam Lantinga 2021-12-17 19:14:34 -08:00
  • c31a40246d Fix audio memory leaks due to invalid init (thanks Janiszewski!) Sam Lantinga 2021-12-17 19:04:39 -08:00
  • 71e3998d6c Make SDL_VideoInit cleanup when errors occur before video driver creation. Erik Soma 2021-11-23 17:56:46 -05:00
  • 8ed0cc4300 Fix wrong value for thread priorities following official PSP Docs Francisco Javier Trujillo Mata 2021-12-15 22:30:04 +01:00
  • 44c84c0d8e GLES2/Big-endian: don´t swap datas for yuv textures (Thanks 0x1F9F1 !) Sylvain 2021-12-17 17:44:34 +01:00
  • 3a69828e87 Fixed GLES2 back-end on Big Endian Platform (see #5093) Sylvain 2021-12-17 13:15:39 +01:00
  • 61107494a1 SDL_gamecontroller.c: (unsigned char) cast to SDL_isdigit() parameters. Ozkan Sezer 2021-12-17 07:40:02 +03:00
  • ced442cd38 SDL_test_common.c: (unsigned char) cast to SDL_isdigit() parameter. Ozkan Sezer 2021-12-17 07:33:10 +03:00
  • 48d1ef8fad another unsigned char cast in os2cp.c. code clean-up in os/2 geniconv. Ozkan Sezer 2021-12-17 07:33:10 +03:00
  • dac6516057 os2iconv.c (_createUconvObj): cast to unsigned char, to be safe. Ozkan Sezer 2021-12-17 02:50:40 +03:00
  • 2052b5bc3e os2messagebox: use proper UCHAR* typecast in assignment, just in case. Ozkan Sezer 2021-12-17 01:10:10 +03:00
  • ca18bf11ee Don't compare raw mouse button state with windows message button state Sam Lantinga 2021-12-16 12:01:18 -08:00
  • 3d5fcb5da6 Fix warning Sylvain 2021-12-16 11:10:07 +01:00
  • 4342e6bd21 SDL_render.c: lighten the cast syntax Sylvain 2021-12-16 10:53:27 +01:00
  • 50d49c63ed GLES2 backend: cast with SDL_Vertex and SDL_VertexSolid Sylvain 2021-12-16 10:52:36 +01:00
  • 4c9966eed6 wayland: Add a note for why we check 0,0 for fullscreen configurations Ethan Lee 2021-12-16 10:22:27 -05:00
  • 6101499c7c BigEndian: fix code that generates illegal instruction with gcc-4.9.2 on powerpc Sylvain 2021-12-16 09:07:31 +01:00
  • 0b7b0977fc fix PSP texure artifacts stdgregwar 2020-12-27 17:51:39 +01:00
  • 996f30b0e4 Use lightweight mutex Francisco Javier Trujillo Mata 2021-11-23 15:27:41 +01:00
  • 0341ec93fe Improve performance when vsync is enabled and the game is not reaching the 60 FPS Francisco Javier Trujillo Mata 2021-11-26 11:34:40 +01:00
  • 67c4b99639 Fixed enabling udev hotplug detection on Linux Sam Lantinga 2021-12-15 10:39:42 -08:00
  • 60c3ca49b4 Vita: disable arm asm blitters and add missing pvr dep Ivan Epifanov 2021-12-15 01:20:51 +03:00
  • c326ff7c6f Re-enabled the O_CLOEXEC definition so config headers can be fixed Sam Lantinga 2021-12-14 12:42:39 -08:00
  • 7f5339e6c4 Document the packed integer formats SDL_Color is bit-compatible with. Alex Szpakowski 2021-12-14 14:24:59 -04:00
  • 3a5e148b13 Renderer backends use SDL_Color instead of int for geometry colors. Alex Szpakowski 2021-12-14 11:02:07 -04:00
  • 086c74556d Fixed build warning on iOS Sam Lantinga 2021-12-14 12:08:36 -08:00
  • b08e57e926 Don't try to create a vbo if we aren't using any vertices Sam Lantinga 2021-12-14 09:32:05 -08:00
  • b7885abc44 Fixed bug #5087: SDL_RenderGeometryRaw() passes colors as int* instead of SDL_Color* Sylvain 2021-12-14 10:31:55 +01:00
  • 323ba6c008 d3d11 renderer: reduce vertex bandwidth and calculations. Alex Szpakowski 2021-12-13 18:27:49 -04:00
  • 2b6b69fb12 fix assertion failure in sndio audio caused by the recent hotplugging support thfrwn 2021-12-12 10:08:11 -07:00
  • 8927d73b1c RenderGeometry: simplify casting (Thanks Daniel Gibson) Sylvain 2021-12-12 09:55:23 +01:00
  • d7f66ba1ec Remove strict aliasing warning in opengles2 backend Sylvain 2021-12-11 20:04:53 +01:00
  • 3e43d6e34b SDL_RenderGeometry: remove some warning "dereferencing type-punned pointer might break strict-aliasing" Sylvain 2021-12-11 17:19:00 +01:00
  • e2ade2bfc4 Fix build against wayland 1.20 David Redondo 2021-12-10 16:22:34 +01:00
  • 9da93d074b video: x11: Set XImage's byte_order field (fix #5081) David Gow 2021-12-08 12:38:16 +08:00
  • e7f84c20bc Fix a typo in comment. Hanseul Jun 2021-12-09 10:40:53 -08:00
  • 66fbf00e7d Temporarily ignore gl_config.driver_loaded check in Cocoa_GLES_SetupWindow. Hanseul Jun 2021-12-09 10:40:18 -08:00
  • cb8fa5f9c3 wayland: fix keycodes of swapped xkb modifier keys Valentin Hăloiu 2021-12-04 03:50:12 +00:00
  • 615f7b4453 more updates to os2 makefile for libiconv Ozkan Sezer 2021-12-08 23:51:56 +03:00
  • b6d40b29a9 minor update to os2 makefile. Ozkan Sezer 2021-12-08 21:15:24 +03:00
  • 8d14e6ea44 replaced use of _MAX_PATH with CCHMAXPATH in os/2 code, Ozkan Sezer 2021-12-08 14:01:02 +03:00
  • 1940d289bf SW Renderer: fix invalid read if VSYNC hint is initially set with an empty value (eg "") because: - GeHint return a value pointer. - SetHint free internally the pointer - The -now invalid- pointer is re-read Sylvain 2021-12-08 09:41:33 +01:00
  • 9409642e08 fix some warnings from vita builds (missing includes) Ozkan Sezer 2021-12-07 21:24:24 +03:00
  • 21d46b7e0c PSP renderer fixed stdgregwar 2020-12-26 12:46:07 +01:00
  • 6f6382f8d0 Fix SDL_GameController API for PSP (#3) Sergio Padrino 2020-05-15 20:45:30 +02:00
  • da0f76de6d cocoa: Don't round scroll deltas from trackpads Cameron Gutman 2021-12-07 00:38:46 -06:00
  • 8cee50eea5 removed stdlib.h from SDL_psp_main.c now that exit() is gone. Ozkan Sezer 2021-12-07 19:32:56 +03:00
  • 4facca0bff made Makefile.psp to build libSDL2main.a Ozkan Sezer 2021-12-07 19:32:56 +03:00
  • 00014dc2ac fix some warnings from psp builds (missing includes.) Ozkan Sezer 2021-12-07 18:47:10 +03:00
  • da5dbb4763 Fix SDL2main on PSP (#5076) Wouter Wijsman 2021-12-07 16:43:50 +01:00
  • 2d673e5b56 evdev: Add support for REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES Cameron Gutman 2021-12-06 22:07:33 -06:00
  • 493d45f00f minor tidy-up in cmake script. Ozkan Sezer 2021-12-07 14:24:32 +03:00
  • f266d92286 psp/SDL_sysjoystick.c: fix -Wshadow warnings. Ozkan Sezer 2021-12-07 14:04:32 +03:00
  • 801dcbc5ef SDL_render_sw.c: fix -Wshadow warnings. Ozkan Sezer 2021-12-07 14:04:10 +03:00
  • e17a3154ed Fix build issue Wouter Wijsman 2021-12-07 10:56:48 +01:00
  • 7266cf66c7 Clean up PSP render code to fit C standard used better Wouter Wijsman 2021-12-07 10:54:30 +01:00
  • 07608bf45f Fix ISO C90 violations in psp render code Wouter Wijsman 2021-12-07 10:36:19 +01:00
  • 897c7cfa8b Make sure SDL_VIDEO_RENDER_PSP is set Wouter Wijsman 2021-12-07 10:24:46 +01:00
  • bfbdf8969e Add automated build for PSP Wouter Wijsman 2021-12-07 10:00:01 +01:00
  • a79b642638 Make SDL2 able to build or PSP with cmake Wouter Wijsman 2021-11-29 20:05:53 +01:00
  • 21fd0047e3 Initial for building PSP version with CMake Wouter Wijsman 2021-11-29 18:42:13 +01:00
  • d09f80ef18 SDL_DrawPointsF: fix error message typo Sylvain 2021-12-07 11:31:57 +01:00
  • 6dafc85017 SDL_DrawLines: minor simpification: - scale is 1.0f, don't need to multiply - typo in error message - remap SDL_DrawLines to SDL_DrawLinesF Sylvain 2021-12-07 10:44:12 +01:00
  • a0818a63e3 Fixed bug #5071 - Float conversion warnings in SDL_render.c (see also #5003) Sylvain 2021-12-07 10:07:15 +01:00
  • 9ae56cb353 events: Add logging for SDL_MOUSEWHEEL preciseX/Y fields Cameron Gutman 2021-12-06 21:18:23 -06:00
  • 03019c912a autotools, cmake: tighten Xfixes check && explicitly test BarrierEventID Ozkan Sezer 2021-12-06 20:37:52 +03:00
  • a709b5b602 video: wayland: Handle 0x0 xdg_toplevel_configure in fullscreen David Gow 2021-12-04 14:14:47 +08:00
  • 2f0edc2906 IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL ALittleDruid 2021-12-04 09:23:19 +08:00
  • b7a0200aab Update 2.0.18 release notes with CMake prefix change Cameron Gutman 2021-12-03 17:02:30 +03:00
  • a887b8e28b SDL_test_common.c: replaced all printf() calls with SDL_Log() Ozkan Sezer 2021-12-03 20:03:10 +03:00
  • 5056b29b0f Fix the wrong int size for fcitx capability. Weng Xuetian 2021-12-02 17:14:58 -08:00
  • d68b429cfb [ios] Fix failing to link iconv when build using CMake Anders Jenbo 2021-12-02 23:57:00 +01:00
  • 514f5858e4 autotools: disable static builds on os/2 Ozkan Sezer 2021-12-02 20:11:40 +03:00
  • e14d10263c Change viewport and cliprect to float version: from SDL_Rect to SDL_FRect Sylvain 2021-11-26 13:12:22 +01:00
  • 7828362da9 SDL_Renderer software, D3D11: don't use "renderer->viewport" in back-ends, but use the one from SETVIEWPORT cmd Sylvain 2021-11-24 16:45:06 +01:00
  • a2b13e585c SDL_iconv_string: avoid memory leak if realloc() fails. Ozkan Sezer 2021-12-02 02:28:24 +03:00
  • f14a8bfa4e fix whitespace. Ozkan Sezer 2021-12-01 21:33:02 +03:00
  • b71bfdaafb SDL_iconv.c (encodings): mark "WCHAR_T" as ENCODING_UTF16LE for OS/2 too Ozkan Sezer 2021-12-01 20:50:40 +03:00
  • cbe97cbf7f Added a step necessary for running on a real device Sam Lantinga 2021-11-30 21:25:40 -08:00
  • 66b0a6ee15 workaround for libmali gbm_device_get_fd() Davis Mosenkovs 2021-12-01 01:33:57 +02:00
  • 0c7c4bfcf9 docs: Don't let Doxygen expand HOME environment variable Simon McVittie 2021-11-30 23:15:03 +00:00
  • 339f0d4097 configure.ac: adjust os2 section for system iconv() use. Ozkan Sezer 2021-12-01 02:32:10 +03:00
  • 563ef2aeb2 regenerated configure scripts. Ozkan Sezer 2021-12-01 01:56:50 +03:00
  • efa1aa9a8f initial attempt at adding os2 support to autotools Ozkan Sezer 2021-12-01 01:55:56 +03:00
  • 3355464079 libtool upgrade to 2.4.6 - 18/n: SDL customizations Ozkan Sezer 2021-12-01 01:55:40 +03:00
  • 5ae2f0fd19 libtool upgrade to 2.4.6 - 17/n: SDL customizations Ozkan Sezer 2021-12-01 01:55:32 +03:00
  • 6a5aeaf948 libtool upgrade to 2.4.6 - 16/n: Fedora ABI-specific directories patch: Ozkan Sezer 2021-12-01 01:51:24 +03:00
  • 792d7c9f6d libtool upgrade to 2.4.6 - 15/n: -Xassembler and -Wa,* support : Ozkan Sezer 2021-12-01 01:50:10 +03:00
  • 8c44e0e0f8 libtool upgrade to 2.4.6 - 14/n: support for MidnightBSD Ozkan Sezer 2021-12-01 01:50:10 +03:00
  • a6df1f7be1 libtool upgrade to 2.4.6 - 13/n: add mingw to systems not needing libm. Ozkan Sezer 2021-12-01 01:50:10 +03:00
  • 897efe1837 libtool upgrade to 2.4.6 - 12/n: fix preloading symbols on Solaris 11.3 Ozkan Sezer 2021-12-01 01:50:10 +03:00
  • b5dc1eedb8 libtool upgrade to 2.4.6 - 11/n: FreeBSD elftoolchain strip support Ozkan Sezer 2021-12-01 01:50:10 +03:00