Michael Go
|
7c9b77e8cf
|
remove StringScanner version check in Lexer and Tokenizer
|
2025-01-07 14:51:29 -04:00 |
|
Michael Go
|
d48708ae46
|
skip expression caching with Expression1
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
42d822bda9
|
users can provide optional expression cache
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
2c7d686690
|
adding caching to context variable lookup
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
313d01706a
|
code styling
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
e9f86724f6
|
code styling
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
0a17c15289
|
freeze '-' VariableLookup in Expression
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
04bd9dbe90
|
refactor Lexer to only take StringScanner
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
253ec81b56
|
don't add a breaking change to Parser constructor
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
e05719fb82
|
use Kernel Integer parsing for simple Integer expression
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
ac374a208f
|
freeze Expression2 parse results
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
91be3dd75e
|
keep the expression parse caching per document parsing
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
40191022e8
|
initialize StringScanner with input for default
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
71506ad54e
|
avoid setting up StringScanner for parsing simple numbers
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
cef64e277e
|
early match number expressions with Regex
|
2025-01-07 14:32:46 -04:00 |
|
Michael Go
|
7c592c1c00
|
store StringScanner in ParseContext and reuse it through parsing
|
2025-01-07 14:32:45 -04:00 |
|
Michael Go
|
002e4caea7
|
refactor Lexer to be static class function
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
3c16c27ee1
|
add StringScannerPool for thread safety
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
eff5c5de8e
|
code clean up
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
19adfbd863
|
don't force strscan 3.1
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
a672f3836c
|
don't cache literals for Expression parser
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
92fa334192
|
don't cache string expressions to be more perfomant
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
7c8a269b4d
|
fix cycle tag not resetting
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
0b1dc295ff
|
fix quirky negative sign expression markup parsing
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
1de6025362
|
decrease the size of Expression2 LRU cache to store 5 themes
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
8ecb703d4d
|
use StringScanner to improve Expression Parsing and Tokenizer
|
2025-01-07 14:32:06 -04:00 |
|
 Ian Ker-SeymerandGitHub
|
b4667adadf
|
Bump to v5.6.0 (#1876)
v5.6.0
|
2024-12-19 15:01:16 -05:00 |
|
 Bahar PourazarandGitHub
|
94e02d765f
|
Merge pull request #1874 from Shopify/bp/bump-version
Bump version patch
v5.6.0.rc3
|
2024-12-17 17:39:35 -05:00 |
|
Bahar Pourazar
|
60701f865d
|
Bump version patch
|
2024-12-17 17:37:00 +00:00 |
|
Bahar Pourazar
|
0c49dd592f
|
bring back to_s.to_str
|
2024-12-17 17:37:00 +00:00 |
|
 Bahar PourazarandGitHub
|
c3ac0e0127
|
Merge pull request #1873 from Shopify/bp/tokenizer-fix
Fix bug in tokenizer with nil source value
|
2024-12-17 11:43:16 -05:00 |
|
Bahar Pourazar
|
a0a4307e7d
|
Fix bug in tokenizer with nil value
|
2024-12-17 15:34:13 +00:00 |
|
 Ian Ker-SeymerandGitHub
|
fdd8c714b2
|
Stop testing against liquid-c (#1868)
* Stop testing against `liquid-c`
* Bump to `v5.6.0.rc2`
v5.6.0.rc2
|
2024-12-11 12:23:50 -05:00 |
|
 Ian Ker-SeymerandGitHub
|
63583ffe5b
|
Write one value at a time for array variables (#1863)
* Write one value at a time for array variables
* Handle recursive array
|
2024-12-11 10:16:58 -05:00 |
|
 Benjamin SehlandGitHub
|
9a06cedbba
|
Merge pull request #1634 from tjoyal/patch-1
Update homepage url
|
2024-12-11 09:20:15 -05:00 |
|
Ian Ker-Seymer
|
42b6763546
|
Bump to v5.6.0.rc1
v5.6.0.rc1
|
2024-11-04 15:26:56 -05:00 |
|
 Michael GoandGitHub
|
e5d18c83bb
|
Merge pull request #1848 from Shopify/env-warn-cleanup
clean up all warnings by using new Environment
|
2024-11-04 16:17:17 -04:00 |
|
Michael Go
|
c77ff68573
|
clean up all warnings by using new Environment
|
2024-11-04 16:15:05 -04:00 |
|
 Ian Ker-SeymerandGitHub
|
b0cba0bfd2
|
Remove Liquid.cache_classes option (#1847)
|
2024-11-04 14:41:56 -05:00 |
|
 Michael GoandGitHub
|
8d8661349a
|
Merge pull request #1843 from Shopify/empty-array
avoid allocating new empty array
|
2024-11-04 15:36:46 -04:00 |
|
Michael Go
|
1f3ea7322b
|
avoid allocating new empty array
|
2024-11-04 15:35:45 -04:00 |
|
 Michael GoandGitHub
|
06f44226c0
|
Merge pull request #1846 from Shopify/env-propgating
propagate Environment on new Context creation
|
2024-11-04 15:33:50 -04:00 |
|
 Michael GoandGitHub
|
4bd22a26dc
|
Merge pull request #1845 from Shopify/remove-tag-registry
remove TagRegistry
|
2024-11-04 15:33:30 -04:00 |
|
Michael Go
|
3ed54bfdf9
|
propagate Environment on new Context creation
|
2024-11-04 15:32:07 -04:00 |
|
Michael Go
|
29986d3704
|
remove TagRegistry
|
2024-11-04 15:22:56 -04:00 |
|
 Michael GoandGitHub
|
8e40f8050a
|
Merge pull request #1838 from Shopify/quirky-lexer-parsing
fix parsing quirky incomplete expressions
|
2024-10-30 13:52:47 -03:00 |
|
Michael Go
|
ffce6de8bb
|
avoid using StringScanner eos
|
2024-10-30 13:45:10 -03:00 |
|
Michael Go
|
f00670cb01
|
refactor lexer unit test
|
2024-10-30 13:44:36 -03:00 |
|
Michael Go
|
f6a3e25e2e
|
fix parsing quirky incomplete expressions
|
2024-10-30 13:44:35 -03:00 |
|
 Michael GoandGitHub
|
f6ffc37cf2
|
Merge pull request #1840 from Shopify/fix-lexer-contains-as-id
fix lexer parsing ID 'contains' as comparison
|
2024-10-30 13:43:48 -03:00 |
|