summaryrefslogtreecommitdiff
path: root/gtk/gdk-pixbuf-loader.c
Commit message (Collapse)AuthorAgeFilesLines
* make the symlink. Does not work for srcdir != buildir != . Beats me why; IJonathan Blandford1999-11-221-2/+2
| | | | | | | | 1999-11-22 Jonathan Blandford <jrb@redhat.com> * configure.in (GDK_PIXBUF_DIR): make the symlink. Does not work for srcdir != buildir != . Beats me why; I can't figure it out. AC_OUTPUT_COMMANDS doesn't seem to let me substitute it correctly.
* Populated.Federico Mena Quintero1999-11-101-15/+19
| | | | | | | | | | | 1999-11-10 Federico Mena Quintero <federico@redhat.com> * doc/tmpl/gdk-pixbuf-loader.sgml: Populated. * doc/gdk-pixbuf.signals: Put in the real names of signal arguments. * src/gdk-pixbuf-loader.c: Improved documentation comments.
* forgot thisJonathan Blandford1999-11-101-5/+1
|
* emit the closed signal.Jonathan Blandford1999-11-101-0/+7
| | | | | | | 1999-11-10 Jonathan Blandford <jrb@redhat.com> * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): emit the closed signal.
* More docs work - FedericoArturo Espinosa1999-11-041-2/+2
|
* handle the actual update. add a update_func callback. add a update_funcJonathan Blandford1999-11-041-1/+16
| | | | | | | | | | 1999-11-04 Jonathan Blandford <jrb@redhat.com> * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_update): handle the actual update. * src/io-png.c (image_begin_load): add a update_func callback. * src/io-gif.c (image_begin_load): add a update_func callback. * src/io-tiff.c (image_begin_load): add a update_func callback.
* Make the arguments to the write/load_increment operations const-correct.Elliot Lee1999-11-021-2/+2
| | | | | * src/gdk-pixbuf-loader.[ch], src/gdk-pixbuf-io.h: Make the arguments to the write/load_increment operations const-correct.
* Always return the amount eaten, rather than the full header size.Elliot Lee1999-11-021-4/+4
| | | | Always return the amount eaten, rather than the full header size.
* Return TRUE if all the data got eaten by header_buf, instead of FALSE.Elliot Lee1999-11-021-1/+1
| | | | Return TRUE if all the data got eaten by header_buf, instead of FALSE.
* Reorganize gdk_pixbuf_loader_write into three functions, and eliminateElliot Lee1999-11-021-66/+73
| | | | | | * src/gdk-pixbuf-loader.c: Reorganize gdk_pixbuf_loader_write into three functions, and eliminate duplication of code from write() and close(). Also fix bug where the 128-byte header was being written twice.
* Actually load the image handler when we determine the image type.Michael Fulbright1999-10-291-4/+7
| | | | | | | | | | | | | | | | | 1999-10-29 Michael Fulbright <drmike@redhat.com> * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Actually load the image handler when we determine the image type. * src/gdk-pixbuf-io.[ch] (gdk_pixbuf_load_module): Changed the previously static function load_image_handler () to a public function gdk_pixbuf_load_module (). It is needed in gdk-pixbuf-loader.c to load image handler modules. This function is different from gdk_pixbuf_get_module (), which only returns a reference to the required handler, because it actually loads the handler into memory. Both actions should possibly be combined in a convenience function since one w/o the other doesn't seem to make much sense.
* don't send a 0 length buffer.Jonathan Blandford1999-10-281-1/+1
| | | | | | | 1999-10-28 Jonathan Blandford <jrb@redhat.com> * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): don't send a 0 length buffer.
* started work on the tiff non-incremental loader.Jonathan Blandford1999-10-281-1/+1
| | | | | | | | | | | | 1999-10-28 Jonathan Blandford <jrb@redhat.com> * src/io-tiff.c (image_load_increment): started work on the tiff non-incremental loader. * src/io-gif.c (image_load_increment): started work on the gif incremental loader. * src/gdk-pixbuf-io.h: Changed ModuleType to GdkPixbufModule.
* Make it build - FedericoArturo Espinosa1999-10-271-9/+14
|
* Fix typo that prevented compilation (gdk_pixbuf_loader_destroy): dittoHavoc Pennington1999-10-271-2/+2
| | | | | | | | 1999-10-27 Havoc Pennington <hp@pobox.com> * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_finalize): Fix typo that prevented compilation (gdk_pixbuf_loader_destroy): ditto
* Return a GdkPixbufLoader, not a GtkObject.Federico Mena Quintero1999-10-271-77/+109
| | | | | | | | | | | | | | | | | 1999-10-27 Federico Mena Quintero <federico@redhat.com> * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_new): Return a GdkPixbufLoader, not a GtkObject. (gtk_marshal_NONE__INT_INT_INT_INT): Made static. (gdk_pixbuf_loader_get_type): Documented. (gdk_pixbuf_loader_class_init): Initialize the parent class correctly. (gdk_pixbuf_loader_destroy): Added sanity checks. Call the parent class destroy function. (gdk_pixbuf_loader_new): Documented. (gdk_pixbuf_loader_finalize): Call the parent class finalize function. (gdk_pixbuf_loader_write): Use size_t for count.
* New function to create a blank pixbuf.Havoc Pennington1999-10-271-3/+8
| | | | | | | | | | | | 1999-10-27 Havoc Pennington <hp@pobox.com> * src/gdk-pixbuf.c (gdk_pixbuf_new): New function to create a blank pixbuf. * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Check all three progressive load funcs are non-NULL, rather than checking begin_load three times. Also, check whether begin_load returns NULL on failure.
* Fixed logic so we only try to close loader if it wasn't previously closed.Michael Fulbright1999-10-271-1/+1
| | | | | | | 1999-10-27 Michael Fulbright <msf@redhat.com> * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_destroy): Fixed logic so we only try to close loader if it wasn't previously closed.
* gdk-pixbuf-loader.c: Fixed init function to properly initialize allMichael Fulbright1999-10-271-0/+1
| | | | | | structure members. testpixbuf.c: Added call to close and destroy pixbuf loader properly.
* load the vtable fully.Jonathan Blandford1999-10-261-5/+5
| | | | | | 1999-10-26 Jonathan Blandford <jrb@redhat.com> * src/gdk-pixbuf-io.c (image_handler_load): load the vtable fully.
* Finished initial cut at the object.Jonathan Blandford1999-10-261-5/+125
| | | | | | 1999-10-26 Jonathan Blandford <jrb@redhat.com> * src/gdk-pixbuf-loader.c: Finished initial cut at the object.
* more work on the incremental loadingJonathan Blandford1999-10-261-19/+47
|
* started work on the loaderJonathan Blandford1999-10-261-0/+190