Simon McVittie
99da009308
wikiheaders: Escape backslash in man pages
...
Otherwise, groff will interpret it as a macro, causing the man page
for SDL_GetPrefPath() to be mis-rendered. Escape unescaped backslashes
as `\(rs` ("reverse solidus") before escaping other characters with
macros that, themselves, contain backslashes.
Resolves: https://github.com/libsdl-org/SDL/issues/13039
Signed-off-by: Simon McVittie <smcv@collabora.com >
2025-09-04 19:59:15 -04:00
Ryan C. Gordon
af74b1fe84
wikiheaders: Generate a current list of supported environment variables.
...
Fixes #13827 .
2025-09-02 15:49:52 -04:00
Matthew Zavislak
4f11feb708
Add elf alignment check for Android artifacts ( #13818 )
2025-08-28 16:31:03 -07:00
Ryan C. Gordon
5b688514c7
wikiheaders: Don't autolink things that are already linked.
...
This is a dirty hack, but it currently works for our purposes. We just refuse
to link an eligible string (like, say...`SDL_shadercross`), if there's a '['
character right before it.
This WILL NOT WORK if the string is in the middle of a link! For example, if
you had `[please refer to SDL_shadercross](https://example.com/ )`, this will
still fail in the usual ways, but we're not building out a robust parser here
at the moment, and this catches the most common problem.
Fixes #13160 .
Fixes https://github.com/libsdl-org/sdlwiki/issues/752
Closes https://github.com/libsdl-org/sdlwiki/pull/725
2025-08-26 14:43:59 -04:00
Chase Knowlden
6e422e5ff2
Update NDK version to 28 ( #13729 )
...
* Update NDK version to 28 and add 16kb page size linker flags to x86_64
* Remove Android Linker Options
16kb page size is now the default since NDK r28c
* Update Android CI to use NDK 28
2025-08-12 07:45:57 -07:00
Anonymous Maarten
7017fbaa8e
release: build aarch64 libraries with 16kiB page size
...
[ci skip]
2025-08-09 04:51:35 +02:00
Sam Lantinga
6981522cd6
Revert "Support Google Play 16 KB Page Size Requirement ( #13470 )"
...
This reverts commit dc2c83c383
If you need to support the Google Play 16 kiB page size requirement, the recommendation is to use NDK r28c or newer, which automatically aligns binaries correctly.
2025-08-07 11:44:45 -07:00
Ryan C. Gordon
e1a623f129
SDL_migration.cocci: Fixed a few incorrect function names.
2025-08-02 22:54:03 -04:00
Matthew Zavislak
dc2c83c383
Support Google Play 16 KB Page Size Requirement ( #13470 )
...
- See: https://developer.android.com/guide/practices/page-sizes#update-packaging
- Also, make min API uniform at 21 (from 16 and 23 in a few places)
2025-07-31 16:12:54 -07:00
Ryan C. Gordon
3896b1b3f4
wikiheaders: Let each subproject specify how to find their property symbols.
2025-06-17 16:41:24 -04:00
Ryan C. Gordon
b8187e2abd
wikiheaders: Trim whitespace from end of lines in section headers.
2025-06-01 10:43:08 -04:00
krizej
3be57ec774
docs: fix man page return value section generation
2025-05-20 13:04:45 -04:00
Ryan C. Gordon
1f7aa16eae
wikiheaders: Man pages should escape apostrophe chars.
...
This prevents problems if one starts a line, which would cause it to be
interpreted as a command character.
Fixes #13038 .
2025-05-14 11:36:43 -04:00
Ryan C. Gordon
a7344206e8
wikiheaders: Patched to compile.
...
(whoops.)
2025-05-05 23:58:59 -04:00
Ryan C. Gordon
06c2f9fcfc
wikiheaders: Correct wiki README digest links.
2025-05-05 23:56:12 -04:00
Ryan C. Gordon
ad46394e82
wikiheaders: README.md should be READMEs.md
...
So it doesn't conflict with the old README directory.
2025-05-05 23:49:06 -04:00
Ryan C. Gordon
2c97a48c51
wikiheaders: READMEs go in the base dir of the wiki now.
...
Reference PR #12529 .
(and several other issues.)
2025-05-05 23:36:08 -04:00
krizej
a390f5716e
docs: improve man page generation
2025-04-08 22:52:43 -04:00
Anonymous Maarten
05531c5f4b
release: use NDK r21e for building Android release artifact
...
[ci skip]
2025-03-16 03:02:18 +01:00
Sam Lantinga
f24f9d3bed
Revert "testcamera: added support for Motion JPEG camera frames"
...
This reverts commit 5ccee77190
.
2025-02-20 12:16:26 -08:00
Sam Lantinga
a792434a37
Added initial MJPG support using stb_image
2025-02-20 12:16:26 -08:00
Sam Lantinga
5ccee77190
testcamera: added support for Motion JPEG camera frames
2025-02-10 17:18:16 -08:00
Sam Lantinga
cf41ccc6ce
Removed stb_image.h from SDL
...
This adds quite a bit of code size to SDL for a niche use-case. This is easily handled in the application instead.
2025-02-10 17:18:16 -08:00
Sam Lantinga
84b0c13c44
Added support for Motion JPEG camera capture
...
Fixes https://github.com/libsdl-org/SDL/issues/12183
2025-02-10 17:18:16 -08:00
Sam Lantinga
2a946e91bc
android: updated release build SDK to match documented requirements
2025-01-28 06:03:37 -08:00
Sam Lantinga
44edbf7137
Use templates for the package support files
...
This makes them more easy to reuse in other projects.
2025-01-28 06:03:37 -08:00
Cameron Gutman
913e0a5e53
SDL_migration.cocci: handle more renamed event fields
2025-01-25 23:50:44 -06:00
Cameron Gutman
628130ec8f
SDL_migration.cocci: fix incorrect SDL3 API name
2025-01-25 23:50:04 -06:00
Ryan C. Gordon
7e130e27ba
fnsince.pl: Remove prerelease version tapdancing.
2025-01-21 13:10:57 -05:00
Ryan C. Gordon
e9f7f11f1d
fnsince.pl: Fix script once bump to 3.1.10 exposed a bug.
2025-01-17 18:39:12 -05:00
Ryan C. Gordon
c2dac95f58
Revert "Add CategoryAPICategory to the complete API index"
...
This reverts commit 21a42d2b0d
.
It doesn't work like this, sorry. :)
2025-01-16 18:02:01 -05:00
Anonymous Maarten
dd4f5df824
release: support android-X-ext-Y directories
...
[ci skip]
2025-01-16 20:59:13 +01:00
Sam Lantinga
21a42d2b0d
Add CategoryAPICategory to the complete API index
2025-01-16 09:26:00 -08:00
Sam Lantinga
d8e1ad0ebc
release: skip extended Android SDK versions
2025-01-16 09:07:00 -08:00
Sam Lantinga
5f4696ce63
Updating documentation for the 3.2.0 release
...
* Simplified and updated the mingw release archive
* Simplified and updated the msvc release archive
* Updated the Xcode release archive
* Updated the Android release archive
2025-01-15 20:38:16 -08:00
Ryan C. Gordon
2b8fb0bdd4
wikiheaders: Maybe fix perl warning.
...
Reference Issue #11944 .
2025-01-13 15:18:39 -05:00
Anonymous Maarten
f79083d9bb
release: don't add test directory to mingw release archives
2025-01-13 04:32:49 +01:00
Anonymous Maarten
4ba4f0a106
release: add Android aar to devel zip archive
...
[ci skip]
2025-01-12 16:28:00 -08:00
Sam Lantinga
4231848791
Revert "Separate android initialization from Activity ( #11891 )"
...
This reverts commit d14c93c4b1
.
This is a major breaking change for activities that inherit SDLActivity
2025-01-10 15:27:08 -08:00
Xander
d14c93c4b1
Separate android initialization from Activity ( #11891 )
2025-01-10 15:05:58 -08:00
Ryan C. Gordon
507593f485
wikiheaders: Allow symbols to be filtered from manpage generation by regex.
...
This is specifically to prevent generating a manpage for "Uint32" and friends.
Fixes #11898 .
2025-01-09 14:13:00 -05:00
Anonymous Maarten
8b83a57847
Check that dll's built by MinGW do not link to unwanted runtime libraries
2025-01-03 16:56:22 +01:00
Sam Lantinga
2c0a8363a5
Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS
...
This hint defaults on, enabling advanced controller features.
This replaces SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE and SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, and is supported by PlayStation and Nintendo Switch controllers.
Fixes https://github.com/libsdl-org/SDL/issues/10086
2025-01-02 17:18:09 -08:00
Sam Lantinga
f2074d7af3
Updated copyright for 2025
2025-01-01 07:45:52 -08:00
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