zotero/chrome/chromeFiles/content/scholar
Dan Stillman c50dedc90a Addresses #17, add filesystem/ability to store files
Not finished, but enough to give David something to work with

No BLOBs -- just linking/importing of files and loaded documents


New Scholar.Item methods:

incrementFileCount() (used internally)
decrementFileCount() (used internally)
isFile()
numFiles()
getFile() -- returns nsILocalFile or false if associated file doesn't exist (note: always returns false for items with LINK_MODE_LINKED_URL, since they have no files -- use getFileURL() instead)
getFileURL() -- returns URL string
getFileLinkMode() -- compare to Scholar.Files.LINK_MODE_* constants: LINKED_FILE, IMPORTED_FILE, LINKED_URL, IMPORTED_URL
getFileMimeType() -- mime type of file (e.g. text/plain)
getFileCharset() -- charsetID of file
getFiles() -- array of file itemIDs this file is a source for

New Scholar.Files methods:

importFromFile(nsIFile file [, int sourceItemID])
linkFromFile(nsIFile file [, int sourceItemID])
importFromDocument(nsIDOMDocument document [, int sourceItemID])
linkFromDocument(nsIDOMDocument document [, int sourceItemID])

New class Scholar.FileTypes -- partially implemented, not yet used

New class  Scholar.CharacterSets -- same as other *Types classes:
getID(idOrName)
getName(idOrName)
getTypes() (aliased to getAll(), which I'll probably change the others to as well)

Charsets table with all official character sets (copied from Mozilla source)

Renamed Item.setNoteSource() to setSource() and Item.getNoteSource() to getSource() and adjusted to handle both notes and files
2006-07-27 09:16:02 +00:00
..
admin A rough interface to add, remove and reorder item type fields -- at the moment just to make my life easier, but eventually could be adapted to allow end-user type/field editing, if we decide that's necessary 2006-06-24 08:23:54 +00:00
bindings Closes #125, Separate customControls.xml into multiple files 2006-07-26 14:46:27 +00:00
ingester closes #78, figure out import/export architecture 2006-07-17 04:06:58 +00:00
test Sorting on a colum: Much, much, much, better. (hope)fully implemented! 2006-06-05 15:49:11 +00:00
xpcom Addresses #17, add filesystem/ability to store files 2006-07-27 09:16:02 +00:00
about.xul Closes #12, credits panel. 2006-07-06 20:43:32 +00:00
collectionTreeView.js Fixes #116, Make full screen button text. 2006-07-17 14:09:12 +00:00
fileInterface.js closes #78, figure out import/export architecture 2006-07-17 04:06:58 +00:00
include.js - Implemented singleton XPCOM component to store core Scholar objects 2006-05-27 00:20:27 +00:00
itemPane.js Fixes #120, Scholar preference for Above Content breaks display. 2006-07-26 14:03:54 +00:00
itemPane.xul Fixes #120, Scholar preference for Above Content breaks display. 2006-07-26 14:03:54 +00:00
itemTreeView.js Fixes problem where deleting a note would accidentally hide other items in the list. 2006-07-05 15:35:15 +00:00
note.js Fixes #113, "New Note" should put note in currently selected project 2006-07-26 14:30:38 +00:00
note.xul Fixes #30, clicking on note in the hierarchical view shows contents of the note in the right panel. 2006-06-28 18:30:29 +00:00
overlay.js Fixes #129, add menu/contextual menu items for export/bibliography 2006-07-26 15:28:31 +00:00
overlay.xul Created Scholar toolbar button (use Customize Toolbar... option) 2006-07-26 16:42:26 +00:00
preferences.js Fixes #114, Preference for Scholar location (top, bottom). 2006-07-19 16:14:27 +00:00
preferences.xul Fixes #114, Preference for Scholar location (top, bottom). 2006-07-19 16:14:27 +00:00
selectItemsDialog.js SelectItemsDialog (for See Also) unregisters tree views on close. 2006-07-20 23:57:53 +00:00
selectItemsDialog.xul SelectItemsDialog (for See Also) unregisters tree views on close. 2006-07-20 23:57:53 +00:00