Commit Graph

48 Commits

Author SHA1 Message Date
Sam Lantinga
d77ab77a7a Updated copyright for 2017 2017-01-01 18:33:28 -08:00
Sam Lantinga
7c78a4b28d Fixed bug 1646 - Warnings from clang with -Weverything 2016-11-15 01:30:08 -08:00
Sam Lantinga
255c182471 Updated copyright to 2016 2016-01-02 10:10:34 -08:00
Sam Lantinga
78f2198e6c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
Sam Lantinga
0ae88759fb Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
Ryan C. Gordon
bbe5c7aaee Added SDL_GetAssertionHandler() and SDL_GetDefaultAssertionHandler(). 2014-02-04 11:38:40 -05:00
Sam Lantinga
dba255c1e5 Fixed bug 2374 - Update copyright for 2014...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
03d5719413 Make internal SDL sources include SDL_internal.h instead of SDL_config.h
The new header will include SDL_config.h, but allows for other global stuff.
2013-11-24 23:56:17 -05:00
David Ludwig
529fcd3ee3 WinRT: merged with SDL 2.0.1 codebase 2013-10-27 21:26:46 -04:00
Sam Lantinga
2451a67018 Fixed building using MinGW
Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
2013-10-17 23:02:29 -07:00
David Ludwig
373ffd0dac WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d6a8fa507a45) 2013-08-12 22:29:55 -04:00
Ryan C. Gordon
69e32dc7c4 Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :) 2013-08-07 11:00:44 -07:00
David Ludwig
db53df0697 WinRT: merged with latest, official, SDL 2.x code 2013-02-23 20:01:46 -05:00
Sam Lantinga
019c60c1e8 Happy New Year! 2013-02-15 08:47:44 -08:00
David Ludwig
1d8ca8fb11 WinRT: merged with the latest official SDL source 2012-12-16 22:02:01 -05:00
Ryan C. Gordon
37be4ddae6 SDL_assertion messages use "\n" instead of "\r\n" on non-Windows platforms. 2012-12-16 14:46:16 -05:00
David Ludwig
f67b2673ec WinRT: build fix for SDL_assert.c 2012-11-04 13:26:53 -05:00
Sam Lantinga
0040732a2a Switched assert system to use new message box functionality 2012-10-30 19:00:43 -07:00
Sam Lantinga
b3d60cfcbb Removed executable bit from source files 2012-09-27 14:35:28 -07:00
Ryan C. Gordon
b782955be2 SDL_ExitProcess() was ignoring exit code parameter. 2012-04-09 23:55:43 -04:00
Sam Lantinga
d4c4a98f59 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
2012-01-14 13:21:19 -05:00
Sam Lantinga
e256711bb9 Happy New Year! 2011-12-31 09:28:07 -05:00
Ryan C. Gordon
5054c0e57d Mac OS X: Fixed build when compiling without Cocoa support.
Thanks to Martin Gerhardy for the patch!
2011-11-06 17:05:48 -05:00
Ryan C. Gordon
6b540e88b1 Assert code's stdio interface was reading from the wrong variable.
Thanks to Frank Zago for the catch.
2011-06-03 16:03:10 -04:00
Ryan C. Gordon
1b953ac714 Removed assertion list terminator (just do it like a normal linked list). 2011-04-19 14:12:56 -04:00
Sam Lantinga
6196aa221e SDL 1.3 is now under the zlib license. 2011-04-08 13:03:26 -07:00
Sam Lantinga
a2cdcf5486 Happy 2011! :) 2011-02-11 22:37:15 -08:00
Sam Lantinga
01fa14dc42 Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
I think this also fixes the bug relating to non-latin characters in filenames, since UNICODE wasn't defined in SDL_rwops.c
2011-01-24 21:20:30 -08:00
Sam Lantinga
ec39fffe84 Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008 2011-01-24 15:46:11 -08:00
Sam Lantinga
577f62668f Fixed bug #929
Changed _WINDOWS to __WINDOWS__
2011-01-20 18:42:41 -08:00
Sam Lantinga
aea7e124a9 Fixed compiler warning about symbol redefinition 2011-01-16 17:47:52 -08:00
Sam Lantinga
c94b5b6866 Include windows.h in SDL_atomic.h by default, but don't include the atomic API in SDL.h
This allows all SDL code to take advantage of the atomic intrinsics on Windows, but doesn't cause applications just including SDL.h to pull in windows.h
2011-01-16 17:45:42 -08:00
Sam Lantinga
b90f3fea9c Mostly cleaned up warnings with -Wmissing-prototypes 2010-06-26 08:56:48 -07:00
Sam Lantinga
7052036491 Fixed bug #926
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
a4d89ea6c5 Fixed compilation on iPhone 2010-01-21 16:12:24 +00:00
Sam Lantinga
e0a31b4dbb Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance. 2010-01-21 06:21:52 +00:00
Sam Lantinga
cb028e3357 Fixed building under Visual Studio 2010-01-15 20:05:49 +00:00
Ryan C. Gordon
62b6ab68d0 Clean up assertion API for public use. 2010-01-13 19:29:33 +00:00
Ryan C. Gordon
f48b26ea6a Whoops, that should be vfprintf(), not fprintf(). :) 2010-01-13 16:58:24 +00:00
Ryan C. Gordon
6a3cbf3b30 Handle assert init/quit better.
Don't create a mutex unles we need to, only clean it up if we made it.
2010-01-13 16:08:03 +00:00
Ryan C. Gordon
9c333b1152 Handle assertion failures when SDL_Init() isn't called. 2010-01-13 09:44:17 +00:00
Ryan C. Gordon
91168bd712 Handle assertion failures during assertion handler. 2010-01-13 09:13:37 +00:00
Sam Lantinga
5676823dcf Leave fullscreen mode to pop an assertion dialog 2010-01-13 08:44:46 +00:00
Sam Lantinga
efb81e6b8c Assume _exit() is available. It may be, even if unix isn't defined.
If we really have to, we can add a configure check for it.
2010-01-13 08:30:34 +00:00
Sam Lantinga
056bd9865b Moved SDL_FUNCTION out so it's always available, and added SDL_FILE and SDL_LINE 2010-01-13 08:25:16 +00:00
Sam Lantinga
cbe33ba29a Fixed include ordering 2010-01-13 07:33:33 +00:00
Ryan C. Gordon
bb12640ed4 Fixed build problems with gcc __attribute__. 2010-01-13 07:00:20 +00:00
Sam Lantinga
5f76c6b2d5 First pass at Ryan's assertion code, minor tweaks to come. 2010-01-13 06:47:17 +00:00