Steven Stewart-Gallus
770fb6a160
Set the tag type in libtool invocations
...
Setting the tag type will let libtool work even when it cannot infer
the type of the code being built. One way libtool may fail to infer
the tag type is if one uses a mock compiler (such as for static
analysis).
2014-04-19 16:33:42 -07:00
Ryan C. Gordon
2b9a2802b2
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
...
--HG--
extra : rebase_source : c1fac232063443a2880e64f1abda85e0bdb2e710
2013-08-20 19:57:11 -04:00
Ryan C. Gordon
2740a12ae3
Backout hg changset 898992405fa7; lots of things still use SDL_types.h. :/
...
Will remove this again at some point in the future, though.
2013-07-09 11:57:32 -04:00
Ryan C. Gordon
7afed3e5ae
Removed deprecated SDL_types.h header.
...
Fixes Bugzilla #1945 .
2013-07-08 23:37:00 -04:00
Sam Lantinga
2f9f779e70
Renamed WhatsNew so it can be easily read on Windows
...
--HG--
rename : WhatsNew => WhatsNew.txt
2013-05-26 12:43:03 -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
70132c66ae
The input API was never implemented, so removing it before release.
2013-02-19 05:39:19 -08:00
Sam Lantinga
4d92d49a5f
Added native Debian package information
2013-02-15 14:56:08 -08:00
Jørgen P. Tjernø
f85aeb98c7
Don't clobber refcounting in SDL_Init.
...
- Fixes bug 1712 by not overwriting SDL_SubsystemRefCount in SDL_Init.
- Removes the SDL_initialized variable, and makes SDL_SubsystemRefCount
the canonical source of truth for whether or not a subsystem has been
initialized.
- Refactors SDL_InitSubSystem and SDL_QuitSubSystem to use helper
functions to manage refcount.
- Adds automated tests for SDL_Init/Quit*.
- Adds SDL_bits.h which contains SDL_MostSignificantBitIndex.
2013-02-12 11:47:31 -08:00
Sam Lantinga
175511b1a0
We don't have Visual CE support anymore
2013-01-13 14:31:53 -08:00
Sam Lantinga
34b88dfaae
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
2012-11-26 16:37:54 -08:00
Sam Lantinga
2a4a81ad63
Include all the test headers in the test library header install
2012-11-26 14:59:07 -08:00
Sam Lantinga
59a04adfba
Work in progress on an SDL test library
2012-11-26 07:53:56 -08:00
Sam Lantinga
a5012feba8
Needed to add SDL_messagebox.h to installed headers
2012-10-23 23:45:48 -07:00
Sam Lantinga
909cf0f0b4
Added SDL_system.h to the various projects
2012-06-23 06:46:06 -04:00
Sam Lantinga
5ef4144446
Removed the SDL 1.2 compatibility API... we'll see how painful this is.
2012-01-22 18:11:41 -05:00
Sam Lantinga
f84b2f8c6d
Removed unsupported Watcom files
2012-01-22 17:41:33 -05:00
Sam Lantinga
136979d3b5
Removed unsupported Borland related files
2012-01-22 17:32:50 -05:00
Sam Lantinga
d71e0546a9
Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
...
--HG--
rename : sdl-config.in => sdl2-config.in
rename : sdl.m4 => sdl2.m4
rename : sdl.pc.in => sdl2.pc.in
2012-01-22 17:21:00 -05:00
Sam Lantinga
5546f5ad65
Switched back to configure generating SDL_config.h
...
It was very confusing to have configure generate an SDL_config.h and then not have it be used when building on Mac OS X or Windows. I'll just have to remember to use SDL_config_windows.h when building official releases that are supposed to be ABI compatible with Visual Studio.
--HG--
rename : include/SDL_config_generated.h.in => include/SDL_config.h.in
2012-01-19 01:55:51 -05:00
Sam Lantinga
9033bb050f
Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility.
...
Make sure we don't clobber SDL_revision.h when building from Mercurial
--HG--
rename : include/SDL_config.h.in => include/SDL_config_generated.h.in
2012-01-14 13:21:19 -05:00
Sam Lantinga
b628aa46c5
Fixed bug 1366 - SDL_opengles2.h is not installed in "include/SDL" under Linux
2012-01-09 21:11:11 -05:00
Sam Lantinga
ec033a1da4
Updated iOS projects and renamed iPhoneOS to iOS
...
--HG--
rename : README.iphoneos => README.iOS
rename : Xcode-iPhoneOS/Demos/Default.png => Xcode-iOS/Demos/Default.png
rename : Xcode-iPhoneOS/Demos/DemosiPhoneOS.xcodeproj/project.pbxproj => Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj
rename : Xcode-iPhoneOS/Demos/Icon.png => Xcode-iOS/Demos/Icon.png
rename : Xcode-iPhoneOS/Demos/Info.plist => Xcode-iOS/Demos/Info.plist
rename : Xcode-iPhoneOS/Demos/README => Xcode-iOS/Demos/README
rename : Xcode-iPhoneOS/Demos/data/bitmapfont/kromasky_16x16.bmp => Xcode-iOS/Demos/data/bitmapfont/kromasky_16x16.bmp
rename : Xcode-iPhoneOS/Demos/data/bitmapfont/license.txt => Xcode-iOS/Demos/data/bitmapfont/license.txt
rename : Xcode-iPhoneOS/Demos/data/drums/ds_brush_snare.wav => Xcode-iOS/Demos/data/drums/ds_brush_snare.wav
rename : Xcode-iPhoneOS/Demos/data/drums/ds_china.wav => Xcode-iOS/Demos/data/drums/ds_china.wav
rename : Xcode-iPhoneOS/Demos/data/drums/ds_kick_big_amb.wav => Xcode-iOS/Demos/data/drums/ds_kick_big_amb.wav
rename : Xcode-iPhoneOS/Demos/data/drums/ds_loose_skin_mute.wav => Xcode-iOS/Demos/data/drums/ds_loose_skin_mute.wav
rename : Xcode-iPhoneOS/Demos/data/icon.bmp => Xcode-iOS/Demos/data/icon.bmp
rename : Xcode-iPhoneOS/Demos/data/ship.bmp => Xcode-iOS/Demos/data/ship.bmp
rename : Xcode-iPhoneOS/Demos/data/space.bmp => Xcode-iOS/Demos/data/space.bmp
rename : Xcode-iPhoneOS/Demos/data/stroke.bmp => Xcode-iOS/Demos/data/stroke.bmp
rename : Xcode-iPhoneOS/Demos/src/accelerometer.c => Xcode-iOS/Demos/src/accelerometer.c
rename : Xcode-iPhoneOS/Demos/src/common.c => Xcode-iOS/Demos/src/common.c
rename : Xcode-iPhoneOS/Demos/src/common.h => Xcode-iOS/Demos/src/common.h
rename : Xcode-iPhoneOS/Demos/src/fireworks.c => Xcode-iOS/Demos/src/fireworks.c
rename : Xcode-iPhoneOS/Demos/src/happy.c => Xcode-iOS/Demos/src/happy.c
rename : Xcode-iPhoneOS/Demos/src/keyboard.c => Xcode-iOS/Demos/src/keyboard.c
rename : Xcode-iPhoneOS/Demos/src/mixer.c => Xcode-iOS/Demos/src/mixer.c
rename : Xcode-iPhoneOS/Demos/src/rectangles.c => Xcode-iOS/Demos/src/rectangles.c
rename : Xcode-iPhoneOS/Demos/src/touch.c => Xcode-iOS/Demos/src/touch.c
rename : Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj => Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj
rename : Xcode-iPhoneOS/SDL/testsdl-Info.plist => Xcode-iOS/SDL/testsdl-Info.plist
rename : Xcode-iPhoneOS/Template/SDL iOS Application/Default.png => Xcode-iOS/Template/SDL iOS Application/Default.png
rename : Xcode-iPhoneOS/Template/SDL iOS Application/Icon.png => Xcode-iOS/Template/SDL iOS Application/Icon.png
rename : Xcode-iPhoneOS/Template/SDL iOS Application/Info.plist => Xcode-iOS/Template/SDL iOS Application/Info.plist
rename : Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns => Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
rename : Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist => Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
rename : Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj => Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj
rename : Xcode-iPhoneOS/Template/SDL iOS Application/main.c => Xcode-iOS/Template/SDL iOS Application/main.c
rename : Xcode-iPhoneOS/Test/Info.plist => Xcode-iOS/Test/Info.plist
rename : Xcode-iPhoneOS/Test/README => Xcode-iOS/Test/README
rename : Xcode-iPhoneOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj => Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj
2012-01-05 21:41:55 -05:00
Sam Lantinga
6f505f9608
Make it possible to run "make dist" from a separate build directory.
2011-03-15 23:26:22 -07:00
Sam Lantinga
65af7584bf
SDL 1.3 doesn't use nasm anymore. :)
2011-02-24 09:41:04 -08:00
Sam Lantinga
51b2e9f859
update-revision is still phony. :)
2011-02-18 11:23:25 -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
0f3966f2b0
Don't remove the pseudo-generated headers because this command might be run from the repo directory and it confuses people, especially if they have no way of regenerating SDL_revision.h :)
2011-02-17 18:55:56 -08:00
Sam Lantinga
5ab489f570
Fixed make install
2011-02-17 18:54:11 -08:00
Sam Lantinga
dc23c42ea9
The library target directly depends on SDL_revision.h
2011-02-16 14:38:49 -08:00
Sam Lantinga
7755315b2d
Fixed SDL_revision.h dependencies
2011-02-16 13:02:37 -08:00
Sam Lantinga
1eebb75596
Building SDL_revision.h is a dependency of installing the headers. :)
2011-02-16 02:55:32 -08:00
Sam Lantinga
e0bf2dc643
Made it possible to build SDL from a fresh checkout without any additional steps.
...
The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.
You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
--HG--
rename : include/SDL_config.h.default => include/SDL_config.h
2011-02-16 02:37:09 -08:00
Sam Lantinga
f582f9e58e
Added a simple log message API
2011-02-07 16:45:40 -08:00
Sam Lantinga
7f7bf51bdb
Added a hint system to allow configuration hints to be specified by the application.
2011-02-05 10:02:39 -08:00
Sam Lantinga
b231d0b93d
Split the rendering API out into a separate header file.
2011-02-01 15:02:21 -08:00
Sam Lantinga
df1f384c5b
Making the API simpler, scaling is always defined as linear interpolation and should be supported as much as possible on all renderers.
...
--HG--
extra : rebase_source : 4edac7fd162a2eb37a50159b958db37a03e944a5
2011-01-31 22:44: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
c4d74517e7
PS3 Linux is no more...
2011-01-19 22:25:40 -08:00
Sam Lantinga
baf0c99417
Include the Android Makefile in the distribution files
2011-01-10 12:15:16 -08:00
Sam Lantinga
35cc558917
Use the enumerated type for blend and scale mode instead of int
...
Renamed SDL_TextureScaleMode to SDL_ScaleMode
2010-12-12 15:19:05 -08:00
Sam Lantinga
7c463932c2
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
...
--HG--
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
2010-08-22 13:45:56 -07:00
Sam Lantinga
22a37911dd
Merged changes from the main SDL codebase
...
--HG--
rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
2010-07-12 21:09:23 -07:00
Jim Grandpre
99ed0692e1
Added some files I had previosuly missed
2010-07-11 01:15:39 -04:00
Sam Lantinga
316197f968
Need to add new headers to Makefile.in
2010-07-07 23:59:20 -07:00
Eli Gottlieb
ea29eee83c
Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
2010-06-30 16:19:44 -04:00
Jim Grandpre
9452f337e9
Added gesture test c file. Beginning of gesture recognition.
2010-06-14 01:44:04 -04:00
Eli Gottlieb
52ed282081
Added management and drawing functions for ellipses and polygons.
2010-06-03 14:43:38 -04:00
Eli Gottlieb
caf743a102
Moved the SDL_Eyes test program for shaped windows into the Hg repository and got it building and linking as a test.
2010-05-31 21:23:06 -04:00
Sam Lantinga
338f95eb06
Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API.
...
Plus, this lets me start implementing cursor support.
2010-05-09 20:47:22 -07:00