<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-plain.c, branch lh/grep</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-plain.c?h=lh%2Fgrep</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-plain.c?h=lh%2Fgrep'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2012-03-18T21:01:28Z</updated>
<entry>
<title>Merge branch 'fh/mimetypes'</title>
<updated>2012-03-18T21:01:28Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-03-18T21:01:28Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a'/>
<id>urn:sha1:ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ui_plain: automatically lookup mimetype when mimetype-file is set</title>
<updated>2011-07-19T09:30:07Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2011-07-19T08:51:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d01c600c179593a53162a9d4e3040ecfc5078fdc'/>
<id>urn:sha1:d01c600c179593a53162a9d4e3040ecfc5078fdc</id>
<content type='text'>
For sites that do not want to configure mime types by hand but
still want the correct mime type for 'plain' blobs, configuring
a mime type file is made possible. This is handy since such a
file is normally already provided (at least on Linux systems).

Also, this reflects the gitweb option '$mimetypes_file'

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-plain.c: add support for path-selected submodule links</title>
<updated>2011-06-15T08:40:13Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-15T08:10:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7421857b4da9b8523032f08824bca9f3e3ebec4e'/>
<id>urn:sha1:7421857b4da9b8523032f08824bca9f3e3ebec4e</id>
<content type='text'>
In ui-plain.c, the links generated for submodule entry ignored the fact
that the entry was in fact a submodule. This patch adds proper submodule
links to the plain directory listings.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-plain.c: fix html and links generated by print_dir() and print_dir_entry()</title>
<updated>2011-06-12T21:21:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-12T20:49:35Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7f88d20823ad9d375900657334bc27793860f6ee'/>
<id>urn:sha1:7f88d20823ad9d375900657334bc27793860f6ee</id>
<content type='text'>
This patch fixes the following issues:
* the base argument usually isn't zero-terminated, so printing base
  without considering baselen will usually generate random garbage
* when the current url represents a directory but doesn't end in a slash,
  relative urls would be incorrect
* using unescaped paths allows XSS

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use GIT-1.7.2.2</title>
<updated>2010-08-22T11:29:57Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-08-22T11:29:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6d7552bc072599313ef423d69156d824c075572a'/>
<id>urn:sha1:6d7552bc072599313ef423d69156d824c075572a</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-plain: print directory listings</title>
<updated>2010-01-31T22:10:00Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-01-31T19:25:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1'/>
<id>urn:sha1:6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1</id>
<content type='text'>
When a user requests a plain view of a tree (as opposed to a blob),
print out a directory listing rather than giving a 404 Not Found.

Also, fix a segfault when ctx-&gt;qry.path is NULL - i.e, when /plain is
requested without a path.

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-plain: more efficient walk_tree()</title>
<updated>2010-01-31T22:08:49Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-01-31T06:07:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=74ebf82229829bbdbe74a4d9a7b6f29d2889dfc8'/>
<id>urn:sha1:74ebf82229829bbdbe74a4d9a7b6f29d2889dfc8</id>
<content type='text'>
Git's read_tree_recursive() already filters out the objects by pathname,
so we only have to compare baselen to the expected.  That is, no string
matching is required.

Additionally, if the requested path is a directory, the old code would
walk through all of its immediate children.  This is not necessary, this
so we no longer do that.

Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-plain: remove unused curr_rev variable</title>
<updated>2010-01-31T04:54:39Z</updated>
<author>
<name>Mark Lodato</name>
<email>lodatom@gmail.com</email>
</author>
<published>2010-01-31T04:54:16Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=89082346d50ec283a16d3127677f30b427781b6a'/>
<id>urn:sha1:89082346d50ec283a16d3127677f30b427781b6a</id>
<content type='text'>
Signed-off-by: Mark Lodato &lt;lodatom@gmail.com&gt;
</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>Merge branch 'stable'</title>
<updated>2009-09-06T17:33:27Z</updated>
<author>
<name>Lars Hjemli</name>
<email>larsh@slackbox.hjemli.net</email>
</author>
<published>2009-09-06T17:33:27Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=670f99097939a08510c2c909cd38f8083800861a'/>
<id>urn:sha1:670f99097939a08510c2c909cd38f8083800861a</id>
<content type='text'>
</content>
</entry>
</feed>
