log mercurial/templatefilters.py @ 49854:cb3918e5bc77

age author description
Thu, 15 Sep 2022 01:48:38 +0200 Manuel Jacob templates: add filter to reverse list
Sun, 29 May 2022 15:17:27 +0200 Manuel Jacob py3: replace `pycompat.xrange` by `range`
Thu, 24 Mar 2022 16:09:12 -0700 Martin von Zweigbergk templates: extract function to `stringutil` for getting first line of text
Thu, 24 Mar 2022 15:41:29 -0700 Martin von Zweigbergk templates: make `firstline` filter not keep '\v', '\f' and similar
Mon, 21 Feb 2022 11:24:57 -0700 Gregory Szorc py3: use str instead of pycompat.unicode
Tue, 01 Mar 2022 20:50:34 -0800 Gregory Szorc py3: use int instead of pycompat.long
Thu, 03 Mar 2022 18:28:30 -0800 Gregory Szorc global: bulk replace simple pycompat.iteritems(x) with x.items()
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
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