Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#2285 closed task (fixed)

Remove FileStorageProvider

Reported by: bradneuberg Owned by: bradneuberg
Priority: high Milestone: 0.9
Component: Storage/Flash Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

In a mad bout of coding I created a FileStorageProvider? for XPCOM and ActiveX, for pages loaded from file:// URLs. I was all excited about this until I realized..... that very few people will actually use this. I want to reduce the size of Dojo Storage. Remove this code, then place it as a patch either linked off the Dojo Storage docs on the Wiki or on this bug so that folks can simply cut and paste the code if they want to know how to do file loading/saving with XPCOM and ActiveX; they can copy and paste this code into Dojo Storage themselves if they want.

Perhaps, if I can figure it out, I'll make a file called extra.js that has this code, removed from browser.js.

Attachments (2)

DojoFileStorageProvider.java (1.3 KB) - added by bradneuberg 12 years ago.
Java implementation for file storage on Safari -- incomplete
browser.js (27.5 KB) - added by bradneuberg 12 years ago.
browser.js that included FileStorageProvider?

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by bradneuberg

Don't forget to remove the stub Java code that existed for a Safari version of FileStorageProvider?.

comment:2 Changed 12 years ago by bradneuberg

I'm attaching the code for DojoFileStorageProvider?.java and the browser.js that had the FileStorageProvider? to this bug, so that others can extract this code and use it if they wish. The FileStorageProvider? inside of browser.js supports ActiveX on IE and XPCOM on Firefox for local file access; DojoFileStorageProvider?.java is an incomplete Java class to allow the same on Safari, which was going to be called from browser.js using LiveConnect? on Safari. Removing these pieces for size reasons since no one uses them and can extract the code from this bug report if they do.

Changed 12 years ago by bradneuberg

Java implementation for file storage on Safari -- incomplete

Changed 12 years ago by bradneuberg

Attachment: browser.js added

browser.js that included FileStorageProvider?

comment:3 Changed 12 years ago by bradneuberg

Resolution: fixed
Status: newclosed

Deleted from source and checked into Subversion.

comment:4 Changed 12 years ago by bradneuberg

The Dojo Storage documentation at http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book50 has been updated to refer to this ticket for the FileStorageProvider? code and to update folks on it being removed from Dojo Storage.

Note: See TracTickets for help on using tickets.