From 147c09f19e0da36241a41312b2aa64d8366c781a Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Wed, 18 Apr 2018 20:57:03 +0200 Subject: [PATCH] Bug 795161 - Misc. typo fixes in source comments and doxygen Found via `codespell` Follow-up to commit 7fdb963e018c5413036bc1dd547c7a812e20302d --- build/flatpak/flatpak-howto.txt | 2 +- build/windows/installer/associations.isi | 2 +- build/windows/installer/configoverride.isi | 2 +- build/windows/installer/gimp3264.iss | 4 ++-- build/windows/jhbuild/build.jhbuildrc | 4 ++-- .../patches/ghostscript-8.71-windows.patch | 2 +- configure.ac | 4 ++-- devel-docs/GIMP3-API-Changes.txt | 4 ++-- devel-docs/debugging-tips.txt | 2 +- devel-docs/gih.txt | 2 +- devel-docs/parasites.txt | 2 +- devel-docs/structure.xml | 2 +- devel-docs/tools/shooter.c | 2 +- devel-docs/ui-framework.txt | 2 +- libgimpbase/gimpdatafiles.h | 2 +- libgimpbase/gimpsignal.c | 2 +- libgimpbase/gimpwin32-io.h | 2 +- libgimpcolor/gimpcolorprofile.c | 10 ++++----- libgimpthumb/gimpthumbnail.c | 2 +- libgimpwidgets/Makefile.am | 2 +- libgimpwidgets/gimpcolorselector.c | 2 +- libgimpwidgets/gimpeevl.c | 8 +++---- libgimpwidgets/gimpenumstore.c | 2 +- libgimpwidgets/gimppreview.c | 2 +- libgimpwidgets/gimppropwidgets.c | 2 +- pdb/lib.pl | 2 +- pdb/pdbgen.pl | 2 +- plug-ins/common/blinds.c | 4 ++-- plug-ins/common/cartoon.c | 2 +- plug-ins/common/cml-explorer.c | 2 +- plug-ins/common/compose.c | 2 +- plug-ins/common/contrast-retinex.c | 2 +- plug-ins/common/curve-bend.c | 18 +++++++-------- plug-ins/common/decompose.c | 6 ++--- plug-ins/common/despeckle.c | 6 ++--- plug-ins/common/file-cel.c | 2 +- plug-ins/common/file-dicom.c | 2 +- plug-ins/common/file-jp2-load.c | 2 +- plug-ins/common/file-pdf-save.c | 2 +- plug-ins/common/file-ps.c | 8 +++---- plug-ins/common/file-raw-data.c | 2 +- plug-ins/common/film.c | 6 ++--- plug-ins/common/max-rgb.c | 2 +- plug-ins/common/photocopy.c | 2 +- plug-ins/common/sample-colorize.c | 10 ++++----- plug-ins/common/softglow.c | 2 +- plug-ins/common/sphere-designer.c | 2 +- plug-ins/common/tile-small.c | 2 +- plug-ins/common/unsharp-mask.c | 6 ++--- plug-ins/file-fits/fits-io.c | 6 ++--- plug-ins/file-fits/fits.c | 2 +- plug-ins/file-psd/psd-util.c | 2 +- plug-ins/file-tiff/file-tiff-load.c | 2 +- plug-ins/file-tiff/file-tiff-save.c | 2 +- plug-ins/file-webp/file-webp-save.c | 2 +- plug-ins/flame/libifs.c | 2 +- plug-ins/gfig/gfig-style.c | 2 +- plug-ins/gradient-flare/gradient-flare.c | 6 ++--- plug-ins/ifs-compose/ifs-compose-utils.c | 2 +- plug-ins/metadata/metadata-editor.c | 22 +++++++++---------- plug-ins/metadata/metadata-viewer.c | 2 +- plug-ins/print/print-settings.c | 2 +- plug-ins/pygimp/ChangeLog.old | 2 +- .../pygimp/doc/gimp-module-procedures.html | 2 +- plug-ins/pygimp/doc/gimp-objects.html | 2 +- plug-ins/pygimp/doc/procedural-database.html | 2 +- plug-ins/pygimp/doc/pygimp.html | 6 ++--- plug-ins/pygimp/doc/pygimp.sgml | 8 +++---- plug-ins/pygimp/plug-ins/palette-sort.py | 2 +- plug-ins/script-fu/ftx/README | 2 +- plug-ins/script-fu/ftx/ftx-functions.txt | 2 +- plug-ins/script-fu/scripts/add-bevel.scm | 2 +- plug-ins/script-fu/scripts/palette-export.scm | 2 +- .../script-fu/scripts/script-fu-compat.init | 2 +- plug-ins/script-fu/tinyscheme/CHANGES | 4 ++-- plug-ins/script-fu/tinyscheme/Manual.txt | 2 +- plug-ins/script-fu/tinyscheme/hack.txt | 4 ++-- plug-ins/script-fu/tinyscheme/scheme.c | 2 +- plug-ins/selection-to-path/README | 4 ++-- plug-ins/selection-to-path/bitmap.h | 2 +- tools/gimp-mkenums | 2 +- 81 files changed, 138 insertions(+), 138 deletions(-) diff --git a/build/flatpak/flatpak-howto.txt b/build/flatpak/flatpak-howto.txt index 36df3b5fc4..a9890857bf 100644 --- a/build/flatpak/flatpak-howto.txt +++ b/build/flatpak/flatpak-howto.txt @@ -124,7 +124,7 @@ Or if you already have a build: If you want to check build directories even if the builds are successful, add `--keep-build-dirs` option to your command. - If it ends successfuly, this will have built GIMP in new folders, + If it ends successfully, this will have built GIMP in new folders, `gimp-flatpak-build-x86-64/` and `gimp-flatpak-build-i386/` respectively. diff --git a/build/windows/installer/associations.isi b/build/windows/installer/associations.isi index e3541ce87d..71ad4c8691 100644 --- a/build/windows/installer/associations.isi +++ b/build/windows/installer/associations.isi @@ -1,5 +1,5 @@ #if 0 -//for syntax hilighting +//for syntax highlighting [Code] #endif diff --git a/build/windows/installer/configoverride.isi b/build/windows/installer/configoverride.isi index 13f9a6463e..799cfbb997 100644 --- a/build/windows/installer/configoverride.isi +++ b/build/windows/installer/configoverride.isi @@ -1,4 +1,4 @@ -;allow specific configuration files to be overriden by files in a specific directory +;allow specific configuration files to be overridden by files in a specific directory #if 0 [Files] #endif diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss index ecdb2ea75c..23c111fee0 100644 --- a/build/windows/installer/gimp3264.iss +++ b/build/windows/installer/gimp3264.iss @@ -401,7 +401,7 @@ var Force32bitInstall: Boolean; - asUninstInf: TArrayOfString; //uninst.inf contents (loaded at start of uninstall, exectued at the end) + asUninstInf: TArrayOfString; //uninst.inf contents (loaded at start of uninstall, executed at the end) #include "MessageWithURL.isi" @@ -420,7 +420,7 @@ end; #include "utils.isi" -//some programs inproperly install libraries to the System32 directory, which then causes problems with plugins +//some programs improperly install libraries to the System32 directory, which then causes problems with plugins //this function checks if such file exists in System32, and lets setup update the file when it exists function BadSysDLL(const pFile: String; const pPlatform: Integer): Boolean; var OldRedir: Boolean; diff --git a/build/windows/jhbuild/build.jhbuildrc b/build/windows/jhbuild/build.jhbuildrc index ea5cc4a598..8f0b7eab80 100644 --- a/build/windows/jhbuild/build.jhbuildrc +++ b/build/windows/jhbuild/build.jhbuildrc @@ -65,7 +65,7 @@ mingw_tools = {'ADDR2LINE': 'addr2line', 'STRINGS': 'strings', 'WINDRES': 'windres', 'AR': 'ar', 'RANLIB': 'ranlib', 'STRIP': 'strip'} -#Exporting all as enviroment variables with its prefix +#Exporting all as environment variables with its prefix mingw_tools_args = str() for tool in mingw_tools.keys(): fullpath_tool = mingw_tool_prefix + mingw_tools[tool] @@ -83,7 +83,7 @@ os.environ['DISPLAY'] = '' #Added another common env var name for windres os.environ['RC'] = os.environ['WINDRES'] -#Exporting tool flags enviroment variables +#Exporting tool flags environment variables os.environ['LDFLAGS'] = '-L'+searchprefix+'/lib' os.environ['CFLAGS'] = '-mms-bitfields -I'+searchprefix+'/include ' os.environ['CPPFLAGS'] = '-I'+searchprefix+'/include' diff --git a/build/windows/jhbuild/patches/ghostscript-8.71-windows.patch b/build/windows/jhbuild/patches/ghostscript-8.71-windows.patch index 7f6ab4b686..fb7b537478 100644 --- a/build/windows/jhbuild/patches/ghostscript-8.71-windows.patch +++ b/build/windows/jhbuild/patches/ghostscript-8.71-windows.patch @@ -927,7 +927,7 @@ +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or -+ # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, ++ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward diff --git a/configure.ac b/configure.ac index 0dfa89f65a..9ab80746a4 100644 --- a/configure.ac +++ b/configure.ac @@ -987,7 +987,7 @@ AC_SUBST(SOCKET_LIBS) # Check for Intel vector intrinsics ################################### intrinsics_save_CFLAGS="$CFLAGS" -#FIXME: Check the CFLAGS separatly +#FIXME: Check the CFLAGS separately GIMP_DETECT_CFLAGS(SSE_MATH_CFLAG, '-mfpmath=sse') GIMP_DETECT_CFLAGS(SSE2_CFLAG, '-msse2') SSE2_EXTRA_CFLAGS="$SSE_MATH_CFLAG $SSE2_CFLAG" @@ -1963,7 +1963,7 @@ have_email="no (xdg-email not found)" AC_ARG_WITH(sendmail,[ --with-sendmail[=DIR] use sendmail instead of xdg-email]) have_sendmail=no -# Sendmail must be explicitely enabled to replace xdg-email implementation. +# Sendmail must be explicitly enabled to replace xdg-email implementation. if test "x$with_sendmail" != "x" && test "x$with_sendmail" != "xno"; then if test "x$with_sendmail" = "xyes"; then sendmail_path=$PATH:/usr/sbin:/usr/lib diff --git a/devel-docs/GIMP3-API-Changes.txt b/devel-docs/GIMP3-API-Changes.txt index 5c3397d180..b46396cca1 100644 --- a/devel-docs/GIMP3-API-Changes.txt +++ b/devel-docs/GIMP3-API-Changes.txt @@ -15,10 +15,10 @@ we break API/ABI for 3.x. - Add user_data to all functions passed to gimp_widgets_init() -- Preferrably make gimp_widgets_init() take a vtable with padding. +- Preferably make gimp_widgets_init() take a vtable with padding. - Change GIMP_CONFIG_INSTALL_PROP_FOO() macros to include the nick, - or drop them alltogether + or drop them altogether - Change gimp_prop_foo_new() to use the nick as label, or find some other way to use the nick. diff --git a/devel-docs/debugging-tips.txt b/devel-docs/debugging-tips.txt index 8a4d22dea7..68f990f5ec 100644 --- a/devel-docs/debugging-tips.txt +++ b/devel-docs/debugging-tips.txt @@ -66,7 +66,7 @@ back to the old lcms implementation, which can be useful for comparison. ## Debugging X Window System error ## -Make X calls synchronous so that your crashs happen immediately with: +Make X calls synchronous so that your crashes happen immediately with: > gimp-2.9 --sync diff --git a/devel-docs/gih.txt b/devel-docs/gih.txt index 3c8067f6e5..ca5ae0d592 100644 --- a/devel-docs/gih.txt +++ b/devel-docs/gih.txt @@ -48,4 +48,4 @@ Making a gih file: Or use the GIH plug-in to save a brush pipe from an image. -Thats about it for now. +That's about it for now. diff --git a/devel-docs/parasites.txt b/devel-docs/parasites.txt index 67ed9bbbbc..edb1b097e4 100644 --- a/devel-docs/parasites.txt +++ b/devel-docs/parasites.txt @@ -255,7 +255,7 @@ Global data follows no strict rules. as read from the original image. where: XXXX is a 4-digit ascii encoded hexadecimal number AA is a two character ascii value representing the Dicom - element's Value Represenation (VR) + element's Value Representation (VR) 5. KNOWN LAYER/DRAWABLE PARASITES diff --git a/devel-docs/structure.xml b/devel-docs/structure.xml index 6d008b122a..5ebe52408b 100644 --- a/devel-docs/structure.xml +++ b/devel-docs/structure.xml @@ -179,7 +179,7 @@ regexrepl Code to handle regular expressions in case your C library does not - suport them. These files will not be used for most builds since + support them. These files will not be used for most builds since modern libc implementation have offer support for regular expressions. diff --git a/devel-docs/tools/shooter.c b/devel-docs/tools/shooter.c index d1c7fa79ea..ecfa18f332 100644 --- a/devel-docs/tools/shooter.c +++ b/devel-docs/tools/shooter.c @@ -238,7 +238,7 @@ main (int argc, char **argv) GList *toplevels; GList *node; - g_set_application_name ("GIMP documention shooter"); + g_set_application_name ("GIMP documentation shooter"); /* If there's no DISPLAY, we silently error out. * We don't want to break headless builds. diff --git a/devel-docs/ui-framework.txt b/devel-docs/ui-framework.txt index 78b4d9db38..ed97004cb4 100644 --- a/devel-docs/ui-framework.txt +++ b/devel-docs/ui-framework.txt @@ -37,7 +37,7 @@ The GimpDialogFactory can be considered to solve two distinct problems: 1. Create widgets from text, in particular from text in sessionrc -2. Session manage toplevel windows so their position is remebered +2. Session manage toplevel windows so their position is remembered across GIMP sessions One possible design adjustment would be to have GimpWidgetFactory that diff --git a/libgimpbase/gimpdatafiles.h b/libgimpbase/gimpdatafiles.h index a8cfc0cb53..c05b9d1139 100644 --- a/libgimpbase/gimpdatafiles.h +++ b/libgimpbase/gimpdatafiles.h @@ -34,7 +34,7 @@ G_BEGIN_DECLS /** * GimpDatafileData: * @filename: the data file's full path. - * @dirname: the folder the data file is is. + * @dirname: the folder the data file is in. * @basename: the data file's basename. * @atime: the last time the file was accessed for reading. * @mtime: the last time the file was modified. diff --git a/libgimpbase/gimpsignal.c b/libgimpbase/gimpsignal.c index a773bae533..02d0ce175d 100644 --- a/libgimpbase/gimpsignal.c +++ b/libgimpbase/gimpsignal.c @@ -58,7 +58,7 @@ * Cause @handler to be run when @signum is delivered. We * use sigaction(2) rather than signal(2) so that we can control the * signal handler's environment completely via @flags: some signal(2) - * implementations differ in their sematics, so we need to nail down + * implementations differ in their semantics, so we need to nail down * exactly what we want. [austin 06.04.2000] * * Returns: A reference to the signal handling function which was diff --git a/libgimpbase/gimpwin32-io.h b/libgimpbase/gimpwin32-io.h index 9c2ee68c0b..fe7a567913 100644 --- a/libgimpbase/gimpwin32-io.h +++ b/libgimpbase/gimpwin32-io.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * * gimpwin32-io.h - * Compatibilty defines, you mostly need this as unistd.h replacement + * Compatibility defines, you mostly need this as unistd.h replacement * * This library is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libgimpcolor/gimpcolorprofile.c b/libgimpcolor/gimpcolorprofile.c index f5fa958a3f..c995c67959 100644 --- a/libgimpcolor/gimpcolorprofile.c +++ b/libgimpcolor/gimpcolorprofile.c @@ -271,7 +271,7 @@ gimp_color_profile_new_from_file (GFile *file, /** * gimp_color_profile_new_from_icc_profile: * @data: pointer to memory containing an ICC profile - * @length: lenght of the profile in memory, in bytes + * @length: length of the profile in memory, in bytes * @error: return location for #GError * * This function opens an ICC color profile from memory. On error, @@ -376,7 +376,7 @@ gimp_color_profile_new_from_lcms_profile (gpointer lcms_profile, * * This function saves @profile to @file as ICC profile. * - * Return value: %TRUE on success, %FALSE if an error occured. + * Return value: %TRUE on success, %FALSE if an error occurred. * * Since: 2.10 **/ @@ -594,7 +594,7 @@ gimp_color_profile_get_label (GimpColorProfile *profile) * * This function return a string containing a multi-line summary of * @profile's description, model, manufacturer and copyright, to be - * used as detailled information about the profile in a user + * used as detailed information about the profile in a user * interface. * * Return value: the @profile's summary. The returned value belongs to @@ -1159,7 +1159,7 @@ gimp_color_profile_new_rgb_srgb_linear_internal (void) * gimp_color_profile_new_rgb_srgb_linear: * * This function creates a profile for babl_model("RGB"). Please - * somebody write someting smarter here. + * somebody write something smarter here. * * Return value: the linear RGB #GimpColorProfile. * @@ -1358,7 +1358,7 @@ gimp_color_profile_new_d65_gray_linear_internal (void) * gimp_color_profile_new_d65_gray_srgb_gray: * * This function creates a profile for babl_model("Y"). Please - * somebody write someting smarter here. + * somebody write something smarter here. * * Return value: the linear grayscale #GimpColorProfile. * diff --git a/libgimpthumb/gimpthumbnail.c b/libgimpthumb/gimpthumbnail.c index d2792b8ff4..e64c939331 100644 --- a/libgimpthumb/gimpthumbnail.c +++ b/libgimpthumb/gimpthumbnail.c @@ -390,7 +390,7 @@ gimp_thumbnail_new (void) * * Sets the location of the image file associated with the #thumbnail. * - * All informations stored in the #GimpThumbnail are reset. + * All information stored in the #GimpThumbnail is reset. **/ void gimp_thumbnail_set_uri (GimpThumbnail *thumbnail, diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am index 02f8ca677d..17e59cff94 100644 --- a/libgimpwidgets/Makefile.am +++ b/libgimpwidgets/Makefile.am @@ -318,7 +318,7 @@ endif # # rules to generate built sources # -# setup autogeneration dependancies +# setup autogeneration dependencies gen_sources = xgen-wec xgen-wmh xgen-wmc CLEANFILES = $(gen_sources) diff --git a/libgimpwidgets/gimpcolorselector.c b/libgimpwidgets/gimpcolorselector.c index 2dd9115f80..24497eaa5a 100644 --- a/libgimpwidgets/gimpcolorselector.c +++ b/libgimpwidgets/gimpcolorselector.c @@ -174,7 +174,7 @@ gimp_color_selector_dispose (GObject *object) /** * gimp_color_selector_new: * @selector_type: The #GType of the selector to create. - * @rgb: The inital color to be edited. + * @rgb: The initial color to be edited. * @hsv: The same color in HSV. * @channel: The selector's initial channel. * diff --git a/libgimpwidgets/gimpeevl.c b/libgimpwidgets/gimpeevl.c index 2bc4eaadc5..fe0281e30f 100644 --- a/libgimpwidgets/gimpeevl.c +++ b/libgimpwidgets/gimpeevl.c @@ -30,7 +30,7 @@ * * It relies on external unit resolving through a callback and does * elementary dimensionality constraint check (e.g. "2 mm + 3 px * 4 - * in" is an error, as L + L^2 is a missmatch). It uses setjmp/longjmp + * in" is an error, as L + L^2 is a mismatch). It uses setjmp/longjmp * for try/catch like pattern on error, it uses g_strtod() for numeric * conversions and it's non-destructive in terms of the parameters, and * it's reentrant. @@ -155,7 +155,7 @@ static void gimp_eevl_error (GimpEevl * @string: The NULL-terminated string to be evaluated. * @options: Evaluations options. * @result: Result of evaluation. - * @error_pos: Will point to the positon within the string, + * @error_pos: Will point to the position within the string, * before which the parse / evaluation error * occurred. Will be set to null of no error occurred. * @error_message: Will point to a static string with a semi-descriptive @@ -273,7 +273,7 @@ gimp_eevl_expression (GimpEevl *eva) { GimpEevlQuantity new_term = gimp_eevl_term (eva); - /* If dimensions missmatch, attempt default unit assignment */ + /* If dimensions mismatch, attempt default unit assignment */ if (new_term.dimension != evaluated_terms.dimension) { GimpEevlQuantity default_unit_factor; @@ -296,7 +296,7 @@ gimp_eevl_expression (GimpEevl *eva) } else { - gimp_eevl_error (eva, "Dimension missmatch during addition"); + gimp_eevl_error (eva, "Dimension mismatch during addition"); } } diff --git a/libgimpwidgets/gimpenumstore.c b/libgimpwidgets/gimpenumstore.c index 6774427e40..2ff20a71b1 100644 --- a/libgimpwidgets/gimpenumstore.c +++ b/libgimpwidgets/gimpenumstore.c @@ -253,7 +253,7 @@ gimp_enum_store_new_with_range (GType enum_type, * @...: a list of enum values (exactly @n_values) * * Creates a new #GimpEnumStore like gimp_enum_store_new() but allows - * to explicitely list the enum values that should be added to the + * to explicitly list the enum values that should be added to the * store. * * Return value: a new #GimpEnumStore. diff --git a/libgimpwidgets/gimppreview.c b/libgimpwidgets/gimppreview.c index bbd0a8f4c4..bf99fc048f 100644 --- a/libgimpwidgets/gimppreview.c +++ b/libgimpwidgets/gimppreview.c @@ -816,7 +816,7 @@ gimp_preview_invalidate (GimpPreview *preview) * @cursor: a #GdkCursor or %NULL * * Sets the default mouse cursor for the preview. Note that this will - * be overriden by a %GDK_FLEUR if the preview has scrollbars, or by a + * be overridden by a %GDK_FLEUR if the preview has scrollbars, or by a * %GDK_WATCH when the preview is invalidated. * * Since: 2.2 diff --git a/libgimpwidgets/gimppropwidgets.c b/libgimpwidgets/gimppropwidgets.c index fed664b1da..8c43ffd765 100644 --- a/libgimpwidgets/gimppropwidgets.c +++ b/libgimpwidgets/gimppropwidgets.c @@ -213,7 +213,7 @@ static void gimp_prop_enum_check_button_notify (GObject *config, * @property_name: Name of enum property controlled by checkbutton. * @label: Label to give checkbutton (including mnemonic). * @false_value: Enum value corresponding to unchecked state. - * @true_value: Enum value corresonding to checked state. + * @true_value: Enum value corresponding to checked state. * * Creates a #GtkCheckButton that displays and sets the specified * property of type Enum. Note that this widget only allows two values diff --git a/pdb/lib.pl b/pdb/lib.pl index 9f8fa1abf2..f69692651d 100644 --- a/pdb/lib.pl +++ b/pdb/lib.pl @@ -102,7 +102,7 @@ sub generate { } # Find the return argument (defaults to the first arg if not - # explicity set + # explicitly set my $retarg = undef; $retvoid = 0; foreach (@outargs) { $retarg = $_, last if exists $_->{retval} } unless ($retarg) { diff --git a/pdb/pdbgen.pl b/pdb/pdbgen.pl index 403aafa56f..7c2d6a972d 100755 --- a/pdb/pdbgen.pl +++ b/pdb/pdbgen.pl @@ -127,7 +127,7 @@ foreach $file (@groups) { # Squash whitespace into just single spaces between words. # Single new lines are considered as normal spaces, but n > 1 newlines are considered (n - 1) newlines. -# The sligthly complicated suite of regexp is so that \n\s+\n is still considered a double newline. +# The slightly complicated suite of regexp is so that \n\s+\n is still considered a double newline. sub trimspace { for (${$_[0]}) { s/(\S)[\ \t\r\f]*\n[\ \t\r\f]*(\S)/$1 $2/g; s/[\ \t\r\f]+/ /gs; s/\n(([\ \t\r\f]*\n)+)/$1/g; s/[\ \t\r\f]*\n[\ \t\r\f]/\n/g ; s/^\s+//; s/\s+$//; } } diff --git a/plug-ins/common/blinds.c b/plug-ins/common/blinds.c index 0a8000a421..03d6530019 100644 --- a/plug-ins/common/blinds.c +++ b/plug-ins/common/blinds.c @@ -350,7 +350,7 @@ blindsapply (guchar *srow, gint available; /* Make the row 'shrink' around points along its length */ - /* The bvals.numsegs determins how many segments to slip it in to */ + /* The bvals.numsegs determines how many segments to slip it in to */ /* The angle is the conceptual 'rotation' of each of these segments */ /* Note the row is considered to be made up of a two dim array actual @@ -636,7 +636,7 @@ apply_blinds (GimpDrawable *drawable) } /* Hmmm. does this work portably? */ - /* This "swaps the intergers around that are held in in the + /* This "swaps" the integers around that are held in in the * sr & dr arrays. */ blindsapply ((guchar *) sr, (guchar *) dr, diff --git a/plug-ins/common/cartoon.c b/plug-ins/common/cartoon.c index 2a724aa566..1ecd723c94 100644 --- a/plug-ins/common/cartoon.c +++ b/plug-ins/common/cartoon.c @@ -704,7 +704,7 @@ find_constants (gdouble n_p[], gdouble constants [8]; gdouble div; - /* The constants used in the implemenation of a casual sequence + /* The constants used in the implementation of a casual sequence * using a 4th order approximation of the gaussian operator */ diff --git a/plug-ins/common/cml-explorer.c b/plug-ins/common/cml-explorer.c index 8f259ecdc1..de681fefac 100644 --- a/plug-ins/common/cml-explorer.c +++ b/plug-ins/common/cml-explorer.c @@ -461,7 +461,7 @@ query (void) "Make an image of Coupled-Map Lattice (CML). CML is " "a kind of Cellula Automata on continuous (value) " "domain. In GIMP_RUN_NONINTERACTIVE, the name of a " - "prameter file is passed as the 4th arg. You can " + "parameter file is passed as the 4th arg. You can " "control CML_explorer via parameter file.", /* Or do you want to call me with over 50 args? */ "Shuji Narazaki (narazaki@InetQ.or.jp); " diff --git a/plug-ins/common/compose.c b/plug-ins/common/compose.c index 46b3e4a75d..92dafc68ae 100644 --- a/plug-ins/common/compose.c +++ b/plug-ins/common/compose.c @@ -80,7 +80,7 @@ typedef struct const gchar *babl_model; const gchar *compose_type; /* Type of composition ("RGB", "RGBA",...) */ gint num_images; /* Number of input images needed */ - /* Channel informations */ + /* Channel information */ const COMPONENT_DSC components[MAX_COMPOSE_IMAGES]; const gchar *filename; /* Name of new image */ diff --git a/plug-ins/common/contrast-retinex.c b/plug-ins/common/contrast-retinex.c index f817dcb7a5..da39bc6023 100644 --- a/plug-ins/common/contrast-retinex.c +++ b/plug-ins/common/contrast-retinex.c @@ -469,7 +469,7 @@ retinex_scales_distribution(gfloat* scales, gint nscales, gint mode, gint s) scales[0] = (gint) s / 2; } else if (nscales == 2) - { /* For two filters whe choose the median and maximum scale */ + { /* For two filters we choose the median and maximum scale */ scales[0] = (gint) s / 2; scales[1] = (gint) s; } diff --git a/plug-ins/common/curve-bend.c b/plug-ins/common/curve-bend.c index 88806350b6..80964bfedc 100644 --- a/plug-ins/common/curve-bend.c +++ b/plug-ins/common/curve-bend.c @@ -401,7 +401,7 @@ p_gimp_rotate (gint32 image_id, GIMP_PDB_IMAGE, image_id, GIMP_PDB_DRAWABLE, drawable_id, GIMP_PDB_INT32, l_angle_step, - GIMP_PDB_INT32, FALSE, /* dont rotate the whole image */ + GIMP_PDB_INT32, FALSE, /* don't rotate the whole image */ GIMP_PDB_END); if (return_vals[0].data.d_status == GIMP_PDB_SUCCESS) @@ -517,7 +517,7 @@ query (void) { { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-NONINTERACTIVE (1) }" }, { GIMP_PDB_INT32, "total-steps", "total number of steps (# of layers-1 to apply the related plug-in)" }, - { GIMP_PDB_FLOAT, "current-step", "current (for linear iterations this is the layerstack position, otherwise some value inbetween)" }, + { GIMP_PDB_FLOAT, "current-step", "current (for linear iterations this is the layerstack position, otherwise some value in between)" }, { GIMP_PDB_INT32, "len-struct", "length of stored data structure with id is equal to the plug_in proc_name" }, }; @@ -589,7 +589,7 @@ run (const gchar *name, /* Get the runmode from the in-parameters */ GimpRunMode run_mode = param[0].data.d_int32; - /* status variable, use it to check for errors in invocation usualy only + /* status variable, use it to check for errors in invocation usually only during non-interactive calling */ GimpPDBStatusType status = GIMP_PDB_SUCCESS; @@ -922,7 +922,7 @@ p_load_pointfile (BenderDialog *cd, } else { - printf("warnig: BAD points[%d] in file %s are ignored\n", l_pi, filename); + printf("warning: BAD points[%d] in file %s are ignored\n", l_pi, filename); } } l_len = strlen(KEY_VAL_Y); @@ -937,7 +937,7 @@ p_load_pointfile (BenderDialog *cd, } else { - printf("warnig: BAD y_vals[%d] in file %s are ignored\n", l_ci, filename); + printf("warning: BAD y_vals[%d] in file %s are ignored\n", l_ci, filename); } } @@ -2483,7 +2483,7 @@ p_curve_get_dy (BenderDialog *cd, gdouble current_step) { /* get y values of both upper and lower curve, - * and return the iterated value inbetween + * and return the iterated value in between */ gdouble l_y1, l_y2; gdouble delta; @@ -3000,7 +3000,7 @@ p_vertical_bend (BenderDialog *cd, (gint32)src_gdrw->drawable->height, (gdouble)l_y); l_desty = l_y + l_topshift + l_curvy; - /* ----------- SMOOTING ------------------ */ + /* ----------- SMOOTHING ------------------ */ if (cd->smoothing && (l_x > 0)) { l_nb_curvy = p_curve_get_dy(cd, l_x -1, @@ -3136,7 +3136,7 @@ p_vertical_bend (BenderDialog *cd, if (cd->smoothing) { - /* smooting is on, so we are using a mixed color */ + /* smoothing is on, so we are using a mixed color */ gulong alpha1 = last_arr[l_x].color[3]; gulong alpha2 = color[3]; gulong alpha; @@ -3156,7 +3156,7 @@ p_vertical_bend (BenderDialog *cd, } else { - /* smooting is off, so we are using this color or + /* smoothing is off, so we are using this color or the last color */ if (l_dy < l_diff / 2) { diff --git a/plug-ins/common/decompose.c b/plug-ins/common/decompose.c index a6d262318c..5bf080909b 100644 --- a/plug-ins/common/decompose.c +++ b/plug-ins/common/decompose.c @@ -41,7 +41,7 @@ #define PLUG_IN_ROLE "gimp-decompose" -/* Descrition of a component */ +/* Description of a component */ typedef struct { const gchar *babl_name; /* channel's babl_component name */ @@ -746,14 +746,14 @@ copy_one_component (GeglBuffer *src, GeglBuffer *temp; const GeglRectangle *extent; - /* We are working in linear double precison*/ + /* We are working in linear double precision */ component_format = babl_format_new (babl_model (model), babl_type ("double"), babl_component (component.babl_name), NULL); /* We need to enforce linearity here - * If the output is "Y'", the ouput of temp is already ok + * If the output is "Y'", the output of temp is already ok * If the output is "Y" , it will enforce gamma-decoding. * A bit tricky and suboptimal... */ diff --git a/plug-ins/common/despeckle.c b/plug-ins/common/despeckle.c index 40e4fc4db5..eed7167b29 100644 --- a/plug-ins/common/despeckle.c +++ b/plug-ins/common/despeckle.c @@ -71,8 +71,8 @@ typedef struct } DespeckleHistogram; /* Number of pixels in actual histogram falling into each category */ -static gint hist0; /* Less than min treshold */ -static gint hist255; /* More than max treshold */ +static gint hist0; /* Less than min threshold */ +static gint hist255; /* More than max threshold */ static gint histrest; /* From min to max */ static DespeckleHistogram histogram; @@ -376,7 +376,7 @@ pixel_copy (guchar *dest, * target pixel, sorts them, and uses the median value. This code uses a * circular row buffer to improve performance. * - * The adaptive filter is based on the median filter but analizes the histogram + * The adaptive filter is based on the median filter but analyzes the histogram * of the region around the target pixel and adjusts the despeckle diameter * accordingly. */ diff --git a/plug-ins/common/file-cel.c b/plug-ins/common/file-cel.c index d166202da9..aee57f7e00 100644 --- a/plug-ins/common/file-cel.c +++ b/plug-ins/common/file-cel.c @@ -327,7 +327,7 @@ load_image (const gchar *file, file_mark, /* KiSS file type */ bpp; /* Bits per pixel */ gint height, width, /* Dimensions of image */ - offx, offy, /* Layer offets */ + offx, offy, /* Layer offsets */ colors; /* Number of colors */ gint32 image, /* Image */ diff --git a/plug-ins/common/file-dicom.c b/plug-ins/common/file-dicom.c index 64904fcceb..2ec4a2bdd8 100644 --- a/plug-ins/common/file-dicom.c +++ b/plug-ins/common/file-dicom.c @@ -411,7 +411,7 @@ load_image (const gchar *filename, && !(value_rep[0] == ' ' && value_rep[1])) ) { - /* Look up type from the dictionary. At the time we dont + /* Look up type from the dictionary. At the time we don't support this option... */ gchar element_length_chars[4]; diff --git a/plug-ins/common/file-jp2-load.c b/plug-ins/common/file-jp2-load.c index bbf324f432..3e467785cd 100644 --- a/plug-ins/common/file-jp2-load.c +++ b/plug-ins/common/file-jp2-load.c @@ -1013,7 +1013,7 @@ open_dialog (const gchar *filename, if (gimp_dialog_run (GIMP_DIALOG (dialog)) != GTK_RESPONSE_OK) { /* Do not set an error here. The import was simply canceled. - * No error occured. */ + * No error occurred. */ color_space = OPJ_CLRSPC_UNKNOWN; } } diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c index 48f5b6a741..631fc73431 100644 --- a/plug-ins/common/file-pdf-save.c +++ b/plug-ins/common/file-pdf-save.c @@ -1426,7 +1426,7 @@ get_layer_color (gint32 layer_ID, if (gimp_drawable_is_indexed (layer_ID)) { - /* FIXME: We can't do a propper histogram on indexed layers! */ + /* FIXME: We can't do a proper histogram on indexed layers! */ *single = FALSE; col. r = col.g = col.b = col.a = 0; return col; diff --git a/plug-ins/common/file-ps.c b/plug-ins/common/file-ps.c index 4b0c8bc141..7eccc34059 100644 --- a/plug-ins/common/file-ps.c +++ b/plug-ins/common/file-ps.c @@ -48,7 +48,7 @@ * Add "RunLength" compression * Fix problem with "Level 2" toggle * V 1.10, PK, 15-Mar-2000: For load EPSF, allow negative Bounding Box Values - * Save PS: dont start lines of image data with %% + * Save PS: don't start lines of image data with %% * to prevent problems with stupid PostScript * analyzer programs (Stanislav Brabec) * Add BeginData/EndData comments @@ -127,8 +127,8 @@ static PSLoadVals plvals = TRUE, /* try to use BoundingBox */ "1", /* pages to load */ 6, /* use ppm (color) */ - 1, /* dont use text antialiasing */ - 1 /* dont use graphics antialiasing */ + 1, /* don't use text antialiasing */ + 1 /* don't use graphics antialiasing */ }; /* Widgets for width and height of PostScript image to @@ -1815,7 +1815,7 @@ read_pnmraw_type (FILE *ifp, thrd = getc (ifp); } pnmtype = scnd - '0'; - /* We dont use the ASCII-versions */ + /* We don't use the ASCII-versions */ if ((pnmtype >= 1) && (pnmtype <= 3)) return -1; diff --git a/plug-ins/common/file-raw-data.c b/plug-ins/common/file-raw-data.c index 4c8800f337..e07392b0ce 100644 --- a/plug-ins/common/file-raw-data.c +++ b/plug-ins/common/file-raw-data.c @@ -508,7 +508,7 @@ run (const gchar *name, switch (sample_spacing) { case 0: - /* Auto-detection already occured. Let's just check if + /* Auto-detection already occurred. Let's just check if *it was successful. */ if (runtime->image_width != 1201 && diff --git a/plug-ins/common/film.c b/plug-ins/common/film.c index a0c0eaf44d..b0249914f1 100644 --- a/plug-ins/common/film.c +++ b/plug-ins/common/film.c @@ -171,7 +171,7 @@ static FilmVals filmvals = { 0.93, 0.61, 0.0, 1.0 }, /* Color of number */ "Monospace", /* Font family for numbering */ { TRUE, TRUE }, /* Numbering on top and bottom */ - 0, /* Dont keep max. image height */ + 0, /* Don't keep max. image height */ 0, /* Number of images */ { 0 } /* Input image list */ }; @@ -628,7 +628,7 @@ draw_hole_rgb (GimpDrawable *drw, return; if ((x+width <= 0) || (x >= d_width)) return; - length = width; /* Check that we dont draw past the image */ + length = width; /* Check that we don't draw past the image */ if ((x+length) >= d_width) length = d_width-x; @@ -682,7 +682,7 @@ draw_number (gint32 layer_ID, if (max_delta < 1) max_delta = 1; - /* Numbers dont need the descent. Inquire it and move the text down */ + /* Numbers don't need the descent. Inquire it and move the text down */ for (k = 0; k < max_delta * 2 + 1; k++) { /* Try different font sizes if inquire of extent failed */ diff --git a/plug-ins/common/max-rgb.c b/plug-ins/common/max-rgb.c index 726604b145..576fb5ab77 100644 --- a/plug-ins/common/max-rgb.c +++ b/plug-ins/common/max-rgb.c @@ -126,7 +126,7 @@ run (const gchar *name, { case GIMP_RUN_INTERACTIVE: gimp_get_data (PLUG_IN_PROC, &pvals); - /* Since a channel might be selected, we must check wheter RGB or not. */ + /* Since a channel might be selected, we must check whether RGB or not. */ if (!gimp_drawable_is_rgb (drawable->drawable_id)) { g_message (_("Can only operate on RGB drawables.")); diff --git a/plug-ins/common/photocopy.c b/plug-ins/common/photocopy.c index 7fa0a0910c..82aceeb08f 100644 --- a/plug-ins/common/photocopy.c +++ b/plug-ins/common/photocopy.c @@ -732,7 +732,7 @@ find_constants (gdouble n_p[], gdouble constants [8]; gdouble div; - /* The constants used in the implemenation of a casual sequence + /* The constants used in the implementation of a casual sequence * using a 4th order approximation of the gaussian operator */ diff --git a/plug-ins/common/sample-colorize.c b/plug-ins/common/sample-colorize.c index c15a6091d7..56ab030920 100644 --- a/plug-ins/common/sample-colorize.c +++ b/plug-ins/common/sample-colorize.c @@ -97,10 +97,10 @@ typedef struct gint32 lvl_out_max; /* 1 up to 255 */ float tol_col_err; /* 0.0% up to 100.0% - * this is used to findout colors of the same + * this is used to find out colors of the same * colortone, while analyzing sample colors, * It does not make much sense for the user to adjust this - * value. (I used a param file to findout a suitable value) + * value. (I used a param file to find out a suitable value) */ } t_values; @@ -175,7 +175,7 @@ typedef struct * Some globals */ -static t_samp_interface g_di; /* global dialog interface varables */ +static t_samp_interface g_di; /* global dialog interface variables */ static t_values g_values = { -1, -1, 1, 1, 0, 1, 0, 255, 1.0, 0, 255, 5.5 }; static t_samp_table_elem g_lum_tab[256]; static guchar g_lvl_trans_tab[256]; @@ -555,7 +555,7 @@ smp_constrain (gint32 image_id, if (image_id < 0) return FALSE; - /* dont accept layers from indexed images */ + /* don't accept layers from indexed images */ if (gimp_drawable_is_indexed (drawable_id)) return FALSE; @@ -2756,7 +2756,7 @@ sample_analyze (t_GDRW *sample_gdrw) if (g_Sdebug) print_ppm ("sample_color_all.ppm"); - /* findout ideal sample colors for each brightness intensity (lum) + /* find out ideal sample colors for each brightness intensity (lum) * and set g_sample_color_tab to the ideal colors. */ ideal_samples (); diff --git a/plug-ins/common/softglow.c b/plug-ins/common/softglow.c index 08e1f25e4a..39ab9ac6fc 100644 --- a/plug-ins/common/softglow.c +++ b/plug-ins/common/softglow.c @@ -523,7 +523,7 @@ find_constants (gdouble n_p[], gdouble constants [8]; gdouble div; - /* The constants used in the implemenation of a casual sequence + /* The constants used in the implementation of a casual sequence * using a 4th order approximation of the gaussian operator */ diff --git a/plug-ins/common/sphere-designer.c b/plug-ins/common/sphere-designer.c index 7c8a9fecc4..1e60027112 100644 --- a/plug-ins/common/sphere-designer.c +++ b/plug-ins/common/sphere-designer.c @@ -3130,7 +3130,7 @@ run (const gchar *name, break; case GIMP_RUN_NONINTERACTIVE: default: - /* Not implementet yet... */ + /* Not implemented yet... */ gimp_drawable_detach (drawable); return; } diff --git a/plug-ins/common/tile-small.c b/plug-ins/common/tile-small.c index 8026350ee5..01dbd532e3 100644 --- a/plug-ins/common/tile-small.c +++ b/plug-ins/common/tile-small.c @@ -1061,7 +1061,7 @@ tiles_xy (gint width, } -/* Given a row then srink it down a bit */ +/* Given a row then shrink it down a bit */ static void do_tiles_preview (guchar *dest_row, guchar *src_rows, diff --git a/plug-ins/common/unsharp-mask.c b/plug-ins/common/unsharp-mask.c index 065744c3f1..b07b852c43 100644 --- a/plug-ins/common/unsharp-mask.c +++ b/plug-ins/common/unsharp-mask.c @@ -243,7 +243,7 @@ run (const gchar *name, } /* This function is written as if it is blurring a row of pixels, - * even though it can operate on colums, too. There is no difference + * even though it can operate on columns, too. There is no difference * in the processing of the lines, at least to the blur_line function. */ static void @@ -715,7 +715,7 @@ unsharp_region (GimpPixelRgn *srcPR, gint value; gint diff = *s - *d; - /* do tresholding */ + /* do thresholding */ if (abs (2 * diff) < threshold) diff = 0; @@ -940,7 +940,7 @@ preview_update (GimpPreview *preview, gimp_preview_get_position (preview, &x, &y); gimp_preview_get_size (preview, &width, &height); - /* enlarge the region to avoid artefacts at the edges of the preview */ + /* enlarge the region to avoid artifacts at the edges of the preview */ border = 2.0 * unsharp_params.radius + 0.5; x1 = MAX (0, x - border); y1 = MAX (0, y - border); diff --git a/plug-ins/file-fits/fits-io.c b/plug-ins/file-fits/fits-io.c index c4ec2c539f..db52b74266 100644 --- a/plug-ins/file-fits/fits-io.c +++ b/plug-ins/file-fits/fits-io.c @@ -413,7 +413,7 @@ fits_nan_32 (guchar *v) register gulong k; k = (v[0] << 24) | (v[1] << 16) | (v[2] << 8) | v[3]; - k &= 0x7fffffff; /* Dont care about the sign bit */ + k &= 0x7fffffff; /* Don't care about the sign bit */ /* See NOST Definition of the Flexible Image Transport System (FITS), */ /* Appendix F, IEEE special formats. */ @@ -445,7 +445,7 @@ fits_nan_64 (guchar *v) register gulong k; k = (v[0] << 24) | (v[1] << 16) | (v[2] << 8) | v[3]; - k &= 0x7fffffff; /* Dont care about the sign bit */ + k &= 0x7fffffff; /* Don't care about the sign bit */ /* See NOST Definition of the Flexible Image Transport System (FITS), */ /* Appendix F, IEEE special formats. */ @@ -1190,7 +1190,7 @@ fits_decode_header (FitsRecordList *hdr, } /* If we have only one dimension, just set the second to size one. */ - /* So we dont have to check for naxis < 2 in some places. */ + /* So we don't have to check for naxis < 2 in some places. */ if (hdulist->naxis < 2) hdulist->naxisn[1] = 1; diff --git a/plug-ins/file-fits/fits.c b/plug-ins/file-fits/fits.c index 02ccaf365a..634cb39a4f 100644 --- a/plug-ins/file-fits/fits.c +++ b/plug-ins/file-fits/fits.c @@ -115,7 +115,7 @@ static FITSLoadVals plvals = { 0, /* Replace with black */ 0, /* Do autoscale on pixel-values */ - 0 /* Dont compose images */ + 0 /* Don't compose images */ }; const GimpPlugInInfo PLUG_IN_INFO = diff --git a/plug-ins/file-psd/psd-util.c b/plug-ins/file-psd/psd-util.c index 4610058883..78d5d6be9b 100644 --- a/plug-ins/file-psd/psd-util.c +++ b/plug-ins/file-psd/psd-util.c @@ -49,7 +49,7 @@ typedef struct static const gchar * get_enum_value_nick (GType type, gint value); -/* Local varaibles */ +/* Local variables */ /* mapping table between Photoshop and GIMP modes. in case a mode matches more * than one entry (in either direction), the first entry wins. diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c index ff844d0845..7e7435cb8c 100644 --- a/plug-ins/file-tiff/file-tiff-load.c +++ b/plug-ins/file-tiff/file-tiff-load.c @@ -1293,7 +1293,7 @@ load_paths (TIFF *tif, case 4: /* open subpath bezier knot, linked */ case 5: /* open subpath bezier knot, unlinked */ /* since we already know if the subpath is open - * or closed and since we don't differenciate between + * or closed and since we don't differentiate between * linked and unlinked, just treat all the same... */ if (pointcount < expected_points) diff --git a/plug-ins/file-tiff/file-tiff-save.c b/plug-ins/file-tiff/file-tiff-save.c index 8c8d85c249..0764872aae 100644 --- a/plug-ins/file-tiff/file-tiff-save.c +++ b/plug-ins/file-tiff/file-tiff-save.c @@ -718,7 +718,7 @@ save_image (GFile *file, #endif } - /* The TIFF spec explicitely says ASCII for the image description. */ + /* The TIFF spec explicitly says ASCII for the image description. */ if (image_comment) { const gchar *c = image_comment; diff --git a/plug-ins/file-webp/file-webp-save.c b/plug-ins/file-webp/file-webp-save.c index c47cea617e..125771d876 100644 --- a/plug-ins/file-webp/file-webp-save.c +++ b/plug-ins/file-webp/file-webp-save.c @@ -521,7 +521,7 @@ save_animation (const gchar *filename, if (! WebPAnimEncoderOptionsInit (&enc_options)) { - g_printerr ("ERROR: verion mismatch\n"); + g_printerr ("ERROR: version mismatch\n"); status = FALSE; break; } diff --git a/plug-ins/flame/libifs.c b/plug-ins/flame/libifs.c index 5c6a3d2f55..d90fcae971 100644 --- a/plug-ins/flame/libifs.c +++ b/plug-ins/flame/libifs.c @@ -1096,7 +1096,7 @@ double random_uniform11 (void) } /* returns a mean 0 variance 1 random variable - see numerical recipies p 217 */ + see numerical recipes p 217 */ double random_gaussian(void) { static int iset = 0; diff --git a/plug-ins/gfig/gfig-style.c b/plug-ins/gfig/gfig-style.c index a8b77bfc9b..3def978fb7 100644 --- a/plug-ins/gfig/gfig-style.c +++ b/plug-ins/gfig/gfig-style.c @@ -578,7 +578,7 @@ gfig_style_copy (Style *style1, if (name) style1->name = g_strdup (name); else - g_message ("Eror: name is NULL in gfig_style_copy."); + g_message ("Error: name is NULL in gfig_style_copy."); if (gfig_context->debug_styles) g_printerr ("Copying style %s as style %s\n", style0->name, name); diff --git a/plug-ins/gradient-flare/gradient-flare.c b/plug-ins/gradient-flare/gradient-flare.c index 1ef2f72c8a..470ea9c5a5 100644 --- a/plug-ins/gradient-flare/gradient-flare.c +++ b/plug-ins/gradient-flare/gradient-flare.c @@ -266,7 +266,7 @@ typedef struct * well, radius and lengths are actual length for CalcParams where * they are typically 0 to 100 for GFlares, and angles are G_PI based * (radian) for CalcParams where they are degree for GFlares. et cetra. - * This is because convienience for dialog processing and for calculating. + * This is because convenience for dialog processing and for calculating. * these conversion is taken place in calc init routines. see below. */ @@ -2130,8 +2130,8 @@ calc_rays_pix (guchar *dest_pix, gdouble x, gdouble y) * * the sflare (second flares) are needed to be rendered one each * sequentially, onto the source image, such as like usual layer - * operations. So the function takes src_pix as argment. glow, rays - * routines don't have src_pix as argment, because of convienience. + * operations. So the function takes src_pix as argument. glow, rays + * routines don't have src_pix as argument, because of convenience. * * @JAPANESE * sflare $B$OJ#?t$N%U%l%"$r=g$K(B($B%l%$%dE*$K(B)$B$+$V$;$J$,$iIA2h$9$kI,MW$,(B diff --git a/plug-ins/ifs-compose/ifs-compose-utils.c b/plug-ins/ifs-compose/ifs-compose-utils.c index f5b8b082a6..ac1adb43f9 100644 --- a/plug-ins/ifs-compose/ifs-compose-utils.c +++ b/plug-ins/ifs-compose/ifs-compose-utils.c @@ -626,7 +626,7 @@ aff_element_compute_click_boundary (AffElement *elem, cth = cos (theta); /* compute the minimum rectangle at angle theta that bounds the points, - 1/2 side lenghs left in axis1, axis2, center in xc, yc */ + 1/2 side lengths left in axis1, axis2, center in xc, yc */ axis1max = axis1min = 0.0; axis2max = axis2min = 0.0; diff --git a/plug-ins/metadata/metadata-editor.c b/plug-ins/metadata/metadata-editor.c index 1db0fd10e1..8d9d83c228 100644 --- a/plug-ins/metadata/metadata-editor.c +++ b/plug-ins/metadata/metadata-editor.c @@ -524,7 +524,7 @@ metadata_editor_dialog (gint32 image_id, if (! gtk_builder_add_from_file (builder, ui_file, &error)) { - g_printerr ("Error occured while loading UI file!\n"); + g_printerr ("Error occurred while loading UI file!\n"); g_printerr ("Message: %s\n", error->message); g_clear_error (&error); if (ui_file) @@ -729,7 +729,7 @@ on_date_button_clicked (GtkButton *widget, if (! gtk_builder_add_from_file (builder, ui_file, &error)) { - g_printerr ("Error occured while loading UI file!\n"); + g_printerr ("Error occurred while loading UI file!\n"); if (error != NULL) { g_printerr ("Message: %s\n", error->message); @@ -802,7 +802,7 @@ on_date_button_clicked (GtkButton *widget, } /* ============================================================================ - * ==[ SEPCIAL TAGS HANDLERS ]================================================= + * ==[ SPECIAL TAGS HANDLERS ]================================================= * ============================================================================ */ @@ -2450,7 +2450,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, gint store_index; gchar arr[256][256]; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { @@ -2534,7 +2534,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, int store_index; gchar arr[256][256]; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { @@ -2618,7 +2618,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, int store_index; gchar arr[256][256]; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { @@ -2711,7 +2711,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, int store_index; gchar arr[256][256]; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { @@ -4025,7 +4025,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, gchar arr[256][256]; gint item; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { @@ -4094,7 +4094,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, gchar arr[256][256]; gint item; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { @@ -4163,7 +4163,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, gchar arr[256][256]; gint item; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { @@ -4232,7 +4232,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata, gchar arr[256][256]; gint item; - /* seperate list on commas */ + /* separate list on commas */ store_index = 0; if (value) { diff --git a/plug-ins/metadata/metadata-viewer.c b/plug-ins/metadata/metadata-viewer.c index 3207d3ed59..b48634a029 100644 --- a/plug-ins/metadata/metadata-viewer.c +++ b/plug-ins/metadata/metadata-viewer.c @@ -206,7 +206,7 @@ metadata_viewer_dialog (gint32 image_id, if (! gtk_builder_add_from_file (builder, ui_file, &error)) { - g_printerr ("Error occured while loading UI file!\n"); + g_printerr ("Error occurred while loading UI file!\n"); g_printerr ("Message: %s\n", error->message); g_clear_error (&error); g_free (ui_file); diff --git a/plug-ins/print/print-settings.c b/plug-ins/print/print-settings.c index 9bb9c3377c..7778f4d155 100644 --- a/plug-ins/print/print-settings.c +++ b/plug-ins/print/print-settings.c @@ -90,7 +90,7 @@ print_settings_save (PrintData *data) "unit", data->unit); /* Do not save the print resolution when it is the expected image * resolution so that changing it (i.e. in "print size" dialog) - * is not overrided by any previous prints. + * is not overridden by any previous prints. */ if ((data->min_xres <= xres && ABS (xres - data->xres) > 0.1) || (data->min_yres <= yres && ABS (yres - data->yres) > 0.1) || diff --git a/plug-ins/pygimp/ChangeLog.old b/plug-ins/pygimp/ChangeLog.old index 7a4893bb34..1dcf46a88a 100644 --- a/plug-ins/pygimp/ChangeLog.old +++ b/plug-ins/pygimp/ChangeLog.old @@ -250,7 +250,7 @@ 1999-06-22 James Henstridge * gimpplugin.py: renamed from plugin.py. This is mainly to reduce - namespace polution. + namespace pollution. * getvals.py: removed file. It has been replaced by the much more functional gimpfu module. diff --git a/plug-ins/pygimp/doc/gimp-module-procedures.html b/plug-ins/pygimp/doc/gimp-module-procedures.html index 649397cbe0..70bb48fd0a 100644 --- a/plug-ins/pygimp/doc/gimp-module-procedures.html +++ b/plug-ins/pygimp/doc/gimp-module-procedures.html @@ -1267,7 +1267,7 @@ CLASS="FUNCTION" while keeping the plugin connection open. This is used by an extension plugin to tell gimp it can continue, while leaving the plugin connection open. This is what the - script-fu plugin does so that only one scheme interpretter + script-fu plugin does so that only one scheme interpreter is needed.

For more information on invoking PDB procedures, please see the example plugins. For information on individual procedures, please see the PDB Browser plugin (in the Xtns - menu). It alows you to peruse to the database + menu). It allows you to peruse the database interactively.

For more information on invoking PDB procedures, please see the example plugins. For information on individual procedures, please see the PDB Browser plugin (in the Xtns - menu). It alows you to peruse to the database + menu). It allows you to peruse to the database interactively.

For more information on invoking PDB procedures, please see the example plugins. For information on individual procedures, please see the PDB Browser plugin (in the Xtns - menu). It alows you to peruse to the database + menu). It allows you to peruse to the database interactively. @@ -912,7 +912,7 @@ pdb.query(name, [blurb, [help, [author, [copyright, [date, [type]]]]]]) while keeping the plugin connection open. This is used by an extension plugin to tell gimp it can continue, while leaving the plugin connection open. This is what the - script-fu plugin does so that only one scheme interpretter + script-fu plugin does so that only one scheme interpreter is needed. @@ -1954,7 +1954,7 @@ pdb.query(name, [blurb, [help, [author, [copyright, [date, [type]]]]]]) 2-tuple with components that are either integers or slices. The subscripts may be read and assigned to. The type of the subscripts is a string containing the binary data of the - requested region. Here is a description of the posible + requested region. Here is a description of the possible operations: @@ -2134,7 +2134,7 @@ main() The registered procedure name (first parameter of the register() function) is mangled: all underscores - are converted to hypens, to better match the usual Scheme syntatic + are converted to hyphens, to better match the usual Scheme syntatic style (here, console_echo becomes console-echo). Moreover, a python-fu- prefix is automatically added; it is diff --git a/plug-ins/pygimp/plug-ins/palette-sort.py b/plug-ins/pygimp/plug-ins/palette-sort.py index a8352b53b0..c504940f72 100644 --- a/plug-ins/pygimp/plug-ins/palette-sort.py +++ b/plug-ins/pygimp/plug-ins/palette-sort.py @@ -312,7 +312,7 @@ register( N_("Sort the colors in a palette"), # FIXME: Write humanly readable help - # (I can't figure out what the plugin does, or how to use the parameters after - # David's enhacements even looking at the code - + # David's enhancements even looking at the code - # let alone someone just using GIMP (JS) ) dedent("""\ palette_sort (palette, selection, slice_expr, channel, diff --git a/plug-ins/script-fu/ftx/README b/plug-ins/script-fu/ftx/README index 8e086335e2..c20b21531d 100644 --- a/plug-ins/script-fu/ftx/README +++ b/plug-ins/script-fu/ftx/README @@ -84,7 +84,7 @@ implemented calls. You should copy these applications to the directory where TinyScheme is installed (i.e., where the "scheme" binary -file resides), and can be runned with: +file resides), and can be run with: ./scheme listhome.scm ./scheme smtp.scm diff --git a/plug-ins/script-fu/ftx/ftx-functions.txt b/plug-ins/script-fu/ftx/ftx-functions.txt index 8c85fef47c..e681261a1e 100644 --- a/plug-ins/script-fu/ftx/ftx-functions.txt +++ b/plug-ins/script-fu/ftx/ftx-functions.txt @@ -90,7 +90,7 @@ portable to different operating systems. Returns the current local time, as a list of integer containing: (year month day-of-month hour min sec millisec) - The year is expressed as an offsett from 1900. + The year is expressed as an offset from 1900. (gettimeofday) Returns a list containing the number of seconds from diff --git a/plug-ins/script-fu/scripts/add-bevel.scm b/plug-ins/script-fu/scripts/add-bevel.scm index d4a1450324..b54a147b97 100644 --- a/plug-ins/script-fu/scripts/add-bevel.scm +++ b/plug-ins/script-fu/scripts/add-bevel.scm @@ -26,7 +26,7 @@ ; If there is a selection, it is bevelled. ; Otherwise if there is an alpha channel, the selection is taken from it ; and bevelled. -; Otherwise the part of the layer inside the image boundries is bevelled. +; Otherwise the part of the layer inside the image boundaries is bevelled. ; ; The selection is set on exit, so Select->Invert then Edit->Clear will ; leave a cut-out. Then use Sven's add-shadow for that diff --git a/plug-ins/script-fu/scripts/palette-export.scm b/plug-ins/script-fu/scripts/palette-export.scm index 4ecae6eb31..ecb16df7fe 100644 --- a/plug-ins/script-fu/scripts/palette-export.scm +++ b/plug-ins/script-fu/scripts/palette-export.scm @@ -106,7 +106,7 @@ ; Export utils ; ----------------------------------------------------------------------------- -; List of charcters that should not appear in file names +; List of characters that should not appear in file names (define illegal-file-name-chars (list #\\ #\/ #\: #\* #\? #\" #\< #\> #\|)) ; A function to filter a list lst by a given predicate pred diff --git a/plug-ins/script-fu/scripts/script-fu-compat.init b/plug-ins/script-fu/scripts/script-fu-compat.init index 88f5c02fef..865cf8027b 100644 --- a/plug-ins/script-fu/scripts/script-fu-compat.init +++ b/plug-ins/script-fu/scripts/script-fu-compat.init @@ -117,7 +117,7 @@ ; The strategy is to generate a random number digit by digit. ; Here's an example in base 10. Say the input n is 348 ; (thus requesting a number between 0 and 347). Then the algorithm - ; first calls (internal-random 4) to get a digit betweeen 0 and 3, + ; first calls (internal-random 4) to get a digit between 0 and 3, ; then (internal-random 10) twice to get two more digits between ; 0 and 9. Say the result is 366: since it is greater than 347, ; it's discarded and the process restarted. When the result is diff --git a/plug-ins/script-fu/tinyscheme/CHANGES b/plug-ins/script-fu/tinyscheme/CHANGES index 824e105c58..19ce1d2842 100644 --- a/plug-ins/script-fu/tinyscheme/CHANGES +++ b/plug-ins/script-fu/tinyscheme/CHANGES @@ -15,10 +15,10 @@ Version 1.41 #2866196 - Parser does not handle delimiters correctly #3395548 - Add a decimal point to inexact numbers in atom2str (DC) #3399331 - Make min/max return inexact when any argument is inexact - #3399332 - Compatability fix for expt. + #3399332 - Compatibility fix for expt. #3399335 - Optional radix for string->number and number->string (DC) #3400202 - Append with one argument should not return a list (DC) - #3400284 - Compatability fix for integer? + #3400284 - Compatibility fix for integer? Other changes: - Added flags to makefile for MinGW/MSYS (TC) diff --git a/plug-ins/script-fu/tinyscheme/Manual.txt b/plug-ins/script-fu/tinyscheme/Manual.txt index bf0e8ea4a4..7ef62e9cd3 100644 --- a/plug-ins/script-fu/tinyscheme/Manual.txt +++ b/plug-ins/script-fu/tinyscheme/Manual.txt @@ -86,7 +86,7 @@ Please read accompanying file COPYING. Directives (gc) - Performs garbage collection immediatelly. + Performs garbage collection immediately. (gcverbose) (gcverbose ) The argument (defaulting to #t) controls whether GC produces diff --git a/plug-ins/script-fu/tinyscheme/hack.txt b/plug-ins/script-fu/tinyscheme/hack.txt index 72a3de6a36..695449f06f 100644 --- a/plug-ins/script-fu/tinyscheme/hack.txt +++ b/plug-ins/script-fu/tinyscheme/hack.txt @@ -57,7 +57,7 @@ X T_LAST_SYSTEM_TYPE=14 length. If we couln't reuse existing fields, we could always add other alternatives in union _object. - We then procede to write the function that actually makes a new block. + We then proceed to write the function that actually makes a new block. For conformance reasons, we name it mk_memblock > static pointer mk_memblock(scheme *sc, int len, char fill) { @@ -107,7 +107,7 @@ X T_LAST_SYSTEM_TYPE=14 virtual machine underlying TinyScheme. Since version 1.30, TinyScheme uses macros and a single source text to keep the enums and the dispatch table in sync. That's where the op-codes are declared. Note - that the opdefines.h file uses unusually long lines to accomodate + that the opdefines.h file uses unusually long lines to accommodate all the information; adjust your editor to handle this. The file has six columns: A to Z. they contain: - Column A is the name of a routine to handle the scheme function. diff --git a/plug-ins/script-fu/tinyscheme/scheme.c b/plug-ins/script-fu/tinyscheme/scheme.c index 0efc19b05e..ccd44759ae 100644 --- a/plug-ins/script-fu/tinyscheme/scheme.c +++ b/plug-ins/script-fu/tinyscheme/scheme.c @@ -1604,7 +1604,7 @@ static gunichar basic_inchar(port *pt) { /* Is this byte an invalid lead per RFC-3629? */ if (c < 0xc2 || c > 0xf4) { - /* Ignore invalid lead byte and get the next characer */ + /* Ignore invalid lead byte and get the next character */ c = fgetc(pt->rep.stdio.file); } else /* Byte is valid lead */ diff --git a/plug-ins/selection-to-path/README b/plug-ins/selection-to-path/README index 0474d514e9..80fa1c053f 100644 --- a/plug-ins/selection-to-path/README +++ b/plug-ins/selection-to-path/README @@ -21,7 +21,7 @@ Kathryn Hargreaves letters@cs.umb.edu Please see fontutils-0.6 package for more details. I have included the README from the limn part of the package. -I thank Karl & Kathryn for producing such a well written set of utilites. +I thank Karl & Kathryn for producing such a well written set of utilities. I have just added a gimp front-end onto them. @@ -39,7 +39,7 @@ path. An additional function can be obtained by having the "Shift" modifier pressed while using the button in the paths dialog. This will pop-up a "power-users" menu where the parameters to the underlying algorithms can be modified. -WARING:- Some values may cause the plugin to enter extremely long operations. +WARNING:- Some values may cause the plugin to enter extremely long operations. You have been warned. Have fun! diff --git a/plug-ins/selection-to-path/bitmap.h b/plug-ins/selection-to-path/bitmap.h index 45d228b7ff..791e5655f1 100644 --- a/plug-ins/selection-to-path/bitmap.h +++ b/plug-ins/selection-to-path/bitmap.h @@ -47,7 +47,7 @@ typedef struct Each pixel is a single byte, even for binary fonts. */ #define BITMAP_BITS(b) ((b).bitmap) -/* These are convenient abbreviations for geting inside the members. */ +/* These are convenient abbreviations for getting inside the members. */ #define BITMAP_WIDTH(b) DIMENSIONS_WIDTH (BITMAP_DIMENSIONS (b)) #define BITMAP_HEIGHT(b) DIMENSIONS_HEIGHT (BITMAP_DIMENSIONS (b)) diff --git a/tools/gimp-mkenums b/tools/gimp-mkenums index 6d62ce6c89..5838fae521 100755 --- a/tools/gimp-mkenums +++ b/tools/gimp-mkenums @@ -164,7 +164,7 @@ sub usage { print STDERR " --dtail description tail, produced after iterating over enum value descriptions\n"; print STDERR " --comments comment structure\n"; print STDERR " -h, --help show this help message\n"; - print STDERR " -v, --version print version informations\n"; + print STDERR " -v, --version print version information\n"; print STDERR "Production text substitutions:\n"; print STDERR " \@EnumName\@ PrefixTheXEnum\n"; print STDERR " \@enum_name\@ prefix_the_xenum\n";