Bug 795161 - Misc. typo fixes in source comments and doxygen

Found via `codespell`
Follow-up to  commit 7fdb963e01
This commit is contained in:
luz.paz 2018-04-18 20:57:03 +02:00 committed by Michael Natterer
parent 43974c3c6a
commit 147c09f19e
81 changed files with 138 additions and 138 deletions

View File

@ -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 If you want to check build directories even if the builds are successful, add
`--keep-build-dirs` option to your command. `--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/` `gimp-flatpak-build-x86-64/` and `gimp-flatpak-build-i386/`
respectively. respectively.

View File

@ -1,5 +1,5 @@
#if 0 #if 0
//for syntax hilighting //for syntax highlighting
[Code] [Code]
#endif #endif

View File

@ -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 #if 0
[Files] [Files]
#endif #endif

View File

@ -401,7 +401,7 @@ var
Force32bitInstall: Boolean; 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" #include "MessageWithURL.isi"
@ -420,7 +420,7 @@ end;
#include "utils.isi" #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 //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; function BadSysDLL(const pFile: String; const pPlatform: Integer): Boolean;
var OldRedir: Boolean; var OldRedir: Boolean;

View File

@ -65,7 +65,7 @@ mingw_tools = {'ADDR2LINE': 'addr2line',
'STRINGS': 'strings', 'WINDRES': 'windres', 'STRINGS': 'strings', 'WINDRES': 'windres',
'AR': 'ar', 'RANLIB': 'ranlib', 'STRIP': 'strip'} '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() mingw_tools_args = str()
for tool in mingw_tools.keys(): for tool in mingw_tools.keys():
fullpath_tool = mingw_tool_prefix + mingw_tools[tool] fullpath_tool = mingw_tool_prefix + mingw_tools[tool]
@ -83,7 +83,7 @@ os.environ['DISPLAY'] = ''
#Added another common env var name for windres #Added another common env var name for windres
os.environ['RC'] = os.environ['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['LDFLAGS'] = '-L'+searchprefix+'/lib'
os.environ['CFLAGS'] = '-mms-bitfields -I'+searchprefix+'/include ' os.environ['CFLAGS'] = '-mms-bitfields -I'+searchprefix+'/include '
os.environ['CPPFLAGS'] = '-I'+searchprefix+'/include' os.environ['CPPFLAGS'] = '-I'+searchprefix+'/include'

View File

@ -927,7 +927,7 @@
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*) + *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or + # 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 + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old + # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward + # object file format. This provides both forward

View File

@ -987,7 +987,7 @@ AC_SUBST(SOCKET_LIBS)
# Check for Intel vector intrinsics # Check for Intel vector intrinsics
################################### ###################################
intrinsics_save_CFLAGS="$CFLAGS" 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(SSE_MATH_CFLAG, '-mfpmath=sse')
GIMP_DETECT_CFLAGS(SSE2_CFLAG, '-msse2') GIMP_DETECT_CFLAGS(SSE2_CFLAG, '-msse2')
SSE2_EXTRA_CFLAGS="$SSE_MATH_CFLAG $SSE2_CFLAG" 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]) AC_ARG_WITH(sendmail,[ --with-sendmail[=DIR] use sendmail instead of xdg-email])
have_sendmail=no 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" != "x" && test "x$with_sendmail" != "xno"; then
if test "x$with_sendmail" = "xyes"; then if test "x$with_sendmail" = "xyes"; then
sendmail_path=$PATH:/usr/sbin:/usr/lib sendmail_path=$PATH:/usr/sbin:/usr/lib

View File

@ -15,10 +15,10 @@ we break API/ABI for 3.x.
- Add user_data to all functions passed to gimp_widgets_init() - 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, - 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 - Change gimp_prop_foo_new() to use the nick as label, or find some
other way to use the nick. other way to use the nick.

View File

@ -66,7 +66,7 @@ back to the old lcms implementation, which can be useful for comparison.
## Debugging X Window System error ## ## 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 > gimp-2.9 --sync

View File

@ -48,4 +48,4 @@ Making a gih file:
Or use the GIH plug-in to save a brush pipe from an image. 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.

View File

@ -255,7 +255,7 @@ Global data follows no strict rules.
as read from the original image. as read from the original image.
where: XXXX is a 4-digit ascii encoded hexadecimal number where: XXXX is a 4-digit ascii encoded hexadecimal number
AA is a two character ascii value representing the Dicom 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 5. KNOWN LAYER/DRAWABLE PARASITES

View File

@ -179,7 +179,7 @@
<entry><filename>regexrepl</filename></entry> <entry><filename>regexrepl</filename></entry>
<entry> <entry>
Code to handle regular expressions in case your C library does not 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 modern libc implementation have offer support for regular
expressions. expressions.
</entry> </entry>

View File

@ -238,7 +238,7 @@ main (int argc, char **argv)
GList *toplevels; GList *toplevels;
GList *node; 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. /* If there's no DISPLAY, we silently error out.
* We don't want to break headless builds. * We don't want to break headless builds.

View File

@ -37,7 +37,7 @@ The GimpDialogFactory can be considered to solve two distinct
problems: problems:
1. Create widgets from text, in particular from text in sessionrc 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 across GIMP sessions
One possible design adjustment would be to have GimpWidgetFactory that One possible design adjustment would be to have GimpWidgetFactory that

View File

@ -34,7 +34,7 @@ G_BEGIN_DECLS
/** /**
* GimpDatafileData: * GimpDatafileData:
* @filename: the data file's full path. * @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. * @basename: the data file's basename.
* @atime: the last time the file was accessed for reading. * @atime: the last time the file was accessed for reading.
* @mtime: the last time the file was modified. * @mtime: the last time the file was modified.

View File

@ -58,7 +58,7 @@
* Cause @handler to be run when @signum is delivered. We * Cause @handler to be run when @signum is delivered. We
* use sigaction(2) rather than signal(2) so that we can control the * use sigaction(2) rather than signal(2) so that we can control the
* signal handler's environment completely via @flags: some signal(2) * 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] * exactly what we want. [austin 06.04.2000]
* *
* Returns: A reference to the signal handling function which was * Returns: A reference to the signal handling function which was

View File

@ -2,7 +2,7 @@
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpwin32-io.h * 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 * This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -271,7 +271,7 @@ gimp_color_profile_new_from_file (GFile *file,
/** /**
* gimp_color_profile_new_from_icc_profile: * gimp_color_profile_new_from_icc_profile:
* @data: pointer to memory containing an 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 * @error: return location for #GError
* *
* This function opens an ICC color profile from memory. On error, * 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. * 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 * 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 * This function return a string containing a multi-line summary of
* @profile's description, model, manufacturer and copyright, to be * @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. * interface.
* *
* Return value: the @profile's summary. The returned value belongs to * 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: * gimp_color_profile_new_rgb_srgb_linear:
* *
* This function creates a profile for babl_model("RGB"). Please * 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. * 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: * gimp_color_profile_new_d65_gray_srgb_gray:
* *
* This function creates a profile for babl_model("Y"). Please * 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. * Return value: the linear grayscale #GimpColorProfile.
* *

View File

@ -390,7 +390,7 @@ gimp_thumbnail_new (void)
* *
* Sets the location of the image file associated with the #thumbnail. * 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 void
gimp_thumbnail_set_uri (GimpThumbnail *thumbnail, gimp_thumbnail_set_uri (GimpThumbnail *thumbnail,

View File

@ -318,7 +318,7 @@ endif
# #
# rules to generate built sources # rules to generate built sources
# #
# setup autogeneration dependancies # setup autogeneration dependencies
gen_sources = xgen-wec xgen-wmh xgen-wmc gen_sources = xgen-wec xgen-wmh xgen-wmc
CLEANFILES = $(gen_sources) CLEANFILES = $(gen_sources)

View File

@ -174,7 +174,7 @@ gimp_color_selector_dispose (GObject *object)
/** /**
* gimp_color_selector_new: * gimp_color_selector_new:
* @selector_type: The #GType of the selector to create. * @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. * @hsv: The same color in HSV.
* @channel: The selector's initial channel. * @channel: The selector's initial channel.
* *

View File

@ -30,7 +30,7 @@
* *
* It relies on external unit resolving through a callback and does * It relies on external unit resolving through a callback and does
* elementary dimensionality constraint check (e.g. "2 mm + 3 px * 4 * 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 * 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 * conversions and it's non-destructive in terms of the parameters, and
* it's reentrant. * it's reentrant.
@ -155,7 +155,7 @@ static void gimp_eevl_error (GimpEevl
* @string: The NULL-terminated string to be evaluated. * @string: The NULL-terminated string to be evaluated.
* @options: Evaluations options. * @options: Evaluations options.
* @result: Result of evaluation. * @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 * before which the parse / evaluation error
* occurred. Will be set to null of no error occurred. * occurred. Will be set to null of no error occurred.
* @error_message: Will point to a static string with a semi-descriptive * @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); 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) if (new_term.dimension != evaluated_terms.dimension)
{ {
GimpEevlQuantity default_unit_factor; GimpEevlQuantity default_unit_factor;
@ -296,7 +296,7 @@ gimp_eevl_expression (GimpEevl *eva)
} }
else else
{ {
gimp_eevl_error (eva, "Dimension missmatch during addition"); gimp_eevl_error (eva, "Dimension mismatch during addition");
} }
} }

View File

@ -253,7 +253,7 @@ gimp_enum_store_new_with_range (GType enum_type,
* @...: a list of enum values (exactly @n_values) * @...: a list of enum values (exactly @n_values)
* *
* Creates a new #GimpEnumStore like gimp_enum_store_new() but allows * 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. * store.
* *
* Return value: a new #GimpEnumStore. * Return value: a new #GimpEnumStore.

View File

@ -816,7 +816,7 @@ gimp_preview_invalidate (GimpPreview *preview)
* @cursor: a #GdkCursor or %NULL * @cursor: a #GdkCursor or %NULL
* *
* Sets the default mouse cursor for the preview. Note that this will * 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. * %GDK_WATCH when the preview is invalidated.
* *
* Since: 2.2 * Since: 2.2

View File

@ -213,7 +213,7 @@ static void gimp_prop_enum_check_button_notify (GObject *config,
* @property_name: Name of enum property controlled by checkbutton. * @property_name: Name of enum property controlled by checkbutton.
* @label: Label to give checkbutton (including mnemonic). * @label: Label to give checkbutton (including mnemonic).
* @false_value: Enum value corresponding to unchecked state. * @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 * Creates a #GtkCheckButton that displays and sets the specified
* property of type Enum. Note that this widget only allows two values * property of type Enum. Note that this widget only allows two values

View File

@ -102,7 +102,7 @@ sub generate {
} }
# Find the return argument (defaults to the first arg if not # Find the return argument (defaults to the first arg if not
# explicity set # explicitly set
my $retarg = undef; $retvoid = 0; my $retarg = undef; $retvoid = 0;
foreach (@outargs) { $retarg = $_, last if exists $_->{retval} } foreach (@outargs) { $retarg = $_, last if exists $_->{retval} }
unless ($retarg) { unless ($retarg) {

View File

@ -127,7 +127,7 @@ foreach $file (@groups) {
# Squash whitespace into just single spaces between words. # 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. # 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; 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+$//; } } s/\n(([\ \t\r\f]*\n)+)/$1/g; s/[\ \t\r\f]*\n[\ \t\r\f]/\n/g ; s/^\s+//; s/\s+$//; } }

View File

@ -350,7 +350,7 @@ blindsapply (guchar *srow,
gint available; gint available;
/* Make the row 'shrink' around points along its length */ /* 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 */ /* 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 /* 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? */ /* 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. * sr & dr arrays.
*/ */
blindsapply ((guchar *) sr, (guchar *) dr, blindsapply ((guchar *) sr, (guchar *) dr,

View File

@ -704,7 +704,7 @@ find_constants (gdouble n_p[],
gdouble constants [8]; gdouble constants [8];
gdouble div; 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 * using a 4th order approximation of the gaussian operator
*/ */

View File

@ -461,7 +461,7 @@ query (void)
"Make an image of Coupled-Map Lattice (CML). CML is " "Make an image of Coupled-Map Lattice (CML). CML is "
"a kind of Cellula Automata on continuous (value) " "a kind of Cellula Automata on continuous (value) "
"domain. In GIMP_RUN_NONINTERACTIVE, the name of a " "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.", "control CML_explorer via parameter file.",
/* Or do you want to call me with over 50 args? */ /* Or do you want to call me with over 50 args? */
"Shuji Narazaki (narazaki@InetQ.or.jp); " "Shuji Narazaki (narazaki@InetQ.or.jp); "

View File

@ -80,7 +80,7 @@ typedef struct
const gchar *babl_model; const gchar *babl_model;
const gchar *compose_type; /* Type of composition ("RGB", "RGBA",...) */ const gchar *compose_type; /* Type of composition ("RGB", "RGBA",...) */
gint num_images; /* Number of input images needed */ gint num_images; /* Number of input images needed */
/* Channel informations */ /* Channel information */
const COMPONENT_DSC components[MAX_COMPOSE_IMAGES]; const COMPONENT_DSC components[MAX_COMPOSE_IMAGES];
const gchar *filename; /* Name of new image */ const gchar *filename; /* Name of new image */

View File

@ -469,7 +469,7 @@ retinex_scales_distribution(gfloat* scales, gint nscales, gint mode, gint s)
scales[0] = (gint) s / 2; scales[0] = (gint) s / 2;
} }
else if (nscales == 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[0] = (gint) s / 2;
scales[1] = (gint) s; scales[1] = (gint) s;
} }

View File

@ -401,7 +401,7 @@ p_gimp_rotate (gint32 image_id,
GIMP_PDB_IMAGE, image_id, GIMP_PDB_IMAGE, image_id,
GIMP_PDB_DRAWABLE, drawable_id, GIMP_PDB_DRAWABLE, drawable_id,
GIMP_PDB_INT32, l_angle_step, 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); GIMP_PDB_END);
if (return_vals[0].data.d_status == GIMP_PDB_SUCCESS) 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, "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_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" }, { 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 */ /* Get the runmode from the in-parameters */
GimpRunMode run_mode = param[0].data.d_int32; 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 */ during non-interactive calling */
GimpPDBStatusType status = GIMP_PDB_SUCCESS; GimpPDBStatusType status = GIMP_PDB_SUCCESS;
@ -922,7 +922,7 @@ p_load_pointfile (BenderDialog *cd,
} }
else 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); l_len = strlen(KEY_VAL_Y);
@ -937,7 +937,7 @@ p_load_pointfile (BenderDialog *cd,
} }
else 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) gdouble current_step)
{ {
/* get y values of both upper and lower curve, /* 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 l_y1, l_y2;
gdouble delta; gdouble delta;
@ -3000,7 +3000,7 @@ p_vertical_bend (BenderDialog *cd,
(gint32)src_gdrw->drawable->height, (gdouble)l_y); (gint32)src_gdrw->drawable->height, (gdouble)l_y);
l_desty = l_y + l_topshift + l_curvy; l_desty = l_y + l_topshift + l_curvy;
/* ----------- SMOOTING ------------------ */ /* ----------- SMOOTHING ------------------ */
if (cd->smoothing && (l_x > 0)) if (cd->smoothing && (l_x > 0))
{ {
l_nb_curvy = p_curve_get_dy(cd, l_x -1, l_nb_curvy = p_curve_get_dy(cd, l_x -1,
@ -3136,7 +3136,7 @@ p_vertical_bend (BenderDialog *cd,
if (cd->smoothing) 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 alpha1 = last_arr[l_x].color[3];
gulong alpha2 = color[3]; gulong alpha2 = color[3];
gulong alpha; gulong alpha;
@ -3156,7 +3156,7 @@ p_vertical_bend (BenderDialog *cd,
} }
else else
{ {
/* smooting is off, so we are using this color or /* smoothing is off, so we are using this color or
the last color */ the last color */
if (l_dy < l_diff / 2) if (l_dy < l_diff / 2)
{ {

View File

@ -41,7 +41,7 @@
#define PLUG_IN_ROLE "gimp-decompose" #define PLUG_IN_ROLE "gimp-decompose"
/* Descrition of a component */ /* Description of a component */
typedef struct typedef struct
{ {
const gchar *babl_name; /* channel's babl_component name */ const gchar *babl_name; /* channel's babl_component name */
@ -746,14 +746,14 @@ copy_one_component (GeglBuffer *src,
GeglBuffer *temp; GeglBuffer *temp;
const GeglRectangle *extent; 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), component_format = babl_format_new (babl_model (model),
babl_type ("double"), babl_type ("double"),
babl_component (component.babl_name), babl_component (component.babl_name),
NULL); NULL);
/* We need to enforce linearity here /* 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. * If the output is "Y" , it will enforce gamma-decoding.
* A bit tricky and suboptimal... * A bit tricky and suboptimal...
*/ */

View File

@ -71,8 +71,8 @@ typedef struct
} DespeckleHistogram; } DespeckleHistogram;
/* Number of pixels in actual histogram falling into each category */ /* Number of pixels in actual histogram falling into each category */
static gint hist0; /* Less than min treshold */ static gint hist0; /* Less than min threshold */
static gint hist255; /* More than max treshold */ static gint hist255; /* More than max threshold */
static gint histrest; /* From min to max */ static gint histrest; /* From min to max */
static DespeckleHistogram histogram; static DespeckleHistogram histogram;
@ -376,7 +376,7 @@ pixel_copy (guchar *dest,
* target pixel, sorts them, and uses the median value. This code uses a * target pixel, sorts them, and uses the median value. This code uses a
* circular row buffer to improve performance. * 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 * of the region around the target pixel and adjusts the despeckle diameter
* accordingly. * accordingly.
*/ */

View File

@ -327,7 +327,7 @@ load_image (const gchar *file,
file_mark, /* KiSS file type */ file_mark, /* KiSS file type */
bpp; /* Bits per pixel */ bpp; /* Bits per pixel */
gint height, width, /* Dimensions of image */ gint height, width, /* Dimensions of image */
offx, offy, /* Layer offets */ offx, offy, /* Layer offsets */
colors; /* Number of colors */ colors; /* Number of colors */
gint32 image, /* Image */ gint32 image, /* Image */

View File

@ -411,7 +411,7 @@ load_image (const gchar *filename,
&& !(value_rep[0] == ' ' && value_rep[1])) && !(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... */ support this option... */
gchar element_length_chars[4]; gchar element_length_chars[4];

View File

@ -1013,7 +1013,7 @@ open_dialog (const gchar *filename,
if (gimp_dialog_run (GIMP_DIALOG (dialog)) != GTK_RESPONSE_OK) if (gimp_dialog_run (GIMP_DIALOG (dialog)) != GTK_RESPONSE_OK)
{ {
/* Do not set an error here. The import was simply canceled. /* Do not set an error here. The import was simply canceled.
* No error occured. */ * No error occurred. */
color_space = OPJ_CLRSPC_UNKNOWN; color_space = OPJ_CLRSPC_UNKNOWN;
} }
} }

View File

@ -1426,7 +1426,7 @@ get_layer_color (gint32 layer_ID,
if (gimp_drawable_is_indexed (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; *single = FALSE;
col. r = col.g = col.b = col.a = 0; col. r = col.g = col.b = col.a = 0;
return col; return col;

View File

@ -48,7 +48,7 @@
* Add "RunLength" compression * Add "RunLength" compression
* Fix problem with "Level 2" toggle * Fix problem with "Level 2" toggle
* V 1.10, PK, 15-Mar-2000: For load EPSF, allow negative Bounding Box Values * 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 * to prevent problems with stupid PostScript
* analyzer programs (Stanislav Brabec) * analyzer programs (Stanislav Brabec)
* Add BeginData/EndData comments * Add BeginData/EndData comments
@ -127,8 +127,8 @@ static PSLoadVals plvals =
TRUE, /* try to use BoundingBox */ TRUE, /* try to use BoundingBox */
"1", /* pages to load */ "1", /* pages to load */
6, /* use ppm (color) */ 6, /* use ppm (color) */
1, /* dont use text antialiasing */ 1, /* don't use text antialiasing */
1 /* dont use graphics antialiasing */ 1 /* don't use graphics antialiasing */
}; };
/* Widgets for width and height of PostScript image to /* Widgets for width and height of PostScript image to
@ -1815,7 +1815,7 @@ read_pnmraw_type (FILE *ifp,
thrd = getc (ifp); thrd = getc (ifp);
} }
pnmtype = scnd - '0'; pnmtype = scnd - '0';
/* We dont use the ASCII-versions */ /* We don't use the ASCII-versions */
if ((pnmtype >= 1) && (pnmtype <= 3)) if ((pnmtype >= 1) && (pnmtype <= 3))
return -1; return -1;

View File

@ -508,7 +508,7 @@ run (const gchar *name,
switch (sample_spacing) switch (sample_spacing)
{ {
case 0: case 0:
/* Auto-detection already occured. Let's just check if /* Auto-detection already occurred. Let's just check if
*it was successful. *it was successful.
*/ */
if (runtime->image_width != 1201 && if (runtime->image_width != 1201 &&

View File

@ -171,7 +171,7 @@ static FilmVals filmvals =
{ 0.93, 0.61, 0.0, 1.0 }, /* Color of number */ { 0.93, 0.61, 0.0, 1.0 }, /* Color of number */
"Monospace", /* Font family for numbering */ "Monospace", /* Font family for numbering */
{ TRUE, TRUE }, /* Numbering on top and bottom */ { 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, /* Number of images */
{ 0 } /* Input image list */ { 0 } /* Input image list */
}; };
@ -628,7 +628,7 @@ draw_hole_rgb (GimpDrawable *drw,
return; return;
if ((x+width <= 0) || (x >= d_width)) if ((x+width <= 0) || (x >= d_width))
return; 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) if ((x+length) >= d_width)
length = d_width-x; length = d_width-x;
@ -682,7 +682,7 @@ draw_number (gint32 layer_ID,
if (max_delta < 1) if (max_delta < 1)
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++) for (k = 0; k < max_delta * 2 + 1; k++)
{ {
/* Try different font sizes if inquire of extent failed */ /* Try different font sizes if inquire of extent failed */

View File

@ -126,7 +126,7 @@ run (const gchar *name,
{ {
case GIMP_RUN_INTERACTIVE: case GIMP_RUN_INTERACTIVE:
gimp_get_data (PLUG_IN_PROC, &pvals); 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)) if (!gimp_drawable_is_rgb (drawable->drawable_id))
{ {
g_message (_("Can only operate on RGB drawables.")); g_message (_("Can only operate on RGB drawables."));

View File

@ -732,7 +732,7 @@ find_constants (gdouble n_p[],
gdouble constants [8]; gdouble constants [8];
gdouble div; 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 * using a 4th order approximation of the gaussian operator
*/ */

View File

@ -97,10 +97,10 @@ typedef struct
gint32 lvl_out_max; /* 1 up to 255 */ gint32 lvl_out_max; /* 1 up to 255 */
float tol_col_err; /* 0.0% up to 100.0% 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, * colortone, while analyzing sample colors,
* It does not make much sense for the user to adjust this * 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; } t_values;
@ -175,7 +175,7 @@ typedef struct
* Some globals * 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_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 t_samp_table_elem g_lum_tab[256];
static guchar g_lvl_trans_tab[256]; static guchar g_lvl_trans_tab[256];
@ -555,7 +555,7 @@ smp_constrain (gint32 image_id,
if (image_id < 0) if (image_id < 0)
return FALSE; return FALSE;
/* dont accept layers from indexed images */ /* don't accept layers from indexed images */
if (gimp_drawable_is_indexed (drawable_id)) if (gimp_drawable_is_indexed (drawable_id))
return FALSE; return FALSE;
@ -2756,7 +2756,7 @@ sample_analyze (t_GDRW *sample_gdrw)
if (g_Sdebug) if (g_Sdebug)
print_ppm ("sample_color_all.ppm"); 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. * and set g_sample_color_tab to the ideal colors.
*/ */
ideal_samples (); ideal_samples ();

View File

@ -523,7 +523,7 @@ find_constants (gdouble n_p[],
gdouble constants [8]; gdouble constants [8];
gdouble div; 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 * using a 4th order approximation of the gaussian operator
*/ */

View File

@ -3130,7 +3130,7 @@ run (const gchar *name,
break; break;
case GIMP_RUN_NONINTERACTIVE: case GIMP_RUN_NONINTERACTIVE:
default: default:
/* Not implementet yet... */ /* Not implemented yet... */
gimp_drawable_detach (drawable); gimp_drawable_detach (drawable);
return; return;
} }

View File

@ -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 static void
do_tiles_preview (guchar *dest_row, do_tiles_preview (guchar *dest_row,
guchar *src_rows, guchar *src_rows,

View File

@ -243,7 +243,7 @@ run (const gchar *name,
} }
/* This function is written as if it is blurring a row of pixels, /* 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. * in the processing of the lines, at least to the blur_line function.
*/ */
static void static void
@ -715,7 +715,7 @@ unsharp_region (GimpPixelRgn *srcPR,
gint value; gint value;
gint diff = *s - *d; gint diff = *s - *d;
/* do tresholding */ /* do thresholding */
if (abs (2 * diff) < threshold) if (abs (2 * diff) < threshold)
diff = 0; diff = 0;
@ -940,7 +940,7 @@ preview_update (GimpPreview *preview,
gimp_preview_get_position (preview, &x, &y); gimp_preview_get_position (preview, &x, &y);
gimp_preview_get_size (preview, &width, &height); 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; border = 2.0 * unsharp_params.radius + 0.5;
x1 = MAX (0, x - border); x1 = MAX (0, x - border);
y1 = MAX (0, y - border); y1 = MAX (0, y - border);

View File

@ -413,7 +413,7 @@ fits_nan_32 (guchar *v)
register gulong k; register gulong k;
k = (v[0] << 24) | (v[1] << 16) | (v[2] << 8) | v[3]; 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), */ /* See NOST Definition of the Flexible Image Transport System (FITS), */
/* Appendix F, IEEE special formats. */ /* Appendix F, IEEE special formats. */
@ -445,7 +445,7 @@ fits_nan_64 (guchar *v)
register gulong k; register gulong k;
k = (v[0] << 24) | (v[1] << 16) | (v[2] << 8) | v[3]; 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), */ /* See NOST Definition of the Flexible Image Transport System (FITS), */
/* Appendix F, IEEE special formats. */ /* 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. */ /* 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) if (hdulist->naxis < 2)
hdulist->naxisn[1] = 1; hdulist->naxisn[1] = 1;

View File

@ -115,7 +115,7 @@ static FITSLoadVals plvals =
{ {
0, /* Replace with black */ 0, /* Replace with black */
0, /* Do autoscale on pixel-values */ 0, /* Do autoscale on pixel-values */
0 /* Dont compose images */ 0 /* Don't compose images */
}; };
const GimpPlugInInfo PLUG_IN_INFO = const GimpPlugInInfo PLUG_IN_INFO =

View File

@ -49,7 +49,7 @@ typedef struct
static const gchar * get_enum_value_nick (GType type, static const gchar * get_enum_value_nick (GType type,
gint value); gint value);
/* Local varaibles */ /* Local variables */
/* mapping table between Photoshop and GIMP modes. in case a mode matches more /* mapping table between Photoshop and GIMP modes. in case a mode matches more
* than one entry (in either direction), the first entry wins. * than one entry (in either direction), the first entry wins.

View File

@ -1293,7 +1293,7 @@ load_paths (TIFF *tif,
case 4: /* open subpath bezier knot, linked */ case 4: /* open subpath bezier knot, linked */
case 5: /* open subpath bezier knot, unlinked */ case 5: /* open subpath bezier knot, unlinked */
/* since we already know if the subpath is open /* 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... */ * linked and unlinked, just treat all the same... */
if (pointcount < expected_points) if (pointcount < expected_points)

View File

@ -718,7 +718,7 @@ save_image (GFile *file,
#endif #endif
} }
/* The TIFF spec explicitely says ASCII for the image description. */ /* The TIFF spec explicitly says ASCII for the image description. */
if (image_comment) if (image_comment)
{ {
const gchar *c = image_comment; const gchar *c = image_comment;

View File

@ -521,7 +521,7 @@ save_animation (const gchar *filename,
if (! WebPAnimEncoderOptionsInit (&enc_options)) if (! WebPAnimEncoderOptionsInit (&enc_options))
{ {
g_printerr ("ERROR: verion mismatch\n"); g_printerr ("ERROR: version mismatch\n");
status = FALSE; status = FALSE;
break; break;
} }

View File

@ -1096,7 +1096,7 @@ double random_uniform11 (void)
} }
/* returns a mean 0 variance 1 random variable /* returns a mean 0 variance 1 random variable
see numerical recipies p 217 */ see numerical recipes p 217 */
double random_gaussian(void) double random_gaussian(void)
{ {
static int iset = 0; static int iset = 0;

View File

@ -578,7 +578,7 @@ gfig_style_copy (Style *style1,
if (name) if (name)
style1->name = g_strdup (name); style1->name = g_strdup (name);
else 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) if (gfig_context->debug_styles)
g_printerr ("Copying style %s as style %s\n", style0->name, name); g_printerr ("Copying style %s as style %s\n", style0->name, name);

View File

@ -266,7 +266,7 @@ typedef struct
* well, radius and lengths are actual length for CalcParams where * well, radius and lengths are actual length for CalcParams where
* they are typically 0 to 100 for GFlares, and angles are G_PI based * 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. * (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. * 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 * the sflare (second flares) are needed to be rendered one each
* sequentially, onto the source image, such as like usual layer * sequentially, onto the source image, such as like usual layer
* operations. So the function takes src_pix as argment. glow, rays * operations. So the function takes src_pix as argument. glow, rays
* routines don't have src_pix as argment, because of convienience. * routines don't have src_pix as argument, because of convenience.
* *
* @JAPANESE * @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 * sflare $B$OJ#?t$N%U%l%"$r=g$K(B($B%l%$%dE*$K(B)$B$+$V$;$J$,$iIA2h$9$kI,MW$,(B

View File

@ -626,7 +626,7 @@ aff_element_compute_click_boundary (AffElement *elem,
cth = cos (theta); cth = cos (theta);
/* compute the minimum rectangle at angle theta that bounds the points, /* 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; axis1max = axis1min = 0.0;
axis2max = axis2min = 0.0; axis2max = axis2min = 0.0;

View File

@ -524,7 +524,7 @@ metadata_editor_dialog (gint32 image_id,
if (! gtk_builder_add_from_file (builder, ui_file, &error)) 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_printerr ("Message: %s\n", error->message);
g_clear_error (&error); g_clear_error (&error);
if (ui_file) if (ui_file)
@ -729,7 +729,7 @@ on_date_button_clicked (GtkButton *widget,
if (! gtk_builder_add_from_file (builder, ui_file, &error)) 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) if (error != NULL)
{ {
g_printerr ("Message: %s\n", error->message); 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; gint store_index;
gchar arr[256][256]; gchar arr[256][256];
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {
@ -2534,7 +2534,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
int store_index; int store_index;
gchar arr[256][256]; gchar arr[256][256];
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {
@ -2618,7 +2618,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
int store_index; int store_index;
gchar arr[256][256]; gchar arr[256][256];
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {
@ -2711,7 +2711,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
int store_index; int store_index;
gchar arr[256][256]; gchar arr[256][256];
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {
@ -4025,7 +4025,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
gchar arr[256][256]; gchar arr[256][256];
gint item; gint item;
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {
@ -4094,7 +4094,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
gchar arr[256][256]; gchar arr[256][256];
gint item; gint item;
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {
@ -4163,7 +4163,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
gchar arr[256][256]; gchar arr[256][256];
gint item; gint item;
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {
@ -4232,7 +4232,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
gchar arr[256][256]; gchar arr[256][256];
gint item; gint item;
/* seperate list on commas */ /* separate list on commas */
store_index = 0; store_index = 0;
if (value) if (value)
{ {

View File

@ -206,7 +206,7 @@ metadata_viewer_dialog (gint32 image_id,
if (! gtk_builder_add_from_file (builder, ui_file, &error)) 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_printerr ("Message: %s\n", error->message);
g_clear_error (&error); g_clear_error (&error);
g_free (ui_file); g_free (ui_file);

View File

@ -90,7 +90,7 @@ print_settings_save (PrintData *data)
"unit", data->unit); "unit", data->unit);
/* Do not save the print resolution when it is the expected image /* Do not save the print resolution when it is the expected image
* resolution so that changing it (i.e. in "print size" dialog) * 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) || if ((data->min_xres <= xres && ABS (xres - data->xres) > 0.1) ||
(data->min_yres <= yres && ABS (yres - data->yres) > 0.1) || (data->min_yres <= yres && ABS (yres - data->yres) > 0.1) ||

View File

@ -250,7 +250,7 @@
1999-06-22 James Henstridge <james@daa.com.au> 1999-06-22 James Henstridge <james@daa.com.au>
* gimpplugin.py: renamed from plugin.py. This is mainly to reduce * 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 * getvals.py: removed file. It has been replaced by the much more
functional gimpfu module. functional gimpfu module.

View File

@ -1267,7 +1267,7 @@ CLASS="FUNCTION"
while keeping the plugin connection open. This is used by while keeping the plugin connection open. This is used by
an extension plugin to tell gimp it can continue, while an extension plugin to tell gimp it can continue, while
leaving the plugin connection open. This is what the 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.</P is needed.</P
></DD ></DD
><DT ><DT

View File

@ -2793,7 +2793,7 @@ NAME="PREGION-OBJECT-MAPPING"
2-tuple with components that are either integers or slices. 2-tuple with components that are either integers or slices.
The subscripts may be read and assigned to. The type of the The subscripts may be read and assigned to. The type of the
subscripts is a string containing the binary data 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:</P operations:</P
><P ><P
></P ></P

View File

@ -298,7 +298,7 @@ NAME="MORE-INFORMATION"
>For more information on invoking PDB procedures, please >For more information on invoking PDB procedures, please
see the example plugins. For information on individual see the example plugins. For information on individual
procedures, please see the PDB Browser plugin (in the Xtns 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.</P interactively.</P
></DIV ></DIV
></DIV ></DIV

View File

@ -1099,7 +1099,7 @@ NAME="MORE-INFORMATION"
>For more information on invoking PDB procedures, please >For more information on invoking PDB procedures, please
see the example plugins. For information on individual see the example plugins. For information on individual
procedures, please see the PDB Browser plugin (in the Xtns 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.</P interactively.</P
></DIV ></DIV
></DIV ></DIV
@ -2231,7 +2231,7 @@ CLASS="FUNCTION"
while keeping the plugin connection open. This is used by while keeping the plugin connection open. This is used by
an extension plugin to tell gimp it can continue, while an extension plugin to tell gimp it can continue, while
leaving the plugin connection open. This is what the 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.</P is needed.</P
></DD ></DD
><DT ><DT
@ -5090,7 +5090,7 @@ NAME="PREGION-OBJECT-MAPPING"
2-tuple with components that are either integers or slices. 2-tuple with components that are either integers or slices.
The subscripts may be read and assigned to. The type of the The subscripts may be read and assigned to. The type of the
subscripts is a string containing the binary data 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:</P operations:</P
><P ><P
></P ></P

View File

@ -476,7 +476,7 @@ pdb.query(name, [blurb, [help, [author, [copyright, [date, [type]]]]]])
<Para>For more information on invoking PDB procedures, please <Para>For more information on invoking PDB procedures, please
see the example plugins. For information on individual see the example plugins. For information on individual
procedures, please see the PDB Browser plugin (in the Xtns 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.</Para> interactively.</Para>
</Sect2> </Sect2>
@ -912,7 +912,7 @@ pdb.query(name, [blurb, [help, [author, [copyright, [date, [type]]]]]])
while keeping the plugin connection open. This is used by while keeping the plugin connection open. This is used by
an extension plugin to tell gimp it can continue, while an extension plugin to tell gimp it can continue, while
leaving the plugin connection open. This is what the 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.</Para> is needed.</Para>
</listitem> </listitem>
</VarListEntry> </VarListEntry>
@ -1954,7 +1954,7 @@ pdb.query(name, [blurb, [help, [author, [copyright, [date, [type]]]]]])
2-tuple with components that are either integers or slices. 2-tuple with components that are either integers or slices.
The subscripts may be read and assigned to. The type of the The subscripts may be read and assigned to. The type of the
subscripts is a string containing the binary data 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:</Para> operations:</Para>
<VariableList> <VariableList>
@ -2134,7 +2134,7 @@ main()
<ListItem> <ListItem>
<Para>The registered procedure name (first parameter of the <Para>The registered procedure name (first parameter of the
<Literal>register()</Literal> function) is mangled: all underscores <Literal>register()</Literal> 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, <Literal>console_echo</Literal> becomes style (here, <Literal>console_echo</Literal> becomes
<Literal>console-echo</Literal>). Moreover, a <Literal>console-echo</Literal>). Moreover, a
<Literal>python-fu-</Literal> prefix is automatically added; it is <Literal>python-fu-</Literal> prefix is automatically added; it is

View File

@ -312,7 +312,7 @@ register(
N_("Sort the colors in a palette"), N_("Sort the colors in a palette"),
# FIXME: Write humanly readable help - # FIXME: Write humanly readable help -
# (I can't figure out what the plugin does, or how to use the parameters after # (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) ) # let alone someone just using GIMP (JS) )
dedent("""\ dedent("""\
palette_sort (palette, selection, slice_expr, channel, palette_sort (palette, selection, slice_expr, channel,

View File

@ -84,7 +84,7 @@ implemented calls.
You should copy these applications to the directory where You should copy these applications to the directory where
TinyScheme is installed (i.e., where the "scheme" binary 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 listhome.scm
./scheme smtp.scm ./scheme smtp.scm

View File

@ -90,7 +90,7 @@ portable to different operating systems.
Returns the current local time, as a list of integer Returns the current local time, as a list of integer
containing: containing:
(year month day-of-month hour min sec millisec) (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) (gettimeofday)
Returns a list containing the number of seconds from Returns a list containing the number of seconds from

View File

@ -26,7 +26,7 @@
; If there is a selection, it is bevelled. ; If there is a selection, it is bevelled.
; Otherwise if there is an alpha channel, the selection is taken from it ; Otherwise if there is an alpha channel, the selection is taken from it
; and bevelled. ; 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 ; 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 ; leave a cut-out. Then use Sven's add-shadow for that

View File

@ -106,7 +106,7 @@
; Export utils ; 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 #\\ #\/ #\: #\* #\? #\" #\< #\> #\|)) (define illegal-file-name-chars (list #\\ #\/ #\: #\* #\? #\" #\< #\> #\|))
; A function to filter a list lst by a given predicate pred ; A function to filter a list lst by a given predicate pred

View File

@ -117,7 +117,7 @@
; The strategy is to generate a random number digit by digit. ; The strategy is to generate a random number digit by digit.
; Here's an example in base 10. Say the input n is 348 ; Here's an example in base 10. Say the input n is 348
; (thus requesting a number between 0 and 347). Then the algorithm ; (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 ; 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, ; 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 ; it's discarded and the process restarted. When the result is

View File

@ -15,10 +15,10 @@ Version 1.41
#2866196 - Parser does not handle delimiters correctly #2866196 - Parser does not handle delimiters correctly
#3395548 - Add a decimal point to inexact numbers in atom2str (DC) #3395548 - Add a decimal point to inexact numbers in atom2str (DC)
#3399331 - Make min/max return inexact when any argument is inexact #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) #3399335 - Optional radix for string->number and number->string (DC)
#3400202 - Append with one argument should not return a list (DC) #3400202 - Append with one argument should not return a list (DC)
#3400284 - Compatability fix for integer? #3400284 - Compatibility fix for integer?
Other changes: Other changes:
- Added flags to makefile for MinGW/MSYS (TC) - Added flags to makefile for MinGW/MSYS (TC)

View File

@ -86,7 +86,7 @@ Please read accompanying file COPYING.
Directives Directives
(gc) (gc)
Performs garbage collection immediatelly. Performs garbage collection immediately.
(gcverbose) (gcverbose <bool>) (gcverbose) (gcverbose <bool>)
The argument (defaulting to #t) controls whether GC produces The argument (defaulting to #t) controls whether GC produces

View File

@ -57,7 +57,7 @@ X T_LAST_SYSTEM_TYPE=14
length. If we couln't reuse existing fields, we could always add other length. If we couln't reuse existing fields, we could always add other
alternatives in union _object. 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 For conformance reasons, we name it mk_memblock
> static pointer mk_memblock(scheme *sc, int len, char fill) { > 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 virtual machine underlying TinyScheme. Since version 1.30, TinyScheme
uses macros and a single source text to keep the enums and the 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 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 all the information; adjust your editor to handle this. The file has
six columns: A to Z. they contain: six columns: A to Z. they contain:
- Column A is the name of a routine to handle the scheme function. - Column A is the name of a routine to handle the scheme function.

View File

@ -1604,7 +1604,7 @@ static gunichar basic_inchar(port *pt) {
/* Is this byte an invalid lead per RFC-3629? */ /* Is this byte an invalid lead per RFC-3629? */
if (c < 0xc2 || c > 0xf4) 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); c = fgetc(pt->rep.stdio.file);
} }
else /* Byte is valid lead */ else /* Byte is valid lead */

View File

@ -21,7 +21,7 @@ Kathryn Hargreaves letters@cs.umb.edu
Please see fontutils-0.6 package for more details. I have included the Please see fontutils-0.6 package for more details. I have included the
README from the limn part of the package. 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. 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 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" 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. 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. You have been warned.
Have fun! Have fun!

View File

@ -47,7 +47,7 @@ typedef struct
Each pixel is a single byte, even for binary fonts. */ Each pixel is a single byte, even for binary fonts. */
#define BITMAP_BITS(b) ((b).bitmap) #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_WIDTH(b) DIMENSIONS_WIDTH (BITMAP_DIMENSIONS (b))
#define BITMAP_HEIGHT(b) DIMENSIONS_HEIGHT (BITMAP_DIMENSIONS (b)) #define BITMAP_HEIGHT(b) DIMENSIONS_HEIGHT (BITMAP_DIMENSIONS (b))

View File

@ -164,7 +164,7 @@ sub usage {
print STDERR " --dtail <text> description tail, produced after iterating over enum value descriptions\n"; print STDERR " --dtail <text> description tail, produced after iterating over enum value descriptions\n";
print STDERR " --comments <text> comment structure\n"; print STDERR " --comments <text> comment structure\n";
print STDERR " -h, --help show this help message\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 "Production text substitutions:\n";
print STDERR " \@EnumName\@ PrefixTheXEnum\n"; print STDERR " \@EnumName\@ PrefixTheXEnum\n";
print STDERR " \@enum_name\@ prefix_the_xenum\n"; print STDERR " \@enum_name\@ prefix_the_xenum\n";