Jermolene
5d43cd7408
Add fold tiddler toolbar button
...
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
6a3c4d6c91
Flip logic for suppressing timestamps
...
Fixing a mistake from the earlier commits, so that the default remains
that the timestamps are applied.
2015-08-09 11:09:02 +01:00
Jermolene
7421616754
Make keyboard shortcuts configurable
...
Fixes #1892
2015-08-08 13:43:14 +01:00
Jermolene
e5cd8313a0
Update actionsetfield widget to allow timestamp to be preserved
2015-08-06 18:17:09 +01:00
Jermolene
fdce67399d
Provide option to suppress navigation for edit/cancel/save
2015-08-05 15:07:19 +01:00
Jermolene
72ed4b2673
Add renaming to text-slicer tiddler toolbar
...
The plan is to expose the functionality in other places, too - for
example, the edit template and the tag manager
2015-08-04 17:44:07 +01:00
Jermolene
9168480d18
Clear caches when changing plugins
2015-08-02 22:22:33 +01:00
Jermolene
8444961cd2
Introduce Story object
...
A lightweight object to encapsulate manipulation of the story and
history lists
2015-08-01 18:09:00 +01:00
Jermolene
cd29eed067
Fix problem with importing using wrong import tiddler name
2015-08-01 13:48:46 +01:00
Jermolene
3b321b5d26
Add buttons to the top of the $:/Import tiddler too
2015-08-01 13:19:39 +01:00
Jermolene
8f746f9dde
Add parse tree utility for collecting text
2015-08-01 13:14:32 +01:00
Jermolene
f708b4df65
Turn off performance instrumentation
...
The plan is to make it be a user configurable option
2015-08-01 13:13:47 +01:00
Jermolene
58188cf805
Improvements to parser rule configuration
...
* Ignore parser rule configuration in safe mode
* Made text translatable
* Added new setting for camelcase links
* Added warning on parser rule configuration tab
See #1875
2015-07-31 13:33:33 +01:00
Jermolene
d5e690a06d
First pass at global disabling of parser rules
...
This is to address #1875 more quickly than via #345 .
This commit only includes a partial implementation of the UI - see the
ticket for details.
2015-07-30 12:28:29 +01:00
Jermolene
18e38bb2bc
Fix bug with 2cb6400773
...
The problem was that we failed to escape the dash in the regexp,
meaning that it was matching all characters from “.” to “_”.
2015-07-14 08:33:12 +01:00
Jermolene
2cb6400773
Extend automatic system tiddler linking to digits and underscore
...
Fixes #1877
2015-07-13 14:42:55 +01:00
Jermolene
e0aacc84d5
Add publishFilter to default save template
...
Making #1800 a bit more useful
2015-07-12 09:08:11 +01:00
Jermolene
32f6d7f1b0
Revert getTiddlerData() and add getTiddlerDataCached()
...
For backwards compatibility, we now explicitly request the cacheable
version of this method.
Fixes #1873
2015-07-10 16:43:50 +01:00
Jermolene
862e358b57
Refine check for client server plugins
...
Fixes #1870
2015-07-08 15:48:13 +01:00
Jermolene
7dddc925ae
Allow delete button to be used in view toolbar
...
Fixes #1871
2015-07-08 15:33:18 +01:00
Jermolene
8bfc6f3557
Adjust cache names for parse caches
...
The old names were a hangover from an old refactoring.
2015-07-08 08:26:19 +01:00
Jermolene
848a7f4e74
Optimise getStateQualifier()
...
Another fix for #1864 , this time we’re caching state qualifiers as they
are expensive to compute.
2015-07-06 11:23:12 +01:00
Jermolene
c6e48ebc2d
Performance optimisations
...
In some situations, I’m seeing x2.5 speedups with these optimisations
Starts fixing #1864
2015-07-05 19:47:44 +01:00
Jermolene
a86cfe2663
Minor coding style tweaks
2015-07-05 18:09:35 +01:00
Jeremy Ruston
c4397792f5
Merge pull request #1863 from nameanyone/master
...
New filter "recent"
2015-07-05 18:04:05 +01:00
Jermolene
b0cb17cd83
Re-establish caching of results of parsing a tiddler
...
I switched this optimisation off back in
ed35d91be6
, in October 2013, as part of a
big refactoring of the parsing and widget mechanism. I’ve been meaning
to switch it back on for some time.
My rough measurements suggest that this optimisation can reduce
rendering time by 5-10%.
2015-07-05 17:48:18 +01:00
Jermolene
3a7e29674b
Fix problem with checkbox widget and missing tiddlers
...
The newly added invertTag code was crashing if the tiddler doesn’t
exist.
2015-07-02 17:33:51 +01:00
Jermolene
f3b5dc530e
First pass at selectable toolbar button styles
...
There’s not much to making the toolbar button styles switchable: the
change to the PageTemplate introduces a new configuration tiddler that
controls the button styling. Most of this commit is the user interface
for changing that setting, including the translatable text. I think
this again demonstrates that we need to be very selective about which
configuration options have a UI included in the core. Otherwise, a few
dozen more of these settings will start to become a significant
fraction of the core.
2015-07-02 08:57:06 +01:00
Jermolene
31ebbb2d7d
Add translatable strings for type dropdown
2015-07-01 15:58:49 +01:00
Jeremy Ruston
062aa03c5a
Merge pull request #1849 from Infurnoape/master
...
Update fields.tid
2015-07-01 15:40:25 +01:00
Devin Weaver
7057c6252e
Fix bad table rendering with info button
...
When the info button in the TagManager was press it revealed the info
table but it was squished in one cell and that pushed the right side of
the table past the width of the tiddler. So using a colspan optimises
the spacing (plus it looks better).
2015-06-30 23:59:23 -04:00
Devin Weaver
98a1ee1a8d
Add untagged to TagManager
...
Used for stats and easy access to the untagged pill
2015-06-30 23:56:16 -04:00
Devin Weaver
7d348b3733
Move counts to TagManager
2015-06-30 23:56:02 -04:00
nameanyone
a37ba2afbe
New filter operator "recent"
...
Select tiddlers with a specified date field (default "modified") within the last N days (default 0, meaning today).
2015-06-30 14:05:03 -07:00
Andrew J Harrison
7ad15bc248
Update fields.tid
...
Add a new field drop down
2015-06-29 10:45:41 -07:00
Jermolene
63f802efda
Rename checkbox "invert" attribute to "invertTag"
...
And update docs
2015-06-26 10:18:15 +01:00
James Welford Anderson
379181ded5
add invert parameter to checkbox plugin
...
for when you want a tag to denote the lack of a check rather than the
presence of one.
2015-06-26 05:10:13 +09:00
Jermolene
50c6ce8b73
Improve syslink parsing
...
Fixes #1767
2015-06-24 09:24:03 +01:00
Jermolene
f42842f801
Add variable indicating preview region
...
@felixhayashi does this do the trick for you?
2015-06-20 09:33:11 +01:00
Jermolene
a89ae45188
Add hidden setting for autofocusing search box
...
Fixes #1748
2015-06-19 17:28:57 +01:00
Jermolene
b31803608b
Refactor navigator widget configuration
...
@felixhayashi sorry I should have realised earlier that it’s worth
doing it this way so that we can have different settings for different
story rivers.
2015-06-19 16:44:20 +01:00
Jermolene
37f5a9f725
Update plugin library versions
2015-06-15 15:42:52 +01:00
Jermolene
9aa9b59284
Include tiddler caption/title in static page titles
2015-06-15 09:54:56 +01:00
Jermolene
4a3a5bf1f0
Don't autosave when cancelling an edit
...
Fixes #1762
2015-06-13 18:08:09 +01:00
Jermolene
0d5033e2a0
Add title links setting
2015-06-13 15:22:50 +01:00
Jermolene
fdbde1b389
Tweak contrast themes
2015-05-28 09:47:42 +01:00
Jermolene
1c72e77106
Add warning if required client-server plugins are missing
2015-05-22 09:05:25 +01:00
Jeremy Ruston
8a999ea745
Merge pull request #1706 from buggyj/zoomin_nav
...
fix for issue - Story freezing in zooming mode #1704
2015-05-18 22:39:55 +01:00
Jermolene
3e1b84064a
Improved fix for illegal field name problem
...
Better fix for the problem identified in 9b4b9d4
2015-05-18 22:16:04 +01:00
Jermolene
9b4b9d4d88
Update sendmessage widget to allow name/value parameters
...
Using `$name` and `$value` attributes allows more flexibility in how
parameter names are specified, allowing parameter names that are not
valid attribute names.
2015-05-18 22:15:23 +01:00
Jermolene
ccd0b30b5c
Add "SolarFlare" palette
...
Created by @nameanyone
2015-05-18 20:48:52 +01:00
Jermolene
5a6249894d
Fix problem with field names containing special characters
...
The characters `> / ' " =` were causing problems.
Thanks @ericshulman
2015-05-18 19:29:10 +01:00
Jermolene
ecdcfe41ac
Fix problem with #1723
...
Restoring operation of the “default” attribute
2015-05-14 00:07:53 +01:00
Jermolene
648f670bcb
Tweaked icons
2015-05-13 23:55:00 +01:00
Jeremy Ruston
9935902b92
Revert "Added a close library butten to add plugins modal"
2015-05-12 17:36:27 +01:00
Jeremy Ruston
2d65488e06
Merge pull request #1718 from inmysocks/patch-5
...
Added a close library butten to add plugins modal
2015-05-12 17:25:21 +01:00
Jeremy Ruston
f0206283cf
Merge pull request #1723 from cehmke/fix-buttonwidget-textreference-selected
...
Use of getTextRefence in ButtonWidget.isSelected
2015-05-12 11:20:47 +01:00
Jeremy Ruston
cf3b63c13c
Merge pull request #1724 from cehmke/select-refresh-children-first
...
SelectWidget: Update selected value if children have been refreshed
2015-05-12 11:20:06 +01:00
Jermolene
b5ad255d0c
Allow drafts typing timeout to be configured
2015-05-11 20:15:42 +01:00
cehmke
4d3103ff25
Update selected value if children have been refreshed
...
If the children have been refreshed, it is necessary to check, whether
the value of the select box has been changed.
2015-05-10 19:32:38 +02:00
cehmke
b8addaa520
use of getTextRefence in isSelected
...
Instead of a particular implementation make use of the overall function
getTextReference to determine the current value.
Add a missing semicolon.
2015-05-10 13:26:00 +02:00
jed
ad4cd7326a
Added a close library butten to add plugins modal
...
The button deletes the local tiddlers that contain information about the library. This allows you to:
*hide the library contents
*reload the library to see any updates to the plugins it contains. If this isn't done than local information about the available plugins is never updated (this problem may need a separate fix that doesn't require reloading the library).
I have three problems that should be addressed:
*I am not sure that the location and color of the close library button is appropriate
*When you click on the close library button a message asking you if you want to delete the $:/temp/ServerConnection/(url) tiddler appears, if you click 'cancel' than the library is shown as open and empty, the only way to fix this condition is to delete the server connection tiddler manually. I think there is a simple fix to this but I can't think of anything.
*Sometimes if you try to open a library that you have just closed it won't open properly. The tiddlers that contain the plugin information are created, but the server connection tiddler isn't created until you reload the wiki. This behavior is inconsistent and sometimes opening the library again works with no problems. I do not know why. I would be fine with requiring a refresh before a library could be reopened so that the startup module acts, but I am not sure what to do about this inconsistent behaivor. I have not been able to find any cause.
2015-05-08 18:24:10 -06:00
Jermolene
42a3e31b1b
Tweaks to #1678
2015-05-07 19:44:08 +01:00
Jeremy Ruston
e93d32cdd7
Merge pull request #1678 from felixhayashi/feature/vars_widget
...
Introducing the vars widget
2015-05-07 19:36:25 +01:00
Jermolene
f87e74f131
Tweak palette icon
2015-05-07 18:54:56 +01:00
Jermolene
61b75be94c
Add "navigateFromTitle" to action-sendmessage
...
Fixes #1665
2015-05-06 08:14:26 +01:00
Jermolene
86e901f375
Fix event handler leak for modals and notifications
...
Also add support for passing custom variables into notifications.
Fixes #1694
2015-05-06 08:07:12 +01:00
buggyj
45e0f09ade
fix multiply displayed tiddlers zoomin error
2015-05-06 07:42:55 +01:00
Jermolene
97fd1330d6
Disable wikilinks within tab buttons
...
Thanks to @BramChen for the suggestion:
https://github.com/Jermolene/TiddlyWiki5/issues/1697#issuecomment-990092
50
2015-05-05 21:48:48 +01:00
Jermolene
02acbb1169
Hide palette page control button by default
2015-05-05 21:47:47 +01:00
Jermolene
cad5917eeb
Request scrollbars in external windows
2015-05-05 21:47:37 +01:00
Jermolene
789069bb6b
Add palette page control button
2015-05-05 18:53:35 +01:00
Jermolene
a79e7a1c57
Tweaks for #1662
...
Coding style and ui copy
2015-05-04 20:29:00 +01:00
Jeremy Ruston
4656a7e8f6
Merge pull request #1662 from felixhayashi/feature/navigator_widget
...
upgrading the navigator widget
2015-05-04 20:21:38 +01:00
Jermolene
403a460002
Check for dom node not found
2015-05-03 16:56:37 +01:00
Jermolene
0932c15e5c
Clarify rendering parameters
...
srcDocument.body.firstChild will in fact be null, but it’s clearer to
write it out
2015-05-03 16:56:27 +01:00
Jermolene
3f26492ac8
Close subwindows when closing main window
2015-05-03 16:24:02 +01:00
Jermolene
48dcf959ff
Refactor browser unload task handling
...
Make it possible to register multiple task functions that will be
called when the window is unloaded
2015-05-03 16:23:35 +01:00
Jermolene
d23f174d01
Add a margin for single tiddler windows
2015-05-03 15:05:26 +01:00
Jermolene
fdeb8a925f
Introduce template for single tiddler windows
...
Lets us include global macros etc.
2015-05-03 14:58:33 +01:00
Felix Hayashi
9693f97b16
upgrading the navigator widget
...
Motivation / Agenda
* https://github.com/Jermolene/TiddlyWiki5/issues/1651
* https://github.com/Jermolene/TiddlyWiki5/issues/1650
Summary
* Changed the NavigatorWidget (primarily `addToStory()`)
* Applied lingo to settings
* Applied lingo to selectbox options
2015-05-03 13:24:16 +02:00
Jermolene
41d5031279
Position and hide the open-window button
2015-05-03 08:49:49 +01:00
Jermolene
ec567f67d3
Set title of external window
2015-05-03 08:49:37 +01:00
Jermolene
8708f817fa
Improve garbage collection of external windows
...
Now we remove event listeners when a window is closed
2015-05-02 17:22:53 +01:00
Jermolene
7866f9b2de
Typo
...
Typically for JavaScript, initialising an object as an array doesn’t
break anything because an array is an object. Anyhow, it should be an
object in this case.
2015-05-02 17:22:23 +01:00
Jermolene
9cf5d88cc9
Add "open new window" tiddler toolbar button
2015-05-02 12:12:51 +01:00
Jermolene
52529f9b32
Contrast palette tweaks
2015-05-02 12:12:31 +01:00
Jermolene
7b4153f87f
No longer autofocus the search box in the plugin library
...
It messes things up in iOS, and perhaps other browsers too
2015-04-30 17:45:22 +01:00
Jermolene
6f7d80a2ac
Missed off last commit
2015-04-29 22:24:46 +01:00
Jermolene
3e166f5fe9
Palette tweaks
...
Making it easier to tweak the two colours in the monochrome palettes
2015-04-29 22:24:36 +01:00
Jermolene
ead208332b
Improvement to Contrast palette
...
Also add a light variant
2015-04-29 22:11:39 +01:00
Jermolene
28050fb488
Palette tweaks
2015-04-28 09:12:04 +01:00
Jermolene
0e7ae7ce20
Add descriptions for new palette colours
2015-04-28 09:11:26 +01:00
Jermolene
3567e4c2c7
Palette editor: use colour name if description not available
2015-04-28 09:10:57 +01:00
Jermolene
1b25d4b51a
Improve "Contrast" palette
...
Trying to make it more useful for visually impaired users - see #1682
2015-04-27 21:46:31 +01:00
Jermolene
16301532bf
Add button palette colours
...
We leave them blank by default so that we get the browser default
button colours
2015-04-27 21:46:07 +01:00
Felix Hayashi
740627795f
This widget allows the user to set multiple variables in one go.
...
It thereby reduces code complexity that would arise when setting
many variables using "<$set>".
```
\define helloworld() Hello world!
<$vars greeting="Hi" me={{!!title}} sentence=<<helloworld>>>
<<greeting>>! I am <<me>> and I say: <<sentence>>
</$vars>
```
How this Widget differs from the set widget:
* Variables may be created by using the "key=value" notation
that you already know from widgets like action-setfield.
* You cannot specify a fallback ("emptyValue")
* You cannot use a filter to produce a conditional variable assignement
Original discussion that led to the creation of this widget:
https://github.com/Jermolene/TiddlyWiki5/issues/1610
2015-04-27 17:07:13 +02:00
Jermolene
3c7082e181
Fix contrastcolour typo
2015-04-24 11:13:10 +01:00
Jermolene
2cb1c1d017
Update copyright year
2015-04-24 11:13:10 +01:00
Jermolene
75a33f5dff
Fix problem with "foreground"/"background" palette colours using <<colour>>
macro
...
See discussion here:
https://groups.google.com/d/topic/tiddlywiki/XDlO0EydXtY/discussion
2015-04-21 22:07:16 +01:00