Jeremy Ruston
65659e9858
Keeping JSHint happy
2012-04-13 13:28:38 +01:00
Jeremy Ruston
b4a5d3f259
Fixed spaces->tabs
2012-04-13 13:27:13 +01:00
Jeremy Ruston
a7dceac7b8
Avoided using .hasAttribute()
2012-04-13 13:27:00 +01:00
Jeremy Ruston
119f11f651
Rearranged definitions
...
So that we don't get complaints about things being used before they're
defined
2012-04-13 13:26:49 +01:00
Jeremy Ruston
fd10f3bd66
Fixed incorrect MIME type on script block
2012-04-13 13:26:25 +01:00
Jeremy Ruston
a302be82d0
Use stringified fields where possible in the view macro
2012-04-11 11:29:26 +01:00
Jeremy Ruston
90677022e5
Added custom scroller animator
...
To remove a dependency on jQuery, and allow us to move to Zepto (which
doesn't allow animation of scrollTop)
2012-04-11 11:29:03 +01:00
Jeremy Ruston
71ded42b60
Made sure to remove "draft.of" field after use
2012-04-10 14:38:27 +01:00
Jeremy Ruston
f89ca3c338
Fixed problem with obtaining stringified version of field content
2012-04-10 14:38:09 +01:00
Jeremy Ruston
6479fff012
Fixed problem with deleting fields in the Tiddler constructor
2012-04-10 14:37:52 +01:00
Jeremy Ruston
3743bcc562
My old buddy JSHint
2012-04-10 14:07:43 +01:00
Jeremy Ruston
b456c0a01c
Switched back to using textareas and inputs for editors
...
The contenteditable stuff was complicated and performing badly. More to
the point, I've now got a pretty solid way to resize the textarea to
fit it's content
2012-04-10 13:53:02 +01:00
Jeremy Ruston
e7701d8af0
Fixed typo with class
member of linkInfo
...
And improved the docs
2012-04-07 14:28:50 +01:00
Jeremy Ruston
af7b69e778
Refactored linkMassager mechanism
...
Now the link massager can control the HTML attributes of the link, and
suppress it entirely if necessary. Using this new facility to generate
a cleaner readme file for github
2012-04-07 12:10:46 +01:00
Jeremy Ruston
5d10e7b750
Renamed "target" parameter of link macro to "to"
...
To avoid confusion with the HTML target attribute of link elements
2012-04-07 11:32:41 +01:00
Jeremy Ruston
9e4404bb97
Improved comments
2012-04-07 11:32:16 +01:00
Jeremy Ruston
d34f163dbc
Added deletion support to HttpSync and LocalFileSync
2012-04-05 18:25:39 +01:00
Jeremy Ruston
0ac55688c4
Browser now syncs changes with server which syncs with the file system
...
A bit rough and ready, but this gives us basic support for editting
tiddlers in the browser and updating the original file on the server
2012-04-05 12:21:49 +01:00
Jeremy Ruston
495ef1ada5
Extended Tiddler object to allow retrieval of fields as strings
2012-04-05 12:20:06 +01:00
Jeremy Ruston
d13e2bacaf
Added linkMassager callback
2012-04-03 17:07:38 +01:00
Jeremy Ruston
b44f6b47cc
Fixed JSHint complaining about making a function in a loop
2012-04-03 16:59:55 +01:00
Jeremy Ruston
a2cd450cbe
Track source filepath for tiddlers in tiddler file store
2012-04-03 16:26:40 +01:00
Jeremy Ruston
45dcb4f8e9
Make the file store ignore OS X DS_Store files
2012-04-03 15:05:26 +01:00
Jeremy Ruston
0cfef8affa
Added support for a serverside tiddler file store
...
Preparatory to implementing saving changes to the server
2012-04-03 14:43:13 +01:00
Jeremy Ruston
995de58d47
Limited bitmap editing canvas width to 100%
2012-04-02 13:09:24 +01:00
Jeremy Ruston
13d61056ad
Added reasonably decent quadratic smoothing to pencil strokes
2012-04-02 09:32:13 +01:00
Jeremy Ruston
c5c0c88eb2
Whoops JSHint
2012-04-01 20:37:21 +01:00
Jeremy Ruston
7ef554ba5e
Smoother pencil for the image editor
2012-04-01 20:33:18 +01:00
Jeremy Ruston
cab5c88d3a
Slight improvements to bitmap editor
2012-04-01 11:49:32 +01:00
Jeremy Ruston
d985f9b09e
Added touch support to bitmap editor
2012-04-01 09:59:49 +01:00
Jeremy Ruston
ff823ff302
Keeping JSHint happy
2012-03-31 18:12:09 +01:00
Jeremy Ruston
4eef87ec36
Ridiculously primitive support for editing bitmap images
...
Just a simple black brush at present
2012-03-31 18:10:48 +01:00
Jeremy Ruston
350f2f50d4
Added ability for macros to register their own event handlers, and a rendering callback
2012-03-31 18:10:16 +01:00
Jeremy Ruston
2faa668717
Fixed problem with firing our own DOM mutation events
2012-03-30 19:51:11 +01:00
Jeremy Ruston
9b145638ec
Renamed SimpleTemplate to ViewTemplate
...
Compatibility with TiddlyWiki
2012-03-30 19:11:01 +01:00
Jeremy Ruston
42900b3aac
Added missing semicolon
2012-03-30 19:10:35 +01:00
Jeremy Ruston
79a3941eca
Fixed default text when editting hitherto missing tiddlers
2012-03-30 18:17:00 +01:00
Jeremy Ruston
c57d1efefe
Fixed problem with manually editting the story tiddler
...
Now you can manually edit StoryTiddler, which is quite fun
2012-03-30 18:12:45 +01:00
Jeremy Ruston
75279c2b13
Fixed bug with sliders
...
Faulty dependency checking logic
2012-03-30 18:12:21 +01:00
Jeremy Ruston
cb0c190882
Fixed refresh handling for tiddler macro
2012-03-30 16:45:46 +01:00
Jeremy Ruston
a7b905cf88
Refactored renderer logic to call refreshInDom on macros unconditionally
...
This allows the macro itself to decide whether it wants to perform an
update or not
2012-03-30 16:45:24 +01:00
Jeremy Ruston
1deb23b82d
Added toggleClass method
2012-03-30 16:42:54 +01:00
Jeremy Ruston
ae78b97596
Fixed logic for checking for a dependent context tiddler
...
And added some documentation
2012-03-30 16:42:35 +01:00
Jeremy Ruston
d8d20a3bc8
Got the edit macro working
...
A bit rough and ready, but OK for editting `text` and other full text
fields.
2012-03-30 13:50:01 +01:00
Jeremy Ruston
cc3180a1cc
Added dependentOnContextTiddler flag to view macro
2012-03-30 13:49:26 +01:00
Jeremy Ruston
05d837aaef
Fixed dependency handling for tiddler macro
2012-03-30 13:49:09 +01:00
Jeremy Ruston
65b55925de
Added support for committing edits to a draft tiddler
2012-03-30 13:48:59 +01:00
Jeremy Ruston
1df0a50760
Added support for macros to evaluate their own dependencies
2012-03-30 13:48:30 +01:00
Jeremy Ruston
8f3fcda234
Added support for nodes that are dependent on the current context tiddler
2012-03-30 13:48:16 +01:00
Jeremy Ruston
628963d838
Fixed problem with class
keyword
2012-03-30 13:47:54 +01:00