133 Commits (0dbc68a6d69fdd9c47c3ef1cea5e2ff90b7199b8)

Author SHA1 Message Date
Jonas Jenwald 60b14f526e Convert the files in the `/src/shared` folder to ES6 modules 8 years ago
Jonas Jenwald 6c81b8e6dd Replace unnecessary `bind(this)` and `var self = this` statements with arrow functions in remaining `src/` files 8 years ago
Jonas Jenwald ee09336f32 Restore the `URL.createObjectURL` check to the `createObjectURL` utility function (issue 8344) 8 years ago
Jonas Jenwald 7bee0c2aa3 Enable the `object-shorthand` ESLint rule in `src/shared` 8 years ago
Jonas Jenwald 3888a993b1 Remove the `URL` checks in the `createObjectURL` utility function, since the `URL` polyfill have made them redundant 8 years ago
Yury Delendik 30bee9fe0c Moves Uint32ArrayView and hasCanvasTypedArrays into compatibility.js. 8 years ago
Yury Delendik facefb0c79 Move compatibility code to the shared/compatibility.js. 8 years ago
Jonas Jenwald 9082f08e37 Enable running the `cmap` unit-tests on Travis by utilizing a `NodeCMapReaderFactory` 8 years ago
Jonas Jenwald 769c1450b7 [api-minor] Refactor fetching of built-in CMaps to utilize a factory on the `display` side instead, to allow users of the API to provide a custom CMap loading factory (e.g. for use with Node.js) 8 years ago
Jonas Jenwald bc736fdc7d Adjust the `brace-style` ESLint rule to disallow single lines (and also enable `no-iterator`) 8 years ago
Mukul Mishra 4e38200030 Fix #7978: Fixes ESLint yoda rule for the URL polyfill. 8 years ago
Jonas Jenwald 4626fc8342 Enable the `spaced-comment` ESLint rule 8 years ago
Jonas Jenwald c850968fa7 Remove `globals` that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) 8 years ago
Jonas Jenwald 2f3805efbc Switch to using ESLint, instead of JSHint, for linting 8 years ago
Jonas Jenwald 28e50cfa21 Fix errors reported by the `space-infix-ops` ESLint rule 8 years ago
Jonas Jenwald 551eb263e3 Fix errors reported by the `semi-spacing` ESLint rule 8 years ago
Jonas Jenwald c36468cbce Fix errors reported by the `keyword-spacing` ESLint rule 8 years ago
Jonas Jenwald fb5e756683 Fix errors reported by the `no-cond-assign` ESLint rule 8 years ago
Jonas Jenwald 71a781ee5c Deprecate the `isValidUrl` utility function and replace it with `createValidAbsoluteUrl`/`isValidProtocal` functions instead, since the main URL validation is now done using the `new URL` constructor 9 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 9 years ago
Tim van der Meij d5d9f362aa Choice widget annotations: core and display layer implementation 9 years ago
Tim van der Meij 375229d6b9 Widget annotations: simplify field flag handling 9 years ago
Tim van der Meij f6965fadc0 Text widget annotations: support multiline and read-only fields 9 years ago
Yash Srivastav 4e428c7675
Fix lint warnings in URL polyfill 9 years ago
Tim van der Meij b3818d5c36 Replace `div.dataset` with a `WeakMap` in `text_layer.js` 9 years ago
klemens 6f03f62327 trivial spelling fixes 9 years ago
Jonas Jenwald 8f4ec669d0 Remove the obsolete `MozBlobBuilder` fallback from the `createBlob` utility function 9 years ago
Jonas Jenwald a36a946976 Move the `isSpace` utility function from core/parser.js to shared/util.js 9 years ago
Yury Delendik 32ce369d88 Fixes some static analysis warnings and recommendations 9 years ago
Jonas Jenwald b63ef7a8b6 Refactor `LinkAnnotation` slightly to add `data.url`/`data.dest` at the end 9 years ago
Prakash Palanisamy a25c29d98d Remove `combineUrl` and replace it with `new URL`. 9 years ago
Yury Delendik 1d12aed5ca Move all PDFJS.xxx settings into display/global. 9 years ago
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 9 years ago
Tim van der Meij 0351c7eff4 Move the `getFileName` helper function to the core 9 years ago
Yury Delendik 0d591719d9 Makes PDF data reading Streams API friendly. 9 years ago
Yury Delendik 2edf2792dc Replaces literal {} created lookup tables with Object.create 9 years ago
Yury Delendik 4ef20de429 Lazify GlyphsUnicode. 9 years ago
Yury Delendik bc30c42758 Fixes URL polyfill check for MS Edge. 9 years ago
Jonas Jenwald 472e793a27 Always display `deprecated` messages, regardless of the verbosity setting 9 years ago
Jonas Jenwald 85cf90643f [api-minor] Add support for PageLabels in the API 9 years ago
Jonas Jenwald 0030a82dc3 [api-minor] Add support for URLs in the document outline 9 years ago
Yury Delendik 1e45f2d4e1 Wraps worker script if its cross-origin location is detected. 9 years ago
Jonas Jenwald cca265352f Add an extra set of `//` to the comment for the URL polyfill, since the preprocessor eats one set, thus breaking the world (PR 6846 followup) 9 years ago
Brendan Dahl e362c3b8fc Use URL constructor for combineURL. 9 years ago
Jonas Jenwald 97c10e9c08 Strip `null` (\x00) characters from the URLs in LinkAnnotations (issue 6832) 9 years ago
Jonas Jenwald d4c026980e Only export `Uint32ArrayView` when it's actually defined, to prevent breaking e.g. the Firefox addon/built-in version 9 years ago
Yury Delendik 6b60c8f4db Adds UMD headers to core, display and shared files. 9 years ago
Tim van der Meij 8d36aad30a Implement constants for all annotation types 9 years ago
Yury Delendik c9cb6a3025 Replaces UnsupportedManager with callback. 10 years ago
Yury Delendik acdd49f480 Adds peer communication between MessageHandlers. 10 years ago