Jermolene
2fc6451bf7
Rejigged encrypted import so that the current password isn't changed
...
We still try the currently stored password. If that doesn’t work then
we prompt for a password, but we no longer store the password in the
store.
2014-01-20 13:35:55 +00:00
Jermolene
ed5cf8b044
Refactor importing of encrypted TiddlyWiki files so that it works on Node.js
2014-01-19 20:13:55 +00:00
Jermolene
2c790d982f
Switch to using $tw.fakeDocument
for the fakedom document object
...
So that we can free us `$tw.document` to be the actual DOM document
2014-01-15 14:57:35 +00:00
Jermolene
b64b7982af
Fix notification removal to not rely on transitionEnd events
2014-01-09 22:26:21 +00:00
Jermolene
e0f428b9b2
Fixed problem with Element.ELEMENT_NODE undefined on Safari
2014-01-04 15:15:12 +00:00
Jermolene
027421f5e6
More coding style consistency
2014-01-03 10:54:00 +00:00
Jermolene
1a74e2538c
Cleaning up further coding style inconsistencies that have crept in
2014-01-03 10:50:00 +00:00
Jermolene
8fc5c1d4a0
Further style tweaks to #321
2014-01-03 10:48:00 +00:00
Jermolene
307b5c7d6b
Merging #321 Table valign from @Skeeve
2014-01-03 10:39:55 +00:00
Jermolene
b132e1023d
Add error checking to $tw.utils.setStyle()
2014-01-02 19:00:46 +00:00
David Jade
7f5a8fc937
Better drag/drop for Firefox/Chrome and improved IE support
2013-12-20 19:57:05 -08:00
Jermolene
1c529ddcd4
Refactored stylesheet implementation
...
This way we reuse the refresh mechanism properly so that theme tweaks
can be applied interactively.
2013-12-20 15:31:16 +00:00
Jermolene
3bcaab513d
Fixed problem with insertBefore() method in fakedom
...
Was preventing refreshing of widget trees built against the fakedom.
2013-12-20 15:29:01 +00:00
Jermolene
638c8b2070
Fixes to fullscreen support
...
Prompted by this article:
http://generatedcontent.org/post/70347573294/is-your-fullscreen-api-code
-up-to-date-find-out-how-to
2013-12-18 21:39:59 +00:00
Jermolene
7d12d89a0a
Added primitive support for basic authentication
...
Note that the password will be passed over HTTP in plain text.
2013-11-28 14:03:08 +00:00
Jermolene
c0a6e94b21
Hash the state qualifier to make it shorter
...
We were having problems with TW5 generating filepaths that were longer
than Windows likes.
Fixes #240
2013-11-28 10:53:37 +00:00
Jermolene
06a66cf24e
Improve popup dismissal
...
Now we ignore clicks if they come from an element that has an ancestor
with the class `tw-popup`
2013-11-12 22:02:26 +00:00
Jermolene
145e3ece78
Fix $tw.utils.hasClass() to work even if the element doesn't have a className property
2013-11-12 22:01:31 +00:00
Jeremy Ruston
cc0011abd3
Get rid of the "new_" prefix we had on some methods
...
There's still the "old_" prefix to get rid of too.
2013-11-08 08:51:14 +00:00
Jeremy Ruston
b7cb1d3391
Change new_widget
to widget
...
I was avoiding doing this until after the merge.
2013-11-08 08:47:00 +00:00
Jeremy Ruston
31ae8910c6
Fix animation behaviour of reveal widget
2013-11-02 09:21:11 +00:00
Jeremy Ruston
6a6f6c7713
Restored animations for the reveal widget
2013-11-01 17:23:08 +00:00
Jeremy Ruston
05e73ee1da
Cope with localStorage not being available
...
IE10 doesn't allow localStorage for HTML pages loaded from the file://
protocol.
Boo.
2013-10-29 22:21:25 +00:00
Jeremy Ruston
654f48b14d
Fix problem with modal titles
2013-10-29 15:01:36 +00:00
Jeremy Ruston
b4da65d1c9
Update fakedom to no longer add a newline after opening tags
...
The newline was being rendered within `<code>` elements.
2013-10-29 14:52:12 +00:00
Jeremy Ruston
14d7d5ea59
Use the new wiki.makeWidget() method where we can
2013-10-29 14:51:35 +00:00
Jeremy Ruston
f2ac04943f
Fixed tag autocomplete popup on focus
2013-10-23 17:41:12 +01:00
Jeremy Ruston
2a571b4f5f
Switch the notifier and modal mechanisms to use the new widget mechanism
...
Note the use of the `$tw.rootWidget` to collect together the root event
handlers
2013-10-21 20:14:01 +01:00
Jeremy Ruston
ce1fb300f8
Use the new widget mechanism for stylesheet parsing and rendering
2013-10-21 18:38:20 +01:00
Jeremy Ruston
6b9b75142b
Fix text reference regexp to allow for tiddler titles with embedded spaces
2013-10-17 16:40:13 +01:00
Jeremy Ruston
20cd398e88
Fix popup positioning in the reveal widget
2013-10-14 23:32:01 +01:00
Jeremy Ruston
94c2eacdc9
Support selectedClass properly in the button widget
2013-10-14 16:56:13 +01:00
Jeremy Ruston
b0503cf709
Fixes to make SVG and MathML elements work properly
2013-10-13 20:14:31 +01:00
Jeremy Ruston
ed35d91be6
Initial Commit
...
Carried over from the abortive pull request #169
2013-10-12 17:05:13 +01:00
Jeremy Ruston
4a663d1661
Improve docs for $tw.utils.addEventListeners()
2013-09-14 13:47:51 +01:00
Jeremy Ruston
e034f28091
Bail out earlier when displaying a modal for a non-existent tiddler
2013-09-10 15:28:15 +01:00
Jeremy Ruston
ee33cbbc2e
Fix up some problems when the animation duration is zero
...
We want to be able to suppress animations by making the duration zero
2013-08-29 12:43:24 +01:00
Jeremy Ruston
fbfe5a26c5
Move the animation duration into a tiddler so that we can easily let it be adjusted in the control panel
2013-08-28 15:15:56 +01:00
Jeremy Ruston
53ead15273
Refactor scroller so that the scrollIntoView() method is a bit more usable
...
Passing an event instead of a DOM node was silly.
2013-07-08 15:15:53 +01:00
Jeremy Ruston
594f4ba204
Update animations to use a timer instead the transitionEnd event
...
Thr trouble is that the transitionEnd event doesn't fire under some
circumstances (eg if the animated element is hidden). So, it's more
reliable to use a timer instead
2013-07-06 12:57:37 +01:00
Jeremy Ruston
c72a63849b
Add some more methods to the fake DOM
...
These methods are needed to get static saving working in the browser
again (click "Save Static" in the Demo tiddler)
2013-07-05 10:47:08 +01:00
Jeremy Ruston
0edfc855b4
Replace obsolete content type
2013-06-27 10:19:38 +01:00
Jeremy Ruston
d6654c4a0b
Fixed problem with not being able to manually scroll after navigating to a tiddler
2013-06-10 21:07:23 +01:00
Jeremy Ruston
3cda8758ae
Refactor scrolling animation to use requestAnimationFrame() instead of setInterval()
2013-06-10 14:11:58 +01:00
Jeremy Ruston
2c8352c442
Update the popup manager to allow popup state to be forced, rather than toggled
...
We'll be needing this shortly
2013-06-09 19:24:21 +01:00
Jeremy Ruston
854a9d6d1c
Toggle a style on the page container when a modal is displayed
2013-06-04 16:19:47 +01:00
Jeremy Ruston
a8b1da33de
Improvements to slide animation
2013-05-28 16:47:16 +01:00
Jeremy Ruston
227cadd326
Add a barebones animation framework
...
The idea is to allow us to package animations/transitions into plugins
2013-05-28 16:28:16 +01:00
Jeremy Ruston
d19affc9c3
Fix problem with non-shadow stylesheets not being recognised at startup
2013-05-25 16:40:34 +01:00
Jeremy Ruston
3806168038
Fixed problem with non-shadow style tiddlers not being recognised
2013-05-18 16:59:24 +01:00