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
Rob Sayre
a4f8251d10
Make test driver a separate js file, eradicate some global variables.
2011-07-04 14:17:23 -07:00
Chris Jones
eb17d81316
fix test.py bug on windows and stomped failure messages
2011-07-04 16:14:04 -04:00
Andreas Gal
a9e2115b3a
Merge pull request #140 from cgjones/font-loading
...
Improve font loading check by using onload in subdocument
2011-07-01 20:30:14 -07:00
Rob Sayre
8031c7244c
Make it possible to run the server without any test browsers.
2011-07-01 12:58:07 -07:00
Rob Sayre
53dcb85072
Make reftest analyzer popup in masterMode when there are differences, if --reftest is specified.
2011-07-01 11:16:42 -07:00
Rob Sayre
f4e5b2bcfd
Merge remote branch 'upstream/master'
2011-06-30 21:02:47 -07:00
Chris Jones
49058c9174
merge with remote
2011-06-30 02:14:47 -07:00
Chris Jones
a564076b22
add another hackity hack to detect font loaded-ness
2011-06-30 02:08:53 -07:00
notmasteryet
5ece4da552
the "hieght" and the 72dpi<->96dpi fixes
2011-06-29 22:43:59 -05:00
Rob Sayre
aee8542ec0
Add a break statement, just in case.
2011-06-29 11:17:34 -07:00
Rob Sayre
a50136709f
Make the browser command dispatch table-driven and fix the --browser option.
2011-06-29 11:13:43 -07:00