Commit Graph

  • 3dcad3b3cd Move test/integration/parse_tree_visitor_test.rb to test/unit Dylan Thacker-Smith 2020-09-15 08:46:32 -04:00
  • db065315ba Allow creating symbols that are garbage collected in a test Dylan Thacker-Smith 2020-09-15 08:36:55 -04:00
  • a03f02789b Only use MethodLiteral in condition expressions (#1300) Dylan Thacker-Smith 2020-09-25 11:10:33 -04:00
  • 9567794a7a Only use MethodLiteral in condition expressions refactor-for-liquid-c-expression Dylan Thacker-Smith 2020-09-22 00:59:05 -04:00
  • ca4b9b43af Port liquid-c bug compatible whitespace trimming (#1291) Dylan Thacker-Smith 2020-09-16 16:07:36 -04:00
  • cddd8ea4ff Extract rescue code from BlockBody#render_node for re-use in liquid-c Dylan Thacker-Smith 2020-09-14 14:12:19 -04:00
  • 9917924adb Move some unit tests without internal coupling to integration tests Dylan Thacker-Smith 2020-09-15 09:11:38 -04:00
  • 17c3e9989a Move test/integration/parse_tree_visitor_test.rb to test/unit Dylan Thacker-Smith 2020-09-15 08:46:32 -04:00
  • 2777b9d06c Allow creating symbols that are garbage collected in a test Dylan Thacker-Smith 2020-09-15 08:36:55 -04:00
  • 77084930e9 Bring back silencing of errors in blank nodes for backwards compatibility (#1292) Dylan Thacker-Smith 2020-09-15 10:35:18 -04:00
  • fb77921b15 Merge pull request #1290 from Shopify/document-unknown-tag-refactor Dylan Thacker-Smith 2020-09-11 09:34:16 -04:00
  • 0d02dea20b Rename Liquid::Block#unknown_tag parameters for clarity Dylan Thacker-Smith 2020-09-02 15:26:45 -04:00
  • 86b47ba28b Pass the tag markup and tokenizer to Document#unknown_tag Dylan Thacker-Smith 2020-09-07 21:03:20 -04:00
  • 95ff0595c6 Merge pull request #1289 from Shopify/refactor-for-c-block-body Dylan Thacker-Smith 2020-09-11 09:15:58 -04:00
  • bbc56f35ec Add ParseContext#new_block_body to centralize the liquid-c override point Dylan Thacker-Smith 2020-09-09 12:25:35 -04:00
  • 9b6344f407 Port liquid-c bug compatible whitespace trimming all-changes-for-c-block-body Dylan Thacker-Smith 2020-09-05 09:37:42 -04:00
  • a372baa9cf Rename Liquid::Block#unknown_tag parameters for clarity Dylan Thacker-Smith 2020-09-02 15:26:45 -04:00
  • 60075ddda2 Pass the tag markup and tokenizer to Document#unknown_tag Dylan Thacker-Smith 2020-09-07 21:03:20 -04:00
  • dfbbf87ba9 Use BlockBody from Document using composition rather than inheritence Dylan Thacker-Smith 2020-09-02 09:32:19 -04:00
  • 037b603603 Turn some Liquid::BlockBody methods into class methods for liquid-c Dylan Thacker-Smith 2020-09-01 14:38:40 -04:00
  • bd33df09de Provide Block#new_body so that liquid-c can override it Dylan Thacker-Smith 2020-08-31 17:28:26 -04:00
  • 6ca5b62112 Merge pull request #1285 from Shopify/fix-render-length-resource-limit Dylan Thacker-Smith 2020-09-08 13:57:30 -04:00
  • e1a2057a1b Update assign_score during capturing Dylan Thacker-Smith 2020-09-02 15:59:17 -04:00
  • ae9dbe0ca7 Fix render length resource limit so it doesn't multiply nested output Dylan Thacker-Smith 2020-08-28 22:44:05 -04:00
  • f0da48495c Default Block#blank? to false regardless of whether the body is blank default-block-tag-blank-to-false Dylan Thacker-Smith 2020-09-03 11:08:17 -04:00
  • 3b486425b0 Handle BlockBody#blank? at parse time (#1287) Dylan Thacker-Smith 2020-09-03 11:07:13 -04:00
  • b08bcf00ac Push interrupts from Continue and Break tags rather than from BlockBody (#1286) Dylan Thacker-Smith 2020-09-03 06:55:24 -04:00
  • 0740e8b431 Remove unused quirk allowing liquid tags to close a block it is nested in (#1284) Dylan Thacker-Smith 2020-09-03 06:51:56 -04:00
  • 391a6eb92b Temporarily use liquid-c branch for its corresponding change symbol-filter-names Dylan Thacker-Smith 2020-08-20 10:12:28 -04:00
  • 89d206d8c6 Use symbols for filter names now that ruby has symbol GC Dylan Thacker-Smith 2020-08-20 10:06:17 -04:00
  • 22d746f670 Temporarily use liquid-c branch for its corresponding change optimize-invoke-filter Dylan Thacker-Smith 2020-08-18 17:27:52 -04:00
  • 7af188dcca Optimize filter invocation Dylan Thacker-Smith 2020-08-17 16:32:42 -04:00
  • 5532df880f Handle disabled tags errors like other liquid errors (#1275) Dylan Thacker-Smith 2020-08-18 11:39:54 -04:00
  • 2b11efc3ae Fix performance regression from introduction of Template#disable_tags (#1274) Dylan Thacker-Smith 2020-08-18 11:25:51 -04:00
  • d5c31861f9 Fix theme runner for benchmarks no-template-mutation-on-render Dylan Thacker-Smith 2020-07-23 16:17:30 -04:00
  • 895e63e40a Remove now unnecessary squash_instance_assigns_with_environments Dylan Thacker-Smith 2020-07-22 15:02:01 -04:00
  • 219168e89f Remove mutable render state from Liquid::Template Dylan Thacker-Smith 2020-07-22 12:13:35 -04:00
  • a1d982ca76 Merge pull request #1272 from Shopify/StaticRegisters/add-test-coverage Thierry Joyal 2020-08-04 08:31:45 -04:00
  • 03be7f1ee3 [StaticRegisters] Add test coverage Thierry Joyal 2020-07-28 10:23:51 -04:00
  • 1ced4eaf10 Merge pull request #1268 from Shopify/remove-taint-checking Dylan Thacker-Smith 2020-07-25 21:27:46 -04:00
  • 4970167726 Bump rake development dependency Dylan Thacker-Smith 2020-07-23 16:23:18 -04:00
  • 065ccbc4aa Remove support for taint checking Dylan Thacker-Smith 2020-07-23 16:22:46 -04:00
  • 1feaa63813 Merge pull request #1258 from Shopify/fix-context-overriding-in-templates Feken Baboyan 2020-05-28 09:32:31 -04:00
  • 8541c6be35 make Template override static registers only when the register key is not defined fix-context-overriding-in-templates Feken Baboyan 2020-05-26 20:04:27 -04:00
  • 18654526c8 Merge pull request #1257 from Shopify/StaticRegisters/remove-registers-attr-reader Thierry Joyal 2020-05-22 14:01:37 -04:00
  • bd1f7f9492 [StaticRegisters] Remove assertion for delete to not remove static content Thierry Joyal 2020-05-22 13:41:46 -04:00
  • 40d75dd283 Update test/unit/static_registers_unit_test.rb Thierry Joyal 2020-05-22 12:11:54 -04:00
  • f5011365f1 [StaticRegisters] Remove registers attr_reader Thierry Joyal 2020-05-22 10:51:07 -04:00
  • ebbd046c92 Merge pull request #1250 from Shopify/static-registers/fetch-raise-on-missing Thierry Joyal 2020-05-22 09:56:05 -04:00
  • b9979088ec [StaticRegisters] Fetch raise on missing Thierry Joyal 2020-05-21 12:31:32 -04:00
  • bd0e53bd2e Merge pull request #1239 from Shopify/remove-bad-arity-assumption Dylan Thacker-Smith 2020-05-21 14:02:04 -04:00
  • 4b586f4105 Merge pull request #1251 from Shopify/travis/optional-head Thierry Joyal 2020-05-21 13:51:11 -04:00
  • 0410119d5f [Travis] Optional head Thierry Joyal 2020-05-21 12:45:14 -04:00
  • c2f67398d0 Allow ruby-head failures Dylan Thacker-Smith 2020-03-31 10:49:29 -04:00
  • 81149344a5 Fix ParseTreeVisitorTest for ruby-head Dylan Thacker-Smith 2020-03-31 10:19:25 -04:00
  • 27e51b0455 Remove a line feed for CI StrainerTemplate/isolate-filter-mods Thierry Joyal 2020-01-22 18:16:15 -05:00
  • 05c8214f7d Back to filter instanciation Thierry Joyal 2020-01-22 18:09:15 -05:00
  • a179fd84a3 WIP superfluid SamDoiron 2020-01-21 22:12:20 -05:00
  • e9b649b345 Fix Liquid::Template inheritance (#1227) Dylan Thacker-Smith 2020-01-21 15:09:22 -05:00
  • 9c538f4237 Merge pull request #1207 from Shopify/moving-const-to-const Celso Dantas 2020-01-20 12:37:57 -05:00
  • 13936a24f1 Context as accessor Thierry Joyal 2020-01-16 14:40:51 -05:00
  • c08a358a2b Use String literal instead of using a class method Celso Dantas 2019-12-12 14:25:39 -05:00
  • aa1ffb1fb8 Integrate superfluid into test suite SamDoiron 2020-01-15 13:23:29 -05:00
  • c0ffee4133 [StrainerTemplate] Isolate filter mods Thierry Joyal 2020-01-15 14:14:04 +00:00
  • c9be96b58d Improve error message of Liquid::MemoryLimit. improve_memory_limits_error_message Alan Tan 2019-12-12 16:21:09 +08:00
  • dbaef5e79b Merge pull request #1180 from Shopify/test-all-filters Justin Li 2020-01-13 15:52:44 -05:00
  • 48a155a213 Initialize Liquid::Template class attributes eagerly instead of lazily (#1223) Dylan Thacker-Smith 2020-01-10 17:42:01 -05:00
  • c69a9a77c6 Merge pull request #1215 from Shopify/nested-liquid-tag Dylan Thacker-Smith 2020-01-09 19:24:52 -05:00
  • ef79fa3898 style: Avoid deep nesting for parsing the liquid tag in the block body Dylan Thacker-Smith 2019-12-18 20:42:25 -05:00
  • f7ad602bfc Fix liquid tag nested in outer block Dylan Thacker-Smith 2019-12-18 17:37:45 -05:00
  • ffd6049ba2 Merge pull request #1222 from Shopify/bump-ci-ruby Dylan Thacker-Smith 2020-01-09 18:12:36 -05:00
  • b3ad54c0c2 Test against the latest ruby in CI Dylan Thacker-Smith 2020-01-09 12:46:12 -05:00
  • 67eca3f58d Upgrade rubocop and style guide for ruby 2.7 compatibility Dylan Thacker-Smith 2020-01-09 13:14:32 -05:00
  • 0847bf560f Merge pull request #1218 from Shopify/strainer/remove-safe-navigation Thierry Joyal 2020-01-07 11:54:49 -05:00
  • 8074565c3e Merge pull request #1216 from Shopify/unsupported-taint-mode Dylan Thacker-Smith 2020-01-07 10:12:36 -05:00
  • 050ee05583 Add stress test for correctness SamDoiron 2020-01-06 14:05:33 -05:00
  • c0ffee3ff9 [Strainer] Remove safe navigation Thierry Joyal 2020-01-06 17:56:50 +00:00
  • 24e81267b9 Merge pull request #1208 from Shopify/strainer/revisit Thierry Joyal 2020-01-06 13:56:22 -05:00
  • c0ffeeef26 [Strainer] Separate factory from template Thierry Joyal 2020-01-06 17:17:35 +00:00
  • 22dbf90b7d Try to stay compatible with ruby-head Dylan Thacker-Smith 2019-12-19 11:05:28 -05:00
  • 40c68c9c83 Remove support for taint_mode on ruby versions that don't support it Dylan Thacker-Smith 2019-12-19 11:00:42 -05:00
  • b7f0f158ab Merge pull request #1212 from Shopify/template-factory Martin Morissette 2019-12-19 08:52:22 -05:00
  • d8f31046a9 Introduce template factory template-factory Martin Morissette 2019-12-15 14:59:09 -05:00
  • 6c6382ed69 Merge pull request #1213 from Shopify/allow-failures-ruby-27 Martin Morissette 2019-12-16 09:46:12 -05:00
  • 53ba1372f9 Make ruby 2.7 optional in CI Martin Morissette 2019-12-16 08:59:26 -05:00
  • 3f439f73ba Add osx experiment-with-ruby-2.7 Thierry Joyal 2019-12-13 09:47:29 -05:00
  • 5face68cc8 Experiment with ruby 2.7 Thierry Joyal 2019-12-13 09:13:32 -05:00
  • 36c0fba4e0 Fix post-trim for the raw tag raw-post-trim Alan Wu 2019-11-05 17:43:14 -05:00
  • 974080c2cf Wrap partial lookups to override for tracking sfr-verification Justin Li 2019-10-30 14:13:40 -04:00
  • e52475a7cd Wrap evaluations in render and include to override for tracking Justin Li 2019-10-30 13:44:29 -04:00
  • 57c9cf64eb Allow render to handle with and for correctly (#1193) Mike Angell 2019-10-23 04:12:46 +10:00
  • 3dfcd9dedc Merge branch 'master' into fix-constants fix-constants Mike Angell 2019-10-21 22:57:44 +10:00
  • e83b1e4159 Add ForceEqualSignAlignment to .rubocop.yml (#1190) Alessandro Diogo Brückheimer 2019-10-21 13:18:48 +02:00
  • 3784020a8d [New Feature] Add forloop inside render tag when using for syntax (#1191) Mike Angell 2019-10-17 23:06:13 +10:00
  • baf21ec3cc Fix echo tag render-for-context Mike Angell 2019-10-16 02:00:06 +10:00
  • 7f1e25005b Fix accessors Mike Angell 2019-10-16 01:57:42 +10:00
  • 938ca78be6 Use accessors Mike Angell 2019-10-16 01:54:45 +10:00
  • 56a1034ac2 Remove forloop guard render-forloop Mike Angell 2019-10-15 20:37:12 +10:00
  • 1c3dcb0ddc Add forloop to render for syntax Mike Angell 2019-10-14 17:24:34 +10:00
  • 03a5375c8c Sort array in test Mike Angell 2019-10-14 17:04:29 +10:00