74285[WIP][TASK] TypoScript parser
Commit message
Review
-
Code review CR 0
-
Verified V 0
Files 7
- typo3/sysext/core/Classes/TypoScript/TemplateService.php+23 −5
- typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php+11 −9
- typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php+14 −0
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php4+141 −43
- typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php+38 −0
- typo3/sysext/frontend/ext_localconf.php+13 −0
- typo3/sysext/tstemplate/Configuration/Services.yaml+3 −0
Review log 147257
Show 133232 earlier messages
-
Christian Kuhn uploaded patch set 1 04/13/22, 11:01
-
Christian Kuhn marked it work in progress 04/13/22, 11:01
-
Christian Kuhn rebased onto patch set 2 04/13/22, 11:02
-
core-ci voted on patch set 1 V -1 04/13/22, 11:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/25976
-
core-ci voted on patch set 2 V -1 04/13/22, 11:15 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/25977
-
Christian Kuhn uploaded patch set 3 04/13/22, 12:07
-
core-ci voted on patch set 3 V -1 04/13/22, 12:17 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/25978
-
Christian Kuhn uploaded patch set 4 04/19/22, 13:51
-
core-ci voted on patch set 4 V +1 04/19/22, 14:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26190
-
Christian Kuhn uploaded patch set 5 04/20/22, 13:38
-
core-ci voted on patch set 5 V +1 04/20/22, 13:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26231
-
crell commented on patch set 5 04/20/22, 17:43
TokenEnum.php:22The convention (that will become a FIG recommendation sooner or later) is to not ALL_CAPS enums. They should be CamelCase. I realize that's contrary to the typical token strategy, though, so I'm not sure if this is a justified exception. I'm honestly leaning no, but it's debatable.Tokenizer.php:77I'm really not a fan of massive-switch structures. While they can certainly pass tests, they're harder to read and harder to maintain. It also took me multiple scans through to realize that this method is not all one giant switch, but sometimes continues, has other branches, and maintains a lot of important state, so it's not simply a matter of inlinine a big flat branch list. There are better ways to structure this code.Tokenizer.php:736Shouldn't this conditional be the other way around? -
Christian Kuhn commented on patch set 5 04/21/22, 08:24
This change is ready for review.Token.php:23ReplyI'll probably keep the getters - that's more flexible in case we need to migrate later. not 100% sure, though.TokenEnum.php:22ReplyAh, good point. those where constants in my first implementations, i may rename that.Tokenizer.php:77ReplyI've read through your chapter about "functional monadic state machine". I didn't fully understand all details, though. We might be able to implement this approach later and swapping in a different solution: The test coverage is there now, so if something different passes tests and is performance wise similar, it's of course an option. At the moment I'll continue with AST creation and evaluation of the token stream, though.Tokenizer.php:736Replydots in T_IDENTIFIER need to be quoted again when untokenizing. -
Christian Kuhn marked it work in progress 04/21/22, 08:24
-
Christian Kuhn uploaded patch set 6 04/21/22, 08:39
-
core-ci voted on patch set 6 V +1 04/21/22, 08:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26265
-
Simon Schaufelberger commented on patch set 6 04/24/22, 00:37
did you have a look at how nikic/php-parser works? -
Simon Schaufelberger wrote 04/24/22, 00:37
Removed cc Simon Schaufelberger. -
Christian Kuhn uploaded patch set 7 04/24/22, 19:38
-
Christian Kuhn updated the commit message in patch set 8 04/24/22, 19:40
-
Christian Kuhn commented on patch set 7 04/24/22, 19:47
This change is ready for review.Reply
i looked at various parsers: the nikic parser for instance does not need to tokenize because it uses php's token_get_all(). token_get_all() however is "old" and returns a funny structure. the implementation of "my" tokenizer is a bit more modern (it for instance *always* returns tokens objects and not just strings, which token_get_all() does for things like assignments for instance). nikic is interesting for the AST-builder part, which is heavily semantical-driven. the TS-syntax AST part can be more slim, so the AST parsing code of nikic can be used only as inspiration but not as a 'how-to-solve-it'. -
Christian Kuhn marked it ready for review 04/24/22, 19:47
-
Christian Kuhn marked it work in progress 04/24/22, 19:47
-
core-ci voted on patch set 7 V +1 04/24/22, 19:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26378
-
core-ci voted on patch set 8 V +1 04/24/22, 19:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26379
-
Christian Kuhn uploaded patch set 9 04/25/22, 09:58
-
core-ci voted on patch set 9 V -1 04/25/22, 10:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26389
-
Christian Kuhn uploaded patch set 10 04/25/22, 10:41
-
core-ci voted on patch set 10 V +1 04/25/22, 10:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26392
-
Christian Kuhn uploaded patch set 11 04/25/22, 14:51
-
core-ci voted on patch set 11 V +1 04/25/22, 15:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26402
-
Christian Kuhn uploaded patch set 12 04/25/22, 21:02
-
core-ci voted on patch set 12 V +1 04/25/22, 21:10 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26431
-
Christian Kuhn uploaded patch set 13 04/25/22, 21:20
-
core-ci voted on patch set 13 V +1 04/25/22, 21:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26433
-
Christian Kuhn uploaded patch set 14 04/26/22, 09:27
-
Christian Kuhn uploaded patch set 15 04/26/22, 09:29
-
core-ci voted on patch set 14 V +1 04/26/22, 09:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26442
-
core-ci voted on patch set 15 V +1 04/26/22, 09:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26443
-
Christian Kuhn uploaded patch set 16 04/27/22, 11:37
-
core-ci voted on patch set 16 V -1 04/27/22, 11:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26504
-
Christian Kuhn uploaded patch set 17 04/28/22, 13:11
-
core-ci voted on patch set 17 V -1 04/28/22, 13:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26587
-
Christian Kuhn uploaded patch set 18 04/29/22, 19:41
-
core-ci voted on patch set 18 V -1 04/29/22, 19:49 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/26685
-
Christian Kuhn uploaded patch set 19 05/10/22, 11:19
-
core-ci voted on patch set 19 V -1 05/10/22, 11:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27093
-
Christian Kuhn uploaded patch set 20 05/11/22, 08:48
-
core-ci voted on patch set 20 V -1 05/11/22, 08:56 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27113
-
Christian Kuhn uploaded patch set 21 05/12/22, 13:21
-
core-ci voted on patch set 21 V -1 05/12/22, 13:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27143
-
Christian Kuhn uploaded patch set 22 05/13/22, 22:46
-
core-ci voted on patch set 22 V -1 05/13/22, 22:59 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27192
-
Christian Kuhn uploaded patch set 23 05/13/22, 23:03
-
core-ci voted on patch set 23 V -1 05/13/22, 23:12 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27193
-
Christian Kuhn uploaded patch set 24 05/14/22, 00:15
-
Christian Kuhn uploaded patch set 25 05/14/22, 00:16
-
Christian Kuhn uploaded patch set 26 05/14/22, 00:18
-
core-ci voted on patch set 24 V -1 05/14/22, 00:24 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27195
-
core-ci voted on patch set 25 V -1 05/14/22, 00:25 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27196
-
core-ci voted on patch set 26 V -1 05/14/22, 00:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27197
-
Christian Kuhn uploaded patch set 27 05/14/22, 08:10
-
core-ci voted on patch set 27 V +1 05/14/22, 08:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27206
-
Christian Kuhn uploaded patch set 28 05/15/22, 09:24
-
core-ci voted on patch set 28 V +1 05/15/22, 09:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27222
-
Christian Kuhn uploaded patch set 29 05/15/22, 14:38
-
core-ci voted on patch set 29 V +1 05/15/22, 14:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27229
-
Christian Kuhn uploaded patch set 30 05/16/22, 23:21
-
core-ci voted on patch set 30 V -1 05/16/22, 23:39 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27270
-
Christian Kuhn uploaded patch set 31 05/17/22, 11:09
-
core-ci voted on patch set 31 V +1 05/17/22, 11:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27281
-
Christian Kuhn uploaded patch set 32 05/17/22, 15:18
-
Christian Kuhn commented on patch set 32 05/17/22, 15:19
https://review.typo3.org/c/Packages/TYPO3.CMS/+/74285/31..32 plays around on tokenizer performance. resetted for now. -
Christian Kuhn uploaded patch set 33 05/17/22, 15:21
-
core-ci voted on patch set 33 V +1 05/17/22, 15:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27285
-
core-ci voted on patch set 32 V -1 05/17/22, 15:31 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27284
-
Christian Kuhn uploaded patch set 34 05/19/22, 12:41
-
core-ci voted on patch set 34 V +1 05/19/22, 12:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27321
-
Christian Kuhn uploaded patch set 35 05/19/22, 13:12
-
core-ci voted on patch set 35 V +1 05/19/22, 13:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27322
-
Christian Kuhn uploaded patch set 36 05/19/22, 20:38
-
core-ci voted on patch set 36 V +1 05/19/22, 20:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27327
-
Christian Kuhn uploaded patch set 37 05/20/22, 14:32
-
core-ci voted on patch set 37 V +1 05/20/22, 14:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27356
-
Christian Kuhn updated the commit message in patch set 38 05/21/22, 08:19
-
core-ci voted on patch set 38 V -1 05/21/22, 08:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27368
-
Christian Kuhn uploaded patch set 39 05/25/22, 11:05
-
core-ci voted on patch set 39 V -1 05/25/22, 11:17 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27445
-
Christian Kuhn uploaded patch set 40 05/25/22, 13:31
-
core-ci voted on patch set 40 V +1 05/25/22, 13:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27459
-
Christian Kuhn uploaded patch set 41 05/26/22, 02:30
-
core-ci voted on patch set 41 V +1 05/26/22, 02:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27471
-
Christian Kuhn uploaded patch set 42 05/27/22, 12:31
-
core-ci voted on patch set 42 V +1 05/27/22, 12:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27491
-
Christian Kuhn uploaded patch set 43 05/28/22, 12:33
-
core-ci voted on patch set 43 V -1 05/28/22, 12:42 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27512
-
core-ci voted on patch set 43 V +1 05/28/22, 13:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27512
-
Christian Kuhn uploaded patch set 44 05/28/22, 14:17
-
core-ci voted on patch set 44 V +1 05/28/22, 14:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27517
-
Christian Kuhn uploaded patch set 45 05/28/22, 16:08
-
core-ci voted on patch set 45 V +1 05/28/22, 16:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27521
-
Christian Kuhn uploaded patch set 46 05/28/22, 18:27
-
Christian Kuhn uploaded patch set 47 05/28/22, 18:32
-
core-ci voted on patch set 46 V -1 05/28/22, 18:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27523
-
core-ci voted on patch set 47 V +1 05/28/22, 18:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27524
-
Christian Kuhn uploaded patch set 48 05/30/22, 12:20
-
core-ci voted on patch set 48 V +1 05/30/22, 12:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27584
-
Christian Kuhn uploaded patch set 49 06/01/22, 12:00
-
core-ci voted on patch set 49 V +1 06/01/22, 12:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27620
-
Christian Kuhn uploaded patch set 50 06/01/22, 13:30
-
core-ci voted on patch set 50 V +1 06/01/22, 13:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27621
-
Christian Kuhn uploaded patch set 51 06/01/22, 14:55
-
core-ci voted on patch set 51 V +1 06/01/22, 15:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27628
-
Christian Kuhn uploaded patch set 52 06/03/22, 17:00
-
Christian Kuhn commented on patch set 52 06/03/22, 17:03
This change is ready for review.set 52 brings main work triggered by object browser: * a general JS solution to trigger form submits for <a tags (thanks to oliver hader) * infrastructure for ast traversing and tokenizers and first usages in object browser. * object browser code still heavy-wip, but most of required infrastructure should be there now. -
Christian Kuhn marked it work in progress 06/03/22, 17:04
-
core-ci voted on patch set 52 V -1 06/03/22, 17:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27690
-
Christian Kuhn uploaded patch set 53 06/05/22, 09:06
-
core-ci voted on patch set 53 V -1 06/05/22, 09:15 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27709
-
Christian Kuhn uploaded patch set 54 06/06/22, 09:40
-
core-ci voted on patch set 54 V -1 06/06/22, 09:49 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27724
-
Christian Kuhn uploaded patch set 55 06/06/22, 13:54
-
core-ci voted on patch set 55 V -1 06/06/22, 14:02 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27726
-
Christian Kuhn uploaded patch set 56 06/06/22, 17:57
-
core-ci voted on patch set 56 V -1 06/06/22, 18:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27733
-
Christian Kuhn uploaded patch set 57 06/06/22, 20:15
-
core-ci voted on patch set 57 V -1 06/06/22, 20:23 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27749
-
Christian Kuhn uploaded patch set 58 06/07/22, 16:34
-
core-ci voted on patch set 58 V -1 06/07/22, 16:42 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27773
-
Christian Kuhn uploaded patch set 59 06/08/22, 09:51
-
core-ci voted on patch set 59 V -1 06/08/22, 10:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27800
-
Christian Kuhn uploaded patch set 60 06/08/22, 10:17
-
core-ci voted on patch set 60 V -1 06/08/22, 10:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27802
-
Christian Kuhn uploaded patch set 61 06/10/22, 09:49
-
core-ci voted on patch set 61 V -1 06/10/22, 09:57 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27910
-
Christian Kuhn uploaded patch set 62 06/10/22, 13:39
-
Christian Kuhn commented on patch set 62 06/10/22, 13:40
This change is ready for review.marker: bigger rewrite of tokenizer to be line based. -
Christian Kuhn marked it work in progress 06/10/22, 13:40
-
core-ci voted on patch set 62 V -1 06/10/22, 13:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27926
-
Christian Kuhn uploaded patch set 63 06/12/22, 08:36
-
Christian Kuhn commented on patch set 63 06/12/22, 08:37
intermediate step with another huge rewrite of the tokenizer -
core-ci voted on patch set 63 V -1 06/12/22, 08:44 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27988
-
Christian Kuhn uploaded patch set 64 06/12/22, 14:09
-
core-ci voted on patch set 64 V -1 06/12/22, 14:17 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/27992
-
Christian Kuhn uploaded patch set 65 06/13/22, 14:39
-
core-ci voted on patch set 65 V -1 06/13/22, 14:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28020
-
Christian Kuhn uploaded patch set 66 06/13/22, 18:56
-
core-ci voted on patch set 66 V -1 06/13/22, 19:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28022
-
Christian Kuhn uploaded patch set 67 06/13/22, 20:20
-
core-ci voted on patch set 67 V -1 06/13/22, 20:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28025
-
Christian Kuhn uploaded patch set 68 06/13/22, 20:47
-
Christian Kuhn uploaded patch set 69 06/13/22, 20:52
-
core-ci voted on patch set 68 V -1 06/13/22, 20:56 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28026
-
core-ci voted on patch set 69 V -1 06/13/22, 21:00 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28027
-
Stefan Froemken commented on patch set 69 06/14/22, 08:35
In general I prefer '/*' for method descriptions.somethingI remember things like LIT:1={$my.const} works. Can you describe your problem in more detail?For me it would be OK to never allow =< in conditionswithSure that this will not lead to any further problems?That OK for meAbstractNode.php:61Pretty cool. I love yieldAstBuilder.php:149Single quotes not possible?AstBuilder.php:163Can we use simple comments here?AstBuilder.php:165too much spaces. Left align or enter empty lineAstBuilder.php:167You're parsing a text file. Do we really need nullables here?AstBuilder.php:209add space: PHP 7AstBuilder.php:232If you cast these 3 variables to (string) you can remove the nullable from return value.AstTraverser.php:32This is a simple commentObjectNode.php:36You write deep-copy. IMO with clone only the first object will be cloned, but not the child-objects.ObjectNode.php:71I don't see that we need thatObjectNode.php:73I prefer $this->value === nullIncludeInterface.php:55getPid can be null?RootInclude.php:22Why "0"?TreeBuilder.php:357two dots. Same belowTreeBuilder.php:398of -
Christian Kuhn uploaded patch set 70 06/15/22, 11:05
-
core-ci voted on patch set 70 V -1 06/15/22, 11:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28094
-
Christian Kuhn commented on patch set 70 06/15/22, 11:32
Reply
DoneReply
my tests showed you can't use constants in the constant section?! Have this in constants (v11): foo = fooValue bar = {$foo} Then in setup: myValue = {$bar} -> resolves to string {$foo} for myValue. Did I miss something?Reply
foo =< {$bar} does *not* work (anymore). will have a detailed section in .rst later for this.Reply
DoneReply
pretty sure: utf-8 files should NOT have BOM - i looked that up. I think only old editors added these, no 'modern' editor (younger than 10 years) should do that anymore. we also have a core integrity test to verify this for core files, btw.Reply
DoneAbstractNode.php:61Replythere are some other places where they might be used, but i'm not entirely sure yet since i tend to break early often and currently prefer while(true) loops at some places. that's a detail for a cleanup round, later to see if we can yield at some other places, too.AstBuilder.php:149ReplyDoneAstBuilder.php:163Replycore uses /** for methods.AstBuilder.php:165ReplyDoneAstBuilder.php:167Replygood catch. not 100% sure. could be a left over from my first implementation. will keep open and sort out details later.AstBuilder.php:209ReplyDoneAstBuilder.php:232Replyunsure. will keep open for now.AstTraverser.php:32Replynope.ObjectNode.php:36Replythat's exactly why i implement __clone() here: it now clones children too.ObjectNode.php:71Replythink i needed it at least in the first implementation. will look up details later again.ObjectNode.php:73ReplyDoneIncludeInterface.php:55Replythere was a reason i did that. will look up details later again and comment.RootInclude.php:22Replyb/w compat reasons.TreeBuilder.php:357Replywanted to have 3 here to not confuse with 'path traversal' ".."TreeBuilder.php:398ReplyDone -
Christian Kuhn uploaded patch set 71 06/15/22, 11:33
-
core-ci voted on patch set 71 V -1 06/15/22, 11:42 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28095
-
Simon Schaufelberger commented on patch set 71 06/15/22, 11:55
Reply
My understanding of constants is that they already have a value and should not recursively be replaced, otherwise you could do a recursive replacement loop which will be insane. one = value two = {$one} three = {$two} four = {$three} yes that is possible but this is crazy and should not be supported imho. -
Simon Schaufelberger commented on patch set 71 06/15/22, 11:57
Reply
[LIT:1={$my.const}] should indeed work. I'm making heavy use of that in my projects. -
Christian Kuhn commented on patch set 71 06/15/22, 12:07
AstBuilder.php:167Replycurrent solution is ok. if you do this: foo.bar = barValue you create a 'foo' node, which has null as value. so yes, values need to be nullable. -
Christian Kuhn uploaded patch set 72 06/15/22, 13:26
-
Christian Kuhn commented on patch set 72 06/15/22, 13:28
Reply
constant substitution in conditions works. -
Christian Kuhn commented on patch set 72 06/15/22, 13:29
Reply
more precisely: constant substitution in *setup* conditions works. they're not resolved in constant conditions. -
Christian Kuhn commented on patch set 72 06/15/22, 13:31
implemented $ast->toArray(), and constants in multiline value assignments are resolved now. -
core-ci voted on patch set 72 V -1 06/15/22, 13:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28098
-
Christian Kuhn uploaded patch set 73 06/15/22, 20:19
-
Christian Kuhn commented on patch set 73 06/15/22, 20:19
implement =< -
core-ci voted on patch set 73 V -1 06/15/22, 20:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28106
-
Christian Kuhn uploaded patch set 74 06/17/22, 13:30
-
core-ci voted on patch set 74 V -1 06/17/22, 13:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28151
-
Christian Kuhn uploaded patch set 75 06/17/22, 18:31
-
core-ci voted on patch set 75 V -1 06/17/22, 19:31 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28160
-
Christian Kuhn uploaded patch set 76 06/18/22, 16:08
-
Christian Kuhn commented on patch set 76 06/18/22, 16:22
first working FE with bootstrap_package. -
core-ci voted on patch set 76 V -1 06/18/22, 17:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28182
-
Christian Kuhn uploaded patch set 77 06/18/22, 21:59
-
core-ci voted on patch set 77 V -1 06/18/22, 22:59 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28192
-
Christian Kuhn uploaded patch set 78 06/19/22, 10:11
-
Christian Kuhn commented on patch set 78 06/19/22, 10:14
Implement optimized query in TreeBuilder. Thanks to sbuerk! -
Christian Kuhn uploaded patch set 79 06/19/22, 10:47
-
core-ci voted on patch set 78 V -1 06/19/22, 10:52 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28219
-
core-ci voted on patch set 79 V -1 06/19/22, 11:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28220
-
Christian Kuhn uploaded patch set 80 06/19/22, 14:40
-
core-ci voted on patch set 80 V -1 06/19/22, 15:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28222
-
Christian Kuhn uploaded patch set 81 06/19/22, 20:12
-
core-ci voted on patch set 81 V -1 06/19/22, 21:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28224
-
Christian Kuhn uploaded patch set 82 06/19/22, 22:40
-
core-ci voted on patch set 82 V -1 06/19/22, 23:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28229
-
Christian Kuhn uploaded patch set 83 06/21/22, 08:05
-
core-ci voted on patch set 83 V -1 06/21/22, 09:06 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28293
-
Christian Kuhn uploaded patch set 84 06/21/22, 09:07
-
core-ci voted on patch set 84 V -1 06/21/22, 10:07 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28294
-
Christian Kuhn uploaded patch set 85 06/21/22, 11:24
-
core-ci voted on patch set 85 V -1 06/21/22, 11:33 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28298
-
Christian Kuhn uploaded patch set 86 06/21/22, 11:43
-
core-ci voted on patch set 86 V +1 06/21/22, 11:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28299
-
Benni Mack commented on patch set 86 06/21/22, 12:44
TypoScriptFrontendController.php:1339this is the stuff that should be moved to TemplateService->getTypoScriptForPage($pageId, $rootLine); -
Christian Kuhn commented on patch set 86 06/21/22, 13:25
AstBuilder.php:232Replyhas to be kept nullable when the env var is not set. a test fails if changing this.IncludeInterface.php:55Replyyes. it's null with extbase backend typoscript on root page and with pagets on root page.TypoScriptFrontendController.php:1339ReplyUnsure how to abstract that away currently. at least it will for sure not end up in TemplateService. But yeah, it will no stay here, this part is WIP and will of course change. -
Christian Kuhn commented on patch set 86 06/21/22, 13:29
Reply
we use /** for methodsObjectNode.php:71Replyfoo.bar { baz = bazValue } -> bar node is null. -
Benni Mack commented on patch set 86 06/21/22, 14:41
TypoScriptFrontendController.php:1339ReplyA new class TypoScriptResolver and then we could slowly phase out $TSFE->tmpl would be my wish... -
Christian Kuhn uploaded patch set 87 06/21/22, 15:50
-
Christian Kuhn commented on patch set 87 06/21/22, 15:52
TypoScriptFrontendController.php:1339Replyyeah. dropping TemplateService usages will be my next patches when the main api is in. it should be v12 goal to deprecate that class. -
core-ci voted on patch set 87 V +1 06/21/22, 15:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28304
-
Simon Schaufelberger wrote 06/21/22, 17:12
Removed cc Simon Schaufelberger. -
Christian Kuhn uploaded patch set 88 06/21/22, 17:38
-
core-ci voted on patch set 88 V +1 06/21/22, 17:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28305
-
Christian Kuhn uploaded patch set 89 06/21/22, 19:14
-
Christian Kuhn uploaded patch set 90 06/21/22, 19:19
-
core-ci voted on patch set 89 V +1 06/21/22, 19:21 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28306
-
core-ci voted on patch set 90 V +1 06/21/22, 19:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28307
-
Christian Kuhn uploaded patch set 91 06/21/22, 19:50
-
core-ci voted on patch set 91 V +1 06/21/22, 19:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28309
-
Christian Kuhn uploaded patch set 92 06/21/22, 20:14
-
core-ci voted on patch set 92 V -1 06/21/22, 20:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28310
-
Christian Kuhn uploaded patch set 93 06/22/22, 07:55
-
core-ci voted on patch set 93 V +1 06/22/22, 08:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28327
-
Christian Kuhn uploaded patch set 94 06/23/22, 12:45
-
Christian Kuhn commented on patch set 94 06/23/22, 12:46
major class renaming finished. -
Christian Kuhn uploaded patch set 95 06/23/22, 12:52
-
Christian Kuhn commented on patch set 95 06/23/22, 12:53
Removed AstReferenceResolverVisitor and AstReferenceResolverVisitorTest This is solved differently since the approach is far to expensive. Marked here for reference in case COR->cObjGetSingle() and friends are later refactored to work on the AST tree directly, and not on the array. -
core-ci voted on patch set 95 V +1 06/23/22, 13:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28350
-
core-ci voted on patch set 94 V -1 06/23/22, 13:16 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28349
-
Christian Kuhn uploaded patch set 96 06/23/22, 13:33
-
core-ci voted on patch set 96 V +1 06/23/22, 13:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28352
-
Christian Kuhn uploaded patch set 97 06/23/22, 13:58
-
core-ci voted on patch set 97 V +1 06/23/22, 14:07 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28353
-
Christian Kuhn uploaded patch set 98 06/23/22, 14:22
-
core-ci voted on patch set 98 V +1 06/23/22, 14:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28354
-
Christian Kuhn uploaded patch set 99 06/23/22, 16:27
-
Christian Kuhn commented on patch set 98 06/23/22, 16:28
Added some serialize() magic to IncludeTree, Token and Lines. This cuts the cached IncludeTree file size by half. -
core-ci voted on patch set 99 V +1 06/23/22, 16:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28357
-
Christian Kuhn uploaded patch set 100 06/23/22, 19:13
-
Christian Kuhn commented on patch set 100 06/23/22, 19:14
niftify include tree cache layer. -
Christian Kuhn uploaded patch set 101 06/23/22, 19:21
-
core-ci voted on patch set 100 V -1 06/23/22, 19:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28363
-
core-ci voted on patch set 101 V +1 06/23/22, 19:30 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28366
-
Christian Kuhn uploaded patch set 102 06/27/22, 11:30
-
core-ci voted on patch set 102 V -1 06/27/22, 11:37 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28436
-
Christian Kuhn uploaded patch set 103 06/27/22, 14:32
-
core-ci voted on patch set 103 V -1 06/27/22, 14:40 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28437
-
core-ci voted on patch set 103 V +1 06/27/22, 14:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28437
-
Christian Kuhn uploaded patch set 104 07/11/22, 11:06
-
core-ci voted on patch set 104 V -1 07/11/22, 11:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28879
-
Andreas Kienast uploaded patch set 105 07/13/22, 08:24
-
Andreas Kienast uploaded patch set 106 07/13/22, 08:30
-
core-ci voted on patch set 105 V -1 07/13/22, 08:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29040
-
core-ci voted on patch set 106 V -1 07/13/22, 08:39 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29041
-
Christian Kuhn uploaded patch set 107 07/17/22, 11:35
-
Christian Kuhn uploaded patch set 108 07/17/22, 11:39
-
core-ci voted on patch set 107 V -1 07/17/22, 11:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29314
-
core-ci voted on patch set 108 V -1 07/17/22, 11:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29315
-
Christian Kuhn uploaded patch set 109 08/19/22, 12:59
-
Christian Kuhn commented on patch set 109 08/19/22, 13:05
abandoning here. this is being follow-upped with https://review.typo3.org/c/Packages/TYPO3.CMS/+/75522 and will be split into further single patches. -
Christian Kuhn abandoned the change 08/19/22, 13:06
Token.php:23