Commit Graph

  • 542ee0d798 Enable the no-var rule in the src/core/cff_font.js file Jonas Jenwald 2021-05-02 16:40:21 +02:00
  • d5d73e3168 Move the CFFFont from src/core/fonts.js and into its own file Jonas Jenwald 2021-05-02 16:36:12 +02:00
  • d4606712f2 Enable the no-var rule in the src/core/fonts_utils.js file Jonas Jenwald 2021-05-02 16:19:13 +02:00
  • 77b258440b Move some constants and helper functions from src/core/fonts.js and into their own file Jonas Jenwald 2021-05-02 16:11:01 +02:00
  • 22539b52fa Convert src/core/to_unicode_map.js to use standard classes Jonas Jenwald 2021-05-02 12:08:18 +02:00
  • 33ea6b1131 Enable the no-var rule in the src/core/to_unicode_map.js file Jonas Jenwald 2021-05-02 12:06:32 +02:00
  • 6912bb5e0a Move the IdentityToUnicodeMap/ToUnicodeMap from src/core/fonts.js and into its own file Jonas Jenwald 2021-05-02 12:04:34 +02:00
  • 8c1d1a58f7 Convert src/core/opentype_file_builder.js to use standard classes Jonas Jenwald 2021-05-02 11:54:05 +02:00
  • 1808b2dc96 Enable the no-var rule in the src/core/opentype_file_builder.js file Jonas Jenwald 2021-05-02 11:50:06 +02:00
  • a783c7ca79 Move the OpenTypeFileBuilder from src/core/fonts.js and into its own file Jonas Jenwald 2021-05-02 11:47:56 +02:00
  • f0817015bd
    Merge pull request #13324 from Snuffleupagus/textLayer-br-style Tim van der Meij 2021-05-02 20:35:59 +02:00
  • 883ce5d120 Fix highlighting of search results when the textLayer contains br-elements (PR 13257 follow-up, issue 13323) Jonas Jenwald 2021-05-02 15:19:44 +02:00
  • af9feb1307
    Merge pull request #13321 from timvandermeij/src-core-no-var Tim van der Meij 2021-05-02 13:45:33 +02:00
  • b661cf2b80
    Fix no-var linting rule violations in src/core/crypto.js that couldn't be changed automatically by ESLint Tim van der Meij 2021-05-01 20:34:11 +02:00
  • 404c2b0cb2
    Merge pull request #13320 from Snuffleupagus/BaseStream-getString Tim van der Meij 2021-05-02 13:31:10 +02:00
  • 92b9bdc19f
    Merge pull request #13322 from Snuffleupagus/update-packages Tim van der Meij 2021-05-02 13:28:27 +02:00
  • 809cb1de4d Update l10n files Jonas Jenwald 2021-05-02 09:38:15 +02:00
  • 01e01e6389 Update the eslint-plugin-unicorn package to the latest version Jonas Jenwald 2021-05-02 09:31:44 +02:00
  • d1a18e84ea Update npm packages Jonas Jenwald 2021-05-02 09:30:09 +02:00
  • 1f8b452354
    Enable the no-var linting rule in src/core/crypto.js Tim van der Meij 2021-05-01 20:12:16 +02:00
  • 58e568fe62
    Enable the no-var linting rule in src/core/function.js Tim van der Meij 2021-05-01 19:56:51 +02:00
  • 90b5fcb8e0 Remove unnecessary TypedArray re-initialization in FontFaceObject.createFontFaceRule Jonas Jenwald 2021-05-01 12:17:46 +02:00
  • 3624f9eac7 Add a new BaseStream.getString(...) method to replace manual bytesToString(BaseStream.getBytes(...)) calls Jonas Jenwald 2021-05-01 12:11:09 +02:00
  • f6f335173d
    Merge pull request #13303 from Snuffleupagus/BaseStream Tim van der Meij 2021-05-01 19:13:36 +02:00
  • af4dc55019
    [api-minor] Fix the way to chunk the strings (#13257) calixteman 2021-04-30 14:41:13 +02:00
  • e6fcb1e70b
    Merge pull request #13310 from Snuffleupagus/structTree-canvas-check Brendan Dahl 2021-04-29 12:04:20 -07:00
  • 2067bccf09
    Merge pull request #13314 from brendandahl/color-theme Brendan Dahl 2021-04-29 09:30:56 -07:00
  • 2c713f9cb5 For mozcentral use Firefox color theme instead of system theme. Brendan Dahl 2021-04-28 12:00:28 -07:00
  • 4d36659c38 Don't try to insert a structTree in a removed page (PR 13171 follow-up) Jonas Jenwald 2021-04-28 14:27:03 +02:00
  • 2ac4ad3111 Let ChunkedStream extend Stream, rather than BaseStream directly Jonas Jenwald 2021-04-28 14:05:25 +02:00
  • fb0775525e Stop special-casing the dict parameter in the Jbig2Stream/JpegStream/JpxStream constructors Jonas Jenwald 2021-04-27 22:35:53 +02:00
  • 67a1cfc1b1 Improve the handling getBaseStreams, on the various Stream implementations Jonas Jenwald 2021-04-28 11:57:29 +02:00
  • 67415bfabe Add an abstract base-class, which all the various Stream implementations inherit from Jonas Jenwald 2021-04-27 17:08:54 +02:00
  • 6151b4ecac Convert src/core/stream.js to use standard classes Jonas Jenwald 2021-04-27 16:35:35 +02:00
  • 29cf415a69 Enable the no-var rule in the src/core/stream.js file Jonas Jenwald 2021-04-27 16:32:26 +02:00
  • b11f012e52 Convert src/core/decode_stream.js to use standard classes Jonas Jenwald 2021-04-27 16:31:03 +02:00
  • 8ce2cae4a7 Enable the no-var rule in the src/core/decode_stream.js file Jonas Jenwald 2021-04-27 16:24:33 +02:00
  • 30a22a168d Move the DecodeStream and StreamsSequenceStream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 16:18:52 +02:00
  • 213e1c389c Convert src/core/flate_stream.js to use standard classes Jonas Jenwald 2021-04-27 13:53:36 +02:00
  • aa1deaf93c Enable the no-var rule in the src/core/flate_stream.js file Jonas Jenwald 2021-04-27 13:51:30 +02:00
  • 1e5bf352a5 Move the FlateStream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 13:49:35 +02:00
  • 40c342ec6c Convert src/core/predictor_stream.js to use standard classes Jonas Jenwald 2021-04-27 13:46:11 +02:00
  • b08f9a8182 Enable the no-var rule in the src/core/predictor_stream.js file Jonas Jenwald 2021-04-27 13:43:18 +02:00
  • 66d9d83dcb Move the PredictorStream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 13:41:45 +02:00
  • e938c05edb Convert src/core/decrypt_stream.js to use standard classes Jonas Jenwald 2021-04-27 13:35:59 +02:00
  • a9476e7dd0 Enable the no-var rule in the src/core/decrypt_stream.js file Jonas Jenwald 2021-04-27 13:34:42 +02:00
  • 28b0809e60 Move the DecryptStream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 13:31:13 +02:00
  • cdb583b764 Convert src/core/ascii_85_stream.js to use standard classes Jonas Jenwald 2021-04-27 13:26:42 +02:00
  • f6c7a65202 Enable the no-var rule in the src/core/ascii_85_stream.js file Jonas Jenwald 2021-04-27 13:22:34 +02:00
  • 3294d4d5a3 Move the Ascii85Stream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 13:20:25 +02:00
  • d2227a7d10 Convert src/core/ascii_hex_stream.js to use standard classes Jonas Jenwald 2021-04-27 13:17:24 +02:00
  • 59591f8788 Enable the no-var rule in the src/core/ascii_hex_stream.js file Jonas Jenwald 2021-04-27 13:15:00 +02:00
  • d63df04854 Move the AsciiHexStream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 13:12:55 +02:00
  • 704514c7cd Convert src/core/run_length_stream.js to use standard classes Jonas Jenwald 2021-04-27 13:07:39 +02:00
  • 66b898eb58 Enable the no-var rule in the src/core/run_length_stream.js file Jonas Jenwald 2021-04-27 13:05:46 +02:00
  • 342b0c1bbc Move the RunLengthStream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 13:04:07 +02:00
  • 1f0685cee6 Convert src/core/lzw_stream.js to use standard classes Jonas Jenwald 2021-04-27 13:00:05 +02:00
  • 1f9b134c6a Enable the no-var rule in the src/core/src/core/lzw_stream.js file Jonas Jenwald 2021-04-27 12:58:48 +02:00
  • 6c1a321500 Move the LZWStream from src/core/stream.js and into its own file Jonas Jenwald 2021-04-27 12:55:23 +02:00
  • d10da907da
    Fix position of highlighted all text. (#13306) Brendan Dahl 2021-04-28 01:15:31 -07:00
  • 0acd801b1e
    Merge pull request #13305 from timvandermeij/annotation-polygon-polyline-no-appearance-stream Tim van der Meij 2021-04-27 20:03:35 +02:00
  • fae183b7cc
    Merge pull request #13304 from Snuffleupagus/src-core-classes Tim van der Meij 2021-04-27 19:37:09 +02:00
  • 60ab15427f
    Implement rendering polyline/polygon annotations without appearance stream Tim van der Meij 2021-04-27 19:02:20 +02:00
  • 0ecb42f4d7 Convert src/core/jpx_stream.js to use standard classes Jonas Jenwald 2021-04-27 12:40:32 +02:00
  • c51ef1f21f Convert src/core/jbig2_stream.js to use standard classes Jonas Jenwald 2021-04-27 12:38:40 +02:00
  • d9c1bf96b6 Convert src/core/jpeg_stream.js to use standard classes Jonas Jenwald 2021-04-27 12:36:33 +02:00
  • 0ca63f94b4 Convert src/core/ccitt_stream.js to use standard classes Jonas Jenwald 2021-04-27 12:27:36 +02:00
  • 8ff213871b Convert src/core/ccitt.js to use standard classes Jonas Jenwald 2021-04-27 12:09:40 +02:00
  • ca668587c6
    Merge pull request #13300 from Snuffleupagus/canvas-class Tim van der Meij 2021-04-27 13:19:36 +02:00
  • 6f4394fcd8
    Support InkAnnotations without appearance streams (issue 13298) (#13301) Jonas Jenwald 2021-04-27 11:49:03 +02:00
  • e6601f4582 Convert the code in src/display/canvas.js to use standard classes Jonas Jenwald 2021-04-26 21:42:11 +02:00
  • 72be684c10
    Merge pull request #13294 from timvandermeij/src-no-var Tim van der Meij 2021-04-25 17:44:13 +02:00
  • 270e56dae8
    Enable the no-var linting rule in src/core/image.js Tim van der Meij 2021-04-25 15:55:14 +02:00
  • 16efd09c9f
    Enable the no-var linting rule in src/core/worker.js Tim van der Meij 2021-04-25 15:51:20 +02:00
  • 85659b4cf0
    Enable the no-var linting rule in src/core/cmap.js Tim van der Meij 2021-04-25 15:47:19 +02:00
  • 2e9c2ab3b8
    Merge pull request #13297 from Snuffleupagus/webpack-example-minification-warning Tim van der Meij 2021-04-25 17:38:32 +02:00
  • 24aae858b9 Add a note about minification to the webpack-example README (issue 13290) Jonas Jenwald 2021-04-25 17:18:06 +02:00
  • ab2428270f
    Merge pull request #13291 from Snuffleupagus/rm-forEach Tim van der Meij 2021-04-24 20:08:51 +02:00
  • 4078dd856c Clear some Arrays, rather than re-initialize them, in src/display/-code Jonas Jenwald 2021-04-24 12:52:09 +02:00
  • da22146b95 Replace a bunch of Array.prototype.forEach() cases with for...of loops instead Jonas Jenwald 2021-04-24 12:36:01 +02:00
  • da0e7ea969
    Merge pull request #13272 from calixteman/issue13271 Tim van der Meij 2021-04-23 21:08:54 +02:00
  • a6e3ad4c72
    Merge pull request #13283 from Snuffleupagus/NameOrNumberTree-getAll-map Tim van der Meij 2021-04-23 20:53:52 +02:00
  • 762cfd2d1b
    [JS] Use heap allocation when initializing quickjs sandbox (#13286) calixteman 2021-04-23 12:04:14 +02:00
  • 4ec0a4fb43 Re-factor the Catalog._collectJavaScript method slightly Jonas Jenwald 2021-04-23 09:36:14 +02:00
  • 83f7009e4b Change NameOrNumberTree.getAll to return a Map rather than an Object Jonas Jenwald 2021-04-21 12:14:33 +02:00
  • 57a1ea840f
    Ensure that saveDocument works if there's no /ID-entry in the PDF document (issue 13279) (#13280) Jonas Jenwald 2021-04-22 12:08:56 +02:00
  • 8538cdf845
    Update Puppeteer to version 9 (#13282) Jonas Jenwald 2021-04-22 11:35:16 +02:00
  • 2d073b91b8
    Merge pull request #13263 from Snuffleupagus/font-tests-rm-done Tim van der Meij 2021-04-21 21:07:44 +02:00
  • 066cbcfb27
    Merge pull request #13277 from Snuffleupagus/adjustToUnicode-cff Brendan Dahl 2021-04-21 10:41:36 -07:00
  • 5231d922ec
    Add presentation role to text layer spans. (#13278) Brendan Dahl 2021-04-21 01:47:51 -07:00
  • 7b8d2495ca Convert the font-test ttx helper function to use the Fetch API Jonas Jenwald 2021-04-20 23:35:25 +02:00
  • b0d58efb6a
    Merge pull request #13275 from Snuffleupagus/loadResources-Properties Tim van der Meij 2021-04-20 21:45:39 +02:00
  • 7fab73ed23 For CFF fonts without proper ToUnicode/Encoding data, utilize the "charset"/"Encoding"-data from the font file to improve text-selection (issue 13260) Jonas Jenwald 2021-04-20 17:12:19 +02:00
  • 8f6543c218 Ensure that the /Properties, used with optional content, is actually loaded *before* parsing the operatorList/textContent (PR 12095 follow-up) Jonas Jenwald 2021-04-20 19:51:01 +02:00
  • e868ab0051 Update all the text widgets having the same name with the same value Calixte Denizet 2021-04-20 18:32:23 +02:00
  • 3d55b2b10e Replace done callbacks in the font-tests with async/await instead Jonas Jenwald 2021-04-19 13:26:39 +02:00
  • fd82adccfa
    Merge pull request #13256 from timvandermeij/unit-test-async-await-pt4 Tim van der Meij 2021-04-18 14:25:40 +02:00
  • d42f3d0bfe
    Convert done callbacks to async/await in test/unit/evaluator_spec.js Tim van der Meij 2021-04-17 19:47:56 +02:00
  • 692304247c
    Merge pull request #13258 from Snuffleupagus/update-packages Tim van der Meij 2021-04-18 14:19:51 +02:00
  • d3ed3761bc Update l10n files Jonas Jenwald 2021-04-18 11:08:36 +02:00