Sebastian Lackner
b7777f405b
patchutils.py: Fix some spelling errors (thanks Amine Khaldi).
2015-02-22 20:03:51 +01:00
Sebastian Lackner
48a7480fc5
patchupdate.py: Implement 'IfDefined' patch property to autogenerate corresponding patch.
2014-12-14 06:03:05 +01:00
Sebastian Lackner
eadd577d84
patchutils.py: Implement algorithm to autogenerate #ifdef patches.
2014-12-14 04:30:05 +01:00
Sebastian Lackner
db0fd400e4
patchupdate.py: Various speed optimizations and improvements, removed several patches (accepted upstream).
2014-11-29 09:18:17 +01:00
Sebastian Lackner
cc5b91441d
patchutils.py: Add '--no-backup-if-mismatch' when calling 'patch' to avoid creating backups.
2014-11-18 04:15:56 +01:00
Sebastian Lackner
73da458bc5
patchutils.py: Another small fix to prefer the longest matching version string.
2014-11-15 13:13:05 +01:00
Sebastian Lackner
e12216c644
patchutils.py: Fix a bug in parsing version numbers, make parser less strict in some cases.
2014-11-15 12:53:30 +01:00
Sebastian Lackner
7a419c031a
Make definition files optional, move revision numbers to corresponding .patch files.
2014-11-15 10:33:43 +01:00
Sebastian Lackner
723bc23e50
patchupdate.py: Extract revision information directly from patch subject.
2014-11-15 10:01:12 +01:00
Sebastian Lackner
972842c50e
patchupdate.py: Use author information from patch files instead of definition file.
2014-11-15 06:35:26 +01:00
Sebastian Lackner
f66b06739e
patchutils.py: Speed improvement for hunk parsing (approximately by a factor of 2).
...
We don't need to keep the whole line in memory, the first character is sufficient.
Moreover, exception handling is faster in python than explicitly checking for None.
2014-11-04 06:49:35 +01:00
Sebastian Lackner
c45a17079d
Explicitly run patch scripts with python2 (since Archlinux has 3 installed by default).
2014-09-01 21:32:23 +02:00
Sebastian Lackner
368f765134
patchupdate.py: Ensure patch commandline utility never assumes reversed patches.
2014-08-08 00:00:32 +02:00
Sebastian Lackner
60632bb522
patchutils.py: Silence output of patch commandline utility.
2014-07-25 21:57:46 +02:00
Sebastian Lackner
6db9cf0e65
patchutils.py: Add license header, remove unnecessary variables.
2014-07-25 20:50:16 +02:00
Sebastian Lackner
e99ff32949
gitapply.sh: Add license, check for dependencies before proceeding, several smaller improvements.
2014-07-25 19:49:56 +02:00
Sebastian Lackner
e827cc078f
patchupdate.py: Improve patch system and remove dependencies, when the order of patches doesn't matter.
2014-07-25 16:39:08 +02:00
Sebastian Lackner
80e51dcad6
patchutils.py: Remove unused functions min_{source,dest}_size.
2014-07-25 04:03:28 +02:00
Sebastian Lackner
f69c6a545c
Use patchutils.py to parse patch files and split them into individual changes.
2014-07-25 03:32:01 +02:00