Skip to content

Commit

Permalink
huge spelling update and spell checking patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Cook committed Apr 12, 2010
1 parent 7468f3f commit 5715f7c
Show file tree
Hide file tree
Showing 62 changed files with 1,641 additions and 1,488 deletions.
6 changes: 4 additions & 2 deletions Changes
Expand Up @@ -9,8 +9,10 @@ Bug fixes:
aborting on failing to call i_readgif_multi_wiol() or
i_readtiff_multi_wiol().

- fix spelling errors patched by Debian (please report the issues you
patch)
- fix spelling errors patched by Debian
http://svn.debian.org/viewsvn/pkg-perl/trunk/libimager-perl/debian/patches/spelling.patch?revision=54839&view=markup

- add an (unshipped) author test to spellcheck Imager's POD.

Imager 0.73 - 15 Mar 2010
===========
Expand Down
4 changes: 2 additions & 2 deletions Flines/Flines.pm
Expand Up @@ -4,7 +4,7 @@ use Imager;
use vars qw($VERSION @ISA);

BEGIN {
$VERSION = "0.01";
$VERSION = "0.02";

eval {
require XSLoader;
Expand Down Expand Up @@ -39,7 +39,7 @@ Imager::Filter::Flines - dim alternate lines to emulate a video display
=head1 DESCRIPTION
This is an adaption of the flines dynamically loadable filter
This is an adaption of the C<flines> dynamically loadable filter
provided in dynfilt/ in previous releases of Imager.
This filter has no parameters.
Expand Down
37 changes: 23 additions & 14 deletions Imager.pm
Expand Up @@ -4038,7 +4038,7 @@ C<transform()>, C<transform2()> and C<matrix_transform()>.
=item *
L<Imager::Filters> - Filters, sharpen, blur, noise, convolve etc. and
filter plugins.
filter plug-ins.
=item *
Expand Down Expand Up @@ -4091,11 +4091,11 @@ This example creates a completely black image of width 400 and height
=head1 ERROR HANDLING
In general a method will return false when it fails, if it does use
the errstr() method to find out why:
the C<errstr()> method to find out why:
=over
=item errstr
=item C<errstr>
Returns the last error message in that context.
Expand Down Expand Up @@ -4158,7 +4158,7 @@ image
crop() - L<Imager::Transformations/crop> - extract part of an image
def_guess_type() - L<Imager::Files/def_guess_type> - default function
used to guess the output file format based on the output filename
used to guess the output file format based on the output file name
deltag() - L<Imager::ImageTypes/deltag> - delete image tags
Expand Down Expand Up @@ -4203,10 +4203,10 @@ getpixel() - L<Imager::Draw/getpixel> - retrieve one or more pixel
colors
getsamples() - L<Imager::Draw/getsamples> - retrieve samples from a
row or subrow of pixels.
row or partial row of pixels.
getscanline() - L<Imager::Draw/getscanline> - retrieve colors for a
row or subrow of pixels.
row or partial row of pixels.
getwidth() - L<Imager::ImageTypes/getwidth> - width of the image in
pixels.
Expand All @@ -4217,8 +4217,8 @@ for a new image.
init() - L<Imager::ImageTypes/init>
is_bilevel() - L<Imager::ImageTypes/is_bilevel> - returns whether
image write functions should write the image in their bi-level (blank
and white, no grey levels) format
image write functions should write the image in their bilevel (blank
and white, no gray levels) format
line() - L<Imager::Draw/line> - draw an interval
Expand Down Expand Up @@ -4249,6 +4249,8 @@ NF() - L<Imager::Handy/NF>
open() - L<Imager::Files> - an alias for read()
=for stopwords IPTC
parseiptc() - L<Imager::Files/parseiptc> - parse IPTC data from a JPEG
image
Expand Down Expand Up @@ -4407,7 +4409,7 @@ gradient fill - L<Imager::Fill/"Fountain fills">,
L<Imager::Filters/fountain>, L<Imager::Fountain>,
L<Imager::Filters/gradgen>
grayscale, convert image to - L<Imager::Transformations/convert>
gray scale, convert image to - L<Imager::Transformations/convert>
guassian blur - L<Imager::Filters/guassian>
Expand Down Expand Up @@ -4442,11 +4444,13 @@ L<Imager::Transformations/rubthrough>
pseudo-color image - L<Imager::ImageTypes/to_paletted>,
L<Imager::ImageTypes/new>
=for stopwords posterize
posterize - L<Imager::Filters/postlevels>
png files - L<Imager::Files>, L<Imager::Files/"PNG">
PNG files - L<Imager::Files>, L<Imager::Files/"PNG">
pnm - L<Imager::Files/"PNM (Portable aNy Map)">
PNM - L<Imager::Files/"PNM (Portable aNy Map)">
rectangles, drawing - L<Imager::Draw/box>
Expand Down Expand Up @@ -4479,6 +4483,8 @@ text, measuring - L<Imager::Font/bounding_box>, L<Imager::Font::BBox>
tiles, color - L<Imager::Filters/mosaic>
=for stopwords unsharp
unsharp mask - L<Imager::Filters/unsharpmask>
watermark - L<Imager::Filters/watermark>
Expand Down Expand Up @@ -4550,11 +4556,14 @@ at CPAN Ratings:
http://cpanratings.perl.org/dist/Imager
This requires a Bitcard Account (http://www.bitcard.org).
=for stopwords Bitcard
This requires a Bitcard account (http://www.bitcard.org).
You can also send email to the maintainer below.
If you send me a bug report via email, it will be copied to RT.
If you send me a bug report via email, it will be copied to Request
Tracker.
=head2 Patches
Expand All @@ -4571,7 +4580,7 @@ Tony Cook <tony@imager.perl.org> is the current maintainer for Imager.
Arnar M. Hrafnkelsson is the original author of Imager.
Many others have contributed to Imager, please see the README for a
Many others have contributed to Imager, please see the C<README> for a
complete list.
=head1 SEE ALSO
Expand Down
14 changes: 7 additions & 7 deletions Mandelbrot/Mandelbrot.pm
Expand Up @@ -4,7 +4,7 @@ use Imager;
use vars qw($VERSION @ISA);

BEGIN {
$VERSION = "0.01";
$VERSION = "0.02";

eval {
require XSLoader;
Expand Down Expand Up @@ -56,25 +56,25 @@ Imager::Filter::Mandelbrot - filter that renders the Mandelbrot set.
=head1 DESCRIPTION
This is a expansion of the mandelbrot dynamically loadable filter
provided in dynfilt in previous releases of Imager.
This is a expansion of the C<mandelbrot> dynamically loadable filter
provided in C<dynfilt> in previous releases of Imager.
Valid filter parameters are:
=over
=item *
minx, maxx - the range of x values to render. Defaults: -2.5, 1.5.
C<minx>, C<maxx> - the range of x values to render. Defaults: -2.5, 1.5.
=item *
miny, maxy - the range of y values to render. Defaults: -1.5, 1.5
C<miny>, C<maxy> - the range of y values to render. Defaults: -1.5, 1.5
=item *
maxiter - the maximum number of iterations to perform when checking if
the sequence tend towards infinity.
C<maxiter> - the maximum number of iterations to perform when checking
if the sequence tend towards infinity.
=back
Expand Down
68 changes: 35 additions & 33 deletions draw.c
Expand Up @@ -346,7 +346,7 @@ arc_poly(int *count, double **xvals, double **yvals,
=category Drawing
=synopsis i_arc_aa(im, 50, 50, 35, 90, 135, &color);
Antialias fills an arc centered at (x,y) with radius I<rad> covering
Anti-alias fills an arc centered at (x,y) with radius I<rad> covering
the range of angles in degrees from d1 to d2, with the color.
=cut
Expand All @@ -372,7 +372,7 @@ i_arc_aa(i_img *im, double x, double y, double rad, double d1, double d2,
=category Drawing
=synopsis i_arc_aa_cfill(im, 50, 50, 35, 90, 135, fill);
Antialias fills an arc centered at (x,y) with radius I<rad> covering
Anti-alias fills an arc centered at (x,y) with radius I<rad> covering
the range of angles in degrees from d1 to d2, with the fill object.
=cut
Expand Down Expand Up @@ -478,7 +478,7 @@ i_pixel_coverage(i_mmarray *dot, int x, int y) {
=category Drawing
=synopsis i_circle_aa(im, 50, 50, 45, &color);
Antialias fills a circle centered at (x,y) for radius I<rad> with
Anti-alias fills a circle centered at (x,y) for radius I<rad> with
color.
=cut
Expand Down Expand Up @@ -1118,19 +1118,21 @@ i_box_cfill(i_img *im,int x1,int y1,int x2,int y2,i_fill_t *fill) {
}

/*
=item i_line(im, x1, y1, x2, y2, val, endp)
=item i_line(C<im>, C<x1>, C<y1>, C<x2>, C<y2>, C<color>, C<endp>)
=category Drawing
Draw a line to image using bresenhams linedrawing algorithm
=for stopwords Bresenham's
im - image to draw to
x1 - starting x coordinate
y1 - starting x coordinate
x2 - starting x coordinate
y2 - starting x coordinate
val - color to write to image
endp - endpoint flag (boolean)
Draw a line to image using Bresenham's line drawing algorithm
im - image to draw to
x1 - starting x coordinate
y1 - starting x coordinate
x2 - starting x coordinate
y2 - starting x coordinate
color - color to write to image
endp - endpoint flag (boolean)
=cut
*/
Expand Down Expand Up @@ -1238,13 +1240,13 @@ i_line_dda(i_img *im, int x1, int y1, int x2, int y2, i_color *val) {
}

/*
=item i_line_aa(im, x1, x2, y1, y2, color, endp)
=item i_line_aa(C<im>, C<x1>, C<x2>, C<y1>, C<y2>, C<color>, C<endp>)
=category Drawing
Antialias draws a line from (x1,y1) to (x2, y2) in color.
Anti-alias draws a line from (x1,y1) to (x2, y2) in color.
The point (x2, y2) is drawn only if endp is set.
The point (x2, y2) is drawn only if C<endp> is set.
=cut
*/
Expand Down Expand Up @@ -1687,15 +1689,15 @@ i_flood_fill_low(i_img *im,int seedx,int seedy,
}

/*
=item i_flood_fill(im, seedx, seedy, color)
=item i_flood_fill(C<im>, C<seedx>, C<seedy>, C<color>)
=category Drawing
=synopsis i_flood_fill(im, 50, 50, &color);
Flood fills the 4-connected region starting from the point (seedx,
seedy) with I<color>.
Flood fills the 4-connected region starting from the point (C<seedx>,
C<seedy>) with I<color>.
Returns false if (seedx, seedy) are outside the image.
Returns false if (C<seedx>, C<seedy>) are outside the image.
=cut
*/
Expand Down Expand Up @@ -1729,15 +1731,15 @@ i_flood_fill(i_img *im, int seedx, int seedy, const i_color *dcol) {
}

/*
=item i_flood_cfill(im, seedx, seedy, fill)
=item i_flood_cfill(C<im>, C<seedx>, C<seedy>, C<fill>)
=category Drawing
=synopsis i_flood_cfill(im, 50, 50, fill);
Flood fills the 4-connected region starting from the point (seedx,
seedy) with I<fill>.
Flood fills the 4-connected region starting from the point (C<seedx>,
C<seedy>) with C<fill>.
Returns false if (seedx, seedy) are outside the image.
Returns false if (C<seedx>, C<seedy>) are outside the image.
=cut
*/
Expand Down Expand Up @@ -1769,16 +1771,16 @@ i_flood_cfill(i_img *im, int seedx, int seedy, i_fill_t *fill) {
}

/*
=item i_flood_fill_border(im, seedx, seedy, color, border)
=item i_flood_fill_border(C<im>, C<seedx>, C<seedy>, C<color>, C<border>)
=category Drawing
=synopsis i_flood_fill_border(im, 50, 50, &color, &border);
Flood fills the 4-connected region starting from the point (seedx,
seedy) with I<color>, fill stops when the fill reaches a pixels with
color I<border>.
Flood fills the 4-connected region starting from the point (C<seedx>,
C<seedy>) with C<color>, fill stops when the fill reaches a pixels
with color C<border>.
Returns false if (seedx, seedy) are outside the image.
Returns false if (C<seedx>, C<seedy>) are outside the image.
=cut
*/
Expand Down Expand Up @@ -1809,16 +1811,16 @@ i_flood_fill_border(i_img *im, int seedx, int seedy, const i_color *dcol,
}

/*
=item i_flood_cfill_border(im, seedx, seedy, fill, border)
=item i_flood_cfill_border(C<im>, C<seedx>, C<seedy>, C<fill>, C<border>)
=category Drawing
=synopsis i_flood_cfill_border(im, 50, 50, fill, border);
Flood fills the 4-connected region starting from the point (seedx,
seedy) with I<fill>, the fill stops when it reaches pixels of color
I<border>.
Flood fills the 4-connected region starting from the point (C<seedx>,
C<seedy>) with C<fill>, the fill stops when it reaches pixels of color
C<border>.
Returns false if (seedx, seedy) are outside the image.
Returns false if (C<seedx>, C<seedy>) are outside the image.
=cut
*/
Expand Down
6 changes: 3 additions & 3 deletions error.c
Expand Up @@ -188,7 +188,7 @@ the mark.
Clears the error stack.
Called by any imager function before doing any other processing.
Called by any Imager function before doing any other processing.
=cut
*/
Expand Down Expand Up @@ -247,7 +247,7 @@ void i_push_error(int code, char const *msg) {
}

/*
=item i_push_errorvf(int code, char const *fmt, va_list ap)
=item i_push_errorvf(int C<code>, char const *C<fmt>, va_list C<ap>)
=category Error handling
Expand Down Expand Up @@ -277,7 +277,7 @@ void i_push_errorvf(int code, char const *fmt, va_list ap) {
=synopsis i_push_errorf(errno, "Cannot open file %s: %d", filename, errno);
=category Error handling
A version of i_push_error() that does printf() like formating.
A version of i_push_error() that does printf() like formatting.
Does not support perl specific format codes.
Expand Down

0 comments on commit 5715f7c

Please sign in to comment.