Simon Kornblith
3c8ed5b273
Add itemToCSLJSON utility function. At the moment, this differs from the implementation used by Word integration, but it uses the same mapping table. When we have unit tests, they will be unified.
2011-09-26 01:20:12 +00:00
Simon Kornblith
c982155f21
10-20% speed boost in initial itemTreeView load
2011-09-25 23:06:48 +00:00
Simon Kornblith
030f918e22
Don't let user uncheck "Store references" checkbox if there are stored references
2011-09-23 06:38:08 +00:00
Simon Kornblith
c90394766b
- Fix failure to close add citation dialog
...
- Fix inability to add more than one new citation when using embedded metadata
- Fix error handling in integration
2011-09-23 06:11:36 +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
Simon Kornblith
b7482bc7d6
Avoid yielding in the middle of a transaction because it could be problematic, and don't let other events run until after first yield.
2011-09-22 06:24:08 +00:00
Simon Kornblith
25e384de76
Use generators in place of Zotero.wait()
2011-09-22 05:55:52 +00:00
Simon Kornblith
5e67753b73
Use blocking IO to make sure that pipes are open instead of Zotero.wait() in ipc.js. This also removes our safeguard against hanging the browser if for some reason the pipe gets closed, but it should be okay :-/
2011-09-22 05:36:01 +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
Dan Stillman
3eef17578d
Just use INSERT OR IGNORE for all relations inserts
2011-09-21 19:48:50 +00:00
Simon Kornblith
8b263ff8e4
Remove Zotero.wait()
2011-09-21 04:37:10 +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
ed42e0c22d
Eliminate processNextEvent(). This needs a lot of testing.
2011-09-21 03:41:49 +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
d19c87ef83
Remove processNextEvent() call
2011-09-20 21:47:04 +00:00
Simon Kornblith
02506966eb
Remove processNextEvent() calls (by avoiding AddonManager)
2011-09-20 21:39:48 +00:00
Simon Kornblith
00b341daf1
Remove processNextEvent() call
2011-09-20 19:36:55 +00:00
Simon Kornblith
f3a64939ed
Eliminate processNextEvent call
2011-09-20 19:28:05 +00:00
Dan Stillman
fb46cf23de
A couple tweaks for the AMO validator: remove unused function that made a synchronous HTTP request and wrap a setTimeout() callback to clarify that it's a function rather than a string
2011-09-20 12:40:03 +00:00
Simon Kornblith
026bce81a8
Use Zotero.repaint() in callbacks instead of calling Zotero.wait() during translation to reduce non-determinism
2011-09-20 06:23:44 +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
Simon Kornblith
9e5c9716e2
Fix preview and resolve issues with classic add citation dialog
2011-09-15 22:24:43 +00:00
Simon Kornblith
051d82fcdf
Bump required versions
2011-09-15 08:23:38 +00:00
Simon Kornblith
0d3923182b
Minor tweak to debug code
2011-09-15 08:00:07 +00:00
Simon Kornblith
961b4b17d4
Remove antique code
2011-09-15 07:58:42 +00:00
Simon Kornblith
08c8c4dfbd
Use asynchronous APIs for collecting fields. This currently has the side effect of breaking the editor.
2011-09-15 07:57:06 +00:00
Simon Kornblith
f71ad877b1
Fix typo
2011-09-13 16:41:43 +00:00
Simon Kornblith
12b72581ab
Fix Windows file export error in Zotero Standalone
2011-09-13 16:41:33 +00:00
Simon Kornblith
e809144162
Update to citeproc-js 1.0.213
2011-09-12 01:23:35 +00:00
Simon Kornblith
f9b823d0e8
Don't update citations that haven't changed, even on refresh
2011-09-08 23:21:37 +00:00
Simon Kornblith
517d80f4dd
Fix broken Zotero.debug from IE changes
2011-09-08 23:12:31 +00:00
Simon Kornblith
f9c9816183
Add Zotero.URI.getURILibrary()
2011-09-08 18:04:28 +00:00
Simon Kornblith
fbdabed5c0
Add noautohide="true" to panel
2011-09-08 00:07:45 +00:00
Simon Kornblith
89434a7a57
Use windowdragbox instead of moving the window ourselves
2011-09-07 23:57:04 +00:00
Dan Stillman
181611eddf
Add an integrity check step for syncDeleteLog entries for nonexistent libraries (which shouldn't be possible)
2011-09-07 07:43:27 +00:00
Simon Kornblith
3183ec4a68
A somewhat untested attempt at reducing redundancy and increasing speed in the connector version of cachedTypes.js
2011-09-07 05:48:56 +00:00
Simon Kornblith
5b815a4fa2
Add Zotero.Translate#removeHandler() and don't let processDocuments interfere with Zotero.Translate instance reuse
2011-09-07 05:35:22 +00:00
Dan Stillman
800261db26
Delete libraries table row when deleting group
2011-09-07 04:14:43 +00:00
Dan Stillman
81d389a6c4
Use INSERT OR IGNORE for delete item relations
2011-09-07 04:13:38 +00:00
Simon Kornblith
2175700312
Fix duplicates merging, broken by r10414
2011-09-07 04:05:17 +00:00
Simon Kornblith
28e7531710
20% speed boost in collection switching
2011-09-06 18:14:23 +00:00
Simon Kornblith
96973016a5
Only items pane should flex with window resize
2011-09-06 18:12:18 +00:00
Dan Stillman
263439c6ab
Closes #1464 , Limit number of creators in metadata pane
...
Displays "[x] more..." label that can be clicked to show all creators. Switching away from the item resets. This might need some further tweaking.
Untruncated display of large creator lists is probably faster now as well, though definitely not enough for the ATLAS Experiment.
2011-09-06 06:13:26 +00:00
Simon Kornblith
c45198c90b
Fix for certain situations where Zotero pane display settings could be reset
2011-09-06 01:26:13 +00:00
Simon Kornblith
7e5b48838a
Add identifiers to incrementAsyncProcesses and decrementAsyncProcesses calls to assist in determining the cause when translators fail to complete
2011-09-05 23:26:33 +00:00
Simon Kornblith
e9127cf295
Fix saving when ZoteroPane.getSelectedLibraryID() or ZoteroPane.getSelectedCollection() throw because the Zotero pane has not yet been opened.
2011-09-05 22:45:10 +00:00
Simon Kornblith
4727e82a25
Fix for failure to call xdr.ontimeout
2011-09-05 06:32:49 +00:00
Simon Kornblith
1f20615582
Various changes to take into account that Zotero.isFx may be true even if a translator is running as a bookmarklet
2011-09-05 06:31:08 +00:00
Simon Kornblith
3c552ac628
Addresses #597 , Don't iterate Array with for...in
2011-09-05 06:29:35 +00:00
Simon Kornblith
31f3733cbf
Addresses #597 , Don't iterate Array with for...in
2011-09-05 01:55:54 +00:00
Simon Kornblith
dc2d417c3d
Make IE standalone contact attempt time out, and connector error tweak in case connector can't be contacted at all
2011-09-05 01:51:34 +00:00
Simon Kornblith
da49efb032
Fix for IE JS bug
2011-09-03 23:34:55 +00:00
Dan Stillman
0d9cddaa34
Change error report URL
2011-09-03 19:51:04 +00:00
Dan Stillman
5d92a9c43d
Change debug.store.submitLimit to debug.store.submitSize and have it be the number of characters in the output, defaulting to 1 million
2011-09-02 05:17:30 +00:00
Simon Kornblith
15bab1db24
Don't spin event loop after setting tree
2011-09-02 01:46:51 +00:00
Simon Kornblith
d9ea7dc46c
IE quirks mode support
2011-09-01 23:23:16 +00:00
Simon Kornblith
e4b380e1ed
Put Save to Zotero option at bottom of download box
2011-09-01 20:24:57 +00:00
Simon Kornblith
ead633ed84
IE support works (in standards mode)
2011-09-01 17:19:23 +00:00
Simon Kornblith
e1e21a4f39
Fix bug in last commit
2011-09-01 07:50:53 +00:00
Simon Kornblith
d53cb8a77d
Unbreak CORS preflighting
2011-09-01 07:46:42 +00:00
Simon Kornblith
24a736b316
support GET
2011-09-01 07:08:24 +00:00
Simon Kornblith
6fe0ea6a90
Fix conditional
2011-09-01 07:04:46 +00:00
Simon Kornblith
92378313f7
Fix IE hack comments and name
2011-09-01 06:54:19 +00:00
Simon Kornblith
f9a0db633c
IE cross-domain messaging hack
2011-09-01 06:53:20 +00:00
Simon Kornblith
8b0f8c3fdf
Keep add citation dialog raised whenever Firefox is in the foreground, and add hidden pref extensions.zotero.integration.keepAddCitationDialogRaised to keep dialog raised at all times
2011-09-01 01:11:06 +00:00
Simon Kornblith
4666ae972c
- Move Zotero.Utilities.Internal and Zotero.Utilities.Translate to separate files
...
- IE compatibility for translation core
2011-08-31 23:25:48 +00:00
Simon Kornblith
21254238e1
Don't include "&" and "and" in search
2011-08-31 23:02:33 +00:00
Simon Kornblith
70bf48a616
- Refuse to close QuickFormat editor if text remains in the box
...
- Support :<PAGE NUMBER> syntax
2011-08-31 22:31:00 +00:00
Simon Kornblith
6f9daa4469
Show Quick Format dialog at appropriate size if many sources are cited
2011-08-31 22:21:07 +00:00
Simon Kornblith
3b8d45d90e
Refocus Quick Format dialog after reference is clicked
2011-08-31 22:18:30 +00:00
Dan Stillman
5e27d20e28
Fix add/remove buttons in Advanced Search window on Windows
2011-08-31 06:02:28 +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
Dan Stillman
3b1cc39f21
Add debug.store.submitLimit and debug.store.submitLineLength prefs to limit number and length of debug output lines submitted
2011-08-30 23:10:23 +00:00
Simon Kornblith
87a5846155
Make toolbar draggable on OS X
2011-08-30 16:33:07 +00:00
Simon Kornblith
8ec4377d3e
Add bookmarklet support
2011-08-30 06:46:47 +00:00
Dan Stillman
16a3d3f1ed
Allow nested database transactions within the same wait level and disallow database access from higher levels
2011-08-30 01:05: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
3c0e11121f
Add preference to put stack traces in debug output
2011-08-29 23:11:19 +00:00
Simon Kornblith
1f73a84cb0
Update to citeproc-js 1.0.206
2011-08-29 20:23:13 +00:00
Simon Kornblith
02336f9cae
Always try to delete shared .zoteroIntegrationPipe if it exists
2011-08-29 20:00:58 +00:00
Dan Stillman
211da93be4
Duplicate detection fixes:
...
- Fix saving of fields from other versions of an item
- Relations (e.g., cross-library links) were merged incorrectly
2011-08-29 19:33:52 +00:00
Dan Stillman
236901c1ad
Don't include child items in "Titles & Creators" searches
2011-08-29 14:32:17 +00:00
Dan Stillman
9f72f0af4b
Just rename fa-IR to fa-FA (though it should be renamed (possibly to just locales-fa.xml) on GitHub too)
2011-08-28 23:01:21 +00:00
Dan Stillman
1f300c7377
Update CSL locales from GitHub (but someone needs to verify if the 'fa-IR' locale is used when the Firefox locale is just 'fa')
2011-08-28 22:58:11 +00:00
Dan Stillman
eea45d6d94
Merge locales
2011-08-28 22:54:17 +00:00
Dan Stillman
2e5b87b9e7
Fix error when saving via browser context menu when Zotero pane/tab hasn't been opened
2011-08-28 22:15:39 +00:00
Simon Kornblith
47ab265532
Use ZoteroPane instead of ZoteroPane_Local for context menu commands, so that they get added to the appropriate collection when Zotero is open in tab mode
2011-08-28 22:06:45 +00:00
Simon Kornblith
953ec31166
Add context menu to translate icon, allowing the user to save to Zotero with alternative translators and to perform library lookup or use lookup engines without first saving the item
2011-08-28 20:12:08 +00:00
Simon Kornblith
46dc429d73
Handle host lookup failure
2011-08-28 19:58:02 +00:00
Simon Kornblith
7a0c38877c
Fix caching of sourceItemID
2011-08-28 18:31:53 +00:00
Simon Kornblith
eea7bc4a75
Fix incorrect sorting of newly added items (off by one)
2011-08-28 17:56:23 +00:00
Simon Kornblith
ebd7d5a155
Don't attempt to retrieve metadata for PDF when the option is unavailable
2011-08-26 22:27:02 +00:00