<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/html.h, branch v0.11.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/html.h?h=v0.11.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/html.h?h=v0.11.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2013-04-08T14:10:11Z</updated>
<entry>
<title>html.c: add various strbuf and varadic helpers</title>
<updated>2013-04-08T14:10:11Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-07T13:40:50Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=fd00d2f9d6088223f57006949dc6ce7c36316a79'/>
<id>urn:sha1:fd00d2f9d6088223f57006949dc6ce7c36316a79</id>
<content type='text'>
This adds the fmtalloc helper, html_txtf, html_vtxtf, and html_attrf.

These takes a printf style format string like htmlf but escapes the
resulting string.  The html_vtxtf variant takes a va_list whereas
html_txtf is variadic.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Always #include corresponding .h in .c files</title>
<updated>2013-04-08T13:45:34Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-06T10:37:59Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=8f208794318f83826e98168b8b430f2d9a68bcce'/>
<id>urn:sha1:8f208794318f83826e98168b8b430f2d9a68bcce</id>
<content type='text'>
While doing this, remove declarations from header files where the
corresponding definition is declared "static" in order to avoid build
errors.

Also re-order existing headers in ui-*.c so that the file-specific
header always comes immediately after "cgit.h", helping with future
consistency.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>html.c: add html_intoption()</title>
<updated>2011-03-06T22:57:26Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-03-06T22:57:26Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=1a64fd2f83affda41fb9903b7c299d35170bfc05'/>
<id>urn:sha1:1a64fd2f83affda41fb9903b7c299d35170bfc05</id>
<content type='text'>
This is similar to html_option, but for int values.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>use __attribute__ to catch printf format mistakes</title>
<updated>2010-09-04T15:11:40Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-09-04T15:09:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a4c58d92bfee0cf2e35ab1c5e828a6d790108a69'/>
<id>urn:sha1:a4c58d92bfee0cf2e35ab1c5e828a6d790108a69</id>
<content type='text'>
Use "__attribute__((format (printf,N,M)))", as is done in git, do catch
mistakes in printf-style format strings.

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</content>
</entry>
<entry>
<title>html: make all strings 'const char *'</title>
<updated>2010-02-09T04:04:41Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-02-09T04:04:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=8aab27f24de70acfbdcee31c634a4b1facf23b92'/>
<id>urn:sha1:8aab27f24de70acfbdcee31c634a4b1facf23b92</id>
<content type='text'>
None of the html_* functions modify their argument, so they can all be
'const char *' instead of a simple 'char *'.  This removes the need to
cast (or copy) when trying to print a const string.

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</content>
</entry>
<entry>
<title>html.c: add html_url_path</title>
<updated>2008-10-05T14:52:57Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-10-05T14:52:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=22a597e56dc7fdea78ccbcb7466b45dd62cf7b32'/>
<id>urn:sha1:22a597e56dc7fdea78ccbcb7466b45dd62cf7b32</id>
<content type='text'>
This function can be used to generate properly escaped path-components
for links.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>html.c: add html_url_arg</title>
<updated>2008-10-05T10:49:46Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-10-05T10:49:46Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a36a0d9dec8a3ba79501d2526d648e44306f0fdd'/>
<id>urn:sha1:a36a0d9dec8a3ba79501d2526d648e44306f0fdd</id>
<content type='text'>
This function can be used to properly escape querystring parameter values.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Supply status description to html_status()</title>
<updated>2008-08-06T20:57:44Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-08-06T20:57:44Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=885096c189574b1cf2e0897cc05aadd7b092a677'/>
<id>urn:sha1:885096c189574b1cf2e0897cc05aadd7b092a677</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Implement plain view</title>
<updated>2008-08-06T09:21:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-08-06T08:53:50Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e5da4bca54574522b28f88cab0dc8ebad9e35a73'/>
<id>urn:sha1:e5da4bca54574522b28f88cab0dc8ebad9e35a73</id>
<content type='text'>
This implements a way to access plain blobs by path (similar to the
tree view) instead of by sha1.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add support for cloning over http</title>
<updated>2008-08-06T09:21:09Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-08-05T23:20:24Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=02a545e63454530c1639014d3239c14ced2022c6'/>
<id>urn:sha1:02a545e63454530c1639014d3239c14ced2022c6</id>
<content type='text'>
This patch implements basic support for cloning over http, based on the
work on git-http-backend by Shawn O. Pearce.

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