closes#703, automate Word/OOo plug-in build process
- fixes a bug in OpenOffice when an item is removed from the Zotero Database
- fixes a bug in citing items with no title
- fixes an error in the APA style
Addresses #775, Convert integers stored in DB as strings to integers
The Pages bug was actually a big broader and more complex. We were accidentally storing all values--including integer values--as strings, so the less-than operator didn't work on them (and the greater-than operator was matching most values, since "1"<"A").
Fixed by storing integers (up to 64-bits) not beginning with 0 as integers, casting numeric strings to integers for < and > comparisons, and using 'LIKE' instead of '=' for comparison of numeric search values for the "is"/"isNot" conditions. In 1.5, we'll handle #775.
- 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