mercurial/templater.py
Mon, 16 Sep 2024 15:36:44 +0200 Matt Harbison typing: add `from __future__ import annotations` to most files
Wed, 10 Jul 2024 18:34:47 -0400 Matt Harbison typing: add a few trivial type hints to `mercurial/templater.py`
Fri, 01 Sep 2023 00:09:55 +0200 Pierre-Yves David pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
Wed, 14 Dec 2022 01:51:33 -0500 Matt Harbison typing: add type hints to pycompat.bytestr
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, 19 Aug 2021 17:46:46 +0200 Pierre-Yves David template: FileNotFoundError is actually a built in exception stable
Wed, 18 Aug 2021 01:41:02 +0200 Pierre-Yves David template: handle missing resource in `_readmapfile` stable
Tue, 17 Aug 2021 14:38:25 +0200 Pierre-Yves David templater: swap `\` with `/` in more location stable
Tue, 17 Aug 2021 13:22:06 +0200 Pierre-Yves David templater: swap `\` with `/` to allow the resource logic to kicks in stable
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Fri, 29 Jan 2021 14:03:39 +0100 Pierre-Yves David config: use the right API to access template access
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
less more (0) -300 -100 -60 tip