Sam Lantinga
2b5b8fdbd5
Updated copyright for 2025
2025-01-01 07:47:53 -08:00
Anonymous Maarten
3c142abcb2
Build optimized stripped MinGW binary releases
2024-12-09 17:21:54 +01:00
Anonymous Maarten
d890d2594a
Add build-release.py updates from satellite libraries
...
Ported from fc2fd42197
[ci skip]
2024-12-08 04:34:44 +01:00
Anonymous Maarten
af94954161
Add test sources to mingw release artifact
2024-12-07 02:05:15 +01:00
Anonymous Maarten
48aa1cccf7
Port build-script from SDL3
...
[ci skip]
2024-11-02 01:58:46 +01:00
Anonymous Maarten
e4126d8d6f
Add parametrized release script
...
[ci skip]
2024-10-04 23:42:29 +02:00
Anonymous Maarten
2b2907db18
Add docs to mingw release and don't modify libtool files in mingw's Makefile
2024-10-01 23:04:32 +02:00
Anonymous Maarten
8291b1be36
Port SDL3 release scripts to SDL2
...
[skip ci]
2024-10-01 21:09:41 +02:00
Ozkan Sezer
46ee6a3848
update config.guess and config.sub from mainstream
2024-09-18 17:33:10 +03:00
Ozkan Sezer
d6b7be8abd
autotools, libtool, win32: add 'aarch64' support to the file magic test.
...
From libtool development commit 1638a6407573b74517b57a0f6e596918344a4394
2024-09-17 14:10:02 +03:00
Anonymous Maarten
5c013a4f0d
ci: add GDK
...
SDL2 port of 31b3f5ea79
2024-08-04 17:17:43 +02:00
Ryan C. Gordon
b2b2369414
Moved function pointer params to typedefs, etc, for latest wikiheaders.
2024-06-12 19:29:21 -04:00
Ozkan Sezer
70faef84aa
build-scripts/ltmain.sh: minor updates hand-picked from mainstream
2024-06-05 23:11:10 +03:00
Ryan C. Gordon
1c3a1e1139
wikiheaders: Updated to latest, cleaned up category documentation a little.
...
This documentation needs a LOT of work--maybe someday--but it's definitely not
_broken_ right now, which is good enough for now.
2024-05-16 11:49:21 -04:00
Ryan C. Gordon
0805990668
wikiheaders: Automatically categorize API symbols by subsystem.
2024-05-14 10:50:37 -04:00
Ryan C. Gordon
06f437e1b6
wikiheaders: sync up with main branch.
2024-05-07 14:24:39 -04:00
Ryan C. Gordon
8b4e389ad0
wikiheaders: updated from SDL3, plus fixes to headers to deal with that.
2024-05-02 13:00:03 -04:00
Ryan C. Gordon
59937e0fd5
wikiheaders: manpages See Also sections should specify 3 vs 3type.
...
(cherry picked from commit 5481ea4cd4
)
2024-04-30 21:56:43 -04:00
Ryan C. Gordon
2f54d8a458
wikiheaders: Manpages go in man3 directory, even if they're 3type.
...
(cherry picked from commit 9210c68c44
)
2024-04-30 21:56:34 -04:00
Ryan C. Gordon
e03ad30a57
docs: heavy editing to make this happy with latest wikibridge.
...
The public headers saw lots of cleanups, backporting from SDL3 docs, and
merging with the wiki.
The markdown files in docs/README-*.md were converted to Unix endlines.
2024-04-23 14:21:54 -04:00
Ryan C. Gordon
02246aaeb9
wikiheaders.pl: Report a function's header file name.
...
(cherry picked from commit e055a9fc2d
)
2024-03-31 12:58:19 -04:00
Sam Lantinga
75c5cff0bf
Fixed "${folder^}Activity: bad substitution" with bash 3.2 on macOS
...
(cherry picked from commit c36f773eb4
)
2024-03-05 13:47:59 -08:00
Sam Lantinga
a842bc29fa
Uppercase the first letter of the class name to match Java conventions
...
Fixes https://github.com/libsdl-org/SDL/issues/8930
(cherry picked from commit 4189edaeb7
)
2024-03-03 16:57:16 -08:00
Ozkan Sezer
971508c0d7
autotools: a few libtool updates from mainstream
2024-01-28 20:04:34 +03:00
Ozkan Sezer
3d6cf2b5c0
update config.guess and config.sub from mainstream
2024-01-18 00:29:56 +03:00
Sam Lantinga
0fc3574464
Updated copyright for 2024
2024-01-01 13:19:49 -08:00
Sam Lantinga
d649f95723
Use GNU sed if available
...
Fixes update-copyright.sh on macOS, which doesn't support the -b option.
(cherry picked from commit a357021800
)
2024-01-01 13:18:35 -08:00
Sam Lantinga
4f8dd2d39d
Speed up processing of update-copyright.sh
...
(cherry picked from commit 78ccadd5a2
)
2024-01-01 13:18:35 -08:00
Ozkan Sezer
95a6f986a0
update config.guess and config.sub from mainstream
2023-09-20 14:50:56 +03:00
Ozkan Sezer
53d818e31c
updated config.guess and config.sub from mainstream
2023-08-05 14:03:02 +03:00
Ozkan Sezer
45a6ad8e57
wikiheaders.pl: make it work with older perl versions, e.g. 5.10.
2023-03-24 11:56:40 +03:00
Stephen Kitt
3e1d7e6a14
Specify bash for androidbuildlibs.sh
...
This script relies on string indexes in parameter expansions, which
aren't suppored by /bin/sh (e.g. dash).
Based on a patch by Roflcopter4:
https://github.com/joncampbell123/dosbox-x/pull/3850
Signed-off-by: Stephen Kitt <steve@sk2.org >
(cherry picked from commit bbfd5b3fb2
)
2023-03-10 07:38:28 -08:00
Ryan C. Gordon
0a0dfdb2f9
wikiheaders: Sort pages before listing them in README/FrontPage.md.
...
(cherry picked from commit 99c38268cd
)
2023-02-28 12:29:21 -05:00
Ryan C. Gordon
8572e19327
wikiheaders: Use Windows endlines in the source, Unix in the wiki.
...
(cherry picked from commit 7745c9b3ae
)
2023-02-28 12:29:16 -05:00
Ryan C. Gordon
462d95ab4d
wikiheaders: ignore wiki's README/FrontPage.md
...
(cherry picked from commit 6d1e14b792
)
2023-02-28 11:56:20 -05:00
Ryan C. Gordon
a48bb80ea0
wikiheaders: Bridge README files in the docs directory to wiki.
...
Fixes #6026 .
(cherry picked from commit 2506676f34
)
2023-02-28 11:46:46 -05:00
Ryan C. Gordon
37de5d4849
wikiheaders: fixed wikilinks in Markdown code sections.
...
(cherry picked from commit a479633455
)
2023-02-27 23:08:55 -05:00
Ryan C. Gordon
171fba320f
wikiheaders: Fix wikilinks inside code sections a little. Not perfect yet.
...
(cherry picked from commit 5b0351a672
)
2023-02-24 14:30:34 -05:00
Ryan C. Gordon
858ae9900e
wikiheaders: fixed see-also conversion
...
(cherry picked from commit d748a454a8
)
2023-02-24 11:46:41 -05:00
Ryan C. Gordon
f87f0fe781
wikibridge: Fixes for manpage generation from Markdown format.
...
(cherry picked from commit 5ff49955ab
)
2023-02-24 10:22:28 -05:00
Ryan C. Gordon
b3ea81b33f
wikiheaders: Work to make the wiki exist primarily in Markdown format.
...
This adds a means to mass-convert the whole wiki to Markdown as a one-time
operation, and then some fixes to make --copy-to-headers correctly deal with
Markdown-formatted wiki pages.
(cherry picked from commit 936a51d5cc
)
2023-02-24 09:48:37 -05:00
Ryan C. Gordon
d5680c5d20
wikiheaders: Allow markdown in the wikipreamble string.
...
Reference Issue #6568 .
(cherry picked from commit a089b2ea19404f6dacd083327e13cae888b58993)
2023-01-26 10:23:21 -05:00
Ryan C. Gordon
1069c8931d
wikiheaders: Add a \threadsafety
tag to document threading details.
...
Reference Issue #7140 .
(cherry picked from commit 01cba48d18
)
2023-01-26 10:23:08 -05:00
Ozkan Sezer
880ac537a5
typo fix to config.sub,
...
from https://lists.gnu.org/archive/html/config-patches/2023-01/msg00001.html
2023-01-21 10:15:02 +03:00
Sam Lantinga
0479df53ca
Updated copyright for 2023
2023-01-09 09:48:21 -08:00
Sam Lantinga
b8d85c6939
Update for SDL3 coding style ( #6717 )
...
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.
In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.
The script I ran for the src directory is added as build-scripts/clang-format-src.sh
This fixes:
#6592
#6593
#6594
(cherry picked from commit 5750bcb174
)
2022-11-30 12:57:41 -08:00
Sam Lantinga
44975d40ef
Update SDL info and Xcode marketing version with version update scripts
2022-11-22 09:18:05 -08:00
Sam Lantinga
8ae46a49ea
Save the version in VERSION.txt instead of VERSION
...
Fixes https://github.com/libsdl-org/SDL/issues/6558
2022-11-21 06:57:02 -08:00
Ryan C. Gordon
98dfc9296a
build-scripts/fnsince.pl: Deal with new point-release system.
...
This ignores 2.x.1 (etc) releases, which prevents it from thinking
the next official non-point-release version is 2.26.1, when it
should be 2.26.0, because it saw the "latest" release is 2.24.1.
This fixes the wiki ending up with imaginary version numbers for
the "this function is available since SDL 2.x.y" sections.
Fixes #6343 .
2022-10-25 14:03:32 -04:00
Simon McVittie
4ca5ea5b7e
build: Add a mechanism to mark builds with vendor info
...
Downstream distributors can use this to mark a version with their
preferred version information, like a Linux distribution package version
or the Steam revision it was built to be bundled into, or just to mark
it with the vendor it was built by or the environment it's intended to
be used in.
For instance, in Debian I'd use this by configuring with:
--enable-vendor-info="${DEB_VENDOR} ${DEB_VERSION}"
to get a SDL_REVISION like:
release-2.24.1-0-ga1d1946dc (Debian 2.24.1+dfsg-2)
which gives a Debian user enough information to track down the patches
and build-time configuration that were used for package revision 2.
In Autotools and CMake, this is a configure-time option like any other,
and will go into both SDL_REVISION (via SDL_revision.h) and
SDL_GetRevision().
In other build systems (MSVC, Xcode, etc.), defining the
SDL_VENDOR_INFO macro will get it into the output of SDL_GetRevision(),
although not SDL_REVISION.
Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com >
2022-10-22 09:27:10 -07:00