ladybird/Userland
Andreas Kling 131c3f50de LibJS: Add JS::SafeFunction, like Function but protects captures from GC
SafeFunction automatically registers its closure memory area in a place
where the JS garbage collector can find it.

This means that you can capture JS::Value and arbitrary pointers into
the GC heap in closures, as long as you're using a SafeFunction, and the
GC will not zap those values!

There's probably some performance impact from this, and there's a lot of
things that could be nicer/smarter about it, but let's build something
that ensures safety first, and we can worry about performance later. :^)
2022-09-24 12:23:29 +02:00
..
Applets Applets/ResourceGraph: Port to Core::Stream 2022-09-18 18:57:28 -07:00
Applications ClockSettings: Increase max visible items for time zone ComboBox 2022-09-22 21:37:26 +02:00
Demos Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
DevTools Profiler: Port to Core::Stream 2022-09-20 07:48:45 -04:00
DynamicLoader LibPthread: Implement named semaphores 2022-07-21 16:39:22 +02:00
Games MasterWord: Port to Core::Stream 2022-09-20 07:48:45 -04:00
Libraries LibJS: Add JS::SafeFunction, like Function but protects captures from GC 2022-09-24 12:23:29 +02:00
Services WindowServer: Fix mapping the correct framebuffer size 2022-09-23 14:04:00 +01:00
Shell Shell: Fix 'Command:' output for built-in 'time' command 2022-09-16 05:38:09 +00:00
Utilities headless-browser: Install EventLoop and Font plugins so it doesn't crash 2022-09-21 20:42:36 +01:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00