Mack Duan
2ce00279be
Address more of brendan's comments
12 years ago
Mack Duan
dbccbaaa27
Make getOperatorList() calls independent and merge queues at end
12 years ago
Mack Duan
6b2c6fc223
Changes to regression tests for progressive loading
12 years ago
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
12 years ago
Brendan Dahl
0f41b2db44
Fix priority of which font encoding is used.
12 years ago
Brendan Dahl
028151d13a
Restructure/rewrite of the Type1 font parser.
12 years ago
Yury Delendik
8ee193892b
Seac support for Windows
12 years ago
Yury Delendik
95e5429707
Fixes getString
12 years ago
Yury Delendik
81f8f92696
Adds web/* and test/* for jshint target
12 years ago
vyv03354
a254de86fb
CFF parser didn't count hints defined by hstem/vstem
12 years ago
mduan
5ab3bb1e03
Skip commands that have too few arguments
...
- Commands that have too few args will be skipped
- Commands that have too many args will generate an info, but still
execute
12 years ago
Brendan Dahl
a79f005527
Fix isDict when type is missing in dictionary.
12 years ago
mduan
eb8f4e8343
Handle some illegal characters in hex string
...
Do not throw exception when hex strings are in the wrong format
Currently pdf.js is throwing an exception for the following hex string:
`<7 0 2 15 5 2 2 2 4 3 2 4>`
The issue is that the 15 is not a valid hex character so pdf.js ends up
throwing an exception.
This diff changes the parser to process the above hex string as follow:
`70 21 55 2 24 32` (Note: the final 4 of the hex string is ignored)
replicating the behaviour of MuPDF, and doesn't throw an exception.
12 years ago
khodzha
18da086b96
fix of combineUrl(baseUrl, url) in case of url - null, empty, undefined + unittests
13 years ago
Yury Delendik
4c0f9eb924
Fixes getNumber at the end of stream
13 years ago
Brendan Dahl
66563d0f95
Increase wait timeout for api unit tests.
13 years ago
Yury Delendik
e32ecc44d3
Fixes CFF test and CFF int16 parsing
13 years ago
Yury Delendik
0dd445bf18
Fixes unit tests and adds few for util.js
13 years ago
Yury Delendik
43f1946c7a
Add prefixes for literals
13 years ago
Yury Delendik
ec6c185cf5
Allow parsing of the "glued" commands
13 years ago
Yury Delendik
910ba0b91f
Fixes user and owner passwords logic
13 years ago
Yury Delendik
324b867183
Adds evaluator tests
13 years ago
Yury Delendik
f7ccb291f4
Fix broken metadata
13 years ago
Brendan Dahl
909951d975
Allow time to finish requests.
13 years ago
Brendan Dahl
5f17d881a9
Fix nit.
13 years ago
Brendan Dahl
e18a2c512e
Use test.py for unit tests too.
13 years ago
Brendan Dahl
e5732f489d
Handle junk at the end of postscript functions.
13 years ago
Brendan Dahl
19c0c6a983
Add back other unit tests. Disable worker.
13 years ago
Brendan Dahl
3925e37417
Add basic api unit testing.
13 years ago
Brendan Dahl
1a1767ce82
Fix lint.
13 years ago
Brendan Dahl
386ea373a5
Add font spec to the unit test list.
13 years ago
Brendan Dahl
ce53b1b018
CFF Parser and Compiler.
13 years ago
Adil Allawi
b50cf76ab5
Properly integrate new file bidi.js
13 years ago
Kalervo Kujala
58107b1958
Add crypto and stream specs to test runner configuration.
13 years ago
Kalervo Kujala
91c935180e
Use correct default rule for unit test.
13 years ago
Kalervo Kujala
aeaaea35a8
Create debug option for the unit test makefile.
13 years ago
notmasteryet
50a16573ad
Add unit tests for calculateMD5, ARCFourCipher, and PredictorStream
13 years ago
Kalervo Kujala
f975f929f5
Add Unit tests for RefSet.
13 years ago
Kalervo Kujala
075d2d9cbf
Add new unit tests to jsTestDriver.conf.
13 years ago
Kalervo Kujala
678b7dcd04
Use absolute paths in profiles for unit test.
13 years ago
Kalervo Kujala
71494bbab5
Find profile dirs in a better way for unit test.
13 years ago
Kalervo Kujala
d2a67eda78
Separate browsers correctly with newlines.
...
Also simplify $$RANDOM handling.
13 years ago
Brendan Dahl
9de52f375d
Fix idiv and cvi. Add test case for idiv.
14 years ago
Brendan Dahl
6afb49c6c6
Address Yury's PR comments.
14 years ago
Brendan Dahl
20dace0513
Switch to a single "code stack".
14 years ago
Kalervo Kujala
0e2fb810c5
Refactor obj.js unit tests to be aligned with code.
14 years ago
Brendan Dahl
27b0d0c941
Switch to two arrays for instructions.
14 years ago
Kalervo Kujala
84d6a121af
Add basic unit tests for obj.js.
14 years ago
Kalervo Kujala
58a2919ef7
Separate unit test Makefile commands to separate variables for readability.
...
Also add more debug info for the make.
14 years ago
Brendan Dahl
971f35d165
Add unit files to lint, fix lint errors.
14 years ago