From dbfd45814d8db89ec0e0c2abe0b04843ba65bd42 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Wed, 14 Jul 2021 09:21:37 +0100 Subject: [PATCH] Search and replace "v5.1.24" to "v5.2.0" As discussed in #5708 --- bin/build-site.sh | 2 +- core/wiki/config/OfficialPluginLibrary.tid | 2 +- .../{Release 5.1.24.tid => Release 5.2.0.tid} | 9 +++++++-- .../system/PrereleaseOfficialPluginLibrary.tid | 2 +- editions/tw5.com/tiddlers/filters/average.tid | 2 +- editions/tw5.com/tiddlers/filters/charcode.tid | 2 +- .../tiddlers/filters/deserializers Operator.tid | 2 +- editions/tw5.com/tiddlers/filters/filter.tid | 2 +- editions/tw5.com/tiddlers/filters/median.tid | 2 +- editions/tw5.com/tiddlers/filters/reduce.tid | 2 +- .../tw5.com/tiddlers/filters/sortsub Operator.tid | 4 ++-- .../tiddlers/filters/standard-deviation Operator.tid | 2 +- .../filters/syntax/Sort Filter Run Prefix.tid | 2 +- .../tw5.com/tiddlers/filters/variance Operator.tid | 2 +- .../Hidden Setting HtmlParserDisableSandbox.tid | 2 +- ...idden Setting_ Enable File Import in Editor_1.tid | 2 +- ...den Settings_ Import Content Types for Editor.tid | 2 +- .../tw5.com/tiddlers/macros/UnusedTitleMacro.tid | 4 ++-- .../tiddlers/messages/WidgetMessage_ tm-navigate.tid | 12 ++++++------ .../tiddlers/widgets/ActionCreateTiddlerWidget.tid | 4 ++-- .../tw5.com/tiddlers/widgets/ActionPopupWidget.tid | 2 +- editions/tw5.com/tiddlers/widgets/ActionWidgets.tid | 2 +- editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid | 6 +++--- editions/tw5.com/tiddlers/widgets/EditTextWidget.tid | 2 +- .../tw5.com/tiddlers/widgets/EventCatcherWidget.tid | 6 +++--- editions/tw5.com/tiddlers/widgets/ListWidget.tid | 2 +- .../tiddlers/widgets/MessageCatcherWidget.tid | 2 +- editions/tw5.com/tiddlers/widgets/RadioWidget.tid | 2 +- editions/tw5.com/tiddlers/widgets/ViewWidget.tid | 2 +- .../tw5.com/tiddlers/wikitext/Images in WikiText.tid | 2 +- package.json | 2 +- 31 files changed, 49 insertions(+), 44 deletions(-) rename editions/prerelease/tiddlers/{Release 5.1.24.tid => Release 5.2.0.tid} (99%) diff --git a/bin/build-site.sh b/bin/build-site.sh index 5bd4de5ba..742e2e44d 100755 --- a/bin/build-site.sh +++ b/bin/build-site.sh @@ -5,7 +5,7 @@ # Default to the current version number for building the plugin library if [ -z "$TW5_BUILD_VERSION" ]; then - TW5_BUILD_VERSION=v5.1.24 + TW5_BUILD_VERSION=v5.2.0 fi echo "Using TW5_BUILD_VERSION as [$TW5_BUILD_VERSION]" diff --git a/core/wiki/config/OfficialPluginLibrary.tid b/core/wiki/config/OfficialPluginLibrary.tid index 1bc0bca2e..e21b3db54 100644 --- a/core/wiki/config/OfficialPluginLibrary.tid +++ b/core/wiki/config/OfficialPluginLibrary.tid @@ -1,6 +1,6 @@ title: $:/config/OfficialPluginLibrary tags: $:/tags/PluginLibrary -url: https://tiddlywiki.com/library/v5.1.24/index.html +url: https://tiddlywiki.com/library/v5.2.0/index.html caption: {{$:/language/OfficialPluginLibrary}} {{$:/language/OfficialPluginLibrary/Hint}} diff --git a/editions/prerelease/tiddlers/Release 5.1.24.tid b/editions/prerelease/tiddlers/Release 5.2.0.tid similarity index 99% rename from editions/prerelease/tiddlers/Release 5.1.24.tid rename to editions/prerelease/tiddlers/Release 5.2.0.tid index ecb373ee5..8c9d0ebb7 100644 --- a/editions/prerelease/tiddlers/Release 5.1.24.tid +++ b/editions/prerelease/tiddlers/Release 5.2.0.tid @@ -1,6 +1,6 @@ caption: 5.2.0 -created: 20201229120443187 -modified: 20210604142913752 +created: 20210714091904613 +modified: 20210714091904613 tags: ReleaseNotes title: Release 5.2.0 type: text/vnd.tiddlywiki @@ -11,6 +11,11 @@ type: text/vnd.tiddlywiki //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.23...master]]// +! Unrestricted Fieldnames and the New JSON Store Area + + +https://github.com/Jermolene/TiddlyWiki5/pull/5708 + ! Performance Improvements * <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/5380">> (and again [[here|https://github.com/Jermolene/TiddlyWiki5/pull/5488]]) the efficiency of the linked list implementation used in filter processing diff --git a/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid b/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid index 4ac70a30a..bd2977b9b 100644 --- a/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +++ b/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid @@ -1,6 +1,6 @@ title: $:/config/OfficialPluginLibrary tags: $:/tags/PluginLibrary -url: https://tiddlywiki.com/prerelease/library/v5.1.24/index.html +url: https://tiddlywiki.com/prerelease/library/v5.2.0/index.html caption: {{$:/language/OfficialPluginLibrary}} (Prerelease) The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team. diff --git a/editions/tw5.com/tiddlers/filters/average.tid b/editions/tw5.com/tiddlers/filters/average.tid index 36f39be1d..c083bdebd 100644 --- a/editions/tw5.com/tiddlers/filters/average.tid +++ b/editions/tw5.com/tiddlers/filters/average.tid @@ -8,6 +8,6 @@ tags: [[Reducing Mathematics Operators]] [[Filter Operators]] [[Mathematics Oper title: average Operator type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> See [[Mathematics Operators]] for an overview. +<<.from-version "5.2.0">> See [[Mathematics Operators]] for an overview. <<.operator-examples "average">> diff --git a/editions/tw5.com/tiddlers/filters/charcode.tid b/editions/tw5.com/tiddlers/filters/charcode.tid index 85d70111e..3cb82bc68 100644 --- a/editions/tw5.com/tiddlers/filters/charcode.tid +++ b/editions/tw5.com/tiddlers/filters/charcode.tid @@ -10,7 +10,7 @@ tags: [[Filter Operators]] title: charcode Operator type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> +<<.from-version "5.2.0">> This operator returns a string formed from concatenating the characters specified by the numeric codes given in one or more operands. It is useful for generating special characters such as tab (`charcode[9]`) or new line (`charcode[13],[10]`). diff --git a/editions/tw5.com/tiddlers/filters/deserializers Operator.tid b/editions/tw5.com/tiddlers/filters/deserializers Operator.tid index 0f271168c..e29c3db4b 100644 --- a/editions/tw5.com/tiddlers/filters/deserializers Operator.tid +++ b/editions/tw5.com/tiddlers/filters/deserializers Operator.tid @@ -1,6 +1,6 @@ caption: deserializers created: 20210506115203172 -from-version: 5.1.24 +from-version: 5.2.0 modified: 20210506130322593 op-input: ignored op-output: the title of each available deserializer diff --git a/editions/tw5.com/tiddlers/filters/filter.tid b/editions/tw5.com/tiddlers/filters/filter.tid index bd6cae1b9..5909d664a 100644 --- a/editions/tw5.com/tiddlers/filters/filter.tid +++ b/editions/tw5.com/tiddlers/filters/filter.tid @@ -28,7 +28,7 @@ Simple filter operations can be concatenated together directly (eg `[tag[HelloTh ``` -Note that within the subfilter, the "currentTiddler" variable is set to the title of the tiddler being processed. The value of currentTiddler outside the subfilter is available in the variable "..currentTiddler". <<.from-version "5.1.24">> +Note that within the subfilter, the "currentTiddler" variable is set to the title of the tiddler being processed. The value of currentTiddler outside the subfilter is available in the variable "..currentTiddler". <<.from-version "5.2.0">> <<.tip "Compare with the similar [[subfilter|subfilter Operator]] operator which runs a subfilter and directly returns the results">> diff --git a/editions/tw5.com/tiddlers/filters/median.tid b/editions/tw5.com/tiddlers/filters/median.tid index da8b6acc4..64afa62f6 100644 --- a/editions/tw5.com/tiddlers/filters/median.tid +++ b/editions/tw5.com/tiddlers/filters/median.tid @@ -8,6 +8,6 @@ tags: [[Filter Operators]] [[Mathematics Operators]] title: median Operator type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> See [[Mathematics Operators]] for an overview. +<<.from-version "5.2.0">> See [[Mathematics Operators]] for an overview. <<.operator-examples "median">> diff --git a/editions/tw5.com/tiddlers/filters/reduce.tid b/editions/tw5.com/tiddlers/filters/reduce.tid index d566dad59..8fcbe0146 100644 --- a/editions/tw5.com/tiddlers/filters/reduce.tid +++ b/editions/tw5.com/tiddlers/filters/reduce.tid @@ -18,7 +18,7 @@ The following variables are available within the subfilter: * ''accumulator'' - the result of the previous subfilter run * ''currentTiddler'' - the input title -* ''..currentTiddler'' - the value of the variable `currentTiddler` outside the subfilter. <<.from-version "5.1.24">> +* ''..currentTiddler'' - the value of the variable `currentTiddler` outside the subfilter. <<.from-version "5.2.0">> * ''index'' - the numeric index of the current list item (with zero being the first item in the list) * ''revIndex'' - the reverse numeric index of the current list item (with zero being the last item in the list) * ''length'' - the total length of the input list diff --git a/editions/tw5.com/tiddlers/filters/sortsub Operator.tid b/editions/tw5.com/tiddlers/filters/sortsub Operator.tid index f010357f2..df7d99cfa 100644 --- a/editions/tw5.com/tiddlers/filters/sortsub Operator.tid +++ b/editions/tw5.com/tiddlers/filters/sortsub Operator.tid @@ -17,7 +17,7 @@ Each item in the list of input titles is passed to the subfilter in turn. The su Note that within the subfilter, the "currentTiddler" variable is set to the title of the tiddler being processed. This permits subfilters like `[{!!value}divide{!!cost}]` to be used for computation. -The value of currentTiddler outside the subfilter is available in the variable "..currentTiddler". <<.from-version "5.1.24">> +The value of currentTiddler outside the subfilter is available in the variable "..currentTiddler". <<.from-version "5.2.0">> The suffix <<.place T>> determines how the items are compared and can be: @@ -26,7 +26,7 @@ The suffix <<.place T>> determines how the items are compared and can be: * "integer" - invalid integers are interpreted as zero * "date" - invalid dates are interpreted as 1st January 1970 * "version" - invalid versions are interpreted as "v0.0.0" -* "alphanumeric" - treat items as alphanumerics <<.from-version "5.1.24">> +* "alphanumeric" - treat items as alphanumerics <<.from-version "5.2.0">> Note that subfilters should return the same number of items that they are passed. Any missing entries will be treated as zero or the empty string. In particular, when retrieving the value of a field with the [[get Operator]] it is helpful to guard against a missing field value using the [[else Operator]]. For example `[get[myfield]else[default-value]...`. diff --git a/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid b/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid index 125c043b1..fdb9d648f 100644 --- a/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid +++ b/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid @@ -8,7 +8,7 @@ tags: [[Reducing Mathematics Operators]] [[Filter Operators]] [[Mathematics Oper title: standard-deviation Operator type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> See [[Mathematics Operators]] for an overview. +<<.from-version "5.2.0">> See [[Mathematics Operators]] for an overview. <<.tip """ The `standard-deviation` operator treats the input as a complete population and not a sample""">> diff --git a/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid b/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid index aed26cb6b..ec5e032dd 100644 --- a/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +++ b/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid @@ -4,7 +4,7 @@ tags: [[Filter Syntax]] [[Filter Run Prefix]] title: Sort Filter Run Prefix type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> +<<.from-version "5.2.0">> |''purpose'' |sort the input titles by the result of evaluating this filter run for each item | |''input'' |all titles from previous filter runs | diff --git a/editions/tw5.com/tiddlers/filters/variance Operator.tid b/editions/tw5.com/tiddlers/filters/variance Operator.tid index 913eb2943..f65006ab6 100644 --- a/editions/tw5.com/tiddlers/filters/variance Operator.tid +++ b/editions/tw5.com/tiddlers/filters/variance Operator.tid @@ -8,7 +8,7 @@ tags: [[Reducing Mathematics Operators]] [[Filter Operators]] [[Mathematics Oper title: variance Operator type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> See [[Mathematics Operators]] for an overview. +<<.from-version "5.2.0">> See [[Mathematics Operators]] for an overview. <<.tip """ The `standard-deviation` operator treats the input as a complete population and not a sample""">> diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid index e17e7998c..257ba107a 100644 --- a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid +++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid @@ -4,7 +4,7 @@ tags: [[Hidden Settings]] title: Hidden Setting: HTML Parser Sandbox type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> By default, tiddlers with the type `text/html` are displayed in an iframe with the [[sandbox attribute|https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox]] set to the empty string. This causes all security restrictions to be applied, disabling many features such as JavaScript, downloads and external file references. This is the safest setting. +<<.from-version "5.2.0">> By default, tiddlers with the type `text/html` are displayed in an iframe with the [[sandbox attribute|https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox]] set to the empty string. This causes all security restrictions to be applied, disabling many features such as JavaScript, downloads and external file references. This is the safest setting. To globally disable the sandbox, set the tiddler $:/config/HtmlParser/DisableSandbox to `yes`. This will mean that the code in the iframe has full access to TiddlyWiki's internals, which means that a malicious HTML page could exfiltrate data from a private wiki. diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid index aed113132..73f16e7eb 100644 --- a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid +++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid @@ -4,7 +4,7 @@ tags: [[Hidden Settings]] title: Hidden Setting: Enable File Import in Editor type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> +<<.from-version "5.2.0">> $:/config/Editor/EnableImportFilter diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid index 7764f9c41..994c10432 100644 --- a/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid +++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid @@ -4,7 +4,7 @@ tags: [[Hidden Settings]] title: Hidden Settings: Import Content Types for Editor type: text/vnd.tiddlywiki -<<.from-version "5.1.24">> +<<.from-version "5.2.0">> $:/config/Editor/ImportContentTypesFilter diff --git a/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid b/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid index 67c6df23d..d271180b7 100644 --- a/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid +++ b/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid @@ -15,10 +15,10 @@ It uses the same method as the create new tiddler button, a number is appended t : A string specifying the desired base name, defaulting to `New Tiddler`.
The default setting can be adjusted in the $:/ControlPanel '': Info : Basics - tab.'' ; separator -: <<.from-version "5.1.24">> An ''optional'' string specifying the separator between baseName and the unique number. eg: `separator:"-"`. Defaults to a space: `" "`. If you need an empty separator use the ''template''! +: <<.from-version "5.2.0">> An ''optional'' string specifying the separator between baseName and the unique number. eg: `separator:"-"`. Defaults to a space: `" "`. If you need an empty separator use the ''template''! ; template -: <<.from-version "5.1.24">> A ''optional'' template string can be used to allow you maximum flexibility. If the template string is used, there will always be a counter value. +: <<.from-version "5.2.0">> A ''optional'' template string can be used to allow you maximum flexibility. If the template string is used, there will always be a counter value. !! Template String diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid index 1809aaceb..14e502a31 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid @@ -13,12 +13,12 @@ The navigate message requires the following properties on the `event` object: |navigateTo |Title of the tiddler that is being navigated | |navigateFromTitle |Title of the tiddler from which the navigation was initiated | |navigateFromClientRect |Bounding rectangle in client page coordinates of the element initiating the navigation | -|navigateFromClientTop |<<<<.from-version "5.1.24">> Y coordinate of top edge of bounding client rectangle | -|navigateFromClientLeft |<<<<.from-version "5.1.24">> X coordinate of left edge of bounding client rectangle | -|navigateFromClientWidth |<<<<.from-version "5.1.24">> Width of bounding client rectangle | -|navigateFromClientRight |<<<<.from-version "5.1.24">> X coordinate of right edge of bounding client rectangle | -|navigateFromClientBottom |<<<<.from-version "5.1.24">> Y coordinate of bottom edge of bounding client rectangle | -|navigateFromClientHeight |<<<<.from-version "5.1.24">> Height of bounding client rectangle | +|navigateFromClientTop |<<<<.from-version "5.2.0">> Y coordinate of top edge of bounding client rectangle | +|navigateFromClientLeft |<<<<.from-version "5.2.0">> X coordinate of left edge of bounding client rectangle | +|navigateFromClientWidth |<<<<.from-version "5.2.0">> Width of bounding client rectangle | +|navigateFromClientRight |<<<<.from-version "5.2.0">> X coordinate of right edge of bounding client rectangle | +|navigateFromClientBottom |<<<<.from-version "5.2.0">> Y coordinate of bottom edge of bounding client rectangle | +|navigateFromClientHeight |<<<<.from-version "5.2.0">> Height of bounding client rectangle | |navigateSuppressNavigation |''true'' causes the new tiddler to only be added to the story, and not the history stack. This suppresses the scrolling associated with navigating to a tiddler | The navigate message can be generated by the LinkWidget, the ActionNavigateWidget and the ButtonWidget, and is handled by the NavigatorWidget. diff --git a/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid b/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid index 69d605bed..56b3e0e27 100644 --- a/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid @@ -18,7 +18,7 @@ There are several differences from the [[tm-new-tiddler message|WidgetMessage: t The ''action-createtiddler'' widget is invisible. -<<.from-version "5.1.24">> The action widgets contained within the ''action-createtiddler'' widget are executed after the new tiddler has been created with the title of the tiddler in the variable `createTiddler-title` and `createTiddler-draftTitle`. +<<.from-version "5.2.0">> The action widgets contained within the ''action-createtiddler'' widget are executed after the new tiddler has been created with the title of the tiddler in the variable `createTiddler-title` and `createTiddler-draftTitle`. |!Attribute |!Description | |$basetitle |The initial title that will be attempted. If a tiddler with that title already exists, then a numerical counter is added to the title and incremented until it is unique| @@ -29,7 +29,7 @@ The ''action-createtiddler'' widget is invisible. |$overwrite |<<.from-version "5.1.22">> If set to "yes", it will overwrite existing tiddlers. ''Be careful!'' | |//{any attributes not starting with $}// |Each attribute name specifies a field to be created in the new tiddler | -<<.from-version "5.1.24">> Note that the attributes `$savetitle` and `$savedrafttitle` are no longer needed. Instead, any action widgets that need to use the title of the newly created tiddler should be contained within the ''action-createtiddler'' widget, and reference the variables `createTiddler-title` and `createTiddler-draftTitle` to obtain the title. +<<.from-version "5.2.0">> Note that the attributes `$savetitle` and `$savedrafttitle` are no longer needed. Instead, any action widgets that need to use the title of the newly created tiddler should be contained within the ''action-createtiddler'' widget, and reference the variables `createTiddler-title` and `createTiddler-draftTitle` to obtain the title. ! Examples diff --git a/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid b/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid index c6f62982c..e423b6576 100644 --- a/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid @@ -16,7 +16,7 @@ The ''action-popup'' widget is invisible. Any content within it is ignored. |!Attribute |!Description | |$state |The title of the state tiddler for the popup | |$coords |Optional coordinates for the handle to which popup is positioned (in the format `(x,y,w,h)`) | -|$floating |<<.from-version "5.1.24">> Optional. Defaults to `no`. Set to `yes` to create a popup that must be closed explicitly. | +|$floating |<<.from-version "5.2.0">> Optional. Defaults to `no`. Set to `yes` to create a popup that must be closed explicitly. | <<.from-version "5.1.23">> If the ''$coords'' attribute is missing or empty then all popups are cancelled. diff --git a/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid b/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid index d9dc8a491..144c4036c 100644 --- a/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid +++ b/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid @@ -44,7 +44,7 @@ Click me! ! Action Execution Modes -<<.from-version "5.1.24">> The default behaviour of action widgets has some peculiarities that often cause confusion. There is now an improved mode that simplifies how things work, but due to BackwardsCompatibility constraints, it must be explicitly engaged in order to take advantage of it. +<<.from-version "5.2.0">> The default behaviour of action widgets has some peculiarities that often cause confusion. There is now an improved mode that simplifies how things work, but due to BackwardsCompatibility constraints, it must be explicitly engaged in order to take advantage of it. The peculiarities relate to the way that the results of previous action widgets are available to subsequent action widgets. By default, action widgets are refreshed before each execution which ensure that they reflect the results of previous actions. However, ordinary widgets are not updated in the same way. diff --git a/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid b/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid index acec189c3..7cde7d786 100644 --- a/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid @@ -19,9 +19,9 @@ It sends a [[WidgetMessage: tm-import-tiddlers]] carrying a JSON representation |class |<<.from-version "5.1.22">> Optional CSS class to be assigned to the DOM node created by the dropzone (defaults to "tc-dropzone") | |autoOpenOnImport |<<.from-version "5.1.23">> Optional value "no" or "yes" that can override tv-auto-open-on-import | |importTitle|<<.from-version "5.1.23">> Optional tiddler title to use for import process instead of ~$:/Import | -|actions|<<.from-version "5.1.24">> Optional actions string to be invoked after the `tm-import-tiddlers` message has been sent. The variable `importTitle` provides the title of the tiddler used for the import process. | -|contentTypesFilter |<<.from-version "5.1.24">> Optional filter that specifies the [[content types|ContentType]] accepted by the dropzone. | -|filesOnly|<<.from-version "5.1.24">> Optional. When set to "yes", the dropzone only accepts files and not string data. Defaults to "no" | +|actions|<<.from-version "5.2.0">> Optional actions string to be invoked after the `tm-import-tiddlers` message has been sent. The variable `importTitle` provides the title of the tiddler used for the import process. | +|contentTypesFilter |<<.from-version "5.2.0">> Optional filter that specifies the [[content types|ContentType]] accepted by the dropzone. | +|filesOnly|<<.from-version "5.2.0">> Optional. When set to "yes", the dropzone only accepts files and not string data. Defaults to "no" | <<.tip """Use the `prefix` filter operator to easily accept multiple related content types. For example this filter will accept all image content types: `[prefix[image/]]`""">> diff --git a/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid b/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid index 96dde07f7..f1a8bb453 100644 --- a/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid @@ -36,7 +36,7 @@ The content of the `<$edit-text>` widget is ignored. |inputActions |<<.from-version 5.1.23>> Optional actions that are triggered every time an input event occurs within the input field or textarea | |refreshTitle |<<.from-version 5.1.23>> An optional tiddler title that makes the input field update whenever the specified tiddler changes | |disabled|<<.from-version "5.1.23">> Optional, disables the text input if set to "yes". Defaults to "no"| -|fileDrop|<<.from-version "5.1.24">> Optional. When set to "yes" allows dropping or pasting images into the editor to import them. Defaults to "no"| +|fileDrop|<<.from-version "5.2.0">> Optional. When set to "yes" allows dropping or pasting images into the editor to import them. Defaults to "no"| ! Notes diff --git a/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid b/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid index 980bd3fdb..152995188 100644 --- a/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid @@ -27,14 +27,14 @@ The content of the `<$eventcatcher>` widget is displayed normally. |!Attribute |!Description | |selector |A CSS selector. Only events originating inside a DOM node with this selector will be trapped | -|//{any attributes starting with $}// |<<.from-version "5.1.24">> Each attribute name (excluding the $) specifies the name of an event, and the value specifies the action string to be invoked. For example: `$click=<>` | +|//{any attributes starting with $}// |<<.from-version "5.2.0">> Each attribute name (excluding the $) specifies the name of an event, and the value specifies the action string to be invoked. For example: `$click=<>` | |tag |Optional. The HTML element the widget creates to capture the events, defaults to:
» `span` when parsed in inline-mode
» `div` when parsed in block-mode | |class |Optional. A CSS class name (or names) to be assigned to the widget HTML element | -|stopPropagation |<<.from-version "5.1.24">> Optional. Set to "always" to always stop event propagation even if there are no corresponding actions to invoke, "never" to never stop event propagation, or the default value "onaction" with which event propagation is only stopped if there are corresponding actions that are invoked. | +|stopPropagation |<<.from-version "5.2.0">> Optional. Set to "always" to always stop event propagation even if there are no corresponding actions to invoke, "never" to never stop event propagation, or the default value "onaction" with which event propagation is only stopped if there are corresponding actions that are invoked. | |events |//(deprecated – see below)// Space separated list of JavaScript events to be trapped, for example "click" or "click dblclick" | |actions-* |//(deprecated – see below)// Action strings to be invoked when a matching event is trapped. Each event is mapped to an action attribute name of the form actions-event where event represents the type of the event. For example: `actions-click` or `actions-dblclick` | -<<.from-version "5.1.24">> Note that the attributes `events` and `actions-*` are no longer needed. Instead you can use attributes starting with $ where the attribute name (excluding the $) specifies the name of the event and the value specifies the action string to be invoked. If any attributes with the prefix $ are present then the `types` attribute is ignored. +<<.from-version "5.2.0">> Note that the attributes `events` and `actions-*` are no longer needed. Instead you can use attributes starting with $ where the attribute name (excluding the $) specifies the name of the event and the value specifies the action string to be invoked. If any attributes with the prefix $ are present then the `types` attribute is ignored. ! Variables diff --git a/editions/tw5.com/tiddlers/widgets/ListWidget.tid b/editions/tw5.com/tiddlers/widgets/ListWidget.tid index 01b28ad9e..94f5a6a27 100644 --- a/editions/tw5.com/tiddlers/widgets/ListWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ListWidget.tid @@ -82,7 +82,7 @@ The action of the list widget depends on the results of the filter combined with |template |The title of a template tiddler for transcluding each tiddler in the list. When no template is specified, the body of the ListWidget serves as the item template. With no body, a simple link to the tiddler is returned. | |editTemplate |An alternative template to use for [[DraftTiddlers|DraftMechanism]] in edit mode | |variable |The name for a [[variable|Variables]] in which the title of each listed tiddler is stored. Defaults to ''currentTiddler'' | -|counter |<<.from-version "5.1.24">> Optional name for a [[variable|Variables]] in which the 1-based numeric index of each listed tiddler is stored (see below) | +|counter |<<.from-version "5.2.0">> Optional name for a [[variable|Variables]] in which the 1-based numeric index of each listed tiddler is stored (see below) | |emptyMessage |Message to be displayed when the list is empty | |storyview |Optional name of module responsible for animating/processing the list | |history |The title of the tiddler containing the navigation history | diff --git a/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid b/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid index ea94241d3..7f3e566e6 100644 --- a/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid @@ -6,7 +6,7 @@ type: text/vnd.tiddlywiki ! Introduction -<<.from-version "5.1.24">> +<<.from-version "5.2.0">> The message catcher widget traps [[messages|Messages]] dispatched within its child content, and allows invoking a series of ActionWidgets in response to those messages. diff --git a/editions/tw5.com/tiddlers/widgets/RadioWidget.tid b/editions/tw5.com/tiddlers/widgets/RadioWidget.tid index 77ece4e28..eaa571764 100644 --- a/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/RadioWidget.tid @@ -17,7 +17,7 @@ The content of the `<$radio>` widget is displayed within an HTML `