Commit graph

2432 commits

Author SHA1 Message Date
Dan Stillman
b4512ac91d Remove unused third parameter to ZoteroPane.loadURI() 2011-12-14 17:49:14 -05:00
Dan Stillman
f87bee9f7c Fix blank window/tab when file.launch() fails
Use nsIExternalProtocolService.loadUrl() as a fallback rather than window.loadURI()

If "Remember my choice for file links" is selected, there's currently
no way to change that in Standalone short of deleting mimeTypes.rdf.
2011-12-14 17:46:21 -05:00
Dan Stillman
87c4dfb893 Remove excessive Zotero.libraryID calls syncing deleted items 2011-12-12 16:44:49 -05:00
Dan Stillman
14bb52a43f Replace a couple more nsITimer calls 2011-12-08 01:35:24 -05:00
Dan Stillman
b916935256 Replace direct nsITimer call with setTimeout() 2011-12-08 01:28:57 -05:00
Simon Kornblith
fbb09565ae Fix an error adding a citation 2011-12-07 01:05:20 -05:00
Dan Stillman
b43ce3254d Year part of title/creator/year search worked only if month/day were set 2011-12-06 18:01:28 -05:00
Simon Kornblith
49e281d3c5 Use quicksearch-titleCreatorYear instead of quicksearch-titlesAndCreators 2011-12-04 13:14:58 -05:00
Dan Stillman
54b32ddb15 Change isSameNode() to === for Fx10 compatibility
I didn't test this (since it's in annotation code), but according to
https://bugzilla.mozilla.org/show_bug.cgi?id=687400 they're equivalent.
2011-12-02 20:17:43 -05:00
Dan Stillman
5484fdb01d Adjust some note editor ids for clarity when debugging 2011-12-02 19:31:28 -05:00
Dan Stillman
f0147cae86 Fix broken notes when the first note viewed in a session is read-only 2011-12-02 19:30:50 -05:00
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
Simon Kornblith
e5859ebada Tweak UI and don't allow selection of library headers 2011-11-28 01:26:41 -05:00
Mikko Rönkkö
dea69fac3d Added grouping of items by library and separators for libraries to QuickFormat dialog 2011-11-28 01:26:34 -05:00
Dan Stillman
75baa706cd Fix "Untitled" collection naming after "Untitled 10"
Fixes #16
2011-11-17 14:16:25 -05:00
Dan Stillman
81b6974053 Add more reasonable "Medium" font setting, and shift M/L to L/XL
Also adjust spacing of radio buttons in General pref pane
2011-11-17 02:10:10 -05:00
Dan Stillman
d5e9ca11f3 Restore Locate button on missing files (since 10/15) 2011-11-16 17:55:18 -05:00
Dan Stillman
8f742bc7ab Don't require manual sync on 40x response for invalid session errors
Server currently returns 500 but should return 403
2011-11-08 02:45:17 -05:00
Simon Kornblith
7a5b1f7e32 Merge pull request #6 from ajlyon/diacritic
Short-circuit removeDiacritics on alphanumeric and other basic input
2011-11-07 21:04:35 -08:00
Dan Stillman
83216d6125 Relations libraryID fixes
- For cross-library links, if both group libraries, store relation with
  source group. Otherwise, store with personal library.
- Send libraryID when syncing
- Update libraryID properly when syncing updated relation from server
- Increment sync API version so server can send relation libraryIDs
  safely
2011-11-07 13:32:19 -05:00
Avram Lyon
d707947450 Short-circuit removeDiacritics on alphanumeric and other basic input 2011-11-03 11:53:53 -07:00
Dan Stillman
078efc4042 Don't die if a creator is missing at an index 2011-11-03 12:46:48 -04:00
Dan Stillman
ea44d9cf6f Maybe fix some broken WebDAV servers
Use "1" instead of " " for test and lastsync files
2011-11-02 23:50:05 -04:00
Dan Stillman
25ba8c7006 Prepend error info (except other add-ons info) to debug output 2011-11-02 16:46:53 -04:00
Mikko Rönkkö
6dfb6af461 Changed the required versions from SVN to SOURCE to reflect name changes 2011-11-02 18:33:49 +02:00
Simon Kornblith
acd54cd2c0 Save a little code 2011-11-02 00:28:54 -04:00
Simon Kornblith
690ceac4b3 Fix transferring documents between translator sandboxes 2011-11-02 00:25:47 -04:00
Dan Stillman
e064009fe2 Add CSL locales repo as submodule 2011-10-31 02:15:47 -04:00
Dan Stillman
38757e55c0 Remove old CSL locale directory 2011-10-31 02:15:01 -04:00
Simon Kornblith
7bafb1100b Update to citeproc-js 1.0.236 2011-10-31 00:37:24 -04:00
Dan Stillman
7b4f16e233 Show the + symbol when dragging items between collections or libraries
TODO: don't show symbol when the item can't be dropped
2011-10-29 15:50:57 -04:00
Dan Stillman
7a5024df6e Change "SVN" references to "source" 2011-10-28 01:27:04 -04:00
Simon Kornblith
0a5f4946d3 Wait until 250 ms after keypress before executing search in QuickFormat
Thanks to mronkko for the patch
2011-10-23 19:09:53 +00:00
Dan Stillman
2e41266c03 Use a DOMDocument instead of E4X for uploaded XML generation -- this is almost an order of magnitude faster and hopefully fixes data corruption issues with E4X on large uploads that were causing validation errors on the server.
Individual objects are still created as E4X (e.g., in itemToXML()) and reparsed into the DOM. Generating individual objects with the DOM would produce roughly another order-of-magnitude speedup.
2011-10-21 21:31:13 +00:00
Dan Stillman
462d9ab199 Automatically trim username in sync preferences 2011-10-20 17:57:50 +00:00
Dan Stillman
4fb9c2877f Fix error when changing item types 2011-10-19 22:27:17 +00:00
Simon Kornblith
11ad20a1d8 Update to citeproc-js 1.0.227 2011-10-15 22:47:17 +00:00
Dan Stillman
40ec344218 Fix a number of problems related to newlines in filenames
- Properly strip newlines and tabs in filenames (broken since May 2011)
- If view isn't editable, don't show Locate button, since the updated path couldn't be sent back up
- Fix access error if a synced file needs to be renamed to be valid but user doesn't have group editing access
- Don't allow newlines in item titles (e.g., via copy/paste)
2011-10-15 05:50:30 +00:00
Dan Stillman
7b902f0fd4 Replace more E4X compound assignment operators with appendChild(), as in r10250 2011-10-14 02:43:12 +00:00
Dan Stillman
8ad3b513a1 - Allow twisty clicks (in collections and items panes) to work in duplicates view
- Move collection selection down if a collection above is opened (since r9950)
2011-10-12 18:41:23 +00:00
Dan Stillman
749b4ee464 Display more helpful message for "Username not set" error when clicking on the sync error icon (previously displayed a full message at sync time for foreground syncs but updated the error icon dialog only for background syncs) 2011-10-12 15:23:53 +00:00
Dan Stillman
456406fc10 Increase max length of duplicate detection field selector menu items, and display tooltip if still cut off 2011-10-12 08:48:47 +00:00
Dan Stillman
c22c87a053 Require at least one last name + first initial match for title matching in duplicate detection 2011-10-11 23:48:20 +00: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
Dan Stillman
ec6d38df68 Addresses #1796, trigger() checks type rather than event for 'modify', 'delete'
Just take out check for extraData
2011-10-10 17:01:22 +00:00
Simon Kornblith
92382ca856 Update to citeproc-js 1.0.226 2011-10-10 07:23:38 +00:00
Simon Kornblith
da180d3fed Remove debug line 2011-10-10 03:02:28 +00:00
Dan Stillman
3a6977a733 Fix "no such column: groupID" sync error 2011-10-09 19:34:54 +00:00
Dan Stillman
21f1e3789e Fixes #1796, trigger() checks type rather than event for 'modify', 'delete' 2011-10-06 16:04:53 +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
Dan Stillman
5f82db0970 Ensure library is visible when selecting 2011-10-05 17:52:22 +00:00
Dan Stillman
226196a265 Fix sync error dialog buttons (e.g., Report Errors), and change another setTimeout() call to make function call explicit for AMO 2011-10-05 17:49:35 +00:00
Dan Stillman
8a5f12680d Use collectionTreeView's getSelectedLibraryID() in zoteroPane.js 2011-10-05 17:46:23 +00:00
Dan Stillman
570ba2c909 - Restrict "-" and "+" in source list to current library
- Properly collapse subcollections on "-"
- Retain selection after "+" and select library root after "-"
2011-10-05 17:40:46 +00:00
Dan Stillman
fbb7ded324 Use correct capitalization of csledit.xul and cslpreview.xul in Standalone 2011-10-04 16:22:55 +00:00
Simon Kornblith
62180e0cd2 Remove obsolete nsIJSON uses 2011-10-04 03:14:08 +00:00
Simon Kornblith
0741bb396f Don't attempt to close pipe if we aren't reading from it yet because we haven't yet processed events on the main thread. (Fallout from processNextEvent() removal.) 2011-10-03 17:05:23 +00:00
Simon Kornblith
a259a6b8cd First run guidance for creator menu 2011-10-03 06:04:37 +00:00
Simon Kornblith
27b5505661 First run guidance for save icon 2011-10-03 04:44:40 +00:00
Simon Kornblith
328bc96da7 Fix switching search modes by removing an unnecessary optimization 2011-10-03 02:47:07 +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
Simon Kornblith
e68a657303 Allow column selection in select items dialog 2011-10-03 00:17:11 +00:00
Simon Kornblith
0c98f6542a Fix deleting items from unfiled items view 2011-10-03 00:13:13 +00:00
Simon Kornblith
223bfe74db Disable toolbar buttons in collections that cannot be edited 2011-10-02 23:28:38 +00:00
Simon Kornblith
24742691b8 Reduce toolbar button opacity when inactive or disabled 2011-10-02 23:13:18 +00:00
Simon Kornblith
5ed3cba50b Selected item pane button should remain white, even when inactive 2011-10-02 23:02:30 +00:00
Simon Kornblith
051445334b Small fixes to comments 2011-10-02 22:27:43 +00:00
Simon Kornblith
fd5b26dccc Separator should not be selectable in itemTreeView 2011-10-02 22:25:00 +00:00
Simon Kornblith
601c7bf04b UI tweaks 2011-10-02 22:05:33 +00:00
Simon Kornblith
ccec1243c6 Show metadata when clicking an item in quickformat dialog 2011-10-02 21:51:36 +00:00
Simon Kornblith
8da084800e Update to citeproc-js 1.0.213 2011-10-02 20:50:08 +00:00
Simon Kornblith
e6deac829c Disable cross-origin check for detection pending further investigation 2011-10-02 20:08:02 +00:00
Simon Kornblith
7acd6f6722 Fix bustage 2011-10-02 19:43:41 +00:00
Simon Kornblith
5057da9ed3 Properly pass URL 2011-10-02 18:21:41 +00:00
Simon Kornblith
252255c2eb Don't always use cross-site mode 2011-10-02 18:21:01 +00:00
Simon Kornblith
31bc445e4c Allow cross-site processDocuments() calls in Firefox (Chrome/Safari support coming) 2011-10-02 17:26:08 +00:00
Simon Kornblith
3364a533c5 Add "Restore to Library" context menu option 2011-10-02 15:50:54 +00:00
Simon Kornblith
b4c4ec3a86 Refresh trash view when an item is removed from the trash 2011-10-02 15:50:09 +00:00
Simon Kornblith
f52cb2c397 Remove debug code 2011-09-28 21:48:27 +00:00
Simon Kornblith
77f27ff3d3 Don't break integration if setting document preferences on a document on which set document preferences has already been run, but which has no fields. (Thanks to Frank for spotting this.) 2011-09-28 21:48:04 +00:00
Dan Stillman
74d5fc6a84 Make '+' key for items usable on large libraries 2011-09-28 17:46:06 +00:00
Dan Stillman
d9f059c1c4 Fix primary creator type not changing when switching between item types 2011-09-28 17:21:50 +00:00
Simon Kornblith
87978f7a1c Another ~10% collection switching perf win 2011-09-28 06:46:02 +00:00
Simon Kornblith
0a33f1fde7 Fix saving to group libraries 2011-09-28 04:01:39 +00:00
Simon Kornblith
b1275032f5 Fix dragging links to Z standalone 2011-09-27 14:51:15 +00:00
Simon Kornblith
7fa67b32d4 Fix comment 2011-09-26 01:27:16 +00:00
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
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
Simon Kornblith
925f09232d UI tweaks 2011-08-26 21:57:48 +00:00
Simon Kornblith
f88c2b8859 - Show warning if items cannot be saved to current library, and default to my library
- Disable PDF saving with message if PDF tools are not installed
2011-08-26 21:49:47 +00:00
Dan Stillman
207af37ee7 Don't strip extended characters in duplicate detection 2011-08-26 20:45:27 +00:00
Simon Kornblith
3e97b803cd QuickFormat should update on backspace 2011-08-26 20:10:43 +00:00
Simon Kornblith
68c06c14a2 References #1887, Retrieving editor.value in Zotero_Citation_Dialog._updatePreview() fails
Perform an additional check, just in case the preview pane hasn't fully loaded before the dialog is accepted.
2011-08-25 22:55:55 +00:00
Simon Kornblith
4afc4a4d82 Closes #1887: Retrieving editor.value in Zotero_Citation_Dialog._updatePreview() fails 2011-08-25 22:50:51 +00:00
Simon Kornblith
d9c30ebc59 Fix adding formatted custom citations in OpenOffice.org 2011-08-25 21:55:26 +00:00
Simon Kornblith
84486e24ac Don't add extra menu separator in Standalone 2011-08-25 21:29:35 +00:00
Simon Kornblith
1e90528937 Don't build item type menu twice 2011-08-25 21:24:51 +00:00
Simon Kornblith
914f29b8ac - Don't sizeToContent() in Standalone window
- Fix expand/collapse item
2011-08-25 21:10:15 +00:00
Dan Stillman
b27e64f9c8 Block database access during Zotero.wait() only if a transaction is in progress 2011-08-25 21:03:24 +00:00
Dan Stillman
291b739b76 Alphabetic sorting of groups 2011-08-25 16:26:43 +00:00
Simon Kornblith
cd885c8a24 Save to the selected collection and library 2011-08-25 11:58:13 +00:00
Simon Kornblith
0108570daa Override onStateChange() not to show an error after downloading the XPI 2011-08-25 08:02:04 +00:00
Simon Kornblith
c812cfd6c0 Hide add-on search box 2011-08-25 07:38:31 +00:00
Simon Kornblith
aae77c6015 Add-on discovery support for Zotero Standalone, part 1 2011-08-25 07:35:22 +00:00
Simon Kornblith
beefefd016 Add text-link binding (almost entirely verbatim from moz-central) 2011-08-25 06:16:42 +00:00
Simon Kornblith
59d7050bba Use zotero-text-link instead of text-link, so that we can attach a custom binding that handles text links externally, which we need so that we can make links in docShells work in Standalone. 2011-08-25 06:16:15 +00:00
Simon Kornblith
0a71d9219b Don't destroy hidden browsers until translation is complete, part 1: Zotero for Firefox and Zotero Standalone 2011-08-25 04:23:39 +00:00
Dan Stillman
d4738017bf Fixes #1886, Typo: _duplicatesLibraries -> _duplicateLibraries
Thanks
2011-08-25 03:06:30 +00:00
Simon Kornblith
2a968e7696 Don't throw if collectionsView not registered, and no need to pass false to removeObserver 2011-08-24 22:08:27 +00:00
Dan Stillman
3c81d283c8 - Fix random errors in uploaded XML when using E4X's compound assignment operator (hopefully)
- Reduce calls to Zotero.libraryID when building item creator list
2011-08-24 20:36:37 +00:00
Simon Kornblith
416907a196 Fix breaking hidden browsers on Firefox 3.6 2011-08-24 20:06:31 +00:00
Simon Kornblith
d382f293ca Add link to cslPreview.xul and make sure things work in Standalone (and tab mode) 2011-08-24 06:58:42 +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
b3cf130821 Add "Open csledit.xul" to Standalone advanced prefs 2011-08-24 05:59:20 +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
b5735f5189 Don't show attachments in QuickFormat 2011-08-23 21:52:15 +00:00
Dan Stillman
37dc3a6001 Fix item dragging between libraries 2011-08-23 06:44:25 +00:00
Simon Kornblith
290581a495 Fix saving authors from COinS 2011-08-23 03:59:11 +00:00
Simon Kornblith
fc8da5f8cd Don't auto-associate domains if an HTTP error code is received 2011-08-23 03:38:53 +00:00
Simon Kornblith
f1207a90eb Restore dropmarker to search bar on OS X Standalone 2011-08-23 00:42:30 +00:00
Simon Kornblith
90b0c3b8e6 Fix translator names in error message 2011-08-22 23:35:10 +00:00
Simon Kornblith
4ea43afb51 Fix exporting properties in Chrome/Safari 2011-08-22 23:27:23 +00:00
Simon Kornblith
6e85a0440d Map system to medium in CSL 2011-08-22 16:10:56 +00:00
Simon Kornblith
e32da0b5ca Remove debug line 2011-08-21 21:37:18 +00:00
Simon Kornblith
f02ae027c5 Allow page numbers > 1 character to be entered inline 2011-08-21 21:31:27 +00:00
Simon Kornblith
53a838c3d6 Properly serialize page number to document 2011-08-21 21:24:26 +00:00
Simon Kornblith
8b51c3e069 Make things snappier 2011-08-21 05:47:07 +00:00
Simon Kornblith
337ff90056 Don't open a new Firefox window when Standalone is closed if Firefox is open and Zotero for Firefox is not installed 2011-08-19 20:16:13 +00:00
Simon Kornblith
e64f5b2c83 Reverse argument orders to minimize calls to the getter 2011-08-19 07:26:44 +00:00
Simon Kornblith
701a202a5f Inline itemTypeID 2011-08-19 07:17:56 +00:00
Simon Kornblith
cc913cbeed Inline id getter 2011-08-19 07:00:22 +00:00
Simon Kornblith
8c8e5f4b40 Close Zotero tab on shutdown if not in tab mode 2011-08-17 22:35:05 +00:00
Simon Kornblith
665d59215d Allow user to pin normal tab 2011-08-17 22:17:33 +00:00
Simon Kornblith
22e9eb6ea8 Tab box margin tweak 2011-08-17 06:50:16 +00:00
Simon Kornblith
05f9d2cd6f Open reference formats and CSL files on double-click (currently only on OS X) 2011-08-17 04:51:43 +00:00
Simon Kornblith
9261f8d5fb - Hide download option when in connector mode (will consider implementing in the connector instead)
- Disable radio, so it's not possible to focus it with the keyboard
2011-08-17 04:13:42 +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
9ce0e47117 Support synchronous getTranslatorObject() in Firefox connecotr 2011-08-16 16:13:59 +00:00
Simon Kornblith
7756620490 - Customizable attachment export, thanks to DBrickShaw
- Fix an issue importing collections
2011-08-16 15:31:18 +00:00
Simon Kornblith
dec907569a Fix saving into collections when translation is performed in the browser 2011-08-16 14:44:24 +00:00
Simon Kornblith
59cff2ad1a Fix timeline creation, and potentially other functionality 2011-08-16 02:37:16 +00:00
Simon Kornblith
b9eb8ecb15 Don't overwrite changed citations. They will (sadly) lose their formatting in OOo at the moment. 2011-08-14 19:48:24 +00:00
Simon Kornblith
92f0fa9097 Hack for OpenOffice.org fields with codes 2011-08-14 19:42:01 +00:00
Simon Kornblith
748790bf46 Fix Create Item from Current Page context menu option in Firefox
- when the Zotero Pane has not yet been opened
	- when operating in connector mode
2011-08-13 04:51:40 +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
bbbc8991f2 - Fix failure to save snapshots, caused by failure to add and remove our request from loadGroup
- Fix a few other issues in ConnectorChannel
2011-08-12 18:10:53 +00:00