1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:17:35 +00:00
serenity/Userland/Libraries/LibPDF
Ben Wiederhake edc0cd29f8 LibPDF: Break weird dependency cycle
Old situation:
Object.h defines Object
Object.h defines ArrayObject
ArrayObject requires the definition of Object
ArrayObject requires the definition of Value
Value.h defines Value
Value requires the definition of Object

Therefore, a file with the single line "#include <Value.h>" used to
raise compilation errors; certainly not something that one might expect
from a library.

This patch splits up the definitions in Object.h to break the cycle.
Now, Object.h only defines Object, Value.h still only defines Value (and
includes Object.h), and the new header ObjectDerivatives.h defines
ArrayObject (and includes both Object.h and Value.h).
2021-09-20 17:39:36 +04:30
..
CMakeLists.txt LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
ColorSpace.cpp LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
ColorSpace.h LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
Command.h LibPDF: Convert to east-const to comply with the recent style changes 2021-06-12 22:45:01 +04:30
CommonNames.cpp LibPDF: Pre-initialize common FlyStrings in CommonNames.h 2021-05-25 00:24:09 +04:30
CommonNames.h LibPDF: Handle the gs graphical operator 2021-06-12 22:45:01 +04:30
Document.cpp LibPDF: Use move to avoid unnecessary ref/unref of network device RefPtr 2021-09-16 17:17:13 +02:00
Document.h LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
Filter.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
Filter.h LibPDF: Convert to east-const to comply with the recent style changes 2021-06-12 22:45:01 +04:30
Forward.h LibPDF: Add missing headers to Forward.h 2021-09-20 17:39:36 +04:30
Object.h LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
ObjectDerivatives.cpp LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
ObjectDerivatives.h LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
Parser.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
Parser.h LibPDF: Fix treating not finding the linearized dict as a fatal error 2021-07-16 20:44:10 +02:00
Reader.h LibPDF: Add missing headers to Reader.h 2021-09-20 17:39:36 +04:30
Renderer.cpp LibPDF: Convert to east-const to comply with the recent style changes 2021-06-12 22:45:01 +04:30
Renderer.h LibPDF: Convert to east-const to comply with the recent style changes 2021-06-12 22:45:01 +04:30
Value.cpp LibPDF: Switch to automatic ref counting, fix memory leak 2021-09-20 17:39:36 +04:30
Value.h LibPDF: Break weird dependency cycle 2021-09-20 17:39:36 +04:30
XRefTable.h LibPDF: Add missing headers to XRefTable.h 2021-09-20 17:39:36 +04:30