Ticket #2285 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

Remove FileStorageProvider

Reported by: bradneuberg Owned by: bradneuberg
Priority: normal Milestone: 0.9
Component: Storage/Flash Version: 0.4.1
Severity: normal Keywords:
Cc:

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

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

Change History

Changed 2 years ago by bradneuberg

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

Changed 2 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 2 years ago by bradneuberg

Java implementation for file storage on Safari -- incomplete

Changed 2 years ago by bradneuberg

browser.js that included FileStorageProvider?

Changed 2 years ago by bradneuberg

  • status changed from new to closed
  • resolution set to fixed

Deleted from source and checked into Subversion.

Changed 2 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.