Brendan Dahl
20dace0513
Switch to a single "code stack".
2011-12-29 13:41:54 -08:00
Brendan Dahl
2e82588145
Adds the missing test pdf to the manifest.
2011-12-29 12:39:00 -08:00
Brendan Dahl
7c8445753d
Merge upstream.
2011-12-29 12:37:15 -08:00
Kalervo Kujala
0e2fb810c5
Refactor obj.js unit tests to be aligned with code.
2011-12-29 14:06:06 +02:00
Brendan Dahl
93283fdcc3
Add test pdf for type4 postscript functions.
2011-12-28 21:23:17 -08:00
Brendan Dahl
27b0d0c941
Switch to two arrays for instructions.
2011-12-28 20:08:18 -08:00
Kalervo Kujala
84d6a121af
Add basic unit tests for obj.js.
2011-12-28 23:20:04 +02:00
Kalervo Kujala
58a2919ef7
Separate unit test Makefile commands to separate variables for readability.
...
Also add more debug info for the make.
2011-12-27 23:58:26 +02:00
Brendan Dahl
971f35d165
Add unit files to lint, fix lint errors.
2011-12-23 21:19:15 -08:00
Brendan Dahl
1089c30b56
Adding type4 postscript function support.
2011-12-23 19:41:12 -08:00
notmasteryet
d7754a402e
Correct stroke width for text; convert intel-load test to eq-test
2011-12-22 17:43:14 -06:00
Kalervo Kujala
43b57f9e49
Add debug logging to unit test Makefile.
2011-12-22 22:33:16 +02:00
Kalervo Kujala
d741a8a7aa
Set the Makefile variables correctly for unit test.
2011-12-21 01:21:15 +02:00
Kalervo Kujala
3a55c1c8b9
Create the profile directories beforehand for unit test.
2011-12-21 01:15:51 +02:00
Brendan Dahl
ee4504c3bf
Change test case.
2011-12-18 17:28:25 -08:00
notmasteryet
a52aacab5a
Fix the text layer testing
2011-12-18 16:15:53 -06:00
Brendan Dahl
cf31eb4544
Add test case for smasks.
2011-12-16 10:54:31 -08:00
Kalervo Kujala
86663408f0
Use simpler sed and random temp profile names for unit test.
2011-12-16 00:23:23 +02:00
Kalervo Kujala
75c9286a20
Add unit test support for Google Chrome for Windows.
2011-12-15 00:55:00 +02:00
Kalervo Kujala
be2e7a7a9c
Add profile handling for the unit test.
2011-12-15 00:51:10 +02:00
Brendan Dahl
c2b91f1272
Merge upstream.
2011-12-14 13:41:36 -08:00
notmasteryet
fb3a9a9828
Add reftest for issue #918
2011-12-12 21:42:39 -06:00
Brendan Dahl
3f8ba7d56a
Merge upstream.
2011-12-12 15:34:11 -08:00
Brendan Dahl
94a48cab82
Address Julian's comments.
2011-12-12 15:09:05 -08:00
Kalervo Kujala
190432f252
Remove unit_test.html.
...
JsTestDriver has made it obsolete. Also add explicitly the used config to
the Makefile.
2011-12-12 22:31:10 +02:00
Kalervo Kujala
1c2bb4ace7
Remove unit-test from 'make test' and add Aurora to the paths on mac.
2011-12-12 22:12:33 +02:00
Kalervo Kujala
0e46928f36
Use paths to binaries for Mac in unit test makefile.
2011-12-11 14:18:40 +02:00
notmasteryet
315b089b28
( #919 ) Fixing toUnicode mapping for TrueType fonts with identity mapping
2011-12-09 21:21:58 -06:00
Brendan Dahl
853f16085f
Merge pull request #909 from notmasteryet/tree-45
...
Fixing TrueType code-glyph assigmnent to pass sanitizer
2011-12-09 17:22:47 -08:00
notmasteryet
ade4438537
Suppress messages from the browser
2011-12-08 20:51:12 -06:00
notmasteryet
fa89ebe537
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into issue-863
...
Conflicts:
test/pdfs/.gitignore
2011-12-08 19:22:44 -06:00
notmasteryet
54c31968e7
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into issue-863
2011-12-08 19:20:33 -06:00
notmasteryet
303f5cd07b
Add bad PDF with lots of extra bytes at the end
2011-12-08 19:17:24 -06:00
Artur Adib
7ea770fd08
Merge pull request #911 from notmasteryet/issue-906
...
(#906 ) fixing glyph width defined by glyph name
2011-12-08 07:02:23 -08:00
notmasteryet
301a6795db
( #906 ) fixing glyph width defined by glyph name
2011-12-07 23:30:48 -06:00
notmasteryet
d4e22f5a92
Clear canvas for skipped pages
2011-12-07 22:07:34 -06:00
notmasteryet
fa18c8022e
remove glyph references outside range of avaialable glyphs
2011-12-07 21:38:34 -06:00
notmasteryet
18db087f79
Fixing TrueType code-glyph assigmnent to pass sanitizer
2011-12-07 20:59:44 -06:00
notmasteryet
bf38918782
adds geothermal.pdf test
2011-12-06 22:33:59 -06:00
Artur Adib
9eae90a1ba
Merge pull request #885 from notmasteryet/issue-884
...
(#884 ) Use unicode mapping cmap when simple identity cmap was originally used
2011-12-06 11:59:07 -08:00
Artur Adib
bf755f459e
Merge pull request #870 from notmasteryet/issue-867
...
(#867 ) Set Type3 font encoding; enable text selection testing
2011-12-06 10:12:56 -08:00
Artur Adib
54c49fd742
Removed duplicate md5
2011-12-06 10:33:18 -05:00
notmasteryet
b8a5d6b8a7
Use unicode mapping cmap when simple identity cmap was originally used
2011-12-05 20:42:39 -06:00
notmasteryet
5909830d43
Fixing the textLayer parameter
2011-12-05 17:19:43 -06:00
notmasteryet
3ea81bf0a6
( #867 ) Set Type3 font encoding; enable text selection testing
2011-12-04 13:51:12 -06:00
Brendan Dahl
e0c231eec7
Merge upstream and change to error parameter for callback.
2011-12-02 10:19:43 -08:00
notmasteryet
05c1f68d68
Add PDF from the #840 to the reference tests
2011-12-02 06:55:04 -06:00
notmasteryet
73bf5d7b65
Add paperine test
2011-11-29 22:22:30 -06:00
Brendan Dahl
f0bb73e9e8
Add test case.
2011-11-29 15:47:53 -08:00
Brendan Dahl
d6925b13ba
Adding new errorback and code to display error messages.
2011-11-28 16:55:09 -08:00
Kalervo Kujala
168e5db2fd
Add unit test files to lint.
...
And fix the lint warnings from obj_spec.js.
2011-11-26 20:35:46 +02:00
Kalervo Kujala
27ba65dc6f
Add unit-test to master Makefile.
...
And add unit-test to test-target. Also fetch the paths to browsers that are
going to be used in testing from the browser_manifest.json.
2011-11-26 20:24:39 +02:00
Kalervo Kujala
1a119bcb08
Make unit tests runnable from command line.
2011-11-24 00:03:17 +02:00
Brendan Dahl
faa202df1e
Merge upstream and change test pdf file.
2011-11-22 10:39:26 -08:00
notmasteryet
2829e8016a
Merge pull request #794 from brendandahl/devicen
...
DeviceN Colorspace and Multidimensional Sampling Function Support
2011-11-22 09:42:53 -08:00
Brendan Dahl
f90cdcf0cd
Update md5.
2011-11-22 09:06:53 -08:00
notmasteryet
a191511c18
test fbf
2011-11-21 23:00:45 -06:00
Brendan Dahl
408dd5d403
Replace devicen file with an example we can include.
2011-11-21 17:20:23 -08:00
Julian Viereck
f06325ea61
Merge pull request #800 from kkujala/test
...
Create first unit test in Jasmine unit test framework.
2011-11-21 12:17:18 -08:00
Artur Adib
1e64223113
Removed fbf from test_manifest
2011-11-21 13:44:30 -05:00
Artur Adib
f00e3ff154
blah
2011-11-21 09:26:19 -05:00
Artur Adib
4c15c98524
test
2011-11-21 09:17:44 -05:00
Kalervo Kujala
624a7a74ea
Add jasmine files to external-directory.
2011-11-20 21:16:47 +02:00
Kalervo Kujala
94a64eece9
Merge remote-tracking branch 'upstream/master' into test
2011-11-20 20:03:11 +02:00
Artur Adib
beb310708d
Merge pull request #797 from notmasteryet/tree-41
...
Warn (not fail) during MD5 verification, new MD5 for intelisa and f1040
2011-11-18 10:55:09 -08:00
Brendan Dahl
b150f8be0d
Remove the open web link file for now.
2011-11-16 15:18:31 -08:00
Brendan Dahl
564fe0d907
Remove open web pdf until we can resolve the performance issues.
2011-11-16 15:16:04 -08:00
Brendan Dahl
29c21843d6
Nits
2011-11-15 15:45:37 -08:00
Brendan Dahl
9830cb935e
Fix two memory leaks.
2011-11-15 14:43:05 -08:00
notmasteryet
3965185683
change the ERROR to WARNING; a message saying how to resolve these warnings
2011-11-14 21:08:36 -06:00
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.
2011-11-13 21:39:56 +02:00
notmasteryet
0499eb58be
Warn (not fail) during MD5 verification, new MD5 for intelisa and f1040
2011-11-12 11:27:49 -06:00
Brendan Dahl
543e3377de
Adding multi dimensional interpolation and test file.
2011-11-11 14:44:47 -08:00
Julian Viereck
99254891e6
Disable work on firefox using feature detection
2011-11-10 18:38:22 +01:00
Brendan Dahl
a0e1d0652c
Merge remote-tracking branch 'upstream/master' into cmykjpgnorm
2011-11-09 09:50:57 -08:00
Brendan Dahl
3d662cf08a
Add the cmyk jpeg test file.
2011-11-09 09:39:55 -08:00
Brendan Dahl
9bb2b881b0
Adds cmyk jpg support. Treats the cmyk jpg as a regular stream.
2011-11-08 08:48:10 -08:00
Brendan Dahl
b190b1fa53
Fix md5 for windows
2011-11-07 12:44:06 -08:00
Brendan Dahl
a8c94ede1f
Updating md5 for tcpdf.
2011-11-04 10:55:00 -07:00
Brendan Dahl
c4ffbdb951
Hash files to make sure they haven't changed.
2011-11-04 09:28:27 -07:00
Artur Adib
989ad4952f
Quiet rsync
2011-11-03 19:50:28 -04:00
Artur Adib
2d51ee8fcd
Fixing ref/ update
2011-11-03 19:01:10 -04:00
Artur Adib
7bb9f74fa2
nit
2011-11-03 16:29:08 -04:00
Artur Adib
6b5d5d8518
Updated external link
2011-11-03 16:16:21 -04:00
Julian Viereck
94b8c4656b
Merge with master
2011-11-01 19:56:34 +01:00
Julian Viereck
3b7829d057
Address review comments. Use only one PDFJS.workerSrc variable to specify the worker source
2011-11-01 19:32:20 +01:00
Brendan Dahl
3592baf39c
Merge upstream
2011-10-31 08:51:45 -07:00
Brendan Dahl
11b843325b
Add the alpha trans test pdf.
2011-10-28 14:11:14 -07:00
Brendan Dahl
5cb64fbab7
Initial alpha transparency support.
2011-10-28 14:10:10 -07:00
Ionuț G. Stan
8a6cf185fd
Add eq test for close path rendering bug
...
See: 56b9a3543d
2011-10-28 16:38:55 +03:00
Artur Adib
1d4e3025b6
PDF --> PDFJS, global wrapper named
2011-10-26 14:46:57 -04:00
Artur Adib
6eaa49761b
make test: Do not require build
2011-10-26 11:30:39 -04:00
Artur Adib
e9c96c6052
Nit
2011-10-25 21:31:35 -04:00
Artur Adib
f9ba29cf12
Fixed tests
2011-10-25 21:29:51 -04:00
Artur Adib
8fbb05613e
Progress
2011-10-25 09:10:56 -07:00
=
2ad1e622ab
Move remaining worker.js code into pdf.js.
2011-10-20 12:13:18 -07:00
=
65ea07a3a2
Initial merge of master.
2011-10-19 11:14:13 -07:00
=
c9508100ff
Initial merge with master
2011-10-19 11:09:17 -07:00
Kalervo Kujala
633baa881f
Make test_slave.html as valid html5.
...
Fix also warnings in the error console that appear from a test run.
2011-10-11 22:09:13 +02:00
notmasteryet
aa98632b0b
Fixing DescendantFonts object fetching ( #600 )
2011-10-11 22:07:54 +02:00
Julian Viereck
23e413520b
Small fixes + docs
2011-10-08 17:08:17 +02:00
Julian Viereck
3054102d3b
Merge worker_pull with master
2011-10-08 14:18:23 +02:00
notmasteryet
0c8f0cd6c2
Fixing PDF bad structure and 'fi' ligature
2011-10-07 22:24:26 -05:00
Chris Jones
fac4f5401c
Merge pull request #623 from arturadib/pdfs-gitignore
...
Git-ignore all PDFs except the listed ones
2011-10-07 12:09:20 -07:00
Brendan Dahl
d6edd79d17
Merge pull request #589 from notmasteryet/rgbt
...
Recovering from RGBT-command (ref #577 )
2011-10-07 11:56:10 -07:00
=
be05f12a62
Move closing the file to an appropriate area.
2011-10-06 16:19:17 -07:00
=
d4ea60ea1f
Merge remote-tracking branch 'upstream/master' into boundingbox
2011-10-06 09:22:00 -07:00
Artur Adib
fb32ff0ea9
Git-ignore all PDFs except the listed ones
...
This forces contributors to deal with gitignore only when bundling a new test, rather than making all users of "make test" having to constantly update their gitignores because of new PDFs.
2011-10-06 11:01:22 -04:00
notmasteryet
9327976b07
Making ThuluthFeatures "eq" reftest
2011-10-05 21:22:52 -05:00
=
c48f85621f
Fixing bounding boxes and test ref file writing.
2011-10-05 09:18:20 -07:00
Adil Allawi
3b3f134e35
Merge commit 'e5d79fd0da5a0dab8b717062651c2fbd658a4b51'
2011-10-05 08:42:54 +01:00
=
b24bec27ca
Address pull request feedback.
2011-10-04 09:06:51 -07:00
=
8f57135513
fix merge conflicts
2011-10-04 08:52:15 -07:00
Adil Allawi
179533a06c
Add test case
2011-10-04 16:18:39 +01:00
Artur Adib
1508c03414
Merge pull request #602 from arturadib/test-features
...
New test/ features (useful for bot)
2011-10-03 18:57:02 -07:00
vingtetun
7842c65099
Merge pull request #556 from notmasteryet/cid0
...
Initial CID-0 font encodings
2011-10-03 17:36:51 -07:00
=
ff2dea38ec
fix merge conflicts
2011-10-03 17:18:47 -07:00
=
5f81017726
#502 Adding basic Type3 font support.
2011-10-03 16:36:01 -07:00
Artur Adib
07b52bf1c6
Lint, extra space eol
2011-10-03 15:25:02 -04:00
Artur Adib
2f209a8e85
Oh, 80-char limit... super modern
2011-10-03 15:21:26 -04:00
Artur Adib
99f419fa6b
New test/ features, useful for bot
...
test.py:
added option --noPrompts
removed unnecessary warnings (masterMode)
removed unnecessary "Creating tmp failed" message when error is simply b/c it already exists
driver.js:
added per PDF manifest option "pageLimit", e.g. "pageLimit":100
2011-10-03 14:53:45 -04:00
notmasteryet
9e53bd78d9
Fixing "no spaces" issue (ref #577 )
2011-10-01 21:24:11 -05:00
notmasteryet
d409355f62
Recovering from RGBT-command (ref #577 )
2011-10-01 19:01:58 -05:00
notmasteryet
66cd79f308
Initial CID0 font encodings
2011-09-28 19:54:40 -05:00
Kalervo Kujala
de408dac70
Fix lint warnings.
...
And name anonymous functions.
2011-09-27 21:43:48 +03:00
Artur Adib
83854a085c
Implemented getPdf(). Closes #516
...
Conflicts:
examples/helloworld/hello.js
2011-09-27 13:30:47 -04:00
Kalervo Kujala
2094c29169
Use data directly in PDFDoc.
...
And create the Stream inside the PDFDoc constructor for a cleaner interface.
Also encapsulate unnecessary details from the user.
2011-09-26 20:58:18 +03:00
notmasteryet
39ba5324a7
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into invalidpdf-1
...
Conflicts:
test/test_manifest.json
2011-09-24 09:57:59 -05:00
notmasteryet
91a5f73708
Implement "skipPages" feature for reftests
2011-09-24 09:44:50 -05:00
=
8006faf74e
update to master
2011-09-23 17:49:23 -07:00
Chris Jones
54e69d59bf
Merge pull request #517 from kkujala/master
...
Name anonymous functions for debugging purposes.
2011-09-23 16:46:04 -07:00
=
630c98052e
Adds support for all the basic graphic state operators
2011-09-23 14:37:44 -07:00
Kalervo Kujala
2d03f93fed
Name anonymous functions for debugging purposes.
...
It also makes profiling more convenient.
2011-09-23 20:25:24 +03:00
notmasteryet
ba74e56c35
Using !== for objects comparison
2011-09-23 06:58:54 -05:00
notmasteryet
f3e4cf20cc
intermediate variable for document.body
2011-09-22 20:18:43 -05:00
notmasteryet
107576d634
Removing introduced by the test run DOM elements
2011-09-22 18:04:50 -05:00
=
8072052fb1
Handle references for color space names that are defined in a dictionary
2011-09-22 13:17:28 -07:00
Vivien Nicolas
c93ffd645f
Merge remote branch 'upstream/master' into metrics
2011-09-22 01:24:39 +02:00
Vivien Nicolas
41ebb55d75
Fix tests failures
2011-09-22 01:22:34 +02:00
=
e318820a39
Ignore previously parsed xref streams
2011-09-21 10:04:21 -07:00
=
31d64af855
Handle missing encoding differences array
2011-09-20 15:42:52 -07:00
vingtetun
abce61cb57
Merge pull request #497 from notmasteryet/tree-20
...
removing onload from driver.js
2011-09-19 07:37:34 -07:00
vingtetun
7a81e79138
Merge pull request #466 from notmasteryet/charstoglyphs
...
Refactoring charsToUnicode into charsToGlyphs
2011-09-19 07:34:46 -07:00
notmasteryet
999487444d
removing onload from driver.js
2011-09-19 07:06:20 -05:00
notmasteryet
7036bcd4c7
Zero gjslint warnings mark
2011-09-18 14:44:57 -05:00
notmasteryet
e59a36a015
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
2011-09-18 09:11:53 -05:00
notmasteryet
1f047495b1
Fixing large cmap-s; reduce changes in the indent encoding
2011-09-17 17:13:22 -05:00
notmasteryet
0b1b8da982
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
...
Conflicts:
test/test_manifest.json
2011-09-17 11:23:34 -05:00
notmasteryet
1d00b89285
Modifying how the artofwar encryption handled; add wdsg_fitc as reftest
2011-09-17 10:32:42 -05:00
Julian Viereck
00290b9ff4
Rename some stuff and add missing font_handler.js
2011-09-16 09:31:12 -07:00