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
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
00f9bdc43f
Fixed problem with tiddlers opening twice
2012-03-15 09:32:53 +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
b513daaff8
Added an experimental fisheye menu chooser
...
I'm starting to experiment with interactive features so that I can
finalise the macro architecture. I'm trying to design for touch first;
this menu swipes in from the left
2012-03-07 17:44:12 +00:00
Jeremy Ruston
0f2883b75a
Adjust the slider macro to the new Bootstrap styles
...
And fixed some indentation issues
2012-03-05 15:14:24 +00:00
Jeremy Ruston
cb97295fdb
Further refactorings to simplify macro development
2012-03-05 13:36:53 +00:00
Jeremy Ruston
8abf0049cf
Refactored slider macro
2012-03-05 12:23:27 +00:00
Jeremy Ruston
8847551bd9
Removed unnecessary type declaration from macros
2012-03-05 12:04:06 +00:00
Jeremy Ruston
3633a40986
Improved slider macro docs
2012-03-05 10:18:22 +00:00
Jeremy Ruston
4649a0bd88
Refactored slider macro to lazily render it's content
2012-03-04 21:58:33 +00:00
Jeremy Ruston
60670509e0
Improved documentation for the slider macro
2012-03-04 13:20:38 +00:00
Jeremy Ruston
4a73317193
Refactoring renderer "tree" array to "nodes"
2012-03-03 18:39:13 +00:00
Jeremy Ruston
2ecb1f670c
Better error messages in the view and tiddler macros
2012-03-03 18:35:52 +00:00
Jeremy Ruston
6902ee19de
Refactoring name of macro refresh method
2012-02-22 23:27:21 +00:00
Jeremy Ruston
106380b98a
Fixed slider to refresh child nodes correctly
2012-02-22 22:47:42 +00:00
Jeremy Ruston
52c3e7a146
Extended slider macro to accept a "content" parameter
...
It specifies wikitext to directly include within the slider, overriding
any specified targetTiddler
2012-02-22 21:39:59 +00:00
Jeremy Ruston
bf6f5e0254
Refactored macro interface
...
Now 'this' points to the Renderer.MacroNode
2012-02-21 21:57:30 +00:00
Jeremy Ruston
5a51604fdb
Get rid of the info macro
...
We may bring it back, but it's a hassle to keep it up to date at the
moment
2012-02-21 21:56:27 +00:00
Jeremy Ruston
53f652bf2a
Refactored evaluation of macro dependencies
...
Now the dependencies are evaluated in the constructor for the
Renderer.MacroNode
2012-02-20 19:27:37 +00:00
Jeremy Ruston
b37d3b6670
Refactored macros to use new Dependencies() constructor
2012-02-20 18:05:10 +00:00
Jeremy Ruston
e4dd63d089
Updated slider macro to have a refresh method
2012-02-19 17:24:01 +00:00
Jeremy Ruston
a0524c2144
Added protection against wikitext recursion
...
Now attempts to view a tiddler recursively fail gracefully
2012-02-19 17:20:16 +00:00
Jeremy Ruston
1326b12948
Removed "optional" field from macro parameters
...
Macros need to tolerate missing parameters
2012-02-17 17:32:32 +00:00
Jeremy Ruston
103a9a4d7f
Introduced new Dependency() class to encapsulate dependency handling logic
...
Note that the format is now slightly different; see js/Dependencies.js
for details
2012-02-17 14:11:25 +00:00
Jeremy Ruston
8d4d168432
Beefed up <<slider>> macro to store state in a tiddler
...
Now the state of the slider is reflected in the text of a tiddler
2012-02-17 12:36:39 +00:00
Jeremy Ruston
81219b1205
Fix for refreshing untouched child nodes in story macro
2012-02-17 12:36:08 +00:00
Jeremy Ruston
6805b08cf4
The default wrapper tag for macros is now <span>
...
So we don't need this
2012-02-17 12:35:44 +00:00
Jeremy Ruston
167613552f
Fixes to enable <<tiddler>> macro to cope with missing tiddlers
2012-02-17 12:35:21 +00:00
Jeremy Ruston
0439f259b4
Switched over to using new Renderer class
2012-02-16 20:38:10 +00:00
Jeremy Ruston
9ececdf406
JSHint was complaining without this unnecessary "break" statement
2012-02-11 20:11:59 +00:00
Jeremy Ruston
c100b434f9
Revert "Passed "store" to the other parser constructors"
...
This reverts commit 017be8f4ff
.
2012-02-11 20:02:35 +00:00
Jeremy Ruston
017be8f4ff
Passed "store" to the other parser constructors
2012-02-11 20:01:58 +00:00
Jeremy Ruston
a20c9cc8ac
Refactored view macro
...
Now we use renderTiddler when we can for wikified fields
2012-02-11 18:19:34 +00:00
Jeremy Ruston
e8a93fa56b
Refactored link macro
...
To handle external links correctly, and URI encode internal links
2012-02-09 13:36:46 +00:00