<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/shared.c, branch v0.8.3.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/shared.c?h=v0.8.3.2</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/shared.c?h=v0.8.3.2'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2010-04-07T22:48:36Z</updated>
<entry>
<title>shared.c: avoid memory leak during diff</title>
<updated>2010-04-07T22:48:36Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-04-07T22:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=ce761fde0772236a11b41270f9254c515f724ad5'/>
<id>urn:sha1:ce761fde0772236a11b41270f9254c515f724ad5</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>shared.c: return original errno</title>
<updated>2009-11-07T17:08:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-11-07T17:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=21f67e7d82986135922aece6b4ebf410a98705bc'/>
<id>urn:sha1:21f67e7d82986135922aece6b4ebf410a98705bc</id>
<content type='text'>
Noticed-by: Andreas Schwab &lt;schwab@linux-m68k.org&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Close fd on error in readfile()</title>
<updated>2009-11-07T14:34:18Z</updated>
<author>
<name>Rys Sommefeldt</name>
<email>rys@pixeltards.com</email>
</author>
<published>2009-11-07T14:24:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=8cfe4897f01066ae901bdd6ef106faf8e8f2ddf2'/>
<id>urn:sha1:8cfe4897f01066ae901bdd6ef106faf8e8f2ddf2</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>shared.c: initialize cgit_repo structs properly</title>
<updated>2009-08-24T08:22:59Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-24T08:14:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=42e7a169e8b7212847404730b781131759abd877'/>
<id>urn:sha1:42e7a169e8b7212847404730b781131759abd877</id>
<content type='text'>
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='https://git.zx2c4.com/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='https://git.zx2c4.com/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>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='https://git.zx2c4.com/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>
<entry>
<title>Add support for repo.commit-filter and repo.source-filter</title>
<updated>2009-08-09T11:22:00Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-09T11:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=e976df27952ca1e450c1c3d420532ac9f5e3036b'/>
<id>urn:sha1:e976df27952ca1e450c1c3d420532ac9f5e3036b</id>
<content type='text'>
These options can be used to override the default commit- and source-
filter settings per repository.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add generic filter/plugin infrastructure</title>
<updated>2009-07-31T15:39:51Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-07-31T15:38:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=d6f6072560c963065b13c704fa1fa6f8950e4bac'/>
<id>urn:sha1:d6f6072560c963065b13c704fa1fa6f8950e4bac</id>
<content type='text'>
The functions cgit_open_filter() and cgit_close_filter() can be used to
execute filters on the output stream from cgit.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<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='https://git.zx2c4.com/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>
</feed>
