Commit graph

1669 commits

Author SHA1 Message Date
Simon Kornblith
4ebf38629d use new-style Zotero.Translate constructors in browser.js 2011-03-02 02:50:31 +00:00
Simon Kornblith
e37dc98ef9 check whether gBrowser exists during init() without actually accessing it 2011-03-02 02:08:05 +00:00
Simon Kornblith
f834e3f63e update to citeproc-js 1.0.118 2011-03-01 22:43:34 +00:00
Simon Kornblith
942275a0ae - put view context menu options at top of context menu
- tweak locate menu items to appear under more appropriate circumstances
2011-03-01 22:40:56 +00:00
Simon Kornblith
a41841eb2b Properly close files following detection 2011-03-01 21:41:13 +00:00
Simon Kornblith
ebd7df3862 remove debug code 2011-03-01 06:14:13 +00:00
Simon Kornblith
6124e1571c bring integration windows to foreground on Windows using ctypes 2011-03-01 06:13:43 +00:00
Simon Kornblith
2e0d6aa4ec make Zotero.Integration.execCommand() synchronous on Fx 4 2011-03-01 05:31:20 +00:00
Dan Stillman
3c1bb02c9f Maybe fix an edge case sync error 2011-02-28 00:25:44 +00:00
Dan Stillman
1ccc84eb42 Return formatted item data values in Item.toArray() and Item.serialize() rather than raw strings (to fix messy date values for certain item types on export) 2011-02-27 21:52:40 +00:00
Simon Kornblith
18fb900855 closes #1799: Dragging a file into the Zotero tab (but not pane) in Firefox 3.6 causes Firefox to try to load the file 2011-02-24 04:56:10 +00:00
Simon Kornblith
4cd1dc039c fix some issues when attempting to perform an action on multiple items simultaneously 2011-02-24 04:28:17 +00:00
Dan Stillman
e026b1f886 Catch a sync error involving file.lastModified 2011-02-23 18:36:30 +00:00
Simon Kornblith
57a38e19cb serialize data when tree is modified` 2011-02-22 18:43:05 +00:00
Simon Kornblith
826a0eb5e3 still call Zotero.wait() when not using QuickCopy 2011-02-22 18:42:24 +00:00
Simon Kornblith
83d98dae19 - fix broken QuickCopy export
- fix dragging issues caused by Zotero.wait()
2011-02-22 18:30:31 +00:00
Dan Stillman
bfbfd07910 Automatically correct invalid timestamps on sync error 2011-02-22 02:45:31 +00:00
Simon Kornblith
ad31324b2c use http://www.zotero.org/* URIs for BIBO UserItems 2011-02-22 00:39:52 +00:00
Simon Kornblith
4bfbaf5747 closes #1791, add locate options to context menu 2011-02-22 00:02:05 +00:00
Simon Kornblith
73857fbba7 allow "View Online" for file:/// URIs in attachments 2011-02-21 22:27:39 +00:00
Dan Stillman
ff93acd5f5 Fixes #957, PDFs with extended characters aren't indexed
Now fixed for real. Required a function change on our end.
2011-02-21 09:04:49 +00:00
Dan Stillman
be2e5d680f Fix breakage from r8279 2011-02-19 04:19:22 +00:00
Simon Kornblith
79b3c5c703 revert r8278 2011-02-19 01:48:24 +00:00
Simon Kornblith
fcd3ef0c80 make view online use file:/// URI from parent item in order to handle bizarre use case 2011-02-19 01:17:15 +00:00
Simon Kornblith
db8d2543db Update to citeproc-js 1.0.114 2011-02-19 01:04:01 +00:00
Simon Kornblith
e82968304f fix sync icon spinning in Zotero tab 2011-02-19 00:58:08 +00:00
Dan Stillman
a342cb3546 Always favor PDF attachments over non-PDF attachments 2011-02-17 04:06:18 +00:00
Dan Stillman
091326b7e6 Fix "Reset Translators" and "Reset Styles" in the prefs 2011-02-17 02:19:00 +00:00
Simon Kornblith
8242acd067 update citeproc-js to 1.0.113
From Frank's release notes:

Apply formatting set on family name parts to institutions as well.
2011-02-14 23:21:57 +00:00
Simon Kornblith
20f38fa773 restore live updating in csledit.xul 2011-02-14 16:56:44 +00:00
Dan Stillman
2324992ac3 Don't do anything on double-click of Unfiled Items 2011-02-14 07:44:22 +00:00
Dan Stillman
393a6d87fe Unless we find anything better, use stack of papers for Unfiled Items icon 2011-02-14 07:11:06 +00:00
Simon Kornblith
4d7c1238b0 virtual treesource, rev. 4 2011-02-14 05:50:41 +00:00
Simon Kornblith
e8cdb543e9 virtual saved search, rev. 3 2011-02-14 05:48:27 +00:00
Simon Kornblith
2f616a84d8 restore to previous icon 2011-02-14 05:39:30 +00:00
Simon Kornblith
d97d60a675 mac virtual saved search icon, second possibility 2011-02-14 05:37:14 +00:00
Dan Stillman
4577b3d27e Use virtual search icon for Unfiled Items 2011-02-14 05:33:08 +00:00
Simon Kornblith
da0bba1358 icon for OS X virtual saved search, rev. 1 2011-02-14 05:28:14 +00:00
Dan Stillman
f7a0602b3b Show "Unfiled Items" in personal library by default 2011-02-14 04:57:38 +00:00
Dan Stillman
1e60f8947a Closes #745, Add Unfiled search condition
Adds "Show Unfiled Items" context menu to libraries, which adds a virtual saved search for unfiled items. Right-click, Remove to hide. Per-library visibility is saved in prefs and persists across restarts.

Implemented as 'unfiled' search condition, but not accessible via search UI

Should probably use a different color icon to differentiate from real saved searches
2011-02-14 03:59:32 +00:00
Simon Kornblith
1908001230 - get rid of svg toolbar glow, which wasn't working before anyway
- use icons with higher contrast edges in some cases on OS X
2011-02-13 23:51:50 +00:00
Dan Stillman
ee8956c70d Closes #1711, [patch] Display Civil Law case information 2011-02-13 22:29:31 +00:00
Dan Stillman
eb5711c87c Fix some deprecated calls 2011-02-13 18:46:34 +00:00
Simon Kornblith
d8966467dc - show title in separate notes window
- fix issues entering new tags into tags popup
- add back left/right tinymce borders on non-OS X
2011-02-13 08:50:24 +00:00
Simon Kornblith
95a64b9d5e update to citeproc-js 1.0.112
From Frank's release notes:

Avoid carrying year-suffix forward to a following reference when
performing position-sensitive citation updates.
2011-02-13 06:27:35 +00:00
Simon Kornblith
e381b552d0 Modifications to notes and attachments box appearances:
- attachment notes box is now located at bottom, with linked items options above it
- notes no longer display the parent item title. I think this is a waste of space, but if someone wants it back, I can do that
- notes editor spans entire pane
- notes editor does not have gray borders on left or right
- metadata display in notes and attachments boxes is consistent with metadata display in item pane
2011-02-13 06:16:06 +00:00
Simon Kornblith
39cd0264cd run another resize operation on a timeout to fix standalone issues 2011-02-13 03:56:33 +00:00
Simon Kornblith
fd9e25fa29 - Put all Zotero buttons in one contiguous toolbar. This seems to be the only way to get a unified window on OS X. It also means that if the window is too small, the search box pushes over the metadata pane buttons, instead of getting truncated.
- Firefox 3.6 fixes
2011-02-13 03:51:24 +00:00
Simon Kornblith
9312300420 ignore active attribute on Firefox 3.6 in Zotero Tab 2011-02-13 02:35:57 +00:00
Simon Kornblith
c8478f02f8 tweak OS X Zotero tab appearance 2011-02-13 02:29:00 +00:00
Simon Kornblith
1a726d357a fix broken ensureElementIsVisible method
I think this should fix #1730, Metadata pane doesn't scroll down when tabbing between fields
2011-02-13 01:57:54 +00:00
Simon Kornblith
8592e26187 appropriately truncate last name in item box 2011-02-13 01:02:54 +00:00
Simon Kornblith
a21c3b28a2 properly reset flex attribute on last name after editing 2011-02-13 00:26:11 +00:00
Simon Kornblith
effdfc1adf item pane UI consistency tweaks 2011-02-12 23:47:08 +00:00
Simon Kornblith
806576aacb remove "create item from current page" from tab 2011-02-12 22:18:46 +00:00
Simon Kornblith
51c119ae8a control selected appearance on clicky based on tree focus, not window focus 2011-02-12 21:22:01 +00:00
Simon Kornblith
7b66113990 put "View PDF" at top of locate menu 2011-02-12 21:09:41 +00:00
Simon Kornblith
b4e5819a82 fix context area popup menu 2011-02-12 21:08:03 +00:00
Simon Kornblith
6c7c8a66c0 - don't try to open non-native attachments using Fx
- don't try to get non-existent strings for non-existent buttons
2011-02-12 20:40:46 +00:00
Simon Kornblith
5edcc84cf9 pad top of itembox on OS X 2011-02-12 20:31:52 +00:00
Simon Kornblith
f629418dc2 don't turn off "ignoreWhitespace" before serializing xml string 2011-02-12 20:19:31 +00:00
Simon Kornblith
e5a4d4a1ee fix activated/deactivated appearance in Fx 4 2011-02-12 19:56:13 +00:00
Simon Kornblith
50cf63f5db only save automatic tags if pref is enabled 2011-02-12 19:28:33 +00:00
Simon Kornblith
e78e886b57 - a better way of getting the container window for our tab
- close tab on restart if tab mode is off and there was a crash
2011-02-12 08:57:28 +00:00
Simon Kornblith
2c41bcff56 Update to citeproc-js 1.0.111
From Frank's release notes:

Avoid an error when attempting to sort citations that have not yet
appeared in the registry. This error could be triggered, following a
change made in release 1.0.108, by incremental cite insertion
operations via appendCitationCluster() or processCitationCluster().
2011-02-12 08:33:16 +00:00
Simon Kornblith
c668ecab83 prompt before saving items via RIS/Refer 2011-02-12 07:07:23 +00:00
Simon Kornblith
5246248159 generate a citation list when using "Create Bibliography" context menu options if the selected style does not define a bibliographny 2011-02-12 04:36:37 +00:00
Simon Kornblith
7448e2ac6a maintain selection across tab/pane switch 2011-02-11 22:39:13 +00:00
Simon Kornblith
47f57509e5 make column and position information persist between tab and overlay 2011-02-11 22:16:32 +00:00
Simon Kornblith
c7e92b6e16 don't show menu separator when no locate engines are available 2011-02-11 21:55:48 +00:00
Simon Kornblith
8af3a30fa4 fix tab switch issues 2011-02-11 18:04:31 +00:00
Simon Kornblith
e30890711a - locate menu tweaks (needs more testing)
- add missing modifications for DB error when selecting tab in Fx 4
2011-02-11 08:07:20 +00:00
Simon Kornblith
2a8c514123 don't show startup error twice in standalone 2011-02-10 01:58:47 +00:00
Simon Kornblith
7984bb195c better startup error handling 2011-02-10 01:53:15 +00:00
Simon Kornblith
c20863e8fa don't call non-existent onLoad function, take 2 2011-02-10 01:08:52 +00:00
Simon Kornblith
328769ca09 revert last commit 2011-02-10 01:07:52 +00:00
Simon Kornblith
c589cd11e7 don't try to call non-existent onLoad function 2011-02-10 01:06:28 +00:00
Simon Kornblith
3ea54df059 fix for any other translators that create enormous arrays instead of objects 2011-02-10 00:35:48 +00:00
Simon Kornblith
8a49a28bbf fix broken preferences 2011-02-09 23:42:47 +00:00
Simon Kornblith
1d2395db0c fix locate menu in tab and standalone 2011-02-09 23:16:23 +00:00
Simon Kornblith
296c76ff3b fix xml/e4x mode on very large files 2011-02-09 22:10:10 +00:00
Simon Kornblith
a83fbb4fa8 fix import issues 2011-02-09 21:54:38 +00:00
Simon Kornblith
3fd0523b6e - fix preference links
- fix tab mode tooltip
- zotero://fullscreen opens standalone
2011-02-09 06:42:08 +00:00
Simon Kornblith
701845fa0a - remove attachment go buttons
- tweaks to locate menu behavior for attachments
2011-02-09 05:03:40 +00:00
Simon Kornblith
7d0e31bc95 make spage and epage work with en dashes 2011-02-09 04:54:08 +00:00
Simon Kornblith
ca29a0d6eb fix the "Restore Defaults" button 2011-02-09 04:27:05 +00:00
Simon Kornblith
1486132626 Add flexible locate menu, based on a (very heavily modified) copy of the pubget patch. Documentation is forthcoming. 2011-02-09 03:22:06 +00:00
Simon Kornblith
b6d2898a03 fix OpenURL preferences 2011-02-08 23:57:58 +00:00
Simon Kornblith
42761e8e0d fix Fx hang on extensions DB corruption 2011-02-08 11:59:00 +00:00
Simon Kornblith
fe1ce60a46 update to citeproc-js 1.0.110
From Frank's release notes:

With collapse="year", do not block the collapsing of subsequent
authors due to differences that are masked by et al. truncation of the
name list.
2011-02-07 08:47:15 +00:00
Simon Kornblith
ab96c38037 fix for fx 3.6 2011-02-07 08:26:06 +00:00
Simon Kornblith
d89dcd3b87 expose DOMParser to sandbox. this is way harder than it should be, but actually seems to work. 2011-02-07 08:21:23 +00:00
Simon Kornblith
481fed9c38 first pass at DOMParser for sandbox. this doesn't quite work yet. 2011-02-07 08:02:03 +00:00
Dan Stillman
45c4d15128 Catch "script stack space quota is exhausted" sync error and display an upgrade message 2011-02-07 07:33:20 +00:00
Simon Kornblith
a85a52dec0 don't actually need to worry about disabling reentrancy here 2011-02-07 07:00:25 +00:00
Simon Kornblith
508a08179c closes #1762: Save items from translators in a transaction 2011-02-07 06:57:41 +00:00
Simon Kornblith
c8ce422b95 fix window resizing 2011-02-07 05:30:28 +00:00
Simon Kornblith
7046f894ff fix item saving in group collections 2011-02-07 05:20:08 +00:00
Simon Kornblith
9a82adb3a5 don't break Zotero.Utilities.HTTP on Fx 4 2011-02-07 04:46:18 +00:00
Dan Stillman
3b294949bc Remove an erroneous debug line 2011-02-07 00:08:11 +00:00
Dan Stillman
a78665fdf5 Remove <Fx3.5 code 2011-02-07 00:02:43 +00:00
Simon Kornblith
eee772d893 - closes #1778: Zotero.Cite.makeFormattedBibliography throws an error when citeproc-js output contains &nbsp;
- update to citeproc-js 1.0.109

From Frank's release notes:

Use numeric rather than named entities when producing HTML, to avoid
error if the output is processed as XML in an environment in which
named entities have not been declared.
2011-02-06 21:51:07 +00:00
Simon Kornblith
8deb7043fc use getXULWindowEnumerator to work around a bug I encountered on Linux (even though this code was based on an example on MDC, apparently it doesn't work quite right) 2011-02-06 07:16:10 +00:00
Simon Kornblith
51b5c8322e fix statusBarOverlay to call ZoteroOverlay.toggleDisplay() 2011-02-06 06:53:41 +00:00
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
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
Dan Stillman
a709b779a7 Update CSL 1.0 locales from bitbucket 2011-01-14 18:04:38 +00:00
Simon Kornblith
697e840d4e set label on Report Errors... menu option properly 2011-01-14 07:48:42 +00:00
Simon Kornblith
9da1a2b9e0 don't give addonsbar-related error messages in standalone 2011-01-14 07:40:27 +00:00
Dan Stillman
823a9b08f2 Open "New Group" page in browser from Standalone 2011-01-13 23:53:32 +00:00
Dan Stillman
d359974bb7 Give option to use default Standalone location when a <2.1b3 directory is selected 2011-01-13 23:51:19 +00:00
Dan Stillman
2f802fe74d Don't start Standalone on databases from <2.1b3 2011-01-13 20:52:15 +00:00
Simon Kornblith
92262774a2 general fix for JSTOR-like E4X wrapping issues 2011-01-13 19:56:10 +00:00
Dan Stillman
f712ea8d40 - Reestablish database lock after on-idle backup -- the lock was being lost, which allowed Standalone (and other SQLite clients) to corrupt the database
- Don't attempt to backup database on shutdown, since it doesn't seem to work anymore and can delay shutdown
- Change idle backup check timer to 60 seconds from 10 seconds
2011-01-13 14:21:19 +00:00
Simon Kornblith
9176118494 unspecified changes 2011-01-12 23:39:12 +00:00
Simon Kornblith
78205c2482 Fix integration failures after switching commands. 2011-01-12 18:44:28 +00:00
Dan Stillman
5ae9bd41ae Fix bug in hangingindent HTML output 2011-01-11 20:59:36 +00:00
Dan Stillman
43effcb1a6 Update a couple comments 2011-01-11 19:44:56 +00:00
Dan Stillman
0bb4b0afdd Replace deprecated calls 2011-01-11 19:44:27 +00:00
Simon Kornblith
fed87c5441 don't leak browsers from connector 2011-01-11 05:02:40 +00:00
Simon Kornblith
18aa61918d don't check in Standalone, which has Zotero.isFx set to true 2011-01-11 04:56:13 +00:00
Simon Kornblith
291c87737c only check for private browsing mode in Firefox (it doesn't exist in xulrunner) 2011-01-11 04:55:09 +00:00
Simon Kornblith
3acdc18d88 fix report of translation failure in standalone 2011-01-10 21:41:01 +00:00
Dan Stillman
78a92255d8 - Add the Zotero icon to the add-on bar instead of the status bar in Fx4
- Make the add-on bar visible if the Zotero icon isn't set to hidden, which is an annoying way of dealing with https://bugzilla.mozilla.org/show_bug.cgi?id=616419 not yet landing -- people who use an upper toolbar button and don't want the add-on bar to show will need to set the Zotero icon to hidden

Addresses #1726, Firefox 4 Compatibility
2011-01-07 06:36:31 +00:00
Dan Stillman
5ceb3f4cf7 Closes #1754, [PATCH] MIME type sniffing of PDFs is too strict for some real-world files
Look for "%PDF-" anywhere in the first 128 bytes
2011-01-07 04:10:52 +00:00
Dan Stillman
45bc19c06a - Fix WebDAV deleted file purging
- Reenable WebDAV orphaned file purging (currently once every ten days)

Also:

- Create pref of appropriate type automatically in Zotero.Prefs.set() if one doesn't exist
2010-12-26 19:04:09 +00:00
Dan Stillman
f7765be35c Fix Stop button for WebDAV Verify Server 2010-12-26 17:31:15 +00:00
Dan Stillman
e2ff2c3ab7 Fix a tag syncing edge case (which shouldn't be possible with production sync server) 2010-12-26 09:14:55 +00:00
Dan Stillman
3f28260507 Remove all references to deprecated nsDragAndDrop, and remove some obsolete drag code 2010-12-26 03:40:35 +00:00
Dan Stillman
642a857a29 Fix drag from advanced search window 2010-12-26 03:08:35 +00:00
Dan Stillman
1b7e2b412b Fix tag selector drag and drop in Firefox 4 2010-12-26 02:49:49 +00:00
Dan Stillman
31f9378da5 - Add trash auto-empty setting to visible prefs
- Tweak Zotero version header tooltip
2010-12-26 01:52:47 +00:00
Dan Stillman
17119aadd1 Use proper collation sort for creators 2010-12-23 08:08:31 +00:00
Dan Stillman
0347b576e6 Closes #1656, Creator sort should include firstName
Needs some testing

Also cleaned up sorting code a little bit
2010-12-23 07:35:32 +00:00
Dan Stillman
c8cca79217 Fix creator type menu and field transform popup for Fx4 compatibility
Addresses #1726, Firefox 4 Compatibility
2010-12-22 08:59:22 +00:00
Simon Kornblith
dd665ec41f try to load libc from libc.so.6 on Linux (since this appears to work, but loading from libc.so fails) 2010-12-21 19:12:17 +00:00
Simon Kornblith
8c80d6acb6 - update to latest update.xsl
- update to citeproc-js 1.0.93

From 1.0.93:

Cast human-readable dates parser as a separate JS module, and provide
documentation in the processor manual.

Small change to multiple value handling in cs:number.

From 1.0.92:

Fix wrong ordinal suffix assignment for values 11 - 13 (for English,
at least).

From 1.0.91:

Set circa rather than fuzzy on uncertain dates in the internal human-
readable dates parser.

From 1.0.90:

Reimplement language conditions through cs:layout rather than
cs:choose.

From 1.0.89:

In language condition statements, allow multiple locales to be
specified in a condition; restrict fallback behavior to base (single
two-character) locale specifiers; and use the first locale listed in
the attribute as the locale to be assigned to children of the
condition when the test is successful.

Properly honor locale for quotes and punctuation in language condition
statements.

Implement dynamic locale-sensitive layout delimiter and affixes with
language condition statements.

Fix minor bug in xmle4x.js XML parser that affected some locale load
operations that can arise when executing language condition
statements.
2010-12-21 18:37:06 +00:00
Simon Kornblith
b43c6da675 disable full screen button in standalone (for now, until preview pane is implemented) 2010-12-21 05:54:33 +00:00
Simon Kornblith
e71bed5297 fix minor error 2010-12-21 05:50:32 +00:00
Simon Kornblith
493b3225f6 improve error handling in integration worker 2010-12-21 05:49:53 +00:00
Simon Kornblith
03f8f11156 fix display glitches in Fx 4 2010-12-21 03:45:27 +00:00
Simon Kornblith
e36979747e changes to integration error handling:
- show the error message for errors during initialization
- allow Python to throw ExceptionAlreadyDisplayed to suppress a further error message
2010-12-20 23:50:47 +00:00
Simon Kornblith
e681b4698f enable integration pipe on patched 2.0b9pre builds (unpatched builds will log an error) 2010-12-20 05:11:22 +00:00
Simon Kornblith
7a4782073c remove globalRegionDTD from standalone.xul (breaking xulrunner 11/12+) 2010-12-20 04:46:43 +00:00
Simon Kornblith
0ccc6d0892 don't need bufPtr 2010-12-19 06:41:33 +00:00
Simon Kornblith
1ed0c88c32 protect against potential buffer overflow 2010-12-19 06:28:37 +00:00
Simon Kornblith
afea210a99 add missing file 2010-12-19 06:27:42 +00:00
Simon Kornblith
66b1ce048d - Update integration pipe code so that it will work with Fx 4.0b9 once it is released. At the moment, this only works if Firefox is patched with the patch at https://bugzilla.mozilla.org/show_bug.cgi?id=615153, which requires compiling from source.
- Fix integration issues with Minefield.
2010-12-19 06:26:47 +00:00
Dan Stillman
a97d70da9e Fix broken error reporting 2010-12-14 17:39:06 +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