1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 02:20:28 +00:00
Commit Graph

407 Commits

Author SHA1 Message Date
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
Jeremy Ruston
70941b07a6 Added initial support for the command macro
Just the EditTiddler command at the moment
2012-03-29 17:02:05 +01:00
Jeremy Ruston
b0cdd866ee Fixed up classnames
Not sticking to my own conventions is bad
2012-03-29 15:35:52 +01:00
Jeremy Ruston
b81ffdcb58 Added missing semicolon 2012-03-29 15:33:47 +01:00
Jeremy Ruston
1dd6e43a6f First version of the edit macro 2012-03-29 15:32:36 +01:00
Jeremy Ruston
048cc1f6de Added a wrapper around transcluded tiddlers
For styling
2012-03-29 14:57:54 +01:00
Jeremy Ruston
392e717497 Refactored handling of context tiddler
Now the title is passed around, rather than a reference to the tiddler.
This lets the context be a missing tiddler, enabling us to correctly
render missing tiddlers
2012-03-29 14:30:22 +01:00
Jeremy Ruston
cd0f8ebb52 Improving the handling of missing tiddlers
On the way to being able to edit tiddlers
2012-03-29 13:44:45 +01:00
Jeremy Ruston
cbb8ee3bb0 Changed format of story tiddlers to JSON
Allowing us to encode the template for each tiddler
2012-03-29 12:54:51 +01:00
Jeremy Ruston
02aaa3567f Improved comments 2012-03-29 12:23:34 +01:00
Jeremy Ruston
d03d461672 Fixed problem with exponents in CSS values
CSS doesn't like "translateY(1e-13px)"
2012-03-20 16:49:47 +00:00
Jeremy Ruston
b10727f556 Improvements to the zooming navigator 2012-03-20 13:30:59 +00:00
Jeremy Ruston
492ab00577 Added the experimental zooming navigator
It doesn't work properly yet. Swipe in from the right edge of the
screen to try it. iPad/iPhone only at the moment
2012-03-16 15:11:37 +00:00
Jeremy Ruston
3d4e92568f Slowed down the chooser's horizontal scale factor 2012-03-16 15:11:04 +00:00
Jeremy Ruston
5138796ee1 Fixed typo
Thanks to cjhunt
2012-03-16 15:08:30 +00:00
Jeremy Ruston
00f9bdc43f Fixed problem with tiddlers opening twice 2012-03-15 09:32:53 +00:00
Jeremy Ruston
91bba13608 Started using shadow tiddlers
Now the JavaScript modules and templates are put into the shadow store
2012-03-14 18:57:53 +00:00
Jeremy Ruston
1cf54ce08c Improved usability of addTiddler() 2012-03-14 18:57:04 +00:00
Jeremy Ruston
7970745f58 Make the chooser work in Firefox
It doesn't work as well as Chrome, needs investigation
2012-03-14 18:26:44 +00:00
Jeremy Ruston
399e8d710c Slide the chooser in as the touch/mouse moves right 2012-03-14 17:41:18 +00:00
Jeremy Ruston
4354c7dbe2 Fixed chooser so that it works when the screen is scrolled
Or indeed zoomed.
2012-03-14 13:49:05 +00:00
Jeremy Ruston
1d11acf8ec Keeping JSHint happy 2012-03-13 15:15:33 +00:00
Jeremy Ruston
98a681f904 Updated chooser
It sort of works now
2012-03-13 15:12:58 +00:00
Jeremy Ruston
4c01ae392e Added class manipulation utilities 2012-03-13 15:12:36 +00:00
Jeremy Ruston
581d165822 Catch navigation events that fall through to the document
And broadcast them back to the first story macro that accepts them
2012-03-13 15:12:23 +00:00