Commit Graph

  • 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 #1285 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
  • 7c3ad214f9 Handle BlockBody#blank? at parse time #1287 Dylan Thacker-Smith 2020-08-27 11:19:28 -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
  • 6ccdfc2945 Push interrupts from Continue and Break tags rather than from BlockBody #1286 Dylan Thacker-Smith 2020-08-27 11:19:28 -04:00
  • d79ad3c1c7 Remove unused quirk allowing liquid tags to close a block it is nested in #1284 Dylan Thacker-Smith 2020-08-28 13:57:10 -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
  • 6ea563bb2f
    Merge d5c31861f9cfb1f3f632c1cc07860e75c2d4419c into 5532df880fda804c838a35324ba7b8ea6cf0e34f #1266 Dylan Thacker-Smith 2020-08-18 16:37:46 -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
  • 76e4a0f06f Handle disabled tags errors like other liquid errors #1275 Dylan Thacker-Smith 2020-08-11 09:19:46 -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 #1266 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
  • 03f77b87e3
    Fix doc typo #1276 chocolateboy 2020-08-16 03:52:19 +00:00
  • 0f4c866d0c Fix performance regression from introduction of Template#disable_tags #1274 Dylan Thacker-Smith 2020-08-10 16:39:35 -04:00
  • 047dd722d6
    Merge baf21ec3cc04980de4ef2ae1be695e0f1be7d995 into a1d982ca76ed5cd9656719ba647d961ee20d195d #1188 Mike Angell 2020-08-07 04:22:10 +00:00
  • a1d982ca76
    Merge pull request #1272 from Shopify/StaticRegisters/add-test-coverage Thierry Joyal 2020-08-04 08:31:45 -04:00
  • 8352194111
    Merge 27e51b0455fd48a0e7c094a21f7ca4b086c217c4 into 1ced4eaf109d754949bfa1d8db1e1e1a3f18edee #1220 Thierry Joyal 2020-08-03 22:55:25 -04:00
  • 03be7f1ee3 [StaticRegisters] Add test coverage #1272 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 #1268 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
  • 82c9a530b3
    Merge 3dfcd9dedc89015686c3db449d7d47859250c5f6 into 1feaa6381300d56e2c71b49ad8fee0d4b625147b #1159 Mike Angell 2020-05-29 03:06:14 +01:00
  • 4fea76f127
    Merge d7d0479cc8ca03116c0cf3fabac6fd88ad7eaaa7 into 1feaa6381300d56e2c71b49ad8fee0d4b625147b #1224 Ashwin Maroli 2020-05-29 03:05:26 +01: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 #1258 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 #1257 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 #1250 Thierry Joyal 2020-05-21 12:31:32 -04:00
  • ede225110e [StaticRegisters] Do not override desired parent behaviour #1252 Thierry Joyal 2020-05-21 15:31:26 -04:00
  • 942e403a0f [StaticRegisters] Cache for reads Thierry Joyal 2020-05-21 15:18:50 -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 #1251 Thierry Joyal 2020-05-21 12:45:14 -04:00
  • c2f67398d0 Allow ruby-head failures #1239 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
  • 761c2b3a10 allow method literals to provide useful values Eric Chan 2020-02-11 03:05:07 -05:00
  • 27e51b0455 Remove a line feed for CI #1220 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
  • c4c2f4ae3e Fix Liquid::Template inheritance #1227 Dylan Thacker-Smith 2020-01-21 12:12:07 -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
  • c06e5d0d97
    Update register.rb #1225 Artem150115 2020-01-16 18:04:26 +03:00
  • c08a358a2b Use String literal instead of using a class method #1207 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. #1206 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
  • d7d0479cc8 Set instance variables of the singleton class #1224 Ashwin Maroli 2020-01-12 14:28:06 +05:30
  • 48a155a213
    Initialize Liquid::Template class attributes eagerly instead of lazily (#1223) Dylan Thacker-Smith 2020-01-10 17:42:01 -05:00
  • 2ca65bf7ae Initialize Liquid::Template class attributes eagerly instead of lazily #1223 Dylan Thacker-Smith 2020-01-10 10:50:36 -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 #1215 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 #1222 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
  • c0ffeebff2 [Liquid::Template] Cleanup file_system class variable #1219 Thierry Joyal 2020-01-07 14:57:31 +00: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 #1218 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 #1208 Thierry Joyal 2020-01-06 17:17:35 +00:00
  • 22dbf90b7d Try to stay compatible with ruby-head #1216 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 #1212 template-factory Martin Morissette 2019-12-15 14:59:09 -05:00
  • e778657ec7 Pass caller as option to file system register #1211 Martin Morissette 2019-12-14 15:19:08 -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 #1213 Martin Morissette 2019-12-16 08:59:26 -05:00
  • 3f439f73ba Add osx #1209 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 #1197 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
  • aae055e4d8 code improvements #1193 Mike Angell 2019-10-23 03:45:41 +10:00
  • 90e3332e47 Allow render to handle with and for correctly Mike Angell 2019-10-23 02:59:03 +10:00
  • 3dfcd9dedc
    Merge branch 'master' into fix-constants #1159 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
  • 35bd54f501 Fix missing alignment #1190 alebruck 2019-10-21 08:24:10 +02:00
  • 60542c6648 Undo addition of whitespace to improve readability Ashwin Maroli 2019-10-21 03:05:59 +05:30
  • d562510408
    Merge branch 'master' into fix-equal-alignment Alessandro Diogo Brückheimer 2019-10-20 18:12:18 +01:00
  • 3784020a8d
    [New Feature] Add forloop inside render tag when using for syntax (#1191) Mike Angell 2019-10-17 23:06:13 +10:00