change output message from qpdf --check when no errors are found

git-svn-id: svn+q:///qpdf/trunk@955 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2010-04-10 13:43:16 +00:00
parent dd99ff8b59
commit 71f171356a
131 changed files with 271 additions and 129 deletions

View File

@ -1,3 +1,10 @@
2010-04-10 Jay Berkenbilt <ejb@ql.org>
* qpdf/qpdf.cc (main): Since qpdf --check only checks syntax and
stream encoding without doing any semantic checks, make the output
clearer when no errors around found. This is inspired by
qpdf-Bugs-2983225.
2010-03-27 Jay Berkenbilt <ejb@ql.org>
* 2.1.3: release

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2072,6 +2072,9 @@ print "\n";
</para>
<variablelist>
<varlistentry>
<!--
clarified check output
-->
<term>2.1.3: March 27, 2010</term>
<listitem>
<itemizedlist>

View File

@ -1034,7 +1034,11 @@ int main(int argc, char* argv[])
}
else
{
std::cout << "No errors found" << std::endl;
std::cout << "No syntax or stream encoding errors"
<< " found; the file may still contain"
<< std::endl
<< "errors that qpdf cannot detect"
<< std::endl;
}
}
}

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: not allowed
modify other: not allowed
modify anything: not allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: not allowed
modify other: not allowed
modify anything: not allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: not allowed
modify other: not allowed
modify anything: not allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: not allowed
modify other: not allowed
modify anything: not allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking b.pdf
PDF Version: 1.4
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking fax-decode-parms.pdf
PDF Version: 1.4
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking b.pdf
PDF Version: 1.4
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.2
File is not encrypted
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking lin-delete-and-reuse.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -13,4 +13,5 @@ modify annotations: allowed
modify other: allowed
modify anything: allowed
File is linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.5
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

View File

@ -2,4 +2,5 @@ checking a.pdf
PDF Version: 1.3
File is not encrypted
File is not linearized
No errors found
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect

Some files were not shown because too many files have changed in this diff Show More