<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit, branch master</title>
<subtitle>Robin Krahl's fork of cgit</subtitle>
<id>https://git.ireas.org/cgit/atom?h=master</id>
<link rel='self' href='https://git.ireas.org/cgit/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/'/>
<updated>2016-02-08T17:29:11Z</updated>
<entry>
<title>ui-atom: avoid DATE_STRFTIME</title>
<updated>2016-02-08T17:29:11Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=75298209bf8386656b82f185e2901690ac5b671c'/>
<id>urn:sha1: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>
</entry>
<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='https://git.ireas.org/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-stats: cast pointer before checking for zero</title>
<updated>2016-02-08T17:27:38Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T14:12:35Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=bdcbe0922d7099ebd61d875709ea9408bc1d7543'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ui-stats: if we're going to abuse void*, do it safely</title>
<updated>2016-02-08T13:35:47Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-08T13:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=a8b9ef8c1c68fbb9c89db2d8c12dca38c15e2bfd'/>
<id>urn:sha1:a8b9ef8c1c68fbb9c89db2d8c12dca38c15e2bfd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>git: update to v2.7.1</title>
<updated>2016-02-08T13:24:52Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-02-08T08:06:47Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=85ec9f0211a0c83d6cca744e6e40d73daf4050fc'/>
<id>urn:sha1: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>
</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='https://git.ireas.org/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-atom: use show_date directly for atom dates</title>
<updated>2016-02-08T13:23:02Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:07Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=eb80b4edadd07957f667f057c82875c30a822a1f'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ui-shared: use show_date for footer timestamp</title>
<updated>2016-02-08T13:22:42Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=e68c86e8c54a6f03e7405dff3d38995c6c42e4fa'/>
<id>urn:sha1:e68c86e8c54a6f03e7405dff3d38995c6c42e4fa</id>
<content type='text'>
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='https://git.ireas.org/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-{commit,tag}: show dates in originator's timezone</title>
<updated>2016-02-08T13:21:56Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:04Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/cgit/commit/?id=21dcf10386551a2eee3e552c3213bb14e535cbba'/>
<id>urn:sha1: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>
</entry>
</feed>
