Calixte Denizet
65881f0e21
Add a wrapper for the new xref in order to be able to get some values from cloned dictionaries
2025-11-09 15:28:43 +01:00
Calixte Denizet
37f4712f7e
Update the named page destinations when some pdf are combined (bug 1997379)
...
and remove link annotations pointing on a deleted page.
2025-11-07 18:22:19 +01:00
calixteman
57334bd205
Merge pull request #20411 from calixteman/split_merge_p2
...
Update the page labels tree when a pdf is extracted (bug 1997379)
2025-11-07 17:21:38 +01:00
Calixte Denizet
ad97c5b816
Update the page labels tree when a pdf is extracted (bug 1997379)
2025-11-07 15:59:57 +01:00
calixteman
85ed401b82
Merge pull request #20409 from calixteman/split_merge_p1
...
Add the possibility to create a pdf from different ones (bug 1997379)
2025-11-07 15:05:52 +01:00
Calixte Denizet
bc87f4e8d6
Add the possibility to create a pdf from different ones (bug 1997379)
...
For now it's just possible to create a single pdf in selecting some pages in different pdf sources.
The merge is for now pretty basic (it's why it's still a WIP) none of these data are merged for now:
- the struct trees
- the page labels
- the outlines
- named destinations
For there are 2 new ref tests where some new pdfs are created: one with some extracted pages and an other
one (encrypted) which is just rewritten.
The ref images are generated from the original pdfs in selecting the page we want and the new images are
taken from the generated pdfs.
2025-11-07 14:57:48 +01:00
calixteman
2201777d0f
Merge pull request #20425 from calixteman/only_parese_parenttree_one_time
...
Create the number tree for the ParentTree only one time
2025-11-07 09:45:17 +01:00
Calixte Denizet
04db38558a
Create the number tree for the ParentTree only one time
2025-11-05 17:49:55 +01:00
Tim van der Meij
0a2680bca6
Merge pull request #20414 from timvandermeij/bump
...
Bump the stable version in `pdfjs.config`
2025-11-02 13:14:45 +01:00
Tim van der Meij
1febf9e30f
Bump the stable version in pdfjs.config
2025-11-02 13:11:00 +01:00
calixteman
2cc809ade2
Merge pull request #20213 from lab-core/pointer-type
...
[Editor] A new CurrentPointers class to store current pointers used by the editor
v5.4.394
2025-11-01 19:17:32 +01:00
Tim van der Meij
6e7a6eb52b
Merge pull request #20408 from calixteman/fix_mml_encoding
...
Don't set the MathML namespace for attributes in MathML tags (bug 1997343)
2025-11-01 14:58:15 +01:00
Tim van der Meij
c696648826
Merge pull request #20404 from mozilla/revert-20031-telemetry_signature_certificate
...
Revert "Add some telemetry in order to know what are the certificates used in pdfs (bug 1973573)"
2025-11-01 14:55:07 +01:00
Calixte Denizet
6db23139be
Don't set the MathML namespace for attributes in MathML tags (bug 1997343)
...
And by default a XML file is UTF-8 encoded so correctly decode the embedded file.
2025-10-30 18:37:19 +01:00
calixteman
27bb5fb173
Merge pull request #20406 from gregtatum/text-extractor
...
Add text extractor as an external service
2025-10-30 17:23:18 +01:00
Greg Tatum
b7708da368
Address review feedback
2025-10-30 09:48:46 -05:00
calixteman
7fc5706e16
Merge pull request #20327 from edoardocavazza/collect-list-table-children
...
Collect all child nodes of lists and tables in StructTree
2025-10-29 21:09:52 +01:00
Greg Tatum
26360c3e63
Add text extractor for an external service
2025-10-29 13:15:51 -05:00
Edoardo Cavazza
a932a063ea
Revert unwanted change
2025-10-29 17:34:34 +01:00
Edoardo Cavazza
17cdd9b1e7
Move tables test to specific struct tree spec file
2025-10-29 17:33:36 +01:00
Edoardo Cavazza
d04832a82f
Add test case for empty cells
2025-10-29 17:31:49 +01:00
Edoardo Cavazza
4c22b99df3
Collect all child nodes of lists and tables
2025-10-29 17:30:46 +01:00
calixteman
de7179fd74
Merge pull request #20394 from CoelacanthusHex/feat/pt-astra-serif
...
Add the font PT Astra Serif as a possible substitution for Times New Roman
2025-10-29 16:30:34 +01:00
calixteman
aeceee1df3
Revert "Add some telemetry in order to know what are the certificates used in pdfs (bug 1973573)"
2025-10-29 15:41:34 +01:00
calixteman
4a660967bd
Merge pull request #20396 from timvandermeij/updates
...
Update dependencies and translations to the most recent versions
2025-10-29 14:25:37 +01:00
Coelacanthus
6590063614
Add the font PT Astra Serif as a possible substitution for Times New Roman
...
Metric-compatible font with Times New Roman created by ParaType, based on
their serif font PT Serif, released under OFL-1.1 license.
https://www.paratype.com/fonts/pt/pt-astra-serif
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
2025-10-29 17:15:31 +08:00
Tim van der Meij
3d175f2f48
Merge pull request #20400 from mozilla/dependabot/github_actions/actions/upload-artifact-5
...
Bump actions/upload-artifact from 4 to 5
2025-10-28 19:57:39 +01:00
dependabot[bot]
deb74b9062
Bump actions/upload-artifact from 4 to 5
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 13:01:42 +00:00
Tim van der Meij
982e7ea531
Update translations to the most recent versions
2025-10-26 16:42:41 +01:00
Tim van der Meij
1f7d3974e1
Upgrade eslint-plugin-unicorn to version 62.0.0
...
This is a major version bump, but the changelog at
https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v62.0.0
doesn't indicate any breaking changes that should impact us.
2025-10-26 16:41:13 +01:00
Tim van der Meij
cbd2b3d426
Update dependencies to the most recent versions
2025-10-26 16:40:07 +01:00
calixteman
520363b350
Merge pull request #20384 from calixteman/bug1937438
...
Make MathML elements visible in the struct tree (bug 1937438)
2025-10-23 17:55:42 +02:00
Calixte Denizet
e5a62c8d06
Make MathML elements visible in the struct tree (bug 1937438)
...
It'll help to make math equations "visible" for screen readers.
MS Office has a specific way to add some MathML code to struc tree leaf
and this patch handles it.
2025-10-23 16:29:01 +02:00
calixteman
f6317ddbbb
Merge pull request #20389 from calixteman/bug1995579
...
[Editor] Make sure the left (resp. right) corner of the popup is visible when in LTR (resp. RTL) (bug 1995579)
2025-10-23 09:01:50 +02:00
calixteman
638861008f
Merge pull request #20388 from calixteman/bug1995705
...
[Editor] Avoid to have several Undo entries in the context menu (bug 1995705)
2025-10-23 09:01:19 +02:00
calixteman
1b5ecd36e4
Merge pull request #20387 from calixteman/bug1995721
...
[Editor] Fix the css of the link in the comment sidebar (bug 1995721)
2025-10-23 09:00:48 +02:00
calixteman
64f6fb9049
Merge pull request #20386 from calixteman/bug1995766
...
[Editor] Fix the css of the button to close the comment sidebar (bug 1995766)
2025-10-23 09:00:21 +02:00
Calixte Denizet
cb36dc28a7
[Editor] Make sure the left (resp. right) corner of the popup is visible when in LTR (resp. RTL) (bug 1995579)
2025-10-22 22:47:20 +02:00
Calixte Denizet
19cbdba434
[Editor] Avoid to have several Undo entries in the context menu (bug 1995705)
2025-10-22 19:45:52 +02:00
Calixte Denizet
ad9bcabee3
[Editor] Fix the css of the link in the comment sidebar (bug 1995721)
2025-10-22 16:18:37 +02:00
Calixte Denizet
abfa1495d5
[Editor] Fix the css of the button to close the comment sidebar (bug 1995766)
2025-10-22 16:05:26 +02:00
calixteman
1a8689b9be
Merge pull request #20340 from Aditi-1400/serialize-pattern-ab
...
Serialize pattern data into ArrayBuffer
2025-10-22 11:05:22 +02:00
legraina
a932804fb5
A new CurrentPointers class to store current pointers used by the editor
...
Move current pointer field of DrawingEditor to CurrentPointer class in tools.js: The pointer types fields have been moved to a CurrentPointer object in tools.js. This object is used by eraser.js and ink.js.
Only reset pointer type when user select a new mode: Clear the pointer type when changing mode, instead of at the end of the session. It seems more stable, as the method is not called this way when the user changes pages. Also, clear the pointer type when the mode is changed by an event (the user changes the editor type), otherwise, the same pointer type is kept (the document is changed for example)
2025-10-21 17:00:08 -04:00
Tim van der Meij
a6934b478f
Merge pull request #20381 from mozilla/dependabot/github_actions/actions/setup-node-6
...
Bump actions/setup-node from 5 to 6
2025-10-21 20:22:31 +02:00
dependabot[bot]
6268f930ca
Bump actions/setup-node from 5 to 6
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 12:57:45 +00:00
calixteman
9f397a632c
Merge pull request #20378 from timvandermeij/integration-tests-aboutstacks
...
Don't use the `aboutstacks.pdf` file in the integration tests
2025-10-19 20:40:10 +02:00
calixteman
a40df9a5be
Merge pull request #20380 from timvandermeij/integration-tests-tweak-viewer-scroll
...
Tweak the "scroll into view" viewer integration test
2025-10-19 20:37:30 +02:00
calixteman
205fe258f2
Merge pull request #20355 from calixteman/highlight_span
...
Add a highlightSpan function in order to simplify a bit the integration tests
2025-10-19 20:35:52 +02:00
Calixte Denizet
9205305dbb
Add a highlightSpan function in order to simplify a bit the integration tests
2025-10-19 19:37:41 +02:00
Tim van der Meij
4fd3bad67f
Tweak the "scroll into view" viewer integration test
...
On GitHub Actions this test could fail with `Expected 1.3125 to be less
than 1` due to slight differences in the decimals of the `rect.y` value.
However, for this check we're only really interested in full pixels, so
this commit rounds the value up to the next integer to not be affected
by small decimal differences so the test passes on GitHub Actions too.
2025-10-19 17:33:11 +02:00