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
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
Simon Kornblith
325c78d1d2
Merge pull request #142 from sss/handle-malformed-uri-sequence-in-getFileNameFromURL
...
Use hex-encoded MD5 of fileBaseName if it is in malformed URI sequence.
2012-07-05 16:49:21 -07:00
Simon Kornblith
ef25740510
Use the same rules for creating links and snapshots, regardless of whether attachments can be saved to the current library
2012-07-05 18:12:00 -04:00
Simon Kornblith
2d475522ad
Fix saving to collections
2012-07-05 17:54:38 -04:00
Simon Kornblith
723213f11f
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/translation/translate_firefox.js
chrome/content/zotero/xpcom/zotero.js
install.rdf
update.rdf
2012-07-04 18:24:17 -04:00
Simon Kornblith
d02fe6d9ab
Include speed of Fx5DOMWrapper
2012-07-04 18:22:45 -04:00
SASAKI Suguru
37b65d70f8
Use hex-encoded MD5 of fileBaseName if it is in malformed URI sequence.
...
If the final component of URI can't be decoded with
decodeURIComponent(), Zotero fails to capture a web page,
because Zotero.Attachments._getFileNameFromURL() fails
with 'malformed URI sequence' error.
If we got 'malformed URI sequence' error,
try hex-encoded MD5 of URI's basename instead.
Signed-off-by: SASAKI Suguru <sss.sonik@gmail.com>
2012-07-04 19:50:48 +09:00
Simon Kornblith
695cb47106
Only allow endpoints specifically marked as permitted to be accessed by the bookmarklet to be accessed by the bookmarklet.
2012-07-03 19:50:12 -04:00
Dan Stillman
ca6184ac74
Update versions
2012-07-03 00:19:04 -04:00
Dan Stillman
e6cb523e3c
Update repotime and submodules
2012-07-03 00:17:19 -04:00
Simon Kornblith
a31e5f7704
Update to citeproc-js 1.0.353
2012-07-02 21:49:10 -04:00
Simon Kornblith
73761723c0
Don't use instanceof Array check in ZU.xpath. It fails in Firefox because Array in the sandbox != Array outside of the sandbox. Instead, just check for a length property.
2012-07-02 00:22:14 -04:00
Simon Kornblith
6bed648eb2
Dump stack on translation failure in newer versions of Firefox, where it appears to have ceased to be enumerable
2012-07-02 00:12:01 -04:00
Simon Kornblith
e8ac371042
Rename Zotero.OAuth to Zotero.API, part 2
2012-07-01 16:37:28 -04:00
Simon Kornblith
d8783a93a0
Update for new wrapping code and complain on attempts to activate E4X, part 2
2012-07-01 15:54:37 -04:00
Simon Kornblith
8963dc7d97
Update for new wrapping code and complain on attempts to activate E4X
2012-07-01 15:53:55 -04:00
Simon Kornblith
d780350d24
Merge branch '3.0'
2012-07-01 15:44:06 -04:00
Simon Kornblith
f369af268d
Fix xml/dom mode, part 2
2012-07-01 15:43:47 -04:00
Simon Kornblith
4b498570c0
Fix xml/dom mode
2012-07-01 15:43:08 -04:00
Simon Kornblith
cf29a030f2
Use innerText if no textContent (for IE)
2012-07-01 13:00:41 -04:00
Simon Kornblith
e682ab729c
Merge branch '3.0'
...
Conflicts:
chrome/locale/da-DK/zotero/zotero.dtd
chrome/locale/ko-KR/zotero/zotero.dtd
translators
2012-07-01 11:41:31 -04:00
Frank Bennett
6ab89ec164
Upgrade citeproc-js to version 1.0.351
2012-07-01 11:26:26 -04:00
Frank Bennett
4901c9db0b
Upgrade citeproc-js to version 1.0.350
2012-07-01 11:26:26 -04:00
Frank Bennett
a882818082
Placeholder in CSL processor to accomodate multilingual cite affix configuration
2012-07-01 11:26:26 -04:00
Dan Stillman
941999fd1a
Update submodules
2012-06-29 04:59:05 -04:00
Frank Bennett
4a8831b929
Refresh citeproc-js version 1.0.349
2012-06-27 23:34:44 -04:00
Frank Bennett
7f0c8f3a4d
Update citeproc-js to version 1.0.349
2012-06-27 23:34:44 -04:00
Frank Bennett
2103c955ab
Upgrade citeproc-js to version 1.0.348
2012-06-27 23:34:44 -04:00
Frank Bennett
83b65c9fa9
Upgrade citeproc-js to version 1.0.347
2012-06-27 23:34:44 -04:00
Frank Bennett
3ab9c13d65
Upgrade citeproc-js to version 1.0.346
2012-06-27 23:34:44 -04:00
Frank Bennett
7f9c2bc491
Upgrade citeproc-js to version 1.0.345
2012-06-27 23:34:44 -04:00
Frank Bennett
1aabbbfb67
Upgrade citeproc-js to version 1.0.344
2012-06-27 23:34:44 -04:00
Frank Bennett
b1bacc9816
Upgrade citeproc-js to version 1.0.343
2012-06-27 23:34:44 -04:00
Dan Stillman
dda5deb153
Fix preservation of open/close states after deletions
2012-06-27 23:27:57 -04:00
Simon Kornblith
b9da94a650
Merge branch '3.0'
2012-06-27 22:39:47 -04:00
Dan Stillman
0dd35b952a
Don't clear quicksearch on delete
2012-06-27 17:11:37 -04:00
Dan Stillman
64455e656e
Don't reset selection to top of items list when deleting a child item
2012-06-27 16:03:35 -04:00
Simon Kornblith
96305492f7
Remove "About File Syncing" link from preferences (originally removed by 758216638f
, accidentally reinstated by 4e5d4281f1
)
2012-06-26 20:54:04 -04:00
Simon Kornblith
0ea89d9755
Fix importing RIS/refer
2012-06-26 19:40:33 -04:00
Simon Kornblith
f37a225a30
Fix saving snapshots
2012-06-26 11:59:03 -04:00
Simon Kornblith
ea7b955414
Fix saving snapshots from document objects
2012-06-26 11:10:19 -04:00
Simon Kornblith
4d27b803dc
Fix syntax error
2012-06-25 14:05:11 -04:00
Simon Kornblith
056547f0c0
Merge branch 'kill-e4x'
2012-06-25 01:00:51 -04:00
Simon Kornblith
1622580373
Properly handle invalid XML
2012-06-25 00:59:31 -04:00
Simon Kornblith
57c3d190b4
Merge branch 'kill-e4x'
...
Conflicts:
chrome/content/zotero/xpcom/integration.js
2012-06-25 00:42:32 -04:00
Simon Kornblith
58a41a1940
Remove some unnecessary htmlSpecialChars calls
2012-06-25 00:40:08 -04:00
Simon Kornblith
1f80885aeb
Kill E4X in integration.js
2012-06-25 00:35:51 -04:00
Simon Kornblith
7aeae3817d
Make htmlSpecialChars faster
2012-06-25 00:35:29 -04:00
Simon Kornblith
916db3fd48
Delete unused file that did nothing but show an incompatible version warning for really old versions of the Word plugin, and has been disabled by default for a couple years
2012-06-24 23:34:04 -04:00
Simon Kornblith
66815c118f
Kill E4X in Zotero.Style
...
Also kill enstyle.js, since it no longer works
2012-06-24 23:32:08 -04:00
Simon Kornblith
089909c95e
Kill E4X in Zotero.Cite.makeFormattedBibliography
2012-06-24 22:29:15 -04:00
Simon Kornblith
df2b3b11ef
Merge branch '3.0'
2012-06-24 17:40:20 -04:00
Simon Kornblith
1f53fc8202
Fix serialization of anonymous nodes with no incoming arcs.
...
Fixes #139 , sz.incoming[subject] is undefined during Dublin Core Unqualified RDF export
2012-06-21 01:09:58 -04:00
Simon Kornblith
05acc6dea9
Search for DOI before cleaning lines to first column
2012-06-18 18:01:29 -04:00
Simon Kornblith
7bcc25e986
Trim lines received from pdftotext
2012-06-18 16:50:33 -04:00
Simon Kornblith
698254adb7
Fix "value is undefined" error handling dates from embedded data
2012-06-17 10:12:40 -04:00
Simon Kornblith
69f273a60e
Fix handling of item types and accesDate in ZU.itemFromCSLJSON()
2012-06-15 15:54:27 -04:00
Simon Kornblith
a48a60a230
Update to citeproc-js 1.0.342
2012-06-15 10:48:43 -04:00
Simon Kornblith
fdac7c450f
Fix library sorting in QuickFormat dialog
2012-06-15 10:48:14 -04:00