From: Enblend <enb...@li...> - 2019-10-21 11:58:43
|
branch: details: http://enblend.hg.sourceforge.net/hgweb/enblend/enblend/hg/p/enblend/code/rev/6b604e79e85b changeset: 1529:6b604e79e85b user: Chris <cs...@us...> date: Mon Oct 21 13:57:38 2019 +0200 description: Correct some embarrassing spelling mistakes with codespell(1). diffstat: NEWS | 4 ++-- VERSION | 2 +- doc/common-advanced-options.tex | 2 +- doc/common-notation.tex | 2 +- src/enblend.cc | 6 +++--- src/enfuse.cc | 6 +++--- src/enfuse.h | 2 +- src/filenameparse.cc | 2 +- src/fixmath.h | 6 +++--- src/functoraccessor.hxx | 4 ++-- src/graphcut.h | 2 +- src/opencl.cc | 2 +- src/pyramid.h | 4 ++-- 13 files changed, 22 insertions(+), 22 deletions(-) diffs (231 lines): diff -r e61b05da65e1 -r 6b604e79e85b NEWS --- a/NEWS Mon Oct 21 13:57:34 2019 +0200 +++ b/NEWS Mon Oct 21 13:57:38 2019 +0200 @@ -379,7 +379,7 @@ ("--disable-image-cache"). Speedups of up to 30% have been reported on the amd64 architecture. -- Enblend and Enfuse accept repsonse files in addition to literal +- Enblend and Enfuse accept response files in addition to literal image files. Response files contain lists of image filenames or names of other response files. @@ -450,7 +450,7 @@ - All Enfuse options have been converted to Enblend's option naming scheme. This is, camel-casing has been replaced by lowercase plus dashes. The new option name are more systematically constructed, - too. The old options will completely dissapear in the next release, + too. The old options will completely disappear in the next release, 4.1. Old Option New Option diff -r e61b05da65e1 -r 6b604e79e85b VERSION --- a/VERSION Mon Oct 21 13:57:34 2019 +0200 +++ b/VERSION Mon Oct 21 13:57:38 2019 +0200 @@ -1,1 +1,1 @@ -4.3-6cf2c54fe0bb +4.3-e61b05da65e1 diff -r e61b05da65e1 -r 6b604e79e85b doc/common-advanced-options.tex --- a/doc/common-advanced-options.tex Mon Oct 21 13:57:34 2019 +0200 +++ b/doc/common-advanced-options.tex Mon Oct 21 13:57:38 2019 +0200 @@ -249,7 +249,7 @@ and nevertheless the final mask is desired after \appisdoing. The output file itself always remains unaffected of this option. In particular it gets its - alpha channel, this is its mask, whenever the output-file format supports one. To mimick + alpha channel, this is its mask, whenever the output-file format supports one. To mimic option~\option{--output-mask} with such formats, use for example \begin{literal} diff -r e61b05da65e1 -r 6b604e79e85b doc/common-notation.tex --- a/doc/common-notation.tex Mon Oct 21 13:57:34 2019 +0200 +++ b/doc/common-notation.tex Mon Oct 21 13:57:38 2019 +0200 @@ -56,7 +56,7 @@ Optional part & Optional part of a syntax description in square brackets & \option{--verbose}~\optional{=\metavar{LEVEL}} \\ - Placehoder & Meta-syntactic variable that stands in for the actual text & + Placeholder & Meta-syntactic variable that stands in for the actual text & \metavar{ICC-PROFILE} \\ Proper name & Name of a person or algorithm & \propername{Dijkstra} \\ diff -r e61b05da65e1 -r 6b604e79e85b src/enblend.cc --- a/src/enblend.cc Mon Oct 21 13:57:34 2019 +0200 +++ b/src/enblend.cc Mon Oct 21 13:57:38 2019 +0200 @@ -806,7 +806,7 @@ {"gpu", no_argument, 0, UseGpuId}, {"no-gpu", no_argument, 0, NoUseGpuId}, {"prefer-gpu", required_argument, 0, PreferGpuId}, - {"preferred-gpu", required_argument, 0, PreferGpuId}, // gramatically close alternative form + {"preferred-gpu", required_argument, 0, PreferGpuId}, // grammatically close alternative form {"pre-assemble", no_argument, 0, PreAssembleId}, {"preassemble", no_argument, 0, PreAssembleId}, // dash-less form: not documented, not deprecated {"no-pre-assemble", no_argument, 0, NoPreAssembleId}, @@ -2133,7 +2133,7 @@ if (!StopAfterMaskGeneration) { OutputIsValid = false; - // Make sure that inputUnion is at least as big as given by the -f paramater. + // Make sure that inputUnion is at least as big as given by the -f parameter. if (OutputSizeGiven) { inputUnion |= vigra::Rect2D(OutputOffsetXCmdLine, OutputOffsetYCmdLine, @@ -2395,7 +2395,7 @@ exit(1); } catch (vigra::StdException& e) { std::cerr << std::endl - << command << ": an exception occured\n" + << command << ": an exception occurred\n" << command << ": " << e.what() << std::endl; exit(1); diff -r e61b05da65e1 -r 6b604e79e85b src/enfuse.cc --- a/src/enfuse.cc Mon Oct 21 13:57:34 2019 +0200 +++ b/src/enfuse.cc Mon Oct 21 13:57:38 2019 +0200 @@ -935,7 +935,7 @@ {"gpu", no_argument, 0, UseGpuId}, {"no-gpu", no_argument, 0, NoUseGpuId}, {"prefer-gpu", required_argument, 0, PreferGpuId}, - {"preferred-gpu", required_argument, 0, PreferGpuId}, // gramatically close alternative form + {"preferred-gpu", required_argument, 0, PreferGpuId}, // grammatically close alternative form {"compression", required_argument, 0, CompressionId}, {"exposure-weight", required_argument, 0, WeightExposureId}, {"contrast-weight", required_argument, 0, WeightContrastId}, @@ -2333,7 +2333,7 @@ if (!StopAfterMaskGeneration) { OutputIsValid = false; - // Make sure that inputUnion is at least as big as given by the -f paramater. + // Make sure that inputUnion is at least as big as given by the -f parameter. if (OutputSizeGiven) { inputUnion |= vigra::Rect2D(OutputOffsetXCmdLine, OutputOffsetYCmdLine, @@ -2603,7 +2603,7 @@ exit(1); } catch (vigra::StdException& e) { std::cerr << std::endl - << command << ": an exception occured\n" + << command << ": an exception occurred\n" << command << ": " << e.what() << std::endl; exit(1); diff -r e61b05da65e1 -r 6b604e79e85b src/enfuse.h --- a/src/enfuse.h Mon Oct 21 13:57:34 2019 +0200 +++ b/src/enfuse.h Mon Oct 21 13:57:38 2019 +0200 @@ -180,7 +180,7 @@ break; } - // Compute auxilliary values of next column + // Compute auxiliary values of next column SrcSumType sumInit = vigra::NumericTraits<SrcSumType>::zero(); SrcSumType sumSqrInit = vigra::NumericTraits<SrcSumType>::zero(); size_t nInit = 0; diff -r e61b05da65e1 -r 6b604e79e85b src/filenameparse.cc --- a/src/filenameparse.cc Mon Oct 21 13:57:34 2019 +0200 +++ b/src/filenameparse.cc Mon Oct 21 13:57:38 2019 +0200 @@ -306,7 +306,7 @@ #else std::string result = removeDotDotsCxx(removeDotsCxx(aPathname)); - // For compatability with the Boost implementation: Remove a + // For compatibility with the Boost implementation: Remove a // trailing PATH_SEPARATOR unless we reference the root directory. const size_t size = result.size(); if (size >= 2 && result.substr(size - 1, 1) == PATH_SEPARATOR) diff -r e61b05da65e1 -r 6b604e79e85b src/fixmath.h --- a/src/fixmath.h Mon Oct 21 13:57:34 2019 +0200 +++ b/src/fixmath.h Mon Oct 21 13:57:38 2019 +0200 @@ -330,7 +330,7 @@ // Dithering is used to fool the eye into seeing gradients that are finer // than the precision of the pixel type. - // This prevents the occurence of cleanly-bordered regions in the output where + // This prevents the occurrence of cleanly-bordered regions in the output where // the pixel values suddenly change from N to N+1. // Such regions are especially objectionable in the green channel of 8-bit images. double dither(const double& v) const @@ -1842,7 +1842,7 @@ std::cout << "\n" << "+ flexible_optimize_1d_2d: failed to reach optimizer goal " << - optimizer_goal << " -- only achived deltaE{1d} = " << delta_e_1d << + optimizer_goal << " -- only achieved deltaE{1d} = " << delta_e_1d << ", deltaE{2d} = " << delta_e_2d << "\n"; ciecam_detail::show_jch_rgb("+ flexible_optimize_1d_2d: initial", jch); ciecam_detail::show_jch_rgb("+ flexible_optimize_1d_2d: final", &opt_jch); @@ -1876,7 +1876,7 @@ // Implementation Notes // - // New LittleCMS versions use "open color space" arithmetics, which means color + // New LittleCMS versions use "open color space" arithmetic, which means color // coordinates can end up outside their domains, e.g. JCh cylinder or RGB cube. We just // let LittleCMS chug along freewheeling as long as possible. Right here, we must take // care of out-of-cube RGB values, because the array `rgb[3]' ends up as pixel in the diff -r e61b05da65e1 -r 6b604e79e85b src/functoraccessor.hxx --- a/src/functoraccessor.hxx Mon Oct 21 13:57:34 2019 +0200 +++ b/src/functoraccessor.hxx Mon Oct 21 13:57:38 2019 +0200 @@ -405,7 +405,7 @@ /** An accessor to encapsulate write access to a multiband image, and move divide it into two images. - This is particulary useful, if a multiband image should be splitted + This is particularly useful, if a multiband image should be split into separate images during import operations. Then one doesn't need to create a temporary image. @@ -424,7 +424,7 @@ - vector -> scalar, scalar - vector -> vector, scalar - This accessor is quite slow. It checks the vector indicies on + This accessor is quite slow. It checks the vector indices on every access. @bug This is not a complete accessor, only write operations are supported. diff -r e61b05da65e1 -r 6b604e79e85b src/graphcut.h --- a/src/graphcut.h Mon Oct 21 13:57:34 2019 +0200 +++ b/src/graphcut.h Mon Oct 21 13:57:38 2019 +0200 @@ -722,7 +722,7 @@ ++currentDual) { current = convertFromDual(*currentDual); - + if (nextDual != cut->end()) { next = convertFromDual(*nextDual); } diff -r e61b05da65e1 -r 6b604e79e85b src/opencl.cc --- a/src/opencl.cc Mon Oct 21 13:57:34 2019 +0200 +++ b/src/opencl.cc Mon Oct 21 13:57:38 2019 +0200 @@ -477,7 +477,7 @@ construct_search_path() { // We _always_ search a_filename along of some explicit, given - // path, never implicitly through CWD or the direcory of the + // path, never implicitly through CWD or the directory of the // binary. std::vector<std::string> paths; diff -r e61b05da65e1 -r 6b604e79e85b src/pyramid.h --- a/src/pyramid.h Mon Oct 21 13:57:34 2019 +0200 +++ b/src/pyramid.h Mon Oct 21 13:57:38 2019 +0200 @@ -160,7 +160,7 @@ * sr1 <= sr0 + srp * scp[x] <= 4*(sr1 + 6*sr0 + srp + current) * - * Updates when visting (odd x, odd y) source pixel: + * Updates when visiting (odd x, odd y) source pixel: * srp <= 4*current */ template <typename SKIPSMImagePixelType, typename SKIPSMAlphaPixelType, @@ -1421,7 +1421,7 @@ // Functor that adds two values and de-promotes the result. // Used when collapsing a laplacian pyramid. -// Explict fromPromote necessary to avoid overflow/underflow problems. +// Explicit fromPromote necessary to avoid overflow/underflow problems. template<typename T1, typename T2, typename T3> struct FromPromotePlusFunctorWrapper : public std::binary_function<T1, T2, T3> |