Ryan C. Gordon
1808d892fe
Don't warn about multichar characters on BeOS/Haiku.
...
The system headers use them generously.
(transplanted from 825e1072eac6c950ca4f6e879a91ea199a282b2c)
--HG--
extra : transplant_source : %82%5E%10r%EA%C6%C9P%CAOn%87%9A%91%EA%19%9A%28%2B%2C
2011-10-13 16:35:25 -04:00
Ryan C. Gordon
ca3232dcd1
Enable -Wall by default.
...
Fixes Bugzilla #1284 .
(But probably upsets buildbot. :) )
2011-10-11 22:04:51 -04:00
Ryan C. Gordon
0863dee582
1.3 API CHANGE: Add support for naming threads.
...
--HG--
extra : rebase_source : ae532d4b4d68ef86de0fc2cb6794a622e0841bce
2011-10-02 00:29:16 -04:00
Ryan C. Gordon
90ff13a669
Moved pthread spinlock check in with the rest of the pthread tests.
2011-09-21 03:08:00 -04:00
Ryan C. Gordon
0cbf1928f9
Fixed Win64 builds with MingW.
2011-09-11 03:35:46 -04:00
Ryan C. Gordon
caedc60d07
Removed legacy Mac OS X dlcompat code.
...
It was only needed for Mac OS X 10.0 through 10.2, so it seems silly to keep
it around for SDL 1.3.
I'll leave it in the 1.2 branch for now, though.
2011-09-09 00:34:48 -04:00
Ryan C. Gordon
b2540abd8e
Merged Mac OS X and iOS audio targets.
...
--HG--
rename : src/audio/macosx/SDL_coreaudio.c => src/audio/coreaudio/SDL_coreaudio.c
rename : src/audio/macosx/SDL_coreaudio.h => src/audio/coreaudio/SDL_coreaudio.h
2011-08-04 00:45:09 -04:00
Ryan C. Gordon
46bb3d8770
Implemented XAudio2 target for Windows (and Xbox360, theoretically!).
2011-08-04 01:07:09 -04:00
Ryan C. Gordon
6bd5c1b002
Reworked Windows waveOut code.
...
Implemented multi-device support, changed name to "winmm".
--HG--
rename : src/audio/windib/SDL_dibaudio.h => src/audio/winmm/SDL_winmm.h
2011-08-04 01:24:22 -04:00
Ryan C. Gordon
ac93bd6e55
Reworked Windows DirectSound code.
...
Now supports multiple devices, and uses DirectSound 8 instead of 5. Changed
name to "directsound" and renamed source directory.
--HG--
rename : src/audio/windx5/SDL_dx5audio.c => src/audio/directsound/SDL_directsound.c
rename : src/audio/windx5/SDL_dx5audio.h => src/audio/directsound/SDL_directsound.h
rename : src/audio/windx5/directx.h => src/audio/directsound/directx.h
2011-08-04 01:26:12 -04:00
Ryan C. Gordon
55419dbf19
Removed /dev/dsp DMA audio target.
2011-07-24 03:37:13 -07:00
Ryan C. Gordon
4b70200bf8
Work on systems without sa_sigaction.
2011-07-20 16:35:37 -07:00
Nathan Heisey
dfe639930e
Implemented pthread spinlocks.
2011-06-22 10:33:48 +00:00
Ryan C. Gordon
8b1cf3db98
Updated configure.in to be compatible with autoconf 2.67.
...
Still works with autoconf 2.61 (what ships with Xcode 3).
Thanks to Frank Zago for this patch.
2011-06-04 15:26:02 -04:00
Sam Lantinga
5c01c4797c
SDL 1.3 requires a 64-bit type for the platform.
2011-03-25 13:47:49 -07:00
Sam Lantinga
a9d41506c3
If we leave the default SDL_config.h in place, it'll override the one generated by configure when building from a different directory. Argh...
2011-03-12 13:28:56 -08:00
Sam Lantinga
0f3c139a87
We don't want to remove SDL_config.h since it's in source control now.
2011-03-11 14:24:35 -08:00
Sam Lantinga
3b97514dce
Added support for the Xcursor library for color cursors
2011-03-11 13:56:53 -08:00
Sam Lantinga
5137fef264
Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore.
2011-03-07 22:03:11 -08:00
Sam Lantinga
6053ae5234
OSF isn't supported anymore.
2011-02-28 09:09:13 -08:00
Sam Lantinga
303287a180
IRIX is not supported anymore. :)
2011-02-28 09:06:29 -08:00
Sam Lantinga
73b501d88c
Dynamically load the Xinerama and xf86vmode extensions
...
This fixes a few bugs with different distributions:
http://bugs.freedesktop.org/show_bug.cgi?id=17431
http://bugs.gentoo.org/show_bug.cgi?id=246177
2011-02-28 09:01:53 -08:00
Sam Lantinga
e4a0db291e
Re-added the 3DNow! and AltiVec instruction support.
2011-02-22 21:44:36 -08:00
Sam Lantinga
e81d8928b6
Added a better way to include build rules in the Makefile
...
Cleaned up dependencies on generating SDL_revision.h
Fixed 'make install' if you are not building from a Mercurial repository
2011-02-18 11:19:34 -08:00
Sam Lantinga
86ccb87283
Fixed bug #1064 (configure still has --enable-stdio-redirect option)
2011-02-16 03:59:39 -08:00
Sam Lantinga
0314fd4e0f
Updated CPU detection code for SSE3 and SSE4 and removed obsolete 3DNow! and Altivec support.
2011-02-11 14:51:04 -08:00
Sam Lantinga
7133afac5f
Made it possible to disable the rendering subsystem with configure --disable-render
2011-02-08 10:04:09 -08:00
Sam Lantinga
8f205278b1
It's now possible to disable the fast atomic operations, at a huge performance penalty.
2011-02-07 22:57:33 -08:00
Sam Lantinga
8b3eb38df2
Updated the DirectFB support, from Couriersud
...
attached is a working directfb driver diff which works with the current
changes. There are a number of changes around it as well, e.g.
configure.in.
The directfb renderdriver right now still depends on a some "includes"
from src/video/directfb. That's why it is not yet moved to the new
render folder.
2011-02-05 16:07:10 -08:00
Sam Lantinga
31f1dceb0c
Removed a bunch of X11 support that we no longer need.
2011-02-04 19:18:08 -08:00
Sam Lantinga
5897ef7d95
Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
...
--HG--
rename : src/video/windows/SDL_d3drender.c => src/render/direct3d/SDL_d3drender.c
rename : src/video/SDL_renderer_gl.c => src/render/opengl/SDL_renderer_gl.c
rename : src/video/SDL_renderer_gles.c => src/render/opengles/SDL_renderer_gles.c
rename : src/video/SDL_renderer_sw.c => src/render/software/SDL_renderer_sw.c
2011-02-02 14:34:54 -08:00
Sam Lantinga
a47948aab0
Nobody is currently maintaining the QNX code, so removing it for now.
2011-02-01 21:40:03 -08:00
Sam Lantinga
372693d86f
Removed more partially functional renderers
...
--HG--
extra : rebase_source : d00f0590e133604070f978762a6728b4afde02ca
2011-01-31 22:53:45 -08:00
Sam Lantinga
9c12618379
Removed partially functional renderers
...
--HG--
extra : rebase_source : 3fc2560c02393bf9e7c46360fc24f2585c9409be
2011-01-31 22:21:29 -08:00
Sam Lantinga
be54c8a0d5
This patch fixes the issue of configure generating broken Makefile
...
when .cc files are used due to bad sed substitution on multiple passes:
$(objects)/SDL_BeApp.lo:
$(objects)/SDL_BeApp.lo: ./src/main/beos/SDL_BeApp.c
$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $@c
$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $@
Signed-off-by: François Revol
2011-01-27 14:54:20 -08:00
Sam Lantinga
d06966d7f2
Nobody is maintaining RISC OS code, so I'm removing it for now.
2011-01-27 00:06:36 -08:00
Sam Lantinga
29e0bf97e0
Improvements based on feedback from Anthony Williams
2011-01-25 17:40:06 -08:00
Sam Lantinga
7327ef6bb9
Fixed cross-compiling for Windows
2011-01-24 21:41:36 -08:00
Sam Lantinga
daecbfdc17
HAVE_GCC_ATOMICS covers the test and set
2011-01-21 21:45:55 -08:00
Sam Lantinga
2c31531800
Separated out the minimum functionality that we need from gcc for our spinlock fallback.
2011-01-21 21:42:04 -08:00
Sam Lantinga
68afef61c9
Fixed atomic intrinsic test
2011-01-21 21:35:43 -08:00
Sam Lantinga
a03da6f07a
Fixed bug #945
...
The configure script was breaking the substitutions into multiple fragments, breaking them across the substitution for the build rules. This of course totally hosed the process.
I switched to using a more modern usage of AC_OUTPUT and added a post-process step that appends the build rules to the Makefile.
2011-01-21 12:43:25 -08:00
Sam Lantinga
9d25ba272a
Fixed bug #925
...
Changed "win32" to "windows"
--HG--
rename : include/SDL_config_win32.h => include/SDL_config_windows.h
rename : src/events/scancodes_win32.h => src/events/scancodes_windows.h
rename : src/haptic/win32/SDL_syshaptic.c => src/haptic/windows/SDL_syshaptic.c
rename : src/joystick/win32/SDL_dxjoystick.c => src/joystick/windows/SDL_dxjoystick.c
rename : src/joystick/win32/SDL_dxjoystick_c.h => src/joystick/windows/SDL_dxjoystick_c.h
rename : src/joystick/win32/SDL_mmjoystick.c => src/joystick/windows/SDL_mmjoystick.c
rename : src/loadso/win32/SDL_sysloadso.c => src/loadso/windows/SDL_sysloadso.c
rename : src/main/win32/SDL_win32_main.c => src/main/windows/SDL_windows_main.c
rename : src/main/win32/version.rc => src/main/windows/version.rc
rename : src/thread/win32/SDL_sysmutex.c => src/thread/windows/SDL_sysmutex.c
rename : src/thread/win32/SDL_syssem.c => src/thread/windows/SDL_syssem.c
rename : src/thread/win32/SDL_systhread.c => src/thread/windows/SDL_systhread.c
rename : src/thread/win32/SDL_systhread_c.h => src/thread/windows/SDL_systhread_c.h
rename : src/thread/win32/win_ce_semaphore.c => src/thread/windows/win_ce_semaphore.c
rename : src/thread/win32/win_ce_semaphore.h => src/thread/windows/win_ce_semaphore.h
rename : src/timer/win32/SDL_systimer.c => src/timer/windows/SDL_systimer.c
rename : src/video/win32/SDL_ceddrawrender.c => src/video/windows/SDL_ceddrawrender.c
rename : src/video/win32/SDL_ceddrawrender.h => src/video/windows/SDL_ceddrawrender.h
rename : src/video/win32/SDL_d3drender.c => src/video/windows/SDL_d3drender.c
rename : src/video/win32/SDL_d3drender.h => src/video/windows/SDL_d3drender.h
rename : src/video/win32/SDL_gapirender.c => src/video/windows/SDL_gapirender.c
rename : src/video/win32/SDL_gapirender.h => src/video/windows/SDL_gapirender.h
rename : src/video/win32/SDL_gapirender_c.h => src/video/windows/SDL_gapirender_c.h
rename : src/video/win32/SDL_gdirender.c => src/video/windows/SDL_gdirender.c
rename : src/video/win32/SDL_gdirender.h => src/video/windows/SDL_gdirender.h
rename : src/video/win32/SDL_msctf.h => src/video/windows/SDL_msctf.h
rename : src/video/win32/SDL_vkeys.h => src/video/windows/SDL_vkeys.h
rename : src/video/win32/SDL_win32clipboard.c => src/video/windows/SDL_windowsclipboard.c
rename : src/video/win32/SDL_win32clipboard.h => src/video/windows/SDL_windowsclipboard.h
rename : src/video/win32/SDL_win32events.c => src/video/windows/SDL_windowsevents.c
rename : src/video/win32/SDL_win32events.h => src/video/windows/SDL_windowsevents.h
rename : src/video/win32/SDL_win32gamma.c => src/video/windows/SDL_windowsgamma.c
rename : src/video/win32/SDL_win32gamma.h => src/video/windows/SDL_windowsgamma.h
rename : src/video/win32/SDL_win32keyboard.c => src/video/windows/SDL_windowskeyboard.c
rename : src/video/win32/SDL_win32keyboard.h => src/video/windows/SDL_windowskeyboard.h
rename : src/video/win32/SDL_win32modes.c => src/video/windows/SDL_windowsmodes.c
rename : src/video/win32/SDL_win32modes.h => src/video/windows/SDL_windowsmodes.h
rename : src/video/win32/SDL_win32mouse.c => src/video/windows/SDL_windowsmouse.c
rename : src/video/win32/SDL_win32mouse.h => src/video/windows/SDL_windowsmouse.h
rename : src/video/win32/SDL_win32opengl.c => src/video/windows/SDL_windowsopengl.c
rename : src/video/win32/SDL_win32opengl.h => src/video/windows/SDL_windowsopengl.h
rename : src/video/win32/SDL_win32shape.c => src/video/windows/SDL_windowsshape.c
rename : src/video/win32/SDL_win32shape.h => src/video/windows/SDL_windowsshape.h
rename : src/video/win32/SDL_win32video.c => src/video/windows/SDL_windowsvideo.c
rename : src/video/win32/SDL_win32video.h => src/video/windows/SDL_windowsvideo.h
rename : src/video/win32/SDL_win32window.c => src/video/windows/SDL_windowswindow.c
rename : src/video/win32/SDL_win32window.h => src/video/windows/SDL_windowswindow.h
rename : src/video/win32/wmmsg.h => src/video/windows/wmmsg.h
2011-01-20 18:04:05 -08:00
Sam Lantinga
6642f38cf1
SDL doesn't depend on GLU, and overwhelming feedback from the mailing list is that people don't want it included in SDL_opengl.h
2011-01-19 22:55:51 -08:00
Sam Lantinga
c4d74517e7
PS3 Linux is no more...
2011-01-19 22:25:40 -08:00
Sam Lantinga
008911fd8a
Nobody has stepped up to maintain an svgalib driver. Bye bye! :)
2011-01-19 22:21:31 -08:00
Sam Lantinga
90a214c4e9
Nobody has stepped up to maintain a framebuffer console driver. Bye bye! :)
2011-01-19 22:18:45 -08:00
Sam Lantinga
f69bce6999
Fixed using the native iconv library
2011-01-19 15:28:01 -08:00
Sam Lantinga
7c85ff217e
Fixed test for libiconv
2011-01-19 15:02:11 -08:00
Sam Lantinga
7c00f79cb1
Greg Jandl to SDL
...
I *think* the patch below works correctly: sdl-config gets the -march
flag and SDL builds fine. Perhaps there's a better way to get the
-march flag into both CFLAGS and SDL_FLAGS w/o dragging along more
cruft, but adding it to BASE_CFLAGS seemed the best bet to my eyes.
2011-01-19 00:07:43 -08:00