Commit graph

3856 commits

Author SHA1 Message Date
Simon Kornblith
763d46a565 Don't wrap HTML documents with Zotero.Translate.SandboxManager.Fx5DOMWrapper when performing XPath operations. If we encounter a problem with XML documents at some point, I'll try to figure out how to replace this with a proxy.
Fixes #1851: Voyager translator fails on Newberry catalog in Fx5, Zotero trunk
2011-07-04 16:50:56 +00:00
Simon Kornblith
1774962de9 - Refactor Zotero.Translate save process. There are now itemSaving and itemDone handlers. The itemSaving handler is called as soon as the translator returns an item, but before it's saved to the database. The itemDone handler is called when the item is saved. This allows us to show a grayed-out item icon in the connector while the item is saving to server, and then un-gray it when it is saved to the server.
- Move Zotero.randomString() to Zotero.Utilities
- Fix import of collections (broken by recent commits)
2011-07-04 09:08:49 +00:00
Simon Kornblith
ea5a94e860 - Support RDF in connector
- getTranslatorObject() now exports the "Export" object if one exists. In Firefox, it continues to export other objects otherwise. In Chrome/Safari, it will only export do* and detect*.
2011-07-04 05:03:06 +00:00
Simon Kornblith
178eda0c9d Fix getTranslatorObject() 2011-07-03 20:37:53 +00:00
Simon Kornblith
4f4be436f6 ...but don't try to trim null strings 2011-07-03 19:39:24 +00:00
Simon Kornblith
e671496260 Trim all strings before adding to the DB 2011-07-03 19:38:14 +00:00
Avram Lyon
b876e8bf27 Trans: Fix EEBO, closes ticket #1518. 2011-07-03 19:35:09 +00:00
Simon Kornblith
cf2f8c828b Fix typo 2011-07-03 18:59:26 +00:00
Simon Kornblith
e1433bb4bf Make Amazon.com Chrome/Safari-compatible 2011-07-03 08:55:44 +00:00
Simon Kornblith
db8237f619 Mark Slate Chrome/Safari-compatible 2011-07-03 08:31:46 +00:00
Simon Kornblith
f5af708995 - Eliminate some error messages in translate.js
- Zotero.ItemFields.isValidForType() should not throw on error
2011-07-03 08:28:30 +00:00
Simon Kornblith
ca8c7ba584 Min version is 2.1, not that it matters 2011-07-03 08:19:15 +00:00
Simon Kornblith
1aa4d4c642 Make Nature Chrome/Safari-compatible and fix search results 2011-07-03 08:18:44 +00:00
Simon Kornblith
589178ee6e Fix missing line in HighWire 2011-07-03 07:58:06 +00:00
Simon Kornblith
9919290103 Make HighWire translators Chrome/Safari-compatible 2011-07-03 07:56:38 +00:00
Dan Stillman
d6c6fd16f4 Disable tag colors until they're revised a bit 2011-07-03 06:38:09 +00:00
Simon Kornblith
03b569a2e1 Closes #1755, Links from Standalone preferences don't work 2011-07-03 06:27:04 +00:00
Simon Kornblith
0a197f308e - Open https://www.zotero.org/start_standalone (which doesn't yet exist) in default browser on Standalone first start. This will provide a place to download connectors and create an account.
- Don't copy quickstart setting during prefs migration
- Register zotero-reloaded nsIObserver properly
2011-07-03 04:33:37 +00:00
Simon Kornblith
8638b9c496 Fixes #1844, Fix connector switching hangs with Firefox 3.6 on Windows. Standalone will just take an extra 5 seconds to start if started while Firefox 3.6 is running. 2011-07-03 04:15:49 +00:00
Simon Kornblith
67c81db102 Fix IPC on Windows by making SendMessage() call return immediately 2011-07-03 03:07:01 +00:00
Simon Kornblith
5710fbc530 Don't initialize Zotero just to figure out if Standalone is running 2011-07-03 00:07:56 +00:00
Simon Kornblith
c40ba095ea Move command line handler to zotero-service.js so that it will have access to zContext even before Zotero is finished initializing. This is necessary for automatic connector switching on Windows. 2011-07-02 22:04:04 +00:00
Simon Kornblith
00fdeb3bf9 Focus window in command line handler 2011-07-02 20:36:44 +00:00
Simon Kornblith
a8631f760a Change quickstart URL to https so that it doesn't display a security warning 2011-07-02 17:06:02 +00:00
Simon Kornblith
dd29d18b93 Open quickstart window on first run in Standalone 2011-07-02 16:52:34 +00:00
Avram Lyon
e7c05c6406 Trans: Fix parallel citation cross-refs, per Frank, and fix test to match. 2011-07-02 09:34:46 +00:00
Frank Bennett
f913bad297 Trans: set parallel citations when grabbing legal cases from search list. 2011-07-02 07:26:33 +00:00
Simon Kornblith
d12d639842 Support for add-ons 2011-07-02 07:16:24 +00:00
Simon Kornblith
50cc1fcb71 Fixes #1757, VIew Debug output doesn't work in standalone 2011-07-02 05:51:29 +00:00
Simon Kornblith
7b41d76b75 Move standalone.xul to separate standalone directory 2011-07-02 04:27:57 +00:00
Simon Kornblith
56eed344f5 Fixes #1826, Quick Copy does not work in Standalone 2011-07-02 04:00:12 +00:00
Simon Kornblith
fa7ca7e2d7 Improve standalone menus 2011-07-02 03:09:13 +00:00
Simon Kornblith
8feb3f93ff Safari/Chrome-compatible BibTeX and Google Scholar 2011-07-02 00:44:25 +00:00
Simon Kornblith
e63e917ecf Don't require done function in ZU.processDocuments 2011-07-02 00:17:33 +00:00
Avram Lyon
01086afd43 Trans: Sebastian's updates to The Atlantic, with tests and browser compat (2.1.9+) 2011-07-01 20:27:56 +00:00
Simon Kornblith
9e4df7b8b1 Mark Chronicle of Higher Education as Safari/Chrome compatible 2011-07-01 20:03:46 +00:00
Avram Lyon
cfb1be2fbd Trans: Fix CoHE blogs and add tests, per http://forums.zotero.org/discussion/11942/ 2011-07-01 19:59:45 +00:00
Simon Kornblith
931ba556e1 Don't require a callback to getTranslators, and ask for the translators handler instead, which is already compatible with 2.1. (Not sure what I was thinking last night...) 2011-07-01 19:39:06 +00:00
Avram Lyon
18bd1855dc Trans: Fixing abstract handling for JSTOR and SSRN, per http://forums.zotero.org/discussion/18599/ 2011-07-01 19:00:26 +00:00
Simon Kornblith
f6c56b6b1f Chrome/Safari compatibility 2011-07-01 17:30:48 +00:00
Simon Kornblith
63e07763d7 More refinements for select handlers that do not use a callback 2011-07-01 17:25:26 +00:00
Simon Kornblith
f18b13e882 Mark Copernicus Chrome/Safari compatible 2011-07-01 07:39:35 +00:00
Simon Kornblith
78e7cd070d Mark FAZ.NET Chrome/Safari compatible 2011-07-01 07:38:37 +00:00
Avram Lyon
f5874b5a2e Trans: Update LJ and arXiv, add Wikileaks Cables and Slate
Kudos to Erik and Sebastian for their efforts
2011-07-01 07:08:37 +00:00
Simon Kornblith
084d998f7a Make JSTOR Chrome/Safari compatible 2011-07-01 06:57:43 +00:00
Avram Lyon
f87c22c744 Trans: Updated FAZ.NET with tests and improved date handling, thanks to ibex 2011-07-01 06:55:25 +00:00
Avram Lyon
f92fbefb32 Trans: Remove the legacy logic of Copernicus.js and switch to Copernicus2.js exclusively; the old version is not longer needed. 2011-07-01 06:49:43 +00:00
Simon Kornblith
e69ae33d36 - Make Voyager translator Chrome/Safari-compatible
- Mark MARC translator as Chrome/Safari-compatible
2011-07-01 06:26:36 +00:00
Simon Kornblith
b74cfb4a70 Fix multiple replacement in captializeTitles in Chrome/Safari 2011-07-01 06:22:01 +00:00
Simon Kornblith
e37f4e3215 Don't break code (e.g. Scaffold) that returns a value from the select handler instead of using the callback 2011-07-01 06:07:30 +00:00