[!!!][+FEATURE] Fluid: Strings inside Arrays and the inline notation are now parsed...
authorSebastian Kurfürst <sebastian@typo3.org>
Thu, 29 Oct 2009 07:24:15 +0000 (07:24 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Thu, 29 Oct 2009 07:24:15 +0000 (07:24 +0000)
commitdc145d3c60e5fedf206f997742b6deba69fde8f9
tree10cd3e4eb2c3ca2cf646a39a1fda08fce233344f
parent9645bea1ce799e1aa940ba55b05b83c0c69d7505
[!!!][+FEATURE] Fluid: Strings inside Arrays and the inline notation are now parsed by Fluid as well. This enables things like {fullName: '{firstName} {lastName}'} - thus, everything can be nested inside arrays and the ViewHelper inline notation arguments. This is a breaking change in case you used literal {...} inside your arguments, but not else. Relates to #5118.
[+FEATURE] Fluid (ViewHelpers): extended format.date viewhelper by an additional "date" argument. Now you can write {f:format.date(date: 'yesterday')} in your templates. This change is backwards compatible! Relates to #5150
[+FEATURE] Fluid (ViewHelpers): extended if viewhelper by arguments "then" and "else". Now you can write {f:if(condition: 1, then: 'yes', else: 'no'} in your templates. This change is backwards compatible! Relates to #5150
[~TASK] Fluid (Core): added check for reserved keywords to TemplateVariableContainer. This relates to #5158
[~TASK] Fluid (Tests): moved and renamed VariableContainerTest
~TASK] Fluid (Core): Changed method names (handler_*) in TemplateParser, resolves #5135.
[~TASK] Fluid (Tests): Cleanup to comments and "framework code", resolves #5136.
47 files changed:
typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php
typo3/sysext/fluid/Classes/Core/ViewHelper/TemplateVariableContainer.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/DateViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/IfViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/Fixtures/PostParseFacetViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/Fixtures/ChildNodeAccessFacetViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/AbstractNodeTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/TextNodeTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/ViewHelperNodeComparatorTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/ViewHelperNodeTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/TemplateParserPatternTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/ParsingStateTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/Rendering/HTMLSpecialCharsPostProcessorTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingConfigurationTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingContextTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/TagBasedViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/TagBuilderTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/TemplateParserTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ArgumentDefinitionTest_testcase.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/TemplateVariableContainerTest_testcase.php [new file with mode: 0644]
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ViewHelperVariableContainerTest_testcase.php
typo3/sysext/fluid/Tests/Unit/View/Fixtures/TemplateViewFixture.php
typo3/sysext/fluid/Tests/Unit/View/Fixtures/TransparentSyntaxTreeNode.php
typo3/sysext/fluid/Tests/Unit/View/TemplateViewTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/AliasViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CycleViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ElseViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Fixtures/ConstraintSyntaxTreeNode.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ForViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormFieldViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/CheckboxViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Fixtures/EmptySyntaxTreeNode.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Fixtures/Fixture_UserDomainClass.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/HiddenViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/RadioViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SubmitViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextareaViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextboxViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/UploadViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/GroupedForViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/IfViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/ExternalViewHelperTest_testcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ThenViewHelperTest_testcase.php