summary refs log tree commit diff
path: root/curtis
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2024-07-26 15:50:15 -0400
committerJune McEnroe <june@causal.agency>2024-07-26 15:50:15 -0400
commit2e2d7556a06d065dc602d462c5f147f8f2f89f4e (patch)
tree6ec29e47cc8ec365cf650c3b80115695302ab57a /curtis
parentAdd photos from July 9 (diff)
downloadsrc-2e2d7556a06d065dc602d462c5f147f8f2f89f4e.tar.gz
src-2e2d7556a06d065dc602d462c5f147f8f2f89f4e.zip
Add photos from July 14
Diffstat (limited to 'curtis')
0 files changed, 0 insertions, 0 deletions
2-22 18:40:13 +0100'>2016-02-22 | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * ui-atom: avoid DATE_STRFTIMEJohn Keeping2016-02-08 | | | | | | | | | | | | | | 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 <john@keeping.me.uk> * Avoid DATE_STRFTIME for long/short datesJohn Keeping2016-02-08 | | | | | | | | | | | 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 <john@keeping.me.uk> * parsing: add timezone to ident structuresJohn Keeping2016-02-08 | | | | | | | 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 <john@keeping.me.uk> * ui-plain: add enable-html-serving flagJason A. Donenfeld2016-01-14 | | | | Unrestricts plain/ to contents likely to be executed by browser. * ui-blob: Do not accept mimetype from userJason A. Donenfeld2016-01-14 | * refactor get_mimetype_from_file() to get_mimetype_for_filename()Christian Hesse2015-08-17 | | | | | | | * handle mimetype within a single function * return allocated memory on success Signed-off-by: Christian Hesse <mail@eworm.de> * move get_mimetype_from_file() to sharedChristian Hesse2015-08-17 | | | | Signed-off-by: Christian Hesse <mail@eworm.de> * ui-tree: use "sane" isgraph()John Keeping2015-08-13 | | | | | | | | | | | | | | | | | | Git's git-compat-util.h defines a "sane ctype" that does not use locale information and works with signed chars, but it does not include isgraph() so we have included ctype.h ourselves. However, this means we have to include a system header before git-compat-util.h which may lead to the system defining some macros (e.g. _FILE_OFFSET_BITS on Solaris) before git-compat-util.h redefines them with a different value. We cannot include ctype.h after git-compat-util.h because we have defined many of its functions as macros which causes a stream of compilation errors. Defining our own "sane" isgraph() using Git's sane isprint() and isspace() avoids all of these problems. Signed-off-by: John Keeping <john@keeping.me.uk> * cgit.h: move stdbool.h from ui-shared.hJohn Keeping2015-08-13 | | | | | | Follow the Git policy of including system headers in only one place. Signed-off-by: John Keeping <john@keeping.me.uk> * log: allow users to follow a fileJohn Keeping