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

231 Commits

Author SHA1 Message Date
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
Oliver Steele
b95775c26b Error.Filename -> Path 2017-07-12 07:12:14 -04:00
Oliver Steele
198f6bf306 Consolidate render.Error -> parser.Error 2017-07-12 07:07:57 -04:00
Oliver Steele
816b46a30f Combine CompilationError -> parser.Error 2017-07-12 06:58:45 -04:00
Oliver Steele
8995782b0e ParseError -> parser.Error; takes Locatable 2017-07-12 06:55:44 -04:00
Oliver Steele
ce7cc8fc9b README 2017-07-12 06:55:12 -04:00
Oliver Steele
55ec347c1c Remove a test that fails on Travis 2017-07-11 17:16:56 -04:00
Oliver Steele
247c1b173d Allow float index into array 2017-07-11 16:47:53 -04:00
Oliver Steele
dbba68082c Property names can end in ? 2017-07-11 13:35:34 -04:00
Oliver Steele
8efaada3af Add FromDrop func 2017-07-11 13:35:12 -04:00
Oliver Steele
55cf56e9a0 Improve strftime error test 2017-07-11 10:23:57 -04:00
Oliver Steele
4163dfa842 fun w/ time zones 2017-07-10 22:04:13 -04:00
Oliver Steele
bb0590d82c try disabling strptime 2017-07-10 21:25:40 -04:00
Oliver Steele
f39a2d25f9 Parse in local time; switch to stdlib strftime 2017-07-10 21:13:13 -04:00
Oliver Steele
da541ab551 Remove dependency on strptime 2017-07-10 17:26:00 -04:00
Oliver Steele
fdfc5d3a81 Implement #15 truncate_words filter 2017-07-10 16:47:11 -04:00
Oliver Steele
06e0833633 Add appveyor.yml 2017-07-10 16:23:18 -04:00
Oliver Steele
a3a34732d0 Rename ParseTime -> ParseDate 2017-07-10 14:33:29 -04:00
Oliver Steele
bfad047335 Tests 2017-07-10 12:35:53 -04:00
Oliver Steele
b26913805f Parser grammar is distinct from (and embedded in) config 2017-07-10 12:23:46 -04:00
Oliver Steele
c291b2fe1d README 2017-07-10 12:05:11 -04:00
Oliver Steele
378c0b207e Update remaining public API to return SourceError 2017-07-10 11:52:14 -04:00
Oliver Steele
342a8b3e81 errors return source location, phase 1 2017-07-10 11:49:14 -04:00