Sam Lantinga
bfcb08d569
Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
2013-07-10 02:32:04 -07:00
Gabriel Jacobo
4601ab6894
Removing video/uikit/*.c from configure's iOS sources
...
Unexplicable computer sciences phenomenon: Instead of returning an empty set,
*.c in an folder with no .c files produces the "*.c" string to be added as
a source. I'm sorry future generations, we are doing the best we can :)
2013-07-09 13:54:29 -03:00
Ryan C. Gordon
40e8b24572
Disable OSS and BSD audio targets on OpenBSD.
...
--HG--
extra : rebase_source : f724ffb3927c2331c888eba6f55b71d114269bf4
2013-07-08 13:26:59 -04:00
Sam Lantinga
c6348f33e7
Make sure that srcdir has a full pathname so source indexing works.
2013-07-08 09:21:54 -07:00
Ryan C. Gordon
bbe065f50f
Added an SDL2 OpenBSD sndio(7) audio target.
...
--HG--
extra : rebase_source : 5ad387265cff73c1635ca4f2c3635848ba722614
2013-07-07 02:03:07 -04:00
Sam Lantinga
5aa3492ef8
Fixed SDL building with the minimal configuration
2013-06-13 22:10:10 -07:00
Sam Lantinga
b7c62a83d9
Improved find_lib, gets the latest version of libpng, etc.
2013-06-07 21:47:23 -07:00
Ryan C. Gordon
bc5b08c0fd
Fixed build on newer Cygwin installs.
2013-06-05 00:42:39 -04:00
Azamat H. Hackimov
1732f61b81
Fix compilation with libX11 >= 1.5.99.902.
...
These changes fixes bug #1769 for SDL2
(http://bugzilla.libsdl.org/show_bug.cgi?id=1769 ).
2013-06-02 20:20:18 +06:00
Sam Lantinga
21512a77b7
Better mingw32-x64 linker flag fix, which doesn't require libtool patch
2013-05-26 22:16:42 -07:00
Sam Lantinga
1990b00614
Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64
2013-05-26 16:29:57 -07:00
Sam Lantinga
2b824bd331
Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems.
...
Updated Makefile.in so "make dist" includes everything necessary for release.
--HG--
rename : BUGS => BUGS.txt
rename : COPYING => COPYING.txt
rename : CREDITS => CREDITS.txt
rename : INSTALL => INSTALL.txt
rename : README.android => README-android.txt
rename : README.cmake => README-cmake.txt
rename : README.DirectFB => README-directfb.txt
rename : README.gesture => README-gesture.txt
rename : README.HG => README-hg.txt
rename : README.iOS => README-ios.txt
rename : README.MacOSX => README-macosx.txt
rename : README.pandora => README-pandora.txt
rename : README.Platforms => README-platforms.txt
rename : README.Porting => README-porting.txt
rename : README.psp => README-psp.txt
rename : README.touch => README-touch.txt
rename : README.WinCE => README-wince.txt
rename : README => README.txt
rename : TODO => TODO.txt
2013-05-26 11:06:17 -07:00
Sam Lantinga
adb0413171
Fixed bug Bug 1817 - Haiku uses wrong default install prefix
...
Axel Dörfler
Currently, the default install target for Haiku is /boot/develop/tools/gnupro. However, this is not the expected install place. Instead, /boot/common should be used.
2013-05-21 00:49:31 -07:00
Sam Lantinga
7ebe7ed128
Fixed bug 1829 - sdl2-config is not executable
...
leighmanthegreat@hotmail.com
I downloaded SDL2 from hg source.
I built to a ./build directory.
I downloaded SDL_image 2 hg and attempted to build.
When it cannot find a sdl2-config the SDL_image configure correctly suggests setting SDL_CONFIG variable.
Setting this the configure still fails with 'Permission denied' on the call to sdl2-config.
Setting execute permission solves the problem.
If possible, sdl2-config should have executable bit set when it is created.
2013-05-16 01:03:28 -07:00
Edward Rudd
907ac2687c
default clock_gettime use to enabled as there is now proper fallback code for systems that don't have it.
2013-05-02 21:23:38 -04:00
Sam Lantinga
7ce1b4475f
Fixed bug 1744 - DirectFB video and renderer API is not updated
...
tomaszewski.p
Recent changes in SDL_sysrenderer.h and SDL_sysvideo.h had no impact on directfb backend.
Attached patch:
- updates interface,
- resolves uninitialized variable reading,
- changes logging tio use SDL_Log API,
- updates configure to use DIRECTFBCONFIG variable instead direct call to directfb-config.
2013-03-09 10:35:12 -08:00
Shawn Walker
6398f00da7
Fix pulseaudio dynamic linking for Solaris builds.
...
Fix Solaris Studio compilation errors.
Fix sunaudio backend for SDL2.
2013-02-25 22:46:21 +00:00
Gabriel Jacobo
967e7efcc0
Adds some required CFLAGS and LDFLAGS for the iOS platform
2013-03-04 10:33:48 -03:00
Sam Lantinga
22f666c86c
Fixed compiling on older Linux systems without libudev
2013-02-24 12:55:51 -08:00
Sam Lantinga
a4a01c70db
Backed out use of @autorelease keyword for now, since it's not supported by older Xcode versions.
2013-02-11 17:40:09 -08:00
Sam Lantinga
9c258124d5
Use clang on Mac OS X, which is required for the @autorelease keyword
2013-02-03 14:03:49 -08:00
Ryan C. Gordon
fc98164d8d
Replaced Gnome screensaver hack with D-Bus messages to org.gnome.ScreenSaver.
2012-12-28 03:46:55 -05:00
Ryan C. Gordon
c8713a62c1
Updated Linux joystick code to support hotplug, GUIDs, etc.
...
This uses libudev for hotplug, but it's optional, so we'll just try to find
some reasonable defaults without it (maybe an older Linux box or under
FreeBSD's Linux emulation?).
2012-12-11 12:07:06 -05:00
Ryan C. Gordon
d935bb9d4d
Removed old Linux joystick API (/dev/js*).
...
The newer API (/dev/input/event/*) is 12+ years old at this point, and has
been available since Linux 2.4.
2012-12-11 11:07:48 -05:00
Sam Lantinga
59a04adfba
Work in progress on an SDL test library
2012-11-26 07:53:56 -08:00
Sam Lantinga
9bd6a89040
Added an API to get the size of a file - WARNING! ABI CHANGE!
2012-11-03 18:43:36 -07:00
Sam Lantinga
423c05313b
Make it possible to build a DLL with mingw that's ABI compatible with Visual C++ built applications
2012-10-20 00:14:58 -07:00
Sam Lantinga
ea15505815
Don't use the --no-undefined linker option yet, it doesn't build on OpenBSD and BeOS.
...
The OpenBSD case is puzzling - it's complaining about symbols in the C library. Do we need to explicitly link with -lc for shared libraries on OpenBSD?
The BeOS case is legitimate, it's calling back into the application code to initialize BeApp if it isn't already initialized.
2012-10-12 02:33:34 -07:00
Sam Lantinga
f89cf7c725
Use the --no-undefined linker option if it's available, which will catch references to undefined functions which could fail at runtime.
2012-10-11 15:05:00 -07:00
Sam Lantinga
31a077b87f
Fixed false positive when checking for X11 on Mac OS X when the X11 development environment isn't installed.
2012-09-20 22:01:51 -07:00
Sam Lantinga
cc76936aae
Changed the comment so it actually talks about the right instruction set.
2012-09-20 21:17:49 -07:00
Sam Lantinga
ad908fa0de
Fixed 3DNow! detection for clang llvm
2012-09-20 21:16:02 -07:00
Ryan C. Gordon
471e75729f
Fixed configure.in
2012-09-15 11:03:14 -04:00
Ryan C. Gordon
5c732d6324
Removed Windows CE support from SDL 2.0.
...
It's a long-dead platform, and we don't have any way to build for, test, or
maintain it, so there's no sense in doing acrobatics to support it.
If you need Windows CE support, use SDL 1.2. If you need Windows Phone support,
send SDL 2.0 patches for the newer Windows Mobile platform.
2012-09-15 10:59:39 -04:00
Ryan C. Gordon
dbb60b29c1
Removed AC_GNU_SOURCE from SDL2's configure script.
2012-08-26 20:27:25 -04:00
Ryan C. Gordon
60f62d3599
OpenBSD: Add missing X11 libraries to autoconf.
...
Fixes Bugzilla #1551 .
Thanks to Brad Smith for the patch!
2012-08-01 21:41:54 -04:00
Sam Lantinga
2bcad88c29
Fixed bug 1547 - Fix test(1) utilization within the autoconf script
...
Brad Smith 2012-07-19 11:39:09 PDT
I noticed this error from the OpenBSD/amd64 buildbot log..
../configure[15018]: test: -O2: unexpected operator/operand
The attached patch fixes the issue.
2012-07-20 12:57:25 -07:00
Ryan C. Gordon
abaa69bf81
Fixed pthread_np.h detection on OpenBSD.
2012-07-20 13:32:34 -04:00
Sam Lantinga
a00f1423be
Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD
...
Brad Smith 2012-07-18 13:43:34 PDT
autoconf patch to fix X dynamic loading of libraries on OpenBSD
2012-07-18 13:57:39 -07:00
Sam Lantinga
529470a6c5
Updated the generic event check to try to compile instead of just look for library runtime function (fixes compiling on older Mac OS X SDKs)
2012-07-18 10:47:41 -07:00
Gabriel Jacobo
e064340717
Fixes #1524 , improved xinput2 test
2012-06-21 14:01:47 -03:00
Sam Lantinga
b2b4372f55
Added command-line cross-compile support for iOS - Gabriel Jacobo will be adding iosbuild.sh and documentation for the process.
2012-06-19 12:29:53 -04:00
Gabriel Jacobo
a9dfd741a4
Actually functional, hopefully!, Xext test
2012-06-03 17:34:18 -03:00
Sam Lantinga
241a11738e
Better test for Xext headers
2012-06-01 20:06:48 -04:00
Gabriel Jacobo
5791b11bc4
Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers.
2012-06-01 19:42:15 -03:00
Dimitris Zenios
f39fe05937
1.Fixed a memory leak inside XInput2 code
...
2.Replaced XKeycodeToKeysym with XkbKeycodeToKeysym since XKeycodeToKeysym is deprecated in newer X11 version
3.Rewrote testime.c since it was disabled after SDL_compat.c removal
4.Take into account common arguments also in testrelative.c
2012-05-31 19:23:30 +03:00
Dimitris Zenios
497b8deec4
1.Moved all xinput2 functionality to its own file
...
2.Implement touch events using Xinput2.Leave evtouch as a fallback when xinput2 is not supported
2012-05-31 13:37:02 +03:00
Sam Lantinga
d558e90692
Fixed compile error with both new and old Xext headers (bug 1498)
2012-05-30 11:44:57 -04:00
Sam Lantinga
6accd81680
Initial support for XInput2 by Dimitris Zenios
...
1.initial work on XInput2 support
2.Implemented relative mouse motion when XInput2 is enabled
3.Created a test app to test relative mouse motion
4.Fixed Bug #1498
2012-05-30 11:25:35 -04:00
Sam Lantinga
93bd217847
Fixed bug 1429 - Compiling static library with -arch fails when linking showimage
...
We no longer need this ancient hack and it's causing problems when building shared libraries against SDL.
2012-02-28 21:58:36 -05:00