Indefero

Indefero Git Change Log

Age Message
1 year 8 months Fix / adapt the side-by-side review diff rendering.
1 year 8 months Merge branch 'develop' into feature.diff-whitespace
1 year 8 months Merge branch 'develop' of projects.ceondo.com:indefero into develop
1 year 8 months The autocompleter for the issue relations feature broke the review view, do'h
1 year 8 months 6abd0b6f made problems in reviews, need to be reworked anyways in a few.
1 year 8 months Render the TAB char wider, so it is easier recognized as tab
1 year 8 months - 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()
1 year 8 months Merge branch 'develop' into feature.diff-whitespace
1 year 8 months Ignore a couple of file patterns more and sort the list for easier reading.
1 year 8 months Merge branch 'develop' into feature.diff-whitespace
1 year 8 months Properly quote file names for the system call.
1 year 8 months 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.
1 year 8 months 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).
1 year 8 months 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.
1 year 8 months Merge branch 'develop' of projects.ceondo.com:indefero into feature.diff-whitespace
1 year 8 months Improve the calculation part and reuse the values we have from the diff hunks.
1 year 8 months 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.
1 year 8 months 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.
1 year 8 months 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.
1 year 8 months 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.
1 year 8 months Fix issue 713 : Wiki page have now a css for printer output
1 year 8 months Fix url /p/aaa/issues/status/open/
1 year 8 months Update NEWS
1 year 8 months Merge branch 'feature.issue-of-others' into develop
1 year 8 months Note that issues can now be filtered in the search view.