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