Tobias Lutke
2f6b67798e
fixed but with single char identifiers
2012-10-30 21:41:56 -04:00
Tobias Lutke
82c222ef0f
enable weird method endings
2012-10-30 21:17:35 -04:00
Tobias Lutke
2baee3de3e
enabled hard mode
2012-10-30 21:12:43 -04:00
Tobias Lutke
a96cfd1297
conquered parser_tests
2012-10-30 21:12:01 -04:00
Tobias Lütke
cf765ebed3
wip
2012-10-30 15:49:13 -04:00
Tobias Lütke
8d234098aa
Initial checkin
2012-10-30 13:27:18 -04:00
Tobias Lutke
43b44c007a
remove binaries
2012-10-29 21:16:25 -04:00
Tobias Lutke
858cb62c4f
various speedups
2012-10-29 21:15:50 -04:00
Tobias Lütke
80be33884e
Convert parser to C99
2012-10-29 16:43:42 -04:00
Tobias Lutke
cd040dabd8
Implement naive recusrive descent
...
Ragel doesn't allow us to recurse so we simply
reinvoke the parser for each step.
2012-10-28 21:55:20 -04:00
Tobias Lütke
18b83a58bd
Replace regexpes with Ragel grammer
...
context parsing was handrolled and pretty ad-hoc
this branch exists to explore parsing the context
through a defined fsm as produced by Ragel
2012-10-28 21:50:18 -04:00
Tobias Lutke
6b64bfb53e
fix benchmarks
2012-10-28 21:37:07 -04:00
Tom Burns
6c2fde5eea
Instantiate blank string once instead of at every comparison
2012-10-25 11:54:19 -04:00
Tobias Lütke
ce76dbf8d9
fixed the performance suite
2012-10-20 10:53:53 -04:00
Steven Soroka
661ff2ccdf
Merge pull request #140 from binarycleric/feature/break_for_loop
...
Added break and continue statements
2012-08-21 13:22:24 -07:00
Jon Daniel
9c183bea83
added interrupt class for continue/break statements
...
When a continue or break statement is executed it pushes an interrupt to a
stack in context. If any non-handled interrupts are present blocks will cease
to execute. The for loop can handle the most recent interrupt in the stack.
2012-08-21 13:14:27 -04:00
Jon Daniel
484fd18612
added break and continue tags
2012-08-21 00:00:02 -04:00
Jonathan Rudenberg
bf86459456
Merge pull request #139 from pjb3/fix_block_test_name
...
Class name does not match file name
2012-08-19 15:07:59 -07:00
Paul Barry
d2827c561b
Class name does not match file name
2012-08-19 07:44:35 -04:00
Tobias Lütke
16c34595a4
fix mergeconflict
2012-08-07 13:21:31 -04:00
Tobias Lütke
6e091909ee
Merge branch 'master' of github.com:Shopify/liquid
2012-08-07 13:20:37 -04:00
Tobias Lütke
d7cb39ccb3
release 2.4.0
2012-08-07 13:20:23 -04:00
Jonathan Rudenberg
f8d46804fd
Fix rake test for broken version of rake on travis
2012-08-07 09:49:55 -04:00
Jonathan Rudenberg
5c6de2d919
Fix typo
2012-08-07 09:37:19 -04:00
Jonathan Rudenberg
a8e9327f0b
Update HISTORY.md for v2.4.0 release
v2.4.0
2012-08-07 09:32:38 -04:00
Dylan Smith
f5a20ff8e8
Fix a regression in tablerow limit parameter.
...
I had accidentally read slice_collection_using_each as using to as an
inclusive limit rather than exclusive, and no tests covered the offset or
limit parameters.
2012-06-21 14:56:05 -04:00
Dylan Smith
d0184555d9
Allow tablerow to work with any Enumerable. Closes #132
2012-06-20 11:07:11 -04:00
Jason Normore
6ebdded8f2
Merge branch 'issue_1650_strip_html_ignore_comments'
2012-06-11 10:33:00 -04:00
Jason Normore
515b31158e
strip_html to ignore comments with html tags. fixes #1650
2012-06-11 10:32:12 -04:00
7rans
40cc799f3d
Add example to split filter.
2012-06-11 10:32:12 -04:00
Daniel Schierbeck
5ac91e0837
Fix typo and add punctuation
2012-06-11 10:32:12 -04:00
Jonathan Rudenberg
f6cb54fa59
Merge pull request #93 from trans/master
...
Split Filter Example
2012-06-07 12:21:40 -07:00
Jonathan Rudenberg
1606b4b705
Merge pull request #118 from dasch/patch-1
...
Fix typo and add punctuation
2012-06-07 12:20:54 -07:00
Jonathan Rudenberg
7cfd0f15d1
Merge pull request #128 from andmej/patch-1
...
Tpyo.
2012-06-07 12:18:09 -07:00
Jonathan Rudenberg
25ba54fc52
Enable 19mode for travis rbx/jruby
2012-06-07 15:16:58 -04:00
Jonathan Rudenberg
1aff63ff57
Merge pull request #107 from amateurhuman/syntax-error-fixes-for-rubinius
...
Fix syntax error in htmltags.rb and for.rb for compatibility with rbx-2.0.0-dev (1.9.3)
2012-06-07 12:14:35 -07:00
Jonathan Rudenberg
08fdcbbf65
Merge pull request #120 from infospace/interpolate_regex_once
...
add interpolate once flag to regexes that never change
2012-06-07 12:06:57 -07:00
Jonathan Rudenberg
2dba9ed0ea
Merge pull request #113 from arika/improve-process-time
...
apply "o" option to regexps to improve process time
2012-06-07 12:04:28 -07:00
Andrés Mejía
6d02d59fbd
Tpyo.
2012-06-06 22:32:42 -05:00
Michael Green
281e3ea9c8
add interpolate once flag to regexes that never change
2012-05-08 16:27:50 -07:00
Daniel Schierbeck
b51b30fac1
Fix typo and add punctuation
2012-05-03 14:16:06 +03:00
akira yamada
84ed3d9964
apply "o" option to regexps to improve process time
2012-04-02 19:31:55 +09:00
Dennis Theisen
c10f936d2a
Merge pull request #109 from DanAtkinson/patch-1
...
Minor modification to readme
2012-03-14 08:27:43 -07:00
Dan Atkinson
1ee342d83b
* Seperated 'Howto' into 'How to'.
...
* Added periods to the second list as the first item has them. I guess I'm anally retentive like that. :)
2012-03-14 14:58:12 +00:00
Dennis Theisen
0e3b522fe2
Fix conditions using negative number comparisons
2012-03-12 16:38:34 -04:00
Chris Kelly
db07e2b67e
Fix syntax error in for and htmltags files for compatibility with Rubinius 2.0.0-dev
2012-03-09 00:24:31 -08:00
Dennis Theisen
b8d7b9aeda
Fix for-tag update to also work properly in Ruby 1.8.
...
* Follow up commit to 3d7c1c8
2012-02-29 16:13:46 -05:00
Dennis Theisen
3d7c1c80a0
Ruby 1.8 compatibility fix: Ensure for-loop on an empty string does not enter for-body.
2012-02-29 14:41:21 -05:00
Dennis Theisen
1b2d0198ea
Added backwards compatibility test for tablerow tag update
...
* Follow up to 043d816
2012-02-22 14:30:19 -05:00
Dennis Theisen
043d816460
Fix tablerow block to work with collection names in quoted syntax.
...
* Allows e.g. {% tablerow product in collections['frontpage'] %} instead of only collections.frontpage
2012-02-22 12:45:38 -05:00