stuff
This commit is contained in:
parent
6946ee1b9c
commit
e2b1bd0910
@ -38,7 +38,7 @@
|
|||||||
- added IM_LIBDIR, im_guess_libdir()
|
- added IM_LIBDIR, im_guess_libdir()
|
||||||
- load plugins from libdir/vips-x.x on startup
|
- load plugins from libdir/vips-x.x on startup
|
||||||
- added meta get/set int/double/string to C++ API
|
- added meta get/set int/double/string to C++ API
|
||||||
- remove time_t from vips.h, check size in im_init_world, thanks nicola
|
- include time_t in vips.h, thanks nicola
|
||||||
|
|
||||||
25/1/08 started 7.14.0
|
25/1/08 started 7.14.0
|
||||||
- bump all version numbers for new stable
|
- bump all version numbers for new stable
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
* 2/7/08
|
* 2/7/08
|
||||||
* - added invalidate callbacks
|
* - added invalidate callbacks
|
||||||
* 7/8/08
|
* 7/8/08
|
||||||
* - remove time_t, thanks nicola
|
* - include <time.h>, thanks nicola
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -90,6 +90,10 @@ extern "C" {
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gmodule.h>
|
#include <gmodule.h>
|
||||||
|
|
||||||
|
/* Needed for 'unused' below. Remove this when we remove that.
|
||||||
|
*/
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#include <vips/version.h>
|
#include <vips/version.h>
|
||||||
#include <vips/rect.h>
|
#include <vips/rect.h>
|
||||||
|
|
||||||
@ -243,13 +247,14 @@ typedef struct {
|
|||||||
/* Struct we keep a record of execution time in. Passed to eval callback, so
|
/* Struct we keep a record of execution time in. Passed to eval callback, so
|
||||||
* it can assess progress.
|
* it can assess progress.
|
||||||
*
|
*
|
||||||
* The 'unused' field is there for binary compatibility, it used to be a
|
* The 'unused' field is there for binary compatibility, remove this when we
|
||||||
* time_t. sizeof(time_t)==8 is checked in libsrc/iofuncs/im_init_world.c.
|
* break ABI. Though, at least on windows, sizeof(time_t) can vary with
|
||||||
* We don't want to include time.h in vips.h if we don't have to.
|
* compiler flags, so we might break ABI anyway. Remove the #include <time.h>
|
||||||
|
* when we remove this.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
struct im__IMAGE *im; /* Image we are part of */
|
struct im__IMAGE *im; /* Image we are part of */
|
||||||
char unused[8]; /* FIXME ... for binary compatibility */
|
time_t unused; /* FIXME ... for binary compatibility */
|
||||||
int run; /* Time we have been running */
|
int run; /* Time we have been running */
|
||||||
int eta; /* Estimated seconds of computation left */
|
int eta; /* Estimated seconds of computation left */
|
||||||
gint64 tpels; /* Number of pels we expect to calculate */
|
gint64 tpels; /* Number of pels we expect to calculate */
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
* - progress feedback option
|
* - progress feedback option
|
||||||
* 5/8/08
|
* 5/8/08
|
||||||
* - load plugins from libdir/vips-x.x
|
* - load plugins from libdir/vips-x.x
|
||||||
* 7/8/08
|
|
||||||
* - check sizeof(time_t), thanks nicola
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -62,10 +60,6 @@
|
|||||||
#include <vips/thread.h>
|
#include <vips/thread.h>
|
||||||
#include <vips/internal.h>
|
#include <vips/internal.h>
|
||||||
|
|
||||||
/* Needed for the sizeof(time_t)==8 check, see vips.h
|
|
||||||
*/
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBOIL
|
#ifdef HAVE_LIBOIL
|
||||||
#include <liboil/liboil.h>
|
#include <liboil/liboil.h>
|
||||||
#endif /*HAVE_LIBOIL*/
|
#endif /*HAVE_LIBOIL*/
|
||||||
@ -141,13 +135,6 @@ im_init_world( const char *argv0 )
|
|||||||
*/
|
*/
|
||||||
im__meta_init_types();
|
im__meta_init_types();
|
||||||
|
|
||||||
/* See vips.h ... we used to have a time_t in part of the header,
|
|
||||||
* check this.
|
|
||||||
*/
|
|
||||||
if( sizeof( time_t ) != 8 )
|
|
||||||
im_warn( "im_init_world", _( "sizeof( time_t ) != 8: "
|
|
||||||
"ABI break possible" ) );
|
|
||||||
|
|
||||||
/* Load up any plugins in the vips libdir. We don't error on failure,
|
/* Load up any plugins in the vips libdir. We don't error on failure,
|
||||||
* it's too annoying to have VIPS refuse to start because of a broken
|
* it's too annoying to have VIPS refuse to start because of a broken
|
||||||
* plugin.
|
* plugin.
|
||||||
|
Loading…
Reference in New Issue
Block a user