1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00
serenity/Userland
Daniel Bertalan 7d11edbe17 Userland: Fix unnecessary heap allocation of singleton objects
In order to avoid having multiple instances, we were keeping a pointer
to these singleton objects and only allocating them when it was null.

We have `__cxa_guard_{acquire,release}` in the userland, so there's no
need to do this dance, as the compiler will ensure that the constructors
are only called once.
2022-01-28 23:31:00 +01:00
..
Applets Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
Applications CharacterMap: Move display name strings into the search results object 2022-01-28 15:26:58 +00:00
Demos Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
DevTools HackStudio: Fix path to language-server IPC socket 2022-01-28 13:17:54 +01:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games Snake: Add link to help pages in menu 2022-01-13 03:45:17 -08:00
Libraries Userland: Fix unnecessary heap allocation of singleton objects 2022-01-28 23:31:00 +01:00
Services Userland: Fix unnecessary heap allocation of singleton objects 2022-01-28 23:31:00 +01:00
Shell Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
Utilities date: Use an explicit time format string for default option 2022-01-28 20:19:05 +00:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00