<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit, branch lf/for-jason</title>
<subtitle>ui for git.eugenetriguba.com
</subtitle>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/'/>
<entry>
<title>ui-plain: print symlink content</title>
<updated>2017-08-10T13:15:58+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2017-03-06T23:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=135a75540421a3c8b82634730a3765d1e49442ea'/>
<id>135a75540421a3c8b82634730a3765d1e49442ea</id>
<content type='text'>
We currently ignore symlinks in ui-plain, leading to a 404.  In ui-tree
we print the content of the blob (that is, the path to the target of the
link), so it makes sense to do the same here.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We currently ignore symlinks in ui-plain, leading to a 404.  In ui-tree
we print the content of the blob (that is, the path to the target of the
link), so it makes sense to do the same here.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgit: don't set vpath unless repo is set</title>
<updated>2017-08-10T13:15:57+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2017-02-19T12:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=7d9b5590f4ffbc5d8a6fe30e3e9715ad4b5ca7bd'/>
<id>7d9b5590f4ffbc5d8a6fe30e3e9715ad4b5ca7bd</id>
<content type='text'>
After the previous two patches, this can be classified as a tidy up
rather than a bug fix, but I think it makes sense to group all of the
tests together before setting up the environment for the command to
execute.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the previous two patches, this can be classified as a tidy up
rather than a bug fix, but I think it makes sense to group all of the
tests together before setting up the environment for the command to
execute.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>parsing: clear query path before starting</title>
<updated>2017-08-10T13:15:57+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2017-02-19T12:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=c0d2423f07099366815856500faec3a69db1701a'/>
<id>c0d2423f07099366815856500faec3a69db1701a</id>
<content type='text'>
By specifying the "url" query parameter multiple times it is possible to
end up with ctx.qry.vpath set while ctx.repo is null, which triggers an
invalid code path from cgit_print_pageheader() while printing path
crumbs, resulting in a null dereference.

The previous patch fixed this segfault, but it makes no sense for us to
clear ctx.repo while leaving ctx.qry.path set to the previous value, so
let's just clear it here so that the last "url" parameter given takes
full effect rather than partially overriding the effect of the previous
value.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By specifying the "url" query parameter multiple times it is possible to
end up with ctx.qry.vpath set while ctx.repo is null, which triggers an
invalid code path from cgit_print_pageheader() while printing path
crumbs, resulting in a null dereference.

The previous patch fixed this segfault, but it makes no sense for us to
clear ctx.repo while leaving ctx.qry.path set to the previous value, so
let's just clear it here so that the last "url" parameter given takes
full effect rather than partially overriding the effect of the previous
value.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: don't print path crumbs without a repo</title>
<updated>2017-08-10T13:15:56+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2017-02-19T12:27:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=fdcd7dc8186e8d928876ae858b7d2d3a87d29453'/>
<id>fdcd7dc8186e8d928876ae858b7d2d3a87d29453</id>
<content type='text'>
cgit_print_path_crumbs() can call repolink() which assumes that ctx.repo
is non-null.  Currently we don't have any commands that set want_vpath
without also setting want_repo so it shouldn't be possible to fail this
test, but the check in cgit.c is in the wrong order so it is possible to
specify a query string like "?p=log&amp;path=foo/bar" to end up here without
a valid repository.

This was found by American fuzzy lop [0].

[0] http://lcamtuf.coredump.cx/afl/

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cgit_print_path_crumbs() can call repolink() which assumes that ctx.repo
is non-null.  Currently we don't have any commands that set want_vpath
without also setting want_repo so it shouldn't be possible to fail this
test, but the check in cgit.c is in the wrong order so it is possible to
specify a query string like "?p=log&amp;path=foo/bar" to end up here without
a valid repository.

This was found by American fuzzy lop [0].

[0] http://lcamtuf.coredump.cx/afl/

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>filter: set environment variable PYTHONIOENCODING to utf-8</title>
<updated>2017-08-10T13:15:55+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-03-09T00:18:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=67e2b69ec96a117b98c9028013ce0258574efe80'/>
<id>67e2b69ec96a117b98c9028013ce0258574efe80</id>
<content type='text'>
This allows different versions of Python to be used rather than
forcing version specific encoding in each script.

Signed-off-by: Roy Marples &lt;roy@marples.name&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows different versions of Python to be used rather than
forcing version specific encoding in each script.

Signed-off-by: Roy Marples &lt;roy@marples.name&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-atom: properly escape delimiter in page link</title>
<updated>2017-08-10T13:15:54+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2017-01-15T12:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=7f7f91141ced1085dd2c6dbc5c65703d73b1b8c7'/>
<id>7f7f91141ced1085dd2c6dbc5c65703d73b1b8c7</id>
<content type='text'>
If the delimiter here is '&amp;' then it needs to be escaped for inclusion
in an attribute.  Use html_attrf() to ensure that this happens (we know
that hex won't need escaping, but this makes it clearer what's
happening.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the delimiter here is '&amp;' then it needs to be escaped for inclusion
in an attribute.  Use html_attrf() to ensure that this happens (we know
that hex won't need escaping, but this makes it clearer what's
happening.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.14</title>
<updated>2017-08-10T13:15:54+00:00</updated>
<author>
<name>Jeff Smith</name>
<email>whydoubt@gmail.com</email>
</author>
<published>2017-08-10T00:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=d08d6fcb19bb5f008b34282fe59fed3acd93e67f'/>
<id>d08d6fcb19bb5f008b34282fe59fed3acd93e67f</id>
<content type='text'>
Numerous changes were made to git functions to use an object_id
structure rather than sending sha1 hashes as raw unsigned character
arrays.  The functions that affect cgit are: parse_object,
lookup_commit_reference, lookup_tag, lookup_tree, parse_tree_indirect,
diff_root_tree_sha1, diff_tree_sha1, and format_display_notes.

Commit b2141fc (config: don't include config.h by default) made it
necessary to that config.h be explicitly included when needed.

Commit 07a3d41 (grep: remove regflags from the public grep_opt API)
removed one way of specifying the ignore-case grep option.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Numerous changes were made to git functions to use an object_id
structure rather than sending sha1 hashes as raw unsigned character
arrays.  The functions that affect cgit are: parse_object,
lookup_commit_reference, lookup_tag, lookup_tree, parse_tree_indirect,
diff_root_tree_sha1, diff_tree_sha1, and format_display_notes.

Commit b2141fc (config: don't include config.h by default) made it
necessary to that config.h be explicitly included when needed.

Commit 07a3d41 (grep: remove regflags from the public grep_opt API)
removed one way of specifying the ignore-case grep option.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.13.4</title>
<updated>2017-08-10T13:15:54+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2017-07-24T15:22:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=3d33b46df24d4dee140d0aafb1eba5fffa314cf0'/>
<id>3d33b46df24d4dee140d0aafb1eba5fffa314cf0</id>
<content type='text'>
Update to git version v2.13.4: With commit 8aee769f (pathspec: copy and free
owned memory) the definition of struct pathspec_item has changed with the
expectation that pathspecs will be managed dynamically. We work around this
a bit by setting up a static structure, but let's allocate the match string
to avoid needing to cast away const.

Updated a patch from John Keeping &lt;john@keeping.me.uk&gt; for git v2.12.1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.13.4: With commit 8aee769f (pathspec: copy and free
owned memory) the definition of struct pathspec_item has changed with the
expectation that pathspecs will be managed dynamically. We work around this
a bit by setting up a static structure, but let's allocate the match string
to avoid needing to cast away const.

Updated a patch from John Keeping &lt;john@keeping.me.uk&gt; for git v2.12.1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update .mailmap with my new email address</title>
<updated>2017-07-27T14:20:44+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@lfos.de</email>
</author>
<published>2017-07-27T14:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=7ce19ba550ff0d32359b9fb35eeb6282747524b9'/>
<id>7ce19ba550ff0d32359b9fb35eeb6282747524b9</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused variable from sort_section()</title>
<updated>2017-04-05T04:38:39+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@lfos.de</email>
</author>
<published>2017-04-05T04:38:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=7ebdb30fdf91d1f63b4fb07e54b089136de5507b'/>
<id>7ebdb30fdf91d1f63b4fb07e54b089136de5507b</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-repolist: properly sort by age</title>
<updated>2017-03-30T11:19:54+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2017-03-30T11:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=87c47488d02fcace4da0d468cd9ddd1651b7949e'/>
<id>87c47488d02fcace4da0d468cd9ddd1651b7949e</id>
<content type='text'>
When empty repos exist, comparing them against an existing repo with a
good mtime might, with particular qsort implementations, not sort
correctly, because of this brokenness:

   if (get_repo_modtime(r1, &amp;t) &amp;&amp; get_repo_modtime(r2, &amp;t))

However, sorting by the age column works as expected, so anyway, to tidy
things up, we simply reuse that function.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When empty repos exist, comparing them against an existing repo with a
good mtime might, with particular qsort implementations, not sort
correctly, because of this brokenness:

   if (get_repo_modtime(r1, &amp;t) &amp;&amp; get_repo_modtime(r2, &amp;t))

However, sorting by the age column works as expected, so anyway, to tidy
things up, we simply reuse that function.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-patch: fix crash when using path limit</title>
<updated>2017-01-23T17:36:04+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@lfos.de</email>
</author>
<published>2016-11-24T19:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=be39d22328f841536b8e44e8aaeed80a74ebb353'/>
<id>be39d22328f841536b8e44e8aaeed80a74ebb353</id>
<content type='text'>
The array passed to setup_revisions() must be NULL-terminated. Fixes a
regression introduced in 455b598 (ui-patch.c: Use log_tree_commit() to
generate diffs, 2013-08-20).

Reported-by: Florian Pritz &lt;bluewind@xinu.at&gt;
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The array passed to setup_revisions() must be NULL-terminated. Fixes a
regression introduced in 455b598 (ui-patch.c: Use log_tree_commit() to
generate diffs, 2013-08-20).

Reported-by: Florian Pritz &lt;bluewind@xinu.at&gt;
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax-highlighting: replace invalid unicode with ?</title>
<updated>2017-01-22T11:44:44+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2017-01-22T11:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=5564a5d06678b3f9b0725bc4b2383ea1b7eb5515'/>
<id>5564a5d06678b3f9b0725bc4b2383ea1b7eb5515</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.11.0</title>
<updated>2016-11-30T09:43:08+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-11-30T09:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=91153fd02e62f2eaca8e6c140baa4f2abf39c40e'/>
<id>91153fd02e62f2eaca8e6c140baa4f2abf39c40e</id>
<content type='text'>
Update to git version v2.11.0. Function write_archive()
dropped argument (int setup_prefix).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.11.0. Function write_archive()
dropped argument (int setup_prefix).
</pre>
</div>
</content>
</entry>
<entry>
<title>Link with -ldl on GNU Hurd</title>
<updated>2016-11-25T20:58:18+00:00</updated>
<author>
<name>Peter Colberg</name>
<email>peter@colberg.org</email>
</author>
<published>2016-11-25T20:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=2b993402c7ed5849606a5bf4d3c7cb212f491b06'/>
<id>2b993402c7ed5849606a5bf4d3c7cb212f491b06</id>
<content type='text'>
Debian GNU/Hurd uses the GNU C library.

Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Debian GNU/Hurd uses the GNU C library.

Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.10.2 again</title>
<updated>2016-11-24T18:59:42+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-11-24T18:59:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=5ccd96525835b314c8615738d533d9d0b54a630c'/>
<id>5ccd96525835b314c8615738d533d9d0b54a630c</id>
<content type='text'>
The submodule was accidentally downgraded in commit 8e9ddd21 (Bump
version, 2016-11-23).  Restore v2.10.2 so it matches the makefile again.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The submodule was accidentally downgraded in commit 8e9ddd21 (Bump
version, 2016-11-23).  Restore v2.10.2 so it matches the makefile again.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version.</title>
<updated>2016-11-23T04:24:36+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-11-23T04:24:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=8e9ddd21a50beb9fd660cf6cd6a583234924b932'/>
<id>8e9ddd21a50beb9fd660cf6cd6a583234924b932</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>css: highlight even table rows and skip empty rows</title>
<updated>2016-11-23T04:20:42+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-07-06T20:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=81509a228c7428abeb56ecacb45ccd8dc8fc6209'/>
<id>81509a228c7428abeb56ecacb45ccd8dc8fc6209</id>
<content type='text'>
This is stolen from kernel.org css [0].

[0] https://git.kernel.org/cgit-korg-0.10.1.css
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is stolen from kernel.org css [0].

[0] https://git.kernel.org/cgit-korg-0.10.1.css
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.10.2</title>
<updated>2016-11-06T20:47:04+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-11-06T20:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=44f8c11c8d6edadedb9b83baf6f6a786c0bd8c30'/>
<id>44f8c11c8d6edadedb9b83baf6f6a786c0bd8c30</id>
<content type='text'>
Update to git version v2.10.2, no changes required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.10.2, no changes required.
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-blog: fix oid handling</title>
<updated>2016-10-12T12:13:10+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-10-11T06:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=c330a2e5f86e1f77d3b724877935e11014cefa21'/>
<id>c330a2e5f86e1f77d3b724877935e11014cefa21</id>
<content type='text'>
We have to use a pointer for walk_tree_ctx-&gt;matched_oid.

This fixes faulty commit 6e4b7b6776eb994e795fa38b2619db6c55e10ecc
(ui-blob: replace 'unsigned char sha1[20]' with 'struct object_id oid').
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have to use a pointer for walk_tree_ctx-&gt;matched_oid.

This fixes faulty commit 6e4b7b6776eb994e795fa38b2619db6c55e10ecc
(ui-blob: replace 'unsigned char sha1[20]' with 'struct object_id oid').
</pre>
</div>
</content>
</entry>
<entry>
<title>shared: remove unused function strlpart()</title>
<updated>2016-10-12T12:13:10+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-10-10T18:33:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=2d59e6a64e9869cc8420cb532af29a9eba867004'/>
<id>2d59e6a64e9869cc8420cb532af29a9eba867004</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>shared: remove unused function strrpart()</title>
<updated>2016-10-12T12:13:10+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-10-10T18:32:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=3e2e8f1c249bd52aae728b7f99fc471821a93b55'/>
<id>3e2e8f1c249bd52aae728b7f99fc471821a93b55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-repolist: fix memory leak</title>
<updated>2016-10-12T12:13:10+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-10-10T18:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=7fea585e252ee7a584e4b2d679009518bab48ebe'/>
<id>7fea585e252ee7a584e4b2d679009518bab48ebe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use skip_prefix() to get rid of magic constants</title>
<updated>2016-10-12T12:13:10+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@lfos.de</email>
</author>
<published>2016-10-08T13:45:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=32c27e887732298da1724c0740004925fcadae39'/>
<id>32c27e887732298da1724c0740004925fcadae39</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>patch: reapply path limit</title>
<updated>2016-10-12T11:28:15+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-03-14T22:41:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=5fe88a9c81517b1a8a93d930c738cbb6f71dec2a'/>
<id>5fe88a9c81517b1a8a93d930c738cbb6f71dec2a</id>
<content type='text'>
This was originally applied added in commit eac1b67 (ui-patch: Apply
path limit to generated patch, 2010-06-10) but the ability to limit
patches to particular paths was lost in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20).

The new output is slightly different from the original because Git's
diff infrastructure doesn't give us a way to insert an annotation
immediately after the "---" separator, so the commit has moved below the
diff stat.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was originally applied added in commit eac1b67 (ui-patch: Apply
path limit to generated patch, 2010-06-10) but the ability to limit
patches to particular paths was lost in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20).

The new output is slightly different from the original because Git's
diff infrastructure doesn't give us a way to insert an annotation
immediately after the "---" separator, so the commit has moved below the
diff stat.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-repolist: fix memory leak</title>
<updated>2016-10-07T21:00:51+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-10-07T13:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=c177379547f93955fbd251b2a70a22b9bb85a257'/>
<id>c177379547f93955fbd251b2a70a22b9bb85a257</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.10.1</title>
<updated>2016-10-04T19:54:30+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-10-04T06:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=d6a4730d049216f903fb0466215366f588208a40'/>
<id>d6a4730d049216f903fb0466215366f588208a40</id>
<content type='text'>
Update to git version v2.10.1, no changes required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.10.1, no changes required.
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tree: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T20:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=9dd3c5e93c5af3d35efe6e9f844456eb0f27a819'/>
<id>9dd3c5e93c5af3d35efe6e9f844456eb0f27a819</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tag: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T20:14:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=28185ae40a82d3304ace805c9a44e933270bd581'/>
<id>28185ae40a82d3304ace805c9a44e933270bd581</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-snapshot: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T20:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=406f593895a2cc9f8944e87c94b7b6a94deee470'/>
<id>406f593895a2cc9f8944e87c94b7b6a94deee470</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T20:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=6bef566f99c7f85cbab9692e22b183ae99f33c1d'/>
<id>6bef566f99c7f85cbab9692e22b183ae99f33c1d</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-plain: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T20:08:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=073a8bb3963d53630826ee43f6feefb5a9660dc0'/>
<id>073a8bb3963d53630826ee43f6feefb5a9660dc0</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-patch: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T19:51:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=85793b8181aa93ef6070f137fcb3caee624849b6'/>
<id>85793b8181aa93ef6070f137fcb3caee624849b6</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-log: replace get_sha1() with get_oid()</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T19:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=1a9a75d7c7c33cd89f1c34445d56e51dc349dc31'/>
<id>1a9a75d7c7c33cd89f1c34445d56e51dc349dc31</id>
<content type='text'>
Data structures have been replaced already, so use correct function calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Data structures have been replaced already, so use correct function calls.
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-commit: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T19:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=3a0fd5e6b881e6a38a6be9224db0cf93512c0b2b'/>
<id>3a0fd5e6b881e6a38a6be9224db0cf93512c0b2b</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-blob: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T19:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=6e4b7b6776eb994e795fa38b2619db6c55e10ecc'/>
<id>6e4b7b6776eb994e795fa38b2619db6c55e10ecc</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...

In addition replace memmove() with hashcpy().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...

In addition replace memmove() with hashcpy().
</pre>
</div>
</content>
</entry>
<entry>
<title>cgit: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T19:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=aee990b6a4512e52b1279a0633d112afe2440122'/>
<id>aee990b6a4512e52b1279a0633d112afe2440122</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: remove extra space</title>
<updated>2016-10-01T21:35:04+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-10-01T21:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=ef3108656b9c6e22604c18bd9d05bdc847d81e87'/>
<id>ef3108656b9c6e22604c18bd9d05bdc847d81e87</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify http_parse_querystring()</title>
<updated>2016-10-01T19:19:38+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@lfos.de</email>
</author>
<published>2016-09-29T06:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=927b0ae30c84fbfce877e35415681dce6eba0229'/>
<id>927b0ae30c84fbfce877e35415681dce6eba0229</id>
<content type='text'>
Instead of reimplementing URL parameter parsing from scratch, use
url_decode_parameter_name() and url_decode_parameter_value() which are
already provided by Git.

Also, change the return type of http_parse_querystring() to void since
its only caller already ignores the return value.

Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of reimplementing URL parameter parsing from scratch, use
url_decode_parameter_name() and url_decode_parameter_value() which are
already provided by Git.

Also, change the return type of http_parse_querystring() to void since
its only caller already ignores the return value.

Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tree: remove a fixed size buffer</title>
<updated>2016-10-01T10:46:55+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=e18a85b6a298feef88da8085ef16fd20ce971071'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tag: clean up taginfo</title>
<updated>2016-10-01T10:46:55+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=f80b73fa20d5c884114b971a20e1b4bb847e054e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>shared: make cgit_free_taginfo() public</title>
<updated>2016-10-01T10:46:55+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=b19d889f6cb2b8ded469c1676dddb3c71751b0ee'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will use this function from ui-tag.c in the next patch.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shared: remove return value from cgit_free_commitinfo()</title>
<updated>2016-10-01T10:46:55+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=d9dff37691633aa44524ecae216c103ea497e940'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This return value is never used and the function always returns NULL.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: allow skipping through single-child trees</title>
<updated>2016-10-01T10:45:17+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-07-13T19:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=000cf294c4d3f3a72b31d8bd0186ac989f596890'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-ssdiff: fix decl-after-statement warnings</title>
<updated>2016-10-01T10:43:45+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-07T15:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=7e67c64894b1093fbc009edd811fee1e76daa2d7'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: fix decl-after-statement warnings</title>
<updated>2016-10-01T10:43:45+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-07T15:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=bead27b730526e4501ebaeb3b7c1116cd09f7b93'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>configfile: fix EOF handling</title>
<updated>2016-10-01T10:43:33+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-07T14:54:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=35df710a1fa21b62c5328e2c98f29a68a0312a25'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.10.0</title>
<updated>2016-09-04T10:38:18+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-04T10:38:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=11695a58fd732689be486edf88d145578a787c89'/>
<id>11695a58fd732689be486edf88d145578a787c89</id>
<content type='text'>
Upstream continues to replace unsigned char *sha1 with struct
object_id old_oid. This makes the required changes.

The git lib has its own main function now. Rename our main function
to cmd_main, it is called from main then.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream continues to replace unsigned char *sha1 with struct
object_id old_oid. This makes the required changes.

The git lib has its own main function now. Rename our main function
to cmd_main, it is called from main then.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix qry.head leak on error</title>
<updated>2016-07-11T23:06:04+00:00</updated>
<author>
<name>Richard Maw</name>
<email>richard.maw@gmail.com</email>
</author>
<published>2016-07-02T19:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=ff9893ac8192579a00dd4c73ddff18ab232099a6'/>
<id>ff9893ac8192579a00dd4c73ddff18ab232099a6</id>
<content type='text'>
This is run soon before exiting so it wasn't leaked for long.

Signed-off-by: Richard Maw &lt;richard.maw@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is run soon before exiting so it wasn't leaked for long.

Signed-off-by: Richard Maw &lt;richard.maw@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.9.1</title>
<updated>2016-07-11T23:04:56+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-07-11T22:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=d6b0332982234c73a26119e4ed60d442870b8078'/>
<id>d6b0332982234c73a26119e4ed60d442870b8078</id>
<content type='text'>
Update to git version v2.9.1, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.9.1, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Link with -ldl on GNU/kFreeBSD</title>
<updated>2016-07-06T21:58:03+00:00</updated>
<author>
<name>Peter Colberg</name>
<email>peter@colberg.org</email>
</author>
<published>2016-07-02T02:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=40fbefba0514b33988d453aea05aa2b956e98f84'/>
<id>40fbefba0514b33988d453aea05aa2b956e98f84</id>
<content type='text'>
GNU/kFreeBSD uses the FreeBSD kernel with the GNU C library.

Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GNU/kFreeBSD uses the FreeBSD kernel with the GNU C library.

Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spelling in man page</title>
<updated>2016-07-06T21:45:29+00:00</updated>
<author>
<name>Peter Colberg</name>
<email>peter@colberg.org</email>
</author>
<published>2016-06-10T14:29:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=ccf79b3576d20a65db081725636529641a28d3c9'/>
<id>ccf79b3576d20a65db081725636529641a28d3c9</id>
<content type='text'>
Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: fix segfault when defbranch is NULL</title>
<updated>2016-07-06T09:29:23+00:00</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2016-07-06T07:08:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=590ba455d694deaf2ec206510cf7f047ac365a96'/>
<id>590ba455d694deaf2ec206510cf7f047ac365a96</id>
<content type='text'>
Not sure if there's a better fix for this.  defbranch is
NULL here on my setup when a crawler hit an invalid URL,
causing strcmp to segfault.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not sure if there's a better fix for this.  defbranch is
NULL here on my setup when a crawler hit an invalid URL,
causing strcmp to segfault.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>css: consistent use of empty lines</title>
<updated>2016-07-05T14:15:58+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-06-29T07:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=c19d983ed7b86face56e41effea4fffcf9ad1e19'/>
<id>c19d983ed7b86face56e41effea4fffcf9ad1e19</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-log: color line changes</title>
<updated>2016-07-05T14:14:47+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-06-29T07:37:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=4fb49864db51affddf37ab2a563b0eb4b33e155d'/>
<id>4fb49864db51affddf37ab2a563b0eb4b33e155d</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid ambiguities when prettifying snapshot names</title>
<updated>2016-07-05T14:14:40+00:00</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@lfos.de</email>
</author>
<published>2016-05-24T16:15:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=9984e7ab49c59e49a0d7e62c3435e7133f7a53ec'/>
<id>9984e7ab49c59e49a0d7e62c3435e7133f7a53ec</id>
<content type='text'>
When composing snapshot file names for a tag with a prefix of the form
v[0-9] (resp. V[0-9]), the leading "v" (resp. "V") is stripped. This
leads to conflicts if a tag with the stripped name already exists or if
there are tags only differing in the capitalization of the leading "v".
Make sure we do not strip the "v" in these cases.

Reported-by: Juuso Lapinlampi &lt;wub@partyvan.eu&gt;
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When composing snapshot file names for a tag with a prefix of the form
v[0-9] (resp. V[0-9]), the leading "v" (resp. "V") is stripped. This
leads to conflicts if a tag with the stripped name already exists or if
there are tags only differing in the capitalization of the leading "v".
Make sure we do not strip the "v" in these cases.

Reported-by: Juuso Lapinlampi &lt;wub@partyvan.eu&gt;
Signed-off-by: Lukas Fleischer &lt;lfleischer@lfos.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.9.0</title>
<updated>2016-06-17T10:36:58+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-06-13T20:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=1e039ada8554c7e2fc65524827c61613a24256fb'/>
<id>1e039ada8554c7e2fc65524827c61613a24256fb</id>
<content type='text'>
Update to git version v2.9.0, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.9.0, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgit.mk: Use $PKG_CONFIG</title>
<updated>2016-06-17T10:36:24+00:00</updated>
<author>
<name>Kylie McClain</name>
<email>somasis@exherbo.org</email>
</author>
<published>2016-06-07T21:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=5062fbe7ec16c4f736bca9aab68dde101d6d6163'/>
<id>5062fbe7ec16c4f736bca9aab68dde101d6d6163</id>
<content type='text'>
PKG_CONFIG is a variable dictated by autoconf standards; it should
be used if set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PKG_CONFIG is a variable dictated by autoconf standards; it should
be used if set.
</pre>
</div>
</content>
</entry>
<entry>
<title>md2html: use utf-8 and flush output buffer</title>
<updated>2016-06-17T10:28:03+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-06-17T10:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=7d51120440346108aad74f007431ad65b307f6d7'/>
<id>7d51120440346108aad74f007431ad65b307f6d7</id>
<content type='text'>
Otherwise we get the classic Python UTF-8 errors, and the text is all
out of order. While we're at it, switch to python3 so we only have to
support one set of oddball semantics.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Suggested-by: Daniel Campbell &lt;dlcampbell@gmx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise we get the classic Python UTF-8 errors, and the text is all
out of order. While we're at it, switch to python3 so we only have to
support one set of oddball semantics.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Suggested-by: Daniel Campbell &lt;dlcampbell@gmx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Hosted on HTTPS now</title>
<updated>2016-06-07T12:49:35+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-24T17:01:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=d88ec849c4f7af41a8a41af1a4f79a2b4d41717a'/>
<id>d88ec849c4f7af41a8a41af1a4f79a2b4d41717a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version.</title>
<updated>2016-06-07T12:45:04+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-06-07T12:31:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=a6572ce1762e0d571c3e96b5f4eff7c81015a1f2'/>
<id>a6572ce1762e0d571c3e96b5f4eff7c81015a1f2</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.8.3</title>
<updated>2016-05-20T02:04:43+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-05-19T21:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=41508c091186ece4cdc5d79c5ac0d2eda3d3edef'/>
<id>41508c091186ece4cdc5d79c5ac0d2eda3d3edef</id>
<content type='text'>
Update to git version v2.8.3, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.8.3, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-diff: action='.' is not correct</title>
<updated>2016-05-12T19:39:06+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-05-12T19:38:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d'/>
<id>21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>forms: action should not be empty</title>
<updated>2016-05-12T19:29:49+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-05-12T19:29:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=c34e28835bc06ea9f76f440909f59a697910e9e8'/>
<id>c34e28835bc06ea9f76f440909f59a697910e9e8</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: Remove a name attribute with an empty value</title>
<updated>2016-05-12T15:43:36+00:00</updated>
<author>
<name>Juuso Lapinlampi</name>
<email>wub@partyvan.eu</email>
</author>
<published>2016-05-11T18:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=9afda36ed72083febca5e1a249b7f9f09205fe16'/>
<id>9afda36ed72083febca5e1a249b7f9f09205fe16</id>
<content type='text'>
The name attribute is optional in an input element, but it must not be
an empty value.

See: https://html.spec.whatwg.org/#attr-fe-name
See: https://html.spec.whatwg.org/#the-input-element
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The name attribute is optional in an input element, but it must not be
an empty value.

See: https://html.spec.whatwg.org/#attr-fe-name
See: https://html.spec.whatwg.org/#the-input-element
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: HTML-ize DOCTYPE and &lt;html&gt;</title>
<updated>2016-05-12T15:38:01+00:00</updated>
<author>
<name>Juuso Lapinlampi</name>
<email>wub@partyvan.eu</email>
</author>
<published>2016-05-11T18:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=8d05b398bb1f4effcb59dddc62a3ea1f021f8631'/>
<id>8d05b398bb1f4effcb59dddc62a3ea1f021f8631</id>
<content type='text'>
Get rid of the XHTML headers, bringing cgit slowly to the modern age of
HTML.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get rid of the XHTML headers, bringing cgit slowly to the modern age of
HTML.
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: Simplify cgit_print_error_page() logic</title>
<updated>2016-05-12T15:38:00+00:00</updated>
<author>
<name>Juuso Lapinlampi</name>
<email>wub@partyvan.eu</email>
</author>
<published>2016-05-11T17:50:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=80f12b3e7e43edcb06aea9811b790b16ca204c81'/>
<id>80f12b3e7e43edcb06aea9811b790b16ca204c81</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.8.2</title>
<updated>2016-05-12T15:23:29+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-04-30T14:57:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=86bf5b47916fbe53fe637d7181e93a34d2ad6d0c'/>
<id>86bf5b47916fbe53fe637d7181e93a34d2ad6d0c</id>
<content type='text'>
Update to git version v2.8.2.

* Upstream commit 1a0c8dfd89475d6bb09ddee8c019cf0ae5b3bdc2 (strbuf: give
  strbuf_getline() to the "most text friendly" variant) changed API.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.8.2.

* Upstream commit 1a0c8dfd89475d6bb09ddee8c019cf0ae5b3bdc2 (strbuf: give
  strbuf_getline() to the "most text friendly" variant) changed API.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-log: Simplify decoration code</title>
<updated>2016-05-12T15:19:20+00:00</updated>
<author>
<name>Tim Nordell</name>
<email>tim.nordell@logicpd.com</email>
</author>
<published>2016-02-26T20:58:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c'/>
<id>59d8fa1a62e7c19911fdf7ee9ceb0fdf8fa3331c</id>
<content type='text'>
The decoration code inside of git returns the decoration type, so
utilize this to create the decoration spans.  Additionally, use
prettify_refname(...) to get the shorter name for the ref.

Signed-off-by: Tim Nordell &lt;tim.nordell@logicpd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The decoration code inside of git returns the decoration type, so
utilize this to create the decoration spans.  Additionally, use
prettify_refname(...) to get the shorter name for the ref.

Signed-off-by: Tim Nordell &lt;tim.nordell@logicpd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-log: Do not always emit decoration span</title>
<updated>2016-05-12T15:17:02+00:00</updated>
<author>
<name>Tim Nordell</name>
<email>tim.nordell@logicpd.com</email>
</author>
<published>2016-02-26T20:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=499b23979cd29513df16e4c2acce934932e09f7a'/>
<id>499b23979cd29513df16e4c2acce934932e09f7a</id>
<content type='text'>
The decoration span does not need to be emited if there aren't
any decorations to show.  This modification saves slightly
on bandwidth.

Signed-off-by: Tim Nordell &lt;tim.nordell@logicpd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The decoration span does not need to be emited if there aren't
any decorations to show.  This modification saves slightly
on bandwidth.

Signed-off-by: Tim Nordell &lt;tim.nordell@logicpd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Renamed repo-specific configuration for enable-html-serving in cgitrc.5.txt</title>
<updated>2016-03-08T13:42:26+00:00</updated>
<author>
<name>Matt Comben</name>
<email>matt.comben@itdev.co.uk</email>
</author>
<published>2016-03-08T12:05:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=39735d95ca8775204ed4c5f306009707f7da79c6'/>
<id>39735d95ca8775204ed4c5f306009707f7da79c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: redirect should not exit early for cache</title>
<updated>2016-02-26T12:24:35+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-26T12:24:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=e9cbdf64632fbe64d6b0c4974ac947ef954938e7'/>
<id>e9cbdf64632fbe64d6b0c4974ac947ef954938e7</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>about: path_info might not be valid</title>
<updated>2016-02-26T12:14:52+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-26T12:14:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=09a3aa5ae7781a0e461373ede6bc10129cb3f5de'/>
<id>09a3aa5ae7781a0e461373ede6bc10129cb3f5de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tabs: do not use target=_blank</title>
<updated>2016-02-23T14:35:32+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-23T14:35:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=c424b5cb0253d8b55d3932efa51aa703dab2bf40'/>
<id>c424b5cb0253d8b55d3932efa51aa703dab2bf40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>css: fix indentation</title>
<updated>2016-02-23T14:15:57+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-23T14:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=46ff6e1993175057a18b14980696648a1c5e87ab'/>
<id>46ff6e1993175057a18b14980696648a1c5e87ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>css: use less blurry icon for external link</title>
<updated>2016-02-23T14:15:57+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-02-23T09:47:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=a0d22c391e6e2bbe0d10a888df1ba77a468d5a18'/>
<id>a0d22c391e6e2bbe0d10a888df1ba77a468d5a18</id>
<content type='text'>
Your mileage may vary, but for me the old icon looks blurry. The new
one is character 0xf08e from OTF font awsome in size 10.
The icon color is black, gray level is adjusted via opacity.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Your mileage may vary, but for me the old icon looks blurry. The new
one is character 0xf08e from OTF font awsome in size 10.
The icon color is black, gray level is adjusted via opacity.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>md2html: Do syntax highlighting too</title>
<updated>2016-02-23T14:00:05+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-23T05:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=1892cd9a603e1eda206c40efb576bd75b7532be6'/>
<id>1892cd9a603e1eda206c40efb576bd75b7532be6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.7.2</title>
<updated>2016-02-23T02:16:26+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-02-22T22:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=a9e9dfc55f5c57a4065be77c320224f524a9c820'/>
<id>a9e9dfc55f5c57a4065be77c320224f524a9c820</id>
<content type='text'>
Update to git version v2.7.2, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.7.2, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-plain: fix to show a repo's root directory listing in plain view</title>
<updated>2016-02-22T17:46:33+00:00</updated>
<author>
<name>Joe Anakata</name>
<email>jea-signup-github@anakata.org</email>
</author>
<published>2016-02-22T17:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=de6098be6a65a4758ff8eac6359bd6fd30ba7bd3'/>
<id>de6098be6a65a4758ff8eac6359bd6fd30ba7bd3</id>
<content type='text'>
This is to fix the case of accessing http://host.com/cgit.cgi/repo.git/plain/

There is code here to make this case work (match_baselen is set to -1
for top-of-the-tree views) but the unsigned to signed comparison was
always false in this case, causing an empty directory listing without
this fix.

Signed-off-by: Joe Anakata &lt;jea-signup-github@anakata.org&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to fix the case of accessing http://host.com/cgit.cgi/repo.git/plain/

There is code here to make this case work (match_baselen is set to -1
for top-of-the-tree views) but the unsigned to signed comparison was
always false in this case, causing an empty directory listing without
this fix.

Signed-off-by: Joe Anakata &lt;jea-signup-github@anakata.org&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: redirect empty about/ to homepage or summary</title>
<updated>2016-02-22T17:40:15+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-22T15:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=94c02bbf732d938c92df4961026c4d8f6fd4c37e'/>
<id>94c02bbf732d938c92df4961026c4d8f6fd4c37e</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: add homepage to tabs</title>
<updated>2016-02-22T17:40:13+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-22T15:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=5f2664f13c90f083b827d8fafa6cfc01c0c4f513'/>
<id>5f2664f13c90f083b827d8fafa6cfc01c0c4f513</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-atom: avoid DATE_STRFTIME</title>
<updated>2016-02-08T17:29:11+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=75298209bf8386656b82f185e2901690ac5b671c'/>
<id>75298209bf8386656b82f185e2901690ac5b671c</id>
<content type='text'>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since Atom accepts ISO8601 dates [1], we can use Git's
DATE_ISO8601_STRICT instead, which does get this right.  Additionally,
we never use the local timezone here so we can use the
date_mode_from_type() wrapper to simplify the code a bit.

[1] https://tools.ietf.org/html/rfc4287#section-3.3

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since Atom accepts ISO8601 dates [1], we can use Git's
DATE_ISO8601_STRICT instead, which does get this right.  Additionally,
we never use the local timezone here so we can use the
date_mode_from_type() wrapper to simplify the code a bit.

[1] https://tools.ietf.org/html/rfc4287#section-3.3

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid DATE_STRFTIME for long/short dates</title>
<updated>2016-02-08T17:28:18+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=9c15f3c6954e43c5ffd36230e666eccf112803f2'/>
<id>9c15f3c6954e43c5ffd36230e666eccf112803f2</id>
<content type='text'>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since our existing FMT_LONGDATE and FMT_SHORTDATE are pretty-much
perfect matches to DATE_ISO8601 and DATE_SHORT, switch to taking a
date_mode_type directly in cgit_date_mode().

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since our existing FMT_LONGDATE and FMT_SHORTDATE are pretty-much
perfect matches to DATE_ISO8601 and DATE_SHORT, switch to taking a
date_mode_type directly in cgit_date_mode().

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-stats: cast pointer before checking for zero</title>
<updated>2016-02-08T17:27:38+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T14:12:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=bdcbe0922d7099ebd61d875709ea9408bc1d7543'/>
<id>bdcbe0922d7099ebd61d875709ea9408bc1d7543</id>
<content type='text'>
We abuse the "void *util" field as a counter and recently started to
cast it to a uintptr_t to avoid risking nasal demons by performing
arithmetic on a void pointer.

However, compilers are also known to do "interesting" things if they
know that a pointer is or isn't NULL.  Make this safer by checking if
the counter (after casting) is non-zero rather than checking if the
pointer is non-null.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We abuse the "void *util" field as a counter and recently started to
cast it to a uintptr_t to avoid risking nasal demons by performing
arithmetic on a void pointer.

However, compilers are also known to do "interesting" things if they
know that a pointer is or isn't NULL.  Make this safer by checking if
the counter (after casting) is non-zero rather than checking if the
pointer is non-null.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-stats: if we're going to abuse void*, do it safely</title>
<updated>2016-02-08T13:35:47+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-08T13:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=a8b9ef8c1c68fbb9c89db2d8c12dca38c15e2bfd'/>
<id>a8b9ef8c1c68fbb9c89db2d8c12dca38c15e2bfd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git: update to v2.7.1</title>
<updated>2016-02-08T13:24:52+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-02-08T08:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=85ec9f0211a0c83d6cca744e6e40d73daf4050fc'/>
<id>85ec9f0211a0c83d6cca744e6e40d73daf4050fc</id>
<content type='text'>
Update to git version v2.7.1, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update to git version v2.7.1, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: remove cgit_print_date()</title>
<updated>2016-02-08T13:23:16+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=17c74eefa4390d42a244b12885dc63ac4a764e44'/>
<id>17c74eefa4390d42a244b12885dc63ac4a764e44</id>
<content type='text'>
There are no longer any users of this function.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are no longer any users of this function.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-atom: use show_date directly for atom dates</title>
<updated>2016-02-08T13:23:02+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=eb80b4edadd07957f667f057c82875c30a822a1f'/>
<id>eb80b4edadd07957f667f057c82875c30a822a1f</id>
<content type='text'>
This will allow us to remove cgit_print_date and use Git's show_date
consistently.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to remove cgit_print_date and use Git's show_date
consistently.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: use show_date for footer timestamp</title>
<updated>2016-02-08T13:22:42+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=e68c86e8c54a6f03e7405dff3d38995c6c42e4fa'/>
<id>e68c86e8c54a6f03e7405dff3d38995c6c42e4fa</id>
<content type='text'>
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui: show ages in the originator's timezone</title>
<updated>2016-02-08T13:22:21+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=f2a901d2e1db5217d6890b26c6dc1ec119505d02'/>
<id>f2a901d2e1db5217d6890b26c6dc1ec119505d02</id>
<content type='text'>
This affects the tooltip showing the full time and the case when a date
is sufficiently old to be shown in full rather than as an offset.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This affects the tooltip showing the full time and the case when a date
is sufficiently old to be shown in full rather than as an offset.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-{commit,tag}: show dates in originator's timezone</title>
<updated>2016-02-08T13:21:56+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=21dcf10386551a2eee3e552c3213bb14e535cbba'/>
<id>21dcf10386551a2eee3e552c3213bb14e535cbba</id>
<content type='text'>
This is done by switching to Git's show_date() function and the mode
given by cgit_date_mode().

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is done by switching to Git's show_date() function and the mode
given by cgit_date_mode().

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: add cgit_date_mode()</title>
<updated>2016-02-08T13:21:34+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=360af46fac6fe79ec1868141a6c34b4c6b732ba0'/>
<id>360af46fac6fe79ec1868141a6c34b4c6b732ba0</id>
<content type='text'>
This returns the correct mode value for use with Git's show_date() based
on the current CGit configuration and will be used in the following
patches.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This returns the correct mode value for use with Git's show_date() based
on the current CGit configuration and will be used in the following
patches.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>parsing: add timezone to ident structures</title>
<updated>2016-02-08T13:20:08+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=45c87ca1c32dcd5ffd4a681fadf05627d9ce7770'/>
<id>45c87ca1c32dcd5ffd4a681fadf05627d9ce7770</id>
<content type='text'>
This will allow us to mimic Git's behaviour of showing times in the
originator's timezone when displaying commits and tags.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to mimic Git's behaviour of showing times in the
originator's timezone when displaying commits and tags.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: remove "format" from cgit_print_age()</title>
<updated>2016-02-08T13:19:33+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6'/>
<id>57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6</id>
<content type='text'>
We never use any format other than FMT_SHORTDATE, so move that into the
function.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We never use any format other than FMT_SHORTDATE, so move that into the
function.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tree: put reverse path in title</title>
<updated>2016-01-18T15:13:29+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-18T14:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=23f7dadaaba2817c92c42c0a642a3186aa8ef24d'/>
<id>23f7dadaaba2817c92c42c0a642a3186aa8ef24d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax-highlighting: always use utf-8 to avoid ascii codec issues</title>
<updated>2016-01-18T10:14:06+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-18T10:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=d3756bd7b00f9ad6adede3c7f956a25b22a2254a'/>
<id>d3756bd7b00f9ad6adede3c7f956a25b22a2254a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cache: don't check for match with no key</title>
<updated>2016-01-17T16:05:39+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-16T11:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=33bc949a1e927e14479568518bd92e70998e25f8'/>
<id>33bc949a1e927e14479568518bd92e70998e25f8</id>
<content type='text'>
We call open_slot() from cache_ls() without a key since we simply want
to read the path out of the header.  Should the file happen to contain
an empty key then we end up calling memcmp() with NULL and a non-zero
length.  Fix this by assigning slot-&gt;match only if a key is set, which
is always will be in the code paths where we use slot-&gt;match.

Coverity-id: 13807
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We call open_slot() from cache_ls() without a key since we simply want
to read the path out of the header.  Should the file happen to contain
an empty key then we end up calling memcmp() with NULL and a non-zero
length.  Fix this by assigning slot-&gt;match only if a key is set, which
is always will be in the code paths where we use slot-&gt;match.

Coverity-id: 13807
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cache: use size_t for string lengths</title>
<updated>2016-01-17T16:05:19+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-16T11:03:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=3fbfced7401cfcbb8006a9a6ce4add6b37a41a55'/>
<id>3fbfced7401cfcbb8006a9a6ce4add6b37a41a55</id>
<content type='text'>
Avoid integer truncation on 64-bit systems.

Coverity-id: 13864
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid integer truncation on 64-bit systems.

Coverity-id: 13864
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-log: handle parse_commit() errors</title>
<updated>2016-01-17T16:05:00+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-16T11:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=baa5ad1f80f56d3c0b0095bfb468fab28c9b4982'/>
<id>baa5ad1f80f56d3c0b0095bfb468fab28c9b4982</id>
<content type='text'>
If parse_commit() fails, none of the fields in the commit structure will
have been populated so we will dereference NULL when accessing
item-&gt;tree.

There isn't much we can do about the error at this point, but if we
return true then we'll try parsing the commit again from print_commit()
and we can report an error to the user at that point.

Coverity-id: 13801
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If parse_commit() fails, none of the fields in the commit structure will
have been populated so we will dereference NULL when accessing
item-&gt;tree.

There isn't much we can do about the error at this point, but if we
return true then we'll try parsing the commit again from print_commit()
and we can report an error to the user at that point.

Coverity-id: 13801
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version</title>
<updated>2016-01-14T14:43:54+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-14T14:43:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/forks/cgit/commit/?id=e64d5e04c3e22e713539da2b06e1052390aed43d'/>
<id>e64d5e04c3e22e713539da2b06e1052390aed43d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
