Commit graph

3841 commits

Author SHA1 Message Date
Dan Stillman
bb0e894c27 Remove extra debug lines when emptying trash 2012-03-12 22:19:04 -04:00
Simon Kornblith
64c8f04644 Deal with item.tags missing a sort method 2012-03-12 21:38:44 -04:00
aurimasv
5be84a5d59 add maxLevels to varDump to avoid infinite loops 2012-03-12 20:33:59 -05:00
Simon Kornblith
ba96aff194 Merge pull request #79 from aurimasv/cleanAuthor
Periods after latin letters only
2012-03-12 18:16:59 -07:00
Simon Kornblith
603e07d21a Translators should always run in browser when called by a parent translator 2012-03-12 17:30:34 -04:00
Dan Stillman
ba8bf4910f Some tweaks to auto/idle-syncing
- Don't run idle sync if manual sync is required or Zotero is locked
- Don't clear sync error icon when opening pane
- Better debug message on pane open for syncing not being enabled
2012-03-12 16:25:35 -04:00
aurimasv
19a6b08b51 Only put periods after capital latin letters 2012-03-12 06:01:50 -05:00
Dan Stillman
daf1899c72 Remove unnecessary ellipsis 2012-03-12 01:43:56 -04:00
Frank
25862e3af0 Update citeproc-js to version 1.0.298 (note that previous 1.0.295 tag update is mis-applied and anachronistic) 2012-03-12 13:25:30 +08:00
Frank
74af1fbb8c Upgrade citeproc-js to version 1.0.297 2012-03-12 13:25:29 +08:00
Frank
8b157709bd Upgrade citeproc-js to version 1.0.296 2012-03-12 13:25:29 +08:00
Simon Kornblith
90b515732b Try alternative strategy for activating windows 2012-03-11 23:01:43 -04:00
Simon Kornblith
ea7094821a Don't block when calling fallbackLauncher 2012-03-11 19:37:45 -04:00
Dan Stillman
5e19020437 Auto-empty items from trash on idle rather than at pane open
Deleting is currently very slow (which will be fixed on master), which
can cause long delays when auto-emptying items older at pane open.
Instead, empty 10 items after 5 minutes of idle, and then another 10
every 5 seconds until there are no more items to empty or the user is back.
2012-03-11 18:54:46 -04:00
Dan Stillman
9821db988d Fix "_observers.get(i).ref is undefined) errors
If a notifier observer caused another observer to be deleted, an error
would occur.
2012-03-11 18:36:54 -04:00
Dan Stillman
e1113209d5 Disable unresponsive script warning before delayed bundled files update 2012-03-11 16:25:47 -04:00
Simon Kornblith
25d48fbca7 Get first 100 tickets (TODO: get multiple pages) 2012-03-11 16:03:45 -04:00
Simon Kornblith
1050fc32b3 Fix dropping of empty creators 2012-03-11 16:03:44 -04:00
Simon Kornblith
a9bc55738a Merge pull request #73 from aurimasv/tester
Ignore order when comparing arrays in translatorTester
2012-03-10 13:10:43 -08:00
Simon Kornblith
d0a9108d92 Merge pull request #76 from aurimasv/cleanAuthor
cleanAuthor
2012-03-10 13:09:31 -08:00
aurimasv
67dac4ec0d Moved tag sorting to a later point. 2012-03-10 03:07:45 -06:00
aurimasv
828d10a396 Sort in _sanitizeItem instead of _compare 2012-03-09 20:00:21 -06:00
aurimasv
4e29a821b7 Fixed typo 2012-03-09 19:38:00 -06:00
Simon Kornblith
63c4096a6c Specify both -moz-border-radius and border-radius.
Closes #66, Quick Format is square on nightly
2012-03-09 20:24:28 -05:00
aurimasv
b23632f6c3 Revert previous fix 2012-03-08 22:26:33 -06:00
aurimasv
998d52ec6d Place periods after all initials in first name 2012-03-08 22:25:07 -06:00
Simon Kornblith
beb77864cb Don't clean periods when useComma is enabled 2012-03-08 22:45:20 -05:00
Simon Kornblith
814b15c23a Don't let translators try to load the current document a second time 2012-03-08 14:47:47 -05:00
Dan Stillman
1475a79cd1 Open csledit/cslpreview in new tab in existing window in Fx
Fixes #75
2012-03-08 14:35:06 -05:00
gracile-fr
f84e6b120e "description" instead of "label" as it was in the branch (localization of editorWarning) 2012-03-08 15:04:34 +01:00
gracile-fr
11d3d72ca1 "description" instead of "label" as it was in the branch +localization 2012-03-08 15:01:45 +01:00
gracile-fr
ed0741959d Localize editorWarning 2012-03-08 14:06:01 +01:00
gracile-fr
00c46070b4 Localize editorWarning 2012-03-08 14:03:35 +01:00
gracile-fr
f1be6125fa Localize editorWarning 2012-03-08 14:02:35 +01:00
aurimasv
5816e586fe Sort arrays before comparing them. Tag order does not matter and authors will not be sorted. 2012-03-08 02:34:38 -06:00
Simon Kornblith
5bdb050b5f Support multiple character browsers 2012-03-08 01:27:16 -05:00
Simon Kornblith
52f47b2510 Fix bug affecting translation-server 2012-03-08 01:27:16 -05:00
aurimasv
e3ce3bf0c4 Include \s in superCleanString, so we match non-breaking space and other space characters outside of 7 bit ASCII 2012-03-07 21:27:51 -06:00
Dan Stillman
759c7bd58b Fix metadata retrieval for files with extended characters in filenames 2012-03-07 11:34:31 -05:00
Simon Kornblith
32df573610 Fix a bug in DOMSerializer.serializeToString implementation 2012-03-06 00:02:34 -05:00
Simon Kornblith
08cf3d9841 Adapt unwrapping for master 2012-03-06 00:02:18 -05:00
Simon Kornblith
575fd30e62 Merge branch '3.0' 2012-03-05 23:59:41 -05:00
Simon Kornblith
d256caf94e Make cross-site getTranslatorObject() work 2012-03-05 23:47:42 -05:00
Simon Kornblith
2facd4fcbd Fix cross-site document saving 2012-03-05 23:47:27 -05:00
Simon Kornblith
36cfad3933 Fix NS_ERROR_ILLEGAL_VALUE when passing a wrapped DOM document to a translator 2012-03-05 23:14:55 -05:00
Simon Kornblith
42cd7752af Fix irregular syntax to please IE indexOf regexp 2012-03-04 20:36:50 -05:00
Dan Stillman
86dda4e018 Ignore a file sync error on Windows with long ad junk files
For some reason on some Windows (XP, 7) systems a long path close to 255
characters long can pass destFile.create() and fail zipReader.extract().
This seems like a Mozilla bug, but until we find a better fix just
ignore the error for the only files where we've seen it, which are
advertising script artifacts with very long uninterrupted filenames
(which we should skip when saving anyway).

Also close zipReader after an extraction error
2012-03-03 06:01:39 -05:00
Simon Kornblith
f0013ef37d Fix Chrome translator testing 2012-03-01 23:26:48 -05:00
Simon Kornblith
d514f02c34 Normalize fields when creating and running translator tests 2012-03-01 20:54:05 -05:00
Simon Kornblith
fc3b2c3538 Work around Chrome's buggy localeCompare function 2012-03-01 14:19:54 -05:00
Dan Stillman
61c0f974c0 Add big-endian date countries and use different format based on order
m/d/yy, yyyy-mm-dd, and d.m.yy, based on what seem to be the most common
variants for each order.
2012-02-29 05:14:03 -05:00
Dan Stillman
d453a15066 Fix middle-pane Date Added/Modified order for non-US Mac/Linux 2012-02-29 03:31:24 -05:00
Simon Kornblith
d35c2d9a4f Be more careful about pageshow only fire with doc.readyState === "loading" 2012-02-29 02:56:55 -05:00
Dan Stillman
88bc6adf8c Don't shorten visible part of any URLs in reports 2012-02-28 20:57:33 -05:00
Dan Stillman
4a4ff9c275 Merge branch '3.0' 2012-02-28 20:56:34 -05:00
Dan Stillman
635cc8bd15 Linkify short links too in reports 2012-02-28 20:49:07 -05:00
Simon Kornblith
b3f9f5102b Merge branch '3.0'
Conflicts:
	chrome/content/zotero/overlay.js
	chrome/content/zotero/xpcom/schema.js
2012-02-28 17:22:34 -05:00
Simon Kornblith
e1594ce3d6 Don't fire callback to processDocuments() if document.readyState is still "loading"
This fixes the AMS bug, but it may break other things. We'll see when the unit tests run tonight.
2012-02-28 16:30:00 -05:00
Dan Stillman
fbef301fe0 Add citation/footnote instructions to Quick Copy prefs 2012-02-28 15:28:14 -05:00
Simon Kornblith
98868146ec Fix code to get collation 2012-02-28 14:56:41 -05:00
Simon Kornblith
c245cbc867 Sort translators properly 2012-02-28 14:56:20 -05:00
Frank
8163499486 Upgrade citeproc-js to version 1.0.295 2012-02-29 00:39:21 +08:00
Frank
568bd6f426 Upgrade citeproc-js to version 1.0.293 2012-02-29 00:39:21 +08:00
Frank
2de4ab7e8e Upgrade citeproc-js to version 1.0.292 2012-02-29 00:39:21 +08:00
Frank
e35e059c03 Upgrading citeproc-js to version 1.0.291 2012-02-29 00:39:20 +08:00
Frank
17094cfb30 Upgrade citeproc-js to version 1.0.290 2012-02-29 00:39:20 +08:00
Frank
96bf57c216 Upgrade citeproc-js to version 1.0.289 2012-02-29 00:39:20 +08:00
Frank
01f3223cd3 Upgrade citeproc-js to version 1.0.288 2012-02-29 00:39:20 +08:00
Simon Kornblith
d367382f39 Fix debug output logging in the connector 2012-02-28 11:21:12 -05:00
Simon Kornblith
a19786116d Don't error if we can't delete the timer 2012-02-28 10:49:49 -05:00
Simon Kornblith
deea80c495 Cancel timer at end of test 2012-02-28 10:49:11 -05:00
Simon Kornblith
417e00a4f6 Delete hidden browser if timed out 2012-02-28 10:39:37 -05:00
Dan Stillman
cb19ac18f7 Fix rare creator constraint error during syncing after CR 2012-02-28 06:21:29 -05:00
Dan Stillman
06d29fc4da Try a shorter path length limit for long filenames in file sync
Might fix some errors on non-English Windows systems
2012-02-28 02:08:55 -05:00
Simon Kornblith
2725e43b13 Don't try to get key for null 2012-02-27 20:30:09 -05:00
Simon Kornblith
6e929bbaa0 get code for unsupported translators in connector 2012-02-27 19:41:39 -05:00
Simon Kornblith
3aaebb5802 Bring translator tester up to date with translator tester on the website, and add convenience methods to perform translator tests without loading testTranslators.html. 2012-02-27 18:51:05 -05:00
Dan Stillman
d61fdeda4c Wait 5 seconds after launch for translator updates (bundled and repo)
This isn't ideal, since it could cause an unexplained delay a few
seconds after launch on slow systems, but it's better than delaying
startup. We'll make this non-blocking post-3.0.
2012-02-27 16:34:24 -05:00
Dan Stillman
315d9ecbcb Don't allow child items to be dragged within their own parents
This caused child notes and PDFs to be moved out of their parents with
the slightest drag.
2012-02-25 18:28:33 -05:00
Dan Stillman
ae7f2d8e86 Tweak the file access denied error message
The "Read-Only" box seems to always show as a half-filled square
for a folder, as it apparently doesn't check all subfolders and files.
2012-02-25 17:17:04 -05:00
Dan Stillman
edd2f99ec9 Correct schema errors without pointing users to DB repair tool
We can't do anything about actual database corruption, but we can fix
all the other things that the repair tool fixes.
2012-02-24 12:05:06 -05:00
Dan Stillman
d359b68062 Better recover from delete error when non-attachment is in FT tables 2012-02-24 12:03:18 -05:00
Simon Kornblith
78bfbf3e4f Use non-blocking pipe read on FreeBSD 2012-02-23 15:34:10 -05:00
Simon Kornblith
3c33768116 Allow tests to be deferred by adding "defer": true to test JSON. 2012-02-23 00:18:29 -05:00
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
394ad64091 Address Rintze's comments per http://forums.zotero.org/discussion/21934/ 2012-02-19 23:13:49 -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
0ce556d48c Remove extra backslashes 2012-02-16 21:09:52 -05:00
Dan Stillman
cf89e9d23f Update locales from Transifex (and add Khmer) 2012-02-16 21:04:49 -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
c62c229e6f Don't screw up toolbar styling 2012-02-16 04:17:51 -05:00
Simon Kornblith
54b2916f7e Don't let Firefox hide our toolbars 2012-02-16 04:13:47 -05:00
Simon Kornblith
c99a7d37f0 Zotero toolbar should always be visible 2012-02-16 04:05:12 -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
Dan Stillman
7629f8b10d Fix a couple backwards '%S' 2012-02-13 22:02:04 -05:00
Dan Stillman
b3fe7b822a Merge locales from Transifex 2012-02-13 21:50:44 -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
Dan Stillman
5c5967166f Fix broken en-US locale file 2012-02-10 04:53:18 -05:00
Dan Stillman
1ce06aae79 Add line about editing citations to QuickFormat guidance panel 2012-02-10 04:47:41 -05:00
Dan Stillman
860a1617ea Decrease height of icon when no other add-on bar buttons 2012-02-10 03:32:43 -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
Dan Stillman
3a4401a995 Merge branch '3.0'
Conflicts:
	chrome/content/zotero/xpcom/integration.js
	chrome/content/zotero/xpcom/storage/webdav.js
	chrome/content/zotero/xpcom/storage/zfs.js
	install.rdf
	update.rdf
2012-02-09 02:13:02 -05: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
1257b17ef6 Use JS proxies for exposing DOM to sandbox 2012-02-06 01:20:52 -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
3d002674f1 Avoid wrapping DOMParser when possible 2012-02-03 19:58:11 -05:00
Simon Kornblith
5b8b515b06 Fix potential crash activating integration dialog on Linux 2012-02-02 03:07:26 -05:00
Simon Kornblith
c98570ca4b Fix typo 2012-02-02 02:18:56 -05:00
Dan Stillman
48a09eaf37 Remove styles update script (included accidentally in 3.0) 2012-02-02 02:14:24 -05:00
Simon Kornblith
2624dcaa1e Merge branch '3.0' of github.com:zotero/zotero into 3.0 2012-02-02 01:08:49 -05:00
Simon Kornblith
d4552a8c6c Tweak toolbar UI 2012-02-01 22:23:07 -05:00
Simon Kornblith
9e50234368 Use white tag selector background 2012-02-01 20:47:01 -05:00
Simon Kornblith
774f91f092 Fix ugly groupbox 2012-02-01 20:45:55 -05:00
Dan Stillman
c9476bbd5d Merge locales 2012-02-01 20:11:54 -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
7ce3bd7060 "Zotero Migration Notification" -> "Existing Zotero Library Found" 2012-02-01 19:28:58 -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
ebfae117fd Remove "classic" part of QuickFormat first-run guidance 2012-02-01 18:18:38 -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
b7c1e889cd Explicitly specify width and height for urlbar icon 2012-02-01 01:42:27 -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
bac118d450 Pull windows to the foreground on Linux 2012-01-30 02:02:42 -05:00
Simon Kornblith
f606aea369 Minor cosmetic tweak 2012-01-30 01:33:37 -05:00
Simon Kornblith
4a06be2490 Merge branch '3.0' 2012-01-29 16:40:14 -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
be38be66f7 Don't unpack xpi 2012-01-29 15:15:23 -05:00
Simon Kornblith
0ce329abd1 Merge branch '3.0' 2012-01-29 11:57:49 -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
f4804b66b5 Merge branch '3.0' 2012-01-27 00:24:50 -05:00
Dan Stillman
9cc26951dc Add additional test to db integrity check 2012-01-27 00:15:50 -05:00
Simon Kornblith
a0d7472859 Don't spin a nested event loop on most startups 2012-01-27 00:02:20 -05:00
Simon Kornblith
d3ddc03dc6 Remove dbLockExclusive hidden preference 2012-01-26 23:44:21 -05:00
Simon Kornblith
540abc70da Add a little more spacing 2012-01-26 02:37:11 -05:00
Simon Kornblith
516189aeaf Map blogPost to post-weblog and forumPost to post in CSL 2012-01-26 00:31:35 -05:00
Simon Kornblith
5a09ea6bc4 Fix Edit Bibliography 2012-01-25 19:42:31 -05:00
Simon Kornblith
bf10b7192b Set pane padding to 0 on Linux 2012-01-25 19:16:29 -05:00
Frank
0a66ad3c69 Ugrade citeproc-js to version 1.0.268 2012-01-26 07:45:30 +08:00
Simon Kornblith
0f71d2456e Small tweak for Fx 3.6 2012-01-25 18:11:38 -05:00
Simon Kornblith
163fd52efd Revert to last iteration 2012-01-25 17:47:04 -05:00
Dan Stillman
a4afb67d91 Point directly to 3.0 plugins page from preferences
Not sure why this is localized, though
2012-01-25 16:44:48 -05:00
Simon Kornblith
fe59c353ad More playing around 2012-01-25 04:02:26 -05:00
Simon Kornblith
5610f77943 Flirt with styling the tab bar differently from the toolbar 2012-01-25 03:49:07 -05:00
Simon Kornblith
26a49cf8b8 Slightly wider, fix highlight 2012-01-25 03:33:55 -05:00
Simon Kornblith
93643b012e Return to 11px bold text 2012-01-25 03:26:10 -05:00
Simon Kornblith
ef1deb3691 Fix text position 2012-01-25 03:18:17 -05:00
Simon Kornblith
bd74c29bce Fix buttons in Nightly 2012-01-25 03:10:06 -05:00
Dan Stillman
c612058577 Add csl-left-margin fix from 0ea6c6acf to client 2012-01-24 18:42:55 -05:00
Dan Stillman
1b2a8d38e6 Fix getNotes() with sortNotesChronologically 2012-01-24 04:46:44 -05:00
Dan Stillman
64fe2c3ac3 Fix item.getAttachments() when sortAttachmentsChronologically is true
Caused a duplicate merging error, and possibly others
2012-01-24 02:28:32 -05:00
Dan Stillman
6d9260934d Remove accessDate debugging 2012-01-23 14:37:11 -05:00
Dan Stillman
9b9c186b4c More accessDate debugging 2012-01-23 13:16:58 -05:00
Simon Kornblith
3079bf3e83 Fix translator error reports 2012-01-22 23:31:45 -05:00
Simon Kornblith
c00820c128 Fix IE 8 compatibility 2012-01-22 19:17:39 -05:00
Simon Kornblith
ab145f1af7 Fix translation 2012-01-22 18:02:43 -05:00
Simon Kornblith
448d68295b Be more lenient about spacing 2012-01-22 14:35:55 -05:00
Simon Kornblith
c3ad5fd6f9 Don't kill translator tester on invalid test data 2012-01-22 14:30:33 -05:00
Simon Kornblith
63724c2625 Don't break import with translators without configOptions specified 2012-01-22 14:30:11 -05:00
Simon Kornblith
a32c7b6bf9 Read configOptions out of parsed translator 2012-01-22 13:37:13 -05:00
Simon Kornblith
7202e8c2ba Fix Zotero.CreatorTypes.getTypesForItemType in connector 2012-01-22 13:29:15 -05:00
Simon Kornblith
4a86b2112d Update to citeproc-js 1.0.267 2012-01-22 12:11:26 -05:00
Simon Kornblith
35642b465f Fix for broken locale retrieval with Ubuntu Firefox Modifications 2012-01-22 11:27:16 -05:00
Dan Stillman
04fb50528c Move locales.xml retrieval into try
Fixes "Access to restricted URI denied" issue on Ubuntu
2012-01-22 11:23:35 -05:00
Dan Stillman
94bb513d92 Remove debug output 2012-01-22 10:41:35 -05:00
Dan Stillman
476e0f87d6 Locale debugging 2012-01-22 10:28:34 -05:00
Simon Kornblith
b8781bf254 Update to citeproc-js 1.0.266 2012-01-22 10:15:48 -05:00
Simon Kornblith
f04d396d73 Revert mapping from inventor to author, since we already map primary creator types to CSL author 2012-01-22 10:15:11 -05:00
Dan Stillman
0a92a584d0 More debugging info for access date issue 2012-01-21 04:05:28 -05:00
Simon Kornblith
fad4dc9969 Fix TinyMCE HTML window, part 1 2012-01-21 01:20:40 -05:00
Dan Stillman
ed6666c4d7 Merge locales 2012-01-20 17:52:51 -05:00
Dan Stillman
f272fc6861 Tweak read-only save error message 2012-01-20 17:51:00 -05:00
Dan Stillman
0fd93c2711 Revove access date debug output
This reverts commit 20afa7e561.
2012-01-20 17:26:10 -05:00
Dan Stillman
c89bb04484 Add mappings for obsolete style ids 2012-01-20 17:25:02 -05:00
Dan Stillman
b342999983 Update submodule pointers 2012-01-20 17:03:38 -05:00
Dan Stillman
84e59d6601 Delete chicago-note.csl, mhra_note_with_bibliography.csl, aaa.csl
First two are redundant, third has been renamed

Mappings for existing documents forthcoming
2012-01-20 17:00:53 -05:00
Simon Kornblith
b617c508b1 Propagate errors in child translators to parents
See http://groups.google.com/group/zotero-dev/browse_thread/thread/59dbd15bf6c84133
2012-01-20 16:16:52 -05:00
Dan Stillman
79b1fe30dc Workaround for broken file/URL launching in Standalone on Linux
Falls back to /usr/bin/xdg-open by default, configurable via
extensions.zotero.fallbackLauncher.unix (or .windows, though that
should be much rarer). Also used for file revealing.

If xdg-open fails, files launch via the external helper app dialog and
URLs just don't work.
2012-01-20 15:23:06 -05:00
Dan Stillman
20afa7e561 Some debugging output for access date issue 2012-01-20 13:58:35 -05:00
Dan Stillman
0b33e7d1b7 Replace various space characters in filenames that break on Windows
These are all valid Unicode characters, but PDF plugins can't files with
filenames containing them on Windows.
2012-01-19 22:36:14 -05:00
Dan Stillman
b1cd48a863 Avoid a third "this" in save icon first-run guidance 2012-01-19 21:06:28 -05:00
Dan Stillman
8941e610e0 Fix invalid CSS selector on Windows
I didn't check whether this affects anything. The rule was being ignored
previously.
2012-01-19 21:05:35 -05:00
Dan Stillman
1e20c8cb53 Fix saving of "@22" files in snapshots
CSS rules were being made available to WebPageDump with double-quotes in
the url() rules, despite the original rules not containing them. WPD's
regexp for parsing url() rules included the quotes in the captured
strings, which prevented relative URLs from being properly interpeted --
they were instead appended to the base URL, resulting in "@22" (") at the
end and 404s (sometimes with large HTML pages) that were then saved to
disk instead of the image.
2012-01-19 15:50:27 -05:00
Frank
f047999339 Upgrade citeproc-js to version 1.0.264 2012-01-19 18:10:11 +08:00
Dan Stillman
6b58d3e2af Fix erroneously disabled "Empty Trash" (recent regression) 2012-01-19 02:40:46 -05:00
Simon Kornblith
865b3e0b21 Add progress indicator to add item by identifier 2012-01-18 23:50:38 -05:00
Frank
376ecba496 Upgrade citeproc-js to version 1.0.263 2012-01-19 01:26:13 +08:00
Frank
0e9505a2c5 Upgrade citeproc-js to version 1.0.262. 2012-01-19 01:26:13 +08:00
Frank
8bebd77a57 Upgrade citeproc-js to version 1.0.261. Important fix to avoid a processor hang in some circumstances. 2012-01-19 01:26:13 +08:00
Dan Stillman
5e2cd44cc8 Remove trailing period 2012-01-18 03:41:29 -05:00
Dan Stillman
eddaa672ef Provide link to cert override docs in Standalone Verify Server
The button wasn't opening the WebDAV URL within Standalone, and
XULRunner doesn't provide the whitelist interface anyway.

Documentation page still needed
2012-01-18 03:37:54 -05:00
Dan Stillman
35efd798de Save real target URLs from Google search results
"Save Link as Zotero Item" previously saved Google's tracking page
instead of the real destination. This can be extended to other sites
if necessary.
2012-01-17 04:52:53 -05:00
Simon Kornblith
77a9bac691 Fix window dragging on Windows, because for some reason the jsm doesn't work properly 2012-01-17 01:50:39 -05:00
Simon Kornblith
0fcf07dd6a Teeny tiny cosmetic fix on Windows 2012-01-17 01:50:39 -05:00
Simon Kornblith
bbd686f8bb A true platform-general solution to the panel sizing problem 2012-01-17 01:50:39 -05:00
Simon Kornblith
6750535319 Fix panel sizing on OS X and Windows 2012-01-17 01:50:39 -05:00
Dan Stillman
2b2da828c0 Restore ".SOURCE" in ZOTERO_CONFIG version 2012-01-17 01:19:29 -05:00
Dan Stillman
261862cf30 Remove debugging info 2012-01-17 01:18:38 -05:00
Dan Stillman
7c4a69b9e1 Merge branch '3.0' 2012-01-17 01:16:47 -05:00
Dan Stillman
cc4d3db845 Fix a couple syncing errors 2012-01-17 01:08:58 -05:00
Simon Kornblith
a17b78e222 Minor cosmetic fix 2012-01-16 23:57:19 -05:00
Simon Kornblith
7a52b65e85 Some more Linux focus fixes, and fix panel size 2012-01-16 23:57:19 -05:00
Simon Kornblith
189b3cd146 Fix refocusing of Quick Format window on Linux 2012-01-16 23:57:19 -05:00
Dan Stillman
6c6505a7ba Make "Restore to Library" button look somewhat less awful 2012-01-16 23:04:36 -05:00
Simon Kornblith
6c97fed76c Fixes for Firefox 3.6 (ugh) 2012-01-16 22:39:29 -05:00
Simon Kornblith
51b3af7bc7 Move icon over by one pixel 2012-01-16 21:33:43 -05:00
Simon Kornblith
b66c2aab89 Add preferences to menus on Windows and Linux 2012-01-16 21:29:32 -05:00
Simon Kornblith
c6a366638d Only use Zotero.version from ZOTERO_CONFIG until we can get it from the add-on manager 2012-01-16 20:39:08 -05:00
Simon Kornblith
e16a0cb47a Enable JavaScript in hidden browsers. This fixes http://forums.zotero.org/discussion/21381/ (which occurs because document.domain differs even though the origin is the same) and is consistent with the behavior of the connectors. 2012-01-16 11:15:29 -05:00
Dan Stillman
407e8ab32a Fix collection drag error if standalone file and no-files group 2012-01-16 03:28:38 -05:00
Frank
bfd1c1c91f Map Zotero inventor to CSL author, which seems unlikely to be controversial. 2012-01-16 00:18:59 +08:00
Dan Stillman
d029fca692 Additional debug output 2012-01-15 03:00:01 -05:00
Simon Kornblith
a2bb949bc0 Update to citeproc-js 1.0.260 2012-01-14 14:32:16 -05:00
Simon Kornblith
61a987303f Fix conversion between fields and bookmarks 2012-01-14 14:25:08 -05:00
Simon Kornblith
c5b4043155 Fix setDocPrefs, part 2 2012-01-14 00:34:08 -05:00
Dan Stillman
c77c7ca17d Throw error when attempting to install style that isn't XML
Also remove redundant "new XML()" call, which cleanXML() does itself.
2012-01-13 18:41:08 -05:00
Dan Stillman
063ba1de5e Undelete linked item automatically when redragging item to a library
Unlike with Restore to Library, the linked item is first removed from
any collections, so it only ends up in the library root and, if
applicable, the target collection.
2012-01-13 18:11:00 -05:00
Dan Stillman
53e6b2a572 Replace all E4X in data syncing with DOM methods
This should make XML generation much faster and will hopefully fix
remaining random XML errors in large uploads.

This needs testing.
2012-01-13 16:02:31 -05:00
Simon Kornblith
44ac61c33e Fix setDocPrefs 2012-01-12 18:54:12 -05:00
Simon Kornblith
91ffdff4dd Update to citeproc-js 1.0.258 2012-01-12 18:53:50 -05:00
Simon Kornblith
f873948740 Revert "Update to citeproc-js 1.0.258"
This reverts commit 5af1ef045c.
2012-01-12 18:53:17 -05:00
Simon Kornblith
9e1bd4a858 Revert "Fix setDocPrefs"
This reverts commit caa7bca2ab.
2012-01-12 18:52:58 -05:00
Dan Stillman
add924cdce Properly clear sync-in-progress flag 2012-01-12 18:48:30 -05:00
Simon Kornblith
caa7bca2ab Fix setDocPrefs 2012-01-12 15:35:42 -05:00
Simon Kornblith
5af1ef045c Update to citeproc-js 1.0.258 2012-01-12 12:13:31 -05:00
Dan Stillman
2bf4c81a62 Make creator-based report sorting slightly less broken 2012-01-11 19:02:57 -05:00
Dan Stillman
da09a8dfcd Fix debug output of thrown errors
At some point this switched to showing just the line on which the error
occurred.
2012-01-11 18:45:22 -05:00
Dan Stillman
662be5e198 Add integrity check query for empty creators 2012-01-11 18:23:59 -05:00
Dan Stillman
4966a55a1b Disable "New Saved Search" menu option in read-only libraries 2012-01-11 18:23:36 -05:00
Dan Stillman
d63d24c636 Show access error for translator save attempt to read-only library
Not sure how this works for connector saves
2012-01-11 18:12:21 -05:00
Dan Stillman
de696d32e8 Don't show access error removing Duplicates view from read-only library 2012-01-11 18:08:11 -05:00
Dan Stillman
f425850764 Fix sync error if duplicates are merged before first sync
Replace local user key in relations with libraryID on sync user changes
and invalid upload sync errors. The latter will be unnecessary after a
DB upgrade step.

Also fixes libraryID in relations not being replaced correctly when
switching sync users.
2012-01-11 01:59:12 -05:00
Dan Stillman
4767cad19e Merge branch '3.0' 2012-01-10 19:54:09 -05:00
Dan Stillman
68f3da2c10 Scroll row into view when tabbing through item/tags box
Using a hack (focusing the proceeding row) for now. Not sure what's
causing this.
2012-01-10 19:51:01 -05:00
Dan Stillman
2a102577d1 Fix FK 2012-01-10 19:48:57 -05:00
Simon Kornblith
8ddab2fbec Make displayDialog a method on Zotero.Integration 2012-01-10 18:49:00 -05:00
Simon Kornblith
80c85c7e74 Don't try to run cleanup on old documents 2012-01-10 18:45:44 -05:00
Simon Kornblith
3c61a4eae8 Only load carbon once 2012-01-10 17:49:25 -05:00
Simon Kornblith
5a7c7368b7 More rearrangement to prevent crash on error 2012-01-10 14:10:30 -05:00
Simon Kornblith
f01ab3ffa4 Call activate before complete, to avoid accessing freed objects 2012-01-10 14:06:59 -05:00
Simon Kornblith
5c324134c6 Always run detect on all frames, even if a translator has already been found, in order to ensure that we get the translator with the highest priority 2012-01-10 10:18:23 -05:00
Simon Kornblith
62b3ee14ea Fix typo 2012-01-09 23:44:30 -05:00
Simon Kornblith
7344473e45 Call complete method to activate garbage collection, if one exists 2012-01-09 23:15:10 -05:00
Simon Kornblith
0a5ec165fb Drop empty creators in ZU.itemToServerJSON() and fix debug comments 2012-01-09 13:22:59 -05:00
Simon Kornblith
d93826af1b Merge branch '3.0' of github.com:zotero/zotero into 3.0 2012-01-09 13:21:34 -05:00
Simon Kornblith
64d9c50c32 Drop empty creators 2012-01-09 13:21:21 -05:00
Dan Stillman
bbee75ecc1 Fix dragging collection from a group library 2012-01-09 11:57:45 -05:00
Frank
afd6c35406 Upgrade citeproc-js to version 1.0.255 2012-01-09 14:10:35 +08:00
Frank
e4086a0069 Upgrade citeproc-js to version 1.0.254 2012-01-08 23:30:46 +08:00
Frank
ea72301c76 Upgrade citeproc-js to version 1.0.253 2012-01-08 11:18:43 +08:00
Dan Stillman
d70a1ed7fe Don't make prefs <description> small, since it makes it tiny on Windows
Standalone will need to be fixed to use the same preferences CSS as
Firefox.
2012-01-05 19:32:45 -05:00
Dan Stillman
0ae175127b Add help button to prefs pointing to documentation 2012-01-05 19:32:20 -05:00
Dan Stillman
204f9563c6 Fix global flag on Zotero.Prefs.get() 2012-01-05 19:05:50 -05:00
Dan Stillman
7e5ec21781 Fix misspelling in Danish locale 2012-01-05 16:25:20 -05:00
Dan Stillman
9d16cb2fe6 "Use Firefox profile directory" -> "Use profile directory" 2012-01-05 14:58:11 -05:00
Dan Stillman
bcf02d575b Make <description> elements small in prefs in Standalone 2012-01-05 03:22:15 -05:00
Dan Stillman
a73a73d576 Add NS_ERROR_FILE_IS_LOCKED to file access check 2012-01-05 02:13:29 -05:00
Dan Stillman
080b3cad87 Don't break everything 2012-01-04 14:39:51 -05:00
Dan Stillman
9b133c40aa Ignore old-style Mac newlines in conflict resolution 2012-01-03 23:26:33 -05:00
Simon Kornblith
88e1eca949 Fix slow connector switching under certain circumstances 2012-01-03 17:55:52 -05:00
Simon Kornblith
1fe660143c Don't muck with focus when hiding Zotero pane, and remove obsolete fullscreen code 2012-01-03 17:44:19 -05:00
Simon Kornblith
c76531e1d4 Fix small nit 2012-01-03 15:33:33 -05:00
Simon Kornblith
814b16d345 Merge git://github.com/willsALMANJ/zotero 2012-01-03 15:27:55 -05:00
Simon Kornblith
fb14976499 Merge branch '3.0' 2012-01-03 15:26:52 -05:00
Frank
be8fb31615 Upgrade citeproc-js to version 1.0.252. 2012-01-01 09:34:45 +08:00
Frank
30373a1424 Upgrade citeproc-js to version 1.0.251 2012-01-01 09:34:44 +08:00
Simon Kornblith
3976f7afb1 Closes #5, Fix Retrieve Metadata for Google Books
It doesn't look like Google Books PDFs actually have any OCRed text, nor do they have any obvious identifying information, so we just blacklist them for now.
2011-12-31 18:49:09 +00:00
Simon Kornblith
3b42e71c77 Adapt Google Scholar code to work even if Google Scholar doesn't throw when asked to translate a page with no items 2011-12-31 18:10:57 +00:00
Simon Kornblith
764e851e11 Duplicate handler list before running handlers, in case it is modified while running. 2011-12-31 18:06:58 +00:00
Simon Kornblith
335395f05f Fix _runHandler error. This does not fix the hang in PDF metaata retrieval. 2011-12-31 17:57:34 +00:00
Simon Kornblith
aa07db50a1 (Hopefully) fix QuickFormat box sizing once and for all 2011-12-31 16:25:43 +00:00
Simon Kornblith
251da6ce50 Pump a generator when reading out citations from document to keep UI responsive 2011-12-31 16:15:20 +00:00
Simon Kornblith
49380e39ac Fix alignment 2011-12-31 15:45:08 +00:00
Simon Kornblith
be1ffbfb76 References should not have flex 2011-12-31 15:44:13 +00:00
Simon Kornblith
485dcf143b Fix some QuickFormat box resizing issues 2011-12-31 15:19:25 +00:00
Simon Kornblith
615259c1c9 Fix showing cited items when no items with matching names exist in library, and don't update item list multiple times 2011-12-31 14:46:52 +00:00
Simon Kornblith
7855c88f9e Remove debug line 2011-12-31 14:31:36 +00:00
Simon Kornblith
e73090257a Show prefix and suffix in citation preview, use appropriate locator names, update live during editing of citation properties, and handle changes in locator properly 2011-12-31 14:30:02 +00:00
Simon Kornblith
f92850abeb Merge branch '3.0' of github.com:zotero/zotero into 3.0 2011-12-31 12:36:36 +00:00
Simon Kornblith
ddac1b8417 Avoid initializing QuickFormat window multiple times 2011-12-31 12:36:08 +00:00
Dan Stillman
4161341d2d Fix error switching options in download dialog before Z pane was opened 2011-12-30 12:44:19 -05:00
Will S
139884b99e Addressed issues pointed out by simonster 2011-12-30 02:59:35 -05:00
Simon Kornblith
e643d85d2c Get rid of for each 2011-12-27 20:13:08 +00:00
Will S
3ef0b63c47 Remove lines from tagsbox.xml that are no longer used 2011-12-27 14:57:46 -05:00
Will S
520a2b061c Select appropriate tag when moving from changed tag using enter or tab (not for mouse click) 2011-12-27 09:06:50 -05:00
Will S
87c47c0615 Select next logical tag when adding multiple tags at once. 2011-12-27 09:02:06 -05:00
Simon Kornblith
da53576e0e Sort libraries by number of items cited from them 2011-12-24 00:22:40 +00:00
Simon Kornblith
a4f38cf482 Fix links in about box 2011-12-22 20:42:26 -05:00
Dan Stillman
3ac5a6db09 Merge branch '3.0' 2011-12-22 12:21:32 -05:00
Dan Stillman
4bc5406d34 Merge new English strings 2011-12-20 02:27:34 -05:00
Simon Kornblith
c7df8c879c Also fix retrieveDocument 2011-12-20 01:03:09 -05:00