Commit graph

2520 commits

Author SHA1 Message Date
Simon Kornblith
cfe5bb5737 replace String.trim() method with Zotero.Utilities.trim(). while String.trim() is a great idea, it was introduced in Firefox 3.5, and so isn't available to some Zotero users. 2010-06-10 02:50:25 +00:00
Dan Stillman
a687c9d547 Pushed Amazon 2010-06-10 02:49:57 +00:00
Avram Lyon
a2936942dc Fixing query to AWS by trimming newlines from ASIN, per http://forums.zotero.org/discussion/13011/ 2010-06-10 02:32:25 +00:00
Avram Lyon
d864ea457d Adding translator for Russian journal aggregator, "Zhurnalnyi zal". 2010-06-08 20:55:55 +00:00
Avram Lyon
5befc94ad7 Adding RFE/RL translator. 2010-06-08 20:37:19 +00:00
Avram Lyon
005b068248 koenigs's fixes to IEEE Xplore, per http://forums.zotero.org/discussion/10904
and zotero-dev discussion
2010-06-08 01:10:08 +00:00
Avram Lyon
ae62b09858 Regex fix for AMS MathSciNet, per http://forums.zotero.org/discussion/7895 2010-06-07 02:03:50 +00:00
Avram Lyon
3c3fb6e06a Fixing date updated for Highwire 2.0 translator 2010-06-07 00:59:13 +00:00
Avram Lyon
8e8dad2797 Fix for Highwire 2.0 journals, per http://forums.zotero.org/discussion/9492/ 2010-06-07 00:57:39 +00:00
Avram Lyon
8225c417dd New version of CSA translator, per discussion at http://forums.zotero.org/discussion/11969 2010-06-06 23:20:52 +00:00
Avram Lyon
cbc6d58e8e Removing broken translator for American Meteorological Society, see
http://forums.zotero.org/discussion/12095/ for details.
The DOI translator will work for now, until a new translator can be
written.
2010-06-06 23:18:33 +00:00
Simon Kornblith
25f3b150e4 - update to citeproc-js 1.0.24
From Frank's 1.0.23 announcement:
 Cope with two disambiguation cases, involving add-names and
 add-givenname, that succeeded in crashing the processor.

From Frank's 1.0.24 announcement:
 Cope with item IDs of numeric type, and roll back
 one patch from 1.0.23 that becomes unnecessary as
 a result.

Together, these updates fix several issues with citation previewing.
2010-06-06 06:46:10 +00:00
Simon Kornblith
d0441d334e commit Rintze's changes to translate.js for Scaffold compatibility 2010-06-06 03:11:24 +00:00
Simon Kornblith
546641aa44 closes #1055, Refine tab order in Word plugin 2010-06-06 01:37:10 +00:00
Simon Kornblith
15977ba5b1 allow selecting first list item after clicking "Multiple Citations..." button (don't know why this didn't work, and don't know why this fixes it) 2010-06-06 01:25:34 +00:00
Simon Kornblith
5284da05af - return "Keep Citations Sorted" checkbox
- update to citeproc-js 1.0.22
From Frank's announcement:

- Bypass sorting of citations that have a value for "unsorted"
 in citation.properties.

This permits per-citation override of style-driven citation sorts, as
supported by Zotero and required for some common use cases.
2010-06-06 00:57:47 +00:00
Simon Kornblith
75374af5af - add Frank's citation re-ordering patch, with a few changes
- fix error when canceling citation add after editing
2010-06-06 00:01:11 +00:00
Dan Stillman
41f39aa4e8 Pushed The Times UK, Mainichi Daily News, Open WorldCat 2010-06-05 20:32:21 +00:00
Dan Stillman
77c851031f Pushed CTX 2010-06-05 20:25:39 +00:00
Dan Stillman
ab0184688c Pushed PubMed 2010-06-05 20:23:22 +00:00
Simon Kornblith
635ec386fd commit Avram's XML OpenURL ContextObject/FreeCite translator 2010-06-05 18:36:07 +00:00
Simon Kornblith
0f83076252 commit Avram's update PubMed translator 2010-06-05 18:17:05 +00:00
Simon Kornblith
f5630a38cf update lastUpdated time on previous translator commits 2010-06-05 18:12:01 +00:00
Simon Kornblith
84c83c7f99 Fix invalid translator JSON 2010-06-05 18:07:09 +00:00
Simon Kornblith
35e097b664 unedited citations should not have a "custom" attribute 2010-06-05 17:58:20 +00:00
Simon Kornblith
f0f22009c4 - fix (most) unnecessary citation update issues
- switch Zotero.JSON to native Firefox JSON support
- update to citeproc-js 1.0.21

From Frank's announcement:
In this release:

- Tighten up internal "NUMERIC" update_mode to mean styles that render
citation-number in citations (renderings in the bibliography are now
ignored for purposes of setting this flag).

- The numeric styles fix introduced at version 1.0.17 broke with
styles that sort the bibliography on anything other than citation-
number (i.e. document first-reference order).  With this release,
arbitrary sorts of the bibliography work with numeric styles.

- Position evaluation code is now invoked only in styles that make use
of position testing (to save a few cycles).

- Numeric styles now perform targetted citation updates correctly.
2010-06-05 17:49:04 +00:00
Simon Kornblith
e44dcb1bb4 fix excessive processCitationCluster calls 2010-06-03 22:30:32 +00:00
Simon Kornblith
0726ace6e9 add CSL files to our repository, rather than using svn:externals, to fix XPI build errors on the server 2010-06-03 03:55:42 +00:00
Simon Kornblith
69a962be90 return false when a locales file cannot be found, instead of throwing an error 2010-06-03 03:09:10 +00:00
Simon Kornblith
7b062f3b15 - update to citeproc-js 1.0.20
From Frank's announcement:
This release adds some further fine-tuning to disambiguation, and now
retains all names added by disambiguate-add-names when a year-suffix
is added to a cite.  Also fixes a bug affecting cites containing lone
institutional authors.

- hopefully fix issues with loading locales from the XPI
2010-06-03 02:56:29 +00:00
Simon Kornblith
6086f4571d alphabetize about box properly 2010-06-01 18:33:07 +00:00
Simon Kornblith
3fa9305a74 - dual column about box
- add attribution for Tabulator and py-appscript
2010-06-01 18:31:53 +00:00
Simon Kornblith
1ef2c3409c -Update to citeproc-js 1.0.19
From Frank's announcement:
This release allows use of the code under either the current CPAL
license, or under the AGPLv3, at the option of the developer or
project integrating the code.

- Change link to xbiblio to CitationStyles.org and add attribution for citeproc-js
2010-06-01 18:07:03 +00:00
Simon Kornblith
0aee953bf6 Update to citeproc-js 1.0.18
From Frank's announcement:
This release fixes a small issue in disambiguation, which could cause
initials or full given names to be retained where they are not
necessary to achieve disambiguation, under certain fairly rare
conditions.

This also includes a very small change to the regexp used to identify
numeric content in numeric fields, support for RTF and plain text
output (courtesy of Simon), and a modification to the ./test.py
script, adding a -E option that dumps a version of the processor with
embedded E4X support, suitable for drop-in inclusion in current Zotero
2.1.
2010-06-01 06:47:02 +00:00
Simon Kornblith
97d5483f80 integrate citeproc-js 1.0.17; should fix IEEE issues 2010-05-31 21:25:56 +00:00
Dan Stillman
7cc02abaa9 Updated BibTeX with Olivier/noksagt/Frank's patch 2010-05-31 18:15:14 +00:00
Simon Kornblith
d121f5f150 eliminate unnecessary updateItems() calls, fix changing citations in a document, and several other bug fixes
issues with IEEE remain
2010-05-30 19:06:41 +00:00
Simon Kornblith
3f934828d0 fix typo 2010-05-30 12:43:26 +00:00
Simon Kornblith
dcdef746e5 automatically apply XSLT to convert CSL 0.8 styles to CSL 1.0 styles on the fly
do we want to re-save the converted files over the old ones?
2010-05-30 12:39:48 +00:00
Simon Kornblith
67fb2f6fc2 use svn:externals to acquire locales 2010-05-30 12:14:13 +00:00
Simon Kornblith
4fed717f05 temporarily remove locales 2010-05-30 12:13:40 +00:00
Simon Kornblith
bd0a4a3b96 Use citeproc-js as CSL parser. There is an issue with multiple citations in numbered styles that I will probably need Frank's help to track down, but otherwise, this seems to work. Many things are completely untested, including EndNote style support. Currently requires CSL 1.0 styles. In the near future, I hope to use the XSLT stylesheet to transform CSL 0.8 to CSL 1.0.
closes #1650: suppress author does not work for multiple sources
closes #1505: Edit Biblography Button Strips Year Disambiguation
closes #1503: Editing a bibliography resets all reference numbers to 1 (new)
closes #1262: Broken pluralization with et al. + other issues
closes #1238: Localize quotation marks
closes #1191: Harmonize 'plural/pluralize' label attribute with CSL schema
closes #1154: Only one works page numbers are added to the citation are when citing multiple works by the same author
closes #1097: Disambiguation issues
closes #1083: Defect in IEEE CSL with Multiple Citations
closes #993: more sophisticated subsequent-author-substitute
closes #833: text-transform doesn't work with name
2010-05-30 11:25:25 +00:00
Dan Stillman
79d3122f58 Slightly modified version of Frank's BibTeX patch for "January" issue 2010-05-29 23:17:50 +00:00
Dan Stillman
eb52e48913 Closes #1079, Chronicle of Higher Ed problem
Pushed updated translator from ajlyon
2010-05-27 17:30:38 +00:00
Dan Stillman
85b170db2a Pushed Google Books 2010-05-27 17:29:19 +00:00
Dan Stillman
9a27afb069 Pushed Informaworld 2010-05-18 17:31:42 +00:00
Dan Stillman
3adb9c8391 Fix NS_ERROR_XPC_NOT_ENOUGH_ARGS when reading blob from database (which currently can happen only in the case of bad data) 2010-05-13 07:42:28 +00:00
Dan Stillman
0821e34b20 WebDAV server SSL error wasn't being properly displayed 2010-05-11 19:49:22 +00:00
Dan Stillman
e7ba86216e Fix startup error due to incorrect integration pipe permissions 2010-05-10 21:13:52 +00:00
Dan Stillman
c83d64ad0d Fix constant syncing due to future-dated items 2010-05-05 18:07:01 +00:00