log mercurial/templater.py @ 46162:6b9d65298484

age author description
Thu, 12 Nov 2020 10:41:03 -0800 Martin von Zweigbergk errors: raise InputError on recursive template definition
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Fri, 20 Nov 2020 13:24:45 -0800 Martin von Zweigbergk tests: make doctests not depend on str(ParseError()) format
Thu, 22 Oct 2020 09:58:05 -0700 Martin von Zweigbergk errors: name arguments to ParseError constructor
Thu, 10 Sep 2020 22:00:00 -0700 Martin von Zweigbergk templater: fix reading of templates in frozen binaries with py3 < 3.7
Thu, 06 Aug 2020 10:53:00 -0700 Martin von Zweigbergk templater: teach template loader to use open_template() function
Thu, 06 Aug 2020 10:52:52 -0700 Martin von Zweigbergk templater: restructure open_template() a little to prepare for relative paths
Thu, 06 Aug 2020 09:50:10 -0700 Martin von Zweigbergk templater: add exception-raising version of open_template()
Wed, 05 Aug 2020 22:13:51 -0700 Martin von Zweigbergk templater: replace Py3-only exception types by super-types available in Py2
Wed, 05 Aug 2020 14:03:14 -0700 Martin von Zweigbergk hgweb: open mapfile using templater.open_template()
Thu, 30 Jul 2020 21:36:29 -0700 Martin von Zweigbergk templater: try to read %include in mapfiles from resources
Thu, 30 Jul 2020 15:29:06 -0700 Martin von Zweigbergk templater: unroll loop over mapfile directories
Tue, 04 Aug 2020 10:51:25 -0700 Martin von Zweigbergk templater: make open_template() read from resources if in frozen binary
Tue, 04 Aug 2020 13:22:00 -0700 Martin von Zweigbergk templater: pass opened file-like object to templatespec
Tue, 04 Aug 2020 13:21:29 -0700 Martin von Zweigbergk templater: replace templatepath() with function that also opens the file
Thu, 30 Jul 2020 13:44:06 -0700 Martin von Zweigbergk templater: start passing resource to read from into _readmapfile()
Tue, 04 Aug 2020 09:13:10 -0700 Martin von Zweigbergk templater: move stylemap() to hgweb_mod, since that's its only user
Wed, 29 Jul 2020 10:42:09 -0700 Martin von Zweigbergk templater: stop accepting a single style to stylemap()
Wed, 22 Jul 2020 21:23:46 -0700 Martin von Zweigbergk templater: don't normalize path separators to '/' when interacting with OS
Thu, 23 Jul 2020 22:47:55 -0700 Martin von Zweigbergk templater: make templatepath() not return directory paths
Wed, 22 Jul 2020 10:34:24 -0700 Martin von Zweigbergk config: remove now-unused `abs` argument from `include` callback
Fri, 24 Jul 2020 11:24:59 -0700 Martin von Zweigbergk templater: handle None returned from templatedir()
Wed, 22 Jul 2020 00:09:17 -0700 Martin von Zweigbergk templater: do search for include of unqualified builtin outside of config code
Tue, 21 Jul 2020 21:59:12 -0700 Martin von Zweigbergk templater: switch to lower-level config.parse() in _readmapfile()
Tue, 21 Jul 2020 13:41:26 -0700 Martin von Zweigbergk templater: simplify stylemap() now that templatedir() returns a single path
Tue, 21 Jul 2020 13:11:49 -0700 Martin von Zweigbergk templater: make templatepaths() return a single path, or None
Tue, 21 Jul 2020 13:05:37 -0700 Martin von Zweigbergk templater: simplify templatepaths() to avoid iterating a singleton list
Sun, 15 Mar 2020 15:12:44 +0900 Yuya Nishihara templater: introduce wrapper for smartset (API)
Thu, 14 Nov 2019 13:18:22 -0800 Martin von Zweigbergk util: remove datapath and swith users over to resourceutil
Wed, 06 Nov 2019 17:46:26 -0500 Augie Fackler pytype: don't warn us about ignored-on-py3 metaclasses
Mon, 07 Oct 2019 00:04:04 -0400 Gregory Szorc py3: finish porting iteritems() to pycompat and remove source transformer
Sat, 05 Oct 2019 15:47:38 -0400 Yuya Nishihara templater: add public parseexpr() function to parse "-Tjson(...)"
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
Wed, 12 Dec 2018 22:45:02 +0900 Yuya Nishihara templatefuncs: specialize "no match" value of search() to allow % operation
Tue, 13 Nov 2018 22:15:30 +0900 Yuya Nishihara templater: check invalid use of list expression properly (issue5920)
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
Thu, 21 Jun 2018 22:33:42 +0900 Yuya Nishihara templater: remove redundant member variables from templater class
Thu, 21 Jun 2018 22:27:30 +0900 Yuya Nishihara templater: resurrect cache of engine instance
Thu, 21 Jun 2018 22:23:43 +0900 Yuya Nishihara templater: extract template loader to separate class
Thu, 03 May 2018 11:53:56 +0900 Yuya Nishihara templater: add function to look up symbols used in template
Thu, 03 May 2018 11:17:52 +0900 Yuya Nishihara templater: parse template string to tree by templater class
Thu, 03 May 2018 10:58:56 +0900 Yuya Nishihara templater: drop extension point of engine classes (API)
Thu, 03 May 2018 11:09:27 +0900 Yuya Nishihara templater: make it clearer that parsing doesn't cause recursion
Thu, 03 May 2018 10:53:29 +0900 Yuya Nishihara templater: mark most attributes as private
Sat, 24 Mar 2018 17:54:02 +0900 Yuya Nishihara templater: introduce a wrapper for date tuple (BC)
Sat, 09 Jun 2018 12:36:06 +0900 Yuya Nishihara templater: rename mappable to hybriditem as it is the primary use case
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()
Sat, 19 May 2018 18:51:14 +0530 Pulkit Goyal py3: bytestr() bytes to get bytechar while iterating on it
Thu, 15 Mar 2018 21:09:37 +0900 Yuya Nishihara templater: add public interface returning a set of resource keys
Sun, 18 Mar 2018 23:36:52 +0900 Yuya Nishihara templater: wrap result of '%' operation so it never looks like a thunk
Sat, 17 Mar 2018 22:47:02 +0900 Yuya Nishihara templater: add class representing a nested mappings
Sat, 17 Mar 2018 22:56:49 +0900 Yuya Nishihara templater: add function that expands internal literal templates
Sat, 17 Mar 2018 20:09:05 +0900 Yuya Nishihara templater: pass (context, mapping) down to unwraphybrid()
Sat, 17 Mar 2018 20:13:06 +0900 Yuya Nishihara templater: do not use stringify() to concatenate flattened template output
Sat, 17 Mar 2018 20:00:54 +0900 Yuya Nishihara templateutil: move flatten() from templater
Thu, 15 Mar 2018 21:49:33 +0900 Yuya Nishihara templater: add hook point to populate additional mapping items
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:38:57 +0900 Yuya Nishihara templater: drop symbols which should be overridden by new 'ctx' (issue5612)
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:36:40 +0900 Yuya Nishihara templater: add context.preload(t) to test if the specified template exists
Fri, 16 Mar 2018 21:39:32 +0900 Yuya Nishihara templater: use named function to expand template against mapping dict (API)
Mon, 19 Mar 2018 21:55:02 +0900 Yuya Nishihara templater: add brief doc about internal data types
Fri, 16 Mar 2018 21:24:12 +0900 Yuya Nishihara templater: factor out helper that renders named template as string
Sat, 17 Mar 2018 11:23:04 +0900 Yuya Nishihara templater: rename .render(mapping) to .renderdefault(mapping) (API)
Sat, 17 Mar 2018 15:22:14 +0900 Yuya Nishihara templater: fix invalid reference of runsymbol in doctest
Sun, 11 Mar 2018 21:12:02 +0900 Yuya Nishihara templater: process mapping dict by resource callables
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 22:23:02 +0900 Yuya Nishihara templater: split template functions 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
Thu, 08 Mar 2018 22:33:24 +0900 Yuya Nishihara templater: extract template evaluation utility to new module
Thu, 08 Mar 2018 22:20:36 +0900 Yuya Nishihara templater: move function table to the "context" object
Sun, 04 Mar 2018 12:33:15 -0500 Augie Fackler templater: show repr of string we're rejecting
Sun, 04 Mar 2018 07:03:50 -0500 Yuya Nishihara templater: fix position of terminator character in error message
Sat, 03 Mar 2018 14:30:21 -0800 Ryan McElroy templater: provide hint for multi-line templates with parse errors
Sat, 03 Mar 2018 14:23:40 -0800 Ryan McElroy templater: add hint to template parse errors to help locate issues
Sat, 03 Mar 2018 12:36:05 -0500 Yuya Nishihara py3: make os.curdir a bytes
Sat, 03 Mar 2018 12:34:35 -0500 Yuya Nishihara py3: make os.pardir a bytes
Thu, 15 Feb 2018 17:18:26 +0100 Boris Feld util: extract all date-related utils in utils/dateutil module
Sun, 25 Feb 2018 19:23:06 +0900 Yuya Nishihara templatekw: switch latesttags template keywords to new API
Sun, 25 Feb 2018 19:08:02 +0900 Yuya Nishihara templatekw: switch revset() to new API
Sun, 25 Feb 2018 16:45:44 +0900 Yuya Nishihara templatekw: switch most of showlist template keywords to new API (issue5779)
Thu, 01 Mar 2018 18:06:25 -0500 Yuya Nishihara py3: replace type 'str' by 'bytes' in templater.py
Thu, 01 Mar 2018 16:56:38 -0500 Yuya Nishihara py3: fix type of string literals in templater.tokenize()
Thu, 01 Mar 2018 16:52:17 -0500 Yuya Nishihara py3: drop b'' from error message generated by templater.runmember()
Thu, 01 Mar 2018 16:42:24 -0500 Yuya Nishihara py3: fix join(), min(), and max() template functions over string
Sun, 18 Feb 2018 11:53:26 +0900 Yuya Nishihara templater: add option to parse template string just like raw string literal
Thu, 01 Mar 2018 06:47:06 -0500 Yuya Nishihara py3: move between bytes and unicode when re-raising IOError
Sun, 25 Feb 2018 13:24:35 +0900 Yuya Nishihara templatekw: add 'requires' flag to switch to exception-safe interface
Sun, 25 Feb 2018 12:50:30 +0900 Yuya Nishihara templater: specialize ResourceUnavailable error so that it can be caught
Sun, 25 Feb 2018 12:47:53 +0900 Yuya Nishihara templater: move specialized exception types to top
Sun, 07 Jan 2018 11:21:25 +0900 Yuya Nishihara templater: add function to help substituting patterns in template string
Sun, 07 Jan 2018 11:04:53 +0900 Yuya Nishihara templater: extract function scanning template string
Tue, 16 Jan 2018 23:50:01 +0900 Yuya Nishihara templater: fix crash by empty group expression
Tue, 16 Jan 2018 21:42:42 +0900 Yuya Nishihara templater: make sure expression is terminated by '}'
Fri, 29 Dec 2017 05:31:27 +0530 Pulkit Goyal py3: convert dict keys' to str before passing as kwargs
Fri, 22 Dec 2017 21:12:17 +0900 Yuya Nishihara templater: rewrite docstring of templater.__init__()
Thu, 21 Dec 2017 22:17:39 +0900 Yuya Nishihara templater: look up symbols/resources as if they were separated (issue5699)
Thu, 21 Dec 2017 21:29:06 +0900 Yuya Nishihara templater: keep default resources per template engine (API)
Thu, 21 Dec 2017 21:03:25 +0900 Yuya Nishihara templater: look up mapping table through template engine
Thu, 14 Dec 2017 16:01:28 -0500 Augie Fackler merge with stable
Tue, 12 Dec 2017 16:29:26 +0800 Anton Shestakov templater: fix "one arguments" stable
Sun, 10 Dec 2017 04:49:53 +0530 Pulkit Goyal py3: handle keyword arguments correctly in templater.py
Thu, 19 Oct 2017 12:35:47 +0200 Boris Feld obsfate: makes successorsetverb takes the markers as argument
Tue, 17 Oct 2017 10:51:43 -0400 Augie Fackler templater: use pycompat.sysbytes to bytes-ify some __name__ attrs
Mon, 16 Oct 2017 22:50:39 -0400 Augie Fackler templater: don't blow up when trying to build an abort message
Sat, 14 Oct 2017 11:30:17 -0400 Augie Fackler templater: explode if we try to emit a str
Sat, 14 Oct 2017 18:06:42 +0900 Yuya Nishihara templater: load aliases from [templatealias] section in map file
Sat, 14 Oct 2017 17:51:01 +0900 Yuya Nishihara templater: load template fragments from [templates] section in map file
Sat, 20 Aug 2016 18:33:02 +0900 Yuya Nishihara templater: simplify merge of __base__ dicts by reading it first
Thu, 05 Oct 2017 14:15:05 -0400 Augie Fackler python3: move from using func_name to __name__
Thu, 12 Oct 2017 22:09:11 +0900 Yuya Nishihara templater: fix ifcontains() to handle type mismatch gracefully
Tue, 19 Sep 2017 23:13:46 +0900 Yuya Nishihara templater: store revisions as ints so min/max won't compare them as strings
Mon, 18 Sep 2017 23:07:17 +0900 Yuya Nishihara templater: extend dot operator as a short for get(dict, key)