- Dec 05, 2024
-
-
Tim van der Meij authored
Prevent Webpack from resolving `import.meta.url` statements during building (issue 19145)
-
Tim van der Meij authored
Avoid to display an alert or a confirm dialog if the message is empty
-
Calixte Denizet authored
It fixes #19171.
-
calixteman authored
[Editor] Correctly update the current drawing when zooming
-
Jonas Jenwald authored
Ensure that the `.toggleButton`, as used in the findbar, always have visible hover/focus state (issue 19165)
-
Calixte Denizet authored
We were trying to update the drawing on the current page but if the drawing is an another page then it wasn't updated.
-
calixteman authored
Correctly wait for the editor mode when double clicking on an annotation in integration tests
-
Jonas Jenwald authored
Ensure that the `.toggleButton`, as used in the findbar, always have visible hover/focus state (issue 19165) Similar to the regular toolbarButtons that can be toggled, this ensure that it's always possible to tell when the findbar "buttons" are hovered/focused.
-
Jonas Jenwald authored
Introduce `Promise.try()` usage in the code-base
-
- Dec 04, 2024
-
-
Calixte Denizet authored
-
Jonas Jenwald authored
This simplifies the creation of Promises in some cases; see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/try
-
calixteman authored
Fix unused css variables (follow-up of #18900)
-
Calixte Denizet authored
-
- Dec 03, 2024
-
-
calixteman authored
[Editor] Corrrectly get the words from the alt-text when reporting the telemetry (bug 1929311)
-
Calixte Denizet authored
-
calixteman authored
Annotation deletion popup (bug 1899731)
-
Aditi authored
-
Ujjwal Sharma authored
When a user deletes any number of annotations, they are notified of the action by a popup message with an undo button. Besides that, this change reuses the existing messageBar CSS class from the new alt-text dialog as much as possible.
-
- Dec 02, 2024
-
-
Ujjwal Sharma authored
Move .messageBar out of .dialog into its own standalone class in order to reuse as much of it for the upcoming feature for an undo message for annotations.
-
Jonas Jenwald authored
Add test cases for redirected responses
-
calixteman authored
[Editor] Make ink annotation editable
-
Rob Wu authored
Regression tests for issue #12744 and PR #19028
-
Rob Wu authored
Some tests rely on the presence of a server that serves PDF files. When tests are run from a web browser, the test files and PDF files are served by the same server (WebServer), but in Node.js that server is not around. Currently, the tests that depend on it start a minimal Node.js server that re-implements part of the functionality from WebServer. To avoid code duplication when tests depend on more complex behaviors, this patch replaces createTemporaryNodeServer with the existing WebServer, wrapped in a new test utility that has the same interface in Node.js and non-Node.js environments (=TestPdfsServer). This patch has been tested by running the refactored tests in the following three configurations: 1. From the browser: - http://localhost:8888/test/unit/unit_test.html?spec=api - http://localhost:8888/test/unit/unit_test.html?spec=fetch_stream 2. Run specific tests directly with jasmine without legacy bundling: `JASMINE_CONFIG_PATH=test/unit/clitests.json ./node_modules/.bin/jasmine --filter='^api|^fetch_stream'` 3. `gulp unittestcli`
-
Calixte Denizet authored
-
calixteman authored
[Editor] Don't focus a newly added drawing if it isn't visible on screen
-
calixteman authored
Fix the clickable area for rotated ink annotations
-
Jonas Jenwald authored
This fixes a Node.js-specific regression from PR 18959.
-
Calixte Denizet authored
-
Calixte Denizet authored
-
- Dec 01, 2024
-
-
Tim van der Meij authored
Bump the stable version in `pdfjs.config`
-
Tim van der Meij authored
-
Jonas Jenwald authored
Disable the browser-tests in Google Chrome on the bots
-
Tim van der Meij authored
Update dependencies and translations to the most recent versions
-
Tim van der Meij authored
-
Tim van der Meij authored
-
Tim van der Meij authored
Move the `getPage` call in `PDFDocumentProperties` class
-
Tim van der Meij authored
Shorten the `WorkerMessageHandler` class a little bit
-
Tim van der Meij authored
Use even more optional chaining in the `src/display/api.js` file
-
Jonas Jenwald authored
This allows us to remove an ESLint disable-statement for `arrow-body-style`, without affecting readability of the code, and fetching the metadata and the page in parallel should be a *tiny* bit more efficient as well.
-
- Nov 30, 2024
-
-
Jonas Jenwald authored
- Use `this` in all scopes where that's possible, to avoid having to spell out `WorkerMessageHandler` everywhere. - Inline the `isMessagePort` helper function, since there's only a single call-site. - Use a static initialization block to move more code into the `WorkerMessageHandler` class itself.
-