summaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Version 2.7.6v2.7.6Andreas Gruenbacher2018-02-031-0/+7
| | | | * NEWS: Update.
* Version 2.7.5v2.7.5Andreas Gruenbacher2015-03-071-0/+6
| | | | * NEWS: Update.
* Upate NEWSv2.7.4Andreas Gruenbacher2015-01-311-2/+6
|
* Fix the fix for CVE-2015-1196v2.7.3Andreas Gruenbacher2015-01-221-1/+1
| | | | | | | | | * src/util.c (filename_is_safe): New function split off from name_is_valid(). (symlink_target_is_valid): Explain why we cannot have absolute symlinks or symlinks with ".." components for now. (move_file): Move absolute filename check here and explain. * tests/symlinks: Put test case with ".." symlink in comments for now. * NEWS: Add CVE number.
* Make sure symlinks don't point outside working directory (CVE-2015-119)Andreas Gruenbacher2015-01-191-0/+2
| | | | | | | | | | | When creating symlinks from git-style patches, make sure the symlinks don't point above the current working directory. Otherwise, a subsequent patch could use the symlink to write outside the working directory. * src/pch.c (symlink_target_is_valid): New function to check for valid symlink targets. * src/util.c (move_file): Use symlink_target_is_valid() here. * tests/symlinks: Add valid and invalid symlink test cases.
* Improve error message when refusing to delete fileAndreas Gruenbacher2014-08-131-0/+4
| | | | | * src/patch.c: Improve error message. * tests/create-delete: Update the test case.
* Preserve function names in reject filesSteven Rostedt2013-08-191-0/+2
| | | | | | | * src/patch.c (main): Preserve function names in reject files. * tests/reject-format: Update the test case. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
* Version 2.7.1v2.7.1Andreas Gruenbacher2012-09-281-0/+2
|
* Trailing whitespace fixAndreas Gruenbacher2012-09-281-1/+1
| | | | * NEWS: Trailing whitespace fix.
* Improve the previous commitAndreas Gruenbacher2012-09-261-2/+2
| | | | | | | | * src/patch.c: Only print the "file is not empty after patch" message when trying to delete the output file. Say that we were trying to delete the file. * tests/create-delete: Fix the expected messages. Add test cases for the --remove-empty-files and --posix options. * NEWS: Better describe this change.
* Only expect files to become empty if the patch says soAndreas Gruenbacher2012-09-251-0/+2
| | | | | | | Test cases based on patches from Dmitry V. Levin <ldv@altlinux.org>. * src/patch.c (main): Only expect files to become empty if the patch says so. * NEWS: Document this change. * tests/create-delete: Add (more) empty vs. non-empty test cases.
* Update NEWSAndreas Gruenbacher2012-09-221-0/+13
| | | | * NEWS: Update.
* Add note on GPLv3 license change in version 2.6Andreas Gruenbacher2012-09-131-0/+1
| | | | * NEWS: Add note.
* Version 2.7v2.7Andreas Gruenbacher2012-09-121-4/+6
| | | | * NEWS: Update.
* Support double-quoted filenames in all context diff formatsAndreas Gruenbacher2012-08-111-4/+4
| | | | | | | | * src/util.c (fetchname): Always recognize double-quoted filenames. * src/util.h (fetchname): Update prototype. * src/pch.c (intuit_diff_type): Update calls to fetchname(). * tests/quoted-filenames: Change to a normal unified diff. * NEWS: Update.
* Update NEWSAndreas Gruenbacher2012-04-171-14/+13
| | | | * NEWS: Update.
* maint: update all copyright year number rangesJim Meyering2012-01-011-2/+2
| | | | Run "make update-copyright".
* give a diagnostic rather than a failed assertion for a mangled patchJim Meyering2011-10-111-0/+1
| | | | | | | | | | * src/pch.c (another_hunk): Rather than asserting(C), issue the "replacement text or line numbers mangled ..." diagnostic when !C. * tests/mangled-numbers-abort: New test for the above. * tests/Makefile.am (TESTS): Add it. * NEWS: Mention it. Reported by Gabriel Vlasiu via Tim Waugh. See also http://bugzilla.redhat.com/738959
* maint: update copyright date year ranges to include 2011Jim Meyering2011-03-271-2/+2
| | | | | * bootstrap.conf (gnulib_modules): Add update-copyright. Run "make update-copyright".
* Ignore dangerous filenames instead of failing immediatelyAndreas Gruenbacher2011-02-161-1/+1
| | | | | | | | | | * src/pch.c (name_is_valid): New function. (intuit_diff_type, best_name): Use name_is_valid() here. (strip_leading_slashes): Remove name validation tests from here. * tests/bad-filenames: Add more tests for covering more of the file name guessing corner cases in intuit_diff_type(), update the existing tests. * NEWS: Update.
* doc: mention the fix for CVE-2010-4651Jim Meyering2011-02-031-0/+2
| | | | * NEWS: Mention the fix.
* Only recognize quited filename in the "diff --git" formatAndreas Gruenbacher2010-10-051-4/+5
| | | | | | | | * src/util.c: Add a maybe_quoted parameter to fetchname. * src/pch.c: Only recognize quited filename in the "diff --git" format, at least for now. * tests/quoted-filenames: Update accordingly. * NEWS: Update accordingly.
* Document that "diff --git" criss-cross renames don't workAndreas Gruenbacher2010-09-171-2/+5
| | | | | | * NEWS: Document that "diff --git" criss-cross renames are broken still. * tests/criss-cross: Test case currently expected to fail.
* * NEWS: Update.Andreas Gruenbacher2010-05-021-9/+15
| | | | | * gnulib: Update to latest. * bootstrap: Update from gnulib.
* Document the recent changesAndreas Gruenbacher2010-04-231-0/+10
| | | | | | * patch.man: Describe the fixed behavior of --set-time and --set-utc for timestamps that include time zones. * NEWS: Update.
* * NEWS: Version 2.6.1 released.v2.6.1Andreas Gruenbacher2009-12-301-0/+2
|
* * src/patch.c (longopts, get_some_switches): Add an optional argumentAndreas Gruenbacher2009-12-291-0/+5
| | | | | | | | | to the --merge option to choose the output formats for conflicts. * patch.man: Document the new optional argument of --merge. * src/merge.c (merge_hunk): Implement diff3-style conflicts. * src/common.h (conflict_style): This global variable determines the output format for conflicts. * tests/merge: Add test cases for the diff3 output format.
* Version 2.6 releasedv2.6Andreas Gruenbacher2009-11-131-0/+2
|
* The -m option hasn't been officially allocated yet; use only the long form ↵Andreas Gruenbacher2009-07-191-1/+1
| | | | for now (--merge)
* When the file to patch is specified on the command line, apply all patches ↵Andreas Gruenbacher2009-05-121-2/+6
| | | | to that file
* Change the default value of PATCH_GET to 0Vincent Legoll2009-05-121-0/+3
| | | | | | | | | | | | | Patch should default to not try to get files from revision control software unless actively asked by the user with the "-g" or "--get" command-line switches, or the PATCH_GET environment variable. Make the posixly correct behaviour of not using source control, the global patch default. I.e. default to "-g0". This is related to debian BTS bug: #200895 Please refer to that discussion for more background information and discussion.
* Update NEWSAndreas Gruenbacher2009-04-071-10/+8
|
* Phrase things a little betterAndreas Gruenbacher2009-04-061-2/+2
|
* Copyright notice updatesAndreas Gruenbacher2009-04-051-1/+1
|
* Revert (almost) to the original asymmetric hunk behavior and document thatAndreas Gruenbacher2009-04-051-9/+0
|
* If an asymmmetric hunk starts at a line > 1, it is not from the start of the ↵Andreas Gruenbacher2009-04-031-4/+5
| | | | file
* Update the NEWS fileAndreas Gruenbacher2009-04-031-2/+10
|
* Prepare for second alpha releaseAndreas Gruenbacher2009-03-291-8/+18
| | | | | Update NEWS. Packaging and various other minor fixes.
* When conforming to POSIX and no filename was given or found, askAndreas Gruenbacher2009-03-221-1/+2
|
* More NEWS.Andreas Gruenbacher2009-03-221-7/+10
|
* Prepare for first alpha releaseAndreas Gruenbacher2009-03-221-8/+30
| | | | | | Update NEWS. Don't make $(TESTS) a prerequisite of dist: this would run the tests. Add reminder for myself how to upload.
* Include patch headers in reject filesAndreas Gruenbacher2009-03-221-0/+1
| | | | This turns reject files into properly formatted patches.
* Add unified reject format and the --reject-format=FORMAT optionAndreas Gruenbacher2009-03-221-0/+8
|
* Various changes lumped togetherAndreas Gruenbacher2009-03-211-3/+3
| | | | (Imported from working tree by Andreas Gruenbacher)
* Import of patch-2.5.9.tar.gzv2.5.9Andreas Gruenbacher2009-03-171-3/+3
|
* Import of patch-2.5.8.tar.gzv2.5.8Andreas Gruenbacher2009-03-171-0/+2
|
* Import of patch-2.5.7.tar.gzv2.5.7Andreas Gruenbacher2009-03-171-5/+42
|
* Import of patch-2.5.3.tar.gzv2.5.3Andreas Gruenbacher2009-03-121-0/+25
|
* Import of patch-2.5.tar.gzv2.5Andreas Gruenbacher2009-03-121-2/+17
|
* Import of patch-2.4.tar.gzv2.4Andreas Gruenbacher2009-03-121-23/+49
|