Switched to using internal itemTreeView.js getSelectedItems() and selectItem() rather than external methods. Why does this prevent the crash? I dunno. Just go with it, man.
Not localizing 'Error initializing Zotero database' or bundle.js alerts -- they shouldn't happen except during development, and if they do it doesn't really matter if the user understands them.
Also:
- Made linkFromURL() always return the attachment itemID, performing a HEAD request asynchronously to get the MIME type if necessary
- Removed test for linkFromURL() return value in Translate::_itemDone(), which was incorrect anyway
- Removed a couple unused return assignments from linkFromURL() in _itemDone()
- Displays placeholder title in square braces for letters and interviews without titles
- Ignores square braces and quotation marks when sorting fields
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