Commit graph

2962 commits

Author SHA1 Message Date
Dan Stillman
1977ae1541 Tweak spacing of "Get word processor plugins..." line in prefs 2010-12-13 22:45:53 +00:00
Dan Stillman
17fae0d657 Fix tag not disappearing on removal from item if tag selector is closed 2010-12-13 22:28:45 +00:00
Dan Stillman
07c450acbf Remove unnecessary joins 2010-12-13 22:10:06 +00:00
Dan Stillman
2f7bf480c0 Display proper error message if Zotero directory or Zotero database is not writable, instead of just if the database isn't readable 2010-12-13 22:09:20 +00:00
Dan Stillman
ef36b39454 Use separate buttons for "Reset Translators" and "Reset Styles" in preferences 2010-12-13 22:07:13 +00:00
Dan Stillman
045667fe93 Fixes #1724, Missing box around tags popup in attachment metadata pane in Firefox 4 2010-12-13 21:25:31 +00:00
Dan Stillman
f4cfba06d3 Fixes #1708, discontinuities in context menus in Fx4 2010-12-13 21:20:45 +00:00
Dan Stillman
a7abd62a67 Pushed Highwire 2.0 2010-12-13 21:19:18 +00:00
Dan Stillman
cba0c0ad51 Replace WebDAV HEAD requests with GET requests 2010-12-13 18:20:06 +00:00
Simon Kornblith
4bdfa5f30b revise comment 2010-12-12 13:29:28 +00:00
Simon Kornblith
43670e3d4c fix invalid XML on export due to quotation marks in URI 2010-12-12 13:24:47 +00:00
Simon Kornblith
e01aa91e49 check UTF-8 in separate chunks, since running a regexp on too much data produces an error 2010-12-12 07:16:00 +00:00
Simon Kornblith
071c05e0bb return en-US test, which i had disabled for testing 2010-12-11 07:02:24 +00:00
Simon Kornblith
0f96de71ac also update timeline 2010-12-11 07:01:39 +00:00
Simon Kornblith
83d34a9f77 load date strings from Fx dateFormat bundle instead of using citeproc-js 2010-12-11 07:00:42 +00:00
Simon Kornblith
ac9d524a9f update to citeproc-js 1.0.88
From 1.0.82:

Fixes to cs:if and cs:else-if logic.  Was failing to set the match
attribute on singleton nodes, among other things.

Treat greek letters as part of the "romanesque" character set,  for
name formatting purposes.

If cs:number input has numbers separated by spaces, but also
extraneous non-comma, non-ampersand, non-hyphen characters, then
render as literal.

From 1.0.83:

Use en-dash rather than hyphen in formatted page range joins.

From 1.0.84:

Preserve explicit double spaces in HTML output.

From 1.0.85:

Pass full suite of double space suppression tests.

Language switching within a style works, for both localized dates and
terms.  (This functionality is not yet valid in CSL.)

From 1.0.86:

Address bug that caused unreasonable delays with large namesets.

From 1.0.87:

Where et-al-min, et-al-subsequent-min or names-min are set to some
value larger than zero, and the number of names in a nameset exceeds
an arbitrary threshold of 50, truncate author lists that are longer
than the *-min value (plus a buffer value of 2), to raise performance
to a  reasonable level with large namesets.

From 1.0.88:

Adjustments to language condition logic, to use only the base language
name for matching, while applying the full locale specified in the
conditional to node children.

Refinements to the recently introduced handling of brace-enclosed
leading characters as initialized form of names.

Adjustments to print statement arbitration, with a view to playing
nice with various systems.
2010-12-10 07:12:08 +00:00
Simon Kornblith
a073185872 remove inArray from RDF.js 2010-12-10 00:17:14 +00:00
Avram Lyon
0e90e8efe7 Trans: Add support for early edition in Highwire 2.0, per http://forums.zotero.org/discussion/15429 2010-12-02 20:51:42 +00:00
Avram Lyon
24fc8d1292 Trans: Handling of conferencePaper and bookSection in RIS, also
handling of numPages. See http://forums.zotero.org/discussion/15376
and other discussion.
2010-11-30 22:04:27 +00:00
Simon Kornblith
070c8eb7a5 fix code mistakenly removed in r7384 2010-11-30 21:02:34 +00:00
Simon Kornblith
17466694bb fix error message display during Standalone startup 2010-11-30 20:59:21 +00:00
Simon Kornblith
add7bef0be Show a meaningful error message when multiple instances of Zotero are open simultaneously 2010-11-30 20:34:08 +00:00
Dan Stillman
a50167ac40 Add support for second-field-align to HTML mode 2010-11-27 00:03:25 +00:00
Simon Kornblith
de1df45444 don't disable animation when saving snapshots in Fx4, as this appears to result in a crash 2010-11-23 21:37:03 +00:00
Dan Stillman
5d622b91f0 Bibliography HTML: move line-height to root div and disable some comments 2010-11-22 20:40:08 +00:00
Simon Kornblith
c6f3e0b844 - Update to citeproc-js 1.0.81
- Fix "myxml.localName() is null" when using dates on non-base locales

Thanks to Frank for dealing with my pestering regarding locale behavior.

From citeproc-js 1.0.78:

Enable the proper parsing and rendering of seasons in ranged dates, in
the internal dates parser.

From citeproc-js 1.0.79:

Correct fault in locale fallback behavior.  Had been ignoring optional
default argument set in the processor.

From citeproc-js 1.0.80:

More fixes to locale selection behavior.

Provide a toggle to override the locale of a style with the locale set
on the processor at runtime.

From citeproc-js 1.0.81:

Yet more fixes to locale selection logic. Now uses en-US as ultimate
fallback, for any missing terms or missing locales.
2010-11-22 19:33:22 +00:00
Avram Lyon
93ffca6833 Trans: Fix for the new blog URLs layout of CHE 2010-11-22 19:24:48 +00:00
Dan Stillman
b2bcff1dac Disable debug output 2010-11-22 19:19:22 +00:00
Dan Stillman
fbee8ece40 Include inline CSS when generating HTML bibliographies
Rules based on primitive.css from citeproc-js demo, with some modifications

second-field-align is not yet supported
2010-11-22 19:18:54 +00:00
Simon Kornblith
62d2af7d4c fix calling search translators from web translators with different sandboxes 2010-11-21 02:52:50 +00:00
Simon Kornblith
87363fbe2e - update citeproc-js to 1.0.76
- fix issues with RTF export of brackets

From 1.0.71:
Variables (including names) should be (and have been) suppressed when
rendered via the cs:substitute node of cs:names.  Prior to this patch,
however, citeproc-js was unconditionally suppressing name variables
after their first use within a given cite, and this behavior differed
from the Zotero CSL 0.8.1 processor.  This patch restores the original
behavior, allowing names rendered outside of cs:substitute to be used
repeatedly within a cite.  (The only exception to this behavior is a
name rendered with et-al-min=1 and et-al-use-first=1, which will be
clipped from subsequent output within the same cite.)

The processor was using the localized close-inner-quote character for
apostrophes.  This caused problems in styles that use alternative
quotation marks.  The processor now uses a hard-coded apostrophe
character for apostrophes.

A bug in the normalization of names, for disambiguation purposes, that
contain punctuation or extraneous spaces has been fixed.

From 1.0.72:
Allow simple range, comma, and ampersand joins in the input to
cs:number, to permit "1st-2nd",  "xi-xv", etc.  When multiple numbers
are given, the following operations are performed: (1) ranges are
expanded and the numbers are converted to a list; (2) the resulting
list is sorted; (3) duplicates are eliminated; (4) ranges are
truncated; (5) numeric formatting is performed; and (6) appropriate
punctuation is applied to the result. (As of this writing, the use of
multiple numbers with cs:number is not covered by the CSL 1.0
specification, so this is an anticipatory change.  It is consistent
with the CSL 1.0 schema, however, and does not have any effect on
single input numbers. Production use of multiple number, issue,
volume, and edition variables should await the formal approval of a
CSL 1.0 schema change to allow the use of these variables with
cs:label, for contextual pluralization of any associated label.)

Eliminate space following a trailing apostrophe on a dropping-
particle, when immediately followed by the family name part in
rendered output.

Recognize multiple parameters to a position attribute on cs:if and
cs:else-if, per the CSL 1.0 schema.  For the fix, we eliminate cutted-
and-pasteded code from node_if.js and node_elseif.js, and consolidate
all position node-level position logic in attributes.js.

From 1.0.73:
Limit the recognition of multiple numbers to cases in which they are
separated by at least one space, to prevent the accidental
reformatting of things like "Document no. 1-3752,42".

From 1.0.74:
Recognize new Khmer locale for CSL provided by Hem Sras.

When parsing number ranges in the input to cs:number, abort parsing
when spread of range is over an arbitrary limit of 1000.

Support names-use-last attribute on cs:key. (Anticipatory change to
support upcoming change to CSL schema and specification.)

Use unicode ellipsis character rather than (nonexistent) locale term
when splicing author listings trucated with et-al-use-last.

From 1.0.75:
Do not apply decorative formatting to name suffixes.

Fix breakage in ordinal suffix formatting for days in a date.

For an all-lowercase name suffix (such as an explicit "et al."),
exclude the suffix from the name for disambiguation purposes, and
include it in the strict short form of the name in the short form of a
citation.

Add and recognize delimiter-precedes-et-al attribute, in line with
draft CSL proposal.

Implement grammatical gender sensitivity for ordinal suffixes, in line
with draft CSL proposal.

From 1.0.76:
Fix bug in locale processing, arising from the previous release, that
could trigger a processor crash.
2010-11-20 22:37:38 +00:00
Simon Kornblith
3a9adcc25e closes #1747, Improvements to OpenURL ContextObject support
patch thanks to Avram
2010-11-20 22:16:21 +00:00
Dan Stillman
7fb994feb0 Pushed Amazon and Google Scholar (thanks to ajlyon for fixes) 2010-11-18 06:12:54 +00:00
Avram Lyon
4fe5d40f00 Trans: Fixes to Google Scholar and Amazon 2010-11-18 03:53:17 +00:00
Avram Lyon
0a3c6c25ea Trans: Add support for name suffixes to PubMed translator. Requires Zotero 2.1 for best usage,
since the suffixes will be misinterpreted by the old csl.js citation processor.
2010-11-16 21:13:36 +00:00
Avram Lyon
9d6c7740c5 Trans: Nearly brand-new ACM translator submitted by John McCaffery 2010-11-16 19:17:59 +00:00
Avram Lyon
f4f7ab93e9 Trans: Fix for ToC parsing in Highwire 2.0, reported http://forums.zotero.org/discussion/15140 2010-11-15 21:39:20 +00:00
Dan Stillman
d4550807d8 Fix incorrect WebDAV error calls 2010-11-15 19:48:29 +00:00
Dan Stillman
a1865f5e18 Clear previousData after item save 2010-11-15 06:49:40 +00:00
Dan Stillman
e95a919c12 Display more helpful error message for nsIFile.remove() error 2010-11-14 00:38:05 +00:00
Simon Kornblith
3b1bc27c4c unzip XPI in Fx 4 2010-11-13 20:19:34 +00:00
Avram Lyon
cdae806a05 Trans: Fix for PLoS breakage when URL has GET variables (http://forums.zotero.org/discussion/10515) 2010-11-11 17:59:36 +00:00
Dan Stillman
faac550d73 Pushed Highwire 2.0 2010-11-10 10:17:41 +00:00
Dan Stillman
50df80a391 Push WilsonWeb, PubMed, Euclid, Project MUSE (and fix whitespace of JSON block, which Scaffold 2.0 saves as spaces instead of tabs) 2010-11-10 10:15:33 +00:00
Dan Stillman
0852de8234 Pushed EBSCO 2010-11-10 10:09:06 +00:00
Simon Kornblith
57eb90196c closes #1734, Map CSL number-of-pages to Zotero numPages
Thanks Frank, and sorry for overlooking this
2010-11-10 01:56:47 +00:00
Dan Stillman
edb5051fcc Update versions 2010-11-09 22:16:42 +00:00
Dan Stillman
593d90c29d Re-enable object element (without wildcard attributes) in notes on trunk and 2.1b2 tag 2010-11-09 21:06:57 +00:00
Dan Stillman
4e677668aa Fix empty single autocomplete row (fixed originally in r5179, accidentally reverted in r5596) 2010-11-09 19:34:18 +00:00
Dan Stillman
2d19dd6885 Update repotime 2010-11-09 18:29:12 +00:00