build-scripts


Log

Author Commit Date CI Message
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.
Ryan C. Gordon 269d0773 2021-07-13T11:11:55 wikiheaders: Ignore doxygen comments that aren't "/**" on a line by itself. Makes this ignore /** single line comments */
Ryan C. Gordon 8130950e 2021-07-13T11:11:33 wikiheaders: trim whitespace at edges after wordwrapping.
Ozkan Sezer 118480e5 2021-07-08T17:56:14 fix permissions
Sam Lantinga 46f19c31 2021-07-08T07:23:29 Implemented mouse relative mode for iOS 14.1 and newer
Ozkan Sezer 6b21a6cc 2021-07-05T20:02:02 Update config.guess and config.sub from mainstream.
Ryan C. Gordon 56e96254 2021-06-09T13:38:05 build-scripts: modernized gcc-fat.sh for Big Sur and ARM64. Put these in "clang-fat.sh" and "clang++-fat.sh" in case someone still needs 32-bit x86 support from the old scripts. Fixes #4350.
Ozkan Sezer 7a7cba4b 2021-05-25T14:56:37 config.guess, config.sub: fix permissions
Sam Lantinga 157c3f80 2021-05-21T09:45:08 [SDL] Minimize number of system calls when handling WM_INPUT raw input messages. Details: Currently doing 4 system calls per WM_INPUT message, which can cause the thread handling the message loop to be swapped out several times: * GetProp - to get window data from the window handle * GetRawInputData - to retrieve the raw input data * 2 calls to GetMessageExtraInfo - to ignore synthetic mouse events generated for touchscreens In this change: * Replaced GetProp by iterating the list of windows maintained by SDL (with a fallback to GetProp). Note that this will affect all messages and not just WM_INPUT * only calling GetMessageExtraInfo if a touchscreen has been detected Fix for https://jira.valve.org/browse/CSGO-4855 @saml
Ozkan Sezer c63a62ae 2021-05-18T23:51:50 updates to config.guess and config.sub from mainstream.
Ryan C. Gordon ab7944f9 2021-03-25T12:52:15 wikiheaders: fixed regex for converting markdown bold+italic to mediawiki.
Ryan C. Gordon f5544542 2021-03-25T12:50:18 wikiheaders: when merging into headers, wordwrap in Markdown style.
Ryan C. Gordon 45d128db 2021-03-24T22:36:06 wikiheaders: Fixed double-wikify call.
Ryan C. Gordon 5753fd73 2021-03-24T12:52:48 wikiheaders.pl: Whitespace fixes.
Ryan C. Gordon c2152928 2021-03-24T10:46:05 wikiheaders.pl: Mark some sections as wiki-only so we don't lose them.
Ryan C. Gordon 231b849c 2021-03-24T10:45:27 wikiheaders.pl: Properly handle and wordwrap bullet lists.
Ryan C. Gordon db2ad6fa 2021-03-17T13:36:38 git-pre-push-hook: remove ".git" from URL.
Ryan C. Gordon 7a2a1a85 2021-03-16T13:46:03 documentation: initial script to merge header comments and the wiki. This is a work-in-progress, but the idea is it can convert between our wiki and the SDL header's doxygen comments, so we can attempt to keep them in sync. This might be a fool's errand, but I'm optimistic it'll work enough that we can clean up little issues as we go, as long as we have some discipline about how we write documentation. If nothing else, it's going to result in a solid spring-cleaning of both the wiki and the headers!