Commit Graph

  • 5df1a262ad Remove duplicate key in hash #504 Alfred Xing 2014-12-25 12:12:42 -08:00
  • 84fddba2e1 Remove regex for downcase and is_a?(String) #499 Kelley Reynolds 2014-12-18 13:01:23 -05:00
  • f68fa84a2f WIP: Add column number colpos Dylan Thacker-Smith 2014-12-16 20:59:23 -05:00
  • 8b0774b519 Fix case sensitivity regression in date standard filter Kelley Reynolds 2014-12-16 10:37:05 -05:00
  • e2f8b28f56 Merge pull request #492 from Shopify/resource-counting-perf Justin Li 2014-12-11 16:05:41 -05:00
  • 3080f95a4f Make render_length tests stricter #492 Justin Li 2014-12-11 10:41:47 -05:00
  • cc57908c03 Add test for render_length persisting between block bodies Justin Li 2014-12-11 10:38:47 -05:00
  • 4df4f218cf Use same template instance Justin Li 2014-12-09 17:25:15 -05:00
  • c2f71ee86b Reset resource consumption before each render Justin Li 2014-12-09 17:23:07 -05:00
  • 9f7e601110 Convert render output to strings in BlockBody Justin Li 2014-12-05 15:17:09 -05:00
  • 3755031c18 Merge pull request #485 from Shopify/lazy-load-profiler-hooks Justin Li 2014-12-05 15:10:16 -05:00
  • b628477af1 Disambiguate checking if Liquid::Profiler is defined #485 Justin Li 2014-12-04 17:51:54 -05:00
  • dd455a6361 Force user to require the profiler themselves Justin Li 2014-12-04 17:48:26 -05:00
  • 8c70682d6b Don't automatically load hooks Justin Li 2014-12-04 17:39:41 -05:00
  • 742b3c69bb Remove commented code Justin Li 2014-12-04 16:30:37 -05:00
  • 1593b784a7 Simplify interface for setting template resource limits Justin Li 2014-12-04 16:17:53 -05:00
  • db00ec8b32 Move resource limit tracking to its own class Justin Li 2014-12-04 15:50:40 -05:00
  • 3ca40b5dea Merge pull request #491 from Shopify/drop-ruby-1-9 Justin Li 2014-12-03 12:52:10 -05:00
  • 378775992f Drop Ruby 1.9 from CI, add Ruby head #491 Justin Li 2014-12-02 14:33:51 -05:00
  • 319400ea23 Merge pull request #489 from alex-ross/patch-1 Florian Weingarten 2014-11-19 14:02:58 +01:00
  • 289a03f9d7 Fixes syntax error in documentation for unless tag #489 Alexander Ross 2014-11-19 10:49:58 +01:00
  • a0710f4c70 Merge pull request #486 from Shopify/fix-exponential-warnings Justin Li 2014-11-12 17:22:16 -05:00
  • 737be1a0c1 Use Timeout#timeout for warnings tests #486 Justin Li 2014-11-12 17:03:48 -05:00
  • 1673098126 Handle potential case where warnings returns nil Justin Li 2014-11-12 16:46:10 -05:00
  • 422bafd66a Fix #warnings taking exponential time to compute Justin Li 2014-11-12 16:12:00 -05:00
  • c0aab820ed Lazily load profiler hooks Justin Li 2014-11-12 00:05:01 -05:00
  • 3321cffe08 Merge pull request #482 from joshk/patch-1 Florian Weingarten 2014-11-07 03:06:52 +01:00
  • f2772518b0 Use the new beta build env on Travis #482 Josh Kalderimis 2014-11-07 14:54:21 +13:00
  • d6db28c854 Revert "Merge pull request #463 from Shopify/stricter-identifiers" v3.0.0 #483 Florian Weingarten 2014-11-07 01:49:01 +00:00
  • 475ea51f1f Revert "Merge pull request #466 from Shopify/remove-expression-cache" Florian Weingarten 2014-11-07 01:48:51 +00:00
  • 9c33e9601b Revert "Merge pull request #476 from Shopify/missing-variable-name-error" Florian Weingarten 2014-11-07 01:48:16 +00:00
  • b242a7273a Revert "Merge pull request #478 from Shopify/numbers-in-identifiers" Florian Weingarten 2014-11-07 01:48:05 +00:00
  • 4b1835e3c0 Revert "Merge pull request #458 from Shopify/block-body" Florian Weingarten 2014-11-07 01:47:47 +00:00
  • 2fe3a21a5d Revert "Merge pull request #479 from Shopify/tweaks-for-c" Florian Weingarten 2014-11-07 01:46:59 +00:00
  • 76ef675eb2 Merge pull request #481 from Shopify/fix-nil-blank Justin Li 2014-11-06 13:03:15 -05:00
  • e5fd4d929f Coerce regex @blank output to a boolean #481 Justin Li 2014-11-05 20:44:06 -05:00
  • 2e42c7be1f Merge pull request #480 from Shopify/number_variables Justin Li 2014-11-05 12:05:21 -05:00
  • 95b031ee04 Add quirks test for extra dots in ranges #480 Justin Li 2014-11-05 11:41:12 -05:00
  • 4d97a714a9 Add quirks test for variables with number prefixes Justin Li 2014-11-05 10:56:58 -05:00
  • aa182f64b4 Merge pull request #479 from Shopify/tweaks-for-c Justin Li 2014-11-04 14:02:14 -05:00
  • 4e870302b1 Add env var for saving stackprof graphviz output #479 Justin Li 2014-11-03 14:53:16 -05:00
  • 098c89b5f5 Convenience methods for raising terminator syntax errors Justin Li 2014-11-03 14:53:16 -05:00
  • 70c45f8cd8 Use SVG badge URLs Justin Li 2014-11-03 17:41:42 -05:00
  • 12d526a05c Merge pull request #458 from Shopify/block-body Justin Li 2014-11-03 17:34:39 -05:00
  • 2fd8ad08c0 Remove unused local variable that was accidentally added. #458 Dylan Thacker-Smith 2014-10-15 16:14:12 -04:00
  • 15e1d46125 Avoid storing options instance variable in BlockBody. Dylan Thacker-Smith 2014-10-15 00:24:44 -04:00
  • 73fcd42403 Create a BlockBody class to decouple block body parsing from tags. Dylan Thacker-Smith 2014-07-28 12:04:27 -07:00
  • f45afad833 Merge d7234cb346d0acf6bbd79ad35aa1b48dc8db0420 into 263e90e7725586b66339eda953c8e6fbc7af8a6f #442 Dylan Thacker-Smith 2014-11-02 10:02:40 +00:00
  • 263e90e772 Merge pull request #478 from Shopify/numbers-in-identifiers Justin Li 2014-10-30 21:59:26 -04:00
  • 81770f094d Remove unnecessary + #478 Justin Li 2014-10-29 13:39:43 -04:00
  • dd5ee81089 Disallow number and dash identifier prefixes Justin Li 2014-10-29 12:08:00 -04:00
  • a07e382617 Use a single token for identifiers Justin Li 2014-10-29 11:28:41 -04:00
  • 4dc682313f Merge pull request #476 from Shopify/missing-variable-name-error Justin Li 2014-10-27 13:56:11 -04:00
  • 5616ddf00e Remove obsolete comment #476 Justin Li 2014-10-27 13:44:14 -04:00
  • fcb23a4cd2 Disallow filters with no variable in strict mode Justin Li 2014-10-27 13:34:27 -04:00
  • c6f6545dc8 Support nested square brackets #473 Justin Li 2014-10-27 11:14:53 -04:00
  • 1530fb451b Possible fix for spaces in variable names #474 Justin Li 2014-10-24 15:17:17 -04:00
  • 89d838accb Add test for blank variables with filters #475 Justin Li 2014-10-23 11:22:43 -04:00
  • 64df338dcb Add test for spaces between variable lookups Justin Li 2014-10-23 11:14:41 -04:00
  • ae0f67d8ec Add test for nested square brackets Justin Li 2014-10-23 10:25:25 -04:00
  • a8f60ff6b1 Merge pull request #472 from Shopify/fix-leaky-test Justin Li 2014-10-23 10:12:41 -04:00
  • 5153ad1a78 Add test for spaces in square brackets #471 allow-whitespace-square-brackets Justin Li 2014-10-22 15:47:12 -04:00
  • a206c8301d Fix test leaking error_mode, fix equality check for VariableLookup #472 Justin Li 2014-10-22 15:40:41 -04:00
  • 10e003f2f2 Merge 8ffdd1ec1bb38fa5968943a48b4f4da845dcdbc0 into ee0de01480899e046495e26e3660c690f7cedc5d #452 Craig Day 2014-10-21 23:45:18 +00:00
  • ee0de01480 Merge pull request #469 from Shopify/falsy-variable-fix Justin Li 2014-10-21 15:06:34 -04:00
  • 887b05e6ed Clarify test name #469 Justin Li 2014-10-21 14:06:30 -04:00
  • 5d68e8803f Ensure nil works as a variable name Justin Li 2014-10-21 14:03:10 -04:00
  • dedd1d3dc0 Fix case where a variable name is falsy Justin Li 2014-10-21 12:09:26 -04:00
  • d9ae36ec40 Merge pull request #466 from Shopify/remove-expression-cache Dylan Thacker-Smith 2014-10-20 13:57:17 -04:00
  • 8ffdd1ec1b replace the regex sequence w with [[:word:]] to be more accepting #452 Craig Day 2014-10-01 17:35:31 -05:00
  • b9ac3fef8f Remove the quotes from the partial string in the profiler timing objects. #466 Dylan Thacker-Smith 2014-10-18 16:25:50 -04:00
  • f5faa4858c Remove parsed expression cache. Dylan Thacker-Smith 2014-10-16 23:06:25 -04:00
  • bc5e444d04 Use Expression.parse and Context#evaluate in the Include class. Dylan Thacker-Smith 2014-10-16 23:02:41 -04:00
  • 3a4b63f37e Use Expression.parse and Context#evaluate in the TableRow class. Dylan Thacker-Smith 2014-10-16 22:44:39 -04:00
  • a1a128db19 Refactor Condition so that it takes a parsed expression. Dylan Thacker-Smith 2014-10-16 22:20:07 -04:00
  • d502b9282a Use Expression.parse and Context#evaluate in the For class. Dylan Thacker-Smith 2014-09-12 18:03:48 -04:00
  • fee8e41466 Use Expression.parse and Context#evaluate in the Cycle class. Dylan Thacker-Smith 2014-09-12 17:33:43 -04:00
  • 37260f17ff Use Expression.parse and Context#evaluate in the Condition class. Dylan Thacker-Smith 2014-07-23 01:18:45 -04:00
  • a5e45f02d0 Merge f7adc874e5dae2d20007c4188760fc06868dba96 into 2da9d49478754d129ac896c1bd49a8d418ff8f33 #435 Tristan Hume 2014-10-18 15:02:26 +00:00
  • 2da9d49478 Merge pull request #465 from Shopify/avoid_multi_assigns Florian Weingarten 2014-10-18 16:19:02 +02:00
  • 7196a2d58e Avoid parallel assignments #465 Florian Weingarten 2014-10-17 23:15:04 +00:00
  • a056f6521c Merge pull request #463 from Shopify/stricter-identifiers Justin Li 2014-10-17 13:45:48 -04:00
  • de16db9b72 Don't allow - to end a variable name #463 Justin Li 2014-10-17 13:38:07 -04:00
  • b4ea483c4e Separate ? and - into special tokens Justin Li 2014-10-17 13:30:54 -04:00
  • 7843bcca8d Merge pull request #443 from Shopify/completely-parse-variables Justin Li 2014-10-17 13:12:46 -04:00
  • 76ea5596ff Merge pull request #462 from Shopify/flat_map Florian Weingarten 2014-10-17 18:32:00 +02:00
  • f9318e8c93 flat_map #462 Florian Weingarten 2014-10-17 16:11:12 +00:00
  • bfb7d31e2f Merge 175caea8dd2588f956b2809d52bdd8d263f8286d into 71253ec6f9adf68823540d9a82019c7576115dfe #415 Dylan Thacker-Smith 2014-10-16 19:24:10 +00:00
  • 71253ec6f9 Merge pull request #459 from Shopify/pop_vs_shift Florian Weingarten 2014-10-15 21:42:53 +02:00
  • 0fa075b879 Use pop over shift to avoid reverse #459 Florian Weingarten 2014-10-15 19:26:39 +00:00
  • 6d080afd22 Merge pull request #446 from Shopify/remove-end-tag Dylan Thacker-Smith 2014-10-14 03:03:31 -04:00
  • a67e2a0a00 Remove unused Block#end_tag method. #446 Dylan Thacker-Smith 2014-07-25 13:09:08 -04:00
  • 885b5f52f8 Fix for loop with reversed and limit. Joost Hietbrink 2014-10-10 14:43:15 +02:00
  • f387508666 Parse expressions in Liquid::Variable#parse. #443 Dylan Thacker-Smith 2014-09-12 01:14:35 -04:00
  • 632b1fb702 Merge pull request #455 from Shopify/parse_error_line_numbers Florian Weingarten 2014-10-04 17:53:30 +02:00
  • d84870d7a5 Test line number of errors in nested blocks. #455 Dylan Thacker-Smith 2014-10-03 16:22:50 -05:00
  • 584b492e70 Line numbers for all parse errors Florian Weingarten 2014-10-03 21:00:31 +00:00
  • 10db3ea29d Merge 5524860f38683980f1b4c96c7d319db95f40bd65 into b79c9cb9bfa1b52dc542fcba2f50c4925b6ad22a #454 Florian Weingarten 2014-10-02 21:45:46 +00:00
  • 5524860f38 Add line numbers to lexer errors #454 Florian Weingarten 2014-10-02 21:37:41 +00:00
  • b79c9cb9bf Merge pull request #453 from Shopify/no-modify-default-resource-limit Dylan Thacker-Smith 2014-10-01 19:02:09 -05:00