Commit Graph

1273 Commits

Author SHA1 Message Date
Thomas Keller
a3dd1c45f3 Handle partial incomplete and line-ending munging diffs (resolves issue 633). 2011-03-18 00:55:02 +01:00
Thomas Keller
be7725694e Let browsers properly render whitespace and expand the long line fix for unchanged and removed lines (fixes issue 623 again) 2011-03-17 23:23:28 +01:00
Thomas Keller
366d278182 Ignore "bad usage" error code in case git tag doesn't know of the --contains option. 2011-03-17 23:12:27 +01:00
Loïc d'Anterroches
5f008a14f5 ReFixed in an ugly way the non support of the git --contains option. 2011-03-17 09:28:43 +01:00
Loïc d'Anterroches
21a8c281ec Fixed in an ugly way the non support of the git --contains option. 2011-03-17 09:22:46 +01:00
Thomas Keller
51dde5766d Add a test case for issue 633. 2011-03-17 01:58:01 +01:00
Thomas Keller
61d7b4a58d Setup a basic PHPUnit test environment.
To run all available tests its enough to call

 $ phpunit

from the root workspace directory; the default phpunit configuration
resides in phpunit.xml. A bootstrap script sets some default paths
and can be extended later on with other useful stuff.

Each test class' path should mimic the name and path of the source
class, only that the test class gets an additional "Test" appended so
PHPUnit can find it automatically. The data directory can be used
in a flat manner; for tests that need test data a separate directory
containing these files should be added, and the directory should be
named after the test class itself.

The first test which uses the new infrastructure is a test for the
rewritten diff parser (closes issue 627).
2011-03-17 01:12:32 +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
Thomas Keller
6fb9b72e22 Use git tag --contains REV for the IDF_Scm::inTags() implementation.
This works similar to git branch --contains REV; additionally give the
revision id and not some possibly symbolic name to the inBranches()
call when we determine the branches a commit is in.
2011-03-16 23:03:36 +01:00
Thomas Keller
b75884c57e Use Pluf_SQL instead of raw SQL, the latter caused problems on installations with table prefixes. 2011-03-16 20:58:13 +01:00
Thomas Keller
603188f6ce For now the Chinese and Russian translations are far from being complete. 2011-03-16 10:07:24 +01:00
Thomas Keller
15442140cf Complete the NEWS with stuff from the tracker and format it as Markdown document. 2011-03-16 00:09:37 +01:00
Thomas Keller
9f877d4309 Merge branch 'release-1.1' of git://projects.ceondo.com/indefero into release-1.1 2011-03-15 22:58:23 +01:00
Thomas Keller
8631529268 Re-enable v1.0 URI compatibility wrt update feeds.
The additional filter token introduced 404's for bookmarked feeds;
now the old URLs are re-added and their actions forward the requests
to the new handlers.
Another small change removes a double assignment and puts the
"All Updates" link in the template on top to separate it clearly
from the other filters.

This commit closes issue 605.
2011-03-15 22:54:35 +01:00
Thomas Keller
96bc198b0f Added two more translators to AUTHORS and mark who is in charge for the
Czech translation.
2011-03-14 12:50:58 +01:00
Thomas Keller
146ffb5f4c Merge branch 'release-1.1' of projects.ceondo.com:indefero into release-1.1 2011-03-14 12:39:11 +01:00
Thomas Keller
867c3d3382 Start with a NEWS file and list the changes we've tracked so far since v1.0.
Left to do: Re-order by importance, write a short intro on top, continue with
the yet missing items from the tracker.
2011-03-14 01:21:42 +01:00
Thomas Keller
75b0f27fe2 Fix the transifex URL and re-wrap this section slightly. 2011-03-14 00:11:08 +01:00
Thomas Keller
4b001d8f03 Merge branch 'release-1.1' of git://projects.ceondo.com/indefero into release-1.1 2011-03-14 00:05:26 +01:00
Fernando Sayago Gil
a7bec96a80 Update spain translation 2011-03-13 17:43:16 +01:00
William MARTIN
a8706e38ca Update french translation 2011-03-13 17:40:48 +01:00
Thomas Keller
265fd41717 Make two translations a little shorter so they don't lead to a line wrap when printed in bold font. 2011-03-13 02:12:09 +01:00
Thomas Keller
67c23ffe24 The word was meant to be translated as noun, not as verb. 2011-03-13 02:10:18 +01:00
Thomas Keller
e9a09889e4 Sort the AUTHORS list alphabetically; spelling fixes. 2011-03-13 02:02:40 +01:00
William MARTIN
e6756a2072 Fix issue 633 : Unset variable ! 2011-03-11 14:27:37 +01:00
Thomas Keller
f4050b8a76 Merge branch 'develop' of projects.ceondo.com:indefero into release-1.1 2011-03-11 11:42:10 +01:00
William MARTIN
bb4fa7ca2f Fix issue 629 : Git commit view is missing the branch 2011-03-11 11:38:04 +01:00
William MARTIN
2648603f24 Update the Makefile
- po-pull merge transifex PO with local PO to quick fuzzy entry
- Add of po-stats
2011-03-10 14:17:39 +01:00
Thomas Keller
b7a9a1c8fd Update pot file with the recent changes and translate the fuzzies
in the German translation.
2011-03-10 10:22:43 +01:00
William MARTIN
d45566d692 Update language for French and Spain 2011-03-10 09:45:35 +01:00
Ciaran Gultnieks
4411086f29 First set of files with English text corrections (partially resolves
issue 631)
2011-03-10 09:23:01 +01:00
William MARTIN
0b3ce03036 Don't show an empty branch field in the commit view
It's a little hack for issue 629, but don't resolve it.
2011-03-09 22:09:32 +01:00
William MARTIN
027886737d Enable Spain and German in the supported language 2011-03-09 21:55:20 +01:00
William MARTIN
35f45015ea Update the spain translation, language is now supported at 100%
Thanks to Fernando Sayago Gil
2011-03-09 21:54:33 +01:00
Thomas Keller
618f412bed Retranslate a few fuzzies. 2011-03-09 14:38:47 +01:00
Thomas Keller
6ab9c754a5 Update the translations with the recent source and i18n changes from tx. 2011-03-09 13:57:06 +01:00
Thomas Keller
c59332c8f8 Mark the header string for translation. 2011-03-09 13:54:16 +01:00
Thomas Keller
32d9d04b4b Merge branch 'release-1.1' of projects.ceondo.com:indefero into develop 2011-03-09 13:51:36 +01:00
William MARTIN
62d0fb6eee Fix missing installation for IDF_EmailAddress in the database 2011-03-09 13:46:58 +01:00
Patrick Georgi
bc82ee24d8 Fix a MySQL-ism (closes issue 628) 2011-03-09 02:06:44 +01:00
Thomas Keller
6ab1f4a4f0 Fix some spelling mistakes (closes issue 441) 2011-03-09 02:06:27 +01:00
Patrick Georgi
3e6527bab3 Fix a MySQL-ism (closes issue 628) 2011-03-09 01:37:41 +01:00
Thomas Keller
9b7691c1ae Fix some spelling mistakes (closes issue 441) 2011-03-08 14:42:24 +01:00
William MARTIN
c3cd494386 Add Project List API 2011-03-07 15:01:51 +01:00
William MARTIN
fba5841bdc Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-03-04 15:18:21 +01:00
William MARTIN
da7fc3e7e3 Fix issue 623
File with only one big line can create a very large row table
2011-03-04 15:18:11 +01:00
Thomas Keller
00ebe1633c Merge branch 'develop' of git://projects.ceondo.com/indefero into develop 2011-03-03 23:44:10 +01:00
Thomas Keller
f63bfcb4f6 Raise PCRE's backtrack_limit for our regex callback usage to avoid
spurious errors on weird input (fixes issue 618).
2011-03-03 23:42:21 +01:00
Thomas Keller
177cf836b4 Stupid me, the condition needs to work on the count of the children, of course. 2011-03-03 23:41:56 +01:00