tiddlywiki 5.2.3 → 5.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/build-site.sh +11 -2
- package/bin/test.sh +1 -0
- package/boot/boot.js +9 -6
- package/core/images/layout-button.tid +4 -0
- package/core/images/mastodon.tid +6 -0
- package/core/language/en-GB/Buttons.multids +4 -0
- package/core/language/en-GB/ControlPanel.multids +3 -3
- package/core/language/en-GB/Fields.multids +2 -2
- package/core/language/en-GB/GettingStarted.tid +4 -3
- package/core/language/en-GB/Help/commands.tid +18 -0
- package/core/language/en-GB/Misc.multids +1 -0
- package/core/modules/commands/commands.js +42 -0
- package/core/modules/editor/engines/framed.js +12 -1
- package/core/modules/editor/factory.js +2 -2
- package/core/modules/filters/format/json.js +35 -0
- package/core/modules/filters/is/variable.js +2 -2
- package/core/modules/filters/json-ops.js +186 -0
- package/core/modules/filters/variables.js +9 -3
- package/core/modules/filters.js +15 -6
- package/core/modules/keyboard.js +13 -1
- package/core/modules/parsers/csvparser.js +25 -17
- package/core/modules/parsers/wikiparser/rules/macrodef.js +1 -1
- package/core/modules/parsers/wikiparser/rules/parsermode.js +68 -0
- package/core/modules/parsers/wikiparser/rules/styleinline.js +3 -3
- package/core/modules/parsers/wikiparser/wikiparser.js +4 -2
- package/core/modules/server/routes/put-tiddler.js +10 -0
- package/core/modules/startup/startup.js +5 -1
- package/core/modules/utils/csv.js +101 -23
- package/core/modules/utils/dom/dom.js +17 -2
- package/core/modules/utils/dom/modal.js +6 -0
- package/core/modules/utils/dom/popup.js +69 -6
- package/core/modules/utils/fakedom.js +2 -2
- package/core/modules/utils/linked-list.js +79 -75
- package/core/modules/utils/logger.js +3 -1
- package/core/modules/utils/parsetree.js +20 -10
- package/core/modules/utils/utils.js +3 -0
- package/core/modules/widgets/action-deletefield.js +2 -2
- package/core/modules/widgets/action-popup.js +10 -8
- package/core/modules/widgets/button.js +7 -2
- package/core/modules/widgets/checkbox.js +12 -5
- package/core/modules/widgets/error.js +63 -0
- package/core/modules/widgets/genesis.js +108 -0
- package/core/modules/widgets/importvariables.js +4 -1
- package/core/modules/widgets/keyboard.js +4 -0
- package/core/modules/widgets/let.js +3 -5
- package/core/modules/widgets/reveal.js +11 -10
- package/core/modules/widgets/select.js +9 -0
- package/core/modules/widgets/transclude.js +3 -5
- package/core/modules/widgets/widget.js +44 -18
- package/core/palettes/Blanca.tid +2 -0
- package/core/palettes/Blue.tid +2 -0
- package/core/palettes/BrightMute.tid +2 -0
- package/core/palettes/ContrastDark.tid +2 -0
- package/core/palettes/ContrastLight.tid +2 -0
- package/core/palettes/CupertinoDark.tid +2 -0
- package/core/palettes/DarkPhotos.tid +2 -0
- package/core/palettes/DesertSand.tid +2 -0
- package/core/palettes/GruvBoxDark.tid +2 -0
- package/core/palettes/Nord.tid +2 -0
- package/core/palettes/Rocker.tid +2 -0
- package/core/palettes/SolarFlare.tid +2 -0
- package/core/palettes/SolarizedDark.tid +2 -0
- package/core/palettes/SolarizedLight.tid +2 -0
- package/core/palettes/SpartanDay.tid +2 -0
- package/core/palettes/SpartanNight.tid +2 -0
- package/core/palettes/Twilight.tid +2 -0
- package/core/palettes/Vanilla.tid +2 -0
- package/core/templates/external-js/save-all-external-js.tid +4 -2
- package/core/templates/external-js/save-offline-external-js.tid +4 -2
- package/core/templates/single.tiddler.window.tid +1 -1
- package/core/ui/Actions/new-image.tid +1 -7
- package/core/ui/AdvancedSearch/FilterButtons/delete.tid +3 -3
- package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +2 -2
- package/core/ui/ControlPanel/Basics/retain-story-ordering-button.tid +3 -0
- package/core/ui/ControlPanel/Basics.tid +3 -2
- package/core/ui/EditTemplate/Preview/output.tid +1 -1
- package/core/ui/EditTemplate/body/default.tid +1 -1
- package/core/ui/EditTemplate/fields.tid +12 -2
- package/core/ui/EditTemplate.tid +7 -2
- package/core/ui/ImportListing.tid +5 -5
- package/core/ui/KeyboardShortcuts/advanced-search.tid +1 -1
- package/core/ui/PageControls/layout.tid +15 -0
- package/core/ui/PageTemplate.tid +1 -4
- package/core/ui/SideBar/More.tid +2 -2
- package/core/ui/SwitcherModal.tid +1 -0
- package/core/ui/TagManager.tid +75 -63
- package/core/ui/ViewTemplate/unfold.tid +6 -2
- package/core/ui/ViewTemplate.tid +1 -1
- package/core/wiki/config/DefaultTiddlersRetainStory.tid +3 -0
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/PageControlButtons.multids +1 -0
- package/core/wiki/macros/list.tid +7 -7
- package/core/wiki/macros/timeline.tid +6 -9
- package/core/wiki/macros/toc.tid +12 -8
- package/core/wiki/tags/PageControls.tid +1 -1
- package/editions/de-AT/tiddlywiki.info +0 -1
- package/editions/de-AT-server/tiddlywiki.info +0 -1
- package/editions/de-DE/tiddlywiki.info +0 -1
- package/editions/dev/tiddlers/HelloThere.tid +2 -1
- package/editions/dev/tiddlers/How to run a local plugin library for testing.tid +42 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Child widgets tutorial.tid +140 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget demo.tid +22 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget tutorial.tid +25 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World demo.tid +23 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World widget tutorial.tid +18 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +37 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget demo.tid +18 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget tutorial.tid +11 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo I.tid +48 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo II.tid +48 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part I.tid +50 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part II.tid +33 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo I.tid +44 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo II.tid +40 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo III.tid +50 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part I.tid +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part II.tid +37 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part III.tid +26 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js +16 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js +51 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js +35 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js +43 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js +36 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js +46 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js.meta +6 -0
- package/editions/dev/tiddlywiki.info +2 -1
- package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +1 -1
- package/editions/fr-FR/tiddlers/system/$__core_macros_list.tid +113 -0
- package/editions/fr-FR/tiddlers/system/$__core_macros_tag.tid +39 -0
- package/editions/fr-FR/tiddlers/system/$__core_ui_TagPickerTagTemplate.tid +25 -0
- package/editions/full/tiddlywiki.info +0 -1
- package/editions/introduction/tiddlywiki.info +0 -1
- package/editions/pluginlibrary/tiddlers/GettingStarted.tid +45 -0
- package/editions/pluginlibrary/tiddlers/PrereleaseLocalPluginLibrary.tid +6 -0
- package/editions/pluginlibrary/tiddlers/meta/SiteSubtitle.tid +3 -0
- package/editions/pluginlibrary/tiddlers/meta/SiteTitle.tid +3 -0
- package/editions/pluginlibrary/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +3 -0
- package/editions/pluginlibrary/tiddlywiki.info +7 -0
- package/editions/prerelease/tiddlers/{Release 5.2.4.tid → Release 5.2.5.tid } +8 -17
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +5 -1
- package/editions/test/tiddlers/tests/data/csv-cases.tid +282 -0
- package/editions/test/tiddlers/tests/data/filters/Recursion.tid +15 -0
- package/editions/test/tiddlers/tests/data/filters/fake-variables.tid +27 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/DollarSigns.tid +14 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/MultipleAttributes.tid +14 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/Simple.tid +14 -0
- package/editions/test/tiddlers/tests/data/macros/NestedMacros.tid +36 -0
- package/editions/test/tiddlers/tests/data/pragmas/Parsermode.tid +36 -0
- package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +13 -0
- package/editions/test/tiddlers/tests/modules/utils/test-csv.js +33 -0
- package/editions/test/tiddlers/tests/test-checkbox-widget.js +35 -1
- package/editions/test/tiddlers/tests/test-json-filters.js +112 -0
- package/editions/test/tiddlers/tests/test-linked-list.js +42 -2
- package/editions/test/tiddlers/tests/test-popup.js +63 -0
- package/editions/test/tiddlers/tests/test-utils.js +1 -0
- package/editions/test/tiddlers/tests/test-wikitext.js +16 -0
- package/editions/test/tiddlywiki.info +2 -1
- package/editions/translators/tiddlers/system/PageControlButtonsVisibility.multids +1 -0
- package/editions/translators/tiddlywiki.info +0 -1
- package/editions/tw.org/tiddlers/Code of Conduct.tid +4 -1
- package/editions/tw.org/tiddlers/Fundraising.tid +2 -2
- package/editions/tw5.com/tiddlers/Tables in WikiText CSS Utility Classes.tid +81 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/marketplace.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid +1 -1
- package/editions/tw5.com/tiddlers/about/Funding TiddlyWiki.tid +19 -0
- package/editions/tw5.com/tiddlers/about/Open Collective.tid +14 -0
- package/editions/tw5.com/tiddlers/commands/CommandsCommand.tid +8 -0
- package/editions/tw5.com/tiddlers/commands/RenderTiddlerCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/RenderTiddlersCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/SaveTiddlerCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/SaveTiddlersCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/community/plugins/GSD5.tid +2 -2
- package/editions/tw5.com/tiddlers/community/plugins/_JD Mobile Layout plugin_ by JD.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +0 -2
- package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +0 -1
- package/editions/tw5.com/tiddlers/concepts/CoordinateSystems.tid +42 -0
- package/editions/tw5.com/tiddlers/concepts/KeyboardShortcutTiddler.tid +2 -0
- package/editions/tw5.com/tiddlers/definitions/Federatial.tid +13 -1
- package/editions/tw5.com/tiddlers/definitions/HTML Block Elements.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/TiddlyWikiClassic.tid +3 -1
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Selective Expandable Example custom icons.tid +16 -0
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +1 -1
- package/editions/tw5.com/tiddlers/features/DateFormat.tid +27 -3
- package/editions/tw5.com/tiddlers/features/JSON in TiddlyWiki.tid +1 -1
- package/editions/tw5.com/tiddlers/features/Modals.tid +3 -0
- package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +5 -2
- package/editions/tw5.com/tiddlers/filters/format.tid +5 -4
- package/editions/tw5.com/tiddlers/filters/jsonextract.tid +66 -0
- package/editions/tw5.com/tiddlers/filters/jsonget.tid +93 -0
- package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +65 -0
- package/editions/tw5.com/tiddlers/filters/jsontype.tid +74 -0
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +3 -7
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +23 -22
- package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Funding.tid +10 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +2 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Introduction Video.tid +2 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Latest Version.tid +9 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Marketplace.tid +10 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +3 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail_-_Federatial.tid +11 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid +4 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Sync System Tiddlers From Server.tid +13 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting SyncLogging.tid +13 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ More Tabs Horizontal.tid +7 -0
- package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +2 -0
- package/editions/tw5.com/tiddlers/howtos/Reading data from JSON tiddlers.tid +10 -1
- package/editions/tw5.com/tiddlers/images/Federatial.png +0 -0
- package/editions/tw5.com/tiddlers/images/Federatial.png.meta +3 -0
- package/editions/tw5.com/tiddlers/images/Funding.png +0 -0
- package/editions/tw5.com/tiddlers/images/{TiddlyMap.png.meta → Funding.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/images/Marketplace Banner.png +0 -0
- package/editions/tw5.com/tiddlers/images/Marketplace Banner.png.meta +3 -0
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/macros/ListMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +36 -2
- package/editions/tw5.com/tiddlers/marketplace/TiddlyWiki Marketplace.tid +18 -0
- package/editions/tw5.com/tiddlers/mechanisms/PopupMechanism.tid +1 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +4 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-new-tiddler.tid +1 -1
- package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +2 -2
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +17 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +140 -0
- package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Emergency Tiddler Export.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +0 -1
- package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +1 -0
- package/editions/tw5.com/tiddlers/saving/Saving.tid +12 -5
- package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +15 -0
- package/editions/tw5.com/tiddlers/system/doc-macros.tid +1 -1
- package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +1 -16
- package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +168 -40
- package/editions/tw5.com/tiddlers/system/version-macros.tid +3 -4
- package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +43 -15
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_PageTemplate.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Filter.tid +2 -2
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Joe Armstrong.tid +8 -0
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Network World.tid +8 -0
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Product Hunt.tid +6 -0
- package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +10 -10
- package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -3
- package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/ErrorWidget.tid +17 -0
- package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +4 -3
- package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +41 -0
- package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +4 -1
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +1 -1
- package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +1 -0
- package/editions/tw5.com/tiddlers/wikitext/Macro Definitions in WikiText.tid +27 -4
- package/editions/tw5.com/tiddlers/wikitext/Styles and Classes in WikiText.tid +1 -1
- package/editions/tw5.com/tiddlers/wikitext/Table Classes Captions Headers and Footers.tid +20 -0
- package/editions/tw5.com/tiddlers/wikitext/Tables in WikiText.tid +3 -13
- package/editions/tw5.com/tiddlers/wikitext/Utility Classes.tid +20 -0
- package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +1 -1
- package/editions/twitter-archivist/tiddlers/DefaultTiddlers.tid +4 -0
- package/editions/twitter-archivist/tiddlers/HelloThere.tid +9 -0
- package/editions/twitter-archivist/tiddlers/SiteSubtitle.tid +3 -0
- package/editions/twitter-archivist/tiddlers/SiteTitle.tid +3 -0
- package/editions/twitter-archivist/tiddlywiki.info +16 -0
- package/languages/ar-PS/ControlPanel.multids +1 -1
- package/languages/ca-ES/ControlPanel.multids +1 -1
- package/languages/cs-CZ/ControlPanel.multids +1 -1
- package/languages/da-DK/ControlPanel.multids +1 -1
- package/languages/de-DE/Buttons.multids +5 -1
- package/languages/de-DE/ControlPanel.multids +1 -1
- package/languages/de-DE/Help/commands.tid +14 -0
- package/languages/de-DE/Misc.multids +1 -0
- package/languages/el-GR/ControlPanel.multids +1 -1
- package/languages/es-ES/Buttons.multids +89 -87
- package/languages/es-ES/ControlPanel.multids +18 -1
- package/languages/es-ES/Docs/PaletteColours.multids +2 -2
- package/languages/es-ES/EditTemplate.multids +3 -0
- package/languages/es-ES/Fields.multids +4 -3
- package/languages/es-ES/GettingStarted.tid +4 -3
- package/languages/es-ES/Help/default.tid +4 -1
- package/languages/es-ES/Help/listen.tid +0 -1
- package/languages/es-ES/Help/render.tid +2 -2
- package/languages/es-ES/Import.multids +1 -1
- package/languages/es-ES/Misc.multids +2 -1
- package/languages/es-ES/SideBar.multids +1 -0
- package/languages/es-ES/Snippets/ListByTag.tid +1 -1
- package/languages/fa-IR/ControlPanel.multids +1 -1
- package/languages/fr-FR/Buttons.multids +2 -0
- package/languages/fr-FR/ControlPanel.multids +4 -4
- package/languages/fr-FR/Misc.multids +3 -2
- package/languages/hi-IN/ControlPanel.multids +1 -1
- package/languages/ia-IA/ControlPanel.multids +1 -1
- package/languages/it-IT/ControlPanel.multids +1 -1
- package/languages/ja-JP/ControlPanel.multids +9 -9
- package/languages/ko-KR/ControlPanel.multids +1 -1
- package/languages/nl-NL/ControlPanel.multids +1 -1
- package/languages/pl-PL/Buttons.multids +7 -3
- package/languages/pl-PL/ControlPanel.multids +26 -24
- package/languages/pl-PL/GettingStarted.tid +4 -3
- package/languages/pl-PL/Help/commands.tid +18 -0
- package/languages/pl-PL/Help/render.tid +2 -2
- package/languages/pl-PL/Misc.multids +1 -0
- package/languages/pl-PL/ThemeTweaks.multids +3 -3
- package/languages/pt-BR/ControlPanel.multids +1 -1
- package/languages/pt-PT/ControlPanel.multids +1 -1
- package/languages/ru-RU/ControlPanel.multids +1 -1
- package/languages/sk-SK/ControlPanel.multids +1 -1
- package/languages/sl-SI/ControlPanel.multids +1 -1
- package/languages/sv-SE/ControlPanel.multids +1 -1
- package/languages/zh-Hans/Buttons.multids +36 -32
- package/languages/zh-Hans/ControlPanel.multids +19 -19
- package/languages/zh-Hans/CoreReadMe.tid +1 -1
- package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -2
- package/languages/zh-Hans/Docs/PaletteColours.multids +8 -8
- package/languages/zh-Hans/Fields.multids +7 -7
- package/languages/zh-Hans/Filters.multids +1 -1
- package/languages/zh-Hans/GettingStarted.tid +8 -6
- package/languages/zh-Hans/Help/commands.tid +18 -0
- package/languages/zh-Hans/Help/fetch.tid +6 -6
- package/languages/zh-Hans/Help/init.tid +1 -1
- package/languages/zh-Hans/Help/listen.tid +5 -5
- package/languages/zh-Hans/Help/makelibrary.tid +1 -1
- package/languages/zh-Hans/Help/savetiddlers.tid +1 -1
- package/languages/zh-Hans/Help/server.tid +6 -6
- package/languages/zh-Hans/Help/setfield.tid +3 -3
- package/languages/zh-Hans/Import.multids +1 -1
- package/languages/zh-Hans/Misc.multids +12 -11
- package/languages/zh-Hans/Search.multids +6 -6
- package/languages/zh-Hans/SiteSubtitle.tid +1 -1
- package/languages/zh-Hans/Snippets/ListByTag.tid +1 -1
- package/languages/zh-Hans/ThemeTweaks.multids +7 -7
- package/languages/zh-Hans/TiddlerInfo.multids +2 -2
- package/languages/zh-Hant/Buttons.multids +4 -0
- package/languages/zh-Hant/ControlPanel.multids +2 -2
- package/languages/zh-Hant/Fields.multids +2 -2
- package/languages/zh-Hant/GettingStarted.tid +4 -3
- package/languages/zh-Hant/Help/commands.tid +18 -0
- package/languages/zh-Hant/Misc.multids +1 -0
- package/licenses/cla-individual.md +4 -0
- package/package.json +1 -1
- package/plugins/tiddlywiki/codemirror/engine.js +4 -0
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +2 -2
- package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +4 -2
- package/plugins/tiddlywiki/help/tabs/Support.tid +6 -2
- package/plugins/tiddlywiki/jasmine/command.js +33 -0
- package/plugins/tiddlywiki/jasmine/help.tid +24 -0
- package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +24 -18
- package/plugins/tiddlywiki/jasmine/readme.tid +31 -1
- package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +93 -0
- package/plugins/tiddlywiki/jasmine/startup.js +37 -0
- package/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid +6 -0
- package/plugins/tiddlywiki/translators/system/styles.tid +5 -0
- package/plugins/tiddlywiki/twitter-archivist/Twitter Archives.tid +5 -0
- package/plugins/tiddlywiki/twitter-archivist/archivist.js +319 -0
- package/plugins/tiddlywiki/twitter-archivist/configTiddlerInfoMode.tid +2 -0
- package/plugins/tiddlywiki/twitter-archivist/loadtwitterarchive.js +53 -0
- package/plugins/tiddlywiki/twitter-archivist/macros.tid +222 -0
- package/plugins/tiddlywiki/twitter-archivist/plugin.info +6 -0
- package/plugins/tiddlywiki/twitter-archivist/readme.tid +33 -0
- package/plugins/tiddlywiki/twitter-archivist/spec.tid +62 -0
- package/plugins/tiddlywiki/twitter-archivist/startup.js +38 -0
- package/plugins/tiddlywiki/twitter-archivist/styles.tid +47 -0
- package/plugins/tiddlywiki/twitter-archivist/template-archive.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-hashtag.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-tweet.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-tweeter.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/todo.tid +15 -0
- package/plugins/tiddlywiki/twitter-archivist/usage.tid +18 -0
- package/plugins/tiddlywiki/twitter-archivist/view-template-body-cascade.tid +8 -0
- package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +3 -3
- package/readme.md +1 -1
- package/themes/tiddlywiki/vanilla/base.tid +131 -10
- package/editions/fr-FR/tiddlers/$__core_ui_TagTemplate.tid +0 -33
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Classic.tid +0 -6
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Developers.tid +0 -7
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Gentle Guide.tid +0 -11
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - HelpingTiddlyWiki.tid +0 -7
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TWEUM2017.tid +0 -8
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyMap.tid +0 -6
- package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg +0 -0
- package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg.meta +0 -3
- package/editions/tw5.com/tiddlers/images/TiddlyMap.png +0 -0
@@ -1,21 +1,15 @@
|
|
1
|
-
caption: 5.2.
|
2
|
-
created:
|
3
|
-
modified:
|
1
|
+
caption: 5.2.5
|
2
|
+
created: 20221127133944178
|
3
|
+
modified: 20221127133944178
|
4
4
|
tags: ReleaseNotes
|
5
|
-
title: Release 5.2.
|
5
|
+
title: Release 5.2.5
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
|
8
|
-
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.
|
8
|
+
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.4...master]]//
|
9
9
|
|
10
|
-
!
|
10
|
+
! Translation Improvements
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
! Translation improvements
|
15
|
-
|
16
|
-
*
|
17
|
-
|
18
|
-
! Accessibility Improvements
|
12
|
+
Improvements to the following translations:
|
19
13
|
|
20
14
|
*
|
21
15
|
|
@@ -39,10 +33,6 @@ type: text/vnd.tiddlywiki
|
|
39
33
|
|
40
34
|
*
|
41
35
|
|
42
|
-
! Developer Improvements
|
43
|
-
|
44
|
-
*
|
45
|
-
|
46
36
|
! Node.js Improvements
|
47
37
|
|
48
38
|
*
|
@@ -56,4 +46,5 @@ type: text/vnd.tiddlywiki
|
|
56
46
|
[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:
|
57
47
|
|
58
48
|
<<.contributors """
|
49
|
+
XXXXX
|
59
50
|
""">>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: $:/config/OfficialPluginLibrary
|
2
2
|
tags: $:/tags/PluginLibrary
|
3
|
-
url: https://tiddlywiki.com/prerelease/library/v5.2.
|
3
|
+
url: https://tiddlywiki.com/prerelease/library/v5.2.4/index.html
|
4
4
|
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease)
|
5
5
|
|
6
6
|
The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.
|
@@ -1,7 +1,11 @@
|
|
1
1
|
title: TiddlyWiki Pre-release
|
2
2
|
modified: 20150428204930183
|
3
3
|
|
4
|
-
This is a pre-release build of TiddlyWiki
|
4
|
+
This is a pre-release build of TiddlyWiki provided for testing and review purposes. ''Please don't try to depend on the pre-release for anything important'' -- you should use the latest official release from https://tiddlywiki.com.
|
5
|
+
|
6
|
+
All of the changes in this pre-release are provisional until it is released and they become frozen by our backwards compatibility policies. This is the perfect time to raise questions or make suggestions. Please [[open a ticket at GitHub|https://github.com/Jermolene/TiddlyWiki5/issues/new/choose]] or make a post at https://talk.tiddlywiki.org/.
|
7
|
+
|
8
|
+
The pre-release is also available as an [[empty wiki|https://tiddlywiki.com/prerelease/empty.html]] ready for reuse.
|
5
9
|
|
6
10
|
<$list filter="[tag[ReleaseNotes]!has[released]!sort[created]]">
|
7
11
|
<div class="tc-titlebar">
|
@@ -0,0 +1,282 @@
|
|
1
|
+
title: csv-cases
|
2
|
+
type: text/plain
|
3
|
+
description: A file containing a JSON with test CSVs as string as well as expected results
|
4
|
+
|
5
|
+
[
|
6
|
+
{
|
7
|
+
"name": "Empty string",
|
8
|
+
"options": {},
|
9
|
+
"csv": "",
|
10
|
+
"json": [],
|
11
|
+
"jsonWithHeaders": []
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "Null value",
|
15
|
+
"options": {},
|
16
|
+
"csv": null,
|
17
|
+
"json": [],
|
18
|
+
"jsonWithHeaders": []
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "Simple CSV with no tricks",
|
22
|
+
"options": {},
|
23
|
+
"csv": "cell-11,cell-12,cell-13\r\ncell-21,cell-22,cell-23\r\ncell-31,cell-32,cell-33",
|
24
|
+
"json": [
|
25
|
+
["cell-11", "cell-12", "cell-13"],
|
26
|
+
["cell-21", "cell-22", "cell-23"],
|
27
|
+
["cell-31", "cell-32", "cell-33"]
|
28
|
+
],
|
29
|
+
"jsonWithHeaders": [
|
30
|
+
{"cell-11": "cell-21", "cell-12": "cell-22", "cell-13": "cell-23"},
|
31
|
+
{"cell-11": "cell-31", "cell-12": "cell-32", "cell-13": "cell-33"}
|
32
|
+
]
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "Custom separator",
|
36
|
+
"options": {"separator": "\t"},
|
37
|
+
"csv": ",cell-11,\t,cell-12,\t,cell-13,\r\n,cell-21,\t,cell-22,\t,cell-23,\r\n,cell-31,\t,cell-32,\t,cell-33,",
|
38
|
+
"json": [
|
39
|
+
[",cell-11,", ",cell-12,", ",cell-13,"],
|
40
|
+
[",cell-21,", ",cell-22,", ",cell-23,"],
|
41
|
+
[",cell-31,", ",cell-32,", ",cell-33,"]
|
42
|
+
],
|
43
|
+
"jsonWithHeaders": [
|
44
|
+
{",cell-11,": ",cell-21,", ",cell-12,": ",cell-22,", ",cell-13,": ",cell-23,"},
|
45
|
+
{",cell-11,": ",cell-31,", ",cell-12,": ",cell-32,", ",cell-13,": ",cell-33,"}
|
46
|
+
]
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"name": "Support empty rows",
|
50
|
+
"options": {},
|
51
|
+
"csv": "cell-11,cell-12,cell-13\r\n\r\ncell-31,cell-32,cell-33",
|
52
|
+
"json": [
|
53
|
+
["cell-11", "cell-12", "cell-13"],
|
54
|
+
[],
|
55
|
+
["cell-31", "cell-32", "cell-33"]
|
56
|
+
],
|
57
|
+
"jsonWithHeaders": [
|
58
|
+
{"cell-11": "", "cell-12": "", "cell-13": ""},
|
59
|
+
{"cell-11": "cell-31", "cell-12": "cell-32", "cell-13": "cell-33"}
|
60
|
+
]
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"name": "Support empty cells",
|
64
|
+
"options": {},
|
65
|
+
"csv": "cell-11,cell-12,cell-13\r\n,,\r\ncell-31,cell-32,cell-33",
|
66
|
+
"json": [
|
67
|
+
["cell-11", "cell-12", "cell-13"],
|
68
|
+
["", "", ""],
|
69
|
+
["cell-31", "cell-32", "cell-33"]
|
70
|
+
],
|
71
|
+
"jsonWithHeaders": [
|
72
|
+
{"cell-11": "", "cell-12": "", "cell-13": ""},
|
73
|
+
{"cell-11": "cell-31", "cell-12": "cell-32", "cell-13": "cell-33"}
|
74
|
+
]
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"name": "Support LF line endings",
|
78
|
+
"options": {},
|
79
|
+
"csv": "cell-11,cell-12,cell-13\ncell-21,cell-22,cell-23\ncell-31,cell-32,cell-33",
|
80
|
+
"json": [
|
81
|
+
["cell-11", "cell-12", "cell-13"],
|
82
|
+
["cell-21", "cell-22", "cell-23"],
|
83
|
+
["cell-31", "cell-32", "cell-33"]
|
84
|
+
],
|
85
|
+
"jsonWithHeaders": [
|
86
|
+
{"cell-11": "cell-21", "cell-12": "cell-22", "cell-13": "cell-23"},
|
87
|
+
{"cell-11": "cell-31", "cell-12": "cell-32", "cell-13": "cell-33"}
|
88
|
+
]
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"name": "Mixed line endings",
|
92
|
+
"options": {},
|
93
|
+
"csv": "cell-11,cell-12,cell-13\ncell-21,cell-22,cell-23\r\ncell-31,cell-32,cell-33",
|
94
|
+
"json": [
|
95
|
+
["cell-11", "cell-12", "cell-13"],
|
96
|
+
["cell-21", "cell-22", "cell-23"],
|
97
|
+
["cell-31", "cell-32", "cell-33"]
|
98
|
+
],
|
99
|
+
"jsonWithHeaders": [
|
100
|
+
{"cell-11": "cell-21", "cell-12": "cell-22", "cell-13": "cell-23"},
|
101
|
+
{"cell-11": "cell-31", "cell-12": "cell-32", "cell-13": "cell-33"}
|
102
|
+
]
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"name": "Quoted cells",
|
106
|
+
"options": {},
|
107
|
+
"csv": "cell-11,\"cell-12\",cell-13\r\n\"cell-21\",cell-22,cell-23\r\ncell-31,cell-32,\"cell-33\"",
|
108
|
+
"json": [
|
109
|
+
["cell-11", "cell-12", "cell-13"],
|
110
|
+
["cell-21", "cell-22", "cell-23"],
|
111
|
+
["cell-31", "cell-32", "cell-33"]
|
112
|
+
],
|
113
|
+
"jsonWithHeaders": [
|
114
|
+
{"cell-11": "cell-21", "cell-12": "cell-22", "cell-13": "cell-23"},
|
115
|
+
{"cell-11": "cell-31", "cell-12": "cell-32", "cell-13": "cell-33"}
|
116
|
+
]
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"name": "Escaped quotes in cells",
|
120
|
+
"options": {},
|
121
|
+
"csv": "cell-11,\"\"\"cell-12\"\"\",cell-13\r\n\"cell\"\"\"\"-21\",cell-22,cell-23\r\ncell-31,cell-32,\"\"\"\"\"cell\"\"\"\"-33\"\"\"\"\"",
|
122
|
+
"json": [
|
123
|
+
["cell-11", "\"cell-12\"", "cell-13"],
|
124
|
+
["cell\"\"-21", "cell-22", "cell-23"],
|
125
|
+
["cell-31", "cell-32", "\"\"cell\"\"-33\"\""]
|
126
|
+
],
|
127
|
+
"jsonWithHeaders": [
|
128
|
+
{"cell-11": "cell\"\"-21", "\"cell-12\"": "cell-22", "cell-13": "cell-23"},
|
129
|
+
{"cell-11": "cell-31", "\"cell-12\"": "cell-32", "cell-13": "\"\"cell\"\"-33\"\""}
|
130
|
+
]
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"name": "Separator in quoted cells",
|
134
|
+
"options": {},
|
135
|
+
"csv": "cell-11,\",c,e,l,l,-,1,2,\",cell-13\r\n\",c,e,l,l,-,2,1,\",cell-22,cell-23\r\ncell-31,cell-32,\",c,e,l,l,-,3,3,\"",
|
136
|
+
"json": [
|
137
|
+
["cell-11", ",c,e,l,l,-,1,2,", "cell-13"],
|
138
|
+
[",c,e,l,l,-,2,1,", "cell-22", "cell-23"],
|
139
|
+
["cell-31", "cell-32", ",c,e,l,l,-,3,3,"]
|
140
|
+
],
|
141
|
+
"jsonWithHeaders": [
|
142
|
+
{"cell-11": ",c,e,l,l,-,2,1,", ",c,e,l,l,-,1,2,": "cell-22", "cell-13": "cell-23"},
|
143
|
+
{"cell-11": "cell-31", ",c,e,l,l,-,1,2,": "cell-32", "cell-13": ",c,e,l,l,-,3,3,"}
|
144
|
+
]
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"name": "UTF-8 characters",
|
148
|
+
"options": {},
|
149
|
+
"csv": "ᑖcell-11™,°cell-12ą,ćcell-13ś\r\nżcell-21ę,łcell-22ó,Ócell-23↑\r\nŹcell-31Ż,Ącell-32Ń,Ęcell-33ę",
|
150
|
+
"json": [
|
151
|
+
["ᑖcell-11™", "°cell-12ą", "ćcell-13ś"],
|
152
|
+
["żcell-21ę", "łcell-22ó", "Ócell-23↑"],
|
153
|
+
["Źcell-31Ż", "Ącell-32Ń", "Ęcell-33ę"]
|
154
|
+
],
|
155
|
+
"jsonWithHeaders": [
|
156
|
+
{"ᑖcell-11™": "żcell-21ę", "°cell-12ą": "łcell-22ó", "ćcell-13ś": "Ócell-23↑"},
|
157
|
+
{"ᑖcell-11™": "Źcell-31Ż", "°cell-12ą": "Ącell-32Ń", "ćcell-13ś": "Ęcell-33ę"}
|
158
|
+
]
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"name": "All in one",
|
162
|
+
"options": {},
|
163
|
+
"csv": "\"\"\",\r\n,\"\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"\"\",ҡ͟¼lj·˨Քƣйʊ͕Έӕ,😣👁🔵⛔️🌹\r\n\"\"\",\r\n,\"\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"\"\",ҡ͟¼lj·˨Քƣйʊ͕Έӕ,😣👁🔵⛔️🌹\n\"\"\",\r\n,\"\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"\"\",ҡ͟¼lj·˨Քƣйʊ͕Έӕ,😣👁🔵⛔️🌹",
|
164
|
+
"json": [
|
165
|
+
["\",\r\n,\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹"],
|
166
|
+
["\",\r\n,\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹"],
|
167
|
+
["\",\r\n,\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹"]
|
168
|
+
],
|
169
|
+
"jsonWithHeaders": [
|
170
|
+
{"\",\r\n,\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"": "\",\r\n,\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ": "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹": "😣👁🔵⛔️🌹"},
|
171
|
+
{"\",\r\n,\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"": "\",\r\n,\",\r\nĄŚĆżóŁ\n\n\n\r\n,\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ": "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹": "😣👁🔵⛔️🌹"}
|
172
|
+
]
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"name": "All in one - custom separator",
|
176
|
+
"options": {"separator": "\t"},
|
177
|
+
"csv": "\"\"\"\t\r\n\t\"\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"\"\"\tҡ͟¼lj·˨Քƣйʊ͕Έӕ\t😣👁🔵⛔️🌹\r\n\"\"\"\t\r\n\t\"\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"\"\"\tҡ͟¼lj·˨Քƣйʊ͕Έӕ\t😣👁🔵⛔️🌹\n\"\"\"\t\r\n\t\"\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"\"\"\tҡ͟¼lj·˨Քƣйʊ͕Έӕ\t😣👁🔵⛔️🌹",
|
178
|
+
"json": [
|
179
|
+
["\"\t\r\n\t\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹"],
|
180
|
+
["\"\t\r\n\t\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹"],
|
181
|
+
["\"\t\r\n\t\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹"]
|
182
|
+
],
|
183
|
+
"jsonWithHeaders": [
|
184
|
+
{"\"\t\r\n\t\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"": "\"\t\r\n\t\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ": "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹": "😣👁🔵⛔️🌹"},
|
185
|
+
{"\"\t\r\n\t\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"": "\"\t\r\n\t\"\t\r\nĄŚĆżóŁ\n\n\n\r\n\t\"", "ҡ͟¼lj·˨Քƣйʊ͕Έӕ": "ҡ͟¼lj·˨Քƣйʊ͕Έӕ", "😣👁🔵⛔️🌹": "😣👁🔵⛔️🌹"}
|
186
|
+
]
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"name": "Edge case - only empty rows",
|
190
|
+
"options": {},
|
191
|
+
"csv": "\r\n\r\n",
|
192
|
+
"json": [
|
193
|
+
[],
|
194
|
+
[],
|
195
|
+
[]
|
196
|
+
],
|
197
|
+
"jsonWithHeaders": [
|
198
|
+
{},
|
199
|
+
{}
|
200
|
+
]
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"name": "Edge case - only empty cells",
|
204
|
+
"options": {},
|
205
|
+
"csv": ",,\r\n,,\r\n,,",
|
206
|
+
"json": [
|
207
|
+
["", "", ""],
|
208
|
+
["", "", ""],
|
209
|
+
["", "", ""]
|
210
|
+
],
|
211
|
+
"jsonWithHeaders": [
|
212
|
+
{},
|
213
|
+
{}
|
214
|
+
]
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"name": "Edge case - Newline -> Comma -> Text",
|
218
|
+
"options": {},
|
219
|
+
"csv": "A,B\r\n,C",
|
220
|
+
"json": [
|
221
|
+
["A", "B"],
|
222
|
+
["", "C"]
|
223
|
+
],
|
224
|
+
"jsonWithHeaders": [
|
225
|
+
{"A": "", "B": "C"}
|
226
|
+
]
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"name": "Edge case - single comma",
|
230
|
+
"options": {},
|
231
|
+
"csv": ",",
|
232
|
+
"json": [
|
233
|
+
["", ""]
|
234
|
+
],
|
235
|
+
"jsonWithHeaders": []
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"@comment": "The behavior here is undefined - the only thing that matters is it should not throw an exception, the result is free to make no sense.",
|
239
|
+
"name": "Edge case - quote separator",
|
240
|
+
"options": {"separator": "\""},
|
241
|
+
"csv": "cell-11,\"cell-12\",cell-13\r\n\"cell-21\",cell-22,cell-23\r\ncell-31,cell-32,\"cell-33\"",
|
242
|
+
"json": [
|
243
|
+
["cell-11,", "cell-12", ",cell-13"],
|
244
|
+
["cell-21", "cell-22,cell-23"],
|
245
|
+
["cell-31,cell-32,", "cell-33", ""]
|
246
|
+
],
|
247
|
+
"jsonWithHeaders": [
|
248
|
+
{"cell-11,": "cell-21", "cell-12": "cell-22,cell-23", ",cell-13": ""},
|
249
|
+
{"cell-11,": "cell-31,cell-32,", "cell-12": "cell-33", ",cell-13": ""}
|
250
|
+
]
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"@comment": "The behavior here is undefined - the only thing that matters is it should not throw an exception, the result is free to make no sense.",
|
254
|
+
"name": "Edge case - carriage return separator",
|
255
|
+
"options": {"separator": "\r"},
|
256
|
+
"csv": "cell-11,\"cell-12\",cell-13\r\n\"cell-21\",cell-22,cell-23\r\ncell-31,cell-32,\"cell-33\"",
|
257
|
+
"json": [
|
258
|
+
["cell-11,\"cell-12\",cell-13"],
|
259
|
+
["cell-21", "cell-22,cell-23"],
|
260
|
+
["cell-31,cell-32,\"cell-33\""]
|
261
|
+
],
|
262
|
+
"jsonWithHeaders": [
|
263
|
+
{"cell-11,\"cell-12\",cell-13": "cell-21" },
|
264
|
+
{"cell-11,\"cell-12\",cell-13": "cell-31,cell-32,\"cell-33\""}
|
265
|
+
]
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"@comment": "The behavior here is undefined - the only thing that matters is it should not throw an exception, the result is free to make no sense.",
|
269
|
+
"name": "Edge case - newline separator",
|
270
|
+
"options": {"separator": "\n"},
|
271
|
+
"csv": "cell-11,\"cell-12\",cell-13\r\n\"cell-21\",cell-22,cell-23\r\ncell-31,cell-32,\"cell-33\"",
|
272
|
+
"json": [
|
273
|
+
["cell-11,\"cell-12\",cell-13"],
|
274
|
+
["cell-21", "cell-22,cell-23"],
|
275
|
+
["cell-31,cell-32,\"cell-33\""]
|
276
|
+
],
|
277
|
+
"jsonWithHeaders": [
|
278
|
+
{"cell-11,\"cell-12\",cell-13": "cell-21" },
|
279
|
+
{"cell-11,\"cell-12\",cell-13": "cell-31,cell-32,\"cell-33\""}
|
280
|
+
]
|
281
|
+
}
|
282
|
+
]
|
@@ -0,0 +1,15 @@
|
|
1
|
+
title: Filters/Recursion
|
2
|
+
description: Filter recursion detection
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
\define myfilter() [subfilter<myfilter>]
|
10
|
+
|
11
|
+
<$text text={{{ [subfilter<myfilter>] }}}/>
|
12
|
+
+
|
13
|
+
title: ExpectedResult
|
14
|
+
|
15
|
+
<p>/**-- Excessive filter recursion --**/</p>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
title: Filters/FakeVariables
|
2
|
+
description: Test for https://github.com/Jermolene/TiddlyWiki5/issues/6303
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
<$list variable="var" filter="[[existing variable should have output]] :filter[[..currentTiddler]is[variable]]">
|
10
|
+
<p><<var>></p>
|
11
|
+
</$list>
|
12
|
+
|
13
|
+
<$list variable="var" filter="[[non-existing variable should not have output]] :filter[[nonExistingVariable]is[variable]]">
|
14
|
+
<p><<var>></p>
|
15
|
+
</$list>
|
16
|
+
|
17
|
+
<$list variable="var" filter="[[existing variable negated should not have output]] :filter[[..currentTiddler]!is[variable]]">
|
18
|
+
<p><<var>></p>
|
19
|
+
</$list>
|
20
|
+
|
21
|
+
<$list variable="var" filter="[[non-existing variable negated should have output]] :filter[[nonExistingVariable]!is[variable]]">
|
22
|
+
<p><<var>></p>
|
23
|
+
</$list>
|
24
|
+
+
|
25
|
+
title: ExpectedResult
|
26
|
+
|
27
|
+
<p><p>existing variable should have output</p></p><p></p><p></p><p><p>non-existing variable negated should have output</p></p>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: Genesis/DollarSigns
|
2
|
+
description: Usage of genesis widget with attributes starting with dollar signs
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
<$genesis $type="$let" myvar="Kitten">(<$text text=<<myvar>>/>)</$genesis>
|
10
|
+
<$genesis $type="$let" $$myvar="Kitten">(<$text text=<<$myvar>>/>)</$genesis>
|
11
|
+
+
|
12
|
+
title: ExpectedResult
|
13
|
+
|
14
|
+
<p>(Kitten)(Kitten)</p>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: Genesis/MultipleAttributes
|
2
|
+
description: Usage of genesis widget with multiple attributes
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
<$genesis $type="$let" $names="myvar other" $values="Kitten Donkey" myvar={{{ Shark }}}>(<$text text=<<myvar>>/>|<$text text=<<other>>/>)</$genesis>
|
10
|
+
<$genesis $type="$let" $names="$myvar $other" $values="Kitten Donkey" $$myvar="Shark">(<$text text=<<$myvar>>/>|<$text text=<<$other>>/>)</$genesis>
|
11
|
+
+
|
12
|
+
title: ExpectedResult
|
13
|
+
|
14
|
+
<p>(Kitten|Donkey)(Kitten|Donkey)</p>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: Genesis/Simple
|
2
|
+
description: Simple usage of genesis widget
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
<$genesis $type="div">Mouse</$genesis>
|
10
|
+
<$genesis $type="div" class="tc-thing" label="Squeak">Mouse</$genesis>
|
11
|
+
+
|
12
|
+
title: ExpectedResult
|
13
|
+
|
14
|
+
<p><div>Mouse</div><div class="tc-thing" label="Squeak">Mouse</div></p>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
title: Macros/NestedMacros
|
2
|
+
description: Nested Macros
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
|
10
|
+
\define outer()
|
11
|
+
\whitespace trim
|
12
|
+
|
13
|
+
\define middle()
|
14
|
+
\whitespace trim
|
15
|
+
|
16
|
+
\define inner()
|
17
|
+
\whitespace trim
|
18
|
+
|
19
|
+
Jaguar
|
20
|
+
|
21
|
+
\end inner
|
22
|
+
|
23
|
+
<<inner>>
|
24
|
+
|
25
|
+
\end middle
|
26
|
+
|
27
|
+
<<middle>>
|
28
|
+
|
29
|
+
\end outer
|
30
|
+
|
31
|
+
<<outer>>
|
32
|
+
|
33
|
+
+
|
34
|
+
title: ExpectedResult
|
35
|
+
|
36
|
+
<p>Jaguar</p>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
title: Pragmas/Parsermode
|
2
|
+
description: parsermode pragma
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
{{AlwaysInline}}
|
9
|
+
|
10
|
+
{{AlwaysBlock}}
|
11
|
+
|
12
|
+
{{AlwaysInline}}{{AlwaysBlock}}
|
13
|
+
|
14
|
+
+
|
15
|
+
title: AlwaysInline
|
16
|
+
|
17
|
+
\parsermode inline
|
18
|
+
! Not Heading
|
19
|
+
|
20
|
+
Text with ''bold''
|
21
|
+
+
|
22
|
+
title: AlwaysBlock
|
23
|
+
|
24
|
+
\parsermode block
|
25
|
+
! Heading
|
26
|
+
|
27
|
+
Text with ''bold''
|
28
|
+
+
|
29
|
+
title: ExpectedResult
|
30
|
+
|
31
|
+
! Not Heading
|
32
|
+
|
33
|
+
Text with <strong>bold</strong><h1 class="">Heading</h1><p>Text with <strong>bold</strong></p><p>! Not Heading
|
34
|
+
|
35
|
+
Text with <strong>bold</strong><h1 class="">Heading</h1><p>Text with <strong>bold</strong></p>
|
36
|
+
</p>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
title: Transclude/Recursion
|
2
|
+
description: Transclusion recursion detection
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
<$transclude $tiddler="Output"/>
|
10
|
+
+
|
11
|
+
title: ExpectedResult
|
12
|
+
|
13
|
+
<p><span class="tc-error">Recursive transclusion error in transclude widget</span></p>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/*\
|
2
|
+
title: modules/utils/test-csv.js
|
3
|
+
type: application/javascript
|
4
|
+
tags: [[$:/tags/test-spec]]
|
5
|
+
|
6
|
+
Tests the backlinks mechanism.
|
7
|
+
|
8
|
+
\*/
|
9
|
+
(function(){
|
10
|
+
/*jslint node: true, browser: true */
|
11
|
+
/*global $tw: false */
|
12
|
+
"use strict";
|
13
|
+
|
14
|
+
describe('CSV Parsing', function() {
|
15
|
+
var tid = $tw.wiki.getTiddler('csv-cases');
|
16
|
+
var testCases = JSON.parse(tid.fields.text);
|
17
|
+
|
18
|
+
$tw.utils.each(testCases, function(testCase) {
|
19
|
+
if (testCase.skip) {
|
20
|
+
return;
|
21
|
+
}
|
22
|
+
it("Test case: " + testCase.name, function() {
|
23
|
+
var parsedCsv = $tw.utils.parseCsvString(testCase.csv, testCase.options);
|
24
|
+
expect(parsedCsv).withContext("The generated CSV should match the expected one").toEqual(testCase.json);
|
25
|
+
|
26
|
+
var parsedCsvWithHeaders = $tw.utils.parseCsvStringWithHeader(testCase.csv, testCase.options);
|
27
|
+
expect(parsedCsvWithHeaders).withContext("The generated CSV with headers should match the expected one").toEqual(testCase.jsonWithHeaders);
|
28
|
+
});
|
29
|
+
})
|
30
|
+
|
31
|
+
});
|
32
|
+
|
33
|
+
})();
|
@@ -234,6 +234,38 @@ Tests the checkbox widget thoroughly.
|
|
234
234
|
},
|
235
235
|
];
|
236
236
|
|
237
|
+
// https://github.com/Jermolene/TiddlyWiki5/issues/6871
|
238
|
+
const listModeTestsWithListField = (
|
239
|
+
listModeTests
|
240
|
+
.filter(data => data.widgetText.includes("listField='colors'"))
|
241
|
+
.map(data => {
|
242
|
+
const newData = {
|
243
|
+
...data,
|
244
|
+
tiddlers: data.tiddlers.map(tiddler => ({...tiddler, list: tiddler.colors, colors: undefined})),
|
245
|
+
widgetText: data.widgetText.replace("listField='colors'", "listField='list'"),
|
246
|
+
expectedChange: {
|
247
|
+
"Colors": { list: data.expectedChange.Colors.colors.split(' ') }
|
248
|
+
},
|
249
|
+
}
|
250
|
+
return newData;
|
251
|
+
})
|
252
|
+
);
|
253
|
+
const listModeTestsWithTagsField = (
|
254
|
+
listModeTests
|
255
|
+
.filter(data => data.widgetText.includes("listField='colors'"))
|
256
|
+
.map(data => {
|
257
|
+
const newData = {
|
258
|
+
...data,
|
259
|
+
tiddlers: data.tiddlers.map(tiddler => ({...tiddler, tags: tiddler.colors, colors: undefined})),
|
260
|
+
widgetText: data.widgetText.replace("listField='colors'", "listField='tags'"),
|
261
|
+
expectedChange: {
|
262
|
+
"Colors": { tags: data.expectedChange.Colors.colors.split(' ') }
|
263
|
+
},
|
264
|
+
}
|
265
|
+
return newData;
|
266
|
+
})
|
267
|
+
);
|
268
|
+
|
237
269
|
const indexListModeTests = listModeTests.map(data => {
|
238
270
|
const newData = {...data};
|
239
271
|
const newName = data.testName.replace('list mode', 'index list mode');
|
@@ -453,6 +485,8 @@ Tests the checkbox widget thoroughly.
|
|
453
485
|
const checkboxTestData = fieldModeTests.concat(
|
454
486
|
indexModeTests,
|
455
487
|
listModeTests,
|
488
|
+
listModeTestsWithListField,
|
489
|
+
listModeTestsWithTagsField,
|
456
490
|
indexListModeTests,
|
457
491
|
filterModeTests,
|
458
492
|
);
|
@@ -495,7 +529,7 @@ Tests the checkbox widget thoroughly.
|
|
495
529
|
for (const fieldName of Object.keys(change)) {
|
496
530
|
const expectedValue = change[fieldName];
|
497
531
|
const fieldValue = tiddler.fields[fieldName];
|
498
|
-
expect(fieldValue).
|
532
|
+
expect(fieldValue).toEqual(expectedValue);
|
499
533
|
}
|
500
534
|
}
|
501
535
|
})
|