Commit Graph

65 Commits

Author SHA1 Message Date
Sven Neumann 9d77a4fd89 libgimp/gimp.def updated. Patch from Michael Schumacher.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def
	* libgimpthumb/gimpthumb.def: updated. Patch from Michael Schumacher.
2004-01-06 17:44:58 +00:00
Sven Neumann 8099e69264 added new function gimp_thumbnail_set_from_thumb() which will be useful
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.[ch]: added new function
	gimp_thumbnail_set_from_thumb() which will be useful when writing
	a thumbnail manager based on libgimpthumb.
2004-01-06 15:53:32 +00:00
Sven Neumann 429cf13df9 added thumb_size variable to the GimpThumbnail struct. Fixed handling of
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.[ch]: added thumb_size variable to
	the GimpThumbnail struct. Fixed handling of failed thumbnails.
2004-01-06 11:29:10 +00:00
Sven Neumann bf65beb5c8 added missing casts to gint64.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_set_uri): added
	missing casts to gint64.
2004-01-06 10:09:02 +00:00
Sven Neumann 672a56b2db Fixes to the new thumbnail code. Will need more changes...
2004-01-06  Sven Neumann  <sven@gimp.org>

	Fixes to the new thumbnail code. Will need more changes...

	* app/core/gimpimagefile.c: set image information before calling
	gimp_thumbnail_save_thumb(). Emit the "info_changed" signal when
	the thumbnail states change.

	* libgimpthumb/gimpthumbnail.c: redone gimp_thumbnail_load_thumb().
	Added some debugging code that is by default disabled.
2004-01-06 02:33:08 +00:00
Sven Neumann 0bd63ee306 added API documentation.
2003-12-16  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c: added API documentation.

2003-12-16  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/libgimpthumb-docs.sgml
	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/tmpl/gimpthumb-enums.sgml
	* libgimpthumb/tmpl/gimpthumb-error.sgml
	* libgimpthumb/tmpl/gimpthumb-utils.sgml
	* libgimpthumb/tmpl/gimpthumbnail.sgml: completed API docs for
	libgimpthumb.
2003-12-15 23:22:50 +00:00
Sven Neumann aa4c77b6ad libgimpthumb/gimpthumb-error.c libgimpthumb/gimpthumb-utils.[ch] some code
2003-12-14  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-error.c
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.c: some code review and addition of
	API documentation. Not finished yet...
2003-12-14 13:21:44 +00:00
Hans Breuer 1baa2d4581 [ I've postponed my reservations against pangoft2/fontconfig/freetype2
2003-12-12  Hans Breuer  <hans@breuer.org>

	[
	 I've postponed my reservations against pangoft2/fontconfig/freetype2
	 usage, so The Gimp should now build with msvc without patching it.
	]

	* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.

	* libgimpthumb/makefile.msc : (new file)
	* makefile.msc : added libgimpthumb

	* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
	* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
	with GIMP_THUMB_SIZE_FAIL but *size

	* plug-ins/makefile.msc : handle libgimpoldpreview

	* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__

	* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h

	* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
	but still win32/msvc has no unistd.h

	* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
	need to patch glib, see bug #98737

	* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"

	* **/Makefile.am : added makefile.msc to EXTRA_DIST
2003-12-13 01:35:19 +00:00
Sven Neumann 53be6dae66 don't scale the pixbuf, always return the pixbuf as loaded from disk.
2003-12-08  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): don't
	scale the pixbuf, always return the pixbuf as loaded from disk.

	* app/core/gimpimagefile.c (gimp_imagefile_get_description):
	return NULL when being asked for a description on a thumbnail
	without an image_uri.
2003-12-08 14:15:25 +00:00
Sven Neumann de68ab22bb renamed a function, added another one.
2003-12-08  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]: renamed a function, added
	another one.

	* libgimpthumb/gimpthumb.def
	* libgimpthumb/gimpthumbnail.c: changed accordingly.

2003-12-08  Sven Neumann  <sven@gimp.org>

	* Makefile.am: removed unnecessary stuff.

	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/tmpl/gimpthumb-utils.sgml: updated.
2003-12-08 13:09:33 +00:00
Sven Neumann d8903a2477 added libgimpthumb.
2003-12-08  Sven Neumann  <sven@gimp.org>

	* Makefile.am (SUBDIRS): added libgimpthumb.

	* libgimpthumb/gimpthumb-utils.c
	* libgimpthumb/gimpthumbnail.c: basic functionality is implemented
	and seems to be working.

	* app/Makefile.am: link the application against libgimpthumb.

	* app/core/core-types.h: include libgimpthumb/gimpthumb-types.h.

	* app/core/gimpimagefile.[ch]: removed thumbnail handling routines
	and use libgimpthumb instead. Fixes bug #127914.

	* app/gui/file-open-dialog.c
	* app/widgets/gimpdocumentview.c: changed accordingly.
2003-12-08 09:12:25 +00:00
Sven Neumann 4e2d3f61f9 libgimpthumb/Makefile.am added new files that define the GIMP_THUMB_ERROR
2003-12-02  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-error.[ch]: added new files that define the
	GIMP_THUMB_ERROR domain.

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumb.h
	* libgimpthumb/gimpthumbnail.[ch]: finalizing the API.
2003-12-02 02:06:20 +00:00
Sven Neumann e76a587d7e libgimpthumb/Makefile.am libgimpthumb/gimpthumb-enums.h
2003-11-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: more changes, still unfinished.
2003-11-26 16:49:53 +00:00
Sven Neumann 52afe11139 libgimpthumb/gimpthumb-utils.[ch] added save functionality. Still
2003-11-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: added save functionality. Still
	unfinished.
2003-11-26 10:26:37 +00:00
Sven Neumann d3a8ec0c01 configure.in gimpthumb-1.3.pc.in libgimpthumb/Makefile.am
2003-11-26  Sven Neumann  <sven@gimp.org>

	* Makefile.am:
	* configure.in
	* gimpthumb-1.3.pc.in
	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-types.h
	* libgimpthumb/gimpthumb.def
	* libgimpthumb/gimpthumb.h
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: added a first draft of
	libgimpthumb. The API isn't final and the implementation is
	incomplete. It compiles but don't attempt to use it yet.
2003-11-26 01:12:36 +00:00