1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-27 13:34:46 +01:00
Commit Graph

253 Commits

Author SHA1 Message Date
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
Oliver Steele
2880ef4d89 Complete #19 when a or b 2017-07-13 11:59:11 -04:00
Oliver Steele
c3c9de781c Move control flow tags to separate file 2017-07-13 11:13:32 -04:00
Oliver Steele
74441188c7 Cycle uses Statement; steps towards cycle groups 2017-07-13 11:07:45 -04:00
Oliver Steele
110fee61c6 Loop uses the statement record 2017-07-13 10:08:17 -04:00
Oliver Steele
8964dafb60 New ParseStatement returns record with different statement parse types 2017-07-13 09:55:36 -04:00
Oliver Steele
c864f3c2d4 Add expression.ParseStatement, statement selector literals 2017-07-13 09:12:02 -04:00
Oliver Steele
55eb5b4175 Rename loop_tag -> iteration_tags 2017-07-13 08:51:49 -04:00
Oliver Steele
9701daac2a set travis email notification freq 2017-07-12 20:05:44 -04:00
Oliver Steele
0808c105c1 make install-dev-tools -> setup 2017-07-12 20:04:55 -04:00
Oliver Steele
a637d2710a Start #2 cycle tag 2017-07-12 14:25:41 -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
26bdd09897 Complete #4 case…else 2017-07-12 09:18:49 -04:00
Oliver Steele
5a12245d9b rename node.Branch -> Clause too 2017-07-12 08:58:14 -04:00
Oliver Steele
8882a7ddd7 Rename files -> standard_tags, standard_filters 2017-07-12 08:43:23 -04:00
Oliver Steele
554753223c Rename branch -> clause (and remove Governs) 2017-07-12 08:43:23 -04:00
Oliver Steele
df80e8cddb Rename Config.Filename -> SourcePath 2017-07-12 07:19:58 -04:00