+Imager-File-JPEG 0.88
+=====================
+
+ - correct an internal documentation error.
+
Imager-File-JPEG 0.87
=====================
use vars qw($VERSION @ISA);
BEGIN {
- $VERSION = "0.87";
+ $VERSION = "0.88";
require XSLoader;
XSLoader::load('Imager::File::JPEG', $VERSION);
Returns true if an Exif header was seen.
+=cut
*/
int
A collection of utility functions for converting between color spaces.
+=over
+
+=cut
*/
#define EPSILON (1e-8)
Convert an angle in degrees into an angle measure we can generate
simply from the numbers we have when drawing the circle.
-=back
+=cut
*/
static i_img_dim
}
i_render_done(&r);
}
+
+/*
+=back
+
+=cut
+*/
The floating sample fill function for hatched fills.
-=back
+=cut
*/
static void
fill_hatchf(i_fill_t *fill, i_img_dim x, i_img_dim y, i_img_dim width,
i_int_hlines_fill_fill(im, hlines, fill)
+=cut
*/
void
i_int_hlines_fill_fill(i_img *im, i_int_hlines *hlines, i_fill_t *fill) {
}
-/* realseek_seek(ig, offset, whence)
+/*
+=item realseek_seek(ig, offset, whence)
Implements seeking for a source that is seekable, the purpose of having this is to be able to
have an offset into a file that is different from what the underlying library thinks.
}
-/* buffer_seek(ig, offset, whence)
+/*
+=item buffer_seek(ig, offset, whence)
Implements seeking for a buffer source.
}
-/* bufchain_seek(ig, offset, whence)
+/*
+=item bufchain_seek(ig, offset, whence)
Implements seeking for a source that is seekable, the purpose of having this is to be able to
have an offset into a file that is different from what the underlying library thinks.
Manage limits for image files read by Imager.
Setting a value of zero means that limit will be ignored.
-
+
+=over
+
+=cut
*/
#define IMAGER_NO_CONTEXT
--- /dev/null
+#!perl -w
+use strict;
+use Test::More;
+use ExtUtils::Manifest qw(maniread);
+
+# RT #74875
+my $manifest = maniread();
+my @files = grep /\.(c|im|h)$/, sort keys %$manifest;
+plan tests => scalar @files;
+
+++$|;
+for my $file (@files) {
+ my $ok = 1;
+ if (open my $fh, "<", $file) {
+ my $in_pod;
+ while (<$fh>) {
+ if (/^=cut/) {
+ if ($in_pod) {
+ $in_pod = 0;
+ }
+ else {
+ diag("$file:$.: found =cut without pod");
+ $ok = 0;
+ }
+ }
+ elsif (/^=\w+/) {
+ $in_pod = $.;
+ }
+ elsif (m(\*/)) {
+ if ($in_pod) {
+ diag("$file:$.: unclosed pod starting $in_pod");
+ $ok = 0;
+ }
+ }
+ }
+ close $fh;
+ }
+ else {
+ diag("Cannot open $file: $!");
+ $ok = 0;
+ }
+ ok($ok, $file);
+}