1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 02:33:15 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
natecain
c45f4d1c62 Small revision to previous commit, avoids double encoding.
We don't need to encodeURIComponent at all when using blob links.
The data never goes into the dom directly, just a guid reference.

This makes saving with blobs very fast!
2013-10-01 17:35:58 -04:00
natecain
aef8e63cf8 Use Blob api to generate data links in download saver
This should fix crashing on large wikis under chrome
  see chrome bug: https://code.google.com/p/chromium/issues/detail?id=103234
This should also speed up generating the download html by a couple of seconds
  it avoids repeatedly marshalling the base64 encoded href string across the sandbox boundary
  it avoids some time and memory consumed by "large" dom manipulation
  major remaining delay is in encodeURIComponent
    TODO: consider using iconv on the server
    TODO: consider async invocation of regular expressions to avoid client "lockup"

Conflicts:
	core/modules/savers/download.js
2013-10-01 17:35:47 -04:00
Jeremy Ruston
d0db2221d3 Fix problem with lowercase drive letters when saving with TiddlyFox under Windows 2013-09-19 13:50:28 +01:00
Jeremy Ruston
dec7870eeb Update HTML5 saver to use current filename where possible
Most browsers still ignore the specified filename, sadly.
2013-09-19 10:50:14 +01:00
Jeremy Ruston
1fd59a4bd3 First pass at a saver for the AndTidWiki app on Android 2013-08-19 13:55:40 +01:00
Jeremy Ruston
1e5842dc1c Fix download saver on Firefox
Turns out that Firefox needs the link to be in the document before it
will honour the click on it.
2013-05-23 11:26:47 +01:00
Jeremy Ruston
c0683fd65c Added a saver for the TWEdit iPad/iPhone app 2013-05-14 20:20:48 +01:00
Jeremy Ruston
6e44a20804 Fix problem with TiddlyFox on Windows
Fix #97
2013-05-10 18:14:01 +01:00
Jeremy Ruston
e501c0ec2a Enhance TiddlyFox saver to display a notification on success 2013-05-07 18:09:15 +01:00
Jeremy Ruston
28707edd72 Decode paths for TiddlyFox 2013-03-19 18:36:27 +00:00
Jeremy Ruston
d14c61ef45 Switch "userName" to "username"
Because the former is naff
2013-03-17 19:37:31 +00:00
Jeremy Ruston
0731135866 Adding comment 2013-03-07 17:18:04 +00:00
Jeremy Ruston
705c88d1aa Fix TiddlyFox transfer attribute names 2012-11-17 20:17:29 +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
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
9f6909ddc4 Appeasing the gods of JSHint 2012-11-06 17:21:56 +00:00
Jeremy Ruston
a3694d8cb3 Removed extraneous console.log 2012-08-30 08:40:00 +01:00
Jeremy Ruston
68f7072c94 TiddlyFox now saves with TiddlyWiki5 as well as TiddlyWiki Classic 2012-08-29 22:40:58 +01:00
Jeremy Ruston
4a783d08c6 Keeping JSHint happy 2012-07-16 12:56:59 +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
a7c1b1896e Tell JSHint about Firefox's globals 2012-07-13 11:26:12 +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
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