#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)
Change History (6)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
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 14 years ago by
Attachment: | DojoFileStorageProvider.java added |
---|
Java implementation for file storage on Safari -- incomplete
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Deleted from source and checked into Subversion.
comment:4 Changed 14 years ago by
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.
Don't forget to remove the stub Java code that existed for a Safari version of FileStorageProvider?.