Commit Graph

  • 2239921804 [Liquid] Add round, ceil and floor standard filters Christian Blais 2014-06-16 10:21:22 -04:00
  • 1ea178e7a8 Merge pull request #363 from rrrene/patch-2 Florian Weingarten 2014-06-05 10:32:47 -04:00
  • 5650c7eea1 Update docs badge in README René Föhring 2014-06-05 12:25:26 +02:00
  • 553b0926ae Merge pull request #352 from gaiottino/master Arthur Neves 2014-05-06 10:16:45 -04:00
  • 2bac6267f9 Add error messages for missing variables when :strict Daniel Gaiottino 2014-05-06 16:12:46 +02:00
  • 628ab3dc6a add test for numerical sort Florian Weingarten 2014-05-04 19:50:38 -04:00
  • 2eb552c65d Merge pull request #354 from Dillon-Benson/patch-3 Florian Weingarten 2014-05-02 18:15:33 -04:00
  • 6e40746ce4 use attr_writer instead of error_mode= method Dillon Benson 2014-05-02 17:18:56 -04:00
  • 75068e8fa4 Merge pull request #349 from Shopify/render_bang_allow_not_safe_contexts Thierry Joyal 2014-05-01 12:52:06 -04:00
  • ad1152853a render! will properly force rethrow of errors if context is passed as an argument Thierry Joyal 2014-04-29 16:05:07 -04:00
  • 73098ac5bc Merge pull request #351 from Shopify/date-cleanup David Cornu 2014-04-30 20:47:39 -04:00
  • 8bc3792c0e Move date coercion to #to_date David Cornu 2014-04-30 21:18:15 +00:00
  • 3ef29c624c Merge pull request #347 from Dillon-Benson/patch-1 Florian Weingarten 2014-04-30 08:23:36 -04:00
  • a85fb38769 remove template return Dillon Benson 2014-04-30 03:00:16 -04:00
  • 6a1c3cff1a update history.md Florian Weingarten 2014-04-29 15:26:22 -04:00
  • bde32018dd Merge pull request #346 from Shopify/false_rendering Florian Weingarten 2014-04-29 15:21:30 -04:00
  • 2a12f253bf Fix broken rendering of variables which are equal to false (closes #345) Florian Weingarten 2014-04-29 14:33:07 -04:00
  • fa14fd02e7 Raise Liquid::ArugmentError when condition has wrong usage Bogdan Gusiev 2014-04-21 16:39:02 +03:00
  • f15d24509d Merge pull request #338 from here/docs-filter-date-strftime Arthur Nogueira Neves 2014-04-12 20:14:44 -04:00
  • 09e4378cfb Update standardfilters.rb add docs to date filter mikey dubs 2014-04-12 15:21:06 -07:00
  • af0e26fb16 Merge pull request #337 from Shopify/remove-rails-dev-dependancy Dylan Thacker-Smith 2014-04-11 15:08:34 -04:00
  • f5502e8152 Remove active_support from the development dependancies. Dylan Thacker-Smith 2014-04-11 14:26:40 -04:00
  • c098235baa Merge pull request #335 from rrrene/patch-1 Arthur Nogueira Neves 2014-04-05 11:46:32 -04:00
  • 0e2bf768ba Add docs badge to README René Föhring 2014-04-05 12:24:56 +02:00
  • 4c477c2087 Merge pull request #333 from Shopify/remove-liquid-view Dylan Thacker-Smith 2014-03-31 10:16:37 -04:00
  • cd7fc050b1 Remove ActionView template handler Dylan Thacker-Smith 2014-03-29 15:59:35 -04:00
  • 8291c5e72c Merge pull request #329 from Shopify/seperate-integration-tests Dylan Thacker-Smith 2014-03-26 16:04:39 -04:00
  • 7e45155aa9 Seperate unit and integration tests. Dylan Thacker-Smith 2014-03-26 14:00:20 -04:00
  • d3e4e4c419 Implement tokenization in a C extension. c-tokenizer Dylan Thacker-Smith 2014-02-27 09:53:17 -05:00
  • 8a93a7ff55 Add convenience methods for getting a struct from a ruby object. c-extension Dylan Thacker-Smith 2014-02-28 10:08:21 -05:00
  • e2974ed95f Implement Block#parse_body in C. Dylan Thacker-Smith 2014-02-28 07:47:36 -05:00
  • 99f950c167 Rename Block#parse to parse_body since that is how it is being used. Dylan Thacker-Smith 2014-02-27 23:16:11 -05:00
  • dc78e565ab Move the parse method out of Tag, only blocks need the body parsed. Dylan Thacker-Smith 2014-02-27 22:29:04 -05:00
  • 0fac50aea7 Use super rather than render_all in single block render classes. Dylan Thacker-Smith 2014-02-27 21:38:49 -05:00
  • 8e45b44b21 Avoid keeping track of two lists of nodes during parsing. Dylan Thacker-Smith 2014-02-27 20:51:05 -05:00
  • c0832ce0d1 Return nil in Document#block_delimiter rather than an empty array. Dylan Thacker-Smith 2014-02-27 20:06:57 -05:00
  • 802a6671cb Remove unused Block#end_tag method. Dylan Thacker-Smith 2014-02-27 18:53:18 -05:00
  • 87472e73b6 Implement tokenization in a C extension. Dylan Thacker-Smith 2014-02-27 09:53:17 -05:00
  • 3dbb35d823 Merge branch 'freeze_all_the_things' Florian Weingarten 2014-03-24 12:39:34 -04:00
  • 44f29a87a8 Update history Florian Weingarten 2014-03-24 12:35:47 -04:00
  • f0afbc27e0 Add regression test for raw tags with open variable tags. Dylan Thacker-Smith 2014-03-24 10:01:03 -04:00
  • fdf03076e0 Revert "Merge pull request #325 from Shopify/remove-variable-incomplete-end" Dylan Thacker-Smith 2014-03-24 09:56:56 -04:00
  • d1bfda15e3 Add profile:strict rake task. Dylan Thacker-Smith 2014-03-21 21:54:53 -04:00
  • d8d9984a7b Remove some unused regexes. Dylan Thacker-Smith 2014-03-21 15:50:14 -04:00
  • fbaabf3b59 Merge pull request #325 from Shopify/remove-variable-incomplete-end Dylan Thacker-Smith 2014-03-21 13:48:47 -04:00
  • 7e0ef867d2 Make tag/variable termination error clearer. Dylan Thacker-Smith 2014-03-21 01:27:46 -04:00
  • 3682414cc4 Allow quoted single curly braces in variables. Dylan Thacker-Smith 2014-03-21 00:21:51 -04:00
  • af24d2c2ab Add missing PR reference and author to a History.md entry. Dylan Thacker-Smith 2014-03-21 01:32:03 -04:00
  • 4ee43bc5d2 Merge pull request #324 from Shopify/multiline-tags-and-vars Dylan Thacker-Smith 2014-03-21 00:26:14 -04:00
  • 1320a69fca Merge pull request #323 from Shopify/render_bang_in_tests Dylan Thacker-Smith 2014-03-20 18:33:40 -04:00
  • 3b14e27f55 Allow newlines in tags and variables. Dylan Thacker-Smith 2014-03-20 17:05:49 -04:00
  • face33a137 Merge pull request #321 from Shopify/move-tag-parse-out-of-initialize Dylan Thacker-Smith 2014-03-20 16:15:58 -04:00
  • d4ecaff8b8 Refactor to create tags with a parse class method instead of new. Dylan Thacker-Smith 2014-03-18 17:38:43 -04:00
  • a5990042ff Use render! in tests to make debugging test failures easier. Dylan Thacker-Smith 2014-03-20 11:54:43 -04:00
  • e190bbba9e move change to top Florian Weingarten 2014-03-19 18:15:31 -04:00
  • 4b5e41d04e Merge pull request #322 from Shopify/use-render-bang-in-benchmarks Dylan Thacker-Smith 2014-03-19 18:06:15 -04:00
  • 4b69f6ae83 Use render! in benchmarks to avoid making it faster by breaking things. Dylan Thacker-Smith 2014-03-19 17:55:29 -04:00
  • b9feb415f6 Merge pull request #320 from Shopify/move-table-row-tag Dylan Thacker-Smith 2014-03-18 17:16:32 -04:00
  • 92781ec43b Move definition for TableRow to the tags folder. Dylan Thacker-Smith 2014-03-18 16:45:43 -04:00
  • ff5c1f83f7 Merge pull request #318 from Shopify/stackprof Dylan Thacker-Smith 2014-03-14 10:27:46 -04:00
  • e2b337af2f Merge pull request #317 from Shopify/string-anchors Dylan Thacker-Smith 2014-03-14 10:17:33 -04:00
  • f373b1003d Use stackprof for profiling. Dylan Thacker-Smith 2014-03-13 23:18:57 -04:00
  • 503d924274 Use start and end of string rather than line matching in regexes. Dylan Thacker-Smith 2014-02-27 10:07:04 -05:00
  • fbc1a893ff C extensin for Variable#lax_parse var-c-ext-test Isha 2014-03-03 03:59:00 +00:00
  • 57fdbe81b8 filter args var-c-ext Isha 2014-03-03 03:38:19 +00:00
  • 331cf067b1 filter names no args Isha 2014-03-03 02:07:41 +00:00
  • bcb3f831b6 get_quoted_fragment Isha 2014-03-03 01:05:57 +00:00
  • 16d5f40474 wip Isha 2014-03-02 23:55:04 +00:00
  • 02525f258e extract name Isha 2014-03-02 23:24:31 +00:00
  • a119e86fd0 remove old regexy lax_parse Isha 2014-02-28 20:07:21 +00:00
  • 111f24aad1 Use isspace\n\n\nThx Dylan Isha 2014-02-28 20:05:29 +00:00
  • d0ed4711b2 try not using regexes ar all, because they are evil Isha 2014-02-28 19:31:52 +00:00
  • bb954bce1e Use StringSlice.join on the rendered results. string-slice Dylan Thacker-Smith 2014-02-28 14:12:57 -05:00
  • cc0276bb97 Add a StringSlice class to use in the nodelist. Dylan Thacker-Smith 2014-02-28 13:16:07 -05:00
  • f367dd7915 don't really need those I suppose Isha 2014-02-28 12:35:15 -05:00
  • edd28a144a Comment out lax_parse test cases for now Isha 2014-02-28 12:34:46 -05:00
  • 8669029afd Comment out verbose log message Isha 2014-02-28 12:33:48 -05:00
  • 8f42e50959 wip Isha 2014-02-28 12:24:37 -05:00
  • 25cc69c3c0 add variable in c Isha 2014-02-28 12:23:26 -05:00
  • 03d586aafe Add convenience methods for getting a struct from a ruby object. Dylan Thacker-Smith 2014-02-28 10:08:21 -05:00
  • dc8a34a52f Implement Block#parse_body in C. Dylan Thacker-Smith 2014-02-28 07:47:36 -05:00
  • 99cebf74bc Rename Block#parse to parse_body since that is how it is being used. Dylan Thacker-Smith 2014-02-27 23:16:11 -05:00
  • 7eb64886dc Move the parse method out of Tag, only blocks need the body parsed. Dylan Thacker-Smith 2014-02-27 22:29:04 -05:00
  • f89046e81f Use super rather than render_all in single block render classes. Dylan Thacker-Smith 2014-02-27 21:38:49 -05:00
  • 9ee4573ef4 Avoid keeping track of two lists of nodes during parsing. Dylan Thacker-Smith 2014-02-27 20:51:05 -05:00
  • a48b4f47f6 Return nil in Document#block_delimiter rather than an empty array. Dylan Thacker-Smith 2014-02-27 20:06:57 -05:00
  • 72d402837e Remove unused Block#end_tag method. Dylan Thacker-Smith 2014-02-27 18:53:18 -05:00
  • 06bef40527 Fix a missing return warning. Dylan Thacker-Smith 2014-02-27 18:47:55 -05:00
  • a48b245e6e Turn on C compiler warnings. Dylan Thacker-Smith 2014-02-27 18:45:57 -05:00
  • d4aabda625 Avoid freeing of uninitialized memory. Dylan Thacker-Smith 2014-02-27 18:29:07 -05:00
  • dab6bdfdee Make sure the ext directory is included in the distributed gem. Dylan Thacker-Smith 2014-02-27 15:50:22 -05:00
  • 8c075fca1f Remove a couple FIXME comments which are only partially a lie. Dylan Thacker-Smith 2014-02-27 15:21:57 -05:00
  • ea8406e36e Create a Liquid::Tokenizer class in the C extension. Dylan Thacker-Smith 2014-02-27 15:19:27 -05:00
  • 8bb3bca64a Require the liquid extension when liquid is required. Dylan Thacker-Smith 2014-02-27 14:22:18 -05:00
  • 5de1082201 Add profile:stackprof rake task. Dylan Thacker-Smith 2014-02-27 11:20:49 -05:00
  • 7ba02d2811 Use start and end of string rather than line matching in regexes. Dylan Thacker-Smith 2014-02-27 10:07:04 -05:00
  • 2066676bf4 Add a C extension that doesn't yet do anything. Dylan Thacker-Smith 2014-02-27 09:53:17 -05:00
  • 3efa8e8762 Merge pull request #310 from Shopify/faster-increment-used-resources Dylan Thacker-Smith 2014-02-25 00:18:27 -05:00
  • 3c06d837b5 Speed up Context#increment_used_resources Dylan Thacker-Smith 2014-02-24 23:56:39 -05:00
  • d3fc30ef85 Merge pull request #309 from bogdan/argument_error_for_filters Arthur Nogueira Neves 2014-02-21 15:13:11 -05:00