Jeremy Ruston
1db72ea931
Add support for parameter substitutions to the savetiddler command
2012-08-25 12:07:15 +01:00
Jeremy Ruston
175d7c67fd
Moved support for parameter substitution into wiki.parseText()
...
We'll later refactor the same logic out of the tiddler macro
2012-08-25 12:05:57 +01:00
Jeremy Ruston
1d6eba3071
Add "transclude" format for the view macro
...
Uses the value of the field as the title of a tiddler to transclude
2012-08-23 12:31:16 +01:00
Jeremy Ruston
8e6647b615
Initial tranche of the plugin implementation
...
This first commit adds some of the code needed for the plugin
mechanism, but it isn't all fully operational yet. I'm merging the
branch so that I can get some other pre-requisites done quickly on the
main branch, and then plan to return to this branch.
2012-08-06 22:34:16 +01:00
Jeremy Ruston
daff9c10f3
Tighten terminology for plugins vs. modules
...
"Plugins" are bundles of tiddlers managed as one, "modules" are
JavaScript tiddlers with a module type identifying when and how they
should be executed.
2012-08-03 15:09:48 +01:00
Jeremy Ruston
c11743088a
Niceties for JSHint
2012-08-02 22:32:34 +01:00
Jeremy Ruston
1f52b40cb6
Added parser rule for HTML format comments
...
And try it out in the PageTemplate, which is getting pretty
unintelligable
2012-08-02 22:06:52 +01:00
Jeremy Ruston
1f64a9e758
Added node.js version check and related refactorings
2012-08-02 14:32:38 +01:00
Jeremy Ruston
377d84185a
Missed off previous commit
2012-07-22 22:07:26 +01:00
Jeremy Ruston
a2caf46b1e
Added new wiki methods for reading and writing a toddler as data
2012-07-22 22:03:06 +01:00
Jeremy Ruston
cc59a49b39
Improved rounder close icon
2012-07-20 22:09:34 +01:00
Jeremy Ruston
c1e33ccacb
Changed default type for typed blocks to be text/plain
2012-07-18 14:28:17 +01:00
Jeremy Ruston
ec77acd6f7
Improved CSS animation technique
...
Clearer and more concise now that we're forcing layout rather than
using nextTick()
2012-07-18 11:45:17 +01:00
Jeremy Ruston
41845ba059
Animate modal message appearance
2012-07-17 18:28:47 +01:00
Jeremy Ruston
f90b127349
Add table formatting rule
2012-07-16 21:13:33 +01:00
Jeremy Ruston
8b61259973
Extend modal message handler to cope with missing subtitle or footer fields
2012-07-16 14:04:29 +01:00
Jeremy Ruston
a2da94e657
Fixed problem with wikitext macro rule selecting block mode wrongly
2012-07-16 13:58:00 +01:00
Jeremy Ruston
5cb834784a
Added optional help link to modal messages
2012-07-16 13:47:28 +01:00
Jeremy Ruston
d21a70f085
Update modal message mechanism to support custom footers
2012-07-16 12:57:44 +01:00
Jeremy Ruston
a689abf0c1
Whoops, should be HTML encoding tiddler div fields
2012-07-16 12:57:19 +01:00
Jeremy Ruston
4a783d08c6
Keeping JSHint happy
2012-07-16 12:56:59 +01:00
Jeremy Ruston
0bd059c1f7
Run version of class wikitext rule
2012-07-15 23:07:25 +01:00
Jeremy Ruston
f97c6b6c25
Fixed typo
2012-07-15 23:07:07 +01:00
Jeremy Ruston
a7dd86b52a
Adjust wikitext html rule to parse in block mode if the opening tag is immediate followed by a newline
2012-07-15 23:06:51 +01:00
Jeremy Ruston
ca2c790c27
Fix the reveal macro in run mode
2012-07-15 23:06:24 +01:00
Jeremy Ruston
a149510fa3
Undo the filename change of classblock
2012-07-15 22:38:34 +01:00
Jeremy Ruston
59d9e683d8
Rename classblock parse rule to "class"
2012-07-15 22:37:25 +01:00
Jeremy Ruston
401b804931
Add support for "nomatch" to the reveal macro
2012-07-15 22:34:48 +01:00
Jeremy Ruston
7346a146f0
Extend the tiddler button so that it can set a tiddler to a given value
2012-07-15 22:34:36 +01:00
Jeremy Ruston
ba2b537248
Removed extraneous console.log
2012-07-15 18:33:29 +01:00
Jeremy Ruston
87749397c0
Fixed embarrassing bug with the heading wikitext rule
2012-07-15 18:12:45 +01:00
Jeremy Ruston
507460eb4e
Add warning notification when viewing a document on a data: uri
...
The intent is to handhold the user through their first save+verification
2012-07-15 17:37:03 +01:00
Jeremy Ruston
c9c26794af
Moved browser feature detection out of startup.js
2012-07-15 17:36:25 +01:00
Jeremy Ruston
dde26f8103
Remove CloseTiddler message to "close"
2012-07-15 17:36:02 +01:00
Jeremy Ruston
c8d98316fa
Removed extraneous class
2012-07-15 17:35:17 +01:00
Jeremy Ruston
c74d608418
Removed parser switch
2012-07-14 18:08:00 +01:00
Jeremy Ruston
6d278ea4a1
Reorganisations
...
Part three
2012-07-14 15:58:41 +01:00
Jeremy Ruston
a05adc9d53
Reorganisations
...
Part two
2012-07-14 15:57:36 +01:00
Jeremy Ruston
3d4a5e1602
A bunch more source file reorganisations
...
Part one
2012-07-14 15:56:35 +01:00
Jeremy Ruston
761ffa403d
Complete renaming popupper component to popup
2012-07-14 15:52:35 +01:00
Jeremy Ruston
10b7075c7a
Rename popupper component to popup
...
Less confusing
2012-07-14 15:50:07 +01:00
Jeremy Ruston
4e547a7d35
Complete renaming the include macro to serialize
2012-07-14 15:46:01 +01:00
Jeremy Ruston
a046c774d4
Rename include macro to serialize
...
Because that's much more representative
2012-07-14 15:43:21 +01:00
Jeremy Ruston
73071f18ae
Replace obsolete hide macro with reveal macro
2012-07-13 23:39:20 +01:00
Jeremy Ruston
80fd563ccc
Get rid of obsolete linkcatcher macro
2012-07-13 23:09:45 +01:00
Jeremy Ruston
226e3f1417
Remove obsolete download macro
2012-07-13 22:57:24 +01:00
Jeremy Ruston
e0765ec700
Allow the save template to be specified in the message parameter
2012-07-13 22:56:57 +01:00
Jeremy Ruston
4c1f818094
Extended button macro to take a message parameter
2012-07-13 22:56:30 +01:00
Jeremy Ruston
898e86db79
Use the version number from the package.json file
...
Instead of the old separate version.txt file
2012-07-13 17:38:23 +01:00
Jeremy Ruston
d910d75124
Updated to node v.0.8.2
2012-07-13 17:08:15 +01:00
Jeremy Ruston
3a24bdbaf3
Credit for BidiX
2012-07-13 16:51:35 +01:00
Jeremy Ruston
85068ab0b3
Fixes for upload saver
2012-07-13 13:53:51 +01:00
Jeremy Ruston
5e11de719c
Added HTTP upload saver
...
Now we can save changes to TiddlySpot
2012-07-13 13:03:38 +01:00
Jeremy Ruston
b4a75b25fc
New password macro for setting passwords
...
They are stored unencrypted in localStorage
2012-07-13 13:03:07 +01:00
Jeremy Ruston
e19552774f
Simple password management
2012-07-13 13:02:34 +01:00
Jeremy Ruston
36ff53f40b
Extended edit macro
...
Now it accepts a default value for the field if the tiddler doesn't
exist. It also allows the forcing of a single line input control
2012-07-13 13:02:14 +01:00
Jeremy Ruston
6e86de5652
Update edit macro to be able to edit a specified tiddler
...
Previously you could only edit fields on the current tiddler
2012-07-13 11:26:34 +01:00
Jeremy Ruston
a7c1b1896e
Tell JSHint about Firefox's globals
2012-07-13 11:26:12 +01:00
Jeremy Ruston
3f1e8ee79a
Removed old code
2012-07-13 11:25:57 +01:00
Jeremy Ruston
6ff361cdc2
Restored height fixer for text editor
2012-07-12 18:53:20 +01:00
Jeremy Ruston
05d9cb60fc
Passed host wiki to saver constructors
2012-07-12 16:58:49 +01:00
Jeremy Ruston
9404d670d3
Added download saver, our fallback based on standard HTML
...
It's clunky, and requires manual intervention to accomplish a save, but
it does work on Chrome, Safari, iOS mobile safari
2012-07-12 13:13:48 +01:00
Jeremy Ruston
632c846ae0
Check for being on a file URI before trying to use Firefox's XUL file saving
2012-07-12 13:11:58 +01:00
Jeremy Ruston
1971f86d5e
Remove blanket dependency from transclude macro
...
It was a bit of a sledgehammer to crack a nut, and slowed down Firefox
terribly
2012-07-11 16:26:58 +01:00
Jeremy Ruston
d16481c524
Refactored editor logic to handle refreshes more efficiently
2012-07-11 15:52:15 +01:00
Jeremy Ruston
6a0a4ae00d
Removed extraneous console.log
2012-07-11 15:51:52 +01:00
Jeremy Ruston
c340082653
Added primitive save changes mechanism
...
Works in Firefox for now
2012-07-10 23:18:44 +01:00
Jeremy Ruston
9c26f04928
Extraneous line break
2012-07-10 23:18:17 +01:00
Jeremy Ruston
ea6d7f5c08
Fixed a long standing issue with javascript module tiddlers being truncated
...
Ouch!
2012-07-10 23:17:39 +01:00
Jeremy Ruston
9c7a6e5973
Firefox fix
...
Was preventing zoomin animations working properly
2012-07-07 18:44:27 +01:00
Jeremy Ruston
c49c4ef681
Improved animation for closing tiddlers in the zoomin view
2012-07-07 17:58:28 +01:00
Jeremy Ruston
f412dd19d9
Lots of fixes to storyview mechanism
...
And a new scroller mechanism
2012-07-07 17:14:50 +01:00
Jeremy Ruston
a21d96adc1
Fixed typo
2012-07-07 17:14:19 +01:00
Jeremy Ruston
36372f2aed
Proper support for DefaultTiddlers
...
Now a shadow tiddler called `$:/DefaultTiddlers`
2012-07-07 17:14:02 +01:00
Jeremy Ruston
c509053bc1
Mending the zoomin effect
...
Navigating forwards works OK
2012-06-26 20:50:29 +01:00
Jeremy Ruston
69a0c46447
Split the story macro out into two macros
...
Now the story macro manages the story element sequence, while the
navigator macro listens for the navigation events, and modifies the
story tiddler as required. Also introduces a history tiddler that
retains the history stack so that we can animate navigation properly
(as distinct from animating the addition and removal of story elements).
Note that the zoomin storyview isn't quite finished, but this is a
stable point to commit these changes.
2012-06-26 19:54:51 +01:00
Jeremy Ruston
94c622a40f
Added new storyview called "zoomin"
2012-06-22 18:02:50 +01:00
Jeremy Ruston
f718c597e3
New method for the story macro
2012-06-22 18:02:34 +01:00
Jeremy Ruston
780108c939
Adjust position of opened tiddlers
2012-06-22 13:51:38 +01:00
Jeremy Ruston
14e433a11d
Reverted to classic semantics of new tiddlers opening below the one being navigated from
2012-06-22 12:25:01 +01:00
Jeremy Ruston
be6bff402d
Added closure animation to sideways storyview
2012-06-22 11:28:40 +01:00
Jeremy Ruston
d9c916715b
Better cross browser support for classic closure animation
2012-06-22 09:26:59 +01:00
Jeremy Ruston
7dcbefa9bc
Added a rudimentary animation for closing tiddlers in classic view
2012-06-22 00:10:17 +01:00
Jeremy Ruston
d82e372569
Added close button
...
And made the edit button be a graphic, too
2012-06-21 19:44:21 +01:00
Jeremy Ruston
8b23dc3da6
Fixed positioning of view dropdown
2012-06-21 09:11:04 +01:00
Jeremy Ruston
250f9411da
Smooth scrolling for the sideways storyview
2012-06-20 22:20:48 +01:00
Jeremy Ruston
c5292567dd
Split the DOM utilities into their own file
2012-06-20 22:16:41 +01:00
Jeremy Ruston
d0ee6bd691
Wider sideways tiddlers
2012-06-20 22:12:14 +01:00
Jeremy Ruston
a3431c1435
JSHint!
2012-06-20 18:36:43 +01:00
Jeremy Ruston
4bbe0cd4d3
Added new storyview that shows tiddlers stacked up sideways
2012-06-20 18:35:41 +01:00
Jeremy Ruston
08e80d6e02
Completed renaming the scroller storyview to "classic"
2012-06-20 18:03:19 +01:00
Jeremy Ruston
b3c0bec838
Fixed support for storyviewTiddler parameter for story macro
2012-06-20 17:59:38 +01:00
Jeremy Ruston
ca9b68a5d3
Start to let story macro read storyview from a tiddler
...
This is for getting the view dropdown working
2012-06-20 17:43:31 +01:00
Jeremy Ruston
966b51a258
New linkcatcher macro
2012-06-20 17:40:55 +01:00
Jeremy Ruston
829909bffa
New hide macro
...
Used for selectively hiding blocks of content
2012-06-20 17:40:41 +01:00
Jeremy Ruston
f5a9df1ae3
Fixed event handler
2012-06-20 17:40:08 +01:00
Jeremy Ruston
2881b138a3
Fixed the transclude macro so that it is marked dependent all
2012-06-19 18:22:27 +01:00
Jeremy Ruston
16dc26b6e8
Fixed the reveal macro so that is marked dependentAll
2012-06-19 18:21:58 +01:00
Jeremy Ruston
5627e731b1
Comment update
2012-06-19 18:01:39 +01:00
Jeremy Ruston
9d39e9a5f1
A better fix for refreshing nested macros
2012-06-19 16:56:55 +01:00
Jeremy Ruston
2282a825ec
Extraneous var
2012-06-19 16:56:40 +01:00
Jeremy Ruston
14f4465b30
Semi-colon
2012-06-19 16:56:29 +01:00
Jeremy Ruston
84b6020f2a
Ensured we remove the popup click handler
2012-06-19 16:50:10 +01:00
Jeremy Ruston
5103f1585b
New popup cancelling mechanism
2012-06-19 16:47:35 +01:00
Jeremy Ruston
08d7a12d04
Finishing off the text reference support
2012-06-19 16:47:25 +01:00
Jeremy Ruston
8b17874db4
Fixed automatic refreshing for macro nodes
2012-06-19 16:47:10 +01:00
Jeremy Ruston
b17a43707d
Ensure that the view macro doesn't generate a pair of nested macros
...
Because that will stop the refresh mechanism from working
2012-06-19 16:46:50 +01:00
Jeremy Ruston
1963c56fa9
Adjust the parent stack for transclusion
...
This enables the dropdowns to work a bit better
2012-06-19 10:59:58 +01:00
Jeremy Ruston
cabc11d517
Use the transclude macro instead of list tagging
in the tag popup
2012-06-19 10:40:30 +01:00
Jeremy Ruston
ec3f16f50f
Enabled sorting by title of tiddlers that don't exist
2012-06-19 10:40:05 +01:00
Jeremy Ruston
642703986a
Changed filter logic to allow selection of non-existent tiddlers
2012-06-19 10:39:44 +01:00
Jeremy Ruston
83eb368f40
Temporarily removed the popup zapper
...
This implementation is too slow and cumbersome; we'll replace it with
something else soon
2012-06-19 10:39:13 +01:00
Jeremy Ruston
0d928c05a5
Added new transclude wikitext rule and macro
...
Which allows us to get rid of the tags macro
2012-06-19 08:57:29 +01:00
Jeremy Ruston
381d0715e9
The beginnings of support for text references
2012-06-19 08:56:15 +01:00
Jeremy Ruston
f4e36e9539
Improved filter support
...
Now there is a "current tiddler" that can be referenced as
`[is[current]]`, and a new `[tags[]]` operator.
2012-06-19 08:55:56 +01:00
Jeremy Ruston
04989a5ceb
Made the chooser slightly less broken
2012-06-16 19:02:56 +01:00
Jeremy Ruston
49cc644293
Whitespace
2012-06-16 19:02:44 +01:00
Jeremy Ruston
6745c7fbf7
Better to use terminating semicolons after each style specifier
...
More compatible with TW2 too
2012-06-14 19:03:51 +01:00
Jeremy Ruston
b41a1cb4de
Fixed problem with styled block wikitext rule
2012-06-14 18:49:51 +01:00
Jeremy Ruston
11c9031873
Added support for style blocks
2012-06-14 18:18:32 +01:00
Jeremy Ruston
fa279514c7
Made the class block rule do it's own class assignment
2012-06-14 17:40:27 +01:00
Jeremy Ruston
abd510442a
Typo
2012-06-14 17:28:14 +01:00
Jeremy Ruston
52f59a4eb4
Medium-sized refactoring of macro architecture
...
Now event handlers are attached to element nodes, not to macro nodes.
2012-06-14 17:15:38 +01:00
Jeremy Ruston
3584d854aa
Add case sensitive sorting
2012-06-14 11:36:26 +01:00
Jeremy Ruston
6c285b04de
Update the recipe handling to use the right wiki object
2012-06-14 11:36:10 +01:00
Jeremy Ruston
acad64a933
Added a case insensitive sort to the filters
...
Hoping to come up with a better syntax for this
2012-06-14 11:35:54 +01:00
Jeremy Ruston
513fa6f756
Fixed problem with tag dropdowns in Firefox
2012-06-13 16:43:08 +01:00
Jeremy Ruston
474212dade
And now the tag popups hide themselves after being used
2012-06-13 16:21:08 +01:00
Jeremy Ruston
ccfa7e1322
Fixed the appearance of tag dropdowns
2012-06-13 16:09:07 +01:00
Jeremy Ruston
161ddcb473
Made it so clicking outside a popup cancels the popup
...
Clicking inside still doesn't cancel it, though
2012-06-13 15:37:07 +01:00
Jeremy Ruston
c168ec0ad4
Allow macros to specify capturing event handlers
2012-06-13 15:36:16 +01:00
Jeremy Ruston
28fd037c47
Got the tag dropdowns working
...
They don't get dismissed correctly, though
2012-06-13 13:19:55 +01:00
Jeremy Ruston
a160fb07e4
Sort tagged tiddlers
2012-06-13 13:19:32 +01:00
Jeremy Ruston
558aaf338f
Fixed issue with textnodes ignoring insertBefore parameter
2012-06-13 10:41:36 +01:00
Jeremy Ruston
0830cdac73
Mo' comments
2012-06-13 10:41:10 +01:00
Jeremy Ruston
caf32d9598
Instituted minimum height for edit textareas
2012-06-13 09:27:58 +01:00
Jeremy Ruston
c3c0abd864
Add reveal macro that shows or hides content depending on the value of a tiddler
2012-06-13 09:12:09 +01:00
Jeremy Ruston
797544c1f9
Adapted button macro so that it can also toggle the value of a tiddler
...
We're splitting the slider macro up into its two constituent parts
2012-06-13 09:11:50 +01:00
Jeremy Ruston
fb5d7793ab
Added tagging option to list macro
2012-06-13 09:11:19 +01:00
Jeremy Ruston
0641685fc8
Fixes for tags macro
2012-06-13 09:10:50 +01:00
Jeremy Ruston
84a352b804
Added wiki.getTiddlersWithTag()
...
We should probably use the filter mechanism for this...
2012-06-13 09:10:03 +01:00
Jeremy Ruston
d2b62eabbe
Further tweaks to the still broken zooming chooser
2012-06-11 22:04:21 +01:00
Jeremy Ruston
f59c24f053
Change chooser macro to use embedded content
...
Not quite done with this yet.
2012-06-11 17:37:34 +01:00
Jeremy Ruston
a4a2b27749
Whitespace!
2012-06-11 17:36:40 +01:00
Jeremy Ruston
e5ba101ebe
Fixed problem with view macro generating null content
...
Avoids errors better to generate empty content
2012-06-11 17:36:28 +01:00
Jeremy Ruston
901b212a66
Fixed zooming chooser
2012-06-11 13:08:16 +01:00
Jeremy Ruston
bf85908d5e
Fixed problem with setting classes on list and story macros
2012-06-11 13:06:22 +01:00
Jeremy Ruston
6448c70984
Refactor zoomer macro to take into account CSS classes
2012-06-11 13:05:57 +01:00
Jeremy Ruston
00050c3c21
Keep JSHint happy
2012-06-11 12:46:58 +01:00
Jeremy Ruston
9f86f98cb1
Got the zooming navigator working again
...
Albeit, it doesn't play well with the fixed navbar
2012-06-11 12:44:10 +01:00
Jeremy Ruston
086feb31dc
Make scroller work on Firefox
2012-06-11 12:01:49 +01:00
Jeremy Ruston
d0a9bfd0f0
Unhyphenate CSS property names when rendering to the DOM
...
Annoyingly, Chrome will happily accept `background-color` and
`backgroundColor` interchangeably, so I hadn't noticed that this was
broken...
2012-06-11 10:41:13 +01:00
Jeremy Ruston
45cf175b8b
Made sorting be case insensitive
2012-06-10 22:53:29 +01:00
Jeremy Ruston
fc49d7dffd
Added tags and color macros
...
Which enables us to do nice colour coded tags. Soon they'll have a drop
down on them too
2012-06-10 19:47:24 +01:00
Jeremy Ruston
7e2ff9e0d8
Extended the image macro to take a width and height
2012-06-10 18:09:15 +01:00
Jeremy Ruston
298b10b8f9
Fixed typo in comment
2012-06-10 18:09:00 +01:00
Jeremy Ruston
e0b630686e
Refactored wikitext parser to deal better with terminated blocks
2012-06-10 17:26:54 +01:00
Jeremy Ruston
4e0528e3dd
Fixed typo in recipe handling
2012-06-10 13:40:35 +01:00
Jeremy Ruston
3e49513c73
Renamed class wikitext rule as a block rule
2012-06-10 13:40:19 +01:00
Jeremy Ruston
e88873e3a8
Removed mistaken suppression of trailing newlines in JS comments
2012-06-09 22:39:13 +01:00
Jeremy Ruston
cde03baf24
Take newlines out of JS comments
2012-06-09 22:25:31 +01:00
Jeremy Ruston
b90688042c
Set block status of link macro created by view macro
2012-06-09 22:25:13 +01:00
Jeremy Ruston
199d2acb5a
Stop the view macro returning extraneous elements
2012-06-09 19:04:42 +01:00
Jeremy Ruston
9247bb0186
Tweaked mechanism so that macros can be nested directly inside other macros
2012-06-09 18:50:01 +01:00
Jeremy Ruston
04e91245cb
Refactored macro mechanism
...
Now there is now longer a dummy DOM element corresponding to the macro
itself. Instead, macros must create a single element child. This allows
us to more easily fit Bootstrap's requirements for HTML layout (eg,
that problem with links in navbars not being recognised). The
refactoring isn't complete, there are still a few bugs to chase down
2012-06-09 18:36:32 +01:00
Jeremy Ruston
9274651bfd
Parse HTML tag contents as a block if it is a block tag
2012-06-09 15:08:30 +01:00
Jeremy Ruston
67b4c86c98
Refactored file layout for JavaScript parser
2012-06-08 11:48:46 +01:00
Jeremy Ruston
b5f8f97ccc
Refactored loading of tiddlywiki.plugin
files
...
Now we read the files raw, rather than through the deserialiser
2012-06-08 11:47:05 +01:00
Jeremy Ruston
96c5153dea
We don't need to clone the children of the link macro
2012-06-08 10:51:40 +01:00
Jeremy Ruston
5322d3cdfd
Added library modules to browser template
...
Now we can include things like jQuery easily
2012-06-08 10:41:58 +01:00
Jeremy Ruston
2083b7959e
Reordered helper functions
2012-06-07 13:46:41 +01:00
Jeremy Ruston
adf83e71de
Changes the chooser and the zoomer to use the browser prefix mechanism
2012-06-07 13:29:16 +01:00
Jeremy Ruston
e2707ae49d
Updated story macro to allow for contained content
...
This allows us to fix the zooming chooser and zooming navigator
2012-06-07 13:10:15 +01:00
Jeremy Ruston
22b27f4251
Ensured block macros parse their content as blocks, rather than a run
2012-06-07 13:09:48 +01:00
Jeremy Ruston
698f2c39cb
Updated wikitext class
rule to use parseBlockTerminated() method
2012-06-07 13:09:22 +01:00
Jeremy Ruston
52f86e7b01
Added parseBlockTerminated() method to new wikitext parser
2012-06-07 13:08:50 +01:00
Jeremy Ruston
db34b346a4
Corrected default template for download macro
2012-06-07 12:28:03 +01:00
Jeremy Ruston
e8c69ae7dc
Comment updates
2012-06-07 11:31:44 +01:00
Jeremy Ruston
3da70b925f
Saving a shadow tiddler preserves its shadow status
2012-06-06 22:19:34 +01:00
Jeremy Ruston
2053b7c413
Moved loading of core shadow tiddlers into the boot kernel
2012-06-06 21:42:14 +01:00
Jeremy Ruston
191be73507
Fixed problem with is
filter operator
2012-06-06 20:51:13 +01:00
Jeremy Ruston
22b836e4ac
Added 'isShadow' flag for system tiddlers
...
Shadow tiddlers are omitted from lists by default
2012-06-06 13:21:20 +01:00
Jeremy Ruston
1e4c91d348
Renamed filters.js
2012-06-06 12:17:08 +01:00
Jeremy Ruston
91cbd027df
Renamed filters.js
2012-06-06 12:16:50 +01:00
Jeremy Ruston
72de3d4206
Fixed problem with prefix filter
2012-06-06 12:13:31 +01:00
Jeremy Ruston
e2ea8ff436
Refactored shadow tiddlers to not be in a separate store
...
Shortly there will be a flag to mark them
2012-06-06 12:07:33 +01:00
Jeremy Ruston
7c382c5f43
Switched slider to use new syntax for inline content
2012-06-06 11:29:10 +01:00
Jeremy Ruston
31257489a7
More docs updates
2012-06-06 10:15:20 +01:00
Jeremy Ruston
a318ad77cd
Removed extraneous calls to skipWhitespace
...
Instead we'll skip whitespace at the start of a run
2012-06-05 23:15:52 +01:00
Jeremy Ruston
b989e05d98
Improved wikitext docs
2012-06-05 22:54:36 +01:00
Jeremy Ruston
ad25ab4c1a
Fixed parsing problem
...
We need to recheck for the next terminator after a successful run match
to cope with the situation that the run match included the previously
found terminator match
2012-06-05 22:01:06 +01:00
Jeremy Ruston
ee7fba9297
Added support for macros with embedded content
2012-06-05 17:01:17 +01:00
Jeremy Ruston
03da553c3b
Added wikitext for m- and n-dashes
2012-06-05 16:33:35 +01:00
Jeremy Ruston
ca8cf1a386
Simplified wiki link CamelCase regexp
...
Removed rule that made `AAaaa` be a wikilink
2012-06-05 15:19:27 +01:00
Jeremy Ruston
e85ae59fd8
Added ability to suppress external links
2012-06-05 15:14:33 +01:00
Jeremy Ruston
9ab9c9cc42
Added run rule for HTML entities
2012-06-05 15:00:55 +01:00
Jeremy Ruston
d29f4fa996
Removed extraneous indicator that the external link parser is a block parser
2012-06-05 15:00:42 +01:00
Jeremy Ruston
10fb5fd11c
Added run parse for external links
2012-06-05 14:43:43 +01:00
Jeremy Ruston
55dd392fe4
Added run parser for emphasis like bold and italics
2012-06-05 14:43:31 +01:00
Jeremy Ruston
f50e025f7c
Refactored run parser so that it can optionally not consume the terminator
2012-06-05 14:41:30 +01:00
Jeremy Ruston
ec342ed245
Added image rule
2012-06-04 16:13:08 +01:00
Jeremy Ruston
4f4fbbfd36
Added typed block support
2012-06-04 13:39:20 +01:00
Jeremy Ruston
537c0901e3
Fixed JavaScript line comments to be parsed as text runs
2012-06-04 13:39:10 +01:00
Jeremy Ruston
c2927eb032
Added support for unterminated runs
2012-06-04 13:38:33 +01:00
Jeremy Ruston
17c77fb3b8
Fixed element used for block code blocks
2012-06-04 12:25:08 +01:00
Jeremy Ruston
75f8abcf35
Added classes on the story macros wrapper elements
2012-06-04 12:11:18 +01:00
Jeremy Ruston
b5f5a742f4
Added support for classes on macros
2012-06-04 12:07:39 +01:00
Jeremy Ruston
7a62e6f1a4
Add quick switch for replacing old wikitext parser with the new
2012-06-02 13:19:46 +01:00
Jeremy Ruston
5276403e39
Make sure all tree nodes have an addClass method
2012-06-02 13:19:32 +01:00
Jeremy Ruston
ec933eb1b5
Completed code blocks and runs
2012-06-02 10:15:52 +01:00
Jeremy Ruston
80b2d9c9fe
Ensured terminator matches take precedence over rule matches
2012-06-02 10:15:41 +01:00
Jeremy Ruston
d30b63f752
Reorganised file layout for new wikitext parser rules
2012-06-02 09:54:00 +01:00
Jeremy Ruston
1be4dc3cd9
Reorganised file layout for new wikitext parser
2012-06-02 09:53:45 +01:00
Jeremy Ruston
89b8e39f32
Added code blocks and runs
2012-06-02 09:41:21 +01:00
Jeremy Ruston
a169980a54
Fixed two bugs
2012-06-02 09:41:03 +01:00
Jeremy Ruston
a2958c5183
Refactored story tiddler JSON handling
2012-06-02 09:40:49 +01:00
Jeremy Ruston
e0725bbb52
Sort out the naming and location of shadow template tiddlers
2012-06-01 20:04:51 +01:00
Jeremy Ruston
1b5beefb8d
Fixed default TW5 template
2012-06-01 18:26:55 +01:00
Jeremy Ruston
c355979ce5
Get tiddler div fields in the right order
2012-05-29 22:45:43 +01:00
Jeremy Ruston
9482717c94
Add block mode macros to tiddlytextparser
...
Which improves the whitespace handling for building TW2.6.x
2012-05-29 22:16:02 +01:00
Jeremy Ruston
d23fbe5ef1
Added support for TiddlyWiki old school .recipe files
2012-05-29 22:01:52 +01:00
Jeremy Ruston
3da810b2b3
Extended wiki.serializeTiddler to take a Tiddler() object as well as a title
2012-05-29 22:01:35 +01:00
Jeremy Ruston
b91ccb064b
Added "prefix" filter
...
It selects tiddlers whose title starts with a given string
2012-05-29 22:01:07 +01:00
Jeremy Ruston
2a1b0cec00
Added "removePrefix" parameter to include macro
2012-05-29 21:59:14 +01:00
Jeremy Ruston
61936d4640
Restore further tiddler deserializers
2012-05-29 21:58:57 +01:00
Jeremy Ruston
49a3cb8ede
Allow for macros and classes at both run level and block level
...
Involving a bit of a refactoring of the parameters to the
$tw.Tree.Macro constructor
2012-05-28 15:51:52 +01:00
Jeremy Ruston
aa4d435a67
Fixed wikitext rule for CSS classes to not erroneously match {{{
2012-05-27 09:24:37 +01:00
Jeremy Ruston
506519b49a
Switch to using the 'wikitextrule' moduletype for the new wiki text parser
2012-05-27 09:19:37 +01:00
Jeremy Ruston
5738d146e0
Amended macro mechanism so that the same wikitext rule can act as both a run rule and a block rule
2012-05-27 00:22:58 +01:00
Jeremy Ruston
9d90c8fd78
Ignore whitespace after the final block
2012-05-26 23:42:48 +01:00
Jeremy Ruston
4a9af461a6
Adding macros and prettylinks to new wikitext parser
2012-05-26 23:37:44 +01:00
Jeremy Ruston
6dae1ad35a
Comment and whitespace tweaks
2012-05-26 23:37:24 +01:00
Jeremy Ruston
92353d37b2
First pass at a new wiki text parser
...
This one respects HTML paragraphs properly
2012-05-26 18:30:32 +01:00
Jeremy Ruston
85f1b33ef2
Docs updates
2012-05-20 18:47:11 +01:00
Jeremy Ruston
503f60f64c
Comment update
2012-05-20 15:19:52 +01:00
Jeremy Ruston
bc022f2ebd
Reverted to opening new tiddlers at the top of the story
2012-05-20 14:25:50 +01:00
Jeremy Ruston
5b3bdcc662
Refactoring some internal identifiers
2012-05-19 19:06:42 +01:00
Jeremy Ruston
34edb48784
A quick sweep for missing or inaccurate code comments
2012-05-19 18:23:14 +01:00
Jeremy Ruston
6a7a5a2591
JSHint-prompted tweaks
2012-05-19 15:13:17 +01:00
Jeremy Ruston
3e899d8daf
Add a new scroller story view
...
This is the default story view
2012-05-19 12:59:16 +01:00
Jeremy Ruston
19d308dd9c
Removed the zoomin story viewer for the moment
2012-05-19 12:58:47 +01:00
Jeremy Ruston
cbb813da9b
Changed $tw.isBrowser to $tw.browser
...
This makes available browser-specific CSS prefixes
2012-05-19 11:29:51 +01:00
Jeremy Ruston
d8f17e9d6b
Started adding support for storyviews that implement different navigation visualisations
2012-05-14 17:37:20 +01:00
Jeremy Ruston
0609670b94
Started adding support for storyviews that implement different navigation visualisations
2012-05-14 17:36:46 +01:00
Jeremy Ruston
e2c7df5574
Added HTTP server command
2012-05-11 17:36:04 +01:00
Jeremy Ruston
d402f4d9b2
parseText() now accepts file extensions as well as content types
2012-05-09 17:35:08 +01:00
Jeremy Ruston
92e3eb233a
Corrected typed block wikitext rule
2012-05-09 17:34:45 +01:00
Jeremy Ruston
bb2d65861f
Remove tab mangling from JavaScript parser
2012-05-09 13:48:45 +01:00
Jeremy Ruston
cfcb255c23
Added limit filter operator
2012-05-09 09:40:10 +01:00
Jeremy Ruston
d99b70e0b2
Got rid of some potentially dodgy hasOwnProperty() calls
2012-05-09 08:51:16 +01:00
Jeremy Ruston
557a7b0eba
Restore the JavaScript parser
2012-05-08 19:33:04 +01:00
Jeremy Ruston
830359263d
Corrected typo
2012-05-08 17:44:32 +01:00
Jeremy Ruston
468749159d
Added sort order to tiddler div attributes
...
So that file comparisons work better
2012-05-08 17:42:49 +01:00
Jeremy Ruston
e281d5dc16
Whoops console.log
2012-05-08 16:45:37 +01:00
Jeremy Ruston
19e19a2f42
Added sort operator to filter syntax
2012-05-08 16:02:24 +01:00
Jeremy Ruston
8b0703b694
Added properly compiled tiddler filters
2012-05-08 15:11:53 +01:00
Jeremy Ruston
d92dfa3d81
Some new utilities
2012-05-08 15:11:29 +01:00
Jeremy Ruston
19deb60f8c
Save and restore shadow stylesheets
2012-05-06 14:14:27 +01:00
Jeremy Ruston
bac2c0ec07
Added a download macro
...
This enables us to save changes by cooking a new tiddlywiki and forcing
a download of it
2012-05-06 13:23:29 +01:00
Jeremy Ruston
34bb7f72d7
Adjusting for the directory move arounds
2012-05-05 22:59:47 +01:00
Jeremy Ruston
9465da4335
Part two of turning the rabbit hole inside out
2012-05-05 22:57:21 +01:00