Jeremy Ruston
20f03de712
The big purge of the old widget mechanism
...
Getting rid of the old widget mechanism files finally gives us a payoff
for all the refactoring. Still a bit of tidying up to do, and we need
to re-introduce the animation mechanisms.
2013-10-27 22:55:36 +00:00
Jeremy Ruston
5610efff01
Update typedblock parser to use new widget mechanism
2013-10-27 22:53:22 +00:00
Jeremy Ruston
d84e398d7a
Fix problem when widgets don't have a parse tree node
2013-10-27 22:53:06 +00:00
Jeremy Ruston
c7d56361ee
Parse and render macro attributes, rather than using the raw text
2013-10-27 22:52:34 +00:00
Jeremy Ruston
d1108c7fcc
Remove inaccurate comments
2013-10-27 22:52:04 +00:00
Jeremy Ruston
b1208a8d37
Fix problem with getTiddlerLinks()
...
It was crashing if it encountered a link widget that didn't have a `to`
attribute.
2013-10-27 13:54:39 +00:00
Jeremy Ruston
124a7bed95
Build empty.html with the new widget mechanism
2013-10-27 13:54:09 +00:00
Jeremy Ruston
3ad3cfd526
Bring back the bitmap editor widget
2013-10-26 13:13:55 +01:00
Jeremy Ruston
b474d8c13d
Extend domMaker to set event listeners
2013-10-26 13:13:45 +01:00
Jeremy Ruston
f8f524d378
Make sure the dragger cover properly covers the dragger
2013-10-26 10:29:52 +01:00
Jeremy Ruston
76faba2d9f
Get rid of the old tempwidget
2013-10-26 10:29:40 +01:00
Jeremy Ruston
d1299f05af
Fix up the datauri handling for the Star Light theme
2013-10-26 08:43:35 +01:00
Jeremy Ruston
98da59be7a
Extend the link widget to make the links draggable
2013-10-26 08:36:43 +01:00
Jeremy Ruston
05fc9848bb
Extend the dropzone widget to cope with dataTransfer objects (as well as files)
2013-10-26 08:36:31 +01:00
Jeremy Ruston
068befb24f
Refactor link widget with tidier event handler
2013-10-25 23:22:46 +01:00
Jeremy Ruston
ad518c181d
Add jsencoded view format
2013-10-25 23:00:43 +01:00
Jeremy Ruston
c46748b82f
Fix the template for serving tiddlers
2013-10-25 22:30:36 +01:00
Jeremy Ruston
925e22c46f
Fix up the server command to use the new widget mechanism
2013-10-25 22:30:15 +01:00
Jeremy Ruston
bdcead624a
Add a changecount macro
2013-10-25 22:29:49 +01:00
Jeremy Ruston
b3ae45cbde
Invoke macros with this
set to the host widget
2013-10-25 22:29:28 +01:00
Jeremy Ruston
8fbc5759ad
Refactor widget.getVariable() to have better behaved parameters
2013-10-25 22:16:15 +01:00
Jeremy Ruston
46bdc52261
Fix up the new import mechanism
2013-10-25 21:16:53 +01:00
Jeremy Ruston
75231fec39
Add browse and dropzone widgets
...
We're splitting out the two aspects of the old import widget
2013-10-25 21:16:03 +01:00
Jeremy Ruston
c2efdfdbc4
Extend the navigator widget to handle import events
2013-10-25 21:15:32 +01:00
Jeremy Ruston
8c2fb7b8d0
Extend wiki object to have methods required for importing
2013-10-25 21:15:20 +01:00
Jeremy Ruston
eb5a8253ba
Make the full screen plugin work again
2013-10-25 12:53:58 +01:00
Jeremy Ruston
62b72f6bd1
Move browser-startup module initialisation to the end of startup
2013-10-25 12:53:40 +01:00
Jeremy Ruston
7715958485
Cleaning up the TW2 edition
2013-10-25 12:46:46 +01:00
Jeremy Ruston
11a07e71dc
Move stripcomments from the classictools plugin into the core
...
It's a bit of a hack for the moment. The plan is to implement
stripcomments via the macro mechanism, at which point it can move back
into the plugin.
2013-10-25 12:32:57 +01:00
Jeremy Ruston
3d6165753b
Save a copy of the old tw2 build for comparison purposes
2013-10-25 12:32:03 +01:00
Jeremy Ruston
f9451b9d99
Update Features tiddler to point to CodeMirror demo
2013-10-25 09:50:45 +01:00
Jeremy Ruston
7dfea81cfa
Add a demo edition for CodeMirror
2013-10-25 09:50:30 +01:00
Jeremy Ruston
cfa68dade5
Update CodeMirror plugin to latest version and the new widget framework
...
Now the CodeMirror plugin modifies the behaviour of the core edit-text
widget.
2013-10-25 09:48:57 +01:00
Jeremy Ruston
8a709a0b00
Give the edit-text widget some extensibility hooks
...
So that the upcoming CodeMirror plugin can do its stuff
2013-10-25 09:15:56 +01:00
Jeremy Ruston
a5f5f1bd9c
Fixed up the D3 demo plugin
2013-10-24 20:45:53 +01:00
Jeremy Ruston
3251aa191f
Fix up saving encrypted wikis
2013-10-24 13:10:32 +01:00
Jeremy Ruston
56b2c25588
Whoops file in the wrong place
2013-10-24 12:00:32 +01:00
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
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