<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-shared.h, branch v0.11.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-shared.h?h=v0.11.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-shared.h?h=v0.11.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2015-03-03T16:33:34Z</updated>
<entry>
<title>Make root handling sane again.</title>
<updated>2015-03-03T16:33:34Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-03-03T16:23:40Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2e4a41e84029cbfa70c654fe5dfb35747f2dfbba'/>
<id>urn:sha1:2e4a41e84029cbfa70c654fe5dfb35747f2dfbba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ui-shared: Add current url helper function.</title>
<updated>2015-03-03T16:18:42Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-03-03T16:18:42Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6bcda2f73da605d48279341b1905c1b234a39368'/>
<id>urn:sha1:6bcda2f73da605d48279341b1905c1b234a39368</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tag: reference with "h" instead of "id"</title>
<updated>2015-01-19T16:52:10Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-01-15T22:18:14Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c422b9b3d5938a4d386533604d4c0dbedfcb2b6d'/>
<id>urn:sha1:c422b9b3d5938a4d386533604d4c0dbedfcb2b6d</id>
<content type='text'>
When clicking on "log" from a tag we end up showing the log of whatever
branch we used to reach the tag.  If the tag doesn't point onto a branch
then the tagged commit won't appear in this output.

By linking to tags with the head parameter instead of the "id" parameter
the log link will show the log of the tag.  This is clearly desirable
when the tag has been reached from the refs UI and changing the
behaviour for tag decorations makes them match branch decorations where
log -&gt; decoration -&gt; log shows the log of the decoration.

Reported-by: Ferry Huberts &lt;mailings@hupie.com&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Extract clone URL printing to ui-shared.c</title>
<updated>2014-12-24T02:04:04Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-08-01T21:14:17Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=bbfa006e6eb93d56842c1d90bbba1c5484afb855'/>
<id>urn:sha1:bbfa006e6eb93d56842c1d90bbba1c5484afb855</id>
<content type='text'>
This will allow us to reuse the same logic to add clone URL &lt;link/&gt;
elements to the header of all repo-specific pages in order to support
the rel-vcs microformat.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-shared: remove toggle_ssdiff arg to cgit_diff_link()</title>
<updated>2014-12-13T11:38:42Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-10-05T09:59:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=03f537f1a134c8578ae4c16055596539fbbcc220'/>
<id>urn:sha1:03f537f1a134c8578ae4c16055596539fbbcc220</id>
<content type='text'>
This argument is never used with a value other than zero, so remove it
and simplify the code.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-shared: remove toggle_ssdiff arg to cgit_commit_link()</title>
<updated>2014-12-13T11:38:42Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-10-05T09:59:02Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=eeddb5bc0905d4728001a111a9b1eb60ecccf9bd'/>
<id>urn:sha1:eeddb5bc0905d4728001a111a9b1eb60ecccf9bd</id>
<content type='text'>
This argument is never used with a value other than zero, so remove it
and simplify the code.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Switch to exclusively using global ctx</title>
<updated>2014-01-16T23:44:54Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-15T20:53:15Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f60ffa143cca61e9729ac71033e1a556cf422871'/>
<id>urn:sha1:f60ffa143cca61e9729ac71033e1a556cf422871</id>
<content type='text'>
Drop the context parameter from the following functions (and all static
helpers used by them) and use the global context instead:

* cgit_print_http_headers()
* cgit_print_docstart()
* cgit_print_pageheader()

Remove context parameter from all commands

Drop the context parameter from the following functions (and all static
helpers used by them) and use the global context instead:

* cgit_get_cmd()
* All cgit command functions.
* cgit_clone_info()
* cgit_clone_objects()
* cgit_clone_head()
* cgit_print_plain()
* cgit_show_stats()

In initialization routines, use the global context variable instead of
passing a pointer around locally.

Remove callback data parameter for cache slots

This is no longer needed since the context is always read from the
global context variable.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>auth: have cgit calculate login address</title>
<updated>2014-01-16T22:21:54Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T22:21:54Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a431326e8fab8153905fbde036dd3c9fb4cc8eaa'/>
<id>urn:sha1:a431326e8fab8153905fbde036dd3c9fb4cc8eaa</id>
<content type='text'>
This way we're sure to use virtual root, or any other strangeness
encountered.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui-shared: Drop filepair_cb_raw() and helper</title>
<updated>2013-09-14T17:31:50Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2013-08-27T08:40:51Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d181d6593f827a524b9a7ebc860fa53410fddea2'/>
<id>urn:sha1:d181d6593f827a524b9a7ebc860fa53410fddea2</id>
<content type='text'>
Remove filepair_cb_raw() and all related functions. These are no longer
needed. We now use Git's internal functions for raw diff formatting
everywhere.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Extract filepair_cb from ui-patch.c</title>
<updated>2013-08-16T19:15:37Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2013-08-14T08:50:31Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=747b035dda97ae359ed00d84744acfa8cc009fb2'/>
<id>urn:sha1:747b035dda97ae359ed00d84744acfa8cc009fb2</id>
<content type='text'>
Move filepair_cb() from ui-patch.c to ui-shared.c and rename it to
filepair_cb_raw(). This callback will be used in ui-diff.c in a
follow-up patch.

Note that it is not straightforward to extract filepair_cb() from
ui-diff.c which is why it is not done here as well.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
</feed>
