Jonas Jenwald
c5c5a2a71f
Add basic unit-tests for unicode.js
...
Re: issue 7261.
9 years ago
Jonas Jenwald
29c4a604af
Split the font_spec.js unit-tests into cff_parser_spec.js and type1_parser_spec.js
...
Re: issue 7261.
Given the we have `gulp fonttest`, which tests the `fonts.js` functionality at a higher level, and that we have *a lot* of font specific reference tests, I'm not convinced that we *also* need unit-tests for it.
9 years ago
Yury Delendik
006e8fb59d
Introduces UMD headers to the web/ folder.
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
Yury Delendik
0d591719d9
Makes PDF data reading Streams API friendly.
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
Tim van der Meij
91274d6d2d
Rename annotation_helper.js to annotation_layer.js
10 years ago
Yury Delendik
56ccaea99b
Move text layer building logic into src/display/text_layer.js
10 years ago
Yury Delendik
2f34fd46cb
Move CustomStyle.
10 years ago
Yury Delendik
59c13b32aa
Adds destroy method to the document loading task.
...
Also renames PDFPageProxy.destroy method to cleanup.
10 years ago
Tim van der Meij
6007a57291
Add tests and documentation for the annotation border style class
...
This patch adds:
- Unit tests for the annotation border style class
- Regression test (self-made) for the annotation border style class
- Documentation generation using JSDoc
10 years ago
fkaelberer
a78bb6b946
Use binary search in getVisibleElements()
10 years ago
Collin Anderson
54e984c763
cleaned whitespace
10 years ago
Jonas Jenwald
b201cc4940
Remove the remaining references to cidmaps.js from the test suite
11 years ago
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
11 years ago
Yury Delendik
fcc4dfd9b5
Moves shared/function.js to core/
11 years ago
Yury Delendik
7a19085159
Moves shared/colorspace.js into core/
11 years ago
Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
11 years ago
Thorben Bochenek
e8f0700bfa
Move the colour conversion to jpg.js
...
Benchmarking shows that this improves performance for the invitation document
from https://github.com/mozilla/pdf.js/issues/3809 by 35%
11 years ago
Yury Delendik
f57c6935d7
Implements WebGL support
11 years ago
Yury Delendik
e9327050c3
Basic function.js split
11 years ago
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
11 years ago
Brendan Dahl
f32e65b19f
Read multi-byte character codes based on codespace ranges.
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Mack Duan
f8f4b3f45d
Refactor code for annotations
12 years ago
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
12 years ago
Yury Delendik
4c0f9eb924
Fixes getNumber at the end of stream
13 years ago
Yury Delendik
0dd445bf18
Fixes unit tests and adds few for util.js
13 years ago
Yury Delendik
324b867183
Adds evaluator tests
13 years ago
Yury Delendik
f7ccb291f4
Fix broken metadata
13 years ago
Brendan Dahl
e18a2c512e
Use test.py for unit tests too.
13 years ago
notmasteryet
50a16573ad
Add unit tests for calculateMD5, ARCFourCipher, and PredictorStream
13 years ago
Brendan Dahl
1089c30b56
Adding type4 postscript function support.
14 years ago
Kalervo Kujala
190432f252
Remove unit_test.html.
...
JsTestDriver has made it obsolete. Also add explicitly the used config to
the Makefile.
14 years ago
Kalervo Kujala
624a7a74ea
Add jasmine files to external-directory.
14 years ago
Kalervo Kujala
c2dd452342
Create first unit test in Jasmine unit test framework.
...
To run the unit test open pdf.js/test/unit/unit_test.html in your browser.
This requires that https://github.com/pivotal/jasmine is cloned to the same
directory level as pdf.js.
14 years ago