114 Commits (00a006e466014439dd43813e5cd2d7ec86b79a9b)

Author SHA1 Message Date
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
Jonas Jenwald 44240798be Convert UTF8 encoded passwords to ISO-8859-1 for |R = 6| encryption (issue 6010) 10 years ago
Andrew Dacenko bdde3d6622 Restrict logging of errors with verbosity level 10 years ago
Tim van der Meij 026b57641f Remove unused isNull utility function 10 years ago
Jonas Jenwald bb16475070 Use the |shadow| function from src/shared/util.js in viewer.js 10 years ago
Yury Delendik 982accf1d7 Whitelists 'tel' schema. 10 years ago
Tim van der Meij 6e99c29cf8 Implement guards for stringToBytes and bytesToString 10 years ago
Fabian Lange ceffeab1de Use 3 param method for converting r,g,b into css string. 11 years ago
Jonas Jenwald ed5fc43510 Add |UnexpectedResponseException| to fix the exception handling when file loading fails because the server responds with a non 404 status message 11 years ago
Jonas Jenwald 2701edc7c6 Change `getDocumentError` in web/viewer.js to use `instanceof` instead of the exception name 11 years ago
Yury Delendik 42771159ca Removes stringToArray 11 years ago