74 Commits (8adddf031c2cf47c46f947c0c8f265af01ae03cf)

Author SHA1 Message Date
Jonas Jenwald e281ef15db Adjust incorrect first obj number of "free" xref entry in `XRef_readXRefTable` (issue 7229) 9 years ago
Tim van der Meij 6a33dfd13a Implement support for FileAttachment annotations 9 years ago
Jonas Jenwald 7cf9de2c17 [api-minor] Change `getOutline` to actually return the RGB color of outline items 9 years ago
Jonas Jenwald 98db068079 Reduce the overall indentation level in `Catalog_readDocumentOutline`, by using early returns, in order to improve readability 9 years ago
Yury Delendik 2edf2792dc Replaces literal {} created lookup tables with Object.create 9 years ago
Jonas Jenwald 1140a34f5c [api-minor] Change `getPageLabels` to always return the pageLabels, even if they are identical to standard page numbering 9 years ago
Jonas Jenwald 85cf90643f [api-minor] Add support for PageLabels in the API 9 years ago
Jonas Jenwald 8ad18959d7 Add support for NumberTree 9 years ago
Jonas Jenwald 0030a82dc3 [api-minor] Add support for URLs in the document outline 9 years ago
Yury Delendik 6b60c8f4db Adds UMD headers to core, display and shared files. 9 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Yury Delendik 59c13b32aa Adds destroy method to the document loading task. 10 years ago
Jonas Jenwald 49883439a5 Ensure that `Dict_getArray` doesn't fail if `xref` in undefined (PR 6485 follow-up) 10 years ago
Jonas Jenwald 9b12c64be5 Cache the regular expression used for finding `obj`s in `XRef_indexObjects`, to avoid unnecessary allocations 10 years ago
Jonas Jenwald 192907e0d2 Make `XRef_indexObjects` even more robust against bad PDF files, by checking for the existence of 'trailer' if 'xref' is not found 10 years ago
Jonas Jenwald 75557d27d1 Add `getArray` method to `Dict` 10 years ago
Jonas Jenwald 56a43a3181 Make `XRef_indexObjects` more robust against bad PDF files (issue 5752) 10 years ago
Rob Wu c676ecb5a0 Detect scripted auto-print requests 10 years ago
Jonas Jenwald 28f40b1b58 Fetch all indirect objects (i.e. `Ref`s) in `NameTree_getAll` and `NameTree_get` (issue 6204) 10 years ago
Rob Wu fd29bb0c57 Subtract start offset for xrefs in recovery mode 10 years ago
Jonas Jenwald 7df78f997e Slightly more efficient `getDestination` 10 years ago
Jonas Jenwald 940bedf75f Add a unit-test that attempts to fetch a non-existent named destination 10 years ago
Jonas Jenwald a28ed7c834 Always traverse the entire parent chain in Page_getInheritedPageProp (issue 5954) 10 years ago
Jonas Jenwald 760222cf0b Handle the Encoding being a dictionary in PartialEvaluator_preEvaluateFont (bug 1157493) 10 years ago
Jordan Thoms d0ea772fc6 Fix error reading concatenated pdfs 10 years ago
Jonas Jenwald 888cbe0bde Avoid getting stuck in empty nodes in the Pages tree when calling |Catalog_getPageDict| (issue 5644) 10 years ago
Collin Anderson 54e984c763 cleaned whitespace 10 years ago
Tim van der Meij aaa1f2cb11 Implemented NameTree.get() using binary search 11 years ago
Tim van der Meij b215af30d3 Require destinations when they are needed and do not fetch all of them in advance 11 years ago
Jonas Jenwald 06b5d97bc6 Remove two instances of leftover console.log debug statements 11 years ago
Yury Delendik cc180d7e2b Removes some bind() calls from fetchAsync 11 years ago
Jonas Jenwald ee0c0dd8a9 Add strict equalities in src/core/obj.js 11 years ago
Nicholas Nethercote 856e1c600b Optimize Ref_toString(). 11 years ago
Nicholas Nethercote 1ad3ffbc7b Factor out repeated Ref key string generation code. 11 years ago
Yury Delendik 623fa29300 Removes error catch from fetchUncompressed() 11 years ago
Yury Delendik 0cd28ebfa3 Telemetry for used stream and font types 11 years ago
Fabian Lange 532d7246ea add object id to streams to prevent infinite loops. 11 years ago
Yury Delendik b20b404061 Fixes typo in getAsync 11 years ago
koderok 81d3f4a89b merged with earlier commits 11 years ago
Yury Delendik f4baea900e Fixes regression in the cleanup 11 years ago
Yury Delendik e5a0d89da9 Refactors loadFont for translateFont be async; fixes type3 dup data 11 years ago
Yury Delendik d8eb8b1de1 Adds Promise to the getOperatorList 11 years ago
Jonas Jenwald a984fe5b55 Add more unit tests for the API 11 years ago
Jonas Jenwald c68ffcf978 Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations 11 years ago
Tim van der Meij 6b9aeb34f1 Fixes rendering of PDFs with nested trailer dictionary 11 years ago
Pramodh KP 8616b2ccf3 Remove LegacyPromise from src/core/obj.js 11 years ago
Samuel Chantaraud 25ee0e8572 Preliminary attachments support 11 years ago
Rob Wu 2e97c0d085 Remove some unused variables from src/ 11 years ago
Joshua T Kalis 5828b2c687 Refactor - remove redundant function and all references 11 years ago
Tim van der Meij dd3df20a88 Makes PDF files load when xrefEntry is undefined 11 years ago