1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 23:04:50 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/transclude
Jeremy Ruston 4bdac09872
Fix transclude inefficiency (#7647)
* Refactor parse mode out of getTransclusionTarget

* Refactor missing transclusion target

* Add a test to avoid regressions on the handling of macros vs procedures

* Refactor condition logic

* Preparing to split getTransclusionTarget into two separate functions

* Split getTransclusionTarget into getTransclusionTargetIncludingParseTreeNodes

* Resolve another inefficiency

The transclusion target was sometimes being parsed twice when transcluding as text/plain

Associated test results are also made more consistent

* Simplify method naming

* Neatening up
2023-07-30 18:04:05 +01:00
..
CustomWidget-ActionWidget.tid Custom widgets and filter operator names must now contain a period 2023-06-01 08:06:28 +01:00
CustomWidget-Fail.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
CustomWidget-Override-Codeblock.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
CustomWidget-OverrideTransclude.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
CustomWidget-Simple-Indented.tid Feat: allow new pragmas to be indented (#7624) 2023-07-21 13:40:42 +01:00
CustomWidget-Simple.tid Custom widgets and filter operator names must now contain a period 2023-06-01 08:06:28 +01:00
CustomWidget-Slotted-Empty.tid Custom widgets and filter operator names must now contain a period 2023-06-01 08:06:28 +01:00
CustomWidget-Slotted.tid Custom widgets and filter operator names must now contain a period 2023-06-01 08:06:28 +01:00
CustomWidget-TextWidgetOverride.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
CustomWidget-TextWidgetOverrideWithSlot.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
CustomWidget-Unoverride-Codeblock.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
CustomWidget-VariableAttribute.tid Custom widgets and filter operator names must now contain a period 2023-06-01 08:06:28 +01:00
JavaScript-Macro.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Macro-Missing.tid Transclude widget should use fallback content if variable is missing or blank 2023-05-11 16:26:18 +01:00
Macro-Plain.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Macro-Simple.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
MissingTarget.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Depth.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Mode.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Name-Values.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-ParseTreeNodes.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Positional-Shortcut-Parameters.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Positional-Shortcut.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Positional-Variables.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Positional.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Shortcut-Parameters.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Shortcut-ParametersIndented.tid Feat: allow new pragmas to be indented (#7624) 2023-07-21 13:40:42 +01:00
Parameterised-Shortcut.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Simple.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-SlotFillParseTreeNodes.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Slotted-Missing.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Parameterised-Slotted.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Procedures-Double-Underscore.tid Fix transclude inefficiency (#7647) 2023-07-30 18:04:05 +01:00
Procedures-Whitespace.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Recursion.tid Improve recursion detection for transclusion and filters (#6970) 2022-10-01 10:13:40 +01:00
Typed.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00