Commit Graph

  • b1440a11c1
    Merge pull request #11312 from Snuffleupagus/async-getPageDict Tim van der Meij 2019-11-08 22:38:22 +01:00
  • 79d7c002de Inline a couple of isRef/isDict checks in the getPageDict method Jonas Jenwald 2019-11-08 17:36:46 +01:00
  • 0d89006bf1 Convert Catalog.getPageDict to an async method Jonas Jenwald 2019-11-04 16:02:08 +01:00
  • 668650d564
    Merge pull request #11308 from Snuffleupagus/abortOperatorList-assert Tim van der Meij 2019-11-07 23:35:42 +01:00
  • 98f570c103 Prevent browser exceptions from incorrectly triggering the assert in PDFPageProxy._abortOperatorList (PR 11069 follow-up) Jonas Jenwald 2019-11-07 11:37:48 +01:00
  • b21a341332 Simplifies code contributions by automating the dev setup with gitpod.io Nisar Hassan Naqvi 2019-11-06 04:12:19 +00:00
  • 4e0b02025f
    Merge pull request #11307 from Snuffleupagus/stringToPDFString-little-endian Tim van der Meij 2019-11-05 22:43:42 +01:00
  • 80342e2fdc Support UTF-16 little-endian strings in the stringToPDFString helper function (bug 1593902) Jonas Jenwald 2019-11-05 11:52:30 +01:00
  • ba85ce8f8b fix nodejs core module : in web browser ignore url module Matthieu grigis 2019-11-04 15:02:55 +01:00
  • de77d6686c
    Merge pull request #11304 from Snuffleupagus/ObjectLoader-async-_walk Tim van der Meij 2019-11-03 23:09:05 +01:00
  • 04497bcb3c Re-factor the ObjectLoader._walk method to be properly asynchronous Jonas Jenwald 2019-11-03 14:58:40 +01:00
  • e7f24bd5b1
    Merge pull request #11302 from Snuffleupagus/addLinkAttributes-switch-target Tim van der Meij 2019-11-02 23:12:11 +01:00
  • fec1f02b2a Slightly re-factor setting of the link target in addLinkAttributes Jonas Jenwald 2019-11-02 14:01:31 +01:00
  • bbd2386bd9
    Merge pull request #11296 from Snuffleupagus/parseColorSpace-stopAtErrors Tim van der Meij 2019-11-01 22:47:50 +01:00
  • 0eda75c8fd
    Merge pull request #11301 from Snuffleupagus/peekByte-eof Tim van der Meij 2019-11-01 22:42:34 +01:00
  • 829d6ba2dc Ensure that the peekByte methods, on the various Streams, handles end of data correctly (PR 5286 follow-up) Jonas Jenwald 2019-11-01 17:53:32 +01:00
  • 835d8c2be5 Allow skipping of errors when parsing broken/unsupported ColorSpaces (issue 6707, issue 11287) Jonas Jenwald 2019-10-31 15:53:51 +01:00
  • 30ef05c161
    Merge pull request #11290 from Snuffleupagus/MessageHandler-rm-in Tim van der Meij 2019-10-31 23:57:52 +01:00
  • c807637f40
    Merge pull request #11294 from Snuffleupagus/rm-non-PRODUCTION-require Tim van der Meij 2019-10-31 23:47:55 +01:00
  • eedd449cb4 Remove some unused require statements, used when loading fake workers, in non-PRODUCTION mode Jonas Jenwald 2019-10-31 12:08:07 +01:00
  • 0293222b96 [MessageHandler] Convert the code to a proper class Jonas Jenwald 2019-10-30 22:05:25 +01:00
  • 5d5733c0a7 [MessageHandler] Convert all instances of var to const in the code Jonas Jenwald 2019-10-30 17:37:52 +01:00
  • f61fb3e0f9 [MessageHandler] Re-factor the _onComObjOnMessage function to use early returns Jonas Jenwald 2019-10-30 12:12:50 +01:00
  • 62f28e11a3 [MessageHandler] Remove unnecessary usage of in from the code Jonas Jenwald 2019-10-30 11:44:59 +01:00
  • 3e46e800a0 [MessageHandler] Replace the internal isReply property, as sent when Promise callbacks are used, with enumeration values Jonas Jenwald 2019-10-25 13:37:28 +02:00
  • 72bd8e8bdb
    Merge pull request #11284 from Snuffleupagus/ObjectLoader-allChunksLoaded Tim van der Meij 2019-10-30 22:48:48 +01:00
  • 2d35a49dd8 Inline a couple of isRef/isDict checks in the ObjectLoader code Jonas Jenwald 2019-10-29 18:12:35 +01:00
  • 1133dbac33 Make the ObjectLoader use more efficient methods when determining if data needs to be loaded Jonas Jenwald 2019-10-28 21:22:59 +01:00
  • 16fb5437c7
    Merge pull request #11283 from Snuffleupagus/hasBlendModes-Array Tim van der Meij 2019-10-28 23:14:04 +01:00
  • 0496ea61f5 Ensure that PartialEvaluator.hasBlendModes handles Blend Modes in Arrays (PR 11281 follow-up) Jonas Jenwald 2019-10-28 11:28:13 +01:00
  • 31737565d5
    Merge pull request #11281 from Snuffleupagus/issue-11279 Tim van der Meij 2019-10-27 19:09:54 +01:00
  • b8d129eeea
    Merge pull request #11282 from Snuffleupagus/EXCLUDE_LANG_CODES Tim van der Meij 2019-10-26 14:26:25 +02:00
  • 5c266f0e8c Support Blend Modes which are specified in an Array of Names (issue 11279) Jonas Jenwald 2019-10-26 11:57:56 +02:00
  • d08ecdb9fa Update l10n files Jonas Jenwald 2019-10-26 13:56:37 +02:00
  • 8852991c60 Simplify the handling of EXCLUDE_LANG_CODES (PR 11213 follow-up) Jonas Jenwald 2019-10-26 13:49:37 +02:00
  • 4a5a4328f4
    Merge pull request #11273 from Snuffleupagus/getViewport-offsets Tim van der Meij 2019-10-24 00:08:40 +02:00
  • 9c7f691ba6
    Merge pull request #11271 from Snuffleupagus/rm-DummyStatTimer Tim van der Meij 2019-10-24 00:03:36 +02:00
  • 681bc9d70e [api-minor] Support custom offsetX/offsetY values in PDFPageProxy.getViewport and PageViewport.clone Jonas Jenwald 2019-10-23 20:35:49 +02:00
  • 2046adcc49 Change the 'gets viewport respecting "dontFlip" argument' unit-test to use a valid rotation angle Jonas Jenwald 2019-10-23 20:30:25 +02:00
  • 6f7f8257bc Slightly re-factor the String handling in StatTimer Jonas Jenwald 2019-10-23 13:45:31 +02:00
  • 8e5d3836d6 Remove the enable argument from the StatTimer constructor Jonas Jenwald 2019-10-23 13:33:01 +02:00
  • 9fc40f8b84 Remove DummyStatTimer since it's unused now Jonas Jenwald 2019-10-23 13:29:48 +02:00
  • 860da8b840 Stop using the DummyStatTimer in the API, and check if this._stats exists when trying to report statistics Jonas Jenwald 2019-10-23 13:23:41 +02:00
  • 7aca15da70
    Merge pull request #11268 from Zdobnov/refactor/avoid-css-duplication Tim van der Meij 2019-10-22 23:41:35 +02:00
  • fea102b235 border & box-shadow duplications removed siarhei.zdabnou 2019-10-22 14:25:42 +02:00
  • d7f651aa98
    Merge pull request #11263 from Snuffleupagus/viewer-disableAutoFetch-pagesCount Tim van der Meij 2019-10-20 15:24:17 +02:00
  • ce816eed8e Attempt to reduce resource usage, by not eagerly fetching all pages, for long/large documents Jonas Jenwald 2019-10-20 13:14:41 +02:00
  • 826a2a69a0
    Merge pull request #11262 from Snuffleupagus/mozcentral-chrome.properties Tim van der Meij 2019-10-20 00:02:37 +02:00
  • 0a17fca46e Ensure that we'll never, accidentally, try and fetch the default en-US locale (PR 11213 follow-up) Jonas Jenwald 2019-10-19 18:00:15 +02:00
  • ee57832de2 Re-add the en-US chrome.properties l10n file, to avoid it being removed at mozilla-central (PR 11256 follow-up) Jonas Jenwald 2019-10-19 17:28:37 +02:00
  • 3c23ac212e
    Merge pull request #11261 from Snuffleupagus/DocException Tim van der Meij 2019-10-19 15:31:12 +02:00
  • df0e1edab5 Re-factor sending of various Exceptions from the worker to the API Jonas Jenwald 2019-10-19 12:49:30 +02:00
  • 11f3851a97
    Merge pull request #11243 from Snuffleupagus/issue-11242 Tim van der Meij 2019-10-18 23:56:46 +02:00
  • 884e1ef234
    Merge pull request #11260 from Snuffleupagus/update-npm-packages Tim van der Meij 2019-10-18 23:53:35 +02:00
  • a5d0fa5fe1 Fix (most) vulnerabilities reported by npm audit Jonas Jenwald 2019-10-18 16:43:55 +02:00
  • c0c5a8282d Update packages Jonas Jenwald 2019-10-18 16:42:02 +02:00
  • c54bb222ca
    Merge pull request #11231 from Snuffleupagus/indexObjects-entries-gen Tim van der Meij 2019-10-17 23:56:26 +02:00
  • d0d92d34b0
    Merge pull request #11257 from Snuffleupagus/skipPages Tim van der Meij 2019-10-17 23:55:57 +02:00
  • 90d7d2103e
    Merge pull request #11256 from Snuffleupagus/firefox-rm-addon-l10n Tim van der Meij 2019-10-17 23:45:58 +02:00
  • 2fcb5afc7b Add a fallback for non-embedded *composite* Verdana fonts (issue 11242) Jonas Jenwald 2019-10-15 14:06:54 +02:00
  • 17a3af3fc0 Replace a couple of skipPages annotations with firstPage in test/test_manifest.json Jonas Jenwald 2019-10-17 13:15:59 +02:00
  • f3c5a690fc Remove unnecessary skipPages annotations from test/test_manifest.json Jonas Jenwald 2019-10-17 13:07:16 +02:00
  • b7ddd10741 Update l10n files Jonas Jenwald 2019-10-17 12:22:03 +02:00
  • b663cec383 [Firefox] Stop fetching the chrome.properties files during gulp importl10n (PR 9566 follow-up) Jonas Jenwald 2019-10-17 12:06:07 +02:00
  • 8a057dcf90 [Firefox] Stop building the metadata.inc/chrome.manifest.inc files during gulp locale (PR 9566 follow-up) Jonas Jenwald 2019-10-17 11:39:31 +02:00
  • af61d48899
    Merge pull request #11250 from Snuffleupagus/silence-Autoprefixer-message Tim van der Meij 2019-10-17 00:28:52 +02:00
  • 50573019b1
    Merge pull request #11253 from Snuffleupagus/issue-7156 Tim van der Meij 2019-10-17 00:26:40 +02:00
  • d67a5d395c Avoid handling keyboard shortcuts for contentEditable DOM elements (issue 7156) Jonas Jenwald 2019-10-16 16:50:43 +02:00
  • 171c886570 Silence the Autoprefixer message being printed with all build logs Jonas Jenwald 2019-10-16 13:06:11 +02:00
  • 4d0c759b7f Change variable assignment (#11247) Pedro Luiz Cabral Salomon Prado 2019-10-15 19:39:25 -03:00
  • ecdf1375b8
    Merge pull request #11246 from Snuffleupagus/issue-11245 Tim van der Meij 2019-10-16 00:34:31 +02:00
  • f964cbc961 Tweak the isIOS check, in web/viewer_compatibility, to attempt to support newer Safari versions (issue 11245) Jonas Jenwald 2019-10-15 17:14:29 +02:00
  • ffc847eaa5 Allow over-writing entries, in XRef.indexObjects, only when the generation number matches (issues 11230, 11139, 9552, 9129, 7303) Jonas Jenwald 2019-10-11 20:39:02 +02:00
  • 16ae7c6960
    Merge pull request #11235 from timvandermeij/jsdoc Tim van der Meij 2019-10-13 21:28:18 +02:00
  • ec6a99d781
    Bundle all API documentation in a module Tim van der Meij 2019-10-12 18:33:49 +02:00
  • 92155f6a5f
    Don't include src/shared/util.js for the API documentation Tim van der Meij 2019-10-12 18:37:55 +02:00
  • 9f4d45ddf4
    Don't include private methods in the the PDFPageProxy API documentation Tim van der Meij 2019-10-13 14:28:15 +02:00
  • 36c01c2c2a
    Deduplicate the documentation for PDFDocumentLoadingTask and PDFWorker Tim van der Meij 2019-10-13 14:21:39 +02:00
  • ca3a58f93a
    Consistently use @returns for returned data types in JSDoc comments Tim van der Meij 2019-10-12 18:14:29 +02:00
  • 8b4ae6f3eb
    Consistently use @type for getter data types in JSDoc comments Tim van der Meij 2019-10-12 17:02:54 +02:00
  • f4daafc077
    Consistently use square brackets for optional parameters in JSDoc comments Tim van der Meij 2019-10-12 16:30:32 +02:00
  • efd331daa1
    Consistently use string for string data types in JSDoc comments Tim van der Meij 2019-10-12 15:59:09 +02:00
  • e75991b49e
    Consistently use number for numeric data types in JSDoc comments Tim van der Meij 2019-10-12 15:54:17 +02:00
  • ff37cdb5d7
    Merge pull request #11237 from Snuffleupagus/compatibility-SKIP_BABEL Tim van der Meij 2019-10-13 12:22:22 +02:00
  • 03387ebaa8 Update src/shared/compatibility.js to only run with SKIP_BABEL = false set Jonas Jenwald 2019-10-13 11:33:41 +02:00
  • 4af2755f71
    Merge pull request #11234 from Snuffleupagus/indexObjects-eq-tests Tim van der Meij 2019-10-12 19:27:35 +02:00
  • 259551d144 Convert a number of reference tests, for documents with corrupt XRef tables, from load to eq Jonas Jenwald 2019-10-12 18:15:55 +02:00
  • c701ae3f4c
    Merge pull request #11232 from Snuffleupagus/hasBlendModes-improvements Tim van der Meij 2019-10-12 14:09:53 +02:00
  • bfcbf2d78d Cache processed 'ExtGState's in PartialEvaluator.hasBlendModes to avoid unnecessary parsing/lookups Jonas Jenwald 2019-10-12 11:44:07 +02:00
  • af71f9b40a Inline all the possible type checks in PartialEvaluator.hasBlendModes to avoid unnecessary function calls Jonas Jenwald 2019-10-12 11:24:37 +02:00
  • dcf49ac753
    Merge pull request #11228 from Snuffleupagus/eslint-accessor-pairs Tim van der Meij 2019-10-11 22:25:52 +02:00
  • 4bdf65b89d Enable the ESLint rule accessor-pairs for Classes Jonas Jenwald 2019-10-11 13:28:46 +02:00
  • 00c3339520 Add Create React App example with TypeScript and basic usage Luís Takahashi 2019-10-10 18:25:41 -03:00
  • d20ab76242
    Merge pull request #11218 from Snuffleupagus/loadFont-fallback Tim van der Meij 2019-10-10 23:15:49 +02:00
  • 94171d9d72 Attempt to fallback to a default font, for non-available ones, in PartialEvaluator.loadFont huzjakd 2019-10-02 14:13:49 +02:00
  • d2959fc9c9
    Merge pull request #11219 from Snuffleupagus/throw-deprecated-methods Tim van der Meij 2019-10-09 23:32:22 +02:00
  • 1c0a93aafd
    Merge pull request #11222 from Snuffleupagus/rm-unmaintained-locales Tim van der Meij 2019-10-09 23:30:50 +02:00
  • 307a85901d Remove locales which are unmaintained and/or not shipping in Nightly (PR 11213 follow-up) Jonas Jenwald 2019-10-09 10:10:37 +02:00
  • ea729ec55c [api-minor] Replace all deprecated calls with throwing of actual Errors Jonas Jenwald 2019-10-08 23:25:32 +02:00
  • 5191d10dbc
    Merge pull request #11209 from tamuratak/square_bracket_for_optional Tim van der Meij 2019-10-08 23:25:52 +02:00