log mercurial/templateutil.py @ 51510:a2f1d97e5284 stable

age author description
Fri, 01 Sep 2023 00:09:55 +0200 Pierre-Yves David pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
Thu, 31 Aug 2023 23:56:15 +0200 Pierre-Yves David safehasattr: drop usage in favor of hasattr
Thu, 02 Feb 2023 17:37:51 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Thu, 02 Feb 2023 17:37:44 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Thu, 02 Feb 2023 17:37:37 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Thu, 02 Feb 2023 17:37:31 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Thu, 02 Feb 2023 17:37:25 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Thu, 02 Feb 2023 17:37:58 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
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
Sun, 15 Mar 2020 16:00:45 +0900 Yuya Nishihara templater: remember cache key of evaluated revset
Sun, 15 Mar 2020 22:01:38 +0900 Yuya Nishihara templater: fix cbor() filter to accept smartset
Sun, 15 Mar 2020 15:12:44 +0900 Yuya Nishihara templater: introduce wrapper for smartset (API)
Wed, 06 Nov 2019 17:46:26 -0500 Augie Fackler pytype: don't warn us about ignored-on-py3 metaclasses
Wed, 06 Nov 2019 17:46:12 -0500 Augie Fackler templateutil: fix a missing ABCMeta assignment
Mon, 07 Oct 2019 00:04:04 -0400 Gregory Szorc py3: finish porting iteritems() to pycompat and remove source transformer
Sun, 06 Oct 2019 16:55:18 -0400 Gregory Szorc py3: manually import getattr where it is needed
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
Sat, 18 May 2019 19:56:06 -0400 Matt Harbison templater: drop support for old style keywords (API)
Wed, 12 Dec 2018 22:45:02 +0900 Yuya Nishihara templatefuncs: specialize "no match" value of search() to allow % operation
Fri, 19 Oct 2018 21:11:30 +0900 Yuya Nishihara templater: add wrapper for a single template mapping
Thu, 07 Jun 2018 23:27:54 +0900 Yuya Nishihara templater: remove unused context argument from most resourcemapper functions
Sun, 05 Aug 2018 16:27:09 +0900 Yuya Nishihara templatekw: alias {name} of file copies dict to {path}
Sun, 05 Aug 2018 16:14:18 +0900 Yuya Nishihara templatekw: alias {file} of files list to {path}
Sun, 25 Feb 2018 21:04:33 +0900 Yuya Nishihara templatekw: deprecate old-style template keyword function (API)
Thu, 14 Jun 2018 23:10:14 +0900 Yuya Nishihara templater: extend filter() to accept template expression for emptiness test
Thu, 14 Jun 2018 22:33:26 +0900 Yuya Nishihara templater: introduce filter() function to remove empty items from list
Sun, 17 Jun 2018 16:10:38 +0900 Yuya Nishihara templater: fix truth testing of integer 0 taken from a list/dict
Wed, 13 Jun 2018 21:57:24 +0900 Yuya Nishihara templater: restore the original string format of {date}
Sat, 09 Jun 2018 13:34:47 +0900 Yuya Nishihara templater: abstract truth testing to fix {if(list_of_empty_strings)}
Sat, 24 Mar 2018 17:59:19 +0900 Yuya Nishihara templater: make date wrapper support dot/map operations
Sat, 24 Mar 2018 17:54:02 +0900 Yuya Nishihara templater: introduce a wrapper for date tuple (BC)
Sat, 21 Apr 2018 19:01:35 +0900 Yuya Nishihara templater: promote tomap() to an interface type
Sat, 09 Jun 2018 12:36:06 +0900 Yuya Nishihara templater: rename mappable to hybriditem as it is the primary use case
Tue, 05 Jun 2018 21:40:33 +0900 Yuya Nishihara templater: fix string representation of wrapped None
Fri, 08 Jun 2018 20:57:54 +0900 Yuya Nishihara templater: show slightly better hint on map operation error
Wed, 21 Mar 2018 12:28:12 +0900 Yuya Nishihara templater: inline unwraphybrid()
Mon, 19 Mar 2018 00:26:55 +0900 Yuya Nishihara templater: drop hybrid-ness on unwrapvalue()
Fri, 23 Mar 2018 22:31:58 +0900 Yuya Nishihara templater: mark .keytype as a private attribute
Mon, 19 Mar 2018 00:23:20 +0900 Yuya Nishihara templater: abstract ifcontains() over wrapped types
Wed, 21 Mar 2018 12:06:18 +0900 Yuya Nishihara templater: inline wraphybridvalue()
Mon, 19 Mar 2018 00:16:12 +0900 Yuya Nishihara templater: abstract min/max away
Fri, 04 May 2018 12:43:15 +0900 Yuya Nishihara templater: resolve type of dict key in getmember()
Wed, 21 Mar 2018 11:30:21 +0900 Yuya Nishihara templater: promote getmember() to an interface of wrapped types
Wed, 21 Mar 2018 01:39:44 +0900 Yuya Nishihara templater: move getdictitem() to hybrid class
Sat, 21 Apr 2018 17:43:16 +0900 Yuya Nishihara templater: add try-except stub to runmember()
Wed, 21 Mar 2018 01:18:29 +0900 Yuya Nishihara templater: do dict lookup over a wrapped object
Sat, 21 Apr 2018 17:21:31 +0900 Yuya Nishihara templater: always map over a wrapped object
Sat, 21 Apr 2018 17:15:11 +0900 Yuya Nishihara templater: consistently join() string-like object per character (BC)
Tue, 20 Mar 2018 23:56:26 +0900 Yuya Nishihara templater: add wrapped types for pure non-list/dict values
Wed, 04 Apr 2018 21:06:14 +0900 Yuya Nishihara templater: unify unwrapvalue() with _unwrapvalue()
Wed, 04 Apr 2018 21:01:21 +0900 Yuya Nishihara templater: inline unwrapvalue()
Sat, 17 Mar 2018 23:34:38 +0900 Yuya Nishihara formatter: remove template resources from nested items before generating JSON
Sun, 18 Mar 2018 23:36:52 +0900 Yuya Nishihara templater: wrap result of '%' operation so it never looks like a thunk
Mon, 02 Apr 2018 21:54:12 +0900 Yuya Nishihara templater: deduplicate iterator of overlay mappings
Sun, 18 Mar 2018 21:01:23 +0900 Yuya Nishihara templater: complain about invalid application of '%' operator (BC)
Sat, 17 Mar 2018 22:47:02 +0900 Yuya Nishihara templater: add class representing a nested mappings
Sat, 17 Mar 2018 22:30:25 +0900 Yuya Nishihara templater: mark .joinfmt as a private attribute
Sat, 17 Mar 2018 22:06:31 +0900 Yuya Nishihara templater: abstract away from joinfmt
Tue, 20 Mar 2018 23:16:28 +0900 Yuya Nishihara templater: micro-optimize join() with empty separator
Sat, 17 Mar 2018 21:42:27 +0900 Yuya Nishihara templater: factor out generator of join()-ed items
Sun, 18 Mar 2018 23:24:50 +0900 Yuya Nishihara templater: pass context to itermaps() for future extension
Sat, 17 Mar 2018 21:21:50 +0900 Yuya Nishihara templater: define interface for objects which act as iterator of mappings
Sat, 17 Mar 2018 21:03:16 +0900 Yuya Nishihara templater: define interface for objects requiring unwrapvalue()
Fri, 23 Mar 2018 21:40:16 +0900 Yuya Nishihara templater: extract private function to evaluate generator to byte string
Sun, 18 Mar 2018 23:14:21 +0900 Yuya Nishihara templater: pass (context, mapping) down to unwrapvalue()
Sat, 17 Mar 2018 20:58:28 +0900 Yuya Nishihara templater: drop unneeded generator from mappable object
Sat, 17 Mar 2018 20:56:42 +0900 Yuya Nishihara templater: mark .gen as a private attribute
Sat, 17 Mar 2018 20:52:50 +0900 Yuya Nishihara templater: define interface for objects requiring unwraphybrid()
Sat, 17 Mar 2018 20:09:05 +0900 Yuya Nishihara templater: pass (context, mapping) down to unwraphybrid()
Sun, 18 Mar 2018 16:57:07 +0900 Yuya Nishihara templater: drop global exception catcher from runfilter() (API)
Sun, 18 Mar 2018 16:12:44 +0900 Yuya Nishihara templatefilters: declare input type as date where appropriate
Tue, 20 Mar 2018 22:57:36 +0900 Yuya Nishihara templater: attach hint to input-type error of runfilter()
Sun, 18 Mar 2018 15:58:22 +0900 Yuya Nishihara templatefuncs: use evaldate() where seems appropriate
Sun, 18 Mar 2018 15:55:31 +0900 Yuya Nishihara templater: factor out function that parses argument as date tuple
Sun, 18 Mar 2018 15:14:58 +0900 Yuya Nishihara templatefilters: allow declaration of input data type
Fri, 23 Mar 2018 20:43:55 +0900 Yuya Nishihara templater: factor out unwrapastype() from evalastype()
Fri, 23 Mar 2018 20:34:12 +0900 Yuya Nishihara templater: extract unwrapinteger() function from evalinteger()
Fri, 23 Mar 2018 21:03:21 +0900 Yuya Nishihara templater: extract type conversion from evalfuncarg()
Fri, 23 Mar 2018 20:23:55 +0900 Yuya Nishihara templater: drop bool support from evalastype()
Sat, 17 Mar 2018 20:04:20 +0900 Yuya Nishihara templateutil: reimplement stringify() using flatten()
Sat, 17 Mar 2018 20:00:54 +0900 Yuya Nishihara templateutil: move flatten() from templater
Sat, 17 Mar 2018 17:41:07 +0900 Yuya Nishihara formatter: port handling of 'originalnode' to populatemap() hook
Thu, 22 Mar 2018 21:56:20 +0900 Yuya Nishihara stringutil: bulk-replace call sites to point to new module
Thu, 15 Mar 2018 21:22:52 +0900 Yuya Nishihara templater: factor out function to create mapping dict for nested evaluation
Thu, 15 Mar 2018 20:43:39 +0900 Yuya Nishihara templater: introduce resourcemapper class
Fri, 16 Mar 2018 23:09:21 +0900 Yuya Nishihara templater: drop 'templ' from resources dict
Fri, 16 Mar 2018 22:47:15 +0900 Yuya Nishihara templater: use template context to render old-style list template
Fri, 16 Mar 2018 21:39:32 +0900 Yuya Nishihara templater: use named function to expand template against mapping dict (API)
Sun, 11 Mar 2018 21:05:29 +0900 Yuya Nishihara templater: convert resources to a table of callables for future extension
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
Thu, 08 Mar 2018 22:33:24 +0900 Yuya Nishihara templater: extract template evaluation utility to new module base mercurial/templater.py@ad651c8f29a4