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
4e9aab5884
Added SDL_fmod() and SDL_fmodf()
2017-11-04 17:35:03 -07: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
924207a299
Hook up SDL_acos and SDL_asin properly.
2013-12-09 15:17:20 -05:00
Gabriel Jacobo
298ce1c1a7
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
271e0d67c4
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03: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
Gabriel Jacobo
5e78879e76
More non C89 compliant comments
2013-08-20 20:34:40 -03:00
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Philipp Wiesemann
f06595200f
Corrected comment in header file.
2013-04-27 13:42:56 +02:00
Captain Lex
47dac69dc7
Add PSP support
2013-03-17 20:07:02 +08:00