60 Commits (ef85685803c360f2e16460153940d1a6ac1083ad)

Author SHA1 Message Date
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
Tim van der Meij f463f96f35 Resolving new lint issues 11 years ago
Tim van der Meij df91acf239 Fixes lint warning W004 in src/core 11 years ago
Christian Krebs 79f34b183c Treat fonts with the same font descriptor, encoding and unicode map as aliases 11 years ago
Yury Delendik 31f081ae17 Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage 11 years ago
Tim van der Meij 284288f1d0 Making src/core/{image,obj,parser}.js adhere to the style guide 11 years ago
Tim van der Meij 026c45e5d1 Start counting from actual beginning of PDF file 11 years ago
Thorben Bochenek f2f713bf15 Refactor XRef in obj.js 11 years ago
Nicholas Nethercote fdb7c218da Use a cache to minimize the number of Name objects. 11 years ago
Yury Delendik 754e000907 Fixes and refactors log functionality 11 years ago
Yury Delendik 5bf3e44e30 Introduces LegacyPromise; polyfills DOM Promise 11 years ago
Yury Delendik 98ebf57144 Index objects if Prev xref was not found 12 years ago
Yury Delendik e712c4136a Cleaning up fonts when viewer is idle for some time 12 years ago