Commit graph

2996 commits

Author SHA1 Message Date
Avram Lyon
d763b642b3 Trans: New dLibra translator by Pawel. 2010-11-06 21:36:16 +00:00
Simon Kornblith
4df28f93cb don't use getters, since they probably don't save much memory and they don't seem to work with Fx3.6 wrappers 2010-11-06 21:35:06 +00:00
Simon Kornblith
e531493ba0 fix collection import/export 2010-11-06 20:52:15 +00:00
Simon Kornblith
8027e6c4f2 fix accidental global variable 2010-11-06 19:51:31 +00:00
Simon Kornblith
32d97b9ef9 correct automatic handlers 2010-11-06 19:48:31 +00:00
Simon Kornblith
379888eec4 fix search translation and get rid of unnecessary instanceof calls 2010-11-06 19:42:28 +00:00
Simon Kornblith
219cc49988 - fix RDF file left open after completion
- fix failure to serialize RDF to string
- fix failure to report translation errors
- fix error when translating without specifying displayOptions
2010-11-06 17:10:08 +00:00
Simon Kornblith
8005ed59e4 fix parse error 2010-11-06 07:48:58 +00:00
Simon Kornblith
b8d89b9d60 fix incorrect creatorType 2010-11-06 05:16:48 +00:00
Simon Kornblith
e979a55c6d remove debug code 2010-11-06 04:58:05 +00:00
Simon Kornblith
ff9b7bb1ce fix related item bug that appears to be due to inability to iterate over SJOW 2010-11-06 04:57:16 +00:00
Simon Kornblith
1703dfe5cc remove debug code 2010-11-06 04:08:25 +00:00
Simon Kornblith
58bfd33556 fix attaching notes and tags 2010-11-06 04:07:04 +00:00
Dan Stillman
65ffe8ae4c Estonian localization from Meelis Friedenthal 2010-11-06 02:01:00 +00:00
Dan Stillman
dd53cb5da9 Fixes #1745, Observe private browsing mode
Don't report translator failure if in private browsing mode

Thanks to ajlyon for the patch
2010-11-05 23:00:48 +00:00
Avram Lyon
f724949d83 Trans: Fixed translator for Project MUSE 2010-11-05 22:47:53 +00:00
Simon Kornblith
fb91854601 don't load all addons on Fx4 startup 2010-11-05 05:05:36 +00:00
Simon Kornblith
6d320ab307 tag saving fix and remove unnecessary attachment code 2010-11-05 04:11:08 +00:00
Simon Kornblith
924c537473 perform full same origin check on translator for getTranslatorObject(), rather than checking equality of URIs 2010-11-05 03:34:20 +00:00
Simon Kornblith
ee101b5bc0 fix getTranslatorObject(), and throw an error if cross-site getTranslatorObject() is attempted 2010-11-05 03:26:00 +00:00
Simon Kornblith
253e439a0c fix DOM XML 2010-11-05 03:14:36 +00:00
Simon Kornblith
36cba09f6d make MODS work with Fx 4 2010-11-05 03:12:22 +00:00
Simon Kornblith
3409811b6c Zotero.CreatorTypes.getLocalizedString() 2010-11-05 03:11:49 +00:00
Simon Kornblith
3c28e25eab remove abstracted data layer calls 2010-11-05 03:10:56 +00:00
Simon Kornblith
925bc7ca5b fix 2.1b1-related field code corruption 2010-11-05 02:52:14 +00:00
Dan Stillman
abf3037a24 Remove Women in Judaism translator 2010-11-04 21:52:29 +00:00
Simon Kornblith
b31eb91a4a undo apparent revert of r7224 by merging r7225 2010-11-04 17:09:09 +00:00
Simon Kornblith
f4d722d028 don't leave TabSelect uncommented 2010-11-04 01:31:30 +00:00
Simon Kornblith
d9fb09c1d6 fix handling of tab switching in Fx4 2010-11-04 01:30:59 +00:00
Dan Stillman
7ecb788615 Fix typo in Swedish localization 2010-11-03 17:38:27 +00:00
Simon Kornblith
4c4998b7f8 fix "me" 2010-11-03 15:31:00 +00:00
Simon Kornblith
3f2a8a39ab - Overhaul of Zotero.Translate instance. New code should use new Zotero.Translate.Web, Zotero.Translate.Import, etc. The core Translate class is now abstracted away from data access, read/write IO, and the sandbox API. This all needs more testing.
- Translators now use configOptions and displayOptions properties in their metadata instead of Zotero.configure() and Zotero.addOption() to specify interfaces.
- Replaced now broken Zotero.Utilities.inArray() appearances in MODS.js with proper indexOf() calls
2010-11-02 21:39:54 +00:00
Avram Lyon
42a1551e85 Trans: Support DOI in DO field when reading EBSCO RIS 2010-10-31 19:20:07 +00:00
Avram Lyon
ed40d92352 Trans: New translator for Paris Review 2010-10-31 18:53:05 +00:00
Simon Kornblith
f6e09f7103 Update to citeproc-js 1.0.68
From Frank's release notes:

Further refactoring of output queue mechanism, to unify all quote-
swapping and detection code for duplicate terminal punctuation and
spaces in a single function.  No changes to behavior, unless there is
a hole in the test suite somewhere.

Fix an output nesting mismatch error triggered by items with two
institutional authors in sequence, when rendered with a style that
sorts on the bibliography.

In the output queue mechanism, fix a bug in the migration of a leading
terminal character in a prefix to the preceding sibling suffix.
2010-10-31 18:18:11 +00:00
Avram Lyon
c63048da8e Trans: Updated translator provided by Brinda @ HWWilson 2010-10-31 16:02:16 +00:00
Simon Kornblith
8207201c6a merge r7225 to trunk 2010-10-31 05:19:43 +00:00
Simon Kornblith
2f5fc456c7 don't double-wrap properties 2010-10-30 17:38:58 +00:00
Simon Kornblith
cd7211da99 update to citeproc-js 1.0.67
From Frank's release notes:

Reimplement duplicate terminal punctuation handling in new
adjustPunctuation() function. Remove old functions used for this
purpose, which were excessively complex and fragile. Some operations
in queue.js may now be redundant, since the new code does a much
better job of cleaning up the output queue in advance of
serialization.

Clears some remaining duplicate punctuation issues.

Corrects errors in the placement of punctuation where multiple
terminal punctuation marks span a formatting boundary (i.e. italics,
boldface, etc.).
2010-10-28 17:00:09 +00:00
Simon Kornblith
f10b1dbd94 don't actually need isConnector 2010-10-27 02:45:39 +00:00
Simon Kornblith
214d857861 fix startup error on Fx 3.6 2010-10-27 02:45:04 +00:00
Simon Kornblith
e0e84bc22a - eliminate for each in future cross-browser code
- move itemTypeExists, getCreatorsForType, and getLocalizedCreatorType back under ZU
- modify OpenURL code to use ZU.itemTypeExists
2010-10-27 02:10:45 +00:00
Simon Kornblith
e61dd60024 move Zotero.Date and Zotero.OpenURL to independent files 2010-10-27 00:36:20 +00:00
Avram Lyon
a7f535ee85 Trans: Add https protocol for NCBI Pubmed 2010-10-26 18:16:18 +00:00
Simon Kornblith
d22ccf2219 Zotero.Utilities changes:
- Zotero.Utilities is now a singleton
- Zotero.Utilities.HTTP is now Zotero.HTTP
- Zotero.Utilities.md5 and Zotero.Utilities.Base64 are now located under Zotero.Utilities.Internal
- Zotero.Utilities.AutoComplete has been eliminated

This needs testing to make sure there is no associated breakage.
2010-10-25 00:58:47 +00:00
Simon Kornblith
21a2188caa move getSQLDataType to Z.DB 2010-10-25 00:17:53 +00:00
Simon Kornblith
acdc36c9a1 kill ZU.isInt 2010-10-25 00:01:10 +00:00
Simon Kornblith
8d3e25dbfa kill ZU.min3 2010-10-25 00:00:29 +00:00
Simon Kornblith
a4cb8608da remove ZU.probability 2010-10-24 23:55:50 +00:00
Simon Kornblith
85b703aa33 kill Zotero.arrayToHash, which looks like it was never used, and Zotero.hasValues 2010-10-24 23:49:00 +00:00