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
|