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

69 Commits

Author SHA1 Message Date
Oliver Steele
51d7166e88 Package docs 2017-08-08 16:42:32 -04:00
Oliver Steele
516182a93c Consolidate {expressions,values}/drops.go 2017-07-27 18:13:39 -04:00
Oliver Steele
6269836192 Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
Oliver Steele
a1c59270ea Store original stacktrace in re-thrown errors 2017-07-26 10:12:25 -04:00
James Littlejohn
3d99b41252 Add test 2017-07-21 10:57:52 +10:00
James Littlejohn
8ee8cef491 Return errors applying filters as Render errors 2017-07-21 10:36:44 +10:00
Oliver Steele
85cd6c9385 Wrap values instead of using generic functions 2017-07-20 09:12:31 -04:00
Oliver Steele
17c5c9c145 Update expressions.y ParseError -> SyntaxError 2017-07-19 21:30:25 -04:00
Oliver Steele
73f0fefaab Lint 2017-07-19 10:26:11 -04:00
Oliver Steele
413b3283bf Coverage 2017-07-19 09:42:01 -04:00
Oliver Steele
7af399ae6f Rename parse error -> syntax error 2017-07-18 18:40:19 -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
f1412b603c Numbers can't start or end with a dot 2017-07-16 12:54:20 -04:00
Oliver Steele
d6d6929f87 Coverage 2017-07-15 13:48:35 -04:00
Oliver Steele
29c902f6b3 Coverage 2017-07-15 12:13:07 -04:00
Oliver Steele
cd234476f7 Implement tablerow 2017-07-15 10:38:12 -04:00
Oliver Steele
a2a4a1a5ec Coverage 2017-07-14 14:28:02 -04:00
Oliver Steele
16c3b6ea59 Add ParseTemplateLocation 2017-07-14 10:17:34 -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
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
8d9df82787 Renderers return a string, rather than taking an io.writer 2017-07-04 07:41:17 -04:00
Oliver Steele
24d83f167a "contains" tests for arrays too 2017-07-03 12:56:18 -04:00
Oliver Steele
ba874de258 Implement drops 2017-07-03 12:00:43 -04:00
Oliver Steele
78526e7cb3 Coverage 2017-07-02 08:35:06 -04:00
Oliver Steele
caca7a2b60 Coverage 2017-07-02 07:51:24 -04:00
Oliver Steele
983b9f50e5 Add docs; remove unused UnimplementedError 2017-07-02 00:10:54 -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
a7cbb9b01b Replace GetVariableMap -> UpdateBindings, RenderFile 2017-06-30 21:05:48 -04:00
Oliver Steele
2e9903ffe6 Filters are an engine configuration 2017-06-30 16:13:18 -04:00
Oliver Steele
41da3f9d05 Tags are called within a RenderContext 2017-06-30 14:51:21 -04:00
Oliver Steele
9dda87f40f contains operates on strings not arrays 2017-06-30 11:21:10 -04:00
Oliver Steele
63e2c5c92a Implement obj['name'] 2017-06-29 14:21:06 -04:00
Oliver Steele
09d36504b4 Lint 2017-06-29 13:14:47 -04:00
Oliver Steele
f15de87195 Docs 2017-06-29 13:08:25 -04:00
Oliver Steele
c4ff3d2083 Rationalize some filenames 2017-06-29 07:54:31 -04:00
Oliver Steele
e9c35a35d0 Implement forloop variables 2017-06-28 20:49:38 -04:00
Oliver Steele
6c56efdd51 Implement <=, >=, contains 2017-06-28 17:18:48 -04:00
Oliver Steele
53a41f3df2 Implement loop modifiers 2017-06-28 16:18:46 -04:00
Oliver Steele
af8c48608e Allow - in identifiers 2017-06-28 15:33:04 -04:00
Oliver Steele
910d4b25cb More filters 2017-06-28 14:41:46 -04:00
Oliver Steele
607f4f413f Allow parens 2017-06-28 13:53:37 -04:00
Oliver Steele
a93848a95e Filters support multiple argument, including expressions 2017-06-28 11:24:24 -04:00
Oliver Steele
c648a7030f Implement ar.first, ar.list 2017-06-28 09:50:04 -04:00
Oliver Steele
c1fd00c261 Negative integer indexes from end of list 2017-06-27 20:32:55 -04:00
Oliver Steele
a5a3ad2a07 Implement and, or, != 2017-06-27 17:54:24 -04:00
Oliver Steele
54b9f137ad Add reverse filter; improve generics 2017-06-27 17:29:50 -04:00