Browse Source

PDF.js version 1.9.602 - See mozilla/pdf.js@25806d17f470b85a33c434e1c08fed6947dbba12

master v1.9.602
pdfjsbot 7 years ago
parent
commit
ccfd241640
  1. 2
      bower.json
  2. 19
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 14
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 2
      build/pdf.min.js
  7. 9
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 2
      build/pdf.worker.min.js
  10. 5
      lib/core/worker.js
  11. 6
      lib/display/api.js
  12. 4
      lib/display/global.js
  13. 4
      lib/pdf.js
  14. 4
      lib/pdf.worker.js
  15. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.9.600",
"version": "1.9.602",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

19
build/pdf.combined.js

@ -12330,6 +12330,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -12330,6 +12330,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '1.9.602';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -12339,6 +12340,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -12339,6 +12340,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: apiVersion,
source: {
data: source.data,
url: source.url,
@ -13632,8 +13634,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -13632,8 +13634,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.600';
exports.build = build = 'b8371870';
exports.version = version = '1.9.602';
exports.build = build = '25806d17';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -29591,8 +29593,8 @@ exports.SVGGraphics = SVGGraphics; @@ -29591,8 +29593,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.600';
var pdfjsBuild = 'b8371870';
var pdfjsVersion = '1.9.602';
var pdfjsBuild = '25806d17';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(98);
var pdfjsDisplayAPI = __w_pdfjs_require__(55);
@ -35454,8 +35456,8 @@ if (!_global_scope2.default.PDFJS) { @@ -35454,8 +35456,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.600';
PDFJS.build = 'b8371870';
PDFJS.version = '1.9.602';
PDFJS.build = '25806d17';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
@ -38412,6 +38414,11 @@ var WorkerMessageHandler = { @@ -38412,6 +38414,11 @@ var WorkerMessageHandler = {
var terminated = false;
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '1.9.602';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}
var docId = docParams.docId;
var docBaseUrl = docParams.docBaseUrl;
var workerHandlerName = docParams.docId + '_worker';

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

14
build/pdf.js

@ -2946,6 +2946,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -2946,6 +2946,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '1.9.602';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -2955,6 +2956,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -2955,6 +2956,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: apiVersion,
source: {
data: source.data,
url: source.url,
@ -4335,8 +4337,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -4335,8 +4337,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.600';
exports.build = build = 'b8371870';
exports.version = version = '1.9.602';
exports.build = build = '25806d17';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
@ -7408,8 +7410,8 @@ exports.SVGGraphics = SVGGraphics; @@ -7408,8 +7410,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict";
var pdfjsVersion = '1.9.600';
var pdfjsBuild = 'b8371870';
var pdfjsVersion = '1.9.602';
var pdfjsBuild = '25806d17';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(82);
var pdfjsDisplayAPI = __w_pdfjs_require__(48);
@ -13271,8 +13273,8 @@ if (!_global_scope2.default.PDFJS) { @@ -13271,8 +13273,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.600';
PDFJS.build = 'b8371870';
PDFJS.version = '1.9.602';
PDFJS.build = '25806d17';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

2
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

9
build/pdf.worker.js vendored

@ -24540,8 +24540,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph; @@ -24540,8 +24540,8 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph;
"use strict";
var pdfjsVersion = '1.9.600';
var pdfjsBuild = 'b8371870';
var pdfjsVersion = '1.9.602';
var pdfjsBuild = '25806d17';
var pdfjsCoreWorker = __w_pdfjs_require__(62);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
@ -24745,6 +24745,11 @@ var WorkerMessageHandler = { @@ -24745,6 +24745,11 @@ var WorkerMessageHandler = {
var terminated = false;
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '1.9.602';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}
var docId = docParams.docId;
var docBaseUrl = docParams.docBaseUrl;
var workerHandlerName = docParams.docId + '_worker';

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

2
build/pdf.worker.min.js vendored

File diff suppressed because one or more lines are too long

5
lib/core/worker.js

@ -207,6 +207,11 @@ var WorkerMessageHandler = { @@ -207,6 +207,11 @@ var WorkerMessageHandler = {
var terminated = false;
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '1.9.602';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}
var docId = docParams.docId;
var docBaseUrl = docParams.docBaseUrl;
var workerHandlerName = docParams.docId + '_worker';

6
lib/display/api.js

@ -193,6 +193,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -193,6 +193,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if (worker.destroyed) {
return Promise.reject(new Error('Worker was destroyed'));
}
var apiVersion = '1.9.602';
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
source.chunkedViewerLoading = !!pdfDataRangeTransport;
@ -202,6 +203,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { @@ -202,6 +203,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: apiVersion,
source: {
data: source.data,
url: source.url,
@ -1582,8 +1584,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1582,8 +1584,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
var version, build;
{
exports.version = version = '1.9.600';
exports.build = build = 'b8371870';
exports.version = version = '1.9.602';
exports.build = build = '25806d17';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) { @@ -45,8 +45,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global_scope2.default.PDFJS;
{
PDFJS.version = '1.9.600';
PDFJS.build = 'b8371870';
PDFJS.version = '1.9.602';
PDFJS.build = '25806d17';
}
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.9.600';
var pdfjsBuild = 'b8371870';
var pdfjsVersion = '1.9.602';
var pdfjsBuild = '25806d17';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
*/
'use strict';
var pdfjsVersion = '1.9.600';
var pdfjsBuild = 'b8371870';
var pdfjsVersion = '1.9.602';
var pdfjsBuild = '25806d17';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.9.600",
"version": "1.9.602",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save