<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-tree.c, branch v0.9</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-tree.c?h=v0.9</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-tree.c?h=v0.9'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2010-09-04T18:30:10Z</updated>
<entry>
<title>prefer html_raw() to write()</title>
<updated>2010-09-04T18:30:10Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-09-04T18:18:16Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d187b98557d91b874836f286b955ba76ab26fb02'/>
<id>urn:sha1:d187b98557d91b874836f286b955ba76ab26fb02</id>
<content type='text'>
To make the code more consistent, and to not rely on the implementation
of html(), always use html_raw(...) instead of write(htmlfd, ...).

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</content>
</entry>
<entry>
<title>fix errors in printf-style format strings</title>
<updated>2010-09-04T15:35:38Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-09-04T15:30:18Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e4ddc8f72b5a7d8c55a6c2042c7b7f945ba4b1a2'/>
<id>urn:sha1:e4ddc8f72b5a7d8c55a6c2042c7b7f945ba4b1a2</id>
<content type='text'>
There were many places where the arguments to a printf-like function did
not match the format string.  Mostly, these were a missing 'l' flag, but
there were three exceptions:

- In ui-stats.c, a size_t argument must be printed.  C99 has the "%zu"
  flag for this purpose, but not all compilers support this.  Therefore,
  we mimic what git does - use a NO_C99_FORMAT Makefile variable.

- In ui-stats.c, cgit_print_error() was called with a pointer instead of
  a character.

- In ui-log.c, the "columns" argument was never used.

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-tree: Remove unnecessary path breadcrumb navigation</title>
<updated>2010-06-19T08:40:23Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-09T23:09:30Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=48f7b982d3bb52f1307df73ceb6dd4cab3fdcc80'/>
<id>urn:sha1:48f7b982d3bb52f1307df73ceb6dd4cab3fdcc80</id>
<content type='text'>
The path breadcrumb navigation at the top of the 'tree' page has now been
duplicated in ui-shared, which leaves the ui-tree implementation unnecessary.

This patch removes the breadcrumb navigation from ui-tree, and moves the
"(plain)" link that followed the breadcrumb when displaying blobs to the
end of the next line, following the blob SHA1.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-tree: add link to plain view for blobs in tree listing</title>
<updated>2010-02-28T21:18:00Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-02-28T21:18:00Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ff3a3b4e2b7463bb8cb370bdda393e8b3526fcb9'/>
<id>urn:sha1:ff3a3b4e2b7463bb8cb370bdda393e8b3526fcb9</id>
<content type='text'>
Suggested-by: Robert Weidlich &lt;mail@robertweidlich.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2009-12-12T11:09:47Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-12-12T11:09:47Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=547a64fbd65de293c290f4e18bbeae958d54aaa7'/>
<id>urn:sha1:547a64fbd65de293c290f4e18bbeae958d54aaa7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix segfault on ppc when browsing tree</title>
<updated>2009-12-12T10:56:25Z</updated>
<author>
<name>Martins Polakovs</name>
<email>martins.polakovs@gmail.com</email>
</author>
<published>2009-12-10T15:35:42Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=24538b072718924d3418a258cf0009fb5b5768de'/>
<id>urn:sha1:24538b072718924d3418a258cf0009fb5b5768de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>"max-blob-size" config var to limit generated HTML size</title>
<updated>2009-11-28T02:44:33Z</updated>
<author>
<name>Georg Lukas</name>
<email>georg@op-co.de</email>
</author>
<published>2009-11-28T02:44:33Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ef07ccc72da0270e9298c36046a0187dc359b0da'/>
<id>urn:sha1:ef07ccc72da0270e9298c36046a0187dc359b0da</id>
<content type='text'>
Sometimes it is not feasible to generate the HTML pretty-print for large
files, especially if a source-filter is involved or binary data is to be
displayed. The "max-blob-size" config var allows to disable HTML output
for blobs bigger than X KBytes. Plain downloads are not affected.

Signed-off-by: Georg Lukas &lt;georg@op-co.de&gt;
</content>
</entry>
<entry>
<title>Rename "linenumbers" to "enable-tree-linenumbers", change default to "1"</title>
<updated>2009-08-21T12:26:52Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-21T12:26:52Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b0f946bcc7f08168ea2858d8658a74a32accd7f5'/>
<id>urn:sha1:b0f946bcc7f08168ea2858d8658a74a32accd7f5</id>
<content type='text'>
This makes the name of the cgitrc option more descriptive and at the
same time changes the default from "0" to "1" in an attempt to stay
backwards compatible - prior to the introduction of "source-filter"
and "linenumbers", cgit always generated linenumber links in the
tree view, but now this feature can be turned off (one might want to
do this if the source-filter performs line-wrapping etc).

While at it, the documentation is updated to match the surrounding
descriptions.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add 'linenumbers' config option</title>
<updated>2009-08-21T12:17:49Z</updated>
<author>
<name>Florian Pritz</name>
<email>bluewind@xssn.at</email>
</author>
<published>2009-08-09T20:42:45Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d67cc7f9d556650438e421cdcda37bc52710bffd'/>
<id>urn:sha1:d67cc7f9d556650438e421cdcda37bc52710bffd</id>
<content type='text'>
Signed-off-by: Florian Pritz &lt;bluewind@xssn.at&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-tree.c: show line numbers when highlighting</title>
<updated>2009-08-21T12:14:21Z</updated>
<author>
<name>Florian Pritz</name>
<email>bluewind@xssn.at</email>
</author>
<published>2009-08-09T13:43:18Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=03389d6e67bfda5cb3ff1504db815f09715ec6f4'/>
<id>urn:sha1:03389d6e67bfda5cb3ff1504db815f09715ec6f4</id>
<content type='text'>
When source-filter is enabled, cgit currently will not display
linenumbers in the tree view. This patch restores the linenumber
function.

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