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