Commit graph

2962 commits

Author SHA1 Message Date
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
Simon Kornblith
8bf5a5fb17 also remove inArray from ZU 2010-10-24 23:42:33 +00:00
Simon Kornblith
f1402708c0 kill Zotero.inArray() and Zotero.arraySearch() 2010-10-24 23:41:32 +00:00
Simon Kornblith
73102eb977 eliminate deprecated cleanString calls, and fix a namespace bug in eRDF 2010-10-24 23:05:28 +00:00
Simon Kornblith
9e3f4576d2 check the right type variable 2010-10-24 19:08:01 +00:00
Simon Kornblith
f7e6843d68 a marginally better solution to XPCCrossOriginWrapper woes achieved by binding child sandboxes to the same locations as parent sandboxes
this won't work if a web/search translator wants to call getTranslatorObject on another web/search translator, but that doesn't happen at the moment, so it should sufficie
2010-10-24 19:04:44 +00:00
Simon Kornblith
95003c88e4 fix translation in Fx 4 trunk builds 2010-10-24 06:52:54 +00:00
Simon Kornblith
9740c42666 try to workaround death of explicit SJOW 2010-10-24 05:35:21 +00:00
Simon Kornblith
26edf1a3f9 hide create item from current page button in standalone (and create new file for standalone-specific CSS) 2010-10-24 05:27:39 +00:00
Simon Kornblith
3f778299b8 correctly display titlebar 2010-10-24 05:16:10 +00:00
Avram Lyon
fc62f6e25d Trans: Update to eLibrary to eliminate extraneous requests 2010-10-19 17:04:55 +00:00
Simon Kornblith
5c88810ec0 add zotero://preferences URI scheme to allow links to prefs from add-ons 2010-10-18 23:12:04 +00:00
Simon Kornblith
43fd51b71c fix CookieManager interaction with hidden browsers 2010-10-18 21:35:50 +00:00
Simon Kornblith
1575ce9df0 fix CookieManager bugs that were breaking Google Scholar 2010-10-18 19:45:10 +00:00
Simon Kornblith
7f3908f1b8 closes #1739, zotero:// broken in Gecko 2.0/Fx 4 2010-10-18 19:22:16 +00:00
Avram Lyon
633180075a Trans: ESpace translator, updated by Rintze Zelle 2010-10-18 18:43:09 +00:00
Avram Lyon
0584ee6b52 Trans: Improved eLibrary.ru translator. Looks good except for PDF attachments. 2010-10-18 06:51:19 +00:00
Simon Kornblith
42edc63bf8 fix strange "invalid quantifier" error in Fx4 2010-10-16 20:02:12 +00:00
Simon Kornblith
90922843b0 update to citeproc-js 1.0.66
from Frank's announcement:

Adjustment to the conditions controlling the tainting of entries
carrying year-suffix values.

Avoid redundant application of year-suffix values during
disambiguation.

Provide a default "institution" format blob on the output queue, to
avoid a processor crash with lone institutional author names.
2010-10-15 23:21:21 +00:00
Simon Kornblith
62f0953988 place creator and label on separate lines 2010-10-15 22:58:34 +00:00
Simon Kornblith
363f059ca3 - run plug-in cleanup() method before displaying dialogs (so that ScreenUpdating is re-enabled before dialogs are shown in WinWord)
- code clean-up
2010-10-15 21:32:49 +00:00
Simon Kornblith
4c2b717c65 add ID to preferences section so that OpenOffice.org prefpane shows paths 2010-10-15 19:17:01 +00:00
Simon Kornblith
d4da080967 Styles->Cite section in Zotero preferences and split to "Word Processors" and "Styles" tabs
also change "Shortcut Keys" to just "Shortcuts" (since the icon is a key anyway)
2010-10-15 05:36:37 +00:00
Simon Kornblith
98ef051951 update to citeproc-js 1.0.65
From Frank's release notes:

citeproc-js 1.0.64:

This release just pulls through the actual changes described in 1.0.62
and 1.0.63.

Apologies for any confusion this caused.

citeproc-js 1.0.65:

Do not needlessly circumvent name disambiguation logic. Reverses a
patch introduced in the 1.0.61 through 1.0.64 series of changes.

Apply the concise and correct fix for the undefined-in-name bug
previously addressed by the 1.0.61 through 1.0.64 series of releases.
Just replacing an undefined variable with an empty string does the
trick.

Force an initialized name that lacks an explicit string value on
initialize-with to full form, but only when using the by-cite
disambiguation rule.

Permit update of year-suffix when it is added, in addition to when it
exists and then changes.

Protect against an undefined value in updateItems(), which can
apparently sometimes occur in the course of word processor plugin
transactions.

Map page-first variable to page when snooping for a value. Prevents a
lone page-first cs:text node within a cs:group from being suppressed
for lack of output.

Repair recently amended appendCitationCluster() command to return a
list of paired values, in accordance with the processor manual.

Extend restoreProcessorState() to work with an empty argument, for
resetting the processor to a pristine state (for use case suggested by
Carles Pina).
2010-10-15 01:03:39 +00:00
Avram Lyon
fae0f684c1 Highwire 2.0 fix for Journal of Cell Biology; closes ticket #1659 2010-10-14 18:21:20 +00:00
Avram Lyon
743e4ee8da New translator for eLibrary.ru 2010-10-13 19:08:50 +00:00
Dan Stillman
12279cb5a3 Add nn-NO locale from http://github.com/unhammer/zotero-nn 2010-10-13 18:59:27 +00:00
Dan Stillman
639e0794bc Clarify NoScript warning to say that a restart is required 2010-10-13 18:16:19 +00:00
Avram Lyon
47488d752e Translator update for CNKI, new translators for Douban Books and Wanfang Data; thanks to Ace Strong for submissions. 2010-10-12 19:15:19 +00:00
Dan Stillman
d8341eb2d1 Fix June and July abbreviations in French locale 2010-10-12 17:14:53 +00:00
Dan Stillman
f0d58fa948 Don't load javascript: and data: URIs from URI field 2010-10-09 20:33:55 +00:00
Dan Stillman
490794dfb9 More XPI fixes for TinyMCE 2010-10-09 19:22:28 +00:00
Dan Stillman
f17e0d6d28 Reapply r3565 to fix TinyMCE in XPI builds 2010-10-09 18:08:38 +00:00
Dan Stillman
d309ad2539 Hide location and status bar and skip Zotero translators on TinyMCE popups 2010-10-09 18:03:03 +00:00
Dan Stillman
ee6c386bae Run Cut/Copy/Paste commands in notes with chrome privileges so they work 2010-10-09 17:21:25 +00:00