Jeremy Ruston
61eb585640
Fixed problem with HTML inline parse rule
...
We were incorrectly eating line breaks after self-closing inline HTML
tags
2012-12-31 18:36:13 +00:00
Jeremy Ruston
5b7cdc20ba
Added beginnings of popup widget
2012-12-30 17:23:44 +00:00
Jeremy Ruston
7d5c355d9e
Make the html parser rule work in block mode as well as inline mode
2012-12-30 17:21:38 +00:00
Jeremy Ruston
300b6cc485
Change widget syntax to $
instead of underscore
...
eg `<$list>`
2012-12-30 13:55:19 +00:00
Jeremy Ruston
dbd123675a
Fixed typo
2012-12-30 13:39:07 +00:00
Jeremy Ruston
b649bebad0
Starting to add the tag popups back
2012-12-30 13:37:48 +00:00
Jeremy Ruston
f496cd540e
Store macros in the render context so that they scope in the expected way
2012-12-29 23:17:09 +00:00
Jeremy Ruston
ea13652a64
Fixed subtle little typo
2012-12-29 23:16:34 +00:00
Jeremy Ruston
b9a7f0ed39
Added typed blocks
2012-12-29 22:29:24 +00:00
Jeremy Ruston
27ccb581be
Don't trim macro definition bodies
2012-12-29 22:27:51 +00:00
Jeremy Ruston
12683c7d5f
Removed dead code
...
Left over from the big parser refactoring
2012-12-29 22:27:36 +00:00
Jeremy Ruston
db0b82d4ef
Fix typo in list filter type for shadow tiddlers
2012-12-28 22:57:18 +00:00
Jeremy Ruston
b006cf163f
Remove the old parser code
...
Thus introducing a few functional regressions, but it's going to be
easier to fix things up without the old code knocking around and
getting in the way.
2012-12-28 22:08:32 +00:00
Jeremy Ruston
d6e531e87c
Extend new parser mechanism to determine parser based on content type
...
And add an image parser and a plain text parser
2012-12-27 17:08:29 +00:00
Jeremy Ruston
c078edf468
Rename the old image parser to make room for the new one
2012-12-27 17:07:35 +00:00
Jeremy Ruston
c703fb1267
Get rid of the wikivocabulary object
2012-12-26 22:02:59 +00:00
Jeremy Ruston
cbc08fcc1c
Reorganise the old parsers preparatory to replacing them
2012-12-26 20:03:33 +00:00
Jeremy Ruston
8684c375b8
Rename horizontal rule parser rule for less "rule"-based confusion
2012-12-26 19:49:01 +00:00
Jeremy Ruston
90a09c0a42
Added templates and temporary command for building TiddlyWiki with the new parser
2012-12-26 19:38:39 +00:00
Jeremy Ruston
750389bf6f
New wiki syntax for the title tiddler
2012-12-26 19:37:53 +00:00
Jeremy Ruston
8d185399de
Some new viewers we'll need for cooking TiddlyWiki files
...
This is all part of getting the new parser able to cook TiddlyWiki files
2012-12-26 19:37:33 +00:00
Jeremy Ruston
ac96b13b47
Added "fields" widget
...
Outputs tiddler fields through a text template.
2012-12-26 19:36:54 +00:00
Jeremy Ruston
03e46ad8f5
Add "rules" pragma for specifiying parser rules to be used for a tiddler
2012-12-26 19:35:54 +00:00
Jeremy Ruston
27c21a5edb
Added trim string utility function
2012-12-26 19:35:12 +00:00
Jeremy Ruston
4953fd6c80
Adjusting test content
2012-12-26 19:34:54 +00:00
Jeremy Ruston
d0d0b53a75
Fixed typo in view template
2012-12-26 19:34:25 +00:00
Jeremy Ruston
2635b62a73
Fix bug in styleblock regexp
2012-12-26 19:33:22 +00:00
Jeremy Ruston
0e418f6e8d
Fix the macro definition regexp
2012-12-26 19:33:11 +00:00
Jeremy Ruston
c1ec1578ec
Make sure the parser rules have unique names
2012-12-26 19:32:54 +00:00
Jeremy Ruston
4cf1c9ed1e
Fix problem with the regexp for the "dash" parser
2012-12-26 19:32:06 +00:00
Jeremy Ruston
11d001ad80
Added inline variant of filtered transclusion syntax
2012-12-23 10:47:14 +00:00
Jeremy Ruston
c3a2a24b76
Introduce filtered transclusion syntax
2012-12-23 10:37:18 +00:00
Jeremy Ruston
05ccb85759
Add template syntax for transclusion
2012-12-23 10:36:55 +00:00
Jeremy Ruston
8ef3e59416
Improved whitespace handling in classes
2012-12-23 10:36:37 +00:00
Jeremy Ruston
c31c12d698
Fix bug with extraneous dot in classed blocks
2012-12-23 10:36:25 +00:00
Jeremy Ruston
6fae946bda
Replace classed blocks and runs with styled blocks and runs
2012-12-22 23:10:06 +00:00
Jeremy Ruston
982b6a8773
Switch code block syntax
2012-12-22 23:09:44 +00:00
Jeremy Ruston
8f85ef94a6
Stop using triple curly braces for code
...
We'll use triple curly braces for filtered transclusions, and require
backtick for code.
2012-12-22 23:09:10 +00:00
Jeremy Ruston
fa17eb1b96
Fixed support for custom attributes, classes and tooltips on transclusions
2012-12-20 17:19:28 +00:00
Jeremy Ruston
015145952d
Added support for block macro calls
2012-12-20 17:03:41 +00:00
Jeremy Ruston
b0893956bc
Start introducing both inline and block variants of macro calls
2012-12-20 16:55:08 +00:00
Jeremy Ruston
0cb76f6fc0
Mark each rule with its type as it is instantiated
2012-12-20 16:49:04 +00:00
Jeremy Ruston
094f8c32ca
Finishing moving the parser rules about
2012-12-20 16:41:06 +00:00
Jeremy Ruston
54423e599c
Moving the wikiparser rules around
2012-12-20 16:38:33 +00:00
Jeremy Ruston
42945789e9
Refactor parser rule architecture to allow individual parsers to function as both block and inline parsers
2012-12-20 16:02:03 +00:00
Jeremy Ruston
2f091fefda
Removed erroneous cruft
2012-12-20 15:43:12 +00:00
Jeremy Ruston
055bdd8d8f
Added inline transclusion as well as block transclusion
2012-12-20 15:07:38 +00:00
Jeremy Ruston
360e188e49
Continuing renaming run rules to inline rules
2012-12-20 12:18:38 +00:00
Jeremy Ruston
fc28ed0bbb
Renaming parser "run rules" to "inline rules"
2012-12-20 12:02:35 +00:00
Jeremy Ruston
6ccf13e624
Widgets and macro calls should be spans not divs
...
Although it does mean that we'll end up creating divs inside spans,
which isn't strictly legal but works in all browsers
2012-12-20 10:37:51 +00:00
Jeremy Ruston
2689f6b1e5
Loosened dash formatting rule
...
It no longer has to be followed by whitespace, instead it must be
followed by anything other than a dash.
2012-12-20 09:26:59 +00:00
Jeremy Ruston
5c2f698842
Add parse tree helper for styling elements
2012-12-20 09:21:58 +00:00
Jeremy Ruston
36290c14fa
Fix for multiple macro parameters
...
This is one situation where the assignment to undefined matters
2012-12-20 09:21:44 +00:00
Jeremy Ruston
bede162896
Stop using custom elements to mark widgets
2012-12-20 09:21:08 +00:00
Jeremy Ruston
a4d16488f0
Fix for .tid files that are missing a double line break
2012-12-20 09:20:44 +00:00
Jeremy Ruston
a0155763ed
More demo text in the new parser page template
2012-12-15 17:35:45 +00:00
Jeremy Ruston
a63c7a8822
More parser rules
2012-12-15 17:35:35 +00:00
Jeremy Ruston
0c3c2eeec6
Improve implementation of classed runs
2012-12-15 17:35:16 +00:00
Jeremy Ruston
6ac1b7b9dc
Fixed problem with renderer tree nodes that don't have children
2012-12-15 17:34:48 +00:00
Jeremy Ruston
e3462e5606
Added more parse rules
2012-12-15 11:39:58 +00:00
Jeremy Ruston
817e6f5471
Added some test content to the new wiki parser page template
2012-12-15 11:39:42 +00:00
Jeremy Ruston
60dca0f38a
Added parse tree utility functions
2012-12-15 11:38:59 +00:00
Jeremy Ruston
c0e36f1129
Removed extraneous code
...
This was left over from before the refactoring
2012-12-15 11:38:47 +00:00
Jeremy Ruston
228ee92e95
Enhanced wiki text parser to selectively eat terminator regexp matches
2012-12-15 11:38:28 +00:00
Jeremy Ruston
7593cf1075
Cleaning up the widget refresh mechanism
2012-12-14 19:31:37 +00:00
Jeremy Ruston
966684cb13
Improved event handling for widgets
2012-12-14 17:57:53 +00:00
Jeremy Ruston
5c1caa672b
Moved render() and renderInDom() into widget base class
2012-12-14 17:51:14 +00:00
Jeremy Ruston
94d1c20846
Introduced widget base class
...
And renamed the wiki rule base class
2012-12-14 17:38:46 +00:00
Jeremy Ruston
2522529aac
Repaired accidental damage during debugging
2012-12-14 17:38:13 +00:00
Jeremy Ruston
3e06bca347
Refactor widget implementation
2012-12-14 16:01:37 +00:00
Jeremy Ruston
ac4b3ecef9
Further refactoring of createSubclassesFromModules
2012-12-14 15:51:23 +00:00
Jeremy Ruston
2bef7c2c5c
Further improvements to parser rule implementation
2012-12-14 15:44:19 +00:00
Jeremy Ruston
31b283ef36
Refactoring implementation of wiki parse rules
...
And some documentation.
2012-12-14 13:31:47 +00:00
Jeremy Ruston
28f96de225
Added extend() utility function
2012-12-14 13:30:10 +00:00
Jeremy Ruston
d338a54370
Introduce refactored wiki parser and renderer
...
This is a half-way through a big refactoring of the parsing and
rendering infrastructure. The main change is to separate the parse and
render trees, which makes the code a lot cleaner. The new parser isn't
yet functional enough to replace the existing parser so for the moment
you have to manually invoke it with `$tw.testNewParser()` in your
browser console. I really ought to use branches for this kind of
thing...
2012-12-13 21:34:31 +00:00
Jeremy Ruston
916ca8eecf
More utilities
2012-12-13 21:31:57 +00:00
Jeremy Ruston
ce273a22f1
More DOM utilities
2012-12-13 21:31:41 +00:00
Jeremy Ruston
7c712c4e03
Improve $tw.each() and $tw.modules.applyMethods()
2012-12-13 21:31:19 +00:00
Jeremy Ruston
a4930b7e68
Added checkbox macro
2012-11-30 09:22:17 +00:00
Jeremy Ruston
91e1a38db1
Switched to use double curly braces for transclusion
...
For compatbility with MediaWiki and other engines
2012-11-29 18:34:27 +00:00
Jeremy Ruston
6d09b2fb9c
Improve syntax for classed runs
2012-11-29 17:23:46 +00:00
Jeremy Ruston
97f6314dbb
Update the tiddler and list macros to allow the template to be specified in the body of the macro
2012-11-29 16:40:06 +00:00
Jeremy Ruston
5fd3000838
Allowed zooming in to any element with the data-tw-zoom attribute
2012-11-27 22:27:53 +00:00
Jeremy Ruston
a3c6cfdd78
Fixed width for cecily view
2012-11-27 22:27:36 +00:00
Jeremy Ruston
598c069dd6
Fixed typo
2012-11-27 22:26:35 +00:00
Jeremy Ruston
99275b5425
Improvements to zoomable pan and zoom
2012-11-27 18:30:21 +00:00
Jeremy Ruston
e4fb532ecd
Introduce zoomable macro
...
Used with Cecily to give us pan and zoom across the Cecily canvas.
2012-11-27 16:55:17 +00:00
Jeremy Ruston
3161e8d8ce
Fix problem with CecilyView that is initialised with an empty message
2012-11-26 16:24:31 +00:00
Jeremy Ruston
0154b2a54e
Revised implementation of scrolling behaviour
...
Now we use a "tw-scroll" event to request scrolling
2012-11-26 16:08:52 +00:00
Jeremy Ruston
515e0d9bf1
Fixed bug with table parser
2012-11-26 14:19:54 +00:00
Jeremy Ruston
739b641f39
Temporary hack to the list macro
...
Working around our imperfect inline vs. block detection.
2012-11-26 14:19:15 +00:00
Jeremy Ruston
580bd6438e
Fixed issues with blank tiddler text
...
The empty string is falsy in JavaScript, to keep us on our toes.
2012-11-23 13:08:10 +00:00
Jeremy Ruston
3d38d4add3
Use text/x-tiddlywiki for old format TiddlyWiki text for compatibility
2012-11-19 16:58:16 +00:00
Jeremy Ruston
17e67a5bf9
Add a simple log wrapper
...
We'll make it more sophisticated at some point
2012-11-19 16:55:10 +00:00
Jeremy Ruston
0d175d3eeb
New utility method
...
Surprising that this seems to be the recommended approach
2012-11-19 12:55:04 +00:00
Jeremy Ruston
f07bc18204
More MIME type shenanigans
2012-11-18 15:25:40 +00:00
Jeremy Ruston
84650b9a54
Swap over to the new mime type conventions
...
Discussed in
https://groups.google.com/forum/#!topic/tiddlywikidev/re8xfLqZNCE
2012-11-18 15:22:13 +00:00
Jeremy Ruston
41db3d89ae
Use the plain text parser to display HTML files
...
We could display the HTML in an IFRAME but I think that's often not
what people want
2012-11-18 14:57:10 +00:00
Jeremy Ruston
addef09d1c
Fix problem with JS parser crashing on skinny tiddlers
2012-11-18 14:56:33 +00:00
Jeremy Ruston
605a7a4124
Fixed problem with missing macros throwing an error
2012-11-18 13:43:06 +00:00
Jeremy Ruston
5c87b437ee
Support for lazy loaded tiddlers
2012-11-18 13:14:28 +00:00
Jeremy Ruston
4742ab14fc
Start using the server connection tiddler to store host details
2012-11-17 21:15:19 +00:00
Jeremy Ruston
e194aed449
Introduce syncer mechanism
2012-11-17 20:18:36 +00:00
Jeremy Ruston
5c9b0d62c4
Allow comments in tiddler field blocks
...
Particularly useful for commenting in tiddler dictionaries
2012-11-17 20:18:03 +00:00
Jeremy Ruston
705c88d1aa
Fix TiddlyFox transfer attribute names
2012-11-17 20:17:29 +00:00
Jeremy Ruston
3f58ead593
Add support for data modules
...
Modules can now be JSON or tiddler dictionaries, as well as executable
code
2012-11-17 13:08:25 +00:00
Jeremy Ruston
af21a8ff95
Password prompt improvements
2012-11-16 22:59:44 +00:00
Jeremy Ruston
9eb10fb21a
Clear password if decryption fails
2012-11-16 22:40:56 +00:00
Jeremy Ruston
0dbe4c0291
Get rid of more vestiges of the old empty generation mechanism
2012-11-16 22:40:25 +00:00
Jeremy Ruston
454f892cf2
Remove old mechanism for generating empty.html
2012-11-16 22:26:33 +00:00
Jeremy Ruston
544711fe59
Improved copy writing
...
Marginally better
2012-11-16 19:36:50 +00:00
Jeremy Ruston
a4d88769b9
Only use the download saver when the download attribute is supported
2012-11-16 19:31:32 +00:00
Jeremy Ruston
80bd198908
Introduce new manualdownload saver
...
This saver pops up a modal dialogue giving the user an opportunity to
right click and save the wiki
2012-11-16 19:31:18 +00:00
Jeremy Ruston
b96bcfdca4
Improve the modal dialogue to optionally include a download button
2012-11-16 19:30:30 +00:00
Jeremy Ruston
b74df6d1b0
Remove the old Firefox XUL saver
...
It's only of historical interest now, sadly.
2012-11-16 18:06:45 +00:00
Jeremy Ruston
b48dec6932
Minor style cleanups
2012-11-16 17:44:47 +00:00
Jeremy Ruston
42b4f20113
Refinements to the new password prompting mechanism
2012-11-16 17:23:10 +00:00
Jeremy Ruston
db3a4651a2
Improved crypto and password prompting mechanism
...
Now encrypted tiddlywikis prompt for their password with an html form,
instead of a horrible javascript prompt.
2012-11-16 16:59:47 +00:00
Jeremy Ruston
bf04207350
Rename the wikitext parser
2012-11-15 12:53:10 +00:00
Jeremy Ruston
5f9b2e9d84
Turn the TiddlyWiki 2.x.x parser into a plugin
2012-11-15 12:47:09 +00:00
Jeremy Ruston
26822121be
Update the dump config command
2012-11-15 12:46:53 +00:00
Jeremy Ruston
ce46866317
More JSHint obeisance
2012-11-15 12:46:42 +00:00
Jeremy Ruston
1e51f56754
JSHint obeisance
2012-11-15 12:38:25 +00:00
Jeremy Ruston
9281fa8786
Further refactoring of the boot process and module mechanism
2012-11-15 10:40:03 +00:00
Jeremy Ruston
539b64b626
Refactoring module mechanism
...
Changed the data structure $tw.modules.types to make it possible to
detect repeated registrations
2012-11-14 11:23:43 +00:00
Jeremy Ruston
ce47f5e1d4
Started to move dropbox bits and pieces into a plugin
...
Currently tw5dropbox is broken, pending some further changes around
module handling
2012-11-13 18:42:50 +00:00
Jeremy Ruston
11b2af34d2
More refactoring around the plugin implementation
...
Now wikis can specify which plugins should be loaded
2012-11-13 08:46:44 +00:00
Jeremy Ruston
3b11713e88
Refactoring plugin implementation
...
Including introducing the terminology "tiddler bundles"
2012-11-12 22:16:49 +00:00
Jeremy Ruston
c04f11f3ff
Fix format of metadata comment for bootprefix.js
2012-11-12 22:15:52 +00:00
Jeremy Ruston
481b58eec9
Fixed crash when no browser-startup modules
2012-11-12 22:15:22 +00:00
Jeremy Ruston
5e25d9e9c8
Make the copyright file into an ordinary tiddler file
...
When it was a text file we were relying on boot.js to be able to figure
out the correct title. Better to make it explicit
2012-11-12 22:14:55 +00:00
Jeremy Ruston
f085f3aabb
Use temporary tiddler for search text
2012-11-11 15:08:46 +00:00
Jeremy Ruston
283d917a43
Use temporary tiddler for search text
2012-11-11 15:08:31 +00:00
Jeremy Ruston
f1089c1c92
Use temporary tiddlers for popup locations
2012-11-11 15:03:34 +00:00
Jeremy Ruston
cf15b128c1
Fixed problem with relativedate field viewer
2012-11-11 14:40:49 +00:00
Jeremy Ruston
9612aac296
New implementation for shadow tiddlers
...
Now shadow tiddlers are any tiddler whose title starts with "$:/"
2012-11-11 14:31:45 +00:00
Jeremy Ruston
d7d6e59865
Beginnings of support for syncing
2012-11-11 14:13:08 +00:00
Jeremy Ruston
030f16981a
Tiddler helper method to return a block of fields
2012-11-11 14:12:10 +00:00
Jeremy Ruston
d3e6a0cdf0
Move the slowInSlowOut easing function into utils
2012-11-08 18:34:04 +00:00
Jeremy Ruston
e0d2985ec3
Added explicit story and history list to navigator in PageTemplate
2012-11-07 17:14:07 +00:00
Jeremy Ruston
56c8dc2226
Fixed problem with navigators that don't have a story or history
2012-11-07 16:12:03 +00:00
Jeremy Ruston
34435329e6
Added indirect transclusion
...
The name of the tiddler to transclude is taken from a text reference
2012-11-07 16:11:47 +00:00
Jeremy Ruston
bdc46a8bc3
Move the NewTiddler button
2012-11-07 09:19:00 +00:00
Jeremy Ruston
6c636a671d
Remove zoomer and chooser
2012-11-06 17:51:19 +00:00
Jeremy Ruston
55783a8f5d
Remove the view switcher and the zoomer and chooser
2012-11-06 17:51:08 +00:00
Jeremy Ruston
9f6909ddc4
Appeasing the gods of JSHint
2012-11-06 17:21:56 +00:00
Jeremy Ruston
54252a5400
Made fields popup condensed
2012-11-06 14:12:20 +00:00
Jeremy Ruston
2b4d1bfd18
Add search previews
2012-11-06 14:12:09 +00:00
Jeremy Ruston
c58903f865
Added hover functionality to button and link macros
2012-11-06 14:11:49 +00:00
Jeremy Ruston
034af3b126
Added new "aboveright" position for reveal macro
2012-11-06 14:11:32 +00:00
Jeremy Ruston
083ac7a4bf
Encapsulate logic for handling popups
2012-11-06 14:11:11 +00:00
Jeremy Ruston
b81b2c0c63
Fixed problem with tiddler hashmap handling
...
We need to check hasOwnProperty to avoid problems with tiddlers called
eg "__proto__". There are more changes like this to come
2012-11-06 14:10:55 +00:00
Jeremy Ruston
bb10222b8d
Added fields macro and put it in the default view template
2012-11-05 19:00:54 +00:00
Jeremy Ruston
6819365dfc
Fixes for sideways view
...
Fixed problem with starting up with the empty message displayed, and
problem with incorrect width reading of newly inserted list elements
2012-11-05 15:14:27 +00:00
Jeremy Ruston
c95618e42c
Fix for list macro
...
Hardens findListElementByTitle to work when the empty message is
displayed
2012-11-05 15:13:51 +00:00
Jeremy Ruston
528c62577c
Better spacing on the navigation menu
2012-11-04 19:49:13 +00:00
Jeremy Ruston
04223a3d81
Remove transform at end of classic list view insertion animation
...
Leaving the transform makes a new positioning context without updating
offsetParent
2012-11-04 17:28:51 +00:00
Jeremy Ruston
96145982d9
Fix navigation through list macro entry
2012-11-04 17:28:21 +00:00
Jeremy Ruston
c58a75f834
Fixed issue with dropbox positioning
...
On webkit, applying a perspective appears to set up a new positioning
context without updating offsetParent.
2012-11-04 17:02:01 +00:00
Jeremy Ruston
7a7f293579
Fixed typo
2012-11-03 20:34:39 +00:00
Jeremy Ruston
2ad3e10188
And use the proper form of -webkit-overflow-scrolling
2012-11-03 17:36:27 +00:00
Jeremy Ruston
80ce9f01f9
Only have scrollbars when we need them
2012-11-03 17:35:31 +00:00
Jeremy Ruston
3d747499cb
More enhancements to listview animations
...
Now we've got navigation scrolling back
2012-11-03 16:14:00 +00:00
Jeremy Ruston
5443c8243a
Lots of tweaks to list view animations
...
There's a regression in that navigation animations are currently not
working
2012-11-03 12:34:36 +00:00
Jeremy Ruston
921162ccdf
Add left navigator
2012-11-03 12:33:56 +00:00
Jeremy Ruston
4bff67007d
Introduce sprite handler mechanism
...
For flying things around the page
2012-11-03 12:33:21 +00:00
Jeremy Ruston
22a2651660
Move the animation preferences to the top of the file for ease of access
2012-11-03 12:32:46 +00:00
Jeremy Ruston
b554475d10
New Bootstrap v2.2.0
2012-10-30 22:23:10 +00:00
Jeremy Ruston
072c06b412
Fixed issue #46
2012-10-28 20:51:18 +00:00
Jeremy Ruston
46a1dd662c
Fixed unrendered field link view links
...
Fixing #39
2012-10-28 20:43:33 +00:00
Jeremy Ruston
f7d765da55
ViewTemplate tweak
2012-10-28 20:32:49 +00:00
Jeremy Ruston
77c2804684
Removed extraneous console.log
2012-10-28 18:52:14 +00:00
Jeremy Ruston
cfb3b42438
More refactoring of relativedate implementation
2012-10-28 18:41:48 +00:00
Jeremy Ruston
c0a00f856e
Fixed typo
2012-10-28 18:41:31 +00:00
Jeremy Ruston
c6add09e54
Add a relative date field viewer
...
With a bit of attendant refactoring
2012-10-28 18:18:05 +00:00
Jeremy Ruston
ecd933dd25
Add support for relative dates
...
Including: setting date on save tiddler and adding a date to HelloThere
2012-10-28 14:15:07 +00:00
Jeremy Ruston
5ad86388dc
Add touch scrolling for cecily and sideways listviews
2012-10-28 14:14:16 +00:00
Jeremy Ruston
931bea1194
Fixes to classic and sideways list views
2012-10-28 14:13:38 +00:00
Jeremy Ruston
66087085e7
Whoops, accidentally left some debug commenting out
2012-10-28 09:51:59 +00:00
Jeremy Ruston
607cb49e6e
Better animations for the sideways list view
2012-10-28 09:51:19 +00:00
Jeremy Ruston
d39ad8fff9
Tweak the classic view navigation animation
2012-10-28 09:30:45 +00:00
Jeremy Ruston
1bfa4ca00e
Tweak Cecily startup routine
...
We were making too many assumptions about the DOM layout
2012-10-28 09:06:54 +00:00
Jeremy Ruston
c030f735a8
Keep the new tiddler positioning nozzle within the Cecily map
2012-10-28 08:54:31 +00:00
Jeremy Ruston
07c5a43404
Re-introduce the sideways view
...
And further related tweaks
2012-10-28 08:46:35 +00:00
Jeremy Ruston
f2460a3744
Added simple insertion and deletion animations to cecily view
2012-10-27 19:30:16 +01:00
Jeremy Ruston
1b589fe1be
Cecily styling tweaks
2012-10-27 16:29:12 +01:00
Jeremy Ruston
c95cf6b4b0
Added map parameter to list macro for the listviews to use
2012-10-27 16:06:30 +01:00
Jeremy Ruston
a0843f9c51
Add ability to read JSON files containing an array of tiddlers
2012-10-27 14:51:43 +01:00
Jeremy Ruston
416ab0c060
Removed startup history list processing
...
Not needed anymore
2012-10-26 22:51:54 +01:00
Jeremy Ruston
595a47f270
Make it easier to detect the UTF-8 encoding of the main HTML file
...
It turns out that Dropbox, and some browsers, just sniff the first few
hundred bytes looking for the bit pattern of UTF-8 characters
2012-10-26 22:30:46 +01:00
Jeremy Ruston
e97f778af4
Now we've got scrolling for navigation in classic view
2012-10-26 22:20:06 +01:00
Jeremy Ruston
324a87a8a2
Further refinements to the list mechanism
...
Much better navigation animation for classic view
2012-10-26 22:12:40 +01:00
Jeremy Ruston
865e26bbce
Extraneous console.log
2012-10-26 22:12:23 +01:00
Jeremy Ruston
8730c76884
Saving maps in CecilyView
2012-10-26 17:57:57 +01:00
Jeremy Ruston
187b6bfa4d
Make sure newly inserted classic view list elements get their height reset to auto after being animated
2012-10-26 17:43:52 +01:00
Jeremy Ruston
858fde3b59
Fixed iffy scrolling during navigation
2012-10-26 17:35:03 +01:00
Jeremy Ruston
9797c6aada
Tweaks to the listviews
...
Cecily gets a bit better, and we start to handle navigation events.
Scrolling seems to still be a bit iffy
2012-10-26 17:19:34 +01:00
Jeremy Ruston
dd6e7d7e10
Cecily updates
2012-10-26 14:01:49 +01:00
Jeremy Ruston
3dcada04d4
Extraneous console.log
2012-10-26 14:01:38 +01:00
Jeremy Ruston
7027c30a32
Typo
...
We don't want these macros to be executed when this comment is displayed
2012-10-26 14:01:27 +01:00
Jeremy Ruston
b1f3d169fb
Fix classic list viewer to use the new browser abstraction layer
2012-10-26 14:01:11 +01:00
Jeremy Ruston
da43887d7c
Add the ability to set classes on list elements
2012-10-26 14:00:56 +01:00
Jeremy Ruston
031e3b8b80
Updates to CecilyView and browser.js
2012-10-26 10:28:32 +01:00
Jeremy Ruston
f418f5493e
Bring in a demo area for the Cecily view
2012-10-25 23:05:26 +01:00
Jeremy Ruston
5a58639131
Get rid of the old story macro, and tidy up
2012-10-25 22:44:41 +01:00
Jeremy Ruston
ba4e140147
Fixed problem with retrieving non-existent list tiddlers
2012-10-25 22:44:00 +01:00
Jeremy Ruston
7c76ec02c2
Better programmatic CSS handling
2012-10-25 22:20:27 +01:00
Jeremy Ruston
495f208aa4
Extraneous space
2012-10-25 22:19:50 +01:00
Jeremy Ruston
950b46276e
Start updating the browser prefix stuff
...
The old way led to code that was too long and unreadable.
2012-10-25 14:58:32 +01:00
Jeremy Ruston
cbfc96cabd
Simplify unhyphenating CSS properties
2012-10-25 14:57:48 +01:00
Jeremy Ruston
e063ec6b1a
Added new getTiddlerList() method to wiki
2012-10-25 14:57:33 +01:00
Jeremy Ruston
122c69dfc1
Tweaks to animation speed setting
2012-10-25 13:33:21 +01:00
Jeremy Ruston
723fbf12ce
Minor tweaks to navigator
2012-10-25 13:04:03 +01:00
Jeremy Ruston
73bcb1c31e
Rename the file, too
2012-10-25 12:57:15 +01:00
Jeremy Ruston
6d397edf30
Rename the navigationcatcher macro to navigator
2012-10-25 12:55:36 +01:00
Jeremy Ruston
7c19b9f5a3
Remove old navigator macro
...
We'll rename the new one to "navigator" afterwards
2012-10-25 12:53:32 +01:00
Jeremy Ruston
ccf93118ba
Fixes for new tiddler positioning
2012-10-24 23:03:06 +01:00
Jeremy Ruston
8d67bcb718
Fixes for navigation
2012-10-24 22:50:15 +01:00
Jeremy Ruston
e88da55683
Fixes for the new tiddler button
2012-10-24 22:39:37 +01:00
Jeremy Ruston
f623515b1c
Fixed styles for the EditTemplate
2012-10-24 22:39:25 +01:00
Jeremy Ruston
f77b3a54ca
Switch from the old navigator macro the new navigationcatcher macro
...
We'll probably rename the navigationcatcher macro, because the name is
rubbish.
2012-10-24 22:33:33 +01:00
Jeremy Ruston
ce4a14c68a
Fixed tiddler styling issues
2012-10-24 22:28:25 +01:00
Jeremy Ruston
999d63c0f0
Add a cecily view
...
Finally, the start of a proper 2D ZUI view. It's going to replace the
current "zoomin" storyview
2012-10-24 22:15:57 +01:00
Jeremy Ruston
d1c396507b
Update the PageTemplate to use the list macro instead of the story macro
...
We're going to drop the story macro, which will break some things in
the short term. But it's awesome to be using the one macro for so many
different purposes (the main story, the tags listing, recent changes,
etc.)
2012-10-24 22:15:16 +01:00
Jeremy Ruston
3647690308
Fixed typo in the list macro
...
Pesky dots and dashes
2012-10-24 22:13:44 +01:00
Jeremy Ruston
5f17e7d01b
Fixed problem with list filter
...
It was failing if the list tiddler was missing
2012-10-24 22:11:23 +01:00
Jeremy Ruston
fc6e563c17
Fixed problem with the --server command
...
I hadn't updated the code since using parametic substitution in the
main template
2012-10-24 22:11:01 +01:00
Jeremy Ruston
c160c69187
Fixes to the insertion classic listview animation
2012-10-23 18:45:26 +01:00
Jeremy Ruston
e3f6a33157
First version of the "classic" listview
2012-10-23 18:19:20 +01:00
Jeremy Ruston
c087228b33
Starting to introduce list views
...
These are custom modules for visualising list manipulations and
navigations
2012-10-23 17:13:47 +01:00
Jeremy Ruston
5ced636abf
Rename "viewer" modules to "fieldviewer"
2012-10-23 16:40:22 +01:00
Jeremy Ruston
91bebe7b7f
Tweak the standard list filters
2012-10-23 16:28:53 +01:00
Jeremy Ruston
3a710ad9ce
Fix problem with sortTiddlers
2012-10-23 16:28:38 +01:00
Jeremy Ruston
8d4be5934b
Fixed problem with tags field being set to "undefined" for blank tiddlers
2012-10-21 16:50:37 +01:00
Jeremy Ruston
261ee54b5c
About time we had a "new tiddler" button
2012-10-21 16:44:53 +01:00
Jeremy Ruston
4c9c74586c
A function for displaying relative dates
2012-10-20 14:23:57 +01:00
Jeremy Ruston
092e495e90
Fixes the text reference parsing
2012-10-18 23:20:27 +01:00
Jeremy Ruston
f4f042d2be
Fix to transclusion viewer
2012-10-18 18:59:57 +01:00
Jeremy Ruston
971bc68163
Fixed search bug
2012-10-18 18:27:58 +01:00
Jeremy Ruston
cd04fa22c6
Introduce extensible viewer modules for the view macro
2012-10-18 18:27:27 +01:00
Jeremy Ruston
7d60c8f55e
Get ready to extend the view macro to use plugins for each view format
2012-10-18 15:53:01 +01:00
Jeremy Ruston
6263c0b40d
Allow keyboard input while full screen
2012-10-18 10:52:03 +01:00
Jeremy Ruston
10ed746209
Seach titles as well as bodies
2012-10-18 10:51:52 +01:00
Jeremy Ruston
1a88a12eb5
Fixing dropdown highlights
...
Pesky Bootstrap is a tad specific about wanting an <li> as the
immediate parent of a dropdown item <a>
2012-10-17 23:10:10 +01:00
Jeremy Ruston
c1cf82cfb8
Improve the efficiency of the search filter ordering
2012-10-17 21:00:46 +01:00
Jeremy Ruston
caaa798ced
Support search terms vs. literal search
...
Search terms like "one two" are searched like Google, returning
tiddlers with both terms
2012-10-17 20:38:36 +01:00
Jeremy Ruston
93f0a28c26
More search results
...
It's confusing limiting to 10 results unless we can show an indicator
that more results are available
2012-10-17 20:37:49 +01:00
Jeremy Ruston
1a74d8526f
Temporarily disable the search popup focus handling
...
Just so that search works again
2012-10-17 19:12:05 +01:00
Jeremy Ruston
5e2c3db385
Getting ready for using RegExp for search
...
So that we can do case insensitivity and partial matches
2012-10-17 19:10:48 +01:00
Jeremy Ruston
81a565e608
Starting to get the behaviour of the search popup more correct
2012-10-17 19:10:18 +01:00