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

312 Commits

Author SHA1 Message Date
Oliver Steele
4a2c4b4b39 Beefy strftime tests 2017-08-05 19:35:38 +02:00
Oliver Steele
83652f59db Actually cache the drop resolution 2017-08-03 15:20:56 +02:00
Oliver Steele
7f501ce512 Race test, benchmarks, for drop resolution 2017-08-03 15:20:56 +02:00
Oliver Steele
eac67c350b Pull loop renderer into separate method
For more readable profiles
2017-08-03 15:20:56 +02:00
Oliver Steele
519fbbeb04 Merge pull request #28 from Proximaio/feature/struct_pointer_member_fix
Fix struct PropertyValue attempting to use an invalid pointer
2017-08-03 09:20:04 -04:00
James Littlejohn
b2f5f1f9ac Fix struct PropertyValue attempting to use an invalid pointer 2017-08-01 11:27:32 +10:00
Oliver Steele
9866cbf5d7 Race condition 2017-07-27 18:30:03 -04:00
Oliver Steele
fb70314da4 Add forwarders from evaluator pkg 2017-07-27 18:28:16 -04:00
Oliver Steele
516182a93c Consolidate {expressions,values}/drops.go 2017-07-27 18:13:39 -04:00
Oliver Steele
6269836192 Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
Oliver Steele
c17c901385 Merge pull request #26 from Proximaio/feature/customise_delimiters
Add setting to customise delimiters
2017-07-27 18:09:33 -04:00
Oliver Steele
474edc1ca8 remove fmt.Stringer render case 2017-07-26 10:59:35 -04:00
Oliver Steele
a1c59270ea Store original stacktrace in re-thrown errors 2017-07-26 10:12:25 -04:00
Oliver Steele
dd0fcdae87 make lint includes tests 2017-07-26 10:12:25 -04:00
Oliver Steele
fd230ed2cc Tests 2017-07-26 10:12:25 -04:00
Oliver Steele
2353433e66 Merge pull request #27 from Proximaio/feature/variadic_filters
Support registering variadic functions as filters
2017-07-26 10:07:04 -04:00
James Littlejohn
82a1a6ebb1 Support registering variadic functions as filters 2017-07-26 17:06:57 +10:00
James Littlejohn
b7ef67f047 Support delimiters of any length 2017-07-24 12:38:02 +10:00
James Littlejohn
dd4d967eaa Add comments and update tests 2017-07-24 11:00:05 +10:00
Oliver Steele
fd7b1f0875 Treat []byte as string, for some purposes 2017-07-23 11:49:09 -04:00
Oliver Steele
763467338a test liquid:"-", not liquid:"" (both work, though) 2017-07-23 11:48:45 -04:00
Oliver Steele
306be633be teach iteration about MapSlice 2017-07-22 09:42:02 -04:00
Oliver Steele
96307fab92 "type" filters works on nil 2017-07-22 09:40:43 -04:00
Oliver Steele
46807c45ff Recognize yaml.MapSlice as a value 2017-07-22 09:14:32 -04:00
Oliver Steele
303027b72b Obey struct field tags 2017-07-22 08:57:02 -04:00
Oliver Steele
bbdb40ef98 Move structValue to own file 2017-07-22 08:36:40 -04:00
Oliver Steele
605d88329b gitgnore *.test 2017-07-22 08:20:41 -04:00
Oliver Steele
023fca4617 Benchmarks 2017-07-22 08:04:09 -04:00
Oliver Steele
51517990c9 Add engine.ParseString 2017-07-22 08:03:48 -04:00
Oliver Steele
560c55eb89 Value layer recognizes, resolves drops 2017-07-21 16:26:04 -04:00
Oliver Steele
fa5de60b78 Match Liquid/Ruby array[float] 2017-07-21 16:23:08 -04:00
Oliver Steele
8040e9ee3a Remove generic Index, ObjectProperty 2017-07-21 16:22:50 -04:00
Oliver Steele
cf54755949 Remove obsolete generic predicates
The Value interface now does this
2017-07-21 16:02:30 -04:00
Oliver Steele
1bc9726ae5 Document values, includng new struct behavior 2017-07-21 12:06:39 -04:00
Oliver Steele
a07e5fa28b Add some tests 2017-07-21 11:56:04 -04:00
Oliver Steele
df3f7b2c7d Remove obsolete note re Awesome Go 2017-07-21 11:36:35 -04:00
Oliver Steele
f670bfcb13 Add top-level test cases for &map, struct
The are from #23
2017-07-21 11:35:11 -04:00
Oliver Steele
c94902613d Merge pull request #25 from Proximaio/feature/readme_typo
Change name of repository in README to liquid from goliquid
2017-07-21 11:28:15 -04:00
Oliver Steele
a5a8785a7d Merge pull request #24 from Proximaio/feature/filter_errors_returned_as_errors
Return errors applying filters as render errors
2017-07-21 11:27:54 -04:00
James Littlejohn
9dd9191ca0 Add setting to customise delimiters 2017-07-21 12:32:06 +10:00
James Littlejohn
3d99b41252 Add test 2017-07-21 10:57:52 +10:00
James Littlejohn
08cf333161 Change name of repository in README to liquid from goliquid 2017-07-21 10:49:35 +10:00
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