Ishibashi Hideto
a5285d3d09
test for the Jekyll's issue: [Liquid doesn't render my partial · Issue #1519 · mojombo/jekyll]( https://github.com/mojombo/jekyll/issues/1519 )
2013-09-10 22:58:56 +09:00
Nicholas Jones
90593d3f18
Add a test for corrected if-nodelist
2013-09-07 11:15:49 -07:00
James Tucker
13c826933c
Update against failed cherry-pick
2013-09-07 01:42:41 +00:00
Tristan Hume
7c5b3e0c3b
Fix bad range parsing.
2013-09-04 18:13:31 -04:00
James Tucker
d4679cd550
Strainer test now works on 1.8
2013-08-31 18:57:09 +00:00
James Tucker
9b2d5b7dd3
Add a class cache to avoid runtime extend calls
...
* Strainer has a class cache that creates Strainer subclasses for each filter
set that is used on .create calls.
* Context now creates a list of filters and passes this to Strainer.create to
utilize the class cache in almost all use cases.
* If add_filter was called after a render, then the method cache may still be
invalidated.
Conflicts:
lib/liquid/strainer.rb
2013-08-31 18:56:35 +00:00
Tristan Hume
e8b41c8856
Fix error
2013-08-30 16:06:48 -04:00
Simon Eskildsen
ad184fbfc9
Remove superplus translations
2013-08-30 12:31:58 -04:00
Simon Eskildsen
380828f807
Rename outdated test
2013-08-30 12:31:57 -04:00
Simon Eskildsen
fc8c45ebe6
Fix use of 1.9 hash syntax
2013-08-30 12:31:57 -04:00
Simon Eskildsen
072c12dc47
Localize errors in Liquid
2013-08-30 12:31:57 -04:00
Simon Eskildsen
29cdabc30e
Move I18n to options
2013-08-30 12:31:57 -04:00
Simon Eskildsen
df5980f23f
Change interpolation syntax to %{key}
2013-08-30 12:31:57 -04:00
Simon Eskildsen
5ee4f960e8
Move localization option to register
2013-08-30 12:31:57 -04:00
Simon Eskildsen
0343f6dc94
Add escaping of symbols
2013-08-30 12:31:57 -04:00
Simon Eskildsen
40fba9ee6c
Add locale to context registers
2013-08-30 12:31:57 -04:00
Simon Eskildsen
0a2f21386d
Add fixture helper
2013-08-30 12:31:57 -04:00
Simon Eskildsen
0dac6fe88a
Change to absolute path in localization test
2013-08-30 12:31:57 -04:00
Simon Eskildsen
f37a984fd7
Add sketch of I18n error translation
2013-08-30 12:31:57 -04:00
Tristan Hume
86ba2f4174
Fix error message 1.8 compatibility
2013-08-22 13:23:44 -04:00
Tristan Hume
77db92de54
Better testing of warn mode.
2013-08-22 12:55:54 -04:00
Tristan Hume
b0cba5298a
Fix warnings and make tags a proper syntax tree.
2013-08-22 12:44:23 -04:00
Tristan Hume
93fcd5687c
Broken warnings implementation.
2013-08-22 12:12:35 -04:00
Tristan Hume
14a17520de
Merge branch 'master' into recursive-parsing
2013-08-22 10:39:08 -04:00
Tristan Hume
0beb4a4793
Add handy context to strict parser error messages.
2013-08-19 15:45:05 -04:00
Tristan Hume
047900d0dd
Proper warning support
2013-08-19 15:14:26 -04:00
Tristan Hume
eb68a751ac
Hopefully fix CI by improving multi-suite runner.
2013-08-16 15:15:15 -04:00
Florian Weingarten
ed4b61bfd3
Fix broken map test and add sort test
2013-08-08 11:53:52 -04:00
Florian Weingarten
8f978ecd1a
Make sort filter work on Enumerable drops
2013-08-08 11:47:26 -04:00
Tristan Hume
ace12e29da
Hopefully fix CI on Rubinius
2013-08-02 13:37:56 -04:00
Florian Weingarten
f98949117d
Fix .include? method on Enumerable drops, used by "contains" conditions
2013-08-02 10:23:10 -04:00
Florian Weingarten
c92efd3ab9
Update some Drop tests
2013-08-01 13:46:55 -04:00
Florian Weingarten
ff570c3ddc
Fix clashing method names in enumerable drops
2013-08-01 13:17:02 -04:00
Tristan Hume
824231284c
Run test suite with both parsers
2013-08-01 12:49:36 -04:00
Tristan Hume
84f0c1bef8
Initial options passing
2013-07-30 14:44:41 -04:00
Tristan Hume
bc76c0daaf
Collapse float and int into 'number'
2013-07-29 11:04:46 -04:00
Harry Brundage
bf53e517f5
Inline Parser#next_token to avoid method dispatch
2013-07-26 15:38:52 -04:00
Harry Brundage
bacacf2fd0
Remove the Token class from the lexer in favour of less smart but faster arrays
2013-07-26 15:14:01 -04:00
Tristan Hume
1b43bf5686
Add parser tests
2013-07-26 13:09:36 -04:00
Tristan Hume
83e71ace99
Add lexer tests and fixes
2013-07-26 12:50:27 -04:00
Tristan Hume
4dc9cc0ea1
Add back tests for lax parsing
2013-07-26 11:55:50 -04:00
Tristan Hume
87b8ee7341
Add error mode switching
2013-07-26 11:45:13 -04:00
Florian Weingarten
65dfd57bb5
Make 'map' filter work on Enumerable drops
2013-07-26 10:35:28 -04:00
Tristan Hume
8896b55fa5
Parsing for if statements
2013-07-26 10:31:26 -04:00
Florian Weingarten
3e13ed4ba1
Fix mapping over procs
2013-07-25 22:11:44 -04:00
Florian Weingarten
182d3fefb6
Always call 'to_liquid' on staff in map filter and allow to_liquid to be called on drops
2013-07-25 17:10:19 -04:00
Tristan Hume
4da7b36139
New variable parser!
2013-07-25 11:38:57 -04:00
Florian Weingarten
f9027d54ab
Use invoke_drop in map filter
2013-07-24 15:41:50 -04:00
Florian Weingarten
f0ecd02199
Fix some blank tests
2013-07-03 02:47:22 +02:00
Florian Weingarten
0f38fe3596
Add blank test for case tags
2013-07-02 18:08:20 -04:00