|
8283abdb
|
2015-06-08T01:17:58
|
|
Updated configure script.
|
|
2a757825
|
2015-05-28T00:30:21
|
|
X11: Add Xdbe support to message boxes (thanks, Melker!).
Without this, message boxes with a lot of text will noticibly flicker as
you mouse over buttons.
Fixes Bugzilla #2343.
|
|
46f758ae
|
2015-05-26T19:54:06
|
|
Fix a libtool issue with some mingw-w64 cross compilers (thanks, Ozkan!).
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15321
http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commit;h=0ebb734910bf56186dd0c0e84b1c8be507bad336
Fixes Bugzilla #2722.
|
|
a2c28ec1
|
2015-05-26T11:13:51
|
|
Updated configure script.
|
|
13487426
|
2015-05-26T06:32:19
|
|
Fixed bug 1392 - Debian patch: do not propagate -lpthread
|
|
5c09bf73
|
2015-04-25T20:49:26
|
|
Only check for Linux-specific input APIs on Linux targets (thanks, Marcus!).
This is only for the configure script. The CMake project files already make
this Linux-exclusive.
Fixes Bugzilla #2659.
|
|
b72938c8
|
2015-04-20T12:22:44
|
|
Windows: Always set the system timer resolution to 1ms by default.
An existing hint lets apps that don't need the timer resolution changed avoid
this, to save battery, etc, but this fixes several problems in timing, audio
callbacks not firing fast enough, etc.
Fixes Bugzilla #2944.
|
|
1a73b4eb
|
2015-04-11T05:58:37
|
|
Some Raspberry Pi build fixes (including Raspberry Pi 2 support).
Fixes Bugzilla #2879.
|
|
fe6c797c
|
2015-04-10T23:30:31
|
|
Fixed an iOS view orientation issue when SDL_GL_CreateContext or SDL_CreateRenderer is called.
|
|
ac2bb3f2
|
2015-03-23T20:07:24
|
|
configure script: fix recursive mutex test on Linux systems (thanks, Ozkan!).
|
|
b88ca1b4
|
2015-02-10T16:28:56
|
|
the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here.
Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here. Not 5 or 10 depending on the architecture.
More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802
|
|
34a5c70c
|
2015-01-26T22:27:27
|
|
Fixed recently broken configure script for FreeBSD.
Found by buildbot.
|
|
b48e54aa
|
2015-01-26T22:00:29
|
|
Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation
Jonas Kulla
The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c.
I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along.
|
|
fe40a172
|
2014-12-18T00:19:52
|
|
Initial merge of Emscripten port!
With this commit, you can compile SDL2 with Emscripten
( http://emscripten.org/ ), and make your SDL-based C/C++ program
into a web app.
This port was due to the efforts of several people, including: Charlie Birks,
Sathyanarayanan Gunasekaran, Jukka Jyl?nki, Alon Zakai, Edward Rudd,
Bruce Mitchener, and Martin Gerhardy. (Thanks, everyone!)
|
|
70438be2
|
2014-12-03T10:55:23
|
|
WinRT: fixed bug whereby SDL would override an app's default orientation
WinRT apps can set a default, preferred orientation via a .appxmanifest file.
SDL was overriding this on app startup, and making the app use all possible
orientations (landscape and portrait).
Thanks to Eric Wing for the heads up on this!
|
|
f86af130
|
2014-11-29T14:41:18
|
|
Fixed bug 2795 - SDL library detection selects the wrong lib
Chris Beck
When creating a homebrew recipe for wesnoth, I discovered that the SDL image configuration routine does not detect libpng properly -- if you have multiple instances of libpng on your system, and you use environment variables to select an instance which is not in your system directory, the build can be broken, because it will run configuration tests against the system installed version, but deduce that it should use the filename of the system-installed version. In a vanilla build of wesnoth using homebrew, this results in segfaults at runtime, because you end up linking against two different versions of libpng, which is also needed independently of SDL.
The problem is essentially in the "find_lib" routine in the configure file:
find_lib()
{
gcc_bin_path=[`$CC -print-search-dirs 2>/dev/null | fgrep programs: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`]
gcc_lib_path=[`$CC -print-search-dirs 2>/dev/null | fgrep libraries: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`]
env_lib_path=[`echo $LIBS $LDFLAGS | sed 's/-L[ ]*//g'`]
for path in $gcc_bin_path $gcc_lib_path $env_lib_path /usr/lib /usr/local/lib; do
lib=[`ls -- $path/$1 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
if test x$lib != x; then
echo $lib
return
fi
done
}
Because the for loop goes over the system directories before the environment directories, any system-installed lib will shadow the lib selected via environment variables. This is contrary to the behavior of the configuration tests earlier in the script, which prefers the environment variable libs over the system-installed libs. The 'for' loop should instead be:
for path in $env_lib_path $gcc_bin_path $gcc_lib_path /usr/lib /usr/local/lib; do
You can see the full discussion on the Homebrew / linuxbrew issue tracker here: https://github.com/Homebrew/linuxbrew/issues/172
I have checked that this bug also affects SDL 1.2.15, SDL_mixer and SDL_ttf 1.2, which all use this same "find_lib" routine. I have not determined if the bug affects SDL 2.0, which seems not to use this exact routine.
|
|
9c398852
|
2014-11-22T22:20:40
|
|
Corrected header file documentation comment.
|
|
839be304
|
2014-10-15T16:26:51
|
|
Updated configure based on recent configure.in changes
|
|
24c86b55
|
2014-09-11T19:24:42
|
|
[X11] Reconcile logical keyboard state with physical state on FocusIn
since the window system doesn't do it for us like other platforms.
This prevents sticky keys and missed keys when going in and out
of focus, for example Alt would appear to stick if switching away
from an SDL app with Alt-Tab and had to be pressed again.
CR: Sam
|
|
50cc4efe
|
2014-09-10T08:54:01
|
|
Freescale i.MX6 video driver
---
CMakeLists.txt | 2 +
cmake/sdlchecks.cmake | 20 +++
configure | 51 +++++++
configure.in | 28 ++++
include/SDL_config.h.cmake | 1 +
include/SDL_config.h.in | 1 +
src/video/SDL_sysvideo.h | 3 +
src/video/SDL_video.c | 3 +
src/video/mx6/SDL_mx6events.c | 45 ++++++
src/video/mx6/SDL_mx6events_c.h | 31 +++++
src/video/mx6/SDL_mx6opengles.c | 211 ++++++++++++++++++++++++++++
src/video/mx6/SDL_mx6opengles.h | 68 +++++++++
src/video/mx6/SDL_mx6video.c | 301 ++++++++++++++++++++++++++++++++++++++++
src/video/mx6/SDL_mx6video.h | 78 +++++++++++
14 files changed, 843 insertions(+)
create mode 100644 src/video/mx6/SDL_mx6events.c
create mode 100644 src/video/mx6/SDL_mx6events_c.h
create mode 100644 src/video/mx6/SDL_mx6opengles.c
create mode 100644 src/video/mx6/SDL_mx6opengles.h
create mode 100644 src/video/mx6/SDL_mx6video.c
create mode 100644 src/video/mx6/SDL_mx6video.h
|
|
7242e814
|
2014-09-02T06:55:47
|
|
Updated version to 2.0.4
|
|
059579e4
|
2014-08-23T10:47:50
|
|
Fixed bug 2696 - Mac: fix display mode refresh rate calculation
Alex Szpakowski
SDL's Cocoa backend uses the CGDisplayMode API to get refresh rate information about a display mode, but CGDisplayModeGetRefreshRate will return 0 on most non-CRT monitors.
The only way I know of to get correct refresh rate information in OS X is via the CoreVideo DisplayLink API.
I have attached a patch which tries to use the CVDisplayLinkGetNominalOutputVideoRefreshPeriod function if CGDisplayModeGetRefreshRate fails, which fixes display mode refresh rate information on the monitors I tested.
The CVDisplayLink API requires linking with the CoreVideo framework, and the patch updates the various build files to do so.
|
|
1ea86978
|
2014-08-17T13:11:55
|
|
Removed SDL_round() because the license wasn't compatible with zlib
|
|
4e7db78e
|
2014-08-16T23:23:15
|
|
Added SDL_round(), contributed by Benoit Pierre - thanks!
|
|
ef39d1d1
|
2014-07-07T21:34:04
|
|
Updated configure after removing pthread spinlock support
|
|
017c5dc3
|
2014-07-07T10:42:19
|
|
Fixed bug 2626 - iOS: fix test and template Xcode projects and build scripts to link with CoreMotion
Alex Szpakowski
Now that SDL on iOS requires CoreMotion to be linked, some of the Xcode projects included with the SDL source (such as the iOS tests and the iOS app template) as well as the premake and automake scripts need to be updated.
I've attached a patch which does so. It also fixes the SDL Xcode project to build for 64-bit ARM as well as armv7 by default (or whatever the default ARM targets are for the Xcode version used), which is what the iOS app template expects.
|
|
1ee96bb9
|
2014-07-07T10:26:28
|
|
Fixed mingw64 build and warnings
|
|
b79e7f32
|
2014-07-03T15:39:55
|
|
Split the XInput and DirectInput code so Windows RT can use the existing XInput support.
|
|
02e9f81e
|
2014-06-28T12:17:29
|
|
SDL_egl: allow creation of versioned OpenGL contexts with EGL_KHR_create_context
If the EGL extension EGL_KHR_create_context is available, we can use it to
set the core/compatability profile and the minimum OpenGL version.
Use this if it is available to get the context requested by the GL attributes.
|
|
afe14829
|
2014-06-25T00:43:10
|
|
Fixed bug 2556 - add compilation flag -Wshadow
Sylvain
here's the full patch for Blit + RLE.
|
|
553028c9
|
2014-06-22T11:02:56
|
|
Partial fix for bug 2556 - add compilation flag -Wshadow
I added -Wshadow and then turned it off again because of massive variable shadowing in the blit macros.
Feel free to go through that code and fix these if you want. Just uncomment CheckWarnShadow in configure.in if you want to try this.
|
|
fe63e00b
|
2014-06-21T12:50:03
|
|
Generated configure from recent configure.in changes (for ibus support)
|
|
199aff7b
|
2014-06-19T00:40:09
|
|
Make autoconf-based build quiet by default.
Add V=1 to the make command line will show the full commands but by default
we just show the tool-type and the output file. This is generally much easier
on the eye and makes warnings and errors more clearly visible.
|
|
70cebc7d
|
2014-06-15T01:19:01
|
|
Add coreaudio to the configure script's summary output.
|
|
efa2d058
|
2014-06-08T18:18:13
|
|
Fixes audio for Native Client, and other fixes...
- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
|
|
47e0aa0e
|
2014-06-07T20:43:12
|
|
Fixed building on command line Mac OS X
|
|
6101e4b2
|
2014-06-07T18:20:01
|
|
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
|
|
1e352d79
|
2014-06-06T15:45:59
|
|
Chrome's Native Client backend implementation
|
|
4f7329a1
|
2014-06-05T11:04:07
|
|
Don't link directly against OpenGL.framework on Mac OS X.
We dlopen() it as appropriate already.
|
|
660a57f9
|
2014-05-13T19:42:40
|
|
Fixes #2541, build failure with Wayland enabled, OpenGL ES disabled
Also includes an attempt at fixing building SDL on Ubuntu 13.10, which hopefully
won't break 14.04
|
|
e7bccd16
|
2014-05-06T00:20:34
|
|
Update the machine-generated configure code.
|
|
3d5a24b9
|
2014-04-17T17:24:27
|
|
Updated configure with Brandon Schaefer's changes
|
|
3dcb451f
|
2014-04-09T21:29:19
|
|
Added a README file regarding WinRT support
To note, this file is currently formatted with CRLF line endings, rather than
LF, to allow the file to be viewed with Notepad.
|
|
b0502ce8
|
2014-03-25T14:33:34
|
|
Re-enable Mir/Wayland support now that 2.0.3 has been released.
|
|
b2fcdfca
|
2014-03-11T10:33:51
|
|
Disable Wayland/Mir again for 2.0.3; it's a quick, brown-paper-bag release.
We'll enable it by default for 2.0.4. Hopefully. :)
( http://www.catb.org/jargon/html/B/brown-paper-bag-bug.html )
|
|
1a35f32b
|
2014-03-10T01:51:03
|
|
Converted David Ludwig's D3D11 renderer to C and optimized it.
The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS)
This will need tweaking to fix the Windows RT build.
|
|
c167d1f6
|
2014-03-09T10:38:30
|
|
Updated SDL to version 2.0.3
|
|
0f1a72c0
|
2014-03-08T15:32:12
|
|
Enable Wayland and Mir in configure/cmake scripts, now that 2.0.2 has shipped.
|
|
fc0daeba
|
2014-03-02T01:59:25
|
|
Fixed X11 XInput2 multitouch test to work in configure script.
configure wraps this C code in a main() function, so you can't declare a
function body in there. Besides, I'm not sure why we declared a function
that's part of the multitouch API anyhow.
Now we just reference a type that only exists if the headers have multitouch
support and call it a day.
|
|
d4996235
|
2014-03-01T11:39:39
|
|
Fixed test for libuuid.a
|
|
eb5eb046
|
2014-02-22T15:34:31
|
|
Fixed bug 2298 - undefined reference to `IID_IUnknown' on cygwin
Brian Minton
When building static or shared libraries on cygwin 1.7.25 on Windows 7 (32-bit), I get the following link errors:
build/.libs/SDL_windowskeyboard.o: In function `UIElementSink_QueryInterface@12':
/home/c-bminton/src/SDL/src/video/windows/SDL_windowskeyboard.c:995: undefined reference to `IID_IUnknown'
build/.libs/SDL_windowskeyboard.o: In function `IPPASink_QueryInterface@12':
/home/c-bminton/src/SDL/src/video/windows/SDL_windowskeyboard.c:1101: undefined reference to `IID_IUnknown'
collect2: error: ld returned 1 exit status
Makefile:126: recipe for target 'build/libSDL2.la' failed
make: *** [build/libSDL2.la] Error 1
--
The libuuid from e2fsprogs is completely unrelated to the w32api UUID.DLL implib. FWIW, any *NIX software that I've seen obviously wants the e2fsprogs version, but if libuuid-devel is installed (in /usr/lib) then you can't link against the w32api implib with a simple -luuid.
|
|
853334af
|
2014-02-09T03:09:56
|
|
Updated SDL to version 2.0.2
|
|
c8ad30bc
|
2014-02-03T14:47:48
|
|
Removed -force_cpusubtype_ALL cflag from Mac builds.
This was for PowerPC G3 (!) compatibility, and Clang doesn't even recognize
the flag anymore.
|
|
0d9443d3
|
2014-02-03T11:59:17
|
|
Temporarily default Wayland and Mir to disabled, for 2.0.2 release.
We'll flip the default back to enabled right after 2.0.2 is finalized, and
try to declare them stable and ready by 2.0.3.
Those that have an interest in supporting them in 2.0.2 can manually enable
them in the configure script with --enable-video-wayland and/or
--enable-video-mir.
|
|
89fd0faf
|
2014-02-03T11:52:54
|
|
Hooked up dynamic loading for Mir.
|
|
8f055d19
|
2014-02-03T11:14:25
|
|
Add Mir to configure script's summary output.
|
|
19f8c622
|
2014-02-02T23:41:46
|
|
Added Mir video target (thanks, Brandon!).
|
|
8ba565ff
|
2014-01-30T20:29:58
|
|
Treacherous copy/paste!
|
|
6f3bf186
|
2014-01-30T20:27:13
|
|
Detect Xrandr >= 1.2 at build time
|
|
5071cb5c
|
2014-01-25T15:05:44
|
|
autoconf script tweaks
- fix up chmodding sdl2-config
- remove duplicate enable_atomic section
- add pretty summary of what was found/enabled
|
|
272ebb8e
|
2014-01-09T13:56:21
|
|
Dynamic loading support for Wayland
|
|
fce6257c
|
2013-12-27T09:29:39
|
|
Implements touch support on QTWayland. Contributed by Thomas Perl.
|
|
ec1cb49e
|
2013-12-14T20:18:43
|
|
Wayland support
Based on the original port to Wayland by: Joel Teichroeb, Benjamin Franzke, Scott Moreau, et al.
Additional changes in this commit, done by me:
* Wayland uses the common EGL framework
* EGL can now create a desktop OpenGL context
* testgl2 loads GL functions dynamically, no need to link to libGL anymore
* Assorted fixes to the Wayland backend
Tested on the Weston Compositor (v1.0.5) that ships with Ubuntu 13.10,
running Weston under X. Tests ran: testrendercopyex (all backends), testgl2, testgles2,testintersections
|
|
d01ad02b
|
2013-12-09T15:17:20
|
|
Hook up SDL_acos and SDL_asin properly.
|
|
f848adff
|
2013-11-29T10:06:08
|
|
Improve Android pause/resume behavior.
|
|
b72c8bca
|
2013-11-25T00:11:52
|
|
Regenerate the configure scripts.
|
|
e7693740
|
2013-11-24T23:35:38
|
|
Added SDL_vsscanf().
|
|
4abeed93
|
2013-11-22T14:19:52
|
|
Fixes compilation on Mingw.
|
|
2f6198ed
|
2013-11-17T11:07:55
|
|
Fixes building for RPi using --no-undefined
|
|
ec080ff8
|
2013-11-17T10:41:16
|
|
Restore evdev sources to configure script
|
|
923709a6
|
2013-11-16T21:52:56
|
|
Turn off --no-undefined on OpenBSD again. Leave it on everywhere else for now.
|
|
8acec42a
|
2013-11-16T12:04:00
|
|
Fixed up configure so it doesn't reference input/evdev anymore
|
|
a4a7c78c
|
2013-11-14T14:45:00
|
|
Apparently Haiku is removing /boot/common (thanks, scottmc!).
See http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-November/091877.html
|
|
00003e8c
|
2013-11-14T11:51:24
|
|
Renamed things named after BeOS to be named after Haiku instead.
|
|
7550ddcc
|
2013-11-13T22:35:26
|
|
Started BeOS removal: merged BeOS thread and pthread code.
Haiku uses most of the standard pthread API, with a few #ifdefs where we
still need to fallback onto the old BeOS APIs.
BeOS, however, does not support pthreads (or maybe doesn't support it well),
so I'm unplugging support for the platform with this changeset. Be Inc went
out of business in 2001.
|
|
2337a684
|
2013-10-13T19:49:45
|
|
Fixed bug 2149 - Don't search for libusbhid except on BSD
Joseph Carter
There's a whole set of configure tests for BSD's libusbhid, and they only matter on BSD. However, if you have the library on Linux, it gets pulled in as library bloat. And it's bloat of the highest order since not a single function call to the library is ever made unless you're on a *BSD.
|
|
a7e1fddd
|
2013-10-10T21:50:25
|
|
Updated SDL to version 2.0.1
|
|
b39a4daf
|
2013-10-03T10:28:10
|
|
SDL_TEXTINPUT support for EVDEV
|
|
9ceed73d
|
2013-09-28T13:28:19
|
|
Raspberry Pi support (also unified UDEV and EVDEV support)
|
|
13e67150
|
2013-08-20T20:27:42
|
|
Regenerate configure script.
|
|
2dd7091e
|
2013-08-20T19:57:11
|
|
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
|
|
0eeb76d8
|
2013-08-19T16:29:46
|
|
Fixes bug #2037, common EGL code for Android and X11
|
|
dad42067
|
2013-08-12T11:13:50
|
|
Fixes #2022, do not resume on Android when surfaceChanged
If the app is in landscape mode and the user presses the power button, a pause
is followed immediately by a surfaceChanged event because the lock screen
is shown in portrait mode. This triggers a "false" resume.
So, we just pause and resume following the onWindowFocusChanged events.
Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before
blocking the event pump.
|
|
1ad936eb
|
2013-08-11T19:56:43
|
|
Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow()
Rainer Deyke
I'm running Linux Mint 15 with the Cinnamon window manager. SDL_DestroyWindow consistently locks up for me when the window if fullscreen.
|