<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/parsing.c, branch v0.7.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/parsing.c?h=v0.7.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/parsing.c?h=v0.7.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2007-12-02T21:27:07Z</updated>
<entry>
<title>Handle missing timestamp in commit/tag objects</title>
<updated>2007-12-02T21:27:07Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-12-02T21:11:35Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=fc4c4ba3a99f4fe4bd8a42caca902269d2e0b678'/>
<id>urn:sha1:fc4c4ba3a99f4fe4bd8a42caca902269d2e0b678</id>
<content type='text'>
When a commit or tag lacks author/committer/tagger timestamp, do not skip
the next line in the commit/tag object.

Also, do not bother to print timestamps with value 0 as it is close to certain
to be bogus.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>cgit_parse_commit(): Add missing call to xstrdup()</title>
<updated>2007-10-27T11:55:12Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-10-27T11:50:18Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c61360fea0357672d2ab84a2c5a41ae1569f5d8a'/>
<id>urn:sha1:c61360fea0357672d2ab84a2c5a41ae1569f5d8a</id>
<content type='text'>
It's rather silly to point into random memory-locations. Also, remove a
call to strdup() used on a literal char *.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Skip unknown header fields when parsing tags and commits</title>
<updated>2007-10-27T07:05:40Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-10-24T19:14:44Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=13d2b0b25cf19de03c7cdcf8bb708be1168aeda7'/>
<id>urn:sha1:13d2b0b25cf19de03c7cdcf8bb708be1168aeda7</id>
<content type='text'>
Both the commit- and tagparser failed to handle unexpected header fields.
This adds futureproofing by simply skipping any header we don't know/care
about.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add trim_end() and use it to remove trailing slashes from repo paths</title>
<updated>2007-06-26T16:04:39Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-06-26T16:04:31Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=382805ee83b6e6f165159312a9fe20e3971897b6'/>
<id>urn:sha1:382805ee83b6e6f165159312a9fe20e3971897b6</id>
<content type='text'>
The new function removes all trailing instances of an arbitrary character
from a copy of the supplied char array. This is then used to remove any
trailing slashes from cgit_query_path.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Check for NULL commit buffer in cgit_parse_commit()</title>
<updated>2007-05-31T08:24:43Z</updated>
<author>
<name>Ondrej Jirman</name>
<email>ondrej.jirman@zonio.net</email>
</author>
<published>2007-05-26T01:27:49Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6130231ed5e7475836a44d79d5f09e300e71a407'/>
<id>urn:sha1:6130231ed5e7475836a44d79d5f09e300e71a407</id>
<content type='text'>
This can be NULL, so try not to segfault.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Handle single-line and empty commit subjects</title>
<updated>2007-05-31T08:21:50Z</updated>
<author>
<name>Ondrej Jirman</name>
<email>ondrej.jirman@zonio.net</email>
</author>
<published>2007-05-26T00:19:38Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=3ce6fc16ef4670c535c6e35d48c7f980ff8a5532'/>
<id>urn:sha1:3ce6fc16ef4670c535c6e35d48c7f980ff8a5532</id>
<content type='text'>
If commit object ends with \0 after subject line, then info-&gt;subject
was not set.

This commit fixes this and also sets subject to ** empty ** if it
would otherwise be empty, so that there is something to click on.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Don't be fooled by trailing '/' in url-parameter</title>
<updated>2007-05-18T20:51:02Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-05-18T11:06:45Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=3de63b264c36888dfd42dfdf3fc0aad4ce0c2b5c'/>
<id>urn:sha1:3de63b264c36888dfd42dfdf3fc0aad4ce0c2b5c</id>
<content type='text'>
cgit_parse_url() didn't check if the path-part of urls contained a
real path or just a trailing slash. This made the log-page die since
the path filtering supplied an invalid path argument. This fixes it.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Enable url=value querystring parameter</title>
<updated>2007-05-18T20:51:01Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-05-18T01:00:54Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=30ccdcaa74ebc0aab2b7843b0db8251d0ddf56de'/>
<id>urn:sha1:30ccdcaa74ebc0aab2b7843b0db8251d0ddf56de</id>
<content type='text'>
This makes is possible to use repo-urls like '/pub/scm/git/git.git' and
even add path specifications, like '/pub/scm/git/git.git/log/documentation'.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Restrict deep nesting of configfiles</title>
<updated>2007-05-15T21:32:25Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-05-15T21:28:40Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=47a81c77fdd017227632c4df9a0b7b135b8a738d'/>
<id>urn:sha1:47a81c77fdd017227632c4df9a0b7b135b8a738d</id>
<content type='text'>
There is no point in restricting the number of included config-
files, but there is a point in restricting the nestinglevel
of configfiles: to avoid recursive inclusions. This is easily
achieved by decrementing the static nesting-variable upon exit
from cgit_read_config().

Also fix some whitespace breakage.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add include-parameter to config files</title>
<updated>2007-05-14T21:40:33Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-05-14T21:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39'/>
<id>urn:sha1:5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39</id>
<content type='text'>
This parameter can be used to include another config-file, like
a standalone repository listing.

Suggested in a patch by Kristian Høgsberg &lt;krh@bitplanet.net&gt;

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