Ryan C. Gordon
453b9b12f4
assert: Better Emscripten support.
...
(Better than nothing, that is.)
Fixes Bugzilla #3459 .
2017-05-19 14:51:03 -04:00
Ryan C. Gordon
056fecc8ee
assert: allow assertions to work on platforms without threads.
...
Partially fixes Bugzilla #3459 .
2017-05-19 12:54:17 -04:00
Sam Lantinga
1b24bfad38
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
f69c47aaea
Fixed bug 1646 - Warnings from clang with -Weverything
2016-11-15 01:30:08 -08:00
Sam Lantinga
7ee8dda270
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
56b58afdbe
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
a7d2ebb8d6
Integrated David Ludwig's support for Windows RT
2014-03-09 11:36:47 -07:00
Ryan C. Gordon
cd64be14c5
Added SDL_GetAssertionHandler() and SDL_GetDefaultAssertionHandler().
...
--HG--
extra : rebase_source : 46c4eb0b9b5aaf0f97ccf21036a0462a585b3ba8
2014-02-04 11:38:40 -05:00
Sam Lantinga
d7940a513e
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
82edee6971
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.
--HG--
extra : rebase_source : ddf4a4c0dc2c554b98c82700798f343cd91b16e3
2013-11-24 23:56:17 -05:00
David Ludwig
59df93166d
WinRT: merged with SDL 2.0.1 codebase
2013-10-27 21:26:46 -04:00
Sam Lantinga
a999af88e9
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
88461d442a
WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d6a8fa507a45)
...
--HG--
rename : README.iOS => README-ios.txt
2013-08-12 22:29:55 -04:00
Ryan C. Gordon
8c143ffe40
Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :)
2013-08-07 11:00:44 -07:00
David Ludwig
776ebe3bda
WinRT: merged with latest, official, SDL 2.x code
2013-02-23 20:01:46 -05:00
Sam Lantinga
95dcfa4c28
Happy New Year!
2013-02-15 08:47:44 -08:00
David Ludwig
643b3f0a30
WinRT: merged with the latest official SDL source
2012-12-16 22:02:01 -05:00
Ryan C. Gordon
ec4cfa8c73
SDL_assertion messages use "\n" instead of "\r\n" on non-Windows platforms.
2012-12-16 14:46:16 -05:00
David Ludwig
77dbd7ef65
WinRT: build fix for SDL_assert.c
2012-11-04 13:26:53 -05:00
Sam Lantinga
61980fd438
Switched assert system to use new message box functionality
2012-10-30 19:00:43 -07:00
Sam Lantinga
f380ecb137
Removed executable bit from source files
2012-09-27 14:35:28 -07:00
Ryan C. Gordon
d9a8305bda
SDL_ExitProcess() was ignoring exit code parameter.
2012-04-09 23:55:43 -04: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
028e5dcdbd
Happy New Year!
2011-12-31 09:28:07 -05:00
Ryan C. Gordon
a5bb3d3f60
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
590a060f3b
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
b94f23a46d
Removed assertion list terminator (just do it like a normal linked list).
2011-04-19 14:12:56 -04:00
Sam Lantinga
b0660ba5ff
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
e5803d148c
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
b4497865bd
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
--HG--
rename : src/SDL_android.cpp => src/core/android/SDL_android.cpp
rename : src/SDL_android.h => src/core/android/SDL_android.h
2011-01-24 21:20:30 -08:00
Sam Lantinga
10b8372bd3
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
2011-01-24 15:46:11 -08:00
Sam Lantinga
b5141783ba
Fixed bug #929
...
Changed _WINDOWS to __WINDOWS__
2011-01-20 18:42:41 -08:00
Sam Lantinga
264e590e65
Fixed compiler warning about symbol redefinition
2011-01-16 17:47:52 -08:00
Sam Lantinga
d428d9d5a1
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
95fbd50b15
Mostly cleaned up warnings with -Wmissing-prototypes
2010-06-26 08:56:48 -07:00
Sam Lantinga
4d3df8b3e3
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404453
2010-01-24 21:10:53 +00:00
Sam Lantinga
2bddc33611
Fixed compilation on iPhone
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404443
2010-01-21 16:12:24 +00:00
Sam Lantinga
a0e019f786
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404438
2010-01-21 06:21:52 +00:00
Sam Lantinga
91df94faa9
Fixed building under Visual Studio
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404422
2010-01-15 20:05:49 +00:00
Ryan C. Gordon
c9bab7f01e
Clean up assertion API for public use.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404421
2010-01-13 19:29:33 +00:00
Ryan C. Gordon
281945aa84
Whoops, that should be vfprintf(), not fprintf(). :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404420
2010-01-13 16:58:24 +00:00
Ryan C. Gordon
5c1ec528fa
Handle assert init/quit better.
...
Don't create a mutex unles we need to, only clean it up if we made it.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404415
2010-01-13 16:08:03 +00:00
Ryan C. Gordon
6bb89ae342
Handle assertion failures when SDL_Init() isn't called.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404413
2010-01-13 09:44:17 +00:00
Ryan C. Gordon
ca6027f7e7
Handle assertion failures during assertion handler.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404412
2010-01-13 09:13:37 +00:00
Sam Lantinga
fcf7ea92c7
Leave fullscreen mode to pop an assertion dialog
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404408
2010-01-13 08:44:46 +00:00
Sam Lantinga
126176c283
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.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404407
2010-01-13 08:30:34 +00:00
Sam Lantinga
89f83fd92e
Moved SDL_FUNCTION out so it's always available, and added SDL_FILE and SDL_LINE
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404406
2010-01-13 08:25:16 +00:00
Sam Lantinga
c5700af03a
Fixed include ordering
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404402
2010-01-13 07:33:33 +00:00
Ryan C. Gordon
0dcf321953
Fixed build problems with gcc __attribute__.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404399
2010-01-13 07:00:20 +00:00
Sam Lantinga
a8a1ac9acd
First pass at Ryan's assertion code, minor tweaks to come.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404398
2010-01-13 06:47:17 +00:00