Spell check

This commit is contained in:
Jay Berkenbilt 2023-10-07 17:46:07 -04:00
parent 076b33ce4e
commit 8854143c7b
8 changed files with 158 additions and 9 deletions

View File

@ -1,6 +1,7 @@
{ {
"version": "0.1", "version": "0.1",
"words": [ "words": [
"abcdefghijklmnopqrstuvwxy",
"abuild", "abuild",
"aclocal", "aclocal",
"acro", "acro",
@ -13,15 +14,24 @@
"afdhph", "afdhph",
"ageneration", "ageneration",
"aitems", "aitems",
"alternativename",
"annotationflags",
"annots", "annots",
"aobjid", "aobjid",
"apcm", "apcm",
"apdict", "apdict",
"appdir",
"appearancestate",
"appendable",
"appian", "appian",
"appimage", "appimage",
"appspot", "appspot",
"arandom", "arandom",
"argfile",
"arora", "arora",
"artbox",
"asciihexdecode",
"asciihexdecoder",
"asdf", "asdf",
"atoi", "atoi",
"autobuilder", "autobuilder",
@ -33,15 +43,20 @@
"baaa", "baaa",
"backports", "backports",
"bashcompinit", "bashcompinit",
"bashdefault",
"berkenbilt", "berkenbilt",
"binmode", "binmode",
"bitspercomponent",
"bitstream", "bitstream",
"bitwriter",
"blinearize", "blinearize",
"boldseq", "boldseq",
"bookinfo", "bookinfo",
"boxkey",
"bpreserve", "bpreserve",
"bqpdf", "bqpdf",
"brdp", "brdp",
"bufferinputsource",
"bufpl", "bufpl",
"bufsize", "bufsize",
"buildrules", "buildrules",
@ -59,6 +74,7 @@
"cleanpatch", "cleanpatch",
"clearsign", "clearsign",
"cleartext", "cleartext",
"closedfileinputsource",
"cloudmersive", "cloudmersive",
"clusterfuzz", "clusterfuzz",
"cmake", "cmake",
@ -68,6 +84,7 @@
"colorspace", "colorspace",
"conftest", "conftest",
"connor", "connor",
"contentnormalizer",
"copiable", "copiable",
"cout", "cout",
"cpack", "cpack",
@ -78,9 +95,12 @@
"cregex", "cregex",
"crend", "crend",
"crnl", "crnl",
"cropbox",
"cryptorandomdataprovider",
"csoe", "csoe",
"cstr", "cstr",
"ctest", "ctest",
"cwmain",
"cxxflags", "cxxflags",
"cygwin", "cygwin",
"datafile", "datafile",
@ -88,11 +108,16 @@
"dcmake", "dcmake",
"dctdecode", "dctdecode",
"decltype", "decltype",
"decodelevel",
"decodeparms",
"decrypter", "decrypter",
"deduplicating", "deduplicating",
"defaultvalue",
"deps", "deps",
"deserialization", "deserialization",
"destdir", "destdir",
"destpage",
"destpageposfrom",
"dests", "dests",
"devel", "devel",
"didier", "didier",
@ -106,6 +131,9 @@
"docdir", "docdir",
"dohnal", "dohnal",
"dontalign", "dontalign",
"dontpanic",
"downsampled",
"downsampler",
"dqpdf", "dqpdf",
"dqtest", "dqtest",
"dquote", "dquote",
@ -113,6 +141,7 @@
"dshow", "dshow",
"dtdvalid", "dtdvalid",
"dwindows", "dwindows",
"earlychange",
"ebra", "ebra",
"ecks", "ecks",
"efdh", "efdh",
@ -137,16 +166,21 @@
"fdict", "fdict",
"ffield", "ffield",
"fghij", "fghij",
"fieldflags",
"fileinputsource",
"filenow",
"filep", "filep",
"filetrailer",
"firstname", "firstname",
"firstterm", "firstterm",
"flarp", "flarp",
"flate", "flate",
"flate's",
"flatelzwdecode", "flatelzwdecode",
"flate's",
"florian", "florian",
"fmatrix", "fmatrix",
"fopen", "fopen",
"forcenone",
"fplain", "fplain",
"fsanitize", "fsanitize",
"fseeki", "fseeki",
@ -170,12 +204,18 @@
"gnuc", "gnuc",
"gnutls", "gnutls",
"gprof", "gprof",
"grandkid",
"grandkids",
"gswin", "gswin",
"gynvael", "gynvael",
"hagoogamagoogle", "hagoogamagoogle",
"hasacroform", "hasacroform",
"hcryptprov", "hcryptprov",
"hdict", "hdict",
"hexchars",
"hexkey",
"hexkeylen",
"hexstrings",
"hoffmann", "hoffmann",
"holger", "holger",
"hosoda", "hosoda",
@ -187,12 +227,18 @@
"ifeq", "ifeq",
"ifstream", "ifstream",
"iinfilename", "iinfilename",
"imagemask",
"impls",
"includedir", "includedir",
"indoc", "indoc",
"infile", "infile",
"infilename", "infilename",
"inheritsresources", "inheritsresources",
"initially",
"inlineimage",
"inpdf", "inpdf",
"inputsource",
"insecurerandomdataprovider",
"inttypes", "inttypes",
"iostream", "iostream",
"ioutfilename", "ioutfilename",
@ -200,6 +246,7 @@
"ischeckbox", "ischeckbox",
"ischoice", "ischoice",
"isradiobutton", "isradiobutton",
"istext",
"istr", "istr",
"italicseq", "italicseq",
"itemizedlist", "itemizedlist",
@ -215,6 +262,7 @@
"jint", "jint",
"jklmnopqrstuvwxyz", "jklmnopqrstuvwxyz",
"jmap", "jmap",
"jmpbuf",
"jmsg", "jmsg",
"jnull", "jnull",
"jpeglib", "jpeglib",
@ -223,10 +271,13 @@
"jsample", "jsample",
"jsamprow", "jsamprow",
"jsimd", "jsimd",
"jsonhandler",
"jsonversion", "jsonversion",
"jstr", "jstr",
"jurczyk", "jurczyk",
"keybits",
"kgdl", "kgdl",
"lastnum",
"lastreleased", "lastreleased",
"latexmk", "latexmk",
"latexpdf", "latexpdf",
@ -237,6 +288,7 @@
"libclang", "libclang",
"libcmt", "libcmt",
"libcmtd", "libcmtd",
"libctx",
"libdir", "libdir",
"libgcc", "libgcc",
"libjpeg", "libjpeg",
@ -246,17 +298,21 @@
"libtests", "libtests",
"libversion", "libversion",
"libz", "libz",
"lindict",
"linearization", "linearization",
"linearize", "linearize",
"linearizes", "linearizes",
"linearizing", "linearizing",
"linebuf",
"linefeeds", "linefeeds",
"linkend", "linkend",
"linkey",
"linp", "linp",
"listitem", "listitem",
"ljpeg", "ljpeg",
"localtime", "localtime",
"longjmp", "longjmp",
"losslessly",
"lpstr", "lpstr",
"lqpdf", "lqpdf",
"lssl", "lssl",
@ -265,40 +321,57 @@
"macports", "macports",
"maint", "maint",
"makefiles", "makefiles",
"makelangid",
"malloc", "malloc",
"mandir", "mandir",
"mappingname",
"masamichi", "masamichi",
"mateusz", "mateusz",
"maxdepth", "maxdepth",
"maxobjectid", "maxobjectid",
"maxplus",
"maxval",
"mdash", "mdash",
"mediabox",
"memstream", "memstream",
"mindepth", "mindepth",
"minminus",
"mkdir", "mkdir",
"mkinstalldirs", "mkinstalldirs",
"mklink", "mklink",
"moddate", "moddate",
"modificationdate",
"modifyannotations", "modifyannotations",
"modifyassembly",
"modifyforms",
"modifyother",
"monoseq", "monoseq",
"msvc", "msvc",
"msvc's",
"msvcrt", "msvcrt",
"msvc's",
"msys", "msys",
"multithreaded", "multithreaded",
"municode", "municode",
"mutators", "mutators",
"namelink", "namelink",
"namesp",
"nannots",
"nbsp", "nbsp",
"ndash", "ndash",
"ndebug", "ndebug",
"needappearances",
"nendstream", "nendstream",
"newdict",
"newpage",
"nfields", "nfields",
"nfirst",
"ngrandkids", "ngrandkids",
"nkids", "nkids",
"nlines", "nlines",
"nntree", "nntree",
"nobjects", "nobjects",
"nocase", "nocase",
"nodash",
"nodefaultlib", "nodefaultlib",
"nolint", "nolint",
"noout", "noout",
@ -309,22 +382,28 @@
"nrounds", "nrounds",
"nshared", "nshared",
"nsis", "nsis",
"nspaces",
"nspecs", "nspecs",
"nstripes", "nstripes",
"nullptr", "nullptr",
"numrange", "numrange",
"numtree",
"nval", "nval",
"nwarnings", "nwarnings",
"objdesc",
"objdump", "objdump",
"objectinfo", "objectinfo",
"objgen", "objgen",
"objidok", "objidok",
"objok", "objok",
"objspec",
"objstm", "objstm",
"odict", "odict",
"offsetinputsource",
"ofirst", "ofirst",
"oiter", "oiter",
"olast", "olast",
"oldpdf",
"olimits", "olimits",
"olist", "olist",
"omap", "omap",
@ -337,24 +416,39 @@
"ostream", "ostream",
"ostringstream", "ostringstream",
"ostringstreams", "ostringstreams",
"outbuffer",
"outdoc", "outdoc",
"outfile", "outfile",
"outfilename", "outfilename",
"outname",
"outpdf",
"outpdfw",
"outprefix",
"outval",
"ownerpasswordmatched",
"pacman", "pacman",
"paeth", "paeth",
"pagelabel", "pagelabel",
"pagelabels", "pagelabels",
"pagemode",
"pageno", "pageno",
"pagenos",
"pageobj",
"pagepos",
"pageposfrom", "pageposfrom",
"parms", "parms",
"parseable", "parseable",
"parsecontent",
"parsedoffset", "parsedoffset",
"partialname",
"pathsep",
"patmv", "patmv",
"patrepl", "patrepl",
"pavlyuk", "pavlyuk",
"pbytes", "pbytes",
"pclm", "pclm",
"pcre", "pcre",
"pdfdoc",
"pdflatex", "pdflatex",
"pdfs", "pdfs",
"pdfversion", "pdfversion",
@ -365,18 +459,27 @@
"pkgconfig", "pkgconfig",
"pldh", "pldh",
"pluggable", "pluggable",
"pngfilter",
"pngify", "pngify",
"pngpredictor", "pngpredictor",
"pointerholder", "pointerholder",
"poppler", "poppler",
"prebuild", "prebuild",
"precheck", "precheck",
"preferredcontents",
"preferredname",
"prefiltering",
"prepended", "prepended",
"prepending", "prepending",
"printf", "printf",
"printhigh",
"printlow",
"procset",
"procsets",
"programfiles", "programfiles",
"programlisting", "programlisting",
"proxied", "proxied",
"pushbuttons",
"pushedinheritedpageresources", "pushedinheritedpageresources",
"putu", "putu",
"pval", "pval",
@ -388,7 +491,6 @@
"qintc", "qintc",
"qnumbers", "qnumbers",
"qpdf", "qpdf",
"qpdf's",
"qpdfacroformdocumenthelper", "qpdfacroformdocumenthelper",
"qpdfannotationobjecthelper", "qpdfannotationobjecthelper",
"qpdfargparser", "qpdfargparser",
@ -420,6 +522,7 @@
"qpdfpagelabeldocumenthelper", "qpdfpagelabeldocumenthelper",
"qpdfpageobjecthelper", "qpdfpageobjecthelper",
"qpdfparser", "qpdfparser",
"qpdf's",
"qpdfs", "qpdfs",
"qpdfstreamfilter", "qpdfstreamfilter",
"qpdfsystemerror", "qpdfsystemerror",
@ -434,31 +537,50 @@
"qstrings", "qstrings",
"qtest", "qtest",
"quadding", "quadding",
"quotedblbase",
"quotedblright",
"quoteleft",
"quoteright",
"quotesinglbase", "quotesinglbase",
"qutil", "qutil",
"qwer", "qwer",
"qwert", "qwert",
"qwww", "qwww",
"randomdataprovider",
"rcon", "rcon",
"rdicts",
"rdpp", "rdpp",
"rdquo", "rdquo",
"recovereduserpassword",
"refcount", "refcount",
"referring",
"refpage",
"refpos",
"reimplement", "reimplement",
"resampler",
"resave", "resave",
"resourcefinder",
"retargeted", "retargeted",
"rfont", "rfont",
"rijndael", "rijndael",
"rkey", "rkey",
"rklength", "rklength",
"rnames",
"rotatex",
"roundoff",
"rpath", "rpath",
"rstream", "rstream",
"runlength", "runlength",
"runlengthdecode",
"runpath", "runpath",
"runtest", "runtest",
"sahil", "sahil",
"samp", "samp",
"sarray", "sarray",
"scanline",
"scanlines",
"scarff", "scarff",
"securerandomdataprovider",
"seekable", "seekable",
"segfaulting", "segfaulting",
"setargv", "setargv",
@ -476,26 +598,41 @@
"srandom", "srandom",
"srdp", "srdp",
"sregex", "sregex",
"stampfile",
"stamppdf",
"startxref", "startxref",
"stdexcept", "stdexcept",
"stdint", "stdint",
"stdiofile",
"stdlib", "stdlib",
"stdlib's", "stdlib's",
"stgz", "stgz",
"stoi", "stoi",
"strcasecmp", "strcasecmp",
"strcmp", "strcmp",
"streammethod",
"strequal", "strequal",
"strerror", "strerror",
"stringmethod",
"stringprep",
"stripesize",
"strtoui", "strtoui",
"struct", "struct",
"stylesheet", "stylesheet",
"subclassing", "subclassing",
"subdict",
"subdictionaries",
"subdictionary",
"subdirs", "subdirs",
"subkey", "subkey",
"subkeys", "subkeys",
"sublang",
"submatches",
"subparsers",
"subramanyam", "subramanyam",
"subtract",
"swversion", "swversion",
"sysnow",
"sysroot", "sysroot",
"syuu", "syuu",
"tbuf", "tbuf",
@ -523,6 +660,7 @@
"uiter", "uiter",
"ularge", "ularge",
"ulink", "ulink",
"umaxplus",
"uncategorized", "uncategorized",
"uncompresesd", "uncompresesd",
"uncompress", "uncompress",
@ -533,6 +671,7 @@
"unexport", "unexport",
"unfilterable", "unfilterable",
"unparse", "unparse",
"unparsing",
"unpickling", "unpickling",
"unrepaired", "unrepaired",
"unretrieved", "unretrieved",
@ -540,12 +679,15 @@
"upages", "upages",
"upass", "upass",
"urandom", "urandom",
"userpasswordmatched",
"uval", "uval",
"variablelist", "variablelist",
"varlistentry", "varlistentry",
"varname", "varname",
"vecs", "vecs",
"venv", "venv",
"verifycontext",
"versionless",
"virtualenv", "virtualenv",
"vitaliy", "vitaliy",
"vkey", "vkey",
@ -561,6 +703,8 @@
"wfilenamep", "wfilenamep",
"wflags", "wflags",
"wfopen", "wfopen",
"winansi",
"wincrypt",
"wmain", "wmain",
"wmatrix", "wmatrix",
"wmode", "wmode",

View File

@ -8,7 +8,7 @@
// This example demonstrates how we can use the QPDFJob createQPDF and writeQPDF methods to add // This example demonstrates how we can use the QPDFJob createQPDF and writeQPDF methods to add
// custom transformations to the output produced by QPDFJob runs. The example is a full copy of the // custom transformations to the output produced by QPDFJob runs. The example is a full copy of the
// qpdf program modified to allways remove all annotations from the final output. // qpdf program modified to always remove all annotations from the final output.
static char const* whoami = nullptr; static char const* whoami = nullptr;

View File

@ -277,6 +277,7 @@ namespace QIntC // QIntC = qpdf Integer Conversion
QIntC::range_check_error<T>(cur, delta); QIntC::range_check_error<T>(cur, delta);
} }
// ABI: fix spelling error in function name
template <typename T> template <typename T>
void void
range_check_substract_error(T const& cur, T const& delta) range_check_substract_error(T const& cur, T const& delta)
@ -295,6 +296,7 @@ namespace QIntC // QIntC = qpdf Integer Conversion
} }
} }
// ABI: fix typo in function name
template <typename T> template <typename T>
inline void inline void
range_check_substract(T const& cur, T const& delta) range_check_substract(T const& cur, T const& delta)

View File

@ -1177,7 +1177,7 @@ class QPDFObjectHandle
// mappings are not reversible. There is no way to tell the difference between a string that // mappings are not reversible. There is no way to tell the difference between a string that
// looks like a name or indirect object from an actual name or indirect object. // looks like a name or indirect object from an actual name or indirect object.
// * JSON v2: // * JSON v2:
// * Unicode strings and strings encoded with PDF Doc encoding that can be bidrectionally // * Unicode strings and strings encoded with PDF Doc encoding that can be bidirectionally
// mapped two Unicode (which is all strings without undefined characters) are represented // mapped two Unicode (which is all strings without undefined characters) are represented
// as "u:" followed by the UTF-8 encoded string. Example: // as "u:" followed by the UTF-8 encoded string. Example:
// "u:potato". // "u:potato".

View File

@ -293,7 +293,7 @@ class QPDFWriter
QPDF_DLL QPDF_DLL
void setSuppressOriginalObjectIDs(bool); void setSuppressOriginalObjectIDs(bool);
// Preserve encryption. The default is true unless prefilering, content normalization, or qdf // Preserve encryption. The default is true unless prefiltering, content normalization, or qdf
// mode has been selected in which case encryption is never preserved. Encryption is also not // mode has been selected in which case encryption is never preserved. Encryption is also not
// preserved if we explicitly set encryption parameters. // preserved if we explicitly set encryption parameters.
QPDF_DLL QPDF_DLL

View File

@ -608,7 +608,7 @@ extern "C" {
* not destroy the object. All QPDFObjectHandle objects are deleted when they are no longer * not destroy the object. All QPDFObjectHandle objects are deleted when they are no longer
* referenced. Releasing an object handle simply invalidates it. For example, if you create an * referenced. Releasing an object handle simply invalidates it. For example, if you create an
* object, add it to an existing dictionary or array, and then release its handle, the object is * object, add it to an existing dictionary or array, and then release its handle, the object is
* safely part of the dictionary or array. Similarly, any other object handle refering to the * safely part of the dictionary or array. Similarly, any other object handle referring to the
* object remains valid. Explicitly releasing an object handle is essentially the same as * object remains valid. Explicitly releasing an object handle is essentially the same as
* letting a QPDFObjectHandle go out of scope in the C++ API. * letting a QPDFObjectHandle go out of scope in the C++ API.
* *
@ -826,7 +826,7 @@ extern "C" {
qpdf_oh qpdf_oh_new_string(qpdf_data qpdf, char const* str); qpdf_oh qpdf_oh_new_string(qpdf_data qpdf, char const* str);
QPDF_DLL QPDF_DLL
qpdf_oh qpdf_oh_new_unicode_string(qpdf_data qpdf, char const* utf8_str); qpdf_oh qpdf_oh_new_unicode_string(qpdf_data qpdf, char const* utf8_str);
/* Use qpdf_oh_new_binary_string for creating a string that may contain atrbitary binary data /* Use qpdf_oh_new_binary_string for creating a string that may contain arbitrary binary data
* including embedded null characters. * including embedded null characters.
*/ */
QPDF_DLL QPDF_DLL

View File

@ -32,7 +32,7 @@ namespace
// The code that calls these methods is automatically generated by generate_auto_job. This // The code that calls these methods is automatically generated by generate_auto_job. This
// describes how we implement what it does. We keep a stack of handlers in json_handlers. // describes how we implement what it does. We keep a stack of handlers in json_handlers.
// The top of the stack is the "current" json handler, intially for the top-level object. // The top of the stack is the "current" json handler, initially for the top-level object.
// Whenever we encounter a scalar, we add a handler using addBare, addParameter, or // Whenever we encounter a scalar, we add a handler using addBare, addParameter, or
// addChoices. Whenever we encounter a dictionary, we first add the dictionary handlers. // addChoices. Whenever we encounter a dictionary, we first add the dictionary handlers.
// Then we walk into the dictionary and, for each key, we register a dict key handler and // Then we walk into the dictionary and, for each key, we register a dict key handler and

View File

@ -33,6 +33,9 @@ Planned changes for future 12.x (subject to change):
buffer1.copy();`` or ``Buffer buffer2{buffer1.copy()};`` to make buffer1.copy();`` or ``Buffer buffer2{buffer1.copy()};`` to make
it explicit that copying is intended. it explicit that copying is intended.
- ``QIntC.hh`` contains the type ``substract``, which will be fixed
to ``subtract``. (Not enabled with ``FUTURE`` option.)
.. x.y.z: not yet released .. x.y.z: not yet released
11.6.2: not yet released 11.6.2: not yet released