310 Commits (0423bb69e92173f3018adc81fb9b59bee071c987)

Author SHA1 Message Date
Jonas Jenwald 37998076c9 In `display/api.js` ensure that we always reject with an `Error` in `JpegDecode`, and adjust a couple of other rejection sites as well 9 years ago
Tim van der Meij b81d661556 Remove unused globals from fonts unit test file 9 years ago
Jonas Jenwald 088ce6c009 Add a unit-test to check that `ProblematicCharRanges` contains valid entries 9 years ago
Jonas Jenwald 78889646c8 Create a fallback annotation `id` for entries in `Annots` dictionaries that are not indirect objects (issue 7569) 9 years ago
Jonas Jenwald db1526c59e Add unit-tests for asynchronous methods in `primitives.js` 9 years ago
Jonas Jenwald af636aae96 Add a parameter to the `isName` function that enables checking not just that something is a `Name`, but also that the actual `name` properties matches 9 years ago
Jonas Jenwald d70e07fb90 Add more unit-tests for `primitives.js` 9 years ago
Jonas Jenwald 558a22cd02 Prevent errors when parsing Annotations with missing (or invalid) /Subtype entries (issue 7446) 9 years ago
Jonas Jenwald f297e4d17c [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that controls whether `PartialEvaluator_getTextContent` will attempt to combine same line text items 9 years ago
Jonas Jenwald 72c1df726e Add a `getAttachments` unit-test for a PDF file that actually contains attachments 9 years ago
Jonas Jenwald 6260fc09a3 Attempt to recover valid `format 3` FDSelect data from broken CFF fonts (bug 1146106) 9 years ago
Jonas Jenwald 98fe094d18 Let non-viewable Popup Annotations inherit the parent's Annotation Flags if the parent is viewable 9 years ago
Jonas Jenwald b354682dd6 [api-minor] Let `LinkAnnotation`/`PDFLinkService_getDestinationHash` return a stringified version of the destination array for explicit destinations 9 years ago
Jonas Jenwald 01ab15a6f1 [api-minor] Let `Catalog_getPageIndex` check that the `Ref` actually points to a /Page dictionary 9 years ago
Jonas Jenwald c5c5a2a71f Add basic unit-tests for unicode.js 9 years ago
Tim van der Meij 6a7012aaca Remove unused variables 9 years ago
Jonas Jenwald c9b6de3b16 Prevent adding invalid values in `CFFDict_setByKey` (bug 1068432) 9 years ago
Jonas Jenwald 29c4a604af Split the font_spec.js unit-tests into cff_parser_spec.js and type1_parser_spec.js 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Jonas Jenwald b4a17323b6 Move `isDict` unit-tests from util_spec.js to primitives_spec.js 9 years ago
Jonas Jenwald 4523ae0b91 Add a couple of `CipherTransformFactory` unit-tests to check that blank passwords are correctly rejected 9 years ago
Jonas Jenwald 171f908b89 Add a couple of `LinkAnnotation` unit-tests 9 years ago
Prakash Palanisamy a25c29d98d Remove `combineUrl` and replace it with `new URL`. 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 9 years ago
Yury Delendik 879340d741 Removes hijack describe() hack from unit tests. 9 years ago
Jonas Jenwald c4e21c93a2 Use `beforeAll`/`afterAll` in font_spec.js (issue 6905) 9 years ago
Jonas Jenwald b0ce83b372 Use `beforeAll`/`afterAll` in `CipherTransformFactory` in crypto_spec.js (issue 6905 9 years ago
Jonas Jenwald f59c3a0644 Remove the remaining usages of `new {Name,Cmd}` in favor of `{Name,Cmd}.get` 9 years ago
Jonas Jenwald c6c5b8fab8 Use `beforeAll`/`afterAll` in `isExternalLinkTargetSet` in dom_utils_spec.js (issue 6905) 9 years ago
Jonas Jenwald ef551e8266 Extract `Type1Parser` from fonts.js 9 years ago
Jonas Jenwald b961e1d21b Extract `CFFParser` from fonts.js (issue 6777) 9 years ago
Jonas Jenwald 7163e1eff3 Faster unit-tests by using `beforeAll`/`afterAll` in api_spec.js 9 years ago
Jonas Jenwald ac772017b6 Add unit-tests for destionations in /Names (NameTree) dictionaries where all entries are indirect objects 9 years ago
Yury Delendik 0a700fa29d Updates Jasmine version. 9 years ago
Yury Delendik a8e5912cb1 Moves shared/global to display/global 9 years ago
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 9 years ago
Manas f6d28ca323 Refactors CMapFactory.create to make it async 9 years ago
Tim van der Meij 0351c7eff4 Move the `getFileName` helper function to the core 9 years ago
Tim van der Meij 10902fd882 Implement unit and reference testing for FileAttachment annotations 9 years ago
Yury Delendik 0d591719d9 Makes PDF data reading Streams API friendly. 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
Tim van der Meij 5bcf4c1895 Destroy workers when they are no longer needed in the unit tests 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 0030a82dc3 [api-minor] Add support for URLs in the document outline 9 years ago
Brendan Dahl eb7c36beb6 Add validation for callsubr and callgsubr for type 2 charstrings. 9 years ago
Jonas Jenwald 97c10e9c08 Strip `null` (\x00) characters from the URLs in LinkAnnotations (issue 6832) 9 years ago
Yury Delendik 85e95d34ed Use RequireJS in the viewer, examples and tests. 9 years ago
Yury Delendik 6b60c8f4db Adds UMD headers to core, display and shared files. 9 years ago