SDL/src
Sam Lantinga 4f55271571 Removed temporary memory from the API
It was intended to make the API easier to use, but various automatic garbage collection all had flaws, and making the application periodically clean up temporary memory added cognitive load to using the API, and in many cases was it was difficult to restructure threaded code to handle this.

So, we're largely going back to the original system, where the API returns allocated results and you free them.

In addition, to solve the problems we originally wanted temporary memory for:
* Short strings with a finite count, like device names, get stored in a per-thread string pool.
* Events continue to use temporary memory internally, which is cleaned up on the next event processing cycle.
2024-07-26 20:59:14 -07:00
..
atomic atomic: Solaris needs the _nv variant of atomic_or_uint. 2024-06-27 23:50:31 -04:00
audio Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
camera Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
core Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
cpuinfo Renamed SDL_SIMDGetAlignment() to SDL_GetSIMDAlignment() 2024-05-16 10:22:15 -07:00
dialog Make SDL_URIToLocal available to multiple platforms 2024-07-20 12:39:18 -04:00
dynapi Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
events Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
file Fix UWP build in non-UNICODE mode 2024-07-19 10:21:34 +00:00
filesystem Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
haptic Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
hidapi Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 14:09:11 -07:00
joystick Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
libm Added SDL_isinf(), SDL_isinff(), SDL_isnan(), and SDL_isnanf() 2024-06-24 11:49:15 -07:00
loadso Fix UWP build in non-UNICODE mode 2024-07-19 10:21:34 +00:00
locale Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
main GDK build: move suspend/constrain setup back to previous compilation unit 2024-07-25 11:35:10 +03:00
misc
power Build with -Wfloat-conversion + fix all warnings 2024-06-03 21:33:29 +00:00
render Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
sensor Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
stdlib Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
storage Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
test Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
thread Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
time time/windows/SDL_systime.c: remove minwinbase.h & timezoneapi.h includes 2024-05-28 11:27:37 +03:00
timer Renamed SDL_PostSemaphore() to SDL_SignalSemphore() 2024-07-24 13:37:40 -07:00
video Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL.c Moved Android event initialization to SDL_InitEvents() 2024-07-25 09:25:00 -07:00
SDL_assert.c assert: SDL_AssertData::always_ignore should be an SDL_bool, not an int. 2024-04-09 00:50:01 -04:00
SDL_assert_c.h
SDL_error.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
SDL_error_c.h
SDL_guid.c Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_hashtable.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
SDL_hashtable.h Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
SDL_hints.c Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_hints_c.h Removed SDL_ClearHints() from the public API 2024-02-24 21:07:50 -08:00
SDL_internal.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_list.c Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
SDL_list.h
SDL_log.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
SDL_log_c.h
SDL_properties.c Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_properties_c.h Added SDL_DumpProperties() for internal debugging 2024-05-29 10:30:31 -07:00
SDL_utils.c Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_utils_c.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00