- Fixed error in attachment saving from r1715
- Fix broken item adding from r1721
Other fixes:
- Dropping a regular item and a note/attachment item onto another item would throw an error (drop onto an item is now disallowed if any regular items in the drag)
- Dragging a top-level note/attachment onto a parent item would toggle the open/close state of the target
Addresses #750, Creating a hidden browser causes a persistent wait cursor
Revert use of hidden window -- found another way to get rid of the wait cursor (by deleting the browser on a timer after importFromDocument())
- closes#736, bring Zotero up to date with latest CSL revisions
- allows citing multiple sources in IEEE and Nature styles, collapse citation numbers, and sort citations by citation number
- fixes a bug in the add citation dialog when adding items to the "Multiple Sources" pane, then turning off multiple sources
Addresses #460, importFromURL fails when importing PDFs from servers that do not properly support HEAD requests
Now inspects supposed PDFs after download and deletes if not actually PDF format
Also:
- Fixed bug when running importFromDocument() on a PDF on Windows that would result in an incomplete or missing (since r1688) attachment item
- importFromDocument() no longer returns an itemID, since it can be partly asynchronous now
- Added rudimentary 'text/html' support for Zotero.MIME.sniffForMIMEType()
Fixed scraping error and invalid HEAD request in ACS Pubs on journals using a different format for the PDF download string (and created #767 to support those).
Removed Sean's custom debug line. Such vanity.
Also added a few things to help with right-to-left languages:
- chromedir attribute on zotero-pane
- Zotero.dir property containing 'ltr' or 'rtl'
- Zotero.localeJoin(arr, separator=' ') to join an array into a string in the proper locale order
- Switched to using the hidden window in createHiddenBrowser(), since that avoids the wait cursor
- Maybe improved browser object/event cleanup a bit, though maybe it was fine before
- display translation failure if no items scraped during asynchronous translation, can be overridden by calling Zotero.done(true)
- always close scraping window following translation
- closes#742, Import of large RDF file fails. I've found a workaround for the export issue that causes this (actually a bug in Mozilla's RDF engine, which produces invalid XML under certain circumstances). However, old invalid RDF/XML documents still won't import.
fixes#740, possible CSL et al issues
fixes#757, CSLs without sort-algorithm option fail bibliography creation
fixes#747, fix issues with bookmarks
fixes CrossRef translator to use authentication
addresses #736, bring Zotero up to date with latest CSL revisions (new formatting attributes not yet implemented)
closes#746, edit bibliography support
new Word plug-in still needs compliation and testing on non-Mac platforms and needs to be tested for compatibility with old docs
Two options currently only available via about:config, combineChildItems and includeAllChildItems (which really means "Include All Child Items If Only Parent Items Are Selected")
Other changes:
- Moved Zotero.Utilities.cleanString() functionality to ZU.trimInternal() and created a regular trim() too that doesn't consolidate internal whitespace.
- Removed Zotero.getAll(), replaced with Zotero.Collection.getChildItems() and a new onlyTopLevel flag to Zotero.Items.getAll(). Also removed unused Zotero.getAttachments.
- Fixed XML parsing error during report generation when a long URL contained a trailing space