<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/tests/t0104-tree.sh, branch master</title>
<subtitle>ui for git.eugenetriguba.com
</subtitle>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/'/>
<entry>
<title>Reduce line number bloat, fix hover effect</title>
<updated>2014-01-08T13:59:38+00:00</updated>
<author>
<name>Peter Wu</name>
<email>lekensteyn@gmail.com</email>
</author>
<published>2013-10-03T10:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=4468ec1b15becf3838d8cf38440c527c487565a4'/>
<id>4468ec1b15becf3838d8cf38440c527c487565a4</id>
<content type='text'>
Currently line numbers look like (for blob view and sdiff respectively):

    &lt;a class='no' id='n68' name='n68' href='#n68'&gt;68&lt;/a&gt;
    &lt;td class='lineno'&gt;&lt;a class='no' href='...#n1' id='n1' name='n1'&gt;1&lt;/a&gt;&lt;/td&gt;

name=".." is unnecessary if the id attribute is set (this even applies
to IE6), so drop it. (aside, in HTML5, the name attribute is gone.)

The line number links can be selected through their parent classes, no
need for another class "no", so drop it too.

For a file with 2000 lines, this yields a saving of 40% (29% gzipped).

While at it, fix the hover effect of line numbers: now the line number
get a black background as was intended.

Signed-off-by: Peter Wu &lt;lekensteyn@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently line numbers look like (for blob view and sdiff respectively):

    &lt;a class='no' id='n68' name='n68' href='#n68'&gt;68&lt;/a&gt;
    &lt;td class='lineno'&gt;&lt;a class='no' href='...#n1' id='n1' name='n1'&gt;1&lt;/a&gt;&lt;/td&gt;

name=".." is unnecessary if the id attribute is set (this even applies
to IE6), so drop it. (aside, in HTML5, the name attribute is gone.)

The line number links can be selected through their parent classes, no
need for another class "no", so drop it too.

For a file with 2000 lines, this yields a saving of 40% (29% gzipped).

While at it, fix the hover effect of line numbers: now the line number
get a black background as was intended.

Signed-off-by: Peter Wu &lt;lekensteyn@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use Git's test framework</title>
<updated>2013-04-08T20:27:11+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-01T14:09:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=c95cc5ec56dbb7394015eb18201403be6d80f69b'/>
<id>c95cc5ec56dbb7394015eb18201403be6d80f69b</id>
<content type='text'>
This allows tests to run in parallel as well as letting us use "prove"
or another TAP harness to run the tests.

Git's test framework requires Git to be fully built before letting any
tests run, so add a new target to the top-level Makefile which builds
all of Git instead of just libgit.a and make the "test" target depend on
that.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows tests to run in parallel as well as letting us use "prove"
or another TAP harness to run the tests.

Git's test framework requires Git to be fully built before letting any
tests run, so add a new target to the top-level Makefile which builds
all of Git instead of just libgit.a and make the "test" target depend on
that.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: "grep -e" is not portable to all platforms</title>
<updated>2013-03-05T00:38:44+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-03-04T21:58:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=392e07d28a23aec9942b9ed0d122e35d2d268fb9'/>
<id>392e07d28a23aec9942b9ed0d122e35d2d268fb9</id>
<content type='text'>
The "-e" option to grep is not needed unless specifying more than one
pattern, which we don't do.  Remove it to avoid restricting the tests on
platforms that do not have a grep that recognises "-e".

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "-e" option to grep is not needed unless specifying more than one
pattern, which we don't do.  Remove it to avoid restricting the tests on
platforms that do not have a grep that recognises "-e".

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>changed objects are outputted, allowing for selections of code only</title>
<updated>2009-01-10T11:13:54+00:00</updated>
<author>
<name>Onne Gorter</name>
<email>onne.gorter@avinity.net</email>
</author>
<published>2009-01-07T12:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=a90e2aa4e1bd5c3a9657ce7d675943f4a265cc9f'/>
<id>a90e2aa4e1bd5c3a9657ce7d675943f4a265cc9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tree.c: do not add blank line when displaying blobs</title>
<updated>2009-01-06T20:37:23+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-06T20:37:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=f3c99cf1cee25ae95ffea6188b40734e877bce20'/>
<id>f3c99cf1cee25ae95ffea6188b40734e877bce20</id>
<content type='text'>
Also, fix a related bug in the test-suite.

Noticed-by: Jim Meyering &lt;jim@meyering.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, fix a related bug in the test-suite.

Noticed-by: Jim Meyering &lt;jim@meyering.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared.c: use html_url_arg()</title>
<updated>2008-10-05T10:52:25+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-10-05T10:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=b575115d9d93e45cdbcd5d066cc445d34639ae6a'/>
<id>b575115d9d93e45cdbcd5d066cc445d34639ae6a</id>
<content type='text'>
The link-generating functions are updated to use the new html_url_arg
function, thereby fixing links to strange repos, branches and files.

Also, the test-suite is updated to verify some cases of strange urls.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The link-generating functions are updated to use the new html_url_arg
function, thereby fixing links to strange repos, branches and files.

Also, the test-suite is updated to verify some cases of strange urls.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix html error detected by test-suite</title>
<updated>2007-11-11T12:04:28+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-11-11T12:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=2915483ef6c9c29ac1493e6945688bb62f7825b4'/>
<id>2915483ef6c9c29ac1493e6945688bb62f7825b4</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Create initial testsuite</title>
<updated>2007-11-11T11:00:13+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-11-10T23:40:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=b4649fc90597910c89c3f37a6aec9af54d9f416b'/>
<id>b4649fc90597910c89c3f37a6aec9af54d9f416b</id>
<content type='text'>
This creates a simple testsuite, heavily inspired by the testsuite in git.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This creates a simple testsuite, heavily inspired by the testsuite in git.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
