tw-FRed
11b258a14b
Fix tag pills style ( #6934 )
2022-09-01 08:38:26 +01:00
Jeremy Ruston
c8ad385947
Docs: Update code of conduct
2022-08-19 11:15:57 +00:00
Marxsal
c1f6e02d14
Fix missing links in Getting Started. ( #6900 )
...
* Fix empty links in Getting Started.
* Remove standalone TH reference and combine lines.
2022-08-19 08:14:04 +01:00
jeremy@jermolene.com
2b8b133d4a
Merge branch 'master' into parameterised-transclusions
2022-08-17 18:11:21 +01:00
jeremy@jermolene.com
f0423c20b9
Merge branch 'tiddlywiki-com'
2022-08-17 18:11:12 +01:00
twMat
406dbd0883
Update Releases.tid ( #6880 )
2022-08-04 19:18:06 +01:00
jeremy@jermolene.com
9317804464
FIx transcluding of functions
...
This first implementation concatenates the results of the filter (with no separator) and then wikifies the result.
The test in this commit is quite interesting...
2022-08-04 09:28:56 +01:00
jeremy@jermolene.com
6207ec4812
Merge branch 'master' into parameterised-transclusions
2022-08-02 17:49:28 +01:00
jeremy@jermolene.com
3fd2cfc339
Preparing for v5.2.4
...
Note that we currently only plan to release v5.2.4 if there's an issue with v5.2.3, and that the next release version will be v5.3.0
2022-08-02 17:31:20 +01:00
jeremy@jermolene.com
1f4b12cd0e
Preparing for release of v5.2.3
2022-08-02 12:27:50 +01:00
jeremy@jermolene.com
608aa3378a
Merge branch 'tiddlywiki-com'
2022-08-02 12:21:14 +01:00
jeremy@jermolene.com
bff7dc88e8
Update release note
2022-08-02 10:03:28 +01:00
jeremy@jermolene.com
fb037de091
WIP
2022-07-31 15:34:31 +01:00
jeremy@jermolene.com
75865385a6
Docs: Fix typos
...
Thanks @amreus
Fixes #6860
Fixes #6859
2022-07-31 15:23:58 +01:00
jeremy@jermolene.com
9e6713d3e0
Release note: Remove duplicated line
2022-07-29 14:18:07 +01:00
jeremy@jermolene.com
1acad41574
Docs: Clarify ordering of tagged tiddlers
...
Fixes #6850
2022-07-29 14:16:09 +01:00
jeremy@jermolene.com
9a5f6558fe
Updated release banner (GitHub URL this time)
2022-07-29 14:11:09 +01:00
jeremy@jermolene.com
5d9b71771a
Updated new release banner
...
See https://talk.tiddlywiki.org/t/banner-competition-voting-for-v5-2-3/4009/16
2022-07-29 14:09:55 +01:00
jeremy@jermolene.com
178e652a5d
Update release note inc. banner credits
2022-07-29 10:48:57 +01:00
jeremy@jermolene.com
daf4eec702
Final new release banner for v5.2.3
...
See https://talk.tiddlywiki.org/t/banner-competition-voting-for-v5-2-3/4009
2022-07-29 10:20:45 +01:00
Saq Imtiaz
453d91caeb
Fix invalid file path in tiddlywiki-com branch ( #6844 )
...
* Delete editions/tw5.com/tiddlers/$:/editions/tw5.com directory
* Create systemtag-template.tid
2022-07-28 21:31:14 +01:00
jeremy@jermolene.com
8f85fbca33
Added some background on different types of brackets
2022-07-28 16:05:10 +01:00
Nathaniel Knight
655cf4729a
Add tiddly-wiki-server to TiddlyWeb implementors ( #6794 )
2022-07-27 19:22:49 +01:00
Robin Munn
63bba13758
Fix copy-and-paste mistake in insertafter docs ( #6824 )
2022-07-25 08:41:06 +01:00
btheado
4f38903c7b
Add description and examples comparing :map vs. :map:flat ( #6821 )
...
* Added description and examples comparing :map vs. :map:flat
* Make it clear :flat is just a suffix on the :map filter run
* Reword the description comparing :map and :map:flat
* Swap the :map and :map:flat columns in the examples table
* Removed mention of how to express ':map' in terms of ':map:flat'
2022-07-24 19:12:33 +01:00
Saq Imtiaz
ab1e85e01e
Fixes invalid path in new docus view template ( #6820 )
...
* Delete editions/tw5.com/tiddlers/$:/editions/tw5.com directory
Delete invalid file path directory
* Create systemtag-template.tid
Restore deleted file
2022-07-23 13:53:39 +01:00
jeremy@jermolene.com
065911259b
Add modified date to front page release note listing
2022-07-22 16:45:05 +01:00
jeremy@jermolene.com
6497633859
Update release note
2022-07-22 16:20:00 +01:00
jeremy@jermolene.com
9cc4c3ead7
Add first pass at Code of Conduct
2022-07-21 21:22:52 +01:00
Saq Imtiaz
613b3df367
Image lazy loading ( #6809 )
...
* Extend image widget with lazy loading support
* docs: added from-version to docs update
2022-07-21 15:30:56 +01:00
jeremy@jermolene.com
0366d6d7ba
Merge branch 'master' into parameterised-transclusions
2022-07-21 10:11:23 +01:00
jeremy@jermolene.com
39996c7a2f
Merge branch 'tiddlywiki-com'
2022-07-21 10:11:14 +01:00
jeremy@jermolene.com
b1cf9f241e
Merge branch 'master' into parameterised-transclusions
2022-07-21 10:10:49 +01:00
Saq Imtiaz
0237d9ed94
feat(filters): extend :map filter run prefix to accept a suffix to enable mapflat ( #6806 )
2022-07-21 09:23:01 +01:00
jeremy@jermolene.com
17c9bf7546
Protect against excessively recursive functions
2022-07-21 09:17:57 +01:00
Robin Munn
d4fc8f585e
Small grammar fix in release notes ( #6800 )
2022-07-20 09:56:41 +01:00
Robin Munn
caa6b888e9
Make insertafter docs more similar to insertbefore ( #6801 )
...
Now both the insertafter and insertbefore filter operators have similar
wording in their documentation tiddlers, making it more clear that the
"start" and "end" suffixes are only available in the two-parameter form.
2022-07-20 09:56:06 +01:00
twMat
a1b240de2f
[doc] Update TagMacro.tid ( #6797 )
2022-07-19 19:10:39 +01:00
twMat
7a98ab1677
[doc] SystemTag template ( #6798 )
2022-07-19 19:10:07 +01:00
twMat
c49d5a3b08
[tw.com] Improve the saver cards ( #6799 )
...
* [tw.com] Improve the saver cards
* [tw.com] Improve the saver cards _ take 2
* Update tw5.com-styles.tid
2022-07-19 19:05:23 +01:00
jeremy@jermolene.com
7d90083d14
Docs: Transclude widget
2022-07-18 19:44:53 +01:00
jeremy@jermolene.com
30f7b37cba
Make use of type attribute consistent
2022-07-18 19:44:37 +01:00
jeremy@jermolene.com
93717560dc
Docs: Update advice about using counter attribute of list widget
2022-07-18 12:03:42 +01:00
Saq Imtiaz
97eaec88d1
Update Release 5.2.3.tid ( #6790 )
2022-07-15 18:45:27 +01:00
Mohammad Rahmani
2275255c2b
Improve formatting of Contributors Section in Release Tiddler ( #6788 )
...
* improve contributors section in release tiddler
* comments implemented
Jeremy comments were implemented
2022-07-15 18:20:40 +01:00
jeremy@jermolene.com
eceacc23c8
Update release note
2022-07-15 17:43:19 +01:00
Jeremy Ruston
1ca6305acb
Split the tiddler subtitle into individual segments tagged $:/tags/ViewTemplate/Subtitle ( #6779 )
2022-07-15 17:37:25 +01:00
Saq Imtiaz
19331cc6f9
Fix: brittle selector implementation for draggable widget ( #6786 )
...
* Fix: fixes #6595 , brittle selector implementation for draggable widget
* Docs: updated for fix to selector implementation for draggable widget
2022-07-15 15:38:09 +01:00
jeremy@jermolene.com
2da117484c
Docs: Update release note contributors to new format
2022-07-14 13:50:30 +01:00
jeremy@jermolene.com
1c1dd2a4cf
Merge branch 'tiddlywiki-com'
2022-07-14 13:50:08 +01:00
jeremy@jermolene.com
f957874d18
Docs: Improve styling of GitHub contributors listing
2022-07-14 13:49:23 +01:00
jeremy@jermolene.com
aa4a284b88
Update release note
2022-07-14 09:03:04 +01:00
Jeremy Ruston
338dc11436
Show stylesheets as rendered plain text with highlighting ( #6778 )
...
* First commit
* Enable syntax highlighting when highlight plugin is installed
* Use highlighting for the control panel stylesheet listings
2022-07-14 09:00:56 +01:00
twMat
c270e3cd6b
Update TiddlyWiki in the Sky for TiddlyWeb.tid ( #6769 )
...
For e.g the listing in
https://tiddlywiki.com/prerelease/#Deprecated%20-%20What%20does%20it%20mean
2022-07-13 17:27:45 +01:00
Robin Munn
18d8173dcc
New insertafter filter operator ( #6771 )
...
* Implement insertafter operator (like insertbefore)
Currently, the behavior of insertafter if the target is not found is to
append the inserted tiddler to the end of the list, like insertbefore
does. In the next commit, we'll add a suffix to customize what both
insertafter and insertbefore do when the target is not found.
* Add failing tests for insertafter suffixes
Also includes tests for insertbefore suffixes (start/end), since we'll
be implementing both of those at the same time.
* Add start/end suffixes for insertafter/before
The tests that exercise the start/end suffixes now pass.
2022-07-13 17:08:17 +01:00
Mohammad Rahmani
4cd3c065e7
Add emptyMessage to list-links-draggable and correct docs ( #6776 )
2022-07-13 15:58:27 +01:00
jeremy@jermolene.com
45895bd560
Update release note
2022-07-13 09:32:31 +01:00
jeremy@jermolene.com
94b02ba3a0
Docs missed off #6675
2022-07-12 16:51:38 +01:00
lin onetwo
2f817e4293
Update katex to latest 0.15.3 ( #6671 )
...
* feat: update snippet fields
https://github.com/Jermolene/TiddlyWiki5/discussions/6670
* chore: upgrade files
* docs: update readme
* fix: usage of mhchem
* fix: add back katex.without-font-face.min.css
https://github.com/Jermolene/TiddlyWiki5/pull/6671#issuecomment-1116287404
* style: format json with 4 space
* style: format json with 1 space
* style: restore old format
* feat: update css by using new one and delete font face
* update developer info
* move implementation notes to plugin
* update TW style tiddler
* update katexdemo edition
* chore: delete unused files
* Update developer.tid
* Update developer.tid
Co-authored-by: pmario <pmariojo@gmail.com>
2022-07-09 08:37:47 +01:00
jeremy@jermolene.com
189fe428b7
Merge branch 'master' into parameterised-transclusions
2022-07-04 21:15:42 +01:00
jeremy@jermolene.com
a59ec3ebf7
Merge branch 'tiddlywiki-com'
2022-07-04 21:15:23 +01:00
jeremy@jermolene.com
20df381cf3
Docs: Improve deprecation documentation
2022-07-04 17:42:58 +01:00
jeremy@jermolene.com
4185d9a26c
Docs: Make .from-version macro be a link to the release note
...
Fixes #6750
2022-07-04 17:35:03 +01:00
Mario Pietsch
926b7808b3
Fix a typo in the Plugin Ordering tiddler ( #6744 )
2022-06-28 17:59:33 +01:00
Nolan Darilek
f02bd2392f
Various accessibility improvements ( #6742 )
...
* Add `main` and `article` roles to stories and story.
* Support `role` and \aria-checked` in buttons, and integrate with sidebar tabs.
* Add `region` role to sidebar, and set caption as `aria-label`.
* Add accessibility roles and labels to static templates.
* Update test fixtures with new ARIA tab attributes.
2022-06-28 14:05:52 +01:00
Rizwan
bce3ec6e6f
Update Installing TiddlyWiki on Node.js.tid ( #6734 )
2022-06-23 08:48:15 +01:00
Mario Pietsch
8af7054efa
Doc restructuring Plugin Install using core Libraries and with Node.js ( #6722 )
...
* Doc restructuring Plugin Install using core Libraries and with Node.js
* fixing typos and concerns raised by Jeremy
2022-06-20 13:55:12 +01:00
Mario Pietsch
10bc84ba6c
Add Note formatting to an important paragraph in ScrollableWidget ( #6729 )
2022-06-20 13:51:44 +01:00
Marxsal
27609d2619
Add new instructions for saving with Koofr ( #6726 )
2022-06-17 08:01:11 +01:00
jeremy@jermolene.com
05d2c029a4
Merge branch 'master' into parameterised-transclusions
2022-06-14 08:34:47 +01:00
jeremy@jermolene.com
4e6efed58f
Revert "Fix #6721 "
...
This reverts commit b216579255
which was committed to the wrong branch
2022-06-14 08:34:42 +01:00
jeremy@jermolene.com
35b0833e0c
Fix handling of {!!title} in a filter with no currentTiddler
...
Fixes #6721
2022-06-14 08:33:47 +01:00
Jeremy Ruston
b216579255
Fix #6721
2022-06-13 15:43:28 +00:00
jeremy@jermolene.com
3e33d309ed
Docs: format:json
...
Also tweak to the behaviour of format:json if the input string is not valid JSON
2022-06-11 17:29:20 +01:00
jeremy@jermolene.com
688c3bc5f6
Docs: JSON operators and tweaks to genesis widget
2022-06-11 15:22:43 +01:00
Maurycy Zarzycki
45f5ba7d38
update Keyboard Shortcut documentation with information on how it interacts with navigate actions ( #6703 )
2022-06-11 09:53:06 +01:00
jeremy@jermolene.com
227079f3da
Add format:json operator
...
I've been finding this useful for debugging, and it kind of goes with the JSON operators
2022-06-10 09:29:56 +01:00
jeremy@jermolene.com
79b20bdaa8
Fix up handling of slot/fill for custom widgets
...
Previously we were wrapping the body in an implicit `<$fill $name="ts-body">` widget
2022-06-09 18:02:47 +01:00
jeremy@jermolene.com
b57a6da548
Mark docs as v5.3.0
2022-06-03 09:22:19 +01:00
jeremy@jermolene.com
f513b403fe
Remove support for $:/tags/Global
...
It is not needed now that we have true global variables
2022-06-01 08:24:20 +01:00
jeremy@jermolene.com
613f4af20f
Fix refreshing of global variables
...
Global variables access within attributes will automatically trigger a refresh if the attribute text changes, but that wasn't happening for transclusions.
2022-05-31 09:19:01 +01:00
jeremy@jermolene.com
006ae6e759
Refactor $parameters widget
...
The objective is to add a $depth attribute so that it is possible to reach up to retrieve the parameters of ancestor transclusions. However, doing so requires changing the encoding of parameter names so that it is not possible for a user parameter to clash with an attribute like $depth. So now we have to double up dollars on any attribute names seen by the parameters widget, just like with the transclude widget itself.
2022-05-31 09:03:20 +01:00
jeremy@jermolene.com
150266c731
Use underscores for new system fields for global variable tiddlers
...
For consistency with `_canonical_uri`; unlike many system fields, the behaviour of these fields is baked into the core JS code.
2022-05-30 18:38:25 +01:00
jeremy@jermolene.com
3af2cc2691
Introduce function operator for calling functions
...
Can invoke any functions, not just those start with a period. And can pass zero parameters (in contrast when invoked as a custom filter operator there's no way to omit the first parameter).
2022-05-30 18:05:54 +01:00
jeremy@jermolene.com
9424e9d1f2
Cleaning up after f636349007
2022-05-28 17:32:09 +01:00
jeremy@jermolene.com
f803e00567
Test showing how to un-override a core widget
2022-05-28 16:58:20 +01:00
jeremy@jermolene.com
5d413d3e2d
Change to ?
for conditional definitions
2022-05-28 13:49:02 +01:00
jeremy@jermolene.com
0d78b3fa38
Convert the tabs macro into a global
...
So far it appears to be totally backwards compatible... In practice, I think maybe this and the conversion of the other macros should go into a separate subsequent PR.
2022-05-28 12:24:48 +01:00
jeremy@jermolene.com
f636349007
Introduce true global variables
...
The basic idea is that if we don't find a variable `foo` then we fallback to retrieving the value from the tiddler `$:/global/foo`, if it exists.
This allows us to replace the usual importvariables-based mechanism for global definitions, avoiding cluttering up the variable namespace with every macro.
In order to permit subprocedures to be overridden, we also introduce a mechanism for conditional definitions: preceding the word definition|procedure|function|widget with a + causes the definition only to occur if the specified variable doesn't already exist. In the next commit we'll apply this mechanism to the tabs macro
2022-05-28 12:23:50 +01:00
jeremy@jermolene.com
7fc65d0d1a
Remove accidental commit 6cc99fcbe3
2022-05-27 08:36:31 +01:00
jeremy@jermolene.com
6f9f92fa69
Add support for $:/tags/Global
2022-05-26 21:11:53 +01:00
jeremy@jermolene.com
0e08150028
Remove unneeded test tiddler
2022-05-25 18:04:32 +01:00
jeremy@jermolene.com
d59eec74a8
Merge branch 'master' into parameterised-transclusions
2022-05-25 15:23:20 +01:00
jeremy@jermolene.com
6cc99fcbe3
WIP
2022-05-25 15:15:17 +01:00
Robin Munn
a226975b3e
Fix UTC format date string test properly this time ( #6709 )
...
Hours could also end up as a single-digit number, just like date, if
timezone offset is low enough that it wraps around midnight.
2022-05-24 10:02:45 +01:00
Robin Munn
2a62da1498
Fix unit test for formatDateString UTC format ( #6708 )
...
Now the test should run correctly in any timezone
2022-05-24 09:47:02 +01:00
jeremy@jermolene.com
cbce4ebb7b
Allow custom functions to be invoked as attributes
2022-05-23 20:18:54 +01:00
jeremy@jermolene.com
9e8d05f699
Require period prefix for custom filter operator functions
...
To ensure that custom filter operators cannot clash with future core operators.
2022-05-23 16:40:21 +01:00
jeremy@jermolene.com
3e09eacd20
Missed off 22e7ec2381
2022-05-23 16:32:19 +01:00
jeremy@jermolene.com
170c4b1799
Merge branch 'master' into parameterised-transclusions
2022-05-23 11:28:12 +01:00
jeremy@jermolene.com
c808764254
Merge branch 'tiddlywiki-com'
2022-05-23 09:14:54 +01:00
jeremy@jermolene.com
a9b0c5d7ff
Cherry-pick JSON docs improvements from #6522
2022-05-23 09:14:02 +01:00
jeremy@jermolene.com
9e3c233686
Add some warnings about the dangers of title lists
2022-05-23 08:56:10 +01:00
jeremy@jermolene.com
ec1ec8ccd8
Fix invocation of JS macros
2022-05-21 16:31:34 +01:00
jeremy@jermolene.com
e50101322f
Require $$ for custom widgets, and that overridden JS widgets must exist
...
See https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1133637763
2022-05-21 15:47:19 +01:00
jeremy@jermolene.com
96cb66a27e
New example for tm-new-tiddler
...
Fixes #6690
2022-05-21 14:38:05 +01:00
jeremy@jermolene.com
1a377a485b
Merge branch 'tiddlywiki-com'
2022-05-14 15:55:42 +01:00
lin onetwo
71ee271eac
docs: mark out-of-box standalone apps ( #6677 )
...
docs: delete tiddlyie and ie tiddler
docs: delete [[Internet Explorer]] tag
Revert "docs: delete [[Internet Explorer]] tag"
This reverts commit a796fc1fff3748f73a1919c5f2fff6d50990ae38.
Revert "docs: delete tiddlyie and ie tiddler"
This reverts commit 38067c7369c92f1b22ffd98090bdabdd96fa1fb3.
2022-05-14 14:04:36 +01:00
Mario Pietsch
084a5cb0f0
Fix headings in wikitext example code ( #6692 )
2022-05-14 13:31:36 +01:00
FlashSystems
e9405ac810
Fix for Bug #6618 ( #6628 )
...
* Fix for Bug #6618
This Commit fixes Bug #6618 . It is a little bit more complicated than
using one tiddler to store the new value for a field. Because the
following can happen:
* The user types "not-a-date" into the field value of a simple text field.
* The user now selects a field name that uses a HTML5 date editor. The
Editor will show no date because the value cannot be parsed.
* The user saves the tiddler by clicking the checkmark.
Now the date-field contains the value "not-a-date" but the user was not
aware that this will be added. The edit control showed no date (because
the value was invalid) and the user assumed the field was empty and
won't be added to the tiddler.
To prevent this, every kind of field editor gets its own storage tiddler.
Its name is derived from the SHA256-hash of the name of the tiddler that
is returned by the Field Editor Cascade. That way every editor in the
cascade is only seeing its input. As long as the default setup (with one
default editor) is used, everything works like in 5.2.1.
This commit also fixes the bug that the after adding a field the
field-type input box was not focused again.
* Update Documentation for Field Editor Cascade
The fix for bug #6618 makes the handling of the tiddler backing the edit
operation much more complicated. See previous commit "Fix for Bug #6618 "
for more details.
2022-05-14 13:30:04 +01:00
jeremy@jermolene.com
bbd9e2f243
Rename <$value> widget to <$fill>
2022-05-13 09:18:25 +01:00
jeremy@jermolene.com
36cf50aa96
Use \widget for custom widget definitions, and remove need for angle brackets
...
Need to do some refactoring of all those isFunctionDefinition/isProcedureDefinition/isWidgetDefinition flags into a single property
2022-05-13 08:49:53 +01:00
jeremy@jermolene.com
904e30a0e2
Detect recursion by tracking widget tree depth
...
The old recursion marker approach was very slow, and didn't catch test cases like editions/test/tiddlers/tests/data/transclude/Recursion.tid
2022-05-12 16:26:33 +01:00
jeremy@jermolene.com
774459fa73
Transclude: replace paramNames/paramValues with more robust JSON payload
...
More details at https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1123719153
2022-05-11 13:51:11 +01:00
jeremy@jermolene.com
a827290332
Fix stringifying/parsing string arrays containing newlines
...
A very old bug.
Fixes the ActionListOpsWidget problem @btheado
2022-05-10 10:22:35 +01:00
jeremy@jermolene.com
e092113f9f
Switch to using \procedure to define new-style macros, and \function for custom filter operator functions
...
I now need to update the OP!
2022-05-09 18:00:09 +01:00
Simon Huber
b4deb7cc45
Add tv-widgetnode-width and tv-widgetnode-height ( #6681 )
...
* Add tv-widgetnode-width and tv-widgetnode-height to collectDOMVariables
* Add docs
* update docs
* Update modified field
2022-05-09 10:42:23 +01:00
jeremy@jermolene.com
64448ae774
Make the macrocall widget delegate to the transclude widget
2022-05-08 20:48:33 +01:00
jeremy@jermolene.com
4f2f689ab9
Clarify that the recent changes allow functions to be invoked with the double bracket syntax
...
In other words, the transclude widget distinguishes between functions and macros and handles the parameters appropriately
2022-05-08 16:05:32 +01:00
jeremy@jermolene.com
e9630328f1
Extend transclude widget to work with old-style macros and use it for the macrocall shortcut syntax
2022-05-08 15:59:20 +01:00
jeremy@jermolene.com
9be05f6f38
Use consistent parse tree node property for params
2022-05-07 13:22:53 +01:00
jeremy@jermolene.com
2fe2d20ddf
Genesis widget should pass raw attributes onto child widget...
...
...so that it can more efficiently handle refreshing itself.
2022-05-07 11:41:28 +01:00
jeremy@jermolene.com
c5b10d5c1d
Add visible transclusions component and demo
...
Very useful to see transclusions explicitly
Makes a good demo of a super-complicated widget override.
2022-05-06 15:39:45 +01:00
jeremy@jermolene.com
e01dfa1507
Experimental support for custom filter operators
...
Just as we can define custom widgets we can also define custom parameterised filter operators
2022-05-06 15:01:17 +01:00
jeremy@jermolene.com
a9938a6c67
Improve recursion detection
...
While retaining backwards compatibility
2022-05-06 15:00:10 +01:00
jeremy@jermolene.com
7caaf82571
Fix variable retrieval bug with test harness
2022-05-06 10:32:20 +01:00
jeremy@jermolene.com
7ead87bd29
Use enlist:raw to preserve duplicates
2022-05-05 11:34:30 +01:00
jeremy@jermolene.com
f56e316c86
Fix genesis widget example
2022-05-05 11:34:06 +01:00
jeremy@jermolene.com
ea51b8a3fe
Merge branch 'master' into parameterised-transclusions
2022-05-05 08:30:48 +01:00
jeremy@jermolene.com
f3bf5b6e85
Add support for $:/tags/Macro/View/Body macros
2022-05-05 08:30:05 +01:00
jeremy@jermolene.com
f307f00e32
Fixes to enable the transclude widget itself to be overridden
...
There are two big changes here:
Replace the previous "ts-wrapper" mechanism, which we had been using to redefine custom widgets inside their definitions to prevent recursive calls. Now we've got the genesis widget we can instead control recursion through a new "$remappable" attribute that allows the custom widget mechanism to be skipped.
We also extend the slot widget to allow a depth to be specified; it then reaches up by the indicated number of transclusion widgets to find the one from which it should retrieve the slot value.
2022-05-05 08:20:14 +01:00
jeremy@jermolene.com
35430d09ed
Fix bug with empty strings ignored in $tw.utils.stringifyList/parseStringArray
...
I will pull this out into a separate PR. Fixing it doesn't cause problems for the core but I imagine it might cause issues for 3rd party code.
2022-05-05 08:16:20 +01:00
jeremy@jermolene.com
e99137f4cc
Cache parse trees when transcluding variables
2022-05-03 17:59:45 +01:00
jeremy@jermolene.com
719a5614cb
Change tiddler separator used in wikitext tests
...
Underscore looked ambiguous; I kept typing dashes by accident
2022-05-03 16:53:00 +01:00
jeremy@jermolene.com
56c2242e4e
Introduce genesis widget for dynamically creating widgets
...
See the "RedefineLet" test for a contrived example of usage
2022-05-03 12:55:10 +01:00
jeremy@jermolene.com
e1df50d981
Fix parameter handling
2022-05-03 12:54:29 +01:00
jeremy@jermolene.com
c4743ebbec
Fix importing of function definitions
2022-05-03 09:39:05 +01:00
jeremy@jermolene.com
2ea0374b55
Allow the let widget to create variables starting with $
2022-05-03 08:44:33 +01:00
jeremy@jermolene.com
a888cd57cd
Unquoted parameters should not eat a succeeding comma
...
Fixes #6672
2022-05-02 13:49:41 +01:00
jeremy@jermolene.com
689a6c5b6a
Rewrite some tests to use the shortcut syntaxes
2022-05-02 10:56:22 +01:00
jeremy@jermolene.com
5f02cc49fd
Add support for accessing function parameters as name/value pairs
2022-05-02 10:00:50 +01:00
jeremy@jermolene.com
8b867be8ef
Add pragma rule for parameters declarations
2022-05-02 09:15:45 +01:00
jeremy@jermolene.com
99750d78b5
Allow brackets to be omitted for function definitions with no parameters
2022-04-30 13:06:28 +01:00
jeremy@jermolene.com
c9bd1b5274
Add wikitext shortcut for new-style function definitions
2022-04-30 12:44:26 +01:00
jeremy@jermolene.com
886c8620f5
Replace ubertransclude widget with transclude widget
2022-04-30 10:00:38 +01:00
jeremy@jermolene.com
f78e1f6f7d
Importvariables should skip parameters widgets
2022-04-29 22:36:07 +01:00
jeremy@jermolene.com
5bcf7b9edd
Add support for shortcut syntax for positional transclusion parameters
2022-04-29 22:35:47 +01:00
Télumire
873ce4823f
Added a reference to encrypted wiki in "Creating a splash screen" ( #6664 )
...
A user was wondering how to add a background image to the password screen of an encrypted wiki (https://talk.tiddlywiki.org/t/background-image-on-login-page/3145 ). It was not obvious that an encrypted wiki is considered as "loading", so I updated this tiddler to hint at this.
I also added a hint to the other system tags $:/tags/RawMarkup.. since they can also be used for the same purpose.
2022-04-27 22:21:59 +01:00
Marxsal
03910fce66
Add tiddler 'How to update ...' ( #6667 )
...
Adding tiddler 'How to update TiddlyWiki to the latest version' which transcludes the existing tiddler 'Upgrading'.
Some people search for term 'update' instead of 'upgrade' .
2022-04-27 17:24:06 +01:00
jeremy@jermolene.com
9713da5071
Add support for positional parameters
2022-04-26 21:55:43 +01:00