Commit Graph

  • f30e862a72
    Merge pull request #14040 from calixteman/14039 calixteman 2021-09-18 15:31:49 +02:00
  • eb762ad624 Annotations - Avoid empty value in text field when storage contains something for it (bug 1719148) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1719148; - JS can set a property for a non-rendered annotation using the annotationStorage but the other unset default properties must be used when the annotation is finally rendered; - so this patch just adds the properties already set in the annotationStorage to the default value. Calixte Denizet 2021-09-18 14:55:38 +02:00
  • bfd570038d JS - Implement few possibilities with app.execMenuItem (bug 1724399) - it aims to fix: https://bugzilla.mozilla.org/show_bug.cgi?id=1724399. Calixte Denizet 2021-09-17 19:35:00 +02:00
  • e3223b68fc Extract some of the glyphMap handling, for non-embedded composite standard fonts, into a helper function Jonas Jenwald 2021-09-18 12:39:48 +02:00
  • 0e92f995c9 Re-factor the EventBus and isInAutomation handling (PR 11655 follow-up) Jonas Jenwald 2021-09-17 18:17:40 +02:00
  • ed73cf6d50 Support cmaps with only CID characters, when building the ToUnicode-map (issue 9367) Jonas Jenwald 2021-09-18 00:01:24 +02:00
  • a3cc2e63eb removed unnecessary variable setting unknown 2021-09-17 18:43:31 -03:00
  • e87c12bf34 JS - Avoid the Stay/Leave popup when clicking on a button with a JS action - it aims to fix #14039. Calixte Denizet 2021-09-17 21:04:04 +02:00
  • 7082ff9bf8
    Merge pull request #14035 from calixteman/1722036 calixteman 2021-09-17 14:59:49 +02:00
  • 5bef8120e7 Annotation - For checkboxes, get field value from AS (if any) instead of V (bug 1722036) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1722036. - AS and V should share the same value for checkbox: it's at least what the specs say; - the pdf in the above bug opens correctly in Acrobat so it likely means that AS is chosen over V. Calixte Denizet 2021-09-17 12:41:50 +02:00
  • d6a27860e3
    Merge pull request #14025 from Snuffleupagus/issue-11915 Brendan Dahl 2021-09-16 08:06:35 -07:00
  • 9745b75858 [GENERIC viewer] Always show the Download-buttons, to allow saving of forms (issue 13997) Jonas Jenwald 2021-09-12 12:34:58 +02:00
  • 95435ed66f
    Merge pull request #13984 from Snuffleupagus/viewer-enableXfa Tim van der Meij 2021-09-15 22:44:59 +02:00
  • 1e2cb72ad4
    Merge pull request #14028 from Snuffleupagus/_adjustScaleWidth-CSS-variables Tim van der Meij 2021-09-15 22:40:47 +02:00
  • 4a7976f097 Use CSS variables for setting the width of the zoom dropdown (PR 11570 follow-up) Jonas Jenwald 2021-09-15 15:00:56 +02:00
  • 8c2ac85b0a
    Merge pull request #14027 from calixteman/14024 calixteman 2021-09-15 15:42:26 +02:00
  • a3aa6dd6ab Annotation - Checkboxes with the same name and export values must be in unison - it aims to fix #14024. - this patch adds an attribute acroformExportValue to the HTML input in order to set the checked attribute in taking into account the exportValue for the checkboxes with the same name. Calixte Denizet 2021-09-15 15:13:40 +02:00
  • a11343e9af Improve glyph mapping for non-embedded composite standard fonts with a /CIDToGIDMap (issue 11915) Jonas Jenwald 2021-09-15 11:06:25 +02:00
  • 7fb653b19a
    Merge pull request #14018 from calixteman/mime Brendan Dahl 2021-09-14 09:38:53 -07:00
  • 7498b97aaa Enable XFA by default in the viewer, and components/ examples (issue 13968) Jonas Jenwald 2021-09-08 12:33:59 +02:00
  • 9812e35916 XFA - Don't create images for unsupported mime types Calixte Denizet 2021-09-13 21:49:36 +02:00
  • 95057a4e56 Try to expose more API-functionality in the TypeScript definitions Jonas Jenwald 2021-09-13 13:43:16 +02:00
  • d854352cd5 Improve the API unit-tests by checking that PDFPageProxy.render returns a RenderTask-instance Jonas Jenwald 2021-09-13 13:34:37 +02:00
  • fa7a607d33 Improve the API unit-tests by checking that getDocument returns a PDFDocumentLoadingTask-instance Jonas Jenwald 2021-09-13 13:34:28 +02:00
  • 064c21d360
    Merge pull request #14007 from Snuffleupagus/writeValue-null Jonas Jenwald 2021-09-12 19:05:36 +02:00
  • 7025b9f859 [src/core/writer.js] Support null values in the writeValue function Jonas Jenwald 2021-09-12 18:13:36 +02:00
  • 8f72fc561e
    Merge pull request #14006 from Snuffleupagus/writeValue-boolean Jonas Jenwald 2021-09-12 17:05:33 +02:00
  • 5d578ea36a [src/core/writer.js] Remove unnecessary string-wrapping for boolean values in writeValue (PR 13998 follow-up) Jonas Jenwald 2021-09-12 15:45:45 +02:00
  • 761519ef3f
    Merge pull request #13998 from calixteman/bug1729971 Jonas Jenwald 2021-09-12 15:38:10 +02:00
  • 0be35020da
    Merge pull request #14002 from Snuffleupagus/issue-13999 Tim van der Meij 2021-09-12 13:41:29 +02:00
  • 6a24002ccc
    Merge pull request #14004 from Rob--W/crx-disable-js-by-default Jonas Jenwald 2021-09-12 01:36:01 +02:00
  • 628e672765 [CRX] enableScripting=false by default in Chrome extension Rob Wu 2021-09-12 01:04:11 +02:00
  • a47844d1fc Let Lexer.getObj return a dummy-Cmd for commands that start with a non-visible ASCII character (issue 13999) Jonas Jenwald 2021-09-11 18:29:31 +02:00
  • 99e442941c
    Merge pull request #13983 from Snuffleupagus/examples-learning-HiDPI Tim van der Meij 2021-09-11 13:37:02 +02:00
  • e97f01b17c
    Merge pull request #13977 from Snuffleupagus/enqueueChunk-batch Tim van der Meij 2021-09-11 13:34:07 +02:00
  • 9b42ae9612
    Merge pull request #13993 from Snuffleupagus/app-pdfHistory-init Tim van der Meij 2021-09-11 13:21:42 +02:00
  • 4ddda41383
    Merge pull request #14000 from Snuffleupagus/PixelsPerInch Tim van der Meij 2021-09-11 13:12:54 +02:00
  • 0e54f568fb Re-factor the CSS_PIXELS_PER_INCH/PDF_PIXELS_PER_INCH exports (PR 13991 follow-up) Jonas Jenwald 2021-09-11 11:11:32 +02:00
  • bd51bbfd16 Remove mozImageSmoothingEnabled fallback in CanvasGraphics.endGroup Jonas Jenwald 2021-09-11 10:26:41 +02:00
  • 9ce63a6dc6
    Merge pull request #13991 from brendandahl/interpolate Jonas Jenwald 2021-09-11 10:02:53 +02:00
  • f38fb42b42 Enable/disable image smoothing based on image interpolate value. (bug 1722191) Brendan Dahl 2021-09-08 17:31:10 -07:00
  • 474ab7c86d Write boolean value when saving a form (bug 1729971) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1729971#c4. Calixte Denizet 2021-09-10 14:10:21 +02:00
  • 5678c75562
    Merge pull request #13996 from Snuffleupagus/downloadutils-link-check Jonas Jenwald 2021-09-10 14:05:01 +02:00
  • 57b80074a2
    Merge pull request #13995 from calixteman/xfa_record calixteman 2021-09-10 13:57:50 +02:00
  • d60cc7200b Make verifyManifestFiles fail for non-linked test-cases with a "link": true-entry Jonas Jenwald 2021-09-09 16:39:57 +02:00
  • d4caa87560
    Merge pull request #13992 from calixteman/1729877 calixteman 2021-09-09 20:03:21 +02:00
  • c5841b3794 XFA - Handle shorcut in SOM expression (issue #13994) Calixte Denizet 2021-09-09 19:54:45 +02:00
  • 623860bf8f XFA - Remove the checked attribute from the checkbox when unchecked (bug 1729877) - it aims to fix: https://bugzilla.mozilla.org/show_bug.cgi?id=1729877. Calixte Denizet 2021-09-09 12:39:10 +02:00
  • aa289b17b6 Don't create PDFViewerApplication.pdfHistory when the browsing history is disabled Jonas Jenwald 2021-09-09 14:21:15 +02:00
  • 45ddb12f61 Remove no-op onPull/onCancel streamSink callbacks from the "GetTextContent"-handler Jonas Jenwald 2021-09-06 11:19:12 +02:00
  • f90f9466e3 [api-minor] Reduce postMessage overhead, in PartialEvaluator.getTextContent, by sending text chunks in batches (issue 13962) Jonas Jenwald 2021-09-03 13:07:04 +02:00
  • 8a79f13e5a
    Merge pull request #13985 from Snuffleupagus/issue-11088 Tim van der Meij 2021-09-08 22:15:27 +02:00
  • 168aa5efb1
    Merge pull request #13988 from calixteman/issue13987 Tim van der Meij 2021-09-08 21:50:43 +02:00
  • 2b938c42f5 Avoid an error in integration test because of a locale different of en-US Calixte Denizet 2021-09-08 18:00:03 +02:00
  • 69034ab8dc Improve glyph mapping for non-embedded composite standard fonts (issue 11088) Jonas Jenwald 2021-09-08 14:46:39 +02:00
  • b39cd706a6 Update the learning/ examples with basic HiDPI-screen support Jonas Jenwald 2021-09-07 14:43:53 +02:00
  • d95f680d66
    Merge pull request #13976 from Snuffleupagus/_textDivProperties-cleanup Tim van der Meij 2021-09-05 14:45:17 +02:00
  • e965aa39e6
    Merge pull request #13975 from Snuffleupagus/update-packages Tim van der Meij 2021-09-05 13:36:05 +02:00
  • 4c1b586dd2 Reduce the size of TextLayerRenderTask._textDivProperties in "regular" text-selection mode Jonas Jenwald 2021-09-05 12:12:34 +02:00
  • a6f8591cc2 Update l10n files Jonas Jenwald 2021-09-05 10:01:23 +02:00
  • 4bd1d51970 Update the webpack-stream package to the latest version Jonas Jenwald 2021-09-05 09:58:59 +02:00
  • adb17bafa4 Update the needle package to the latest version Jonas Jenwald 2021-09-05 09:56:50 +02:00
  • 6adecdda80 Update the eslint-plugin-prettier package to the latest version Jonas Jenwald 2021-09-05 09:54:18 +02:00
  • 2643d29a03 Remove @babel/plugin-proposal-logical-assignment-operators from package.json (PR 13900 follow-up) Jonas Jenwald 2021-09-05 09:50:57 +02:00
  • 91bc559f3c Update npm packages Jonas Jenwald 2021-09-05 09:47:57 +02:00
  • 1b20f61b56
    Merge pull request #13972 from Snuffleupagus/issue-13971 Tim van der Meij 2021-09-04 15:53:44 +02:00
  • 7889cfdc3c
    Merge pull request #13973 from Snuffleupagus/viewer-components-refactor-update Tim van der Meij 2021-09-04 15:50:32 +02:00
  • 680f33c31c
    Merge pull request #13961 from Snuffleupagus/simpler-regexp Tim van der Meij 2021-09-04 15:39:30 +02:00
  • 8466204384 [GENERIC viewer] Add fallback logic for the old PDFPageView.update method signature Jonas Jenwald 2021-08-31 17:24:21 +02:00
  • 7c81a8dd40 [api-minor] Change {PDFPageView, PDFThumbnailView}.update to take a parameter object Jonas Jenwald 2021-08-31 17:08:43 +02:00
  • 258cf1decc
    Merge pull request #13970 from Snuffleupagus/issue-13316 Jonas Jenwald 2021-09-04 09:34:39 +02:00
  • 6318ccf6d2 Treat all content as visible when no optional content groups are defined (issue 13971) Jonas Jenwald 2021-09-04 07:56:04 +02:00
  • 3ccf277f58 Fallback to the /ToUnicode map for TrueType fonts with (3, 1) and (1, 0) cmap-tables (issue 13316) Jonas Jenwald 2021-09-03 18:10:27 +02:00
  • da15dbf962
    Merge pull request #13698 from linfangrong/master Brendan Dahl 2021-09-03 10:00:19 -07:00
  • a8ce15a2d7
    Merge pull request #13966 from calixteman/no_ns Brendan Dahl 2021-09-03 09:59:40 -07:00
  • d9d3115a7b
    Merge pull request #13967 from calixteman/no_datasets Brendan Dahl 2021-09-03 09:53:36 -07:00
  • 77b9657e57 XFA - Overwrite AcroForm dictionary when saving if no datasets in XFA (bug 1720179) - aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1720179 - in some pdfs the XFA array in AcroForm dictionary doesn't contain an entry for 'datasets' (which contains saved data), so basically this patch allows to overwrite the AcroForm dictionary with an updated XFA array when doing an incremental update. Calixte Denizet 2021-09-03 14:28:31 +02:00
  • 57ae3a5a76 XFA - Created data node mustn't belong to datasets namespace - when some named nodes in the template don't have their counterpart in datasets we create some nodes: the main node mustn't belong to the datasets namespace because it doesn't make sense and Acrobat Reader isn't able to read pdf with such nodes. - so created nodes under a datasets node have a namespaceId set to -1 and consequently when serialized no namespace prefix will appear. Calixte Denizet 2021-09-03 15:43:19 +02:00
  • 804abb3786
    Merge pull request #13959 from calixteman/encrypt Brendan Dahl 2021-09-02 11:41:02 -07:00
  • c42887221a Simplify some regular expressions Jonas Jenwald 2021-09-02 11:41:20 +02:00
  • 9619bf92be Correctly pad strings when saving an encrypted pdf (bug 1726789) Calixte Denizet 2021-09-01 21:55:21 +02:00
  • 0a366dda6a
    Merge pull request #13955 from Snuffleupagus/issue-13433 Tim van der Meij 2021-09-01 21:46:34 +02:00
  • 19ce2de6f7
    Merge pull request #13952 from Snuffleupagus/ItcSymbol Tim van der Meij 2021-09-01 21:38:59 +02:00
  • 2ed133bd99
    Merge pull request #13945 from Snuffleupagus/network-onError Tim van der Meij 2021-09-01 21:18:07 +02:00
  • b7b6076294 Always prefer the post-table for TrueType fonts with (0, x) cmap-tables (issue 13433) Jonas Jenwald 2021-09-01 12:22:49 +02:00
  • ba9f004097 Extend getNonStdFontMap for non-embedded versions of the ItcSymbol font (issue 11532) Jonas Jenwald 2021-08-31 22:37:09 +02:00
  • 07e233d08b
    Merge pull request #13951 from mozilla/dependabot/npm_and_yarn/tar-4.4.19 Jonas Jenwald 2021-08-31 20:20:46 +02:00
  • e1c2151a03
    Bump tar from 4.4.15 to 4.4.19 dependabot[bot] 2021-08-31 16:39:41 +00:00
  • 1f56451d56 Implement PDFNetworkStreamRangeRequestReader._onError, to handle range request errors with XMLHttpRequest (issue 9883) Jonas Jenwald 2021-08-30 09:57:39 +02:00
  • bd9a92a161 Use optional chaining more in the src/display/network.js file Jonas Jenwald 2021-08-30 09:37:06 +02:00
  • 369f1899c6 [FIX] fix jpx tag tree decode (issue 11957) linfangrong 2021-08-31 11:44:26 +08:00
  • 72c34b2964
    Merge pull request #13949 from brendandahl/bug1727053 Jonas Jenwald 2021-08-30 23:43:01 +02:00
  • a7f807b059 Only use base encoding if it's populated. (bug 1727053) Brendan Dahl 2021-08-30 12:51:59 -07:00
  • 306119b12a
    Merge pull request #13932 from Snuffleupagus/oc-images Brendan Dahl 2021-08-30 10:10:14 -07:00
  • cf0ccc4bab
    Merge pull request #13937 from overleaf/jpa-fix-error-handling Jonas Jenwald 2021-08-30 15:50:03 +02:00
  • 291ffd3059
    Fix handling of fetch errors Jakob Ackermann 2021-07-02 17:36:34 +01:00
  • e18d577ace
    Merge pull request #13944 from Snuffleupagus/setPDFNetworkStreamFactory-unit Tim van der Meij 2021-08-29 18:51:21 +02:00
  • e69afc6f3d Re-factor the setPDFNetworkStreamFactory usage for the unit-tests (PR 13549 follow-up) Jonas Jenwald 2021-08-29 18:27:53 +02:00
  • 954e1a1694
    Merge pull request #13943 from Snuffleupagus/api-more-async Tim van der Meij 2021-08-29 14:34:14 +02:00
  • a270baeb67
    Merge pull request #13942 from Snuffleupagus/viewer-components-export-layers Tim van der Meij 2021-08-29 14:30:28 +02:00