Simon Kornblith
9ca142c4f6
Fix a situation under which Zotero could fail to embed item data in a document
2012-08-19 12:39:49 -04:00
Simon Kornblith
d9ea6d3647
Add useJournalAbbreviation export option for BibTeX (see https://github.com/zotero/translators/pull/436 )
2012-08-16 21:11:21 -04:00
Dan Stillman
ade715ff04
Fixes #155 , Slow offline syncs
...
Don't reload all data for failed /login and /updated requests
2012-08-15 06:01:47 -04:00
Simon Kornblith
f60bceffac
Don't show empty close button
2012-08-14 20:07:57 -04:00
Dan Stillman
e599a207a1
Some additional debug output for file syncing
2012-08-14 18:30:11 -04:00
Dan Stillman
7dad7bcd5a
Require exact 8-character, uppercase item key for quick search
2012-08-08 03:17:14 -04:00
Dan Stillman
f6e7cf83fa
Add ability to search for item by key from quick search bar
...
Matches beginning of key only, and only when search string is >= 2 chars
2012-08-08 01:56:25 -04:00
Simon Kornblith
0a89a787a3
Merge branch '3.0'
2012-08-06 02:04:52 -04:00
Simon Kornblith
2b00819253
ie_compat.js -> common_ie.js
2012-08-06 02:04:20 -04:00
Simon Kornblith
ab4c2f247d
Merge branch '3.0'
2012-08-05 19:44:57 -04:00
Simon Kornblith
c57f512aea
Don't save null tags to server
2012-08-05 19:44:34 -04:00
Simon Kornblith
cd6d528519
Be more resilient when IE DOMParser fails
...
Fixes JSTOR in IE
2012-08-04 19:38:21 -04:00
Simon Kornblith
0e2cf3146f
Support namespaces in ZU.xpath in IE
2012-08-03 12:39:54 -04:00
Simon Kornblith
009e315fa1
Fix compatibility with latest Nightly
2012-08-02 20:25:58 -04:00
Dan Stillman
bacd25633b
Fix error updating types menu after installation of NSF item type
2012-08-02 16:59:28 -04:00
Dan Stillman
77f422039f
Don't assume "text/" MIME types can be opened internally
...
Previously, dragging a Python script ("text/x-python-script") would
trigger an open/save dialog (at least on OS X), since Firefox was under
the impression that it couldn't read the file.
2012-08-02 09:08:49 -04:00
Dan Stillman
1dca17c96b
Add autocomplete for 'book' 'series' field
2012-08-02 09:01:59 -04:00
Simon Kornblith
cd6e78899b
Fix "Use profile directory" option to use correct app name
2012-08-01 10:52:00 -04:00
Simon Kornblith
3a3efbc430
Drop "0-" before the URL on III proxies before attempting subdomain dropping for connectors
2012-07-30 19:20:44 -04:00
Simon Kornblith
80d98e0bcb
Drop "0-" before the URL on III proxies before attempting subdomain dropping
2012-07-30 19:19:22 -04:00
Simon Kornblith
7dbe6d728a
No need to import Q here
2012-07-30 14:54:53 -04:00
Simon Kornblith
9e75aba8fd
Convert arrays passed to Z.selectItems to objects
2012-07-30 14:54:53 -04:00
Simon Kornblith
59913cc5c0
Tweak notes/tags/related pane appearance
2012-07-30 03:08:38 -04:00
Simon Kornblith
bdfbfc10b2
Use methodjit...
2012-07-30 02:37:39 -04:00
Simon Kornblith
da6149b06f
Tweak XPath utilities to behave more appropriately on IE XML documents
2012-07-29 21:29:24 -04:00
Simon Kornblith
36871467b6
Merge branch '3.0'
2012-07-29 21:28:33 -04:00
Simon Kornblith
13958bfaba
Revert "ZU.xpath tweak for IE"
...
This reverts commit cb7640a96a
.
2012-07-29 19:54:38 -04:00
Simon Kornblith
fef0970dce
Merge branch '3.0'
2012-07-27 18:47:51 -04:00
Simon Kornblith
cb7640a96a
ZU.xpath tweak for IE
2012-07-27 18:47:35 -04:00
Simon Kornblith
b266f1414a
Always set libraryCatalog for search translators, even when a parent translator is present
2012-07-27 18:27:08 -04:00
Simon Kornblith
ec43117edf
Add q and rebalance about dialog
2012-07-27 14:26:19 -04:00
Simon Kornblith
c464321811
Alternative approach to rescuing JIT in Zotero.setTimeout/Zotero.pumpGenerator
2012-07-26 08:56:27 -04:00
Simon Kornblith
344bd1fb74
Revert "Use setTimeout() on hidden window instead of firing an nsITimer to prevent our JS from getting interpreted instead of JITed."
...
This reverts commit 0a9fad4124
.
2012-07-26 08:56:27 -04:00
Simon Kornblith
6f86d85f89
Revert "Fix ReferenceError: timer is not defined from 0a9fad41246f098c3dad1cc72bdaaf634350e371"
...
This reverts commit 99e5bce87c
.
2012-07-26 08:56:27 -04:00
Simon Kornblith
2fd8871998
Avoid extra calls to attachmentCallback
2012-07-24 13:36:55 -04:00
Simon Kornblith
99e5bce87c
Fix ReferenceError: timer is not defined from 0a9fad4124
2012-07-24 03:12:22 -04:00
Simon Kornblith
6e064bb4ce
Avoid excessive calls to XPCWrappedNative::GetWrappedNativeOfJSObject when determining field type
2012-07-24 03:06:44 -04:00
Simon Kornblith
c0c5695bf2
Add preference to connector to control saving attachments and PDFs via server, part 1
2012-07-24 01:31:38 -04:00
Simon Kornblith
9817b02181
Merge branch '3.0'
2012-07-23 23:48:51 -04:00
Simon Kornblith
70440ee8f9
Don't sanitize input from child web translators before passing it to parent translators
2012-07-23 23:47:58 -04:00
Simon Kornblith
0a9fad4124
Use setTimeout() on hidden window instead of firing an nsITimer to prevent our JS from getting interpreted instead of JITed.
...
Still need to make sure this doesn't break things on other platforms.
Closes #149 , Fix JITing for initial pane load
2012-07-23 21:24:44 -04:00
Dan Stillman
69f8ca71cb
Fix broken syncing from 30b389823
2012-07-23 17:20:15 -04:00
Simon Kornblith
02cf62702f
Merge commit 'eae1d7a8fd3cb12e9279491d67ba3e4f2d72c875'
...
Conflicts:
translators
2012-07-22 20:53:03 -04:00
Juan Grigera
eae1d7a8fd
Fixed bug in cutting lines to feed findDOI and cleaned up debug statements
2012-07-22 21:50:26 -03:00
Simon Kornblith
bd2ab16030
Add sourceItemID to list of cached fields
2012-07-22 20:17:20 -04:00
Simon Kornblith
30b3898235
Closes #148 , Optimize Zotero.Item.getSource()
2012-07-22 20:13:40 -04:00
Simon Kornblith
b1a51f900d
Very minor tag selector optimizations
2012-07-22 19:10:10 -04:00
Simon Kornblith
08238aefd0
Speed up adding/deleting tags:
...
- Only refresh tag selector once when tags have changed. (The notifier fires both item-tag and tag events when a tag is added to an item.)
- Marginally improve code for generating tag selector.
2012-07-22 16:41:27 -04:00
Simon Kornblith
7f732f56df
Don't refresh item list upon tag selector actions unless the action changes the item list.
...
This speeds up adding/deleting tags a little bit, but unfortunately updating the tag selector itself is still quite slow.
2012-07-22 15:55:40 -04:00
Simon Kornblith
445b95d60d
Small collection switching speed boost
2012-07-22 15:19:37 -04:00
Simon Kornblith
430e43a6b6
Fix handling of MIME type mismatches
2012-07-22 01:48:18 -04:00
Simon Kornblith
c549166e25
Fix XMLSerializer on older Firefox versions
2012-07-21 21:12:59 -04:00
Simon Kornblith
c6da52f24b
Support saving snapshots from connector, part 1
...
Snapshots are currently saved using a <base> tag. Thus, images are skipped.
2012-07-21 20:17:14 -04:00
Simon Kornblith
23e2d1911c
Merge branch '3.0'
2012-07-21 18:33:53 -04:00
Simon Kornblith
16f4253c6c
Handle cases where Zotero.locale is undefined
2012-07-21 18:33:38 -04:00
Simon Kornblith
349c19fe4d
Merge branch '3.0'
2012-07-21 18:29:04 -04:00
Simon Kornblith
b117da88a3
Don't save unsynchable tags
2012-07-21 18:28:36 -04:00
Simon Kornblith
cc1ab112f6
Don't show an error when canceling integration preferences dialog
2012-07-20 15:31:32 -04:00
Simon Kornblith
c39a489ca9
Fix deleting citations if dialog is cancelled
2012-07-20 13:37:03 -04:00
Simon Kornblith
7ebc59ee2e
Switch csl checkout back to master
2012-07-19 13:34:45 -04:00
Simon Kornblith
4e015ecbe9
Another attempt at getting tests working for translation via server
2012-07-19 13:18:35 -04:00
Simon Kornblith
4fd978905c
Clarify wording of missing item message as suggested by @adam3smith
2012-07-19 10:53:01 -04:00
Simon Kornblith
9159e1c635
Merge branch '3.0'
2012-07-18 15:04:22 -04:00
Simon Kornblith
afef6bc5a7
Fix or strings in IE
2012-07-18 15:03:52 -04:00
Simon Kornblith
54fd18cce3
Fix for strings in IE
2012-07-18 14:56:37 -04:00
Simon Kornblith
263c54d09b
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/locale/csl
2012-07-17 18:40:46 -04:00
Simon Kornblith
ad4eccc54d
Don't error on translation via server
2012-07-17 18:39:23 -04:00
Simon Kornblith
004e6bbd0a
Restore CSL locales checkout to 1.0.1 branch (switched to master by ec391d9346
)
2012-07-17 14:01:01 -04:00
Simon Kornblith
06a7b1438f
Fix operations that remove field codes
2012-07-16 21:56:31 -04:00
Simon Kornblith
d550ac92b4
Q-ize integration.js
...
Adds a new function, Zotero.promiseGenerator, that returns a promise that is fulfilled by the last thing yielded by a generator, or rejected with an error.
2012-07-16 21:50:14 -04:00
Simon Kornblith
8bc56fdeb1
Fix typo
2012-07-16 14:44:30 -04:00
Simon Kornblith
755db116cc
Fix typo
2012-07-16 14:43:33 -04:00
Juan Grigera
554f74a0d2
Improvements to ISBN recognition code in recognizePDF.js
2012-07-16 01:28:55 -03:00
Simon Kornblith
910f698ea2
Alter semantics of Zotero.Exception.Alert() so that toString() returns the cause if there is one
2012-07-15 04:14:24 -04:00
Simon Kornblith
de2d1669fe
Restructure and comment cite.js
2012-07-14 22:26:29 -04:00
Simon Kornblith
0deb2573cc
Kill translate.js code that was only necessary because of E4X limitations
2012-07-14 19:00:35 -04:00
Simon Kornblith
136e7879c8
Kill E4X in QuickCopy
2012-07-14 18:56:36 -04:00
Simon Kornblith
14d669c00a
Kill zoteroconf remnants that used E4X
2012-07-14 18:28:12 -04:00
Simon Kornblith
ed49b867ac
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/locale/csl
2012-07-14 16:43:28 -04:00
Simon Kornblith
d27b0654e8
Fix Zotero.ItemFields.getFieldIDFromTypeAndBase in connector
2012-07-14 16:42:14 -04:00
Simon Kornblith
0766588241
Closes https://www.zotero.org/trac/ticket/1867 , remove Zotero.Hash
2012-07-13 00:06:49 -04:00
Simon Kornblith
ec391d9346
Fix CSL checkout
2012-07-12 12:09:19 -04:00
Simon Kornblith
28c19b54fb
Actually fix spacing
2012-07-12 12:09:03 -04:00
Simon Kornblith
e0995a8032
Fix spacing
2012-07-12 12:03:06 -04:00
Simon Kornblith
8c4e2f0d49
Fix data mismatch false positives
2012-07-12 10:01:59 -04:00
Simon Kornblith
b5e4334df5
Ignore whitespace differences in test results, and provide more readable output upon data mismatch
2012-07-11 21:49:46 -04:00
Simon Kornblith
dae3672318
Add RNV to about box
2012-07-10 19:48:37 -04:00
Simon Kornblith
a35461e2fc
Rename q.jsm to q.js, and use a version of q that's closer to the original and allows use in script tags as well
2012-07-10 15:27:38 -04:00
Simon Kornblith
06825c4767
Validate CSL styles on installation, and restructure Zotero.Styles.install() to use Q.
...
Closes https://www.zotero.org/trac/ticket/1681 , automatic CSL validation
2012-07-10 02:46:57 -04:00
Simon Kornblith
bf4c5c1158
Zotero.Exception.Alert when an alert title is specified
2012-07-10 02:46:24 -04:00
Simon Kornblith
de6a776e88
Modify integration.js to use Zotero.Exception.UserCancelled
2012-07-10 02:36:56 -04:00
Simon Kornblith
53bcccd9e7
Add Zotero.HTTP.promise(), a replacement for Zotero.HTTP.doGet/doPost/doHead/doOptions that returns a promise.
...
Zotero.HTTP.promise() can potentially reject its promise with two new exceptions. Zotero.HTTP.UnexpectedStatusException is thrown if the status code is not 2XX, and Zotero.HTTP.BrowserOfflineException is thrown if the browser is offline.
2012-07-10 02:35:00 -04:00
Simon Kornblith
ede39740c7
Add Zotero.File.getContentsAsync() and Zotero.File.putContentsAsync(), asynchronous versions of Zotero.File.getContents() and Zotero.File.putContents() that return Q promises.
...
Also make Zotero.File.getContents() slightly more efficient by increasing the blockSize.
2012-07-10 02:29:16 -04:00
Simon Kornblith
418a170f2b
Add Zotero.Exception.Alert and Zotero.Exception.UserCancelled
...
Zotero.Exception.Alert is intended for situations in which an error has an associated string that should be displayed in a dialog when the error takes place.
Zotero.Exception.UserCancelled is intended for situations where the user cancelled an action, and the cancellation should propagate.
2012-07-10 02:26:55 -04:00
Juan Grigera
84930baa41
Added option to recognize ISBN numbers in PDF
2012-07-09 21:41:11 -03:00
Simon Kornblith
8ad7367cff
CSL JSON improvements:
...
- Fix export of literal names
- Fix import of dates specified with date-parts
2012-07-08 22:01:52 -04:00
Simon Kornblith
48a8fa352b
Use "Zotero-Bookmarklet" header instead of "X-Zotero-Bookmarklet"
2012-07-08 18:33:50 -04:00
Simon Kornblith
471af0c8ab
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/translation/translate_firefox.js
chrome/content/zotero/xpcom/translation/translate_item.js
2012-07-08 13:15:27 -04:00
Simon Kornblith
b13d066062
Fix "TypeError: invalid 'in' operand arg" error introduced by d02fe6d9ab
(thanks @adam3smith)
2012-07-08 13:04:09 -04:00
Simon Kornblith
f07a42a7ec
If document data is corrupted, just show a new Document Preferences window
2012-07-08 11:19:41 -04:00