Yury Delendik
1e3e14e6b2
Exposes all functional members via lib exports and use them in viewer.
9 years ago
Yury Delendik
1d12aed5ca
Move all PDFJS.xxx settings into display/global.
9 years ago
Tim van der Meij
bc8df673a6
Merge pull request #7164 from Snuffleupagus/issue-6905-dom_utils_spec
...
Use `beforeAll`/`afterAll` in `isExternalLinkTargetSet` in dom_utils_spec.js (issue 6905)
9 years ago
Yury Delendik
6123c0367f
Merge pull request #7169 from yurydelendik/jspm-format
...
Specifies package format for jspm.
9 years ago
Yury Delendik
38c41d86c6
Specifies package format for jspm.
9 years ago
Manas
6878d7c6d3
Disables zooming when the stream of events that don't have meta/ctrl
...
keys active at the outset, for 1000ms
9 years ago
Jonas Jenwald
c6c5b8fab8
Use `beforeAll`/`afterAll` in `isExternalLinkTargetSet` in dom_utils_spec.js (issue 6905)
...
Re: issue 6905.
9 years ago
Tim van der Meij
911a2ca1c6
Merge pull request #7158 from timvandermeij/readme
...
Update Webpack and Browserify example README files
9 years ago
Tim van der Meij
b293d1caf5
Update Webpack and Browserify example README files
...
Previously the commands were not properly parsed as such by GitHub
because they need to be indented with four spaces.
Furthermore, address some minor textual nits.
9 years ago
Yury Delendik
6c9f418aae
Merge pull request #7150 from yurydelendik/browserify
...
Initial browserify example.
9 years ago
Yury Delendik
47688b655a
Merge pull request #7144 from yurydelendik/mv-viewer-2
...
Prepare viewer.js for async loading and module separation.
9 years ago
Yury Delendik
f9a0dc1188
Merge pull request #7114 from dhuseby/Bug_1237908
...
[Bug 1237908] Make pdf.js use the correct principal origin attributes when loading …
9 years ago
Dave Huseby
867a5ea1b0
Make pdf.js use the correct principal origin attributes when loading subresources.
9 years ago
Yury Delendik
d7d7935648
Initial browserify example.
9 years ago
Yury Delendik
2dd03e1785
Merge pull request #7148 from yurydelendik/force-cjs-path
...
Forces UMD header to have relative path and extension for CommonJS.
9 years ago
Yury Delendik
118b71925c
Forces UMD header to have relative path and extension for CommonJS.
9 years ago
Yury Delendik
34aa915441
Merge pull request #7146 from Snuffleupagus/extract-CFFParser
...
Extract CFFParser and Type1Parser from fonts.js
9 years ago
Yury Delendik
055d642bf2
Merge pull request #7107 from Rob--W/worker-loading
...
Detect premature worker load error
9 years ago
Rob Wu
c8996f654f
Detect and handle premature worker load error
...
Fall back to a fake worker if the worker fails to load or initialize,
e.g. due to a network error, a security error or simply a script error.
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
Yury Delendik
313b418a20
Prepare viewer.js for async loading and module separation.
9 years ago
Yury Delendik
b371785fbb
Rename web/viewer.js -> web/app.js
9 years ago
Yury Delendik
a250c150ab
Merge pull request #7134 from yurydelendik/circ-stream-colorspace
...
Refactors to remove stream.js dependency on colorspace.js
9 years ago
Yury Delendik
ff3ce973b8
Merge pull request #7106 from Snuffleupagus/issue-7101
...
Keep track of the character to glyph mapping in font_renderer.js, to prevent errors when different characters point to the same glyph (issue 7101)
9 years ago
Yury Delendik
35cbf74b12
Refactors to remove stream.js dependency on colorspace.js
9 years ago
Brendan Dahl
13d440df61
Merge pull request #7078 from Snuffleupagus/refactor-toFontChar-without-file
...
Refactor the building of `toFontChar` for non-embedded fonts
9 years ago
Brendan Dahl
8910cea7d6
Merge pull request #7066 from Snuffleupagus/Type1-headerBlockLength
...
Parse Type1 font files to determine the various `Length{n}` properties, instead of trusting the PDF file (issue 5686, issue 3928)
9 years ago
Jonas Jenwald
05cf709f8e
Parse Type1 font files to determine the various `Length{n}` properties, instead of trusting the PDF file (issue 5686, issue 3928)
...
Fixes 5686.
Fixes 3928.
9 years ago
Jonas Jenwald
c40df8a393
Make `Type1Font` more class-like, by adding closure
...
*Note:* Ignoring whitespace should simplify reviewing a great deal.
9 years ago
Yury Delendik
447c48ea27
Merge pull request #7133 from Snuffleupagus/faster-unittests-beforeAll-afterAll
...
Faster unit-tests by using `beforeAll`/`afterAll` in api_spec.js
9 years ago
Jonas Jenwald
7163e1eff3
Faster unit-tests by using `beforeAll`/`afterAll` in api_spec.js
...
In the API unit-tests, we're currently loading the `basicapi.pdf` before every sub-test in `PDFDocument` and `Page`, which slows down the unit-tests quite a bit.
Locally this patch reduces the run time for `gulp unittest` by at least 40% for me.
9 years ago
Jonas Jenwald
17aaa125df
Keep track of the character to glyph mapping in font_renderer.js, to prevent errors when different characters point to the same glyph (issue 7101)
...
Fixes 7101.
9 years ago
Yury Delendik
bec4891f5d
Merge pull request #7102 from brendandahl/onerror
...
Log uncaught global errors.
9 years ago
Tim van der Meij
6d2b195857
Merge pull request #7128 from Snuffleupagus/issue-6204-unittest
...
Add unit-tests for destionations in /Names (NameTree) dictionaries where all entries are indirect objects
9 years ago
Brendan Dahl
4e2f70440f
Merge pull request #6711 from yurydelendik/errors
...
Better errors capturing at the core and stop rendering on error.
9 years ago
Jonas Jenwald
ac772017b6
Add unit-tests for destionations in /Names (NameTree) dictionaries where all entries are indirect objects
...
Re: issue 6204 and PR 6208.
9 years ago
Yury Delendik
df0cbccfd8
Merge pull request #7129 from yurydelendik/jasmine
...
Updates Jasmine version.
9 years ago
Yury Delendik
0a700fa29d
Updates Jasmine version.
9 years ago
Tim van der Meij
553928c26e
Merge pull request #7118 from Snuffleupagus/issue-7115
...
Prevent failures in the Annotation code if the `Rect` array contains indirect objects (issue 7115)
9 years ago
Yury Delendik
27dd386248
Merge pull request #7122 from Snuffleupagus/issue-7117
...
Allow unit-tests to use linked PDF files, by having the `unittest` command download unavailable ones (issue 7117)
9 years ago
Jonas Jenwald
8f097abb46
Allow unit-tests to use linked PDF files, by having the `unittest` command download unavailable ones (issue 7117)
9 years ago
Jonas Jenwald
13d7a5070e
Prevent failures in the Annotation code if the `Rect` array contains indirect objects (issue 7115)
...
Note that in the PDF files provided by the reporter, this issue was limited to `Rect` arrays in AcroForm entries (which we currently don't support).
However, since a bad PDF generator could create this problem in *any* kind of annotation, the reduced test-case included here uses a simple LinkAnnotation instead.
Fixes 7115.
9 years ago
Brendan Dahl
df7afcf004
Merge pull request #7053 from yurydelendik/rm-pdfjs-core
...
Removes global PDFJS usage from the src/core/.
9 years ago
Yury Delendik
c22c85f8ee
Merge pull request #7113 from yurydelendik/disable-issue6961
...
Disables issue6961 test.
9 years ago
Yury Delendik
a505aa8e90
Disables issue6961 test.
9 years ago
Jonas Jenwald
b589add2b5
Update l10n files
9 years ago
Brendan Dahl
7aa864db3e
Merge pull request #7108 from yurydelendik/frontWindow-null
...
Removes frontWindow usage from the stream converter.
9 years ago
Yury Delendik
2b246192e1
Removes frontWindow usage from the stream converter.
9 years ago
Tim van der Meij
da8e345d14
Merge pull request #7005 from tobytailor/master
...
Fixes insertion of blank pages during print if page sizes differ
9 years ago