Commit Graph

11043 Commits (c9b8559af557fac3961f0cc5080c59881c60095f)

Author SHA1 Message Date
Anonymous Maarten c9b8559af5 cmake: use option to pass extra check options instead of hardcoding them 2022-11-25 03:15:30 +01:00
Anonymous Maarten b4fc66525c ci: use CMake for building SDL on FreeBSD 2022-11-24 23:34:04 +01:00
Anonymous Maarten c069ff1586 cmake: add /usr/local/include to check include directories 2022-11-24 23:33:59 +01:00
Anonymous Maarten cd13600944 cmake: don't reset check state after pushing state 2022-11-24 23:33:54 +01:00
Michael Fitzmayer 67f31a19a8 Add bitdraw.h, remove non-working stub class 2022-11-24 13:12:36 -08:00
Anonymous Maarten 622f64dff2 cmake: add X11 include dir to check dirs 2022-11-24 20:59:02 +01:00
Sylvain Becker 4f780c7319 SDL_mfijoystick.m: remove VLA, so that projects can be built with error on vla 2022-11-24 16:07:03 +01:00
Ozkan Sezer f73f23a35c added missing FGREP to Makefile.in. fixed syntax. regenerated configure. 2022-11-24 17:00:32 +03:00
Frank Praznik 836eb22442 wayland: Fix build when not using the shared Wayland libraries
Explicitly include the Wayland protocol headers when statically linking against the Wayland libraries or older system headers might be used instead of the local versions.
2022-11-24 03:00:56 -08:00
Sam James 3e7952ce8a Avoid use of deprecated egrep/fgrep
GNU grep 3.8 emits a deprecation warning on use of egrep/fgrep.

Signed-off-by: Sam James <sam@gentoo.org>
2022-11-24 02:58:20 -08:00
Joshua Root 239423e205 vulkan_metal.h: Make compatible with ObjC ARC
Fixes #6598
2022-11-23 17:37:38 -08:00
Frank Praznik f47169fcba wayland: Fix libdecor_dispatch signature
The function returns an int, not a bool.
2022-11-23 15:16:37 -08:00
Sam Lantinga 003fd11de8 Regenerated dynamic API after SDL_syswm.h update 2022-11-23 14:34:21 -08:00
SDL Wiki Bot d9efb7e3de Sync SDL3 wiki -> header 2022-11-23 22:07:15 +00:00
Sam Lantinga b0840eb32e Updated SDL_syswm.h for SDL 3.0
* The header is no longer dependent on SDL build configuration
* The structures are versioned separately from the rest of SDL
* SDL_GetWindowWMInfo() now returns a standard result code and is passed the version expected by the application
* Updated WhatsNew.txt and docs/README-migration.md with the first API changes in SDL 3.0
2022-11-23 14:05:59 -08:00
Joshua Root 53ca1f7702 SDL_mfijoystick.m: fix build with Xcode < 9
Fixes #6601.
2022-11-23 12:47:46 -08:00
Joshua Root f8cebeea59 Check build-time SDK in LoadMainMenuNibIfAvailable
Fixes building against OS X 10.7 SDK.
2022-11-23 12:27:50 -08:00
Joshua Root d2910904fb SDL_cocoaopengl.h: ensure CVDisplayLinkRef is defined
The typedef seems to be pulled in coincidentally with newer SDKs, but
older ones need to import the header explicitly.
2022-11-23 12:21:31 -08:00
Ozkan Sezer dcad446066 fix dynapi after SDL_GDKSuspendComplete addition. 2022-11-23 23:04:25 +03:00
SDL Wiki Bot 459be25ef9 Sync SDL3 wiki -> header 2022-11-23 19:59:15 +00:00
Sam Lantinga d5ff71d685 Updated dynamic API after 040a17a50f 2022-11-23 11:55:02 -08:00
Ciro Mondueri 896e200d94 adds GDK suspend/resume basic handling (#6596)
(cherry picked from commit f6144dfe03fc5e76e0e22242b67891fd97053787)
2022-11-23 11:54:16 -08:00
ZX_Huang a5b0583b7c
Add mouse test cases (#6563)
* Add mouse test cases

* fix SDL_GetGlobalMouseState result type

* fix other platforms compile error
2022-11-23 14:28:34 -05:00
pionere 13ea5f7a79 autotools: Detect SDL_JOYSTICK_MFI for macOS + Weak link with CoreHaptics
Only enable MFI if we also have CoreHaptics to ensure rumble works. See:
 - cmake: Detect SDL_JOYSTICK_MFI for macOS (bc409163a8)
 - cmake: Weak link with CoreHaptics (401f485490)
2022-11-23 11:27:48 -08:00
pionere 450f184f7d use SDL_InvalidParamError in the thread 'classes' 2022-11-23 14:27:26 -05:00
Joshua T. Fisher 61188d4972
Allow Foreign Windows to call SDL_Vulkan_CreateSurface on MacOS (#6436) 2022-11-23 11:13:33 -08:00
Cameron Cawley 4ee4e49e49 Select the best pixel formats for use in the software renderer 2022-11-23 11:08:40 -08:00
Ryan C. Gordon 712457ec28
Merge pull request #6321 from Daft-Freak/no-ie
Delete emscripten CanvasPixelArray (IE10/11) support
2022-11-23 14:03:35 -05:00
SDL Wiki Bot 675f77718c Sync SDL3 wiki -> header 2022-11-23 19:03:15 +00:00
Ryan C. Gordon 040a17a50f
Merge pull request #6317 from tycho/wip/angle-egl
EGL: fixes for better ANGLE support
2022-11-23 14:02:15 -05:00
Ryan C. Gordon dcd9e21966
Merge branch 'main' into wip/angle-egl 2022-11-23 14:01:17 -05:00
Cameron Cawley 84781a7b6f
Disable the offscreen video driver if EGL is unavailable (#6234) 2022-11-23 10:55:34 -08:00
Ryan C. Gordon 3983c98ece
Merge branch 'main' into no-ie 2022-11-23 13:46:27 -05:00
Rémy Tassoux a94d2e929d Prevent the delay conversion result from being truncated to 32bits 2022-11-23 10:44:53 -08:00
Rémy Tassoux 7d5ffbdab7 Use CREATE_WAITABLE_TIMER_HIGH_RESOLUTION flag in SDL_Delay on Windows 10 version 1803 and later 2022-11-23 10:44:53 -08:00
SDL Wiki Bot 6d5526f3a5 Sync SDL3 wiki -> header 2022-11-23 18:43:14 +00:00
Sam Lantinga a635a485bc Re-added WinRT support until we're sure that it's no longer being used 2022-11-23 10:41:43 -08:00
David Carlier d5572559a5 disable VS 2022-11-23 13:29:49 -05:00
David Carlier 975ffaea77 alloc api having new attributes for micro optimisations.
- SDL_MALLOC when the pointer returned is not aliased.
- SDL_ALLOC_SIZE* to gives hint about the size.
2022-11-23 13:29:49 -05:00
Ryan C. Gordon a5e9d9bd7e
Merge pull request #6142 from Daft-Freak/em-webgl-selector-hint
emscripten: use webgl APIs directly and add canvas selector hint
2022-11-23 13:23:15 -05:00
Ryan C. Gordon c2f26087c8
Merge branch 'main' into em-webgl-selector-hint 2022-11-23 13:22:23 -05:00
Yevhen Babiichuk (DustDFG) a05b2fbeee Use alias types for `which` members of event structs instead of plain types
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2022-11-23 10:19:13 -08:00
Anonymous Maarten b9e45ae0bb ci: correctly print install tree of CMake install 2022-11-23 19:18:26 +01:00
Susko3 8f991d7576 Define `TOUCHEVENTF_PEN` if not defined 2022-11-23 10:09:08 -08:00
Susko3 42796c56a9 Differentiate between Windows Ink (pen) and regular touch input 2022-11-23 10:09:08 -08:00
Ozkan Sezer 34231f5ba0 reverted opengles removal. 2022-11-23 18:50:02 +03:00
Ozkan Sezer 7767e0c5f9 SDL_config_windows.h: fixed misplaced #endif
was introduced by commit 8d6fda4810
2022-11-23 08:47:14 +03:00
Ozkan Sezer 5db60670ba removed linkage to OpenGLES framework 2022-11-23 07:47:00 +03:00
Ozkan Sezer 016b757311 reverted jack audio backend removal. 2022-11-23 06:50:20 +03:00
SDL Wiki Bot 8a16761cb5 Sync SDL3 wiki -> header 2022-11-22 23:21:29 +00:00