
Merge pull request #9190 from Snuffleupagus/rm-app-pageRotation
Remove the `pageRotation` getter in `PDFViewerApplication`
Remove the `pageRotation` getter in `PDFViewerApplication`
This was added, during the refactoring in PR 8556, to avoid outright breaking third-party users of the default viewer. With PDF.js version `2.0`, where we're making API changes that aren't backwards compatible, we ought to be able to remove this piece of viewer code as well.
Merge pull request #9189 from Snuffleupagus/WorkerTransport.getPage-s…
…ignature Remove the unused `capability` parameter from the `WorkerTransport.getPage` method
Remove the unused `capability` parameter from the `WorkerTransport.ge…
…tPage` method That parameter, originally named `promise`, has been unused for over five years; ever since commit f0687c4 in PR 1531.
Merge pull request #9095 from Snuffleupagus/WebGLFactory
Split the existing `WebGLUtils` in two classes, a private `WebGLUtils` and a public `WebGLContext`, and utilize the latter in the API to allow various code to access the methods of `WebGLUtils`
Split the existing `WebGLUtils` in two classes, a private `WebGLUtils…
…` and a public `WebGLContext`, and utilize the latter in the API to allow various code to access the methods of `WebGLUtils` This patch is one (small) step on the way to reduce the general dependency on a global `PDFJS` object, for PDF.js version `2.0`.
Merge pull request #9187 from Standard8/use-services
Update eslint-plugin-mozilla, and enable mozilla/use-services rule.
Merge pull request #9182 from Snuffleupagus/viewer-ignore-other-file-…
…errors Don't display error messages, in the default viewer, for PDF files other than the current one
Don't display error messages, in the default viewer, for PDF files ot…
…her than the current one We've never attempted to limit the errors displayed in the default viewer to the current PDF file, but that's not really been a problem before. However after PR 7926, it's now possible to get password related error messages for *previously* opened PDF files in the default viewer. **STR:** 1. Open a password protected PDF file, e.g. `issue6010_1.pdf` from the test-suite. 2. Cancel the password prompt. 3. Open any new PDF file in the viewer. **AR:** The error UI is displayed, with a `No password given` message. **ER:** No error displayed, since it's only relevent for a now closed PDF file. This is obviously a minor issue, caused by us now rejecting the still pending `pdfLoadingTask` during the `PDFViewerApplication.close` call, but I don't think that it (generally) makes sense to show errors if they're not relevant to the *currently* displayed PDF file.
Merge pull request #9170 from Snuffleupagus/rm-polyfills
Remove more polyfills for old browsers
Merge pull request #9179 from mgol/mailmap
Add mgol's name to AUTHORS, add .mailmap
Add mgol's name to AUTHORS, add .mailmap
In this way mgol's past contribution is mapped correctly.
Remove the `onclick` polyfill for old versions of Opera
This was only relevant for no obsolete versions Opera, that use the Presto engine. According to https://en.wikipedia.org/wiki/History_of_the_Opera_web_browser#Opera_2013, the last version affected was released in 2013.
Remove the `classList` polyfill
This is only relevant for browsers that we don't intend to support with PDF.js version `2.0`.
Remove the `Function.prototype.bind` polyfill
This is only relevant for browsers that we don't intend to support with PDF.js version `2.0`.
Remove the `btoa`/`atob` polyfills
This is only relevant for browsers that we don't intend to support with PDF.js version `2.0`.
Remove IE9 specific `XMLHttpRequest` polyfills that utilize `VBArray`
Remove the `Object.defineProperty` polyfill
This is only relevant for browsers that we don't intend to support with PDF.js version `2.0`.
Merge pull request #9162 from SehyunPark/patch-8
Update index.md
adding commas each in two sentences in order to make readers fully understand when reading index.md and to organize the context properly based on grammatical rules.
Merge pull request #9158 from timvandermeij/annotations-utf16be
Sanitize the display value for choice widget annotations
Merge pull request #9140 from Snuffleupagus/rm-console-polyfill
Remove the `console` polyfills
Merge pull request #9157 from SehyunPark/patch-6
Update index.md
Merge pull request #9037 from Snuffleupagus/refactor-streams-params
Re-factor how parameters are passed to the network streams
fixing grammatical error (demonstrate -> demonstrates)
Merge pull request #9156 from SehyunPark/patch-5
Update README.md
Clarifying what IRC stands for in order to make people understand clearly who want to use relay chat in irc.mozilla.org
Merge pull request #9073 from Snuffleupagus/image-streams-fixes
Fix the interface of `JpegStream`/`JpxStream`/`Jbig2Stream` to agree with the other `DecodeStream`s
Merge pull request #9122 from wojtekmaj/change/remove-compatibility-f…
…rom-examples Remove mentions of compatibility.js from examples
Merge pull request #9126 from Snuffleupagus/viewer-move-hash-paramete…
…r-parsing Extract parsing of debugging hash parameters into its own method in `PDFViewerApplication`
Merge pull request #9131 from janpe2/svg-empty-paths
Filling and stroking empty paths in SVG backend