|
ea8f8b6d
|
2022-11-21T16:36:10
|
|
Updated to version 2.27.0 for development
|
|
0bfeed06
|
2022-11-21T16:15:58
|
|
Updated to version 2.26.0 for release
|
|
8ae46a49
|
2022-11-21T06:57:02
|
|
Save the version in VERSION.txt instead of VERSION
Fixes https://github.com/libsdl-org/SDL/issues/6558
|
|
802c624a
|
2022-11-20T14:37:05
|
|
Strip trailing newline when reading the VERSION file
|
|
3bc4bad8
|
2022-11-20T23:50:10
|
|
add missing strcasestr checks to cmake and autotools build systems,
and update config files.
|
|
78ea6af2
|
2022-11-17T09:01:35
|
|
Updated to version 2.25.1 for release candidate
|
|
819b0143
|
2022-11-01T10:42:57
|
|
cmake: enable SDL_TEST by default for emscripten
|
|
55384db8
|
2022-11-01T13:09:29
|
|
cmake: emscripten has libunwind.h, libunwind.a has missing symbols
|
|
6e46090a
|
2022-11-01T13:08:38
|
|
cmake: check ALL headers inside the look (including sys/types.h)
|
|
500bac0b
|
2022-11-01T13:06:39
|
|
cmake: include FIndPkgConfig.cmake through find_package
|
|
a71ad40a
|
2022-11-15T13:04:22
|
|
CMake: Add option to use Ccache.
|
|
9f8b68a2
|
2022-11-11T10:24:17
|
|
Fixed building without linux/input.h
https://github.com/libsdl-org/SDL/issues/6169
|
|
61297f70
|
2022-10-29T03:20:30
|
|
cmake: on Apple, check for presence of an OBJC compiler
|
|
b50e4293
|
2022-09-07T12:21:56
|
|
Fix compilation for .m files extension
|
|
4c704ecf
|
2022-11-01T16:33:21
|
|
cmake: use SDL2-static as static library output name when prefix/static == ""/".lib"
Apparently, some clang@Windows compilers do this.
|
|
c3b13346
|
2022-10-21T18:32:53
|
|
On x86, pass -nodefaultlib to linker when wanting to avoid the C library
|
|
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>
|
|
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>
|
|
5ed091c1
|
2022-10-21T15:32:05
|
|
cmake: fix reporting of SDL_TESTS
|
|
96361fc4
|
2022-10-04T21:17:10
|
|
cmake: create and install sdl2.pc for MSVC & WATCOM
|
|
d542f43b
|
2022-10-19T16:03:43
|
|
cmake: add SDL_INSTALL_CMAKEDIR cache variable to override location of cmake config files
|
|
428b5ae5
|
2022-10-18T10:34:51
|
|
PSP: Reorder extra imports
|
|
392f3882
|
2022-09-20T22:45:24
|
|
N3DS: Use SDL_Sensor instead of Joystick sensors.
|
|
27557b62
|
2022-09-20T19:53:45
|
|
N3DS: Prefix timer sources with `N3DS_`.
|
|
65527537
|
2021-03-30T04:32:39
|
|
N3DS port (squashed)
A dedicated renderer using Citro3D would likely allow for better
much better graphical performances.
|
|
6ffc45b0
|
2022-10-09T17:22:31
|
|
Removed "undefined" argument for Apple platforms.
This is incompatible with enabling bitcode, such as with iOS builds. The
default value for "undefined" is "error" so this option should be
redundant.
|
|
37beabd1
|
2022-10-06T02:16:07
|
|
SDL_mslib.c: clang-cl does not support `/GL-`
|
|
07225d2e
|
2022-10-06T00:55:37
|
|
cmake: fix check for -marm
This fixes the following warning:
clang: warning: argument unused during compilation: '-marm' [-Wunused-command-line-argument]
|
|
45da1339
|
2022-10-06T00:39:47
|
|
cmake: don't error on apple when using deprecated declarations
|
|
77822ed1
|
2022-10-05T15:14:08
|
|
cmake: add SDL_WERROR to conditionally enable/disable -Werror
|
|
1064fdee
|
2022-10-06T05:04:51
|
|
cmake: append to COMPILE_FLAGS property
|
|
fa7ffa4e
|
2022-10-06T03:37:50
|
|
change the iconv configuration option names to be more verbose.
|
|
294ccba0
|
2022-10-05T23:56:56
|
|
better wording for --enable-iconv description
|
|
c9f60cce
|
2022-10-05T17:12:08
|
|
cmake+autotools: add option to enable/disable iconv
|
|
d0657fde
|
2022-10-05T02:15:22
|
|
cmake: Use DWARF 4 debug information when building using mingw
See f18fae4c689a68bd50ce34d6b9c1f014c2f220a2
|
|
70214ed3
|
2022-06-17T02:58:45
|
|
cmake: append to CMAKE_MODULE_PATH instead of overwriting
|
|
a193a03d
|
2022-09-27T17:33:49
|
|
cmake: add -Wno-declaration-after-statement to cpu-features.c alone
|
|
2f9c9b5f
|
2022-09-27T02:30:43
|
|
cmake: make sure check_* uses 2 different variables for clock_gettime
|
|
bfecd781
|
2022-09-27T01:08:04
|
|
cmake: use check_symbol_exists to check dlopen + need for dl library
|
|
f6c9b065
|
2022-09-23T23:56:04
|
|
cmake: output libSDL2-2.0.0.dylib like autotools, not libSDL2-2.0.dylib.
libSDL2-2.0.dylib is now installed as a symlink to libSDL2-2.0.0.dylib :
$ ls -l *.dylib
-rwxr-xr-x. 1 ozkan ozkan 1755488 Sep 23 23:53 libSDL2-2.0.0.dylib
lrwxrwxrwx. 1 ozkan ozkan 19 Sep 23 23:53 libSDL2-2.0.dylib -> libSDL2-2.0.0.dylib
lrwxrwxrwx. 1 ozkan ozkan 17 Sep 23 23:53 libSDL2.dylib -> libSDL2-2.0.dylib
Reference issue: https://github.com/libsdl-org/sdl12-compat/issues/217
|
|
3b20e0ec
|
2022-09-19T02:38:36
|
|
cmake: only add -Wl,--undefined=WinMain when building an executable
|
|
202dfea5
|
2022-09-17T14:12:13
|
|
Vita: drop memory defines
|
|
7115ceb7
|
2022-09-17T11:52:19
|
|
Vita: restore sceClibMemcmp
|
|
37effc77
|
2022-09-15T19:39:35
|
|
Build the offscreen video driver by default.
|
|
eb0bf2c2
|
2022-09-12T21:52:39
|
|
vita: Drop memcmp redirect to sceClibMemcmp.
|
|
5b2884cb
|
2022-09-12T20:28:00
|
|
apply commit d0a3570300812bc81888e7a7eadb9311621dc9a7 to cmake side too.
|
|
181265ba
|
2022-09-05T11:36:20
|
|
Removed unused variable
|
|
acf397b4
|
2022-09-05T11:21:13
|
|
Actually, DYLIB_COMPATIBILITY_VERSION shouldn't be updated for a stable point release
@smcv
|
|
fd93f817
|
2022-09-04T17:50:29
|
|
Assume that stdint.h is available on Windows with compilers other than MSVC <= 2008
|
|
ef988fe1
|
2022-09-05T08:58:49
|
|
Only use CETCOMPAT on x86/x64 platforms
Fixes https://github.com/libsdl-org/SDL/issues/6173
|
|
4e98ba61
|
2022-09-05T08:28:06
|
|
Set DYLIB_COMPATIBILITY_VERSION to DYLIB_CURRENT_VERSION to match autotools
Autotools sets both versions to the same value, so Xcode and CMake need to match for the libraries to be compatible between the different builds.
See these for details:
https://github.com/libsdl-org/sdl12-compat/pull/207
https://github.com/libsdl-org/SDL/issues/2934
https://stackoverflow.com/questions/67055770/usage-of-current-version-and-compatibility-version-on-macos
|
|
803924b2
|
2022-08-30T00:50:44
|
|
CMake: Make SDL_SHARED/STATIC/TEST options
This makes it easier to set these options when SDL is used as a subprojects.
Since CMake v3.13+, one can simply `set(SDL_TEST OFF)` before include the SDL2 subproject because options do not override existing variables. (https://cmake.org/cmake/help/latest/policy/CMP0077.html#policy:CMP0077)
This is also true for `set(CACHE)` commands but only in CMake v3.21+ (https://cmake.org/cmake/help/latest/policy/CMP0126.html).
|
|
e8cb4da7
|
2022-08-26T12:28:33
|
|
Add utility function to detect if SDL is inside a sandbox
Refactor the previous sandbox check in a standalone function that also
includes Snap support.
Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
|
|
32c4996c
|
2022-08-26T02:38:54
|
|
cmake: add SDL_IBUS option to enable/disable DBUS + test sys/inotify.h
|
|
c8b56ee5
|
2022-08-26T02:37:57
|
|
cmake: add SDL_DBUS option to enable/disable DBUS
|
|
032ff640
|
2022-08-26T02:37:17
|
|
cmake: OpenIndiana announces SunOS, which is the former name of Solaris
|
|
711846c1
|
2022-08-26T01:56:20
|
|
cmake: fix build with SDL_WAYLAND_SHARED=OFF
|
|
2ceea460
|
2022-08-21T14:15:06
|
|
cmake: Enable CET compatibility for x86/x64 targets using VS 16.7+
|
|
6e9c14e5
|
2022-08-19T09:38:42
|
|
Updated to version 2.25.0 for development
|
|
8c9beb0c
|
2022-08-19T08:44:09
|
|
Updated to version Updated to version 2.24.0 for release
|
|
f1416ef2
|
2022-08-12T20:27:22
|
|
Updated to version 2.23.2 for release candidate
|
|
3f19e36d
|
2022-08-07T20:55:27
|
|
Disable declaration-after-statement warning on Android
External .c files are brought in that don't adhere to this requirement for
pre-C99 code and causes the build to break with the latest NDK.
Fixes #6019
|
|
17b329d1
|
2022-07-26T02:51:07
|
|
cmake: enable disabing hidapi
|
|
a4e6f3ca
|
2022-07-26T02:41:43
|
|
cmake: when there are alternatives, don't use libusb by default
|
|
4564e898
|
2022-07-03T18:54:56
|
|
put files at the same line
|
|
147a71b9
|
2022-06-30T12:57:37
|
|
Finish dummy driver
|
|
2660449c
|
2022-06-30T11:44:35
|
|
Add dummy driver
|
|
a81aa992
|
2022-06-24T15:48:50
|
|
Add prim video support
|
|
46f95a7a
|
2022-06-24T00:20:11
|
|
Create dummy PS2 Video driver
|
|
954bbdf3
|
2022-08-01T09:51:21
|
|
Allow emscripten platform to build without threads
|
|
e4cc076a
|
2022-08-01T09:15:44
|
|
Threads are used by many SDL subsystems and may not be disabled.
Fixes https://github.com/libsdl-org/SDL/issues/5095
|
|
83f5bbdf
|
2022-07-28T14:08:20
|
|
cmake: define SDL_STATIC_LIB for static SDL2 library
|
|
bdd1d035
|
2022-07-28T02:38:04
|
|
cmake: Don't add /NODEFAULTLIB to link flags when building SDL-static
|
|
02c87471
|
2022-07-27T15:05:41
|
|
math.h does not always provide M_PI
This fixes the following error when building with SDL_LIBC:
SDL\test\testautomation_math.c(1965): error C2065: 'M_PI': undeclared identifier
|
|
5da85376
|
2022-07-26T21:47:52
|
|
stdlib: move all mslibc functions to SDL_mslibc.c
This allows disabling LTO on them by only specifying a single file.
|
|
5c70e45c
|
2022-07-25T23:46:36
|
|
cmake: don't use result of 'find_library' for Android libraries
|
|
4690689a
|
2022-07-25T23:06:52
|
|
cmake: on Apple, don't use find_library for frameworks + use EXTRA_LDFLAGS
|
|
fc2497b1
|
2022-07-23T18:05:35
|
|
Revert "cmake: don't add -mwindows to link flags in sdl2.pc"
This reverts commit d211aaddc1edaad0e7d461d6837f3f1d2f9f4b41.
|
|
d211aadd
|
2022-07-23T15:29:39
|
|
cmake: don't add -mwindows to link flags in sdl2.pc
|
|
d63a699e
|
2022-07-23T15:29:13
|
|
cmake: by default, disable install target when building SDL as a subproject
|
|
0a164163
|
2022-07-21T20:30:33
|
|
VIta: enable arm neon/simd optimisations
|
|
8f33de84
|
2022-07-21T14:08:19
|
|
cmake: set CMP0054 policy to NEW
|
|
e4a80875
|
2022-06-24T16:43:20
|
|
Initial Audio driver
|
|
7fd46ec5
|
2022-06-18T17:40:53
|
|
Initial PS2_Joystick implementation
|
|
84d69da4
|
2022-03-20T19:42:06
|
|
Initial SDL_ps2_main implementation
|
|
fa39f735
|
2022-06-26T23:34:30
|
|
cmake: add generated files to a custom target (#5851)
This way, headers are only generated once .
|
|
76f40e2b
|
2022-06-24T14:41:35
|
|
cmake: remove stray debug line
|
|
ca309363
|
2022-06-24T14:41:06
|
|
cmake: check and use clock_gettime by default on android
|
|
bd496961
|
2022-06-23T08:18:44
|
|
cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR (#5834)
* Update install directory to match generated
https://github.com/libsdl-org/SDL/blob/main/CMakeLists.txt#L3122
Sets `SDL2Config.cmake` to `CMAKE_BINARY_DIR`, whereas the install file tries to find it from a different location.
* cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
* ci: test SDL included as a cmake subproject
Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
|
|
78a37516
|
2022-06-16T16:38:58
|
|
cmake+ci: fix+test sdl2-config + sdl2.pc for all supported platforms
|
|
c61367c2
|
2022-06-16T04:14:52
|
|
cmake: do list(APPEND SDLMAIN_SOURCES)
|
|
3617691f
|
2022-06-16T03:37:05
|
|
cmake: install Android.mk files for ndk-build
This allows including SDL2 with ndk-build using
NDK_MODULE_PATH + import-module
An install tree looks like:
```
`-- share
|-- aclocal
| `-- sdl2.m4
|-- licenses
| `-- SDL2
| `-- LICENSE.txt
`-- ndk-modules
|-- SDL2
| `-- Android.mk
|-- SDL2-static
| `-- Android.mk
|-- SDL2main
| `-- Android.mk
`-- SDL2test
`-- Android.mk
```
The generated `/share/ndk-modules/SDL2/Android.mk` contains:
```
LOCAL_PATH := $(call my-dir)
_IMPORT_PREFIX := $(LOCAL_PATH)/../../..
include $(CLEAR_VARS)
LOCAL_MODULE := SDL2
LOCAL_SRC_FILES := $(_IMPORT_PREFIX)/lib/libSDL2.so
LOCAL_CPP_FEATURES := rtti exceptions
LOCAL_EXPORT_C_INCLUDES := ${_IMPORT_PREFIX}/include\
${_IMPORT_PREFIX}/include/SDL2
include $(PREBUILT_SHARED_LIBRARY)`
```
|
|
b3159714
|
2022-06-16T03:30:34
|
|
cmake: set HAVE_STATIC_PIC for correct summary
|
|
de409d2a
|
2022-06-16T03:28:30
|
|
cmake: remove spurious UNIX_SYS in dep_option
|
|
2f321fb7
|
2022-06-16T03:27:52
|
|
cmake: disable UNIX_SYS by default for Android
This force disables SDL_OSS, SDL_ALSA, SDL_JACK, SDL_ESD,
SDL_PIPEWIRE, SDL_ARTS, SDL_NAS, SDL_SNDIO, SDL_LIBSAMPLERATE,
SDL_RPATH, SDL_CLOCK_GETTIME and SDL_X11.
|
|
5f4e9fb9
|
2022-06-21T02:26:49
|
|
cmake: use add_custom_command to copy include files
Otherwise, the make program would not rebuild when a header got changed
|
|
485b1037
|
2022-06-21T01:30:50
|
|
cmake: copy all headers to the build directory and exclusively use that
|
|
3e102123
|
2022-06-20T20:51:12
|
|
cmake: also add the recently-added include folder to the public interface
|
|
4ad4fe67
|
2022-06-20T20:47:21
|
|
cmake: install generated SDL_config.h
The generated SDL_config.h recently changed location, so update the install.
|
|
d460000b
|
2022-06-20T19:29:13
|
|
cmake: use add_definitions for compatibility with cmake 3.0
|