Jeremy Ruston
deae9e1f7e
Update some widget docs
2013-10-30 14:30:22 +00:00
Jeremy Ruston
d04962f6e9
Update clientserver edition to include the codemirror plugin
...
We don't want to include it in the standalone edition because the
plugin is currently 243KB.
2013-10-30 14:30:11 +00:00
Jeremy Ruston
693d1803bf
Fix problem with codemirror plugin and handling of ordinary input fields
2013-10-30 14:28:20 +00:00
Jeremy Ruston
8084837f48
Fix problem with default text handling in edit-text widget
2013-10-30 14:27:55 +00:00
Jeremy Ruston
9e3618bdcf
Rename the 'title' attributes of various widgets to 'tiddler'
...
The change is to avoid confusion with the HTML 'title' attribute. The
name 'tiddler' better emphasises the purpose of the attribute, too.
2013-10-30 13:36:44 +00:00
Jeremy Ruston
849d64cf9d
Fix field listings
2013-10-30 09:34:01 +00:00
Jeremy Ruston
05e73ee1da
Cope with localStorage not being available
...
IE10 doesn't allow localStorage for HTML pages loaded from the file://
protocol.
Boo.
2013-10-29 22:21:25 +00:00
Jeremy Ruston
d42fb673f8
Fix checkbox widget to update modified
and modifier
fields
2013-10-29 21:20:59 +00:00
Jeremy Ruston
654f48b14d
Fix problem with modal titles
2013-10-29 15:01:36 +00:00
Jeremy Ruston
731cbb8cd6
Switch from new_pageContainer
back to pageContainer
2013-10-29 15:01:27 +00:00
Jeremy Ruston
91cd59fc68
Docs updates
2013-10-29 14:54:05 +00:00
Jeremy Ruston
d2b2ae5262
Fix filesystem adaptor to use new widget mechanism
2013-10-29 14:53:23 +00:00
Jeremy Ruston
55a70b3fac
Docs clarification
2013-10-29 14:52:23 +00:00
Jeremy Ruston
b4da65d1c9
Update fakedom to no longer add a newline after opening tags
...
The newline was being rendered within `<code>` elements.
2013-10-29 14:52:12 +00:00
Jeremy Ruston
14d7d5ea59
Use the new wiki.makeWidget() method where we can
2013-10-29 14:51:35 +00:00
Jeremy Ruston
4eebe7388d
Add a wiki.makeWidget() method
...
Encapsulates some logic that has been duplicated elsewhere.
2013-10-29 14:48:24 +00:00
Jeremy Ruston
c4d5b803ef
Temporarily disable the filewatcher functionality
...
It's currently broken, awaiting a fix from @natecain
2013-10-29 14:47:18 +00:00
Jeremy Ruston
371c8ab45a
Fix changed attribute detection in tiddler widget
2013-10-29 09:04:18 +00:00
Jeremy Ruston
bf48e6f8a1
Rename tiddlerTitle
variable to currentTiddler
2013-10-28 23:40:45 +00:00
Jeremy Ruston
0a9ad8efaf
Batch file cleanup
2013-10-28 15:22:31 +00:00
Jeremy Ruston
aefca26d72
Style the body tag through a CSS class
...
This avoids accidentally styling body tags within SVG foreignObject
elements.
2013-10-28 15:06:17 +00:00
Jeremy Ruston
3cab550ebb
Link to docs
2013-10-28 15:05:39 +00:00
Jeremy Ruston
c5ed5f161f
Some documentation about SVG
2013-10-28 15:05:30 +00:00
Jeremy Ruston
b4b0eae4e5
Allow the foreignObject element in SVG to embed HTML via the body element
...
This change means that any `<body>` elements inside an SVG region of
the DOM tree will switch the namespace back to XHTML.
2013-10-28 15:05:19 +00:00
Jeremy Ruston
1d27760a37
Cleaner formatting for the control panel
2013-10-28 15:03:52 +00:00
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