Commit graph

2236 commits

Author SHA1 Message Date
Simon Kornblith
92f0fa9097 Hack for OpenOffice.org fields with codes 2011-08-14 19:42:01 +00:00
Simon Kornblith
748790bf46 Fix Create Item from Current Page context menu option in Firefox
- when the Zotero Pane has not yet been opened
	- when operating in connector mode
2011-08-13 04:51:40 +00:00
Simon Kornblith
43f26d5b89 - Pass version to repo
- Handle translator deletion without logging errors
- Tweak some flags on docShell
2011-08-12 19:20:35 +00:00
Simon Kornblith
bbbc8991f2 - Fix failure to save snapshots, caused by failure to add and remove our request from loadGroup
- Fix a few other issues in ConnectorChannel
2011-08-12 18:10:53 +00:00
Simon Kornblith
18f7bf1112 Don't save before CSS has been loaded 2011-08-12 15:36:54 +00:00
Simon Kornblith
58c8e7ccfc Windows theme changes. I'm not sure I really like how the tabs on the right look, and maybe we should reconsider the present dividers, but I think this looks a bit better. 2011-08-11 23:37:18 +00:00
Simon Kornblith
ffc02fb583 Update to citeproc-js 1.0.203 2011-08-11 12:20:07 +00:00
Dan Stillman
5e22c3fc58 Look for deleted.txt in extension root first (for XPI builds) and translators directory second (for SVN builds) 2011-08-11 07:03:33 +00:00
Simon Kornblith
b232106526 - XPCOM errors use "filename" instead of "fileName" for some ungodly reason
- Fix verison
2011-08-11 04:06:45 +00:00
Simon Kornblith
4ff9fada05 Report errors using Zotero.logError instead of Components.utils.reportError(), so that we get the file and line number 2011-08-11 03:58:02 +00:00
Dan Stillman
a9f341a141 Blacklist OpenGL errors 2011-08-10 19:58:44 +00:00
Simon Kornblith
a35c33312d Move standalone.dtd out of separate directory 2011-08-10 19:36:05 +00:00
Simon Kornblith
c1057e2587 Remove uses of "Firefox" and fix version 2011-08-10 07:07:26 +00:00
Dan Stillman
47fa374b66 Do very basic checking to make sure matching DOIs in duplicates are actually DOIs 2011-08-10 07:02:31 +00:00
Simon Kornblith
4a00bf1f74 Compactify tag selector. Unfortunately, there seems to be a bug in Fx 4+ that makes <menuitem type="checkbox"/> not work quite right on OS X. 2011-08-10 06:29:24 +00:00
Simon Kornblith
88e5d47ad8 Properly change between styles 2011-08-09 05:13:13 +00:00
Simon Kornblith
421e570ada Fix a bug in QuickFormat years and enable QuickFormat by default 2011-08-09 03:49:06 +00:00
Simon Kornblith
0031f0d319 Warn the user if they have modified a citation and ask whether to perform future updates. This makes the editor obsolete. 2011-08-09 03:37:24 +00:00
Simon Kornblith
176e2f2d05 Don't throw an error on CSL_BIBLIOGRAPHY codes 2011-08-08 22:27:50 +00:00
Simon Kornblith
125200bf83 Bring in line with https://github.com/citation-style-language/schema/blob/master/csl-citation.txt 2011-08-08 11:24:22 +00:00
Simon Kornblith
b08b54ba83 Add some documentation on the connector switching process 2011-08-07 23:37:51 +00:00
Simon Kornblith
75f4360175 Tweak connector switching to prevent a race condition 2011-08-07 23:26:53 +00:00
Simon Kornblith
0aa0966a28 Closes #1878: NS_ERROR_MALFORMED_URI when accessing EBSCO via proxy (I think) 2011-08-07 16:36:58 +00:00
Dan Stillman
78b4c3c820 Fix source list glitch 2011-08-06 05:55:50 +00:00
Dan Stillman
fffe67967b Clear all tags in tag selector if a selected tag is removed via the tags pane 2011-08-05 22:19:52 +00:00
Dan Stillman
2db050290d Clear tag selector when switching between views 2011-08-05 22:04:48 +00:00
Simon Kornblith
94e92b9f53 Fix citation editing with sorted styles 2011-08-05 21:08:29 +00:00
Simon Kornblith
fa602e4984 Closes #1086, Some way to carry metadata inside or along with Word documents 2011-08-05 18:20:08 +00:00
Dan Stillman
067df94822 Closes #1868, Dragging collections into group libraries 2011-08-05 18:17:06 +00:00
Simon Kornblith
7aa474e584 Embed group relations in Word documents 2011-08-05 03:00:24 +00:00
Simon Kornblith
45b5421941 - Show an error when a document was created with an incompatible field type.
- Move duplicate detection resolution code to Zotero.Integration.URIMap interface, so it will apply to uncited items in the bibliography as well.
2011-08-05 02:26:25 +00:00
Simon Kornblith
e49fedd900 Don't make the button huge 2011-08-04 19:32:57 +00:00
Simon Kornblith
a97d7ff26d Add button to open about:config to advanced preferences pane. We could disable this for Zotero for Firefox, but I think it's probably a better idea to keep it so that docs can be made consistent. 2011-08-04 19:32:05 +00:00
Dan Stillman
ee01b2cbc3 Allow "Create Parent Item from Selected Item" for PDFs for multiple selection 2011-08-04 06:31:14 +00:00
Dan Stillman
c1af72fcd2 Allow "Create Parent Item from Selected Item" for PDFs, at least until failed metadata retrieval does something more helpful 2011-08-04 06:00:57 +00:00
Dan Stillman
ea20a4067f Notes were copied as raw HTML if more than one empty paragraph 2011-08-04 05:49:51 +00:00
Simon Kornblith
2900dcc6db Don't allow unreasonable window positions 2011-08-04 01:24:41 +00:00
Dan Stillman
d8ca9ef438 Don't save "browserSupport":null when missing 2011-08-04 00:00:54 +00:00
Simon Kornblith
c078415c26 Update to citeproc-js 1.0.202 2011-08-03 23:54:11 +00:00
Dan Stillman
1625e412f9 Save browserSupport from repo 2011-08-03 23:45:44 +00:00
Simon Kornblith
b75b36fa77 Closes #1875, [PATCH] Add ISI to MIME type-detected imports
Thanks to ajlyon for the patch
2011-08-03 20:51:26 +00:00
Simon Kornblith
4901870c8a "Show in app tab" and "show in separate tab" are separate preferences.
Thanks to voxel for the patch
2011-08-03 20:05:33 +00:00
Simon Kornblith
841c6f5b7b - Don't set a minimum height for the preferences. I think this was a workaround for a very old bug.
- Don't let proxy tree flex. I think this fixes Linux preferences-related issues.
2011-08-03 17:17:14 +00:00
Simon Kornblith
b20c4dd622 - Add border on Linux
- Move dropmarker slightly
2011-08-03 02:09:57 +00:00
Dan Stillman
d4287e4459 Skip and log too-long filenames on Linux (since they're most likely gibberish advertising files anyway) 2011-08-02 22:41:09 +00:00
Simon Kornblith
c2db7b53b1 - Fix iframe by just specifying a massive height for it (no, height: 100% doesn't work)
- Cancel should work as expected
2011-08-02 19:52:45 +00:00
Dan Stillman
43025db6d5 - Change invalid creator type for item type to item type's primary creator automatically, since otherwise existing data would cause sync and save errors
- Fix a couple other errors
2011-08-02 18:56:00 +00:00
Simon Kornblith
0ea27b091f Update to citeproc-js 1.0.200 2011-08-02 16:19:08 +00:00
Simon Kornblith
3814c9307e Tweak spacing in Linux QuickFormat dialog 2011-08-02 15:27:36 +00:00
Dan Stillman
46fc6684c1 Fix typo 2011-08-02 06:49:33 +00:00
Dan Stillman
e9f5643ecd - Throw an error if an invalid creator type for the item type is passed to Zotero.Item.setCreator()
- Cache some Zotero.CreatorTypes calls
2011-08-02 05:59:38 +00:00
Dan Stillman
1c560eb94c Fix file editing in Search/Unfiled/Duplicates 2011-08-02 03:34:32 +00:00
Simon Kornblith
9ac7b45010 Don't use dialog window type for integration windows on Linux 2011-08-02 01:21:34 +00:00
Simon Kornblith
46e1fd0600 Tweak Windows appearance (Linux still to come) 2011-08-01 16:59:10 +00:00
Simon Kornblith
d8cd5cf7ae Fix some (but not all) sizing and focus issues 2011-08-01 04:27:47 +00:00
Simon Kornblith
f2f7bf00f7 Make command/ctrl+down open citation properties panel 2011-07-31 22:19:20 +00:00
Simon Kornblith
7464b704ce - Use popup for reference list rather than appending to bottom of window
- Disable animation, as it is no longer smooth
2011-07-31 21:01:27 +00:00
Simon Kornblith
fc5d803896 - Make "suppress author" selectable without mouse
- Move cursor to end of textbox when panel is closed
- Close carbon library after use
2011-07-31 18:06:50 +00:00
Simon Kornblith
53f4a49900 - "Keep Sources Sorted" now works
- Option to open classic dialog
2011-07-29 20:32:39 +00:00
Dan Stillman
83f84eb475 Make background of "No items selected" and attachment items white again 2011-07-29 16:02:43 +00:00
Simon Kornblith
dce1298666 Use red Z instead of search icon (this will probably become a popup menu) 2011-07-29 08:00:21 +00:00
Simon Kornblith
352a49723e Use return to exit arrow panel and move locator to top 2011-07-29 05:43:42 +00:00
Simon Kornblith
a66555e45b Orbtastic streamlined add citation dialog
Does not currently support sorting or citation editor, and has not been tested on any platform but OS X, so off by default for now. Can be enabled with the hidden pref extensions.zotero.integration.quickFormat.
2011-07-29 05:35:54 +00:00
Simon Kornblith
f46e05f9dc Convert domain to lowercase after proxy lookup 2011-07-28 19:36:14 +00:00
Simon Kornblith
d11e78de0e Save webpage snapshots from connectors when Zotero Standalone is running 2011-07-27 21:01:21 +00:00
Dan Stillman
9ac7efb3f0 Fix "Zotero.Libraries.getGroupIDFromLibraryID" in new code 2011-07-27 14:20:47 +00:00
Dan Stillman
4581923154 Fix "Zotero.Libraries.getGroupIDFromLibraryID" is not a function error 2011-07-27 14:20:04 +00:00
Dan Stillman
455eb68c20 Persist open/close state of source list (libraries, collections, etc.) 2011-07-25 21:27:32 +00:00
Dan Stillman
ca56fbbb2b Fix at least one cause of "'[num]' is not a valid field for type [num]" 2011-07-25 03:45:43 +00:00
Dan Stillman
9dad54702f Fix advanced search 2011-07-25 00:55:14 +00:00
Simon Kornblith
32399b35ed Hide "Remove Selected Item" when in My Library (previously was shown with no label, leading to a blank menu item with ~2px height) 2011-07-24 21:43:02 +00:00
Simon Kornblith
88c6eae730 Kill progress indicator and buttons in add by identifier box. We might want to replace the progress indicator with something else, but the buttons are unnecessary. 2011-07-24 21:32:55 +00:00
Simon Kornblith
f701dd724e Firefox 3.6 fixes (ugh) 2011-07-24 19:16:31 +00:00
Simon Kornblith
617646f0a2 Cancel should close lookup panel 2011-07-24 17:49:16 +00:00
Simon Kornblith
09e07df294 Delete obsolete file 2011-07-24 17:42:29 +00:00
Simon Kornblith
a5cdfc2cef Use arrow panel for "Add Citation by Identifier" 2011-07-24 17:41:48 +00:00
Simon Kornblith
7845588291 Fix handling of errors when no message is returned 2011-07-24 17:41:00 +00:00
Simon Kornblith
ff304bd7be Fix IPC pipe closing on Fx 3.6 (again) 2011-07-24 16:27:42 +00:00
Dan Stillman
ddca12ba26 Match only books by ISBN, since book sections shouldn't be merged 2011-07-22 22:41:42 +00:00
Dan Stillman
56c7afc47e Duplicate detection:
- Adds a per-library "Duplicate Items" virtual search to the source list -- shows up by default for "My Library" but can be added to and removed from all libraries
- Current matching algorithm is very basic: finds exact title matches (after normalizing case/diacritics/punctuation/spacing) and DOI/ISBN matches (untested)
- In duplicates view, sets are selected automatically; in other views, duplicate items can be selected manually and the merge interface can be brought up with "Merge Items" in the context menu
- Can select a master item and individual fields to merge from other versions
- Word processor integration code will automatically find mapped replacements and update documents with new item keys

Possible future improvements:

- Improved detection algorithms
- UI tweaks
- Currently if any items differ, all available versions will be shown as master item options, even if only one item is different; probably the earliest equivalent item should be shown for each distinct version
- Caching of results for performance
- Confidence scale
- Creator version selection (currently the creators from the chosen master item are kept)
- Merging of matching child items
- Better sorting of duplicates if not clustered together by the selected sort column
- Relation path compression when merging items that are already mapped to previously removed duplicates

Other changes in this commit:

- Don't show Trash in word processor integration windows
- Consider items in trash to be missing in word processor documents
- Selection of special views (Trash, Unfiled, Duplicates) is now restored properly in new windows
- Disabled field transform context menu when item isn't editable
- Left/right arrow now expands/collapses all selected items instead of just the last-selected row
- Relation deletions are now synced
- The same items row is now reselected after item deletion
- (dev) Zotero.Item.getNotes(), Zotero.Item.getAttachments(), and Zotero.Item.getTags() now return empty arrays rather than FALSE if no matches -- tests on those return values in third-party code will need to be changed
- (dev) New function Zotero.Utilities.removeDiacritics(str, lowercaseOnly) -- could be used to generate ASCII BibTeX keys
- (dev) New 'tempTable' search condition can take a table to join against -- useful for implementing virtual source lists
- (dev) Significant UI code cleanup
- (dev) Moved all item pane content into itemPane.xul
- Probably various other things


Needless to say, this needs testing.
2011-07-22 21:24:38 +00:00
Simon Kornblith
e945b84b5f Backing out r9930, as it causes serious issues on Windows 2011-07-22 07:09:40 +00:00
Simon Kornblith
68cbef118f Rounded add citation dialog 2011-07-22 07:05:08 +00:00
Simon Kornblith
1650af161a Use ctypes to bring only dialog to foreground, and not the rest of Firefox, on OS X 2011-07-22 01:45:40 +00:00
Simon Kornblith
89fc597aa4 nsIFile.isSpecial() is not implemented on Fx 3.6, but we can still use nsIFile.isFile() to determine whether or not this is a pipe. Ugh. 2011-07-21 23:01:13 +00:00
Simon Kornblith
63db2a4aaa Remove unnecessary lastUpdated optimization in translator regexp, allowing lastUpdated to be anywhere in the JSON in connector too 2011-07-21 19:29:32 +00:00
Dan Stillman
7b469e3d6f Remove unnecessary lastUpdated optimization in translator regexp, allowing lastUpdated to be anywhere in the JSON 2011-07-21 19:16:19 +00:00
Simon Kornblith
491c44c74c Don't append browserSupport when saving if it doesn't exist, since it's unnecessary and screws things up 2011-07-21 18:42:26 +00:00
Simon Kornblith
3611a4ea30 - Show "via Zotero Standalone" in tooltip for translators that use Zotero Standalone
- Don't write out all the charsets while loading the charset menu
2011-07-21 04:08:49 +00:00
Simon Kornblith
6a8be039d0 Revert to throwing parse errors as non-string 2011-07-20 21:55:50 +00:00
Simon Kornblith
936069165b Fix reporting of error line numbers 2011-07-20 21:53:38 +00:00
Simon Kornblith
7a34d09f58 Show actual error message as a string as well 2011-07-20 21:29:21 +00:00
Simon Kornblith
5235dcfa9f Show error messsage on parse error 2011-07-20 21:27:48 +00:00
Simon Kornblith
d502de2981 Eventually clear out defunct "pipes" (which are actually plain files that get polled because of concurrency issues) created by Fx 3.6 2011-07-20 19:25:39 +00:00
Simon Kornblith
cd4f9e7235 Save application/xhtml+xml using WebPageDump
Fixes http://forums.zotero.org/discussion/18808/bug-snapshot-of-page-produces-xml-parsing-error/
2011-07-20 13:31:18 +00:00
Simon Kornblith
94a42524e7 Use "exports" instead of "Export" for exported properties, in line with the CommonJS spec 2011-07-20 04:39:38 +00:00
Simon Kornblith
afcf0ff712 Update to citeproc-js 1.0.195 2011-07-20 04:26:18 +00:00
Simon Kornblith
122eb38d29 Fix charset menu under Zotero Standalone 2011-07-20 04:23:01 +00:00
Simon Kornblith
3e26c36b69 Use Zotero.startupError for connector-related errors and use the DB busy error if Zotero switched to
connector mode and then couldn't contact the connector.
2011-07-20 03:48:17 +00:00
Simon Kornblith
c24aad3af4 Add incompatible version message to Firefox 2011-07-20 03:35:21 +00:00
Simon Kornblith
64b4d3fd47 - Add copyright notice to some files where it was missing
- Move progress window code to separate file
- Merge connector_debug.js and connector.js
2011-07-20 03:22:43 +00:00
Simon Kornblith
bd1d298ee9 Fix a strict mode warning 2011-07-20 03:12:31 +00:00
Simon Kornblith
c6b30b94e4 Fix error on failure to open DB (broken since megacommit) 2011-07-20 03:07:07 +00:00
Simon Kornblith
ea02f39f3e Bring standalone to foreground before issuing incompatible version warning, at least on OS X 2011-07-19 22:23:55 +00:00
Simon Kornblith
4e0da80afc Show incompatible version dialog in Standalone if connector is outdated 2011-07-19 22:21:19 +00:00
Simon Kornblith
4dcaf2907f API version checking 2011-07-19 21:57:32 +00:00
Simon Kornblith
4067a1b820 Fix cookie sandboxing in connector 2011-07-19 03:52:02 +00:00
Simon Kornblith
a4bcc4244c Don't save tests in JSON, since they aren't particularly useful to us 2011-07-18 22:19:43 +00:00
Simon Kornblith
b6c8fb4483 Make debug messages a little nicer 2011-07-18 22:11:40 +00:00
Simon Kornblith
2cd8ac04e2 Stringify invalid objects when saving items 2011-07-18 21:57:15 +00:00
Simon Kornblith
ce1b3e099a Only call callback once 2011-07-18 21:37:38 +00:00
Simon Kornblith
e7d5f31d04 Restore ability to run multiple translator tests simultaneously 2011-07-18 21:33:55 +00:00
Simon Kornblith
9f218caf75 - Ability to serialize and reload translator tests from translator tester (addresses #1842, Translator unit test automation)
- Fix a spacing issue in preferences
2011-07-18 21:14:51 +00:00
Simon Kornblith
59066e40b7 Don't add Access-Control-Allow-Origin headers to Safari 2011-07-18 20:51:14 +00:00
Simon Kornblith
4c9b5935e8 - Improvements to server.js for translation-server
- Optimizations. The biggest of these is to simplify our mechanism of wrapping functions for Fx 4+, which gives us roughly a 3x speed boost in RIS import. However, zotero-node is still ~20% faster than translation-server, and RDF import/export may still be too slow for very large numbers of references. A large part of the RDF overhead seems to come from the number of function calls we make, which numbers in the hundreds of thousands for a 2.5 MB file.
2011-07-16 20:47:17 +00:00
Simon Kornblith
55c331e68b Don't say anything when async processes are incremented or decremented 2011-07-14 19:19:08 +00:00
Simon Kornblith
6fabce1d80 Remove unused code 2011-07-14 15:01:51 +00:00
Dan Stillman
066cae3dbb Include query in db parameter errors 2011-07-14 14:19:16 +00:00
Simon Kornblith
06acd954df No need to notify us that an event listener is being added 2011-07-14 00:01:14 +00:00
Simon Kornblith
9adbf332e3 Streamline browser.js and fix ZoteroItemUpdated event 2011-07-13 23:56:37 +00:00
Simon Kornblith
59459df0ff Don't pop up a message when running conflicting Zotero versions simultaneously 2011-07-13 21:19:15 +00:00
Dan Stillman
70371a868b Work around ellipsis-mangling bug in Firefox 2011-07-13 21:18:32 +00:00
Simon Kornblith
971dd5c69c Don't open a new integration pipe if there is already an integration pipe open. Fixes hangs on shutdown after launching multiple Zotero instances. 2011-07-13 16:41:00 +00:00
Simon Kornblith
ff90005ed2 Fix breakage from r9839 2011-07-13 03:06:00 +00:00
Simon Kornblith
e0a73db0db Fix translation with unsupported translators via Zotero Standalone (broken by r9791) 2011-07-13 01:47:50 +00:00
Dan Stillman
347c86b85a Proper ellipsis in Zotero.Utilities.ellipsize() 2011-07-12 16:40:23 +00:00
Simon Kornblith
289983f486 Some very small modifications for translator test support in zotero-node that are probably never going to get used 2011-07-12 07:41:51 +00:00
Simon Kornblith
3238656ca0 - Zotero.Translate.Import#getTranslators should return translators when they are available
- Add deprecation warning for select handler without a callback
2011-07-12 04:34:06 +00:00
Simon Kornblith
4d307c1865 Move translate_generic.js back to translate_inject.js, since it is no longer used in zotero-node (and should properly only be used for injected scripts) 2011-07-12 02:00:13 +00:00
Simon Kornblith
ec6f894e1a Addresses #1805, Add "Create Item from Current Page" contextual menu item and/or browser button
Adds "Create New Item from Current Page" context menu option. We can add a toolbar button too if we can come up with an icon for it.
2011-07-12 01:38:17 +00:00
Simon Kornblith
ffd671ce7b - Remove references to Zotero.JSON
- Add deprecation warning in case any external code makes use of Zotero.JSON
- Fix some strict mode warnings in zotero.js
2011-07-11 22:37:37 +00:00
Simon Kornblith
4783051f4e - Properly handle multiple item selection in context/locate menu
- Don't show context menu options when >20 items selected
2011-07-11 22:19:10 +00:00
Simon Kornblith
c1ae9f3460 Fix PDF recognition 2011-07-11 17:41:33 +00:00
Simon Kornblith
ba12583b22 - Fix download overlay
- Fix RIS/Refer intercept progress
2011-07-11 17:38:25 +00:00
Simon Kornblith
b1cec43982 Closes #1620, Replace lowercase Transform Text option with sentence case 2011-07-11 17:25:31 +00:00
Simon Kornblith
5e8c9669ea Closes #1863, Add transform -> sentence case option 2011-07-11 17:14:51 +00:00
Simon Kornblith
5197f1e78b - Closes #1793, Add update button to standalone
A "Check for Updates" menu item is now available (under the Zotero menu on OS X, or the Help menu on other platforms). This will currently give a 404 unless you build Zotero Standalone as from the "beta" channel.

- Don't add About menu option to help menu on OS X (only to Zotero menu)
2011-07-11 14:54:51 +00:00
Simon Kornblith
5f536abaeb Missed file from r9815 2011-07-11 05:00:04 +00:00
Simon Kornblith
a4e9775abc update to citeproc-js 1.0.190 2011-07-11 03:36:33 +00:00
Simon Kornblith
07ae9839a6 Fix connector switching on Linux, and decrease the probability of a hang on shutdown 2011-07-11 01:51:02 +00:00
Simon Kornblith
0e820b8eb3 Update to citeproc-js 1.0.189 2011-07-11 00:15:53 +00:00
Simon Kornblith
e58a682107 Fix Zotero Commons bucket creation 2011-07-10 23:28:12 +00:00
Simon Kornblith
f9b074496f Better error for unsupported translator 2011-07-10 22:55:27 +00:00
Simon Kornblith
d47381512e Fix relative URL resolution in Chrome/Safari/Node 2011-07-10 22:51:22 +00:00
Simon Kornblith
bf698c65c6 Register event listener for ZoteroItemUpdated 2011-07-10 22:21:13 +00:00
Simon Kornblith
0b36cc47b9 Fix handling of relative URIs 2011-07-10 21:59:19 +00:00
Simon Kornblith
dde68a51fe Closes #1859, Author misordering in COinS when rft.au and rft.aulast combine
Thanks to Avram for the patch
2011-07-10 21:40:08 +00:00
Simon Kornblith
2900f9dcbe - Don't attempt to use connector when it is not available
- Remove some old debug messages that are no longer necessary
2011-07-10 20:25:16 +00:00
Simon Kornblith
69b53b1583 Closes #1860, Scaffold can't safely test collection creation
Zotero.Translate#translate(false) should no longer create collections. There was already a collectionDone event; it now gets the unprocessed collection object when false is passed to Zotero.Translate#translate.
2011-07-10 18:02:09 +00:00
Simon Kornblith
5aa3189dd1 - Only log translator parse error once
- Fix export (broken by last commit)
- Use init() instead of reset() in Zotero.Translate.IO.Write
- Don't use toSource() in date.js
2011-07-08 07:20:04 +00:00
Simon Kornblith
5cf6a1cff3 - Only call Zotero.wait() in translate.js if it is defined
- Don't try to use Zotero.getString() in strToDate if it is not defined
- Add getBaseIDFromTypeAndField to connector/cachedTypes.js and fix getItemTypeFields
2011-07-08 04:20:05 +00:00
Simon Kornblith
ed3bc7d1f7 Don't send 500 response without logging error 2011-07-08 03:54:29 +00:00
Simon Kornblith
e2993b94a4 - Use jsdom in node.js for unescaping HTML
- Add itemToExportFormat and itemToServerJSON utility functions
- Support asynchronous translator loading (this will only be used in node.js)
- Fix cases where Safari/Chrome code was incorrectly applied in node.js
- Add Zotero.ItemFields.getItemTypeFields() to connector cachedTypes.js
2011-07-08 03:42:26 +00:00
Dan Stillman
167806a5bd Move deleted.txt to translators directory 2011-07-07 18:43:34 +00:00
Dan Stillman
439bca9b3b It shouldn't make a difference, but use the correct post-gzip content type for debug output uploads 2011-07-07 16:20:30 +00:00
Simon Kornblith
599f50455e - Fixes #1855, TypeError: Converting circular structure to JSON in handler 0 for itemSaving
- Rename translate_webkit.js to translate_generic.js, since it's also going to get used for server side translation
2011-07-06 16:34:41 +00:00
Simon Kornblith
8640bbf37b make handling of failure in _loadTranslator consistent 2011-07-06 13:37:18 +00:00
Simon Kornblith
75b354a67e Closes #1854, XML mode import issues 2011-07-06 13:29:06 +00:00
Simon Kornblith
0add2d07e6 Move Zotero.varDump to Zotero.Utilities 2011-07-06 07:39:49 +00:00
Simon Kornblith
c8d5e0b8c6 Complete with error if translator fails to load 2011-07-04 17:29:35 +00:00
Simon Kornblith
81693ca665 Handle single field mode properly (should fix Sean's JSTOR issue) 2011-07-04 17:29:09 +00:00
Simon Kornblith
631dff69b7 Also set capitalizeTitles = false on test creation 2011-07-04 17:07:55 +00:00
Simon Kornblith
fb87bded88 Closes #1852: Test success may depend on capitalizeTitles preference 2011-07-04 17:05:42 +00:00
Simon Kornblith
763d46a565 Don't wrap HTML documents with Zotero.Translate.SandboxManager.Fx5DOMWrapper when performing XPath operations. If we encounter a problem with XML documents at some point, I'll try to figure out how to replace this with a proxy.
Fixes #1851: Voyager translator fails on Newberry catalog in Fx5, Zotero trunk
2011-07-04 16:50:56 +00:00
Simon Kornblith
1774962de9 - Refactor Zotero.Translate save process. There are now itemSaving and itemDone handlers. The itemSaving handler is called as soon as the translator returns an item, but before it's saved to the database. The itemDone handler is called when the item is saved. This allows us to show a grayed-out item icon in the connector while the item is saving to server, and then un-gray it when it is saved to the server.
- Move Zotero.randomString() to Zotero.Utilities
- Fix import of collections (broken by recent commits)
2011-07-04 09:08:49 +00:00
Simon Kornblith
ea5a94e860 - Support RDF in connector
- getTranslatorObject() now exports the "Export" object if one exists. In Firefox, it continues to export other objects otherwise. In Chrome/Safari, it will only export do* and detect*.
2011-07-04 05:03:06 +00:00
Simon Kornblith
178eda0c9d Fix getTranslatorObject() 2011-07-03 20:37:53 +00:00
Simon Kornblith
4f4be436f6 ...but don't try to trim null strings 2011-07-03 19:39:24 +00:00
Simon Kornblith
e671496260 Trim all strings before adding to the DB 2011-07-03 19:38:14 +00:00
Simon Kornblith
cf2f8c828b Fix typo 2011-07-03 18:59:26 +00:00
Simon Kornblith
f5af708995 - Eliminate some error messages in translate.js
- Zotero.ItemFields.isValidForType() should not throw on error
2011-07-03 08:28:30 +00:00
Dan Stillman
d6c6fd16f4 Disable tag colors until they're revised a bit 2011-07-03 06:38:09 +00:00
Simon Kornblith
03b569a2e1 Closes #1755, Links from Standalone preferences don't work 2011-07-03 06:27:04 +00:00
Simon Kornblith
0a197f308e - Open https://www.zotero.org/start_standalone (which doesn't yet exist) in default browser on Standalone first start. This will provide a place to download connectors and create an account.
- Don't copy quickstart setting during prefs migration
- Register zotero-reloaded nsIObserver properly
2011-07-03 04:33:37 +00:00
Simon Kornblith
8638b9c496 Fixes #1844, Fix connector switching hangs with Firefox 3.6 on Windows. Standalone will just take an extra 5 seconds to start if started while Firefox 3.6 is running. 2011-07-03 04:15:49 +00:00
Simon Kornblith
a8631f760a Change quickstart URL to https so that it doesn't display a security warning 2011-07-02 17:06:02 +00:00
Simon Kornblith
dd29d18b93 Open quickstart window on first run in Standalone 2011-07-02 16:52:34 +00:00
Simon Kornblith
d12d639842 Support for add-ons 2011-07-02 07:16:24 +00:00
Simon Kornblith
50cc1fcb71 Fixes #1757, VIew Debug output doesn't work in standalone 2011-07-02 05:51:29 +00:00
Simon Kornblith
7b41d76b75 Move standalone.xul to separate standalone directory 2011-07-02 04:27:57 +00:00
Simon Kornblith
56eed344f5 Fixes #1826, Quick Copy does not work in Standalone 2011-07-02 04:00:12 +00:00
Simon Kornblith
fa7ca7e2d7 Improve standalone menus 2011-07-02 03:09:13 +00:00
Simon Kornblith
e63e917ecf Don't require done function in ZU.processDocuments 2011-07-02 00:17:33 +00:00
Simon Kornblith
931ba556e1 Don't require a callback to getTranslators, and ask for the translators handler instead, which is already compatible with 2.1. (Not sure what I was thinking last night...) 2011-07-01 19:39:06 +00:00
Simon Kornblith
63e07763d7 More refinements for select handlers that do not use a callback 2011-07-01 17:25:26 +00:00
Simon Kornblith
b74cfb4a70 Fix multiple replacement in captializeTitles in Chrome/Safari 2011-07-01 06:22:01 +00:00
Simon Kornblith
e37f4e3215 Don't break code (e.g. Scaffold) that returns a value from the select handler instead of using the callback 2011-07-01 06:07:30 +00:00
Simon Kornblith
bd165f60bc - Add ability to pass a callback to Zotero.getTranslators(). AFAIK, this is only used by COinS.
- Don't try to do RPC on non-web translators
- Remove Zotero.Text.titleCase from zotero.js
2011-07-01 05:14:45 +00:00
Simon Kornblith
3b2cc93269 Move Zotero.Text.titleCase() to Zotero.Utilities(), since it's not used anywhere else in the Zotero code 2011-07-01 04:20:48 +00:00
Simon Kornblith
cd046433da Don't run translator tester without Zotero Standalone 2011-06-30 23:10:00 +00:00
Simon Kornblith
ca1e3f8647 -Retrieve trunk translators from repo
-Make translator tester always re-retrieve translators that were previously retrieved from repo
2011-06-30 23:05:15 +00:00
Simon Kornblith
1d72849d99 Don't store translator code in localStorage 2011-06-30 22:14:45 +00:00
Simon Kornblith
39298312db - Reduce object creation overhead when updating translators
- Don't save code for a translator if the lastUpdated date is older than the lastUpdated date in the translator metadata. This is necessary in case translator metadata is retrieved from the repo and then outdated code is retrieved from standalone to avoid being stuck on the outdated code until the next translator update.
2011-06-30 07:15:13 +00:00
Simon Kornblith
aeef8ecc15 Use lastUpdated dates to determine whether to update translators 2011-06-30 06:36:48 +00:00
Simon Kornblith
b1584a1eae Normalize notes and creators 2011-06-30 05:19:11 +00:00
Simon Kornblith
e5268ba2f2 Normalize tags on save 2011-06-30 03:36:00 +00:00
Simon Kornblith
ad04e96ad4 Fix error in multiple item saving 2011-06-30 02:01:31 +00:00
Simon Kornblith
b114266fb3 - Closes #1832, Connectors should be able to retrieve translator data and code from server in the absence of Zotero Standalone
- Closes #1831, Connectors should be able to save via API in the absence of Zotero Standalone
- Fixes Zotero.Utilities.deepCopy() for arrays
- Fixes some circumstances where an error would not be saved for future error reporting
- Fixes connector status checking
2011-06-30 01:08:30 +00:00
Simon Kornblith
2bee3ecf1e Update to citeproc-js 1.0.185 2011-06-29 23:28:06 +00:00
Simon Kornblith
cd783b3f49 Fix error 2011-06-28 18:32:43 +00:00
Simon Kornblith
0d7ffcc1c1 - Add preferences to connector. Debug logging does not yet work
- Add rudimentary connector API version checks, although I still need a good way of showing that the connector/server is out of date
- Throw new Error() in translate (so that we get a stack trace)
- Log errors in connector
2011-06-28 18:24:24 +00:00
Simon Kornblith
dda8551a22 Fix additional race condition and make IPC more resilient to hanging on shutdown 2011-06-28 03:59:18 +00:00
Simon Kornblith
1cba396675 Indent translator metadata with tabs instead of spaces 2011-06-28 00:50:50 +00:00
Simon Kornblith
1d2052cb1a Fix mistake in last commit 2011-06-23 09:43:26 +00:00
Simon Kornblith
ca2e1f4de6 Fix decrementing async processes when there is more than one level of translator calls 2011-06-23 09:42:50 +00:00
Simon Kornblith
7a7bcae2c3 Add option not to delete hidden browser in http.js, and use it in translatorTester.js 2011-06-23 09:29:53 +00:00
Simon Kornblith
c453db744a - Remove null, undefined, and false properties from items before passing to parent translators or handlers
- Fix a bug in Zotero.done()-less operation when a child translator encounters an error
2011-06-23 09:13:21 +00:00
Simon Kornblith
5aa511cf6d - Closes #1839, [patch] Pluralization in translatorTester.js (thanks to Avram)
- Fixes a bug with XMLHttpRequests for XML files on Chrome/Safari
- Adds support for running tests for search translators and (untested) support for running tests for import translators
- If a test specifies "items":"multiple", the testing framework ensures that multiple items are available, but only tests saving one
- Properties explicitly defined as false are now ignored
2011-06-23 08:03:29 +00:00
Simon Kornblith
fc6121e488 Fix a bug in serialize.js that was breaking Zotero startup in Nightly (blame Tim Berners-Lee) 2011-06-22 17:55:36 +00:00
Simon Kornblith
6c6b9c8be2 Remove unused _dontWrap argument 2011-06-22 08:43:44 +00:00
Simon Kornblith
f71122e788 add hack comments to utilities.js 2011-06-22 07:52:06 +00:00
Simon Kornblith
663bc77b5f Actually commit XPath utility functions, missed in r9585 2011-06-22 07:46:10 +00:00
Simon Kornblith
4b08734c9a - Z and ZU in sandbox are now shortcuts to Zotero and Zotero.Utilities
- Closes #1654, XPath helper functions
- Fix DOMParser in sandbox under Firefox 5 in a really nasty way (presumably broken by http://hg.mozilla.org/mozilla-central/rev/673f93bb84aa)
- Add XPath-based CrossRef translator
- Fix search translation-related issues (broken since r9471 or r9574)
2011-06-22 07:37:48 +00:00
Simon Kornblith
c7e32c7ee6 Fix saving to collection 2011-06-21 19:55:00 +00:00
Dan Stillman
b2dda2ec23 Replace all setTimeout(string, ms) calls with setTimeout(func, ms) for AMO 2011-06-20 20:02:14 +00:00
Simon Kornblith
94d0bcf229 Closes #1783, Eliminate Zotero.done() 2011-06-20 18:57:33 +00:00
Simon Kornblith
2d4c81b1ef Save browserSupport as "g" if none specified 2011-06-20 18:56:19 +00:00
Simon Kornblith
72fe1b77a1 Run 6 concurrent translator tests 2011-06-20 18:55:32 +00:00
Simon Kornblith
7152c71e84 Fix Firefox 3.6 compatibility 2011-06-20 17:23:31 +00:00
Simon Kornblith
dd05b26dcc Fix typo 2011-06-20 07:06:28 +00:00
Simon Kornblith
581a8df4b9 Show debug output for translators and allow running all translators or only individual translators 2011-06-20 05:43:54 +00:00
Simon Kornblith
983f5023bc Missing changes from r9554 2011-06-20 04:42:19 +00:00
Simon Kornblith
776724d71e Use Avram's object comparison code to compare items, rather than relying upon equality of the serialized JSON 2011-06-20 03:38:43 +00:00
Simon Kornblith
0c7c40a50f Sanitize items by converting document to URL, so that tests will not fail unexpectedly in connector 2011-06-20 01:32:53 +00:00
Simon Kornblith
1fea00245e - Make translator tester run detect code
- Add support for creating tests to translatorTester.js
2011-06-20 01:22:41 +00:00
Simon Kornblith
7986a8242e closes #1834, Map Zotero language field to CSL item variable "language" 2011-06-18 22:50:00 +00:00
Simon Kornblith
5a43eae702 Clear attached document objects when running translator tests 2011-06-18 17:36:35 +00:00
Simon Kornblith
fb5d4b5da9 Use local namespace for translator tester 2011-06-18 17:09:57 +00:00
Simon Kornblith
5947b240dd Test up to 6 translators concurrently 2011-06-18 17:09:15 +00:00
Simon Kornblith
bfa8786fb4 Don't try to send documents via connectors 2011-06-18 15:37:07 +00:00
Simon Kornblith
597609703f don't print test to console 2011-06-18 08:15:21 +00:00
Simon Kornblith
8771e4b47f Other part of translator testing framework modifications for Chrome/Safari 2011-06-18 08:01:56 +00:00
Simon Kornblith
dcbea215d9 Batch translator tester for testCases format (not yet Chrome/Safari-compatible) 2011-06-18 01:27:06 +00:00
Simon Kornblith
942fe0f97f Fix apply call in Zotero.Translate 2011-06-18 00:48:13 +00:00
Simon Kornblith
fc078caddf Addresses #1829: [PATCH] wpdDOMSaver fails due to undefined Zotero
Removes calls to Zotero object, since they are unnecessary (the call that was problematic was a workaround for a Fx 4 beta crashing bug).
2011-06-17 21:25:05 +00:00
Simon Kornblith
55280e5256 - fix Zotero.loadTranslator() from sandbox
- add (currently only en-US) months to Zotero.Date for connectors (localization is #1830)
2011-06-17 20:05:48 +00:00
Simon Kornblith
48b5bc8bee also fix gatherElementsOnXPath() for Chrome/Safari 2011-06-17 19:37:11 +00:00
Simon Kornblith
59f9c1639d add support for unescapeHTML in Chrome/Safari 2011-06-17 19:35:41 +00:00
Simon Kornblith
6169643b16 add missing "g" parameter to for each regexp 2011-06-17 19:33:39 +00:00
Simon Kornblith
edceb34153 - support retrieveSource(), even though it is inadvisable
- throw appropriate error for retrieveDocument()
- warn about undesirable behaviors even when translators are run under Firefox
2011-06-17 19:26:13 +00:00
Simon Kornblith
d1fa4399af More tweaks to select items behavior 2011-06-17 18:52:53 +00:00
Simon Kornblith
e35c25e31d Fix lingering bugs in Chrome/Safari translation 2011-06-17 18:20:50 +00:00
Simon Kornblith
250e193645 Tweaks to support translation in connector (detection works now, but processDocuments() is still not implemented and no import/export/search translators are Safari/Chrome-compatible, so I haven't tested anything) 2011-06-17 07:01:12 +00:00
Simon Kornblith
38e25d4756 restore comment and fix an accidental transposition in connector.js 2011-06-17 03:49:48 +00:00
Dan Stillman
c10fe8606c Closes #1563, add ability to add links by URI and edit existing link attachment URIs
Thanks to ajlyon for the patch
2011-06-16 18:17:06 +00:00
Dan Stillman
5d30b8c726 Have the database integrity check look for the schema-related inconsistencies that the DB Repair Tool fixes 2011-06-16 04:57:37 +00:00
Simon Kornblith
d1a0f923e8 update to citeproc-js 1.0.179 2011-06-15 13:47:28 +00:00
Simon Kornblith
acfd317de9 - Addresses #1828, Ensure any code that uses nsITimer directly maintains a global reference until callback executes
- Adds an optional runWhenWaiting argument to Zotero.setTimeout(), so that code can be set to run even if Zotero.wait() is in progress
2011-06-14 21:26:48 +00:00
Simon Kornblith
5d32e800fc don't try to call callback if it doesn't exist 2011-06-14 21:24:29 +00:00
Simon Kornblith
11e337a189 fix non-triggering setTimeout calls and restore r9383 2011-06-14 19:24:39 +00:00
Dan Stillman
47dbd613ea Revert r9383 (substantially) to fix unending sync icon spinning 2011-06-14 17:46:46 +00:00
Simon Kornblith
856abf366d fix mis-licensed files 2011-06-14 07:51:45 +00:00
Simon Kornblith
8fe64c6d9a Scrape progress indicators for Safari and Chrome 2011-06-14 07:44:51 +00:00
Simon Kornblith
8cf7f6e331 don't throw a bunch of errors for no reason 2011-06-14 04:10:22 +00:00
Simon Kornblith
d0017c875a remove debug line 2011-06-14 04:05:11 +00:00
Simon Kornblith
40e0c6fee6 Fix race condition under Firefox 4 2011-06-14 04:02:27 +00:00
Dan Stillman
2b68113fd7 - Fix search bar drop-down on Linux
- Increase padding slightly next to non-menu toolbar buttons
- Tweak alignment of sync icon
2011-06-14 03:24:21 +00:00
Simon Kornblith
8268d1b01c Zotero Everywhere megacommit
- Implement connector for Firefox (should switch in/out of connector mode automatically when Standalone is launched or closed, although this has only been tested extensively on OS X)
- Share core translation code between Zotero and connectors

Still to be done:

- Run translators in non-Fx connectors (this works in theory, but it's not currently enabled for any translators)
- Show translation results in non-Fx connectors
- Ability to translate to server when Zotero Standalone is not running
2011-06-14 00:36:21 +00:00
Simon Kornblith
289e696e90 allow CSL 1.0 dependent styles to reference CSL 0.8 parents, and vice versa 2011-06-10 21:39:40 +00:00
Simon Kornblith
06be99acfa parse mm/yyyy properly even on non-US systems 2011-06-08 14:19:16 +00:00
Simon Kornblith
b874641bf9 - show correct gradients for between focused, selected, and inactive tree items in collections tree on OS X
- use -moz-linear-gradient instead of images
2011-06-07 06:26:12 +00:00
Dan Stillman
4c07ff04a1 Copy mainwindow-dropdown-arrow.png to skin directory for availability in Standalone 2011-06-07 06:00:36 +00:00
Dan Stillman
689b758dd3 Fixes #1824, Fix appearance of search menu on Windows 2011-06-07 05:47:58 +00:00
Simon Kornblith
54a13955e4 Fix "Support and Documentation" from cog menu in tab mode
http://forums.zotero.org/discussion/18251/support-and-documentation-tab-not-opening/
2011-06-06 16:11:08 +00:00
Simon Kornblith
81e9a7010e only use first 50 selected items when determining locate menu actions, to prevent a slowdown when accessing the context menu with a large number of items selected 2011-06-06 04:30:06 +00:00
Dan Stillman
5fcbd914ae Use existing function instead of DB query 2011-06-05 00:12:14 +00:00
Simon Kornblith
6981df1eaf update to citeproc-js 1.0.177 2011-06-04 00:47:02 +00:00
Dan Stillman
df10b726de Use unescaped "<sup>" in HTML output in citeproc-js 2011-06-03 19:35:45 +00:00
Dan Stillman
66e121a4ed - Reset debug output logging "Enable after restart" to false after a restart
- Disable debug output logging after submitting to Zotero server
2011-06-03 07:46:27 +00:00
Simon Kornblith
d7e4ae3620 Add some new menu items 2011-06-03 05:14:48 +00:00
Simon Kornblith
8d23635f8b update to citeproc-js 1.0.176 2011-06-02 17:40:52 +00:00
Dan Stillman
09e22e1e5d - Revert async notifier change in r9341
- Better fix for excessive item saving activity
- Fix for erroneous switch to library after adding an item to a collection (since r9341)
2011-06-01 14:28:59 +00:00
Simon Kornblith
c7a44a6f37 Workaround for Firefox bar that was causing a white bar to appear on Win x64 when Firefox was started maximized 2011-06-01 09:10:33 +00:00
Dan Stillman
1e73421522 Closes #909, Have New Item drop-down display the most recently used item types 2011-06-01 04:22:45 +00:00
Dan Stillman
8f3a8479f8 Updated fr-FR CSL locale from Frank 2011-05-31 22:55:51 +00:00
Dan Stillman
e509d35a81 Fixes #1822, Dragging notes that contain HTML entities sends HTML as text 2011-05-31 20:24:13 +00:00
Simon Kornblith
8f65c52f6c clear queued callbacks once they have been requeued and fix typo 2011-05-31 20:01:55 +00:00
Simon Kornblith
3f69b8b9c0 Don't allow functions queued with setTimeout() to execute during Zotero.wait()
Fixes fatal error during import
2011-05-31 19:59:07 +00:00
Simon Kornblith
58a3680ca5 closes #1267, Button height in toolbar 2011-05-31 06:58:00 +00:00
Simon Kornblith
fbead5600b refine toolbar behavior 2011-05-31 06:53:13 +00:00
Simon Kornblith
fbdb7d5526 add missed files from previous commit 2011-05-31 06:50:52 +00:00
Simon Kornblith
e96a185e8e Fix toolbar positioning on non-Mac 2011-05-31 06:46:28 +00:00
Simon Kornblith
08cbf4d4d9 small tweaks to help 2011-05-31 06:38:22 +00:00
Simon Kornblith
1b1af48be0 add Help menu items and About dialog 2011-05-31 06:34:21 +00:00
Simon Kornblith
3ce92c3690 closes #1775, Window hiding on Mac OS X 2011-05-31 05:32:45 +00:00
Simon Kornblith
49e309bb85 remove another window.loadURI 2011-05-31 04:58:07 +00:00
Simon Kornblith
8d7de2987c closes #1794, Fix automatic updater on OS X
Display a warning if running a Zotero frankenbuild
2011-05-31 04:35:47 +00:00
Simon Kornblith
46c5014c28 - show appropriate error message when attempting to use quick copy on a non-reference
- eliminate use of window.loadURI
2011-05-31 04:13:46 +00:00
Simon Kornblith
55d3f8c47c closes #1818, Include styleID on io.wrappedJSObject within addCitationDialog.js 2011-05-31 01:00:51 +00:00
Simon Kornblith
2ce712df70 Show an error when a user attempts to use an invalid style 2011-05-30 05:25:13 +00:00
Simon Kornblith
9fa94d442d update to citeproc-js 1.0.175 2011-05-29 18:44:07 +00:00
Dan Stillman
f68b74bcf4 Updated CSL locale files 2011-05-28 17:26:45 +00:00
Dan Stillman
8c7c2425f6 Prevent excessive item saving when dragging a child note to another parent (since r8762) by triggering queued notifications asynchronously 2011-05-27 21:33:45 +00:00
Dan Stillman
fdbc11f2b3 Fixes #1798, Apparent duplication of standalone attachment after drag
Trigger change notification for moved item before new parent item so that the tree view can detect that the moved item is in the wrong place, remove it, and then refresh the new parent item's children
2011-05-27 20:19:25 +00:00
Simon Kornblith
f51e6dd84a Fix handling of CSL 1.0 dependent styles 2011-05-27 14:22:10 +00:00
Simon Kornblith
4d6acbf8fe update to citeproc-js 1.0.174 2011-05-26 19:29:13 +00:00
Simon Kornblith
cdd9675920 fix memory leak 2011-05-25 19:47:00 +00:00
Simon Kornblith
d5fb8358fb update to citeproc-js 1.0.172 2011-05-24 15:48:27 +00:00
Simon Kornblith
f5661217aa update to citeproc-js 1.0.169 2011-05-19 23:28:31 +00:00
Simon Kornblith
de56c2567f closes #1797, Toggle tab mode button when no non-Zotero tabs are open
clicking the toggle tab button when the Zotero tab is the only tab open will now open the home page
2011-05-19 23:20:07 +00:00
Simon Kornblith
bc354b1435 Fix "win.ZoteroPane.document is undefined" when Zotero is set to start in tab mode and the Zotero tab has not yet been selected (missed code in last commit) 2011-05-19 23:00:01 +00:00