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
a10106a4a6
Fix crash when transcluding an undefined variable
...
Thanks @pmario
See https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1114692359
2022-05-02 11:15:18 +01:00
jeremy@jermolene.com
fbd0357cae
Mustn't allow commas in parameter names
2022-05-02 11:04:32 +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
ea7199600d
Be as permissive as possible with parameter names
...
Previously restricted to upper and lower case, digits and dash and underscore
2022-05-02 10:56:09 +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
bbc6661192
Remove erroneous "tag" property
2022-05-02 09:26:18 +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
aac2d6ccb0
Refactor ubertransclude functionality into transclude widget
2022-04-30 09:54:55 +01:00
jeremy@jermolene.com
c4991fff9e
Refactor transclude widget before uberfying it
2022-04-30 09:30:25 +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
jeremy@jermolene.com
89b7a3bd28
Ubertransclusion positional parameters should be based on name, not position
2022-04-29 16:28:03 +01:00
jeremy@jermolene.com
9713da5071
Add support for positional parameters
2022-04-26 21:55:43 +01:00
jeremy@jermolene.com
31c3abb7ab
Add a definition for the value widget just so that it doesn't cause errors
...
Of course, it doesn't actually need to be a JS widget, it could be a wikitext widget...
2022-04-26 14:36:05 +01:00
jeremy@jermolene.com
a401732995
Use ts- prefix for system slot names
2022-04-26 14:27:28 +01:00
jeremy@jermolene.com
fae038dcbc
Remove need to explicitly clear widget mapping variable when invoking overridden widget
2022-04-26 14:24:31 +01:00
jeremy@jermolene.com
35616a0b39
Don't worry about ordered attributes
...
The changes in 0bffae2108
mean that we don't need to explicitly maintain the ordered attributes
2022-04-26 14:05:56 +01:00
jeremy@jermolene.com
7299d4fd1d
Merge branch 'master' into parameterised-transclusions
2022-04-26 14:03:03 +01:00
jeremy@jermolene.com
0bffae2108
Add utility method for getting ordered attributes
2022-04-26 14:02:31 +01:00
jeremy@jermolene.com
bdd99edfe8
Tests: Improve transclusion recursion test
...
Previously we were testing a tiddler transcluding itself, but it's clearer to make it an indirect recursion
2022-04-26 14:02:08 +01:00
jeremy@jermolene.com
66d4b07f7e
Add a test for custom action widgets
2022-04-26 13:05:44 +01:00
jeremy@jermolene.com
0e4e037bb7
Changed transclude widget in binary parser to ubertransclude
2022-04-26 13:05:31 +01:00
jeremy@jermolene.com
cd0617f033
Use the ubertransclude widget for the wikitext transclusion syntax
2022-04-26 12:45:05 +01:00
jeremy@jermolene.com
05b582a202
Fix and test missing target handling
2022-04-26 12:32:46 +01:00
jeremy@jermolene.com
54b48876f7
Fix test execution
2022-04-26 12:32:34 +01:00
Simon Huber
9bcbb9131e
Add :root { color-sheme: ...; } to vanilla base ( #6659 )
2022-04-25 09:56:34 +01:00
Simon Huber
1410488a23
Fix my error in framed.js ( #6658 )
...
* Fix my error in framed.js
* ouch
2022-04-25 08:45:42 +01:00
Simon Huber
e2ef5c933b
Update CupertinoDark.tid ( #6655 )
2022-04-24 21:46:33 +01:00
Simon Huber
3cf078faeb
Write the right "color-scheme" meta tag to the iframe of the framed text-editor ( #6656 )
...
* Write the right "color-scheme" meta tag to the iframe of the framed text-editor
* Update framed.js
2022-04-24 21:45:56 +01:00
jeremy@jermolene.com
21b10a225f
Initial commit
...
Everything is draft.
2022-04-24 21:24:38 +01:00
jeremy@jermolene.com
400936920a
Merge branch 'tiddlywiki-com'
2022-04-19 16:37:51 +01:00
jeremy@jermolene.com
c78bff5bb2
Fix sites menu
2022-04-19 16:24:48 +01:00
jeremy@jermolene.com
8b309ecb42
Make the sites menu exportable by dragging the TiddlyWikiSitesMenu tag pill
2022-04-19 16:08:11 +01:00
jeremy@jermolene.com
e2869e6ede
tiddlywiki.org: Update fundraising
2022-04-19 11:17:34 +01:00
jeremy@jermolene.com
8e25f693c6
tiddlywiki.org: Add fundraising information
2022-04-19 10:57:28 +01:00
Joshua Fontany
42bf203758
Fix 6649 ( #6650 )
...
* use filesystem utils
* use filesystem utils
* don't touch syncer
* fix messaging
2022-04-19 08:18:44 +01:00
Guang Li
f0416964fa
Add TiddlyMemo edition ( #6647 )
...
TiddlyMemo focuses on learning and memorization
2022-04-18 20:50:28 +01:00
Robin Munn
8dec674121
Allow checkboxes to be indeterminate ( #6593 )
...
* Documentation for indeterminate checkboxes
* Unit tests for indeterminate checkboxes
* Implement indeterminate checkboxes
* Simplify indeterminate checkbox example
* Slightly simplify refresh logic for indeterminate
That five-line if statement can be turned into a simple assignment.
* Use "yes" and "no" for checkbox indeterminate attr
This makes the "indeterminate" attribute of the checkbox widget work the
same way as other boolean attributes of other widgets.
* Fix bug with invertTag attribute
One place in the checkbox widget code was checking invertTag for
Javascript truthiness rather than the value "yes", which could have
produced incorrect results if anyone wrote invertTag="no". Fixed.
2022-04-18 20:50:03 +01:00
jeremy@jermolene.com
16f56af873
Sites menu: fix mobile view
...
See https://talk.tiddlywiki.org/t/new-sites-menu-for-tiddlywiki-com/3093/6
2022-04-18 19:16:20 +01:00
jeremy@jermolene.com
e9fa861418
Merge branch 'tiddlywiki-com'
2022-04-18 17:42:20 +01:00
jeremy@jermolene.com
5ab2148807
Sites menu: Add upgrader
2022-04-18 17:37:06 +01:00
jeremy@jermolene.com
396e7e6921
Fix github ribbon in /dev
2022-04-18 15:00:05 +01:00
jeremy@jermolene.com
3d2663c900
Restore github-fork-ribbon to /dev
2022-04-18 13:36:11 +01:00
jeremy@jermolene.com
d31839d1e8
Merge branch 'tiddlywiki-com'
2022-04-18 13:26:29 +01:00
jeremy@jermolene.com
7d404e4ec5
Sites menu: fix URLs
2022-04-18 13:26:09 +01:00
jeremy@jermolene.com
5356345f19
Sites menu: fix matching of current site
2022-04-18 11:37:17 +01:00