From 0787ec962098e2ab88ba70ba5e2ec7e2e5dfc65f Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 31 Aug 2019 08:43:18 -0400 Subject: [PATCH] spell check --- ChangeLog | 2 +- include/qpdf/QIntC.hh | 4 +- ispell-words | 103 +++++++++++++++++++++++++++++++++++++-- libtests/qintc.cc | 2 +- zlib-flate/zlib-flate.cc | 2 +- 5 files changed, 103 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7e5962fd..0c5ccf07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 2019-08-24 Jay Berkenbilt * Add QPDF::userPasswordMatched() and QPDF::ownerPasswordMatched() - methods so it can be deterined separately whether the supplied + methods so it can be determined separately whether the supplied password matched the user password, the owner password, or both. Fixes #159. diff --git a/include/qpdf/QIntC.hh b/include/qpdf/QIntC.hh index dac85065..3383a91c 100644 --- a/include/qpdf/QIntC.hh +++ b/include/qpdf/QIntC.hh @@ -179,8 +179,8 @@ namespace QIntC // QIntC = qpdf Integer Conversion } }; - // Specific converers. The return type of each function must match - // the second template prameter to IntConverter. + // Specific converters. The return type of each function must match + // the second template parameter to IntConverter. template char to_char(T const& i) { diff --git a/ispell-words b/ispell-words index baf215e8..74379871 100644 --- a/ispell-words +++ b/ispell-words @@ -5,9 +5,11 @@ abacc abc ABCD abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnom +abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnom abcde abcdefABCDEF abcdefghbcdefghicdefghijdefghijkefghijklfghijklmg +abcdefghbcdefghicdefghijdefghijkefghijklfghijklmg abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi ABI @@ -28,6 +30,7 @@ addArrayElement addChoicesToCompletions addContentTokenFilter addDictionaryMember +addExplicitElementsToList addOptionsToCompletions addPage addPageAt @@ -76,6 +79,7 @@ apexcovantage api APIs apis +appdir appearancestate appendable appendItem @@ -83,6 +87,7 @@ appendString appian AppImage appimage +appspot arandom arg argc @@ -92,6 +97,7 @@ argCoalesceContents argCollate argCompletionBash argCompletionZsh +argCompressionLevel argCompressStreams argCopyEncryption argCopyright @@ -143,6 +149,7 @@ argPreserveUnreferencedResources argProgress argQdf argRawStreamData +argRecompressFlate argRemovePageLabels argRotate args @@ -233,6 +240,7 @@ BBox bbox bc beb +BeforeQuack Berkenbilt betweenTokens bf @@ -283,6 +291,7 @@ callbacks callHello CAPTURECOUNT CARON +cassert cb cbc cc @@ -345,6 +354,7 @@ CLI ClosedFileInputSource CloseHandle closeObject +clusterfuzz cmath cmd cmyk @@ -371,6 +381,7 @@ conftest const ContentNormalizer ContentProvider +contentSize contrib convertIIDict CopiedStreamDataProvider @@ -494,12 +505,14 @@ DLLs docbook DOCBOOKX docdir +doChecks DocOpen DOCTYPE DocumentHelper doFinalChecks DOTLESS doubleBoxSize +doWrite doWriteSetup Doxygen dp @@ -548,6 +561,7 @@ embeddedFiles emc emptyPDF en +enc encodable encodeDataIncrementally encodeFile @@ -586,6 +600,7 @@ eraseItem Erdelsky's errno erroffset +errorMessageID errptr esize esses @@ -594,6 +609,7 @@ exc exe exp expectInlineImage +expr ExtensionLevel extern externalize @@ -653,6 +669,7 @@ fixDanglingReferences fl flarp flate +Flate's FlateDecode flattenAnnotations flattenAnnotationsForPage @@ -671,6 +688,7 @@ ForceR ForceV foreach ForeignStreamData +FormatMessageA fp fprintf fR @@ -689,6 +707,9 @@ fullinfo fullname fullpad func +fuzzer +fuzzers +FuzzHelper fv fvisibility fweimer @@ -729,6 +750,7 @@ getAsMatrix getAsVector getAttribute getBits +getBitsInt getBitsSigned getBoolValue getBuffer @@ -747,6 +769,7 @@ getDest getDestPage getDict getDictAsMap +getElementsForShallowCopy getEncryptionKey getEncryptMetadata getenv @@ -774,12 +797,15 @@ getGeneration getHeight getHexDigest getId +getIdentifier getInheritableFieldValue getInheritableFieldValueAsName getInheritableFieldValueAsString getInlineImageValue getInstance getIntValue +getIntValueAsInt +getIntVauleAsInt getItem getJSON getKey @@ -837,6 +863,7 @@ getPDFVersion getPerms getPointer getQPDF +getQpdf getQuadding getR getRandomDataProvider @@ -869,6 +896,8 @@ getTypeCode getTypeName getU getUE +getUIntValue +getUIntValueAsUInt getUncompressedObject getUniqueId getUniqueResourceName @@ -882,6 +911,7 @@ getWarnings getWhoami getWidgetAnnotationsForPage getWidth +getWriter GG ghostscript GhostScript @@ -892,10 +922,13 @@ glerbl glibc gm gmail +gmon GNUC gnuwin +googleapis GoTo gpg +gprof grayscale grep gsdnld @@ -938,6 +971,7 @@ HGeneric hh HighPart hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstn +hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstn hlen Hoffmann HOi @@ -1003,6 +1037,7 @@ inlineimage InlineImageTracker ino inode +inParse inpdf inputLen InputSource @@ -1013,6 +1048,7 @@ insertPageobjToPage insertXrefEntry inst int +IntConverter interoperate interpretCF interpretR @@ -1038,6 +1074,7 @@ isDataModified isDelimiter isDictionary isdigit +isDirectNull isEncrypted isIgnorable isIndirect @@ -1124,6 +1161,8 @@ lexer LF lhs libclang +libfuzzer +libFuzzer libgcc libjpeg LibJpeg @@ -1156,13 +1195,18 @@ listitem ljpeg ll lld +LLU llvm +LLVMFuzzerTestOneInput llx lly +LocalFree longjmp +longlong lookup lossy LowPart +LPSTR lqpdf lsb lt @@ -1188,6 +1232,7 @@ makeDirectInternal Makefile makeIndirectObject makeInt +MAKELANGID makeNull makeNumber makePipeline @@ -1214,6 +1259,7 @@ memmove memset merchantability mergeResources +messageBuffer metadata mgr MILLE @@ -1232,6 +1278,7 @@ monoseq mr MSC msg +msgid msvc MSVC's msys @@ -1293,6 +1340,7 @@ nmatches nMatches NoBackref nobjects +nocase NOMATCH NOMEMORY NONINFRINGEMENT @@ -1321,6 +1369,7 @@ NTE ntoh ntotal NUL +nullptr num numericValue numrange @@ -1378,7 +1427,7 @@ org orig orred os -OSS +oss ostream ostringstream ot @@ -1392,12 +1441,14 @@ OUTDOC outfile outfilename outlength +outname outpdf outpdfw outprefix outputLengthNextN ovecsize ovector +ownerPasswordMatched pacman padLen Paeth @@ -1420,6 +1471,7 @@ params parms parsecontent parseContentStream +ParseGuard parseInternal parseNumrange parseOptions @@ -1457,6 +1509,7 @@ performant perl persistAcrossFinish Pfeifle +pg ph phe php @@ -1464,8 +1517,11 @@ pikepdf pipeContentStreams pipeForeignStreamData PipelineAccessor +PipelinePopper +PipelinePopper's pipePageContents pipeStreamData +pipeStreamData's pipeStringAndFinish Pkey pkg @@ -1487,7 +1543,7 @@ popup pornin pos POSIX -PP +pp PPA pr pragma @@ -1512,6 +1568,7 @@ processXRefStream procset ProcSet procsets +progname programlisting programmatically ProgressReporter @@ -1527,6 +1584,7 @@ pt ptemp pthread ptr +pubkey pushDiscardFilter pushEncryptionFilter pushInheritedAttributesToPage @@ -1536,6 +1594,7 @@ pushOutlinesToPart pushPipeline PUTU PWD +py pypi qarray QArray @@ -1545,6 +1604,7 @@ QDFWriter qdict QDict QEXC +QIntC ql qnumbers QNumbers @@ -1608,6 +1668,7 @@ quoteright quotesinglbase QUtil qutil +qw qwert rand RandomDataProvider @@ -1664,6 +1725,7 @@ replaceObject replaceOrRemoveKey replaceReserved replaceStreamData +repo reportProgress repos requiredChoices @@ -1680,6 +1742,7 @@ retargeted retested reverseResolved rf +rfc rfont rg rgb @@ -1713,6 +1776,7 @@ runtest Sahil sahilarora sAlT +sanitizers saphir sarray SASLprep @@ -1726,15 +1790,18 @@ se SecureRandomDataProvider sed seekable +segfaulting sendNextCode sep seq serif setArrayFromVector setArrayItem +setAt setAttemptRecovery setbase setCheckBoxValue +setCompressionLevel setCompressStreams setContentNormalization setDataKey @@ -1783,6 +1850,7 @@ setQDFMode setR setRadioButtonValue setRandomDataProvider +setRecompressFlate setStaticAesIV setStaticID setStreamDataMode @@ -1808,6 +1876,7 @@ softlink solidus sourceforge SourceForge +SparseOHArray sph sphlib sprintf @@ -1865,14 +1934,19 @@ strtod strtoi strtol strtoll +strtoui +strtoull struct stylesheet stylesheets +subclassed subclasses +subclassing subdictionaries subdictionary SubFilter SubFilters +SUBLANG sublicense subparsers Subramanyam @@ -1897,11 +1971,14 @@ tarball TARNAME tbuf tc -Td +td Te TerminateParsing terminateParsing +testOutlines +testPages TESTSUITE +testWrite tf tff TfFinder @@ -1918,11 +1995,13 @@ Tm tmatrix tmp tnum +To's Tobias tobj tobjid TODO toffset +toI tok TokenFilter TokenFilters @@ -1931,8 +2010,10 @@ tokenized tokenizer tokenizing tokenTypeName +toO toolchain toolchains +toS toupper toUTF tp @@ -1953,21 +2034,26 @@ Tval tx txt ty +typeinfo typename typeWarning ubuntu uc +uchar udata UE uHHHH uinow uint uiter -UL +ul ULARGE ulink +ull uLong -ULONGLONG +ulong +ulonglong +umask uncompresesd uncompress uncompressing @@ -1980,6 +2066,7 @@ understandDecodeParams unencrypted unfilterable ungetc +unhandled unicode uninstalled unistd @@ -2010,9 +2097,11 @@ ury usageExit UseAes UseOutlines +userPasswordMatched UserUnit useStaticIV useZeroIV +ushort USLetter usr utf @@ -2068,6 +2157,7 @@ wrapInArray writeAppearance writeBinary writeBits +writeBitsInt writeBitsSigned writeBuffer writeEncryptionDictionary @@ -2098,6 +2188,7 @@ xA xa xABUL xb +xbc xbd xbebfbc xbf @@ -2115,6 +2206,7 @@ xefcdab xF xf xFC +xfc xfcefa xfd xfde @@ -2161,6 +2253,7 @@ zarko Zarko's zcaron zdata +zdenop Zeroize zeroizing zfree diff --git a/libtests/qintc.cc b/libtests/qintc.cc index 95105aeb..53ec3772 100644 --- a/libtests/qintc.cc +++ b/libtests/qintc.cc @@ -32,7 +32,7 @@ int main() uint64_t ul1 = 1099511627776LL; // Too big for 32-bit uint64_t ul2 = 12345; // Fits into 32-bit int32_t i2 = 81; // Fits in char and uchar - char c1 = '\xf7'; // Signed vaule when char + char c1 = '\xf7'; // Signed value when char // Verify i1 and u1 have same bit pattern assert(static_cast(i1) == u1); diff --git a/zlib-flate/zlib-flate.cc b/zlib-flate/zlib-flate.cc index c2613202..d437b6fd 100644 --- a/zlib-flate/zlib-flate.cc +++ b/zlib-flate/zlib-flate.cc @@ -18,7 +18,7 @@ void usage() << " zlib compression level from" << std::endl << "1 to 9 where lower numbers are faster and" << " less compressed and higher" << std::endl - << "numbers are slower and more compresed" + << "numbers are slower and more compressed" << std::endl; exit(2); }