1
I Use This!
Activity Not Available

Commits : Listings

Analyzed 6 months ago. based on code collected 6 months ago.
Mar 22, 2025 — Mar 22, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Added methods to extract patch text in an intermediate form. More... almost 17 years ago
The parser now returns some per-patch info such as the filename found in each patch's header. More... about 17 years ago
Moved all files into top-level directory. More... about 17 years ago
Fixed hang/crash when given input that appears to be a standard diff but has inconsistent indentation. This problem was also present in the unmodified patch code so I reported it to the FSF.
alamaison
as awl03
More... over 17 years ago
Added list of recognised patch-formate identifier strings.
alamaison
as awl03
More... over 17 years ago
Fixed two issues:
alamaison
as awl03
More... over 17 years ago
Made patch_parser.py import everything from _patch_parser so that it extends in seamlessly. In particular, the exceptions are now of the form patch_parser.Error instead of patch_parser._patch_parser.Error.
alamaison
as awl03
More... over 17 years ago
Any input that is not determined to be a patch-file will now cause an exception from the PatchFile contructor. This had no business trying to handle these exceptions. They are the caller's business.
alamaison
as awl03
More... over 17 years ago
Remove copy_file() and create_file. Appears to be dead code.
alamaison
as awl03
More... over 17 years ago
Removed error.c and error.h and they weren't used by any other part of the program.
alamaison
as awl03
More... over 17 years ago
Changed say() so that the way in which it deals with the strings it is passed is defined by the module's Python client and defaults to nothing.
alamaison
as awl03
More... over 17 years ago
Added missing test data to version control.
alamaison
as awl03
More... over 17 years ago
Removed calls to terminating memory_fatal(). Where possible this was converted to returning an error state. In other places, non-vital code which depended on memory_fatal(), such as quotearg, was removed entirely.
alamaison
as awl03
More... over 17 years ago
Changed remaining three direct calls to fatal() in pch.c into returning function calls.
alamaison
as awl03
More... over 17 years ago
Removed terminating malformed() function which is no longer used.
alamaison
as awl03
More... over 17 years ago
Catch error case where unified patch hunk header is missing final @@.
alamaison
as awl03
More... over 17 years ago
Catch error cases highlighted by Mozilla patch #87354
alamaison
as awl03
More... over 17 years ago
Catch error cases highlighted by Mozilla patch #20164.
alamaison
as awl03
More... over 17 years ago
Fix double-free bug when context patch with ommitted 'old' lines encounters a parse error in the new lines. The bug only manifests if another patch is then processed.
alamaison
as awl03
More... over 17 years ago
Catch cases with duplicate ---, +++ or *** header lines.
alamaison
as awl03
More... over 17 years ago
All output now goes to stderr. This makes it easier to filter it away by redirection when this library is used in another program which outputs to stdout. Eventually, this library should not produce *any* terminal output.
alamaison
as awl03
More... over 17 years ago
Remove call to fatal() when context diff dividing line is premature, overdue or duplicate. Highlighted by running on Mozilla Bugzilla database.
alamaison
as awl03
More... over 17 years ago
Remove call to malformed() when invalid character found in column 1 of a context diff. Highlighted by running on Mozilla Bugzilla database.
alamaison
as awl03
More... over 17 years ago
Many calls to fatal() and malformed() were highlighted when running over the contents of the Eclipse Bugzilla database. These have been changed to raise Python exceptions and unit tests written for each one.
alamaison
as awl03
More... over 17 years ago
Various stability fixes.
alamaison
as awl03
More... over 17 years ago
Replaced close() with fclose(). Stupid mistake.
alamaison
as awl03
More... over 17 years ago
Close file. We were forgetting to do this at all, ever. This was bad.
alamaison
as awl03
More... over 17 years ago
Catch error returned by fmemopen() and translate into a Python exception.
alamaison
as awl03
More... over 17 years ago
Changes to fix build on AMD64 architecture.
alamaison
as awl03
More... over 17 years ago
Brought up to date with latest from trunk.
alamaison
as awl03
More... over 17 years ago