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)
|
Sat, 09 Sep 2017 19:32:56 +0900 |
Yuya Nishihara |
templater: add dot operator to easily access a sub item
|
Sat, 09 Sep 2017 19:13:25 +0900 |
Yuya Nishihara |
templater: wrap get/min/max result so map operation can apply to element
|
Sun, 01 Oct 2017 11:13:09 +0100 |
Yuya Nishihara |
templater: add experimental support for extdata
|
Sat, 30 Sep 2017 15:46:36 +0530 |
Pulkit Goyal |
py3: use pycompat.strkwargs() before passing a dict as keyword argument
|
Sun, 24 Apr 2016 18:41:23 +0900 |
Yuya Nishihara |
templatekw: add new-style template expansion to {manifest}
|
Mon, 24 Apr 2017 21:37:11 +0900 |
Yuya Nishihara |
templater: adjust binding strength of '%' and '|' operators (BC)
|
Sun, 24 Sep 2017 15:22:46 +0900 |
Yuya Nishihara |
templatekw: just pass underlying value (or key) to joinfmt() function
|
Sat, 02 Sep 2017 23:13:54 +0900 |
Yuya Nishihara |
templater: extract helper to just evaluate template expression
|
Sat, 02 Sep 2017 23:09:34 +0900 |
Yuya Nishihara |
templater: do not destructure operands in buildmap()
|
Sat, 09 Sep 2017 19:01:18 +0900 |
Yuya Nishihara |
templater: use helper function to get name of non-iterable keyword
|
Fri, 15 Sep 2017 10:43:22 -0700 |
Martin von Zweigbergk |
templates: introduce a obsfateoperation() function
|
Fri, 15 Sep 2017 00:01:57 -0700 |
Martin von Zweigbergk |
templater: extract shortest() logic from template function
|
Sun, 03 Sep 2017 17:33:10 +0900 |
Yuya Nishihara |
doctest: coerce dict.keys() to list
|
Sun, 03 Sep 2017 14:56:31 +0900 |
Yuya Nishihara |
doctest: use print_function and convert bytes to unicode where needed
|
Sun, 03 Sep 2017 14:32:11 +0900 |
Yuya Nishihara |
doctest: bulk-replace string literals with b'' for Python 3
|
Sun, 03 Sep 2017 21:17:25 +0900 |
Yuya Nishihara |
parser: stabilize output of prettyformat() by using byte-safe repr()
|
Sun, 03 Sep 2017 17:37:17 +0900 |
Yuya Nishihara |
py3: use bytes[n:n + 1] to get bytes in templater._parsetemplate()
|
Mon, 03 Jul 2017 15:34:10 +0200 |
Boris Feld |
template: compute dates in obsfatedate
|
Mon, 03 Jul 2017 15:34:00 +0200 |
Boris Feld |
template: compute user in obsfateusers
|
Mon, 03 Jul 2017 15:33:27 +0200 |
Boris Feld |
template: compute verb in obsfateverb
|
Sat, 15 Jul 2017 15:51:57 -0700 |
Gregory Szorc |
revset: pass repo when passing ui
|
Thu, 22 Jun 2017 03:16:16 +0530 |
Pulkit Goyal |
py3: convert kwargs' keys' to str using pycompat.strkwargs()
|
Thu, 22 Jun 2017 03:10:24 +0530 |
Pulkit Goyal |
py3: convert kwargs keys' back to bytes using pycompat.byteskwargs()
|
Wed, 21 Jun 2017 02:20:34 +0530 |
Pulkit Goyal |
py3: use pycompat.bytestr() in place of str()
|
Tue, 20 Jun 2017 23:46:18 +0530 |
Pulkit Goyal |
py3: replace str with bytes in isinstance()
|
Sat, 22 Apr 2017 19:56:47 +0900 |
Yuya Nishihara |
templater: add simple interface for unnamed template (API)
|
Fri, 19 Aug 2016 18:26:04 +0900 |
Yuya Nishihara |
revlog: add support for partial matching of wdir node id
|
Fri, 05 May 2017 01:26:49 +0530 |
Pulkit Goyal |
py3: use pycompat.bytestr instead of bytes
|
Wed, 05 Apr 2017 21:47:34 +0900 |
Yuya Nishihara |
templatekw: have showlist() take mapping dict with no **kwargs expansion (API)
|
Mon, 03 Apr 2017 23:13:49 +0900 |
Yuya Nishihara |
templater: add shorthand for building a dict like {"key": key}
|
Sat, 08 Apr 2017 23:33:32 +0900 |
Yuya Nishihara |
templater: find keyword name more thoroughly on filtering error
|
Mon, 03 Apr 2017 22:54:06 +0900 |
Yuya Nishihara |
templater: add dict() constructor
|
Sun, 09 Apr 2017 11:58:27 +0900 |
Yuya Nishihara |
parser: preserve order of keyword arguments
|
Mon, 03 Apr 2017 22:07:09 +0900 |
Yuya Nishihara |
parser: extend buildargsdict() to support arbitrary number of **kwargs
|
Mon, 03 Apr 2017 22:23:52 +0900 |
Yuya Nishihara |
templater: port pad() to take keyword arguments
|
Mon, 03 Apr 2017 21:22:39 +0900 |
Yuya Nishihara |
templater: add support for keyword arguments
|
Mon, 03 Apr 2017 20:55:55 +0900 |
Yuya Nishihara |
templater: add parsing rule for key-value pair
|
Mon, 03 Apr 2017 20:44:05 +0900 |
Yuya Nishihara |
templater: adjust binding strengths to make room for key-value operator
|