1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:57:34 +00:00
serenity/Userland
Rodrigo Tobar cb1a7cc721 LibPDF: Simplify outline construction
While the Outline Items making up the document's Outline have all sorts
of cross-references (parent, first/last chlid, next/previous sibling,
etc), not all documents out there have fully-consistent references. Our
implementation already discarded some of that information too (e.g.,
/Parent and /Prev were never read), and trusted that /First and /Next
were good enough to traverse the whole hierarchy.

Where the current implementation failed was in assuming that /Last was
also a good source of information. There are documents out there were
/Last also points to dead ends, and were therefore causing a crash when
we verified that the last child found on a chain was the /Last child
declared by the parent. To fix this I'm simply removing the check, and
simplifying the function call to remove any references to /Last. This
way we affirm our commitment to /First and /Next as the main sources of
information.
2022-12-16 01:24:43 -07:00
..
Applets LibCore: Rename Stream::read_all to read_until_eof 2022-12-12 14:16:42 +01:00
Applications PixelPaint: Disable bucket tool outside of the current selection 2022-12-16 08:10:33 +00:00
BuggieBox Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00
Demos VirGLDemo: Make a factory function for Demo and propagate errors 2022-12-15 12:35:19 +00:00
DevTools Kernel: Reintroduce the msyscall syscall as the annotate_mapping syscall 2022-12-16 01:02:00 -07:00
DynamicLoader AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Games LibFileSystemAccessClient: Rename try_save_file => 2022-12-14 18:26:25 +00:00
Libraries LibPDF: Simplify outline construction 2022-12-16 01:24:43 -07:00
Services LibCore: Use ';' to split socket path in SOCKET_TAKEOVER 2022-12-15 12:33:36 -05:00
Shell Shell: Disable interactive mode on '-c' 2022-12-12 13:57:06 +00:00
Utilities headless-browser: Remove option to specify a WebDriver FD-passing socket 2022-12-15 17:29:19 +00:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00