Commit Graph

1342 Commits

Author SHA1 Message Date
Thomas Keller
5b5705fe90 Add a unit test for monotone's basicio parser and compiler.
Also note a couple of quirks and be less strict (for now) when it
comes to hash parsing and stanza lines without values.
2011-03-23 00:26:26 +01:00
Thomas Keller
f08b5c5e3f Note syncmonotone.mdtext in INSTALL.mdtext 2011-03-20 14:19:53 +01:00
Thomas Keller
aa87acd432 Start 1.2 development. 2011-03-20 13:48:49 +01:00
Thomas Keller
7af7ef8357 Merge branch 'release-1.1' into develop 2011-03-20 13:46:45 +01:00
Thomas Keller
627bc4e45f Enter a release date and the proper version 2011-03-20 12:44:21 +01:00
Thomas Keller
909c76ebfb Note that together with issue 136 also issue 500 was fixed. 2011-03-20 01:10:48 +01:00
Thomas Keller
0899ba8515 Various smaller fixes to the Makefile.
- Rename the %_tarball targets to %-zipfile (which they actually are)
  and use a dash instead of an underscore for easier typing
- Use the short revision id in the file name (the file src/IDF/version.php
  contains the full ID)
- Improve the English for some descriptions and break long lines into
  the next line
2011-03-20 01:07:34 +01:00
Thomas Keller
b7c0b40491 Add basic source version tracking.
Indefero's version is now noted in src/IDF/version.php;
just before a release is made, the '-dev' is removed and
after the release is made, the version should be increased and
'-dev' should be added back to denote that the development
for the next version started.

The revision identifier is automatically set when an archive
is created and is based on the revision that the archive creator
gave to git-archive(1). If people follow development, we try to
get the current deployed version with git-log(1) and if that
fails as well, the revision is determined to be 'unknown'.
Version and revision are then rendered as HTML meta tags in
the header of each template. (All this is done by the new
{appversion} tag.)
2011-03-20 00:57:49 +01:00
Fernando Sayago Gil
48257ccfed Spanish translation updated. 2011-03-19 15:20:29 +01:00
William MARTIN
269949a65f French translation updated. 2011-03-19 15:20:00 +01:00
Thomas Keller
c2de7123e4 Order the author list alphabetically by first name (makes more sense).
Also add missing authors from git log and a couple of missing emails /
IDF usernames.
2011-03-19 00:19:04 +01:00
Thomas Keller
e0c6dcd5a4 Merge branch 'release-1.1' of projects.ceondo.com:indefero into release-1.1 2011-03-18 12:12:19 +01:00
Thomas Keller
734ddda363 Fix issue 618 by returning the input unaltered in case PCRE still fails
to evaluate it with the expanded backtrack limit.
2011-03-18 12:10:42 +01:00
Thomas Keller
02cd448f89 Issue 518 was actually a dupe of issue 469. 2011-03-18 03:05:35 +01:00
Matías Halles
5fc3a987de Mercurial log template and parseLog pattern modification.
Added a template for getting a controlled log; in parseLog, changed the regular
expression to match the pattern used in the template (fixes issues 507 and 508).
2011-03-18 02:47:08 +01:00
Dmitry Dulepov
be39d72d3c Fix XML parsing exceptions when revisions with empty log messages are parsed.
This fixes issue 518; Dmitry is added to AUTHORS.
2011-03-18 02:33:54 +01:00
Thomas Keller
045eb766f1 Improve the rendering of the prev / next links in the issue view and note the change in NEWS. 2011-03-18 02:14:22 +01:00
Thomas Keller
22d4bd0e6f Clarify a bugfix entry 2011-03-18 01:28:26 +01: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
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