Petar Popovic
|
93e3e8a5fe
SDL_InternalGlobDirectory(): keep track of pathlen and reuse it, instead of calling SDL_strlen(path)
|
vor 1 Monat |
Petar Popovic
|
961a04fa26
SDL_GlobDirectory(): Don't chop off first slash from path, if it's just multiple slashes
|
vor 1 Monat |
Sam Lantinga
|
5f086e7623
Updated copyright for 2026
|
vor 3 Monaten |
Sam Lantinga
|
25b2d2c821
Use new parameter validation macro
|
vor 7 Monaten |
Ryan C. Gordon
|
af1c05fd58
filesystem: Check SDL_GetPrefPath parameters at the higher level.
|
vor 9 Monaten |
Alexander Batalov
|
b3336c5a73
Match style
|
vor 1 Jahr |
Alexander Batalov
|
2b784b5bf6
Fix SDL_GlobDirectory
|
vor 1 Jahr |
John Alanbrook
|
14edb21aec
check for backslashes as well as the forward slash
|
vor 1 Jahr |
Ryan C. Gordon
|
87e1b0eb89
filesystem: SDL_EnumerateDirectory() gives dirs with path seperators appended.
|
vor 1 Jahr |
Ryan C. Gordon
|
84d35587ee
filesystem: SDL_SYS_EnumerateDirectory inexplicably takes the same arg twice.
|
vor 1 Jahr |
Sam Lantinga
|
f2074d7af3
Updated copyright for 2025
|
vor 1 Jahr |
Ryan C. Gordon
|
f852038384
filesystem: Added SDL_GetCurrentDirectory().
|
vor 1 Jahr |
Petar Popovic
|
cb0c7c9680
SDL_CreateDirectory(): directory tree creation for absolute paths for non-Windows platforms
|
vor 1 Jahr |
Ryan C. Gordon
|
6a7f8b74f1
filesystem: SDL_GlobDirectory shouldn't strip final '/' if the path is "/".
|
vor 1 Jahr |
Ryan C. Gordon
|
7d21a49c9c
filesystem: SDL_EnumerateDirectoryCallback uses an enum now, not an int.
|
vor 1 Jahr |
Ryan C. Gordon
|
428f2f35be
filesystem: SDL_CreateDirectory should make parent directories.
|
vor 1 Jahr |
Ryan C. Gordon
|
38f971bac5
filesystem: SDL_SYS_EnumerateDirectory() now returns bool.
|
vor 1 Jahr |
Sam Lantinga
|
a90ad3b0e2
Removed SDL_bool in favor of plain bool
|
vor 1 Jahr |
Sam Lantinga
|
37c9fb490e
Changed enums to use XXX_COUNT for the count or number of values
|
vor 1 Jahr |
Sam Lantinga
|
00c409cff8
Additional cleanup exposed by building with a C++ compiler
|
vor 1 Jahr |
Sam Lantinga
|
9ff3446f03
Use SDL_bool instead an int return code in the SDL API
|
vor 1 Jahr |
Sam Lantinga
|
8f546bb3c9
Use C99 bool internally in SDL
|
vor 1 Jahr |
Sam Lantinga
|
6501e90018
Use C++ style comments consistently in SDL source code
|
vor 1 Jahr |
Sam Lantinga
|
218e45247f
Fixed memory leak when SDL_Init() was called multiple times
|
vor 1 Jahr |
Sam Lantinga
|
4f55271571
Removed temporary memory from the API
|
vor 1 Jahr |
Sam Lantinga
|
033c9c5951
Added SDL_CopyFile() and SDL_CopyStorageFile()
|
vor 1 Jahr |
Sam Lantinga
|
bb96320cc4
Make sure we always copy the data returned using SDL_GetStringRule
|
vor 1 Jahr |
Sam Lantinga
|
94c40fb3c9
Fixed warning: no previous prototype for function 'SDL_InitFilesystem'
|
vor 1 Jahr |
Ryan C. Gordon
|
ed1f93cd11
filesystem: `SDL_Glob*Directory()` functions now follow the SDL_GetStringRule.
|
vor 1 Jahr |
Ryan C. Gordon
|
52bf7ff42d
filesystem: SDL_GetPrefPath() now follows the SDL_GetStringRule.
|
vor 1 Jahr |