log mercurial/templatefilters.py @ 47894:226c7dbeea11

age author description
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Tue, 01 Dec 2020 21:54:46 +0100 Joerg Sonnenberger node: import symbols explicitly
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Thu, 26 Mar 2020 00:07:12 +0900 Yuya Nishihara templater: fix cbor() filter to recursively convert smartset to list
Sun, 15 Mar 2020 22:01:38 +0900 Yuya Nishihara templater: fix cbor() filter to accept smartset
Fri, 15 Nov 2019 10:16:27 -0800 Martin von Zweigbergk templates: make {indent("", " ")} be empty
Sun, 27 Oct 2019 12:51:53 +0900 Yuya Nishihara py3: leverage pycompat.long stable
Mon, 07 Oct 2019 00:04:04 -0400 Gregory Szorc py3: finish porting iteritems() to pycompat and remove source transformer
Mon, 07 Oct 2019 10:58:51 -0400 Pierre-Yves David formatting: run black on all file again
Sun, 06 Oct 2019 14:51:45 -0400 Gregory Szorc py3: stop implicitly importing unicode
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Sun, 10 Mar 2019 13:07:36 +0900 Yuya Nishihara templatefilters: add {x|cbor} filter for custom CBOR output
Wed, 03 Oct 2018 10:27:44 -0700 Martin von Zweigbergk cleanup: some Yoda conditions, this patch removes
Wed, 01 Aug 2018 13:00:45 -0700 Gregory Szorc global: use pycompat.xrange()
Wed, 13 Jun 2018 14:28:39 -0700 Martin von Zweigbergk templatefilters: rename commonprefix to commondir
Wed, 13 Jun 2018 21:58:42 +0900 Yuya Nishihara templatefilters: undeprecate hgdate
Sat, 24 Mar 2018 18:03:23 +0900 Yuya Nishihara templatefilters: deprecate hgdate as {date|hgdate} is the default format
Fri, 20 Apr 2018 15:21:03 +0200 Joerg Sonnenberger templatefilters: add commonprefix
Fri, 11 May 2018 10:36:28 -0700 Martin von Zweigbergk json: reject unicode on py2 as well
Sat, 16 Jan 2016 19:23:53 +0900 Yuya Nishihara templatefilters: document the json filter
Sun, 18 Mar 2018 16:53:08 +0900 Yuya Nishihara templatefilters: raise ProgrammingError if unencodable type passed to json()
Sun, 18 Mar 2018 16:47:44 +0900 Yuya Nishihara templatefilters: handle TypeError by count()
Sun, 18 Mar 2018 16:12:44 +0900 Yuya Nishihara templatefilters: declare input type as date where appropriate
Sun, 18 Mar 2018 15:42:28 +0900 Yuya Nishihara templatefilters: declare input type as bytes where appropriate
Sun, 18 Mar 2018 15:14:58 +0900 Yuya Nishihara templatefilters: allow declaration of input data type
Tue, 27 Mar 2018 11:01:13 -0400 Connor Sheehan stringutil: move person function from templatefilters
Thu, 22 Mar 2018 21:56:20 +0900 Yuya Nishihara stringutil: bulk-replace call sites to point to new module
Thu, 08 Mar 2018 23:15:09 +0900 Yuya Nishihara templater: move hybrid class and functions to templateutil module
Thu, 08 Mar 2018 23:10:46 +0900 Yuya Nishihara templater: move stringify() to templateutil module
Tue, 06 Mar 2018 07:16:41 -0600 Yuya Nishihara py3: fix slicing of bisect label in templatefilters.shortbisect()
Tue, 06 Mar 2018 07:15:01 -0600 Yuya Nishihara templatefilters: inline hbisect.shortlabel()
Thu, 15 Feb 2018 17:18:26 +0100 Boris Feld util: extract all date-related utils in utils/dateutil module
Fri, 02 Mar 2018 09:08:11 -0500 Augie Fackler templatefilters: avoid infinite recursion bug in stringify
Thu, 01 Mar 2018 20:44:38 -0500 Augie Fackler templatefilters: convert arguments to sysstrs for unicode() ctor
Fri, 02 Mar 2018 04:59:27 +0530 Pulkit Goyal templatefilters: stop using str as a variable name
Thu, 01 Mar 2018 06:40:09 -0500 Yuya Nishihara py3: make regexp literal bytes in templatefilters.py
Thu, 01 Mar 2018 06:38:37 -0500 Yuya Nishihara templatefilters: use encoding.unifromlocal/unitolocal() for py3 compatibility
Sun, 07 Jan 2018 12:09:33 +0900 Yuya Nishihara templatefilters: add dirname() filter
Fri, 19 Jan 2018 16:28:11 -0500 Augie Fackler merge with stable
Sun, 07 Jan 2018 12:07:29 +0900 Yuya Nishihara templatefilters: fix doc of basename() stable
Sat, 21 Oct 2017 17:19:02 +0900 Yuya Nishihara templatefilters: add slashpath() to convert path separator to slash
Mon, 16 Oct 2017 22:44:43 -0400 Augie Fackler templatefilters: defend against evil unicode strs in json filter
Thu, 05 Oct 2017 14:16:20 -0400 Augie Fackler python3: use our bytes-only version of cgi.escape everywhere
Sun, 03 Sep 2017 14:32:11 +0900 Yuya Nishihara doctest: bulk-replace string literals with b'' for Python 3
Fri, 09 Jun 2017 21:33:15 +0900 Yuya Nishihara json: pass formatting options recursively
Sun, 23 Apr 2017 13:40:18 +0900 Yuya Nishihara json: avoid extra string manipulation of dict keys
Fri, 09 Jun 2017 21:28:22 +0900 Yuya Nishihara templatefilers: correct filename in header comment
Thu, 20 Apr 2017 19:57:16 +0530 Pulkit Goyal py3: replace str with bytes in isinstance()
Thu, 27 Apr 2017 09:49:57 +0530 Pulkit Goyal py3: use pycompat.bytestr() instead of str()
Thu, 20 Apr 2017 19:51:37 +0530 Pulkit Goyal py3: alias long to int on Python 3
Sat, 15 Apr 2017 10:51:17 +0900 Yuya Nishihara templatefilters: fix crash by string formatting of '{x|splitlines}'
Wed, 05 Apr 2017 21:47:34 +0900 Yuya Nishihara templatekw: have showlist() take mapping dict with no **kwargs expansion (API)
Tue, 04 Apr 2017 22:19:02 +0900 Yuya Nishihara templater: remove __iter__() from _hybrid, resolve it explicitly
Sun, 02 Apr 2017 12:02:17 +0900 Yuya Nishihara formatter: use templatefilters.json()
Sun, 02 Apr 2017 11:54:24 +0900 Yuya Nishihara templatefilters: use list comprehension in json()
Sun, 02 Apr 2017 11:51:25 +0900 Yuya Nishihara templatefilters: unroll handling of None/False/True
Sun, 02 Apr 2017 11:46:49 +0900 Yuya Nishihara templatefilters: drop callable support from json()
Sat, 01 Apr 2017 00:21:17 -0400 Matt Harbison templatefilter: add support for 'long' to json()
Wed, 15 Mar 2017 23:06:50 +0900 Yuya Nishihara util: wrap s.encode('string_escape') call for future py3 compatibility
Wed, 06 Apr 2016 23:22:12 +0000 timeless pycompat: switch to util.urlreq/util.urlerr for py3 compat
Wed, 30 Mar 2016 02:10:44 +0900 FUJIWARA Katsunori templatefilters: use templatefilter to mark a function as template filter
Wed, 30 Mar 2016 02:10:44 +0900 FUJIWARA Katsunori registrar: add templatefilter to mark a function as template filter (API)
Sun, 27 Dec 2015 18:50:03 +0900 Yuya Nishihara templatefilters: drop old jsonescape() function
Sun, 27 Dec 2015 17:59:57 +0900 Yuya Nishihara templatefilters: make json filter be byte-transparent (BC) (issue4926)
Sun, 27 Dec 2015 17:45:05 +0900 Yuya Nishihara templatefilters: add "utf8" to get utf-8 bytes from local-encoding text
Sun, 27 Dec 2015 17:16:45 +0900 Yuya Nishihara templatefilters: drop broken "jsonescape" from filters table (BC)
Wed, 04 Nov 2015 15:17:52 -0600 Matt Mackall merge with stable
Wed, 04 Nov 2015 23:48:15 +0900 Yuya Nishihara templatefilters: try round-trip utf-8 conversion by json filter (issue4933) stable
Mon, 02 Nov 2015 11:56:59 +0000 Pierre-Yves David uescape: also encode non-printable char under 128
Tue, 01 Sep 2015 19:15:16 +0900 Yuya Nishihara templater: port localdate filter to a function
Sat, 04 Jul 2015 16:07:42 +0900 Yuya Nishihara templatefilters: remove redundant 'date' and 'strip' filters
Sat, 08 Aug 2015 20:08:52 -0700 Gregory Szorc templatefilters: use absolute_import
Sun, 12 Jul 2015 16:47:56 +0800 Anton Shestakov templates: introduce revescape filter for escaping symbolic revisions
Sun, 10 May 2015 13:33:51 -0400 Jordi Gutiérrez Hermoso templatefilters: don't stringify None into "None"
Mon, 30 Mar 2015 23:54:29 +0900 Yuya Nishihara templatefilters: add "upper" and "lower" for case conversion
Wed, 31 Dec 2014 13:48:55 -0800 Gregory Szorc templatefilters.json: stabilize output
Wed, 31 Dec 2014 11:22:17 -0800 Gregory Szorc templatefilters.json: call functions
Tue, 09 Sep 2014 22:14:13 +0900 Anton Shestakov templater: add count template filter, plus tests
Mon, 14 Jul 2014 18:53:03 -0500 Matt Mackall merge with stable
Mon, 14 Jul 2014 12:44:45 -0500 Matt Mackall templates: escape NUL bytes in jsonescape (issue4303) stable
Thu, 12 Jun 2014 17:45:41 -0700 Ryan McElroy templatefilter: add splitlines function
Wed, 09 Oct 2013 14:15:34 -0700 Matt Mackall merge with stable
Wed, 09 Oct 2013 11:50:19 -0700 Matt Mackall json: add more paranoid escaping stable
Thu, 03 Oct 2013 14:50:47 +0200 Mads Kiilerich check-code: check for spaces around = for named parameters
Tue, 17 Sep 2013 17:42:13 +0200 David Soria Parra templatefilters: add short format for age formatting
Fri, 19 Jul 2013 12:58:30 -0500 Matt Mackall template: fix tabindent docstring (issue2880) stable
Thu, 18 Apr 2013 15:48:22 -0500 Sean Farley templater: add indentation arguments to the fill function
Wed, 10 Apr 2013 18:56:38 -0500 Sean Farley templater: move templatefilters.func into the same place as the other funcs
Thu, 28 Feb 2013 14:51:59 +0100 Mads Kiilerich merge with stable
Thu, 28 Feb 2013 13:55:00 +0100 Mads Kiilerich templatefilters: add missing import of _ stable
Fri, 08 Feb 2013 18:05:32 +0100 Angel Ezquerra hgweb: add websub template filter
Mon, 15 Oct 2012 09:43:34 -0700 Siddharth Agarwal hgweb: make the escape filter remove null characters (issue2567)
Fri, 10 Aug 2012 20:37:20 +0100 Christian Ebert templatefilters: avoid traceback caused by bogus date input (issue3344)
Mon, 24 Sep 2012 15:54:45 -0500 Matt Mackall templatefilters: add parameterized date method
Mon, 24 Sep 2012 15:54:44 -0500 Matt Mackall templatefilters: add parameterized fill function
Sat, 12 May 2012 16:00:57 +0200 Brodie Rao cleanup: "not x in y" -> "x not in y"
Wed, 28 Mar 2012 16:06:20 +0200 Matteo Capobianco templates/filters: extracting the user portion of an email address
Wed, 07 Mar 2012 01:02:12 +0100 Yann E. MORIN templates/filters: add doctest to the 'person' filter
Tue, 06 Mar 2012 23:23:30 +0100 Yann E. MORIN templates/filters: strip quotes from {author|person}
Thu, 22 Sep 2011 01:36:01 +0200 Yann E. MORIN templates: add 'bisect' keyword to return a cset's bisect status
Mon, 25 Jul 2011 16:02:42 -0500 Augie Fackler templatefilters: use safehasattr instead of hasattr
Mon, 25 Jul 2011 15:30:19 -0500 Augie Fackler globally: use safehasattr(x, '__iter__') instead of hasattr(x, '__iter__')
Fri, 13 May 2011 12:57:27 -0500 Matt Mackall help: consolidate topic hooks in help.py
Sun, 17 Apr 2011 21:34:25 +0200 Adrian Buehlmann templatefilters: improve person() for john.doe@example.com
Wed, 16 Mar 2011 03:28:56 +0100 timeless templates: provide granularity for future values for age filter
Sat, 12 Mar 2011 12:46:31 +0100 Patrick Mezard help: extract items doc generation function
Sat, 12 Mar 2011 12:46:31 +0100 Patrick Mezard templatefilters: move doc from templates.txt to docstrings
Sat, 12 Mar 2011 12:46:31 +0100 Patrick Mezard templatefilters: wrap all filters in dedicated functions
Sat, 12 Mar 2011 12:46:31 +0100 Patrick Mezard templatefilters: prefix helper functions
Sat, 12 Mar 2011 12:46:31 +0100 Patrick Mezard templatefilters: sort function definitions
Sat, 12 Mar 2011 12:46:31 +0100 Patrick Mezard templatefilters: match filter keys and function names
Sat, 12 Mar 2011 12:46:31 +0100 Patrick Mezard templatefilters: sort filters table
Wed, 22 Sep 2010 00:14:57 +0200 Dan Villiom Podlaski Christiansen templater: add hex filter.
Sun, 15 Aug 2010 17:50:52 +0200 Patrick Mezard templatefilters: unnest uescape() stable
Wed, 11 Aug 2010 01:06:21 +0900 Yuya Nishihara templatefilters: use \uxxxx style escape for JSON string stable
Sat, 07 Aug 2010 16:27:16 +0900 Yuya Nishihara templatefilters: make json filter handle multibyte characters correctly stable
Sun, 06 Jun 2010 17:20:10 +0900 FUJIWARA Katsunori replace Python standard textwrap by MBCS sensitive one for i18n text
Mon, 29 Mar 2010 16:11:40 -0500 Matt Mackall templatefilters: fix check-code warning
Sat, 06 Mar 2010 13:29:54 +0100 Benoit Boissinot templatefilters: store the agescales in reverseorder directly
Mon, 25 Jan 2010 00:05:27 -0600 Matt Mackall many, many trivial check-code fixups
Tue, 19 Jan 2010 22:20:08 -0600 Matt Mackall Update license to GPLv2+ stable
Thu, 05 Nov 2009 15:19:54 +0100 Dirkjan Ochtman templater: readable dates older than 24 months revert to ISO8601 (issue1006)
Thu, 05 Nov 2009 14:44:29 +0100 Dirkjan Ochtman templater: put 'ago' inside the age template filter
Sat, 22 Aug 2009 19:40:15 +0200 Nicolas Dumazet templatefilters: indent: do not compute text.endswith('\n') in each iteration
Mon, 13 Jul 2009 09:50:26 +0900 Nicolas Dumazet for calls expecting bool args, pass bool instead of int
Sun, 05 Jul 2009 11:00:44 +0200 Alejandro Santos compat: use // for integer division
Wed, 03 Jun 2009 14:50:03 +0200 Marco Beck templater: retain author's full name if no email is supplied (issue1685)
Sun, 24 May 2009 11:41:07 +0200 Henrik Stuart templatefilters: add filter to convert date to local date (issue1674)
Thu, 14 May 2009 15:35:46 +0200 Peter Arrenbrecht drop unused imports
Thu, 14 May 2009 15:24:36 +0200 Peter Arrenbrecht indentation cleanup
Tue, 12 May 2009 12:04:05 +0200 Dirkjan Ochtman templater: provide the standard template filters by default
Mon, 20 Apr 2009 11:34:15 +0200 Rocco Rutte templatefilters: add "nonempty" template filter
Sun, 26 Apr 2009 01:08:54 +0200 Martin Geisler updated license to be explicit about GPL version 2
Fri, 24 Apr 2009 18:37:44 +0200 Aleix Conchillo Flaque templatefilters: add new stripdir filter
Mon, 06 Apr 2009 10:51:45 +0200 Dirkjan Ochtman templatefilters: split out jsonescape() function
Fri, 03 Apr 2009 14:51:48 -0500 Matt Mackall move encoding bits from util to encoding
Thu, 22 Jan 2009 16:07:44 +0100 Dirkjan Ochtman templater: fix age filter to state the obvious on future timestamps
Wed, 18 Jun 2008 07:06:41 +0200 Dirkjan Ochtman add graph page to hgweb
Mon, 17 Mar 2008 19:17:54 +0200 Giorgos Keramidas Add an {isodatesec} template, to show seconds too.
Tue, 11 Mar 2008 17:42:41 -0500 Matt Mackall dates: improve timezone handling
Mon, 28 Jan 2008 22:19:12 -0500 Jesse Glick Permit XML entities to be escaped in template output.
Sat, 16 Feb 2008 13:33:38 +0100 Thomas Arendsen Hein Make annotae/grep print short dates with -q/--quiet.
Thu, 31 Jan 2008 14:44:19 -0600 Matt Mackall templates: move filters to their own module