1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00
ladybird/Userland
Timothy Flynn 04b4307b3d LibJS: Convert get_iterator_values helper to ThrowCompletionOr
This one is a bit unusual, so to clarify:

Previously, callers of get_iterator_values() would supply a callback
that would return an IterationDecision, and an enum to indicate whether
iterator_close() should be invoked upon IterationDecision::Break.

Now, use of both those enums is removed, and callers must return an
Optional<Completion>. If a Completion is provided, the iterator will be
closed, and that completion will be returned from get_iterator_values.
Otherwise, once the iterator is exhausted, a default-initialized
Completion will be returned.
2021-10-21 00:26:45 +01:00
..
Applets ResourceGraph: Use /proc/stat instead of /proc/all for CPU usage stats 2021-10-07 21:09:38 +02:00
Applications LibJS: Rename define_native_function => define_old_native_function 2021-10-20 12:27:19 +01:00
Demos LibGUI: Support drag-to-reorder in TabWidget 2021-10-07 12:19:27 +02:00
DevTools LibX86: Add SSE support 2021-10-17 13:06:23 -07:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games 2048: Let user decide if he wants to continue the game 2021-10-05 13:27:57 +03:30
Libraries LibJS: Convert get_iterator_values helper to ThrowCompletionOr 2021-10-21 00:26:45 +01:00
Services LoginServer: Mark this component as REQUIRED 2021-10-21 00:25:21 +02:00
Shell Shell: Raise an error if an execute node ends up trying to run nothing 2021-10-11 10:56:01 +03:30
Utilities Userland: Teach the file utility more about ELF files 2021-10-21 01:14:09 +02:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00