tiddlywiki 5.1.23 → 5.2.2

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 (1303) hide show
  1. package/.eslintignore +5 -12
  2. package/.eslintrc.yml +17 -1
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +5 -0
  4. package/.github/workflows/ci.yml +3 -0
  5. package/bin/build-site.sh +2 -2
  6. package/bin/build-tw-org.sh +97 -0
  7. package/bin/optimise-svgs.js +43 -41
  8. package/boot/boot.js +155 -47
  9. package/boot/bootprefix.js +1 -0
  10. package/contributing.md +1 -1
  11. package/core/copyright.tid +1 -1
  12. package/core/images/minus-button.tid +4 -0
  13. package/core/images/plugin-generic-language.tid +1 -1
  14. package/core/images/plugin-generic-plugin.tid +1 -1
  15. package/core/images/plugin-generic-theme.tid +1 -1
  16. package/core/images/plus-button.tid +4 -0
  17. package/core/language/en-GB/ControlPanel.multids +19 -2
  18. package/core/language/en-GB/Docs/ModuleTypes.multids +1 -0
  19. package/core/language/en-GB/EditTemplate.multids +2 -0
  20. package/core/language/en-GB/Fields.multids +4 -3
  21. package/core/language/en-GB/Help/listen.tid +3 -2
  22. package/core/language/en-GB/Help/render.tid +5 -4
  23. package/core/language/en-GB/Help/save.tid +1 -1
  24. package/core/language/en-GB/Import.multids +6 -0
  25. package/core/language/en-GB/Misc.multids +4 -3
  26. package/core/modules/commander.js +1 -1
  27. package/core/modules/commands/fetch.js +1 -1
  28. package/core/modules/commands/init.js +1 -1
  29. package/core/modules/commands/render.js +55 -54
  30. package/core/modules/commands/rendertiddlers.js +1 -1
  31. package/core/modules/commands/savelibrarytiddlers.js +1 -1
  32. package/core/modules/commands/savewikifolder.js +18 -4
  33. package/core/modules/config.js +1 -1
  34. package/core/modules/deserializers.js +102 -89
  35. package/core/modules/editor/engines/framed.js +20 -4
  36. package/core/modules/editor/engines/simple.js +6 -2
  37. package/core/modules/editor/factory.js +85 -12
  38. package/core/modules/editor/operations/text/focus-editor.js +17 -0
  39. package/core/modules/editor/operations/text/insert-text.js +23 -0
  40. package/core/modules/editor/operations/text/wrap-lines.js +5 -3
  41. package/core/modules/filterrunprefixes/cascade.js +53 -0
  42. package/core/modules/filterrunprefixes/filter.js +22 -4
  43. package/core/modules/filterrunprefixes/map.js +46 -0
  44. package/core/modules/filterrunprefixes/reduce.js +19 -19
  45. package/core/modules/filterrunprefixes/sort.js +62 -0
  46. package/core/modules/filters/all.js +3 -3
  47. package/core/modules/filters/backlinks.js +3 -3
  48. package/core/modules/filters/contains.js +1 -1
  49. package/core/modules/filters/crypto.js +27 -0
  50. package/core/modules/filters/deserializers.js +27 -0
  51. package/core/modules/filters/editiondescription.js +1 -1
  52. package/core/modules/filters/encodings.js +3 -13
  53. package/core/modules/filters/field.js +1 -1
  54. package/core/modules/filters/fields.js +1 -1
  55. package/core/modules/filters/filter.js +12 -1
  56. package/core/modules/filters/format/date.js +2 -2
  57. package/core/modules/filters/format/relativedate.js +2 -2
  58. package/core/modules/filters/format/titlelist.js +25 -0
  59. package/core/modules/filters/has.js +1 -1
  60. package/core/modules/filters/insertbefore.js +1 -1
  61. package/core/modules/filters/is/draft.js +3 -3
  62. package/core/modules/filters/links.js +3 -3
  63. package/core/modules/filters/listops.js +14 -1
  64. package/core/modules/filters/lookup.js +29 -6
  65. package/core/modules/filters/math.js +102 -7
  66. package/core/modules/filters/moduleproperty.js +30 -0
  67. package/core/modules/filters/modules.js +16 -4
  68. package/core/modules/filters/prefix.js +30 -12
  69. package/core/modules/filters/range.js +7 -3
  70. package/core/modules/filters/reduce.js +2 -0
  71. package/core/modules/filters/regexp.js +1 -1
  72. package/core/modules/filters/removeprefix.js +16 -6
  73. package/core/modules/filters/removesuffix.js +20 -6
  74. package/core/modules/filters/search.js +1 -0
  75. package/core/modules/filters/sortsub.js +7 -4
  76. package/core/modules/filters/strings.js +26 -14
  77. package/core/modules/filters/suffix.js +32 -10
  78. package/core/modules/filters/tag.js +1 -1
  79. package/core/modules/filters/untagged.js +7 -14
  80. package/core/modules/filters/x-listops.js +5 -5
  81. package/core/modules/filters.js +32 -14
  82. package/core/modules/indexers/field-indexer.js +1 -1
  83. package/core/modules/indexers/tag-indexer.js +2 -2
  84. package/core/modules/info/platform.js +1 -1
  85. package/core/modules/keyboard.js +15 -7
  86. package/core/modules/macros/{uniquetitle.js → unusedtitle.js} +8 -7
  87. package/core/modules/parsers/htmlparser.js +4 -2
  88. package/core/modules/parsers/imageparser.js +1 -0
  89. package/core/modules/parsers/parseutils.js +41 -11
  90. package/core/modules/parsers/wikiparser/rules/commentblock.js +8 -2
  91. package/core/modules/parsers/wikiparser/rules/commentinline.js +1 -1
  92. package/core/modules/parsers/wikiparser/rules/html.js +7 -10
  93. package/core/modules/parsers/wikiparser/rules/import.js +1 -1
  94. package/core/modules/parsers/wikiparser/rules/macrocallblock.js +24 -28
  95. package/core/modules/parsers/wikiparser/rules/macrocallinline.js +17 -27
  96. package/core/modules/parsers/wikiparser/rules/table.js +1 -1
  97. package/core/modules/parsers/wikiparser/wikiparser.js +48 -25
  98. package/core/modules/pluginswitcher.js +1 -1
  99. package/core/modules/saver-handler.js +2 -1
  100. package/core/modules/savers/andtidwiki.js +1 -1
  101. package/core/modules/savers/download.js +1 -1
  102. package/core/modules/savers/gitea.js +3 -3
  103. package/core/modules/savers/github.js +3 -3
  104. package/core/modules/savers/gitlab.js +3 -3
  105. package/core/modules/savers/put.js +6 -3
  106. package/core/modules/savers/tiddlyfox.js +1 -1
  107. package/core/modules/savers/twedit.js +1 -1
  108. package/core/modules/savers/upload.js +15 -3
  109. package/core/modules/server/routes/delete-tiddler.js +1 -1
  110. package/core/modules/server/routes/get-favicon.js +1 -2
  111. package/core/modules/server/routes/get-file.js +21 -17
  112. package/core/modules/server/routes/get-index.js +1 -23
  113. package/core/modules/server/routes/get-login-basic.js +3 -2
  114. package/core/modules/server/routes/get-status.js +1 -2
  115. package/core/modules/server/routes/get-tiddler-html.js +3 -3
  116. package/core/modules/server/routes/get-tiddler.js +2 -3
  117. package/core/modules/server/routes/get-tiddlers-json.js +1 -2
  118. package/core/modules/server/routes/put-tiddler.js +3 -3
  119. package/core/modules/server/server.js +113 -17
  120. package/core/modules/startup/browser-messaging.js +2 -2
  121. package/core/modules/startup/favicon.js +1 -1
  122. package/core/modules/startup/load-modules.js +3 -0
  123. package/core/modules/startup/render.js +8 -3
  124. package/core/modules/startup/rootwidget.js +19 -4
  125. package/core/modules/startup/startup.js +2 -3
  126. package/core/modules/startup/story.js +5 -5
  127. package/core/modules/startup/windows.js +22 -9
  128. package/core/modules/storyviews/classic.js +5 -5
  129. package/core/modules/storyviews/pop.js +3 -3
  130. package/core/modules/storyviews/zoomin.js +3 -3
  131. package/core/modules/syncer.js +2 -6
  132. package/core/modules/tiddler.js +3 -3
  133. package/core/modules/upgraders/plugins.js +1 -1
  134. package/core/modules/upgraders/system.js +5 -6
  135. package/core/modules/utils/crypto.js +2 -2
  136. package/core/modules/utils/csv.js +1 -1
  137. package/core/modules/utils/dom/dom.js +6 -2
  138. package/core/modules/utils/dom/dragndrop.js +33 -10
  139. package/core/modules/utils/dom/http.js +18 -1
  140. package/core/modules/utils/dom/modal.js +3 -2
  141. package/core/modules/utils/dom/popup.js +1 -1
  142. package/core/modules/utils/dom/scroller.js +12 -8
  143. package/core/modules/utils/edition-info.js +1 -5
  144. package/core/modules/{startup/css-escape-polyfill.js → utils/escapecss.js} +17 -27
  145. package/core/modules/utils/fakedom.js +1 -1
  146. package/core/modules/utils/filesystem.js +89 -52
  147. package/core/modules/utils/linked-list.js +143 -57
  148. package/core/modules/utils/logger.js +2 -2
  149. package/core/modules/utils/performance.js +1 -1
  150. package/core/modules/utils/pluginmaker.js +2 -4
  151. package/core/modules/utils/transliterate.js +8 -1
  152. package/core/modules/utils/utils.js +80 -8
  153. package/core/modules/widgets/action-confirm.js +4 -3
  154. package/core/modules/widgets/action-createtiddler.js +12 -5
  155. package/core/modules/widgets/action-deletefield.js +1 -1
  156. package/core/modules/widgets/action-listops.js +6 -11
  157. package/core/modules/widgets/action-log.js +3 -3
  158. package/core/modules/widgets/action-navigate.js +12 -1
  159. package/core/modules/widgets/action-popup.js +3 -1
  160. package/core/modules/widgets/action-sendmessage.js +17 -7
  161. package/core/modules/widgets/action-setmultiplefields.js +86 -0
  162. package/core/modules/widgets/button.js +5 -2
  163. package/core/modules/widgets/codeblock.js +7 -1
  164. package/core/modules/widgets/draggable.js +17 -8
  165. package/core/modules/widgets/droppable.js +2 -2
  166. package/core/modules/widgets/dropzone.js +122 -25
  167. package/core/modules/widgets/edit-bitmap.js +6 -6
  168. package/core/modules/widgets/edit-shortcut.js +3 -3
  169. package/core/modules/widgets/element.js +1 -1
  170. package/core/modules/widgets/entity.js +1 -1
  171. package/core/modules/widgets/eventcatcher.js +52 -23
  172. package/core/modules/widgets/fieldmangler.js +16 -30
  173. package/core/modules/widgets/image.js +15 -5
  174. package/core/modules/widgets/importvariables.js +2 -2
  175. package/core/modules/widgets/jsontiddler.js +91 -0
  176. package/core/modules/widgets/keyboard.js +39 -20
  177. package/core/modules/widgets/let.js +96 -0
  178. package/core/modules/widgets/link.js +9 -2
  179. package/core/modules/widgets/linkcatcher.js +4 -4
  180. package/core/modules/widgets/list.js +65 -26
  181. package/core/modules/widgets/log.js +1 -1
  182. package/core/modules/widgets/macrocall.js +1 -1
  183. package/core/modules/widgets/messagecatcher.js +110 -0
  184. package/core/modules/widgets/navigator.js +41 -41
  185. package/core/modules/widgets/radio.js +14 -5
  186. package/core/modules/widgets/raw.js +1 -1
  187. package/core/modules/widgets/reveal.js +4 -4
  188. package/core/modules/widgets/scrollable.js +32 -30
  189. package/core/modules/widgets/select.js +1 -1
  190. package/core/modules/widgets/setmultiplevariables.js +81 -0
  191. package/core/modules/widgets/setvariable.js +2 -2
  192. package/core/modules/widgets/text.js +1 -1
  193. package/core/modules/widgets/tiddler.js +1 -1
  194. package/core/modules/widgets/transclude.js +9 -2
  195. package/core/modules/widgets/vars.js +3 -5
  196. package/core/modules/widgets/view.js +10 -3
  197. package/core/modules/widgets/widget.js +89 -35
  198. package/core/modules/widgets/wikify.js +1 -1
  199. package/core/modules/wiki-bulkops.js +20 -15
  200. package/core/modules/wiki.js +213 -89
  201. package/core/palettes/Blanca.tid +1 -0
  202. package/core/palettes/Blue.tid +1 -0
  203. package/core/palettes/BrightMute.tid +1 -0
  204. package/core/palettes/ContrastDark.tid +1 -0
  205. package/core/palettes/ContrastLight.tid +1 -0
  206. package/core/palettes/CupertinoDark.tid +1 -0
  207. package/core/palettes/DarkPhotos.tid +1 -0
  208. package/core/palettes/DesertSand.tid +1 -0
  209. package/core/palettes/GruvBoxDark.tid +1 -0
  210. package/core/palettes/Nord.tid +1 -0
  211. package/core/palettes/Rocker.tid +1 -0
  212. package/core/palettes/SolarFlare.tid +1 -0
  213. package/core/palettes/SolarizedDark.tid +1 -0
  214. package/core/palettes/SolarizedLight.tid +1 -0
  215. package/core/palettes/SpartanDay.tid +1 -0
  216. package/core/palettes/SpartanNight.tid +1 -0
  217. package/core/palettes/Twilight.tid +1 -0
  218. package/core/palettes/Vanilla.tid +1 -0
  219. package/core/templates/external-js/save-all-external-js.tid +1 -0
  220. package/core/templates/external-js/save-offline-external-js.tid +8 -0
  221. package/core/templates/external-js/tiddlywiki.js.tiddlers.tid +4 -0
  222. package/core/templates/external-js/tiddlywiki5-external-js.html.tid +3 -2
  223. package/core/templates/html-div-tiddler.tid +1 -1
  224. package/core/templates/html-json-skinny-tiddler.tid +4 -0
  225. package/core/templates/html-json-tiddler.tid +3 -0
  226. package/core/templates/save-lazy-images.tid +1 -1
  227. package/core/templates/store.area.template.html.tid +35 -12
  228. package/core/templates/tiddlywiki5.html.tid +1 -1
  229. package/core/ui/Components/plugin-info.tid +57 -55
  230. package/core/ui/Components/tag-link.tid +1 -1
  231. package/core/ui/ControlPanel/Cascades/EditTemplateBody.tid +9 -0
  232. package/core/ui/ControlPanel/Cascades/FieldEditor.tid +9 -0
  233. package/core/ui/ControlPanel/Cascades/StoryTiddler.tid +9 -0
  234. package/core/ui/ControlPanel/Cascades/TiddlerColour.tid +9 -0
  235. package/core/ui/ControlPanel/Cascades/TiddlerIcon.tid +9 -0
  236. package/core/ui/ControlPanel/Cascades/ViewTemplateBody.tid +9 -0
  237. package/core/ui/ControlPanel/Cascades/ViewTemplateTitle.tid +9 -0
  238. package/core/ui/ControlPanel/Cascades.tid +9 -0
  239. package/core/ui/ControlPanel/Plugins/Installed/Languages.tid +1 -0
  240. package/core/ui/ControlPanel/Plugins/Installed/Plugins.tid +1 -0
  241. package/core/ui/ControlPanel/Plugins/Installed/Themes.tid +1 -0
  242. package/core/ui/ControlPanel/Plugins.tid +1 -1
  243. package/core/ui/ControlPanel/Saving/GitHub.tid +1 -1
  244. package/core/ui/ControlPanel/Saving/TiddlySpot.tid +0 -2
  245. package/core/ui/EditTemplate/Preview/diffs-current.tid +1 -1
  246. package/core/ui/EditTemplate/Preview/diffs-shadow.tid +1 -1
  247. package/core/ui/EditTemplate/body/canonical-uri.tid +13 -0
  248. package/core/ui/EditTemplate/body/default.tid +38 -0
  249. package/core/ui/EditTemplate/body-editor.tid +10 -1
  250. package/core/ui/EditTemplate/body-toolbar-button.tid +8 -6
  251. package/core/ui/EditTemplate/body.tid +1 -47
  252. package/core/ui/EditTemplate/fieldEditor-default.tid +3 -0
  253. package/core/ui/EditTemplate/fields.tid +7 -5
  254. package/core/ui/EditTemplate/tags.tid +3 -3
  255. package/core/ui/EditTemplate/title.tid +1 -1
  256. package/core/ui/EditTemplate/type.tid +2 -2
  257. package/core/ui/EditTemplate.tid +2 -2
  258. package/core/ui/EditorToolbar/file-import.tid +41 -0
  259. package/core/ui/EditorToolbar/link-dropdown.tid +1 -1
  260. package/core/ui/EditorToolbar/preview.tid +4 -4
  261. package/core/ui/EditorToolbar/stamp-dropdown-item-template.tid +53 -0
  262. package/core/ui/EditorToolbar/stamp-dropdown.tid +1 -43
  263. package/core/ui/EditorToolbar/stamp.tid +1 -0
  264. package/core/ui/ExportTiddlyWikiCore.tid +22 -0
  265. package/core/ui/ImportListing.tid +20 -1
  266. package/core/ui/ListTaggedCascade.tid +14 -0
  267. package/core/ui/MoreSideBar/plugins/Languages.tid +1 -1
  268. package/core/ui/MoreSideBar/plugins/Plugins.tid +1 -1
  269. package/core/ui/MoreSideBar/plugins/Theme.tid +1 -1
  270. package/core/ui/PageControls/advanced-search.tid +1 -0
  271. package/core/ui/PageControls/closeall.tid +4 -1
  272. package/core/ui/PageControls/controlpanel.tid +1 -0
  273. package/core/ui/PageControls/encryption.tid +6 -2
  274. package/core/ui/PageControls/export-tiddlywikicore.tid +22 -0
  275. package/core/ui/PageControls/fold-all.tid +4 -1
  276. package/core/ui/PageControls/full-screen.tid +4 -1
  277. package/core/ui/PageControls/home.tid +4 -1
  278. package/core/ui/PageControls/import.tid +4 -1
  279. package/core/ui/PageControls/language.tid +0 -1
  280. package/core/ui/PageControls/manager.tid +4 -1
  281. package/core/ui/PageControls/more-page-actions.tid +4 -1
  282. package/core/ui/PageControls/new-image.tid +3 -1
  283. package/core/ui/PageControls/new-journal.tid +4 -1
  284. package/core/ui/PageControls/newtiddler.tid +3 -1
  285. package/core/ui/PageControls/palette.tid +0 -1
  286. package/core/ui/PageControls/print.tid +4 -1
  287. package/core/ui/PageControls/refresh.tid +4 -1
  288. package/core/ui/PageControls/savewiki.tid +4 -1
  289. package/core/ui/PageControls/storyview.tid +0 -1
  290. package/core/ui/PageControls/tag-button.tid +4 -1
  291. package/core/ui/PageControls/theme.tid +0 -1
  292. package/core/ui/PageControls/timestamp.tid +6 -2
  293. package/core/ui/PageControls/unfold-all.tid +4 -1
  294. package/core/ui/PageTemplate/story.tid +1 -1
  295. package/core/ui/PaletteManager.tid +1 -1
  296. package/core/ui/PluginListItemTemplate.tid +13 -3
  297. package/core/ui/SideBar/Open.tid +2 -2
  298. package/core/ui/StoryTiddlerTemplate.tid +3 -0
  299. package/core/ui/TagPickerTagTemplate.tid +3 -3
  300. package/core/ui/TagTemplate.tid +2 -2
  301. package/core/ui/TiddlerIcon.tid +8 -0
  302. package/core/ui/ViewTemplate/body/blank.tid +3 -0
  303. package/core/ui/ViewTemplate/body/code.tid +3 -0
  304. package/core/ui/ViewTemplate/body/default.tid +7 -0
  305. package/core/ui/ViewTemplate/{import.tid → body/import.tid} +9 -3
  306. package/core/ui/ViewTemplate/body/plugin.tid +10 -0
  307. package/core/ui/ViewTemplate/body.tid +1 -9
  308. package/core/ui/ViewTemplate/title/default.tid +6 -0
  309. package/core/ui/ViewTemplate/title/system.tid +6 -0
  310. package/core/ui/ViewTemplate/title.tid +6 -22
  311. package/core/ui/ViewTemplate.tid +6 -1
  312. package/core/ui/ViewToolbar/clone.tid +0 -1
  313. package/core/ui/ViewToolbar/close-others.tid +0 -1
  314. package/core/ui/ViewToolbar/edit.tid +0 -1
  315. package/core/ui/ViewToolbar/fold-others.tid +0 -1
  316. package/core/ui/ViewToolbar/fold.tid +0 -2
  317. package/core/ui/ViewToolbar/info.tid +1 -0
  318. package/core/ui/ViewToolbar/more-tiddler-actions.tid +0 -1
  319. package/core/ui/ViewToolbar/new-here.tid +1 -0
  320. package/core/ui/ViewToolbar/new-journal-here.tid +1 -0
  321. package/core/ui/ViewToolbar/open-window.tid +0 -1
  322. package/core/ui/ViewToolbar/permalink.tid +0 -1
  323. package/core/ui/ViewToolbar/permaview.tid +0 -1
  324. package/core/wiki/allfields.tid +1 -1
  325. package/core/wiki/config/EditTabIndex.tid +1 -2
  326. package/core/wiki/config/EditTemplateBodyFilters.multids +5 -0
  327. package/core/wiki/config/EditorEnableImportFilter.tid +4 -0
  328. package/core/wiki/config/EditorImportContentTypesFilter.tid +4 -0
  329. package/core/wiki/config/FieldEditorFilters.multids +4 -0
  330. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  331. package/core/wiki/config/StoryTiddlerTemplateFilters.multids +5 -0
  332. package/core/wiki/config/TiddlerColourFilters.multids +5 -0
  333. package/core/wiki/config/TiddlerIconFilters.multids +5 -0
  334. package/core/wiki/config/ViewTemplateBodyFilters.multids +9 -0
  335. package/core/wiki/config/ViewTemplateTitleFilters.multids +5 -0
  336. package/core/wiki/config/shortcuts/shortcuts-mac.multids +0 -2
  337. package/core/wiki/config/shortcuts/shortcuts.multids +2 -2
  338. package/core/wiki/debugstylesheets.tid +9 -0
  339. package/core/wiki/macros/export.tid +6 -6
  340. package/core/wiki/macros/list.tid +2 -2
  341. package/core/wiki/macros/tag.tid +4 -2
  342. package/core/wiki/peek-stylesheets.tid +3 -0
  343. package/core/wiki/tags/ControlPanelPlugins.tid +1 -1
  344. package/core/wiki/tags/EditTemplateBodyFilter.tid +2 -0
  345. package/core/wiki/tags/StoryTiddlerTemplateFilter.tid +2 -0
  346. package/core/wiki/tags/TiddlerColourFilter.tid +3 -0
  347. package/core/wiki/tags/TiddlerIconFilter.tid +3 -0
  348. package/core/wiki/tags/ViewTemplateBodyFilter.tid +3 -0
  349. package/core/wiki/tags/ViewTemplateTitleFilter.tid +3 -0
  350. package/core/wiki/title.tid +4 -1
  351. package/core/wiki/viewswitcher.tid +2 -2
  352. package/editions/dev/tiddlers/HelloThere.tid +3 -1
  353. package/editions/dev/tiddlers/from Heigele and Jurke/Data-Storage.tid +1 -9
  354. package/editions/dev/tiddlers/from Heigele and Jurke/Syncadaptor.tid +2 -2
  355. package/editions/dev/tiddlers/from tw5.com/moduletypes/SyncAdaptorModules.tid +1 -1
  356. package/editions/dev/tiddlers/from tw5.com/moduletypes/WikiRuleModules.tid +6 -5
  357. package/editions/dev/tiddlers/new/Data Storage in Single File TiddlyWiki.tid +100 -0
  358. package/editions/dev/tiddlers/new/Data Storage.tid +10 -0
  359. package/editions/dev/tiddlers/new/Hook_ th-before-importing.tid +68 -0
  360. package/editions/dev/tiddlers/new/Hook_ th-closing-tiddler.tid +20 -0
  361. package/editions/dev/tiddlers/new/Hook__th-importing-tiddler.tid +3 -1
  362. package/editions/dev/tiddlers/new/ParserSubclassingMechanism.tid +42 -0
  363. package/editions/dev/tiddlers/new/TiddlyWiki Drag and Drop Interop.tid +15 -0
  364. package/editions/dev/tiddlers/new/dragndropinterop.html +35 -0
  365. package/editions/dev/tiddlers/new/dragndropinterop.html.meta +3 -0
  366. package/editions/dev/tiddlers/new/save-dragndropinterop.tid +3 -0
  367. package/editions/dynaviewdemo/tiddlers/SideBar-Open.tid +1 -1
  368. package/editions/dynaviewdemo/tiddlers/ViewTemplate.tid +4 -7
  369. package/editions/es-ES/tiddlers/Page_and_tiddler_layout_customisation.tid +1 -1
  370. package/editions/fr-FR/output/images/Blurry%20Lawn.jpg +0 -0
  371. package/editions/fr-FR/output/images/Newnham%20Horizon.jpg +0 -0
  372. package/editions/fr-FR/output/index.html +5051 -0
  373. package/editions/fr-FR/output/text/Alice%20in%20Wonderland.tid +3709 -0
  374. package/editions/fr-FR/tiddlers/$ _config_ViewTemplateTitleFilters_fr-default.tid +7 -0
  375. package/editions/fr-FR/tiddlers/$ _core_ui_ViewTemplate_title_fr-default.tid +8 -0
  376. package/editions/fr-FR/tiddlers/$__deprecated.tid +9 -0
  377. package/editions/fr-FR/tiddlers/$__editions_fr-FR_util-macros.tid +1 -0
  378. package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +69 -5
  379. package/editions/fr-FR/tiddlers/$__editions_tw5.com_version-macros.tid +15 -0
  380. package/editions/fr-FR/tiddlers/$__editions_tw5.com_wikitext-macros.tid +2 -2
  381. package/editions/fr-FR/tiddlers/Block_Quotes_in_WikiText.tid +15 -8
  382. package/editions/fr-FR/tiddlers/CamelCase.tid +6 -3
  383. package/editions/fr-FR/tiddlers/Code Blocks in WikiText.tid +27 -16
  384. package/editions/fr-FR/tiddlers/Community Links Aggregator.tid +11 -0
  385. package/editions/fr-FR/tiddlers/Community.tid +6 -4
  386. package/editions/fr-FR/tiddlers/Creating and editing tiddlers.tid +11 -11
  387. package/editions/fr-FR/tiddlers/Deprecated - What does it mean.tid +17 -0
  388. package/editions/fr-FR/tiddlers/Developers.tid +10 -5
  389. package/editions/fr-FR/tiddlers/Federatial.tid +11 -0
  390. package/editions/fr-FR/tiddlers/Formatting in WikiText.tid +12 -12
  391. package/editions/fr-FR/tiddlers/Forums.tid +27 -13
  392. package/editions/fr-FR/tiddlers/GettingStarted.tid +16 -14
  393. package/editions/fr-FR/tiddlers/Glossaire en-GB -_ fr-FR.tid +3 -1
  394. package/editions/fr-FR/tiddlers/HTML in WikiText.tid +77 -28
  395. package/editions/fr-FR/tiddlers/Headings in WikiText.tid +2 -2
  396. package/editions/fr-FR/tiddlers/HelloThere.tid +15 -12
  397. package/editions/fr-FR/tiddlers/HelloThumbnail - Latest Version.tid +1 -1
  398. package/editions/fr-FR/tiddlers/How to export tiddlers.tid +31 -0
  399. package/editions/fr-FR/tiddlers/ImageWidget.tid +33 -0
  400. package/editions/fr-FR/tiddlers/Images in WikiText.tid +69 -0
  401. package/editions/fr-FR/tiddlers/Importing Tiddlers.tid +26 -0
  402. package/editions/fr-FR/tiddlers/JeremyRuston.tid +9 -9
  403. package/editions/fr-FR/tiddlers/Linking in WikiText.tid +108 -19
  404. package/editions/fr-FR/tiddlers/ListField.tid +6 -6
  405. package/editions/fr-FR/tiddlers/Macros in WikiText.tid +5 -5
  406. package/editions/fr-FR/tiddlers/Macros.tid +17 -8
  407. package/editions/fr-FR/tiddlers/Page and tiddler layout customisation.tid +1 -1
  408. package/editions/fr-FR/tiddlers/PermaLinks.tid +19 -19
  409. package/editions/fr-FR/tiddlers/Philosophy of Tiddlers.tid +2 -2
  410. package/editions/fr-FR/tiddlers/Saving.tid +63 -4
  411. package/editions/fr-FR/tiddlers/Share Plugin.tid +15 -0
  412. package/editions/fr-FR/tiddlers/{Sharing_a_TiddlyWiki_on_Dropbox.tid → Sharing a TiddlyWiki on Dropbox.tid } +12 -4
  413. package/editions/fr-FR/tiddlers/Sharing your tiddlers with others.tid +18 -0
  414. package/editions/fr-FR/tiddlers/Structuring TiddlyWiki.tid +6 -6
  415. package/editions/fr-FR/tiddlers/Styles and Classes in WikiText.tid +11 -10
  416. package/editions/fr-FR/tiddlers/Tagging.tid +24 -18
  417. package/editions/fr-FR/tiddlers/TaskManagementExample.tid +3 -1
  418. package/editions/fr-FR/tiddlers/TiddlerLinks.tid +5 -5
  419. package/editions/fr-FR/tiddlers/TiddlyFox Apocalypse.tid +46 -0
  420. package/editions/fr-FR/tiddlers/TiddlyFox.tid +6 -3
  421. package/editions/fr-FR/tiddlers/TiddlyWiki.tid +6 -4
  422. package/editions/fr-FR/tiddlers/_TiddlyWiki for Scholars_ by Alberto Molina.tid +2 -2
  423. package/editions/innerwikidemo/tiddlywiki.info +2 -1
  424. package/editions/introduction/tiddlers/slides/TiddlyWiki.tid +1 -1
  425. package/editions/introduction/tiddlywiki.info +8 -1
  426. package/editions/prerelease/tiddlers/{Release 5.1.24.tid → Release 5.2.3.tid } +44 -12
  427. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  428. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  429. package/editions/prerelease/tiddlers/system/download-empty.tid +10 -0
  430. package/editions/server-external-js/tiddlywiki.info +7 -4
  431. package/editions/test/tiddlers/tests/data/deserializers/case 1.tid +4 -0
  432. package/editions/test/tiddlers/tests/data/deserializers/case 2.tid +12 -0
  433. package/editions/test/tiddlers/tests/data/deserializers/case 3.tid +18 -0
  434. package/editions/test/tiddlers/tests/data/deserializers/case 4.tid +19 -0
  435. package/editions/test/tiddlers/tests/data/deserializers/case 5.tid +20 -0
  436. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal-all.tid +33 -0
  437. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal.tid +43 -0
  438. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-vertical.tid +43 -0
  439. package/editions/test/tiddlers/tests/test-action-widgets.js +55 -0
  440. package/editions/test/tiddlers/tests/test-deserializers.js +39 -0
  441. package/editions/test/tiddlers/tests/test-filters.js +1018 -753
  442. package/editions/test/tiddlers/tests/test-html-parser.js +33 -12
  443. package/editions/test/tiddlers/tests/test-linked-list.js +182 -66
  444. package/editions/test/tiddlers/tests/test-parsetextreference.js +132 -0
  445. package/editions/test/tiddlers/tests/test-prefixes-filter.js +319 -5
  446. package/editions/test/tiddlers/tests/test-tags.js +19 -0
  447. package/editions/test/tiddlers/tests/test-utils.js +10 -0
  448. package/editions/test/tiddlers/tests/test-widget.js +189 -0
  449. package/editions/test/tiddlers/tests/test-wikitext-parser.js +140 -20
  450. package/editions/test/tiddlers/tests/test-wikitext-tabs-macro.js +86 -0
  451. package/editions/tw.org/tiddlers/$__DefaultTiddlers.tid +6 -0
  452. package/editions/tw.org/tiddlers/$__SiteSubtitle.tid +6 -0
  453. package/editions/tw.org/tiddlers/$__SiteTitle.tid +6 -0
  454. package/editions/tw.org/tiddlers/$__StoryList.tid +3 -0
  455. package/editions/tw.org/tiddlers/$__favicon.ico.png +0 -0
  456. package/editions/tw.org/tiddlers/$__favicon.ico.png.meta +4 -0
  457. package/editions/tw.org/tiddlers/$__palette.tid +6 -0
  458. package/editions/tw.org/tiddlers/$__palettes_BlueFlavour +165 -0
  459. package/editions/tw.org/tiddlers/$__palettes_BlueFlavour.meta +8 -0
  460. package/editions/tw.org/tiddlers/$__palettes_FlowingSun +165 -0
  461. package/editions/tw.org/tiddlers/$__palettes_FlowingSun.meta +8 -0
  462. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_bodyfontsize.tid +6 -0
  463. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_bodylineheight.tid +6 -0
  464. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_sidebarwidth.tid +6 -0
  465. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +6 -0
  466. package/editions/tw.org/tiddlers/HelloThere.tid +14 -0
  467. package/editions/tw.org/tiddlers/Table of Contents.tid +11 -0
  468. package/editions/tw.org/tiddlers/TiddlyWiki.tid +8 -0
  469. package/editions/tw.org/tiddlywiki.info +30 -0
  470. package/editions/tw5.com/tiddlers/$__StoryList.tid +5 -0
  471. package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +1 -1
  472. package/editions/tw5.com/tiddlers/{License.tid → about/License.tid} +0 -0
  473. package/editions/tw5.com/tiddlers/commands/NamedCommandParameters.tid +2 -2
  474. package/editions/tw5.com/tiddlers/community/Community Editions.tid +24 -0
  475. package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +10 -0
  476. package/editions/tw5.com/tiddlers/community/Community Palettes.tid +24 -0
  477. package/editions/tw5.com/tiddlers/community/Community Plugins.tid +24 -0
  478. package/editions/tw5.com/tiddlers/community/Community Themes.tid +24 -0
  479. package/editions/tw5.com/tiddlers/community/Community.tid +5 -3
  480. package/editions/tw5.com/tiddlers/community/Contributing.tid +49 -13
  481. package/editions/tw5.com/tiddlers/community/Contributor License Agreement.tid +3 -3
  482. package/editions/tw5.com/tiddlers/community/Forums.tid +16 -13
  483. package/editions/tw5.com/tiddlers/community/Other Resources.tid +24 -0
  484. package/editions/tw5.com/tiddlers/community/Signing the Contributor License Agreement.tid +2 -2
  485. package/editions/tw5.com/tiddlers/community/TW Icons by morosanuae.tid +9 -0
  486. package/editions/tw5.com/tiddlers/community/TiddlyWiki Hangouts.tid +2 -2
  487. package/editions/tw5.com/tiddlers/community/editions/Drift by Tony K.tid +17 -0
  488. package/editions/tw5.com/tiddlers/community/editions/Stroll by David Gifford.tid +18 -0
  489. package/editions/tw5.com/tiddlers/community/editions/TiddlyResearch by Kebi.tid +25 -0
  490. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Cardo-A Task and Project Management Wiki_ by David_Szego.tid +2 -2
  491. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Noteself_ by Danielo Rodriguez.tid +2 -2
  492. package/editions/tw5.com/tiddlers/community/examples/PETTIL.tid +1 -1
  493. package/editions/tw5.com/tiddlers/community/examples/Reveal.js by Devin Weaver.tid +2 -2
  494. package/editions/tw5.com/tiddlers/community/{resources → examples}/_Lucky Sushi_ online shop by sini-Kit.tid +3 -3
  495. package/editions/tw5.com/tiddlers/community/palettes/Dracula for tiddlywiki.tid +22 -0
  496. package/editions/tw5.com/tiddlers/community/palettes/palletes by JD.tid +20 -0
  497. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Ace Editor Plugin by Joerg Plewe.tid +2 -2
  498. package/editions/tw5.com/tiddlers/community/{resources → plugins}/BJHacks.tid +2 -2
  499. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Disqus comments plugin by bimlas.tid +2 -2
  500. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Encrypt single tiddler plugin.tid +2 -2
  501. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Eucalys Tiddly World.tid +4 -3
  502. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Favorites by Mohammad.tid +1 -1
  503. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Full Text Search Plugin by Rob Hoelz.tid +2 -2
  504. package/editions/tw5.com/tiddlers/community/{resources → plugins}/GSD5.tid +3 -3
  505. package/editions/tw5.com/tiddlers/community/{resources → plugins}/IndexedDB Plugin by Andreas Abeck.tid +2 -2
  506. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Json Mangler plugin by Joshua Fontany.tid +3 -2
  507. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kin filter operator by bimlas.tid +2 -2
  508. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kookma Plugin Library by Mohammad.tid +1 -1
  509. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Leaflet_maps_plugin_by_Sylvain_Comte.tid +2 -2
  510. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Locator plugin by bimlas.tid +2 -2
  511. package/editions/tw5.com/tiddlers/community/{resources → plugins}/MathJax Plugin by Martin Kantor.tid +2 -2
  512. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Plugins by TheDiveO.tid +2 -2
  513. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Refnotes by Mohammad.tid +4 -4
  514. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Searchwikis by Mohammad.tid +2 -2
  515. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Shiraz by Mohammad.tid +2 -2
  516. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Slider by Mohammad.tid +1 -1
  517. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tiddler Commander by Mohammad.tid +1 -1
  518. package/editions/tw5.com/tiddlers/community/plugins/TiddlyClip by buggyjay.tid +14 -0
  519. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyMap by Felix Kuppers.tid +2 -2
  520. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyWiki for Scholars.tid +2 -2
  521. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tiddlyshow by Mohammad.tid +1 -1
  522. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Timelines by Mohammad.tid +1 -1
  523. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tinka by Andreas Hahn.tid +2 -2
  524. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Todolist by Mohammad.tid +1 -1
  525. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Trashbin by Mohammad.tid +1 -1
  526. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Utility by Mohammad.tid +1 -1
  527. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_JD Mobile Layout plugin_ by JD.tid +2 -2
  528. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Mal's Sandbox_ by Mal.tid +2 -2
  529. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_SK_Plugins_ by Stephen Kimmel.tid +2 -2
  530. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Slides and Stories_ by Jan.tid +2 -2
  531. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_TW5-TeXZilla_ plugin by Joe Renes.tid +2 -2
  532. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Tekan_ Kanban that stays with you_ by Riz.tid +2 -2
  533. package/editions/tw5.com/tiddlers/community/{resources → plugins}/datepicker based on Pikaday.tid +2 -2
  534. package/editions/tw5.com/tiddlers/community/{resources → plugins}/rboue's plugins for TiddlyWiki.tid +2 -2
  535. package/editions/tw5.com/tiddlers/community/{resources → plugins}/vis.js Timeline.tid +2 -2
  536. package/editions/tw5.com/tiddlers/community/resources/BrainTest.tid +2 -2
  537. package/editions/tw5.com/tiddlers/community/resources/Code styles and auto format settings for IDEs.tid +2 -2
  538. package/editions/tw5.com/tiddlers/community/resources/CouchDB Adaptor.tid +2 -2
  539. package/editions/tw5.com/tiddlers/community/resources/Filter Examples by Tobias Beer.tid +2 -2
  540. package/editions/tw5.com/tiddlers/community/resources/Font Awesome 5 Free SVGs for TiddlyWiki by morosanuae.tid +2 -2
  541. package/editions/tw5.com/tiddlers/community/resources/Gospel_Bubbles_by_Rev_David_Gifford.tid +2 -2
  542. package/editions/tw5.com/tiddlers/community/resources/Grok TiddlyWiki by Soren Bjornstad.tid +16 -0
  543. package/editions/tw5.com/tiddlers/community/resources/Heeg.ru.tid +2 -2
  544. package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +20 -0
  545. package/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid +2 -2
  546. package/editions/tw5.com/tiddlers/community/resources/SeeAlso by Matias Goldman.tid +2 -2
  547. package/editions/tw5.com/tiddlers/community/resources/Semantic Colors by Mohammad.tid +2 -2
  548. package/editions/tw5.com/tiddlers/community/resources/TB5 a pocket full of tips by Tobias Beer.tid +2 -2
  549. package/editions/tw5.com/tiddlers/community/resources/TW-Scripts by Mohammad.tid +2 -2
  550. package/editions/tw5.com/tiddlers/community/resources/TW5 Magick.tid +2 -2
  551. package/editions/tw5.com/tiddlers/community/resources/TW5-SingleExecutable_by_Jed_Carty.tid +2 -2
  552. package/editions/tw5.com/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +27 -0
  553. package/editions/tw5.com/tiddlers/community/resources/TWCommunitySearch.tid +2 -2
  554. package/editions/tw5.com/tiddlers/community/resources/TWaddle by Matias Goldman.tid +1 -1
  555. package/editions/tw5.com/tiddlers/community/resources/TiddlyChrome by Arlen Beiler.tid +2 -2
  556. package/editions/tw5.com/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +4 -4
  557. package/editions/tw5.com/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +2 -2
  558. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Notes.tid +2 -2
  559. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Posts.tid +2 -2
  560. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Video Tutorials by Francis Meetze.tid +2 -2
  561. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for Sublime Text 3 by roma0104.tid +2 -2
  562. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for ViM.tid +2 -2
  563. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki guide FR.tid +2 -2
  564. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki wu.tid +2 -2
  565. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Playground.tid +2 -2
  566. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Squared by Iannis Zannos.tid +2 -2
  567. package/editions/tw5.com/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +2 -2
  568. package/editions/tw5.com/tiddlers/community/resources/Widdly by Opennota.tid +2 -2
  569. package/editions/tw5.com/tiddlers/community/resources/Wikilabs by PMario.tid +3 -3
  570. package/editions/tw5.com/tiddlers/community/resources/Wills QnD gTD.tid +2 -2
  571. package/editions/tw5.com/tiddlers/community/resources/_ATWiki_ by Lamusia Project.tid +2 -2
  572. package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +2 -2
  573. package/editions/tw5.com/tiddlers/community/resources/_Dynamic Tables_ by Jed Carty.tid +2 -2
  574. package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +3 -2
  575. package/editions/tw5.com/tiddlers/community/resources/_In My Socks_ by Jed Carty.tid +2 -2
  576. package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +3 -2
  577. package/editions/tw5.com/tiddlers/community/resources/_TWeb.at_ by Mario Pietsch.tid +2 -2
  578. package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +6 -3
  579. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Knowledge Network_ by Dmitry Sokolov.tid +2 -2
  580. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Toolmap_ by David Gifford.tid +2 -2
  581. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Bourbon_ from mkt_memory.tid +2 -2
  582. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Forum on Reddit_ by Riz.tid +2 -2
  583. package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +2 -2
  584. package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +2 -2
  585. package/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid +2 -2
  586. package/editions/tw5.com/tiddlers/community/resources/_muritest_ by Simon Huber.tid +2 -2
  587. package/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +2 -2
  588. package/editions/tw5.com/tiddlers/community/resources/twproxy by Steve Gattuso.tid +2 -2
  589. package/editions/tw5.com/tiddlers/community/themes/Mono theme by JD.tid +11 -0
  590. package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +19 -0
  591. package/editions/tw5.com/tiddlers/community/themes/Whitespace a negative-spacious webapp-nostalgic theme by JD.tid +11 -0
  592. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Ghostwriter theme by Rory Gibson_ by Riz.tid +2 -2
  593. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Moments-A little color won't hurt_ by Riz.tid +2 -2
  594. package/editions/tw5.com/tiddlers/community/{resources → tutorials}/GitHub Saver Tutorial by Mohammad.tid +2 -2
  595. package/editions/tw5.com/tiddlers/concepts/Cascades.tid +48 -0
  596. package/editions/tw5.com/tiddlers/concepts/Concepts.tid +5 -3
  597. package/editions/tw5.com/tiddlers/concepts/Customizing EditTemplate Field Rendering.tid +31 -0
  598. package/editions/tw5.com/tiddlers/concepts/Edit Template Body Cascade.tid +16 -0
  599. package/editions/tw5.com/tiddlers/concepts/Field Editor Cascade.tid +17 -0
  600. package/editions/tw5.com/tiddlers/concepts/Filters.tid +15 -10
  601. package/editions/tw5.com/tiddlers/concepts/Macros.tid +1 -3
  602. package/editions/tw5.com/tiddlers/concepts/Messages.tid +2 -2
  603. package/editions/tw5.com/tiddlers/concepts/ModuleType.tid +2 -2
  604. package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +1 -1
  605. package/editions/tw5.com/tiddlers/concepts/PermaLinks.tid +2 -2
  606. package/editions/tw5.com/tiddlers/concepts/Pragma.tid +2 -2
  607. package/editions/tw5.com/tiddlers/concepts/Railroad Diagrams.tid +2 -1
  608. package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +14 -3
  609. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template Cascade.tid +16 -0
  610. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template.tid +13 -0
  611. package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +9 -9
  612. package/editions/tw5.com/tiddlers/concepts/TagTiddlers.tid +1 -1
  613. package/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid +16 -0
  614. package/editions/tw5.com/tiddlers/concepts/Tiddler Icon Cascade.tid +16 -0
  615. package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +2 -1
  616. package/editions/tw5.com/tiddlers/concepts/View Template Body Cascade.tid +19 -0
  617. package/editions/tw5.com/tiddlers/concepts/View Template Title Cascade.tid +16 -0
  618. package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +1 -1
  619. package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +35 -0
  620. package/editions/tw5.com/tiddlers/customising/Customise TiddlyWiki.tid +3 -3
  621. package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +75 -0
  622. package/editions/tw5.com/tiddlers/definitions/BT.tid +3 -2
  623. package/editions/tw5.com/tiddlers/definitions/MathML.tid +2 -2
  624. package/editions/tw5.com/tiddlers/definitions/Osmosoft.tid +3 -2
  625. package/editions/tw5.com/tiddlers/definitions/node-webkit.tid +2 -1
  626. package/editions/tw5.com/tiddlers/demonstrations/Alice in Wonderland.tid +1 -1
  627. package/editions/tw5.com/tiddlers/demonstrations/Apple.tid +7 -2
  628. package/editions/tw5.com/tiddlers/demonstrations/Caruso - Ave Maria.tid +1 -0
  629. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid +10 -0
  630. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +32 -0
  631. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid +26 -0
  632. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/TiddlerTemplateFilter.tid +6 -0
  633. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerColourCascadeDemo/CustomTiddlerColourCascadeDemo.tid +9 -0
  634. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerIconCascadeDemo/CustomTiddlerIconCascadeDemo.tid +9 -0
  635. package/editions/tw5.com/tiddlers/demonstrations/ImageGallery Example.tid +5 -16
  636. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/Demonstration_ keyboard-driven-input Macro.tid +121 -0
  637. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/kdi-demo-configtid.tid +7 -0
  638. package/editions/tw5.com/tiddlers/demonstrations/SampleNotification.tid +2 -1
  639. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerFirst.tid +3 -1
  640. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerSecond.tid +3 -1
  641. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerThird.tid +3 -1
  642. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard.tid +2 -1
  643. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard2.tid +2 -1
  644. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Contents.tid +3 -2
  645. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/First.tid +3 -3
  646. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstOne.tid +2 -2
  647. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstThree.tid +2 -2
  648. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstTwo.tid +2 -2
  649. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Fourth.tid +2 -2
  650. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Second.tid +2 -2
  651. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondOne.tid +2 -2
  652. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThree.tid +3 -3
  653. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeOne.tid +2 -2
  654. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeThree.tid +2 -2
  655. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeTwo.tid +2 -2
  656. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondTwo.tid +2 -2
  657. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Third.tid +3 -3
  658. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdOne.tid +2 -2
  659. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdThree.tid +2 -2
  660. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdTwo.tid +2 -2
  661. package/editions/tw5.com/tiddlers/demonstrations/Tagged with TagMacro.tid +2 -1
  662. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Compose ballad.tid +3 -3
  663. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Get the Ring.tid +3 -3
  664. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Go to Mordor.tid +3 -3
  665. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Kill the Dragon.tid +4 -4
  666. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Make the beds.tid +3 -3
  667. package/editions/tw5.com/tiddlers/demonstrations/Tasks/done.tid +3 -1
  668. package/editions/tw5.com/tiddlers/demonstrations/Tasks/task.tid +3 -2
  669. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Days of the Week.tid +5 -4
  670. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Friday.tid +2 -1
  671. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Monday.tid +2 -1
  672. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Saturday.tid +3 -2
  673. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Sunday.tid +2 -1
  674. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Thursday.tid +2 -1
  675. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Tuesday.tid +2 -1
  676. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Wednesday.tid +2 -1
  677. package/editions/tw5.com/tiddlers/demonstrations/sampletag1.tid +3 -0
  678. package/editions/tw5.com/tiddlers/demonstrations/sampletag2.tid +3 -0
  679. package/editions/tw5.com/tiddlers/features/DateFormat.tid +11 -2
  680. package/editions/tw5.com/tiddlers/features/Importing Tiddlers.tid +1 -1
  681. package/editions/tw5.com/tiddlers/features/LazyLoading.tid +2 -3
  682. package/editions/tw5.com/tiddlers/features/Modals.tid +2 -1
  683. package/editions/tw5.com/tiddlers/features/Performance Instrumentation.tid +1 -1
  684. package/editions/tw5.com/tiddlers/features/Scalability.tid +4 -2
  685. package/editions/tw5.com/tiddlers/fileformats/TiddlerFiles.tid +15 -4
  686. package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +11 -7
  687. package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -1
  688. package/editions/tw5.com/tiddlers/filters/acos Operator.tid +15 -0
  689. package/editions/tw5.com/tiddlers/filters/all.tid +2 -2
  690. package/editions/tw5.com/tiddlers/filters/asin Operator.tid +15 -0
  691. package/editions/tw5.com/tiddlers/filters/atan Operator.tid +13 -0
  692. package/editions/tw5.com/tiddlers/filters/atan2 Operator.tid +15 -0
  693. package/editions/tw5.com/tiddlers/filters/average.tid +13 -0
  694. package/editions/tw5.com/tiddlers/filters/butlast.tid +3 -1
  695. package/editions/tw5.com/tiddlers/filters/charcode.tid +17 -0
  696. package/editions/tw5.com/tiddlers/filters/cos Operator.tid +13 -0
  697. package/editions/tw5.com/tiddlers/filters/deserializers Operator.tid +14 -0
  698. package/editions/tw5.com/tiddlers/filters/duplicateslugs Operator.tid +3 -3
  699. package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -3
  700. package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +1 -1
  701. package/editions/tw5.com/tiddlers/filters/examples/acos Operator (Examples).tid +7 -0
  702. package/editions/tw5.com/tiddlers/filters/examples/asin Operator (Examples).tid +7 -0
  703. package/editions/tw5.com/tiddlers/filters/examples/atan Operator (Examples).tid +7 -0
  704. package/editions/tw5.com/tiddlers/filters/examples/atan2 Operator (Examples).tid +7 -0
  705. package/editions/tw5.com/tiddlers/filters/examples/average Operator (Examples).tid +10 -0
  706. package/editions/tw5.com/tiddlers/filters/examples/butlast.tid +4 -3
  707. package/editions/tw5.com/tiddlers/filters/examples/charcode.tid +7 -0
  708. package/editions/tw5.com/tiddlers/filters/examples/cos Operator (Examples).tid +7 -0
  709. package/editions/tw5.com/tiddlers/filters/examples/cycle Operator (Examples).tid +1 -1
  710. package/editions/tw5.com/tiddlers/filters/examples/deserializers Operator (Examples).tid +7 -0
  711. package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +16 -1
  712. package/editions/tw5.com/tiddlers/filters/examples/insertbefore Operator (Examples).tid +28 -0
  713. package/editions/tw5.com/tiddlers/filters/examples/log Operator (Examples).tid +1 -1
  714. package/editions/tw5.com/tiddlers/filters/examples/lookup Operator (Examples).tid +7 -1
  715. package/editions/tw5.com/tiddlers/filters/examples/match Operator (Examples).tid +1 -1
  716. package/editions/tw5.com/tiddlers/filters/examples/median Operator (Examples).tid +10 -0
  717. package/editions/tw5.com/tiddlers/filters/examples/moduleproperty Operator (Examples).tid +11 -0
  718. package/editions/tw5.com/tiddlers/filters/examples/modules.tid +4 -1
  719. package/editions/tw5.com/tiddlers/filters/examples/prefix.tid +4 -3
  720. package/editions/tw5.com/tiddlers/filters/examples/removeprefix.tid +2 -1
  721. package/editions/tw5.com/tiddlers/filters/examples/removesuffix.tid +2 -3
  722. package/editions/tw5.com/tiddlers/filters/examples/rest.tid +4 -3
  723. package/editions/tw5.com/tiddlers/filters/examples/search-replace Operator (Examples).tid +13 -1
  724. package/editions/tw5.com/tiddlers/filters/examples/search.tid +6 -1
  725. package/editions/tw5.com/tiddlers/filters/examples/sin Operator (Examples).tid +7 -0
  726. package/editions/tw5.com/tiddlers/filters/examples/sortan.tid +5 -1
  727. package/editions/tw5.com/tiddlers/filters/examples/standard-deviation Operator (Examples).tid +10 -0
  728. package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +25 -3
  729. package/editions/tw5.com/tiddlers/filters/examples/suffix.tid +3 -2
  730. package/editions/tw5.com/tiddlers/filters/examples/tan Operator (Examples).tid +7 -0
  731. package/editions/tw5.com/tiddlers/filters/examples/unique Operator (Examples).tid +8 -0
  732. package/editions/tw5.com/tiddlers/filters/examples/variance Operator (Examples).tid +10 -0
  733. package/editions/tw5.com/tiddlers/filters/examples/zth Operator (Examples).tid +10 -0
  734. package/editions/tw5.com/tiddlers/filters/filter.tid +3 -1
  735. package/editions/tw5.com/tiddlers/filters/format.tid +2 -1
  736. package/editions/tw5.com/tiddlers/filters/insertbefore Operator.tid +21 -5
  737. package/editions/tw5.com/tiddlers/filters/list.tid +2 -2
  738. package/editions/tw5.com/tiddlers/filters/lookup Operator.tid +28 -10
  739. package/editions/tw5.com/tiddlers/filters/median.tid +13 -0
  740. package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +12 -0
  741. package/editions/tw5.com/tiddlers/filters/modules.tid +8 -6
  742. package/editions/tw5.com/tiddlers/filters/nth.tid +9 -7
  743. package/editions/tw5.com/tiddlers/filters/prefix.tid +17 -2
  744. package/editions/tw5.com/tiddlers/filters/range.tid +22 -20
  745. package/editions/tw5.com/tiddlers/filters/reduce.tid +2 -1
  746. package/editions/tw5.com/tiddlers/filters/removeprefix.tid +18 -3
  747. package/editions/tw5.com/tiddlers/filters/removesuffix.tid +18 -3
  748. package/editions/tw5.com/tiddlers/filters/search-replace Operator.tid +2 -2
  749. package/editions/tw5.com/tiddlers/filters/search.tid +10 -9
  750. package/editions/tw5.com/tiddlers/filters/sha256 Operator.tid +18 -0
  751. package/editions/tw5.com/tiddlers/filters/sin Operator.tid +13 -0
  752. package/editions/tw5.com/tiddlers/filters/sortsub Operator.tid +12 -9
  753. package/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid +15 -0
  754. package/editions/tw5.com/tiddlers/filters/storyviews.tid +1 -1
  755. package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +5 -3
  756. package/editions/tw5.com/tiddlers/filters/suffix.tid +17 -2
  757. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +46 -0
  758. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +20 -0
  759. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +12 -3
  760. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +30 -0
  761. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +27 -0
  762. package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +3 -2
  763. package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +9 -34
  764. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +36 -0
  765. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +15 -0
  766. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +41 -0
  767. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +27 -0
  768. package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +3 -3
  769. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +27 -0
  770. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +38 -0
  771. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +33 -0
  772. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +32 -0
  773. package/editions/tw5.com/tiddlers/filters/tan Operator.tid +13 -0
  774. package/editions/tw5.com/tiddlers/filters/unique.tid +10 -0
  775. package/editions/tw5.com/tiddlers/filters/variance Operator.tid +15 -0
  776. package/editions/tw5.com/tiddlers/filters/zth Operator.tid +18 -0
  777. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Android.tid +2 -1
  778. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid +2 -1
  779. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +2 -1
  780. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +2 -1
  781. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Node.js.tid +2 -1
  782. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Online.tid +2 -2
  783. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Safari.tid +2 -1
  784. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - iOS.tid +2 -1
  785. package/editions/tw5.com/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid +5 -2
  786. package/editions/tw5.com/tiddlers/{AllTiddlers.tid → hellothere/AllTiddlers.tid} +0 -0
  787. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +3 -3
  788. package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
  789. package/editions/tw5.com/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid +2 -2
  790. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Badge.svg.tid +1 -0
  791. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Link.tid +1 -0
  792. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +6 -0
  793. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +6 -0
  794. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid +13 -0
  795. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting NewImageType.tid +3 -1
  796. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting ShowEditPreviewPerTiddler.tid +10 -0
  797. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Disable Drag and Drop.tid +2 -2
  798. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid +12 -0
  799. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Typin Refresh Delay.tid +2 -2
  800. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid +11 -0
  801. package/editions/tw5.com/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +4 -14
  802. package/editions/tw5.com/tiddlers/howtos/Creating SubStories.tid +21 -33
  803. package/editions/tw5.com/tiddlers/howtos/Debugging Stylesheets.tid +11 -0
  804. package/editions/tw5.com/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid +4 -0
  805. package/editions/tw5.com/tiddlers/howtos/How to create a custom story tiddler template.tid +40 -0
  806. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler colour rule.tid +36 -0
  807. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler icon rule.tid +36 -0
  808. package/editions/tw5.com/tiddlers/howtos/How to create dynamic editor toolbar buttons.tid +126 -0
  809. package/editions/tw5.com/tiddlers/howtos/Simple ways to write protect tiddlers.tid +4 -5
  810. package/editions/tw5.com/tiddlers/howtos/Text preview.tid +6 -2
  811. package/editions/tw5.com/tiddlers/howtos/Using Stylesheets.tid +10 -4
  812. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png +0 -0
  813. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png.meta +3 -0
  814. package/editions/tw5.com/tiddlers/images/Icon Gallery.tid +14 -0
  815. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  816. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png +0 -0
  817. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png.meta +3 -0
  818. package/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid +11 -0
  819. package/editions/tw5.com/tiddlers/languages/LanguageGallery.tid +2 -2
  820. package/editions/tw5.com/tiddlers/macros/NowMacro.tid +3 -1
  821. package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +3 -3
  822. package/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid +28 -4
  823. package/editions/tw5.com/tiddlers/macros/examples/colour-picker Macro (Example 1).tid +2 -2
  824. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 1).tid +2 -2
  825. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 2).tid +2 -2
  826. package/editions/tw5.com/tiddlers/macros/examples/qualify.tid +0 -2
  827. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle Macro (Examples 1).tid +51 -0
  828. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle.tid +11 -2
  829. package/editions/tw5.com/tiddlers/macros/keyboard-driven-input_Macro.tid +3 -0
  830. package/editions/tw5.com/tiddlers/macros/list-links-draggable Macro.tid +1 -1
  831. package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +3 -2
  832. package/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid +2 -2
  833. package/editions/tw5.com/tiddlers/messages/SampleModal.tid +2 -1
  834. package/editions/tw5.com/tiddlers/messages/SampleWindowTemplate.tid +10 -0
  835. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-all-windows.tid +20 -0
  836. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +39 -0
  837. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid +6 -1
  838. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +27 -1
  839. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid +7 -1
  840. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +28 -6
  841. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-relink-tiddler.tid +26 -0
  842. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-rename-tiddler.tid +4 -2
  843. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-scroll.tid +3 -0
  844. package/editions/tw5.com/tiddlers/nodejs/Customising Tiddler File Naming.tid +19 -15
  845. package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +4 -2
  846. package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +10 -3
  847. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.files_Files.tid +6 -5
  848. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid +2 -2
  849. package/editions/tw5.com/tiddlers/platforms/TiddlyFox Apocalypse.tid +2 -2
  850. package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +3 -8
  851. package/editions/tw5.com/tiddlers/plugins/Highlight Plugin.tid +3 -1
  852. package/editions/tw5.com/tiddlers/plugins/Plugin Types.tid +2 -2
  853. package/editions/tw5.com/tiddlers/plugins/Share Plugin.tid +12 -0
  854. package/editions/tw5.com/tiddlers/reference/Reference.tid +1 -0
  855. package/editions/tw5.com/tiddlers/releasenotes/BetaReleases.tid +2 -2
  856. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.21.tid +6 -0
  857. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +6 -0
  858. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +5 -3
  859. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +303 -0
  860. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +124 -0
  861. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +162 -0
  862. package/editions/tw5.com/tiddlers/releasenotes/ReleaseTemplate.tid +3 -0
  863. package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +4 -2
  864. package/editions/tw5.com/tiddlers/releasenotes/alpha/AlphaReleases.tid +2 -2
  865. package/editions/tw5.com/tiddlers/saving/Example config-tiddlyweb-host for IIS.txt.meta +1 -1
  866. package/editions/tw5.com/tiddlers/saving/Example package.json for IIS.txt.meta +1 -1
  867. package/editions/tw5.com/tiddlers/saving/Example tiddlywiki.info for IIS.txt.meta +1 -1
  868. package/editions/tw5.com/tiddlers/saving/Example web.config for IIS.txt.meta +1 -1
  869. package/editions/tw5.com/tiddlers/saving/Saving on Browser with the File System Access API.tid +21 -0
  870. package/editions/tw5.com/tiddlers/saving/Saving on TidGi.tid +26 -0
  871. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +17 -0
  872. package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +19 -29
  873. package/editions/tw5.com/tiddlers/saving/Saving to a Git service.tid +2 -2
  874. package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +65 -10
  875. package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +29 -0
  876. package/editions/tw5.com/tiddlers/saving/TiddlyWiki in the Sky for Dropbox.tid +1 -1
  877. package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +6 -2
  878. package/editions/tw5.com/tiddlers/styleguide/Tiddler Structure.tid +3 -1
  879. package/editions/tw5.com/tiddlers/{TableOfContents.tid → system/TableOfContents.tid} +0 -0
  880. package/editions/tw5.com/tiddlers/system/doc-macros.tid +42 -1
  881. package/editions/tw5.com/tiddlers/system/doc-styles.tid +34 -5
  882. package/editions/tw5.com/tiddlers/system/download-empty.tid +1 -0
  883. package/editions/tw5.com/tiddlers/system/operator-macros.tid +16 -7
  884. package/editions/tw5.com/tiddlers/system/operator-template.tid +14 -11
  885. package/editions/tw5.com/tiddlers/system/style-guide-macros.tid +5 -1
  886. package/editions/tw5.com/tiddlers/system/variable-macros.tid +4 -2
  887. package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +21 -3
  888. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ControlPanel_Plugins.tid +9 -0
  889. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_EditorTools.tid +9 -0
  890. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Image.tid +2 -2
  891. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 1-2-3.tid +2 -1
  892. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 3-4-5.tid +2 -1
  893. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 4-5-6.tid +2 -1
  894. package/editions/tw5.com/tiddlers/webserver/Using HTTPS.tid +17 -2
  895. package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +86 -9
  896. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Delete Tiddler.tid +5 -1
  897. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +1 -1
  898. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Put Tiddler.tid +5 -1
  899. package/editions/tw5.com/tiddlers/webserver/WebServer Authorization.tid +15 -3
  900. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ admin.tid +8 -0
  901. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ required-plugins.tid +8 -0
  902. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ tls-passphrase.tid +10 -0
  903. package/editions/tw5.com/tiddlers/widgets/$__docs_anyField.tid +8 -0
  904. package/editions/tw5.com/tiddlers/widgets/$__editions_tw5.com_widget-examples_qualify-transcluded.tid +14 -0
  905. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 1.tid +2 -2
  906. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 2.tid +2 -2
  907. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 3.tid +3 -3
  908. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 4.tid +4 -4
  909. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Template.tid +2 -2
  910. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid +10 -6
  911. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget_Example.tid +7 -5
  912. package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +52 -2
  913. package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -1
  914. package/editions/tw5.com/tiddlers/widgets/ActionSendMessageWidget.tid +3 -1
  915. package/editions/tw5.com/tiddlers/widgets/ActionSetMultipleFieldsWidget.tid +31 -0
  916. package/editions/tw5.com/tiddlers/widgets/ActionWidget Execution Modes.tid +49 -0
  917. package/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid +10 -7
  918. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -2
  919. package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +2 -2
  920. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +9 -4
  921. package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +2 -2
  922. package/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid +11 -6
  923. package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +10 -20
  924. package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +2 -2
  925. package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +36 -27
  926. package/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid +3 -3
  927. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +9 -1
  928. package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +22 -0
  929. package/editions/tw5.com/tiddlers/widgets/Keyboard Codes.tid +27 -0
  930. package/editions/tw5.com/tiddlers/widgets/KeyboardWidget.tid +17 -3
  931. package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +57 -0
  932. package/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid +3 -2
  933. package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +34 -1
  934. package/editions/tw5.com/tiddlers/widgets/ListopsData.tid +1 -0
  935. package/editions/tw5.com/tiddlers/widgets/MacroCallWidget.tid +3 -1
  936. package/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid +46 -0
  937. package/editions/tw5.com/tiddlers/widgets/MessageHandlerWidgets.tid +13 -0
  938. package/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid +5 -2
  939. package/editions/tw5.com/tiddlers/widgets/QualifyWidget.tid +39 -0
  940. package/editions/tw5.com/tiddlers/widgets/RadioWidget Example.tid +14 -11
  941. package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +9 -9
  942. package/editions/tw5.com/tiddlers/widgets/RangeWidget Example.tid +4 -5
  943. package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +5 -5
  944. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +27 -3
  945. package/editions/tw5.com/tiddlers/widgets/SetMultipleVariablesWidget.tid +33 -0
  946. package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +62 -35
  947. package/editions/tw5.com/tiddlers/widgets/The Extended Listops Filters.tid +2 -1
  948. package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +7 -6
  949. package/editions/tw5.com/tiddlers/widgets/TriggeringWidgets.tid +13 -0
  950. package/editions/tw5.com/tiddlers/widgets/VarsWidget.tid +7 -5
  951. package/editions/tw5.com/tiddlers/widgets/ViewWidget.tid +27 -8
  952. package/editions/tw5.com/tiddlers/widgets/WikifyWidget.tid +2 -2
  953. package/editions/tw5.com/tiddlers/wikitext/HTML in WikiText.tid +48 -5
  954. package/editions/tw5.com/tiddlers/wikitext/Images in WikiText.tid +5 -3
  955. package/editions/tw5.com/tiddlers/wikitext/Linking in WikiText.tid +44 -1
  956. package/editions/tw5.com/tiddlers/wikitext/Macro Calls in WikiText.tid +3 -3
  957. package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -2
  958. package/editions/tw5.com/tiddlers/wikitext/Transclusion in WikiText.tid +2 -1
  959. package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +3 -3
  960. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText (Examples).tid +51 -0
  961. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText.tid +35 -0
  962. package/editions/tw5.com/tiddlers/wikitext/parser/Inline Mode WikiText.tid +26 -0
  963. package/editions/tw5.com/tiddlers/wikitext/parser/Places where the parser ignores WikiText.tid +14 -0
  964. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +16 -0
  965. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode transitions.tid +59 -0
  966. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ HTML examples.tid +72 -0
  967. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ macro examples.tid +55 -0
  968. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ transclusion examples.tid +56 -0
  969. package/editions/tw5.com/tiddlers/wikitext/parser/table-example.tid +8 -0
  970. package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +2 -1
  971. package/editions/tw5.com/tiddlywiki.info +2 -2
  972. package/editions/xlsx-utils/tiddlers/samples/Presidents and Justices.xlsx and b/package/editions/xlsx-utils/tiddlers/samples/Presidents → Justices.xlsx +0 -0
  973. package/languages/ar-PS/Misc.multids +1 -2
  974. package/languages/ca-ES/ControlPanel.multids +4 -1
  975. package/languages/ca-ES/EditTemplate.multids +4 -0
  976. package/languages/ca-ES/Help/notfound.tid +1 -1
  977. package/languages/ca-ES/Import.multids +11 -0
  978. package/languages/ca-ES/Misc.multids +20 -2
  979. package/languages/cs-CZ/Misc.multids +0 -1
  980. package/languages/da-DK/Misc.multids +0 -1
  981. package/languages/de-DE/ControlPanel.multids +22 -1
  982. package/languages/de-DE/Docs/ModuleTypes.multids +1 -0
  983. package/languages/de-DE/EditTemplate.multids +2 -0
  984. package/languages/de-DE/Fields.multids +6 -5
  985. package/languages/de-DE/Help/listen.tid +3 -2
  986. package/languages/de-DE/Help/render.tid +2 -1
  987. package/languages/de-DE/Import.multids +6 -0
  988. package/languages/de-DE/Misc.multids +10 -2
  989. package/languages/de-DE/SideBar.multids +1 -0
  990. package/languages/de-DE/ThemeTweaks.multids +2 -2
  991. package/languages/de-DE/TiddlerInfo.multids +1 -1
  992. package/languages/el-GR/Misc.multids +1 -2
  993. package/languages/es-ES/Buttons.multids +29 -6
  994. package/languages/es-ES/ControlPanel.multids +97 -37
  995. package/languages/es-ES/Dates.multids +11 -1
  996. package/languages/es-ES/Docs/ModuleTypes.multids +8 -0
  997. package/languages/es-ES/Docs/PaletteColours.multids +109 -0
  998. package/languages/es-ES/EditTemplate.multids +18 -11
  999. package/languages/es-ES/Exporters.multids +2 -2
  1000. package/languages/es-ES/Fields.multids +7 -4
  1001. package/languages/es-ES/Filters.multids +9 -7
  1002. package/languages/es-ES/GettingStarted.tid +1 -0
  1003. package/languages/es-ES/Help/deletetiddlers.tid +8 -0
  1004. package/languages/es-ES/Help/fetch.tid +38 -0
  1005. package/languages/es-ES/Help/import.tid +24 -0
  1006. package/languages/es-ES/Help/init.tid +1 -7
  1007. package/languages/es-ES/Help/listen.tid +35 -0
  1008. package/languages/es-ES/Help/load.tid +5 -2
  1009. package/languages/es-ES/Help/makelibrary.tid +1 -3
  1010. package/languages/es-ES/Help/password.tid +2 -1
  1011. package/languages/es-ES/Help/render.tid +35 -0
  1012. package/languages/es-ES/Help/rendertiddler.tid +14 -3
  1013. package/languages/es-ES/Help/rendertiddlers.tid +6 -6
  1014. package/languages/es-ES/Help/save.tid +25 -0
  1015. package/languages/es-ES/Help/savetiddler.tid +3 -2
  1016. package/languages/es-ES/Help/savetiddlers.tid +6 -3
  1017. package/languages/es-ES/Help/savewikifolder.tid +19 -0
  1018. package/languages/es-ES/Help/server.tid +12 -8
  1019. package/languages/es-ES/Import.multids +23 -4
  1020. package/languages/es-ES/Misc.multids +68 -22
  1021. package/languages/es-ES/NewJournalTags.tid +3 -0
  1022. package/languages/es-ES/Notifications.multids +3 -1
  1023. package/languages/es-ES/Search.multids +1 -0
  1024. package/languages/es-ES/SideBar.multids +1 -0
  1025. package/languages/es-ES/ThemeTweaks.multids +42 -0
  1026. package/languages/es-ES/TiddlerInfo.multids +2 -2
  1027. package/languages/es-ES/Types/{application%2Fjavascript.tid → application_javascript.tid} +1 -0
  1028. package/languages/es-ES/Types/{application%2Fjson.tid → application_json.tid} +1 -0
  1029. package/languages/es-ES/Types/{application%2Fx-tiddler-dictionary.tid → application_x_tiddler_dictionary.tid} +1 -0
  1030. package/languages/es-ES/Types/{image%2Fgif.tid → image_gif.tid} +1 -0
  1031. package/languages/es-ES/Types/{image%2Fjpeg.tid → image_jpeg.tid} +1 -0
  1032. package/languages/es-ES/Types/{image%2Fpng.tid → image_png.tid} +1 -0
  1033. package/languages/es-ES/Types/{image%2Fsvg%2Bxml.tid → image_svg_xml.tid} +1 -0
  1034. package/languages/es-ES/Types/{image%2Fx-icon.tid → image_x-icon.tid} +1 -0
  1035. package/languages/es-ES/Types/{text%2Fcss.tid → text_css.tid} +1 -0
  1036. package/languages/es-ES/Types/{text%2Fhtml.tid → text_html.tid} +1 -0
  1037. package/languages/es-ES/Types/{text%2Fplain.tid → text_plain.tid} +1 -0
  1038. package/languages/es-ES/Types/{text%2Fvnd.tiddlywiki.tid → text_vnd.tiddlywiki.tid} +1 -0
  1039. package/languages/es-ES/Types/{text%2Fx-tiddlywiki.tid → text_x-tiddlywiki.tid} +1 -0
  1040. package/languages/es-ES/plugin.info +3 -3
  1041. package/languages/fa-IR/Misc.multids +1 -2
  1042. package/languages/fr-FR/ControlPanel.multids +5 -1
  1043. package/languages/fr-FR/Docs/ModuleTypes.multids +2 -1
  1044. package/languages/fr-FR/EditTemplate.multids +4 -0
  1045. package/languages/fr-FR/Filters.multids +3 -2
  1046. package/languages/fr-FR/Help/listen.tid +2 -0
  1047. package/languages/fr-FR/Help/render.tid +5 -4
  1048. package/languages/fr-FR/Import.multids +17 -11
  1049. package/languages/fr-FR/Misc.multids +11 -2
  1050. package/languages/fr-FR/TiddlerInfo.multids +2 -2
  1051. package/languages/he-IL/Misc.multids +0 -1
  1052. package/languages/hi-IN/Misc.multids +0 -1
  1053. package/languages/ia-IA/Misc.multids +0 -1
  1054. package/languages/it-IT/Misc.multids +0 -1
  1055. package/languages/ja-JP/Misc.multids +0 -1
  1056. package/languages/ko-KR/Misc.multids +0 -1
  1057. package/languages/nl-NL/Misc.multids +1 -2
  1058. package/languages/pa-IN/Misc.multids +0 -1
  1059. package/languages/pl-PL/Buttons.multids +189 -0
  1060. package/languages/pl-PL/ControlPanel.multids +229 -0
  1061. package/languages/pl-PL/Dates.multids +88 -0
  1062. package/languages/pl-PL/Docs/ModuleTypes.multids +30 -0
  1063. package/languages/pl-PL/Docs/PaletteColours.multids +109 -0
  1064. package/languages/pl-PL/EditTemplate.multids +38 -0
  1065. package/languages/pl-PL/Exporters.multids +7 -0
  1066. package/languages/pl-PL/Fields.multids +39 -0
  1067. package/languages/pl-PL/Filters.multids +16 -0
  1068. package/languages/pl-PL/GettingStarted.tid +17 -0
  1069. package/languages/pl-PL/Help/build.tid +12 -0
  1070. package/languages/pl-PL/Help/clearpassword.tid +8 -0
  1071. package/languages/pl-PL/Help/default.tid +22 -0
  1072. package/languages/pl-PL/Help/deletetiddlers.tid +8 -0
  1073. package/languages/pl-PL/Help/editions.tid +8 -0
  1074. package/languages/pl-PL/Help/fetch.tid +40 -0
  1075. package/languages/pl-PL/Help/help.tid +10 -0
  1076. package/languages/pl-PL/Help/import.tid +24 -0
  1077. package/languages/pl-PL/Help/init.tid +23 -0
  1078. package/languages/pl-PL/Help/listen.tid +35 -0
  1079. package/languages/pl-PL/Help/load.tid +19 -0
  1080. package/languages/pl-PL/Help/makelibrary.tid +14 -0
  1081. package/languages/pl-PL/Help/notfound.tid +3 -0
  1082. package/languages/pl-PL/Help/output.tid +11 -0
  1083. package/languages/pl-PL/Help/password.tid +10 -0
  1084. package/languages/pl-PL/Help/render.tid +35 -0
  1085. package/languages/pl-PL/Help/rendertiddler.tid +24 -0
  1086. package/languages/pl-PL/Help/rendertiddlers.tid +20 -0
  1087. package/languages/pl-PL/Help/save.tid +25 -0
  1088. package/languages/pl-PL/Help/savetiddler.tid +14 -0
  1089. package/languages/pl-PL/Help/savetiddlers.tid +16 -0
  1090. package/languages/pl-PL/Help/savewikifolder.tid +19 -0
  1091. package/languages/pl-PL/Help/server.tid +42 -0
  1092. package/languages/pl-PL/Help/setfield.tid +17 -0
  1093. package/languages/pl-PL/Help/unpackplugin.tid +8 -0
  1094. package/languages/pl-PL/Help/verbose.tid +8 -0
  1095. package/languages/pl-PL/Help/version.tid +8 -0
  1096. package/languages/pl-PL/Import.multids +35 -0
  1097. package/languages/pl-PL/Misc.multids +95 -0
  1098. package/languages/pl-PL/Modals/Download.tid +12 -0
  1099. package/languages/pl-PL/Modals/SaveInstructions.tid +21 -0
  1100. package/languages/pl-PL/NewJournal.multids +4 -0
  1101. package/languages/pl-PL/NewJournalTags.tid +3 -0
  1102. package/languages/pl-PL/Notifications.multids +6 -0
  1103. package/languages/pl-PL/Search.multids +21 -0
  1104. package/languages/pl-PL/SideBar.multids +18 -0
  1105. package/languages/pl-PL/SiteSubtitle.tid +3 -0
  1106. package/languages/pl-PL/SiteTitle.tid +3 -0
  1107. package/languages/pl-PL/Snippets/ListByTag.tid +5 -0
  1108. package/languages/pl-PL/Snippets/MacroDefinition.tid +7 -0
  1109. package/languages/pl-PL/Snippets/Table 4x3.tid +8 -0
  1110. package/languages/pl-PL/Snippets/TableOfContents.tid +9 -0
  1111. package/languages/pl-PL/ThemeTweaks.multids +42 -0
  1112. package/languages/pl-PL/TiddlerInfo.multids +22 -0
  1113. package/languages/pl-PL/Types/application_javascript.tid +5 -0
  1114. package/languages/pl-PL/Types/application_json.tid +5 -0
  1115. package/languages/pl-PL/Types/application_x_tiddler_dictionary.tid +5 -0
  1116. package/languages/pl-PL/Types/image_gif.tid +5 -0
  1117. package/languages/pl-PL/Types/image_jpeg.tid +5 -0
  1118. package/languages/pl-PL/Types/image_png.tid +5 -0
  1119. package/languages/pl-PL/Types/image_svg_xml.tid +5 -0
  1120. package/languages/pl-PL/Types/image_x-icon.tid +5 -0
  1121. package/languages/pl-PL/Types/text_css.tid +5 -0
  1122. package/languages/pl-PL/Types/text_html.tid +5 -0
  1123. package/languages/pl-PL/Types/text_plain.tid +5 -0
  1124. package/languages/pl-PL/Types/text_vnd.tiddlywiki.tid +5 -0
  1125. package/languages/pl-PL/Types/text_x-tiddlywiki.tid +5 -0
  1126. package/languages/pl-PL/icon.tid +7 -0
  1127. package/languages/pl-PL/plugin.info +8 -0
  1128. package/languages/pl-PL/readme.md +1 -0
  1129. package/languages/pt-BR/Misc.multids +0 -1
  1130. package/languages/pt-PT/Misc.multids +1 -2
  1131. package/languages/ru-RU/Misc.multids +0 -1
  1132. package/languages/sk-SK/Misc.multids +0 -1
  1133. package/languages/sl-SI/Misc.multids +1 -2
  1134. package/languages/sv-SE/Misc.multids +0 -1
  1135. package/languages/zh-Hans/Buttons.multids +1 -1
  1136. package/languages/zh-Hans/ControlPanel.multids +19 -4
  1137. package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -1
  1138. package/languages/zh-Hans/EditTemplate.multids +2 -0
  1139. package/languages/zh-Hans/Fields.multids +4 -2
  1140. package/languages/zh-Hans/Help/listen.tid +4 -2
  1141. package/languages/zh-Hans/Help/render.tid +2 -2
  1142. package/languages/zh-Hans/Help/save.tid +1 -1
  1143. package/languages/zh-Hans/Import.multids +6 -0
  1144. package/languages/zh-Hans/Misc.multids +4 -3
  1145. package/languages/zh-Hant/Buttons.multids +1 -1
  1146. package/languages/zh-Hant/ControlPanel.multids +19 -2
  1147. package/languages/zh-Hant/Docs/ModuleTypes.multids +2 -1
  1148. package/languages/zh-Hant/EditTemplate.multids +2 -0
  1149. package/languages/zh-Hant/Fields.multids +4 -2
  1150. package/languages/zh-Hant/Help/listen.tid +5 -3
  1151. package/languages/zh-Hant/Help/render.tid +2 -2
  1152. package/languages/zh-Hant/Help/save.tid +1 -1
  1153. package/languages/zh-Hant/Import.multids +6 -0
  1154. package/languages/zh-Hant/Misc.multids +4 -3
  1155. package/license +1 -1
  1156. package/licenses/cla-individual.md +67 -1
  1157. package/package.json +5 -3
  1158. package/plugins/tiddlywiki/bibtex/deserializer.js +3 -2
  1159. package/plugins/tiddlywiki/codemirror/engine.js +86 -3
  1160. package/plugins/tiddlywiki/dynannotate/examples/viewtemplate.tid +3 -4
  1161. package/plugins/tiddlywiki/filesystem/filesystemadaptor.js +25 -21
  1162. package/plugins/tiddlywiki/freelinks/settings.tid +2 -0
  1163. package/plugins/tiddlywiki/freelinks/text.js +8 -3
  1164. package/plugins/tiddlywiki/highlight/files/default.min.css +9 -0
  1165. package/plugins/tiddlywiki/highlight/files/highlight.min.js +1401 -0
  1166. package/plugins/tiddlywiki/highlight/files/tiddlywiki.files +2 -2
  1167. package/plugins/tiddlywiki/highlight/highlightblock.js +27 -21
  1168. package/plugins/tiddlywiki/highlight/plugin.info +1 -1
  1169. package/plugins/tiddlywiki/highlight/readme.tid +18 -47
  1170. package/plugins/tiddlywiki/highlight/styles.tid +10 -5
  1171. package/plugins/tiddlywiki/highlight/usage.tid +48 -1
  1172. package/plugins/tiddlywiki/highlight-legacy/TypeMappings.multids +8 -0
  1173. package/plugins/tiddlywiki/{highlight → highlight-legacy}/files/default.css +0 -0
  1174. package/plugins/tiddlywiki/{highlight → highlight-legacy}/files/highlight.pack.js +0 -0
  1175. package/plugins/tiddlywiki/highlight-legacy/files/tiddlywiki.files +22 -0
  1176. package/plugins/tiddlywiki/highlight-legacy/highlightblock.js +44 -0
  1177. package/plugins/tiddlywiki/highlight-legacy/license.tid +27 -0
  1178. package/plugins/tiddlywiki/highlight-legacy/plugin.info +7 -0
  1179. package/plugins/tiddlywiki/highlight-legacy/readme.tid +65 -0
  1180. package/plugins/tiddlywiki/highlight-legacy/styles.tid +82 -0
  1181. package/plugins/tiddlywiki/highlight-legacy/usage.tid +28 -0
  1182. package/plugins/tiddlywiki/innerwiki/template.tid +0 -4
  1183. package/plugins/tiddlywiki/internals/editpreviews/raw.tid +1 -0
  1184. package/plugins/tiddlywiki/katex/config.tid +17 -0
  1185. package/plugins/tiddlywiki/katex/files/README.md +79 -100
  1186. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
  1187. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
  1188. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  1189. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  1190. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  1191. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  1192. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  1193. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  1194. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  1195. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  1196. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  1197. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  1198. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  1199. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  1200. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  1201. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
  1202. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
  1203. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
  1204. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  1205. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  1206. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  1207. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
  1208. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
  1209. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
  1210. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
  1211. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
  1212. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
  1213. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  1214. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  1215. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  1216. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
  1217. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
  1218. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
  1219. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  1220. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  1221. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  1222. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  1223. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  1224. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  1225. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  1226. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  1227. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  1228. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
  1229. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
  1230. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
  1231. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
  1232. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
  1233. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  1234. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
  1235. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
  1236. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  1237. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
  1238. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
  1239. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  1240. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
  1241. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
  1242. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  1243. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  1244. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  1245. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  1246. package/plugins/tiddlywiki/katex/files/katex.css +1079 -0
  1247. package/plugins/tiddlywiki/katex/files/katex.js +4917 -3543
  1248. package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
  1249. package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
  1250. package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
  1251. package/plugins/tiddlywiki/katex/files/mhchem.min.js +1 -1683
  1252. package/plugins/tiddlywiki/katex/files/tiddlywiki.files +3 -1
  1253. package/plugins/tiddlywiki/katex/plugin.info +2 -2
  1254. package/plugins/tiddlywiki/katex/readme.tid +1 -1
  1255. package/plugins/tiddlywiki/katex/styles.tid +7 -1
  1256. package/plugins/tiddlywiki/katex/ui/config/macro.tid +137 -0
  1257. package/plugins/tiddlywiki/katex/wrapper.js +19 -13
  1258. package/plugins/tiddlywiki/markdown/config_renderWikiTextPragma.tid +1 -1
  1259. package/plugins/tiddlywiki/markdown/files/remarkable-katex-license.txt +21 -0
  1260. package/plugins/tiddlywiki/markdown/files/remarkable-katex.js +137 -0
  1261. package/plugins/tiddlywiki/markdown/files/remarkable-katex.min.js +20 -0
  1262. package/plugins/tiddlywiki/markdown/files/remarkable-license.txt +22 -0
  1263. package/plugins/tiddlywiki/markdown/files/tiddlywiki.files +24 -0
  1264. package/plugins/tiddlywiki/markdown/plugin.info +2 -2
  1265. package/plugins/tiddlywiki/markdown/readme.tid +1 -1
  1266. package/plugins/tiddlywiki/markdown/wrapper.js +50 -16
  1267. package/plugins/tiddlywiki/menubar/menu.tid +1 -1
  1268. package/plugins/tiddlywiki/menubar/readme.tid +1 -0
  1269. package/plugins/tiddlywiki/qrcode/ViewToolbarButton/Button.tid +1 -2
  1270. package/plugins/tiddlywiki/savetrail/savetrail.js +4 -4
  1271. package/plugins/tiddlywiki/share/rawmarkup.js +1 -1
  1272. package/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button.tid +1 -1
  1273. package/plugins/tiddlywiki/tiddlyweb/html-div-tiddler.tid +1 -1
  1274. package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +4 -0
  1275. package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +4 -0
  1276. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-refresh.tid +1 -1
  1277. package/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js +26 -13
  1278. package/plugins/tiddlywiki/xlsx-utils/deserializer.js +2 -1
  1279. package/readme.md +3 -3
  1280. package/themes/tiddlywiki/snowwhite/base.tid +2 -1
  1281. package/themes/tiddlywiki/starlight/styles.tid +6 -6
  1282. package/themes/tiddlywiki/tight/base.tid +5 -5
  1283. package/themes/tiddlywiki/vanilla/ThemeTweaks.tid +7 -3
  1284. package/themes/tiddlywiki/vanilla/base.tid +202 -87
  1285. package/themes/tiddlywiki/vanilla/reset.tid +1 -1
  1286. package/themes/tiddlywiki/vanilla/settings.multids +1 -1
  1287. package/themes/tiddlywiki/vanilla/sticky.tid +1 -0
  1288. package/core/ui/ViewTemplate/plugin.tid +0 -15
  1289. package/editions/fr-FR/tiddlers/$__core_ui_ViewTemplate_title.tid +0 -46
  1290. package/editions/fr-FR/tiddlers/Images_in_WikiText.tid +0 -48
  1291. package/editions/fr-FR/tiddlers/ImportTiddlers.tid +0 -14
  1292. package/editions/fr-FR/tiddlers/Sharing_your_tiddlers_with_others.tid +0 -16
  1293. package/editions/tw5.com/tiddlers/community/Resources.tid +0 -25
  1294. package/editions/tw5.com/tiddlers/community/examples/Obadiah.tid +0 -10
  1295. package/editions/tw5.com/tiddlers/community/resources/Hosting TiddlyWiki5 on GoogleDrive.tid +0 -13
  1296. package/editions/tw5.com/tiddlers/community/resources/How Does Twederation Work by Jed Carty.tid +0 -14
  1297. package/editions/tw5.com/tiddlers/community/resources/Plugins by Uwe Stuehler.tid +0 -13
  1298. package/editions/tw5.com/tiddlers/community/resources/TiddlyClip by buggyjay.tid +0 -14
  1299. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Jingle by Mans Martensson.tid +0 -18
  1300. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Coding.tid +0 -18
  1301. package/editions/tw5.com/tiddlers/customising/Page and tiddler layout customisation.tid +0 -63
  1302. package/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid +0 -9
  1303. package/plugins/tiddlywiki/highlight/howto.tid +0 -10
@@ -38,7 +38,7 @@ exports.parseCsvStringWithHeader = function(text,options) {
38
38
  var columnName = headings[column];
39
39
  columnResult[columnName] = $tw.utils.trim(columns[column] || "");
40
40
  }
41
- results.push(columnResult);
41
+ results.push(columnResult);
42
42
  }
43
43
  return results;
44
44
  }
@@ -22,6 +22,10 @@ exports.domContains = function(a,b) {
22
22
  !!(a.compareDocumentPosition(b) & 16);
23
23
  };
24
24
 
25
+ exports.domMatchesSelector = function(node,selector) {
26
+ return node.matches ? node.matches(selector) : node.msMatchesSelector(selector);
27
+ };
28
+
25
29
  exports.removeChildren = function(node) {
26
30
  while(node.hasChildNodes()) {
27
31
  node.removeChild(node.firstChild);
@@ -65,7 +69,7 @@ Get the first parent element that has scrollbars or use the body as fallback.
65
69
  */
66
70
  exports.getScrollContainer = function(el) {
67
71
  var doc = el.ownerDocument;
68
- while(el.parentNode) {
72
+ while(el.parentNode) {
69
73
  el = el.parentNode;
70
74
  if(el.scrollTop) {
71
75
  return el;
@@ -204,7 +208,7 @@ exports.addEventListeners = function(domNode,events) {
204
208
  if(eventInfo.handlerMethod) {
205
209
  handler = function(event) {
206
210
  eventInfo.handlerObject[eventInfo.handlerMethod].call(eventInfo.handlerObject,event);
207
- };
211
+ };
208
212
  } else {
209
213
  handler = eventInfo.handlerObject;
210
214
  }
@@ -16,21 +16,23 @@ Browser data transfer utilities, used with the clipboard and drag and drop
16
16
  Options:
17
17
 
18
18
  domNode: dom node to make draggable
19
- dragImageType: "pill" or "dom"
19
+ selector: CSS selector to identify element within domNode to be used as drag handle (optional)
20
+ dragImageType: "pill", "blank" or "dom" (the default)
20
21
  dragTiddlerFn: optional function to retrieve the title of tiddler to drag
21
22
  dragFilterFn: optional function to retreive the filter defining a list of tiddlers to drag
22
- widget: widget to use as the contect for the filter
23
+ widget: widget to use as the context for the filter
23
24
  */
24
25
  exports.makeDraggable = function(options) {
25
26
  var dragImageType = options.dragImageType || "dom",
26
27
  dragImage,
27
- domNode = options.domNode;
28
+ domNode = options.domNode,
29
+ dragHandle = options.selector && domNode.querySelector(options.selector) || domNode;
28
30
  // Make the dom node draggable (not necessary for anchor tags)
29
31
  if((domNode.tagName || "").toLowerCase() !== "a") {
30
- domNode.setAttribute("draggable","true");
32
+ dragHandle.setAttribute("draggable","true");
31
33
  }
32
34
  // Add event handlers
33
- $tw.utils.addEventListeners(domNode,[
35
+ $tw.utils.addEventListeners(dragHandle,[
34
36
  {name: "dragstart", handlerFunction: function(event) {
35
37
  if(event.dataTransfer === undefined) {
36
38
  return false;
@@ -45,7 +47,7 @@ exports.makeDraggable = function(options) {
45
47
  }
46
48
  var titleString = $tw.utils.stringifyList(titles);
47
49
  // Check that we've something to drag
48
- if(titles.length > 0 && event.target === domNode) {
50
+ if(titles.length > 0 && event.target === dragHandle) {
49
51
  // Mark the drag in progress
50
52
  $tw.dragInProgress = domNode;
51
53
  // Set the dragging class on the element being dragged
@@ -73,6 +75,9 @@ exports.makeDraggable = function(options) {
73
75
  if(dataTransfer.setDragImage) {
74
76
  if(dragImageType === "pill") {
75
77
  dataTransfer.setDragImage(dragImage.firstChild,-16,-16);
78
+ } else if (dragImageType === "blank") {
79
+ dragImage.removeChild(dragImage.firstChild);
80
+ dataTransfer.setDragImage(dragImage,0,0);
76
81
  } else {
77
82
  var r = domNode.getBoundingClientRect();
78
83
  dataTransfer.setDragImage(domNode,event.clientX-r.left,event.clientY-r.top);
@@ -80,7 +85,7 @@ exports.makeDraggable = function(options) {
80
85
  }
81
86
  // Set up the data transfer
82
87
  if(dataTransfer.clearData) {
83
- dataTransfer.clearData();
88
+ dataTransfer.clearData();
84
89
  }
85
90
  var jsonData = [];
86
91
  if(titles.length > 1) {
@@ -164,7 +169,7 @@ var importDataTypes = [
164
169
  }},
165
170
  {type: "URL", IECompatible: true, toTiddlerFieldsArray: function(data,fallbackTitle) {
166
171
  // Check for tiddler data URI
167
- var match = decodeURIComponent(data).match(/^data\:text\/vnd\.tiddler,(.*)/i);
172
+ var match = $tw.utils.decodeURIComponentSafe(data).match(/^data\:text\/vnd\.tiddler,(.*)/i);
168
173
  if(match) {
169
174
  return parseJSONTiddlers(match[1],fallbackTitle);
170
175
  } else {
@@ -173,7 +178,7 @@ var importDataTypes = [
173
178
  }},
174
179
  {type: "text/x-moz-url", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {
175
180
  // Check for tiddler data URI
176
- var match = decodeURIComponent(data).match(/^data\:text\/vnd\.tiddler,(.*)/i);
181
+ var match = $tw.utils.decodeURIComponentSafe(data).match(/^data\:text\/vnd\.tiddler,(.*)/i);
177
182
  if(match) {
178
183
  return parseJSONTiddlers(match[1],fallbackTitle);
179
184
  } else {
@@ -195,7 +200,7 @@ var importDataTypes = [
195
200
  ];
196
201
 
197
202
  function parseJSONTiddlers(json,fallbackTitle) {
198
- var data = JSON.parse(json);
203
+ var data = $tw.utils.parseJSONSafe(json);
199
204
  if(!$tw.utils.isArray(data)) {
200
205
  data = [data];
201
206
  }
@@ -205,4 +210,22 @@ function parseJSONTiddlers(json,fallbackTitle) {
205
210
  return data;
206
211
  };
207
212
 
213
+ function dragEventContainsType(event,targetType) {
214
+ if(event.dataTransfer.types) {
215
+ for(var i=0; i<event.dataTransfer.types.length; i++) {
216
+ if(event.dataTransfer.types[i] === targetType) {
217
+ return true;
218
+ break;
219
+ }
220
+ }
221
+ }
222
+ return false;
223
+ };
224
+
225
+ exports.dragEventContainsFiles = function(event) {
226
+ return (dragEventContainsType(event,"Files") && !dragEventContainsType(event,"text/plain"));
227
+ };
228
+
229
+ exports.dragEventContainsType = dragEventContainsType;
230
+
208
231
  })();
@@ -34,6 +34,23 @@ exports.httpRequest = function(options) {
34
34
  });
35
35
  return result;
36
36
  },
37
+ getHeader = function(targetHeader) {
38
+ return headers[targetHeader] || headers[targetHeader.toLowerCase()];
39
+ },
40
+ isSimpleRequest = function(type,headers) {
41
+ if(["GET","HEAD","POST"].indexOf(type) === -1) {
42
+ return false;
43
+ }
44
+ for(var header in headers) {
45
+ if(["accept","accept-language","content-language","content-type"].indexOf(header.toLowerCase()) === -1) {
46
+ return false;
47
+ }
48
+ }
49
+ if(hasHeader("Content-Type") && ["application/x-www-form-urlencoded","multipart/form-data","text/plain"].indexOf(getHeader["Content-Type"]) === -1) {
50
+ return false;
51
+ }
52
+ return true;
53
+ },
37
54
  returnProp = options.returnProp || "responseText",
38
55
  request = new XMLHttpRequest(),
39
56
  data = "",
@@ -76,7 +93,7 @@ exports.httpRequest = function(options) {
76
93
  if(data && !hasHeader("Content-Type")) {
77
94
  request.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
78
95
  }
79
- if(!hasHeader("X-Requested-With")) {
96
+ if(!hasHeader("X-Requested-With") && !isSimpleRequest(type,headers)) {
80
97
  request.setRequestHeader("X-Requested-With","TiddlyWiki");
81
98
  }
82
99
  try {
@@ -31,7 +31,7 @@ Modal.prototype.display = function(title,options) {
31
31
  options = options || {};
32
32
  this.srcDocument = options.variables && (options.variables.rootwindow === "true" ||
33
33
  options.variables.rootwindow === "yes") ? document :
34
- (options.event.event && options.event.event.target ? options.event.event.target.ownerDocument : document);
34
+ (options.event && options.event.event && options.event.event.target ? options.event.event.target.ownerDocument : document);
35
35
  this.srcWindow = this.srcDocument.defaultView;
36
36
  var self = this,
37
37
  refreshHandler,
@@ -105,7 +105,7 @@ Modal.prototype.display = function(title,options) {
105
105
  parentWidget: $tw.rootWidget
106
106
  });
107
107
  navigatorWidgetNode.render(modalBody,null);
108
-
108
+
109
109
  // Render the title of the message
110
110
  var headerWidgetNode = this.wiki.makeTranscludeWidget(title,{
111
111
  field: "subtitle",
@@ -243,6 +243,7 @@ Modal.prototype.adjustPageClass = function() {
243
243
  if(windowContainer) {
244
244
  $tw.utils.toggleClass(windowContainer,"tc-modal-displayed",this.modalCount > 0);
245
245
  }
246
+ $tw.utils.toggleClass(this.srcDocument.body,"tc-modal-prevent-scroll",this.modalCount > 0);
246
247
  };
247
248
 
248
249
  exports.Modal = Modal;
@@ -145,7 +145,7 @@ Popup.prototype.show = function(options) {
145
145
  }
146
146
  // Add the click handler if we have any popups
147
147
  if(this.popups.length > 0) {
148
- this.rootElement.addEventListener("click",this,true);
148
+ this.rootElement.addEventListener("click",this,true);
149
149
  }
150
150
  };
151
151
 
@@ -49,10 +49,14 @@ Handle an event
49
49
  */
50
50
  PageScroller.prototype.handleEvent = function(event) {
51
51
  if(event.type === "tm-scroll") {
52
+ var options = {};
53
+ if($tw.utils.hop(event.paramObject,"animationDuration")) {
54
+ options.animationDuration = event.paramObject.animationDuration;
55
+ }
52
56
  if(event.paramObject && event.paramObject.selector) {
53
- this.scrollSelectorIntoView(null,event.paramObject.selector);
57
+ this.scrollSelectorIntoView(null,event.paramObject.selector,null,options);
54
58
  } else {
55
- this.scrollIntoView(event.target);
59
+ this.scrollIntoView(event.target,null,options);
56
60
  }
57
61
  return false; // Event was handled
58
62
  }
@@ -62,10 +66,10 @@ PageScroller.prototype.handleEvent = function(event) {
62
66
  /*
63
67
  Handle a scroll event hitting the page document
64
68
  */
65
- PageScroller.prototype.scrollIntoView = function(element,callback) {
69
+ PageScroller.prototype.scrollIntoView = function(element,callback,options) {
66
70
  var self = this,
67
- duration = $tw.utils.getAnimationDuration(),
68
- srcWindow = element ? element.ownerDocument.defaultView : window;
71
+ duration = $tw.utils.hop(options,"animationDuration") ? parseInt(options.animationDuration) : $tw.utils.getAnimationDuration(),
72
+ srcWindow = element ? element.ownerDocument.defaultView : window;
69
73
  // Now get ready to scroll the body
70
74
  this.cancelScroll(srcWindow);
71
75
  this.startTime = Date.now();
@@ -103,7 +107,7 @@ PageScroller.prototype.scrollIntoView = function(element,callback) {
103
107
  if(duration <= 0) {
104
108
  t = 1;
105
109
  } else {
106
- t = ((Date.now()) - self.startTime) / duration;
110
+ t = ((Date.now()) - self.startTime) / duration;
107
111
  }
108
112
  if(t >= 1) {
109
113
  self.cancelScroll(srcWindow);
@@ -122,11 +126,11 @@ PageScroller.prototype.scrollIntoView = function(element,callback) {
122
126
  drawFrame();
123
127
  };
124
128
 
125
- PageScroller.prototype.scrollSelectorIntoView = function(baseElement,selector,callback) {
129
+ PageScroller.prototype.scrollSelectorIntoView = function(baseElement,selector,callback,options) {
126
130
  baseElement = baseElement || document.body;
127
131
  var element = baseElement.querySelector(selector);
128
132
  if(element) {
129
- this.scrollIntoView(element,callback);
133
+ this.scrollIntoView(element,callback,options);
130
134
  }
131
135
  };
132
136
 
@@ -30,11 +30,7 @@ exports.getEditionInfo = function() {
30
30
  var entry = entries[entryIndex];
31
31
  // Check if directories have a valid tiddlywiki.info
32
32
  if(!editionInfo[entry] && $tw.utils.isDirectory(path.resolve(editionPath,entry))) {
33
- var info;
34
- try {
35
- info = JSON.parse(fs.readFileSync(path.resolve(editionPath,entry,"tiddlywiki.info"),"utf8"));
36
- } catch(ex) {
37
- }
33
+ var info = $tw.utils.parseJSONSafe(fs.readFileSync(path.resolve(editionPath,entry,"tiddlywiki.info"),"utf8"),null);
38
34
  if(info) {
39
35
  editionInfo[entry] = info;
40
36
  }
@@ -1,33 +1,28 @@
1
1
  /*\
2
- title: $:/core/modules/startup/CSSescape.js
2
+ title: $:/core/modules/utils/escapecss.js
3
3
  type: application/javascript
4
- module-type: startup
4
+ module-type: utils
5
5
 
6
- Polyfill for CSS.escape()
6
+ Provides CSS.escape() functionality.
7
7
 
8
8
  \*/
9
- (function(root,factory){
9
+ (function(){
10
+
10
11
  /*jslint node: true, browser: true */
11
- /*global $tw: false */
12
+ /*global $tw: false, window: false */
12
13
  "use strict";
13
14
 
14
- // Export name and synchronous status
15
- exports.name = "css-escape";
16
- exports.platforms = ["browser"];
17
- exports.after = ["startup"];
18
- exports.synchronous = true;
19
-
20
- /*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
21
- // https://github.com/umdjs/umd/blob/master/returnExports.js
22
- exports.startup = factory(root);
23
- }(typeof global != 'undefined' ? global : this, function(root) {
24
-
25
- if (root.CSS && root.CSS.escape) {
26
- return;
15
+ exports.escapeCSS = (function() {
16
+ // use browser's native CSS.escape() function if available
17
+ if ($tw.browser && window.CSS && window.CSS.escape) {
18
+ return window.CSS.escape;
27
19
  }
28
20
 
29
- // https://drafts.csswg.org/cssom/#serialize-an-identifier
30
- var cssEscape = function(value) {
21
+ // otherwise, a utility method is provided
22
+ // see also https://drafts.csswg.org/cssom/#serialize-an-identifier
23
+
24
+ /*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
25
+ return function(value) {
31
26
  if (arguments.length == 0) {
32
27
  throw new TypeError('`CSS.escape` requires an argument.');
33
28
  }
@@ -104,11 +99,6 @@ exports.startup = factory(root);
104
99
  }
105
100
  return result;
106
101
  };
102
+ })();
107
103
 
108
- if (!root.CSS) {
109
- root.CSS = {};
110
- }
111
-
112
- root.CSS.escape = cssEscape;
113
-
114
- }));
104
+ })();
@@ -235,7 +235,7 @@ Object.defineProperty(TW_Element.prototype, "innerHTML", {
235
235
  if(node instanceof TW_Element) {
236
236
  b.push(node.outerHTML);
237
237
  } else if(node instanceof TW_TextNode) {
238
- b.push($tw.utils.htmlEncode(node.textContent));
238
+ b.push($tw.utils.htmlTextEncode(node.textContent));
239
239
  }
240
240
  });
241
241
  return b.join("");
@@ -213,13 +213,13 @@ Options include:
213
213
  extFilters: optional array of filters to be used to generate the base path
214
214
  wiki: optional wiki for evaluating the pathFilters,
215
215
  fileInfo: an existing fileInfo to check against
216
- originalpath: a preferred filepath if no pathFilters match
217
216
  */
218
217
  exports.generateTiddlerFileInfo = function(tiddler,options) {
219
218
  var fileInfo = {}, metaExt;
220
219
  // Propagate the isEditableFile flag
221
- if(options.fileInfo) {
222
- fileInfo.isEditableFile = options.fileInfo.isEditableFile || false;
220
+ if(options.fileInfo && !!options.fileInfo.isEditableFile) {
221
+ fileInfo.isEditableFile = true;
222
+ fileInfo.originalpath = options.fileInfo.originalpath;
223
223
  }
224
224
  // Check if the tiddler has any unsafe fields that can't be expressed in a .tid or .meta file: containing control characters, or leading/trailing whitespace
225
225
  var hasUnsafeFields = false;
@@ -228,6 +228,7 @@ exports.generateTiddlerFileInfo = function(tiddler,options) {
228
228
  hasUnsafeFields = hasUnsafeFields || /[\x00-\x1F]/mg.test(value);
229
229
  hasUnsafeFields = hasUnsafeFields || ($tw.utils.trim(value) !== value);
230
230
  }
231
+ hasUnsafeFields = hasUnsafeFields || /:/mg.test(fieldName);
231
232
  });
232
233
  // Check for field values
233
234
  if(hasUnsafeFields) {
@@ -247,12 +248,12 @@ exports.generateTiddlerFileInfo = function(tiddler,options) {
247
248
  fileInfo.hasMetaFile = true;
248
249
  }
249
250
  if(options.extFilters) {
250
- // Check for extension override
251
+ // Check for extension overrides
251
252
  metaExt = $tw.utils.generateTiddlerExtension(tiddler.fields.title,{
252
253
  extFilters: options.extFilters,
253
254
  wiki: options.wiki
254
255
  });
255
- if(metaExt){
256
+ if(metaExt) {
256
257
  if(metaExt === ".tid") {
257
258
  // Overriding to the .tid extension needs special handling
258
259
  fileInfo.type = "application/x-tiddler";
@@ -279,8 +280,7 @@ exports.generateTiddlerFileInfo = function(tiddler,options) {
279
280
  directory: options.directory,
280
281
  pathFilters: options.pathFilters,
281
282
  wiki: options.wiki,
282
- fileInfo: options.fileInfo,
283
- originalpath: options.originalpath
283
+ fileInfo: options.fileInfo
284
284
  });
285
285
  return fileInfo;
286
286
  };
@@ -292,8 +292,7 @@ Options include:
292
292
  wiki: optional wiki for evaluating the extFilters
293
293
  */
294
294
  exports.generateTiddlerExtension = function(title,options) {
295
- var self = this,
296
- extension;
295
+ var extension;
297
296
  // Check if any of the extFilters applies
298
297
  if(options.extFilters && options.wiki) {
299
298
  $tw.utils.each(options.extFilters,function(filter) {
@@ -319,11 +318,10 @@ Options include:
319
318
  fileInfo: an existing fileInfo object to check against
320
319
  */
321
320
  exports.generateTiddlerFilepath = function(title,options) {
322
- var self = this,
323
- directory = options.directory || "",
321
+ var directory = options.directory || "",
324
322
  extension = options.extension || "",
325
- originalpath = options.originalpath || "",
326
- filepath;
323
+ originalpath = (options.fileInfo && options.fileInfo.originalpath) ? options.fileInfo.originalpath : "",
324
+ filepath;
327
325
  // Check if any of the pathFilters applies
328
326
  if(options.pathFilters && options.wiki) {
329
327
  $tw.utils.each(options.pathFilters,function(filter) {
@@ -336,34 +334,46 @@ exports.generateTiddlerFilepath = function(title,options) {
336
334
  }
337
335
  });
338
336
  }
339
- if(!filepath && originalpath !== "") {
337
+ if(!filepath && !!originalpath) {
340
338
  //Use the originalpath without the extension
341
339
  var ext = path.extname(originalpath);
342
340
  filepath = originalpath.substring(0,originalpath.length - ext.length);
343
341
  } else if(!filepath) {
344
342
  filepath = title;
345
- // If the filepath already ends in the extension then remove it
346
- if(filepath.substring(filepath.length - extension.length) === extension) {
347
- filepath = filepath.substring(0,filepath.length - extension.length);
348
- }
349
343
  // Remove any forward or backward slashes so we don't create directories
350
344
  filepath = filepath.replace(/\/|\\/g,"_");
351
345
  }
352
- //If the path does not start with "." or ".." and a path seperator, then
346
+ // Replace any Windows control codes
347
+ filepath = filepath.replace(/^(con|prn|aux|nul|com[0-9]|lpt[0-9])$/i,"_$1_");
348
+ // Replace any leading spaces with the same number of underscores
349
+ filepath = filepath.replace(/^ +/,function (u) { return u.replace(/ /g, "_")});
350
+ //If the path does not start with "." or ".." && a path seperator, then
353
351
  if(!/^\.{1,2}[/\\]/g.test(filepath)) {
354
352
  // Don't let the filename start with any dots because such files are invisible on *nix
355
- filepath = filepath.replace(/^\.+/g,"_");
353
+ filepath = filepath.replace(/^\.+/g,function (u) { return u.replace(/\./g, "_")});
356
354
  }
357
- // Remove any characters that can't be used in cross-platform filenames
355
+ // Replace any Unicode control codes
356
+ filepath = filepath.replace(/[\x00-\x1f\x80-\x9f]/g,"_");
357
+ // Replace any characters that can't be used in cross-platform filenames
358
358
  filepath = $tw.utils.transliterate(filepath.replace(/<|>|~|\:|\"|\||\?|\*|\^/g,"_"));
359
+ // Replace any dots or spaces at the end of the extension with the same number of underscores
360
+ extension = extension.replace(/[\. ]+$/, function (u) { return u.replace(/[\. ]/g, "_")});
361
+ // Truncate the extension if it is too long
362
+ if(extension.length > 32) {
363
+ extension = extension.substr(0,32);
364
+ }
365
+ // If the filepath already ends in the extension then remove it
366
+ if(filepath.substring(filepath.length - extension.length) === extension) {
367
+ filepath = filepath.substring(0,filepath.length - extension.length);
368
+ }
359
369
  // Truncate the filename if it is too long
360
370
  if(filepath.length > 200) {
361
371
  filepath = filepath.substr(0,200);
362
372
  }
363
- // If the resulting filename is blank (eg because the title is just punctuation characters)
364
- if(!filepath) {
373
+ // If the resulting filename is blank (eg because the title is just punctuation)
374
+ if(!filepath || /^_+$/g.test(filepath)) {
365
375
  // ...then just use the character codes of the title
366
- filepath = "";
376
+ filepath = "";
367
377
  $tw.utils.each(title.split(""),function(char) {
368
378
  if(filepath) {
369
379
  filepath += "-";
@@ -382,22 +392,21 @@ exports.generateTiddlerFilepath = function(title,options) {
382
392
  count++;
383
393
  } while(fs.existsSync(fullPath));
384
394
  // If the last write failed with an error, or if path does not start with:
385
- // the resolved options.directory, the resolved wikiPath directory, or the wikiTiddlersPath directory,
386
- // then encodeURIComponent() and resolve to tiddler directory
387
- var newPath = fullPath,
395
+ // the resolved options.directory, the resolved wikiPath directory, the wikiTiddlersPath directory,
396
+ // or the 'originalpath' directory, then encodeURIComponent() and resolve to tiddler directory.
397
+ var writePath = $tw.hooks.invokeHook("th-make-tiddler-path",fullPath,fullPath),
388
398
  encode = (options.fileInfo || {writeError: false}).writeError == true;
389
- if(!encode){
390
- encode = !(fullPath.indexOf(path.resolve(directory)) == 0 ||
391
- fullPath.indexOf(path.resolve($tw.boot.wikiPath)) == 0 ||
392
- fullPath.indexOf($tw.boot.wikiTiddlersPath) == 0);
399
+ if(!encode) {
400
+ encode = !(writePath.indexOf($tw.boot.wikiTiddlersPath) == 0 ||
401
+ writePath.indexOf(path.resolve(directory)) == 0 ||
402
+ writePath.indexOf(path.resolve($tw.boot.wikiPath)) == 0 ||
403
+ writePath.indexOf(path.resolve($tw.boot.wikiTiddlersPath,originalpath)) == 0 );
393
404
  }
394
- if(encode){
395
- fullPath = path.resolve(directory, encodeURIComponent(fullPath));
405
+ if(encode) {
406
+ writePath = path.resolve(directory,encodeURIComponent(fullPath));
396
407
  }
397
- // Call hook to allow plugins to modify the final path
398
- fullPath = $tw.hooks.invokeHook("th-make-tiddler-path", newPath, fullPath);
399
408
  // Return the full path to the file
400
- return fullPath;
409
+ return writePath;
401
410
  };
402
411
 
403
412
  /*
@@ -411,18 +420,33 @@ exports.saveTiddlerToFile = function(tiddler,fileInfo,callback) {
411
420
  if(fileInfo.hasMetaFile) {
412
421
  // Save the tiddler as a separate body and meta file
413
422
  var typeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || "text/plain"] || {encoding: "utf8"};
414
- fs.writeFile(fileInfo.filepath,tiddler.fields.text,typeInfo.encoding,function(err) {
423
+ fs.writeFile(fileInfo.filepath,tiddler.fields.text || "",typeInfo.encoding,function(err) {
415
424
  if(err) {
416
425
  return callback(err);
417
426
  }
418
- fs.writeFile(fileInfo.filepath + ".meta",tiddler.getFieldStringBlock({exclude: ["text","bag"]}),"utf8",callback);
427
+ fs.writeFile(fileInfo.filepath + ".meta",tiddler.getFieldStringBlock({exclude: ["text","bag"]}),"utf8",function(err) {
428
+ if(err) {
429
+ return callback(err);
430
+ }
431
+ return callback(null,fileInfo);
432
+ });
419
433
  });
420
434
  } else {
421
435
  // Save the tiddler as a self contained templated file
422
436
  if(fileInfo.type === "application/x-tiddler") {
423
- fs.writeFile(fileInfo.filepath,tiddler.getFieldStringBlock({exclude: ["text","bag"]}) + (!!tiddler.fields.text ? "\n\n" + tiddler.fields.text : ""),"utf8",callback);
437
+ fs.writeFile(fileInfo.filepath,tiddler.getFieldStringBlock({exclude: ["text","bag"]}) + (!!tiddler.fields.text ? "\n\n" + tiddler.fields.text : ""),"utf8",function(err) {
438
+ if(err) {
439
+ return callback(err);
440
+ }
441
+ return callback(null,fileInfo);
442
+ });
424
443
  } else {
425
- fs.writeFile(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: ["bag"]})],null,$tw.config.preferences.jsonSpaces),"utf8",callback);
444
+ fs.writeFile(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: ["bag"]})],null,$tw.config.preferences.jsonSpaces),"utf8",function(err) {
445
+ if(err) {
446
+ return callback(err);
447
+ }
448
+ return callback(null,fileInfo);
449
+ });
426
450
  }
427
451
  }
428
452
  };
@@ -438,7 +462,7 @@ exports.saveTiddlerToFileSync = function(tiddler,fileInfo) {
438
462
  if(fileInfo.hasMetaFile) {
439
463
  // Save the tiddler as a separate body and meta file
440
464
  var typeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || "text/plain"] || {encoding: "utf8"};
441
- fs.writeFileSync(fileInfo.filepath,tiddler.fields.text,typeInfo.encoding);
465
+ fs.writeFileSync(fileInfo.filepath,tiddler.fields.text || "",typeInfo.encoding);
442
466
  fs.writeFileSync(fileInfo.filepath + ".meta",tiddler.getFieldStringBlock({exclude: ["text","bag"]}),"utf8");
443
467
  } else {
444
468
  // Save the tiddler as a self contained templated file
@@ -448,31 +472,44 @@ exports.saveTiddlerToFileSync = function(tiddler,fileInfo) {
448
472
  fs.writeFileSync(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: ["bag"]})],null,$tw.config.preferences.jsonSpaces),"utf8");
449
473
  }
450
474
  }
475
+ return fileInfo;
451
476
  };
452
477
 
453
478
  /*
454
479
  Delete a file described by the fileInfo if it exits
455
480
  */
456
- exports.deleteTiddlerFile = function(fileInfo, callback) {
481
+ exports.deleteTiddlerFile = function(fileInfo,callback) {
457
482
  //Only attempt to delete files that exist on disk
458
483
  if(!fileInfo.filepath || !fs.existsSync(fileInfo.filepath)) {
459
- return callback(null);
484
+ //For some reason, the tiddler is only in memory or we can't modify the file at this path
485
+ $tw.syncer.displayError("Server deleteTiddlerFile task failed for filepath: "+fileInfo.filepath);
486
+ return callback(null,fileInfo);
460
487
  }
461
488
  // Delete the file
462
489
  fs.unlink(fileInfo.filepath,function(err) {
463
490
  if(err) {
464
491
  return callback(err);
465
- }
492
+ }
466
493
  // Delete the metafile if present
467
494
  if(fileInfo.hasMetaFile && fs.existsSync(fileInfo.filepath + ".meta")) {
468
495
  fs.unlink(fileInfo.filepath + ".meta",function(err) {
469
496
  if(err) {
470
497
  return callback(err);
471
498
  }
472
- return $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),callback);
499
+ return $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),function(err) {
500
+ if(err) {
501
+ return callback(err);
502
+ }
503
+ return callback(null,fileInfo);
504
+ });
473
505
  });
474
506
  } else {
475
- return $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),callback);
507
+ return $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),function(err) {
508
+ if(err) {
509
+ return callback(err);
510
+ }
511
+ return callback(null,fileInfo);
512
+ });
476
513
  }
477
514
  });
478
515
  };
@@ -482,25 +519,25 @@ Cleanup old files on disk, by comparing the options values:
482
519
  adaptorInfo from $tw.syncer.tiddlerInfo
483
520
  bootInfo from $tw.boot.files
484
521
  */
485
- exports.cleanupTiddlerFiles = function(options, callback) {
522
+ exports.cleanupTiddlerFiles = function(options,callback) {
486
523
  var adaptorInfo = options.adaptorInfo || {},
487
524
  bootInfo = options.bootInfo || {},
488
525
  title = options.title || "undefined";
489
526
  if(adaptorInfo.filepath && bootInfo.filepath && adaptorInfo.filepath !== bootInfo.filepath) {
490
- return $tw.utils.deleteTiddlerFile(adaptorInfo, function(err){
527
+ $tw.utils.deleteTiddlerFile(adaptorInfo,function(err) {
491
528
  if(err) {
492
529
  if ((err.code == "EPERM" || err.code == "EACCES") && err.syscall == "unlink") {
493
530
  // Error deleting the previous file on disk, should fail gracefully
494
- $tw.syncer.displayError("Server desynchronized. Error cleaning up previous file for tiddler: "+title, err);
495
- return callback(null);
531
+ $tw.syncer.displayError("Server desynchronized. Error cleaning up previous file for tiddler: \""+title+"\"",err);
532
+ return callback(null,bootInfo);
496
533
  } else {
497
534
  return callback(err);
498
535
  }
499
536
  }
500
- return callback(null);
537
+ return callback(null,bootInfo);
501
538
  });
502
539
  } else {
503
- return callback(null);
540
+ return callback(null,bootInfo);
504
541
  }
505
542
  };
506
543