Simon Kornblith
e132787774
Move root check to before DB initialization
2013-08-07 18:32:40 -04:00
Simon Kornblith
0957f8de02
Merge branch 'zap-cache' into 4.0
2013-08-07 18:00:40 -04:00
Simon Kornblith
517ca6f342
Force quit after zapping cache files to prevent destroying prefs
2013-08-07 18:00:25 -04:00
Dan Stillman
b673718f2a
Update maxVersion
2013-08-07 17:11:25 -04:00
Dan Stillman
2bd0019261
'let' is valid in XBL, just not in event attributes, I guess
2013-08-07 17:09:41 -04:00
Dan Stillman
a3375d540b
Fix comment that broke 7572eebcd
2013-08-07 17:06:48 -04:00
Dan Stillman
7572eebcd1
Offer autocomplete of same creator for different creator types
...
If a creator exists on an item but is a different creator type than the
one being entered, show creator in autocomplete list.
2013-08-07 15:25:15 -04:00
Dan Stillman
39e92bacb3
Focus title field when creating new item via menu or shortcut key
2013-08-07 13:17:25 -04:00
Dan Stillman
9d3f55be51
Use async DB for autocomplete
...
This was probably hanging previously because I was passing a JS function for
onProgress, which apparently isn't allowed.
2013-08-07 11:01:12 -04:00
Dan Stillman
b6f493207f
Closes #311 , Update RIS/Refer pref to mention BibTeX too
2013-08-06 16:32:02 -04:00
Dan Stillman
08296b06a5
Include libraryID in file sync debug message
2013-08-06 16:03:03 -04:00
Dan Stillman
b20a7a572c
Disable some debug logging for file syncing
2013-08-06 16:02:49 -04:00
Dan Stillman
8b918b21ad
Capitalize Q library in About pane
2013-08-06 15:49:45 -04:00
Dan Stillman
795211fb40
Focus Close button by default in About pane
2013-08-06 15:49:26 -04:00
Dan Stillman
5b09b1e2be
Update submodules, repotime, and versions
2013-08-06 15:23:04 -04:00
Dan Stillman
f2d9580ba6
Update locales from Transifex
2013-08-06 15:19:45 -04:00
Dan Stillman
97f662fe67
Fix note resetting in external note window during file syncing
...
https://forums.zotero.org/discussion/29008
2013-08-05 20:47:50 -04:00
Dan Stillman
675fde2f1a
Use async I/O for attachment (blue dot) column file check in Fx23+
2013-08-05 16:31:23 -04:00
Dan Stillman
86c6611560
Update auto-update pref text to include styles
2013-08-05 10:57:09 -04:00
Dan Stillman
f341bb1ae0
Fix error exporting linked HTML file
...
https://forums.zotero.org/discussion/29392/#Item_14
2013-08-04 23:30:28 -04:00
Dan Stillman
1267c4d659
Closes #77 , Create linked files with drag and drop
...
The cursor effect doesn't work reliably anywhere other than on Linux,
but external files can now be linked instead of stored with
Cmd-Option-drag on OS X and Ctrl-Shift-drag on Win/Linux.
2013-08-03 18:08:09 -04:00
Dan Stillman
84d9963e14
File sync optimizations
2013-08-02 01:13:27 -04:00
Dan Stillman
e177e3e718
Optimize local file modification checks during file syncs
...
- On manual sync or the first auto-sync of a session, check all files
- During other auto-syncs, check only files previously modified or
opened externally via Zotero (including Show File) within the last 3
hours
- Every 3 hours, do a full check of all files even if it's an auto-sync
- Spin event loop during synchronous file checks to avoid hanging the UI
- Zotero.Sync.Runner.sync() now takes an options object (e.g.,
options.background)
Todo:
- Provide feedback on last full check in sync icon tooltip?
- Auto-sync on app focus, if this speeds up syncs enough?
2013-08-02 00:45:26 -04:00
Dan Stillman
dc8998c5bc
Add Firefox-wide shortcut (Ctrl/Cmd-Shift-S) for "Save to Zotero"
...
Also: Don't show Firefox-specific shortcut keys in Standalone prefs
2013-07-31 23:19:19 -04:00
Dan Stillman
f0c5c50bd4
Blacklist Firefox HealthReport errors
2013-07-30 15:48:53 -04:00
Dan Stillman
ec47a31000
Fix warning in Nightly about yield without a value
2013-07-29 02:26:09 -04:00
Dan Stillman
2736e7e6d1
Use Ctrl-Shift for all shortcuts on Windows/Linux instead of Ctrl-Alt
...
https://forums.zotero.org/discussion/25927/#Item_5
2013-07-28 20:18:24 -04:00
Simon Kornblith
670f272b32
Alter message on auto-update
...
Avoid ambiguously implying that Linux users should be running Zotero as
root, and tell them to fix the permissions on the Zotero executable instead.
See https://forums.zotero.org/discussion/31020/
2013-07-27 01:46:13 -04:00
Dan Stillman
b059b2abde
Fix shortcut keys on Windows and Linux
2013-07-26 15:35:06 -04:00
Simon Kornblith
1055187c8b
If Zotero is run as root, clobber the cache directory and show a warning
2013-07-25 00:47:38 -04:00
Dan Stillman
185c5a3a4d
Perform sync file modification checks off the main thread in Firefox 23+
...
OS.File doesn't seem to work reliably before Firefox 23, so older
versions will continue to do mod time checking on the main thread.
Zotero.Sync.Storage.checkForUpdatedFiles() now returns a promise.
2013-07-22 20:41:37 -04:00
Dan Stillman
b9c2ea507d
Add mode name to credentials-cached debug message
2013-07-22 20:39:20 -04:00
Dan Stillman
f85d25d1d1
Remove unused argument in Z.Sync.Storage.Mode.prototype.cacheCredentials
2013-07-22 20:37:39 -04:00
Dan Stillman
40f0de75d8
Separate out Zotero.Item._updateAttachmentStates()
2013-07-22 20:35:21 -04:00
Dan Stillman
4b280090fc
Better debugging info for library errors
2013-07-22 20:31:52 -04:00
Dan Stillman
5806c53825
Evaluate test.js as JS 1.8 in Firefox 17
2013-07-22 20:30:45 -04:00
Dan Stillman
73b0bc67c5
Add Zotero.Item.libraryKey, to return libraryID and key ("0/ABCD2345")
2013-07-22 20:29:32 -04:00
Dan Stillman
828a2917c4
Add Zotero.platformVersion and Zotero.platformMajorVersion
...
platformVersion is a string that needs to be checked with
nsIVersionComparator. platformMajorVersion is an integer that can be
checked with > and < when the major Gecko version is enough.
2013-07-22 20:27:53 -04:00
Dan Stillman
55f044f87a
Disable send() method in Q promise for Mozilla Task.jsm compatibility
...
Task.jsm allows not only generators but also iterators to be yielded,
using ``typeof yielded == 'Function'`` as the test for an iterator, but
since the Q promise includes a send() method, yielding a Q promise
instead of a Mozilla promise results in an infinite loop. To fix this,
we disable Q's send() method, which is just an outdated synonym for
invoke() anyway.
This will have to be done every time we update Q until send() is
removed, Task.jsm is changed, or we stop using Task.jsm with Q promises.
2013-07-22 20:27:53 -04:00
Dan Stillman
e459020b66
Add asynchronous Zotero.Utilities.Internal.md5Async()
...
Also switch ZU.Internal.md5() to use the same binary->hex conversion
code, since I can no longer reproduce the problem I was having with it
before.
2013-07-22 20:27:40 -04:00
Dan Stillman
b075d91f9c
Revert "Remove debug line"
...
This reverts commit a2249b9bee
.
2013-07-22 03:16:40 -04:00
Dan Stillman
500c55bdd3
Revert "Revert "Extra debugging for file sync hangs on slow connections""
...
This reverts commit 4907489707
.
2013-07-22 03:16:19 -04:00
Dan Stillman
a2249b9bee
Remove debug line
2013-07-22 02:36:46 -04:00
Dan Stillman
4907489707
Revert "Extra debugging for file sync hangs on slow connections"
...
This reverts commit 46cce5a2bd
.
Conflicts:
chrome/content/zotero/xpcom/storage/streamListener.js
2013-07-22 02:35:53 -04:00
Dan Stillman
78b5bc6727
Update locales from Transifex
2013-07-22 02:31:30 -04:00
Dan Stillman
112b6f629e
Update submodules and repotime
2013-07-22 02:29:17 -04:00
Simon Kornblith
67ad94c45f
Update to citeproc-js 1.0.471
2013-07-22 01:46:20 -04:00
Dan Stillman
c722ec888f
Remove hopefully unnecessary hack dating to Firefox 3.1
2013-07-17 18:56:33 -04:00
Dan Stillman
46cce5a2bd
Extra debugging for file sync hangs on slow connections
2013-07-17 18:55:43 -04:00
Dan Stillman
8c6a9bfbf0
Add some debugging for a memory usage issue during file syncing
2013-07-17 18:03:00 -04:00