<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.c, branch v0.8.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/cgit.c?h=v0.8.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cgit.c?h=v0.8.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2009-01-29T20:27:39Z</updated>
<entry>
<title>Add support for a custom header</title>
<updated>2009-01-29T20:27:39Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-29T20:27:39Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b115955d71c50cd2d0065c45f3df6b02fa4730bd'/>
<id>urn:sha1:b115955d71c50cd2d0065c45f3df6b02fa4730bd</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lh/stats'</title>
<updated>2009-01-27T19:16:37Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-27T19:16:37Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7710178e45dee61e85ea77c4221309ce8c086f95'/>
<id>urn:sha1:7710178e45dee61e85ea77c4221309ce8c086f95</id>
<content type='text'>
Conflicts:
	cgit.c
	cgit.css
	cgit.h
	ui-tree.c

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2009-01-11T21:00:25Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-11T21:00:25Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=31665579c2779669c0cc56b8eb63f162b7e165df'/>
<id>urn:sha1:31665579c2779669c0cc56b8eb63f162b7e165df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid SEGFAULT on invalid requests</title>
<updated>2009-01-11T20:23:04Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-11T20:23:04Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=eb14609dc46461728a065c0a243b338fc32fd762'/>
<id>urn:sha1:eb14609dc46461728a065c0a243b338fc32fd762</id>
<content type='text'>
When an unknown page is requested, either on the querystring or via
PATH_INFO, we end up with a null-referencing cgit_cmd. This null-
pointer is then used as argument to the hc() function (which decides
what tab to render as 'active'), but this function failed to check if a
valid cmd was specified and a SEGFAULT would occur. This patch fixes the
issue by introducing a 'fallback-cmd' which specifies what tab to render
as 'active' when no valid cmd is requested.

While at it, we now also keep track of the active repository even if an
invalid cmd was requested since we want to show the error message about
the invalid request in the correct context.

Noticed-by: Robin Redeker &lt;elmex@ta-sa.org&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Untie logic for SCRIPT_NAME and PATH_INFO</title>
<updated>2008-12-26T09:33:01Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-12-26T09:33:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=377a1c8cedcbd18f42e45c6ab757a603af44df33'/>
<id>urn:sha1:377a1c8cedcbd18f42e45c6ab757a603af44df33</id>
<content type='text'>
SCRIPT_NAME is used as fallback for virtual-root when virtual-root is
unspecified in cgitrc and PATH_INFO is used as fallback for the query-
string parameter 'url' when the latter is unspecified. But until now,
the use of PATH_INFO depended on virtual-root also being unspecified,
i.e. it was impossible to use PATH_INFO when virtual-root was specified.

This commit makes the fallback on SCRIPT_NAME and PATH_INFO independent
code paths, i.e. it is now possible to specify virtual-root in cgitrc
while still using PATH_INFO (instead of rewrite rules) to get 'pretty
urls'.

Noticed-by: Jack Moffitt &lt;jack@chesspark.com&gt;
Noticed-by: LiKai Liu &lt;liulk@cs.bu.edu&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-stats: replace 'enable-stats' setting with 'max-stats'</title>
<updated>2008-12-07T12:17:21Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-12-07T12:17:21Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=fb2f3f6c29bad733723152893c5246a756e4cada'/>
<id>urn:sha1:fb2f3f6c29bad733723152893c5246a756e4cada</id>
<content type='text'>
The new 'max-stats' and 'repo.max-stats' settings makes it possible to
define the maximum statistics period, both globally and per repo. Hence,
it is now feasible to allow statistics on repositories with a high commit
frequency, like linux-2.6, by setting repo.max-stats to e.g. 'month'.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add a 'stats' page to each repo</title>
<updated>2008-12-06T16:38:19Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-12-06T16:38:19Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f86a23ff537258d36bf8f1876fa7a4bede6673d8'/>
<id>urn:sha1:f86a23ff537258d36bf8f1876fa7a4bede6673d8</id>
<content type='text'>
This new page, which is disabled by default, can be used to print some
statistics about the number of commits per period in the repository,
where period can be either weeks, months, quarters or years.

The function can be activated globally by setting 'enable-stats=1' in
cgitrc and disabled for individual repos by setting 'repo.enable-stats=0'.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'full-log'</title>
<updated>2008-12-06T10:37:37Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-12-06T10:37:37Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=3c32fe07717f27fc891b66ccd06057fb810d03ad'/>
<id>urn:sha1:3c32fe07717f27fc891b66ccd06057fb810d03ad</id>
<content type='text'>
Conflicts:
	cgit.c
	cgit.h
</content>
</entry>
<entry>
<title>ui-log: add support for showing the full commit message</title>
<updated>2008-11-29T17:39:41Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-11-29T17:39:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=0274b57d55a12ed38259757dbfae96b79cfa2e0b'/>
<id>urn:sha1:0274b57d55a12ed38259757dbfae96b79cfa2e0b</id>
<content type='text'>
Some users prefer to see the full message, so to make these users happy
the new querystring parameter "showmsg" can be used to print the full
commit message per log entry.

A link is provided in the log heading to make this function accessible,
and all links and forms tries to preserve the users preference.

Note: the new link is not displayed on the summary page since the point
of the summary page is to be a summary, but it is still obeyed if specified
manually.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add support for sorting by Age in the repolist</title>
<updated>2008-11-29T12:25:54Z</updated>
<author>
<name>Benjamin Close</name>
<email>Benjamin.Close@clearchain.com</email>
</author>
<published>2008-11-25T14:25:35Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d71c0c725d7b5ddfc5b788d328a5fc7a27739662'/>
<id>urn:sha1:d71c0c725d7b5ddfc5b788d328a5fc7a27739662</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
