Commit Graph

23 Commits

Author SHA1 Message Date
William MARTIN
5ea4b02205 Update copyrigt 2011-04-02 21:37:07 +02:00
Thomas Keller
5a7bf49cbb Well, I forgot the important stuff in the last commit, sigh. Fixes issue 633 for real now. 2011-03-18 01:05:25 +01:00
Thomas Keller
19b35565a2 Fix a notice about variable pass by reference 2011-03-17 01:10:59 +01:00
Patrick Georgi
baa88412b9 Rewrite the diff parser and reduce the memory footprint.
The diff parser code was rewritten for clarity and speed and now handles
a couple of ugly cornercases, like SVN's property change output and single
change chunks, much better. Since the path parsing was unified as well,
the SCM interface gained a new method `getPathStripLevel()` which determines
how many path components need to be shoven off a file name for the SCM
to form a valid path in the workspace (similar to patch(1)'s --strip option).
Fixes issue 627. Automated tests follow.
2011-03-16 23:50:41 +01:00
Patrick Georgi
336faa4503 Monotone's diff parsing conflicts with Subversion's - make sure we
do not let mtn recognize svn's underline that marks a new patch.
2011-01-30 00:14:35 +01:00
Thomas Keller
dffeb1f9d5 * move common file-specific functionality out of IDF_Views_Source into new
IDF_FileUtil and change all occurrences accordingly
* cache /etc/mime.types (or whatever is configured) per request in a static
variable in IDF_FileUtil
* always link directly to the download of attached files in the issues view
and place an additional "view" link only for those attachments which we
recognize as text with our weak criteria (closes issue 575)
2010-12-02 01:50:01 +01:00
Thomas Keller
4951498c0b Ignore pseudo diff stanzas which mention binary files. 2010-10-06 21:37:53 +00:00
Thomas Keller
7303e9dd58 return the correct file name for dropped files from monotone's diff output 2010-06-23 15:58:07 +02:00
Thomas Keller
15a2bd90b3 Add support for monotone's diff header 2010-05-01 00:56:48 +02:00
Loic d'Anterroches
838645463d Remove the PHP 5.3 deprecated split function. 2009-09-24 20:40:22 +02:00
Loic d'Anterroches
f028682900 Fixed issue 160, diff viewer in code reviews does not indent correctly. 2009-03-26 15:21:16 +01:00
Loic d'Anterroches
47f84bcb55 Fixed in a dirty way, should be improved. 2009-02-02 21:47:50 +01:00
Loic d'Anterroches
b7d1afb01e Fixed bug in the diff display when a single empty line was removed. 2009-02-02 21:42:31 +01:00
Loic d'Anterroches
d594b3412a Fixed issue 129, code review crashes on git diff files.
The diff parser tries now to skip the header and possible footer.
2009-02-02 20:55:45 +01:00
Julien Issler
c33b271519 Fixed issue 96, errors when parsing a Mercurial diff. 2008-12-30 18:21:04 +01:00
Loic d'Anterroches
f690968b11 Started ticket 39, add code review.
We now have a limited support of the code review. Still some work to be
done to allow the submission of new patches on a given review and update
the status. For the moment, only pre-commit review is supported.
2008-11-30 10:26:05 +01:00
Loic d'Anterroches
7ca43e0ec2 Updated the pretty print not to need extra <pre></pre>. 2008-11-15 21:23:29 +01:00
Nicolas Lassalle
5c32145e13 Added diff pretty print in the commit. 2008-11-15 21:10:37 +01:00
Loic d'Anterroches
9ac6e38e81 Added inline visualization of text files from the repository. 2008-11-11 22:32:01 +01:00
Nicolas LASSALLE
ccc41c86b0 Added support of subversion. 2008-08-29 19:50:10 +02:00
Loic d'Anterroches
4c5bd8d2be Fixed bug when looking at a commit which is a merge.
When you merge you do not get always a diff of files. This fix correct
that for the case of commit 9a2b8e249a.
2008-08-02 09:38:06 +02:00
Loic d'Anterroches
7d80632557 Added code indentation. 2008-08-01 00:50:44 +02:00
Loic d'Anterroches
80ce87009e Added a better commit diff. 2008-08-01 00:38:29 +02:00