aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-10-07 23:46:07 +0200
committerJay Berkenbilt <ejb@ql.org>2023-10-07 23:52:35 +0200
commit8854143c7b204534d4ee2ecdf96fd17be0f7e9bd (patch)
tree98c4e141ff9908f554c958c7c201a1d3ccdbad19
parent076b33ce4ef5027428fefbc0cddb5a3f86221c3d (diff)
downloadqpdf-8854143c7b204534d4ee2ecdf96fd17be0f7e9bd.tar.zst
Spell check
-rw-r--r--cSpell.json150
-rw-r--r--examples/qpdfjob-remove-annotations.cc2
-rw-r--r--include/qpdf/QIntC.hh2
-rw-r--r--include/qpdf/QPDFObjectHandle.hh2
-rw-r--r--include/qpdf/QPDFWriter.hh2
-rw-r--r--include/qpdf/qpdf-c.h4
-rw-r--r--libqpdf/QPDFJob_json.cc2
-rw-r--r--manual/release-notes.rst3
8 files changed, 158 insertions, 9 deletions
diff --git a/cSpell.json b/cSpell.json
index c73ecdbf..9a4eea86 100644
--- a/cSpell.json
+++ b/cSpell.json
@@ -1,6 +1,7 @@
{
"version": "0.1",
"words": [
+ "abcdefghijklmnopqrstuvwxy",
"abuild",
"aclocal",
"acro",
@@ -13,15 +14,24 @@
"afdhph",
"ageneration",
"aitems",
+ "alternativename",
+ "annotationflags",
"annots",
"aobjid",
"apcm",
"apdict",
+ "appdir",
+ "appearancestate",
+ "appendable",
"appian",
"appimage",
"appspot",
"arandom",
+ "argfile",
"arora",
+ "artbox",
+ "asciihexdecode",
+ "asciihexdecoder",
"asdf",
"atoi",
"autobuilder",
@@ -33,15 +43,20 @@
"baaa",
"backports",
"bashcompinit",
+ "bashdefault",
"berkenbilt",
"binmode",
+ "bitspercomponent",
"bitstream",
+ "bitwriter",
"blinearize",
"boldseq",
"bookinfo",
+ "boxkey",
"bpreserve",
"bqpdf",
"brdp",
+ "bufferinputsource",
"bufpl",
"bufsize",
"buildrules",
@@ -59,6 +74,7 @@
"cleanpatch",
"clearsign",
"cleartext",
+ "closedfileinputsource",
"cloudmersive",
"clusterfuzz",
"cmake",
@@ -68,6 +84,7 @@
"colorspace",
"conftest",
"connor",
+ "contentnormalizer",
"copiable",
"cout",
"cpack",
@@ -78,9 +95,12 @@
"cregex",
"crend",
"crnl",
+ "cropbox",
+ "cryptorandomdataprovider",
"csoe",
"cstr",
"ctest",
+ "cwmain",
"cxxflags",
"cygwin",
"datafile",
@@ -88,11 +108,16 @@
"dcmake",
"dctdecode",
"decltype",
+ "decodelevel",
+ "decodeparms",
"decrypter",
"deduplicating",
+ "defaultvalue",
"deps",
"deserialization",
"destdir",
+ "destpage",
+ "destpageposfrom",
"dests",
"devel",
"didier",
@@ -106,6 +131,9 @@
"docdir",
"dohnal",
"dontalign",
+ "dontpanic",
+ "downsampled",
+ "downsampler",
"dqpdf",
"dqtest",
"dquote",
@@ -113,6 +141,7 @@
"dshow",
"dtdvalid",
"dwindows",
+ "earlychange",
"ebra",
"ecks",
"efdh",
@@ -137,16 +166,21 @@
"fdict",
"ffield",
"fghij",
+ "fieldflags",
+ "fileinputsource",
+ "filenow",
"filep",
+ "filetrailer",
"firstname",
"firstterm",
"flarp",
"flate",
- "flate's",
"flatelzwdecode",
+ "flate's",
"florian",
"fmatrix",
"fopen",
+ "forcenone",
"fplain",
"fsanitize",
"fseeki",
@@ -170,12 +204,18 @@
"gnuc",
"gnutls",
"gprof",
+ "grandkid",
+ "grandkids",
"gswin",
"gynvael",
"hagoogamagoogle",
"hasacroform",
"hcryptprov",
"hdict",
+ "hexchars",
+ "hexkey",
+ "hexkeylen",
+ "hexstrings",
"hoffmann",
"holger",
"hosoda",
@@ -187,12 +227,18 @@
"ifeq",
"ifstream",
"iinfilename",
+ "imagemask",
+ "impls",
"includedir",
"indoc",
"infile",
"infilename",
"inheritsresources",
+ "initially",
+ "inlineimage",
"inpdf",
+ "inputsource",
+ "insecurerandomdataprovider",
"inttypes",
"iostream",
"ioutfilename",
@@ -200,6 +246,7 @@
"ischeckbox",
"ischoice",
"isradiobutton",
+ "istext",
"istr",
"italicseq",
"itemizedlist",
@@ -215,6 +262,7 @@
"jint",
"jklmnopqrstuvwxyz",
"jmap",
+ "jmpbuf",
"jmsg",
"jnull",
"jpeglib",
@@ -223,10 +271,13 @@
"jsample",
"jsamprow",
"jsimd",
+ "jsonhandler",
"jsonversion",
"jstr",
"jurczyk",
+ "keybits",
"kgdl",
+ "lastnum",
"lastreleased",
"latexmk",
"latexpdf",
@@ -237,6 +288,7 @@
"libclang",
"libcmt",
"libcmtd",
+ "libctx",
"libdir",
"libgcc",
"libjpeg",
@@ -246,17 +298,21 @@
"libtests",
"libversion",
"libz",
+ "lindict",
"linearization",
"linearize",
"linearizes",
"linearizing",
+ "linebuf",
"linefeeds",
"linkend",
+ "linkey",
"linp",
"listitem",
"ljpeg",
"localtime",
"longjmp",
+ "losslessly",
"lpstr",
"lqpdf",
"lssl",
@@ -265,40 +321,57 @@
"macports",
"maint",
"makefiles",
+ "makelangid",
"malloc",
"mandir",
+ "mappingname",
"masamichi",
"mateusz",
"maxdepth",
"maxobjectid",
+ "maxplus",
+ "maxval",
"mdash",
+ "mediabox",
"memstream",
"mindepth",
+ "minminus",
"mkdir",
"mkinstalldirs",
"mklink",
"moddate",
+ "modificationdate",
"modifyannotations",
+ "modifyassembly",
+ "modifyforms",
+ "modifyother",
"monoseq",
"msvc",
- "msvc's",
"msvcrt",
+ "msvc's",
"msys",
"multithreaded",
"municode",
"mutators",
"namelink",
+ "namesp",
+ "nannots",
"nbsp",
"ndash",
"ndebug",
+ "needappearances",
"nendstream",
+ "newdict",
+ "newpage",
"nfields",
+ "nfirst",
"ngrandkids",
"nkids",
"nlines",
"nntree",
"nobjects",
"nocase",
+ "nodash",
"nodefaultlib",
"nolint",
"noout",
@@ -309,22 +382,28 @@
"nrounds",
"nshared",
"nsis",
+ "nspaces",
"nspecs",
"nstripes",
"nullptr",
"numrange",
+ "numtree",
"nval",
"nwarnings",
+ "objdesc",
"objdump",
"objectinfo",
"objgen",
"objidok",
"objok",
+ "objspec",
"objstm",
"odict",
+ "offsetinputsource",
"ofirst",
"oiter",
"olast",
+ "oldpdf",
"olimits",
"olist",
"omap",
@@ -337,24 +416,39 @@
"ostream",
"ostringstream",
"ostringstreams",
+ "outbuffer",
"outdoc",
"outfile",
"outfilename",
+ "outname",
+ "outpdf",
+ "outpdfw",
+ "outprefix",
+ "outval",
+ "ownerpasswordmatched",
"pacman",
"paeth",
"pagelabel",
"pagelabels",
+ "pagemode",
"pageno",
+ "pagenos",
+ "pageobj",
+ "pagepos",
"pageposfrom",
"parms",
"parseable",
+ "parsecontent",
"parsedoffset",
+ "partialname",
+ "pathsep",
"patmv",
"patrepl",
"pavlyuk",
"pbytes",
"pclm",
"pcre",
+ "pdfdoc",
"pdflatex",
"pdfs",
"pdfversion",
@@ -365,18 +459,27 @@
"pkgconfig",
"pldh",
"pluggable",
+ "pngfilter",
"pngify",
"pngpredictor",
"pointerholder",
"poppler",
"prebuild",
"precheck",
+ "preferredcontents",
+ "preferredname",
+ "prefiltering",
"prepended",
"prepending",
"printf",
+ "printhigh",
+ "printlow",
+ "procset",
+ "procsets",
"programfiles",
"programlisting",
"proxied",
+ "pushbuttons",
"pushedinheritedpageresources",
"putu",
"pval",
@@ -388,7 +491,6 @@
"qintc",
"qnumbers",
"qpdf",
- "qpdf's",
"qpdfacroformdocumenthelper",
"qpdfannotationobjecthelper",
"qpdfargparser",
@@ -420,6 +522,7 @@
"qpdfpagelabeldocumenthelper",
"qpdfpageobjecthelper",
"qpdfparser",
+ "qpdf's",
"qpdfs",
"qpdfstreamfilter",
"qpdfsystemerror",
@@ -434,31 +537,50 @@
"qstrings",
"qtest",
"quadding",
+ "quotedblbase",
+ "quotedblright",
+ "quoteleft",
+ "quoteright",
"quotesinglbase",
"qutil",
"qwer",
"qwert",
"qwww",
+ "randomdataprovider",
"rcon",
+ "rdicts",
"rdpp",
"rdquo",
+ "recovereduserpassword",
"refcount",
+ "referring",
+ "refpage",
+ "refpos",
"reimplement",
+ "resampler",
"resave",
+ "resourcefinder",
"retargeted",
"rfont",
"rijndael",
"rkey",
"rklength",
+ "rnames",
+ "rotatex",
+ "roundoff",
"rpath",
"rstream",
"runlength",
+ "runlengthdecode",
"runpath",
"runtest",
"sahil",
"samp",
"sarray",
+ "scanline",
+ "scanlines",
"scarff",
+ "securerandomdataprovider",
"seekable",
"segfaulting",
"setargv",
@@ -476,26 +598,41 @@
"srandom",
"srdp",
"sregex",
+ "stampfile",
+ "stamppdf",
"startxref",
"stdexcept",
"stdint",
+ "stdiofile",
"stdlib",
"stdlib's",
"stgz",
"stoi",
"strcasecmp",
"strcmp",
+ "streammethod",
"strequal",
"strerror",
+ "stringmethod",
+ "stringprep",
+ "stripesize",
"strtoui",
"struct",
"stylesheet",
"subclassing",
+ "subdict",
+ "subdictionaries",
+ "subdictionary",
"subdirs",
"subkey",
"subkeys",
+ "sublang",
+ "submatches",
+ "subparsers",
"subramanyam",
+ "subtract",
"swversion",
+ "sysnow",
"sysroot",
"syuu",
"tbuf",
@@ -523,6 +660,7 @@
"uiter",
"ularge",
"ulink",
+ "umaxplus",
"uncategorized",
"uncompresesd",
"uncompress",
@@ -533,6 +671,7 @@
"unexport",
"unfilterable",
"unparse",
+ "unparsing",
"unpickling",
"unrepaired",
"unretrieved",
@@ -540,12 +679,15 @@
"upages",
"upass",
"urandom",
+ "userpasswordmatched",
"uval",
"variablelist",
"varlistentry",
"varname",
"vecs",
"venv",
+ "verifycontext",
+ "versionless",
"virtualenv",
"vitaliy",
"vkey",
@@ -561,6 +703,8 @@
"wfilenamep",
"wflags",
"wfopen",
+ "winansi",
+ "wincrypt",
"wmain",
"wmatrix",
"wmode",
diff --git a/examples/qpdfjob-remove-annotations.cc b/examples/qpdfjob-remove-annotations.cc
index bc043d33..1ebb5366 100644
--- a/examples/qpdfjob-remove-annotations.cc
+++ b/examples/qpdfjob-remove-annotations.cc
@@ -8,7 +8,7 @@
// 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
-// 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;
diff --git a/include/qpdf/QIntC.hh b/include/qpdf/QIntC.hh
index e6c337c2..6e997ffc 100644
--- a/include/qpdf/QIntC.hh
+++ b/include/qpdf/QIntC.hh
@@ -277,6 +277,7 @@ namespace QIntC // QIntC = qpdf Integer Conversion
QIntC::range_check_error<T>(cur, delta);
}
+ // ABI: fix spelling error in function name
template <typename T>
void
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>
inline void
range_check_substract(T const& cur, T const& delta)
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 03262b40..ca135125 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -1177,7 +1177,7 @@ class QPDFObjectHandle
// 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.
// * 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
// as "u:" followed by the UTF-8 encoded string. Example:
// "u:potato".
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh
index be2d6f2e..6bbe69e4 100644
--- a/include/qpdf/QPDFWriter.hh
+++ b/include/qpdf/QPDFWriter.hh
@@ -293,7 +293,7 @@ class QPDFWriter
QPDF_DLL
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
// preserved if we explicitly set encryption parameters.
QPDF_DLL
diff --git a/include/qpdf/qpdf-c.h b/include/qpdf/qpdf-c.h
index e3639a43..d4305602 100644
--- a/include/qpdf/qpdf-c.h
+++ b/include/qpdf/qpdf-c.h
@@ -608,7 +608,7 @@ extern "C" {
* 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
* 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
* 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_DLL
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.
*/
QPDF_DLL
diff --git a/libqpdf/QPDFJob_json.cc b/libqpdf/QPDFJob_json.cc
index 95622f36..932cc84c 100644
--- a/libqpdf/QPDFJob_json.cc
+++ b/libqpdf/QPDFJob_json.cc
@@ -32,7 +32,7 @@ namespace
// 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.
- // 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
// 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
diff --git a/manual/release-notes.rst b/manual/release-notes.rst
index 679e7f9c..2499201c 100644
--- a/manual/release-notes.rst
+++ b/manual/release-notes.rst
@@ -33,6 +33,9 @@ Planned changes for future 12.x (subject to change):
buffer1.copy();`` or ``Buffer buffer2{buffer1.copy()};`` to make
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
11.6.2: not yet released