fix compiler warnings

some compiler warnings appeared in a production build (assert()s
commented out, -Wall, and -O2)

thanks to Dmitry Roshchin for the report
This commit is contained in:
John Cupitt 2012-08-14 12:43:54 +01:00
parent 76fd928d29
commit 88c3f7ab7d
16 changed files with 208 additions and 141 deletions

4
.gitignore vendored
View File

@ -1,4 +1,8 @@
vips-*.tar.gz vips-*.tar.gz
doc/reference/setup-build.stamp
doc/reference/tmpl-build.stamp
doc/reference/tmpl.stamp
doc/reference/tmpl/
libvips-scan libvips-scan
libvips-scan.c libvips-scan.c
Makefile.in Makefile.in

View File

@ -8,7 +8,7 @@
- add "DEPRECATED" flag to arguments - add "DEPRECATED" flag to arguments
- jpeg load/save note and use the preferred resolution unit - jpeg load/save note and use the preferred resolution unit
- better error msgs for enum args - better error msgs for enum args
- test for gtk-doc in bootstrap - fix compiler warnings in production build (thanks Dmitry)
20/7/12 started 7.30.0 20/7/12 started 7.30.0
- support "rs" mode in vips7 - support "rs" mode in vips7

View File

@ -117,6 +117,10 @@ vips_join_build( VipsObject *object )
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
break; break;
@ -139,12 +143,20 @@ vips_join_build( VipsObject *object )
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
break; break;
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
if( vips_insert( join->in1, join->in2, &t, x, y, if( vips_insert( join->in1, join->in2, &t, x, y,
@ -174,6 +186,10 @@ vips_join_build( VipsObject *object )
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
if( vips_extract_area( t, &t2, if( vips_extract_area( t, &t2,

View File

@ -324,6 +324,10 @@ vips_rot_build( VipsObject *object )
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
vips_demand_hint( conversion->out, hint, rot->in, NULL ); vips_demand_hint( conversion->out, hint, rot->in, NULL );

View File

@ -182,6 +182,10 @@ spcor_gen( REGION *or, void *vseq, void *a, void *b )
case IM_BANDFMT_SHORT: LOOP(signed short); break; case IM_BANDFMT_SHORT: LOOP(signed short); break;
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
/* Now: calculate correlation coefficient! /* Now: calculate correlation coefficient!

View File

@ -394,6 +394,10 @@ im_isnative( im_arch_type arch )
default: default:
g_assert( 0 ); g_assert( 0 );
} }
/* Keep -Wall happy.
*/
return( -1 );
} }
int int

View File

@ -776,6 +776,10 @@ vips_wrap7_subclass_class_init( VipsWrap7Class *class )
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return;
} }
if( pspec ) { if( pspec ) {

View File

@ -244,6 +244,10 @@ read_header( FILE *fp, VipsImage *out, int *bits, int *ascii, int *msb_first )
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
if( bands == 1 ) { if( bands == 1 ) {

View File

@ -372,7 +372,7 @@ set_exif_resolution( ExifData *ed, VipsImage *im )
default: default:
vips_warn( "VipsJpeg", vips_warn( "VipsJpeg",
"%s", _( "unknown EXIF resolution unit" ) ); "%s", _( "unknown EXIF resolution unit" ) );
return; return( 0 );
} }
if( write_tag( ed, EXIF_TAG_X_RESOLUTION, EXIF_FORMAT_RATIONAL, if( write_tag( ed, EXIF_TAG_X_RESOLUTION, EXIF_FORMAT_RATIONAL,

View File

@ -547,15 +547,16 @@ write_tiff_header( TiffWrite *tw, TIFF *tif, int width, int height )
case 5: case 5:
/* Only CMYKA /* Only CMYKA
*/ */
if( tw->im->Type == VIPS_INTERPRETATION_CMYK ) { photometric = PHOTOMETRIC_SEPARATED;
photometric = PHOTOMETRIC_SEPARATED; TIFFSetField( tif, TIFFTAG_INKSET, INKSET_CMYK );
TIFFSetField( tif,
TIFFTAG_INKSET, INKSET_CMYK );
}
break; break;
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
TIFFSetField( tif, TIFFTAG_PHOTOMETRIC, photometric ); TIFFSetField( tif, TIFFTAG_PHOTOMETRIC, photometric );
@ -1211,6 +1212,10 @@ get_compression( VipsForeignTiffCompression compression )
default: default:
g_assert( 0 ); g_assert( 0 );
} }
/* Keep -Wall happy.
*/
return( -1 );
} }
static int static int
@ -1225,6 +1230,10 @@ get_resunit( VipsForeignTiffResunit resunit )
default: default:
g_assert( 0 ); g_assert( 0 );
} }
/* Keep -Wall happy.
*/
return( -1 );
} }
/* Make and init a TiffWrite. /* Make and init a TiffWrite.

View File

@ -643,6 +643,10 @@ write_vips( Write *write, int compress, int interlace )
default: default:
g_assert( 0 ); g_assert( 0 );
/* Keep -Wall happy.
*/
return( 0 );
} }
interlace_type = interlace ? PNG_INTERLACE_ADAM7 : PNG_INTERLACE_NONE; interlace_type = interlace ? PNG_INTERLACE_ADAM7 : PNG_INTERLACE_NONE;

View File

@ -332,7 +332,7 @@ int vips_object_get_argument_priority( VipsObject *object, const char *name );
(VipsArgumentClass *) p->data; \ (VipsArgumentClass *) p->data; \
VipsArgument *argument = (VipsArgument *) argument_class; \ VipsArgument *argument = (VipsArgument *) argument_class; \
GParamSpec *PSPEC = argument->pspec; \ GParamSpec *PSPEC = argument->pspec; \
VipsArgumentInstance *ARG_INSTANCE = \ VipsArgumentInstance *ARG_INSTANCE __attribute__ ((unused)) = \
vips__argument_get_instance( argument_class, \ vips__argument_get_instance( argument_class, \
VIPS_OBJECT( OBJECT ) ); \ VIPS_OBJECT( OBJECT ) ); \

View File

@ -242,7 +242,7 @@ flood_scanline( Flood *flood, int x, int y, int *x1, int *x2 )
/* Paint the range we discovered. /* Paint the range we discovered.
*/ */
im__draw_scanline( DRAW( flood ), y, *x1, *x2 ); im__draw_scanline( draw, y, *x1, *x2 );
if( flood->dout ) { if( flood->dout ) {
flood->left = IM_MIN( flood->left, *x1 ); flood->left = IM_MIN( flood->left, *x1 );

View File

@ -109,8 +109,8 @@ static GMutex *vips_cache_lock = NULL;
/* Old versions of glib are missing these. When we abandon centos 5, switch to /* Old versions of glib are missing these. When we abandon centos 5, switch to
* g_int64_hash() and g_double_hash(). * g_int64_hash() and g_double_hash().
*/ */
#define INT64_HASH(X) (((unsigned int *) (X))[0] ^ ((unsigned int *) (X))[1]) #define INT64_HASH(X) (g_direct_hash(X))
#define DOUBLE_HASH(X) (INT64_HASH(X)) #define DOUBLE_HASH(X) (g_direct_hash(X))
/* Pass in the pspec so we can get the generic type. For example, a /* Pass in the pspec so we can get the generic type. For example, a
* held in a GParamSpec allowing OBJECT, but the value could be of type * held in a GParamSpec allowing OBJECT, but the value could be of type
@ -156,7 +156,7 @@ vips_value_hash( GParamSpec *pspec, GValue *value )
else if( generic == G_TYPE_PARAM_FLOAT ) { else if( generic == G_TYPE_PARAM_FLOAT ) {
float f = g_value_get_float( value ); float f = g_value_get_float( value );
return( *((unsigned int *) &f) ); return( g_direct_hash( (void *) &f ) );
} }
else if( generic == G_TYPE_PARAM_DOUBLE ) { else if( generic == G_TYPE_PARAM_DOUBLE ) {
double d = g_value_get_double( value ); double d = g_value_get_double( value );

View File

@ -1607,8 +1607,7 @@ vips__parse_size( const char *size_string )
*/ */
unit = g_strdup( size_string ); unit = g_strdup( size_string );
n = sscanf( size_string, "%d %s", &i, unit ); n = sscanf( size_string, "%d %s", &i, unit );
if( n > 0 ) size = i;
size = i;
if( n > 1 ) { if( n > 1 ) {
for( j = 0; j < VIPS_NUMBER( units ); j++ ) for( j = 0; j < VIPS_NUMBER( units ); j++ )
if( tolower( unit[0] ) == units[j].unit ) { if( tolower( unit[0] ) == units[j].unit ) {

View File

@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=glib&keywords=I18N+L10N&component=general\n" "product=glib&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2012-07-23 11:27+0100\n" "POT-Creation-Date: 2012-08-14 11:38+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -333,7 +333,7 @@ msgstr ""
#: ../libvips/arithmetic/measure.c:236 ../libvips/conversion/extract.c:217 #: ../libvips/arithmetic/measure.c:236 ../libvips/conversion/extract.c:217
#: ../libvips/conversion/black.c:128 ../libvips/conversion/copy.c:334 #: ../libvips/conversion/black.c:128 ../libvips/conversion/copy.c:334
#: ../libvips/conversion/embed.c:544 ../libvips/foreign/rawload.c:122 #: ../libvips/conversion/embed.c:544 ../libvips/foreign/rawload.c:122
#: ../libvips/iofuncs/image.c:875 #: ../libvips/iofuncs/image.c:876
msgid "Width" msgid "Width"
msgstr "" msgstr ""
@ -344,7 +344,7 @@ msgstr ""
#: ../libvips/arithmetic/measure.c:243 ../libvips/conversion/extract.c:224 #: ../libvips/arithmetic/measure.c:243 ../libvips/conversion/extract.c:224
#: ../libvips/conversion/black.c:135 ../libvips/conversion/copy.c:341 #: ../libvips/conversion/black.c:135 ../libvips/conversion/copy.c:341
#: ../libvips/conversion/embed.c:551 ../libvips/foreign/rawload.c:129 #: ../libvips/conversion/embed.c:551 ../libvips/foreign/rawload.c:129
#: ../libvips/iofuncs/image.c:882 #: ../libvips/iofuncs/image.c:883
msgid "Height" msgid "Height"
msgstr "" msgstr ""
@ -397,7 +397,7 @@ msgstr ""
#: ../libvips/conversion/rot.c:355 ../libvips/conversion/replicate.c:196 #: ../libvips/conversion/rot.c:355 ../libvips/conversion/replicate.c:196
#: ../libvips/conversion/tilecache.c:446 ../libvips/conversion/embed.c:524 #: ../libvips/conversion/tilecache.c:446 ../libvips/conversion/embed.c:524
#: ../libvips/conversion/cache.c:106 ../libvips/conversion/recomb.c:203 #: ../libvips/conversion/cache.c:106 ../libvips/conversion/recomb.c:203
#: ../libvips/conversion/sequential.c:168 ../libvips/foreign/foreign.c:1442 #: ../libvips/conversion/sequential.c:176 ../libvips/foreign/foreign.c:1442
#: ../libvips/resample/resample.c:89 #: ../libvips/resample/resample.c:89
msgid "Input" msgid "Input"
msgstr "" msgstr ""
@ -569,7 +569,7 @@ msgstr ""
#: ../libvips/conversion/copy.c:322 ../libvips/conversion/rot.c:356 #: ../libvips/conversion/copy.c:322 ../libvips/conversion/rot.c:356
#: ../libvips/conversion/replicate.c:197 ../libvips/conversion/tilecache.c:447 #: ../libvips/conversion/replicate.c:197 ../libvips/conversion/tilecache.c:447
#: ../libvips/conversion/embed.c:525 ../libvips/conversion/cache.c:107 #: ../libvips/conversion/embed.c:525 ../libvips/conversion/cache.c:107
#: ../libvips/conversion/sequential.c:169 #: ../libvips/conversion/sequential.c:177
msgid "Input image" msgid "Input image"
msgstr "" msgstr ""
@ -781,7 +781,7 @@ msgid "cast an image"
msgstr "" msgstr ""
#: ../libvips/conversion/cast.c:485 ../libvips/conversion/copy.c:355 #: ../libvips/conversion/cast.c:485 ../libvips/conversion/copy.c:355
#: ../libvips/iofuncs/image.c:896 #: ../libvips/iofuncs/image.c:897
msgid "Format" msgid "Format"
msgstr "" msgstr ""
@ -816,7 +816,7 @@ msgstr ""
#: ../libvips/conversion/im_grid.c:164 #: ../libvips/conversion/im_grid.c:164
#: ../libvips/convolution/im_contrast_surface.c:140 #: ../libvips/convolution/im_contrast_surface.c:140
#: ../libvips/iofuncs/sinkscreen.c:1082 ../libvips/iofuncs/image.c:720 #: ../libvips/iofuncs/sinkscreen.c:1082 ../libvips/iofuncs/image.c:721
#: ../libvips/morphology/im_rank.c:342 #: ../libvips/morphology/im_rank.c:342
msgid "bad parameters" msgid "bad parameters"
msgstr "" msgstr ""
@ -883,23 +883,23 @@ msgstr ""
#: ../libvips/conversion/black.c:129 ../libvips/conversion/copy.c:335 #: ../libvips/conversion/black.c:129 ../libvips/conversion/copy.c:335
#: ../libvips/conversion/embed.c:545 ../libvips/foreign/rawload.c:123 #: ../libvips/conversion/embed.c:545 ../libvips/foreign/rawload.c:123
#: ../libvips/iofuncs/image.c:876 #: ../libvips/iofuncs/image.c:877
msgid "Image width in pixels" msgid "Image width in pixels"
msgstr "" msgstr ""
#: ../libvips/conversion/black.c:136 ../libvips/conversion/copy.c:342 #: ../libvips/conversion/black.c:136 ../libvips/conversion/copy.c:342
#: ../libvips/conversion/embed.c:552 ../libvips/foreign/rawload.c:130 #: ../libvips/conversion/embed.c:552 ../libvips/foreign/rawload.c:130
#: ../libvips/iofuncs/image.c:883 #: ../libvips/iofuncs/image.c:884
msgid "Image height in pixels" msgid "Image height in pixels"
msgstr "" msgstr ""
#: ../libvips/conversion/black.c:142 ../libvips/conversion/copy.c:348 #: ../libvips/conversion/black.c:142 ../libvips/conversion/copy.c:348
#: ../libvips/foreign/rawload.c:136 ../libvips/iofuncs/image.c:889 #: ../libvips/foreign/rawload.c:136 ../libvips/iofuncs/image.c:890
msgid "Bands" msgid "Bands"
msgstr "" msgstr ""
#: ../libvips/conversion/black.c:143 ../libvips/conversion/copy.c:349 #: ../libvips/conversion/black.c:143 ../libvips/conversion/copy.c:349
#: ../libvips/foreign/rawload.c:137 ../libvips/iofuncs/image.c:890 #: ../libvips/foreign/rawload.c:137 ../libvips/iofuncs/image.c:891
msgid "Number of bands in image" msgid "Number of bands in image"
msgstr "" msgstr ""
@ -915,59 +915,59 @@ msgstr ""
msgid "Swap bytes in image between little and big-endian" msgid "Swap bytes in image between little and big-endian"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:356 ../libvips/iofuncs/image.c:897 #: ../libvips/conversion/copy.c:356 ../libvips/iofuncs/image.c:898
msgid "Pixel format in image" msgid "Pixel format in image"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:362 ../libvips/iofuncs/image.c:903 #: ../libvips/conversion/copy.c:362 ../libvips/iofuncs/image.c:904
msgid "Coding" msgid "Coding"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:363 ../libvips/iofuncs/image.c:904 #: ../libvips/conversion/copy.c:363 ../libvips/iofuncs/image.c:905
msgid "Pixel coding" msgid "Pixel coding"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:369 ../libvips/iofuncs/image.c:910 #: ../libvips/conversion/copy.c:369 ../libvips/iofuncs/image.c:911
msgid "Interpretation" msgid "Interpretation"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:370 ../libvips/iofuncs/image.c:911 #: ../libvips/conversion/copy.c:370 ../libvips/iofuncs/image.c:912
msgid "Pixel interpretation" msgid "Pixel interpretation"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:376 ../libvips/foreign/tiffsave.c:251 #: ../libvips/conversion/copy.c:376 ../libvips/foreign/tiffsave.c:251
#: ../libvips/iofuncs/image.c:917 #: ../libvips/iofuncs/image.c:918
msgid "Xres" msgid "Xres"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:377 ../libvips/foreign/tiffsave.c:252 #: ../libvips/conversion/copy.c:377 ../libvips/foreign/tiffsave.c:252
#: ../libvips/iofuncs/image.c:918 #: ../libvips/iofuncs/image.c:919
msgid "Horizontal resolution in pixels/mm" msgid "Horizontal resolution in pixels/mm"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:383 ../libvips/foreign/tiffsave.c:258 #: ../libvips/conversion/copy.c:383 ../libvips/foreign/tiffsave.c:258
#: ../libvips/iofuncs/image.c:924 #: ../libvips/iofuncs/image.c:925
msgid "Yres" msgid "Yres"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:384 ../libvips/foreign/tiffsave.c:259 #: ../libvips/conversion/copy.c:384 ../libvips/foreign/tiffsave.c:259
#: ../libvips/iofuncs/image.c:925 #: ../libvips/iofuncs/image.c:926
msgid "Vertical resolution in pixels/mm" msgid "Vertical resolution in pixels/mm"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:390 ../libvips/iofuncs/image.c:931 #: ../libvips/conversion/copy.c:390 ../libvips/iofuncs/image.c:932
msgid "Xoffset" msgid "Xoffset"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:391 ../libvips/iofuncs/image.c:932 #: ../libvips/conversion/copy.c:391 ../libvips/iofuncs/image.c:933
msgid "Horizontal offset of origin" msgid "Horizontal offset of origin"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:397 ../libvips/iofuncs/image.c:938 #: ../libvips/conversion/copy.c:397 ../libvips/iofuncs/image.c:939
msgid "Yoffset" msgid "Yoffset"
msgstr "" msgstr ""
#: ../libvips/conversion/copy.c:398 ../libvips/iofuncs/image.c:939 #: ../libvips/conversion/copy.c:398 ../libvips/iofuncs/image.c:940
msgid "Vertical offset of origin" msgid "Vertical offset of origin"
msgstr "" msgstr ""
@ -1109,22 +1109,22 @@ msgid "cache an image"
msgstr "" msgstr ""
#: ../libvips/conversion/tilecache.c:452 ../libvips/conversion/cache.c:112 #: ../libvips/conversion/tilecache.c:452 ../libvips/conversion/cache.c:112
#: ../libvips/foreign/tiffsave.c:215 ../libvips/foreign/dzsave.c:747 #: ../libvips/foreign/tiffsave.c:215 ../libvips/foreign/dzsave.c:889
msgid "Tile width" msgid "Tile width"
msgstr "" msgstr ""
#: ../libvips/conversion/tilecache.c:453 ../libvips/conversion/cache.c:113 #: ../libvips/conversion/tilecache.c:453 ../libvips/conversion/cache.c:113
#: ../libvips/foreign/tiffsave.c:216 ../libvips/foreign/dzsave.c:748 #: ../libvips/foreign/tiffsave.c:216 ../libvips/foreign/dzsave.c:890
msgid "Tile width in pixels" msgid "Tile width in pixels"
msgstr "" msgstr ""
#: ../libvips/conversion/tilecache.c:459 ../libvips/conversion/cache.c:119 #: ../libvips/conversion/tilecache.c:459 ../libvips/conversion/cache.c:119
#: ../libvips/foreign/tiffsave.c:222 ../libvips/foreign/dzsave.c:754 #: ../libvips/foreign/tiffsave.c:222 ../libvips/foreign/dzsave.c:896
msgid "Tile height" msgid "Tile height"
msgstr "" msgstr ""
#: ../libvips/conversion/tilecache.c:460 ../libvips/conversion/cache.c:120 #: ../libvips/conversion/tilecache.c:460 ../libvips/conversion/cache.c:120
#: ../libvips/foreign/tiffsave.c:223 ../libvips/foreign/dzsave.c:755 #: ../libvips/foreign/tiffsave.c:223 ../libvips/foreign/dzsave.c:897
msgid "Tile height in pixels" msgid "Tile height in pixels"
msgstr "" msgstr ""
@ -1149,7 +1149,7 @@ msgstr ""
msgid "command failed: \"%s\"" msgid "command failed: \"%s\""
msgstr "" msgstr ""
#: ../libvips/conversion/embed.c:435 ../libvips/iofuncs/image.c:1863 #: ../libvips/conversion/embed.c:435 ../libvips/iofuncs/image.c:1864
msgid "bad dimensions" msgid "bad dimensions"
msgstr "" msgstr ""
@ -1225,16 +1225,23 @@ msgstr ""
msgid "matrix of coefficients" msgid "matrix of coefficients"
msgstr "" msgstr ""
#: ../libvips/conversion/sequential.c:83 #: ../libvips/conversion/sequential.c:88
#, c-format #, c-format
msgid "" msgid "at line %d in file, but line %d requested"
"non-sequential read --- at position %d in file, but position %d requested"
msgstr "" msgstr ""
#: ../libvips/conversion/sequential.c:164 #: ../libvips/conversion/sequential.c:172
msgid "check sequential access" msgid "check sequential access"
msgstr "" msgstr ""
#: ../libvips/conversion/sequential.c:182
msgid "trace"
msgstr ""
#: ../libvips/conversion/sequential.c:183
msgid "trace pixel requests"
msgstr ""
#: ../libvips/convolution/im_conv.c:215 #: ../libvips/convolution/im_conv.c:215
#, c-format #, c-format
msgid "%d overflows and %d underflows detected" msgid "%d overflows and %d underflows detected"
@ -1289,7 +1296,7 @@ msgstr ""
#: ../libvips/foreign/jpegload.c:245 ../libvips/foreign/rawload.c:115 #: ../libvips/foreign/jpegload.c:245 ../libvips/foreign/rawload.c:115
#: ../libvips/foreign/matload.c:128 ../libvips/foreign/fitssave.c:128 #: ../libvips/foreign/matload.c:128 ../libvips/foreign/fitssave.c:128
#: ../libvips/foreign/radsave.c:119 ../libvips/foreign/vipssave.c:125 #: ../libvips/foreign/radsave.c:119 ../libvips/foreign/vipssave.c:125
#: ../libvips/foreign/pngsave.c:168 ../libvips/iofuncs/image.c:945 #: ../libvips/foreign/pngsave.c:168 ../libvips/iofuncs/image.c:946
msgid "Filename" msgid "Filename"
msgstr "" msgstr ""
@ -1414,20 +1421,20 @@ msgstr ""
msgid "datatype %d not supported" msgid "datatype %d not supported"
msgstr "" msgstr ""
#: ../libvips/foreign/jpeg2vips.c:166 #: ../libvips/foreign/jpeg2vips.c:168
#, c-format #, c-format
msgid "read gave %ld warnings" msgid "read gave %ld warnings"
msgstr "" msgstr ""
#: ../libvips/foreign/jpeg2vips.c:486 #: ../libvips/foreign/jpeg2vips.c:488
msgid "error reading resolution" msgid "error reading resolution"
msgstr "" msgstr ""
#: ../libvips/foreign/jpeg2vips.c:507 #: ../libvips/foreign/jpeg2vips.c:513 ../libvips/foreign/vips2jpeg.c:374
msgid "unknown EXIF resolution unit" msgid "unknown EXIF resolution unit"
msgstr "" msgstr ""
#: ../libvips/foreign/jpeg2vips.c:715 #: ../libvips/foreign/jpeg2vips.c:721
msgid "unknown JFIF resolution unit" msgid "unknown JFIF resolution unit"
msgstr "" msgstr ""
@ -1515,43 +1522,51 @@ msgstr ""
msgid "Write a bigtiff image" msgid "Write a bigtiff image"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:208 #: ../libvips/foreign/dzsave.c:232
#, c-format #, c-format
msgid "Directory \"%s\" exists" msgid "Directory \"%s_files\" exists"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:664 #: ../libvips/foreign/dzsave.c:788
msgid "overlap must be less than tile width and height" msgid "overlap must be less than tile width and height"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:716 #: ../libvips/foreign/dzsave.c:841
msgid "save image to deep zoom format" msgid "save image to deep zoom format"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:726 #: ../libvips/foreign/dzsave.c:851 ../libvips/foreign/dzsave.c:882
msgid "Directory name" msgid "Base name"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:727 #: ../libvips/foreign/dzsave.c:852 ../libvips/foreign/dzsave.c:883
msgid "Directory name to save to" msgid "Base name to save to"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:733 #: ../libvips/foreign/dzsave.c:858
msgid "suffix" msgid "suffix"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:734 #: ../libvips/foreign/dzsave.c:859
msgid "Filename suffix for tiles" msgid "Filename suffix for tiles"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:740 #: ../libvips/foreign/dzsave.c:865
msgid "Overlap" msgid "Overlap"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:741 #: ../libvips/foreign/dzsave.c:866
msgid "Tile overlap in pixels" msgid "Tile overlap in pixels"
msgstr "" msgstr ""
#: ../libvips/foreign/dzsave.c:872
msgid "Tile size"
msgstr ""
#: ../libvips/foreign/dzsave.c:873
msgid "Tile size in pixels"
msgstr ""
#: ../libvips/foreign/analyzeload.c:114 #: ../libvips/foreign/analyzeload.c:114
msgid "load an Analyze6 image" msgid "load an Analyze6 image"
msgstr "" msgstr ""
@ -1585,16 +1600,16 @@ msgstr ""
msgid "save image to jpeg mime" msgid "save image to jpeg mime"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2jpeg.c:132 #: ../libvips/foreign/vips2jpeg.c:134
#, c-format #, c-format
msgid "%s" msgid "%s"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2jpeg.c:363 #: ../libvips/foreign/vips2jpeg.c:385
msgid "error setting JPEG resolution" msgid "error setting JPEG resolution"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2jpeg.c:510 #: ../libvips/foreign/vips2jpeg.c:532
msgid "error saving EXIF" msgid "error saving EXIF"
msgstr "" msgstr ""
@ -1739,11 +1754,11 @@ msgstr ""
msgid "load raw data from a file" msgid "load raw data from a file"
msgstr "" msgstr ""
#: ../libvips/foreign/rawload.c:143 ../libvips/iofuncs/image.c:973 #: ../libvips/foreign/rawload.c:143 ../libvips/iofuncs/image.c:974
msgid "Size of header" msgid "Size of header"
msgstr "" msgstr ""
#: ../libvips/foreign/rawload.c:144 ../libvips/iofuncs/image.c:974 #: ../libvips/foreign/rawload.c:144 ../libvips/iofuncs/image.c:975
msgid "Offset in bytes from start of file" msgid "Offset in bytes from start of file"
msgstr "" msgstr ""
@ -1834,7 +1849,7 @@ msgstr ""
msgid "bad page number %d" msgid "bad page number %d"
msgstr "" msgstr ""
#: ../libvips/foreign/tiff2vips.c:1486 ../libvips/foreign/vips2tiff.c:292 #: ../libvips/foreign/tiff2vips.c:1486 ../libvips/foreign/vips2tiff.c:294
#, c-format #, c-format
msgid "unable to open \"%s\" for input" msgid "unable to open \"%s\" for input"
msgstr "" msgstr ""
@ -1978,44 +1993,44 @@ msgstr ""
msgid "save image to png buffer" msgid "save image to png buffer"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:276 #: ../libvips/foreign/vips2tiff.c:278
#, c-format #, c-format
msgid "unable to open \"%s\" for output" msgid "unable to open \"%s\" for output"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:698 #: ../libvips/foreign/vips2tiff.c:704
msgid "layer buffer exhausted -- try making TIFF output tiles smaller" msgid "layer buffer exhausted -- try making TIFF output tiles smaller"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:929 #: ../libvips/foreign/vips2tiff.c:935
msgid "TIFF write tile failed" msgid "TIFF write tile failed"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:1005 #: ../libvips/foreign/vips2tiff.c:1011
msgid "internal error #9876345" msgid "internal error #9876345"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:1266 #: ../libvips/foreign/vips2tiff.c:1272
msgid "tile size not a multiple of 16" msgid "tile size not a multiple of 16"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:1272 #: ../libvips/foreign/vips2tiff.c:1278
msgid "can't have strip pyramid -- enabling tiling" msgid "can't have strip pyramid -- enabling tiling"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:1283 #: ../libvips/foreign/vips2tiff.c:1289
msgid "can only pyramid LABQ and non-complex images" msgid "can only pyramid LABQ and non-complex images"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:1300 #: ../libvips/foreign/vips2tiff.c:1306
msgid "can't have 1-bit JPEG -- disabling JPEG" msgid "can't have 1-bit JPEG -- disabling JPEG"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:1490 #: ../libvips/foreign/vips2tiff.c:1502
msgid "unsigned 8-bit int, 16-bit int, and 32-bit float only" msgid "unsigned 8-bit int, 16-bit int, and 32-bit float only"
msgstr "" msgstr ""
#: ../libvips/foreign/vips2tiff.c:1497 #: ../libvips/foreign/vips2tiff.c:1509
msgid "1 to 5 bands only" msgid "1 to 5 bands only"
msgstr "" msgstr ""
@ -2271,38 +2286,38 @@ msgstr ""
msgid "ink image not 1x1 pixels" msgid "ink image not 1x1 pixels"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:97 #: ../libvips/iofuncs/operation.c:98
msgid "input" msgid "input"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:97 #: ../libvips/iofuncs/operation.c:98
msgid "output" msgid "output"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:272 #: ../libvips/iofuncs/operation.c:273
msgid "operations" msgid "operations"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:316 #: ../libvips/iofuncs/operation.c:317
msgid "usage:" msgid "usage:"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:330 ../libvips/iofuncs/object.c:1241 #: ../libvips/iofuncs/operation.c:331 ../libvips/iofuncs/object.c:1242
#: ../libvips/resample/interpolate.c:612 #: ../libvips/resample/interpolate.c:612
#, c-format #, c-format
msgid "class \"%s\" not found" msgid "class \"%s\" not found"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:707 #: ../libvips/iofuncs/operation.c:708
#, c-format #, c-format
msgid "unknown argument '%s'" msgid "unknown argument '%s'"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:821 #: ../libvips/iofuncs/operation.c:826
msgid "too few arguments" msgid "too few arguments"
msgstr "" msgstr ""
#: ../libvips/iofuncs/operation.c:942 #: ../libvips/iofuncs/operation.c:949
msgid "too many arguments" msgid "too many arguments"
msgstr "" msgstr ""
@ -2433,102 +2448,102 @@ msgstr ""
#. #.
#: ../libvips/iofuncs/image.c:559 #: ../libvips/iofuncs/image.c:559
#, c-format #, c-format
msgid "%s %s: done in %ds \n" msgid "%s %s: done in %.3gs \n"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:748 #: ../libvips/iofuncs/image.c:749
#, c-format #, c-format
msgid "unable to open \"%s\", file too short" msgid "unable to open \"%s\", file too short"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:758 #: ../libvips/iofuncs/image.c:759
#, c-format #, c-format
msgid "%s is longer than expected" msgid "%s is longer than expected"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:775 #: ../libvips/iofuncs/image.c:776
#, c-format #, c-format
msgid "bad mode \"%s\"" msgid "bad mode \"%s\""
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:848 #: ../libvips/iofuncs/image.c:849
msgid "image class" msgid "image class"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:946 #: ../libvips/iofuncs/image.c:947
msgid "Image filename" msgid "Image filename"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:952 #: ../libvips/iofuncs/image.c:953
msgid "Mode" msgid "Mode"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:953 #: ../libvips/iofuncs/image.c:954
msgid "Open mode" msgid "Open mode"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:959 #: ../libvips/iofuncs/image.c:960
msgid "Kill" msgid "Kill"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:960 #: ../libvips/iofuncs/image.c:961
msgid "Block evaluation on this image" msgid "Block evaluation on this image"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:966 #: ../libvips/iofuncs/image.c:967
msgid "Demand style" msgid "Demand style"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:967 #: ../libvips/iofuncs/image.c:968
msgid "Preferred demand style for this image" msgid "Preferred demand style for this image"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:980 #: ../libvips/iofuncs/image.c:981
msgid "Foreign buffer" msgid "Foreign buffer"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:981 #: ../libvips/iofuncs/image.c:982
msgid "Pointer to foreign pixels" msgid "Pointer to foreign pixels"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:1288 #: ../libvips/iofuncs/image.c:1289
#, c-format #, c-format
msgid "killed for image \"%s\"" msgid "killed for image \"%s\""
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:1901 #: ../libvips/iofuncs/image.c:1902
msgid "bad image descriptor" msgid "bad image descriptor"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:1959 ../libvips/iofuncs/generate.c:715 #: ../libvips/iofuncs/image.c:1960 ../libvips/iofuncs/generate.c:715
#, c-format #, c-format
msgid "unable to output to a %s image" msgid "unable to output to a %s image"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:2023 #: ../libvips/iofuncs/image.c:2024
#, c-format #, c-format
msgid "auto-rewind for %s failed" msgid "auto-rewind for %s failed"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:2079 ../libvips/iofuncs/image.c:2275 #: ../libvips/iofuncs/image.c:2080 ../libvips/iofuncs/image.c:2276
#: ../libvips/iofuncs/image.c:2292 #: ../libvips/iofuncs/image.c:2293
msgid "no image data" msgid "no image data"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:2147 ../libvips/iofuncs/image.c:2315 #: ../libvips/iofuncs/image.c:2148 ../libvips/iofuncs/image.c:2316
msgid "image not readable" msgid "image not readable"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:2168 ../libvips/iofuncs/image.c:2345 #: ../libvips/iofuncs/image.c:2169 ../libvips/iofuncs/image.c:2346
#: ../libvips/iofuncs/image.c:2354 #: ../libvips/iofuncs/image.c:2355
msgid "image already written" msgid "image already written"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:2192 ../libvips/iofuncs/image.c:2366 #: ../libvips/iofuncs/image.c:2193 ../libvips/iofuncs/image.c:2367
msgid "image not writeable" msgid "image not writeable"
msgstr "" msgstr ""
#: ../libvips/iofuncs/image.c:2239 #: ../libvips/iofuncs/image.c:2240
msgid "bad file type" msgid "bad file type"
msgstr "" msgstr ""
@ -2955,72 +2970,72 @@ msgstr ""
msgid "Show VIPS options" msgid "Show VIPS options"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:150 #: ../libvips/iofuncs/object.c:151
#, c-format #, c-format
msgid "parameter %s not set" msgid "parameter %s not set"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:502 #: ../libvips/iofuncs/object.c:503
#, c-format #, c-format
msgid "no property named `%s'" msgid "no property named `%s'"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:510 #: ../libvips/iofuncs/object.c:511
#, c-format #, c-format
msgid "no vips argument named `%s'" msgid "no vips argument named `%s'"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:517 #: ../libvips/iofuncs/object.c:518
#, c-format #, c-format
msgid "argument `%s' has no instance" msgid "argument `%s' has no instance"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1290 #: ../libvips/iofuncs/object.c:1291
msgid "base class" msgid "base class"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1304 #: ../libvips/iofuncs/object.c:1305
msgid "Nickname" msgid "Nickname"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1305 #: ../libvips/iofuncs/object.c:1306
msgid "Class nickname" msgid "Class nickname"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1311 #: ../libvips/iofuncs/object.c:1312
msgid "Description" msgid "Description"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1312 #: ../libvips/iofuncs/object.c:1313
msgid "Class description" msgid "Class description"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1540 ../libvips/iofuncs/object.c:1554 #: ../libvips/iofuncs/object.c:1459
#: ../libvips/iofuncs/object.c:1597 #, c-format
msgid "enum '%s' has no member '%s', should be one of: %s"
msgstr ""
#: ../libvips/iofuncs/object.c:1564 ../libvips/iofuncs/object.c:1578
#: ../libvips/iofuncs/object.c:1619
#, c-format #, c-format
msgid "'%s' is not an integer" msgid "'%s' is not an integer"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1566 #: ../libvips/iofuncs/object.c:1590
#, c-format #, c-format
msgid "'%s' is not a double" msgid "'%s' is not a double"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1581 #: ../libvips/iofuncs/object.c:1949
#, c-format
msgid "enum '%s' has no member '%s'"
msgstr ""
#: ../libvips/iofuncs/object.c:1927
#, c-format #, c-format
msgid "unable to set '%s'" msgid "unable to set '%s'"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1935 #: ../libvips/iofuncs/object.c:1957
msgid "not , or ) after parameter" msgid "not , or ) after parameter"
msgstr "" msgstr ""
#: ../libvips/iofuncs/object.c:1942 #: ../libvips/iofuncs/object.c:1964
msgid "extra tokens after ')'" msgid "extra tokens after ')'"
msgstr "" msgstr ""
@ -3480,35 +3495,35 @@ msgstr ""
msgid "no package or function \"%s\"" msgid "no package or function \"%s\""
msgstr "" msgstr ""
#: ../tools/vips.c:917 #: ../tools/vips.c:925
msgid "list classes|packages|all|package-name|operation-name" msgid "list classes|packages|all|package-name|operation-name"
msgstr "" msgstr ""
#: ../tools/vips.c:919 #: ../tools/vips.c:927
msgid "generate headers for C++ binding" msgid "generate headers for C++ binding"
msgstr "" msgstr ""
#: ../tools/vips.c:921 #: ../tools/vips.c:929
msgid "generate bodies for C++ binding" msgid "generate bodies for C++ binding"
msgstr "" msgstr ""
#: ../tools/vips.c:923 #: ../tools/vips.c:931
msgid "generate links for vips/bin" msgid "generate links for vips/bin"
msgstr "" msgstr ""
#: ../tools/vips.c:1043 #: ../tools/vips.c:1051
msgid "[ACTION] [OPTIONS] [PARAMETERS] - VIPS driver program" msgid "[ACTION] [OPTIONS] [PARAMETERS] - VIPS driver program"
msgstr "" msgstr ""
#: ../tools/vips.c:1111 #: ../tools/vips.c:1119
msgid "possible actions:\n" msgid "possible actions:\n"
msgstr "" msgstr ""
#: ../tools/vips.c:1116 #: ../tools/vips.c:1124
msgid "execute named vips operation" msgid "execute named vips operation"
msgstr "" msgstr ""
#: ../tools/vips.c:1118 #: ../tools/vips.c:1126
#, c-format #, c-format
msgid "unknown action \"%s\"" msgid "unknown action \"%s\""
msgstr "" msgstr ""