Commit Graph

  • f7d67b946e rubocop autocorrect Style/MethodCallWithArgsParentheses Dylan Thacker-Smith 2020-12-11 13:51:00 -05:00
  • ae9aee896b Update History.md with changes since last release Marc-André Cournoyer 2020-12-10 08:03:17 -05:00
  • 6dec172743 Merge pull request #1366 from Shopify/profile-render-node Dylan Thacker-Smith 2020-12-09 10:07:31 -05:00
  • da581d988a Create top-level profile timing nodes for multiple template renders Dylan Thacker-Smith 2020-11-19 16:11:24 -05:00
  • 7960826552 Rename render_profiling_test.rb to profiler_test.rb Dylan Thacker-Smith 2020-11-19 16:01:34 -05:00
  • 84059691b8 Merge pull request #1365 from Shopify/profiling-multiple-renders Dylan Thacker-Smith 2020-12-09 10:05:48 -05:00
  • 896288eff1 Move start of profiling to a Document#render_to_output_buffer patch Dylan Thacker-Smith 2020-11-17 13:56:30 -05:00
  • b3f132efd1 Fix total_render_time if a Profiler gets used for multiple renders Dylan Thacker-Smith 2020-11-17 13:53:35 -05:00
  • 60214b957c Store the profiler in the context instead of a thread-local variable (#1364) Dylan Thacker-Smith 2020-12-09 10:04:20 -05:00
  • 7361220af6 Merge pull request #1363 from Shopify/profiler-context-template-name Dylan Thacker-Smith 2020-12-09 10:03:42 -05:00
  • cb2ad71a31 Remove the Profiler#initialize argument which is effectively now unused Dylan Thacker-Smith 2020-11-17 13:24:35 -05:00
  • 900e3a6491 Fix template name in profile result for render tag timing objects Dylan Thacker-Smith 2020-11-17 11:52:02 -05:00
  • f18084203d Use monotonic time to measure durations in Liquid::Profiler (#1362) Dylan Thacker-Smith 2020-12-09 10:00:44 -05:00
  • 3358a892f2 Merge pull request #1371 from Shopify/pz-revert-instrument Peter Zhu 2020-12-01 15:24:52 -05:00
  • bbfcaa2cc0 Revert "Merge pull request #1350 from Shopify/pz-instrument-invalid-end-tag" Peter Zhu 2020-12-01 14:38:04 -05:00
  • ba657871bc Revert "Merge pull request #1359 from Shopify/pz-instrument-range-floats" Peter Zhu 2020-12-01 14:37:23 -05:00
  • 29d5d9674a Merge pull request #1370 from Shopify/pz-freeze-case-body Peter Zhu 2020-11-27 12:03:03 -05:00
  • 0a645e72c1 Freeze the body for case Peter Zhu 2020-11-27 11:29:17 -05:00
  • 94df9a8f52 Update lib/liquid/standardfilters.rb truncatewords Aaron Patterson 2020-11-16 10:23:20 -08:00
  • 1850511334 Use an atomic subgroup in range regex to avoid pathological backtracking (#1360) Dylan Thacker-Smith 2020-11-16 10:29:36 -05:00
  • 300adfd7ae Merge pull request #1359 from Shopify/pz-instrument-range-floats Peter Zhu 2020-11-13 16:08:47 -05:00
  • f357662f37 Instrument floats in ranges Peter Zhu 2020-11-13 13:33:32 -05:00
  • e98bb0d594 Use branch of liquid-c pz-float-var-range Peter Zhu 2020-11-13 09:29:26 -05:00
  • 76dbb0d640 Support float in variable range Peter Zhu 2020-11-13 09:29:09 -05:00
  • eab12e1240 Test range of floats Peter Zhu 2020-11-13 09:26:34 -05:00
  • 351e8f3fff Fix rebase issues pz-strict-parser Peter Zhu 2020-11-12 16:15:31 -05:00
  • 2cf4b1bd55 Raise Liquid::ArgumentError on invalid range Peter Zhu 2020-11-12 16:08:16 -05:00
  • 38600338cf Address comments Peter Zhu 2020-11-12 15:58:15 -05:00
  • 6d19a56ef3 Add tests for invalid ranges Peter Zhu 2020-11-11 14:36:09 -05:00
  • 2c27c2a6e1 Move tests for VariableLookup Peter Zhu 2020-11-11 14:24:33 -05:00
  • 933a1f1e7e Change Parser#expression to build the parsed expression Peter Zhu 2020-11-11 14:19:31 -05:00
  • ed0aebcbc9 Merge pull request #1355 from Shopify/pz-instrument-forloop-name Peter Zhu 2020-11-12 14:24:08 -05:00
  • ea4f1885f8 Instrument forloop.name Peter Zhu 2020-11-12 13:54:21 -05:00
  • 2f75db604f Merge pull request #1354 from Shopify/pz-instrument-for-offset-continue Peter Zhu 2020-11-12 14:14:09 -05:00
  • d844a3dd8b Instrument usage of offset:continue in for loops Peter Zhu 2020-11-12 13:39:02 -05:00
  • 9fcba1a26c Remove unused translation (#1033) Max Melentiev 2020-11-11 15:21:04 +00:00
  • 0659891e68 Merge pull request #1352 from Shopify/pz-test-trim-blank Peter Zhu 2020-11-10 10:36:21 -05:00
  • e7fb3b18f3 Test trim without any content Peter Zhu 2020-11-10 10:31:07 -05:00
  • e6eef4b2c4 Merge pull request #1350 from Shopify/pz-instrument-invalid-end-tag Peter Zhu 2020-11-10 10:06:25 -05:00
  • 2ce577e36b Instrument for bug #1346 Peter Zhu 2020-11-09 12:04:58 -05:00
  • 2c0c672df8 Address comments pz-fix-tags-in-comment Peter Zhu 2020-11-09 12:34:13 -05:00
  • 35570d4ee0 Fix regex for matching endraw tags pz-invalid-endraw-tag Peter Zhu 2020-11-06 14:16:40 -05:00
  • d1a08eacfe Fix tags in comment Peter Zhu 2020-11-06 12:08:53 -05:00
  • c7c21e88f0 Merge pull request #1344 from Shopify/pz-test-space-in-dot Peter Zhu 2020-11-06 10:10:08 -05:00
  • a89371b0b9 Test space between dot Peter Zhu 2020-11-05 15:39:44 -05:00
  • 8493f95acb Test invalid floats pz-test-invalid-float Peter Zhu 2020-11-05 09:35:23 -05:00
  • 8f7f8761d1 Use Array#each instead of Array#inject to avoid an object allocation (#1341) Dylan Thacker-Smith 2020-10-29 11:24:19 -04:00
  • a3ff300419 Merge pull request #1330 from ashmaroli/exception-renderer-lambda Justin Li 2020-10-28 13:38:20 -04:00
  • ea6e326b9c Fix FrozenError for blank case tag with multiple expression when tag (#1340) Dylan Thacker-Smith 2020-10-28 13:37:17 -04:00
  • 740f8759cc Rename constant to RAISE_EXCEPTION_LAMBDA Ashwin Maroli 2020-10-28 23:06:13 +05:30
  • bb9cd4eb6a Merge upstream branch 'master' into this branch Ashwin Maroli 2020-10-28 22:14:09 +05:30
  • 3a591fbf26 Merge pull request #1336 from ashmaroli/trigger-github-actions-on-pull-requests Peter Zhu 2020-10-28 11:35:52 -04:00
  • 7754d5aef5 Attempt to strict parse variables before lax parsing in lax error mode (#1338) Dylan Thacker-Smith 2020-10-28 10:37:00 -04:00
  • 1d63d5db5f Fix a leaky test that set Tempate.error_mode without resetting it (#1339) Dylan Thacker-Smith 2020-10-28 10:36:33 -04:00
  • 26640368e5 Run workflows for pull requests from repo forks Ashwin Maroli 2020-10-28 12:45:10 +05:30
  • f23c2a83f2 Fix lax parsing expressions surrounded by spaces (#1335) Dylan Thacker-Smith 2020-10-27 14:53:57 -04:00
  • 61d54d1b19 Merge pull request #1331 from Shopify/pz-freeze-block Peter Zhu 2020-10-27 13:17:54 -04:00
  • 10ea6144e0 Add Liquid::ParseContext#parse_expression for liquid-c node disabling (#1333) Dylan Thacker-Smith 2020-10-27 11:00:04 -04:00
  • 292d971937 Merge loops Peter Zhu 2020-10-27 10:42:30 -04:00
  • 5c082472a1 Address comments Peter Zhu 2020-10-26 16:07:43 -04:00
  • 0bedc71854 Address comments Peter Zhu 2020-10-26 15:11:00 -04:00
  • fe66edb825 Freeze block body after parsing completes Peter Zhu 2020-10-23 10:53:16 -04:00
  • bfa2df7036 Stash exception_renderer lambda in a constant Ashwin Maroli 2020-10-26 19:44:00 +05:30
  • 0e52706a5b Remove redundant comment in Liquid::Template (#1328) Ashwin Maroli 2020-10-22 22:19:02 +05:30
  • 4c6166f989 Add parsing quirk test for lookup on variable with literal name (#1325) Dylan Thacker-Smith 2020-10-21 16:30:17 -04:00
  • 8e99b3bd7f Merge pull request #1322 from ashmaroli/else-tag-names Justin Li 2020-10-21 12:09:14 -04:00
  • f6532de1fd Merge pull request #1323 from Shopify/assign-score-hash Dylan Thacker-Smith 2020-10-21 11:18:35 -04:00
  • 001fde7694 Avoid allocating arrays of key value pairs for hashes in assign_score_of Dylan Thacker-Smith 2020-10-21 10:09:02 -04:00
  • b872eac2b9 More comprehensively test assign_score_of Dylan Thacker-Smith 2020-10-21 09:57:36 -04:00
  • 038d0585cf Move some assign score increment tests to the tag that increments Dylan Thacker-Smith 2020-10-21 09:56:46 -04:00
  • b15428ea83 Stash array of tag names in a constant Ashwin Maroli 2020-10-21 18:50:56 +05:30
  • c9ad9d338c Extract method for raising a syntax error in the assign tag for liquid-c (#1321) Dylan Thacker-Smith 2020-10-20 16:59:52 -04:00
  • ae6bd9f6b0 Allow an empty variable tag during strict parsing for liquid-c compat (#1320) Dylan Thacker-Smith 2020-10-20 14:11:48 -04:00
  • 866e437c05 Test tag disabling using custom tags (#1318) Dylan Thacker-Smith 2020-10-19 16:32:02 -04:00
  • 784db053f2 Merge pull request #1317 from Shopify/strict-parse-dynamic-find-var Dylan Thacker-Smith 2020-10-19 13:43:26 -04:00
  • ff1c6bd26e Actually remove test file with no extension moved into another test file (#1316) Dylan Thacker-Smith 2020-10-19 12:40:02 -04:00
  • 46fd63da5f Fix strict parsing of find variable with a name expression Dylan Thacker-Smith 2020-10-19 12:07:39 -04:00
  • 420a1c79e1 Refactor variable lookup strict parsing to reduce coupling on dot lookup Dylan Thacker-Smith 2020-10-19 12:10:32 -04:00
  • 6d39050e1e Use a case statement in Liquid::Parser#expression Dylan Thacker-Smith 2020-10-19 11:32:18 -04:00
  • 8bf0e7dfae Reduce allocations in truncatewords Aaron Patterson 2020-10-09 15:54:25 -07:00
  • 077bf2a409 Test reporting of liquid error for filter call with wrong number of arguments (#1311) Dylan Thacker-Smith 2020-10-08 11:55:40 -04:00
  • 1a3e38c018 Merge pull request #1310 from Shopify/only-integration-test-liquid-c Dylan Thacker-Smith 2020-10-08 11:52:50 -04:00
  • e495f75cc2 Remove support for ruby 2.4, which is no longer supported upstream Dylan Thacker-Smith 2020-10-08 09:47:42 -04:00
  • e781449c36 Remove root directory from library search path for tests Dylan Thacker-Smith 2020-10-08 01:53:11 -04:00
  • 7eb03ea198 Only test liquid-c integration using the integration tests Dylan Thacker-Smith 2020-10-08 01:52:40 -04:00
  • 9cc410478e Refactor the Optimizer class no visit the AST optimize-append-filter Marc-André Cournoyer 2020-10-07 16:06:50 -04:00
  • bd34cd5613 Merge pull request #1308 from Shopify/pz-gh-actions Peter Zhu 2020-10-07 14:38:15 -04:00
  • 4196a94aa3 Plug Optimizer in Document.parse Marc-André Cournoyer 2020-10-07 13:47:23 -04:00
  • 0de722968c Introduce the AST Optimizer Marc-André Cournoyer 2020-10-07 13:31:59 -04:00
  • c28d455f7b Use GitHub Actions for CI Peter Zhu 2020-10-07 13:29:39 -04:00
  • d250a7f502 Set Context#initialize instance variables before squashing assigns (#1307) Dylan Thacker-Smith 2020-10-06 21:00:08 -04:00
  • b0f46326ca Merge pull request #1306 from Shopify/pz-raise-tag-never-closed Peter Zhu 2020-10-06 17:13:35 -04:00
  • 7aed2f122c Refactor raising tag never closed to method Peter Zhu 2020-10-06 15:55:55 -04:00
  • 5199a34d9b Merge pull request #1304 from Shopify/pz-raw-bug Peter Zhu 2020-10-05 10:59:15 -04:00
  • 4c2ab6f878 Fix bug in raw tags Peter Zhu 2020-10-05 10:47:28 -04:00
  • a818dd9d19 Fix test with missing extension (#1302) Dylan Thacker-Smith 2020-09-30 13:44:28 -04:00
  • f0cc366cfc Fix missing freeze for array of static environments freeze-array-of-static-environments Dylan Thacker-Smith 2020-09-30 10:00:17 -04:00
  • efef03d944 Merge pull request #1294 from Shopify/changes-for-liquid-c-vm-variable Dylan Thacker-Smith 2020-09-29 21:02:26 -04:00
  • 33760f083a Extract rescue code from BlockBody#render_node for re-use in liquid-c changes-for-liquid-c-vm-variable Dylan Thacker-Smith 2020-09-14 14:12:19 -04:00
  • 013802c877 Move some unit tests without internal coupling to integration tests Dylan Thacker-Smith 2020-09-15 09:11:38 -04:00