build-scripts


Log

Author Commit Date CI Message
Ozkan Sezer 45a6ad8e 2023-03-24T11:56:40 wikiheaders.pl: make it work with older perl versions, e.g. 5.10.
Stephen Kitt 3e1d7e6a 2023-03-10T16:02:28 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 bbfd5b3fb2eed8f95919febf3bc0fec4bc605cbe)
Ryan C. Gordon 0a0dfdb2 2023-02-28T12:26:31 wikiheaders: Sort pages before listing them in README/FrontPage.md. (cherry picked from commit 99c38268cd1325bb64739217adbeebaae7ae6a84)
Ryan C. Gordon 8572e193 2023-02-28T12:03:48 wikiheaders: Use Windows endlines in the source, Unix in the wiki. (cherry picked from commit 7745c9b3ae3f2f47e2b3e55399afc5e7b86c0102)
Ryan C. Gordon 462d95ab 2023-02-28T11:55:19 wikiheaders: ignore wiki's README/FrontPage.md (cherry picked from commit 6d1e14b7924e45937941a64bcaf751e17b41a8e9)
Ryan C. Gordon a48bb80e 2023-02-28T11:37:46 wikiheaders: Bridge README files in the docs directory to wiki. Fixes #6026. (cherry picked from commit 2506676f34dc9d3e64ab7bbd9c947b8c13364913)
Ryan C. Gordon 37de5d48 2023-02-27T23:07:43 wikiheaders: fixed wikilinks in Markdown code sections. (cherry picked from commit a4796334550da0963ed957829f41b9499a472d73)
Ryan C. Gordon 171fba32 2023-02-24T14:26:05 wikiheaders: Fix wikilinks inside code sections a little. Not perfect yet. (cherry picked from commit 5b0351a672701e28c3bfb17d44a458b82e8a4175)
Ryan C. Gordon 858ae990 2023-02-24T11:45:43 wikiheaders: fixed see-also conversion (cherry picked from commit d748a454a86d6250b724fe94066eb98fbf4eea05)
Ryan C. Gordon f87f0fe7 2023-02-24T10:21:32 wikibridge: Fixes for manpage generation from Markdown format. (cherry picked from commit 5ff49955ab71121ffbc49eb6a7be69707cbd90f3)
Ryan C. Gordon b3ea81b3 2023-02-23T19:53:53 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 936a51d5cc50afd76e291acd36bcb95513ce8919)
Ryan C. Gordon d5680c5d 2023-01-26T10:19:23 wikiheaders: Allow markdown in the wikipreamble string. Reference Issue #6568. (cherry picked from commit a089b2ea19404f6dacd083327e13cae888b58993)
Ryan C. Gordon 1069c893 2023-01-24T22:13:25 wikiheaders: Add a `\threadsafety` tag to document threading details. Reference Issue #7140. (cherry picked from commit 01cba48d18f9002e5aae66d4b009f5f0195dc8d7)
Ozkan Sezer 880ac537 2023-01-21T10:15:02 typo fix to config.sub, from https://lists.gnu.org/archive/html/config-patches/2023-01/msg00001.html
Sam Lantinga 0479df53 2023-01-09T09:48:21 Updated copyright for 2023
Sam Lantinga b8d85c69 2022-11-30T12:51:59 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 5750bcb174300011b91d1de20edb288fcca70f8c)
Sam Lantinga 44975d40 2022-11-22T09:18:05 Update SDL info and Xcode marketing version with version update scripts
Sam Lantinga 8ae46a49 2022-11-21T06:57:02 Save the version in VERSION.txt instead of VERSION Fixes https://github.com/libsdl-org/SDL/issues/6558
Ryan C. Gordon 98dfc929 2022-10-25T14:03:32 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.
Simon McVittie 4ca5ea5b 2022-10-20T20:02:21 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>
Simon McVittie 2dc788cb 2022-10-20T19:54:24 build: Expand version info in SDL_REVISION and SDL_GetRevision() Instead of using a URL and git sha1, this uses `git describe` to describe the version relative to the nearest previous git tag, which gives a better indication of whether this is a release, a prerelease, a slightly patched prerelease, or a long way after the last release during active development. This serves two purposes: it makes those APIs more informative, and it also puts this information into the binary in a form that is easy to screen-scrape using strings(1). For instance, if the bundled version of SDL in a game has this, we can see at a glance what version it is. It's also shorter than using the web address of the origin git repository and the full git commit sha1. Also write the computed version into a file ./VERSION in `make dist` tarballs, so that when we build from a tarball on a system that doesn't have git available, we still get the version details. For the Perforce code path in showrev.sh, output the version number followed by the Perforce revision, in a format reminiscent of `git describe` (with p instead of g to indicate Perforce). For the code path with no VCS available at all, put a suffix on the version number to indicate that this is just a guess (we can't know whether this SDL version is actually a git snapshot or has been patched locally or similar). Resolves: https://github.com/libsdl-org/SDL/issues/6418 Signed-off-by: Simon McVittie <smcv@collabora.com>
Sam Lantinga 5291e5cb 2022-10-03T17:36:17 Added version checking to SDLActivity.java Make sure the SDL java and C code match when updating SDL in a game. Right now we're assuming that we only have to make sure release versions match. We can extend the version string with an interface version if we need more fine grained sanity checking. Fixes https://github.com/libsdl-org/SDL/issues/1540
Anonymous Maarten bac54b3d 2022-09-27T17:45:36 Android: add script for building prefab archive
Ryan C. Gordon f648c000 2022-09-28T09:37:21 build: Fixed some references to renamed test-versioning.sh
Ryan C. Gordon d843d61c 2022-09-28T09:09:21 Moved test/versioning.sh to build-scripts/test-versioning.sh Reference Issue #6171.
Ryan C. Gordon 8e146477 2022-09-27T22:03:26 build-scripts: Added update-version.sh Fixes #6171.
Ryan C. Gordon 51be30f3 2022-08-17T21:37:32 emscripten-buildbot.sh: force `-s USE_SDL=0` This avoids using Emscripten-provided SDL headers from its own sysroot instead of the headers in our own include directory! Reference https://github.com/emscripten-core/emscripten/discussions/17647
Ryan C. Gordon 3a9295e1 2022-08-09T16:02:16 build-scripts: Removed winrtbuild.*, no longer used. WinRT/UWP is still supported, but you have to use the VS2019 project files, now. Fixes #5639.
Sam Lantinga f789bc7d 2022-07-26T11:36:01 Updated minimum OS targets on Apple platforms to match supported platforms using Xcode 13
Anonymous Maarten 2fdedd17 2022-07-23T17:29:08 Revert 6fa7d62 and 856c99e5
Anonymous Maarten 856c99e5 2022-07-23T15:51:21 android: target android-19 by default when building with build-scripts/androidbuildlibs.sh
Ryan C. Gordon bec721f0 2022-07-20T17:22:41 audio: Fixed dst pointer on channel conversions that grow in-place.
Ryan C. Gordon 49ec8db5 2022-07-19T22:04:49 audio: Generate the channel converter code from a program.
Ryan C. Gordon 118a2189 2022-06-23T16:07:35 build-scripts/wikiheaders.pl: ignore the 'FrontPage' wiki pages.
Ryan C. Gordon 48a23296 2022-06-19T00:15:03 wikiheaders: Strip `[[wiki hyperlink]]` from See Also fields.
Ryan C. Gordon 83b76617 2022-06-17T17:35:52 build-scripts/wikiheaders.pl: ignore "Category" wiki pages.
Ryan C. Gordon 20c622f0 2022-06-17T14:39:50 build-scripts/wikiheaders.pl: Allow a wiki preamble. This is so we can have everything in SDL_net (etc) start with a "This is not part of the core SDL API" message.
Sam Lantinga b004133f 2022-06-16T12:49:17 Updated to version 2.23.1 for pre-release checkpoint
Ryan C. Gordon 94f60808 2022-06-15T23:25:36 wikiheaders.pl: changes to make this usable with external projects.
Ozkan Sezer 6bd49fc0 2022-06-08T21:58:10 revert mode changes from commit d58d637ac
Sam Lantinga d58d637a 2022-06-08T11:07:36 Added support for the Qanba Obsidian Arcade Joystick on Linux
Ryan C. Gordon 5968f3d8 2022-05-26T10:44:01 gen_audio_resampler_filter.c: Precalculate loop-invariant bessel(beta). Minor optimization in offline code.
Ozkan Sezer 822cf0b3 2022-05-26T01:33:32 updated config.guess from mainstream.
Ryan C. Gordon bed96482 2022-05-25T10:42:11 wikiheaders.pl: Deal with links better.
Ryan C. Gordon 96a04cb9 2022-05-25T09:30:29 wikiheaders.pl: Don't wordwrap truly massive words. Usually, these are going to be URLs that you don't want to split across lines.
Sam Lantinga aa6ea607 2022-05-18T06:57:28 Fixed whitespace Whitespace inconsistencies reported in https://github.com/libsdl-org/SDL/pull/5673
Ryan C. Gordon e78a72ec 2022-05-15T23:50:08 fnsince.pl: Fix next version value to match new versioning scheme.
Alex Szpakowski d35c737f 2022-05-07T21:38:48 macOS: change min supported OS from 10.6 to 10.7.
Ozkan Sezer 6422a5d2 2022-05-10T07:33:32 updated config.guess and config.sub from mainstream
Simon McVittie cd7c2f1d 2022-05-03T15:16:11 Switch versioning scheme to be the same as GLib and Flatpak For stable releases, this gives us the ability to make bugfix-only point releases such as 2.24.1 if we want to, and distinguish between them programmatically. For example, this ability could have been useful after 2.0.16 to fix Xwayland regressions, and after 2.0.18 to fix event loop regressions. For development releases, this gives us the ability to make multiple prereleases during the same feature cycle, and distinguish between them programmatically. For example, this would have been useful during 2.0.22 development, which went through three prereleases before reaching the final release. Signed-off-by: Simon McVittie <smcv@collabora.com>
Ryan C. Gordon 5066910b 2022-04-10T13:44:01 audio: Make pregenerated resampler kaiser filter more precise.
Ryan C. Gordon de019568 2022-04-09T23:43:57 audio: Prebake the resampler's kaiser table instead of doing it at runtime.
Sam Lantinga fa29e2d7 2022-04-25T13:45:51 Updated to version 2.0.23 for development
Ozkan Sezer 55a4e1d3 2022-04-12T18:34:32 CI: update os2.yml to use open-watcom/setup-watcom also remove os2-buildbot.sh -- not needed anymore.
Sam Lantinga 505d6a4a 2022-04-08T18:18:56 Update version to 2.0.22 for release
Ozkan Sezer 1c1f5c18 2022-03-16T17:15:20 imported two libtool mainstream commits 28fbcb6a and b55b1cc8
Sam Lantinga a0e3c884 2022-01-17T15:32:27 Updated to version 2.0.21 for development
Ryan C. Gordon ae9e2149 2022-01-11T21:32:07 os2-buildbot.sh: Use the 64-bit Watcom binaries. GitHub Actions is a 64-bit Ubuntu instance. It was only using the 32-bit binaries because our buildbot put this on the 32-bit Linux host to spread the CPU load around more evenly.
Ozkan Sezer 63d10a0a 2022-01-08T23:00:32 updates to config.guess and config.sub from mainstream.
Ozkan Sezer 836a4ec7 2022-01-08T22:35:02 updates to os/2 build
Ryan C. Gordon f62b8071 2022-01-07T21:31:38 wikiheaders.pl: Put the manpages in man/man3
Sam Lantinga 92946348 2022-01-07T18:28:25 Updated to version 2.0.20 for release
Ryan C. Gordon 5d3f6b02 2022-01-06T15:37:05 wikiheaders.pl: Added support for export to Unix manpages. This mostly works, but likely needs some tweaking as we examine the output of various pages. Fixes #5163.
Ozkan Sezer 33554640 2021-12-01T01:55:40 libtool upgrade to 2.4.6 - 18/n: SDL customizations removed os/2 versioning support.
Ozkan Sezer 5ae2f0fd 2021-12-01T01:55:32 libtool upgrade to 2.4.6 - 17/n: SDL customizations fixes Windows linkage and the DLL name convention.
Ozkan Sezer 792d7c9f 2021-12-01T01:50:10 libtool upgrade to 2.4.6 - 15/n: -Xassembler and -Wa,* support : http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=86d71e869d998fb09bee543a2aaef7beb6d6f591 http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=1b74d78401d7e09d5c31f4d479109d9b52984a32
Ozkan Sezer 8c44e0e0 2021-12-01T01:50:10 libtool upgrade to 2.4.6 - 14/n: support for MidnightBSD http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=5df7dd49d5e68ea45118a0687ef2d4dd00399f1e
Ozkan Sezer 27666089 2021-12-01T01:50:10 libtool upgrade to 2.4.6 - 9/n: fix func_fatal_error function name typo http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=350082b6aa89f9ef603fcebbb4cf33f15a743f2f
Ozkan Sezer df402682 2021-12-01T01:50:10 libtool upgrade to 2.4.6 - 3/n: fixes for gcc/clang linkage http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=702a97fbb09bd7088a50f2b239016d1e32843c24 http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=a5c6466528c060cc4660ad0319c00740db0e42ba http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=f9970d99293faf908fdc153a653fa5781095fb7a
Ozkan Sezer c8ddccde 2021-12-01T01:50:02 libtool upgrade to 2.4.6 - 1/n
Sam Lantinga 5fc901d4 2021-11-30T09:58:21 Updated to version 2.0.19 for development
Sam Lantinga 7242075b 2021-11-26T08:12:45 Updated version to 2.0.18 for release
Ryan C. Gordon 116a002b 2021-11-19T09:28:36 build-scripts/gcc-fat.sh is no longer supported. Use clang-fat instead. Reference #4809.
Ryan C. Gordon 09bf12e0 2021-11-18T15:34:29 fnsince.pl: SDL_UnregisterApp() also arrived in 2.0.2.
Ryan C. Gordon 83024f32 2021-11-18T15:27:21 fnsince.pl: Whoops, it's SDL_RegisterApp and not SDL_SetMainReady in 2.0.2.
Ryan C. Gordon 46f12cc7 2021-11-18T15:22:47 fnsince.pl: SDL_SetMainReady() originally arrived in SDL 2.0.2.
Ryan C. Gordon 73a41f40 2021-11-14T14:15:11 Removed outdated build-scripts/iosbuild.sh Fixes #1532.
Ryan C. Gordon a1c125c1 2021-11-10T15:40:27 fnsince.pl: Report unreleased APIs as part of the next release version. This keep documentation future-accurate and more importantly: it will produce correct results before we tag the official release in git, so they'll be correct in the tag and the release tarball.
Ryan C. Gordon 179a04f8 2021-10-26T21:01:05 fnsince.pl: Don't print out the version numbers if updating the wiki.
Ryan C. Gordon 85edbc92 2021-10-26T19:00:06 fnsince.pl: Added a way to sync this information to the wiki. This will let us automate this so it's managed for us, and as things go from development to official releases, the documentation will automatically update!
Ryan C. Gordon f5de45ae 2021-10-26T18:59:21 fnsince.pl: Found a few more incorrect versions.
Ryan C. Gordon e8fbcf89 2021-10-26T12:12:52 fnsince.pl: a script to list version when all public APIs were added.
Ryan C. Gordon d9d8f51e 2021-10-23T14:37:47 wikiheaders.pl: Add support for deprecated functions.
Ryan C. Gordon 55f60847 2021-10-08T20:49:51 wikiheaders.pl: Try to handle functions with multiple declarations better.
Ryan C. Gordon 3970a885 2021-10-08T14:39:28 wikiheaders.pl: Migrate in docs that exist only in the wiki. This is going to expose some docs that needs cleaning up once the bridge imports those docs, though.
Ryan C. Gordon 7850d0cf 2021-10-05T10:43:35 cmake: Prefix all options with "SDL_" This makes it clear which options came from SDL's CMake project when building SDL as a subdirectory of a parent CMake project. Fixes #4139.
Ryan C. Gordon 7def81cf 2021-09-30T17:34:25 wikiheaders.pl: Don't treat chars in `code` blocks as markdown. Otherwise a formula like `x = y * 2;` would treat that '*' as the start of an italicized section when converting to MediaWiki format, and match any other '*' in the content as the end marker.
Ryan C. Gordon 8796f35e 2021-09-01T00:19:54 wikiheaders.pl: Make sure all wiki API pages reference CategoryAPI.
Ryan C. Gordon a47f59bb 2021-08-27T01:03:14 codechecker-buildbot.sh: Don't fail if a static analysis issue is reported.
Ryan C. Gordon a6b45fa7 2021-08-27T00:56:18 codechecker-buildbot.sh: mark script as executable.
Ryan C. Gordon f7ee06f3 2021-08-27T00:50:43 build-scripts: Add a buildbot script for CodeChecker static analysis.
Ozkan Sezer 7e8d054b 2021-08-21T11:50:04 updated config.sub from mainstream.
Sam Lantinga 3f6ebfff 2021-08-10T15:02:36 Updated to version 2.0.17 for development
Sam Lantinga cb1fd30e 2021-07-31T13:28:54 Updated to version 2.0.16 for release
Ryan C. Gordon c07e5e99 2021-07-14T17:07:41 wikiheaders.pl: Add --copy-to-header option. ...because I keep mistyping it without the 's' on the end. :/
Ryan C. Gordon 8ec9fbdd 2021-07-14T11:58:57 wikiheaders.pl: pull in full sections from headers, fix more whitespace.
Ryan C. Gordon bab0eb71 2021-07-14T10:03:31 wikiheaders.pl: Fix some wordwrap whitespace issues.
Ryan C. Gordon 7390bc0e 2021-07-14T09:36:07 wikiheaders.pl: Fix \sa tags that (incorrectly!) have "()" appended.
Ryan C. Gordon d115857c 2021-07-14T08:11:18 wikiheaders.pl: A bunch of work on correct wordwrap and (de)wikify.
Ryan C. Gordon 1f17bc54 2021-07-13T12:25:23 wikiheaders: look for "c++" before "c" in regular expression.