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
@@ -90,7 +90,7 @@ describe("HTML tag new parser tests", function() {
90
90
  { type : 'macro-parameter', start : 0, value : 'one two three', end : 17 }
91
91
  );
92
92
  expect($tw.utils.parseMacroParameter("myparam>",0)).toEqual(
93
- { type : 'macro-parameter', start : 0, value : 'myparam', end : 7 }
93
+ { type : 'macro-parameter', start : 0, value : 'myparam>', end : 8 }
94
94
  );
95
95
  });
96
96
 
@@ -128,6 +128,21 @@ describe("HTML tag new parser tests", function() {
128
128
  expect($tw.utils.parseAttribute("p=\"blah\" ",0)).toEqual(
129
129
  { type : 'string', start : 0, name : 'p', value : 'blah', end : 8 }
130
130
  );
131
+ expect($tw.utils.parseAttribute("p=\"bl\nah\" ",0)).toEqual(
132
+ { type : 'string', start : 0, name : 'p', value : 'bl\nah', end : 9 }
133
+ );
134
+ expect($tw.utils.parseAttribute("p={{{blah}}} ",0)).toEqual(
135
+ { type : 'filtered', start : 0, name : 'p', filter : 'blah', end : 12 }
136
+ );
137
+ expect($tw.utils.parseAttribute("p={{{bl\nah}}} ",0)).toEqual(
138
+ { type : 'filtered', start : 0, name : 'p', filter : 'bl\nah', end : 13 }
139
+ );
140
+ expect($tw.utils.parseAttribute("p={{{ [{$:/layout}] }}} ",0)).toEqual(
141
+ { type : 'filtered', start : 0, name : 'p', filter : ' [{$:/layout}] ', end : 23 }
142
+ );
143
+ expect($tw.utils.parseAttribute("p={{blah}} ",0)).toEqual(
144
+ { type : 'indirect', start : 0, name : 'p', textReference : 'blah', end : 10 }
145
+ );
131
146
  expect($tw.utils.parseAttribute("p=blah ",0)).toEqual(
132
147
  { type : 'string', start : 0, name : 'p', value : 'blah', end : 6 }
133
148
  );
@@ -156,46 +171,52 @@ describe("HTML tag new parser tests", function() {
156
171
  null
157
172
  );
158
173
  expect(parser.parseTag("<mytag>",0)).toEqual(
159
- { type : 'element', start : 0, attributes : { }, tag : 'mytag', end : 7 }
174
+ { type : 'element', start : 0, attributes : { }, orderedAttributes: [ ], tag : 'mytag', end : 7 }
160
175
  );
161
176
  expect(parser.parseTag("<mytag attrib1>",0)).toEqual(
162
- { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', value : 'true', start : 6, name : 'attrib1', end : 14 } }, tag : 'mytag', end : 15 }
177
+ { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', value : 'true', start : 6, name : 'attrib1', end : 14 } }, orderedAttributes: [ { start: 6, name: 'attrib1', type: 'string', value: 'true', end: 14 } ], tag : 'mytag', end : 15 }
163
178
  );
164
179
  expect(parser.parseTag("<mytag attrib1/>",0)).toEqual(
165
- { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', value : 'true', start : 6, name : 'attrib1', end : 14 } }, tag : 'mytag', isSelfClosing : true, end : 16 }
180
+ { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', value : 'true', start : 6, name : 'attrib1', end : 14 } }, orderedAttributes: [ { start: 6, name: 'attrib1', type: 'string', value: 'true', end: 14 } ], tag : 'mytag', isSelfClosing : true, end : 16 }
166
181
  );
167
182
  expect(parser.parseTag("<$view field=\"title\" format=\"link\"/>",0)).toEqual(
168
- { type : 'view', start : 0, attributes : { field : { start : 6, name : 'field', type : 'string', value : 'title', end : 20 }, format : { start : 20, name : 'format', type : 'string', value : 'link', end : 34 } }, tag : '$view', isSelfClosing : true, end : 36 }
183
+ { type : 'view', start : 0, attributes : { field : { start : 6, name : 'field', type : 'string', value : 'title', end : 20 }, format : { start : 20, name : 'format', type : 'string', value : 'link', end : 34 } }, orderedAttributes: [ { start: 6, name: 'field', type: 'string', value: 'title', end: 20 }, { start: 20, name: 'format', type: 'string', value: 'link', end: 34 } ], tag : '$view', isSelfClosing : true, end : 36 }
169
184
  );
170
185
  expect(parser.parseTag("<mytag attrib1='something'>",0)).toEqual(
171
- { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', start : 6, name : 'attrib1', value : 'something', end : 26 } }, tag : 'mytag', end : 27 }
186
+ { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', start : 6, name : 'attrib1', value : 'something', end : 26 } }, orderedAttributes: [ { start: 6, name: 'attrib1', type: 'string', value: 'something', end: 26 } ], tag : 'mytag', end : 27 }
187
+ );
188
+ expect(parser.parseTag("<mytag attrib1 attrib1='something'>",0)).toEqual(
189
+ { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', start : 15, name : 'attrib1', value : 'something', end : 34 } }, orderedAttributes: [ { start: 6, name: 'attrib1', type: 'string', value: 'true', end: 15 }, { start: 15, name: 'attrib1', type: 'string', value: 'something', end: 34 } ], tag : 'mytag', end : 35 }
190
+ );
191
+ expect(parser.parseTag("<mytag attrib1 attrib1='something' attrib1='else'>",0)).toEqual(
192
+ { type : 'element', start : 0, attributes : { attrib1 : { type : 'string', start : 34, name : 'attrib1', value : 'else', end : 49 } }, orderedAttributes: [ { start: 6, name: 'attrib1', type: 'string', value: 'true', end: 15 }, { start: 15, name: 'attrib1', type: 'string', value: 'something', end: 34 }, { start: 34, name: 'attrib1', type: 'string', value: 'else', end: 49 } ], tag : 'mytag', end : 50 }
172
193
  );
173
194
  expect(parser.parseTag("<$mytag attrib1='something' attrib2=else thing>",0)).toEqual(
174
- { type : 'mytag', start : 0, attributes : { attrib1 : { type : 'string', start : 7, name : 'attrib1', value : 'something', end : 27 }, attrib2 : { type : 'string', start : 27, name : 'attrib2', value : 'else', end : 40 }, thing : { type : 'string', start : 40, name : 'thing', value : 'true', end : 46 } }, tag : '$mytag', end : 47 }
195
+ { type : 'mytag', start : 0, attributes : { attrib1 : { type : 'string', start : 7, name : 'attrib1', value : 'something', end : 27 }, attrib2 : { type : 'string', start : 27, name : 'attrib2', value : 'else', end : 40 }, thing : { type : 'string', start : 40, name : 'thing', value : 'true', end : 46 } }, orderedAttributes: [ { start: 7, name: 'attrib1', type: 'string', value: 'something', end: 27 }, { start: 27, name: 'attrib2', type: 'string', value: 'else', end: 40 }, { start: 40, name: 'thing', type: 'string', value: 'true', end: 46 } ], tag : '$mytag', end : 47 }
175
196
  );
176
197
  expect(parser.parseTag("< $mytag attrib1='something' attrib2=else thing>",0)).toEqual(
177
198
  null
178
199
  );
179
200
  expect(parser.parseTag("<$mytag attrib3=<<myMacro one:two three:'four and five'>>>",0)).toEqual(
180
- { type : 'mytag', start : 0, attributes : { attrib3 : { type : 'macro', start : 7, name : 'attrib3', value : { type : 'macrocall', start : 16, params : [ { type : 'macro-parameter', start : 25, value : 'two', name : 'one', end : 33 }, { type : 'macro-parameter', start : 33, value : 'four and five', name : 'three', end : 55 } ], name : 'myMacro', end : 57 }, end : 57 } }, tag : '$mytag', end : 58 }
201
+ { type : 'mytag', start : 0, attributes : { attrib3 : { type : 'macro', start : 7, name : 'attrib3', value : { type : 'macrocall', start : 16, params : [ { type : 'macro-parameter', start : 25, value : 'two', name : 'one', end : 33 }, { type : 'macro-parameter', start : 33, value : 'four and five', name : 'three', end : 55 } ], name : 'myMacro', end : 57 }, end : 57 } }, orderedAttributes: [ { type : 'macro', start : 7, name : 'attrib3', value : { type : 'macrocall', start : 16, params : [ { type : 'macro-parameter', start : 25, value : 'two', name : 'one', end : 33 }, { type : 'macro-parameter', start : 33, value : 'four and five', name : 'three', end : 55 } ], name : 'myMacro', end : 57 }, end : 57 } ], tag : '$mytag', end : 58 }
181
202
  );
182
203
  expect(parser.parseTag("<$mytag attrib1='something' attrib2=else thing attrib3=<<myMacro one:two three:'four and five'>>>",0)).toEqual(
183
- { type : 'mytag', start : 0, attributes : { attrib1 : { type : 'string', start : 7, name : 'attrib1', value : 'something', end : 27 }, attrib2 : { type : 'string', start : 27, name : 'attrib2', value : 'else', end : 40 }, thing : { type : 'string', start : 40, name : 'thing', value : 'true', end : 47 }, attrib3 : { type : 'macro', start : 47, name : 'attrib3', value : { type : 'macrocall', start : 55, params : [ { type : 'macro-parameter', start : 64, value : 'two', name : 'one', end : 72 }, { type : 'macro-parameter', start : 72, value : 'four and five', name : 'three', end : 94 } ], name : 'myMacro', end : 96 }, end : 96 } }, tag : '$mytag', end : 97 }
204
+ { type : 'mytag', start : 0, attributes : { attrib1 : { type : 'string', start : 7, name : 'attrib1', value : 'something', end : 27 }, attrib2 : { type : 'string', start : 27, name : 'attrib2', value : 'else', end : 40 }, thing : { type : 'string', start : 40, name : 'thing', value : 'true', end : 47 }, attrib3 : { type : 'macro', start : 47, name : 'attrib3', value : { type : 'macrocall', start : 55, params : [ { type : 'macro-parameter', start : 64, value : 'two', name : 'one', end : 72 }, { type : 'macro-parameter', start : 72, value : 'four and five', name : 'three', end : 94 } ], name : 'myMacro', end : 96 }, end : 96 } }, orderedAttributes: [ { type : 'string', start : 7, name : 'attrib1', value : 'something', end : 27 }, { type : 'string', start : 27, name : 'attrib2', value : 'else', end : 40 }, { type : 'string', start : 40, name : 'thing', value : 'true', end : 47 }, { type : 'macro', start : 47, name : 'attrib3', value : { type : 'macrocall', start : 55, params : [ { type : 'macro-parameter', start : 64, value : 'two', name : 'one', end : 72 }, { type : 'macro-parameter', start : 72, value : 'four and five', name : 'three', end : 94 } ], name : 'myMacro', end : 96 }, end : 96 } ], tag : '$mytag', end : 97 }
184
205
  );
185
206
  });
186
207
 
187
208
  it("should find and parse HTML tags", function() {
188
209
  expect(parser.findNextTag("<something <mytag>",1)).toEqual(
189
- { type : 'element', start : 11, attributes : { }, tag : 'mytag', end : 18 }
210
+ { type : 'element', start : 11, attributes : { }, orderedAttributes: [ ], tag : 'mytag', end : 18 }
190
211
  );
191
212
  expect(parser.findNextTag("something else </mytag>",0)).toEqual(
192
213
  null
193
214
  );
194
215
  expect(parser.findNextTag("<<some other stuff>> <mytag>",0)).toEqual(
195
- { type : 'element', start : 1, attributes : { other : { type : 'string', value : 'true', start : 6, name : 'other', end : 13 }, stuff : { type : 'string', value : 'true', start : 13, name : 'stuff', end : 18 } }, tag : 'some', end : 19 }
216
+ { type : 'element', start : 1, attributes : { other : { type : 'string', value : 'true', start : 6, name : 'other', end : 13 }, stuff : { type : 'string', value : 'true', start : 13, name : 'stuff', end : 18 } }, orderedAttributes: [ { type : 'string', value : 'true', start : 6, name : 'other', end : 13 }, { type : 'string', value : 'true', start : 13, name : 'stuff', end : 18 } ], tag : 'some', end : 19 }
196
217
  );
197
218
  expect(parser.findNextTag("<<some other stuff>> <mytag>",2)).toEqual(
198
- { type : 'element', start : 21, attributes : { }, tag : 'mytag', end : 28 }
219
+ { type : 'element', start : 21, attributes : { }, orderedAttributes: [ ], tag : 'mytag', end : 28 }
199
220
  );
200
221
  });
201
222
 
@@ -8,10 +8,18 @@ Tests the utils.LinkedList class.
8
8
  LinkedList was built to behave exactly as $tw.utils.pushTop and
9
9
  Array.prototype.push would behave with an array.
10
10
 
11
- Many of these tests function by performing operations on a LinkedList while
12
- performing the equivalent actions on an array with the old utility methods.
11
+ Many of these tests function by performing operations on a paired set of
12
+ an array and LinkedList. It uses equivalent actions on both.
13
13
  Then we confirm that the two come out functionally identical.
14
14
 
15
+ NOTE TO FURTHER LINKED LIST DEVELOPERS:
16
+
17
+ If you want to add new functionality, like 'shift' or 'unshift', you'll
18
+ probably need to deal with the fact that Linked List will insert undefined
19
+ as a first entry into an item's 'prev' array when it's at the front of
20
+ the list, but it doesn't do the same for the 'next' array when it's at
21
+ the end. I think you'll probably be better off preventing 'prev' from ever
22
+ adding undefined.
15
23
  \*/
16
24
  (function(){
17
25
 
@@ -21,127 +29,230 @@ Then we confirm that the two come out functionally identical.
21
29
 
22
30
  describe("LinkedList class tests", function() {
23
31
 
32
+ // creates and initializes a new {array, list} pair for testing
33
+ function newPair(initialArray) {
34
+ var pair = {array: [], list: new $tw.utils.LinkedList()};
35
+ if (initialArray) {
36
+ push(pair, initialArray);
37
+ }
38
+ return pair;
39
+ };
40
+
24
41
  // pushTops a value or array of values into both the array and linked list.
25
- function pushTop(array, linkedList, valueOrValues) {
26
- $tw.utils.pushTop(array, valueOrValues);
27
- linkedList.pushTop(valueOrValues);
42
+ function pushTop(pair, valueOrValues) {
43
+ pair.list.pushTop(valueOrValues);
44
+ $tw.utils.pushTop(pair.array, valueOrValues);
45
+ return pair;
28
46
  };
29
47
 
30
48
  // pushes values into both the array and the linked list.
31
- function push(array, linkedList/*, other values */) {
32
- var values = Array.prototype.slice(arguments, 2);
33
- array.push.apply(array, values);
34
- linkedList.push.apply(linkedList, values);
49
+ function push(pair, values) {
50
+ pair.list.push(values);
51
+ pair.array.push.apply(pair.array, values);
52
+ return pair;
35
53
  };
36
54
 
37
55
  // operates a remove action on an array and a linked list in parallel.
38
- function remove(array, linkedList, valueOrValues) {
39
- $tw.utils.removeArrayEntries(array, valueOrValues);
40
- linkedList.remove(valueOrValues);
56
+ function remove(pair, valueOrValues) {
57
+ pair.list.remove(valueOrValues);
58
+ $tw.utils.removeArrayEntries(pair.array, valueOrValues);
59
+ return pair;
41
60
  };
42
61
 
43
62
  // compares an array and a linked list to make sure they match up
44
- function compare(array, linkedList) {
45
- expect(linkedList.toArray()).toEqual(array);
46
- expect(linkedList.length).toBe(array.length);
63
+ function compare(pair) {
64
+ expect(pair.list.toArray()).toEqual(pair.array);
65
+ expect(pair.list.length).toBe(pair.array.length);
66
+ return pair;
47
67
  };
48
68
 
49
69
  it("can pushTop", function() {
50
- var array = [];
51
- var list = new $tw.utils.LinkedList();
52
- push(array, list, 'A', 'B', 'C');
70
+ var pair = newPair(["A", "B", "C"]);
53
71
  // singles
54
- pushTop(array, list, 'X');
55
- pushTop(array, list, 'B');
56
- compare(array, list); // A C X B
72
+ pushTop(pair, "X");
73
+ pushTop(pair, "B");
74
+ compare(pair); // ACXB
57
75
  //arrays
58
- pushTop(array, list, ['X', 'A', 'G', 'A']);
76
+ pushTop(pair, ["X", "A", "G", "A"]);
59
77
  // If the pushedTopped list has duplicates, they go in unempeded.
60
- compare(array, list); // C B X A G A
78
+ compare(pair); // CBXAGA
61
79
  });
62
80
 
63
81
  it("can pushTop with tricky duplicates", function() {
64
- var array = [];
65
- var list = new $tw.utils.LinkedList();
66
- push(array, list, 'A', 'B', 'A', 'C', 'A', 'end');
82
+ var pair = newPair(["A", "B", "A", "C", "A", "e"]);
67
83
  // If the original list contains duplicates, only one instance is cut
68
- pushTop(array, list, 'A');
69
- compare(array, list); // B A C A end A
84
+ compare(pushTop(pair, "A")); // BACAeA
70
85
 
71
86
  // And the Llist properly knows the next 'A' to cut if pushed again
72
- pushTop(array, list, ['X', 'A']);
73
- compare(array, list); // B C A end A X A
87
+ compare(pushTop(pair, ["X", "A"])); // BCAeAXA
74
88
 
75
89
  // One last time, to make sure we maintain the linked chain of copies
76
- pushTop(array, list, 'A');
77
- compare(array, list); // B C end A X A A
90
+ compare(pushTop(pair, "A")); // BCeAXAA
91
+ });
92
+
93
+ it("can pushTop a single-value list with itself", function() {
94
+ // This simple case actually requires special handling in LinkedList.
95
+ compare(pushTop(newPair(["A"]), "A")); // A
96
+ });
97
+
98
+ it("can remove all instances of a multi-instance value", function() {
99
+ var pair = compare(remove(newPair(["A", "A"]), ["A", "A"])); //
100
+ // Now add 'A' back in, since internally it might be using arrays,
101
+ // even though those arrays must be empty.
102
+ compare(pushTop(pair, "A")); // A
103
+ // Same idea, but push something else before readding 'A'
104
+ compare(pushTop(remove(newPair(["A", "A"]), ["A", "A"]), ["B", "A"])); // BA
105
+
106
+ // Again, but this time with other values mixed in
107
+ compare(remove(newPair(["B", "A", "A", "C"]), ["A", "A"])) // BC;
108
+ // And again, but this time with value inbetween too.
109
+ compare(remove(newPair(["B", "A", "X", "Y", "Z", "A", "C"]), ["A", "A"])); // BXYZC
110
+
111
+ // One last test, where removing a pair from the end could corrupt
112
+ // list.last.
113
+ pair = remove(newPair(["D", "C", "A", "A"]), ["A", "A"]);
114
+ // But I can't figure out another way to test this. It's wrong
115
+ // for list.last to be anything other than a string, but I
116
+ // can't figure out how to make that corruption manifest a problem.
117
+ // So I dig into its private members. Bleh...
118
+ expect(typeof pair.list.last).toBe("string");
119
+ });
120
+
121
+ it("can pushTop value linked to by a repeat item", function() {
122
+ var pair = newPair(["A", "B", "A", "C", "A", "C", "D"]);
123
+ // This is tricky because that 'C' is referenced by a second 'A'
124
+ // It WAS a crash before
125
+ pushTop(pair, "C");
126
+ compare(pair); // ABAACDC
127
+ });
128
+
129
+ it("can pushTop last value after pair", function() {
130
+ // The 'next' ptrs for A would be polluted with an extraneous
131
+ // undefined after the pop, which would make pushing the 'X'
132
+ // back on problematic.
133
+ compare(pushTop(newPair(["A", "A", "X"]), "X")); // AACX
134
+ // And lets try a few other manipulations around pairs
135
+ compare(pushTop(newPair(["A", "A", "X", "C"]), "X")); // AACX
136
+ compare(pushTop(newPair(["X", "A", "A"]), "X")); // AAX
137
+ compare(pushTop(newPair(["C", "X", "A", "A"]), "X")); // CAAX
78
138
  });
79
139
 
80
140
  it("can handle particularly nasty pushTop pitfall", function() {
81
- var array = [];
82
- var list = new $tw.utils.LinkedList();
83
- push(array, list, 'A', 'B', 'A', 'C');
84
- pushTop(array, list, 'A'); // BACA
85
- pushTop(array, list, 'X'); // BACAX
86
- remove(array, list, 'A'); // BCAX
87
- pushTop(array, list, 'A'); // BCXA
88
- remove(array, list, 'A'); // BCX
141
+ var pair = newPair(["A", "B", "A", "C"]);
142
+ pushTop(pair, "A"); // BACA
143
+ pushTop(pair, "X"); // BACAX
144
+ remove(pair, "A"); // BCAX
145
+ pushTop(pair, "A"); // BCXA
146
+ remove(pair, "A"); // BCX
89
147
 
90
148
  // But! The way I initially coded the copy chains, a mystery A could
91
149
  // hang around.
92
- compare(array, list); // B C X
150
+ compare(pair); // BCX
151
+ });
152
+
153
+ it("can handle past-duplicate items when pushing", function() {
154
+ var pair = newPair(["X", "Y", "A", "C", "A"]);
155
+ // Removing an item, when it has a duplicat at the list's end
156
+ remove(pair, "A");
157
+ compare(pair); // XYCA
158
+ // This actually caused an infinite loop once. So important test here.
159
+ push(pair, ["A"]);
160
+ compare(pair); // XYCAA
161
+ pushTop(pair, "A") // switch those last As
162
+ compare(pair); // XYCAA
163
+ remove(pair, ["A", "A"]); // Remove all As, then add them back
164
+ pushTop(pair, ["A", "A"])
165
+ compare(pair); // XYCAA
93
166
  });
94
167
 
95
168
  it("can push", function() {
96
- var array = [];
97
169
  var list = new $tw.utils.LinkedList();
98
- push(array, list, 'A', 'B', 'C');
99
170
  // singles
100
- push(array, list, 'B');
101
- compare(array, list); // A B C B
102
-
171
+ expect(list.push("A")).toBe(1);
172
+ expect(list.push("B")).toBe(2);
103
173
  // multiple args
104
- push(array, list, 'A', 'B', 'C');
105
- compare(array, list); // A B C B A B C
174
+ expect(list.push("C", "D", "E")).toBe(5);
175
+ // array arg allowed
176
+ expect(list.push(["F", "G"])).toBe(7);
177
+ // No-op
178
+ expect(list.push()).toBe(7);
179
+ expect(list.toArray()).toEqual(["A", "B", "C", "D", "E", "F", "G"]);
180
+ });
181
+
182
+ it("can handle empty string", function() {
183
+ compare(newPair(["", "", ""])); // ___
184
+ compare(push(newPair([""]), [""])); // __
185
+ compare(pushTop(newPair(["", "", ""]), ["A", ""])); // __A_
186
+ compare(remove(newPair(["", "A"]), "A")); // _
187
+ compare(push(newPair(["", "A"]), ["A"])); // _AA
188
+ compare(remove(newPair(["A", ""]), "A")); // _
189
+ compare(push(newPair(["A", ""]), ["A"])); // A_A
190
+
191
+ // This one is tricky but precise. Remove 'B', and 'A' might mistake
192
+ // it as being first in the list since it's before ''. 'C' would get
193
+ // blasted from A's prev reference array.
194
+ compare(remove(newPair(["C", "A", "", "B", "A"]), ["B", "A"])); // C_A
195
+ // Same idea, but with A mistaking B for being at the list's end, and
196
+ // thus removing C from its 'next' reference array.
197
+ compare(remove(newPair(["A", "B", "", "A", "C"]), ["B", "A"])); // _AC
198
+ });
199
+
200
+ it("will throw if told to push non-strings", function() {
201
+ var message = "Linked List only accepts string values, not ";
202
+ var list = new $tw.utils.LinkedList();
203
+ expect(() => list.push(undefined)).toThrow(message + "undefined");
204
+ expect(() => list.pushTop(undefined)).toThrow(message + "undefined");
205
+ expect(() => list.pushTop(["c", undefined])).toThrow(message + "undefined");
206
+ expect(() => list.pushTop(5)).toThrow(message + "5");
207
+ expect(() => list.pushTop(null)).toThrow(message + "null");
208
+
209
+ // now lets do a quick test to make sure this exception
210
+ // doesn't leave any side-effects
211
+ // A.K.A Strong guarantee
212
+ var pair = newPair(["A", "5", "B", "C"]);
213
+ expect(() => pushTop(pair, 5)).toThrow(message + "5");
214
+ compare(pair);
215
+ expect(() => push(pair, ["D", 7])).toThrow(message + "7");
216
+ compare(pair);
217
+ expect(() => remove(pair, 5)).toThrow(message + "5");
218
+ compare(pair);
219
+ // This is the tricky one. 'A' and 'B' should not be removed or pushed.
220
+ expect(() => pushTop(pair, ["A", "B", null])).toThrow(message + "null");
221
+ compare(pair);
222
+ expect(() => remove(pair, ["A", "B", null])).toThrow(message + "null");
223
+ compare(pair);
106
224
  });
107
225
 
108
226
  it("can clear", function() {
109
227
  var list = new $tw.utils.LinkedList();
110
- list.push('A', 'B', 'C');
228
+ list.push("A", "B", "C");
111
229
  list.clear();
112
230
  expect(list.toArray()).toEqual([]);
113
231
  expect(list.length).toBe(0);
114
232
  });
115
233
 
116
234
  it("can remove", function() {
117
- var array = [];
118
235
  var list = new $tw.utils.LinkedList();
119
- push(array, list, 'A', 'x', 'C', 'x', 'D', 'x', 'E', 'x');
236
+ list.push(["A", "x", "C", "x", "D", "x", "E", "x"]);
120
237
  // single
121
- remove(array, list, 'x');
122
- compare(array, list); // A C x D x E x
123
-
238
+ list.remove("x");
124
239
  // arrays
125
- remove(array, list, ['x', 'A', 'x']);
126
- compare(array, list); // C D E x
240
+ list.remove(["x", "A", "XXX", "x"]);
241
+ expect(list.toArray()).toEqual(["C", "D", "E", "x"]);
127
242
  });
128
243
 
129
- it('can ignore removal of nonexistent items', function() {
130
- var array = [];
131
- var list = new $tw.utils.LinkedList();
132
- push(array, list, 'A', 'B', 'C', 'D');
244
+ it("can ignore removal of nonexistent items", function() {
245
+ var pair = newPair(["A", "B", "C", "D"]);
133
246
  // single
134
- remove(array, list, 'Z');
135
- compare(array, list); // A B C D
247
+ compare(remove(pair, "Z")); // ABCD
136
248
 
137
249
  // array
138
- remove(array, list, ['Z', 'B', 'X']);
139
- compare(array, list); // A C D
250
+ compare(remove(pair, ["Z", "B", "X"])); // ACD
140
251
  });
141
252
 
142
- it('can iterate with each', function() {
253
+ it("can iterate with each", function() {
143
254
  var list = new $tw.utils.LinkedList();
144
- list.push('0', '1', '2', '3');
255
+ list.push("0", "1", "2", "3");
145
256
  var counter = 0;
146
257
  list.each(function(value) {
147
258
  expect(value).toBe(counter.toString());
@@ -149,6 +260,11 @@ describe("LinkedList class tests", function() {
149
260
  });
150
261
  expect(counter).toBe(4);
151
262
  });
263
+
264
+ it("can iterate a list of the same item", function() {
265
+ // Seems simple. Caused an infinite loop during development.
266
+ compare(newPair(["A", "A"]));
267
+ });
152
268
  });
153
269
 
154
270
  })();
@@ -0,0 +1,132 @@
1
+ /*\
2
+ title: test-parsetextreference.js
3
+ type: application/javascript
4
+ tags: [[$:/tags/test-spec]]
5
+
6
+ Tests for source attribute in parser returned from wiki.parseTextReference
7
+
8
+ \*/
9
+ (function(){
10
+
11
+ /*jslint node: true, browser: true */
12
+ /*global $tw: false */
13
+ "use strict";
14
+
15
+ describe("Wiki.parseTextReference tests", function() {
16
+
17
+ // Create a wiki
18
+ var wiki = new $tw.Wiki();
19
+ wiki.addTiddler({
20
+ title: "TiddlerOne",
21
+ text: "The quick brown fox in $:/TiddlerTwo",
22
+ tags: ["one"],
23
+ authors: "Joe Bloggs",
24
+ modifier: "JoeBloggs",
25
+ modified: "201304152222"});
26
+ wiki.addTiddler({
27
+ title: "$:/TiddlerTwo",
28
+ tags: ["two"],
29
+ authors: "[[John Doe]]",
30
+ modifier: "John",
31
+ modified: "201304152211"});
32
+ wiki.addTiddler({
33
+ title: "Tiddler Three",
34
+ text: '{"oct":31,"nov":30,"dec":31,"jan":""}',
35
+ tags: ["one","two"],
36
+ type: "application/json",
37
+ modifier: "John",
38
+ modified: "201304162202"});
39
+ wiki.addTiddler({
40
+ title: "TiddlerFour",
41
+ text: "The quick brown fox in $:/TiddlerTwo",
42
+ tags: ["one"],
43
+ type: "text/vnd.tiddlywiki",
44
+ authors: "",
45
+ modifier: "JoeBloggs",
46
+ modified: "201304152222"});
47
+ // Add a plugin containing some shadow tiddlers
48
+ var shadowTiddlers = {
49
+ tiddlers: {
50
+ "$:/TiddlerFive": {
51
+ title: "$:/TiddlerFive",
52
+ text: "Everything in federation",
53
+ tags: ["two"]
54
+ },
55
+ "TiddlerSix": {
56
+ title: "TiddlerSix",
57
+ text: "Missing inaction from TiddlerOne",
58
+ filter: "[[one]] [[a a]] [subfilter{hasList!!list}]",
59
+ tags: []
60
+ },
61
+ "TiddlerSeventh": {
62
+ title: "TiddlerSeventh",
63
+ text: "",
64
+ list: "TiddlerOne [[Tiddler Three]] [[a fourth tiddler]] MissingTiddler",
65
+ tags: ["one"]
66
+ },
67
+ "Tiddler8": {
68
+ title: "Tiddler8",
69
+ text: "Tidd",
70
+ tags: ["one"],
71
+ "test-field": "JoeBloggs",
72
+ "myfield":""
73
+ }
74
+ }
75
+ };
76
+ wiki.addTiddler({
77
+ title: "$:/ShadowPlugin",
78
+ text: JSON.stringify(shadowTiddlers),
79
+ "plugin-type": "plugin",
80
+ type: "application/json"});
81
+ wiki.addTiddler({
82
+ title: "TiddlerNine",
83
+ text: "this is plain text",
84
+ type: "text/plain"
85
+ });
86
+
87
+ // Define a parsing shortcut for souce attribute of parser returned by wiki.parseTextReference
88
+ var parseAndGetSource = function(title,field,index,subTiddler) {
89
+ var parser = wiki.parseTextReference(title,field,index,{subTiddler: subTiddler});
90
+ return parser ? parser.source : null;
91
+ };
92
+
93
+ it("should parse text references and return correct source attribute", function(){
94
+ // Existing tiddler with a text field, no field argument specified
95
+ expect(parseAndGetSource("TiddlerOne")).toEqual("The quick brown fox in $:/TiddlerTwo");
96
+ // Existing tiddler with a text field, field argument specified as text
97
+ expect(parseAndGetSource("TiddlerOne","text")).toEqual("The quick brown fox in $:/TiddlerTwo");
98
+ // Existing tiddler with no text field
99
+ expect(parseAndGetSource("$:/TiddlerTwo")).toEqual("");
100
+ // Existing tiddler, field argument specified as authors
101
+ expect(parseAndGetSource("TiddlerOne","authors")).toEqual("Joe Bloggs");
102
+ // Non-existent tiddler, no field argument
103
+ expect(parseAndGetSource("MissingTiddler")).toEqual(null);
104
+ // Non-existent tiddler, field argument
105
+ expect(parseAndGetSource("MissingTiddler","missing-field")).toEqual(null);
106
+ // Non-existent tiddler, index specified
107
+ expect(parseAndGetSource("MissingTiddler",null,"missing-index")).toEqual(null);
108
+ // Existing tiddler with non existent field
109
+ expect(parseAndGetSource("TiddlerOne","missing-field")).toEqual(null);
110
+ // Existing tiddler with blank field
111
+ expect(parseAndGetSource("TiddlerFour","authors")).toEqual("");
112
+ // Data tiddler with index specified
113
+ expect(parseAndGetSource("Tiddler Three",null,"oct")).toEqual("31");
114
+ // Data tiddler with blank index
115
+ expect(parseAndGetSource("Tiddler Three",null,"jan")).toEqual("");
116
+ // Data tiddler with non-existent index
117
+ expect(parseAndGetSource("Tiddler Three",null,"feb")).toEqual(null);
118
+ // Existing tiddler with a text field, type set to vnd.tiddlywiki
119
+ expect(parseAndGetSource("TiddlerFour")).toEqual("The quick brown fox in $:/TiddlerTwo");
120
+ // Existing subtiddler of a plugin
121
+ expect(parseAndGetSource("$:/ShadowPlugin","text",null,"Tiddler8")).toEqual("Tidd");
122
+ // Existing blank field of a subtiddler of a plugin
123
+ expect(parseAndGetSource("$:/ShadowPlugin","myfield",null,"Tiddler8")).toEqual("");
124
+ // Non-existent subtiddler of a plugin
125
+ expect(parseAndGetSource("$:/ShadowPlugin","text",null,"MyMissingTiddler")).toEqual(null);
126
+ // Plain text tiddler
127
+ expect(parseAndGetSource("TiddlerNine")).toEqual(undefined);
128
+ });
129
+
130
+ });
131
+
132
+ })();