Commit graph

2625 commits

Author SHA1 Message Date
Simon Kornblith
e116f7a174 Fix dumb typo 2012-02-23 00:07:41 -05:00
Dan Stillman
3fb81ab1b9 Fix another couple "restart undefined" errors 2012-02-22 22:30:53 -05:00
Dan Stillman
438e122cc8 More file sync debugging 2012-02-22 20:13:20 -05:00
Dan Stillman
d13af7ca3e Don't show site-specific Quick Copy in Standalone 2012-02-22 04:40:34 -05:00
Simon Kornblith
71c63c6a74 Attempt to escape wrapper hell by serializing and unserializing the item 2012-02-21 22:18:43 -05:00
Simon Kornblith
e45c48a66f Fix "Function complete defined in y, not in x, or definitions differ" 2012-02-21 18:15:43 -05:00
Dan Stillman
4cf4e13a7b Add more helpful error message for file import error 2012-02-21 18:10:30 -05:00
Dan Stillman
39fc50913c Fix debug output of objects, which I broke in da09a8df 2012-02-21 18:10:30 -05:00
Simon Kornblith
226ec917a6 CSS changes 2012-02-21 17:45:00 -05:00
Simon Kornblith
74299b96b9 Show issues on GitHub that start with the translator label 2012-02-21 17:44:26 -05:00
Simon Kornblith
32ad75c680 Serialize translatorID 2012-02-21 12:42:24 -05:00
Frank
f68eb7c6f5 Upgrade citeproc-js to version 1.0.287 2012-02-21 15:44:26 +08:00
Frank
3b6c4f8c4a Upgrade citeproc-js to version 1.0.286. 2012-02-21 15:44:26 +08:00
Simon Kornblith
cb18dd6a3a Show appropriate error on missing test data 2012-02-20 23:32:14 -05:00
Simon Kornblith
21c466fcd6 Don't show "Translating undefined" for non-web translators 2012-02-20 23:30:28 -05:00
Simon Kornblith
646b84c1d0 Accept browser, version, and date arguments 2012-02-20 23:06:26 -05:00
Simon Kornblith
705672d431 Serialize all items, in case there are multiple 2012-02-20 16:26:35 -05:00
Simon Kornblith
833031dbdf Remove unchecked data before serializing 2012-02-20 16:20:50 -05:00
Simon Kornblith
2f61e417bc Include more information in translator tester output 2012-02-20 16:17:05 -05:00
Simon Kornblith
ed6a7b665a Give seconds in seconds, not ms 2012-02-20 05:14:47 -05:00
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
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
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
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
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
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
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
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
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
Simon Kornblith
61f9b49ddc Fix getBaseIDFromTypeAndField 2012-02-10 14:08:47 -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
Frank
f74df0f7fd Upgrade citeproc-js to version 1.0.278 2012-02-09 15:27:05 +08:00
Simon Kornblith
564d27f51c Allow add-ons to be updated via addons.mozilla.org in Zotero Standalone, part 1 2012-02-08 23:06:50 -05:00
Dan Stillman
5f5bc9568c Update versions 2012-02-08 17:22:23 -05:00
Dan Stillman
66f51db3c8 Don't use "application/vnd.oasis.opendocument.text" for all ZIP files
This bug dates to 2008. We'll correct existing files in a client update
and on the server.
2012-02-08 17:13:31 -05:00
Simon Kornblith
6a3ce4292e Don't display an error if adding a citation is cancelled 2012-02-08 16:40:02 -05:00
Simon Kornblith
0daf51e05c Warn before letting the user change a citation that has been edited 2012-02-07 18:27:58 -05:00
Simon Kornblith
fc5e8be8c0 Don't break citation ID regeneration 2012-02-07 18:22:42 -05:00
Simon Kornblith
6fe3ef27d4 Screw with the way we handle citation IDs instead of indices, since that's closer to the root of the problem 2012-02-07 18:15:28 -05:00
Simon Kornblith
7b8d8023f2 Don't clear newIndices. This might fix some errors? But I don't see how they would occur anyway unless another error had already occurred 2012-02-07 18:09:49 -05:00
Dan Stillman
dd46e267ee Fix "libraryID, name, type are not unique" tag sync error
Ported from server
2012-02-07 05:51:33 -05:00
Simon Kornblith
438e0e3128 Defer missing item warning until after QuickFormat closes 2012-02-06 22:46:20 -05:00
Simon Kornblith
1c28a23aa6 Wait to load all citations out of document before showing QuickFormat dialog if storeReferences is disabled. Otherwise people with missing references apparently get confused. 2012-02-06 19:28:49 -05:00
Dan Stillman
3d58ef557d Remove snapshot/link-from-page options in Standalone 2012-02-06 14:21:56 -05:00
Simon Kornblith
67e6cbfede Fix repaint 2012-02-06 12:44:38 -05:00
Dan Stillman
84fe2728da Replace setAttribute("oncommand", ...) with addEventListener()
For AMO validator
2012-02-06 02:38:53 -05:00
Dan Stillman
c987130323 Tag debugging that actually works 2012-02-06 02:30:31 -05:00
Simon Kornblith
2ae1b75d62 Update to citeproc-js 1.0.277 and switch to DOM XML, because Firefox's E4X support gets more unstable as time goes on 2012-02-05 19:37:24 -05:00
Simon Kornblith
a78cd2cf18 Fix WPD leak by loading into a local scope 2012-02-05 18:58:15 -05:00
Simon Kornblith
39c86a791e Use Zotero.debug() instead of dump() in WPD 2012-02-05 18:46:49 -05:00
Dan Stillman
dca22a012c Debugging for tag issue 2012-02-05 01:49:08 -05:00
Dan Stillman
ee51b49377 Center save icon guidance panel 2012-02-04 15:20:46 -05:00
Dan Stillman
deeb1b2247 Add MIME type for locate icon 2012-02-03 22:41:20 -05:00
Dan Stillman
8d96cf35bb Fix global assignment 2012-02-03 22:10:58 -05:00
Simon Kornblith
5b8b515b06 Fix potential crash activating integration dialog on Linux 2012-02-02 03:07:26 -05:00
Dan Stillman
48a09eaf37 Remove styles update script (included accidentally in 3.0) 2012-02-02 02:14:24 -05:00
Simon Kornblith
d4552a8c6c Tweak toolbar UI 2012-02-01 22:23:07 -05:00
Simon Kornblith
774f91f092 Fix ugly groupbox 2012-02-01 20:45:55 -05:00
Simon Kornblith
d082d074ee Don't use Win 7 theme on Win XP 2012-02-01 20:05:28 -05:00
Simon Kornblith
ddad4a6acd Undo win-specific style tweak 2012-02-01 19:42:46 -05:00
Simon Kornblith
8452deb300 Make QuickFormat page number handling more reliable 2012-02-01 19:39:34 -05:00
Dan Stillman
fb140c3ff4 Update zotero.js version 2012-02-01 19:33:25 -05:00
Dan Stillman
d3f4bc6d7e Tweak QuickFormat first-run text 2012-02-01 19:17:38 -05:00
Simon Kornblith
ff406ba827 Merge branch '3.0' of github.com:zotero/zotero into 3.0 2012-02-01 18:23:54 -05:00
Simon Kornblith
29f4dce061 Tiny cosmetic change 2012-02-01 18:21:17 -05:00
Dan Stillman
3bd1ff7676 Fix broken annotations 2012-02-01 18:15:29 -05:00
Simon Kornblith
48f90cb8b4 Merge remote-tracking branch 'origin/3.0' into 3.0 2012-02-01 17:25:26 -05:00
Simon Kornblith
46f64523a4 Add first-run guidance to QuickFormat dialog 2012-02-01 17:23:25 -05:00
Dan Stillman
de9f1e8943 Log some sync errors to console 2012-02-01 02:39:49 -05:00
Dan Stillman
e725eb88b4 "Firefox" -> "Firefox"/"Zotero" as appropriate 2012-02-01 02:35:22 -05:00
Simon Kornblith
a6b5717b8e Fix Linux focus bugs entirely and also (hopefully) fix the white bar issue 2012-01-31 23:11:40 -05:00
Simon Kornblith
c6c5f6c2f7 Try libX11.so.6, in case it's not symlinked to libX11.so 2012-01-31 22:25:43 -05:00
Simon Kornblith
9d20e2a827 A slightly less sketchy reactivate hack 2012-01-31 22:22:45 -05:00
Simon Kornblith
e10c3e2e72 Fix switching to classic add citation dialog 2012-01-31 10:58:09 -05:00
Simon Kornblith
8d2c42be78 Remove unused code from the unused n3 parser 2012-01-31 04:01:41 -05:00
Simon Kornblith
481682d4a7 Add notes that processNextEvent() calls are used to handle deprecated cases 2012-01-31 03:42:33 -05:00
Simon Kornblith
89245e857f Make the dumb validator happy 2012-01-31 03:38:56 -05:00
Simon Kornblith
50330d9a78 Move repaint code to fileInterface.js, because there's only one use of it 2012-01-31 03:34:06 -05:00
Simon Kornblith
943d2cd5de Remove a couple of repaints 2012-01-31 03:31:29 -05:00
Dan Stillman
24fa452d94 Version update 2012-01-30 22:34:01 -05:00
Frank
65d8819fd0 Upgrade citeproc-js to version 1.0.272 2012-01-30 23:51:59 +08:00
Frank
b9422b32e6 Upgrade citeproc-js to version 1.0.271 2012-01-30 23:51:59 +08:00
Frank
2eb3a6f4dc Upgrade citeproc-js to version 1.0.270 2012-01-30 23:51:58 +08:00
Simon Kornblith
88931ef47c Remove debug code 2012-01-30 02:45:57 -05:00
Simon Kornblith
5b3351d86e Pull windows to the foreground on Linux 2012-01-30 02:43:29 -05:00
Simon Kornblith
f606aea369 Minor cosmetic tweak 2012-01-30 01:33:37 -05:00
Simon Kornblith
42e69dbf97 Don't break integration if QuickFormat dialog is closed with close box (only affects Linux) 2012-01-29 16:39:27 -05:00
Simon Kornblith
c1672e4d4e Fix inserting first citation, broken by b526a7 2012-01-27 15:37:02 -05:00
Simon Kornblith
5f89402ce6 Refuse to open preferences in connector mode and close preferences when Zotero Standalone is opened 2012-01-27 05:59:03 -05:00
Simon Kornblith
0e1df8b8b4 Don't warn about corruption when Zotero Standalone is launched from zotero://fullscreen (does anyone use this?) 2012-01-27 05:54:54 -05:00
Frank
9457927a3e Upgrade citeproc-js to version 1.0.269 2012-01-27 17:58:11 +08:00
Simon Kornblith
b526a7f801 Don't show an error when trying to insert a bibliography after the set document preferences window has been shown but the style has not been changed 2012-01-27 04:42:25 -05:00
Simon Kornblith
a86d6cd1ef Allow editing bibliography when it contains items not present in the DB. 2012-01-27 04:31:21 -05:00
Dan Stillman
9cc26951dc Add additional test to db integrity check 2012-01-27 00:15:50 -05:00