1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00
serenity/Userland/Libraries/LibDiff
Shannon Booth ef45221c21 LibDiff: Make parsing of unified hunks more robust
Parsing of the unified hunks now verifies that the expected number of
lines given by the unified location at the beginning of that hunk are
actually in that hunk. Furthermore, we no longer crash when given a
bogus unified range.

As a further benefit, this begins the scaffolding for a patch parser
which should assist us in parsing full patches - even when we are not
aware of the format that a patch has been written in.
2023-07-13 10:29:30 +01:00
..
CMakeLists.txt Everywhere: Explicitly link all binaries against the LibC target 2022-11-01 14:49:09 +00:00
Format.cpp LibDiff: Add a forwarding header 2023-07-06 13:22:37 +02:00
Format.h LibDiff: Add a forwarding header 2023-07-06 13:22:37 +02:00
Forward.h LibDiff: Make parsing of unified hunks more robust 2023-07-13 10:29:30 +01:00
Generator.cpp LibDiff: Add support for generating diffs with surrounding context 2023-07-02 11:18:11 -06:00
Generator.h LibDiff: Add support for generating diffs with surrounding context 2023-07-02 11:18:11 -06:00
Hunks.cpp LibDiff: Make parsing of unified hunks more robust 2023-07-13 10:29:30 +01:00
Hunks.h LibDiff: Make parsing of unified hunks more robust 2023-07-13 10:29:30 +01:00