mercurial/templateutil.py
8fa26f3baf3077dde4e3b1d03dd786d27ce0baeb
created 2018-10-19 21:11 +0900
pushed 2018-11-05 22:04 +0000
Yuya Nishihara Yuya Nishihara - templater: add wrapper for a single template mapping
28f974d83c0a7cf88745c6bcf79f22a48df28dd9
created 2018-06-07 23:27 +0900
pushed 2018-09-13 01:53 +0000
Yuya Nishihara Yuya Nishihara - templater: remove unused context argument from most resourcemapper functions
5b1d406b39f15a3c3fe1718c8201300043a617e1
created 2018-08-05 16:27 +0900
pushed 2018-08-31 00:53 +0000
Yuya Nishihara Yuya Nishihara - templatekw: alias {name} of file copies dict to {path}
83f8f7b9fa60064a83fcbecff80da5c8393a6639
created 2018-08-05 16:14 +0900
pushed 2018-08-31 00:53 +0000
Yuya Nishihara Yuya Nishihara - templatekw: alias {file} of files list to {path}
382b055cc35811e601bcd9113392cc45a0464886
created 2018-02-25 21:04 +0900
pushed 2018-08-07 22:02 +0000
Yuya Nishihara Yuya Nishihara - templatekw: deprecate old-style template keyword function (API)
bc8d925342f000359327e30c092855e327a7144b
created 2018-06-14 23:10 +0900
pushed 2018-07-01 01:38 +0000
Yuya Nishihara Yuya Nishihara - templater: extend filter() to accept template expression for emptiness test
dae829b4de78bd8331bb8ce802ae733919d22c59
created 2018-06-14 22:33 +0900
pushed 2018-07-01 01:38 +0000
Yuya Nishihara Yuya Nishihara - templater: introduce filter() function to remove empty items from list
b6294c113794794b6379d8520aeca86208f27658
created 2018-06-17 16:10 +0900
pushed 2018-07-01 01:38 +0000
Yuya Nishihara Yuya Nishihara - templater: fix truth testing of integer 0 taken from a list/dict
88e7105b5cd927ae0ecbe5dcc21c6125c4af4a6b
created 2018-06-13 21:57 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: restore the original string format of {date}
f9c426385853657be0082f63567a1e78a3d5474b
created 2018-06-09 13:34 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: abstract truth testing to fix {if(list_of_empty_strings)}
851fc9d42d6d40e2b61f7bf64c1415a4b68594c5
created 2018-03-24 17:59 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: make date wrapper support dot/map operations
8d6109b49b31eb3e7937696057692f5fbd99d9f1
created 2018-03-24 17:54 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: introduce a wrapper for date tuple (BC)
e72697893c933d45fc9e5b5562e5bcee02a1eea3
created 2018-04-21 19:01 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: promote tomap() to an interface type
0e0d03d09ecd0b81324bc56ca8e4ac6489d76271
created 2018-06-09 12:36 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: rename mappable to hybriditem as it is the primary use case
354fad8697fddfbc079b943229b8f9c17117c6a6
created 2018-06-05 21:40 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: fix string representation of wrapped None
4b0f39e7406e1063bc3cfd5a9616f35651255aeb
created 2018-06-08 20:57 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: show slightly better hint on map operation error
630c628043835480a6a42f519e7644e6440305c3
created 2018-03-21 12:28 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: inline unwraphybrid()
cf8d210dfac46b3498684a343637a50def64df35
created 2018-03-19 00:26 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: drop hybrid-ness on unwrapvalue()
49ef1539b84edfd2d6d42d3cf8dec34960eeb6d1
created 2018-03-23 22:31 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: mark .keytype as a private attribute
fb874fc1d9b4fbc56fe9d6699e249e43681e0afe
created 2018-03-19 00:23 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: abstract ifcontains() over wrapped types
80f423a14c90fef3090d564dac8db4949bfaae55
created 2018-03-21 12:06 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: inline wraphybridvalue()
41ae9b3cbfb9c4e938213aa1c39836d39baaf4a6
created 2018-03-19 00:16 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: abstract min/max away
688fbb758ba993d5648619b4ce03b71f1c5719d4
created 2018-05-04 12:43 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: resolve type of dict key in getmember()
06d11cd905166ed5a8aa300abff4b5f5ef052c2b
created 2018-03-21 11:30 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: promote getmember() to an interface of wrapped types
12b6ee9e88f3016b294f2f2c141cbc5f8b4e6e67
created 2018-03-21 01:39 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: move getdictitem() to hybrid class
ad06a4264daf92e58c15f7ebe31f47045c22cf1b
created 2018-04-21 17:43 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: add try-except stub to runmember()
c2456a7726c1c9661147f20f15178d8cec0a6751
created 2018-03-21 01:18 +0900
pushed 2018-06-16 18:13 +0000
Yuya Nishihara Yuya Nishihara - templater: do dict lookup over a wrapped object
7701c2d4a438693fd411fd1158c55401280cf337
created 2018-04-21 17:21 +0900
pushed 2018-06-07 23:20 +0000
Yuya Nishihara Yuya Nishihara - templater: always map over a wrapped object
8bded7eae26c9542239e4daed87d1a76a53a8a04
created 2018-04-21 17:15 +0900
pushed 2018-06-07 23:20 +0000
Yuya Nishihara Yuya Nishihara - templater: consistently join() string-like object per character (BC)
7824783a6d5e780f2b4cf38c9ae13943a84aeb93
created 2018-03-20 23:56 +0900
pushed 2018-06-07 23:20 +0000
Yuya Nishihara Yuya Nishihara - templater: add wrapped types for pure non-list/dict values
d48b80d588489009732687658219b1f378d9111a
created 2018-04-04 21:06 +0900
pushed 2018-06-07 23:20 +0000
Yuya Nishihara Yuya Nishihara - templater: unify unwrapvalue() with _unwrapvalue()
61cecab0cc20ca5d5fe94d8e0ae06ad18af26e23
created 2018-04-04 21:01 +0900
pushed 2018-06-07 23:20 +0000
Yuya Nishihara Yuya Nishihara - templater: inline unwrapvalue()
40c7347f684822f07a3998e0a111dfedd6968e2c
created 2018-03-17 23:34 +0900
pushed 2018-04-11 04:55 +0000
Yuya Nishihara Yuya Nishihara - formatter: remove template resources from nested items before generating JSON
75c13343cf381f0396f2c75350f319ac5bf00c03
created 2018-03-18 23:36 +0900
pushed 2018-04-11 04:55 +0000
Yuya Nishihara Yuya Nishihara - templater: wrap result of '%' operation so it never looks like a thunk
da8e9ecac4a4677de8e2d6c7bea082a2e236d56d
created 2018-04-02 21:54 +0900
pushed 2018-04-07 00:53 +0000
Yuya Nishihara Yuya Nishihara - templater: deduplicate iterator of overlay mappings
7c902a8345efd3bc079cd9579434ebba1df065e8
created 2018-03-18 21:01 +0900
pushed 2018-04-07 00:53 +0000
Yuya Nishihara Yuya Nishihara - templater: complain about invalid application of '%' operator (BC)
0b64416224d9fa8ec58eed286c24f3beef1dd566
created 2018-03-17 22:47 +0900
pushed 2018-04-07 00:53 +0000
Yuya Nishihara Yuya Nishihara - templater: add class representing a nested mappings
676664592313716bdedb0d3e137efc45b08cc0c2
created 2018-03-17 22:30 +0900
pushed 2018-04-05 04:57 +0000
Yuya Nishihara Yuya Nishihara - templater: mark .joinfmt as a private attribute
ebf139cbd4a182e45245212d3830277ee91e4620
created 2018-03-17 22:06 +0900
pushed 2018-04-05 04:57 +0000
Yuya Nishihara Yuya Nishihara - templater: abstract away from joinfmt
9cd88dd3bf64a1b3a6b7b72a8fe93e0e4e9118e0
created 2018-03-20 23:16 +0900
pushed 2018-04-05 04:57 +0000
Yuya Nishihara Yuya Nishihara - templater: micro-optimize join() with empty separator
41a5d815d2c1b6ca086fe7540f3f263ea589aa95
created 2018-03-17 21:42 +0900
pushed 2018-04-05 04:57 +0000
Yuya Nishihara Yuya Nishihara - templater: factor out generator of join()-ed items
c2f74b8f6b7fb0504194f5456e1286d6ee260435
created 2018-03-18 23:24 +0900
pushed 2018-04-05 04:57 +0000
Yuya Nishihara Yuya Nishihara - templater: pass context to itermaps() for future extension
8c31b434697f7e576d3b9a11d6facb6af1d12d92
created 2018-03-17 21:21 +0900
pushed 2018-04-05 04:57 +0000
Yuya Nishihara Yuya Nishihara - templater: define interface for objects which act as iterator of mappings
26f6fc179e624db30e1305898c425ede25bfbc4b
created 2018-03-17 21:03 +0900
pushed 2018-04-04 02:00 +0000
Yuya Nishihara Yuya Nishihara - templater: define interface for objects requiring unwrapvalue()
671a01cd50b51317a6324e4fe4c22f62d44347df
created 2018-03-23 21:40 +0900
pushed 2018-04-04 02:00 +0000
Yuya Nishihara Yuya Nishihara - templater: extract private function to evaluate generator to byte string
9e8128e843263993b491bec02ffa03ecc87dbe4f
created 2018-03-18 23:14 +0900
pushed 2018-04-04 02:00 +0000
Yuya Nishihara Yuya Nishihara - templater: pass (context, mapping) down to unwrapvalue()
b4630e332a99423d1e95163083dcc08eea773cb0
created 2018-03-17 20:58 +0900
pushed 2018-04-04 02:00 +0000
Yuya Nishihara Yuya Nishihara - templater: drop unneeded generator from mappable object
8c84dc8264dc29c779cd37b7dff9c3606bf61fc4
created 2018-03-17 20:56 +0900
pushed 2018-04-04 02:00 +0000
Yuya Nishihara Yuya Nishihara - templater: mark .gen as a private attribute
83e1bbd489911b61c08a6473a81f2e27229d6d4d
created 2018-03-17 20:52 +0900
pushed 2018-04-04 02:00 +0000
Yuya Nishihara Yuya Nishihara - templater: define interface for objects requiring unwraphybrid()
7d3bc1d4e8717d4c974f839b23cb11b98cbfbb70
created 2018-03-17 20:09 +0900
pushed 2018-04-04 02:00 +0000
Yuya Nishihara Yuya Nishihara - templater: pass (context, mapping) down to unwraphybrid()
dc4bb1422f2bed6cef050349ba17b8f7ef577720
created 2018-03-18 16:57 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templater: drop global exception catcher from runfilter() (API)
9bcf096a2da23d67d467a60b9c25490ff1e97756
created 2018-03-18 16:12 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: declare input type as date where appropriate
920589f52be948aa7a667defb1e1a7b8cfa23a76
created 2018-03-20 22:57 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templater: attach hint to input-type error of runfilter()
e70a90a72b8065557b8e3c433ca99f107ad26fc4
created 2018-03-18 15:58 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefuncs: use evaldate() where seems appropriate
67efce231633d0715001b26075ce61c239105197
created 2018-03-18 15:55 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templater: factor out function that parses argument as date tuple
54355c243042fca46e1041a5ed3a65e4aa788e91
created 2018-03-18 15:14 +0900
pushed 2018-04-03 03:53 +0000
Yuya Nishihara Yuya Nishihara - templatefilters: allow declaration of input data type
0fb28899e81a47c5fc47bcf7ae89628ced2932d2
created 2018-03-23 20:43 +0900
pushed 2018-03-30 18:07 +0000
Yuya Nishihara Yuya Nishihara - templater: factor out unwrapastype() from evalastype()
9ab3491f84c2ba678bd06131b0da97900244a420
created 2018-03-23 20:34 +0900
pushed 2018-03-30 18:07 +0000
Yuya Nishihara Yuya Nishihara - templater: extract unwrapinteger() function from evalinteger()
0023da2910c99ca52b933670c5ac2c3ba8fa05db
created 2018-03-23 21:03 +0900
pushed 2018-03-30 18:07 +0000
Yuya Nishihara Yuya Nishihara - templater: extract type conversion from evalfuncarg()
53e6b7e05553c6bed2f7beeca2f28f27a5a3f28c
created 2018-03-23 20:23 +0900
pushed 2018-03-30 18:07 +0000
Yuya Nishihara Yuya Nishihara - templater: drop bool support from evalastype()
less more (0) -60 tip