331 Commits (b66b705ed7125fa008e3f067b2d3fd8ee11170b2)

Author SHA1 Message Date
Yury Delendik b66b705ed7 Using pre-built code for testing. 8 years ago
Jonas Jenwald 0ddf52aca5 Remove the special handling for `nameddest`s that look like standard pageNumbers 8 years ago
chris.greening cfc2f36f5c Adds additional parameter so background color of canvas can be set 8 years ago
Jonas Jenwald bbe8c3d8ed Enable running a subset of the API unit-tests on Travis 8 years ago
Jonas Jenwald 32baa6af7a Convert the `DOMCMapReaderFactory` to an ES6 class 8 years ago
Jonas Jenwald 7a040c05d7 Wait until `PDFDocumentLoadingTask.destroy` is resolved before calling `done` in the API unit-tests 8 years ago
Jonas Jenwald 3e20d30afc Change the signatures of the `PartialEvaluator` "constructor" and its `getOperatorList`/`getTextContent` methods to take parameter objects 8 years ago
Jonas Jenwald 40feca12c1 Ignore line-breaks between operator and digit in `Lexer.getNumber` 8 years ago
Jonas Jenwald 7560f12a17 Enable the `object-shorthand` ESLint rule 8 years ago
Tim van der Meij 35730148a7
Convert the files in the `/test/unit` folder to ES6 modules 8 years ago
Jonas Jenwald ae04cf1c37 Enable running the `ui_utils` unit-tests on Travis 8 years ago
Jonas Jenwald 84472b30ee Change `getPDFFileNameFromURL` to ignore `data:` URLs for performance reasons (issue 8263) 8 years ago
Yury Delendik 30bee9fe0c Moves Uint32ArrayView and hasCanvasTypedArrays into compatibility.js. 8 years ago
Tim van der Meij e15a2ec523
Annotations: implement support for line annotations 8 years ago
Jonas Jenwald 437104969d Improve the error handling when loading of built-in CMap files fail (PR 8064 follow-up) 8 years ago
Jonas Jenwald 5c0c122a7d Ensure that the `XMLHttpRequest` is `open`ed before attempting to set the `responseType` in the `DOMCMapReaderFactory`, since IE fails otherwise (issue 8193) 8 years ago
Jonas Jenwald e6db75b2ef Use the `DOMCanvasFactory` in the API unit-tests 8 years ago
Jonas Jenwald d37d271afa [api-minor] Reject the `RenderTask` with an actual `Error`, instead of just a `string`, when rendering is cancelled 8 years ago
Jonas Jenwald 6d672c4ba6 [api-minor] Add a `pdfjsNext` parameter, and `PDFJS_NEXT` build flag, to allow backwards incompatible API changes 8 years ago
Tim van der Meij 936d3c0698
Widget annotations: do not crash if `Parent` is not a dictionary 8 years ago
Yury Delendik 39e8ad24f7 Creates 'lib' for the 'dist' build target. 8 years ago
Yury Delendik e7cc07cc11 Moves checkProblematicCharRanges to font_spec.js 8 years ago
Jonas Jenwald 2a7e5b8a54 Support the `newWindow` flag in white-listed `app.launchURL` JavaScript actions (PR 7794 follow-up) 8 years ago
Yury Delendik 5b50e0d414 Replaces RequireJS to SystemJS. 8 years ago
Tim van der Meij 8990de8614
Interactive forms: make choice widget options inheritable (issue 8094) 8 years ago
Jonas Jenwald 9082f08e37 Enable running the `cmap` unit-tests on Travis by utilizing a `NodeCMapReaderFactory` 8 years ago
Jonas Jenwald 111419a64a Cache built-in binary CMap files in the worker (issue 4794) 8 years ago
Jonas Jenwald 769c1450b7 [api-minor] Refactor fetching of built-in CMaps to utilize a factory on the `display` side instead, to allow users of the API to provide a custom CMap loading factory (e.g. for use with Node.js) 8 years ago
Tim van der Meij 9f05a5a211 Interactive forms: unit test for radio buttons without a field value 8 years ago
Jonas Jenwald e416032b38 Prevent browser console errors during testing 8 years ago
Jonas Jenwald bc736fdc7d Adjust the `brace-style` ESLint rule to disallow single lines (and also enable `no-iterator`) 8 years ago
Jonas Jenwald 52e0f51917 Enable the `no-unused-vars` ESLint rule 8 years ago
Jonas Jenwald e88c9c75db Simplify the `FileAttachmentAnnotation` unit-test to avoid having to use the entire API in the test 8 years ago
Jonas Jenwald 7c3a63bae0 Rename `annotation_layer_spec.js` to `annotation_spec.js` since the unit-tests only cover `src/core/annotation.js` functionality 8 years ago
Syed Abdullah 857a5da8f1 Fix inverted calculation of RTL text percentage in bidi. 8 years ago
Jonas Jenwald 642d8621ef Replace direct lookup of `uniquePrefix`/`idCounters`, in `Page` instances, with an `idFactory` containing an `createObjId` method instead 8 years ago
Yury Delendik c45300e06c Enables some unit tests on travis. 8 years ago
porlan1 d9e1cb7955 unit test files as UMD modules 8 years ago
Jonas Jenwald 27513cd23b [api-minor] Ensure that the `getDocument` Promise is rejected if the `loadingTask` is destroyed, or an `Error` is thrown, inside of the `onPassword` callback (issue 7806) 8 years ago
Tim van der Meij a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels 8 years ago
benweet ba012c7a68 Button widget annotations: implement checkboxes and radio buttons 8 years ago
Jonas Jenwald bd91f34513 Ensure that we handle indirect objects in all types of `Opt` entries in `ChoiceWidget` annotation dictionaries 8 years ago
Jonas Jenwald c850968fa7 Remove `globals` that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) 8 years ago
Jonas Jenwald 2f3805efbc Switch to using ESLint, instead of JSHint, for linting 8 years ago
Jonas Jenwald 28e50cfa21 Fix errors reported by the `space-infix-ops` ESLint rule 8 years ago
Jonas Jenwald aae27e76bb Fix errors reported by the `no-multiple-empty-lines` ESLint rule 8 years ago
Jonas Jenwald efbb1e9b1c Fix errors reported by the `new-cap` ESLint rule 8 years ago
Jonas Jenwald 6606540fe4 Fix errors reported by the `func-call-spacing` ESLint rule 8 years ago
Jonas Jenwald ad915f8af1 Fix errors reported by the `comma-spacing` ESLint rule 8 years ago
Jonas Jenwald e53ab844cc Fix errors reported by the `no-useless-concat` ESLint rule 8 years ago