Jeremy Ruston
632970cd86
Get external links working again
...
We no longer use the `<$link>` widget for external links. Instead the
parser generates `<a>` elements. This makes things simpler, but does
mean that the `target=_blank` behaviour is baked into the parser.
Probably we should introduce a new `<$extlink>` widget that generates
an `<a>` element with a configurable `target` attribute
2013-10-24 11:54:54 +01:00
Jeremy Ruston
d3df2c5860
Docs updates
2013-10-23 23:12:19 +01:00
Jeremy Ruston
c95ce5ff4c
Fix up the $:/ConfigInfo tiddler
2013-10-23 23:12:07 +01:00
Jeremy Ruston
3350510516
Add new modules and moduletypes filter operators
2013-10-23 23:11:41 +01:00
Jeremy Ruston
3241c2b76a
Added password widget
2013-10-23 20:24:45 +01:00
Jeremy Ruston
54bed81ab9
Missed off some of the refresh logic
2013-10-23 19:46:31 +01:00
Jeremy Ruston
4e713baeee
Add checkbox widget and fix up task management example
2013-10-23 19:38:36 +01:00
Jeremy Ruston
67490cbb74
Whoops console.log.alypse
2013-10-23 17:50:51 +01:00
Jeremy Ruston
f2ac04943f
Fixed tag autocomplete popup on focus
2013-10-23 17:41:12 +01:00
Jeremy Ruston
dfdb34a5cc
Better styling for the fields editor
2013-10-23 17:04:10 +01:00
Jeremy Ruston
d5f09a4608
Prevented generation of illegal elements
...
Previously, text like <-> would try to generate an element with an
illegal name, causing a JS error
2013-10-23 12:36:34 +01:00
Jeremy Ruston
a9f2a24ace
Fix misnamed style tiddler in the read only theme
2013-10-22 22:18:16 +01:00
Jeremy Ruston
6f2dbd0978
Refactor name of "findNextSiblingDomNode()" method for consistency
2013-10-22 18:14:16 +01:00
Jeremy Ruston
40c6b6cb8f
Guts of the field editor
...
Styling is a bit squiffy
2013-10-21 23:10:20 +01:00
Jeremy Ruston
8ee2695c81
Fix up the tags editor
...
The dropdown doesn't yet appear when the text input is focussed
2013-10-21 22:55:43 +01:00
Jeremy Ruston
7393a296dd
Add a fieldmangler widget
2013-10-21 22:54:58 +01:00
Jeremy Ruston
06af26b1c8
Give the edit-text widget support for the placeholder attribute
2013-10-21 22:54:48 +01:00
Jeremy Ruston
e2b8249a1b
Fix problem with findNextSibling()
2013-10-21 22:27:12 +01:00
Jeremy Ruston
409152afb8
Make the default list widget template include a div or span
...
Otherwise writing this makes a list on one line:
```
{{{ [tag[done]] }}}
```
2013-10-21 22:26:36 +01:00
Jeremy Ruston
c96cb6e956
Parse typed blocks with the new parser
2013-10-21 20:20:44 +01:00
Jeremy Ruston
a99f912bad
Fix typo
2013-10-21 20:20:32 +01:00
Jeremy Ruston
2a571b4f5f
Switch the notifier and modal mechanisms to use the new widget mechanism
...
Note the use of the `$tw.rootWidget` to collect together the root event
handlers
2013-10-21 20:14:01 +01:00
Jeremy Ruston
48dbacc88a
Add support for widget event listeners to be specified as functions
2013-10-21 20:13:08 +01:00
Jeremy Ruston
ce1fb300f8
Use the new widget mechanism for stylesheet parsing and rendering
2013-10-21 18:38:20 +01:00
Jeremy Ruston
79e7dc4f18
Content updates
2013-10-21 18:33:31 +01:00
Jeremy Ruston
c9668f93b5
Test building static css and individual tiddlers
2013-10-21 18:33:25 +01:00
Jeremy Ruston
89310e71c8
Add a new version of rendertiddlers command
...
So that we can test static html generation
2013-10-21 18:33:00 +01:00
Jeremy Ruston
3d30ff9828
Fix static tiddler template
2013-10-21 18:32:40 +01:00
Jeremy Ruston
26ac940637
Fix typo
2013-10-21 18:32:29 +01:00
Jeremy Ruston
e33f588b73
Let the new rendering methods accept a parent widget
2013-10-21 18:32:19 +01:00
Jeremy Ruston
dc9c2522b9
Fix typo in macro variable substitution
2013-10-21 18:31:41 +01:00
Jeremy Ruston
167116d416
Fix output type for view format htmlwikified
2013-10-21 18:31:27 +01:00
Jeremy Ruston
3005604b83
Give link widget support for configuration variables
...
One can now use `\define tw-wikilinks() no` to disable wikilinks, and
`tw-wikilink-template` to configure the link template.
2013-10-21 18:31:04 +01:00
Jeremy Ruston
2b5fb9801f
Add skype: protocol for external links
...
The matching of external links is hacky at the moment. The plan is to
make it more easily extensible (ie without writing code)
2013-10-20 10:47:02 +01:00
Jeremy Ruston
25612958d7
Fixed bugs in previous commit to extend search to titles and tags of binary tiddlers
2013-10-18 16:09:10 +01:00
Jeremy Ruston
35c7094306
Start building the static files
...
There's a few parts that don't work yet
2013-10-18 15:20:33 +01:00
Jeremy Ruston
3f151ba70e
Add support for macro modules
...
Now JavaScript macros can be defined in "macro" modules
2013-10-17 16:57:07 +01:00
Jeremy Ruston
55d479c540
Extend macrocall widget to take parameters both from the parse tree node and the attributes
...
This allows us to invoke macros using the ordinary widget syntax, which
in turn allows us to use features like indirection on the parameters.
2013-10-17 16:55:23 +01:00
Jeremy Ruston
6b9b75142b
Fix text reference regexp to allow for tiddler titles with embedded spaces
2013-10-17 16:40:13 +01:00
Jeremy Ruston
e11c620c27
Fix search filter so that titles and tags of binary tiddlers are searched
2013-10-17 16:34:50 +01:00
Jeremy Ruston
93c2ce6521
Fix up edit widgets
2013-10-16 16:30:24 +01:00
Jeremy Ruston
a3eaffa666
Add a linkcatcher widget
2013-10-16 16:30:06 +01:00
Jeremy Ruston
adb395d10f
Fix edit-text widget to work with indexed values
2013-10-16 16:29:51 +01:00
Jeremy Ruston
7f6d770ca6
The reveal widget should generate a span when in inline mode
...
The only reason that the reveal widget generates an element is so that
we can use `display:none/block;` (as did the pre-refactored code) as a
quick way of hiding and showing the content. We don't do that yet, and
it may be best never to do it.
2013-10-16 16:29:35 +01:00
Jeremy Ruston
06e269f3cb
Fix the untagged list in the tags list
2013-10-15 21:07:35 +01:00
Jeremy Ruston
77248d08a8
Add the count widget
2013-10-15 21:07:13 +01:00
Jeremy Ruston
5b4ca67d6e
Make the reveal widget hide the div element if it is not open
2013-10-15 21:06:52 +01:00
Jeremy Ruston
ebcd5177ec
Fix-ups to make the new edit widgets work
2013-10-15 14:32:45 +01:00
Jeremy Ruston
78bc89cbdb
Add a edit text widget
...
Now rather than a separate module type for different editors, we
instead have a meta-widget "edit" that chooses the appropriate concrete
widget (currently just "edit-text", but soon to be joined by
"edit-bitmap" as well)
2013-10-15 14:32:27 +01:00
Jeremy Ruston
a696c716e3
Support the remaining events on the navigator widget
2013-10-15 14:30:36 +01:00