<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-repolist.c, branch v0.9.0.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-repolist.c?h=v0.9.0.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-repolist.c?h=v0.9.0.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2011-05-23T21:17:10Z</updated>
<entry>
<title>ui-repolist.c: do not return random/stale data from read_agefile</title>
<updated>2011-05-23T21:17:10Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-23T21:10:37Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c8ea73caabcb16ffb74baa70d35650027ed772c4'/>
<id>urn:sha1:c8ea73caabcb16ffb74baa70d35650027ed772c4</id>
<content type='text'>
When git/date.c:parse_date() cannot parse its input it returns -1. But
read_agefile() checks if the result is different from zero, essentialy
returning random data from the date buffer when parsing fails. This
patch fixes the issue by verifying that the result from parse_date()
is positive.

Noticed-by: Julius Plenz &lt;plenz@cis.fu-berlin.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-repolist: fix redefinition of _XOPEN_SOURCE</title>
<updated>2010-09-04T18:09:24Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-09-04T15:49:30Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=25e8ba1996a7b5ea291c924b0990d706176f6fe6'/>
<id>urn:sha1:25e8ba1996a7b5ea291c924b0990d706176f6fe6</id>
<content type='text'>
Previously, ui-repolist.c set _GNU_SOURCE and then included a standard
library before including &lt;git-compat-util.h&gt;.  This was a problem,
because &lt;git-compat-util.h&gt; redefined _XOPEN_SOURCE, which is set
automatically by glibc when _GNU_SOURCE is set.  However,
&lt;git-compat-util.h&gt; already sets _GNU_SOURCE and includes both
&lt;string.h&gt; and &lt;time.h&gt;, so there is no need to define _GNU_SOURCE or
include either header within ui-repolist.c.

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix repolist search links with virtual root</title>
<updated>2009-09-20T11:07:57Z</updated>
<author>
<name>Geoff Johnstone</name>
<email>qwerty@acm.org</email>
</author>
<published>2009-09-20T10:32:07Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9735835c0e9f2c4a0caf5a431fc455d5855472aa'/>
<id>urn:sha1:9735835c0e9f2c4a0caf5a431fc455d5855472aa</id>
<content type='text'>
Signed-off-by: Geoff Johnstone &lt;geoff.johnstone@googlemail.com&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-repolist: handle empty sections similar to NULL sections</title>
<updated>2009-08-24T08:22:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T05:42:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e01229cf80bc618a132d2154c0ebd71792d31c64'/>
<id>urn:sha1:e01229cf80bc618a132d2154c0ebd71792d31c64</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-repolist.c: sort by section name, repo name as default</title>
<updated>2009-08-24T08:22:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-23T21:09:31Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=63816ec59748c622623f20e653a7bed87f4f05a4'/>
<id>urn:sha1:63816ec59748c622623f20e653a7bed87f4f05a4</id>
<content type='text'>
When no sorting is requested by the client, cgit will now sort by
section name followed by repo name. This allows repos to be registered/
discovered independently of their display order.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Introduce 'section' as canonical spelling for 'repo.group'</title>
<updated>2009-08-24T08:22:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-23T20:58:39Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e7af002d5c405c82652f739d08ced3908d1f57e7'/>
<id>urn:sha1:e7af002d5c405c82652f739d08ced3908d1f57e7</id>
<content type='text'>
The 'repo.' prefix should be reserved for repo-specific options, but
the option 'repo.group' must still be honored to stay backwards
compatible.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add and use a common readfile() function</title>
<updated>2009-08-18T15:22:14Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-18T15:17:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e16f1783346a090e4ea1194dcaae7f03e813f6a2'/>
<id>urn:sha1:e16f1783346a090e4ea1194dcaae7f03e813f6a2</id>
<content type='text'>
This function is used to read the full content of a textfile into a
newly allocated buffer (with zerotermination).

It replaces the earlier readfile() in scan-tree.c (which was rather
error-prone[1]), and is reused by read_agefile() in ui-repolist.c.

1: No checks for EINTR and EAGAIN, fixed-size buffer

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2009-08-18T15:21:52Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-18T15:21:52Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=523c133e2e5f7089a3d18ac23f2074b60991a7f0'/>
<id>urn:sha1:523c133e2e5f7089a3d18ac23f2074b60991a7f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>truncate buffer before reading empty files</title>
<updated>2009-08-18T12:27:41Z</updated>
<author>
<name>Simon Arlott</name>
<email>simon@fire.lp0.eu</email>
</author>
<published>2009-03-07T00:06:24Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=011f2e9bdddcbfe65da397629bca87d167313a28'/>
<id>urn:sha1:011f2e9bdddcbfe65da397629bca87d167313a28</id>
<content type='text'>
If readfile() reads an empty file, fgets() won't truncate the buffer
and it'll still contain the contents of the previously read file.

[lh: fixed similar issue in ui-repolist.c]

Signed-off-by: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add 'about-filter' and 'repo.about-filter' options</title>
<updated>2009-08-09T11:41:54Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-09T11:27:21Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4'/>
<id>urn:sha1:537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4</id>
<content type='text'>
These options can be used to execute a filter command on each about-page,
both top-level and for each repository (repo.about-filter can be used
to override the current about-filter).

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