Commit graph

87 commits

Author SHA1 Message Date
Kijin Sung
8e5480674d Exclude functions and closures from scope conversion #2617 2025-11-29 11:50:43 +09:00
Kijin Sung
50dd010e2d Remove empty class and style attributes when compiling template v2 2025-11-29 11:07:15 +09:00
Kijin Sung
40067c0b53 Support generated columns #2596 2025-09-09 17:18:31 +09:00
Kijin Sung
51762315de Support "if" in <group> inside <groups> #2595 2025-09-01 00:31:20 +09:00
Kijin Sung
e7d14be6bb Fix inappropriate quoting of "distinct" in XML query
https://rhymix.org/qna/1914711
2025-08-19 00:22:02 +09:00
Kijin Sung
6e325526c8 Add notnull property to <group> tag in conditions 2025-05-29 23:08:05 +09:00
Kijin Sung
52f106968a Add unit test for XEXMLParser 2025-05-17 12:54:47 +09:00
Kijin Sung
2ddf5aa8d8 Update unit tests to cover situations like #2550 2025-05-11 13:47:47 +09:00
Kijin Sung
3e052d2d00 Improve detection of template v1-style syntax in CSS/JS contexts 2025-03-19 12:44:17 +09:00
Kijin Sung
04a7734b2e Add unit test for contextual escape 2025-03-19 11:23:56 +09:00
Kijin Sung
49f57980dd Add unit test for inline styles in template v2 2025-03-19 00:16:08 +09:00
Kijin Sung
0bc3635b6c Update unit tests for improved contextual escape 2025-03-19 00:12:57 +09:00
Kijin Sung
62eb6b2aae Add more context switches for inline scripts and styles 2025-03-18 23:17:42 +09:00
Kijin Sung
800eb2f444 Change behavior of \@mobile directive in template v2 #2510 2025-03-18 22:51:22 +09:00
Kijin Sung
2b8656eaf0 Add unit tests for RVE-2025-1 2025-02-16 14:55:50 +09:00
Kijin Sung
ae0e13eca9 Add unit tests for if="var" support in XML query 2025-02-15 22:42:11 +09:00
Kijin Sung
0b9131e664 Remove unnecessary encoding of /, &, ' in template v2 JSON output 2024-03-24 21:29:54 +09:00
Kijin Sung
de08f5ee62 유닛 테스트 수정 및 강화하여 #2214 보완 2023-11-25 22:30:51 +09:00
Kijin Sung
40d3ce4f46 Add unit test ad5c3c0f5 2023-11-21 22:13:56 +09:00
Kijin Sung
e72336c90c Fix #2203 'this' in lang directive will refer to current module 2023-10-31 21:59:33 +09:00
Kijin Sung
fefd3dd895 Fix path normalization problem 2023-10-21 14:19:20 +09:00
Kijin Sung
6085b82d19 Inherit parent vars and add own vars when a template is included with vars from another template that has vars; add unit tests for vars inheritance 2023-10-21 13:52:02 +09:00
Kijin Sung
5b47151440 Change desktop and mobile directives to reference static Context method 2023-10-21 13:35:24 +09:00
Kijin Sung
3c401bbc20 Add pushOnce and prependOnce helper directives 2023-10-18 21:16:39 +09:00
Kijin Sung
c50cc71ce1 Fix random loop ID always changing in template v2 unit test 2023-10-18 12:28:51 +09:00
Kijin Sung
c487c13864 Apply context-aware escape more generally; add can/cannot/canany and env directives 2023-10-18 12:09:45 +09:00
Kijin Sung
c19d71847f Implement template v2 feature of pushing to stack 2023-10-18 02:23:18 +09:00
Kijin Sung
0f14ad8ccf Add error checking directive and unit tests for it 2023-10-18 00:29:32 +09:00
Kijin Sung
e044e11c5f Convert include code into a method of Template class 2023-10-18 00:01:11 +09:00
Kijin Sung
012dbb9ab7 Convert resource loading code into a method of Template class 2023-10-17 23:29:55 +09:00
Kijin Sung
55cafc5c33 Convert class and style builder into a method of Template class 2023-10-17 22:44:27 +09:00
Kijin Sung
82b9107ca0 Add support for fragment in template v2 2023-10-17 22:25:53 +09:00
Kijin Sung
a6afa3a61d Add loop variable and dump directive; reorganize template v2 unit tests 2023-10-17 20:12:22 +09:00
Kijin Sung
fe804163bf Add JSON_HEX_TAG and JSON_HEX_QUOT to JSON output filter 2023-10-17 19:00:00 +09:00
Kijin Sung
3c15589fb8 Allow loops and conditions to appear anywhere in a line 2023-10-17 03:28:20 +09:00
Kijin Sung
66980edab1 Allow use, include, and load directives to appear anywhere in a line 2023-10-17 03:06:40 +09:00
Kijin Sung
11ef5dcfff Add support for Blade-style @class and @style directives 2023-10-17 02:45:22 +09:00
Kijin Sung
668feea9e9 Add support for Blade-style @each include loop 2023-10-17 02:26:06 +09:00
Kijin Sung
eba9a4d333 Add unit test for actually compiling a v2 template 2023-10-17 00:33:36 +09:00
Kijin Sung
5899845b1d Update unit tests for template v2 2023-10-16 13:16:20 +09:00
Kijin Sung
27ab3fa7d9 More unit tests for template parser v2 2023-10-15 23:42:49 +09:00
Kijin Sung
9da1d56b21 Partial implementation of unit test for template parser v2 2023-10-15 23:03:27 +09:00
Kijin Sung
a640306123 Move unit test for TemplateParser v1 2023-10-15 00:50:26 +09:00
Kijin Sung
770cde8b8a Preserve line numbers when compiling SCSS with sourcemap 2023-09-04 23:40:09 +09:00
Kijin Sung
9d4961ff0d Update unit tests to force charset declaration and accommodate sourcemap comment 2023-09-04 23:05:14 +09:00
Kijin Sung
74cc098370 Remove incorrect sourceMap link in concatenated JS output 2023-09-04 22:00:12 +09:00
Kijin Sung
2b916a8bdb Add unit tests for session and cache-control attributes of module.xml 2023-08-30 22:41:14 +09:00
Kijin Sung
316cb49729 Update unit test for ModuleActionParser 2023-08-11 22:17:10 +09:00
Kijin Sung
d0306df095 Add parser logic for new module.xml settings 2023-08-10 23:52:01 +09:00
Kijin Sung
9e9adcdb43 Remove support for targetie attribute on assets 2022-12-28 00:35:57 +09:00