Commit graph

1669 commits

Author SHA1 Message Date
Dan Stillman
85235da6b3 - Set sync icon to spinning or not at pane/tab open
- Update file sync progress bar in tab
2011-03-30 12:17:30 +00:00
Dan Stillman
7eb1c9dd9f Fix "At least one of includeUserFiles or includeGroupFiles must be set in Zotero.Sync.Storage._getFilesToDownload()" error, except maybe for real this time 2011-03-30 11:22:53 +00:00
Dan Stillman
759f846610 Missed file from previous commit 2011-03-30 00:39:08 +00:00
Dan Stillman
8da5e3bc09 Maybe fix "constraint failed" sync error in collection.js 2011-03-30 00:38:14 +00:00
Simon Kornblith
e9d69d80ee update to citeproc-js 1.0.136 2011-03-29 23:47:45 +00:00
Simon Kornblith
ec7674b772 update to citeproc-js 1.0.135 2011-03-29 18:15:09 +00:00
Dan Stillman
5598cac359 Fix closing of parent items on various edits 2011-03-29 12:06:37 +00:00
Simon Kornblith
06d93e4d61 don't leave {Citation}s hanging if somehow they end up the document 2011-03-29 04:38:20 +00:00
Simon Kornblith
c63b244d56 merge r8806, r0087 from multilingual branch 2011-03-29 03:26:32 +00:00
Simon Kornblith
d71428ecc7 don't throw if nsIURI.host throws 2011-03-29 01:32:22 +00:00
Simon Kornblith
98d4df34ac update CSL locales 2011-03-29 01:23:48 +00:00
Simon Kornblith
0e87056e62 remove debug code 2011-03-29 01:17:04 +00:00
Simon Kornblith
a7b1cc1046 fix citations appearing after a bibliography 2011-03-29 01:16:02 +00:00
Simon Kornblith
0a6afb15d4 Fix typo 2011-03-29 00:57:10 +00:00
Dan Stillman
85ffc6b214 - Do additional whitespace normalization when diffing items to prevent erroneous conflicts
- Save multiple whitespaces in TinyMCE as "  " instead of "  " to prevent collapsing elsewhere
- Convert multiple spaces in plaintext notes (e.g., from 1.0) to "  " instead of "  "
2011-03-29 00:40:11 +00:00
Simon Kornblith
8a4e7e88a4 fix January 2011-03-28 14:02:12 +00:00
Simon Kornblith
31a9021544 fix typo 2011-03-28 13:57:45 +00:00
Simon Kornblith
2ab8344599 upgrade to citeproc-js 1.0.134 2011-03-28 13:50:43 +00:00
Simon Kornblith
4b06372a47 - fix upgrading of custom attribute from Zotero 2.0
- only show debug messages with computational requirements if debug is enabled
2011-03-28 13:49:47 +00:00
Dan Stillman
5f8efa0e2e - Tab was skipping title and creator fields in Firefox 4
- Fix loss of items list focus when navigating with arrow keys after shift-tabbing out of item pane
2011-03-28 10:14:27 +00:00
Dan Stillman
c51290641d Prevent auto-sync attempt when switching pane/tab mode shortly after pane/tab open if a sync is already running 2011-03-28 00:05:29 +00:00
Simon Kornblith
8616e7e193 make sure notes get saved when switching quickly to another item (I think this is only a problem if the new item is a note) 2011-03-26 22:39:24 +00:00
Simon Kornblith
f2fba1b14c update to citeproc-js 1.0.133 2011-03-26 21:55:46 +00:00
Simon Kornblith
c906c8e0be fix doubled separators 2011-03-26 21:55:23 +00:00
Simon Kornblith
edf113f184 be less aggressive about resizing add citation dialog 2011-03-26 21:52:53 +00:00
Simon Kornblith
d6b76ca3d8 don't throw on invalid URI 2011-03-26 21:16:07 +00:00
Simon Kornblith
cd3525e527 fix date handling issues, as reported at http://forums.zotero.org/discussion/17116/date-field-passthrough-issue-after-updating-to-zotero-21/#Item_0 2011-03-26 21:11:46 +00:00
Simon Kornblith
352e30a11d update to citeproc-js 1.0.131 2011-03-26 05:23:35 +00:00
Simon Kornblith
5f9afeb623 unserialize persist before updating tag selector 2011-03-26 04:37:12 +00:00
Simon Kornblith
7fd299bd64 Add back old integration pipe modes for use on Linux 2011-03-26 04:20:22 +00:00
Simon Kornblith
4a90c8acda fix "XML.toXMLString is not defined" 2011-03-25 07:09:38 +00:00
Simon Kornblith
fafc7e9994 fix cslpreview.xul 2011-03-25 03:56:45 +00:00
Simon Kornblith
87bf3f21e4 preserve collection when switching between pane and tab 2011-03-25 03:38:42 +00:00
Simon Kornblith
7da0313a8b use ZoteroPane_Local everywhere we possibly can 2011-03-24 23:23:11 +00:00
Simon Kornblith
43bb978a6e turn majorUpgrade warning back off pending further consideration of whether or not this is a good idea 2011-03-24 04:26:49 +00:00
Simon Kornblith
4d3e097a4b blacklist doubleclick.net 2011-03-24 01:46:46 +00:00
Simon Kornblith
da40bc07d2 recognize .csl.txt files 2011-03-23 21:29:19 +00:00
Simon Kornblith
806cf6b1a4 show major upgrade warning when upgrading from 2.0.9 2011-03-23 20:47:24 +00:00
Simon Kornblith
2668fc8491 use default exportCharset even if menu is not displayed 2011-03-23 06:10:17 +00:00
Simon Kornblith
8fe4b6f8f8 Show corrupt field error message if getCode fails 2011-03-23 06:05:34 +00:00
Simon Kornblith
17d7475f1d - don't disregard selected exportCharset
- save translator settings
2011-03-23 01:56:17 +00:00
Simon Kornblith
e5cb2875e6 add support for pushing configOptions and displayOptions, once Dan adds it to the repo 2011-03-23 01:42:17 +00:00
Simon Kornblith
74395a3024 fix update from Zotero 1.0 2011-03-23 00:53:43 +00:00
Simon Kornblith
cae799bd7c update to citeproc-js 1.0.127 2011-03-23 00:51:40 +00:00
Simon Kornblith
f4ed72d7f4 fix issues saving attachments on import when attachment does not have itemType = "attachment" set 2011-03-22 18:57:39 +00:00
Simon Kornblith
d4f589785d disable deferred open for now, but this is the right way of doing things once Gecko 2.0.1 is available 2011-03-22 18:30:36 +00:00
Simon Kornblith
29be631546 More debug code for selection issues 2011-03-22 02:31:13 +00:00
Simon Kornblith
7aea4fabf9 Debug code for library selection issues 2011-03-22 02:24:58 +00:00
Simon Kornblith
135c47944d better handling of invalid regular expressions 2011-03-21 22:45:15 +00:00
Simon Kornblith
3290d8f8cf better handling of restart with tabs restored in Fx 4 2011-03-21 20:44:39 +00:00
Simon Kornblith
1654545d02 if not in tab mode and tabs are being saved and Zotero tab is the only tab open in a window, don't close it on startup 2011-03-21 20:40:50 +00:00
Simon Kornblith
09d1c36791 only use deferred open for integration pipe on OS X, since it doesn't seem to work on Linux 2011-03-21 20:30:46 +00:00
Simon Kornblith
9d78bd7024 close storage stream in Fx 4 (the base stream should already be closed) 2011-03-20 09:09:54 +00:00
Simon Kornblith
cc99a39630 fix comments 2011-03-20 08:59:32 +00:00
Simon Kornblith
e11bb22159 A further optimization allows us to avoid both a JS thread and the sh/tempfile hack on Fx 4 2011-03-20 08:58:20 +00:00
Simon Kornblith
52d38c9daf prevent integration pipe from blocking and make sure integration pipe gets removed 2011-03-20 08:26:25 +00:00
Simon Kornblith
7f9b29f751 Fixes #1804, Fix mysterious hang with citeproc-js 1.0.125
Re-merge citeproc-js 1.0.125 and use an alternative, slightly less efficient mechanism for reading from the integration pipe that shouldn't run into problems with garbage collection. Instead of trying to read from the pipe directly, we now spawn sh and cat to read from the pipe and send the output to a temporary file. We then read the temporary file. Because we don't block a JS thread, there are no GC issues. This works for Fx 4 as well, so I'm removing that code. I don't know whether there were potential GC issues in Fx 4, but if there were, I don't want to know about them.
2011-03-20 08:12:39 +00:00
Simon Kornblith
28ebbc9ba6 temporarily revert to citeproc-js 1.0.124, as citeproc-js 1.0.125 appears to have produced a very mysterious hang that only affects Firefox 3.6 MacWord users... 2011-03-19 06:14:49 +00:00
Simon Kornblith
72a511ba81 fix for lowercase months in non-English locales 2011-03-18 08:26:55 +00:00
Dan Stillman
49d5c1fd31 Prevent erroneous conflicts due to Windows newlines in imported notes (which should be fixed separately)
Using a try/catch to prevent unexpected errors in 2.1 Final
2011-03-17 21:34:59 +00:00
Dan Stillman
33a6caef15 Fix "val.indexOf is not a function" loading attachments with all-numeric titles 2011-03-17 20:16:10 +00:00
Simon Kornblith
3ab09692a2 don't throw if callback is not passed to importFromDocument 2011-03-17 18:48:53 +00:00
Dan Stillman
b3fc63653f Remove stray character 2011-03-17 03:49:05 +00:00
Simon Kornblith
ae1e82494d Fail to import files with bad URIs 2011-03-16 23:19:29 +00:00
Simon Kornblith
c72da6b568 still maintain instance at the top of the file, because it's safe and won't hurt 2011-03-16 23:03:16 +00:00
Simon Kornblith
621e43a39c fix potential recurrence of garbage collection nightmare 2011-03-16 23:02:26 +00:00
Simon Kornblith
03be861eff fix import of non-RDF files, broken by last commit 2011-03-16 22:56:12 +00:00
Simon Kornblith
402fa961ef fix files left open, tested this time 2011-03-16 22:45:00 +00:00
Simon Kornblith
1ac712db12 second attempt at fixing files left open 2011-03-16 22:22:47 +00:00
Simon Kornblith
23eb381ea0 support CSL 1.0 dependent styles 2011-03-16 14:35:02 +00:00
Simon Kornblith
f25aadb7ad add option to recognize PDF to download dialog, and only whitelist some MIME types 2011-03-15 18:50:48 +00:00
Dan Stillman
f74440902b Switch to Zotero.Cite.makeFormattedBibliographyOrCitationList() from Zotero.Cite.makeFormattedBibliography() for Quick Copy bib copy, because that's what clipboard copying uses. Fixes 'false' from Bluebook style with makeFormattedBibliography() 2011-03-14 21:01:25 +00:00
Simon Kornblith
81fcc72aab update to citeproc-js 1.0.125 2011-03-14 17:57:51 +00:00
Dan Stillman
e30e3065ba Add debug line for loadURI() fallback after failed file.launch() 2011-03-11 03:58:23 +00:00
Dan Stillman
e119113564 "natively"->"internally" 2011-03-10 23:56:24 +00:00
Dan Stillman
2ba1f60862 Updated locales-is-IS.xml from bitbucket 2011-03-10 20:38:25 +00:00
Simon Kornblith
817a768a8f update to citeproc-js 1.0.123 2011-03-09 23:37:28 +00:00
Dan Stillman
7c28c4789f Restore removed line 2011-03-09 23:08:03 +00:00
Dan Stillman
be166665e7 Fix cross-library item reselection in Edit Citation 2011-03-09 23:00:09 +00:00
Dan Stillman
6b335fd363 Display no more than 20 items in collection-item conflict message 2011-03-09 06:23:39 +00:00
Dan Stillman
878aa2dcf9 Send repo traffic to repo.zotero.org 2011-03-09 02:53:04 +00:00
Simon Kornblith
11fc88973c use ZoteroPane_Local to refer to local ZoteroPane, if there are multiple ZoteroPanes running in the
same window. this fixes tabbing behavior in the Zotero Tab, and likely also a bunch of issues we
haven't found yet.
2011-03-08 23:46:01 +00:00
Simon Kornblith
d4a779dd53 don't just delete itemsTree, because it doesn't get reregistered 2011-03-08 23:37:31 +00:00
Simon Kornblith
e312fc0bb6 - fix restoration selection when switching between tab and pane
- don't serialize persistent data from Zotero Pane on window close unless pane was showing
2011-03-08 23:14:19 +00:00
Dan Stillman
bd5d3af983 Better error for file sync login failure 2011-03-08 19:25:00 +00:00
Simon Kornblith
01169f9618 fix item type menu appearance on Windows 2011-03-08 05:51:50 +00:00
Simon Kornblith
ec44bfbcc5 tweak appearance on Linux 2011-03-08 05:44:27 +00:00
Simon Kornblith
b8e213b629 fix Mac CSS typo 2011-03-08 05:25:15 +00:00
Simon Kornblith
e84ef616d4 fix appearance on Windows (still need to test on Linux) 2011-03-08 05:23:01 +00:00
Simon Kornblith
5c680549ff fix licensing and id 2011-03-07 22:01:41 +00:00
Simon Kornblith
496b4b6f45 Add "Save to Zotero" option to unknown content type dialog. This is probably not for 2.1. 2011-03-07 17:47:01 +00:00
Simon Kornblith
0ebe917dba update to citeproc-js 1.0.122 2011-03-07 07:10:10 +00:00
Simon Kornblith
9c6be2c0eb fix tag selector in Zotero tab 2011-03-06 21:32:49 +00:00
Dan Stillman
4eab4bbbae Missed file from previous commit 2011-03-05 05:14:06 +00:00
Dan Stillman
f94242f7ad Fix Date Published in Timeline 2011-03-05 04:10:29 +00:00
Simon Kornblith
8c986a7896 show Zotero toolbar in fullscreen mode 2011-03-04 18:46:53 +00:00
Simon Kornblith
1dd4761f26 Udpate to citeproc-js 1.0.120 2011-03-04 18:41:05 +00:00
Dan Stillman
e82a56bb4c Fix Zotero crash if last collection before a separator was deleted 2011-03-04 07:39:35 +00:00
Dan Stillman
a6b8633f2e Remove tag conflict pop-up 2011-03-03 17:54:15 +00:00
Simon Kornblith
d58221b59f Fix "citations is undefined" error 2011-03-03 07:09:08 +00:00