<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit, branch jk/collapsible-sections</title>
<subtitle>my cgit fork
</subtitle>
<id>http://g.freya.cat/cgit/atom?h=jk%2Fcollapsible-sections</id>
<link rel='self' href='http://g.freya.cat/cgit/atom?h=jk%2Fcollapsible-sections'/>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/'/>
<updated>2016-10-01T10:51:07Z</updated>
<entry>
<title>ui-repolist: Allow sections to be collapsible</title>
<updated>2016-10-01T10:51:07Z</updated>
<author>
<name>Andy Doan</name>
<email>andy.doan@linaro.org</email>
</author>
<published>2016-09-13T03:54:08Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=1a66e7f3c15bf8d0d5d1b198c6674911a213779e'/>
<id>urn:sha1:1a66e7f3c15bf8d0d5d1b198c6674911a213779e</id>
<content type='text'>
The index page can be difficult to navigate for really large git
servers. This change allows a configuration like:

 section-collapse=people
 section-collapse=tests

And an index page would only display the "people" and "tests" section
headers entries (not their repos) with a hyperlink that can be used to
drill down into each section.

Additionally the boolean logic around displaying sections in
ui-repolist.c was simplified to eliminate an impossible condition.

Signed-off-by: Andy Doan &lt;andy.doan@linaro.org&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-repolist: provide hyperlinks on section names</title>
<updated>2016-10-01T10:50:13Z</updated>
<author>
<name>Andy Doan</name>
<email>andy.doan@linaro.org</email>
</author>
<published>2016-09-13T03:54:07Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=84b158abe04ca37eb6e3038d3b63a9518714b66d'/>
<id>urn:sha1:84b158abe04ca37eb6e3038d3b63a9518714b66d</id>
<content type='text'>
This makes it easier to traverse into a section of git repositories.

Signed-off-by: Andy Doan &lt;andy.doan@linaro.org&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-tree: remove a fixed size buffer</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:54:46Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=e18a85b6a298feef88da8085ef16fd20ce971071'/>
<id>urn:sha1:e18a85b6a298feef88da8085ef16fd20ce971071</id>
<content type='text'>
As libgit.a moves away from using fixed size buffers, there is no
guarantee that PATH_MAX is sufficient for all of the paths in a Git
tree, so we should use a dynamically sized buffer here.

Coverity-Id: 141884
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-tag: clean up taginfo</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:53:24Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=f80b73fa20d5c884114b971a20e1b4bb847e054e'/>
<id>urn:sha1:f80b73fa20d5c884114b971a20e1b4bb847e054e</id>
<content type='text'>
Free the taginfo when we're done with it.  Also reduce the scope of a
couple of variables so that it's clear that this is the only path that
uses the taginfo structure.

Coverity-Id: 141883
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>shared: make cgit_free_taginfo() public</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:52:51Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=b19d889f6cb2b8ded469c1676dddb3c71751b0ee'/>
<id>urn:sha1:b19d889f6cb2b8ded469c1676dddb3c71751b0ee</id>
<content type='text'>
We will use this function from ui-tag.c in the next patch.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>shared: remove return value from cgit_free_commitinfo()</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:51:58Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=d9dff37691633aa44524ecae216c103ea497e940'/>
<id>urn:sha1:d9dff37691633aa44524ecae216c103ea497e940</id>
<content type='text'>
This return value is never used and the function always returns NULL.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tree: allow skipping through single-child trees</title>
<updated>2016-10-01T10:45:17Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-07-13T19:19:42Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=000cf294c4d3f3a72b31d8bd0186ac989f596890'/>
<id>urn:sha1:000cf294c4d3f3a72b31d8bd0186ac989f596890</id>
<content type='text'>
If we have only a single element in a directory (for example in Java
package paths), display multiple directories in one go so that it is
possible to navigate directly to the first directory that contains
either files or multiple directories.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-ssdiff: fix decl-after-statement warnings</title>
<updated>2016-10-01T10:43:45Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-07T15:14:49Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=7e67c64894b1093fbc009edd811fee1e76daa2d7'/>
<id>urn:sha1:7e67c64894b1093fbc009edd811fee1e76daa2d7</id>
<content type='text'>
git.git's coding style avoids decl-after-statement and we generally try
to follow it but a few warnings have crept in recently.  Fix the one in
ui-ssdiff.c

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-shared: fix decl-after-statement warnings</title>
<updated>2016-10-01T10:43:45Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-07T15:13:30Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=bead27b730526e4501ebaeb3b7c1116cd09f7b93'/>
<id>urn:sha1:bead27b730526e4501ebaeb3b7c1116cd09f7b93</id>
<content type='text'>
git.git's coding style avoids decl-after-statement and we generally try
to follow it but a few warnings have crept in recently.  Fix the ones in
ui-shared.c

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>configfile: fix EOF handling</title>
<updated>2016-10-01T10:43:33Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-07T14:54:14Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/cgit/commit/?id=35df710a1fa21b62c5328e2c98f29a68a0312a25'/>
<id>urn:sha1:35df710a1fa21b62c5328e2c98f29a68a0312a25</id>
<content type='text'>
Currently we can end up passing EOF to isspace(), which is in fact
libgit's sane_isspace which does:

	((sane_ctype[(unsigned char)(x)] &amp; (GIT_SPACE)) != 0)

It is very unlikely that EOF cast to "unsigned char" will end up in a
character that has the GIT_SPACE bit set, but the standard only requires
that EOF be a negative integer, so it could access any value in the
sane_ctype array.

If it does end up returning true for isspace() then this loop will never
terminate, so handle EOF as a special value in the same way as the other
loops in this function.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
</feed>
