125 Commits (cfaa621a05cb5360f6834cf96a16c44c1a9aed5b)

Author SHA1 Message Date
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
Jonas Jenwald 27c8e1e22f Improve the comment and deprecation warning for `PDFJS.openExternalLinksInNewWindow` 10 years ago
Tim van der Meij 0991c06395 Refactor annotation flags code 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Yury Delendik 5135aa9bec Adds deprecation warning for the API calls. 10 years ago
Jonas Jenwald 9ab896e307 [api-minor] Add an option to PDFJS for specifying the |target| attribute of external links 10 years ago
Rob Wu 1e3078d6c4 Serialize errors before invoking postMessage 10 years ago
Yury Delendik f3c3b1fc2d Removes B2G preprocessing directives. 10 years ago
Tim van der Meij 88b2059ed9 Implement annotation border style class and constants 10 years ago