tiddlywiki 5.2.2 → 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.
Files changed (954) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.yml +67 -0
  2. package/.github/ISSUE_TEMPLATE/config.yml +8 -0
  3. package/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +8 -0
  4. package/bin/build-site.sh +11 -2
  5. package/bin/test.sh +1 -0
  6. package/boot/boot.js +10 -7
  7. package/contributing.md +1 -1
  8. package/core/images/layout-button.tid +4 -0
  9. package/core/images/mastodon.tid +6 -0
  10. package/core/language/en-GB/Buttons.multids +4 -0
  11. package/core/language/en-GB/ControlPanel.multids +3 -3
  12. package/core/language/en-GB/EditTemplate.multids +1 -0
  13. package/core/language/en-GB/Fields.multids +2 -2
  14. package/core/language/en-GB/GettingStarted.tid +4 -3
  15. package/core/language/en-GB/Help/commands.tid +18 -0
  16. package/core/language/en-GB/Help/default.tid +4 -1
  17. package/core/language/en-GB/Help/render.tid +2 -2
  18. package/core/language/en-GB/Misc.multids +1 -0
  19. package/core/language/en-GB/SideBar.multids +1 -0
  20. package/core/modules/commands/commands.js +42 -0
  21. package/core/modules/commands/render.js +1 -1
  22. package/core/modules/commands/rendertiddler.js +1 -0
  23. package/core/modules/commands/rendertiddlers.js +1 -1
  24. package/core/modules/commands/save.js +56 -42
  25. package/core/modules/editor/engines/framed.js +15 -2
  26. package/core/modules/editor/factory.js +2 -2
  27. package/core/modules/editor/operations/text/prefix-lines.js +2 -2
  28. package/core/modules/editor/operations/text/wrap-lines.js +27 -10
  29. package/core/modules/filterrunprefixes/map.js +10 -2
  30. package/core/modules/filters/format/json.js +35 -0
  31. package/core/modules/filters/insertafter.js +46 -0
  32. package/core/modules/filters/insertbefore.js +6 -1
  33. package/core/modules/filters/is/variable.js +2 -2
  34. package/core/modules/filters/json-ops.js +186 -0
  35. package/core/modules/filters/variables.js +9 -3
  36. package/core/modules/filters.js +31 -4
  37. package/core/modules/keyboard.js +13 -1
  38. package/core/modules/parsers/csvparser.js +25 -17
  39. package/core/modules/parsers/wikiparser/rules/macrodef.js +1 -1
  40. package/core/modules/parsers/wikiparser/rules/parsermode.js +68 -0
  41. package/core/modules/parsers/wikiparser/rules/styleinline.js +3 -3
  42. package/core/modules/parsers/wikiparser/wikiparser.js +4 -2
  43. package/core/modules/savers/put.js +11 -7
  44. package/core/modules/savers/upload.js +1 -1
  45. package/core/modules/server/routes/put-tiddler.js +10 -0
  46. package/core/modules/server/server.js +3 -2
  47. package/core/modules/startup/browser-messaging.js +4 -2
  48. package/core/modules/startup/startup.js +5 -1
  49. package/core/modules/startup/story.js +3 -1
  50. package/core/modules/utils/csv.js +101 -23
  51. package/core/modules/utils/dom/dom.js +66 -0
  52. package/core/modules/utils/dom/dragndrop.js +24 -14
  53. package/core/modules/utils/dom/modal.js +6 -0
  54. package/core/modules/utils/dom/notifier.js +2 -1
  55. package/core/modules/utils/dom/popup.js +69 -6
  56. package/core/modules/utils/fakedom.js +2 -2
  57. package/core/modules/utils/linked-list.js +79 -75
  58. package/core/modules/utils/logger.js +3 -1
  59. package/core/modules/utils/parsetree.js +59 -12
  60. package/core/modules/utils/utils.js +18 -1
  61. package/core/modules/widgets/action-deletefield.js +2 -2
  62. package/core/modules/widgets/action-popup.js +10 -8
  63. package/core/modules/widgets/action-setfield.js +12 -14
  64. package/core/modules/widgets/button.js +13 -3
  65. package/core/modules/widgets/checkbox.js +132 -16
  66. package/core/modules/widgets/draggable.js +37 -14
  67. package/core/modules/widgets/element.js +9 -3
  68. package/core/modules/widgets/error.js +63 -0
  69. package/core/modules/widgets/eventcatcher.js +1 -27
  70. package/core/modules/widgets/genesis.js +108 -0
  71. package/core/modules/widgets/image.js +4 -0
  72. package/core/modules/widgets/importvariables.js +4 -1
  73. package/core/modules/widgets/keyboard.js +4 -0
  74. package/core/modules/widgets/let.js +4 -6
  75. package/core/modules/widgets/reveal.js +11 -10
  76. package/core/modules/widgets/scrollable.js +2 -0
  77. package/core/modules/widgets/select.js +9 -0
  78. package/core/modules/widgets/transclude.js +3 -5
  79. package/core/modules/widgets/widget.js +52 -19
  80. package/core/modules/wiki.js +1 -1
  81. package/core/palettes/Blanca.tid +2 -0
  82. package/core/palettes/Blue.tid +2 -0
  83. package/core/palettes/BrightMute.tid +2 -0
  84. package/core/palettes/ContrastDark.tid +2 -0
  85. package/core/palettes/ContrastLight.tid +2 -0
  86. package/core/palettes/CupertinoDark.tid +5 -3
  87. package/core/palettes/DarkPhotos.tid +2 -0
  88. package/core/palettes/DesertSand.tid +2 -0
  89. package/core/palettes/GruvBoxDark.tid +4 -2
  90. package/core/palettes/Nord.tid +4 -2
  91. package/core/palettes/Rocker.tid +2 -0
  92. package/core/palettes/SolarFlare.tid +2 -0
  93. package/core/palettes/SolarizedDark.tid +2 -0
  94. package/core/palettes/SolarizedLight.tid +2 -0
  95. package/core/palettes/SpartanDay.tid +2 -0
  96. package/core/palettes/SpartanNight.tid +2 -0
  97. package/core/palettes/Twilight.tid +2 -0
  98. package/core/palettes/Vanilla.tid +2 -0
  99. package/core/templates/external-js/save-all-external-js.tid +4 -2
  100. package/core/templates/external-js/save-offline-external-js.tid +4 -2
  101. package/core/templates/save-lazy-all.tid +2 -2
  102. package/core/templates/server/static.sidebar.wikitext.tid +1 -1
  103. package/core/templates/server/static.tiddler.html.tid +2 -2
  104. package/core/templates/single.tiddler.window.tid +1 -1
  105. package/core/ui/Actions/new-image.tid +2 -7
  106. package/core/ui/Actions/new-journal.tid +2 -1
  107. package/core/ui/Actions/new-tiddler.tid +1 -0
  108. package/core/ui/AdvancedSearch/Filter.tid +50 -10
  109. package/core/ui/AdvancedSearch/FilterButtons/clear.tid +1 -0
  110. package/core/ui/AdvancedSearch/FilterButtons/delete.tid +4 -3
  111. package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +5 -2
  112. package/core/ui/AdvancedSearch/FilterButtons/export.tid +1 -0
  113. package/core/ui/AdvancedSearch/Shadows.tid +54 -12
  114. package/core/ui/AdvancedSearch/Standard.tid +36 -19
  115. package/core/ui/AdvancedSearch/System.tid +54 -12
  116. package/core/ui/AdvancedSearch.tid +1 -0
  117. package/core/ui/AlertTemplate.tid +10 -1
  118. package/core/ui/Components/tag-link.tid +1 -0
  119. package/core/ui/ControlPanel/Advanced.tid +1 -0
  120. package/core/ui/ControlPanel/Appearance.tid +1 -0
  121. package/core/ui/ControlPanel/Basics/retain-story-ordering-button.tid +3 -0
  122. package/core/ui/ControlPanel/Basics.tid +6 -2
  123. package/core/ui/ControlPanel/Cascades.tid +1 -0
  124. package/core/ui/ControlPanel/EditorTypes.tid +1 -0
  125. package/core/ui/ControlPanel/Info.tid +1 -0
  126. package/core/ui/ControlPanel/KeyboardShortcuts.tid +18 -7
  127. package/core/ui/ControlPanel/Modals/AddPlugins.tid +26 -9
  128. package/core/ui/ControlPanel/Parsing.tid +3 -0
  129. package/core/ui/ControlPanel/Plugins/Add/Updates.tid +5 -1
  130. package/core/ui/ControlPanel/Plugins/AddPlugins.tid +4 -1
  131. package/core/ui/ControlPanel/Plugins.tid +1 -0
  132. package/core/ui/ControlPanel/Saving/TiddlySpot.tid +2 -1
  133. package/core/ui/ControlPanel/Saving.tid +1 -0
  134. package/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab.tid +1 -0
  135. package/core/ui/ControlPanel/Settings/DefaultSidebarTab.tid +1 -0
  136. package/core/ui/ControlPanel/Settings/LinkToBehaviour.tid +1 -0
  137. package/core/ui/ControlPanel/Settings/ToolbarButtonStyle.tid +1 -0
  138. package/core/ui/ControlPanel/Toolbars/EditorItemTemplate.tid +8 -1
  139. package/core/ui/ControlPanel/Toolbars/ItemTemplate.tid +11 -1
  140. package/core/ui/ControlPanel/Toolbars.tid +1 -0
  141. package/core/ui/ControlPanel.tid +1 -0
  142. package/core/ui/DefaultSearchResultList.tid +1 -0
  143. package/core/ui/EditTemplate/Preview/output.tid +2 -2
  144. package/core/ui/EditTemplate/body/default.tid +9 -6
  145. package/core/ui/EditTemplate/body-editor.tid +2 -0
  146. package/core/ui/EditTemplate/controls.tid +1 -0
  147. package/core/ui/EditTemplate/fieldEditor-default.tid +1 -1
  148. package/core/ui/EditTemplate/fields.tid +27 -10
  149. package/core/ui/EditTemplate/shadow.tid +2 -0
  150. package/core/ui/EditTemplate/title.tid +10 -5
  151. package/core/ui/EditTemplate.tid +33 -4
  152. package/core/ui/EditorToolbar/editor-height.tid +1 -0
  153. package/core/ui/EditorToolbar/excise-dropdown.tid +5 -4
  154. package/core/ui/EditorToolbar/file-import.tid +4 -0
  155. package/core/ui/EditorToolbar/link-dropdown.tid +10 -5
  156. package/core/ui/EditorToolbar/more-dropdown.tid +5 -1
  157. package/core/ui/EditorToolbar/paint.tid +1 -0
  158. package/core/ui/EditorToolbar/preview.tid +1 -0
  159. package/core/ui/EditorToolbar/size-dropdown.tid +6 -1
  160. package/core/ui/ExportTiddlyWikiCore.tid +15 -5
  161. package/core/ui/ImportListing.tid +28 -10
  162. package/core/ui/ImportPreviews/Fields.tid +1 -0
  163. package/core/ui/KeyboardShortcuts/advanced-search.tid +2 -1
  164. package/core/ui/KeyboardShortcuts/change-sidebar-layout.tid +4 -2
  165. package/core/ui/KeyboardShortcuts/new-image.tid +1 -0
  166. package/core/ui/KeyboardShortcuts/new-journal.tid +1 -0
  167. package/core/ui/KeyboardShortcuts/new-tiddler.tid +1 -0
  168. package/core/ui/KeyboardShortcuts/save-wiki.tid +1 -0
  169. package/core/ui/KeyboardShortcuts/toggle-sidebar.tid +4 -3
  170. package/core/ui/LayoutSwitcher.tid +16 -4
  171. package/core/ui/ListItemTemplate.tid +1 -3
  172. package/core/ui/ListTaggedCascade.tid +1 -0
  173. package/core/ui/Manager/ItemMainFields.tid +1 -0
  174. package/core/ui/Manager/ItemSidebarColour.tid +4 -1
  175. package/core/ui/Manager/ItemSidebarIcon.tid +4 -4
  176. package/core/ui/Manager/ItemSidebarTools.tid +7 -2
  177. package/core/ui/Manager.tid +11 -6
  178. package/core/ui/MissingTemplate.tid +1 -0
  179. package/core/ui/MoreSideBar/Types.tid +1 -0
  180. package/core/ui/PageControls/controlpanel.tid +1 -1
  181. package/core/ui/PageControls/layout.tid +15 -0
  182. package/core/ui/PageStylesheet.tid +1 -0
  183. package/core/ui/PageTemplate/story.tid +1 -1
  184. package/core/ui/PageTemplate.tid +1 -4
  185. package/core/ui/PaletteManager.tid +11 -10
  186. package/core/ui/PluginInfo.tid +1 -0
  187. package/core/ui/PluginInfoDefaultContents.tid +1 -0
  188. package/core/ui/SearchResults.tid +8 -6
  189. package/core/ui/SideBar/More.tid +3 -2
  190. package/core/ui/SideBar/Open.tid +2 -2
  191. package/core/ui/SideBarSegments/search.tid +2 -0
  192. package/core/ui/SideBarSegments/tabs.tid +1 -1
  193. package/core/ui/SwitcherModal.tid +1 -0
  194. package/core/ui/TagManager.tid +75 -63
  195. package/core/ui/TiddlerFieldTemplate.tid +1 -0
  196. package/core/ui/TiddlerFields.tid +1 -0
  197. package/core/ui/TiddlerInfo/Advanced/PluginInfo.tid +1 -0
  198. package/core/ui/TiddlerInfo/Advanced/ShadowInfo.tid +1 -0
  199. package/core/ui/TiddlerInfo/Advanced.tid +1 -0
  200. package/core/ui/TiddlerInfo.tid +1 -0
  201. package/core/ui/TopRightBar/menu.tid +1 -0
  202. package/core/ui/UntaggedTemplate.tid +1 -0
  203. package/core/ui/ViewTemplate/body/import.tid +6 -1
  204. package/core/ui/ViewTemplate/body/plugin.tid +1 -0
  205. package/core/ui/ViewTemplate/body/rendered-plain-text.tid +7 -0
  206. package/core/ui/ViewTemplate/body.tid +2 -0
  207. package/core/ui/ViewTemplate/classic.tid +1 -0
  208. package/core/ui/ViewTemplate/subtitle/modified.tid +4 -0
  209. package/core/ui/ViewTemplate/subtitle/modifier.tid +4 -0
  210. package/core/ui/ViewTemplate/subtitle.tid +6 -2
  211. package/core/ui/ViewTemplate/tags.tid +1 -0
  212. package/core/ui/ViewTemplate/title.tid +2 -0
  213. package/core/ui/ViewTemplate/unfold.tid +7 -2
  214. package/core/ui/ViewTemplate.tid +1 -1
  215. package/core/ui/ViewToolbar/new-here.tid +1 -0
  216. package/core/wiki/allfields.tid +8 -2
  217. package/core/wiki/config/DefaultTiddlersRetainStory.tid +3 -0
  218. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  219. package/core/wiki/config/PageControlButtons.multids +1 -0
  220. package/core/wiki/config/ViewTemplateBodyFilters.multids +2 -1
  221. package/core/wiki/currpalettepreview.tid +7 -2
  222. package/core/wiki/debugstylesheets.tid +1 -0
  223. package/core/wiki/download-wiki-button.tid +2 -1
  224. package/core/wiki/languageswitcher.tid +2 -0
  225. package/core/wiki/macros/colour-picker.tid +9 -2
  226. package/core/wiki/macros/copy-to-clipboard.tid +5 -2
  227. package/core/wiki/macros/diff.tid +4 -3
  228. package/core/wiki/macros/dumpvariables.tid +1 -0
  229. package/core/wiki/macros/image-picker.tid +5 -4
  230. package/core/wiki/macros/keyboard-driven-input.tid +22 -12
  231. package/core/wiki/macros/list.tid +14 -9
  232. package/core/wiki/macros/tabs.tid +55 -30
  233. package/core/wiki/macros/tag-picker.tid +14 -13
  234. package/core/wiki/macros/tag.tid +10 -5
  235. package/core/wiki/macros/thumbnails.tid +21 -9
  236. package/core/wiki/macros/timeline.tid +7 -9
  237. package/core/wiki/macros/toc.tid +31 -16
  238. package/core/wiki/macros/translink.tid +1 -0
  239. package/core/wiki/macros/tree.tid +8 -3
  240. package/core/wiki/minifocusswitcher.tid +1 -0
  241. package/core/wiki/minilanguageswitcher.tid +1 -0
  242. package/core/wiki/minithemeswitcher.tid +2 -1
  243. package/core/wiki/modules.tid +1 -0
  244. package/core/wiki/palettepreview.tid +1 -0
  245. package/core/wiki/paletteswitcher.tid +13 -2
  246. package/core/wiki/peek-stylesheets.tid +1 -5
  247. package/core/wiki/tags/PageControls.tid +1 -1
  248. package/core/wiki/tags/ViewTemplateBodyFilter.tid +1 -1
  249. package/core/wiki/tags/ViewTemplateSubtitle.tid +2 -0
  250. package/core/wiki/themeswitcher.tid +10 -1
  251. package/core/wiki/title.tid +2 -1
  252. package/core/wiki/viewswitcher.tid +1 -0
  253. package/editions/de-AT/tiddlers/howto/TiddlyWiki und TiddlyDesktop.tid +1 -1
  254. package/editions/de-AT/tiddlywiki.info +0 -1
  255. package/editions/de-AT-server/tiddlywiki.info +0 -1
  256. package/editions/de-DE/tiddlywiki.info +0 -1
  257. package/editions/dev/tiddlers/HelloThere.tid +2 -1
  258. package/editions/dev/tiddlers/How to run a local plugin library for testing.tid +42 -0
  259. package/editions/dev/tiddlers/_tw_shared/tiddlywiki.files +5 -0
  260. package/editions/dev/tiddlers/javascript-widget-tutorial/Child widgets tutorial.tid +140 -0
  261. package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget demo.tid +22 -0
  262. package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget tutorial.tid +25 -0
  263. package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World demo.tid +23 -0
  264. package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World widget tutorial.tid +18 -0
  265. package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +37 -0
  266. package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget demo.tid +18 -0
  267. package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget tutorial.tid +11 -0
  268. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo I.tid +48 -0
  269. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo II.tid +48 -0
  270. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part I.tid +50 -0
  271. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part II.tid +33 -0
  272. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo I.tid +44 -0
  273. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo II.tid +40 -0
  274. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo III.tid +50 -0
  275. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part I.tid +47 -0
  276. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part II.tid +37 -0
  277. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part III.tid +26 -0
  278. package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js +47 -0
  279. package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js.meta +6 -0
  280. package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js +16 -0
  281. package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js.meta +6 -0
  282. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js +51 -0
  283. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js.meta +6 -0
  284. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js +47 -0
  285. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js.meta +6 -0
  286. package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js +35 -0
  287. package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js.meta +6 -0
  288. package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js +43 -0
  289. package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js.meta +6 -0
  290. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js +36 -0
  291. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js.meta +6 -0
  292. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js +46 -0
  293. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js.meta +6 -0
  294. package/editions/dev/tiddlers/system/github-fork-ribbon.tid +1 -1
  295. package/editions/dev/tiddlywiki.info +3 -2
  296. package/editions/es-ES/tiddlers/TiddlyDesktop.tid +2 -2
  297. package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +1 -1
  298. package/editions/fr-FR/tiddlers/Community Links Aggregator.tid +4 -4
  299. package/editions/fr-FR/tiddlers/Glossaire en-GB -_ fr-FR.tid +2 -1
  300. package/editions/fr-FR/tiddlers/community/editions/_Noteself_ by Danielo Rodr/303/255guez.tid" +34 -0
  301. package/editions/fr-FR/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +28 -0
  302. package/editions/fr-FR/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +24 -0
  303. package/editions/fr-FR/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +35 -0
  304. package/editions/fr-FR/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +30 -0
  305. package/editions/fr-FR/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +33 -0
  306. package/editions/fr-FR/tiddlers/community/resources/_file-backups_ Extension for Firefox by pmario.tid +19 -0
  307. package/editions/fr-FR/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +17 -0
  308. package/editions/fr-FR/tiddlers/concepts/Pragma.tid +23 -0
  309. package/editions/fr-FR/tiddlers/{WikiText.tid → concepts/WikiText.tid} +6 -4
  310. package/editions/fr-FR/tiddlers/definitions/TiddlyDesktop.tid +19 -0
  311. package/editions/fr-FR/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +11 -0
  312. package/editions/fr-FR/tiddlers/gettingstarted/GettingStarted - Safari.tid +12 -0
  313. package/editions/fr-FR/tiddlers/{A_Gentle_Guide_to_TiddlyWiki.tid → hellothere/A Gentle Guide to TiddlyWiki.tid } +6 -4
  314. package/editions/fr-FR/tiddlers/howtos/How to Customize TiddlyDesktop.tid +33 -0
  315. package/editions/fr-FR/tiddlers/howtos/Windows HTA Hack.tid +17 -0
  316. package/editions/fr-FR/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +49 -0
  317. package/editions/fr-FR/tiddlers/nodejs/Serving TW5 from Android.tid +47 -0
  318. package/editions/fr-FR/tiddlers/nodejs/TiddlyWiki on Node.js.tid +18 -0
  319. package/editions/fr-FR/tiddlers/saving/Emergency Tiddler Export.tid +28 -0
  320. package/editions/fr-FR/tiddlers/saving/Example config-tiddlyweb-host for IIS.tid +9 -0
  321. package/editions/fr-FR/tiddlers/saving/Example package.json for IIS.tid +15 -0
  322. package/editions/fr-FR/tiddlers/saving/Example tiddlywiki.info for IIS.tid +18 -0
  323. package/editions/fr-FR/tiddlers/saving/Example web.config for IIS.tid +32 -0
  324. package/editions/fr-FR/tiddlers/saving/Installing TiddlyWiki on Microsoft Internet Information Server.tid +69 -0
  325. package/editions/fr-FR/tiddlers/saving/Saving on Android.tid +36 -0
  326. package/editions/fr-FR/tiddlers/saving/Saving on Beaker Browser.tid +35 -0
  327. package/editions/fr-FR/tiddlers/saving/Saving on Browser with File System Access API.tid +20 -0
  328. package/editions/fr-FR/tiddlers/saving/Saving on TidGi Desktop.tid +28 -0
  329. package/editions/fr-FR/tiddlers/saving/Saving on TiddlyDesktop.tid +20 -0
  330. package/editions/fr-FR/tiddlers/saving/Saving on TiddlyHost.tid +18 -0
  331. package/editions/fr-FR/tiddlers/{Saving on TiddlySpot.tid → saving/Saving on TiddlySpot.tid } +14 -3
  332. package/editions/fr-FR/tiddlers/saving/Saving on a PHP Server.tid +45 -0
  333. package/editions/fr-FR/tiddlers/saving/Saving on iPad_iPhone.tid +30 -0
  334. package/editions/fr-FR/tiddlers/saving/Saving to a Git service.tid +26 -0
  335. package/editions/fr-FR/tiddlers/saving/Saving via WebDAV.tid +88 -0
  336. package/editions/fr-FR/tiddlers/saving/Saving via a Minimal Ruby Server.tid +20 -0
  337. package/editions/fr-FR/tiddlers/saving/Saving with Polly.tid +30 -0
  338. package/editions/fr-FR/tiddlers/saving/Saving with TW Receiver.tid +16 -0
  339. package/editions/fr-FR/tiddlers/{Saving with TiddlyFox on Android.tid → saving/Saving with TiddlyFox on Android.tid } +5 -5
  340. package/editions/fr-FR/tiddlers/saving/Saving with TiddlyFox.tid +31 -0
  341. package/editions/fr-FR/tiddlers/saving/Saving with TiddlyIE.tid +25 -0
  342. package/editions/fr-FR/tiddlers/{Saving with the HTML5 fallback saver.tid → saving/Saving with the HTML5 fallback saver.tid } +11 -6
  343. package/editions/fr-FR/tiddlers/{Saving.tid → saving/Saving.tid} +8 -10
  344. package/editions/fr-FR/tiddlers/saving/TiddlyWiki Cloud.tid +17 -0
  345. package/editions/fr-FR/tiddlers/system/$__core_macros_list.tid +113 -0
  346. package/editions/fr-FR/tiddlers/system/$__core_macros_tag.tid +39 -0
  347. package/editions/fr-FR/tiddlers/system/$__core_ui_SideBar_Open.tid +40 -0
  348. package/editions/fr-FR/tiddlers/system/$__core_ui_TagPickerTagTemplate.tid +25 -0
  349. package/editions/fr-FR/tiddlers/{$__editions_fr-FR_util-macros.tid → system/$__editions_fr-FR_util-macros.tid} +4 -4
  350. package/editions/fr-FR/tiddlers/{$__editions_tw5.com_wikitext-macros.tid → system/$__editions_tw5.com_wikitext-macros.tid} +24 -3
  351. package/editions/fr-FR/tiddlers/system/tw5.com-card-template.tid +17 -0
  352. package/editions/fr-FR/tiddlers/tiddlydesktop/TiddlyDesktop_Releases.tid +9 -0
  353. package/editions/fr-FR/tiddlers/widgets/TranscludeWidget.tid +72 -0
  354. package/editions/fr-FR/tiddlers/{Block_Quotes_in_WikiText.tid → wikitext/Block Quotes in WikiText.tid } +3 -2
  355. package/editions/fr-FR/tiddlers/{Code Blocks in WikiText.tid → wikitext/Code Blocks in WikiText.tid } +3 -3
  356. package/editions/fr-FR/tiddlers/{Dashes in WikiText.tid → wikitext/Dashes in WikiText.tid } +3 -3
  357. package/editions/fr-FR/tiddlers/{Definitions_in_WikiText.tid → wikitext/Definitions in WikiText.tid } +2 -2
  358. package/editions/fr-FR/tiddlers/{Formatting in WikiText.tid → wikitext/Formatting in WikiText.tid } +5 -6
  359. package/editions/fr-FR/tiddlers/{Hard Linebreaks in WikiText.tid → wikitext/Hard Linebreaks in WikiText.tid } +6 -5
  360. package/editions/fr-FR/tiddlers/{Headings in WikiText.tid → wikitext/Headings in WikiText.tid } +4 -4
  361. package/editions/fr-FR/tiddlers/wikitext/Horizontal Rules in WikiText.tid +17 -0
  362. package/editions/fr-FR/tiddlers/{Lists_in_WikiText.tid → wikitext/Lists in WikiText.tid } +19 -19
  363. package/editions/fr-FR/tiddlers/wikitext/Macro Calls in WikiText.tid +27 -0
  364. package/editions/fr-FR/tiddlers/{Paragraphs in WikiText.tid → wikitext/Paragraphs in WikiText.tid } +8 -7
  365. package/editions/fr-FR/tiddlers/wikitext/Tables in WikiText.tid +69 -0
  366. package/editions/fr-FR/tiddlers/wikitext/Transclusion and Substitution.tid +61 -0
  367. package/editions/fr-FR/tiddlers/{Transclusion_in_WikiText.tid → wikitext/Transclusion in WikiText.tid } +14 -13
  368. package/editions/fr-FR/tiddlers/{Transclusion_with_Templates.tid → wikitext/Transclusion with Templates.tid } +2 -1
  369. package/editions/fr-FR/tiddlers/{Typed_Blocks_in_WikiText.tid → wikitext/Typed Blocks in WikiText.tid } +16 -11
  370. package/editions/fr-FR/tiddlers/{Variables_in_WikiText.tid → wikitext/Variables in WikiText.tid } +7 -8
  371. package/editions/fr-FR/tiddlers/wikitext/Widgets in WikiText.tid +30 -0
  372. package/editions/fr-FR/tiddlers/wikitext/parser/Block Mode WikiText (Examples).tid +52 -0
  373. package/editions/fr-FR/tiddlers/wikitext/parser/Block Mode WikiText.tid +37 -0
  374. package/editions/fr-FR/tiddlers/wikitext/parser/Inline Mode WikiText.tid +28 -0
  375. package/editions/fr-FR/tiddlers/wikitext/parser/Places where the parser ignores WikiText.tid +14 -0
  376. package/editions/fr-FR/tiddlers/wikitext/parser/WikiText Parser Modes.tid +17 -0
  377. package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode HTML examples.tid +73 -0
  378. package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode transitions.tid +59 -0
  379. package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode_ macro examples.tid +56 -0
  380. package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode_ transclusion examples.tid +56 -0
  381. package/editions/fr-FR/tiddlers/wikitext/parser/table-example.tid +8 -0
  382. package/editions/full/tiddlywiki.info +0 -1
  383. package/editions/introduction/tiddlywiki.info +0 -1
  384. package/editions/katexdemo/tiddlers/$__DefaultTiddlers.tid +8 -0
  385. package/editions/katexdemo/tiddlers/HelloThere.tid +4 -1
  386. package/editions/katexdemo/tiddlers/LaTeX.tid +8 -0
  387. package/editions/katexdemo/tiddlers/TiddlyWiki.tid +8 -0
  388. package/editions/katexdemo/tiddlers/TiddlyWiki5.tid +6 -0
  389. package/editions/pluginlibrary/tiddlers/GettingStarted.tid +45 -0
  390. package/editions/pluginlibrary/tiddlers/PrereleaseLocalPluginLibrary.tid +6 -0
  391. package/editions/pluginlibrary/tiddlers/meta/SiteSubtitle.tid +3 -0
  392. package/editions/pluginlibrary/tiddlers/meta/SiteTitle.tid +3 -0
  393. package/editions/pluginlibrary/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +3 -0
  394. package/editions/pluginlibrary/tiddlywiki.info +7 -0
  395. package/editions/prerelease/tiddlers/Release 5.2.5.tid +50 -0
  396. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  397. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  398. package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +9 -2
  399. package/editions/prerelease/tiddlywiki.info +0 -2
  400. package/editions/test/tiddlers/tests/data/csv-cases.tid +282 -0
  401. package/editions/test/tiddlers/tests/data/filters/Recursion.tid +15 -0
  402. package/editions/test/tiddlers/tests/data/filters/fake-variables.tid +27 -0
  403. package/editions/test/tiddlers/tests/data/genesis-widget/DollarSigns.tid +14 -0
  404. package/editions/test/tiddlers/tests/data/genesis-widget/MultipleAttributes.tid +14 -0
  405. package/editions/test/tiddlers/tests/data/genesis-widget/Simple.tid +14 -0
  406. package/editions/test/tiddlers/tests/data/macros/NestedMacros.tid +36 -0
  407. package/editions/test/tiddlers/tests/data/pragmas/Parsermode.tid +36 -0
  408. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal-all.tid +1 -29
  409. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal.tid +1 -39
  410. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-vertical.tid +1 -39
  411. package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +13 -0
  412. package/editions/test/tiddlers/tests/modules/utils/test-csv.js +33 -0
  413. package/editions/test/tiddlers/tests/test-action-widgets.js +43 -0
  414. package/editions/test/tiddlers/tests/test-checkbox-widget.js +541 -0
  415. package/editions/test/tiddlers/tests/test-filters.js +49 -2
  416. package/editions/test/tiddlers/tests/test-json-filters.js +112 -0
  417. package/editions/test/tiddlers/tests/test-linked-list.js +42 -2
  418. package/editions/test/tiddlers/tests/test-popup.js +63 -0
  419. package/editions/test/tiddlers/tests/test-prefixes-filter.js +2 -0
  420. package/editions/test/tiddlers/tests/test-utils.js +7 -0
  421. package/editions/test/tiddlers/tests/test-widget.js +2 -1
  422. package/editions/test/tiddlers/tests/test-wikitext-tabs-macro.js +8 -7
  423. package/editions/test/tiddlers/tests/test-wikitext.js +24 -1
  424. package/editions/test/tiddlywiki.info +2 -1
  425. package/editions/translators/tiddlers/system/PageControlButtonsVisibility.multids +1 -0
  426. package/editions/translators/tiddlywiki.info +7 -2
  427. package/editions/tw.org/tiddlers/$__config_DefaultSidebarTab.tid +6 -0
  428. package/editions/tw.org/tiddlers/$__core_templates_static.content.tid +18 -0
  429. package/editions/tw.org/tiddlers/Code of Conduct.tid +33 -0
  430. package/editions/tw.org/tiddlers/Fundraising.tid +23 -0
  431. package/editions/tw.org/tiddlers/HelloThere.tid +3 -2
  432. package/editions/tw.org/tiddlers/Table of Contents.tid +2 -1
  433. package/editions/tw.org/tiddlers/_tw_shared/tiddlywiki.files +5 -0
  434. package/editions/tw5.com/tiddlers/$__StoryList.tid +3 -3
  435. package/editions/tw5.com/tiddlers/Brackets.tid +14 -0
  436. package/editions/tw5.com/tiddlers/Tables in WikiText CSS Utility Classes.tid +81 -0
  437. package/editions/tw5.com/tiddlers/{images → _tw_shared}/Motovun Jack.svg +0 -0
  438. package/editions/tw5.com/tiddlers/{images → _tw_shared}/Motovun Jack.svg.meta +1 -1
  439. package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico +0 -0
  440. package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico.meta +3 -0
  441. package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico +0 -0
  442. package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico.meta +3 -0
  443. package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png +0 -0
  444. package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png.meta +3 -0
  445. package/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg +6 -0
  446. package/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg.meta +3 -0
  447. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico +0 -0
  448. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico.meta +3 -0
  449. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico +0 -0
  450. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico.meta +3 -0
  451. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico +0 -0
  452. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico.meta +3 -0
  453. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico +0 -0
  454. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico.meta +3 -0
  455. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico +0 -0
  456. package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico.meta +3 -0
  457. package/editions/tw5.com/tiddlers/_tw_shared/sites/classic.tiddlywiki.com.tid +6 -0
  458. package/editions/tw5.com/tiddlers/_tw_shared/sites/links.tiddlywiki.org.tid +6 -0
  459. package/editions/tw5.com/tiddlers/_tw_shared/sites/marketplace.tid +6 -0
  460. package/editions/tw5.com/tiddlers/_tw_shared/sites/talk.tiddlywiki.org.tid +6 -0
  461. package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.dev.tid +6 -0
  462. package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.prerelease.tid +6 -0
  463. package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.tid +6 -0
  464. package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.upgrade.tid +6 -0
  465. package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.org.tid +6 -0
  466. package/editions/tw5.com/tiddlers/_tw_shared/sites.tid +32 -0
  467. package/editions/tw5.com/tiddlers/_tw_shared/styles.tid +48 -0
  468. package/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid +3 -0
  469. package/editions/tw5.com/tiddlers/about/Funding TiddlyWiki.tid +19 -0
  470. package/editions/tw5.com/tiddlers/about/Open Collective.tid +14 -0
  471. package/editions/tw5.com/tiddlers/commands/CommandsCommand.tid +8 -0
  472. package/editions/tw5.com/tiddlers/commands/RenderTiddlerCommand.tid +2 -0
  473. package/editions/tw5.com/tiddlers/commands/RenderTiddlersCommand.tid +2 -0
  474. package/editions/tw5.com/tiddlers/commands/SaveTiddlerCommand.tid +2 -0
  475. package/editions/tw5.com/tiddlers/commands/SaveTiddlersCommand.tid +2 -0
  476. package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +1 -1
  477. package/editions/tw5.com/tiddlers/community/Contributing.tid +2 -1
  478. package/editions/tw5.com/tiddlers/community/editions/TiddlyMemo by oflg.tid +16 -0
  479. package/editions/tw5.com/tiddlers/community/plugins/GSD5.tid +2 -2
  480. package/editions/tw5.com/tiddlers/community/plugins/_JD Mobile Layout plugin_ by JD.tid +0 -1
  481. package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +6 -4
  482. package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +0 -1
  483. package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +0 -2
  484. package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +0 -1
  485. package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +0 -1
  486. package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +0 -1
  487. package/editions/tw5.com/tiddlers/concepts/CoordinateSystems.tid +42 -0
  488. package/editions/tw5.com/tiddlers/concepts/Customizing EditTemplate Field Rendering.tid +23 -7
  489. package/editions/tw5.com/tiddlers/concepts/DataTiddlers.tid +4 -21
  490. package/editions/tw5.com/tiddlers/concepts/DictionaryTiddlers.tid +3 -2
  491. package/editions/tw5.com/tiddlers/concepts/JSONTiddlers.tid +4 -3
  492. package/editions/tw5.com/tiddlers/concepts/KeyboardShortcutTiddler.tid +9 -0
  493. package/editions/tw5.com/tiddlers/concepts/Macros.tid +6 -2
  494. package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +3 -1
  495. package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +1 -1
  496. package/editions/tw5.com/tiddlers/concepts/TiddlyWiki5.tid +4 -2
  497. package/editions/tw5.com/tiddlers/concepts/Title List.tid +4 -1
  498. package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +2 -2
  499. package/editions/tw5.com/tiddlers/definitions/Federatial.tid +13 -1
  500. package/editions/tw5.com/tiddlers/definitions/HTML Block Elements.tid +9 -0
  501. package/editions/tw5.com/tiddlers/definitions/JavaScript Object Notation.tid +2 -6
  502. package/editions/tw5.com/tiddlers/definitions/Node.js.tid +5 -3
  503. package/editions/tw5.com/tiddlers/definitions/TiddlyDesktop.tid +1 -1
  504. package/editions/tw5.com/tiddlers/definitions/TiddlyWeb.tid +1 -0
  505. package/editions/tw5.com/tiddlers/definitions/TiddlyWikiClassic.tid +3 -1
  506. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +0 -1
  507. package/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Selective Expandable Example custom icons.tid +16 -0
  508. package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +1 -1
  509. package/editions/tw5.com/tiddlers/features/DateFormat.tid +27 -3
  510. package/editions/tw5.com/tiddlers/features/JSON in TiddlyWiki.tid +69 -0
  511. package/editions/tw5.com/tiddlers/features/Modals.tid +3 -0
  512. package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +23 -3
  513. package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +5 -2
  514. package/editions/tw5.com/tiddlers/filters/examples/insertafter Operator (Examples).tid +28 -0
  515. package/editions/tw5.com/tiddlers/filters/format.tid +7 -4
  516. package/editions/tw5.com/tiddlers/filters/insertafter Operator.tid +35 -0
  517. package/editions/tw5.com/tiddlers/filters/insertbefore Operator.tid +9 -3
  518. package/editions/tw5.com/tiddlers/filters/jsonextract.tid +66 -0
  519. package/editions/tw5.com/tiddlers/filters/jsonget.tid +93 -0
  520. package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +65 -0
  521. package/editions/tw5.com/tiddlers/filters/jsontype.tid +74 -0
  522. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +20 -2
  523. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +3 -2
  524. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +4 -2
  525. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +23 -22
  526. package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
  527. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Funding.tid +10 -0
  528. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +2 -0
  529. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Introduction Video.tid +2 -0
  530. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Latest Version.tid +9 -1
  531. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Marketplace.tid +10 -0
  532. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +3 -1
  533. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail_-_Federatial.tid +11 -0
  534. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid +4 -0
  535. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Sync System Tiddlers From Server.tid +13 -0
  536. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting SyncLogging.tid +13 -0
  537. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ More Tabs Horizontal.tid +7 -0
  538. package/editions/tw5.com/tiddlers/howtos/Constructing JSON tiddlers.tid +16 -0
  539. package/editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid +1 -1
  540. package/editions/tw5.com/tiddlers/howtos/How to apply custom styles by tag.tid +2 -2
  541. package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +2 -0
  542. package/editions/tw5.com/tiddlers/howtos/How to customize TiddlyDesktop.tid +1 -1
  543. package/editions/tw5.com/tiddlers/howtos/How to update TiddlyWiki to the latest version.tid +7 -0
  544. package/editions/tw5.com/tiddlers/howtos/Modifying JSON tiddlers.tid +18 -0
  545. package/editions/tw5.com/tiddlers/howtos/Reading data from JSON tiddlers.tid +34 -0
  546. package/editions/tw5.com/tiddlers/images/Federatial.png +0 -0
  547. package/editions/tw5.com/tiddlers/images/Federatial.png.meta +3 -0
  548. package/editions/tw5.com/tiddlers/images/Funding.png +0 -0
  549. package/editions/tw5.com/tiddlers/images/{TiddlyMap.png.meta → Funding.png.meta} +1 -1
  550. package/editions/tw5.com/tiddlers/images/Marketplace Banner.png +0 -0
  551. package/editions/tw5.com/tiddlers/images/Marketplace Banner.png.meta +3 -0
  552. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  553. package/editions/tw5.com/tiddlers/macros/JsonTiddlersMacro.tid +3 -3
  554. package/editions/tw5.com/tiddlers/macros/ListMacro.tid +3 -1
  555. package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +36 -2
  556. package/editions/tw5.com/tiddlers/macros/TagMacro.tid +1 -1
  557. package/editions/tw5.com/tiddlers/macros/jsontiddler Macro.tid +2 -2
  558. package/editions/tw5.com/tiddlers/macros/list-links-draggable Macro.tid +2 -0
  559. package/editions/tw5.com/tiddlers/marketplace/TiddlyWiki Marketplace.tid +18 -0
  560. package/editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid +1 -0
  561. package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +1 -1
  562. package/editions/tw5.com/tiddlers/mechanisms/PopupMechanism.tid +1 -0
  563. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +3 -1
  564. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +4 -2
  565. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-new-tiddler.tid +12 -3
  566. package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +5 -5
  567. package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +7 -12
  568. package/editions/tw5.com/tiddlers/nodejs/Installing custom plugins on Node.js.tid +11 -19
  569. package/editions/tw5.com/tiddlers/nodejs/Installing official plugins on Node.js.tid +40 -0
  570. package/editions/tw5.com/tiddlers/nodejs/PluginsCS.tid +9 -0
  571. package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki on Node.js.tid +7 -2
  572. package/editions/tw5.com/tiddlers/nodejs/Uninstalling a plugin with Node.js.tid +31 -0
  573. package/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid +4 -4
  574. package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +2 -1
  575. package/editions/tw5.com/tiddlers/plugins/Installing a plugin from the plugin library.tid +22 -35
  576. package/editions/tw5.com/tiddlers/plugins/Manually installing a plugin.tid +19 -4
  577. package/editions/tw5.com/tiddlers/plugins/OfficialPlugins.tid +3 -1
  578. package/editions/tw5.com/tiddlers/plugins/Plugin Ordering.tid +47 -0
  579. package/editions/tw5.com/tiddlers/plugins/PluginFolders.tid +27 -1
  580. package/editions/tw5.com/tiddlers/plugins/Plugins.tid +19 -7
  581. package/editions/tw5.com/tiddlers/plugins/Uninstalling a plugin.tid +15 -25
  582. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +17 -0
  583. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +32 -34
  584. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +36 -38
  585. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +16 -18
  586. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +26 -28
  587. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.3.tid +152 -0
  588. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +140 -0
  589. package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +2 -2
  590. package/editions/tw5.com/tiddlers/saving/Emergency Tiddler Export.tid +1 -1
  591. package/editions/tw5.com/tiddlers/saving/Saving on Android.tid +1 -1
  592. package/editions/tw5.com/tiddlers/saving/Saving on TidGi.tid +1 -1
  593. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyDesktop.tid +3 -3
  594. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +1 -1
  595. package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +0 -1
  596. package/editions/tw5.com/tiddlers/saving/Saving on iPad_iPhone.tid +1 -1
  597. package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +5 -3
  598. package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +1 -0
  599. package/editions/tw5.com/tiddlers/saving/Saving.tid +17 -12
  600. package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +15 -0
  601. package/editions/tw5.com/tiddlers/system/Deprecated.tid +4 -4
  602. package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +2 -6
  603. package/editions/tw5.com/tiddlers/system/doc-macros.tid +12 -2
  604. package/editions/tw5.com/tiddlers/system/doc-styles.tid +34 -4
  605. package/editions/tw5.com/tiddlers/system/download-empty-button.tid +1 -1
  606. package/editions/tw5.com/tiddlers/system/systemtag-template.tid +21 -0
  607. package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +2 -13
  608. package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +172 -45
  609. package/editions/tw5.com/tiddlers/system/version-macros.tid +4 -5
  610. package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +80 -17
  611. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_PageTemplate.tid +9 -0
  612. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid +9 -0
  613. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Filter.tid +2 -2
  614. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Macro_View_Body.tid +9 -0
  615. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ViewTemplate.tid +2 -2
  616. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ViewTemplateSubtitle.tid +9 -0
  617. package/editions/tw5.com/tiddlers/testimonials/Testimonials - Joe Armstrong.tid +8 -0
  618. package/editions/tw5.com/tiddlers/testimonials/Testimonials - Network World.tid +8 -0
  619. package/editions/tw5.com/tiddlers/testimonials/Testimonials - Product Hunt.tid +6 -0
  620. package/editions/tw5.com/tiddlers/tiddlydesktop/TiddlyDesktop_Releases.tid +1 -1
  621. package/editions/tw5.com/tiddlers/variables/modifier Variable.tid +2 -2
  622. package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +10 -10
  623. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +3 -1
  624. package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -3
  625. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -1
  626. package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +77 -3
  627. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +20 -3
  628. package/editions/tw5.com/tiddlers/widgets/ErrorWidget.tid +17 -0
  629. package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +6 -3
  630. package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +41 -0
  631. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +5 -3
  632. package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +5 -4
  633. package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +4 -1
  634. package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +2 -2
  635. package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +4 -4
  636. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +1 -0
  637. package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +3 -1
  638. package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +2 -5
  639. package/editions/tw5.com/tiddlers/wikitext/Code Blocks in WikiText.tid +4 -7
  640. package/editions/tw5.com/tiddlers/wikitext/Dashes in WikiText.tid +7 -3
  641. package/editions/tw5.com/tiddlers/wikitext/Formatting in WikiText.tid +7 -7
  642. package/editions/tw5.com/tiddlers/wikitext/Headings in WikiText.tid +3 -3
  643. package/editions/tw5.com/tiddlers/wikitext/Horizontal Rules in WikiText.tid +3 -5
  644. package/editions/tw5.com/tiddlers/wikitext/Macro Definitions in WikiText.tid +27 -4
  645. package/editions/tw5.com/tiddlers/wikitext/Styles and Classes in WikiText.tid +1 -1
  646. package/editions/tw5.com/tiddlers/wikitext/Table Classes Captions Headers and Footers.tid +20 -0
  647. package/editions/tw5.com/tiddlers/wikitext/Tables in WikiText.tid +13 -47
  648. package/editions/tw5.com/tiddlers/wikitext/Utility Classes.tid +20 -0
  649. package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +4 -4
  650. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +2 -2
  651. package/editions/{katexdemo → twitter-archivist}/tiddlers/DefaultTiddlers.tid +1 -2
  652. package/editions/twitter-archivist/tiddlers/HelloThere.tid +9 -0
  653. package/editions/twitter-archivist/tiddlers/SiteSubtitle.tid +3 -0
  654. package/editions/twitter-archivist/tiddlers/SiteTitle.tid +3 -0
  655. package/editions/twitter-archivist/tiddlywiki.info +16 -0
  656. package/languages/ar-PS/ControlPanel.multids +1 -1
  657. package/languages/ca-ES/ControlPanel.multids +1 -1
  658. package/languages/cs-CZ/ControlPanel.multids +1 -1
  659. package/languages/da-DK/ControlPanel.multids +1 -1
  660. package/languages/de-DE/Buttons.multids +5 -1
  661. package/languages/de-DE/ControlPanel.multids +1 -1
  662. package/languages/de-DE/EditTemplate.multids +1 -0
  663. package/languages/de-DE/Help/commands.tid +14 -0
  664. package/languages/de-DE/Help/render.tid +2 -1
  665. package/languages/de-DE/Misc.multids +1 -0
  666. package/languages/de-DE/SideBar.multids +1 -0
  667. package/languages/el-GR/ControlPanel.multids +1 -1
  668. package/languages/es-ES/Buttons.multids +89 -87
  669. package/languages/es-ES/ControlPanel.multids +18 -1
  670. package/languages/es-ES/Docs/PaletteColours.multids +2 -2
  671. package/languages/es-ES/EditTemplate.multids +3 -0
  672. package/languages/es-ES/Fields.multids +4 -3
  673. package/languages/es-ES/GettingStarted.tid +4 -3
  674. package/languages/es-ES/Help/default.tid +4 -1
  675. package/languages/es-ES/Help/listen.tid +0 -1
  676. package/languages/es-ES/Help/render.tid +2 -2
  677. package/languages/es-ES/Import.multids +1 -1
  678. package/languages/es-ES/Misc.multids +2 -1
  679. package/languages/es-ES/SideBar.multids +1 -0
  680. package/languages/es-ES/Snippets/ListByTag.tid +1 -1
  681. package/languages/fa-IR/ControlPanel.multids +1 -1
  682. package/languages/fr-FR/Buttons.multids +2 -0
  683. package/languages/fr-FR/ControlPanel.multids +19 -1
  684. package/languages/fr-FR/EditTemplate.multids +1 -0
  685. package/languages/fr-FR/Fields.multids +4 -2
  686. package/languages/fr-FR/Help/default.tid +4 -1
  687. package/languages/fr-FR/Help/render.tid +2 -1
  688. package/languages/fr-FR/Misc.multids +4 -3
  689. package/languages/fr-FR/SideBar.multids +1 -0
  690. package/languages/hi-IN/ControlPanel.multids +1 -1
  691. package/languages/ia-IA/ControlPanel.multids +1 -1
  692. package/languages/it-IT/ControlPanel.multids +1 -1
  693. package/languages/ja-JP/Buttons.multids +147 -30
  694. package/languages/ja-JP/ControlPanel.multids +176 -38
  695. package/languages/ja-JP/CoreReadMe.tid +2 -2
  696. package/languages/ja-JP/Dates.multids +24 -24
  697. package/languages/ja-JP/Docs/ModuleTypes.multids +3 -3
  698. package/languages/ja-JP/Docs/PaletteColours.multids +18 -18
  699. package/languages/ja-JP/EditTemplate.multids +23 -7
  700. package/languages/ja-JP/Exporters.multids +1 -1
  701. package/languages/ja-JP/Fields.multids +28 -23
  702. package/languages/ja-JP/Filters.multids +12 -9
  703. package/languages/ja-JP/GettingStarted.tid +6 -6
  704. package/languages/ja-JP/Help/build.tid +2 -2
  705. package/languages/ja-JP/Help/editions.tid +6 -2
  706. package/languages/ja-JP/Help/help.tid +1 -1
  707. package/languages/ja-JP/Help/init.tid +2 -2
  708. package/languages/ja-JP/Help/load.tid +2 -2
  709. package/languages/ja-JP/Help/makelibrary.tid +3 -3
  710. package/languages/ja-JP/Help/output.tid +2 -2
  711. package/languages/ja-JP/Help/rendertiddler.tid +2 -2
  712. package/languages/ja-JP/Help/rendertiddlers.tid +2 -2
  713. package/languages/ja-JP/Help/savetiddler.tid +2 -2
  714. package/languages/ja-JP/Help/savetiddlers.tid +12 -2
  715. package/languages/ja-JP/Help/server.tid +6 -6
  716. package/languages/ja-JP/Help/setfield.tid +7 -7
  717. package/languages/ja-JP/Help/unpackplugin.tid +2 -2
  718. package/languages/ja-JP/Help/verbose.tid +6 -2
  719. package/languages/ja-JP/Help/version.tid +2 -2
  720. package/languages/ja-JP/Import.multids +27 -8
  721. package/languages/ja-JP/Misc.multids +98 -11
  722. package/languages/ja-JP/Modals/Download.tid +2 -2
  723. package/languages/ja-JP/Notifications.multids +2 -2
  724. package/languages/ja-JP/Search.multids +8 -4
  725. package/languages/ja-JP/SideBar.multids +6 -4
  726. package/languages/ja-JP/SiteSubtitle.tid +1 -1
  727. package/languages/ja-JP/SiteTitle.tid +1 -1
  728. package/languages/ja-JP/TiddlerInfo.multids +10 -10
  729. package/languages/ja-JP/Types/application%2Fjavascript.tid +1 -1
  730. package/languages/ja-JP/Types/image%2Fgif.tid +1 -1
  731. package/languages/ja-JP/Types/image%2Fjpeg.tid +1 -1
  732. package/languages/ja-JP/Types/image%2Fpng.tid +1 -1
  733. package/languages/ja-JP/Types/image%2Fsvg%2Bxml.tid +1 -1
  734. package/languages/ja-JP/Types/image%2Fx-icon.tid +1 -1
  735. package/languages/ja-JP/Types/text%2Fcss.tid +1 -1
  736. package/languages/ja-JP/Types/text%2Fvnd.tiddlywiki.tid +1 -1
  737. package/languages/ja-JP/plugin.info +1 -1
  738. package/languages/ko-KR/ControlPanel.multids +1 -1
  739. package/languages/nl-NL/ControlPanel.multids +1 -1
  740. package/languages/pl-PL/Buttons.multids +7 -3
  741. package/languages/pl-PL/ControlPanel.multids +29 -25
  742. package/languages/pl-PL/EditTemplate.multids +1 -0
  743. package/languages/pl-PL/Fields.multids +3 -3
  744. package/languages/pl-PL/GettingStarted.tid +4 -3
  745. package/languages/pl-PL/Help/commands.tid +18 -0
  746. package/languages/pl-PL/Help/default.tid +4 -1
  747. package/languages/pl-PL/Help/render.tid +2 -2
  748. package/languages/pl-PL/Import.multids +3 -3
  749. package/languages/pl-PL/Misc.multids +1 -0
  750. package/languages/pl-PL/SideBar.multids +1 -0
  751. package/languages/pl-PL/ThemeTweaks.multids +3 -3
  752. package/languages/pt-BR/ControlPanel.multids +1 -1
  753. package/languages/pt-PT/ControlPanel.multids +1 -1
  754. package/languages/ru-RU/ControlPanel.multids +1 -1
  755. package/languages/sk-SK/ControlPanel.multids +1 -1
  756. package/languages/sl-SI/ControlPanel.multids +1 -1
  757. package/languages/sv-SE/ControlPanel.multids +1 -1
  758. package/languages/zh-Hans/Buttons.multids +36 -32
  759. package/languages/zh-Hans/ControlPanel.multids +19 -19
  760. package/languages/zh-Hans/CoreReadMe.tid +1 -1
  761. package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -2
  762. package/languages/zh-Hans/Docs/PaletteColours.multids +8 -8
  763. package/languages/zh-Hans/EditTemplate.multids +1 -0
  764. package/languages/zh-Hans/Fields.multids +7 -7
  765. package/languages/zh-Hans/Filters.multids +1 -1
  766. package/languages/zh-Hans/GettingStarted.tid +8 -6
  767. package/languages/zh-Hans/Help/commands.tid +18 -0
  768. package/languages/zh-Hans/Help/default.tid +4 -1
  769. package/languages/zh-Hans/Help/fetch.tid +6 -6
  770. package/languages/zh-Hans/Help/init.tid +1 -1
  771. package/languages/zh-Hans/Help/listen.tid +5 -5
  772. package/languages/zh-Hans/Help/makelibrary.tid +1 -1
  773. package/languages/zh-Hans/Help/render.tid +1 -0
  774. package/languages/zh-Hans/Help/savetiddlers.tid +1 -1
  775. package/languages/zh-Hans/Help/server.tid +6 -6
  776. package/languages/zh-Hans/Help/setfield.tid +3 -3
  777. package/languages/zh-Hans/Import.multids +1 -1
  778. package/languages/zh-Hans/Misc.multids +12 -11
  779. package/languages/zh-Hans/Search.multids +6 -6
  780. package/languages/zh-Hans/SideBar.multids +1 -0
  781. package/languages/zh-Hans/SiteSubtitle.tid +1 -1
  782. package/languages/zh-Hans/Snippets/ListByTag.tid +1 -1
  783. package/languages/zh-Hans/ThemeTweaks.multids +7 -7
  784. package/languages/zh-Hans/TiddlerInfo.multids +2 -2
  785. package/languages/zh-Hant/Buttons.multids +4 -0
  786. package/languages/zh-Hant/ControlPanel.multids +2 -2
  787. package/languages/zh-Hant/EditTemplate.multids +1 -0
  788. package/languages/zh-Hant/Fields.multids +2 -2
  789. package/languages/zh-Hant/GettingStarted.tid +4 -3
  790. package/languages/zh-Hant/Help/commands.tid +18 -0
  791. package/languages/zh-Hant/Help/default.tid +4 -1
  792. package/languages/zh-Hant/Help/render.tid +1 -0
  793. package/languages/zh-Hant/Misc.multids +1 -0
  794. package/languages/zh-Hant/SideBar.multids +1 -0
  795. package/licenses/cla-individual.md +14 -0
  796. package/package.json +1 -1
  797. package/plugins/tiddlywiki/browser-sniff/browser.js +5 -1
  798. package/plugins/tiddlywiki/browser-sniff/usage.tid +1 -0
  799. package/plugins/tiddlywiki/browser-storage/rawmarkup.js +18 -1
  800. package/plugins/tiddlywiki/browser-storage/readme.tid +0 -1
  801. package/plugins/tiddlywiki/browser-storage/settings.tid +5 -1
  802. package/plugins/tiddlywiki/browser-storage/startup.js +14 -9
  803. package/plugins/tiddlywiki/codemirror/engine.js +4 -0
  804. package/plugins/tiddlywiki/dynannotate/docs/readme.tid +72 -8
  805. package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +13 -2
  806. package/plugins/tiddlywiki/dynannotate/modules/legacy-selection-tracker.js +104 -0
  807. package/plugins/tiddlywiki/dynannotate/modules/selection-tracker.js +144 -89
  808. package/plugins/tiddlywiki/dynannotate/modules/startup.js +40 -0
  809. package/plugins/tiddlywiki/help/tabs/Support.tid +6 -2
  810. package/plugins/tiddlywiki/jasmine/command.js +33 -0
  811. package/plugins/tiddlywiki/jasmine/help.tid +24 -0
  812. package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +24 -18
  813. package/plugins/tiddlywiki/jasmine/readme.tid +31 -1
  814. package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +93 -0
  815. package/plugins/tiddlywiki/jasmine/startup.js +37 -0
  816. package/{editions/katexdemo/tiddlers → plugins/tiddlywiki/katex}/ImplementationNotes.tid +3 -3
  817. package/plugins/tiddlywiki/katex/developer.tid +58 -0
  818. package/plugins/tiddlywiki/katex/files/contrib/mhchem.min.js +1 -0
  819. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
  820. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  821. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  822. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  823. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  824. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
  825. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  826. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
  827. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
  828. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  829. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
  830. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  831. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  832. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  833. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
  834. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
  835. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
  836. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
  837. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
  838. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  839. package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
  840. package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
  841. package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
  842. package/plugins/tiddlywiki/katex/files/tiddlywiki.files +2 -2
  843. package/plugins/tiddlywiki/katex/plugin.info +1 -1
  844. package/plugins/tiddlywiki/katex/readme.tid +1 -1
  845. package/plugins/tiddlywiki/katex/snippets/logo.tid +4 -0
  846. package/plugins/tiddlywiki/katex/snippets/math.tid +8 -0
  847. package/plugins/tiddlywiki/katex/styles.tid +7 -0
  848. package/plugins/tiddlywiki/katex/usage.tid +18 -2
  849. package/plugins/tiddlywiki/markdown/EditorToolbar/link-dropdown.tid +73 -0
  850. package/plugins/tiddlywiki/markdown/EditorToolbar/link.tid +11 -0
  851. package/plugins/tiddlywiki/markdown/EditorToolbar/linkify.tid +15 -0
  852. package/plugins/tiddlywiki/markdown/EditorToolbar/mono-block.tid +17 -0
  853. package/plugins/tiddlywiki/markdown/KeyboardShortcuts/new-markdown-tiddler.tid +8 -0
  854. package/plugins/tiddlywiki/markdown/config.multids +5 -0
  855. package/plugins/tiddlywiki/markdown/editor-operations/make-markdown-link.js +37 -0
  856. package/plugins/tiddlywiki/markdown/images/markdown-linkify.tid +6 -0
  857. package/plugins/tiddlywiki/menubar/items/search.tid +2 -0
  858. package/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid +1 -1
  859. package/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid +6 -0
  860. package/plugins/tiddlywiki/translators/system/styles.tid +5 -0
  861. package/plugins/tiddlywiki/twitter-archivist/Twitter Archives.tid +5 -0
  862. package/plugins/tiddlywiki/twitter-archivist/archivist.js +319 -0
  863. package/plugins/tiddlywiki/twitter-archivist/configTiddlerInfoMode.tid +2 -0
  864. package/plugins/tiddlywiki/twitter-archivist/loadtwitterarchive.js +53 -0
  865. package/plugins/tiddlywiki/twitter-archivist/macros.tid +222 -0
  866. package/plugins/tiddlywiki/twitter-archivist/plugin.info +6 -0
  867. package/plugins/tiddlywiki/twitter-archivist/readme.tid +33 -0
  868. package/plugins/tiddlywiki/twitter-archivist/spec.tid +62 -0
  869. package/plugins/tiddlywiki/twitter-archivist/startup.js +38 -0
  870. package/plugins/tiddlywiki/twitter-archivist/styles.tid +47 -0
  871. package/plugins/tiddlywiki/twitter-archivist/template-archive.tid +3 -0
  872. package/plugins/tiddlywiki/twitter-archivist/template-hashtag.tid +3 -0
  873. package/plugins/tiddlywiki/twitter-archivist/template-tweet.tid +3 -0
  874. package/plugins/tiddlywiki/twitter-archivist/template-tweeter.tid +3 -0
  875. package/plugins/tiddlywiki/twitter-archivist/todo.tid +15 -0
  876. package/plugins/tiddlywiki/twitter-archivist/usage.tid +18 -0
  877. package/plugins/tiddlywiki/twitter-archivist/view-template-body-cascade.tid +8 -0
  878. package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +3 -3
  879. package/readme.md +5 -3
  880. package/themes/tiddlywiki/vanilla/base.tid +152 -13
  881. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -43
  882. package/editions/fr-FR/tiddlers/$__core_ui_SideBar_Open.tid +0 -15
  883. package/editions/fr-FR/tiddlers/$__core_ui_TagTemplate.tid +0 -33
  884. package/editions/fr-FR/tiddlers/Horizontal Rules in WikiText.tid +0 -17
  885. package/editions/fr-FR/tiddlers/Installing TiddlyWiki on Node.js.tid +0 -23
  886. package/editions/fr-FR/tiddlers/Macro_Calls_in_WikiText.tid +0 -22
  887. package/editions/fr-FR/tiddlers/Pragma.tid +0 -17
  888. package/editions/fr-FR/tiddlers/Saving on Android.tid +0 -10
  889. package/editions/fr-FR/tiddlers/Saving on InternetExplorer.tid +0 -11
  890. package/editions/fr-FR/tiddlers/Saving on Safari.tid +0 -24
  891. package/editions/fr-FR/tiddlers/Saving on iPad_iPhone.tid +0 -23
  892. package/editions/fr-FR/tiddlers/Saving with TiddlyFox.tid +0 -24
  893. package/editions/fr-FR/tiddlers/Saving with TiddlyIE.tid +0 -19
  894. package/editions/fr-FR/tiddlers/Saving_on_a_PHP_Server.tid +0 -30
  895. package/editions/fr-FR/tiddlers/Tables_in_WikiText.tid +0 -102
  896. package/editions/fr-FR/tiddlers/TiddlyDesktop.tid +0 -23
  897. package/editions/fr-FR/tiddlers/TiddlyDesktop_Releases.tid +0 -9
  898. package/editions/fr-FR/tiddlers/TiddlyWiki on Node.js.tid +0 -18
  899. package/editions/fr-FR/tiddlers/TranscludeWidget.tid +0 -73
  900. package/editions/fr-FR/tiddlers/Widgets_in_WikiText.tid +0 -30
  901. package/editions/prerelease/tiddlers/Release 5.2.3.tid +0 -58
  902. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Classic.tid +0 -6
  903. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Developers.tid +0 -7
  904. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Gentle Guide.tid +0 -11
  905. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - HelpingTiddlyWiki.tid +0 -7
  906. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TWEUM2017.tid +0 -8
  907. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyMap.tid +0 -6
  908. package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg +0 -0
  909. package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg.meta +0 -3
  910. package/editions/tw5.com/tiddlers/images/TiddlyMap.png +0 -0
  911. package/plugins/tiddlywiki/katex/files/README.md +0 -119
  912. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
  913. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  914. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  915. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  916. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  917. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  918. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  919. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  920. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  921. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  922. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
  923. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
  924. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  925. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  926. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
  927. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
  928. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
  929. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
  930. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  931. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  932. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
  933. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
  934. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  935. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  936. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  937. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  938. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  939. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  940. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
  941. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
  942. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
  943. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  944. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
  945. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  946. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
  947. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  948. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
  949. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  950. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  951. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  952. package/plugins/tiddlywiki/katex/files/katex.css +0 -1079
  953. package/plugins/tiddlywiki/katex/files/katex.js +0 -18183
  954. package/plugins/tiddlywiki/katex/files/mhchem.min.js +0 -1
@@ -115,7 +115,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
115
115
  // Otherwise, we need to construct a default value for the editor
116
116
  switch(this.editField) {
117
117
  case "text":
118
- value = "Type the text for the tiddler '" + this.editTitle + "'";
118
+ value = "";
119
119
  type = "text/vnd.tiddlywiki";
120
120
  break;
121
121
  case "title":
@@ -298,7 +298,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
298
298
  Propogate keydown events to our container for the keyboard widgets benefit
299
299
  */
300
300
  EditTextWidget.prototype.propogateKeydownEvent = function(event) {
301
- var newEvent = this.cloneEvent(event,["keyCode","which","metaKey","ctrlKey","altKey","shiftKey"]);
301
+ var newEvent = this.cloneEvent(event,["keyCode","code","which","key","metaKey","ctrlKey","altKey","shiftKey"]);
302
302
  return !this.parentDomNode.dispatchEvent(newEvent);
303
303
  };
304
304
 
@@ -25,8 +25,8 @@ exports["prefix-lines"] = function(event,operation) {
25
25
  $tw.utils.each(lines,function(line,index) {
26
26
  // Remove and count any existing prefix characters
27
27
  var count = 0;
28
- while(line.charAt(0) === event.paramObject.character) {
29
- line = line.substring(1);
28
+ while($tw.utils.startsWith(line,event.paramObject.character)) {
29
+ line = line.substring(event.paramObject.character.length);
30
30
  count++;
31
31
  }
32
32
  // Remove any whitespace
@@ -15,16 +15,33 @@ Text editor operation to wrap the selected lines with a prefix and suffix
15
15
  exports["wrap-lines"] = function(event,operation) {
16
16
  var prefix = event.paramObject.prefix || "",
17
17
  suffix = event.paramObject.suffix || "";
18
- // Cut just past the preceding line break, or the start of the text
19
- operation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);
20
- // Cut to just past the following line break, or to the end of the text
21
- operation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);
22
- // Add the prefix and suffix
23
- operation.replacement = prefix + "\n" +
24
- operation.text.substring(operation.cutStart,operation.cutEnd) + "\n" +
25
- suffix + "\n";
26
- operation.newSelStart = operation.cutStart + prefix.length + 1;
27
- operation.newSelEnd = operation.newSelStart + (operation.cutEnd - operation.cutStart);
18
+ if($tw.utils.endsWith(operation.text.substring(0,operation.selStart), prefix + "\n") &&
19
+ $tw.utils.startsWith(operation.text.substring(operation.selEnd), "\n" + suffix)) {
20
+ // Selected text is already surrounded by prefix and suffix: Remove them
21
+ // Cut selected text plus prefix and suffix
22
+ operation.cutStart = operation.selStart - (prefix.length + 1);
23
+ operation.cutEnd = operation.selEnd + suffix.length + 1;
24
+ // Also cut the following newline (if there is any)
25
+ if (operation.text[operation.cutEnd] === "\n") {
26
+ operation.cutEnd++;
27
+ }
28
+ // Replace with selection
29
+ operation.replacement = operation.text.substring(operation.selStart,operation.selEnd);
30
+ // Select text that was in between prefix and suffix
31
+ operation.newSelStart = operation.cutStart;
32
+ operation.newSelEnd = operation.selEnd - (prefix.length + 1);
33
+ } else {
34
+ // Cut just past the preceding line break, or the start of the text
35
+ operation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);
36
+ // Cut to just past the following line break, or to the end of the text
37
+ operation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);
38
+ // Add the prefix and suffix
39
+ operation.replacement = prefix + "\n" +
40
+ operation.text.substring(operation.cutStart,operation.cutEnd) + "\n" +
41
+ suffix + "\n";
42
+ operation.newSelStart = operation.cutStart + prefix.length + 1;
43
+ operation.newSelEnd = operation.newSelStart + (operation.cutEnd - operation.cutStart);
44
+ }
28
45
  };
29
46
 
30
47
  })();
@@ -16,7 +16,9 @@ exports.map = function(operationSubFunction,options) {
16
16
  return function(results,source,widget) {
17
17
  if(results.length > 0) {
18
18
  var inputTitles = results.toArray(),
19
- index = 0;
19
+ index = 0,
20
+ suffixes = options.suffixes,
21
+ flatten = (suffixes[0] && suffixes[0][0] === "flat") ? true : false;
20
22
  results.clear();
21
23
  $tw.utils.each(inputTitles,function(title) {
22
24
  var filtered = operationSubFunction(options.wiki.makeTiddlerIterator([title]),{
@@ -36,7 +38,13 @@ exports.map = function(operationSubFunction,options) {
36
38
  }
37
39
  }
38
40
  });
39
- results.push(filtered[0] || "");
41
+ if(filtered.length && flatten) {
42
+ $tw.utils.each(filtered,function(value) {
43
+ results.push(value);
44
+ })
45
+ } else {
46
+ results.push(filtered[0]||"");
47
+ }
40
48
  ++index;
41
49
  });
42
50
  }
@@ -0,0 +1,35 @@
1
+ /*\
2
+ title: $:/core/modules/filters/format/json.js
3
+ type: application/javascript
4
+ module-type: formatfilteroperator
5
+ \*/
6
+ (function(){
7
+
8
+ /*jslint node: true, browser: true */
9
+ /*global $tw: false */
10
+ "use strict";
11
+
12
+ /*
13
+ Export our filter function
14
+ */
15
+ exports.json = function(source,operand,options) {
16
+ var results = [],
17
+ spaces = null;
18
+ if(operand) {
19
+ spaces = /^\d+$/.test(operand) ? parseInt(operand,10) : operand;
20
+ }
21
+ source(function(tiddler,title) {
22
+ var data = $tw.utils.parseJSONSafe(title);
23
+ try {
24
+ data = JSON.parse(title);
25
+ } catch(e) {
26
+ data = undefined;
27
+ }
28
+ if(data !== undefined) {
29
+ results.push(JSON.stringify(data,null,spaces));
30
+ }
31
+ });
32
+ return results;
33
+ };
34
+
35
+ })();
@@ -0,0 +1,46 @@
1
+ /*\
2
+ title: $:/core/modules/filters/insertafter.js
3
+ type: application/javascript
4
+ module-type: filteroperator
5
+
6
+ Insert an item after another item in a list
7
+
8
+ \*/
9
+ (function(){
10
+
11
+ /*jslint node: true, browser: true */
12
+ /*global $tw: false */
13
+ "use strict";
14
+
15
+ /*
16
+ Order a list
17
+ */
18
+ exports.insertafter = function(source,operator,options) {
19
+ var results = [];
20
+ source(function(tiddler,title) {
21
+ results.push(title);
22
+ });
23
+ var target = operator.operands[1] || (options.widget && options.widget.getVariable(operator.suffix || "currentTiddler"));
24
+ if(target !== operator.operand) {
25
+ // Remove the entry from the list if it is present
26
+ var pos = results.indexOf(operator.operand);
27
+ if(pos !== -1) {
28
+ results.splice(pos,1);
29
+ }
30
+ // Insert the entry after the target marker
31
+ pos = results.indexOf(target);
32
+ if(pos !== -1) {
33
+ results.splice(pos+1,0,operator.operand);
34
+ } else {
35
+ var suffix = operator.operands.length > 1 ? operator.suffix : "";
36
+ if(suffix === "start") {
37
+ results.splice(0,0,operator.operand);
38
+ } else {
39
+ results.push(operator.operand);
40
+ }
41
+ }
42
+ }
43
+ return results;
44
+ };
45
+
46
+ })();
@@ -32,7 +32,12 @@ exports.insertbefore = function(source,operator,options) {
32
32
  if(pos !== -1) {
33
33
  results.splice(pos,0,operator.operand);
34
34
  } else {
35
- results.push(operator.operand);
35
+ var suffix = operator.operands.length > 1 ? operator.suffix : "";
36
+ if(suffix == "start") {
37
+ results.splice(0,0,operator.operand);
38
+ } else {
39
+ results.push(operator.operand);
40
+ }
36
41
  }
37
42
  }
38
43
  return results;
@@ -19,13 +19,13 @@ exports.variable = function(source,prefix,options) {
19
19
  var results = [];
20
20
  if(prefix === "!") {
21
21
  source(function(tiddler,title) {
22
- if(!(title in options.widget.variables)) {
22
+ if(options.widget.getVariable(title) === undefined) {
23
23
  results.push(title);
24
24
  }
25
25
  });
26
26
  } else {
27
27
  source(function(tiddler,title) {
28
- if(title in options.widget.variables) {
28
+ if(options.widget.getVariable(title) !== undefined) {
29
29
  results.push(title);
30
30
  }
31
31
  });
@@ -0,0 +1,186 @@
1
+ /*\
2
+ title: $:/core/modules/filters/json-ops.js
3
+ type: application/javascript
4
+ module-type: filteroperator
5
+
6
+ Filter operators for JSON operations
7
+
8
+ \*/
9
+ (function(){
10
+
11
+ /*jslint node: true, browser: true */
12
+ /*global $tw: false */
13
+ "use strict";
14
+
15
+ exports["jsonget"] = function(source,operator,options) {
16
+ var results = [];
17
+ source(function(tiddler,title) {
18
+ var data = $tw.utils.parseJSONSafe(title,title);
19
+ if(data) {
20
+ var items = getDataItemValueAsStrings(data,operator.operands);
21
+ if(items !== undefined) {
22
+ results.push.apply(results,items);
23
+ }
24
+ }
25
+ });
26
+ return results;
27
+ };
28
+
29
+ exports["jsonextract"] = function(source,operator,options) {
30
+ var results = [];
31
+ source(function(tiddler,title) {
32
+ var data = $tw.utils.parseJSONSafe(title,title);
33
+ if(data) {
34
+ var item = getDataItem(data,operator.operands);
35
+ if(item !== undefined) {
36
+ results.push(JSON.stringify(item));
37
+ }
38
+ }
39
+ });
40
+ return results;
41
+ };
42
+
43
+ exports["jsonindexes"] = function(source,operator,options) {
44
+ var results = [];
45
+ source(function(tiddler,title) {
46
+ var data = $tw.utils.parseJSONSafe(title,title);
47
+ if(data) {
48
+ var items = getDataItemKeysAsStrings(data,operator.operands);
49
+ if(items !== undefined) {
50
+ results.push.apply(results,items);
51
+ }
52
+ }
53
+ });
54
+ return results;
55
+ };
56
+
57
+ exports["jsontype"] = function(source,operator,options) {
58
+ var results = [];
59
+ source(function(tiddler,title) {
60
+ var data = $tw.utils.parseJSONSafe(title,title);
61
+ if(data) {
62
+ var item = getDataItemType(data,operator.operands);
63
+ if(item !== undefined) {
64
+ results.push(item);
65
+ }
66
+ }
67
+ });
68
+ return results;
69
+ };
70
+
71
+ /*
72
+ Given a JSON data structure and an array of index strings, return an array of the string representation of the values at the end of the index chain, or "undefined" if any of the index strings are invalid
73
+ */
74
+ function getDataItemValueAsStrings(data,indexes) {
75
+ // Get the item
76
+ var item = getDataItem(data,indexes);
77
+ // Return the item as a string list
78
+ return convertDataItemValueToStrings(item);
79
+ }
80
+
81
+ /*
82
+ Given a JSON data structure and an array of index strings, return an array of the string representation of the keys of the item at the end of the index chain, or "undefined" if any of the index strings are invalid
83
+ */
84
+ function getDataItemKeysAsStrings(data,indexes) {
85
+ // Get the item
86
+ var item = getDataItem(data,indexes);
87
+ // Return the item keys as a string
88
+ return convertDataItemKeysToStrings(item);
89
+ }
90
+
91
+ /*
92
+ Return an array of the string representation of the values of a data item, or "undefined" if the item is undefined
93
+ */
94
+ function convertDataItemValueToStrings(item) {
95
+ // Return the item as a string
96
+ if(item === undefined) {
97
+ return undefined;
98
+ } else if(item === null) {
99
+ return ["null"]
100
+ } else if(typeof item === "object") {
101
+ var results = [],i,t;
102
+ if($tw.utils.isArray(item)) {
103
+ // Return all the items in arrays recursively
104
+ for(i=0; i<item.length; i++) {
105
+ t = convertDataItemValueToStrings(item[i])
106
+ if(t !== undefined) {
107
+ results.push.apply(results,t);
108
+ }
109
+ }
110
+ } else {
111
+ // Return all the values in objects recursively
112
+ $tw.utils.each(Object.keys(item).sort(),function(key) {
113
+ t = convertDataItemValueToStrings(item[key]);
114
+ if(t !== undefined) {
115
+ results.push.apply(results,t);
116
+ }
117
+ });
118
+ }
119
+ return results;
120
+ }
121
+ return [item.toString()];
122
+ }
123
+
124
+ /*
125
+ Return an array of the string representation of the keys of a data item, or "undefined" if the item is undefined
126
+ */
127
+ function convertDataItemKeysToStrings(item) {
128
+ // Return the item as a string
129
+ if(item === undefined) {
130
+ return item;
131
+ } else if(typeof item === "object") {
132
+ if(item === null) {
133
+ return [];
134
+ }
135
+ var results = [];
136
+ if($tw.utils.isArray(item)) {
137
+ for(var i=0; i<item.length; i++) {
138
+ results.push(i.toString());
139
+ }
140
+ return results;
141
+ } else {
142
+ $tw.utils.each(Object.keys(item).sort(),function(key) {
143
+ results.push(key);
144
+ });
145
+ return results;
146
+ }
147
+ }
148
+ return [];
149
+ }
150
+
151
+ function getDataItemType(data,indexes) {
152
+ // Get the item
153
+ var item = getDataItem(data,indexes);
154
+ // Return the item type
155
+ if(item === undefined) {
156
+ return item;
157
+ } else if(item === null) {
158
+ return "null";
159
+ } else if($tw.utils.isArray(item)) {
160
+ return "array";
161
+ } else if(typeof item === "object") {
162
+ return "object";
163
+ } else {
164
+ return typeof item;
165
+ }
166
+ }
167
+
168
+ /*
169
+ Given a JSON data structure and an array of index strings, return the value at the end of the index chain, or "undefined" if any of the index strings are invalid
170
+ */
171
+ function getDataItem(data,indexes) {
172
+ if(indexes.length === 0 || (indexes.length === 1 && indexes[0] === "")) {
173
+ return data;
174
+ }
175
+ // Get the item
176
+ var item = data;
177
+ for(var i=0; i<indexes.length; i++) {
178
+ if(item !== undefined) {
179
+ item = item[indexes[i]];
180
+ }
181
+ }
182
+ return item;
183
+ }
184
+
185
+ })();
186
+
@@ -16,9 +16,15 @@ Filter operator for returning the names of the active variables
16
16
  Export our filter function
17
17
  */
18
18
  exports.variables = function(source,operator,options) {
19
- var names = [];
20
- for(var variable in options.widget.variables) {
21
- names.push(variable);
19
+ var names = [],
20
+ widget = options.widget;
21
+ while(widget && !widget.hasOwnProperty("variables")) {
22
+ widget = widget.parentWidget;
23
+ }
24
+ if(widget && widget.variables) {
25
+ for(var variable in widget.variables) {
26
+ names.push(variable);
27
+ }
22
28
  }
23
29
  return names.sort();
24
30
  };
@@ -12,6 +12,9 @@ Adds tiddler filtering methods to the $tw.Wiki object.
12
12
  /*global $tw: false */
13
13
  "use strict";
14
14
 
15
+ /* Maximum permitted filter recursion depth */
16
+ var MAX_FILTER_DEPTH = 300;
17
+
15
18
  /*
16
19
  Parses an operation (i.e. a run) within a filter string
17
20
  operators: Array of array of operator nodes into which results should be inserted
@@ -220,10 +223,18 @@ source: an iterator function for the source tiddlers, called source(iterator), w
220
223
  widget: an optional widget node for retrieving the current tiddler etc.
221
224
  */
222
225
  exports.compileFilter = function(filterString) {
226
+ if(!this.filterCache) {
227
+ this.filterCache = Object.create(null);
228
+ this.filterCacheCount = 0;
229
+ }
230
+ if(this.filterCache[filterString] !== undefined) {
231
+ return this.filterCache[filterString];
232
+ }
223
233
  var filterParseTree;
224
234
  try {
225
235
  filterParseTree = this.parseFilter(filterString);
226
236
  } catch(e) {
237
+ // We do not cache this result, so it adjusts along with localization changes
227
238
  return function(source,widget) {
228
239
  return [$tw.language.getString("Error/Filter") + ": " + e];
229
240
  };
@@ -320,7 +331,7 @@ exports.compileFilter = function(filterString) {
320
331
  })());
321
332
  });
322
333
  // Return a function that applies the operations to a source iterator of tiddler titles
323
- return $tw.perf.measure("filter: " + filterString,function filterFunction(source,widget) {
334
+ var fnMeasured = $tw.perf.measure("filter: " + filterString,function filterFunction(source,widget) {
324
335
  if(!source) {
325
336
  source = self.each;
326
337
  } else if(typeof source === "object") { // Array or hashmap
@@ -330,11 +341,27 @@ exports.compileFilter = function(filterString) {
330
341
  widget = $tw.rootWidget;
331
342
  }
332
343
  var results = new $tw.utils.LinkedList();
333
- $tw.utils.each(operationFunctions,function(operationFunction) {
334
- operationFunction(results,source,widget);
335
- });
344
+ self.filterRecursionCount = (self.filterRecursionCount || 0) + 1;
345
+ if(self.filterRecursionCount < MAX_FILTER_DEPTH) {
346
+ $tw.utils.each(operationFunctions,function(operationFunction) {
347
+ operationFunction(results,source,widget);
348
+ });
349
+ } else {
350
+ results.push("/**-- Excessive filter recursion --**/");
351
+ }
352
+ self.filterRecursionCount = self.filterRecursionCount - 1;
336
353
  return results.toArray();
337
354
  });
355
+ if(this.filterCacheCount >= 2000) {
356
+ // To prevent memory leak, we maintain an upper limit for cache size.
357
+ // Reset if exceeded. This should give us 95% of the benefit
358
+ // that no cache limit would give us.
359
+ this.filterCache = Object.create(null);
360
+ this.filterCacheCount = 0;
361
+ }
362
+ this.filterCache[filterString] = fnMeasured;
363
+ this.filterCacheCount++;
364
+ return fnMeasured;
338
365
  };
339
366
 
340
367
  })();
@@ -141,6 +141,7 @@ function KeyboardManager(options) {
141
141
  this.shortcutKeysList = [], // Stores the shortcut-key descriptors
142
142
  this.shortcutActionList = [], // Stores the corresponding action strings
143
143
  this.shortcutParsedList = []; // Stores the parsed key descriptors
144
+ this.shortcutPriorityList = []; // Stores the parsed shortcut priority
144
145
  this.lookupNames = ["shortcuts"];
145
146
  this.lookupNames.push($tw.platform.isMac ? "shortcuts-mac" : "shortcuts-not-mac")
146
147
  this.lookupNames.push($tw.platform.isWindows ? "shortcuts-windows" : "shortcuts-not-windows");
@@ -318,12 +319,23 @@ KeyboardManager.prototype.updateShortcutLists = function(tiddlerList) {
318
319
  this.shortcutKeysList[i] = tiddlerFields.key !== undefined ? tiddlerFields.key : undefined;
319
320
  this.shortcutActionList[i] = tiddlerFields.text;
320
321
  this.shortcutParsedList[i] = this.shortcutKeysList[i] !== undefined ? this.parseKeyDescriptors(this.shortcutKeysList[i]) : undefined;
322
+ this.shortcutPriorityList[i] = tiddlerFields.priority === "yes" ? true : false;
321
323
  }
322
324
  };
323
325
 
324
- KeyboardManager.prototype.handleKeydownEvent = function(event) {
326
+ /*
327
+ event: the keyboard event object
328
+ options:
329
+ onlyPriority: true if only priority global shortcuts should be invoked
330
+ */
331
+ KeyboardManager.prototype.handleKeydownEvent = function(event, options) {
332
+ options = options || {};
325
333
  var key, action;
326
334
  for(var i=0; i<this.shortcutTiddlers.length; i++) {
335
+ if(options.onlyPriority && this.shortcutPriorityList[i] !== true) {
336
+ continue;
337
+ }
338
+
327
339
  if(this.shortcutParsedList[i] !== undefined && this.checkKeyDescriptors(event,this.shortcutParsedList[i])) {
328
340
  key = this.shortcutParsedList[i];
329
341
  action = this.shortcutActionList[i];
@@ -13,6 +13,11 @@ The CSV text parser processes CSV files into a table wrapped in a scrollable wid
13
13
  "use strict";
14
14
 
15
15
  var CsvParser = function(type,text,options) {
16
+ // Special handler for tab-delimited files
17
+ if (type === 'text/tab-delimited-values' && !options.separator) {
18
+ options.separator = "\t";
19
+ }
20
+
16
21
  // Table framework
17
22
  this.tree = [{
18
23
  "type": "scrollable", "children": [{
@@ -24,30 +29,33 @@ var CsvParser = function(type,text,options) {
24
29
  }]
25
30
  }];
26
31
  // Split the text into lines
27
- var lines = text.split(/\r?\n/mg),
32
+ var lines = $tw.utils.parseCsvString(text, options),
28
33
  tag = "th";
34
+ var maxColumns = 0;
35
+ $tw.utils.each(lines, function(columns) {
36
+ maxColumns = Math.max(columns.length, maxColumns);
37
+ });
38
+
29
39
  for(var line=0; line<lines.length; line++) {
30
- var lineText = lines[line];
31
- if(lineText) {
32
- var row = {
33
- "type": "element", "tag": "tr", "children": []
34
- };
35
- var columns = lineText.split(",");
36
- for(var column=0; column<columns.length; column++) {
37
- row.children.push({
38
- "type": "element", "tag": tag, "children": [{
39
- "type": "text",
40
- "text": columns[column]
41
- }]
42
- });
43
- }
44
- tag = "td";
45
- this.tree[0].children[0].children[0].children.push(row);
40
+ var columns = lines[line];
41
+ var row = {
42
+ "type": "element", "tag": "tr", "children": []
43
+ };
44
+ for(var column=0; column<maxColumns; column++) {
45
+ row.children.push({
46
+ "type": "element", "tag": tag, "children": [{
47
+ "type": "text",
48
+ "text": columns[column] || ''
49
+ }]
50
+ });
46
51
  }
52
+ tag = "td";
53
+ this.tree[0].children[0].children[0].children.push(row);
47
54
  }
48
55
  };
49
56
 
50
57
  exports["text/csv"] = CsvParser;
58
+ exports["text/tab-delimited-values"] = CsvParser;
51
59
 
52
60
  })();
53
61
 
@@ -58,7 +58,7 @@ exports.parse = function() {
58
58
  var reEnd;
59
59
  if(this.match[3]) {
60
60
  // If so, the end of the body is marked with \end
61
- reEnd = /(\r?\n\\end[^\S\n\r]*(?:$|\r?\n))/mg;
61
+ reEnd = new RegExp("(\\r?\\n\\\\end[^\\S\\n\\r]*(?:" + $tw.utils.escapeRegExp(this.match[1]) + ")?(?:$|\\r?\\n))","mg");
62
62
  } else {
63
63
  // Otherwise, the end of the definition is marked by the end of the line
64
64
  reEnd = /($|\r?\n)/mg;
@@ -0,0 +1,68 @@
1
+ /*\
2
+ title: $:/core/modules/parsers/wikiparser/rules/parsermode.js
3
+ type: application/javascript
4
+ module-type: wikirule
5
+
6
+ Wiki pragma rule for parser mode specifications
7
+
8
+ ```
9
+ \parsermode block
10
+ \parsermode inline
11
+ ```
12
+
13
+ \*/
14
+ (function(){
15
+
16
+ /*jslint node: true, browser: true */
17
+ /*global $tw: false */
18
+ "use strict";
19
+
20
+ exports.name = "parsermode";
21
+ exports.types = {pragma: true};
22
+
23
+ /*
24
+ Instantiate parse rule
25
+ */
26
+ exports.init = function(parser) {
27
+ this.parser = parser;
28
+ // Regexp to match
29
+ this.matchRegExp = /^\\parsermode[^\S\n]/mg;
30
+ };
31
+
32
+ /*
33
+ Parse the most recent match
34
+ */
35
+ exports.parse = function() {
36
+ // Move past the pragma invocation
37
+ this.parser.pos = this.matchRegExp.lastIndex;
38
+ // Parse whitespace delimited tokens terminated by a line break
39
+ var reMatch = /[^\S\n]*(\S+)|(\r?\n)/mg,
40
+ parserMode = undefined;
41
+ reMatch.lastIndex = this.parser.pos;
42
+ var match = reMatch.exec(this.parser.source);
43
+ while(match && match.index === this.parser.pos) {
44
+ this.parser.pos = reMatch.lastIndex;
45
+ // Exit if we've got the line break
46
+ if(match[2]) {
47
+ break;
48
+ }
49
+ // Process the token
50
+ if(match[1]) {
51
+ parserMode = match[1];
52
+ }
53
+ // Match the next token
54
+ match = reMatch.exec(this.parser.source);
55
+ }
56
+ // Process the tokens
57
+ if(parserMode !== undefined) {
58
+ if(parserMode === "block") {
59
+ this.parser.parseAsInline = false;
60
+ } else if(parserMode === "inline") {
61
+ this.parser.parseAsInline = true;
62
+ }
63
+ }
64
+ // No parse tree nodes to return
65
+ return [];
66
+ };
67
+
68
+ })();