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
Artur Adib
f3745f7c13
New README, .gitignores; Makefile
...
Makefile: commented out unnecessary closure download and shell testing (at least until someone decides to work on this).
2011-09-16 08:28:59 -07:00
Julian Viereck
921f8bd669
Tried to add a destroy function to free memeory, but doesn't seem to help
2011-09-16 08:09:58 -07:00
Julian Viereck
8f21f87fd9
Add firstPage option to tasks to speed up testing certain pages
2011-09-15 23:36:08 -07:00
Kalervo Kujala
07254bb0a5
Fix small lint warnings.
2011-09-15 23:32:44 +03:00
Julian Viereck
fea3388c41
Make testdriver use new worker infrastructure
2011-09-15 09:03:50 -07:00
notmasteryet
1347db797c
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
...
Conflicts:
test/test_manifest.json
2011-09-14 21:45:12 -05:00
notmasteryet
e512000877
Fixing properties.widths is null issue; fips197 test file
2011-09-14 21:29:32 -05:00
notmasteryet
94da20d776
Disable encryption when a ToUnicode stream is used in a font
2011-09-13 19:23:49 -05:00
Kalervo Kujala
8e5a8fb49f
Fix Mode comment lines.
2011-09-12 20:37:33 +03:00
notmasteryet
4e21e417cd
Fix test_slave.html ref to metrics.js
2011-09-09 16:46:46 -05:00
Artur Adib
1296da313c
Fixed browser shutdown bug for Macs
...
The unnecessary spaces in the URL query were causing `tellAppToQuit()` to fail to detect the query `path`, so the browser was being killed via timeout instead of intended script.
2011-09-06 13:59:14 -04:00
notmasteryet
3abe909556
Allow test.py serve files with spaces in the name
2011-09-05 22:19:20 -05:00
notmasteryet
92c2938bc1
Add PdKids.pdf as a ref test
2011-08-30 22:32:56 -05:00
notmasteryet
8e407fe06d
Adds cable.pdf link to tests
2011-08-28 16:36:58 -05:00
notmasteryet
db09e34f71
Fix inverted B/W images in PIPEHEATCABLE.PDF
2011-08-28 16:14:37 -05:00
notmasteryet
ff1f3ed882
Adds PDF index for "make server"
2011-08-27 10:10:36 -05:00
notmasteryet
03a39b899a
Add SVG to the 'make server' known types list
2011-08-25 22:02:32 -05:00
notmasteryet
238ac7c812
Fix insertAdjacentHTML for pre FF8
2011-08-25 19:14:51 -05:00
Kalervo Kujala
e00ae164f0
Catch multiline log function calls.
2011-08-24 19:11:38 +03:00
Kalervo Kujala
3fa8bba48e
Make 'make test' factors faster.
...
Profiling with firebug reveals that log and checkScrolling functions slow down
the 'make test' by factors.
Use insertAdjacentHtml in the log fucntion insteand of appending to
innerHTML. Also call checkScrolling function only when it is prudent to do
instead of unnecessarily in every log function call.
2011-08-23 23:21:15 +03:00
Adil Allawi
5a528944f0
Change the way Type 2 CID fonts are encoded. Move the cmap glyphs above the first 255 unicode values so that fillText does not change them and create an encoding to map characters to the glyphs.
2011-08-19 14:05:07 +01:00
Kalervo Kujala
7cbdc982c5
Report results properly to test.py from driver.js.
...
If the PDFDoc creation failed in driver.js then that was not informed back to
test.py. This lead to State.remaining being off by one. And that did not let
the test to end as expected. Instead the test hung indefinitely.
This change now reveals TEST-UNEXPECTED-FAIL which was hidden previously.
2011-08-17 01:33:00 +03:00
Kalervo Kujala
965193b38d
Keep the results visible in test_slave.html before quitting.
...
Currently the innerHTML is replaced with text:
Tests are finished.
CLOSE ME!
Instead of replacing the innerHTML prepend that text to it.
This way the user can still check the results of the test.
2011-08-16 23:16:29 +03:00
Kalervo Kujala
802f664baa
Indent the driver.js correctly.
2011-08-16 22:17:46 +03:00
notmasteryet
447ff0a059
Add JAI.pdf (issue #292 ) to the ref tests
2011-08-14 12:26:48 -05:00
notmasteryet
aad77fcc55
BaseFont and misc fonts fixes
2011-08-14 08:40:22 -05:00
Kalervo Kujala
56ed06e7ea
Refactor the lines that are over 80 characters long in driver.js.
2011-08-12 01:00:32 +03:00