Commit Graph

109 Commits

Author SHA1 Message Date
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
Kalervo Kujala
9634eab60b Use strict in user.js.
And correct the coding style according to gjslint.
2011-08-09 00:24:01 +03:00
Kalervo Kujala
30ecf43676 Correct the coding style according to gjslint for driver.js.
And remove stray tabs.
2011-08-09 00:03:08 +03:00
Andreas Gal
fe7c03dece Merge pull request #310 from brendandahl/rotation
Adding support for page rotation
2011-08-06 16:14:35 -07:00
Brendan Dahl
4377eed920 Adding support for page rotation 2011-08-06 14:41:18 -07:00
Kalervo Kujala
25a6e09d78 Show browser-test results in pageNum/numPages format.
This is only for convenience in order to see how far in the pdf the test
currently is.
2011-08-07 00:29:34 +03:00
Kalervo Kujala
dc01974aa4 Create an example browser_manifest.json for windows. 2011-08-06 23:53:08 +03:00
Kalervo Kujala
b1ea9332b8 Avoid browser-test stoppage when task.pdfDoc is undefined.
If nextTask leaves task.pdfDoc as undefined then sendTaskResult will fail on
that. SendTaskResult tries to access task.pdfDoc.numPages which cannot
succeed. This leads to a complete stop in the browser-test.
2011-08-06 23:33:07 +03:00
Kalervo Kujala
17e02e3c39 Use strict in driver.js.
And declare undeclared variables.
2011-08-06 22:54:16 +03:00
Andreas Gal
e2ed5d28a6 Merge pull request #303 from cgjones/master
Fix bug in ref-updating code
2011-08-06 05:49:13 -07:00
sbarman
3c0ba19c88 Added new link file 2011-08-06 00:22:57 -07:00
Chris Jones
41bdf82137 Fix bug in ref-updating code 2011-08-06 00:07:33 -07:00
sbarman
4b132a7b3e Added test for inline images 2011-08-03 22:22:24 -07:00
Artur Adib
02a6e3ffec Updated test/pdfs link (intelisa.pdf) 2011-08-01 17:30:17 -04:00
notmasteryet
e9df0bb8ca link to AESV2 encrypted file 2011-07-20 23:17:31 -05:00
Chris Jones
6f3fff5798 fix some bugs 2011-07-15 17:40:37 -07:00
Adil Allawi
8dbbbbb589 Add and wire in test files 2011-07-13 09:55:13 +01:00
Adil Allawi
9b3b49547a Add test files with CID fonts 2011-07-11 17:55:03 +01:00
Chris Jones
452ba3d85b #123, part 2: move more PDF-page rendering stuff into pdf.js 2011-07-10 23:21:13 -07:00
Andreas Gal
c1838bde7f Merge pull request #244 from sayrer/master
fix exception throwing syntax
2011-07-10 12:14:10 -07:00
Rob Sayre
e7e8e4f6c9 Fix wrong exception throwing syntax. 2011-07-10 07:54:19 -07:00
Saebekassebil
f88d05e3b5 Adding ASCIIHexDecode pdf to test/pdfs 2011-07-08 23:21:14 +02:00
Chris Jones
9c3aef1f19 remove State.masterMode 2011-07-06 14:26:35 -04:00
Adil Allawi
5d337b1c76 Added sample OpenOffice file to tests 2011-07-06 00:43:47 +01:00
Andreas Gal
7d54de5b32 Merge pull request #193 from cgjones/issue-192
add unicode test
2011-07-05 14:35:04 -07:00
Rob Sayre
4530384769 Add a make server target, fix paths to scripts. 2011-07-05 13:51:02 -07:00
Chris Jones
e8f98f4e16 add unicode test 2011-07-05 13:21:28 -04:00
Chris Jones
122d168b51 fix some bugs 2011-07-04 23:28:44 -04:00
Rob Sayre
f4b169ddba Resolve merge conflict in test_slave.html. 2011-07-04 14:48:13 -07:00
Chris Jones
d4f49c05c5 fix another binary-mode issue 2011-07-04 17:39:29 -04:00
Rob Sayre
1aa0b390b9 Make sure to guard against load errors. 2011-07-04 14:25:33 -07:00