1. 10 Jun, 2000 1 commit
    • BST 2000  Adam D. Moss's avatar
      #include fixup. · 68405562
      BST 2000 Adam D. Moss authored
      Sat Jun 10 12:19:31 BST 2000  Adam D. Moss <adam@gimp.org>
      
              * plug-ins/libgck/gck/gckcolor.c: #include fixup.
      68405562
  2. 06 Jun, 2000 1 commit
    • Tor Lillqvist's avatar
      Test for help_path being non-NULL was wrong way. · 0285191f
      Tor Lillqvist authored
      2000-06-07  Tor Lillqvist  <tml@iki.fi>
      
      * app/gimphelp.c (gimp_help_netscape): Test for help_path being
      non-NULL was wrong way.
      
      * app/preferences_dialog.c (file_pref_cmd_callback): Change
      "From X Server" to "From windowing system".
      
      * app/makefile.cygwin: Update according to file name changes.
      
      * libgimp/gimp.def
      * libgimp/gimpui.def
      * libgimp/makefile.{cygwin,msc}: Update for Mitch's and Sven's
      changes.
      
      * plug-ins/libgck/gck/gckcolor.c: Include <glib.h> before
      gimpmath.h, so G_PI don't get redefined when glib.h is included
      later.
      
      From Hans Breuer, portability fixes for MSVC compilation:
      
      * app/dialog_handler.h: Bypass decalration of exported functions
      which are marked with G_MODULE_EXPORT in dialog_handler.c when
      compiling that file. Otherwise some compilers will get confused.
      
      * app/dialog_handler.c: Define a test macro for above bypass.
      
      * plug-ins/MapObject/mapobject_apply.c
      * plug-ins/MapObject/mapobject_image.c
      * plug-ins/MapObject/mapobject_shade.c: Include <string.h>.
      
      * plug-ins/flame/flame.c: Define S_ISREG if needed.
      
      * plug-ins/makefile.{cygwin,msc}: Updates.
      
      * plug-ins/sel2path/global.h: Include <stdlib.h>.
      
      * plug-ins/winsnap/winsnap.c: Include libgimp/gimpui.h.
      0285191f
  3. 17 Feb, 2000 1 commit
    • Michael Natterer's avatar
      new function gimp_color_button_double_new() which uses an array of gdouble · 52b8b75b
      Michael Natterer authored
      2000-02-18  Michael Natterer  <misch@gimp.org>
      
      	* libgimp/gimpcolorbutton.[ch]: new function
      	gimp_color_button_double_new() which uses an array of gdouble
      	instead uf guchar to store the color.
      
      	* libgimp/gimpwidgets.h: added macros for easier access of the
      	scale_entries widgets.
      
      	* plug-ins/common/film.c: use the scale_entry widget accessors.
      
      	* plug-ins/libgck/gck/Makefile.am
      	* plug-ins/libgck/gck/gckcolor.h
      	* plug-ins/libgck/gck/gcktypes.h
      	* plug-ins/libgck/gck/gckui.[ch]: removed.
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: left only the color functions in
      	libgck.
      
      	* plug-ins/Lighting/lighting_pixmaps.h
      	* plug-ins/MapObject/mapobject_pixmaps.h: removed (include the
      	pixmaps directly).
      
      	* po-plug-ins/POTFILES.in: added mapobject_ui.c.
      
      	* plug-ins/Lighting/lighting_image.c
      	* plug-ins/Lighting/lighting_main.[ch]
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_ui.[ch]
      	* plug-ins/MapObject/mapobject_image.[ch]
      	* plug-ins/MapObject/mapobject_main.[ch]
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_ui.[ch]: use gtk+ and libgimp
      	functions instead of gck ones, cleanups, I18N. More stuff to
      	come...
      52b8b75b
  4. 15 Apr, 1999 1 commit
    • Manish Singh's avatar
      applied gimp-lecorfec-99041[02]-0, changes follow · 141b6e8a
      Manish Singh authored
      * applied gimp-lecorfec-99041[02]-0, changes follow
      
      * plug-ins/FractalExplorer/Dialogs.h (make_color_map):
      replaced free with g_free to fix segfault.
      
      * plug-ins/Lighting/lighting_preview.c (compute_preview):
      allocate xpostab and ypostab only when needed (it could also be
      allocated on stack with a compilation-fixed size like MapObject).
      It avoids to lose some Kb on each preview :)
      Also reindented (unfortunate C-c C-q) some other lines.
      
      * plug-ins/Lighting/lighting_main.c (run):
      release allocated postabs.
      
      * plug-ins/Lighting/lighting_ui.c:
      callbacks now have only one argument because gck widget use
      gtk_signal_connect_object. Caused segfault for scale widget.
      
      * plug-ins/autocrop/autocrop.c (doit):
      return if image has only background (thus fixing a segfault).
      
      * plug-ins/emboss/emboss.c (pluginCore, emboss_do_preview):
      replaced malloc/free with g_malloc/g_free (unneeded, but
      shouldn't everyone use glib calls ? :)
      
      * plug-ins/flame/flame.c :
      replaced a segfaulting free, and several harmless malloc/free pairs.
      
      * plug-ins/flame/megawidget.c (mw_preview_build):
      replaced harmless malloc/free pair.
      Note : mwp->bits is malloc'ed but seems to be never freed.
      
      * plug-ins/fractaltrace/fractaltrace.c (pixels_free):
      replaced a bunch of segfaulting free.
      (pixels_get, dialog_show): replaced gtk_signal_connect_object
      with gtk_signal_connect to accomodate callbacks (caused STRANGE
      dialog behaviour, coz you destroyed buttons one by one).
      
      * plug-ins/illusion/illusion.c (dialog):
      same gtk_signal_connect_object replacement for same reasons.
      
      * plug-ins/libgck/gck/gckcolor.c :
      changed all gck_rgb_to_color* functions to use a static GdkColor
      instead of a malloc'ed area. Provided reentrant functions with
      the old behaviour (gck_rgb_to_color*_r). Made some private functions
      static, too.
      gck_rgb_to_gdkcolor now use the new functions while
      gck_rgb_to_gdkcolor_r is the reentrant version.
      Also affected by this change: gck_gc_set_foreground and
      gck_gc_set_background (no more free(color)).
      
      * plug-ins/libgck/gck/gckcolor.h :
      added the gck_rgb_to_gdkcolor_r proto.
      
      * plug-ins/lic/lic.c (ok_button_clicked, cancel_button_clicked) :
      segfault on gtk_widget_destroy, now calls gtk_main_quit.
      (dialog_destroy) : segfault on window closure when called by
      "destroy" event. Now called by "delete_event".
      
      * plug-ins/megawidget/megawidget.c (mw_preview_build):
      replaced harmless malloc/free pair.
      Note : mwp->bits is malloc'ed but seems to be never freed.
      
      * plug-ins/png/png.c (load_image):
      replaced 2 segfaulting free.
      
      * plug-ins/print/print-ps.c (ps_print):
      replaced a segfaulting free (called many times :).
      
      * plug-ins/sgi/sgi.c (load_image, save_image):
      replaced a bunch of segfaulting free, and did some harmless
      inits to avoid a few gcc warnings.
      
      * plug-ins/wind/wind.c (render_wind):
      replaced a segfaulting free.
      (render_blast): replaced harmless malloc/free pair.
      
      * plug-ins/bmp/bmpread.c (ReadImage):
      yet another free()/g_free() problem fixed.
      
      * plug-ins/exchange/exchange.c (real_exchange):
      ditto.
      
      * plug-ins/fp/fp.h: added Frames_Check_Button_In_A_Box proto.
      * plug-ins/fp/fp_gtk.c: closing subdialogs via window manager
      wasn't handled, thus leading to errors and crashes.
      Now delete_event signals the dialog control button
      to close a dialog with the good way.
      
      * plug-ins/ifscompose/ifscompose.c (value_pair_create):
      tried to set events mask on scale widget (a NO_WINDOW widget).
      
      * plug-ins/png/png.c (save_image):
      Replaced 2 free() with g_free() for g_malloc'ed memory.
      Mysteriously I corrected the loading bug but not the saving one :)
      
      -Yosh
      141b6e8a
  5. 22 Oct, 1998 1 commit
    • Manish Singh's avatar
      libgimp/Makefile.am fix --disable-static compilation · 76d4ba71
      Manish Singh authored
      * libgimp/Makefile.am
      * configure.in: fix --disable-static compilation
      
      * gimptool.in: use the right dir for scripts. Strip out path
      from the compiled bin
      
      * app/colormaps.c: comment out unused gamma_correct function
      
      * app/layer.c: #include "libgimp/parasite.h"
      
      * app/paint_funcs.c: convert icky C++ comments
      
      * plug-ins/mosaic/mosaic.c
      * plug-ins/cubism/cubism.c: cleanups
      
      * plug-ins/libgck/gck/gckcolor.c: fix adaptive supersampling bug
      
      -Yosh
      76d4ba71
  6. 13 Apr, 1998 1 commit
  7. 20 Mar, 1998 1 commit
  8. 20 Feb, 1998 1 commit
  9. 18 Dec, 1997 1 commit
  10. 08 Dec, 1997 1 commit
  11. 24 Nov, 1997 1 commit