Dan Stillman
9d9ab86729
Update titles/creators quicksearch mode to include year
...
Also:
Change "All Fields" to "All Fields & Tags" to reflect reality
Increase width of search box slightly
2011-12-01 14:33:43 -05:00
Dan Stillman
25ba8c7006
Prepend error info (except other add-ons info) to debug output
2011-11-02 16:46:53 -04:00
Dan Stillman
7a5024df6e
Change "SVN" references to "source"
2011-10-28 01:27:04 -04:00
Dan Stillman
01ea59491a
- Fix error handling in syncing when using pumpGenerator()
...
- Take an optional error handler as the third parameter to pumpGenerator()
2011-10-11 16:18:17 +00:00
Simon Kornblith
8eda39ad7e
Requeue nsITimerCallbacks that didn't execute during pumpGenerator
2011-10-06 01:40:35 +00:00
Simon Kornblith
a3f958be00
Fix version checking in Nightly
2011-10-05 18:42:54 +00:00
Simon Kornblith
54147844ab
- Show search menu in select items dialog
...
- Update search menu in non-ZoteroPane dialogs
- Don't send oncommand handler as string
2011-10-03 02:27:42 +00:00
Simon Kornblith
90dd0f34e0
Defer add-on manager load until it's necessary
2011-10-03 01:27:15 +00:00
Dan Stillman
4b0309511b
The AMO validator strips leading whitespace, so make comment a bit more explicit
2011-09-22 07:03:37 +00:00
Simon Kornblith
17521c96b4
Further abbreviate message
2011-09-22 06:55:35 +00:00
Simon Kornblith
5b5f864943
Combine AMO reviewer comment into 3 lines
2011-09-22 06:50:45 +00:00
Simon Kornblith
606211afa7
Add "Dear friendly AMO reviewer" message to processNextEvent() call that is only used in Z standalone
2011-09-22 06:33:27 +00:00
Dan Stillman
e1cc377162
Show Zotero pane progress bar during sync processing
...
TODO: limit to large syncs?
This needs a lot of testing.
Also:
- Tweak pumpGenerator() wait level behavior to match Zotero.wait()
- If Zotero is closed in the top-most window, show a popup instead of the pane-covering progress meter, and take an optional icon in Zotero.showZoteroPaneProgressMeter() for use in the popup
- Restore protection against opening Zotero pane when Zotero.locked is set
- Display a nicer error if Zotero.DB.commitTransaction() is called without an active transaction
- Allow text with icons to extend to multiple lines in progressWindow popup
- Automatically use current window if one isn't specified in Zotero.repaint()
2011-09-21 23:00:20 +00:00
Simon Kornblith
15c79766e8
Hackish way of avoiding async AddonManager APIs during initialization
2011-09-21 20:30:37 +00:00
Simon Kornblith
50a793c4ea
Stop iterating when StopIteration thrown from generator
2011-09-21 04:36:37 +00:00
Simon Kornblith
27b95ebb14
Remove Zotero.sleep()
2011-09-21 03:43:03 +00:00
Simon Kornblith
c4bfd17e52
Fix error
2011-09-21 00:34:38 +00:00
Simon Kornblith
4607239fa9
Add a function to pump a generator until it yields false, allowing other events to be processed in between. This is useful because we can then call
...
yield true;
in place of Zotero.wait() to allow UI events to be processed without exiting the function, thus avoiding the hassle of setting up a large number of callbacks.
This is still painful compared to Zotero.wait(), since the yield has to be present in the generator passed to Zotero.pumpGenerator() and not a child function. However, it's less painful than using a bunch of nested setTimeout() calls.
2011-09-21 00:32:25 +00:00
Simon Kornblith
21aff6f467
Remove processNextEvent() call
2011-09-20 21:59:28 +00:00
Simon Kornblith
02506966eb
Remove processNextEvent() calls (by avoiding AddonManager)
2011-09-20 21:39:48 +00:00
Simon Kornblith
23b9d6fdb9
- Forward compatible handling of version comparisons
...
- Add Zotero.repaint(window), which forces a UI repaint but doesn't execute any other events. We should use this within transactions to eliminate the nondeterminism of Zotero.wait().
2011-09-20 06:17:06 +00:00
Dan Stillman
09e934128f
Add Trash to group libraries
...
Also:
- Update trash icon properly when adding items to trash or emptying trash
- (dev) Zotero.Items.getDeleted() and Zotero.Items.emptyTrash() parameter order changed
- (dev) Zotero.Items.getDeleted() now returns an empty array rather than FALSE on no results
Group trash does not yet auto-empty
2011-08-30 23:35:12 +00:00
Simon Kornblith
3c02f0b0e6
Zotero.waiting is now a number
2011-08-30 00:49:04 +00:00
Simon Kornblith
28cc02f954
Add a debug call for Zotero.wait()
2011-08-29 23:59:59 +00:00
Simon Kornblith
416907a196
Fix breaking hidden browsers on Firefox 3.6
2011-08-24 20:06:31 +00:00
Simon Kornblith
6cdcb8a1fb
...but do log the error
2011-08-24 06:29:16 +00:00
Simon Kornblith
9b66aa8234
Don't let one failing shutdown listener screw everything up
2011-08-24 06:29:02 +00:00
Simon Kornblith
1a86279e5d
Fix Windows startup error
2011-08-24 06:07:48 +00:00
Simon Kornblith
440fc95942
Move startup timing to zotero-service.js
2011-08-24 01:59:56 +00:00
Simon Kornblith
330a06434e
Improve error logging
2011-08-24 01:15:21 +00:00
Simon Kornblith
abd2456d28
Revert part of last patch, since it doesn't seem to help things
2011-08-24 01:13:33 +00:00
Simon Kornblith
3e641cd7df
Fix first run profile migration on Windows
2011-08-24 00:54:38 +00:00
Simon Kornblith
91024eb87c
- Prevent a deadlock when Zotero.wait() was called during initialization
...
- Don't spin Zotero.mainThread.processNextEvent() forever when translator could not be retrieved
2011-08-16 18:28:55 +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
b232106526
- XPCOM errors use "filename" instead of "fileName" for some ungodly reason
...
- Fix verison
2011-08-11 04:06:45 +00:00
Dan Stillman
a9f341a141
Blacklist OpenGL errors
2011-08-10 19:58:44 +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
f701dd724e
Firefox 3.6 fixes (ugh)
2011-07-24 19:16:31 +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
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
0add2d07e6
Move Zotero.varDump to Zotero.Utilities
2011-07-06 07:39:49 +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
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
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
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
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
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