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

324 Commits

Author SHA1 Message Date
Oliver Steele
6b15fbf6c7 Tests; implement map[nil] 2017-08-09 08:45:48 -04:00
Oliver Steele
fd4d34c403 Nil pointers are equal, even if different types 2017-08-09 08:42:42 -04:00
Oliver Steele
62f44fa728 Rearrange value methods w/in file 2017-08-09 08:16:36 -04:00
Oliver Steele
9852226d22 Restore m['str'] where m map[interface{}]interface{} 2017-08-08 19:31:33 -04:00
Oliver Steele
e39a1fe0d4 Fix array[nil] 2017-08-08 17:15:29 -04:00
Oliver Steele
51d7166e88 Package docs 2017-08-08 16:42:32 -04:00
Oliver Steele
c50491f609 More drop examples 2017-08-08 16:25:23 -04:00
Oliver Steele
0adf6e7411 README: add Appveyor badge 2017-08-08 16:03:24 -04:00
Oliver Steele
068afefea0 Fix file not found tests for Windows 2017-08-08 15:14:31 -04:00
Oliver Steele
1b3e55a488 Appveyor: remove mingw 2017-08-08 14:54:47 -04:00
Oliver Steele
85bd1ddfe1 Replace extern "C" strftime by go implementation 2017-08-08 14:48:10 -04:00
Oliver Steele
8d53a6b4a8 Remove (commented-out) Strptime and tests 2017-08-05 19:36:18 +02:00
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