1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-27 04:24:56 +01:00
Commit Graph

152 Commits

Author SHA1 Message Date
Oliver Steele
803471c15f Render tree is distinct type from parse AST 2017-07-06 09:21:26 -04:00
Oliver Steele
8f63cb781e Compiler copies the syntax tree 2017-07-06 08:59:10 -04:00
Oliver Steele
c7d9af2fcc Start to separate parser and compiler 2017-07-06 08:07:53 -04:00
Oliver Steele
36929af0a6 Coverage 2017-07-05 23:25:03 -04:00
Oliver Steele
315af1a51a Rename renderError -> render.Error 2017-07-05 19:33:24 -04:00
Oliver Steele
1da9d4072e Improve some internal names 2017-07-05 19:09:59 -04:00
Oliver Steele
dd41a36de3 Update Contributing to point to the project boards 2017-07-05 16:59:54 -04:00
Oliver Steele
2161bb6044 Add IsTemplateError 2017-07-05 14:24:15 -04:00
Oliver Steele
7bd8a8d5da GitHub templates 2017-07-05 13:56:19 -04:00
Oliver Steele
f1b2777700 Add an executable 2017-07-05 13:46:30 -04:00
Oliver Steele
a434a750f5 Move generics -> evaluator 2017-07-05 11:35:07 -04:00
Oliver Steele
a8afb01938 Coverage; simplify 2017-07-05 11:17:31 -04:00
Oliver Steele
fab31d9e8b Implement include 2017-07-05 10:37:46 -04:00
Oliver Steele
f313e6f2cd Add a Grammar interface for parsing 2017-07-05 09:51:21 -04:00
Oliver Steele
1b7564dbfb Add contribution guidelines 2017-07-05 09:51:00 -04:00
Oliver Steele
9714544301 make install-dev-tools doesn't update packages 2017-07-05 09:50:50 -04:00
Oliver Steele
5425668094 Add Template.SetSourcePath 2017-07-04 16:48:38 -04:00
Oliver Steele
d31fe04734 Move assign tag -> tags package 2017-07-04 11:45:24 -04:00
Oliver Steele
411a2f0708 Rename render.(Context,RenderContext) -> (NodeContext,Context) 2017-07-04 11:41:45 -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
6161e6df28 Move chunks -> render 2017-07-04 11:03:18 -04:00
Oliver Steele
05597307bd Render uses a switch instead of polymorphism 2017-07-04 10:25:29 -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
cb8911a22c Remove gratuitous Context wrapper 2017-07-02 21:17:04 -04:00
Oliver Steele
2e8f51ad06 Rename to match Liquid terminology
Add* Register*
ControlTag / StartTag -> Block
2017-07-02 13:31:34 -04:00
Oliver Steele
decd8dd610 for over a map iterates over its keys 2017-07-02 12:14:04 -04:00
Oliver Steele
8f148dca69 tavis uses makefile lint 2017-07-02 09:09:23 -04:00
Oliver Steele
6297319033 Add coverage status 2017-07-02 08:47:10 -04:00
Oliver Steele
28db29801a gometalinter doesn't have a config in this repo 2017-07-02 08:38:31 -04:00
Oliver Steele
78526e7cb3 Coverage 2017-07-02 08:35:06 -04:00
Oliver Steele
008f1ed03f Add install-dev-toolsl to travis 2017-07-02 08:01:12 -04:00
Oliver Steele
c415f89ab9 Add goveralls to travis 2017-07-02 07:58:05 -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
d6bc456ee4 New top-level Context wrapper 2017-07-01 23:52:38 -04:00
Oliver Steele
e71bc95d5f Lint 2017-07-01 23:52:23 -04:00
Oliver Steele
d29e4b207b README 2017-07-01 20:24:27 -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
a7cbb9b01b Replace GetVariableMap -> UpdateBindings, RenderFile 2017-06-30 21:05:48 -04:00
Oliver Steele
7c48138dad Add RenderContext.ParseTagArgs 2017-06-30 17:33:36 -04:00
Oliver Steele
af95c44a25 simplify 2017-06-30 16:51:39 -04:00
Oliver Steele
e6f8eacb37 Tags are an engine configuration 2017-06-30 16:46:17 -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
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
9dda87f40f contains operates on strings not arrays 2017-06-30 11:21:10 -04:00