<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/shared.c, branch v0.8.2.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/shared.c?h=v0.8.2.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/shared.c?h=v0.8.2.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2009-02-01T18:29:24Z</updated>
<entry>
<title>shared.c: avoid SEGFAULT when checking for binary buffers</title>
<updated>2009-02-01T18:29:24Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-02-01T18:29:24Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=481ce5e298e2dcd7edc1d4a30e523dda2ce58b01'/>
<id>urn:sha1:481ce5e298e2dcd7edc1d4a30e523dda2ce58b01</id>
<content type='text'>
Before calling buffer_is_binary() we need to verify that the buffer
is valid.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Handle binary files in diffs</title>
<updated>2009-01-31T09:40:40Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-31T09:40:40Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c495cf02bac16e459f7c9e1740798646f12c00c5'/>
<id>urn:sha1:c495cf02bac16e459f7c9e1740798646f12c00c5</id>
<content type='text'>
This teaches all diff-related operations (i.e. ui-log, ui-diff and ui-patch)
how to handle binary files.

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>shared.c: future-proof usage of git diff-structures</title>
<updated>2008-12-26T10:02:02Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-12-26T10:02:02Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=0edf76078e6a36ba502e6ffb97021166ea459a7f'/>
<id>urn:sha1:0edf76078e6a36ba502e6ffb97021166ea459a7f</id>
<content type='text'>
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>ui-repolist: implement lazy caching of repo-&gt;mtime</title>
<updated>2008-11-29T15:46:37Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-11-29T15:46:37Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=8813170390f3c3a0f4743afbc92ede42953fa3b0'/>
<id>urn:sha1:8813170390f3c3a0f4743afbc92ede42953fa3b0</id>
<content type='text'>
When sorting the list of repositories by their last modification time,
cgit would (in the worst case) invoke fstat(3) four times and open(3)
twice for each callback from qsort(3). This obviously scales very badly.

Now, the calculated modtime for each repo is saved in repo-&gt;mtime, thus
keeping the number of stat/open invocations identical for sorted and
unsorted repo-listings.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move cgit_parse_query() from parsing.c to html.c as http_parse_querystring()</title>
<updated>2008-04-08T19:11:36Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-04-08T19:11:36Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e87e89633383b8b75c68c98be3e0c14212109de2'/>
<id>urn:sha1:e87e89633383b8b75c68c98be3e0c14212109de2</id>
<content type='text'>
This is a generic http-function.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move cgit_version from shared.c to cgit.c</title>
<updated>2008-03-24T22:27:16Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-24T22:10:59Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=92908af4558d7362c7deeb05254343a5a5f11a05'/>
<id>urn:sha1:92908af4558d7362c7deeb05254343a5a5f11a05</id>
<content type='text'>
With the matching Makefile change, this makes sure that only cgit.o and cgit
proper needs to be rebuildt when VERSION has been modified.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move non-generic functions from shared.c to cgit.c</title>
<updated>2008-03-24T16:26:08Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-24T16:26:08Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=163037e79c6cde1073d555dbeae2a095298e6101'/>
<id>urn:sha1:163037e79c6cde1073d555dbeae2a095298e6101</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
