Jeremy Ruston
c373fea350
Ensure themes get initialised on the server as well as the browser
...
To make sure that static site generation has access to the theme shadow
tiddlers
2013-04-30 23:04:15 +01:00
Jeremy Ruston
debf29d391
Fix Jasmine stylesheet
2013-04-30 23:01:08 +01:00
Jeremy Ruston
5c56d645ff
Add an alternate theme
...
No UI for switching themes yet, try these two commands in the console:
`$tw.wiki.addTiddler({title:"$:/theme",
text:"$:/themes/tiddlywiki/starlight"})`
and
`$tw.wiki.addTiddler({title:"$:/theme",
text:"$:/themes/tiddlywiki/snowwhite"})`
2013-04-30 22:58:18 +01:00
Jeremy Ruston
523d70127b
Allow themes to be switched by changing the tiddler $:/theme
2013-04-30 22:57:10 +01:00
Jeremy Ruston
6d455d77cd
Update plugin loading mechanism to allow plugins to be unregistered
...
We still have to explicitly unpack them after registering or
unregistering
2013-04-30 22:56:17 +01:00
Jeremy Ruston
e875de63a9
Ignore shadow tiddlers in the syncer
2013-04-30 22:55:06 +01:00
Jeremy Ruston
6557ec8e1f
Docs update
2013-04-30 22:37:08 +01:00
Jeremy Ruston
a54a7806d5
Remove redefinition of Tiddler.hasField() and added Tiddler.isPlugin()
...
hasField() was already being defined in boot.js
2013-04-30 22:37:02 +01:00
Jeremy Ruston
e12fbf0f9f
Comment clarification
2013-04-30 22:35:52 +01:00
Jeremy Ruston
fbf040f85e
Make the tag pills a little flatter
2013-04-29 16:16:47 +01:00
Jeremy Ruston
594871e2d1
Fix for the link macro to work around iPhone annoyance
...
This prevents Mobile Safari from sliding the address bar into view
whenever a tiddler link is clicked
2013-04-29 16:03:35 +01:00
Jeremy Ruston
0d1598eaa1
Docs update
...
Stuff had got quite out of date. Why is it so much easier to write code
than docs?
2013-04-29 14:07:16 +01:00
Jeremy Ruston
152fb798eb
Start responding to dynamic stylesheet changes
...
This mechanism will only be triggered by changes to the stylesheet
tiddlers themselves, and not to any dependencies that they might have.
It'll stay that way for a while.
The next thing is making the theme manager actually switch themes,
forcing the right wiki change events to make the stylesheet manager
update itself
2013-04-29 12:07:39 +01:00
Jeremy Ruston
c3e14a85a6
Give tiddlers a hasField() method
2013-04-29 12:05:58 +01:00
Jeremy Ruston
17cfd57390
Start making themes switchable
...
Separately switch in ordinary plugins and themes. Change the convention
for plugin information to use dashes rather than camel case.
2013-04-28 22:52:26 +01:00
Jeremy Ruston
3b8354d1e1
Style tweaks
...
We shouldn't nudge the **more** sidebar tab if we're on a small display
2013-04-28 22:50:27 +01:00
Jeremy Ruston
40ac461ca1
Give plugins a pluginType field
...
Ordinary plugins have the type "plugin", we'll also have "theme" and
"language"
2013-04-28 18:16:22 +01:00
Jeremy Ruston
996a7279ed
Switch to using tags to identify stylesheets
...
Using module-type was confusing, because we weren't actually using the
module infrastructure for stylesheet processing.
2013-04-28 18:13:57 +01:00
Jeremy Ruston
229544584b
More style adjustments
2013-04-28 17:05:58 +01:00
Jeremy Ruston
31a378b64c
Start support for themes
...
To start with, we move the current stylesheets into a theme plugin
called "Snow White". Wikis have to specify at least one theme in their
`tiddlywiki.info` file. Next we'll add a mechanism for switching
between loaded themes
2013-04-28 09:42:48 +01:00
Jeremy Ruston
d62c9f613c
Style tweaks
2013-04-27 18:03:13 +01:00
Jeremy Ruston
7d8051ef8d
Style tweaks
2013-04-27 16:49:12 +01:00
Jeremy Ruston
b305debf97
Add a close all tiddlers button
...
For @pmario
2013-04-27 16:35:59 +01:00
Jeremy Ruston
059a36b23d
Animate tiddler closures to the left
...
As @pmario points out, avoids nasty interactions with the sidebar
2013-04-27 16:24:41 +01:00
Jeremy Ruston
608175803b
Comments and rearrangements for the base stylesheet
...
Preparatory to picking it apart into separate files
2013-04-27 15:44:56 +01:00
Jeremy Ruston
9a4caec992
Add close buttons to the open tiddler list
2013-04-27 12:11:56 +01:00
Jeremy Ruston
54d53cedd2
Further style tweaks
2013-04-27 11:43:11 +01:00
Jeremy Ruston
b139f4c6f1
Styling improvements
2013-04-27 11:28:46 +01:00
Jeremy Ruston
11f1011acc
Fix toolbar button size in edit template
2013-04-27 10:04:57 +01:00
Jeremy Ruston
8e582e002b
Experimental plugin for Tahoe-LAFS
2013-04-26 22:18:46 +01:00
Jeremy Ruston
add35e9523
Docs update
2013-04-26 21:58:51 +01:00
Jeremy Ruston
6288ed6834
Sidebar adjustments
2013-04-26 21:30:11 +01:00
Jeremy Ruston
3219b948ad
Fix problem with info dropdown text size
2013-04-26 18:05:59 +01:00
Jeremy Ruston
88b7c53972
Some styling changes
...
The idea of moving the sidebar to the right is so that it can grow into
the otherwise empty space to the right of the story column.
Still a work in progress: needs to be responsive, amongst other things
2013-04-26 18:02:02 +01:00
Jeremy Ruston
18d34eec3b
Give the test wiki a title
2013-04-26 10:53:45 +01:00
Jeremy Ruston
44a7810619
Improve test spec descriptions
2013-04-26 10:53:31 +01:00
Jeremy Ruston
661cbfd1c7
Typo correction
2013-04-25 18:01:48 +01:00
Jeremy Ruston
77556828a7
Docs updates
2013-04-25 17:55:59 +01:00
Jeremy Ruston
5f25bcb846
Starting proper tests
2013-04-25 17:40:30 +01:00
Jeremy Ruston
f487ea68d1
Store the parser list in the wiki constructor
2013-04-25 17:40:12 +01:00
Jeremy Ruston
fb9c67f210
Missed from last commit
2013-04-25 17:16:33 +01:00
Jeremy Ruston
3e4322d897
Run the tests in the main build script
...
Getting to the point where we should probably be using a make tool
2013-04-25 17:16:00 +01:00
Jeremy Ruston
297a924d05
Cleaning up the jasmine plugin adaptor
2013-04-25 17:09:26 +01:00
Jeremy Ruston
e42a062dcc
Fixed bug with negated title filter
2013-04-25 10:03:37 +01:00
Jeremy Ruston
94c7a4fc39
Add a test edition and associated script
2013-04-25 09:06:41 +01:00
Jeremy Ruston
709e3eec14
First version of testing plugin based on Jasmine
...
It will need some cleaning up here and there, but at this point works
cross-platform
2013-04-25 09:06:13 +01:00
Jeremy Ruston
82308f642a
Use the text parser to parse CSS
2013-04-25 09:05:17 +01:00
Jeremy Ruston
7aeeaf81eb
Refactor boot.js module execution code
...
The aim is to expose the underlying cross-platform evalGlobal and
evalSandboxed.
Also adding the capability for a tiddlywiki.files file to specify a
prefix to be added to the text of a file.
2013-04-25 09:05:02 +01:00
Jeremy Ruston
e57095ba37
Docs updates
2013-04-22 17:58:44 +01:00
Jeremy Ruston
3dc31d6704
Revert accidental change to TW2 template
2013-04-22 17:58:25 +01:00