Simon Huber
69d3a47073
Add escapecss filter ( #3546 )
...
* add escapecss filter
this filter would allow creating valid css classes from titles containing special characters
we assign a class to an element using `encodeuricomponent[]` so that the class name is encoded
in a stylesheet we create the classname by `<title>escapecss[]` which applies the uri encoding and escapes characters that need to be escaped
* Update encodings.js
* refactor tagToCssSelector, add escapeCssSelector
* use escapeCssSelector
* escape using CSS.escape if it's available
* Update encodings.js
* revert factoring out escapeCssSelector
2019-06-26 12:32:01 +01:00
Simon Huber
e313b0b7ca
CSS.escape as startup module ( #3574 )
...
* don't know what I'm doing - apply polyfill methods
* don't know what I'm doing add CSS.escape polyfill
* execute polyfills in load-modules
* Delete cssescape.js
* add css-escape polyfill as startup module
* Update load-modules.js
* this was for testing :)
* Update css-escape-polyfill.js
* Update css-escape-polyfill.js
2019-06-26 12:31:22 +01:00
Simon Huber
dc9f4e2de7
Pop storyview: animation - don't x-overflow page ( #3857 )
...
... this makes the animation when inserting tiddlers / navigating to tiddlers in the pop storyview less jumpy
it simply sets `overflow-x` to `hidden` for the time of the insert-animation
2019-06-26 11:50:52 +01:00
Robin Munn
cb2bf25563
Fix examples for sentencecase and titlecase ( #4010 )
2019-06-24 10:36:28 +01:00
Jeremy Ruston
e09ac2ab37
CI: Fix commit field in $:/build
2019-06-23 20:11:55 +01:00
Jeremy Ruston
b580baf5ee
Add a "commit" field to the $:/build tiddler
2019-06-21 15:21:10 +01:00
Jeremy Ruston
a6500ba711
DynaView: Suppress local storage errors
2019-06-21 15:19:51 +01:00
Jeremy Ruston
fd8ede07bf
Release note updates
2019-06-21 10:52:54 +01:00
Jeremy Ruston
c8d6f3b681
Fix tests for changes to split operator
...
We now retain any blank strings
2019-06-21 10:36:53 +01:00
Jeremy Ruston
6582b106ee
Fixes to split operator, plus instructions for using it to do search and replace
2019-06-21 10:21:52 +01:00
Jeremy Ruston
90684f9f52
Add support for [is[blank]] to detect empty/blank strings
2019-06-21 10:20:37 +01:00
Robin Munn
9b27f82a80
Fix sentencecase operator, add titlecase operator ( #4006 )
2019-06-21 08:24:02 +01:00
Jeremy Ruston
2e2ed7902c
Add sentencecase operator
...
Fixes #4000
2019-06-19 12:11:02 +01:00
Bimba Laszlo
6099ec576c
Fix typo in docs of performance instrumentation ( #3995 )
2019-06-18 09:41:50 +01:00
Jeremy Ruston
47dc59cd54
Fix caption for "join" operator docs
...
Thanks @twMat
2019-06-17 21:44:50 +01:00
Jeremy Ruston
c963680f9c
Release note updates
2019-06-17 21:27:50 +01:00
Robin Munn
e6ac709840
Clarify that the split operator does not dedupe ( #3981 )
2019-06-17 21:21:48 +01:00
Robin Munn
32a2bea7f5
Better examples for mathematics operators ( #3982 )
...
Include = before each number in the Mathematics Operators examples,
so that people get used to seeing that in math examples where dupes
are likely.
Only the Mathematics Operators tiddler really needed to be changed;
the example tiddlers for individual operators were already using =.
Fixes #3979 .
2019-06-17 21:21:23 +01:00
Robin Munn
62829dc9d3
Add untrunc operator, the mirror of trunc ( #3994 )
2019-06-17 18:34:30 +01:00
Robin Munn
58cb300a0a
Fix typo ( #3984 )
2019-06-17 18:32:35 +01:00
Xavier Cazin
2002ff72b7
fr-FR translation for GitHub saver related strings ( #3988 )
2019-06-17 16:46:03 +01:00
Jeremy Ruston
250a1e5356
Release note: Typo
2019-06-14 09:26:24 +01:00
Jeremy Ruston
630a0ecf9e
Remove test for concat operator
2019-06-13 16:55:55 +01:00
Jeremy Ruston
fef2ea97a1
Final chunk of docs for new maths/string operators
2019-06-13 16:53:23 +01:00
Jeremy Ruston
73eb7fbd4e
Maths operators: Remove concat (same as addsuffix) and add splitregexp
2019-06-13 16:52:19 +01:00
Jeremy Ruston
fc09f8e331
Tree macro: allow separator to be customised
2019-06-13 08:47:42 +01:00
Jeremy Ruston
23dd8da22c
Remove draft inadvertantly included in e5e5b1d73
...
Thanks @twMat
2019-06-12 12:48:14 +01:00
Jeremy Ruston
e5e5b1d739
Fixes for 7fcdc83ba
...
Thanks @twMat
2019-06-12 11:34:07 +01:00
Jeremy Ruston
7fcdc83bae
First batch of docs for the maths operators
2019-06-11 17:18:51 +01:00
Jeremy Ruston
86387a9185
Add some error trapping to maths operators
2019-06-11 17:18:18 +01:00
Jeremy Ruston
dd7837d164
Fix issue with allafter operator
...
Fixes #3962
2019-06-11 09:38:14 +01:00
Jeremy Ruston
4a66ecbf6f
Update release note
2019-06-10 21:06:25 +01:00
Jeremy Ruston
f02352f6a1
Use default link text when link widget has no content
...
Fixes #3974
2019-06-10 21:04:21 +01:00
Jeremy Ruston
cd412d8ccb
Update release note
2019-06-10 18:24:38 +01:00
Jeremy Ruston
18fe112da7
Extend the enlist operator to optionally not de-duplicate
2019-06-10 17:54:46 +01:00
Jeremy Ruston
37bb75f0cf
Add support for =
prefix for filter runs that doesn't remove duplicates
2019-06-10 17:54:20 +01:00
Jeremy Ruston
ac1d5b828d
Fix regression in 7fcd2f132
...
Previously we saved tiddlers as .tid files using this template that explicitly excludes the "bag" field:
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/templates/tid-tiddler.tid
Now we generate both .tid and .json files programmatically, and so we have to explicitly exclude the bag field
2019-06-10 17:52:26 +01:00
Jeremy Ruston
55bc6e086f
Tweaks and fixes for the release note
2019-06-09 17:26:34 +01:00
Jeremy Ruston
6fdc5c8cb2
Docs: Update performance notes
2019-06-09 17:09:35 +01:00
Jeremy Ruston
7590977dd5
Update release note
2019-06-09 17:09:11 +01:00
Jeremy Ruston
8012a3508f
Ensure tiddlyspot saver works with local storage disabled
...
Fixes #3955
2019-06-08 16:38:13 +01:00
Jeremy Ruston
abb3c01505
Catalan Translation update
2019-06-08 13:19:41 +01:00
Jeremy Ruston
28c732d2be
Improve action-createtiddler to return a draft title too
2019-06-04 12:33:01 +01:00
Jeremy Ruston
72c64013c7
Fix control panel stylesheets tab to use $:/state/... instead of $:/config/...
2019-06-03 13:28:59 +01:00
Jeremy Ruston
9c2726c530
Remove $tw.perf.log() banner under Node.js
2019-06-03 13:28:41 +01:00
Xavier Cazin
427b56039b
fr-FR translations of Help on the savewikifolder and deletetiddlers commands ( #3966 )
...
* fr-FR translation of Help on the savewikifolder command
* fr-FR translation of Help on the deletetiddlers command
2019-06-02 20:49:50 +01:00
Jeremy Ruston
147d758931
Add version tags for deletetiddlers and savewikifolders commands
...
@BramChen -- I added the tag to the Chinese translations, too, let me know if it is not right.
2019-05-31 08:38:34 +01:00
Bram Chen
5f6abad3c5
Update chinese translations ( #3959 )
...
* Add chinese translations for Saving/GitHub/ServerURL
* Improve simplified chinese wording
* Add chinese help text for deletetiddlers command
2019-05-31 08:36:19 +01:00
Jeremy Ruston
5b09881679
Add new deletetiddlers command
2019-05-30 16:54:57 +01:00
Jeremy Ruston
c80fcf19c0
More browser storage fixes
...
See 698733a4a
2019-05-29 09:37:48 +01:00