1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-30 08:28:58 +01:00
Commit Graph

60 Commits

Author SHA1 Message Date
f63f2db128
Avoid useless reallocations 2021-12-20 17:22:23 +01:00
87434b73b6
Add concat filter 2021-12-20 17:16:39 +01:00
Tobias Salzmann
5540947bf1 force explicit type checking 2018-07-31 17:47:45 +02:00
Tobias Salzmann
7ae2fa24ed floor and ceil should return integers 2018-07-25 17:18:10 +02:00
Oliver Steele
8874615b3c Match Ruby string split semantics 2017-09-04 17:51:51 -04:00
Oliver Steele
bb24f32cbd list filters operate on MapSlice 2017-08-21 10:30:54 -04:00
Oliver Steele
e1c7224d9c variable names 2017-08-21 09:50:29 -04:00
Oliver Steele
cb6efbf216 join filter: default sep is space; omit nil entries 2017-08-20 11:33:58 -04:00
Oliver Steele
804e3d6970 Rearrange tests 2017-08-18 10:35:15 -04:00
Oliver Steele
c49d979750 Rename rbstrftime package 2017-08-11 11:55:37 -04:00
Oliver Steele
cdb0e44c6f Move strftime to a separate repo 2017-08-10 19:02:13 -04:00
Oliver Steele
51d7166e88 Package docs 2017-08-08 16:42:32 -04:00
Oliver Steele
6269836192 Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
Oliver Steele
306be633be teach iteration about MapSlice 2017-07-22 09:42:02 -04:00
Oliver Steele
96307fab92 "type" filters works on nil 2017-07-22 09:40:43 -04:00
Oliver Steele
a07e5fa28b Add some tests 2017-07-21 11:56:04 -04:00
Oliver Steele
dde3ea7604 Lint 2017-07-19 10:54:38 -04:00
Oliver Steele
29c902f6b3 Coverage 2017-07-15 12:13:07 -04:00
Oliver Steele
c11cf2aa25 Move interpreter ops into evaluator package 2017-07-13 23:46:12 -04:00
Oliver Steele
6ff5721080 Move package expression -> expressions 2017-07-13 20:18:23 -04:00
Oliver Steele
3c242c40f1 Complete #17 sort_natural filter 2017-07-12 13:10:19 -04:00
Oliver Steele
2e5cc60c90 Complete #14 and #15 url{en,de}code filters 2017-07-12 12:34:07 -04:00
Oliver Steele
8882a7ddd7 Rename files -> standard_tags, standard_filters 2017-07-12 08:43:23 -04:00
Oliver Steele
4163dfa842 fun w/ time zones 2017-07-10 22:04:13 -04:00
Oliver Steele
f39a2d25f9 Parse in local time; switch to stdlib strftime 2017-07-10 21:13:13 -04:00
Oliver Steele
fdfc5d3a81 Implement #15 truncate_words filter 2017-07-10 16:47:11 -04:00
Oliver Steele
e332e535e6 remove a debug print 2017-07-08 14:29:33 -04:00
Oliver Steele
8397c5e004 Optional filter arguments declared as functions 2017-07-08 09:08:06 -04:00
Oliver Steele
585cc5df35 Implement uniq filter 2017-07-07 09:32:24 -04:00
Oliver Steele
846987d86a simplify 2017-07-07 07:30:32 -04:00
Oliver Steele
903acb8d2e Split package render->parser 2017-07-07 05:51:40 -04:00
Oliver Steele
a434a750f5 Move generics -> evaluator 2017-07-05 11:35:07 -04:00
Oliver Steele
9691dc203d Move expressions -> expression 2017-07-04 11:12:40 -04:00
Oliver Steele
405c5bf694 Rename Settings -> Config 2017-07-04 11:08:57 -04:00
Oliver Steele
ba874de258 Implement drops 2017-07-03 12:00:43 -04:00
Oliver Steele
e71bc95d5f Lint 2017-07-01 23:52:23 -04:00
Oliver Steele
f6c4299739 Simplify external tag interface 2017-07-01 10:36:47 -04:00
Oliver Steele
a3c646cea2 slice, truncate use runes not bytes 2017-07-01 10:02:00 -04:00
Oliver Steele
2e9903ffe6 Filters are an engine configuration 2017-06-30 16:13:18 -04:00
Oliver Steele
25e97ed864 Uh-oh – strftime gets the day of week wrong!
Temp out some test cases.
2017-06-30 12:17:01 -04:00
Oliver Steele
247bec3376 Use C strptime to format dates 2017-06-30 10:09:56 -04:00
Oliver Steele
8ea72e4300 Add strptime for time parsing 2017-06-29 21:53:11 -04:00
Oliver Steele
6a8127a707 Match split filter to observed 2017-06-29 13:41:04 -04:00
Oliver Steele
09d36504b4 Lint 2017-06-29 13:14:47 -04:00
Oliver Steele
fb26bb3f88 Lint; remove dead code 2017-06-29 12:26:04 -04:00
Oliver Steele
fc227aadc3 Work around missing %-H in strftime 2017-06-29 11:30:43 -04:00
Oliver Steele
e2fd3bbf81 SortByProperty can sort nil first or last 2017-06-29 08:22:12 -04:00
Oliver Steele
c4ff3d2083 Rationalize some filenames 2017-06-29 07:54:31 -04:00
Oliver Steele
3a1506badf Add an type filter; inspect is more robust 2017-06-28 20:49:27 -04:00
Oliver Steele
5ec1f66a88 Implement remaining numeric filters 2017-06-28 16:43:18 -04:00