From 4b494d82fb251abf19d2e8edeadf505c8dd8dad6 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Thu, 7 Dec 2023 16:13:20 +0000 Subject: [PATCH] Fix typos Found via `codespell -q 3 -S "./lightcrafts/locale,./lightcrafts/help" -L bu,ist,ois,padd` Commit includes some whitespace formatting fixes as well. --- lightcrafts/coprocesses/dcraw/dcraw_lz.c | 6 +- .../dcraw/patches/xtrans_yama1968.patch | 2 +- lightcrafts/help/Danish/Regions-Creating.html | 2 +- lightcrafts/help/Dutch/Regions-Creating.html | 2 +- .../help/English/Regions-Creating.html | 2 +- .../help/Spanish/Regions-Creating.html | 2 +- .../jnisrc/EDISON/edge/BgEdgeDetect.cpp | 10 +- lightcrafts/jnisrc/EDISON/edge/BgEdgeDetect.h | 52 ++-- lightcrafts/jnisrc/EDISON/prompt/defs.h | 2 +- lightcrafts/jnisrc/EDISON/prompt/edison.cpp | 4 +- lightcrafts/jnisrc/EDISON/prompt/edison.h | 2 +- .../jnisrc/EDISON/prompt/globalFnc.cpp | 18 +- lightcrafts/jnisrc/EDISON/prompt/main.cpp | 2 +- lightcrafts/jnisrc/EDISON/segm/MSReadme.txt | 6 +- lightcrafts/jnisrc/EDISON/segm/RAList.cpp | 2 +- lightcrafts/jnisrc/EDISON/segm/RAList.h | 4 +- lightcrafts/jnisrc/EDISON/segm/ms.cpp | 156 +++++----- lightcrafts/jnisrc/EDISON/segm/ms.h | 272 +++++++++--------- .../jnisrc/EDISON/segm/msImageProcessor.cpp | 42 +-- .../jnisrc/EDISON/segm/msImageProcessor.h | 36 +-- lightcrafts/jnisrc/EDISON/segm/msSys.cpp | 6 +- lightcrafts/jnisrc/EDISON/segm/msSys.h | 70 ++--- .../jnisrc/EDISON/segm/msSysPrompt.cpp | 6 +- lightcrafts/jnisrc/EDISON/segm/rlist.h | 2 +- lightcrafts/jnisrc/EDISON/segm/tdef.h | 6 +- .../jnisrc/fast_bilateral/include/array.h | 6 +- .../jnisrc/fast_bilateral/include/array_n.h | 8 +- .../jnisrc/fast_bilateral/include/geom.h | 8 +- .../fast_bilateral/include/msg_stream.h | 8 +- .../jnisrc/include/simde/simde-align.h | 8 +- .../jnisrc/include/simde/simde-complex.h | 2 +- .../jnisrc/include/simde/simde-constify.h | 2 +- .../jnisrc/include/simde/simde-diagnostic.h | 2 +- lightcrafts/jnisrc/include/simde/simde-f16.h | 2 +- .../jnisrc/include/simde/x86/avx512/xorsign.h | 2 +- lightcrafts/jnisrc/include/simde/x86/sse.h | 2 +- .../LightZone Engineering Release Notes.html | 2 +- lightcrafts/mk/platform.mk | 2 +- ...lightcrafts.media.jai.codecimpl.properties | 6 +- ...m.lightcrafts.media.jai.opimage.properties | 2 +- ...m.lightcrafts.mediax.jai.remote.properties | 2 +- .../src/com/lightcrafts/app/Application.java | 2 +- .../com/lightcrafts/app/CheckForUpdate.java | 8 +- .../app/batch/BatchConfigurator.java | 2 +- .../lightcrafts/image/color/ColorMatrix2.java | 8 +- .../image/color/ColorProfileInfo.java | 2 +- .../lightcrafts/image/color/ColorScience.java | 2 +- .../image/export/ResolutionOption.java | 2 +- .../lightcrafts/image/libs/LCJPEGWriter.java | 2 +- .../com/lightcrafts/image/libs/LibRaw.java | 2 +- .../image/metadata/CIFFMetadataReader.java | 2 +- .../lightcrafts/image/metadata/CIFFTags.java | 2 +- .../image/metadata/EXIFEncoder.java | 2 +- .../image/metadata/IPTCDirectory.java | 2 +- .../image/metadata/IPTCTagInfo.java | 2 +- .../lightcrafts/image/metadata/IPTCTags.java | 6 +- .../image/metadata/ImageMetadata.java | 4 +- .../metadata/ImageMetadataDirectory.java | 6 +- .../image/metadata/MetadataUtil.java | 6 +- .../lightcrafts/image/metadata/TIFFTags.java | 2 +- .../image/metadata/makernotes/CanonTags.java | 2 +- .../metadata/providers/MakeModelProvider.java | 2 +- .../metadata/values/UndefinedMetaValue.java | 2 +- .../image/types/AuxiliaryImageInfo.java | 2 +- .../lightcrafts/image/types/ImageType.java | 2 +- .../image/types/JPEGAPPDParser.java | 2 +- .../image/types/TIFFConstants.java | 2 +- .../jai/operator/UnSharpMaskDescriptor.java | 2 +- .../jai/opimage/LCColorConvertOpImage.java | 2 +- .../lightcrafts/jai/opimage/ShapedMask.java | 2 +- .../com/lightcrafts/jai/utils/Functions.java | 2 +- .../jai/utils/LCRecyclingTileFactory.java | 2 +- .../jai/utils/LCTileScheduler.java | 12 +- .../com/lightcrafts/model/CloneContour.java | 2 +- .../src/com/lightcrafts/model/Preview.java | 2 +- .../com/lightcrafts/model/SliderConfig.java | 2 +- .../platform/DefaultAlertDialog.java | 2 +- .../ui/browser/model/ImageList.java | 2 +- .../ui/browser/view/BrowserScrollPaneUI.java | 2 +- .../view/ImageDatumRatingRenderer.java | 2 +- .../browser/view/ImageDatumTypeRenderer.java | 2 +- .../view/ImageDatumUrgencyRenderer.java | 2 +- .../browser/view/ImageGroupCountRenderer.java | 2 +- .../browser/view/ImagePreservationQueue.java | 2 +- .../com/lightcrafts/ui/crop/CropOverlay.java | 2 +- .../ui/datatips/xswing/DataTipComponent.java | 4 +- .../ui/datatips/xswing/DataTipListener.java | 4 +- .../src/com/lightcrafts/ui/editor/Editor.java | 2 +- .../lightcrafts/ui/export/ExportLogic.java | 2 +- .../ui/export/ExportSizeFields.java | 2 +- .../lightcrafts/ui/export/SaveOptions.java | 8 +- .../lightcrafts/ui/help/HelpConstants.java | 2 +- .../ui/layout/FadingTabbedPanelListener.java | 2 +- .../com/lightcrafts/ui/mode/ModeOverlay.java | 2 +- .../generic/ConfiguredTextField.java | 2 +- .../ui/operation/zone/ComponentScaler.java | 2 +- .../lightcrafts/ui/print/PositionPanel.java | 2 +- .../com/lightcrafts/ui/print/SizePanel.java | 2 +- .../lightcrafts/ui/region/RegionModel.java | 2 +- .../lightcrafts/ui/region/RegionOverlay.java | 2 +- .../ui/region/curves/CubicBezierCurve.java | 2 +- .../ui/scroll/CenteringViewportLayout.java | 2 +- .../ui/swing/RangeSelectorModel.java | 4 +- .../ui/templates/TemplateRootNode.java | 2 +- .../ui/toolkit/CoolButtonBackground.java | 2 +- .../lightcrafts/ui/toolkit/IconFactory.java | 2 +- .../lightcrafts/ui/toolkit/ShadowFactory.java | 4 +- .../src/com/lightcrafts/utils/LCMS.java | 6 +- .../src/com/lightcrafts/utils/Rational.java | 2 +- .../src/com/lightcrafts/utils/TextUtil.java | 4 +- .../utils/bytebuffer/LCByteBuffer.java | 4 +- .../lightcrafts/utils/file/FileIterator.java | 2 +- .../com/lightcrafts/utils/file/FileUtil.java | 2 +- .../src/com/lightcrafts/utils/raw/DCRaw.java | 2 +- .../utils/thread/ProgressThread.java | 2 +- .../test/src/tilecachetool/TCInfo.java | 2 +- lightcrafts/tools/bin/lc-locale-unflatten.sh | 2 +- .../lightcrafts/app/other/MacApplication.java | 2 +- .../platform/macosx/AppleScript.java | 2 +- .../platform/macosx/MacOSXSmartFolder.java | 2 +- .../app/other/WindowsApplication.java | 2 +- 121 files changed, 498 insertions(+), 498 deletions(-) diff --git a/lightcrafts/coprocesses/dcraw/dcraw_lz.c b/lightcrafts/coprocesses/dcraw/dcraw_lz.c index 9ab9bb3e0..b5ef7c6ca 100644 --- a/lightcrafts/coprocesses/dcraw/dcraw_lz.c +++ b/lightcrafts/coprocesses/dcraw/dcraw_lz.c @@ -3140,7 +3140,7 @@ void CLASS remove_zeroes() } /* - Seach from the current directory up to the root looking for + Search from the current directory up to the root looking for a ".badpixels" file, and fix those pixels now. */ void CLASS bad_pixels (const char *cfname) @@ -4257,7 +4257,7 @@ void CLASS xtrans_interpolate (int passes) homo[d][row][col] += (drv[d][row+v][col+h] <= tr); } -/* Average the most homogenous pixels for the final result: */ +/* Average the most homogeneous pixels for the final result: */ if (height-top < TS+4) mrow = height-top+2; if (width-left < TS+4) mcol = width-left+2; for (row = MIN(top,8); row < mrow-8; row++) @@ -4387,7 +4387,7 @@ void CLASS ahd_interpolate() homo[d][tr][tc]++; } } -/* Combine the most homogenous pixels for the final result: */ +/* Combine the most homogeneous pixels for the final result: */ for (row=top+3; row < top+TS-3 && row < height-5; row++) { tr = row-top; for (col=left+3; col < left+TS-3 && col < width-5; col++) { diff --git a/lightcrafts/coprocesses/dcraw/patches/xtrans_yama1968.patch b/lightcrafts/coprocesses/dcraw/patches/xtrans_yama1968.patch index 32ce027b8..8d6a09504 100644 --- a/lightcrafts/coprocesses/dcraw/patches/xtrans_yama1968.patch +++ b/lightcrafts/coprocesses/dcraw/patches/xtrans_yama1968.patch @@ -177,7 +177,7 @@ Index: dcraw/dcraw_lz.c + homo[d][row][col] += (drv[d][row+v][col+h] <= tr); } - /* Average the most homogenous pixels for the final result: */ + /* Average the most homogeneous pixels for the final result: */ @@ -4893,8 +4967,11 @@ void CLASS xtrans_interpolate (int passe for (col = MIN(left,8); col < mcol-8; col++) { for (d=0; d < ndir; d++) diff --git a/lightcrafts/help/Danish/Regions-Creating.html b/lightcrafts/help/Danish/Regions-Creating.html index a890d3285..7ecf7863a 100644 --- a/lightcrafts/help/Danish/Regions-Creating.html +++ b/lightcrafts/help/Danish/Regions-Creating.html @@ -7,7 +7,7 @@ LightZone: Regions: Creating + content="How to create regions to constrain tools' effects to only parts of your photo."/>