Sam Lantinga
af32a2f4cd
Updated copyright for 2019
2019-01-04 22:01:14 -08:00
Sam Lantinga
2ca16d7410
Added a dummy sensor driver
2018-08-21 13:29:21 -07:00
Ethan Lee
54ce812205
SDL_exp
2018-08-04 11:52:46 -04:00
Ethan Lee
8551a596fa
SDL_log10
2018-01-17 11:53:09 -05:00
Sam Lantinga
346af016a5
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
4d7a2db434
Added functions to query and set the SDL memory allocation functions:
...
SDL_GetMemoryFunctions()
SDL_SetMemoryFunctions()
SDL_GetNumAllocations()
2017-10-12 13:44:28 -07:00
Sam Lantinga
73a2b9ace8
Fixed bug 3760 - RWops doesn't check for integer overflow when stdio_fseek only supports 32 bits
...
Simon Hug
When RWops seeks with fseek or fseeko it uses the types long or off_t which can be 32 bits on some platforms. stdio_seek does not check if the 64-bit integer for the offset fits into a 32-bit integer. Offsets equal or larger than 2 GiB will have implementation-defined behavior and failure states would be very confusing to debug.
The attached patch adds range checking by using the macros from limits.h for long type and some bit shifting for off_t because POSIX couldn't be bothered to specify min and max macros.
It also defines HAVE_FSEEKI64 in SDL_config_windows.h so that the Windows function gets picked up automatically with the default config.
And there's an additional error message for when ftell fails.
2017-09-09 08:36:37 -07:00
Sam Lantinga
c1277f268e
Updated config headers to override the base SDL_config.h if both are included
2017-02-20 10:55:33 -08:00
Sam Lantinga
1b24bfad38
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
91e0a1d094
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -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
b3e4782510
Removed SDL_round() because the license wasn't compatible with zlib
2014-08-17 13:11:55 -07:00
Sam Lantinga
5acb7c63d1
Added SDL_round(), contributed by Benoit Pierre - thanks!
2014-08-16 23:23:15 -07:00
Sam Lantinga
276b7efecd
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
2014-06-07 18:20:01 -07: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
de59025dac
We don't need to check for snprintf() anymore, we don't use it.
...
SDL_snprintf() is built on vsnprintf() where available.
--HG--
extra : rebase_source : fef7988e29ab9293c7ae9ba3cff3f86c7e59e345
2013-11-24 23:36:15 -05:00
Ryan C. Gordon
3003efb88d
Added SDL_vsscanf().
...
--HG--
extra : rebase_source : 088d093790a7ed95d73c307523587e95c8356f4b
2013-11-24 23:35:38 -05: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
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Sam Lantinga
95dcfa4c28
Happy New Year!
2013-02-15 08:47:44 -08: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
028e5dcdbd
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
b0660ba5ff
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07: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
e5803d148c
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
b46edfbdc6
Hello Sam.
...
I did fix/update the SDL 1.3 pandora port today ( 11 june 2010 ) and you can find the "hg diff" attached :)
David Carré ( Cpasjuste )
2010-06-17 22:23:20 -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
803375d590
Allow configure to override assertion settings, but by default this comes from the build optimization level.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404405
2010-01-13 08:06:32 +00:00
Sam Lantinga
e50ab3b341
The config sets the default assertion level so people can override it for their own use in application code.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404400
2010-01-13 07:25:28 +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
Ryan C. Gordon
791f5dbce4
Implemented SDL_setenv(), moved SDL_putenv() to compat.
...
Fixes Bugzilla #779 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404330
2009-12-16 10:59:51 +00:00
Sam Lantinga
633d710201
CD-ROM support is so passé :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403773
2009-09-05 09:11:03 +00:00
Sam Lantinga
63be31556a
Added missing header file for Pandora support
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403648
2009-06-10 13:53:53 +00:00