Commit Graph

  • 6fe4b3a5ae Simplify the findResultsCount span toggling, by using the same approach as with the findMsg span Jonas Jenwald 2022-02-03 22:16:56 +01:00
  • d0354d20b3 Avoid the findResultsCount span taking up (vertical) space when hidden (PR 13261 follow-up) Jonas Jenwald 2022-02-03 21:40:25 +01:00
  • 8281e64db3
    Merge pull request #13261 from calixteman/diacritics1 calixteman 2022-02-03 16:30:47 +01:00
  • 1f41028fcb Support search with or without diacritics (bug 1508345, bug 916883, bug 1651113) - get original index in using a dichotomic seach instead of a linear one; - normalize the text in using NFD; - convert the query string into a RegExp; - replace whitespaces in the query with \s+; - handle hyphens at eol use to break a word; - add some \s* around punctuation signs Calixte Denizet 2021-04-18 23:37:22 +02:00
  • 70073ed81c
    Merge pull request #14527 from Snuffleupagus/rm-normalizeWhitespace Jonas Jenwald 2022-02-03 10:22:20 +01:00
  • 403baa7bba [api-minor] Remove the normalizeWhitespace option in the PDFPageProxy.{getTextContent, streamTextContent} methods (issue 14519, PR 14428 follow-up) Jonas Jenwald 2022-01-31 17:48:35 +01:00
  • 48c8831a79
    Merge pull request #14515 from Snuffleupagus/rm-disableCreateObjectURL Tim van der Meij 2022-02-02 20:04:07 +01:00
  • 1d1e50e8ee
    Merge pull request #14522 from Snuffleupagus/rm-xfa_bug1716838 calixteman 2022-02-01 12:24:06 +01:00
  • e13353cf21 Remove the xfa_bug1716838 browser-test since it's a duplicate Jonas Jenwald 2022-02-01 12:05:19 +01:00
  • 1087b4dffd
    Merge pull request #14518 from Snuffleupagus/rm-MBTA-pretax-form-July2012 calixteman 2022-01-31 13:01:19 +01:00
  • ef1676678f Remove the MBTA-pretax-form-July2012 browser-test since it's a duplicate Jonas Jenwald 2022-01-31 12:35:26 +01:00
  • bff7eb8ce8
    Merge pull request #14516 from calixteman/focused_buttons Jonas Jenwald 2022-01-31 11:27:17 +01:00
  • 476c75ed48
    Merge pull request #14517 from Snuffleupagus/makeRef-forceNoChrome calixteman 2022-01-30 22:09:25 +01:00
  • 18c295f3d8 Disable the browser-tests, during gulp makeref, in Google Chrome on the Windows bot (PR 14392 follow-up) Jonas Jenwald 2022-01-30 18:24:22 +01:00
  • 7dda85654e [UI] Avoid to have buttons in hover state after having been clicked (bug 836732) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=836732; - replace :focus by :focus-visible for the buttons in the UI, according to the docs: - https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible - the button has the focus-visible state when it has been focused with the keyboard Calixte Denizet 2022-01-30 16:10:32 +01:00
  • 7a034706ba
    Merge pull request #14510 from calixteman/14502 calixteman 2022-01-30 15:58:51 +01:00
  • ae842e1c3a [api-minor] Annotations - Adjust the font size in text field in considering the total width (bug 1721335) - it aims to fix #14502 and bug 1721335; - Acrobat and Pdfium do the same; - it'll avoid to have truncated data when printed; - change the factor to compute font size in using field height: lineHeight = 1.35*fontSize - this is the value used by Acrobat. - in order to not have truncated strings on the bottom, add few basic metrics for standard fonts. Calixte Denizet 2022-01-27 22:51:30 +01:00
  • dc2868d7d1 [api-minor] Remove support for browsers/environments without fully working URL.createObjectURL implementations Jonas Jenwald 2022-01-02 13:18:18 +01:00
  • 9fba97d2f6
    Merge pull request #14513 from calixteman/emc-update Jonas Jenwald 2022-01-30 11:45:17 +01:00
  • d9921a2bd5 Update quickjs sandbox - compiled with the latest emscripten: - Digest:sha256:a28bd5ddf32c2b145b51503ddddb3c02804ab624d661abd54173b1f2dc6cbf06 Calixte Denizet 2022-01-29 21:30:35 +01:00
  • 6b9cc24d49
    Merge pull request #14508 from mozilla/dependabot/npm_and_yarn/nanoid-3.2.0 Jonas Jenwald 2022-01-28 09:40:13 +01:00
  • 7c5f257022
    Merge pull request #14507 from mozilla/dependabot/npm_and_yarn/copy-props-2.0.5 Jonas Jenwald 2022-01-28 09:21:50 +01:00
  • 244efd9353
    Bump nanoid from 3.1.30 to 3.2.0 dependabot[bot] 2022-01-27 21:38:28 +00:00
  • 1c08f55d3b
    Bump copy-props from 2.0.4 to 2.0.5 dependabot[bot] 2022-01-27 21:37:54 +00:00
  • 3e9b092db0
    Merge pull request #14392 from Snuffleupagus/polyfill-structuredClone Jonas Jenwald 2022-01-27 22:36:55 +01:00
  • d476186b9f Temporarily disable the browser-tests in Google Chrome on the Windows bot Jonas Jenwald 2022-01-19 12:02:05 +01:00
  • 7cc761a8c0 Polyfill structuredClone with core-js (PR 13948 follow-up) Jonas Jenwald 2022-01-18 13:07:39 +01:00
  • 2fcd07f400 Update Puppeteer to version 13.1.2 Jonas Jenwald 2022-01-18 12:23:22 +01:00
  • 8f6965b197
    Merge pull request #14506 from Snuffleupagus/license_header_2022 Jonas Jenwald 2022-01-27 19:34:56 +01:00
  • 00bd549e82 Update the year in the license_header files Jonas Jenwald 2022-01-27 19:24:31 +01:00
  • 838909f8c1
    Merge pull request #14491 from quaoaris/lines-rendered-too-thick calixteman 2022-01-27 18:46:26 +01:00
  • a69adf0382
    Merge pull request #14500 from calixteman/14497 Jonas Jenwald 2022-01-26 18:04:57 +01:00
  • 3a7004ca25 Take into account all rotations before comparing glyph positions - it aims to fix #14497; - previously, only rotations with an angle 0, 90, 180 or 270 were taken into account; - so generalize to any angle but keep the fast path for 0, 90, ... because they're likely more common than anything else. Calixte Denizet 2022-01-26 15:35:46 +01:00
  • 5c3b245958
    Merge pull request #14495 from emilio/ctrl-wheel Jonas Jenwald 2022-01-25 19:55:32 +01:00
  • 2f8a0638a6
    web: Read WheelEvent.deltaMode before deltas. Emilio Cobos Álvarez 2022-01-25 18:54:21 +01:00
  • 3f77d80f31 fix for lines (stroke) are rendered too thick (Bug 1743245) quaoaris 2022-01-25 00:26:45 +01:00
  • 583c39b859
    Merge pull request #14490 from Snuffleupagus/getCharUnicodeCategory-cache Jonas Jenwald 2022-01-25 10:04:32 +01:00
  • 8836593b9e Add a (global) cache to the getCharUnicodeCategory function Jonas Jenwald 2022-01-24 16:16:54 +01:00
  • ede26bfe4a
    Merge pull request #14479 from Snuffleupagus/update-packages Tim van der Meij 2022-01-24 19:43:29 +01:00
  • 9367d54009
    Merge pull request #14483 from calixteman/200B calixteman 2022-01-24 17:52:06 +01:00
  • 414a4d873a
    Merge pull request #14489 from calixteman/14488 calixteman 2022-01-24 17:43:25 +01:00
  • 880ac6037c Fix scripting test related to keystroke event Calixte Denizet 2022-01-24 17:04:50 +01:00
  • b280dff1c5
    Merge pull request #14487 from Snuffleupagus/rm-out calixteman 2022-01-24 15:31:57 +01:00
  • 2f14723bf3 Remove the out.pdf file (PR 14430 follow-up) Jonas Jenwald 2022-01-24 14:55:34 +01:00
  • e1d3a3b414 Remove the invisible format marks from the text chunks - it aims to fix issue #9186. Calixte Denizet 2022-01-23 23:04:18 +01:00
  • 88236e1163
    Merge pull request #14430 from calixteman/beforeinput calixteman 2022-01-23 20:42:33 +01:00
  • 6ac296e48e [JS] Use beforeinput event to trigger a keystroke event in the sandbox - it aims to fix issue #14307; - this event has been added recently in Firefox and we can now use it; - fix few bugs in aform.js or in annotation_layer.js; - add some integration tests to test keystroke events (see AFSpecial_Keystroke); - make dispatchEvent in the quickjs sandbox async. Calixte Denizet 2022-01-08 17:57:06 +01:00
  • 4f03f2a3a7 Update l10n files Jonas Jenwald 2022-01-23 11:00:06 +01:00
  • 1ed27965d1 Update npm packages Jonas Jenwald 2022-01-23 10:58:15 +01:00
  • 23b6fde9fc
    Merge pull request #14464 from Snuffleupagus/issue-14462 Tim van der Meij 2022-01-19 20:38:46 +01:00
  • b0231cc887
    Merge pull request #14456 from calixteman/1749563 calixteman 2022-01-19 01:20:49 -08:00
  • 74f25d2755 Font renderer - get int8 instead of uint8 in composite glyphes (bug 1749563) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1749563; - use some helper functions to get (u|i)int** values in buffer: it helps to have a clearer code; - in composite glyphes the translations values with a transformations are signed so consequently get some int8 instead of uint8; - add few TODOs. Calixte Denizet 2022-01-15 23:41:18 +01:00
  • a13ae5d97d Support Type1 font files with incomplete /CharStrings definitions (issue 14462) Jonas Jenwald 2022-01-17 18:53:03 +01:00
  • f955b0e20c
    Merge pull request #14457 from timvandermeij/unicode-test Tim van der Meij 2022-01-16 15:40:26 +01:00
  • e08fd5e389
    Implement a unit test for getCharUnicodeCategory in src/core/unicode.js (PR 14428 follow-up) Tim van der Meij 2022-01-16 15:13:02 +01:00
  • 749a3fa699
    Merge pull request #14455 from Snuffleupagus/refactor-evaluator-normalizeWhitespace Jonas Jenwald 2022-01-16 09:25:03 +01:00
  • ba37d600d7 Make the normalizeWhitespace handling, in the PartialEvaluator, more efficient (PR 14428 follow-up) Jonas Jenwald 2022-01-15 22:32:10 +01:00
  • da953f4b64
    Merge pull request #14428 from calixteman/typo calixteman 2022-01-15 12:47:10 -08:00
  • 9dae421a0d Handle all the whitespaces the same way when creating text chunks Calixte Denizet 2022-01-07 21:20:53 +01:00
  • 922dac035c
    Merge pull request #14448 from Snuffleupagus/Type3-circular-refs Tim van der Meij 2022-01-15 14:11:47 +01:00
  • a72d188599
    Merge pull request #14439 from Snuffleupagus/issue-14438 Tim van der Meij 2022-01-15 14:11:25 +01:00
  • 78f160b656
    Merge pull request #14453 from Snuffleupagus/viewer-documenterror Tim van der Meij 2022-01-15 14:00:16 +01:00
  • c0d2932faf
    Merge pull request #14454 from Snuffleupagus/util-more-unreachable Tim van der Meij 2022-01-15 13:52:10 +01:00
  • 625f829842
    Merge pull request #14446 from Snuffleupagus/issue-14435 Tim van der Meij 2022-01-15 13:46:11 +01:00
  • 0e1b93bf20 Replace some assert usage with unreachable in the src/shared/util.js file Jonas Jenwald 2022-01-15 12:45:27 +01:00
  • bf8a58e5e3 Dispatch a "documenterror" event in PDFViewerApplication._documentError (issue 14451) Jonas Jenwald 2022-01-15 11:14:29 +01:00
  • e0032811cd
    Merge pull request #14450 from Snuffleupagus/issue-14449 Jonas Jenwald 2022-01-14 20:55:13 +01:00
  • 12d8f0b64d Re-factor the stringToPDFString helper function for UTF-16 strings Jonas Jenwald 2022-01-14 18:44:38 +01:00
  • 76444888fb Add (basic) UTF-8 support in the stringToPDFString helper function (issue 14449) Jonas Jenwald 2022-01-14 17:58:47 +01:00
  • 4c55563574 Add an additional test-case for circular references in Type3 fonts Jonas Jenwald 2022-01-13 17:53:22 +01:00
  • 53d4ee7990 Prevent circular references in Type3 fonts Jonas Jenwald 2022-01-13 17:36:36 +01:00
  • b9849e38b8 Expose even more API-functionality in the TypeScript definitions (issue 14435, PR 14013 follow-up) Jonas Jenwald 2022-01-13 11:58:45 +01:00
  • ea57ef116e
    Merge pull request #14443 from Snuffleupagus/issue-14442 Tim van der Meij 2022-01-12 20:09:14 +01:00
  • 8286066372 Prevent run-time errors in BaseViewer when it's falling back to SimpleLinkService (issue 14442, PR 14295 follow-up) Jonas Jenwald 2022-01-12 17:04:51 +01:00
  • 08d88a0235 Ignore Annotations with empty /Rect-entries in the display-layer (issue 14438) Jonas Jenwald 2022-01-11 13:43:16 +01:00
  • 236c8d4786
    Merge pull request #14432 from Snuffleupagus/update-packages Tim van der Meij 2022-01-09 15:13:53 +01:00
  • 365538a383 Update l10n files Jonas Jenwald 2022-01-09 10:53:46 +01:00
  • 457ff0d54a Update Jasmine to version 4 Jonas Jenwald 2022-01-09 10:27:06 +01:00
  • 38e574f1d5 Update npm packages Jonas Jenwald 2022-01-09 10:05:52 +01:00
  • 8ac0ccc227
    Merge pull request #14424 from Snuffleupagus/mv-addLinkAttributes Tim van der Meij 2022-01-08 13:19:11 +01:00
  • 8cf0a8c357
    Merge pull request #14423 from Snuffleupagus/rm-getViewerConfiguration-eventBus Tim van der Meij 2022-01-08 13:02:02 +01:00
  • f25e95a2b4
    Merge pull request #14429 from calixteman/14306 calixteman 2022-01-08 03:50:05 -08:00
  • 6369617e6f [JS] Fix few errors around AFSpecial_Keystroke - @cincodenada found some errors which are fixed in this patch; - it partially fixes issue #14306; - add some tests. Calixte Denizet 2022-01-08 00:11:40 +01:00
  • 9bb636402a Use the correct dimension to know if we have to add an EOL in vertical mode Calixte Denizet 2022-01-07 14:02:28 +01:00
  • 7b8794b37e [api-minor] Move removeNullCharacters into the viewer Jonas Jenwald 2022-01-03 14:11:12 +01:00
  • 00aa9811e6 Convert the pagesRefCache, on PDFLinkService, from an Object to a Map Jonas Jenwald 2022-01-03 13:57:53 +01:00
  • fc31e1ba87 Convert the isValidExplicitDestination helper to a private static method on PDFLinkService Jonas Jenwald 2022-01-03 13:44:08 +01:00
  • 2d2b6463b8 [api-minor] Move addLinkAttributes and LinkTarget into the viewer Jonas Jenwald 2022-01-03 13:36:49 +01:00
  • 08256e6795 Remove the eventBus parameter from getViewerConfiguration Jonas Jenwald 2022-01-06 12:09:57 +01:00
  • 290cbc5232
    Merge pull request #14418 from calixteman/14415 Jonas Jenwald 2022-01-05 12:00:36 +01:00
  • 6cdae5ac4d Use positive dimensions for text chunks in the text layer (issue #14415). Calixte Denizet 2022-01-04 21:36:25 +01:00
  • 86c9a8970b Revert "Revert "For mozcentral use Firefox color theme instead of system theme." since -moz-toolbar-prefers-color-scheme was removed" v2.12.70_esr Brendan Dahl 2022-01-04 17:15:21 -08:00
  • 568633cf62
    Merge pull request #14417 from mozilla/revert-14367-integration-tests Jonas Jenwald 2022-01-04 14:37:15 +01:00
  • 2722deb610
    Revert "Disable failing print actions integration test in Firefox" Jonas Jenwald 2022-01-04 14:19:27 +01:00
  • 2ca432d318
    Merge pull request #14413 from timvandermeij/drop-beta Jonas Jenwald 2022-01-02 15:00:50 +01:00
  • 378c08a9b1
    Drop the beta logic from the Gulpfile/website/pdfjs.config file Tim van der Meij 2022-01-02 14:28:53 +01:00
  • f287c5f817
    Merge pull request #14411 from Snuffleupagus/getAllPageDicts-async Tim van der Meij 2022-01-01 14:43:20 +01:00
  • b0e774d9c5 Convert Catalog.getAllPageDicts to an async method Jonas Jenwald 2021-12-31 14:57:01 +01:00
  • 3d7bb6c38d
    Merge pull request #14409 from Snuffleupagus/getPageIndex-better-caching Tim van der Meij 2021-12-31 19:19:14 +01:00
  • 1491459dea Improve caching for the Catalog.getPageIndex method (PR 13319 follow-up) Jonas Jenwald 2021-12-29 15:57:34 +01:00