Wykres commitów

29 Commity (75279c2b13b0b3c963e465615868f894aacbacf6)

Autor SHA1 Wiadomość Data
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 65b55925de Added support for committing edits to a draft tiddler 2012-03-30 13:48:59 +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 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 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 00f9bdc43f Fixed problem with tiddlers opening twice 2012-03-15 09:32:53 +00:00
Jeremy Ruston 8847551bd9 Removed unnecessary type declaration from macros 2012-03-05 12:04:06 +00:00
Jeremy Ruston 6902ee19de Refactoring name of macro refresh method 2012-02-22 23:27:21 +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 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 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 81219b1205 Fix for refreshing untouched child nodes in story macro 2012-02-17 12:36:08 +00:00
Jeremy Ruston 0439f259b4 Switched over to using new Renderer class 2012-02-16 20:38:10 +00:00
Jeremy Ruston 210f1bcd09 Added missing event processing to story macro 2012-02-09 13:36:21 +00:00
Jeremy Ruston 58ab36ef51 Refactored navigation to use new macro event mechanism
Phew. This gets rid of a lot of hacks
2012-02-02 18:00:42 +00:00
Jeremy Ruston f576c86b41 Refactored macro event handling
Updated the slider macro to use the new mechanism to start with
2012-02-02 17:48:09 +00:00
Jeremy Ruston 449f322a86 Refactoring navigation handling
Not done yet, but the tests are passing so it's a good point to check
in. The idea is to let macros register for events to handle both the
click and the navigation request.
2012-02-02 15:13:50 +00:00
Jeremy Ruston 0458c538b0 Removed unneeded variable declaration 2012-02-01 16:13:49 +00:00
Jeremy Ruston b0336c527c Changed the signature of WikiStore.renderTiddler
The parameters are more sensible and predictable now
2012-02-01 16:12:49 +00:00
Jeremy Ruston 5b301dc30b Added rerender support to the story macro
Allowing the selective refresh of the story tiddlers
2012-02-01 12:37:29 +00:00
Jeremy Ruston ddfa6732a6 Rename render function of macros 2012-01-30 20:04:47 +00:00
Jeremy Ruston dad7756f65 Getting selective refresh working
A bunch of changes, and we're halfway there
2012-01-25 10:51:04 +00:00
Jeremy Ruston 04e9376eca Refactored the story macro to invoke the tiddler macro to display tiddlers 2012-01-24 18:11:38 +00:00
Jeremy Ruston e2a0955ced Renamed 'handler' member of macros
Used to be called "code". And associated documentation changes
2012-01-15 12:16:28 +00:00
Jeremy Ruston b671ecdedd Refactored story macro to use renderTiddler instead of renderText 2012-01-14 17:24:25 +00:00
Jeremy Ruston 510006d67d Added story macro
And the PageTemplate for it to go into
2012-01-13 16:50:11 +00:00