Commit graph

2625 commits

Author SHA1 Message Date
Simon Kornblith
a27f7259ec Use Zotero.setTimeout when possible 2012-02-20 04:46:34 -05:00
Simon Kornblith
b5d236fc9d Fire a DOM event when we have translators 2012-02-20 04:18:23 -05:00
Dan Stillman
0d34e34a3a Don't add 'Web Page" to new item menu by accident
And ignore it if it's there
2012-02-20 03:31:22 -05:00
Simon Kornblith
3c500b8ebf Refocus content when closing Zotero pane by any means besides opening Zotero Standalone 2012-02-20 03:11:53 -05:00
Simon Kornblith
82d3293b4c Minor refactoring 2012-02-20 03:03:32 -05:00
Simon Kornblith
5dcade91c5 Serialize browser 2012-02-20 02:38:29 -05:00
Simon Kornblith
99d65926bf Unregister mimeTypeHandler and version header on Zotero shutdown 2012-02-20 02:26:41 -05:00
Simon Kornblith
549fa4a508 Make translator tester time out after 10 minutes, add partial failure condition in tester pane, and rename "Unknown" to the more descriptive "Data Mismatch" 2012-02-20 02:06:33 -05:00
Simon Kornblith
07028650f0 Closes #48, Additional field in QuickFormat dialog showing the name of the library and providing a link to the item with the following modifications
- Open in current window if one is already open
- Use a button instead of a label
- Don't show button if citation item is not linked to a Zotero item

This doesn't currently work if the Zotero pane has never been opened in the given window, because ZoteroPane.selectItem() appears to fail in that circumstance. This needs to be fixed.
2012-02-19 18:37:42 -05:00
Simon Kornblith
7a2e402d0d Merge commit '0d0a6f38b28618ab9311d886ba93df84af52ba90'; commit 'c7b4c41aee68c6a63df0bd9746e44087c33d7724' 2012-02-18 13:41:52 -05:00
Simon Kornblith
724cee24ff Fix bustage (@dstillman should make sure that there's nothing else screwed up from the merge) 2012-02-18 13:37:32 -05:00
Simon Kornblith
f831146ecf Don't save undesired snapshots from connector 2012-02-18 01:38:28 -05:00
Simon Kornblith
6021214b06 Further restructuring of error handling 2012-02-17 23:10:18 -05:00
Simon Kornblith
7eac0e1820 More error handling improvements 2012-02-17 21:54:05 -05:00
Simon Kornblith
90d8363b0f Make sure updateDocument throws a visible error 2012-02-17 21:40:19 -05:00
grolimur
7e18d0cf8e Update chrome/content/zotero/zoteroPane.xul 2012-02-17 23:20:07 +01:00
Simon Kornblith
c36a2b32b1 Merge branch '3.0' 2012-02-17 14:48:26 -05:00
Simon Kornblith
88edc08e78 Expose XMLSerializer to translators 2012-02-17 14:43:48 -05:00
Simon Kornblith
4aa81bd39f Fix option to force charset 2012-02-17 12:16:06 -05:00
Dan Stillman
17e9c466d0 Merge branch '3.0' 2012-02-17 04:26:58 -05:00
Dan Stillman
7dea22bd6e Update versions 2012-02-17 01:07:36 -05:00
Simon Kornblith
5cb830d9c6 Update submodules 2012-02-17 00:50:04 -05:00
Dan Stillman
75dd27bf5b Remove setAttribute('onclick'...) with embedded id for AMO 2012-02-16 19:43:38 -05:00
Simon Kornblith
6aedc8bff5 Prevent inconsequential error 2012-02-16 16:03:07 -05:00
Simon Kornblith
d94b4683b3 Force ZSA into online mode on startup 2012-02-16 14:42:21 -05:00
Simon Kornblith
1c83646212 Avoid throwing if attempt to catch startup errors somehow fails? 2012-02-16 14:22:50 -05:00
Simon Kornblith
a402350cda Better error handling in addStatement 2012-02-16 13:29:32 -05:00
Simon Kornblith
95fa3bc554 Fix an error spotted in an error report 2012-02-16 07:59:42 -05:00
Simon Kornblith
a47174748e Update to citeproc-js 1.0.285 2012-02-16 07:56:40 -05:00
Simon Kornblith
2296d1f6ac Don't throw if the user types before the window finishes initializing 2012-02-16 07:44:02 -05:00
Simon Kornblith
eeacdc7391 Fix issues saving attachments from another translator 2012-02-16 06:34:34 -05:00
Dan Stillman
10d23e76bf Fix "Please restart undefined" in WebDAV error message
And a little other weirdness
2012-02-16 04:51:30 -05:00
Simon Kornblith
54b2916f7e Don't let Firefox hide our toolbars 2012-02-16 04:13:47 -05:00
Simon Kornblith
6a68139591 charset is a complex value in newer Fx versions
probably fixes http://forums.zotero.org/discussion/21956/zotero-wont-accept-ris-file/#Item_2
2012-02-16 03:51:26 -05:00
Dan Stillman
bfa7b5b153 Add some storage filename debugging 2012-02-16 03:45:25 -05:00
Simon Kornblith
5d78e3cfe8 Update to citeproc-js 1.0.283 2012-02-16 02:59:02 -05:00
Simon Kornblith
1e5bde6a54 Fix an inconsequential error 2012-02-15 13:07:12 -05:00
Simon Kornblith
da2a8dfdb0 Remove code with no consequences 2012-02-15 03:11:03 -05:00
Simon Kornblith
645bbf92b8 More hacks for pdf.js 2012-02-15 02:43:08 -05:00
Simon Kornblith
9b76f4b5b8 Hack to open PDFs in pdf.js when available 2012-02-14 23:01:44 -05:00
Simon Kornblith
ca994fd22b Prevent accept from being called twice 2012-02-14 22:55:35 -05:00
Simon Kornblith
fb657bf0cf Fix bustage 2012-02-14 15:20:19 -05:00
Simon Kornblith
09813b145d Merge branch '3.0' 2012-02-14 15:00:07 -05:00
Simon Kornblith
65a024e980 Revert "Revert "Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed""
This reverts commit aa6a85051a.

Changed my mind...
2012-02-14 14:05:30 -05:00
Simon Kornblith
aa6a85051a Revert "Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed"
This reverts commit a618d75e5b.

This shouldn't actually fix anything, because the setText() call would only happen if isRich were set to begin with.
2012-02-14 13:55:26 -05:00
Simon Kornblith
a618d75e5b Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed 2012-02-14 13:47:04 -05:00
Simon Kornblith
25e49faa2c Don't break bibliography dialog in RTF Scan 2012-02-14 12:06:26 -05:00
Simon Kornblith
a6f253b46a Knock off beginning rather than end of errors 2012-02-14 00:41:04 -05:00
Dan Stillman
2903fd27ef Update repotime and submodules 2012-02-14 00:01:23 -05:00
Simon Kornblith
899e881f93 Don't break cookie sandboxing 2012-02-13 21:03:01 -05:00
Simon Kornblith
4c97ee3ce5 Unregister ConsoleListener on Zotero shutdown 2012-02-13 20:50:44 -05:00
Simon Kornblith
ad6e4242a9 Don't break launch on Fx 3.6 2012-02-13 20:47:00 -05:00
Simon Kornblith
6138149e6d Blacklist "trying to re-register CID" error, which is produced by integration plugins because Firefox version detection for XPCOM components is hard 2012-02-13 20:47:00 -05:00
Simon Kornblith
f403be2fc5 Keep track of startup errors and the last 25 errors on our own (since otherwise errors tend to be crowded out of the buffer by CSS warnings) 2012-02-13 20:47:00 -05:00
Dan Stillman
43ff47be5b Ignore errors from individual files when rebuilding index 2012-02-13 20:09:10 -05:00
Simon Kornblith
5a8d669ecc Be more lenient about hyphens and em dashes 2012-02-13 16:38:22 -05:00
Dan Stillman
83c391628d Workaround for indexing bug with bad UTF-8 past maxLength
I'll put in a better fix on master, though this shouldn't happen anyway,
since nsIConverterInputStream shouldn't be throwing.
2012-02-13 16:26:27 -05:00
Simon Kornblith
10cef4c06f Fix giant integration doc prefs window 2012-02-13 14:03:49 -05:00
Simon Kornblith
b21dbbace4 Also don't break if replacing a field with a bibliography is cancelled 2012-02-13 13:36:18 -05:00
Simon Kornblith
10a09884f4 Cancelling the "replace this field" box should not break integration 2012-02-13 13:33:48 -05:00
Simon Kornblith
81c33f49dd Closes #52: Allow to use empty string as delimiter in xpathText 2012-02-13 12:18:58 -05:00
Frank
cb656c9456 Upgrade citeproc-js to version 1.0.280 2012-02-13 23:22:06 +08:00
Simon Kornblith
544c8a1fa7 Send Content-Type even when body is empty 2012-02-13 03:13:28 -05:00
Simon Kornblith
c5a2572c91 Always sort translators alphabetically 2012-02-12 19:30:32 -05:00
Simon Kornblith
39bec9b1a2 Don't break X11 2012-02-12 19:04:04 -05:00
Simon Kornblith
3510e1dda8 Fix Linux integration issue reported by fbennett at http://groups.google.com/group/zotero-dev/browse_thread/thread/e6618d5f27d1cd7e (ultimate cause appears to be some kind of Linux-specific bug relating to dialogs) 2012-02-12 18:56:04 -05:00
Simon Kornblith
9575c1d029 Kill E4X, reorganize X11 calls, and use strict 2012-02-12 18:24:43 -05:00
Simon Kornblith
dc4a448780 Merge branch '3.0' 2012-02-12 18:10:19 -05:00
Simon Kornblith
0a25cdad96 Fix typo 2012-02-12 17:22:25 -05:00
Dan Stillman
9a3f3b7026 Fix for large Z pane min-height 2012-02-12 04:42:02 -05:00
Frank
34e62cad87 Update citeproc-js to version 1.0.279 2012-02-12 13:38:03 +08:00
Simon Kornblith
959905a061 Use a single load event for scrollbar hack 2012-02-11 20:49:23 -05:00
Simon Kornblith
7a95185b34 Fix scrolling in basicViewer 2012-02-11 20:49:23 -05:00
Simon Kornblith
146d281bfb Use a single load event for scrollbar hack 2012-02-11 18:30:24 -05:00
Simon Kornblith
5470d4bf89 Fix scrolling in basicViewer 2012-02-11 18:23:43 -05:00
Mikko Rönkkö
c7b4c41aee Added a library link to QuickFormat dialog, fix url 2012-02-11 13:19:36 +02:00
Mikko Rönkkö
0d0a6f38b2 Added a library link to QuickFormat dialog 2012-02-11 13:04:14 +02:00
Simon Kornblith
e29c87c77b Merge branch '3.0' 2012-02-11 00:41:24 -05:00
Simon Kornblith
703d18ecb9 Remove antiquated code 2012-02-11 00:39:58 -05:00
Simon Kornblith
ef9040c46d Revert "Remove antiquated code"
This reverts commit d5fc04485b.
2012-02-11 00:38:21 -05:00
Simon Kornblith
d5fc04485b Remove antiquated code 2012-02-11 00:34:05 -05:00
Simon Kornblith
5619555866 Improve our chances of getting attachments from the connector. We attach cookies sent from the connector to attachment downloads, which should get most proxies working, provided that the user is logged in. We also use WeakMaps to keep track of active CookieSandboxes, rather than manually removing them from a list. 2012-02-10 19:14:46 -05:00
Simon Kornblith
97ed9ccbfe Serialize RDF to string on export 2012-02-10 16:10:10 -05:00
Dan Stillman
6592124ef2 Merge branch '3.0' 2012-02-10 14:11:14 -05:00
Dan Stillman
de7467a62c Merge branch '3.0' 2012-02-10 14:10:07 -05:00
Simon Kornblith
61f9b49ddc Fix getBaseIDFromTypeAndField 2012-02-10 14:08:47 -05:00
Simon Kornblith
db89c65596 More antiquated code cleanup 2012-02-10 01:46:47 -05:00
Simon Kornblith
9d7509ae13 Fix breakage 2012-02-10 01:44:35 -05:00
Simon Kornblith
ac5d833117 Remove antiquated code 2012-02-10 01:38:01 -05:00
Dan Stillman
c6d2d823f0 Update version 2012-02-10 01:31:11 -05:00
Dan Stillman
e1532c6837 Restore proper error if datadir is inaccessible 2012-02-10 01:29:34 -05:00
Dan Stillman
4ef7c94374 Switch to regular add-on bar button
Can be moved/removed via Customize as well as via Zotero prefs. The icon
can be in the toolbar or in the add-on bar, but not both, because
it's now the same button with different styling depending on where it is.

If the icon does not exist in the UI and the pref is set to show (as it
is by default), the icon is added to the add-on bar and the add-on bar is
persisted open. This has the effect of showing the icon/bar on
first run. If the icon is removed or the bar is hidden, they remain that
way.
2012-02-10 01:20:00 -05:00
Simon Kornblith
1feb5c5fc2 Translators that specify an error handler for a child translator shouldn't throw on error 2012-02-09 14:01:31 -05:00
Dan Stillman
8fd6f7efb2 Lines that mention "pre-1.0b2 installs" can probably be removed 2012-02-09 04:03:05 -05:00
Simon Kornblith
9d0e8c258e Remove debug code 2012-02-09 04:01:01 -05:00
Simon Kornblith
8d48b1de54 Drop a lot of Fx 3.6-specific code 2012-02-09 03:56:30 -05:00
Simon Kornblith
0f6b151ea4 Remove Fx 3.6 and 4.0-specific code 2012-02-09 03:45:36 -05:00
Simon Kornblith
4fc7600387 Drop http server that did nothing but show an error for Zotero 1.0 users who had upgraded Zotero without upgrading the Word plugin 2012-02-09 03:45:36 -05:00
Frank
f74df0f7fd Upgrade citeproc-js to version 1.0.278 2012-02-09 15:27:05 +08:00
Dan Stillman
6c5e155ba7 Merge branch '3.0' 2012-02-09 02:18:15 -05:00