Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
490 commits
Select commit Hold shift + click to select a range
b7708da
Address review feedback
gregtatum Oct 30, 2025
27bb5fb
Merge pull request #20406 from gregtatum/text-extractor
calixteman Oct 30, 2025
6db2313
Don't set the MathML namespace for attributes in MathML tags (bug 199…
calixteman Oct 30, 2025
c696648
Merge pull request #20404 from mozilla/revert-20031-telemetry_signatu…
timvandermeij Nov 1, 2025
6e7a6eb
Merge pull request #20408 from calixteman/fix_mml_encoding
timvandermeij Nov 1, 2025
2cc809a
Merge pull request #20213 from lab-core/pointer-type
calixteman Nov 1, 2025
1febf9e
Bump the stable version in `pdfjs.config`
timvandermeij Nov 2, 2025
0a2680b
Merge pull request #20414 from timvandermeij/bump
timvandermeij Nov 2, 2025
396cff5
Pointer type initialization only when the user changes the mode
legraina Nov 2, 2025
04db385
Create the number tree for the ParentTree only one time
calixteman Nov 5, 2025
2201777
Merge pull request #20425 from calixteman/only_parese_parenttree_one_…
calixteman Nov 7, 2025
bc87f4e
Add the possibility to create a pdf from different ones (bug 1997379)
calixteman Oct 30, 2025
85ed401
Merge pull request #20409 from calixteman/split_merge_p1
calixteman Nov 7, 2025
ad97c5b
Update the page labels tree when a pdf is extracted (bug 1997379)
calixteman Nov 7, 2025
57334bd
Merge pull request #20411 from calixteman/split_merge_p2
calixteman Nov 7, 2025
37f4712
Update the named page destinations when some pdf are combined (bug 19…
calixteman Nov 7, 2025
7fc23de
Update dependencies to the most recent versions
timvandermeij Nov 8, 2025
398ba03
Update translations to the most recent versions
timvandermeij Nov 8, 2025
b5b8213
Introduce a helper function to create a freetext editor in the integr…
timvandermeij Oct 18, 2025
3676ffd
Merge pull request #20421 from calixteman/split_merge_p3
calixteman Nov 9, 2025
65881f0
Add a wrapper for the new xref in order to be able to get some values…
calixteman Nov 9, 2025
a98b0b1
Version entry in the catalog has to be a name and not a string
calixteman Nov 9, 2025
bc4d907
Merge pull request #20432 from calixteman/version
timvandermeij Nov 11, 2025
e7288dc
Merge pull request #20431 from calixteman/split_merge_p4
calixteman Nov 11, 2025
f880f4b
Merge pull request #20429 from timvandermeij/updates
timvandermeij Nov 16, 2025
603e3a8
Merge pull request #20430 from timvandermeij/freetext-helper
timvandermeij Nov 16, 2025
50c48cf
Add telemetry for tagged pdfs (bug 1997134)
calixteman Oct 29, 2025
e13a618
Merge the structure trees coming from different pdfs (bug 1997379)
calixteman Nov 10, 2025
b20bd90
Merge pull request #20405 from calixteman/add_telemetry_tagged_pdf
calixteman Nov 17, 2025
c6b61a3
Merge pull request #20436 from calixteman/merge_struct_trees
calixteman Nov 17, 2025
2640467
Merge pull request #20151 from maettuu/reg-test-pr-19184
calixteman Nov 18, 2025
b9368b5
Lint and format the HTML in using Prettier
calixteman Nov 18, 2025
447aab7
Bump glob
dependabot[bot] Nov 18, 2025
1c4c16f
Merge pull request #20448 from mozilla/dependabot/npm_and_yarn/multi-…
timvandermeij Nov 18, 2025
b392cbf
Bump js-yaml from 3.14.1 to 3.14.2
dependabot[bot] Nov 18, 2025
20393c4
Merge pull request #20449 from mozilla/dependabot/npm_and_yarn/js-yam…
timvandermeij Nov 18, 2025
8f0c629
Merge pull request #20447 from calixteman/lint_html
timvandermeij Nov 18, 2025
7743d11
Add setter for some FontFaceObject properties
Aditi-1400 Nov 6, 2025
ddf3a98
Merge pull request #20427 from Aditi-1400/issue-20426
calixteman Nov 20, 2025
516aea5
[XFA] Set default max value in occur tag to -1 (bug 1998843)
calixteman Nov 21, 2025
039b9e4
When searching for a group of punctuation signs, only add extraspaces…
calixteman Nov 21, 2025
464dae1
fix: deleteAnnotationElement takes a full editor object
sachiniyer Oct 31, 2025
b41959b
Merge pull request #20413 from sachiniyer/siyer/fix-annotation-editor…
calixteman Nov 21, 2025
d4b6464
Merge pull request #20456 from calixteman/issue20225
calixteman Nov 22, 2025
ec71e4e
Merge pull request #20455 from calixteman/bug1998843
calixteman Nov 22, 2025
029cae2
Don't use firstChild/lastChild when getting elements (follow-up of #2…
calixteman Nov 22, 2025
0bad4e9
Include missing `cached-iterable` dev dependency in `package.json`
Mario34 Nov 24, 2025
f6ad1a5
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
b6fcb52
[Editor] Allow to save an edited comment in using CTRL+Enter shortcut.
calixteman Nov 21, 2025
956aa7e
Merge pull request #20459 from mozilla/dependabot/github_actions/acti…
timvandermeij Nov 27, 2025
08074cf
Merge pull request #20450 from Mario34/update-dependencies
timvandermeij Nov 27, 2025
40b52fa
Merge pull request #20458 from calixteman/fix_firstchild
timvandermeij Nov 27, 2025
907cceb
Merge pull request #20460 from calixteman/issue20452
timvandermeij Nov 27, 2025
eee20cf
Fix the regex string used to find the chars to normalize with NFKC wh…
calixteman Nov 27, 2025
45578aa
Create a sidebar object
calixteman Nov 27, 2025
925fc3d
Merge pull request #20467 from calixteman/make_sidebar
calixteman Nov 28, 2025
ec5330f
Merge pull request #20465 from calixteman/update_char_to_nfkc
calixteman Nov 28, 2025
8eb7476
Use OIDC trusted publishing in the GitHub Actions release workflow
timvandermeij Nov 28, 2025
a965536
Merge pull request #20468 from timvandermeij/trusted-publishing
timvandermeij Nov 28, 2025
423379e
Slightly reduce the memory used by thumbnails
calixteman Nov 25, 2025
f44e5f0
Merge pull request #20462 from calixteman/improve_thumbnails
timvandermeij Nov 29, 2025
0b051a7
Bump the stable version in `pdfjs.config`
timvandermeij Nov 29, 2025
4aca13e
Merge pull request #20469 from timvandermeij/bump
timvandermeij Nov 29, 2025
758856e
Update dependencies to the most recent versions
timvandermeij Nov 29, 2025
93a8312
Update translations to the most recent versions
timvandermeij Nov 29, 2025
87b3b52
Aria-hide the text content part of a MathML formula (bug 1998046)
calixteman Nov 30, 2025
365cc69
Extend getGlyphMapForStandardFonts with some Russian entries (issue 2…
xiaobai2017666 Dec 1, 2025
8e2963c
Merge pull request #20226 from lab-core/pointer-type-initialization
calixteman Dec 2, 2025
f9b8574
Use HTMLElement.scrollIntoView when showing a thumbnail
calixteman Dec 3, 2025
615965f
Merge pull request #20470 from timvandermeij/updates
calixteman Dec 3, 2025
c51ceb7
Add some callbacks when resizing a sidebar
calixteman Dec 2, 2025
8435e8f
Merge pull request #20471 from calixteman/bug1998046_1
calixteman Dec 4, 2025
4c6cc0a
Add a menu class in order to be used in the new UI for the merge feature
calixteman Dec 4, 2025
79c72f2
Inject the text from the text layer in the MathML tags when they're i…
calixteman Nov 30, 2025
f29e6a9
Merge pull request #20472 from calixteman/bug1998046_2
calixteman Dec 5, 2025
3098443
Merge pull request #20483 from calixteman/menu
calixteman Dec 5, 2025
8a42b82
Merge pull request #20474 from calixteman/sidebar_resize_callbacks
calixteman Dec 5, 2025
36de2d9
Merge pull request #20476 from calixteman/thumbnail_scroll
calixteman Dec 5, 2025
3a85770
Encode FontPath data into an ArrayBuffer
ryzokuken Sep 30, 2025
ac8d80a
Fix infinite loop in JBIG2 decoder with >4 referred-to segments and a…
Gaurang-5 Dec 7, 2025
de5709a
Merge pull request #20454 from xiaobai2017666/russian-char
timvandermeij Dec 7, 2025
4bf7594
Add a new linting task in order to detect unused/unknown css variable…
calixteman Dec 5, 2025
5b22189
Merge pull request #20485 from calixteman/lint_mc_css
calixteman Dec 8, 2025
6de24ba
Add .vscode to .gitignore
calixteman Dec 8, 2025
2bb30fb
Merge pull request #20490 from calixteman/dot.vscode
calixteman Dec 8, 2025
f75812b
Merge pull request #20346 from ryzokuken/binary-fontpath
calixteman Dec 8, 2025
a254485
Fix #20420: Prevent double decoding of file URL parameter
Uzair-Ahmed-Shah Dec 8, 2025
3e59e75
Move the css for tree object in its own file
calixteman Dec 8, 2025
83fa8e9
Use only one resize observer in the the sidebar
calixteman Dec 8, 2025
eb2b7c2
Move text layer scaling logic to CSS
nicolo-ribaudo Dec 8, 2025
171fede
Merge pull request #20493 from calixteman/mv_tree
timvandermeij Dec 9, 2025
6075f6e
Merge pull request #20494 from calixteman/simplify_sidebar_resize
timvandermeij Dec 9, 2025
d946f05
Merge pull request #20440 from Gaurang-5/master
timvandermeij Dec 9, 2025
4af193b
Merge pull request #20491 from nicolo-ribaudo/move-text-scaling-logic…
timvandermeij Dec 11, 2025
9bc4175
Improves text rendering performance by skipping unnecessary pattern c…
AtiX Dec 11, 2025
7e0c939
Simplify positioning of elements inside `markedContent`
nicolo-ribaudo Dec 8, 2025
f824f38
Merge pull request #20499 from AtiX/master
calixteman Dec 12, 2025
ff4529d
Merge pull request #20492 from nicolo-ribaudo/simplify-markedcontent-…
calixteman Dec 12, 2025
9de04ef
Fix the position of the checkmark when the menu is displayed in RTL
calixteman Dec 12, 2025
8b4fae0
Merge pull request #20482 from Uzair-Ahmed-Shah/fix-issue-20420
timvandermeij Dec 13, 2025
6c74626
Merge pull request #20500 from calixteman/fix_menu_rtl
timvandermeij Dec 13, 2025
0b60e9c
Bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 15, 2025
f42a120
Fix some css in the tree view
calixteman Dec 15, 2025
6517ded
Merge pull request #20508 from calixteman/tree_follow_up
calixteman Dec 15, 2025
2367196
Change the sidebar for a views manager
calixteman Dec 9, 2025
cdf34b6
Merge pull request #20495 from calixteman/new_sidebar
calixteman Dec 15, 2025
010e52e
Merge pull request #20507 from mozilla/dependabot/github_actions/acti…
timvandermeij Dec 20, 2025
b92f742
Run the CI tests in Node.js version 25 too
timvandermeij Dec 13, 2025
db6b0cd
Merge pull request #20502 from timvandermeij/node-25
timvandermeij Dec 22, 2025
8bcbf22
Fix unit tests in adding a comma in the JSON for imports
calixteman Dec 22, 2025
f7f963e
Merge pull request #20517 from calixteman/fix_unit_test_import_map
timvandermeij Dec 22, 2025
c5db38d
Update dependencies to the most recent versions
timvandermeij Dec 13, 2025
40a8fdb
Upgrade `@types/node` to version 25.0.1
timvandermeij Dec 13, 2025
65ae8f6
Update translations to the most recent versions
timvandermeij Dec 13, 2025
923a778
Escape punctuation signs in search query
calixteman Dec 22, 2025
bdf5005
Merge pull request #20501 from timvandermeij/updates
timvandermeij Dec 22, 2025
509fcc8
Merge pull request #20518 from calixteman/issue20516
timvandermeij Dec 22, 2025
71140e7
Introduce a helper function to draw a line in the ink editor integrat…
timvandermeij Dec 22, 2025
6d95eaa
Dont' throw when adding page labels in thumbnails
calixteman Dec 22, 2025
fc49858
Avoid exception when trying to render some glyphs contours
calixteman Dec 21, 2025
01531da
Simplify regex escaping
calixteman Dec 23, 2025
9f4db38
Merge pull request #20514 from calixteman/issue20513
calixteman Dec 23, 2025
4ff582a
Avoid pattern creation with some basic gradients
calixteman Dec 23, 2025
91033c2
Fix the encoding for some missing chinese fonts
calixteman Dec 23, 2025
cc0dada
Merge pull request #20524 from calixteman/simplify_regex_escaping
timvandermeij Dec 23, 2025
7f1f5ec
Merge pull request #20521 from calixteman/issue20520
timvandermeij Dec 23, 2025
8af3060
Merge pull request #20526 from calixteman/issue20489
timvandermeij Dec 23, 2025
fbce8bf
Remove some files from talos tests because they aren't available on w…
calixteman Dec 23, 2025
f66575a
Merge pull request #20527 from calixteman/rm_talos
calixteman Dec 23, 2025
dd6459c
Merge pull request #20525 from calixteman/simplify_gradient
timvandermeij Dec 23, 2025
33e8579
Merge pull request #20519 from timvandermeij/ink-simplify
timvandermeij Dec 23, 2025
165a12c
Add CLAUDE.md generated with claude code
calixteman Dec 22, 2025
eaf49c1
Avoid to have a mail link with string having the format ddd@d.dddd
calixteman Dec 23, 2025
1dffcf7
Remove undefStack stuff in the cff parser
calixteman Dec 27, 2025
22932f7
Fix the loca table length when there is enough space for it
calixteman Dec 27, 2025
2d7c056
Merge pull request #20522 from calixteman/claude
timvandermeij Dec 28, 2025
884cd20
Merge pull request #20531 from calixteman/issue20523
timvandermeij Dec 28, 2025
67b92b3
Merge pull request #20537 from calixteman/remove_undestack
timvandermeij Dec 28, 2025
1990fa7
Merge pull request #20538 from calixteman/issue13425
timvandermeij Dec 28, 2025
5518c8a
Use CIDToGIDMap when the font is a type 2 with an OpenType font
calixteman Dec 25, 2025
50cc4ad
Merge pull request #20535 from calixteman/issue18062
timvandermeij Dec 28, 2025
f385fd9
Bump the stable version in `pdfjs.config`
timvandermeij Dec 28, 2025
430b8a9
Merge pull request #20540 from timvandermeij/bump
timvandermeij Dec 28, 2025
424c798
Get glyph contours when stroking using a pattern
calixteman Dec 21, 2025
eccbcbe
Merge pull request #20515 from calixteman/issue20513_2
calixteman Dec 29, 2025
71d761c
working withh some extra changes in the pdf's js
shaymerrill-mc Jan 2, 2026
e4a441b
undoing what I think is unnecessary, part 1
shaymerrill-mc Jan 3, 2026
3e7f712
undoing what I think is unnecessary, part 2
shaymerrill-mc Jan 3, 2026
1ceff05
Linting
shaymerrill-mc Jan 3, 2026
07ef9fc
more linting
shaymerrill-mc Jan 3, 2026
2838e16
Update dependencies to the most recent versions
timvandermeij Jan 3, 2026
13e070a
Upgrade `globals` to version 17.0.0
timvandermeij Jan 3, 2026
687cd84
Upgrade `eslint-plugin-perfectionist` to version 5.2.0
timvandermeij Jan 3, 2026
5c06bea
Update translations to the most recent versions
timvandermeij Jan 3, 2026
98c1955
Use the PDFium JBig2 decoder compiled into wasm
calixteman Jan 3, 2026
cb28250
Merge pull request #20546 from calixteman/jbig2wasm
calixteman Jan 3, 2026
cb36cbd
Merge pull request #20547 from timvandermeij/updates
timvandermeij Jan 3, 2026
eab3382
Fix wasm url issue for the jbig2 decoder
calixteman Jan 3, 2026
54d8479
Merge pull request #20548 from calixteman/jbig2wasm_failure
timvandermeij Jan 4, 2026
adde05b
Revert "Remove some files from talos tests because they aren't availa…
timvandermeij Jan 4, 2026
a939f12
Merge pull request #20549 from timvandermeij/talos-revert
timvandermeij Jan 4, 2026
0ef085e
Aria-hide artifacts in the text layer (bug 2004951)
calixteman Jan 5, 2026
91fa05d
Merge pull request #20550 from calixteman/bug2004951_part1
timvandermeij Jan 6, 2026
da463f2
Don't add an aria-label on MathML elements in the struct tree (bug 20…
calixteman Jan 5, 2026
3532ac3
Merge pull request #20551 from calixteman/bug2004951_part2
calixteman Jan 6, 2026
58ad6c9
Casing on custom properties, date constructor with string
shaymerrill-mc Jan 6, 2026
1dd6649
Add some tests for the JBIG2 js decoder
calixteman Jan 5, 2026
6f5d5ac
Merge pull request #20552 from calixteman/issue20529
calixteman Jan 9, 2026
b474b3b
Change viewer_type to support oprevious ADAPT overlay js that was loo…
shaymerrill-mc Jan 9, 2026
c7fb1d2
Fix legacy overlay js issues
shaymerrill-mc Jan 10, 2026
1f69a3f
Update jbig2 decoder (pdfium@3c679253a9e17c10be696d345c63636b18b7f925)
calixteman Jan 11, 2026
a5010f9
Merge pull request #20566 from calixteman/update_jbig2
timvandermeij Jan 11, 2026
a362a24
Make sure the caret is black in dark mode when in caret browsing mode
calixteman Jan 13, 2026
b5ed988
Don't use contents stream which have an image format
calixteman Jan 13, 2026
f40ab1a
Merge pull request #20570 from calixteman/no_contents_image_stream
timvandermeij Jan 13, 2026
cffd54e
Hide the text in the text layer associated with MathML elements (bug …
calixteman Jan 12, 2026
6612d7a
Merge pull request #20567 from calixteman/bug2009627
calixteman Jan 14, 2026
cbcb627
Merge pull request #20569 from calixteman/fix_caret_dark_mode
calixteman Jan 14, 2026
5e89981
Add the possibility to drag & drop some thumbnails in the pages view
calixteman Jan 6, 2026
67673ea
Merge pull request #20559 from calixteman/new_sidebar2
calixteman Jan 14, 2026
eb014a3
Select the dropped thumbnail (bug 2010820)
calixteman Jan 16, 2026
fef0cb1
Merge pull request #20578 from calixteman/bug2010820
timvandermeij Jan 18, 2026
3a20ea7
The 'find in page' feature must correctly work after the pages have b…
calixteman Jan 16, 2026
f04deee
Merge pull request #20577 from calixteman/update_search
calixteman Jan 18, 2026
8abfd9a
Avoid exception after having moved an annotation
calixteman Jan 13, 2026
8188c87
Merge pull request #20572 from calixteman/issue20571
calixteman Jan 18, 2026
43bd7fa
Fix links and outline after reorganizing a pdf
calixteman Jan 19, 2026
ce296d8
Add the possibility to order the pages in an extracted pdf (bug 1997379)
calixteman Dec 2, 2025
6a4a3b0
Merge pull request #20475 from calixteman/organize_pages
calixteman Jan 19, 2026
a4f4d46
Hide the menu container in changing it's visibility
calixteman Jan 20, 2026
d9f67bd
Bug 1999154 - Add the ability to undo comment deletion
marco-c Jan 21, 2026
84d15dc
Restore date too
marco-c Jan 21, 2026
3270c4a
Bump lodash from 4.17.21 to 4.17.23
dependabot[bot] Jan 21, 2026
bdc9323
Hide comment popup after redo action
marco-c Jan 22, 2026
bfdcaad
Use kbUndo when possible
marco-c Jan 22, 2026
0aa4fc6
fix: Update image pattern in gulpfile to accommodate missing images
dgiessing Jan 22, 2026
109ea59
Merge pull request #20588 from mozilla/dependabot/npm_and_yarn/lodash…
timvandermeij Jan 23, 2026
bfa44af
Merge pull request #20554 from dgiessing/patch-1
timvandermeij Jan 23, 2026
23c7b1a
Merge pull request #20583 from calixteman/simplify_menu
timvandermeij Jan 23, 2026
95f62f3
Merge pull request #20580 from calixteman/reorg_link_outline
timvandermeij Jan 23, 2026
45294d3
In Node.js, don't abort the full request for local PDF files smaller …
Snuffleupagus Jan 25, 2026
663d4cd
Use standard `ReadableStream`s in the `src/display/node_stream.js` code
Snuffleupagus Jan 25, 2026
4d9301f
Simplify the `NetworkManager` class
Snuffleupagus Jan 25, 2026
eaf605d
Move the `NetworkManager` functionality into the `PDFNetworkStream` c…
Snuffleupagus Jan 25, 2026
84b5866
Reduce duplication in the `pickPlatformItem` helper function
Snuffleupagus Jan 25, 2026
640a310
Remove caching/shadowing from the `FileSpec` getters, and simplify th…
Snuffleupagus Jan 25, 2026
9f660be
Use DecompressionStream in async code
calixteman Jan 23, 2026
50f2d4d
fix: allow hyphens in mailto link auto-detection (bug 20557)
kairosci Jan 25, 2026
001058a
Merge pull request #20593 from calixteman/decompress_content_stream
calixteman Jan 25, 2026
f2ac669
Fix the drag marker dimensions in the thumbnails view
calixteman Jan 22, 2026
ab7d388
Merge pull request #20591 from calixteman/reorg_fix_drag_width
calixteman Jan 26, 2026
48df8a5
Merge pull request #20586 from marco-c/commentundo
calixteman Jan 26, 2026
8061333
Refactor a bit page mapping stuff in order to be able to support dele…
calixteman Jan 21, 2026
07a4aab
Merge pull request #20587 from calixteman/reorg_simplify_mapping
calixteman Jan 26, 2026
dd6a0c6
Add a manage button in the thumbnail view in order to save an edited …
calixteman Jan 19, 2026
5505201
Merge pull request #20582 from calixteman/reorg_save
calixteman Jan 26, 2026
956c2a0
Fix the sidebar resizer accessibility
calixteman Jan 27, 2026
b3f35b6
Return the `rawFilename` as-is even if it's empty, from `FileSpec.pro…
Snuffleupagus Jan 25, 2026
247ee02
Remove the `Promise.try()` polyfill
Snuffleupagus Jan 25, 2026
5b368dd
Remove the `Uint8Array.prototype.toHex()`, `Uint8Array.prototype.toBa…
Snuffleupagus Jan 25, 2026
2cef80d
Merge pull request #20598 from calixteman/fix_sidebar_resize
timvandermeij Jan 29, 2026
c0572c1
Merge pull request #20594 from Snuffleupagus/Node-ReadableStream
timvandermeij Jan 29, 2026
7cdd03a
Merge pull request #20595 from Snuffleupagus/NetworkManager-simplify
timvandermeij Jan 29, 2026
471adfd
Merge pull request #20596 from Snuffleupagus/FileSpec-fixes
timvandermeij Jan 29, 2026
9c903a0
Remove unit-tests for global `ReadableStream` and `URL`
Snuffleupagus Jan 30, 2026
a2909f9
List `postcss-values-parser` as an import alias in the ESLint config
Snuffleupagus Jan 30, 2026
35e78f7
Generate the `preferences_schema.json` file, for the Chromium addon, …
Snuffleupagus Jan 30, 2026
06cf7dd
Stop pre-building the preference defaults, to simplify the build scripts
Snuffleupagus Jan 30, 2026
2a83f95
Make `getDefaultPreferences` a synchronous function, to simplify the …
Snuffleupagus Jan 30, 2026
5d02076
Add tests (and CI) to ensure that preference generation works correct…
Snuffleupagus Jan 30, 2026
1370950
Remove unnecessary IIFEs when setting the `compatParams`
Snuffleupagus Jan 30, 2026
d4fbae0
Merge pull request #20605 from Snuffleupagus/rm-util-global-tests
Snuffleupagus Jan 30, 2026
814df09
Merge pull request #20603 from Snuffleupagus/createChromiumPrefsSchema
Snuffleupagus Jan 30, 2026
62d5408
Stop tracking `progressiveDataLength` in the `ChunkedStreamManager` c…
Snuffleupagus Jan 30, 2026
9872657
Remove the unused `IPDFStreamRangeReader.prototype.isStreamingSupport…
Snuffleupagus Jan 30, 2026
05b78ce
Stop registering an `onProgress` callback on the `PDFWorkerStreamRang…
Snuffleupagus Jan 30, 2026
a80f10f
Remove the `onProgress` callback from the `IPDFStreamRangeReader` int…
Snuffleupagus Jan 30, 2026
4a8fb4d
Add an abstract `BasePDFStream` class, that all the old `IPDFStream` …
Snuffleupagus Jan 30, 2026
54d8c5e
Add an abstract `BasePDFStreamReader` class, that all the old `IPDFSt…
Snuffleupagus Jan 30, 2026
4ca205b
Add an abstract `BasePDFStreamRangeReader` class, that all the old `I…
Snuffleupagus Jan 30, 2026
ecb09d6
Add the current loading percentage to the `onPassword` callback
Snuffleupagus Jan 30, 2026
e4cd317
Merge pull request #20602 from Snuffleupagus/BasePDFStream-2
timvandermeij Feb 1, 2026
384c620
Merge pull request #20565 from kairosci/fix-bug-20557
timvandermeij Feb 1, 2026
ad384ef
Merge tag 'v5.4.624' into QX-27623_merge-moz-v5.4.624-into-mc-master,…
shaymerrill-mc Feb 17, 2026
5e98999
Small readme update to clarify MC's changes
shaymerrill-mc Feb 19, 2026
8e6d077
update styling and functionality around views manager to match old si…
shaymerrill-mc Feb 19, 2026
2ce37e8
removed unneeded gulp function
shaymerrill-mc Feb 19, 2026
7b8cc28
Remove unused styling, fix findbar checkboxes, reorg readme a bit
shaymerrill-mc Feb 19, 2026
6854609
package lock file
shaymerrill-mc Feb 21, 2026
99fd833
Merge branch 'QX-27623_merge-moz-v5.4.624-into-mc-master' into QX-304…
shaymerrill-mc Feb 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
node-version: [20, 22, 24, 25]

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: security-and-quality

- name: Autobuild CodeQL
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
8 changes: 4 additions & 4 deletions .github/workflows/fluent_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Use Python 3.13
uses: actions/setup-python@v5
- name: Use Python 3.14
uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
cache: 'pip'

- name: Install Fluent dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/font_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci

- name: Use Python 3.13
uses: actions/setup-python@v5
- name: Use Python 3.14
uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
cache: 'pip'

- name: Install Fonttools
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -30,5 +30,5 @@ jobs:
- name: Run lint
run: npx gulp lint

- name: Run lint-chromium
run: npx gulp lint-chromium
- name: Run lint-mozcentral
run: npx gulp lint-mozcentral
31 changes: 31 additions & 0 deletions .github/workflows/prefs_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Prefs tests
on: [push, pull_request]
permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [lts/*]

steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci

- name: Run prefs tests
run: npx gulp prefstest
8 changes: 3 additions & 5 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
Expand All @@ -34,6 +34,4 @@ jobs:
run: npx gulp dist

- name: Publish the `pdfjs-dist` library to NPM
run: npm publish ./build/dist --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish ./build/dist
6 changes: 3 additions & 3 deletions .github/workflows/publish_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -49,7 +49,7 @@ jobs:
INPUT_PATH: build/gh-pages

- name: Upload the website
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: github-pages
path: ${{ runner.temp }}/website.tar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/types_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Makefile
node_modules/
examples/node/svgdump/
examples/node/pdf2png/*.png
.vscode/
15 changes: 11 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@

"overrides": [
{
files: ["tsconfig.json"],
options: {
parser: "json",
},
"files": ["tsconfig.json", ".prettierrc"],
"options": {
"parser": "json"
}
},
{
"files": ["**/*.html"],
"options": {
"parser": "html",
"printWidth": 160
}
}
]
}
6 changes: 3 additions & 3 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"float": ["inline-start", "inline-end"]
},
"length-zero-no-unit": [true, {
ignore: ["custom-properties"]
"ignore": ["custom-properties"]
}],
"selector-pseudo-element-colon-notation": "double",
"shorthand-property-no-redundant-values": true,
},
"shorthand-property-no-redundant-values": true
}
}
Loading
Loading