1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-27 05:54:47 +01:00
Commit Graph

43 Commits

Author SHA1 Message Date
Oliver Steele
fb70314da4 Add forwarders from evaluator pkg 2017-07-27 18:28:16 -04:00
Oliver Steele
6269836192 Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
James Littlejohn
82a1a6ebb1 Support registering variadic functions as filters 2017-07-26 17:06:57 +10:00
Oliver Steele
fd7b1f0875 Treat []byte as string, for some purposes 2017-07-23 11:49:09 -04:00
Oliver Steele
763467338a test liquid:"-", not liquid:"" (both work, though) 2017-07-23 11:48:45 -04:00
Oliver Steele
306be633be teach iteration about MapSlice 2017-07-22 09:42:02 -04:00
Oliver Steele
46807c45ff Recognize yaml.MapSlice as a value 2017-07-22 09:14:32 -04:00
Oliver Steele
303027b72b Obey struct field tags 2017-07-22 08:57:02 -04:00
Oliver Steele
bbdb40ef98 Move structValue to own file 2017-07-22 08:36:40 -04:00
Oliver Steele
560c55eb89 Value layer recognizes, resolves drops 2017-07-21 16:26:04 -04:00
Oliver Steele
fa5de60b78 Match Liquid/Ruby array[float] 2017-07-21 16:23:08 -04:00
Oliver Steele
8040e9ee3a Remove generic Index, ObjectProperty 2017-07-21 16:22:50 -04:00
Oliver Steele
cf54755949 Remove obsolete generic predicates
The Value interface now does this
2017-07-21 16:02:30 -04:00
Oliver Steele
a07e5fa28b Add some tests 2017-07-21 11:56:04 -04:00
Oliver Steele
de5fffa5c6 Property access to struct pointers 2017-07-20 10:40:46 -04:00
Oliver Steele
2cdd59d821 Property access to struct values 2017-07-20 10:29:05 -04:00
Oliver Steele
1b0f0cfd25 Implement #11 contains on hashes 2017-07-20 09:52:05 -04:00
Oliver Steele
222559a6c6 Allow value to be a pointer 2017-07-20 09:42:36 -04:00
Oliver Steele
17def2556e Test cases for new code 2017-07-20 09:37:56 -04:00
Oliver Steele
85cd6c9385 Wrap values instead of using generic functions 2017-07-20 09:12:31 -04:00
Oliver Steele
023536f149 Coverage 2017-07-19 10:49:39 -04:00
Oliver Steele
a78d95d73f Coverage 2017-07-18 18:40:19 -04:00
Oliver Steele
de4f81dc14 Warn on too many filter args 2017-07-16 13:47:06 -04:00
Oliver Steele
29c902f6b3 Coverage 2017-07-15 12:13:07 -04:00
Oliver Steele
a2a4a1a5ec Coverage 2017-07-14 14:28:02 -04:00
Oliver Steele
c11cf2aa25 Move interpreter ops into evaluator package 2017-07-13 23:46:12 -04:00
Oliver Steele
3c242c40f1 Complete #17 sort_natural filter 2017-07-12 13:10:19 -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
da541ab551 Remove dependency on strptime 2017-07-10 17:26:00 -04:00
Oliver Steele
a3a34732d0 Rename ParseTime -> ParseDate 2017-07-10 14:33:29 -04:00
Oliver Steele
bfad047335 Tests 2017-07-10 12:35:53 -04:00
Oliver Steele
2f0f6baac2 More time formats 2017-07-09 15:38:25 -04:00
Oliver Steele
6f7b67f4d7 Coverage 2017-07-09 11:06:15 -04:00
Oliver Steele
e332e535e6 remove a debug print 2017-07-08 14:29:33 -04:00
Oliver Steele
77c5dc9027 Add more parse time formats 2017-07-08 10:21:35 -04:00
Oliver Steele
8397c5e004 Optional filter arguments declared as functions 2017-07-08 09:08:06 -04:00
Oliver Steele
d435cf5211 tests 2017-07-07 07:38:53 -04:00
Oliver Steele
903acb8d2e Split package render->parser 2017-07-07 05:51:40 -04:00
Oliver Steele
36929af0a6 Coverage 2017-07-05 23:25:03 -04:00
Oliver Steele
1da9d4072e Improve some internal names 2017-07-05 19:09:59 -04:00
Oliver Steele
2161bb6044 Add IsTemplateError 2017-07-05 14:24:15 -04:00
Oliver Steele
a434a750f5 Move generics -> evaluator 2017-07-05 11:35:07 -04:00