Anonymous Maarten
df1f1c2e12
cmake: don't create relocatable packages by default with non-MSVC toolchains
2024-12-28 02:04:00 +01:00
Anonymous Maarten
af3d97dcac
Update build-scripts/build-release.py
2024-12-28 01:41:10 +01:00
Ryan C. Gordon
2f68efda83
wikiheaders: Add underscore to the "big ascii" character table.
2024-12-17 23:23:13 -05:00
Ryan C. Gordon
9a9616894d
wikiheaders: Fix uninitialized variable issue.
2024-12-13 13:52:35 -05:00
Ryan C. Gordon
f45ce45603
ngage: Remove Nokia N-Gage support.
...
This can be reverted if a toolchain arrives that can handle C99 features like
variables declared in the middle of a scope, but for now we literally can't
compile SDL3 for this platform.
Fixes #11243 .
2024-12-11 13:29:43 -05:00
Ryan C. Gordon
ac92af02ea
wikiheaders: put a header on the quick reference pages.
2024-12-10 11:36:19 -05:00
Ryan C. Gordon
be5fba963a
wikiheaders: optionally generate a Quick Reference page.
...
Plus some fixes to SDL's headers this brought up.
2024-12-10 11:25:15 -05:00
Anonymous Maarten
19cc04a162
Add build-release.py updates from satellite libraries
...
[ci skip]
2024-12-08 02:16:02 +01:00
Ryan C. Gordon
47429227ab
examples: Handle newlines in README.txt better.
2024-12-06 13:25:06 -05:00
Ryan C. Gordon
0f228de48a
examples: Add some metadata to the generated webpages.
2024-12-06 13:08:26 -05:00
Ryan C. Gordon
b79e3ac830
examples: Let the browser handle README.txt word wrapping.
...
Now it's just inserts BR tags (not P tags atm) to separate paragraphs.
2024-12-06 00:13:30 -05:00
Ryan C. Gordon
90efb63e52
examples: Improve webpage generation in various ways, add thumbnails, etc.
2024-12-05 23:58:23 -05:00
Nicolas Allemand
a0b8b57afe
examples: add empty placeholder image
2024-12-05 00:29:03 -08:00
Nicolas Allemand
58f8e259d1
examples: fixup URLs for project subfolder
2024-12-04 19:37:50 -05:00
Nicolas Allemand
56da4e81d8
examples: added homepage + categories pages + added CSS (similar to wiki)
2024-12-04 19:37:50 -05:00
Ryan C. Gordon
acf0f09320
SDL_migration.cocci: Fixed up some SDL3 symbols that had changed.
2024-11-30 20:08:38 -05:00
Ryan C. Gordon
f022501d52
fnsince.pl: Deal with post-3.1.3 releases before 3.2.0.
2024-11-27 23:18:38 -05:00
Anonymous Maarten
e001a309be
create-release.py: use head of git ref as default commit
2024-11-02 04:20:32 +01:00
Sam Lantinga
a851c5b648
create-release.py uses python3
2024-10-25 15:08:57 -07:00
Sam Lantinga
47411d8007
build-release.py uses python3
2024-10-25 14:31:49 -07:00
Ryan C. Gordon
7108291d0b
video: Change SDL_GLattr to SDL_GLAttr.
2024-10-23 18:50:52 -04:00
Ryan C. Gordon
c0e9205a92
video: Change capitalization on various OpenGL attribute typedefs.
2024-10-23 18:50:52 -04:00
Ryan C. Gordon
1c1706a00b
fnsince: update \since
policy for documentation.
...
Everything in SDL3 up to the ABI lock is reported as available since 3.1.3.
Everything else will be reported as since 3.2.0 (what will be the first
official release).
Also ran a Perl script over the headers to change everything to 3.1.3 that
wasn't an API function, since fnsince.pl can't manage those. If there's a
macro or datatype that has snuck in that needs to be 3.2.0 instead, we'll
have to manually fix it up, but it shouldn't be a big deal in any case.
Reference PR #11304 .
2024-10-23 12:22:43 -04:00
Ryan C. Gordon
e9b5f6749e
wikiheaders: add (disabled) code to check for missing \threadsafety
tags.
...
Reference Issue #7140 .
2024-10-22 10:48:19 -04:00
Anonymous Maarten
817fa9a975
releases: don't add static library to MinGW binary release
2024-10-14 21:30:48 +02:00
Anonymous Maarten
45dfdfbb7b
Add parametrized build script
...
[ci skip]
2024-10-14 21:30:48 +02:00
Zack Middleton
4898cbb6cf
SDL_migration.cocci: Fix renaming SDL_bool
2024-10-12 00:47:04 -07:00
Ryan C. Gordon
0babb284dd
fnsince.pl: Make fixes now that we've reached ABI lock.
...
Turns out history is messy, thank god for Perl. :)
Fixes #11156 .
2024-10-10 12:41:46 -04:00
Sam Lantinga
300daf308a
Replace SDL_TRUE/FALSE with true/false in the coccinelle script
2024-10-08 09:55:50 -07:00
Sam Lantinga
06bd214af6
Fixed warnings building on Android
2024-10-07 11:11:27 -07:00
Frank Praznik
c9ffa3f9e1
Remove vestiges of the TAKE_FOCUS window event
...
The event was removed, so remove the rename define and update the coccinelle script.
2024-10-06 10:02:53 -04:00
Ryan C. Gordon
ffe4e571d1
wikiheaders: regex hack to make a URL not confuse wikilink genertion.
2024-10-04 15:34:18 -04:00
Anonymous Maarten
bd4cd34a74
Add docs to mingw development archive
2024-10-04 18:19:07 +02:00
Sam Lantinga
6c64c62114
Rename SDL_BUTTON() to SDL_BUTTON_MASK()
...
Fixes https://github.com/libsdl-org/SDL/issues/11056
2024-10-04 09:13:59 -07:00
Sam Lantinga
fe2880fcda
Rename SDL_SetThreadPriority() to SDL_SetCurrentThreadPriority()
...
Fixes https://github.com/libsdl-org/SDL/issues/11055
2024-10-04 08:57:03 -07:00
Ryan C. Gordon
1bb7e2b1a8
SDL_migration.cocci: Removed obsolete SDL_CreateWindowWithPosition code.
...
This won't handle conversion of SDL_CreateWindow calls with arbitrary
positions, but it still will handle the common UNDEFINED scenario.
Fixes #11035 .
2024-10-03 01:01:34 -04:00
Ryan C. Gordon
d2b2a752ce
SDL_migration.cocci: A few fixes.
2024-10-02 00:56:21 -04:00
Anthony
5f5379dc99
Add SDL_IsTV()
( #11004 )
...
Moved SDL_IsAndroidTV() out of public API, to match SDL_IsAndroidTablet().
Added SDL_IsTV(), to mirror existing SDL_IsTablet().
2024-10-01 09:20:00 -07:00
Anonymous Maarten
80cf3f7c38
ci: Fix check_stdlib_usage.py and run on ci
2024-09-25 23:59:35 +02:00
Ryan C. Gordon
54459def69
render: Remove the logical presentation render target.
...
Now we render directly to the window, scaling as appropriate. This fixes some
concerns the render target introduced, like the quality of the final scaled
output, how to step outside of the logical size temporarily to draw some
things sharply at the native resolution, and loss of sub-pixel precision.
Fixes #8736 .
2024-09-25 16:26:36 -04:00
Anonymous Maarten
1561d7c089
Fix warnings in build-scripts/check_stdlib_usage.py
2024-09-25 20:34:32 +02:00
Anonymous Maarten
2070adb262
android: add python script checking Android JNI bindings
2024-09-25 20:34:32 +02:00
Ryan C. Gordon
3bc2bd790c
build-web-examples.pl: Added a FIXME.
2024-09-22 10:35:59 -04:00
Sam Lantinga
46fb2c6f1b
Added a script to help with the bool rename
2024-09-18 10:48:11 -07:00
Sam Lantinga
95f7e53233
Added the examples directory to the API renaming tool
2024-09-18 08:32:30 -07:00
Sam Lantinga
a90ad3b0e2
Removed SDL_bool in favor of plain bool
...
We require stdbool.h in the build environment, so we might as well use the plain bool type.
If your environment doesn't have stdbool.h, this simple replacement will suffice:
typedef signed char bool;
2024-09-18 08:32:30 -07:00
Sam Lantinga
32cf23d392
Added video/x11/edid.h to third party code list
2024-09-18 08:18:26 -07:00
Sam Lantinga
8d223b3037
Renamed atomic functions to match SDL 3.0 naming convention
...
This will also allow us to cleanly add atomic operations for other types in the future.
2024-09-17 08:53:27 -07:00
Anonymous Maarten
1ffb9f22aa
build-release.py fixes from SDL2 port
2024-09-17 16:24:02 +02:00
Carl Åstholm
1f3fd65c4c
cpuinfo: Rename SDL_GetCPUCount to SDL_GetNumLogicalCPUCores
...
This was the only API that broke the "GetNumThings" convention
used elsewhere, so renaming it helps with consistency.
Adding "logical cores" to the name also makes it a bit
more immediately obvious what the count actually represents.
2024-09-14 19:33:30 -07:00