Commit Graph

  • 0c49dd592f bring back to_s.to_str Bahar Pourazar 2024-12-17 17:35:44 +00:00
  • c3ac0e0127
    Merge pull request #1873 from Shopify/bp/tokenizer-fix Bahar Pourazar 2024-12-17 11:43:16 -05:00
  • a0a4307e7d Fix bug in tokenizer with nil value #1873 bp/tokenizer-fix Bahar Pourazar 2024-12-17 14:42:58 +00:00
  • 369789ed2f WIP: more careful IF block merger tree-optimizer Michael Go 2024-12-12 16:00:50 -04:00
  • d80e0ca40d
    Merge a73b25eae3b567e4b65b2585014099151f67b967 into fdd8c714b203f1378356a8ae57edb92fca447991 #1787 Zach McCormick 2024-12-12 08:29:11 -05:00
  • 2186981c06 Refactor: avoid usage of public_send #1869 new-array-filters Guilherme Carreiro 2024-12-12 09:32:24 +01:00
  • 6a86fcc411 WIP: Loom Michael Go 2024-12-11 16:45:39 -04:00
  • fdd8c714b2
    Stop testing against liquid-c (#1868) v5.6.0.rc2 Ian Ker-Seymer 2024-12-11 12:23:50 -05:00
  • 2a8ba46482
    Bump to v5.6.0.rc2 #1868 Ian Ker-Seymer 2024-12-11 12:20:42 -05:00
  • ea801dd96c
    Stop testing against liquid-c Ian Ker-Seymer 2024-12-11 12:20:33 -05:00
  • 63583ffe5b
    Write one value at a time for array variables (#1863) Ian Ker-Seymer 2024-12-11 10:16:58 -05:00
  • 9a06cedbba
    Merge pull request #1634 from tjoyal/patch-1 Benjamin Sehl 2024-12-11 09:20:15 -05:00
  • 820b238288
    Handle recursive array #1863 write-array-each Ian Ker-Seymer 2024-12-10 19:17:24 -05:00
  • 5e459b884a
    Write one value at a time for array variables Ian Ker-Seymer 2024-12-10 18:12:39 -05:00
  • 4df1145c24 Top Hat changes new-array-filters-tophat Guilherme Carreiro 2024-12-05 08:57:53 +01:00
  • 41a77c68c6 Add find, find_index, has, and reject filters to arrays Guilherme Carreiro 2024-12-03 13:57:31 +01:00
  • 3d1e2d434e Update branch with main Guilherme Carreiro 2024-12-03 14:11:55 +01:00
  • 1058a7768f Add deep search for filter taking in properties #1749 Anders Søgaard 2023-10-15 20:25:34 +02:00
  • 4b01977067 Add reject filter #1573 Anders Søgaard 2022-05-12 16:41:40 +02:00
  • 5957206ee8
    chore: Add RUBYOPT configuration to the tests Michael Nikitochkin 2024-11-30 10:16:51 +01:00
  • 68271c8c4d
    chore: Bump development ruby verion to 3.3.6 #1860 Michael Nikitochkin 2024-11-30 10:21:28 +01:00
  • bc0dbeb208 clean up write recording #1858 score-registers Youssef Makboul 2024-11-28 17:46:50 -05:00
  • 0d1d77e551 use is_a instead of instance and ignore nils Youssef Makboul 2024-11-27 16:00:48 -05:00
  • 7193798007 add key and val to assign score recs Youssef Makboul 2024-11-27 14:19:21 -05:00
  • 4d8bf848f1 use static regs Youssef Makboul 2024-11-27 12:24:48 -05:00
  • 7997c11c1a WIP - Implement indentation whitespace control catlee/indentation Chris AtLee 2022-10-26 17:29:29 -04:00
  • b185421405 store scores in regs Youssef Makboul 2024-11-26 14:09:27 -05:00
  • 18710d7c43 debug: track expression parse time mg/test Michael Go 2024-11-20 13:37:09 -04:00
  • 1def794b66
    Restrict split limit to integer-like values, default to zero Mostafa Ahangarha 2024-11-15 21:29:43 +03:30
  • 85a70d7cae Prototype prototype-1849 Guilherme Carreiro 2024-11-15 16:33:27 +01:00
  • ffcfa2739e
    Simplify the logic Mostafa Ahangarha 2024-11-14 12:49:25 +03:30
  • 88091056b4
    Remove redundant conversion to integer Mostafa Ahangarha 2024-05-11 17:15:17 +03:30
  • 2b4ff62b88
    Trigger CI for CLA check Mostafa Ahangarha 2024-05-11 17:01:08 +03:30
  • 0f37f81724
    Add an ontional limit argument to split filter Mostafa Ahangarha 2024-05-11 16:56:11 +03:30
  • 42b6763546
    Bump to v5.6.0.rc1 v5.6.0.rc1 Ian Ker-Seymer 2024-11-04 15:26:56 -05:00
  • e5d18c83bb
    Merge pull request #1848 from Shopify/env-warn-cleanup Michael Go 2024-11-04 16:17:17 -04:00
  • c77ff68573 clean up all warnings by using new Environment #1848 env-warn-cleanup Michael Go 2024-11-04 16:15:05 -04:00
  • b0cba0bfd2
    Remove Liquid.cache_classes option (#1847) Ian Ker-Seymer 2024-11-04 14:41:56 -05:00
  • 272c2923b1
    Remove Liquid.cache_classes option #1847 Ian Ker-Seymer 2024-11-04 14:38:14 -05:00
  • 8d8661349a
    Merge pull request #1843 from Shopify/empty-array Michael Go 2024-11-04 15:36:46 -04:00
  • 1f3ea7322b avoid allocating new empty array #1843 empty-array Michael Go 2024-11-04 15:35:45 -04:00
  • 06f44226c0
    Merge pull request #1846 from Shopify/env-propgating Michael Go 2024-11-04 15:33:50 -04:00
  • 4bd22a26dc
    Merge pull request #1845 from Shopify/remove-tag-registry Michael Go 2024-11-04 15:33:30 -04:00
  • 3ed54bfdf9 propagate Environment on new Context creation #1846 env-propgating Michael Go 2024-11-04 15:32:04 -04:00
  • 29986d3704 remove TagRegistry #1845 remove-tag-registry Michael Go 2024-11-04 15:22:56 -04:00
  • fe2ba1d8da don't create string scanner for liquid tag #1841 ianks-lazy-tokenizer Michael Go 2024-11-01 17:31:05 -03:00
  • fa51b8be40 mini opt Michael Go 2024-11-01 17:30:18 -03:00
  • f77075895a appease rubocop Michael Go 2024-11-01 17:24:09 -03:00
  • 579b899e24 mini opt Michael Go 2024-11-01 17:19:50 -03:00
  • 7ac53a3639 use String#split for liquid tag tokenization Michael Go 2024-11-01 17:11:10 -03:00
  • f49ceed826 mini opt Michael Go 2024-11-01 17:06:28 -03:00
  • d2b68b81a7 undo mini opt Michael Go 2024-11-01 17:02:09 -03:00
  • 7d9ffdce03 mini opt Michael Go 2024-11-01 16:36:25 -03:00
  • 2e4d02f4d1 mini opt Michael Go 2024-11-01 16:21:25 -03:00
  • a0c64e4cbd
    Update strscan comment Ian Ker-Seymer 2024-10-31 16:57:52 -04:00
  • b4907f6323 pre-calculate tokens Michael Go 2024-10-31 11:27:41 -03:00
  • 78ef372878 backward compatible tokenizer Michael Go 2024-10-30 14:31:55 -03:00
  • 2a829b889e add more quirky lexer parsing unit test Michael Go 2024-10-29 17:24:54 -03:00
  • 15d117926d more less strict strscan version requirement Michael Go 2024-10-29 15:28:01 -03:00
  • 936f73dc30 refactor tokenizer to simulate original regex properly Michael Go 2024-10-29 15:01:42 -03:00
  • fecbc62533 remove unnecessary comparison jump table entries Michael Go 2024-10-28 19:33:49 -03:00
  • b7b6400985 fix typo Michael Go 2024-10-28 16:31:17 -03:00
  • be8e329cef more opt Ian Ker-Seymer 2024-10-25 08:56:59 -04:00
  • d76663f570 more opt Ian Ker-Seymer 2024-10-25 00:42:23 -04:00
  • f42c6b0608 more opt Ian Ker-Seymer 2024-10-25 00:08:47 -04:00
  • aa45356133 Avoid method dispatch Ian Ker-Seymer 2024-10-24 22:45:12 -04:00
  • a406603e9f more micro optimization Michael Go 2024-10-24 23:02:49 -03:00
  • 54975ddac1 more micro optimization Michael Go 2024-10-24 23:00:34 -03:00
  • 91e1563e1c more micro optimization Michael Go 2024-10-24 22:59:28 -03:00
  • 0346337c05 more micro optimization Michael Go 2024-10-24 22:56:09 -03:00
  • 649b64ffd4 more micro optimization Michael Go 2024-10-24 22:43:49 -03:00
  • 48d6a03de6 more micro optimization Michael Go 2024-10-24 22:38:53 -03:00
  • 9e0c5f4747 more micro optimization Michael Go 2024-10-24 22:38:07 -03:00
  • e06ac1bc9c more micro optimization Michael Go 2024-10-24 22:34:01 -03:00
  • c2baa4c270 more micro optimization Michael Go 2024-10-24 22:32:14 -03:00
  • b81d1c8c5d more micro optimization Michael Go 2024-10-24 22:31:14 -03:00
  • e3c2fd47b2 more micro optimization Michael Go 2024-10-24 22:24:58 -03:00
  • 1b3927ee1d more micro optimization Michael Go 2024-10-24 22:23:27 -03:00
  • 6ad7508ce2 more micro optimization Michael Go 2024-10-24 22:19:41 -03:00
  • ddb969af8b more micro optimization Michael Go 2024-10-24 22:03:12 -03:00
  • 128935dcef micro optimization Michael Go 2024-10-24 21:55:53 -03:00
  • b545e3ae6a lazy tokenizer Michael Go 2024-10-24 21:22:55 -03:00
  • 59699075a2 refactor lexer unit test Michael Go 2024-10-29 17:11:35 -03:00
  • 12b5a35e26 fix parsing quirky incomplete expressions Michael Go 2024-10-29 17:06:02 -03:00
  • 8e40f8050a
    Merge pull request #1838 from Shopify/quirky-lexer-parsing Michael Go 2024-10-30 13:52:47 -03:00
  • ffce6de8bb avoid using StringScanner eos #1838 quirky-lexer-parsing Michael Go 2024-10-30 11:53:54 -03:00
  • f00670cb01 refactor lexer unit test Michael Go 2024-10-29 17:11:35 -03:00
  • f6a3e25e2e fix parsing quirky incomplete expressions Michael Go 2024-10-29 17:06:02 -03:00
  • f6ffc37cf2
    Merge pull request #1840 from Shopify/fix-lexer-contains-as-id Michael Go 2024-10-30 13:43:48 -03:00
  • 1375a9e4dc fix lexer parsing ID 'contains' as comparison #1840 fix-lexer-contains-as-id Michael Go 2024-10-29 22:22:30 -03:00
  • c626dfa1a1
    Merge pull request #1839 from Shopify/lexer-parse-error-with-utf8 Michael Go 2024-10-30 13:39:05 -03:00
  • 8a9f33a060 raise syntax error from lexer parser with utf8 character #1839 lexer-parse-error-with-utf8 Michael Go 2024-10-29 22:04:37 -03:00
  • 1943441361
    Merge pull request #1835 from Shopify/fix-multibyte-variable-parsing Michael Go 2024-10-28 19:31:21 -03:00
  • 36251e640c
    Merge pull request #1837 from Shopify/lexer-comparison-fix Michael Go 2024-10-28 19:31:11 -03:00
  • d94293a464 fix lexer parsing comparison without whitespaces #1837 lexer-comparison-fix Michael Go 2024-10-28 19:28:44 -03:00
  • 6c13805a60 fix parsing Variable blockbody with multibyte character #1835 fix-multibyte-variable-parsing Michael Go 2024-10-28 17:33:55 -03:00
  • b4196489c2
    Merge pull request #1833 from Shopify/fast-variable-parse Michael Go 2024-10-28 15:28:04 -03:00
  • 6d58c41440
    Merge pull request #1831 from Shopify/gg-add-named-params-docs Gray Gilmore 2024-10-28 09:20:55 -07:00
  • fb6ac72520 use byteslice to create Variable BlockBody #1833 fast-variable-parse Michael Go 2024-10-25 15:29:24 -03:00
  • cb16219552 faster BlockBody variable matching Michael Go 2024-10-22 17:06:20 -03:00