Commit graph

1794 commits

Author SHA1 Message Date
Dan Stillman
fe6713b358 Fix CSS parsing errors (which possibly meant the affected rules aren't necessary) 2010-08-27 19:16:29 +00:00
Dan Stillman
476a5b385d Fix JS strict warning 2010-08-27 19:11:13 +00:00
Dan Stillman
e437ecce6b Fix JS strict errors 2010-08-27 19:10:06 +00:00
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
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
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
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
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
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
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
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
aec3c4381f closes #1699, Simplified _zoteroFieldMap for citeproc-js (thanks to Frank) 2010-07-26 01:01:18 +00:00
Simon Kornblith
e6a97b46b2 closes #1698, bookAuthor -> container-author CSL mapping (thanks to Frank) 2010-07-24 17:41:56 +00:00
Dan Stillman
d8db1cd61f Store a space in WebDAV lastsync file to work around a server issue where timestamp of an empty file isn't updated on PUT 2010-07-23 18:07:53 +00:00
Simon Kornblith
d022b966fe tweak date regexp to handle WTN8601 properly 2010-07-21 19:52:28 +00:00
Dan Stillman
0acaf22576 Fix Edit Bibliography window on trunk (related to Fx2/3 code removal) 2010-07-13 19:07:08 +00:00
Dan Stillman
ccae2e0b7c Fix error removing >1000 items from a tag (due to compiled SQLite limit) 2010-07-13 19:00:58 +00:00
Dan Stillman
0b83c8c166 Auto-empty trash items older than 30 days by default
- Warning needed on upgrade about this
- Controlled by trashAutoEmptyDays hidden pref, with 0 disabling the functionality
2010-07-13 18:33:47 +00:00
Dan Stillman
9dad2c6048 Commons:
- Use same character-stripping logic as IA when looking for RDF file
- Better handling of empty RDF files
2010-07-13 17:47:01 +00:00
Dan Stillman
2d0874dd66 Remove old Commons code 2010-07-12 17:45:22 +00:00
Dan Stillman
43c0ae9e8a Commons: Fix authentication issue involving files with semicolons or other extended chars, but more fixes are needed on IA side 2010-07-12 17:36:05 +00:00
Simon Kornblith
8068c17f8f closes #1689, When editing a citation, the reference is not selected if it does not exist in the currently selected collection within the Zotero pane 2010-07-12 11:24:29 +00:00
Simon Kornblith
3571b41d95 pick running copy of Word for Mac as AppleScript target 2010-07-12 10:46:25 +00:00
Simon Kornblith
3b0ee0285b add SID to generated openurl 0.1 URLs 2010-07-11 08:02:28 +00:00
Dan Stillman
395833b940 Restore setTimeout() call removed in previous commit 2010-07-09 20:48:10 +00:00
Dan Stillman
92383c7f20 Addresses #1037, Remove Firefox 2.0/3.0-specific code 2010-07-09 20:25:17 +00:00
Dan Stillman
84cf9d8cbe Closes #1037, Remove Firefox 2.0/3.0–specific code 2010-07-09 20:10:43 +00:00
Dan Stillman
973d2cd38c Fix version in newer DB version error message (trunk and branch) 2010-07-09 05:16:13 +00:00