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

119 Commits

Author SHA1 Message Date
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
Oliver Steele
ebc29dcbed Separate interface.go from engine.go 2017-06-30 11:20:32 -04:00
Oliver Steele
247bec3376 Use C strptime to format dates 2017-06-30 10:09:56 -04:00
Oliver Steele
e2bb7c66bb Fix the raw tag 2017-06-30 10:09:56 -04:00
Oliver Steele
08fcc4eafc Record source line number 2017-06-30 10:09:56 -04:00
Oliver Steele
6075f39527 Convert map -> [] 2017-06-30 10:09:56 -04:00
Oliver Steele
8f7bcaedae Add engine.DefineControlTag; currently does nothing 2017-06-30 08:04:31 -04:00
Oliver Steele
767f1f421b Convert -> map[string] 2017-06-30 08:03:55 -04:00
Oliver Steele
8ea72e4300 Add strptime for time parsing 2017-06-29 21:53:11 -04:00
Oliver Steele
2fed70b8d0 Convert maps 2017-06-29 21:21:52 -04:00
Oliver Steele
63e2c5c92a Implement obj['name'] 2017-06-29 14:21:06 -04:00
Oliver Steele
394036de6c Fix forloop.last with offset modifier 2017-06-29 13:59:37 -04:00
Oliver Steele
d924e0b7eb Match print object to observed 2017-06-29 13:41:26 -04:00
Oliver Steele
6a8127a707 Match split filter to observed 2017-06-29 13:41:04 -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
fb26bb3f88 Lint; remove dead code 2017-06-29 12:26:04 -04:00
Oliver Steele
a1784cd5d2 Implement break, continue 2017-06-29 12:20:16 -04:00
Oliver Steele
fc227aadc3 Work around missing %-H in strftime 2017-06-29 11:30:43 -04:00
Oliver Steele
97b36abe95 Add more dependencies to credits 2017-06-29 11:15:13 -04:00
Oliver Steele
80d58dcd5f Add MustConvertItem; convert bool -> int 2017-06-29 09:35:42 -04:00
Oliver Steele
4df3f04aae Convert returns an error; create MustConvert 2017-06-29 08:42:24 -04:00
Oliver Steele
e2fd3bbf81 SortByProperty can sort nil first or last 2017-06-29 08:22:12 -04:00
Oliver Steele
c4ff3d2083 Rationalize some filenames 2017-06-29 07:54:31 -04:00
Oliver Steele
621992c6af If tag parses during parse stage 2017-06-28 22:22:07 -04:00
Oliver Steele
5dddabeb78 Parse control tag forms at parse time 2017-06-28 21:45:24 -04:00
Oliver Steele
61663ab11a Control tag parsers can return an error 2017-06-28 20:59:23 -04:00
Oliver Steele
e9c35a35d0 Implement forloop variables 2017-06-28 20:49:38 -04:00
Oliver Steele
3a1506badf Add an type filter; inspect is more robust 2017-06-28 20:49:27 -04:00
Oliver Steele
6c56efdd51 Implement <=, >=, contains 2017-06-28 17:18:48 -04:00
Oliver Steele
5ec1f66a88 Implement remaining numeric filters 2017-06-28 16:43:18 -04:00
Oliver Steele
53a41f3df2 Implement loop modifiers 2017-06-28 16:18:46 -04:00
Oliver Steele
c5e7e6c277 Implement case (w/out else) 2017-06-28 16:18:46 -04:00
Oliver Steele
c433c0894e More filters 2017-06-28 15:33:13 -04:00