Commit 723b054bf9a8ffc93de9e234ff47c87e9142e037

Authored by Jay Berkenbilt
1 parent 19229e29

Spell check

Showing 2 changed files with 52 additions and 18 deletions
ChangeLog
@@ -177,7 +177,7 @@ @@ -177,7 +177,7 @@
177 177
178 * Ignore zlib data check errors while uncompressing streams. This 178 * Ignore zlib data check errors while uncompressing streams. This
179 is consistent with behaviors of other readers and enables handling 179 is consistent with behaviors of other readers and enables handling
180 - of some incorrectly written zlib strems. Fixes #191. 180 + of some incorrectly written zlib streams. Fixes #191.
181 181
182 2018-02-25 Jay Berkenbilt <ejb@ql.org> 182 2018-02-25 Jay Berkenbilt <ejb@ql.org>
183 183
@@ -195,7 +195,7 @@ @@ -195,7 +195,7 @@
195 * Major enhancements to handling of type errors within the qpdf 195 * Major enhancements to handling of type errors within the qpdf
196 library. This fix is intended to eliminate those annoying cases 196 library. This fix is intended to eliminate those annoying cases
197 where qpdf would exit with a message like "operation for 197 where qpdf would exit with a message like "operation for
198 - dictionary object attemped on object of wrong type" without 198 + dictionary object attempted on object of wrong type" without
199 providing any context. Now qpdf keeps enough context to be able to 199 providing any context. Now qpdf keeps enough context to be able to
200 issue a proper warning and to handle such conditions in a sensible 200 issue a proper warning and to handle such conditions in a sensible
201 way. This should greatly increase the number of bad files that 201 way. This should greatly increase the number of bad files that
@@ -311,7 +311,7 @@ @@ -311,7 +311,7 @@
311 counting in length for better readability. Ordinarily this makes 311 counting in length for better readability. Ordinarily this makes
312 no difference, but in the rare case of a page's contents being 312 no difference, but in the rare case of a page's contents being
313 split in the middle of a token, the old behavior could cause the 313 split in the middle of a token, the old behavior could cause the
314 - extra newline to be interprted as part of the token. This bug 314 + extra newline to be interpreted as part of the token. This bug
315 could only be triggered in qdf mode, which is a mode intended for 315 could only be triggered in qdf mode, which is a mode intended for
316 manual inspection of PDF files' contents, so it is very unlikely 316 manual inspection of PDF files' contents, so it is very unlikely
317 to have caused any actual problems for people using qpdf for 317 to have caused any actual problems for people using qpdf for
@@ -390,7 +390,7 @@ @@ -390,7 +390,7 @@
390 QPDFObjectHandle::pipeStreamData, you don't need to worry about 390 QPDFObjectHandle::pipeStreamData, you don't need to worry about
391 this at all. 391 this at all.
392 392
393 - * Provide heavily annoated examples/pdf-filter-tokens.cc example 393 + * Provide heavily annotated examples/pdf-filter-tokens.cc example
394 that illustrates use of some simple token filters. 394 that illustrates use of some simple token filters.
395 395
396 * When normalizing content streams, as in qdf mode, issue warning 396 * When normalizing content streams, as in qdf mode, issue warning
@@ -400,7 +400,7 @@ @@ -400,7 +400,7 @@
400 either there's a bug in qpdf's lexer, that the file is damaged, or 400 either there's a bug in qpdf's lexer, that the file is damaged, or
401 that the page's contents are split in a weird way. In any of those 401 that the page's contents are split in a weird way. In any of those
402 cases, qpdf could potentially damage the stream's contents by 402 cases, qpdf could potentially damage the stream's contents by
403 - replacing carrige returns with newlines or otherwise messing with 403 + replacing carriage returns with newlines or otherwise messing with
404 spaces. The mostly likely case of this would be an inline image's 404 spaces. The mostly likely case of this would be an inline image's
405 compressed data being divided across two streams and having the 405 compressed data being divided across two streams and having the
406 compressed data in the second stream contain a carriage return as 406 compressed data in the second stream contain a carriage return as
@@ -441,7 +441,7 @@ @@ -441,7 +441,7 @@
441 441
442 * 7.1.0: release 442 * 7.1.0: release
443 443
444 - * Allow raw encryption key to be specified in libary and command 444 + * Allow raw encryption key to be specified in library and command
445 line with the QPDF::setPasswordIsHexKey method and 445 line with the QPDF::setPasswordIsHexKey method and
446 --password-is-hex-key option. Allow encryption key to be displayed 446 --password-is-hex-key option. Allow encryption key to be displayed
447 with --show-encryption-key option. Thanks to Didier Stevens 447 with --show-encryption-key option. Thanks to Didier Stevens
@@ -819,7 +819,7 @@ @@ -819,7 +819,7 @@
819 819
820 2013-12-14 Jay Berkenbilt <ejb@ql.org> 820 2013-12-14 Jay Berkenbilt <ejb@ql.org>
821 821
822 - * Allow anyspace rather than just newline to follow xref header. 822 + * Allow any space rather than just newline to follow xref header.
823 This allows qpdf to read a wider range of damaged files. 823 This allows qpdf to read a wider range of damaged files.
824 824
825 2013-11-30 Jay Berkenbilt <ejb@ql.org> 825 2013-11-30 Jay Berkenbilt <ejb@ql.org>
@@ -978,7 +978,7 @@ @@ -978,7 +978,7 @@
978 * Add QPDF::getCompressibleObjGens() and deprecate 978 * Add QPDF::getCompressibleObjGens() and deprecate
979 QPDF::getCompressibleObjects(), which had a flaw in its logic. 979 QPDF::getCompressibleObjects(), which had a flaw in its logic.
980 980
981 - * Add new QPDFObjectHandle::getObjGen() method and indiciate in 981 + * Add new QPDFObjectHandle::getObjGen() method and indicate in
982 comments that its use is favored over getObjectID() and 982 comments that its use is favored over getObjectID() and
983 getGeneration() for most cases. 983 getGeneration() for most cases.
984 984
@@ -1025,7 +1025,7 @@ @@ -1025,7 +1025,7 @@
1025 * Remove all calls to sprintf 1025 * Remove all calls to sprintf
1026 1026
1027 * New method QUtil::int_to_string_base to convert to octal or 1027 * New method QUtil::int_to_string_base to convert to octal or
1028 - hexademical (or decimal) strings without using sprintf 1028 + hexadecimal (or decimal) strings without using sprintf
1029 1029
1030 2013-02-26 Jay Berkenbilt <ejb@ql.org> 1030 2013-02-26 Jay Berkenbilt <ejb@ql.org>
1031 1031
@@ -1154,7 +1154,7 @@ @@ -1154,7 +1154,7 @@
1154 QPDF::compute_data_key to take the R and V values from the 1154 QPDF::compute_data_key to take the R and V values from the
1155 encryption dictionary. There is no reason for any application 1155 encryption dictionary. There is no reason for any application
1156 code to call this method since handling of encryption is done 1156 code to call this method since handling of encryption is done
1157 - automatically by the qpdf libary. It is used internally by 1157 + automatically by the qpdf library. It is used internally by
1158 QPDFWriter. 1158 QPDFWriter.
1159 1159
1160 * Support reading and decryption of files whose main text is not 1160 * Support reading and decryption of files whose main text is not
@@ -1469,7 +1469,7 @@ @@ -1469,7 +1469,7 @@
1469 * Add new array mutation routines to QPDFObjectHandle. 1469 * Add new array mutation routines to QPDFObjectHandle.
1470 Implemented by Tobias Hoffmann. 1470 Implemented by Tobias Hoffmann.
1471 1471
1472 - * Rework APIs that use size_t, off_t, and primative integer types 1472 + * Rework APIs that use size_t, off_t, and primitive integer types
1473 so that size_t is used for sizes of memory and off_t is used for 1473 so that size_t is used for sizes of memory and off_t is used for
1474 file offsets. Also set _FILE_OFFSET_BITS so that large files can 1474 file offsets. Also set _FILE_OFFSET_BITS so that large files can
1475 be supported on 32-bit UNIX/Linux platforms. The code assumes in 1475 be supported on 32-bit UNIX/Linux platforms. The code assumes in
@@ -1572,7 +1572,7 @@ @@ -1572,7 +1572,7 @@
1572 uses the invalid object number 0 as a regular object. 1572 uses the invalid object number 0 as a regular object.
1573 1573
1574 * libqpdf/QPDF_linearization.cc (isLinearized): use -1 rather than 1574 * libqpdf/QPDF_linearization.cc (isLinearized): use -1 rather than
1575 - 0 as a sentintel for not having found the first object in the 1575 + 0 as a sentinel for not having found the first object in the
1576 file. Since -1 can never match the regular expression, this 1576 file. Since -1 can never match the regular expression, this
1577 prevents an infinite loop when checking a file that starts with 1577 prevents an infinite loop when checking a file that starts with
1578 (erroneous) 0 0 obj. (Fixes qpdf-Bugs-3159950.) 1578 (erroneous) 0 0 obj. (Fixes qpdf-Bugs-3159950.)
@@ -1795,7 +1795,7 @@ @@ -1795,7 +1795,7 @@
1795 with the required padding as specified by the PDF specification. 1795 with the required padding as specified by the PDF specification.
1796 This is seldom useful to users. This function has been replaced 1796 This is seldom useful to users. This function has been replaced
1797 by QPDF::getPaddedUserPassword. Call the new 1797 by QPDF::getPaddedUserPassword. Call the new
1798 - QPDF::getTrimmedUserPassword to retreive the user password in a 1798 + QPDF::getTrimmedUserPassword to retrieve the user password in a
1799 human-readable format. 1799 human-readable format.
1800 1800
1801 * qpdf/qpdf.cc (main): qpdf --check now prints the PDF version 1801 * qpdf/qpdf.cc (main): qpdf --check now prints the PDF version
ispell-words
@@ -5,11 +5,9 @@ abacc @@ -5,11 +5,9 @@ abacc
5 abc 5 abc
6 ABCD 6 ABCD
7 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnom 7 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnom
8 -abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnom  
9 abcde 8 abcde
10 abcdefABCDEF 9 abcdefABCDEF
11 abcdefghbcdefghicdefghijdefghijkefghijklfghijklmg 10 abcdefghbcdefghicdefghijdefghijkefghijklfghijklmg
12 -abcdefghbcdefghicdefghijdefghijkefghijklfghijklmg  
13 abcdefghijklmnopqrstuvwxyz 11 abcdefghijklmnopqrstuvwxyz
14 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi 12 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi
15 ABI 13 ABI
@@ -194,8 +192,10 @@ ced @@ -194,8 +192,10 @@ ced
194 cerr 192 cerr
195 cf 193 cf
196 cfea 194 cfea
  195 +cfis
197 CFLAGS 196 CFLAGS
198 CFM 197 CFM
  198 +cgi
199 ch 199 ch
200 ChangeLog 200 ChangeLog
201 Checkboxes 201 Checkboxes
@@ -213,6 +213,7 @@ CHGeneric @@ -213,6 +213,7 @@ CHGeneric
213 cho 213 cho
214 CHPageOffset 214 CHPageOffset
215 CHPageOffsetEntry 215 CHPageOffsetEntry
  216 +chr
216 CHSharedObject 217 CHSharedObject
217 CHSharedObjectEntry 218 CHSharedObjectEntry
218 CHSomething 219 CHSomething
@@ -220,6 +221,7 @@ ci @@ -220,6 +221,7 @@ ci
220 cin 221 cin
221 cinfo 222 cinfo
222 ciphertext 223 ciphertext
  224 +cis
223 cl 225 cl
224 classname 226 classname
225 clearPipelineStack 227 clearPipelineStack
@@ -240,6 +242,7 @@ ColorSpace @@ -240,6 +242,7 @@ ColorSpace
240 colorspace 242 colorspace
241 ColorToGray 243 ColorToGray
242 com 244 com
  245 +commandline
243 compareVersions 246 compareVersions
244 compatbility 247 compatbility
245 CompressConfig 248 CompressConfig
@@ -286,6 +289,7 @@ cstring @@ -286,6 +289,7 @@ cstring
286 ctest 289 ctest
287 ctx 290 ctx
288 ctype 291 ctype
  292 +CVE
289 cxx 293 cxx
290 CXXFLAGS 294 CXXFLAGS
291 cygwin 295 cygwin
@@ -321,6 +325,8 @@ deflateEnd @@ -321,6 +325,8 @@ deflateEnd
321 deflateInit 325 deflateInit
322 defq 326 defq
323 delphi 327 delphi
  328 +deobfuscated
  329 +dep
324 deque 330 deque
325 dereference 331 dereference
326 dereferenced 332 dereferenced
@@ -335,6 +341,8 @@ DeviceRGB @@ -335,6 +341,8 @@ DeviceRGB
335 dh 341 dh
336 DIAERESIS 342 DIAERESIS
337 dict 343 dict
  344 +didier
  345 +didierstevens
338 diff 346 diff
339 diffs 347 diffs
340 diffutils 348 diffutils
@@ -349,7 +357,7 @@ dist @@ -349,7 +357,7 @@ dist
349 distclean 357 distclean
350 dl 358 dl
351 dlfcn 359 dlfcn
352 -DLL 360 +dll
353 DLL's 361 DLL's
354 dllexport 362 dllexport
355 dlls 363 dlls
@@ -393,6 +401,7 @@ ef @@ -393,6 +401,7 @@ ef
393 EFF 401 EFF
394 efgh 402 efgh
395 EI 403 EI
  404 +ejb
396 elif 405 elif
397 elt 406 elt
398 EmbeddedFiles 407 EmbeddedFiles
@@ -501,6 +510,7 @@ fprintf @@ -501,6 +510,7 @@ fprintf
501 fR 510 fR
502 fr 511 fr
503 fread 512 fread
  513 +FS
504 fsanitize 514 fsanitize
505 fseek 515 fseek
506 fseeki 516 fseeki
@@ -559,6 +569,7 @@ getEncryptionKey @@ -559,6 +569,7 @@ getEncryptionKey
559 getEncryptMetadata 569 getEncryptMetadata
560 getenv 570 getenv
561 GetEnvironmentVariable 571 GetEnvironmentVariable
  572 +getErrno
562 getErrorCode 573 getErrorCode
563 getErrorMessage 574 getErrorMessage
564 getExtensionLevel 575 getExtensionLevel
@@ -668,6 +679,7 @@ getWidth @@ -668,6 +679,7 @@ getWidth
668 GG 679 GG
669 ghostscript 680 ghostscript
670 GhostScript 681 GhostScript
  682 +GiB
671 github 683 github
672 glerbl 684 glerbl
673 glibc 685 glibc
@@ -709,12 +721,12 @@ HGeneric @@ -709,12 +721,12 @@ HGeneric
709 hh 721 hh
710 HighPart 722 HighPart
711 hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstn 723 hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstn
712 -hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstn  
713 hlen 724 hlen
714 Hoffmann 725 Hoffmann
715 HOi 726 HOi
716 HPageOffset 727 HPageOffset
717 HPageOffsetEntry 728 HPageOffsetEntry
  729 +hr
718 href 730 href
719 HS 731 HS
720 HSharedObject 732 HSharedObject
@@ -829,6 +841,7 @@ italicseq @@ -829,6 +841,7 @@ italicseq
829 itemizedlist 841 itemizedlist
830 iter 842 iter
831 ith 843 ith
  844 +iz
832 JCS 845 JCS
833 JDIMENSION 846 JDIMENSION
834 jerr 847 jerr
@@ -854,6 +867,7 @@ lastnum @@ -854,6 +867,7 @@ lastnum
854 lastreleased 867 lastreleased
855 lastTokenWasBad 868 lastTokenWasBad
856 latin 869 latin
  870 +launchpad
857 lbuf 871 lbuf
858 lc 872 lc
859 ld 873 ld
@@ -861,12 +875,14 @@ LDFLAGS @@ -861,12 +875,14 @@ LDFLAGS
861 ldquo 875 ldquo
862 len 876 len
863 lengthNextN 877 lengthNextN
864 -Lexer 878 +lexer
  879 +LF
865 lhs 880 lhs
866 libclang 881 libclang
867 libgcc 882 libgcc
868 libjpeg 883 libjpeg
869 LibJpeg 884 LibJpeg
  885 +libpcre
870 libqpdf 886 libqpdf
871 libs 887 libs
872 libtests 888 libtests
@@ -890,6 +906,7 @@ linkey @@ -890,6 +906,7 @@ linkey
890 linp 906 linp
891 LinParameters 907 LinParameters
892 linux 908 linux
  909 +linuxfoundation
893 listitem 910 listitem
894 ljpeg 911 ljpeg
895 ll 912 ll
@@ -914,6 +931,7 @@ LZWDecode @@ -914,6 +931,7 @@ LZWDecode
914 LZWDecoder 931 LZWDecoder
915 m'qpdf 932 m'qpdf
916 MacOS 933 MacOS
  934 +Macports
917 makeDirect 935 makeDirect
918 makeDirectInternal 936 makeDirectInternal
919 Makefile 937 Makefile
@@ -1123,6 +1141,7 @@ PDFContext @@ -1123,6 +1141,7 @@ PDFContext
1123 PDFDocEncoding 1141 PDFDocEncoding
1124 pdfDumpInfoDict 1142 pdfDumpInfoDict
1125 PDFs 1143 PDFs
  1144 +pdfs
1126 pdh 1145 pdh
1127 pdlin 1146 pdlin
1128 pe 1147 pe
@@ -1147,6 +1166,7 @@ png @@ -1147,6 +1166,7 @@ png
1147 PNGFilter 1166 PNGFilter
1148 pngify 1167 pngify
1149 PointerHolder 1168 PointerHolder
  1169 +PointerHolder's
1150 popPipelineStack 1170 popPipelineStack
1151 poppler 1171 poppler
1152 pornin 1172 pornin
@@ -1156,6 +1176,7 @@ PP @@ -1156,6 +1176,7 @@ PP
1156 pr 1176 pr
1157 pragma 1177 pragma
1158 pre 1178 pre
  1179 +precheck
1159 precompiled 1180 precompiled
1160 prefilering 1181 prefilering
1161 prefiltering 1182 prefiltering
@@ -1204,6 +1225,7 @@ QDFWriter @@ -1204,6 +1225,7 @@ QDFWriter
1204 qdict 1225 qdict
1205 QDict 1226 QDict
1206 QEXC 1227 QEXC
  1228 +ql
1207 qnumbers 1229 qnumbers
1208 QNumbers 1230 QNumbers
1209 qpdf 1231 qpdf
@@ -1233,6 +1255,7 @@ qpdfs @@ -1233,6 +1255,7 @@ qpdfs
1233 QPDFSomethingDocumentHelper 1255 QPDFSomethingDocumentHelper
1234 QPDFSomethingObjectHelper 1256 QPDFSomethingObjectHelper
1235 QPDFStream 1257 QPDFStream
  1258 +QPDFSystemError
1236 QPDFTokenizer 1259 QPDFTokenizer
1237 QPDFTYPES 1260 QPDFTYPES
1238 QPDFVersion 1261 QPDFVersion
@@ -1276,6 +1299,7 @@ readLinearizationData @@ -1276,6 +1299,7 @@ readLinearizationData
1276 README 1299 README
1277 readObject 1300 readObject
1278 readObjectAtOffset 1301 readObjectAtOffset
  1302 +readObjectInternal
1279 readToken 1303 readToken
1280 reattached 1304 reattached
1281 recompress 1305 recompress
@@ -1284,6 +1308,7 @@ recompressing @@ -1284,6 +1308,7 @@ recompressing
1284 recomputation 1308 recomputation
1285 recoverStreamLength 1309 recoverStreamLength
1286 rect 1310 rect
  1311 +refactor
1287 refcount 1312 refcount
1288 refpage 1313 refpage
1289 refpos 1314 refpos
@@ -1322,6 +1347,7 @@ rfont @@ -1322,6 +1347,7 @@ rfont
1322 rg 1347 rg
1323 rgb 1348 rgb
1324 rhs 1349 rhs
  1350 +RI
1325 rijndael 1351 rijndael
1326 rijndaelDecrypt 1352 rijndaelDecrypt
1327 rijndaelEncrypt 1353 rijndaelEncrypt
@@ -1416,6 +1442,7 @@ setStaticAesIV @@ -1416,6 +1442,7 @@ setStaticAesIV
1416 setStaticID 1442 setStaticID
1417 setStreamDataMode 1443 setStreamDataMode
1418 setStreamDescription 1444 setStreamDescription
  1445 +setStreamPrecheck
1419 setSuppressOriginalObjectIDs 1446 setSuppressOriginalObjectIDs
1420 setSuppressWarnings 1447 setSuppressWarnings
1421 setTrailer 1448 setTrailer
@@ -1446,6 +1473,7 @@ sstream @@ -1446,6 +1473,7 @@ sstream
1446 startoffset 1473 startoffset
1447 startxref 1474 startxref
1448 stat 1475 stat
  1476 +stayOpen
1449 std 1477 std
1450 STDC 1478 STDC
1451 StdCF 1479 StdCF
@@ -1458,6 +1486,7 @@ StdioFile @@ -1458,6 +1486,7 @@ StdioFile
1458 stdlib 1486 stdlib
1459 stdlib's 1487 stdlib's
1460 stdout 1488 stdout
  1489 +stevens
1461 STL 1490 STL
1462 StmF 1491 StmF
1463 str 1492 str
@@ -1552,6 +1581,7 @@ turbo @@ -1552,6 +1581,7 @@ turbo
1552 Tx 1581 Tx
1553 txt 1582 txt
1554 typeWarning 1583 typeWarning
  1584 +ubuntu
1555 uc 1585 uc
1556 udata 1586 udata
1557 UE 1587 UE
@@ -1615,6 +1645,7 @@ vc @@ -1615,6 +1645,7 @@ vc
1615 vec 1645 vec
1616 vecs 1646 vecs
1617 VER 1647 VER
  1648 +versioned
1618 viewable 1649 viewable
1619 ViewerPreferences 1650 ViewerPreferences
1620 Vitaliy 1651 Vitaliy
@@ -1628,6 +1659,7 @@ wb @@ -1628,6 +1659,7 @@ wb
1628 Wconversion 1659 Wconversion
1629 Weimer 1660 Weimer
1630 werror 1661 werror
  1662 +WFLAGS
1631 whoami 1663 whoami
1632 WinAnsiEncoding 1664 WinAnsiEncoding
1633 wincrypt 1665 wincrypt
@@ -1659,10 +1691,12 @@ writeXRefStream @@ -1659,10 +1691,12 @@ writeXRefStream
1659 writeXRefTable 1691 writeXRefTable
1660 Wsign 1692 Wsign
1661 www 1693 www
  1694 +WX
1662 wxWindows 1695 wxWindows
1663 xA 1696 xA
1664 xa 1697 xa
1665 xABUL 1698 xABUL
  1699 +xb
1666 xbebfbc 1700 xbebfbc
1667 xbf 1701 xbf
1668 xc 1702 xc