mercurial/templatefilters.py
e2697acd9381b68d9070100f7228e8ee62adeef1
created 2018-10-03 10:27 -0700
pushed 2018-10-03 18:07 +0000
Martin von Zweigbergk Martin von Zweigbergk - cleanup: some Yoda conditions, this patch removes
e7aa113b14f77959ad4039d873b57100a4d56b31
created 2018-08-01 13:00 -0700
pushed 2018-08-03 01:30 +0000
Gregory Szorc Gregory Szorc - global: use pycompat.xrange()
fabfbbf4dee21ab04c30464ed8e6cf55e6f08332
created 2018-06-13 14:28 -0700
pushed 2018-06-16 18:13 +0000
Martin von Zweigbergk Martin von Zweigbergk - templatefilters: rename commonprefix to commondir
74b4a54002ecb2059612d5e69ba204d05c818542
created 2018-06-13 21:58 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: undeprecate hgdate
0fe65bb7e160437a90b7f8e1bac580a5a65e50bd
created 2018-03-24 18:03 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: deprecate hgdate as {date|hgdate} is the default format
56dd151781906a3b82ec821830ef80c08eeb9c36
created 2018-04-20 15:21 +0200
pushed 2018-06-07 23:20 +0000
Joerg Sonnenberger Joerg Sonnenberger - templatefilters: add commonprefix
f5a1aa8c69877c5560af9e058f3a4f75022f25e5
created 2018-05-11 10:36 -0700
pushed 2018-05-17 19:27 +0000
Martin von Zweigbergk Martin von Zweigbergk - json: reject unicode on py2 as well
a25513263075d9698d821fbf9f156f4aa7fc709b
created 2016-01-16 19:23 +0900
pushed 2018-05-11 21:24 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: document the json filter
63144f33c8bb7171059e11eb5d69a1e910cdebbc
created 2018-03-18 16:53 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: raise ProgrammingError if unencodable type passed to json()
05db42732fce64c50d30aed9e0d16bdab0827ed7
created 2018-03-18 16:47 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: handle TypeError by count()
9bcf096a2da23d67d467a60b9c25490ff1e97756
created 2018-03-18 16:12 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: declare input type as date where appropriate
08e042f0a67c15e07e04d0112753794c4345c1e7
created 2018-03-18 15:42 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: declare input type as bytes where appropriate
54355c243042fca46e1041a5ed3a65e4aa788e91
created 2018-03-18 15:14 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: allow declaration of input data type
fb7140f1d09d7464fdaebc86d5f8ee31f80353c4
created 2018-03-27 11:01 -0400
pushed 2018-03-30 18:07 +0000
Connor Sheehan Connor Sheehan - stringutil: move person function from templatefilters
f0b6fbea00cfb0997d96b6ec71bec4d2b1b3e96a
created 2018-03-22 21:56 +0900
pushed 2018-03-24 00:21 +0000
Yuya Nishihara Yuya Nishihara - stringutil: bulk-replace call sites to point to new module
82af07e1ae16409fe8f79ce144e8ec9a3ba678c0
created 2018-03-06 07:16 -0600
pushed 2018-03-10 20:58 +0000
Yuya Nishihara Yuya Nishihara - py3: fix slicing of bisect label in templatefilters.shortbisect()
71f1899417910b5447a32d94f6dfd15c7257943f
created 2018-03-06 07:15 -0600
pushed 2018-03-10 20:58 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: inline hbisect.shortlabel()
c6061cadb400661237804abf2208a66728163d1e
created 2018-02-15 17:18 +0100
pushed 2018-03-03 03:46 +0000
Boris Feld Boris Feld - util: extract all date-related utils in utils/dateutil module
9b6b02a5b589e09e47d82a61374ad9ada93471d6
created 2018-03-02 09:08 -0500
pushed 2018-03-02 22:25 +0000
Augie Fackler Augie Fackler - templatefilters: avoid infinite recursion bug in stringify
9d71bd25554b3fedea70f44b164c20d5bd33cbf9
created 2018-03-01 20:44 -0500
pushed 2018-03-02 22:25 +0000
Augie Fackler Augie Fackler - templatefilters: convert arguments to sysstrs for unicode() ctor
a185b1af207c944636608ebd465cf41a80045b1e
created 2018-03-02 04:59 +0530
pushed 2018-03-02 14:51 +0000
Pulkit Goyal Pulkit Goyal - templatefilters: stop using str as a variable name
b546181ae4517e5ef52ca40e663b7768bbb22a0e
created 2018-03-01 06:40 -0500
pushed 2018-03-02 14:51 +0000
Yuya Nishihara Yuya Nishihara - py3: make regexp literal bytes in templatefilters.py
b2e54b257832565869ac8988569790826172b3a2
created 2018-03-01 06:38 -0500
pushed 2018-03-02 14:51 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: use encoding.unifromlocal/unitolocal() for py3 compatibility
9ee10b3284da1ec3f0de7ce24e45af91dcd628a5
created 2018-01-07 12:09 +0900
pushed 2018-02-17 18:26 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: add dirname() filter
6d65cef5b038ff4c141c0bbc1a2e366e45c016a2
created 2018-01-19 16:28 -0500
pushed 2018-01-21 00:53 +0000
Augie Fackler Augie Fackler - merge with stable
d1aae6d4efc5f5b2175220d9b397003feb2efa32
created 2018-01-07 12:07 +0900
pushed 2018-01-11 02:24 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: fix doc of basename() stable
dad8a5071b0a9616f8fea713e8a0dcd222415610
created 2017-10-21 17:19 +0900
pushed 2017-12-19 04:19 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: add slashpath() to convert path separator to slash
4fdc4adbc838e14516d3df8cd21f6212bf159d9a
created 2017-10-16 22:44 -0400
pushed 2017-10-18 21:03 +0000
Augie Fackler Augie Fackler - templatefilters: defend against evil unicode strs in json filter
e178fcaa3933be679293dbca926c56f486c79d85
created 2017-10-05 14:16 -0400
pushed 2017-10-18 21:03 +0000
Augie Fackler Augie Fackler - python3: use our bytes-only version of cgi.escape everywhere
0fa7813202034057501df4a90017d32f990b6b4c
created 2017-09-03 14:32 +0900
pushed 2017-09-14 04:21 +0000
Yuya Nishihara Yuya Nishihara - doctest: bulk-replace string literals with b'' for Python 3
f924dd04397460a95ecfbea8a2f2b1a3af97e088
created 2017-06-09 21:33 +0900
pushed 2017-06-15 18:20 +0000
Yuya Nishihara Yuya Nishihara - json: pass formatting options recursively
08d0892c93d811868771369e42fdaffad5d2e4a2
created 2017-04-23 13:40 +0900
pushed 2017-06-15 18:20 +0000
Yuya Nishihara Yuya Nishihara - json: avoid extra string manipulation of dict keys
ae0ebe93ac707fe9d6c6029171515f72fde04037
created 2017-06-09 21:28 +0900
pushed 2017-06-15 18:20 +0000
Yuya Nishihara Yuya Nishihara - templatefilers: correct filename in header comment
c3342c1772115a2e3b1afce7157fcc061c39f18a
created 2017-04-20 19:57 +0530
pushed 2017-05-08 16:32 +0000
Pulkit Goyal Pulkit Goyal - py3: replace str with bytes in isinstance()
964e7427a691188063f0b268343d487362e1659d
created 2017-04-27 09:49 +0530
pushed 2017-05-08 16:32 +0000
Pulkit Goyal Pulkit Goyal - py3: use pycompat.bytestr() instead of str()
e37fd5be0fedb1004fb3f02c94aa8c8f8e6c6651
created 2017-04-20 19:51 +0530
pushed 2017-05-08 16:32 +0000
Pulkit Goyal Pulkit Goyal - py3: alias long to int on Python 3
2ab7578e685b43ad3edaa9104acd8221368472a3
created 2017-04-15 10:51 +0900
pushed 2017-04-18 18:27 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: fix crash by string formatting of '{x|splitlines}'
e5eab0fe69eeea4e787db1e3a4db45ce6cff1412
created 2017-04-05 21:47 +0900
pushed 2017-04-18 18:27 +0000
Yuya Nishihara Yuya Nishihara - templatekw: have showlist() take mapping dict with no **kwargs expansion (API)
a0f2d83f8083196b7ec235565078afa1b2f2f0e0
created 2017-04-04 22:19 +0900
pushed 2017-04-13 02:35 +0000
Yuya Nishihara Yuya Nishihara - templater: remove __iter__() from _hybrid, resolve it explicitly
654e9a1c8a6ca2af95bae90ecbc4c1d50fe60d2b
created 2017-04-02 12:02 +0900
pushed 2017-04-03 22:24 +0000
Yuya Nishihara Yuya Nishihara - formatter: use templatefilters.json()
47925b63be702fc9b7cd7e2f872823127b77d4b0
created 2017-04-02 11:54 +0900
pushed 2017-04-03 22:24 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: use list comprehension in json()
8d9eafe011110430cd11cf836fae6039eda389c4
created 2017-04-02 11:51 +0900
pushed 2017-04-03 22:24 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: unroll handling of None/False/True
fd687ec5a643fc0842584e37b3d31d60d6d55d3f
created 2017-04-02 11:46 +0900
pushed 2017-04-03 22:24 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: drop callable support from json()
35eb8f112c88669ba3297de16a9acc289aacfdcd
created 2017-04-01 00:21 -0400
pushed 2017-04-03 22:24 +0000
Matt Harbison Matt Harbison - templatefilter: add support for 'long' to json()
53865692a354c9a0d20dbebed48a36b8a5d539d5
created 2017-03-15 23:06 +0900
pushed 2017-03-18 17:32 +0000
Yuya Nishihara Yuya Nishihara - util: wrap s.encode('string_escape') call for future py3 compatibility
032c4c2f802a079ed47a4f95faa73b5df9a165fa
created 2016-04-06 23:22 +0000
pushed 2016-04-16 18:28 +0000
timeless timeless - pycompat: switch to util.urlreq/util.urlerr for py3 compat
11f623b5668f99fa4079fe4e172e7a229df28358
created 2016-03-30 02:10 +0900
pushed 2016-04-09 16:50 +0000
FUJIWARA Katsunori FUJIWARA Katsunori - templatefilters: use templatefilter to mark a function as template filter
6b3b958daf03253ce7286eba2eaeb285a15a7363
created 2016-03-30 02:10 +0900
pushed 2016-04-09 16:50 +0000
FUJIWARA Katsunori FUJIWARA Katsunori - registrar: add templatefilter to mark a function as template filter (API)
93b5c540db69b9130b5549a7eca336d6158d0ee9
created 2015-12-27 18:50 +0900
pushed 2016-02-28 01:45 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: drop old jsonescape() function
d4419c01532bd309503bbffd6f0030a864cbbd6b
created 2015-12-27 17:59 +0900
pushed 2016-02-28 01:45 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: make json filter be byte-transparent (BC) (issue4926)
8ddf893560fa9e664f8cfe7b5ee1e880d6c0f4a3
created 2015-12-27 17:45 +0900
pushed 2016-02-28 01:45 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: add "utf8" to get utf-8 bytes from local-encoding text
f4418ff2f7008c50d636517037ab251506b18dbf
created 2015-12-27 17:16 +0900
pushed 2016-02-28 01:45 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: drop broken "jsonescape" from filters table (BC)
f9984f76fd90e439221425d751e29bae17bec995
created 2015-11-04 15:17 -0600
pushed 2015-11-06 22:01 +0000
Matt Mackall Matt Mackall - merge with stable
baa77652be68a56ba69aac36c36fe8823089fce2
created 2015-11-04 23:48 +0900
pushed 2015-11-06 21:54 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: try round-trip utf-8 conversion by json filter (issue4933) stable
f580c78ea6672fb98ac42ed50f8d6499b22539c2
created 2015-11-02 11:56 +0000
pushed 2015-11-04 20:44 +0000
Pierre-Yves David Pierre-Yves David - uescape: also encode non-printable char under 128
7012be5ab5bd2d433cd20a29b162dfb60f2e8252
created 2015-09-01 19:15 +0900
pushed 2015-09-03 00:29 +0000
Yuya Nishihara Yuya Nishihara - templater: port localdate filter to a function
c568c4db036fa03db0422f0b63bfca1db0b1525f
created 2015-07-04 16:07 +0900
pushed 2015-09-01 19:23 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: remove redundant 'date' and 'strip' filters
less more (0) -100 -60 tip