Commit Graph

11792 Commits

Author SHA1 Message Date
Cameron Fischer 74a18c39ab
$parameters widgets now claim index parameters sequentially (#7962)
* $parameters widgets now claim index parameters sequentially

Before, they just always used their own indices, which meant unnamed
parameters would get assigned to multiple values, which wasn't any
use to anyone.

* Elaborated tests for nested parameters

* Added example to clarify how multiple paramter definitions are handled

* Updated \procedure documentation

* Removed depth from $parameters

* Add failing test

* Adjusted transclude to account for refreshing

* This index system should work

It handles some strange edge cases too.

* Stupid end-of-file newlines

* Removed redundant whitespace pragma

---------

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2024-02-10 14:44:39 +01:00
Jeremy Ruston 7b32f02cb3 Initial commit 2024-01-24 13:17:25 +00:00
oeyoews 575d80dfe9
Fix Editor preview width #7787 (#7922) 2024-01-24 11:40:05 +00:00
Saq Imtiaz bc3d64f4b8
Refresh edit widget when the editor type has changed (#7943) 2024-01-24 11:37:15 +00:00
Saq Imtiaz aa4aeb187c
Fixes functions to use variables set by filter runs (#7906)
* fix: functions should use variables set by filter runs

* refactor: code clean up

* chore: added more tests
2024-01-24 11:33:50 +00:00
btheado fb85e91f82
Allows whitespace-only macro/procedure to be closed by \end (#7911)
* Added some passing macro definition parsing tests

* Added two failing tests to illustrate bug #3460

* Allow \end to end an whitespace only/empty macro definition. Fixes #3460

* Added some passing procedure definition tests

* Added two failing procedure tests to illustrate bug #3460

* Allow \end to end a whitespace only/empty procedure/function/widget definition. Fixes #3640

* Fixed wording of comment
2024-01-24 11:32:58 +00:00
Mario Pietsch 100eaeff30
Moves some exsiting macro tests to their own folders (#7940) 2024-01-22 17:43:23 +00:00
Bram Chen 518c5d3ef6
Update chinese language files (#7937)
* Add description for "class" system field
2024-01-19 08:41:23 +00:00
Rob Hoelz 38187d26f4
Add documentation for "class" system field (#6990)
Fixes #6915
2024-01-18 16:40:29 +00:00
Rob Hoelz 8ac4a448ef
Fix link refresh bug (#7935)
See https://talk.tiddlywiki.org/t/possible-bug-with-links-to-missing-tiddlers-in-5-3-3/8910 for report and reproduction instructions
2024-01-18 16:37:12 +00:00
Jeremy Ruston 83dfec471d
Fix TiddlyWiki Classic Build Process (#7933) 2024-01-18 08:56:18 +00:00
Jeremy Ruston 1015a1605d Update package.json for v5.3.4-prerelease 2024-01-17 11:51:51 +00:00
Jeremy Ruston f08d3d6030 Update for 2024 2024-01-02 09:10:06 +00:00
Jeremy Ruston 232afb4249 Merge branch 'tiddlywiki-com' 2024-01-02 09:08:24 +00:00
Jeremy Ruston 22f7af05de Extend ScrollableWidget example to have buttons to scroll up/down by 10 pixels 2023-12-31 17:14:59 +00:00
Jeremy Ruston 17665233a2 Temporary new release banner for v5.3.4 2023-12-25 20:09:15 +00:00
Jeremy Ruston a8f477a3ab Revert "Temporary new release banner for v5.3.4"
This reverts commit 9d10e2b3a7.
2023-12-25 20:08:37 +00:00
Jeremy Ruston 9d10e2b3a7 Temporary new release banner for v5.3.4 2023-12-23 15:48:28 +00:00
Jeremy Ruston 907aed3eab Version number update for 5.3.3 2023-12-23 10:26:43 +00:00
Jeremy Ruston 83220be7d9 Preparing for release of v5.3.3 2023-12-23 10:25:50 +00:00
Jeremy Ruston a3cba681e0 Merge branch 'tiddlywiki-com' 2023-12-23 10:20:49 +00:00
Jeremy Ruston 4f01a53917 Include banner image in release note 2023-12-23 10:20:32 +00:00
Jeremy Ruston 5cb31b7adb New release banner for v5.3.3 2023-12-23 09:41:25 +00:00
Jeremy Ruston 6a9dc9dcd5 Update release note 2023-12-21 11:53:08 +00:00
Saq Imtiaz 46a22ef585
Fix: resolved issues with select widget after refactoring (#7905) 2023-12-21 11:50:33 +00:00
Jeremy Ruston 3d712127ad Update release note 2023-12-21 10:42:01 +00:00
Jeremy Ruston a3e5ace458
Remove whitespace immediately after pragmas (#7895)
This is intended to revert some of the behaviour introduced in #7835, see the discussion here: https://github.com/Jermolene/TiddlyWiki5/pull/7888#issuecomment-1856184592
2023-12-21 10:36:45 +00:00
Jeremy Ruston 6fa81feeba
Restore comma before skinny tiddlers (#7897)
* Restore comma before skinny tiddlers

Fixes #7896

* Fix problem that showed up in CI tests
2023-12-21 10:36:29 +00:00
yaisog 95e270a8a6
Fix per-tiddler previews (#7900)
* Initial commit

* Put SVG back into a span

Needed in case this is targeted in CSS; DOM structure should not be changed.

* Fix the fix

Do it once, do it right.
2023-12-21 10:36:08 +00:00
Jeremy Ruston e2d4388c48
Fix for list widget with an empty paragraph as inline template (#7903)
Fixes #7902
2023-12-21 10:35:40 +00:00
Mario Pietsch f68fa89a29
Docs: fix #7899 recursive "release" tabs problem (#7901) 2023-12-20 13:14:31 +00:00
Jeremy Ruston d2d00ffa4d Merge branch 'tiddlywiki-com' 2023-12-17 19:51:17 +00:00
Jeremy Ruston c6a72875ba Docs: Warn about textual substitution with nested macros 2023-12-17 18:57:16 +00:00
Jeremy Ruston aaf7dc355d Add docs for "remappable' attribute of genesis widget 2023-12-14 09:40:21 +00:00
Jeremy Ruston e131dd3761 Revert "Update ViewWidget.tid to include common variants (#3895)"
This reverts commit cdfa4b6082.
2023-12-14 09:05:48 +00:00
Drevarr f697f008b1
Signing the CLA (#7886) 2023-12-14 08:22:33 +00:00
TonyM cdfa4b6082
Update ViewWidget.tid to include common variants (#3895)
* Update ViewWidget.tid to include common varients

The provision of common variates to the view widget provides new an experience user examples of the different variants of the ViewWidget. The copy to clipboad method allows each variant to be quickly accessed and pasted into their wiki.

To facilitate this a new macro wikitext-example-compact has being added to 
$:/editions/tw5.com/wikitext-macros

* Update ViewWidget.tid

Two colons added to maintain indenting in new content.
2023-12-13 18:16:57 +00:00
TonyM 8051a3dea2
Update WidgetMessage_ tm-delete-tiddler.tid (#3924)
Adding the line 

Use the [[ActionDeleteTiddlerWidget]] to delete a named tiddler without getting the "Do you wish to delete the tiddler" prompt.

However If someone knows how to make "WidgetMessage: tm-delete-tiddler" do this please explain.
2023-12-13 18:12:41 +00:00
Jeremy Ruston 267521ad1b Preparing for v5.3.3-prerelease 2023-12-13 08:16:59 +00:00
Jeremy Ruston e82229210e Version number update for 5.3.2 2023-12-13 08:11:32 +00:00
Jeremy Ruston c13c321a61 Preparing for release of v5.3.2 2023-12-13 08:10:38 +00:00
Jeremy Ruston 0d2aeb8253 Merge branch 'tiddlywiki-com' 2023-12-12 15:48:52 +00:00
Jeremy Ruston 9d94459c5d Syncer: fix object reference
We should be passing the syncer object, not the task object
2023-12-12 15:48:09 +00:00
Jeremy Ruston 5c283f843b Add banner details to the release note 2023-12-12 09:06:38 +00:00
Jeremy Ruston 51862f8128 Update New Release Banner for v5.3.2 2023-12-12 09:04:37 +00:00
Jeremy Ruston 15e53b8cd1 Revert: #7768 Ensure {{}} doesn't cause a recursion error
See https://github.com/Jermolene/TiddlyWiki5/pull/7768#issuecomment-1850578638
2023-12-11 17:56:11 +00:00
Jeremy Ruston 4a9b3009dd Further fix for d1c7f79dd2
The plus sign needs escaping on some regex engines
2023-12-11 15:21:03 +00:00
etardiff c9be572baf
Signing the CLA (#7879) 2023-12-10 10:01:30 +00:00
Robin Munn 4e06c31022
Move list-join example onto single line (#7877)
It's a little less readable this way, but avoids the whitespace issue.
2023-12-07 08:34:07 +00:00
Mateusz Wilczek 5578fa5f94
Improve `jsonset` operator docs (#7873)
* Update docs of jsonset operator

* Move jsonset examples into a separate tiddler

* Update jsonset operator docs
2023-12-04 15:24:33 +00:00