<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-shared.h, branch v1.0</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-shared.h?h=v1.0</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-shared.h?h=v1.0'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2016-02-08T17:28:18Z</updated>
<entry>
<title>Avoid DATE_STRFTIME for long/short dates</title>
<updated>2016-02-08T17:28:18Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:05:54Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9c15f3c6954e43c5ffd36230e666eccf112803f2'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ui-shared: remove cgit_print_date()</title>
<updated>2016-02-08T13:23:16Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:08Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=17c74eefa4390d42a244b12885dc63ac4a764e44'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ui: show ages in the originator's timezone</title>
<updated>2016-02-08T13:22:21Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:05Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f2a901d2e1db5217d6890b26c6dc1ec119505d02'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ui-shared: add cgit_date_mode()</title>
<updated>2016-02-08T13:21:34Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=360af46fac6fe79ec1868141a6c34b4c6b732ba0'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ui-shared: remove "format" from cgit_print_age()</title>
<updated>2016-02-08T13:19:33Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Fix missing prototype declarations</title>
<updated>2016-01-14T13:02:29Z</updated>
<author>
<name>Peter Colberg</name>
<email>peter@colberg.org</email>
</author>
<published>2016-01-13T22:25:07Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=4c69241b052f7fa6d4c967bd9bc97c9db92a9572'/>
<id>urn:sha1:4c69241b052f7fa6d4c967bd9bc97c9db92a9572</id>
<content type='text'>
Signed-off-by: Peter Colberg &lt;peter@colberg.org&gt;
</content>
</entry>
<entry>
<title>ui-shared: return value of cgit_hosturl is not const</title>
<updated>2015-10-09T12:04:27Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2015-10-09T11:15:50Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f77e2a8cfaf07b25ddedd57348a1d957b048bbf5'/>
<id>urn:sha1:f77e2a8cfaf07b25ddedd57348a1d957b048bbf5</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-shared: return value of cgit_currenturl is not const</title>
<updated>2015-10-09T12:00:56Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2015-10-09T11:15:47Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c5c0eb873e0b9e40ffc3e85b621310ee85059ceb'/>
<id>urn:sha1:c5c0eb873e0b9e40ffc3e85b621310ee85059ceb</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-shared: add cgit_print_layout_{start,end}()</title>
<updated>2015-08-14T13:46:51Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-08-14T11:47:11Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=764987980ec0e806205b8e075feafd4e010dcbd9'/>
<id>urn:sha1:764987980ec0e806205b8e075feafd4e010dcbd9</id>
<content type='text'>
These will avoid needing to call three functions to start page layout in
subsequent patches when we move the layout setup into each individual
page.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-shared: add cgit_print_error_page() function</title>
<updated>2015-08-14T13:46:51Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-08-14T11:47:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=aec1204a54e3baa12c76db75c2f67696def05eb0'/>
<id>urn:sha1:aec1204a54e3baa12c76db75c2f67696def05eb0</id>
<content type='text'>
This will allow us to generate error responses with the correct HTTP
response code without needing all of the layout boilerplate.

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