Commit Graph

1325 Commits

Author SHA1 Message Date
Thomas Keller
6c9b6b5309 Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-11-02 09:53:12 +01:00
Thomas Keller
a7f283256a Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-11-02 09:45:13 +01:00
Thomas Keller
4506e1d2b5 Pulled the French translation work from Delkia and jpfleury. 2011-11-02 09:44:05 +01:00
William MARTIN
70f67e6bc6 Enhancement sort on issue summary view 2011-11-02 09:44:00 +01:00
Thomas Keller
c71ed2cecb Start with the archive upload functionality (sponsored by Scilab);
add a new view and plain form to upload an archive; rename the internal
URLs, handlers and templates from submit to create for single downloads
and also add a help section about the new format as well as a detailed
FAQ entry. Archive files get a bigger upload limit (default: 20MB).

Next up: archive uploading, validation and processing.
2011-11-02 00:15:33 +01:00
Thomas Keller
05816cb75a release-1.2 merged in 2011-11-01 01:16:58 +01:00
Thomas Keller
91b189b75f Relation verbs weren't properly translated as they should. 2011-11-01 01:15:23 +01:00
Thomas Keller
623c562054 Give the context area a little top padding which lets it look less attached to the upper window border when the page is scrolled and the element is fixed. 2011-11-01 00:58:13 +01:00
Thomas Keller
2a55024640 Clarify the usage of translated verbs a little. 2011-11-01 00:52:34 +01:00
Thomas Keller
8a9f8c66e8 A first stab at updating the German translation for 1.2. 2011-11-01 00:22:00 +01:00
Thomas Keller
81f433085a Limit the available render width for help texts a little and don't put them right below the previous form element. 2011-11-01 00:11:55 +01:00
Thomas Keller
6e59a0a526 Add Gert to AUTHORS 2011-10-31 23:21:44 +01:00
Gert van Valkenhoef
8397d86313 No longer fail to remove a non-existing post-update hook on repository
creation (fixes issue 752)
2011-10-31 23:19:57 +01:00
Thomas Keller
b0ac05b608 Slightly reordered 2011-10-31 23:16:42 +01:00
Thomas Keller
48c3989ae3 Updated POT file with new strings. 2011-10-31 01:19:12 +01:00
Thomas Keller
b949b7e83a Properly quote paths. 2011-10-31 00:46:12 +01:00
Thomas Keller
ad7fad9fbe Updated russian translation from transifex and added new,
yet unknown author of it to AUTHORS.
2011-10-31 00:29:40 +01:00
Thomas Keller
34fbf6ec5f Merge branch 'develop' into feature.scilab 2011-10-27 23:41:12 +02:00
Thomas Keller
d2db3b16d2 Fix issue 748. 2011-10-27 23:32:18 +02:00
Thomas Keller
ae11b1de4a split() is deprecated in php 5.3 2011-10-27 23:00:14 +02:00
Thomas Keller
6f620e3f54 Override the prettify css rules not only in the diff view, but in
the code views as well.
2011-10-20 17:29:16 +02:00
Thomas Keller
810b753edf Re-order the issue links so that "New Issue" goes to the very right
just before the search input field. Also rename "Open Issues" to
"All Issues" (since one can view both, open and closed issues under
this view, just like in every other issue list view we have) and
mark "All Issues" as active if we filter by label.
2011-10-10 22:32:08 +02:00
Thomas Keller
958fb1b9ad Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-10-10 20:56:03 +02:00
Thomas Keller
48992adefa Shuffle around a couple of NEWS entries, fix spelling and formatting
here and there.
2011-10-10 20:54:03 +02:00
Thomas Keller
d95e1e13e5 Merge branch 'feature.diff-whitespace' into develop 2011-10-10 15:44:20 +02:00
Thomas Keller
381dc5b8f7 Merge branch 'feature.diff-whitespace' into develop 2011-10-10 00:17:48 +02:00
Thomas Keller
464c1a8ef5 Fix / adapt the side-by-side review diff rendering. 2011-10-09 03:14:43 +02:00
Thomas Keller
e5b10a8494 Merge branch 'develop' into feature.diff-whitespace 2011-10-09 02:25:49 +02:00
Thomas Keller
ffc49b9ea6 Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-10-09 02:25:03 +02:00
Thomas Keller
0efc14dd6f The autocompleter for the issue relations feature broke the review view, do'h 2011-10-09 02:22:43 +02:00
Thomas Keller
4fb15ccb7d 6abd0b6f made problems in reviews, need to be reworked anyways in a few. 2011-10-09 02:13:49 +02:00
Thomas Keller
234b70845c Render the TAB char wider, so it is easier recognized as tab 2011-10-09 02:04:13 +02:00
Thomas Keller
6abd0b6faa - Move common static methods out of IDF_Diff and into IDF_FileUtil.
- Make stuff that should be private in IDF_Diff really private
  and comment out a test that was the only call path for a previously
  public method.
- Apply the whitespace emphasizing on the normal file view as well
  and get finally rid of padLine()
2011-10-09 01:54:51 +02:00
Thomas Keller
fef2bd15bf Merge branch 'develop' into feature.diff-whitespace 2011-10-09 01:54:05 +02:00
Thomas Keller
74d07d8fb8 Ignore a couple of file patterns more and sort the list for easier reading. 2011-10-09 01:53:37 +02:00
Thomas Keller
473e9153ed Merge branch 'develop' into feature.diff-whitespace 2011-10-09 01:40:59 +02:00
Thomas Keller
efa10c9afd Properly quote file names for the system call. 2011-10-09 01:39:05 +02:00
Thomas Keller
7438a2bf19 Improve the rendering of the control characters greatly by using
the Unicode counterparts in th 0x24## plane and add a little bit
of explanation what we are doing there and why we are doing this.
2011-10-09 00:55:42 +02:00
Thomas Keller
2e0995abac Fixed rendering in Firefox which did, unlike Chrome, not expand the last
row's height to fit the up-popping horizontal scrollbar, but all rows
just a little, so the heights did not match. I've reworked this to not
used the ill-advised rowspan any longer, but two separate tables whose
heights match each other now in both browsers.

Also I fixed a bug in the whitespace detection code - utf8 characters
where broken into single bytes, so apparently the [:print:] character
class does not accout for them, even in //u mode, so we're selecting
the characters that we want to make visible on our own (basically
control characters lower than space, I might add more).
2011-10-09 00:13:34 +02:00
Thomas Keller
c84afd0f78 Some git diffs (most likely octopus merges) start with diff --cc,
so we have to detect and stop log parsing when this occurs as well.
2011-10-09 00:08:16 +02:00
Thomas Keller
52383edfd0 Merge branch 'develop' of projects.ceondo.com:indefero into feature.scilab 2011-10-08 19:26:46 +02:00
Thomas Keller
b1276dff6c Merge branch 'develop' of projects.ceondo.com:indefero into feature.diff-whitespace 2011-10-08 19:25:08 +02:00
Thomas Keller
b413b7ee89 Improve the calculation part and reuse the values we have from the diff hunks. 2011-10-06 02:31:36 +02:00
Thomas Keller
f19f07ec59 Change the unidiff rendering by letting the actual content be rendered
into a separate container that can overflow and side-scroll for long lines.

This effectively removes the need for all kinds of line-breaking hacks
that have been applied before and only worked when the browser was
actually able to break a word group apart somewhere.

Lines are now always rendered as-is; as a nice side effect the line numbers
are always visible, independently how far one scrolled into one direction,
so the context is always clear. If the rendering area is made smaller, the
table rendering also degrades gracefully and provides horizontal scrolling
for views that did not need them before.

The size that is occupied by the number display is now also automatically
determined by the size that is needed to render the biggest line number
in a column. Empty columns are rendered with a zero size.

Currently all this works nicely with a recent version of Chrome, Firefox
still needs some fine tuning for the vertical positioning. Other browsers
are untested as of now.
2011-10-06 02:06:51 +02:00
Thomas Keller
83761c66c5 The left floating breaks the vertical alignment of the unprintable characters. Remove that workaround, which was introduced to wrap very long lines; it should be replaced by something smarter. 2011-10-06 00:00:07 +02:00
Thomas Keller
d0e2977746 Add support for line ending detection in our diff parser.
Line endings are now preserved during the diff parsing. When the diff
is then rendered later on, we replace non-printable characters by their
ordinal counterparts, so a user can easily grasp changes when a hunk
comes with edits that might be invisible at first.

The expected format for the diff test suite has changed from serialized
PHP to var_export, which is easier readable, editable and understandable,
while still keeping parsable as well.

Support for old Macintosh line endings could not be added, mainly because
modern SCMs do not support single \r in their unified diff output either
and working around and parsing these "lines" would have been a major
headache with not much outcome (given the fact that all Macs that have been
sold since 2001 or 2002 have been BSD-based and as such used Unix line
endings by default).

This commit fixes issue 636.
2011-10-05 02:44:04 +02:00
Thomas Keller
1be91e5a2a Do not split Hg's and git's log output into lines - this will make it
impossible for us to detect proper line endings later on.
2011-10-05 02:42:51 +02:00
William MARTIN
15d4d1aa7d Fix issue 713 : Wiki page have now a css for printer output 2011-10-04 22:45:51 +02:00
William MARTIN
708b90fccd Fix url /p/aaa/issues/status/open/ 2011-10-04 21:45:23 +02:00
William MARTIN
ac7a4c4aa5 Update NEWS 2011-10-04 21:29:11 +02:00