Commit graph

2097 commits

Author SHA1 Message Date
Simon Kornblith
23edf0d415 merge citeproc-js 1.0.108 from multilingual 2011-02-06 00:43:20 +00:00
Simon Kornblith
e81390b177 forward compatibility with standalone translation
(see http://www.zotero.org/support/dev/zotero_2.1_and_zotero_standalone_for_developers)
2011-02-06 00:17:22 +00:00
Dan Stillman
8479aef5f9 Possible fix for "script stack space quota is exhausted" download sync error (trunk) 2011-02-04 09:00:05 +00:00
Simon Kornblith
d43dbefc4e fix Fx 3.6 compatibility, accidentally broken by last commit 2011-02-04 03:52:53 +00:00
Simon Kornblith
f1909346d9 - fix notes in Firefox 4 beta (broken due to bug 628410)
- fix notes in the tab (this seems like an unnecessarily complex solution, but it works)
2011-02-04 03:51:33 +00:00
Simon Kornblith
b22894006a more Fx 3.6 fixes 2011-02-03 20:51:41 +00:00
Simon Kornblith
f4f326601d support Zotero tab in Fx 3.6 2011-02-03 20:46:48 +00:00
Simon Kornblith
dcb440d458 update to citeproc-js 1.0.106
Fix a flaw in disambiguation logic that could result in a processor
hang, when a creator list with fewer names than its predecessor
required additional names to accomplish disambiguation.

Include the year-suffix as a sortable number string in dates used as
sort keys. Citations that include a year-suffix will now sort
correctly within the citation.

Restore XML to defaults before creating E4X objects.

Repair the processor demo page, which broke after revision 1.0.95.
2011-02-03 20:27:18 +00:00
Simon Kornblith
0578c01899 fix some cases where multiple Zotero tabs could be open 2011-02-03 20:22:56 +00:00
Simon Kornblith
e26b292324 let toggleTab() take an explicit mode argument 2011-02-03 07:20:02 +00:00
Simon Kornblith
90b7380563 more tab code changes 2011-02-03 07:17:55 +00:00
Simon Kornblith
9dd8a7119d remove some debug code 2011-02-03 07:10:19 +00:00
Simon Kornblith
9d50ee9317 closes #1750: Show determinate progress bars for import/export 2011-02-03 07:04:14 +00:00
Simon Kornblith
fbb7f79689 appropriately handle case where tab is loaded before window finishes loading 2011-02-03 05:35:47 +00:00
Simon Kornblith
b001c5433f fix a few issues opening the zotero pane 2011-02-03 05:05:11 +00:00
Simon Kornblith
c722bbff56 ditch ZoteroPane.getActiveZoteroPane() and just make window.ZoteroPane refer to either tab or pane, depending on which is active 2011-02-03 05:00:08 +00:00
Simon Kornblith
ddcdfb6961 closes #1779: Some CSLs can only be parsed once
Restore global XML properties when Zotero.Cite.makeFormattedBibliography() is complete. At some point, we should probably modify our existing uses of E4X not to rely on these properties being set to their defaults.
2011-02-02 22:18:34 +00:00
Simon Kornblith
0a4fe5725e update to citeproc-js 1.0.105
From 1.0.100:

Allow institutional names to collapse correctly when cite collapsing
options are in effect.

Add an option to identify Vietnamese names and format them correctly
(i.e. always family name first). There is a small possibility of false
positives, so the option is off by default. See the processor manual
for details: http://gsl-nagoya-u.net/http/pub/citeproc-doc.html

From 1.0.101:

Add sortkeys array to skeleton items received during
restoreProcessorState() if it is undefined. Avoids a processor crash
on the first Zotero 2.1 connection to a Zotero 2.0.9 document.

From 1.0.102:

When rendering non-ranged cites collapsed  with collapse="year-
suffix", and the year suffix is implicit (not being rendered through a
cs:text node with variable="year-suffix"), add the necessary splice
delimiter details to the number object.

Protect against undefined name.multi.main when checking headline names
for a name tag.

From 1.0.103:

Add a reference to item data in registry objects.

Provide a registry method getSortedRegistryObjects() to return current
bibliography data.

Document new registry method in processor manual.

From 1.0.104:

Make restoreProcessorState() notice that the sequence of citations has
changed, and assign fresh citation IDs to duplicate citations in the
input.

From 1.0.105:

Assure that all ids passed into an array or as a straight variable are
stringified. Loosen condition statements where appropriate to treat
numeric IDs of string and numeric type as equivalent.
2011-02-02 06:49:20 +00:00
Simon Kornblith
a9132a2be2 addresses #1773, RDF read from disk works once, fails after
This fixes some issues with streams being closed due to overzealous garbage collection in Firefox 3.6. I'm not sure if this is the same as #1773 or not, but it certainly produces export errors.
2011-02-02 05:42:16 +00:00
Simon Kornblith
0a91608268 fix for a last-minute Fx 4 API change. this at least gets the translator infrastructure working, but the API change may result in a good amount of translator breakage as well. 2011-02-02 04:39:42 +00:00
Simon Kornblith
623e2dd150 move last line of embedded js in overlay.xul to overlay.js 2011-02-01 10:51:59 +00:00
Simon Kornblith
df28ad6e76 should probably have thought harder before the last commit. change all lets to var, since it doesn't make a difference in this scope. 2011-02-01 07:24:59 +00:00
Simon Kornblith
4283134d32 don't throw on locale not found, just return false 2011-02-01 07:24:01 +00:00
Simon Kornblith
156f2be269 closes #1771, citeproc-js breaks initial Quick Copy drag after Firefox startup
caused by an XHR, which inexplicably breaks dragging behavior
2011-02-01 07:23:01 +00:00
Simon Kornblith
3b78e8ff39 also change back init call 2011-02-01 07:05:29 +00:00
Simon Kornblith
f326fb2aad change back pref key 2011-02-01 06:31:34 +00:00
Simon Kornblith
c107fcf18a don't try to update keyElem when there is no open zotero key 2011-02-01 06:24:52 +00:00
Simon Kornblith
3bcd421f07 add getActiveZoteroPane() call to global Zotero object 2011-01-31 20:28:42 +00:00
Simon Kornblith
25fbec095f fix hasBibliography call for dependent styles 2011-01-31 20:16:06 +00:00
Simon Kornblith
d6c160fb5b fix tab loading issues 2011-01-30 10:08:38 +00:00
Simon Kornblith
a3fe51e8a5 fix another typo 2011-01-30 09:54:32 +00:00
Simon Kornblith
faf2f539f3 fix typo 2011-01-30 09:53:22 +00:00
Simon Kornblith
02efb56902 fix some ZoteroPane references 2011-01-30 09:52:51 +00:00
Simon Kornblith
ecf0f3397c Zotero as a tab. This may need to be backed out for 2.1 depending on the amount of trouble it generates. 2011-01-30 09:44:01 +00:00
Dan Stillman
e1c770bef7 Remove Full Sync option from preferences 2011-01-29 01:24:47 +00:00
Simon Kornblith
621af3b301 fix import failure when an attachment has no path or uri 2011-01-28 22:48:07 +00:00
Simon Kornblith
d850b290aa fix automatic import based on MIME type 2011-01-28 22:19:00 +00:00
Simon Kornblith
ee00d32117 update to citeproc-js 1.0.99
From 1.0.94:

The input format for multilingual data changes in this version.  The
change affects only multilingual data; ordinary input is not affected.

The previous multilingual input format, intended only for testing,
relied on string parsing to identify multilingual data embedded in a
given field. While this strategy worked for initial testing (its sole
intended purpose), it is cumbersome and potentially fragile.

The multilingual input data format recognized beginning with this
version of citeproc-js separates multilingual content properly into
separate elements, resulting in simpler design and more robust
operation.

The change to the multilingual input format is not backward
compatible; in the unlikely event that any  existing projects have
relied upon the old format, adjustments will be required to run this
version of the processor.

From 1.0.95:

Render multilingual names atomically, and do not modify the content of
names objects during processing. This permits implementation of
alternative name forms, needed to accomodate a new style rule in
scientific publishing, that permits author names to be given in the
original script alongside the romanized form.

Implement the rendering of original name forms, where an alternative
form of the name is used for the primary rendering.

From 1.0.96:

Fixes a global variable assignment. Important for stability.

From 1.0.97:

Replace the methods setLangTagsForCslNameTransliteration() and
setLangTagsForCslTitleTransliteration() with a single method
setLangTagsForCslTransliteration().

Change the multilingual parameters available through the default-
locale attribute of style files (parameters used primarily for
testing, not production) to reflect the API change described above.

Add method setOriginalCreatorNameFormatOption() to the control API.
This allows the name ordering and initialization conventions of
transliterated names either to track those of the original language,
or to follow the conventions of the target script.

Document new setOriginalCreatorNameFormatOption() method and  the
previously added method setOriginalCreatorNameFormsOption() in the
processor manual, and update the description of testing parameters
available via the default-locale attribute.

From 1.0.98:

Properly honor et-al-subsequent-min when it is smaller than et-al-min
(which it ordinarily is).

From 1.0.99:

Fix loop constraint variable misassignment that was a likely cause
behind the word processor plugin stability issue reported in the
following discussion thread:

http://forums.zotero.org/discussion/15777/error-updating-openofficeorg-document-in-21b/
2011-01-26 19:04:08 +00:00
Sean Takats
f10381a84e Trevor is dead, long live Debbie. Faolan is "promoted." 2011-01-26 02:07:51 +00:00
Simon Kornblith
9408d468f7 hide browser chrome on zotero apptab 2011-01-24 19:41:44 +00:00
Simon Kornblith
1a3d616c2d - add support for Zotero as a separate tab (currently only via loading chrome://zotero/content/tab.xul)
- tweak twisty appearance on OS X (highlight-on-click is gone, but this seems preferable to the previous behavior)
- simplify chrome.manifest for standalone
2011-01-24 10:29:36 +00:00
Dan Stillman
bd796aec41 Fix prompt after restart on Restore from Server 2011-01-21 06:21:26 +00:00
Simon Kornblith
762d51059d fix automatic standalone migration on Linux 2011-01-17 21:53:49 +00:00
Simon Kornblith
f4ac1c0b55 don't show proxy options in standalone 2011-01-17 17:14:58 +00:00
Simon Kornblith
efe3121805 allow setString to be called multiple times over the lifetime of a Zotero.Translate object
fixes issues retrieving multiple items from Google Scholar
2011-01-17 16:14:21 +00:00
Simon Kornblith
daada078a2 fix file import bug 2011-01-17 15:48:05 +00:00
Simon Kornblith
d7dc47f3f5 revert a line of code accidentally included in r7734 2011-01-17 07:43:58 +00:00
Simon Kornblith
259c286db7 - fix export when dataMode is undefined (translate architecture should assume plain text)
- don't use "null" as a file extension
2011-01-17 07:42:22 +00:00
Simon Kornblith
a552bb19bd hide "get word processor plug-ins" link in standalone 2011-01-14 21:25:05 +00:00
Simon Kornblith
06e446a527 Only start dummy statement when backup completes if it was running before backup. Fixes broken upgrades in 2.1b3. 2011-01-14 20:28:29 +00:00