1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-05 03:33:27 +00:00
Commit Graph

9031 Commits

Author SHA1 Message Date
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
Jeremy Ruston
698733a4ad Fix crashes when localStorage not available
As reported by @bimlas in https://github.com/Jermolene/TiddlyWiki5/issues/3945#issuecomment-496797809
2019-05-29 09:01:11 +01:00
Jeremy Ruston
a8f70b08a8
Add indexes to the wiki store to improve performance (#3951)
* First pass at modular wiki indexes

An exploratory experiment

* Fix tests

* Faster checking for existence of index methods

We don't really need to check the type

* Use the index for the has operator

* Fix typo

* Move iterator index methods into indexer modules

Now boot.js doesn't know the core indexers

* Fix up the other iterator index functions

* Fix crash with missing index branch

* Limit the field indexer to values less than 128 characters

* Fallback to the old manual scan if the index method returns null
* Sadly, we can no longe re-use the field indexer to accelerate the `has` operator, because the index now omits tiddlers that have field values longer than the limit

Still need to make the index configuration exposed somehow

* Rearrange tests so that we can test with and without indexers

We also need to expose the list of enabled indexers as a config option

* Test the field indexer with different length fields

So that we test the indexed and non-indexed codepaths
2019-05-24 21:07:37 +01:00
Jeremy Ruston
b992b79adb Merge branch 'tiddlywiki-com' 2019-05-24 18:24:59 +01:00
Jeremy Ruston
feab75a6d1 Add support for preloading plugins by path instead of name 2019-05-24 12:06:11 +01:00
Jeremy Ruston
2f8053265e Performance: Add average filter execution time 2019-05-20 12:50:10 +01:00
Jeremy Ruston
409a297a63 Docs: Fix inaccuracies in "has" filter docs 2019-05-18 15:55:34 +01:00
Kartik Saranathan
ba0da99b17 Docs: fix typo (#3949) 2019-05-16 17:28:09 +01:00
Jeremy Ruston
634ac92ba2 Update splash screen to add new release banner
See #3935
2019-05-11 19:48:06 +01:00
Jeremy Ruston
184fd9dda8 Docs for Performance Instrumentation improvements
Left off e8d1fbba6
2019-05-11 19:28:09 +01:00
Jeremy Ruston
94d18a2f18 KaTeX: Fix bug with embedded SVGs
See https://github.com/Jermolene/TiddlyWiki5/issues/2500#issuecomment-489976530
2019-05-11 17:31:35 +01:00
Jeremy Ruston
ff85fcfe93 Fix typo from e8d1fbba6 2019-05-10 16:03:24 +01:00
Jeremy Ruston
e8d1fbba6c Performance Instrumentation: Track execution times for individual filters
Fixes #3941
2019-05-10 15:56:01 +01:00
Jeremy Ruston
7869546fef Speed up reveal widget
It turns out that the `localeCompare` function used by `compareStateText()` is very, very slow. Replacing it with a straightforward equality test makes one of my test rigs be 10x faster...

Note that this PR reverts the behaviour of match/nomatch to that before #3157. That change was not backwards compatible in that the switch to localeCompare meant that é === e, now it doesn't again.
2019-05-10 08:47:00 +01:00
Jeremy Ruston
dddfb7ce67 Merge remote-tracking branch 'origin/tiddlywiki-com' 2019-05-03 11:20:39 +01:00
Jeremy Ruston
5ae14a16ec Classic Storyview: Optimise for animation duration of zero (part 2)
See fddc5d4ee
2019-05-02 21:21:22 +01:00
Jeremy Ruston
fddc5d4ee6 Classic Storyview: Optimise for animation duration of zero (part 1)
Approximtely 50% speed improvement in tests opening a storyview with 8,000 entries.

(I've deferred the indentation adjustments until the next commit so that the git diffs are clearer)
2019-05-02 21:20:24 +01:00
Jeremy Ruston
091864ddaf Browser messaging: suppress logging
Commented out because it can be useful for debugging.
2019-05-02 20:21:58 +01:00
Jermolene
07198b9cda Update view toolbar "new here" button
Avoiding textual substitution fixes probems with tiddler titles containing double square brackets.
2019-04-23 17:54:49 +01:00
Jermolene
4401e71498 Docs: Update WebServer Parameter: csrf-disable 2019-04-23 17:53:19 +01:00
Bram Chen
df416814b1 Update chinese translations (#3917)
* Add chinese translations for Saving/GitHub/ServerURL

* Improve simplified chinese wording
2019-04-16 15:56:05 +01:00
Jermolene
b7e0930122 savewikifolder: Fix custom plugin fields
We need to carry across all plugin fields into the tiddlywiki.info file
2019-04-16 11:59:34 +01:00
Jermolene
0a5c826816 GitHub Saver: Fix ServerURL name 2019-04-16 10:15:58 +01:00
Jermolene
25c0ebb523 GitHub Saver: Make server URL configurable 2019-04-15 21:30:59 +01:00
Jermolene
b32a5aa9af GitHub saver: Fix problem with saving to a non-existent directory 2019-04-15 21:08:04 +01:00