Commit graph

2657 commits

Author SHA1 Message Date
Dan Stillman
053b6dace3 Fix JS strict warning 2010-08-27 19:08:41 +00:00
Dan Stillman
6a629490b3 - Fix an XML parsing error (due to trailing whitespace, weirdly) that could cause endless sync icon spinning
- Remove extra whitespace in collection-item blocks that was causing sync upload errors (also fixed on the server)
2010-08-26 21:34:44 +00:00
Dan Stillman
4bc7ab9016 Add note that Commons processing could take a while 2010-08-26 06:32:24 +00:00
Dan Stillman
11f0b85db0 New ERIC timestamp from pushing 2010-08-26 04:30:49 +00:00
Dan Stillman
eec491fe7a Handle invalid filenames without failure during import
Export should be fixed to run exported filenames through getValidFileName()
2010-08-25 16:21:49 +00:00
Dan Stillman
e0c8e30161 - Include translator filename in error message on JSON parsing failure
- Recategorize Zotero.log() errors so they show up as chrome errors in Console2
2010-08-24 21:08:04 +00:00
Dan Stillman
f10da8c527 Don't die if /Users/Shared doesn't exist on OS X 2010-08-24 21:05:38 +00:00
Avram Lyon
10e5766d8f Fixed ERIC translator 2010-08-24 20:40:17 +00:00
Dan Stillman
b3aa705bfd Fixes #1713, Don't show Zotero Commons in Word Processor Plugins 2010-08-24 20:23:52 +00:00
Dan Stillman
23dae26408 Fix "JavaScript component threw a number as an exception" error (which is actually "Cannot move collection into one of its own descendents!") 2010-08-24 18:57:00 +00:00
Dan Stillman
744610ca5b Fix invalid JSON in NAA 2010-08-24 18:40:36 +00:00
Dan Stillman
eda8845f83 Existing translatorIDs should not be changed 2010-08-24 18:40:01 +00:00
Dan Stillman
d51088b1be Pushed Google Scholar 2010-08-23 08:49:32 +00:00
Avram Lyon
085e0883aa Adding GPL declaration for translators I personally wrote in their entirety. 2010-08-22 22:47:05 +00:00
Avram Lyon
903051e471 Rewritten Stuff.co.nz translator by Sopheak Hean. 2010-08-22 22:40:16 +00:00
Dan Stillman
c373786a1e Pushed JSTOR (thanks Avram) 2010-08-22 07:54:24 +00:00
Avram Lyon
ab6b3b16d9 Fixing PDF saving for JSTOR translator 2010-08-22 06:34:41 +00:00
Avram Lyon
24ace7c733 Fix for JSTOR translator, closes ticket #1715 2010-08-22 06:03:23 +00:00
Avram Lyon
99fba46ffc New Google Scholar translator by Frank Bennett 2010-08-17 15:13:36 +00:00
Simon Kornblith
4d91ec8f8b fix refresh operation 2010-08-16 08:52:13 +00:00
Simon Kornblith
2f671725b8 disable caching of citeproc-js items (for now) 2010-08-16 08:48:55 +00:00
Simon Kornblith
64f810dd5a fix issues inserting new citations with locators with accented characters (citations will still need to be reinserted) 2010-08-16 08:46:07 +00:00
Simon Kornblith
09ff9ec083 fix upgrading of documents with non-page locatorType 2010-08-16 08:19:12 +00:00
Simon Kornblith
ecd6309fbc update to citeproc-js 1.0.52
closes #1709: [patch] citeproc-js 1.0.51 compatibility patch: makeBibliography() return value
closes #1712: [patch] citeproc-js 1.0.52 compatibility patch

From Frank's notes for 1.0.52:

In this release, the following change may require accomodation
within the calling application:

 The processor quashes double spaces in the output.
 RTF control words can be terminated with a space, but
 this causes an immediately following space to be lost
 from the output. To avoid this, the RTF output mode of
 the processor has been adjusted to terminate RTF control
 words with {} rather than space. Applications that convert
 processor output between other formats (such as HTML)
 may need to be adjusted to accomodate this new behavior.

Also in this release:

 Reverse the RTF-related conservatism in the quashing
 of duplicate spaces that was introduced in 1.0.51.

 Add missing parens to suspect test condition (not
 related to any known bug).

From Frank's notes for 1.0.51:

The API return value changes slightly with this version:

 For styles that have no bibliography element, the command
 makeBibliography() now returns false, rather than a
 stub bibliography object.  Code adjustments in the
 calling application may be required to accommodate
 this change in behavior.

 In other bibliography and citation returns, the processor
 now provides new arrays, bibliography_errors and
 citation_errors respectively, with information on
 bibliography entries or cites that produce no meaningful
 rendered output.  Details are in the processor manual:

   http://gsl-nagoya-u.net/http/pub/citeproc-doc.html#handling-items-with-no-rendered-form

Also in this release:

 Fix string breakage affecting text-case="title".

 Fix over-aggressive quashing of spaces, which affected
 spacing following RTF entities.
2010-08-16 08:07:07 +00:00
Avram Lyon
be5f7baca3 New version of The Times translator by Andrew Brown. 2010-08-15 10:51:07 +00:00
Avram Lyon
f4d759ebf4 New version by Tim Sherratt 2010-08-15 10:32:24 +00:00
Avram Lyon
a0ecb645a8 Adding TV by the Numbers translator by odie5533 2010-08-12 15:30:48 +00:00
Avram Lyon
8bc1c0ad7e Adding The Nation translator by odie5533 2010-08-12 15:16:05 +00:00
Dan Stillman
a94675f402 Add better message for error Kaspersky users have gotten 2010-08-09 06:37:01 +00:00
Dan Stillman
c17336291b Display better messages for NS_ERROR_FAILURE file sync errors 2010-08-09 06:24:06 +00:00
Dan Stillman
1a7629a589 Closes #1710, Clipboard citation copy w/Ctrl-Alt-A always Ibid.
Frank's patch
2010-08-09 01:55:50 +00:00
Avram Lyon
f672b05d89 - Adding Sopheak's TVNZ translator.
- Adding reference book support to CrossRef
	per http://forums.zotero.org/discussion/12942
- Changing authorship of NZ Herald to match usual standard.
- Adding support for patent issue dates in RIS import and export
	discussed somewhere; patch has been laying about for some time
2010-08-09 00:08:23 +00:00
Avram Lyon
9aa227db6b Sopheak's new NZ Herald translator 2010-08-08 22:42:03 +00:00
Dan Stillman
521ab94e35 Ignore any mention of CVE-2009-3555 in error messages 2010-08-06 17:52:33 +00:00
Dan Stillman
bbc8f7812c Add ability to create Zotero Commons buckets via the UI
- "zc-test-" is currently prepended to bucket names
2010-08-06 17:42:14 +00:00
Dan Stillman
6ea7e3dd65 Fix error in Related Items dialog 2010-08-02 21:32:11 +00:00
Simon Kornblith
253ab1e86a closes #1567, Fullscreen does not restore 2010-08-02 02:55:05 +00:00
Simon Kornblith
021cbc8725 closes #1285, Add typeof checks to data read from scraper sandbox
use XPCSafeJSObjectWrappers to enforce security of everything coming out of translators. this seems to work, but needs testing.
2010-08-02 02:26:46 +00:00
Simon Kornblith
4037193f92 don't use deprecated Zotero.Utilities.isInt() function 2010-08-01 23:46:45 +00:00
Simon Kornblith
dff5adf480 addresses #699, Reconcile Zotero item types with CSL schema
maps dictionaryEntry and encyclopediaArticle to entry-dictionary and entry-encyclopedia respectively (instead of chapter)
2010-08-01 23:11:38 +00:00
Simon Kornblith
63f346b504 closes #1609, Bibliography printing broken
this currently leaks a hidden browser object, since deleting it seems to cause the print command to fail. this may not be a big issue, since this feature is used so rarely anyways...
2010-08-01 20:34:29 +00:00
Simon Kornblith
fe37dc73e1 restore copyright notice to citeproc.js (accidentally removed in last commit) 2010-08-01 20:16:14 +00:00
Simon Kornblith
685338b41a update to citeproc-js 1.0.50
From Frank's announcements:

In 1.0.45:

 Fix duplicate terminal punctuation
 affecting bibliography output.

 Eliminate dereferencing assignments, for
 compatibility with some JS implementations.

 Suppress duplicate spaces affecting some
 styles.

In 1.0.46:

 Add option to updateItems() and updateUncitedItems()
 to suppress sorting of the bibliography.

In 1.0.47:

 Fix a duplicate space issue.

 General refactoring of code for identifying an quashing
 duplicate punctuation and spaces.  The code should be
 easier to control when further issues involving punctuation
 arise down the road.

 Provide for replacement of the citation number in
 numbered styles with a slug, so that strings in a
 bibliography listing can be used in a template
 without rerendering.  This is useful in some server-side
 applications.

In 1.0.48:

 Permit author to vary between parallel citations. Useful
 for French case-and-commentary string cites.

 Permit author to vary between parallel citations. Useful
 for French case-and-commentary string cites.

 Fix bug in short form title support.

 Further fixes to quashing of duplicate punctuation
 and spaces.

 Fix issues with bibliography slug.

 Provide for parsing experimental variables out of the
 content of the note variable.  For use in advance
 testing of styles that require changes to the variables
 available in CSL, or supplied by the calling application.

In 1.0.49:

 Extend support for "parallel" legal citations to include
 case and comment string citations used in French legal
 writing.

 Fix XML parsing code in xmldom.js to screen XML comments
 from the processor.  Thanks to Carles Pina for reporting
 this fault (relevant to non-Firefox, non-gecko browsers).

 Tighten up conditions for suppression of the trailing year
 where the volume number and the year have the same value.
 Suppression will no longer occur when the rendered date
 contains additional details (day, month).

 Throw a more meaningful error when an invalid locale
 is requested.  Thanks to Carles Pina.

 Fix missing definition of quotes="false" in formats.js.
 Thanks to Carles Pina.

 Fix bug in handling of capitalized characters used in
 citeproc-js hackaround for multi-character initials.

In 1.0.50:

 Apply output-mode-specific text_escape function to
 affixes and delimiters.

 Strip XML declaration from CSL and locale strings
 received for parsing in the xmldom.js module.

 Add paranoia fallback to handle comment nodes that
 sneak past the XML parser.
2010-08-01 20:14:51 +00:00
Simon Kornblith
8fe9c5e9e7 closes #1684, checkbox to temporarily disable proxy code
also adds a parameter to disable proxy redirection by domain (although if I had known how much work would be involved in implementing this before I started, I wouldn't have bothered)
2010-08-01 20:10:18 +00:00
Simon Kornblith
84fcd7d4b8 oops: there is no wrappedJSObject for collectionsView 2010-08-01 19:57:42 +00:00
Simon Kornblith
b285f6a7d4 closes #1705, [PATCH] Item cited in document not reselected when cite reopened for editing 2010-08-01 19:56:45 +00:00
Simon Kornblith
c9003f1f40 closes #1706, [PATCH] Item with non-ASCII characters corrupted on save when Show Editor is open
The problem here was that entities weren't properly being encoded as Unicode RTF when the editor was used, because TinyMCE was replacing high characters with HTML entities that were not properly decoded. This is now fixed.
2010-08-01 19:53:08 +00:00
Simon Kornblith
cb1446fdea make install.rdf claim 4.0 compatibility on trunk 2010-07-29 18:40:05 +00:00
Dan Stillman
c7f025519b Fixes #1696, Group item reported missing from Zotero library on next citation edit
Was breaking when libraryID!=groupID
2010-07-26 17:43:58 +00:00
Simon Kornblith
d7ff547e2f Fix parse error in MODS translator 2010-07-26 03:29:42 +00:00