Commit Graph

1699 Commits

Author SHA1 Message Date
Ozkan Sezer
a8faac1b8b fixed SDL_config_windows.h (was broken by 1e4cd682) 2022-11-25 23:04:04 +03:00
Ozkan Sezer
25e9449a41 fix SDL_PI_D (L suffix is for long double, not double.) 2022-11-25 22:40:37 +03:00
Ozkan Sezer
1e4cd682b3 removed M_PI detection from cmake, removed HAVE_M_PI from config files.
(didn't touch autofoo side for it so as not to break PR/6605)
2022-11-25 22:35:40 +03:00
Ozkan Sezer
0b8309da0c renamed SDL PI constants to SDL_PI_D and SDL_PI_F. 2022-11-25 22:35:24 +03:00
Sam Lantinga
05139f4a2e Removed SDL_RWFromFP from the public API
This will blow up if the SDL library and the application have a different C runtime, which can easily happen on Windows.
2022-11-25 10:46:26 -08:00
Sam Lantinga
670f1df469 Removed SDL_stdinc.h dependency on HAVE_M_PI, added SDL_M_PIl (double) and SDL_M_PIf (float) instead 2022-11-25 10:33:37 -08:00
Sam Lantinga
8733927e35 Remove SDL_stdinc.h dependency on HAVE_ALLOCA
Assume alloca() is available on all modern systems
2022-11-25 10:06:36 -08:00
Sam Lantinga
fa3814ddf1 Removed SDL_rwops.h dependency on stdio.h 2022-11-25 09:55:42 -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
SDL Wiki Bot
459be25ef9 Sync SDL3 wiki -> header 2022-11-23 19:59:15 +00:00
Ciro Mondueri
896e200d94 adds GDK suspend/resume basic handling (#6596)
(cherry picked from commit f6144dfe03)
2022-11-23 11:54:16 -08:00
SDL Wiki Bot
675f77718c Sync SDL3 wiki -> header 2022-11-23 19:03:15 +00:00
Ryan C. Gordon
dcd9e21966 Merge branch 'main' into wip/angle-egl 2022-11-23 14:01:17 -05: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
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
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
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
Ryan C. Gordon
4c39dd5c72 Testing the wiki, disregard this commit. 2022-11-22 18:12:08 -05:00
SDL Wiki Bot
290bd8b910 Sync SDL wiki -> header 2022-11-22 22:40:14 +00:00
Ozkan Sezer
f4864656d9 removed WinRT-specific hints. 2022-11-22 23:50:00 +03:00
Ozkan Sezer
dc2a3e06e9 removed WinRT support. 2022-11-22 23:36:24 +03:00
Ozkan Sezer
7df102d220 reverted sndio backend removal. 2022-11-22 22:04:10 +03:00
Ozkan Sezer
30b1ab2add removed opengles. 2022-11-22 21:48:40 +03:00
Ozkan Sezer
e581c5d000 removed SDL_VIDEO_DRIVER_MIR remnants. 2022-11-22 20:53:04 +03:00
Ozkan Sezer
3aea865cdf removed directfb support. 2022-11-22 20:45:45 +03:00
Ozkan Sezer
eae9c79c21 SDL_syswm.h: removed SDL_SYSWM_MIR 2022-11-22 20:26:24 +03:00
Ozkan Sezer
5cedc2f1ff removed QNX support. 2022-11-22 20:23:40 +03:00
Ozkan Sezer
e89a1f9157 removed NaCL support. 2022-11-22 20:10:47 +03:00
Ozkan Sezer
cdb54ad21e removed arts, esd, fusionsound, nas, paudio, sndio, sunaudio, winmm audio backends. 2022-11-22 19:51:56 +03:00
pionere
68b30d24e0 cmake: get rid of the duplicated _USE_MATH_DEFINES
- define _USE_MATH_DEFINES in SDL_stdinc.h only
- define _USE_MATH_DEFINES if not defined already
2022-11-22 08:31:35 -08:00
Sam Lantinga
ed8637f437 Fixed typo 2022-11-22 08:28:56 -08:00
Ozkan Sezer
8d6fda4810 removed os2 support & support for building SDL with watcom. 2022-11-22 19:18:47 +03:00
Sam Lantinga
01d137592c Updated SDL_VERSIONNUM macro for new SDL version convention
Fixes https://github.com/libsdl-org/SDL/issues/6578
2022-11-22 07:58:03 -08:00
Ozkan Sezer
63243eb3a5 removed pandora support 2022-11-22 18:50:00 +03:00
SDL Wiki Bot
1b9c4c5ca1 Sync SDL wiki -> header 2022-11-22 04:30:16 +00:00
Sam Lantinga
2c4159b99a First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
Sam Lantinga
0bfeed061b Updated to version 2.26.0 for release 2022-11-21 16:15:58 -08:00
Ozkan Sezer
3bc4bad8fb add missing strcasestr checks to cmake and autotools build systems,
and update config files.
2022-11-20 14:20:33 -08:00
Sam Lantinga
78ea6af2cd Updated to version 2.25.1 for release candidate 2022-11-17 09:01:35 -08:00
Sam Lantinga
1f87e9e24e Updated patch notes for 2.26 release 2022-11-17 09:00:27 -08:00
SDL Wiki Bot
5e61f245ab Sync SDL wiki -> header 2022-11-15 05:25:16 +00:00
Pierre Wendling
dcfa127fd4 N3DS: Document the SDL_GetBasePath behaviour. 2022-11-14 21:24:10 -08:00
Sam Lantinga
9f8b68a278 Fixed building without linux/input.h
https://github.com/libsdl-org/SDL/issues/6169
2022-11-11 10:25:52 -08:00