Calixte Denizet
194e2ede4d
Add some telemetry in order to know what are the certificates used in pdfs (bug 1973573)
2025-06-24 22:23:29 +02:00
calixteman
1ebc896b6f
Merge pull request #20019 from calixteman/bug1885505
...
Get the text under highlight/squiggly/underline/strikethrough annotations (bug 1885505)
2025-06-22 23:39:40 +02:00
Calixte Denizet
3bdc5d54fe
Get the text under highlight/squiggly/underline/strikethrough annotations (bug 1885505)
...
and add an invisible element containing the text in the annotation layer to make
it readable by a screen reader.
2025-06-22 21:47:29 +02:00
Tim van der Meij
7d3b2a6d3f
Merge pull request #20028 from timvandermeij/updates
...
Update dependencies and translations to the most recent versions
2025-06-22 18:38:23 +02:00
Tim van der Meij
08c0a6d6b1
Update translations to the most recent versions
2025-06-22 15:40:43 +02:00
Tim van der Meij
571a04bd23
Fix low-severity vulnerability in the brace-expansion dependency
...
This patch is automatically generated with `npm audit fix` and fixes
CVE-2025-5889.
2025-06-22 15:40:43 +02:00
Tim van der Meij
bd511747c8
Upgrade @types/node to version 24.0.3
...
This commit makes the type definitions compatible with Node 24 which was
released in May 2025.
2025-06-22 15:25:35 +02:00
Tim van der Meij
7f619c7605
Update dependencies to the most recent versions
2025-06-22 15:24:53 +02:00
Tim van der Meij
8fe9db0fb5
Merge pull request #20022 from calixteman/color_picker_a11y
...
[Editor] Fix the accessibility of the dropdown in the color picker
2025-06-22 14:23:20 +02:00
Tim van der Meij
ac399e77e8
Merge pull request #20023 from calixteman/edit_added_annotation
...
[Editor] When editing mode is disabled, allow to double click on a added annotation to edit it
2025-06-21 16:23:56 +02:00
Tim van der Meij
032f80e46a
Merge pull request #20027 from calixteman/issue20024
...
Allow to have an URL as file parameter when loading the viewer
2025-06-21 16:17:45 +02:00
Calixte Denizet
eafc040734
Allow to have an URL as file parameter when loading the viewer
2025-06-21 14:57:24 +02:00
calixteman
c7796c7f8d
Merge pull request #19993 from calixteman/editor_toolbar_simplification
...
Slightly simplify the way to create the editor toolbar
2025-06-20 21:59:01 +02:00
calixteman
e78575e593
Merge pull request #19986 from calixteman/dont_show_empty_popup
...
Only show popups when they've some contents to display
2025-06-20 13:48:30 +02:00
calixteman
84d1703897
Merge pull request #19992 from calixteman/hashtag_filename
...
Correctly handle files with a hash sign in their names (bug 1894166)
2025-06-20 12:52:31 +02:00
Calixte Denizet
b97cee2ab5
Correctly handle files with a hash sign in their names (bug 1894166)
...
It fixes #19990 .
2025-06-20 09:21:41 +02:00
calixteman
e9527ce308
Merge pull request #20021 from calixteman/issue15490
...
[JS] Make the date parser less strict
2025-06-20 09:12:43 +02:00
Calixte Denizet
2541d96bf5
[JS] Make the date parser less strict
...
and display the expected date formt as a tooltip.
2025-06-20 08:57:07 +02:00
Calixte Denizet
2548405401
Slightly simplify the way to create the editor toolbar
2025-06-19 23:03:06 +02:00
Calixte Denizet
d0b0064643
[Editor] When editing mode is disabled, allow to double click on a added annotation to edit it
...
It's already possible but only when double clicking outside the the text layer.
This patach adds the possibility to click on the text layer.
2025-06-19 21:15:08 +02:00
Calixte Denizet
1f2e9e5c0f
[Editor] Fix the accessibility of the dropdown in the color picker
2025-06-19 20:08:33 +02:00
Calixte Denizet
96216de410
Only show popups when they've some contents to display
...
Chrome, Edge and Acrobat do that.
2025-06-19 16:33:52 +02:00
calixteman
5653458b51
Merge pull request #20013 from calixteman/fix_annotation_tabindex
...
Make annotations focusable just after the text layer
2025-06-19 14:09:27 +02:00
calixteman
3baea2feff
Merge pull request #20003 from calixteman/bug1971299
...
Remove the possibility to go to the next page in using the ENTER key (bug 1971299)
2025-06-17 22:43:18 +02:00
calixteman
412500c9b9
Merge pull request #19996 from calixteman/bug1961423_bis
...
Fix a printing issue on Mac (bug 1961423)
2025-06-17 21:23:49 +02:00
calixteman
35b604b9f8
Merge pull request #20011 from calixteman/bug1971134
...
[Editor] Fix the text alignment in freetext annotations (bug 1971134)
2025-06-17 21:18:50 +02:00
calixteman
802808c47a
Merge pull request #20004 from calixteman/move_popup_dom
...
Move the popup annotation in the DOM just after the element triggering it
2025-06-16 23:11:23 +02:00
Calixte Denizet
0d995fa089
Make annotations focusable just after the text layer
2025-06-16 19:06:13 +02:00
Calixte Denizet
8d7246af98
[Editor] Fix the text alignment in freetext annotations (bug 1971134)
2025-06-16 15:11:32 +02:00
Calixte Denizet
27a81c506e
Move the popup annotation in the DOM just after the element triggering it
2025-06-16 14:42:44 +02:00
Tim van der Meij
c796b93473
Merge pull request #20002 from nicolo-ribaudo/reftest-log-progress
...
Log test number and id in reftests
2025-06-15 19:36:11 +02:00
Calixte Denizet
07f94825c3
Remove the possibility to go to the next page in using the ENTER key (bug 1971299)
2025-06-10 14:58:18 +02:00
Nicolò Ribaudo
f789c132da
Log test number and id in reftests
...
The new output looks like
```
Harness thinks this browser is firefox
Fetching manifest "/test/test_manifest.json"... done
[1/1152] bug1755201:
Skipping file "pdfs/bug1755201.pdf"
[2/1152] issue14864:
Skipping file "pdfs/issue14864.pdf"
[3/1152] issue18503:
Skipping file "pdfs/issue18503.pdf"
[4/1152] issue19835:
Skipping file "pdfs/issue19835.pdf"
[5/1152] filled-background-range:
Loading file "pdfs/filled-background.pdf"
Loading page 1/3... Snapshotting... done
Loading page 2/3... Snapshotting... done
Loading page 3/3... Snapshotting... done
[6/1152] tracemonkey-eq:
Loading file "pdfs/tracemonkey.pdf"
Loading page 1/14... Snapshotting... done
Loading page 2/14... Snapshotting... done
```
This gives an idea of how many tests are left while they are running
2025-06-09 18:48:06 +02:00
Tim van der Meij
250cc7d299
Merge pull request #20000 from timvandermeij/intermittent-find
...
Fix intermittent failure in the find integration tests
2025-06-08 22:11:15 +02:00
Tim van der Meij
7133259341
Merge pull request #19997 from timvandermeij/updates
...
Update dependencies and translations to the most recent versions
2025-06-08 22:10:01 +02:00
Tim van der Meij
64a2d708f9
Fix intermittent failure in the find integration tests
...
After clicking the find button we need to wait for the input field to
appear before we try to type in it, but instead we were waiting for the
button to appear. However, the button is always present, so the current
`waitForSelector` call is basically a no-op, and this can cause the
integration tests to fail intermittently if we continue before the
input field is actually visible.
This appears to be due a typo first introduced in commit
d10da907dac86c103b787127110a59aed82c7aaa that has been copy/pasted.
This commit fixes the issue by waiting for the input field to be visible
before we continue typing in it.
2025-06-08 20:21:13 +02:00
Tim van der Meij
9edcfa26ca
Update translations to the most recent versions
2025-06-08 18:07:23 +02:00
Tim van der Meij
fda68a5a56
Upgrade yargs to version 18.0.0
...
This is a major version bump, but the changelog at
https://github.com/yargs/yargs/releases/tag/v18.0.0
doesn't indicate any breaking changes that should impact us.
2025-06-08 18:07:23 +02:00
Tim van der Meij
34ef9ece38
Upgrade svglint to version 4.1.0
...
This is a major version bump, but the changelog at
https://github.com/simple-icons/svglint/releases/tag/v4.0.0
doesn't indicate any breaking changes that should impact us.
2025-06-08 18:06:12 +02:00
Tim van der Meij
003cffe6cb
Update dependencies to the most recent versions
2025-06-08 18:02:45 +02:00
Calixte Denizet
14f0e88910
Fix a printing issue on Mac (bug 1961423)
...
On mac, the pdf backend used when printing is using the cid from the font,
so if a char has null cid then it's equivalent to .notdef and some viewers
don't display it.
2025-06-07 21:33:17 +02:00
calixteman
18d7aafc94
Merge pull request #19985 from calixteman/puppeteer_24.10.0
...
Update Puppeteer to version 24.10.0
2025-06-03 20:55:45 +02:00
Calixte Denizet
fd3a41c149
Update Puppeteer to version 24.10.0
2025-06-03 19:38:35 +02:00
Tim van der Meij
7e8587428d
Merge pull request #19981 from timvandermeij/bump
...
Bump the stable version in `pdfjs.config`
2025-06-01 20:30:28 +02:00
Tim van der Meij
8a0eb51f53
Bump the stable version in pdfjs.config
2025-06-01 20:26:12 +02:00
Tim van der Meij
47ad820d95
Merge pull request #19952 from timvandermeij/intermittent-viewer-origin
...
Fix intermittent failure in the "supports specifying a custom origin" viewer integration test
v5.3.31
2025-06-01 20:10:31 +02:00
Tim van der Meij
f251e600d2
Fix intermittent failure in the "supports specifying a custom origin" viewer integration test
...
The problem in the original code is that `getTextAt` is called too
early and therefore returns unexpected text content. This can happen
because we call `increaseScale` and then wait for the page's text layer
to be visible, but it can take some time before the zoom actually
occurs/completes in the viewer and in the meantime the old (pre-zoom)
text layer may still be visible, causing us to continue too soon because
we don't validate that we're dealing with the post-zoom text layer.
This commit fixes the issue by simply waiting for the expected text to
show up at the given origin coordinates, which makes the test work
independent of viewer actions/timing.
2025-06-01 19:33:58 +02:00
calixteman
d63aabd662
Merge pull request #19969 from calixteman/editor_inconsistencies
...
[Editor] Change mode when double clicking on an editor
2025-05-28 18:00:26 +02:00
Calixte Denizet
47e69e93a3
[Editor] Change mode when double clicking on an editor
...
It was only possible to double click on a FreeText editor while being in ink mode (or any other).
2025-05-28 17:49:16 +02:00
calixteman
712d502561
Merge pull request #19975 from calixteman/fix_color_dialog_buttons
...
Fix the colors of disabled buttons in the dialogs
2025-05-28 16:14:28 +02:00