1
0
mirror of https://github.com/danog/liquid.git synced 2024-12-02 12:37:48 +01:00
Commit Graph

270 Commits

Author SHA1 Message Date
James Littlejohn
8ee8cef491 Return errors applying filters as Render errors 2017-07-21 10:36:44 +10: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
510b0cbfee make lint enables gofmt 2017-07-19 21:32:45 -04:00
Oliver Steele
17c5c9c145 Update expressions.y ParseError -> SyntaxError 2017-07-19 21:30:25 -04:00
Oliver Steele
dde3ea7604 Lint 2017-07-19 10:54:38 -04:00
Oliver Steele
023536f149 Coverage 2017-07-19 10:49:39 -04:00
Oliver Steele
73f0fefaab Lint 2017-07-19 10:26:11 -04:00
Oliver Steele
27580ca2a5 Coverage 2017-07-19 10:03:11 -04:00
Oliver Steele
5f79cf19df Remove quote from README 2017-07-19 09:42:19 -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
67cb2e0462 Iterating over hash yields [key, value] pairs 2017-07-17 12:21:39 -04:00
Oliver Steele
2c497e3bbb Quote tag names in error messages 2017-07-17 12:19:14 -04:00
Oliver Steele
6701199fad Disable interfacer linter 😦 2017-07-16 18:09:18 -04:00
Oliver Steele
dd49b227b6 Whitespace control uses byte.Buffer 2017-07-16 18:02:07 -04:00
Oliver Steele
f9ac12bb26 Implement whitespace control 2017-07-16 17:43:04 -04:00
Oliver Steele
bf43fb85d1 Scan whitespace control 2017-07-16 14:15:11 -04:00
Oliver Steele
af93d57f0e Report the line only if != 0 2017-07-16 13:49:37 -04:00
Oliver Steele
de4f81dc14 Warn on too many filter args 2017-07-16 13:47:06 -04:00
Oliver Steele
534c0e3e50 CLI script to run shopify liquid for cf. 2017-07-16 13:42:09 -04:00
Oliver Steele
f1412b603c Numbers can't start or end with a dot 2017-07-16 12:54:20 -04:00
Oliver Steele
cfc8a8c7f3 README filters and variables 2017-07-16 11:30:40 -04:00
Oliver Steele
9fe6a960ed README 2017-07-16 11:15:31 -04:00
Oliver Steele
f1cddfa74e Update README to v1 2017-07-15 21:18:10 -04:00
Oliver Steele
41e7b29ba2 TIL io.WriteString 2017-07-15 21:13:21 -04:00
Oliver Steele
68a3e9bb3c make setup installs dependencies 2017-07-15 21:13:03 -04:00
Oliver Steele
d6d6929f87 Coverage 2017-07-15 13:48:35 -04:00
Oliver Steele
6a3a853711 Test case for main 2017-07-15 13:30:16 -04:00
Oliver Steele
724da617c2 Remove IsTemplateError 2017-07-15 13:29:53 -04:00
Oliver Steele
29c902f6b3 Coverage 2017-07-15 12:13:07 -04:00
Oliver Steele
6b8f76ce9b Rename xxxTagParser -> xxxTagCompiler 2017-07-15 10:40:05 -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
1c94b61bcc Replace render switch by polymorphism
(No perf impact)
2017-07-14 13:01:04 -04:00
Oliver Steele
4317bfcbc1 docs 2017-07-14 12:59:30 -04:00
Oliver Steele
92a4f2d500 Source location is an initialization parameter
Fixes a race condition
2017-07-14 10:38:30 -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
bfc7ced272 Reorganize docs and examples 2017-07-13 20:25:12 -04:00
Oliver Steele
6ff5721080 Move package expression -> expressions 2017-07-13 20:18:23 -04:00
Oliver Steele
bad5593bb8 Make harmless iterating over value 2017-07-13 18:59:10 -04:00
Oliver Steele
271f637aae Close #18 loop range 2017-07-13 15:07:25 -04:00
Oliver Steele
497a93277b ranges…but need to separated by .. 2017-07-13 14:58:36 -04:00
Oliver Steele
22d583f02c Prep loop for ranges 2017-07-13 14:18:08 -04:00