1. 30 Apr, 2000 1 commit
  2. 26 Feb, 2000 1 commit
  3. 07 Feb, 2000 1 commit
    • Michael Natterer's avatar
      app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and · ef178669
      Michael Natterer authored
      2000-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/*
      	* libgimp/*
      	* plug-ins/*
      	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
      	s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/
      
      	* libgimp/gimpcolorspace.c: renamed the parameter names to match
      	the names in the header.
      
      	* libgimp/gimphelpui.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
      	all over the place (enables cross-referencing with the glib and
      	gtk+ html documentation).
      
      	* plug-ins/common/exchange.c
      	* plug-ins/common/max_rgb.c: small cleanups.
      
      	* plug-ins/common/mapcolor.c: the color buttons were attached in
      	the wrong order.
      ef178669
  4. 04 Feb, 2000 1 commit
    • Michael Natterer's avatar
      gimprc.in user_install renamed the "gflares" dir to "gflare" in all places · e20554fb
      Michael Natterer authored
      2000-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* user_install
      	* user_install.bat: renamed the "gflares" dir to "gflare" in all
      	places because this seems to be the naming convention of all the
      	other plug-in dirs.
      
      	* libgimp/gimpwidgets.[ch]:
      
      	- gimp_random_seed_new(): return the spinbutton and the time
      	  toggle as pointers.
      	- gimp_scale_entry_new(): allow the spinbutton to have a larger
      	  range of possible values than the scale.
      
      	* plugins/[all calls to the above two functions]: changed the
      	calls accordingly.
      	Did some more ui updates in some of these plugins (Frames saying
      	"Parameter Settings", spacing etc.)
      
      	* plug-ins/gflare/Makefile.am
      	* plug-ins/gflare/gflare.c: hacked it to match the plugin ui
      	standards. Didn't get rid of the gradient menus.
      e20554fb
  5. 31 Jan, 2000 2 commits
  6. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am · fa30ba04
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* po-plug-ins/POTFILES.in
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/megawidget/*: removed. (There were only 3 functions
      	left which were used by ~5 plugins, so I moved the resp. functions
      	to the plugins). More preview stuff to come...
      
      	* app/airbrush_blob.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use G_PI instead of M_PI.
      
      	* app/procedural_db.h
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
      	indicates that "Cancel" was pressed in a plugin dialog. (Useful
      	only for file load/save plugins).
      
      	* app/fileops.[ch]
      	* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
      	code cleanup in fileops.[ch]. Pop up a warning if File->Save
      	failed.
      
      	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
      	PDB_INT32.
      
      	* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
      	RAND_MAX if it exists or to G_MAXINT otherwise.
      
      	* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
      	which creates a spinbutton and a "Time" toggle.
      	Call the function which does the "set_sensitive" magic from the
      	radio button callback.
      
      	* plug-ins/[75 plugins]:
      
      	- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
      	  was pressed.
      	- Standardized the file plugins' "run" functions.
      	- Use G_PI and G_MAXRAND everywhere.
      	- Added tons of scales and spinbuttons instead of text entries.
      	- Applied uniform packing/spacings all over the place.
      	- Reorganized some UIs (stuff like moving the preview to the top
      	  left corner of the dialog).
      	- Removed many ui helper functions and callbacks and use the stuff
      	  from libgimp instead.
      	- I tried not to restrict the range of possible values when I
      	  replaced entries with spinbuttons/scales but may have failed,
      	  though in some cases. Please test ;-)
      	- #include <libgimp/gimpmath.h> where appropriate and use it's
      	  constants.
      	- Indentation, s/int/gint/ et.al., code cleanup.
      
      	RFC: The plugins are definitely not useable with GIMP 1.0 any
      	     more, so shouldn't we remove all the remaining compatibility
      	     stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
      fa30ba04
  7. 17 Jan, 2000 1 commit
    • Michael Natterer's avatar
      emit the "color_changed" signal whenever the user selects "Use FG/BG · 2f4a226e
      Michael Natterer authored
      2000-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpcolorbutton.c: emit the "color_changed" signal
      	whenever the user selects "Use FG/BG Color" from the popup menu.
      
      	* libgimp/gimpwidgets.c: gimp_table_attach_aligned(): allow the
      	function to be called with label == NULL.
      
      	* plug-ins/AlienMap/AlienMap.c
      	* plug-ins/AlienMap2/AlienMap2.c
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/oilify.c
      	* plug-ins/common/sel_gauss.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/smooth_palette.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/video.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/sgi/sgi.c: more ui updates.
      2f4a226e
  8. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      make sure that the help signals are created for all widget classes where · b9ff3807
      Michael Natterer authored
      2000-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimphelpui.c: make sure that the help signals are
      	created for all widget classes where we need them.
      
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gicon.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/glasstile.c
      	* plug-ins/common/gpb.c
      	* plug-ins/common/gqbist.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/gtm.c: more plugins which use the dialog
      	constructor. Did some code formating and indentation.
      b9ff3807
  9. 24 Dec, 1999 1 commit
  10. 23 Nov, 1999 1 commit
  11. 20 Nov, 1999 1 commit
    • CET 1999 Olof S Kylander's avatar
      plug-ins/AlienMap/AlienMap.c plug-ins/AlienMap2/AlienMap2.c · 48c7eb05
      CET 1999 Olof S Kylander authored
      Sat Nov 20 19:52:30 CET 1999 Olof S Kylander <olof@gimp.org>
      
              * plug-ins/AlienMap/AlienMap.c
              * plug-ins/AlienMap2/AlienMap2.c
              * plug-ins/FractalExplorer/FractalExplorer.c
              * plug-ins/common/CML_explorer.c
              * plug-ins/common/checkerboard.c
              * plug-ins/common/diffraction.c
              * plug-ins/common/exchange.c
              * plug-ins/common/gqbist.c
              * plug-ins/common/gradmap.c
              * plug-ins/common/grid.c
              * plug-ins/common/lic.c
              * plug-ins/common/mapcolor.c
              * plug-ins/common/newsprint.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/scatter_hsv.c
              * plug-ins/common/snoise.c
              * plug-ins/common/warp.c
              * plug-ins/flame/flame.c
              * plug-ins/ifscompose/ifscompose.c
              * plug-ins/maze/maze.c
      
              Updated menu location as suggested in the proposal from me
              with comments form others. (Mitch what about fixing the sub
              menu location so submenus allways is in top of a menu. Exception
              of Repeat last, Re-show last and Filter all Layers, which should
              be in top of the Filters menu.)
      48c7eb05
  12. 24 Oct, 1999 1 commit
  13. 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
  14. 17 Mar, 1999 1 commit
  15. 02 Jul, 1998 1 commit
  16. 31 May, 1998 1 commit
  17. 13 Apr, 1998 1 commit
  18. 19 Mar, 1998 1 commit
    • Adrian Likins's avatar
      *AlienMap/AlienMap.c CEL/CEL.c CML_explorer/CML_explorer.c · 5e5dd448
      Adrian Likins authored
              align_layers/align_layers.c animationplay/animationplay.c
              bmp/bmpwrite.c dbbrowser/dbbrowser.c emboss/emboss.c
              exchange/exchange.c faxg3/faxg3.c faxg3/g3.c gbr/gbr.c
              gif/gif.c gqbist/gqbist.c hot/hot.c ifscompose/ifscompose.c
              iwarp/iwarp.c max_rgb/max_rgb.c maze/maze_face.c
              megawidget/megawidget.c mpeg/mpeg.c nlfilt/nlfilt.c pcx/pcx.c
              plasma/plasma.c pnm/pnm.c print/print-escp2.c
              print/print-pcl.c print/print.c scatter_hsv/scatter_hsv.c
              script-fu/script-fu-scripts.c script-fu/script-fu.c
              sinus/sinus.c tga/tga.c tileit/tileit.c
              vpropagate/vpropagate.c xpm/xpm.c:  More picky picky ansi type
              stuff from gimp-hpux-980316.patch.
      
      	isnt big patches fun?
      
      -adrian
      5e5dd448
  19. 16 Mar, 1998 1 commit
  20. 15 Mar, 1998 1 commit
    • Tim Janik's avatar
      also destroy the main dialog if the "Cancel" button is clicked. · 81432a05
      Tim Janik authored
      Sun Mar 15 06:15:37 1998  Tim Janik  <timj@gimp.org>
      
              * plug-ins/exchange/exchange.c (doDialog): also destroy the main dialog
                      if the "Cancel" button is clicked.
      
                              * plug-ins/flame/flame.c: use gtk_quit_add_destroy instead of
                                      gtk_quit_add (,gtk_widget_destroy,), i should have really known
                                              better since i wrote gtk_quit_add_destroy() exclusively for the gimp ;)
                                                      * app/tips_dialog.c (tips_dialog_create): likewise.
                                                              * app/indexed_palette.c (indexed_palette_create): likewise.
                                                                      * app/fileops.c (file_open_callback): likewise.
                                                                              * app/fileops.c (file_save_as_callback): likewise.
      
                                                                              Sun Mar 15 03:54:58 1998  Tim Janik  <timj@gimp.org>
      
                                                                                      * plug-ins/AlienMap/AlienMap.c: show/hide about dialog, don't affect
                                                                                              the main dialog.
      81432a05
  21. 30 Jan, 1998 1 commit
  22. 25 Jan, 1998 1 commit
  23. 24 Nov, 1997 1 commit