Commit 8854143c7b204534d4ee2ecdf96fd17be0f7e9bd

Authored by Jay Berkenbilt
1 parent 076b33ce

Spell check

cSpell.json
1 1 {
2 2 "version": "0.1",
3 3 "words": [
  4 + "abcdefghijklmnopqrstuvwxy",
4 5 "abuild",
5 6 "aclocal",
6 7 "acro",
... ... @@ -13,15 +14,24 @@
13 14 "afdhph",
14 15 "ageneration",
15 16 "aitems",
  17 + "alternativename",
  18 + "annotationflags",
16 19 "annots",
17 20 "aobjid",
18 21 "apcm",
19 22 "apdict",
  23 + "appdir",
  24 + "appearancestate",
  25 + "appendable",
20 26 "appian",
21 27 "appimage",
22 28 "appspot",
23 29 "arandom",
  30 + "argfile",
24 31 "arora",
  32 + "artbox",
  33 + "asciihexdecode",
  34 + "asciihexdecoder",
25 35 "asdf",
26 36 "atoi",
27 37 "autobuilder",
... ... @@ -33,15 +43,20 @@
33 43 "baaa",
34 44 "backports",
35 45 "bashcompinit",
  46 + "bashdefault",
36 47 "berkenbilt",
37 48 "binmode",
  49 + "bitspercomponent",
38 50 "bitstream",
  51 + "bitwriter",
39 52 "blinearize",
40 53 "boldseq",
41 54 "bookinfo",
  55 + "boxkey",
42 56 "bpreserve",
43 57 "bqpdf",
44 58 "brdp",
  59 + "bufferinputsource",
45 60 "bufpl",
46 61 "bufsize",
47 62 "buildrules",
... ... @@ -59,6 +74,7 @@
59 74 "cleanpatch",
60 75 "clearsign",
61 76 "cleartext",
  77 + "closedfileinputsource",
62 78 "cloudmersive",
63 79 "clusterfuzz",
64 80 "cmake",
... ... @@ -68,6 +84,7 @@
68 84 "colorspace",
69 85 "conftest",
70 86 "connor",
  87 + "contentnormalizer",
71 88 "copiable",
72 89 "cout",
73 90 "cpack",
... ... @@ -78,9 +95,12 @@
78 95 "cregex",
79 96 "crend",
80 97 "crnl",
  98 + "cropbox",
  99 + "cryptorandomdataprovider",
81 100 "csoe",
82 101 "cstr",
83 102 "ctest",
  103 + "cwmain",
84 104 "cxxflags",
85 105 "cygwin",
86 106 "datafile",
... ... @@ -88,11 +108,16 @@
88 108 "dcmake",
89 109 "dctdecode",
90 110 "decltype",
  111 + "decodelevel",
  112 + "decodeparms",
91 113 "decrypter",
92 114 "deduplicating",
  115 + "defaultvalue",
93 116 "deps",
94 117 "deserialization",
95 118 "destdir",
  119 + "destpage",
  120 + "destpageposfrom",
96 121 "dests",
97 122 "devel",
98 123 "didier",
... ... @@ -106,6 +131,9 @@
106 131 "docdir",
107 132 "dohnal",
108 133 "dontalign",
  134 + "dontpanic",
  135 + "downsampled",
  136 + "downsampler",
109 137 "dqpdf",
110 138 "dqtest",
111 139 "dquote",
... ... @@ -113,6 +141,7 @@
113 141 "dshow",
114 142 "dtdvalid",
115 143 "dwindows",
  144 + "earlychange",
116 145 "ebra",
117 146 "ecks",
118 147 "efdh",
... ... @@ -137,16 +166,21 @@
137 166 "fdict",
138 167 "ffield",
139 168 "fghij",
  169 + "fieldflags",
  170 + "fileinputsource",
  171 + "filenow",
140 172 "filep",
  173 + "filetrailer",
141 174 "firstname",
142 175 "firstterm",
143 176 "flarp",
144 177 "flate",
145   - "flate's",
146 178 "flatelzwdecode",
  179 + "flate's",
147 180 "florian",
148 181 "fmatrix",
149 182 "fopen",
  183 + "forcenone",
150 184 "fplain",
151 185 "fsanitize",
152 186 "fseeki",
... ... @@ -170,12 +204,18 @@
170 204 "gnuc",
171 205 "gnutls",
172 206 "gprof",
  207 + "grandkid",
  208 + "grandkids",
173 209 "gswin",
174 210 "gynvael",
175 211 "hagoogamagoogle",
176 212 "hasacroform",
177 213 "hcryptprov",
178 214 "hdict",
  215 + "hexchars",
  216 + "hexkey",
  217 + "hexkeylen",
  218 + "hexstrings",
179 219 "hoffmann",
180 220 "holger",
181 221 "hosoda",
... ... @@ -187,12 +227,18 @@
187 227 "ifeq",
188 228 "ifstream",
189 229 "iinfilename",
  230 + "imagemask",
  231 + "impls",
190 232 "includedir",
191 233 "indoc",
192 234 "infile",
193 235 "infilename",
194 236 "inheritsresources",
  237 + "initially",
  238 + "inlineimage",
195 239 "inpdf",
  240 + "inputsource",
  241 + "insecurerandomdataprovider",
196 242 "inttypes",
197 243 "iostream",
198 244 "ioutfilename",
... ... @@ -200,6 +246,7 @@
200 246 "ischeckbox",
201 247 "ischoice",
202 248 "isradiobutton",
  249 + "istext",
203 250 "istr",
204 251 "italicseq",
205 252 "itemizedlist",
... ... @@ -215,6 +262,7 @@
215 262 "jint",
216 263 "jklmnopqrstuvwxyz",
217 264 "jmap",
  265 + "jmpbuf",
218 266 "jmsg",
219 267 "jnull",
220 268 "jpeglib",
... ... @@ -223,10 +271,13 @@
223 271 "jsample",
224 272 "jsamprow",
225 273 "jsimd",
  274 + "jsonhandler",
226 275 "jsonversion",
227 276 "jstr",
228 277 "jurczyk",
  278 + "keybits",
229 279 "kgdl",
  280 + "lastnum",
230 281 "lastreleased",
231 282 "latexmk",
232 283 "latexpdf",
... ... @@ -237,6 +288,7 @@
237 288 "libclang",
238 289 "libcmt",
239 290 "libcmtd",
  291 + "libctx",
240 292 "libdir",
241 293 "libgcc",
242 294 "libjpeg",
... ... @@ -246,17 +298,21 @@
246 298 "libtests",
247 299 "libversion",
248 300 "libz",
  301 + "lindict",
249 302 "linearization",
250 303 "linearize",
251 304 "linearizes",
252 305 "linearizing",
  306 + "linebuf",
253 307 "linefeeds",
254 308 "linkend",
  309 + "linkey",
255 310 "linp",
256 311 "listitem",
257 312 "ljpeg",
258 313 "localtime",
259 314 "longjmp",
  315 + "losslessly",
260 316 "lpstr",
261 317 "lqpdf",
262 318 "lssl",
... ... @@ -265,40 +321,57 @@
265 321 "macports",
266 322 "maint",
267 323 "makefiles",
  324 + "makelangid",
268 325 "malloc",
269 326 "mandir",
  327 + "mappingname",
270 328 "masamichi",
271 329 "mateusz",
272 330 "maxdepth",
273 331 "maxobjectid",
  332 + "maxplus",
  333 + "maxval",
274 334 "mdash",
  335 + "mediabox",
275 336 "memstream",
276 337 "mindepth",
  338 + "minminus",
277 339 "mkdir",
278 340 "mkinstalldirs",
279 341 "mklink",
280 342 "moddate",
  343 + "modificationdate",
281 344 "modifyannotations",
  345 + "modifyassembly",
  346 + "modifyforms",
  347 + "modifyother",
282 348 "monoseq",
283 349 "msvc",
284   - "msvc's",
285 350 "msvcrt",
  351 + "msvc's",
286 352 "msys",
287 353 "multithreaded",
288 354 "municode",
289 355 "mutators",
290 356 "namelink",
  357 + "namesp",
  358 + "nannots",
291 359 "nbsp",
292 360 "ndash",
293 361 "ndebug",
  362 + "needappearances",
294 363 "nendstream",
  364 + "newdict",
  365 + "newpage",
295 366 "nfields",
  367 + "nfirst",
296 368 "ngrandkids",
297 369 "nkids",
298 370 "nlines",
299 371 "nntree",
300 372 "nobjects",
301 373 "nocase",
  374 + "nodash",
302 375 "nodefaultlib",
303 376 "nolint",
304 377 "noout",
... ... @@ -309,22 +382,28 @@
309 382 "nrounds",
310 383 "nshared",
311 384 "nsis",
  385 + "nspaces",
312 386 "nspecs",
313 387 "nstripes",
314 388 "nullptr",
315 389 "numrange",
  390 + "numtree",
316 391 "nval",
317 392 "nwarnings",
  393 + "objdesc",
318 394 "objdump",
319 395 "objectinfo",
320 396 "objgen",
321 397 "objidok",
322 398 "objok",
  399 + "objspec",
323 400 "objstm",
324 401 "odict",
  402 + "offsetinputsource",
325 403 "ofirst",
326 404 "oiter",
327 405 "olast",
  406 + "oldpdf",
328 407 "olimits",
329 408 "olist",
330 409 "omap",
... ... @@ -337,24 +416,39 @@
337 416 "ostream",
338 417 "ostringstream",
339 418 "ostringstreams",
  419 + "outbuffer",
340 420 "outdoc",
341 421 "outfile",
342 422 "outfilename",
  423 + "outname",
  424 + "outpdf",
  425 + "outpdfw",
  426 + "outprefix",
  427 + "outval",
  428 + "ownerpasswordmatched",
343 429 "pacman",
344 430 "paeth",
345 431 "pagelabel",
346 432 "pagelabels",
  433 + "pagemode",
347 434 "pageno",
  435 + "pagenos",
  436 + "pageobj",
  437 + "pagepos",
348 438 "pageposfrom",
349 439 "parms",
350 440 "parseable",
  441 + "parsecontent",
351 442 "parsedoffset",
  443 + "partialname",
  444 + "pathsep",
352 445 "patmv",
353 446 "patrepl",
354 447 "pavlyuk",
355 448 "pbytes",
356 449 "pclm",
357 450 "pcre",
  451 + "pdfdoc",
358 452 "pdflatex",
359 453 "pdfs",
360 454 "pdfversion",
... ... @@ -365,18 +459,27 @@
365 459 "pkgconfig",
366 460 "pldh",
367 461 "pluggable",
  462 + "pngfilter",
368 463 "pngify",
369 464 "pngpredictor",
370 465 "pointerholder",
371 466 "poppler",
372 467 "prebuild",
373 468 "precheck",
  469 + "preferredcontents",
  470 + "preferredname",
  471 + "prefiltering",
374 472 "prepended",
375 473 "prepending",
376 474 "printf",
  475 + "printhigh",
  476 + "printlow",
  477 + "procset",
  478 + "procsets",
377 479 "programfiles",
378 480 "programlisting",
379 481 "proxied",
  482 + "pushbuttons",
380 483 "pushedinheritedpageresources",
381 484 "putu",
382 485 "pval",
... ... @@ -388,7 +491,6 @@
388 491 "qintc",
389 492 "qnumbers",
390 493 "qpdf",
391   - "qpdf's",
392 494 "qpdfacroformdocumenthelper",
393 495 "qpdfannotationobjecthelper",
394 496 "qpdfargparser",
... ... @@ -420,6 +522,7 @@
420 522 "qpdfpagelabeldocumenthelper",
421 523 "qpdfpageobjecthelper",
422 524 "qpdfparser",
  525 + "qpdf's",
423 526 "qpdfs",
424 527 "qpdfstreamfilter",
425 528 "qpdfsystemerror",
... ... @@ -434,31 +537,50 @@
434 537 "qstrings",
435 538 "qtest",
436 539 "quadding",
  540 + "quotedblbase",
  541 + "quotedblright",
  542 + "quoteleft",
  543 + "quoteright",
437 544 "quotesinglbase",
438 545 "qutil",
439 546 "qwer",
440 547 "qwert",
441 548 "qwww",
  549 + "randomdataprovider",
442 550 "rcon",
  551 + "rdicts",
443 552 "rdpp",
444 553 "rdquo",
  554 + "recovereduserpassword",
445 555 "refcount",
  556 + "referring",
  557 + "refpage",
  558 + "refpos",
446 559 "reimplement",
  560 + "resampler",
447 561 "resave",
  562 + "resourcefinder",
448 563 "retargeted",
449 564 "rfont",
450 565 "rijndael",
451 566 "rkey",
452 567 "rklength",
  568 + "rnames",
  569 + "rotatex",
  570 + "roundoff",
453 571 "rpath",
454 572 "rstream",
455 573 "runlength",
  574 + "runlengthdecode",
456 575 "runpath",
457 576 "runtest",
458 577 "sahil",
459 578 "samp",
460 579 "sarray",
  580 + "scanline",
  581 + "scanlines",
461 582 "scarff",
  583 + "securerandomdataprovider",
462 584 "seekable",
463 585 "segfaulting",
464 586 "setargv",
... ... @@ -476,26 +598,41 @@
476 598 "srandom",
477 599 "srdp",
478 600 "sregex",
  601 + "stampfile",
  602 + "stamppdf",
479 603 "startxref",
480 604 "stdexcept",
481 605 "stdint",
  606 + "stdiofile",
482 607 "stdlib",
483 608 "stdlib's",
484 609 "stgz",
485 610 "stoi",
486 611 "strcasecmp",
487 612 "strcmp",
  613 + "streammethod",
488 614 "strequal",
489 615 "strerror",
  616 + "stringmethod",
  617 + "stringprep",
  618 + "stripesize",
490 619 "strtoui",
491 620 "struct",
492 621 "stylesheet",
493 622 "subclassing",
  623 + "subdict",
  624 + "subdictionaries",
  625 + "subdictionary",
494 626 "subdirs",
495 627 "subkey",
496 628 "subkeys",
  629 + "sublang",
  630 + "submatches",
  631 + "subparsers",
497 632 "subramanyam",
  633 + "subtract",
498 634 "swversion",
  635 + "sysnow",
499 636 "sysroot",
500 637 "syuu",
501 638 "tbuf",
... ... @@ -523,6 +660,7 @@
523 660 "uiter",
524 661 "ularge",
525 662 "ulink",
  663 + "umaxplus",
526 664 "uncategorized",
527 665 "uncompresesd",
528 666 "uncompress",
... ... @@ -533,6 +671,7 @@
533 671 "unexport",
534 672 "unfilterable",
535 673 "unparse",
  674 + "unparsing",
536 675 "unpickling",
537 676 "unrepaired",
538 677 "unretrieved",
... ... @@ -540,12 +679,15 @@
540 679 "upages",
541 680 "upass",
542 681 "urandom",
  682 + "userpasswordmatched",
543 683 "uval",
544 684 "variablelist",
545 685 "varlistentry",
546 686 "varname",
547 687 "vecs",
548 688 "venv",
  689 + "verifycontext",
  690 + "versionless",
549 691 "virtualenv",
550 692 "vitaliy",
551 693 "vkey",
... ... @@ -561,6 +703,8 @@
561 703 "wfilenamep",
562 704 "wflags",
563 705 "wfopen",
  706 + "winansi",
  707 + "wincrypt",
564 708 "wmain",
565 709 "wmatrix",
566 710 "wmode",
... ...
examples/qpdfjob-remove-annotations.cc
... ... @@ -8,7 +8,7 @@
8 8  
9 9 // This example demonstrates how we can use the QPDFJob createQPDF and writeQPDF methods to add
10 10 // custom transformations to the output produced by QPDFJob runs. The example is a full copy of the
11   -// qpdf program modified to allways remove all annotations from the final output.
  11 +// qpdf program modified to always remove all annotations from the final output.
12 12  
13 13 static char const* whoami = nullptr;
14 14  
... ...
include/qpdf/QIntC.hh
... ... @@ -277,6 +277,7 @@ namespace QIntC // QIntC = qpdf Integer Conversion
277 277 QIntC::range_check_error<T>(cur, delta);
278 278 }
279 279  
  280 + // ABI: fix spelling error in function name
280 281 template <typename T>
281 282 void
282 283 range_check_substract_error(T const& cur, T const& delta)
... ... @@ -295,6 +296,7 @@ namespace QIntC // QIntC = qpdf Integer Conversion
295 296 }
296 297 }
297 298  
  299 + // ABI: fix typo in function name
298 300 template <typename T>
299 301 inline void
300 302 range_check_substract(T const& cur, T const& delta)
... ...
include/qpdf/QPDFObjectHandle.hh
... ... @@ -1177,7 +1177,7 @@ class QPDFObjectHandle
1177 1177 // mappings are not reversible. There is no way to tell the difference between a string that
1178 1178 // looks like a name or indirect object from an actual name or indirect object.
1179 1179 // * JSON v2:
1180   - // * Unicode strings and strings encoded with PDF Doc encoding that can be bidrectionally
  1180 + // * Unicode strings and strings encoded with PDF Doc encoding that can be bidirectionally
1181 1181 // mapped two Unicode (which is all strings without undefined characters) are represented
1182 1182 // as "u:" followed by the UTF-8 encoded string. Example:
1183 1183 // "u:potato".
... ...
include/qpdf/QPDFWriter.hh
... ... @@ -293,7 +293,7 @@ class QPDFWriter
293 293 QPDF_DLL
294 294 void setSuppressOriginalObjectIDs(bool);
295 295  
296   - // Preserve encryption. The default is true unless prefilering, content normalization, or qdf
  296 + // Preserve encryption. The default is true unless prefiltering, content normalization, or qdf
297 297 // mode has been selected in which case encryption is never preserved. Encryption is also not
298 298 // preserved if we explicitly set encryption parameters.
299 299 QPDF_DLL
... ...
include/qpdf/qpdf-c.h
... ... @@ -608,7 +608,7 @@ extern &quot;C&quot; {
608 608 * not destroy the object. All QPDFObjectHandle objects are deleted when they are no longer
609 609 * referenced. Releasing an object handle simply invalidates it. For example, if you create an
610 610 * object, add it to an existing dictionary or array, and then release its handle, the object is
611   - * safely part of the dictionary or array. Similarly, any other object handle refering to the
  611 + * safely part of the dictionary or array. Similarly, any other object handle referring to the
612 612 * object remains valid. Explicitly releasing an object handle is essentially the same as
613 613 * letting a QPDFObjectHandle go out of scope in the C++ API.
614 614 *
... ... @@ -826,7 +826,7 @@ extern &quot;C&quot; {
826 826 qpdf_oh qpdf_oh_new_string(qpdf_data qpdf, char const* str);
827 827 QPDF_DLL
828 828 qpdf_oh qpdf_oh_new_unicode_string(qpdf_data qpdf, char const* utf8_str);
829   - /* Use qpdf_oh_new_binary_string for creating a string that may contain atrbitary binary data
  829 + /* Use qpdf_oh_new_binary_string for creating a string that may contain arbitrary binary data
830 830 * including embedded null characters.
831 831 */
832 832 QPDF_DLL
... ...
libqpdf/QPDFJob_json.cc
... ... @@ -32,7 +32,7 @@ namespace
32 32  
33 33 // The code that calls these methods is automatically generated by generate_auto_job. This
34 34 // describes how we implement what it does. We keep a stack of handlers in json_handlers.
35   - // The top of the stack is the "current" json handler, intially for the top-level object.
  35 + // The top of the stack is the "current" json handler, initially for the top-level object.
36 36 // Whenever we encounter a scalar, we add a handler using addBare, addParameter, or
37 37 // addChoices. Whenever we encounter a dictionary, we first add the dictionary handlers.
38 38 // Then we walk into the dictionary and, for each key, we register a dict key handler and
... ...
manual/release-notes.rst
... ... @@ -33,6 +33,9 @@ Planned changes for future 12.x (subject to change):
33 33 buffer1.copy();`` or ``Buffer buffer2{buffer1.copy()};`` to make
34 34 it explicit that copying is intended.
35 35  
  36 + - ``QIntC.hh`` contains the type ``substract``, which will be fixed
  37 + to ``subtract``. (Not enabled with ``FUTURE`` option.)
  38 +
36 39 .. x.y.z: not yet released
37 40  
38 41 11.6.2: not yet released
... ...