Commit Graph

21 Commits

Author SHA1 Message Date
William MARTIN
5ea4b02205 Update copyrigt 2011-04-02 21:37:07 +02:00
Thomas Keller
4976c20935 Its validateRevision, not isValidRevision, here as well 2011-04-01 11:17:21 +02: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
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
31e81118dd Follow IDFs coding standards and tweak opening curly braces as well as
quoting where possible
2010-08-13 11:21:07 +02:00
Thomas Keller
780267978d basic test setup works; added tests for isAvailable(), getBranches(),
getTags(), inTags(), inBranches(), getTree() and isValidRevision()
2010-06-30 00:42:09 +02:00
Thomas Keller
0ad7f47885 first, incomplete version of a basic monotone test driver 2010-06-29 16:00:53 +02:00
Loic d'Anterroches
3c29e4e6ae Fixed to not use the assumption that the first line of a commit message set the encoding. 2010-03-26 19:57:18 +01:00
Loic d'Anterroches
a5f97c59d9 Fixed missing detection of ISO-8859-2 characters. 2010-03-26 14:53:43 +01:00
Loic d'Anterroches
7d6cb22291 Fixed to have a better character encoding detection of the git log. 2009-07-03 10:23:49 +02:00
Loic d'Anterroches
86da0c0eed Added a first version of the new SCM backend. 2009-04-21 14:13:44 +02: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
Loic d'Anterroches
00f3b08ec6 Started the work on issue 3, git synchronization. 2009-01-14 21:23:52 +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
380df7380b Fixed the regex to match the commit and the path. 2008-11-23 14:41:41 +01:00
Loic d'Anterroches
a643cbbc0c Fixed to use the new class name. 2008-11-23 14:35:39 +01:00
Loic d'Anterroches
366b73d27e Fixed issue 10, add mime type when downloading a file. 2008-08-05 12:44:56 +02:00
Loic d'Anterroches
d46ddea543 Added tests for the Git class and removed unused code. 2008-08-02 10:36:29 +02:00
Loic d'Anterroches
80ce87009e Added a better commit diff. 2008-08-01 00:38:29 +02:00
Loic d'Anterroches
efbd82fccb Initial commit. 2008-07-25 10:26:05 +02:00