1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00
serenity/Userland/Libraries
Itamar 402483ec1f LibCpp: Generalize ASTNode::dump() to support redirecting its output
Previously, ASTNode::dump() used outln() for output, which meant it
always wrote its output to stdout.

After this commit, ASTNode::dump() receives an 'output' argument (which
is stdout by default). This enables writing the output to somewhere
else.

This will be useful for testing the LibCpp Parser with the output of
ASTNode::dump.
2021-05-19 23:19:07 +02:00
..
LibArchive LibArchive: Move method implementations away from header 2021-05-17 18:14:05 +01:00
LibAudio LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibC Kernel: Generate page fault events from the kernel profiler 2021-05-19 22:51:42 +02:00
LibChess Chess: Fix signed/unsigned issues 2021-05-17 18:14:05 +01:00
LibCompress LibCompress: Discard GZip NAME & COMMENT optional strings 2021-05-18 08:09:21 +02:00
LibCore Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibCoreDump Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
LibCpp LibCpp: Generalize ASTNode::dump() to support redirecting its output 2021-05-19 23:19:07 +02:00
LibCrypt Everywhere: Add a blank line after copyright header where missing 2021-05-15 00:27:09 +01:00
LibCrypto LibCrypto: Use the new return-from-Variant::visit() mechanism 2021-05-19 22:45:34 +02:00
LibDebug Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibDesktop Userland: Add try_* IPC handlers 2021-05-03 21:14:40 +02:00
LibDiff LibDiff: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibDl Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibELF LibELF: Fix an integer overflow in Image::find_sorted_symbol 2021-05-17 14:58:13 +02:00
LibGemini AK+Userland: Remove nullability feature for the ByteBuffer type 2021-05-16 17:49:42 +02:00
LibGfx Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibGL LibGL: Implement all of glVertex{2,3,4}{d,dv,f,fv,i,iv,s,sv} 2021-05-19 23:18:13 +02:00
LibGUI Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibHTTP LibHTTP: Make sure we're not sending an empty path in requests 2021-05-17 21:28:00 +02:00
LibImageDecoderClient LibImageDecoderClient: Decoded images with 0 frames are not successful 2021-05-14 21:02:14 +02:00
LibIPC Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibJS LibJS: Implement Object.hasOwn() :^) 2021-05-18 11:18:19 +02:00
LibKeyboard LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibLine Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibM LibC: Add declarations for various C11 math functions 2021-05-09 15:35:01 +02:00
LibMarkdown LibMarkdown: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibPCIDB Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibPDF LibPDF/PDFViewer: Support rotated pages 2021-05-18 16:35:23 +02:00
LibProtocol Userland: Make IPC results with one return value available directly 2021-05-03 21:14:40 +02:00
LibPthread Everywhere: Fix a bunch of typos 2021-05-17 17:48:55 +01:00
LibRegex LibRegex: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibSQL Everywhere: Fix a bunch of typos 2021-05-17 17:48:55 +01:00
LibSymbolClient LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibSyntax LibSQL: Add a syntax highlighter 2021-05-09 09:39:05 +02:00
LibSystem Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LibTest LibJS+LibTest: Move out the test-js test runner into LibTest 2021-05-18 18:48:15 +01:00
LibTextCodec LibTextCodec: Use Optional<String> for get_standardized_encoding 2021-05-18 21:02:07 +02:00
LibThread LibThread: Port Lock to foreign environments 2021-05-14 22:24:02 +02:00
LibTLS LibTLS: Enable the RSA_WITH_AES_256_GCM_SHA384 cipher 2021-05-19 09:18:45 +02:00
LibTTF LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibVT LibVT: Correct color handling 2021-05-17 18:19:49 +02:00
LibWasm LibWasm: Make clang happy by removing an 'extra' set of parenthesis 2021-05-17 23:25:30 +02:00
LibWeb Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibWebSocket LibWebSocket: Fixed occasional infinite loop with TLS sockets 2021-05-18 08:07:56 +02:00
LibX86 LibX86: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
CMakeLists.txt LibPDF: Create basic object structure 2021-05-10 10:32:39 +02:00