|
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>
|
|
d1e90156
|
2022-08-24T15:14:48
|
|
Update .gitignore
|
|
f317d619
|
2022-07-01T13:59:14
|
|
Xbox GDKX support (#5869)
* Xbox GDK support (14 squashed commits)
* Added basic keyboard testing
* Update readme
* Code review fixes
* Fixed issue where controller add/removal wasn't working (since the device notification events don't work on Xbox, have to use the joystick thread to poll XInput)
|
|
9dfa000b
|
2022-05-18T20:20:03
|
|
Initial support for building for Windows with OpenWatcom
|
|
cd66c050
|
2021-10-29T01:11:59
|
|
testsurround: Add surround sound channel tester
|
|
0c8277e9
|
2021-09-22T09:30:28
|
|
Added testgeometry to the git ignore file
|
|
83020658
|
2021-09-09T21:33:35
|
|
Add testmouse
|
|
7d8f34cb
|
2021-07-24T01:19:58
|
|
Updated .gitignore from @Zangetsu38 - thanks!
|
|
0f00f6dd
|
2021-07-06T10:01:31
|
|
Ignore checkkeysthreads
|
|
78095e37
|
2021-04-03T15:28:09
|
|
git: Ignore debian generated files
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Change-Id: Iebfef58f41056c01736aba99f38fdedb9ee93013
|
|
d79bc001
|
2021-02-16T22:36:07
|
|
Update the .gitignore file
|
|
b34d92bf
|
2021-02-14T11:56:40
|
|
further .gitignore updates
|
|
2faa4783
|
2021-02-14T11:55:24
|
|
further .gitignore updates
|
|
67a9d6ba
|
2021-02-13T20:50:24
|
|
updates to .gitignore
|
|
5cbe62ea
|
2021-02-12T19:28:57
|
|
ignore vs2019 meta folder
|
|
9f71a809
|
2021-02-12T22:01:29
|
|
Rename .hgignore to .gitignore
|