|
078e817c
|
2023-07-09T20:05:32
|
|
Unaligned stacks on i686-w64-mingw32, may lead to crashes (#7607)
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com>(cherry picked from commit 8231278817faabdff4a232770f798684bd2e12df)
|
|
4761467b
|
2023-07-01T09:56:20
|
|
Updated to version 2.28.1 for release
|
|
ffa78e6b
|
2023-06-20T11:00:20
|
|
Updated to version 2.28.0 for release
|
|
d4f9be44
|
2023-06-13T19:44:26
|
|
Updated to version 2.27.1 for release candidate
|
|
63b8af35
|
2023-05-23T17:23:30
|
|
Disable unused local typedefs warning
This triggers on gcc 4.8.4 for compile time asserts inside of functions
Fixes https://github.com/libsdl-org/SDL/issues/7732
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com>
|
|
22df5729
|
2023-02-13T21:50:40
|
|
look for clock_gettime() in libc first, then in librt if not found.
|
|
44dc90dc
|
2023-01-18T13:03:04
|
|
autotools: Add check for libdecor get min/max functions
|
|
b79732b9
|
2022-12-11T22:23:45
|
|
cmake: use FindALSA.cmake to find ALSA library
|
|
64a5e7be
|
2022-11-24T17:00:20
|
|
added missing FGREP to Makefile.in. fixed syntax. regenerated configure.
|
|
4c7156c1
|
2022-11-24T05:21:21
|
|
Avoid use of deprecated egrep/fgrep
GNU grep 3.8 emits a deprecation warning on use of egrep/fgrep.
Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 3e7952ce8a0affd325c802755cae5fd843b86d99)
|
|
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
|
|
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
|
|
9f8b68a2
|
2022-11-11T10:24:17
|
|
Fixed building without linux/input.h
https://github.com/libsdl-org/SDL/issues/6169
|
|
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>
|
|
f37db957
|
2022-10-21T04:49:15
|
|
Use -lpthread on OpenBSD
|
|
f28cf2b0
|
2022-10-19T02:28:36
|
|
Also remove the OpenBSD comment about OSS
|
|
f4e3af15
|
2022-10-17T07:23:40
|
|
Simplify OSS test by removing OpenBSD specific location of the soundcard.h header
OpenBSD has long since stopped using OSS. Remove checking for OpenBSD specific header.
|
|
45da1339
|
2022-10-06T00:39:47
|
|
cmake: don't error on apple when using deprecated declarations
|
|
335c6724
|
2022-10-06T19:17:18
|
|
autotools: add --enable-werror option
|
|
68e20501
|
2022-10-06T23:41:13
|
|
autotools: by default, disable x11 on MacOS/iOS
|
|
f4882318
|
2022-09-29T20:31:20
|
|
Use the pkg-config file when checking for sndio.
|
|
f687cbd4
|
2022-10-06T09:00:57
|
|
Clarified that GNU sort isn't required, we just need the -V option to be supported
|
|
8c587636
|
2022-10-06T08:25:54
|
|
GNU sort isn't available on older macOS and some BSD systems
Don't prevent building entirely, just warn that we won't be able to find dynamic libraries in this case.
Fixes https://github.com/libsdl-org/SDL/pull/6338
|
|
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
|
|
f18fae4c
|
2022-10-04T16:46:29
|
|
Use DWARF 4 debug information when building using mingw
See this bug for more information:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377
Fixes https://github.com/libsdl-org/SDL/issues/6139
|
|
6b75a592
|
2022-09-24T20:01:04
|
|
autotools: revised and silenced esound detection a bit.
|
|
db225dec
|
2022-09-20T20:03:20
|
|
autotools: stop using AC_FUNC_MEMCMP and AC_FUNC_STRTOD
Closes: https://github.com/libsdl-org/SDL/issues/6266 .
|
|
37effc77
|
2022-09-15T19:39:35
|
|
Build the offscreen video driver by default.
|
|
d0a35703
|
2022-09-12T18:02:21
|
|
configure.ac: fix configure tests broken with Clang 15 (implicit function declarations)
Clang 15 makes implicit function declarations fatal by default which
leads to some configure tests silently failing/returning
the wrong result.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
3f89d170
|
2022-09-01T11:30:02
|
|
Fixed building with libusb not dynamicaly loaded
|
|
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>
|
|
732e1530
|
2022-08-25T14:44:43
|
|
autotools: Require GNU sort
find_lib() uses sort -V, which is a GNU extension. Users of non-GNU
operating systems should either install GNU coreutils (assumed to
provide a gsort executable), or use the CMake build system.
Resolves: https://github.com/libsdl-org/SDL/issues/6106
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
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
|
|
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
|
|
6926ff3c
|
2022-07-30T16:30:32
|
|
Applied DragonFly BSD patch
https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/devel/sdl20/dragonfly/patch-configure
|
|
65473ae3
|
2022-07-25T02:01:59
|
|
autoconf: use ax_compute_relative_paths
|
|
c92ddddd
|
2022-07-12T13:00:43
|
|
Sort libraries by version and pick the shortest symlink (thanks @jpalus!)
Fixes https://github.com/libsdl-org/SDL_image/issues/289
|
|
d5b8cf72
|
2022-07-11T15:54:15
|
|
Revert "autotools: relax soname pattern for dynamic loading"
This reverts commit 85536328272d754277febd010e82d89b04e68b6d.
An issue with choosing the shortest one, is that it will prefer development libraries: libfoo.so is shorter then libfoo.so.0.6.
|
|
85536328
|
2022-07-10T18:02:46
|
|
autotools: relax soname pattern for dynamic loading
SDL makes assumption that each dynamically loaded library must have
SONAME matching pattern <libname>.so.<digit>+ hence it discards any file
that has two (or more) digits after ".so". in practice however SONAME
might be in the form of ie <libname>.so.<major>.<minor>.
as a solution keep requirement for dynamically loaded files to be named
<libname>.so.* but consider all the possibilities and prefer the shortest
one.
|
|
787dc260
|
2022-06-24T20:37:20
|
|
autotools: properly enable the version static assertions
SDL doesn't use automake, therefore instead of AC_DEFINE_UNQUOTED
manually add the defines to EXTRA_CFLAGS.
|
|
a8d41b3b
|
2022-06-18T21:51:32
|
|
check for shellscalingapi.h presence instead of WINVER >= 0x0603
|
|
59fb7acb
|
2022-06-16T15:46:53
|
|
Enable D3D12 detection when using mingw-64
|
|
b004133f
|
2022-06-16T12:49:17
|
|
Updated to version 2.23.1 for pre-release checkpoint
|
|
bdf14133
|
2022-06-12T23:22:20
|
|
autotools: fixed d3d12 detection result report.
|
|
526f4175
|
2022-06-08T20:51:04
|
|
updated configury to silence ac2.7x warnings with minor rearrangement.
|
|
b9c2ad83
|
2022-06-07T22:19:58
|
|
Added additional check for HAVE_D3D12_H and missing SDL_VIDEO_RENDER_D3D12 in SDL_config.h.cmake
|
|
e8d89ce2
|
2022-06-07T16:31:27
|
|
< should be <=
|
|
7a335df9
|
2022-06-07T16:11:25
|
|
Updated CMakeLists.txt and configure.asc/script so that it checks for the required Windows SDK version before it enables the d3d12 renderer. Also fixed reported warnings in some builds.
|
|
40828218
|
2022-06-06T17:42:30
|
|
DirectX 12 Renderer (#5761)
* DirectX 12 Renderer (27 squashed commits)
* Add missing SDL_hidapi.h of merge of SDL.vcxproj.filters
* Fixed OpenWatcom build failure
* Dynapi fix
Co-authored-by: Ryan C. Gordon <icculus@icculus.org>
|
|
17f63e53
|
2022-05-31T19:10:05
|
|
Add loongarch support
LSX and LASX are enabled by default if compiler supports them.
|
|
65a3453b
|
2022-05-26T16:02:15
|
|
build: Compile with large inode number support where possible
On filesystems with large inode numbers, such as overlayfs, attempting
to stat() a file on a 32-bit system using legacy syscalls can fail
with EOVERFLOW. If we opt-in to more modern "large file support"
syscalls, then source code references to functions like stat() are
transparently replaced with ABIs that support large file sizes and
inode numbers, such as stat64().
This cannot safely be done globally by Linux distributions, because
some libraries expose types like `off_t` or `struct stat` in their
ABI, meaning that enabling large file support would be an incompatible
change that would cause crashes. However, SDL appears to be careful to
avoid these types in header files, so it should be OK to enable this.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
799d39a3
|
2022-06-03T23:08:22
|
|
Make the sdl2-config script relocatable
|
|
6f3474db
|
2022-06-03T19:58:25
|
|
autotools: export relative path of an installed sdl2-config.cmake to the prefix root
|
|
e0f3da49
|
2022-05-12T12:18:23
|
|
Remove unused SDL_ASSEMBLY_ROUTINES define
|
|
737b4fc3
|
2022-05-11T11:17:58
|
|
Added -fobjc-arc to support automatic reference counting on macOS
|
|
b03e08f3
|
2022-05-05T16:06:11
|
|
configure.ac: Use Autoconf quadrigraphs for character set in AS_CASE
The use of square brackets for a character set collides with the use
of square brackets for m4 quote characters, so use the other quoting
mechanism that Autoconf provides, by escaping `[` as `@<:@` and so on.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
fff97c95
|
2022-05-04T16:40:11
|
|
build: Mechanically generate ABI versions from version number
If we're strict about applying something resembling semantic versioning
to the "marketing" version number, then we can mechanically generate
the ABI version from it.
This limits the range of valid micro versions (patchlevels) to 0-99.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
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>
|
|
63814ec7
|
2022-05-03T14:39:00
|
|
Add static assertions that the version number is consistent
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
22002d91
|
2022-05-03T14:09:12
|
|
docs/release_checklist.md: Document how/where to bump version numbers
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
7d7ec9c9
|
2022-04-26T16:41:28
|
|
x11: Remove XVidMode and Xinerama support.
Fixes #1782.
|
|
e9ff4fdd
|
2022-04-25T23:55:50
|
|
add SDL_bsearch
|
|
fa29e2d7
|
2022-04-25T13:45:51
|
|
Updated to version 2.0.23 for development
|
|
505d6a4a
|
2022-04-08T18:18:56
|
|
Update version to 2.0.22 for release
|
|
c0bb39e5
|
2022-04-02T02:50:02
|
|
check for HAVE_ROAPI_H in cmake and autotools, and
update SDL_config_windows.h and SDL_config_winrt.h
|
|
a630b029
|
2022-03-27T11:56:40
|
|
configure: improvements to libdecor discovery :
use PKG_CHECK_MODULES, and use DECOR_LIB with find_lib.
Closes: https://github.com/libsdl-org/SDL/pull/5460
Co-authored-by: Trigan2025 <trigan2025@hotmail.fr>
|
|
13337e17
|
2022-03-23T13:27:01
|
|
wayland: The rest of the wayland-client 1.18 requirement... Git, please
|
|
85dff3e4
|
2022-03-16T08:58:52
|
|
emscripten: obey enable-misc/SDL_MISC settings
|
|
a633a3c3
|
2022-01-13T09:33:20
|
|
add audio/video dummies if nothing else available II.
|
|
398f9a0e
|
2022-01-13T09:32:41
|
|
fix have_audio/video flags, add uikit to SUMMARY_video in configure
|
|
21510387
|
2022-01-12T13:05:12
|
|
fix CMakeLists.txt vs. configure inconsistencies
- atomic subsystem is disabled by default (changed in configure)
- SDL_WAYLAND_LIBDECOR is disabled by default if SDL_WAYLAND is not set (changed in CMakeLists.txt)
|
|
b1b2ad72
|
2022-01-11T12:30:15
|
|
sync handling of subsystems II. (+)
|
|
eb80f2c6
|
2022-01-11T10:45:41
|
|
sync handling of subsystems II.
|
|
65e9415b
|
2022-01-10T17:00:32
|
|
sync handling of subsystems
- add DUMMY-define in case the subsystem is enabled but not available (filesystem/misc/locale)
- add missing PSP/VITA-filesystem defines
- sync the order of filesystems in SDL_config.h.cmake/in
- add option to disable locale subsystem in configure
|
|
ea8cf4bd
|
2022-01-10T16:36:02
|
|
add 'Misc' subsystem II.
|
|
15ebad6e
|
2022-01-22T13:31:11
|
|
emscripten: Implement SDL_OpenURL
|
|
a0e3c884
|
2022-01-17T15:32:27
|
|
Updated to version 2.0.21 for development
|
|
a575e2cf
|
2022-01-17T20:56:24
|
|
Enable alloca on mingw/cygwin builds:
This effectively reverts commit 391d73e37b26614e2e343ca8e9d4334e07380896
Fixes https://github.com/libsdl-org/SDL/issues/5234
|
|
33dadbf1
|
2022-01-17T20:56:20
|
|
'dnl' whitespace tidy-up in configure.ac
|
|
f14c7bb4
|
2022-01-09T20:33:32
|
|
added missing hidapi stuff for os/2 with libusb
|
|
92946348
|
2022-01-07T18:28:25
|
|
Updated to version 2.0.20 for release
|
|
75ac944b
|
2022-01-06T22:24:00
|
|
check for tpcshrd.h and define HAVE_TPCSHRD_H if it's available.
|
|
505df1a9
|
2021-12-19T20:43:48
|
|
autotools: Fix typo in libgbm print
|
|
0673e448
|
2021-12-20T01:03:56
|
|
autotools: improved detection of windows.gaming.input.h
similar to cmake commit 83583dc49d
|
|
03019c91
|
2021-12-06T20:37:52
|
|
autotools, cmake: tighten Xfixes check && explicitly test BarrierEventID
Apparently the older versions of libXi doesn't have it. Fixes the build
break issue reported at:
https://github.com/libsdl-org/SDL/commit/4b42c05ba1eaaaa9a4ef803acea8f13402271039#commitcomment-61427659
|
|
514f5858
|
2021-12-02T20:11:40
|
|
autotools: disable static builds on os/2
|
|
339f0d40
|
2021-12-01T02:32:10
|
|
configure.ac: adjust os2 section for system iconv() use.
|
|
efa1aa9a
|
2021-12-01T01:55:56
|
|
initial attempt at adding os2 support to autotools
|
|
5fc901d4
|
2021-11-30T09:58:21
|
|
Updated to version 2.0.19 for development
|
|
5a0ea7fb
|
2021-11-27T19:10:10
|
|
Check for O_CLOEXEC definition in fcntl.h at configuration time,
If not available, define it internally as 0 (in SDL_internal.h).
Define it as available for macOS >= 10.7 in SDL_config_macosx.h.
|
|
5f1558ff
|
2021-11-26T13:47:42
|
|
Fixed detecting Raspberry Pi 2/3 video support on Pi 4
|
|
7242075b
|
2021-11-26T08:12:45
|
|
Updated version to 2.0.18 for release
|
|
f8900583
|
2021-11-23T17:04:40
|
|
removed windows winmm joystick driver
|