Sam Lantinga
|
0a4e6f6d29
Added SDL_strnlen() and SDL_wcsnlen()
|
2 years ago |
Sam Lantinga
|
f4bd17deee
Fixed %p formatting when there is following text
|
2 years ago |
Sam Lantinga
|
c63aa9545e
Fixed printf formatting for "%p" and added a unit test to check it
|
2 years ago |
Sam Lantinga
|
128ca70160
Added support for printing wide strings using "%ls" syntax
|
2 years ago |
Sam Lantinga
|
c9d8a04945
Added SDL_swprintf() and SDL_vswprintf()
|
2 years ago |
Anonymous Maarten
|
b6ae281e97
Use #ifdef/#ifndef instead of #if defined/#if \!defined
|
2 years ago |
Sylvain
|
c963f02571
More fix warnings about static function and prototype
|
2 years ago |
Anonymous Maarten
|
08bcee8570
test: don't use wiki urls for documentation comments
|
2 years ago |
Sam Lantinga
|
1c83c1fadd
Fixed build warnings in Xcode
|
2 years ago |
Sam Lantinga
|
2aa9569b3e
Replaced SDL_SIMDAlloc(), SDL_SIMDRealloc(), and SDL_SIMDFree() with SDL_aligned_alloc() and SDL_aligned_free()
|
2 years ago |
Sam Lantinga
|
38b138cd0a
Fixed rounding of floating point values in snprintf
|
2 years ago |
Sam Lantinga
|
ead4f122e4
Added basic support for %g snprintf format specifier
|
2 years ago |
Sam Lantinga
|
63724c113b
Removed the vi format comments from the source
|
2 years ago |
Pierre Wendling
|
3c501b963d
Clang-Tidy fixes (#6725)
|
2 years ago |
Sam Lantinga
|
5750bcb174
Update for SDL3 coding style (#6717)
|
2 years ago |
Sylvain Becker
|
6a2200823c
Cleanup add brace (#6545)
|
2 years ago |
Sam Lantinga
|
0a48abc860
Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>`
|
2 years ago |
Sam Lantinga
|
63f307fe1f
Remove SDL_config.h from the public headers
|
2 years ago |
Anonymous Maarten
|
274ec02581
testautomation: avoid format related warnings by using a few pragma's
|
2 years ago |
Sam Lantinga
|
c70ffc2a35
Added size_t format specifier test coverage for SDL_snprintf and SDL_sscanf
|
2 years ago |
Sam Lantinga
|
9065897514
Added test for digit count in sscanf, e.g. "%1x"
|
3 years ago |
Simon McVittie
|
d15f6e379c
test: Add a unit test for overflow detection
|
3 years ago |
Sam Lantinga
|
dc4c7d9539
Fixed infinite loop in SDL_vsnprintf() if the format string is too large for the output buffer
|
3 years ago |
Sam Lantinga
|
cdb4d8f22f
Added a test case for snprintf of 0.0
|
3 years ago |
Sam Lantinga
|
79b0aae86c
The return value of SDL_snprintf is the number of characters that would have been written.
|
3 years ago |
Ryan C. Gordon
|
70c8bd2481
Fixed a bunch of compiler warnings in the test code.
|
8 years ago |
Philipp Wiesemann
|
b524657118
Fixed three source comments in tests.
|
9 years ago |
Philipp Wiesemann
|
b5aa5b04d6
Added a simple test case for SDL_sscanf() to tests.
|
9 years ago |
David Ludwig
|
3dcb451f85
Added a README file regarding WinRT support
|
11 years ago |