1. 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):
      * 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 :)
  2. 08 Apr, 1999 1 commit
  3. 30 Mar, 1999 1 commit
  4. 29 Mar, 1999 4 commits
  5. 28 Mar, 1999 1 commit
  6. 20 Mar, 1999 2 commits
  7. 19 Mar, 1999 1 commit
    • EST 1999 Adrian Likins's avatar
      added a from: field, made it check gimprc for a gump-from field (per · 04fb65d8
      EST 1999 Adrian Likins authored
      Fri Mar 19 04:01:04 EST 1999 Adrian Likins <adrian@gimp.org>
              * plug-ins/mail/mail.c: added a from: field, made
              it check gimprc for a gump-from field (per request
              by tigert). fixed it so it would actually use
              the last vals properly.
              * plug-ins/gap/Makefile.am: removed the SUBDIRS line
              so it at least builds. Probabaly not the right fix,
              but while I'm committing...
  8. 17 Mar, 1999 2 commits
  9. 16 Mar, 1999 1 commit
    • Michael Natterer's avatar
      This implements the rest of the unit system (unitrc loading and saving and · 5e8ee554
      Michael Natterer authored
      1999-03-16  Michael Natterer  <mitschel@cs.tu-berlin.de>
              This implements the rest of the unit system (unitrc loading and
              saving and full PDB interface)
              * Makefile.am
              * gimp.1
              * user_install
              * user_install.bat
              * unitrc: new file (default unit database) and some documentation
              * app/Makefile.am
              * app/gimpunit.c
              * app/gimpunit_cmds.h
              * app/unitrc.h: new files enabling the unit database and PDB
              access to the unit system
              * app/app_procs.c: parse and save unitrc
              * app/gimprc.[ch]: enable unit parsing. New function
              init_parse_buffers() to enable unitrc to be loaded before gimprc
              * app/gimage_cmds.[ch]: new PDB procedures which set/return an
              image's unit
              * app/install.c: mention unitrc installation
              * app/xcf.c: new xcf property for user defined units. An image's
              unit is saved as either an integer ID (built in units) or as
              a full unit definition without any ID
              * libgimp/Makefile.am: moved gimpunit.o from libgimpi.a to
              * libgimp/gimp.h
              * libgimp/gimpimage.c: get/set an image's unit with PDB calls
              * libgimp/gimpunit.h: this file is now the header for both
              app/gimpunit.c and libgimp/gimpunit.c
              * libgimp/gimpunit.c: does the unit calls as PDB calls now
              * libgimp/gimpunitmenu.[ch]: enable user unit functionality and a
              unit selection dialog
              * libgimp/gimpsizeentry.c: disble hilighting on focus_in_event and
              minor bugfixes
              * plug-ins/tiff/tiff.c: set image unit to "mm" if tiff unit is
              "cm", save "cm" if image unit is metric
  10. 15 Mar, 1999 1 commit
  11. 12 Mar, 1999 1 commit
    • GMT 1999 Andy Thomas's avatar
      Changed:- · 73833545
      GMT 1999 Andy Thomas authored
      Fri Mar 12 21:30:57 GMT 1999 Andy Thomas <alt@gimp.org>
      	* app/bezier_select.c
      	* app/paths_dialog.c
      	Some code cleanups and bug fixes. Fixed problem with "copy" path
      	producing very long names.
      	Added functionality to import/export paths to files. (It was
      	there before!)
      	Also added some new bezier_stroke code that Shuji Narazaki posted
      	to the gimp-devel list.
      	* plug-ins/plugindetails/plugindetails.c
      	Removed unwanted <regex.h>.
      	Thanks to Tan Koan-Sin <freedom@csie.nctu.edu.tw> for pointing
      	this out.
  12. 11 Mar, 1999 1 commit
  13. 01 Mar, 1999 1 commit
    • jaycox's avatar
      added gimphistogram*, histogramwidget*, removed histogram.[ch] · 6ae2a9bc
      jaycox authored
      	* app/Makefile.am: added gimphistogram*, histogramwidget*,
      	removed histogram.[ch]
      	* app/histogram.[ch]: removed.  replaced with histogramwidget.[ch].
      	* app/{gimphistogramP.h, gimphistogram.h, gimphistogram.c}: new
       	functions that calculate histograms in parallel and perform
       	calculations on them.
      	* app/histogramwidget.[ch]: Same as old histogram.[ch], only it is
       	now a real widget, and it uses GimpHistograms instead of arrays of
      	* app/curves.c: #include gimphistogram.h instead of histogram.h.
      	* app/equalize.c: use GimpHistogram and GimpLut.
      	* app/gimpbrush.c, app/gimpimage.c, app/gimpset.c: use
      	GTK_RUN_FIRST in calls to gimp_signal_new.
      	* app/histogram_tool.c, app/levels.c, app/threshold.c: modified to
       	use the new HistogramWidget.
      	* app/paint_funcs.c: removed some unused variables.
      	* app/preferences_dialog.c: only display the num-processor field
       	if we are configured --with-mp
      	* plug-ins/gee/gee.c: removed a couple of c++ style comments.
  14. 27 Feb, 1999 1 commit
    • GMT 1999  Adam D. Moss's avatar
      When a gimage's colourmap is changed, implicitly queue an update of the · 4e2fdd28
      GMT 1999 Adam D. Moss authored
      Sat Feb 27 16:54:51 GMT 1999  Adam D. Moss  <adam@gimp.org>
      	* app/gimage_cmds.c: When a gimage's colourmap is changed,
      	implicitly queue an update of the whole gimage.
      	* plug-ins/vinvert/vinvert.c: Speed up - iterate over
      	regions, not rows.
      	* plug-ins/autostretch_hsv/autostretch_hsv.
      	* plug-ins/c_astretch/c_astretch.c
      	* plug-ins/normalize/normalize.c
      	* plug-ins/vinvert/vinvert.c:
      	Remove the explicit (and actually incorrect) update when
      	changing a gimage's colourmap.
  15. 23 Feb, 1999 1 commit
    • GMT 1999 Adam D. Moss's avatar
      Moved the RunModeType enum into the header so we can use it elsewhere · e51f6f66
      GMT 1999 Adam D. Moss authored
      Tue Feb 23 00:05:39 GMT 1999 Adam D. Moss <adam@gimp.org>
      	* app/plug_in.c
      	app/plug_in.h: Moved the RunModeType enum
      	into the header so we can use it elsewhere (e.g. fileops)
      	* plug-ins/gif/gif.c
      	plug-ins/jpeg/jpeg.c: Don't show progress-bars if we're
      	running noninteractively.  This makes thumbnail updating
      	look more pleasant.  Try to do the same for all file plugins
      	(and others)!
      	* app/fileops.c: Reworked the thumbnail display again, fixed
      	some buglets, file_open_image() is RunMode aware, added some
      	tweaks, rhubarb rhubarb, merged in some 'cosmetic' tweaks
      	from Marco.
  16. 22 Feb, 1999 1 commit
    • Adam D. Moss's avatar
      1999-02-22 adam, blah blah · da5acc39
      Adam D. Moss authored
              * app/appenv.h: fixed a macro bug waiting to happen
              * plug-ins/gee/gee.c: some crappy tweaks
              * plug-ins/psd/psd.c: debugging turned off
  17. 19 Feb, 1999 1 commit
  18. 06 Feb, 1999 1 commit
    • GMT 1999 Andy Thomas's avatar
      Changed:- plug-ins/plugindetails/plugindetails.c app/devices.c · 21b8bcde
      GMT 1999 Andy Thomas authored
      Sat Feb  6 16:22:36 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
      	Tidy up of plugindesc UI. Can now resize correctly.
      	Fixed problem with session saving. If the active dialog
      	was not one on the toolbox (eg Histogram) then an error would
      	be produced the next time gimp is run up.
  19. 04 Feb, 1999 1 commit
  20. 27 Jan, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      oops - should use the image resolution, not the screen resolution. D'oh! · ee5f8986
      GMT 1999 Austin Donnelly authored
      Wed Jan 27 21:52:43 GMT 1999  Austin Donnelly  <austin@gimp.org>
      	* app/scale.c: oops - should use the image resolution, not the
      	    screen resolution.  D'oh!
      	* app/gimpdrawable.c: only merge shadow image if there actually is
      	* plug-ins/emboss/emboss.c: small optimisation: use
       	    gimp_drawable_mask_bounds() to calculate only the pixels that
       	    are actually in the selection.
  21. 23 Jan, 1999 1 commit
    • GMT 1999  Adam D. Moss's avatar
      Multi-line comments, a little more sanity-checking. · 176ea8da
      GMT 1999 Adam D. Moss authored
      Sat Jan 23 18:43:23 GMT 1999  Adam D. Moss  <adam@gimp.org>
      	* plug-ins/gif/gif.c: Multi-line comments, a little more
      	* app/convert.c: Cosmetic changes to the warning about having
      	too many colours for saving transparent/animated GIFs.
      	* app/gdisplay.c: Titlebar is correctly updated upon revert.
      	* app/paint_funcs.c: Minor improvement.
      	* docs/parasites.txt: Minor amendments.
      	* plug-ins/jpeg/jpeg.c: Minor code comment amendments.
  22. 18 Jan, 1999 1 commit
  23. 16 Jan, 1999 1 commit
  24. 15 Jan, 1999 1 commit
  25. 13 Jan, 1999 1 commit
  26. 12 Jan, 1999 1 commit
  27. 11 Jan, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      Bit of a large checkin this - it's basically three things: 1 - GimpModules · d8be79f0
      GMT 1999 Austin Donnelly authored
      Sun Jan 11 00:24:21 GMT 1999  Austin Donnelly  <austin@greenend.org.uk>
      	Bit of a large checkin this - it's basically three things:
      	  1 - GimpModules using gmodules to dynamically load and
      	       initialise modules at gimp start of day.
      	  2 - Color selectors now register themselves with a color
      	  3 - progress bars have been cleaned up a bit, so now have
      	       progress indictations on all transform tool and gradient
      	       fill operations.  Not done bucket fill, but that seems to
      	       be the next candidate.
      	New directories:
      	* modules/: new directory for dynamically loadable modules.
      	New files:
      	* modules/.cvsignore
      	* modules/Makefile.am
      	* modules/colorsel_gtk.c: GTK color selector wrapped up as a
      	    color selector the gimp can use.
      	* app/gimpprogress.[ch]: progress bars within gimp core, either as
      	    popups, or in the status bar.  This is mainly code moved out
      	    of plug-in.c
      	* app/color_notebook.[ch]: color selector notebook, implementing
      	    very similar interface to color_select.h so it can be used as
      	    a drop-in replacement for it.
      	* libgimp/color_selector.h: API color selectors need to implement
      	    to become a page in the color_notebook.
      	* libgimp/gimpmodule.h: API gimp modules need to implement to be
      	    initialised by gimp at start of day.
      	Modified files:
      	* Makefile.am: add modules/ to SUBDIRS
      	* libgimp/Makefile.am: install gimpmodule.h and color_selector.h
      	* app/gimprc.[ch]: recognise module-path variable.
      	* gimprc.in: set module-path variable to something sensible
      	    (currently "${gimp_dir}/modules:${gimp_plugin_dir}/modules").
      	* app/Makefile.am: build color notebook and gimpprogress
      	* app/app_procs.c: register internal GIMP color selector with
      	    color notebook.
      	* app/asupsample.c: call progress function less frequently for
      	    better performance.
      	* app/asupsample.h: progress_func_t typedef moved to gimpprogress.h
      	* app/blend.c: make callbacks to a progress function
      	* app/color_area.c: use a color notebook rather than a color selector
      	* app/color_panel.c: ditto
      	* app/color_select.c: export color selector interface for notebook
      	* app/color_select.h: color_select_init() prototype
      	* app/flip_tool.c: flip the image every time, rather than every
      	    second click.
      	* app/interface.c: move progress bar stuff out to
      	    gimpprogress.c.  Make the code actually work while we're at it.
      	* app/interface.h: move prototypes for progress functions out to
      	* app/plug_in.c: load and initialise modules (if possible). Move
      	    progress bar handling code out to gimpprogress.c
      	* app/plug_in.h: keep only a gimp_progress * for each plugin, not
      	    a whole bunch of GtkWidgets.
      	* app/scale_tool.c
      	* app/rotate_tool.c
      	* app/shear_tool.c
      	* app/perspective_tool.c: progress bar during operation.
      	    De-sensitise the dialog to discourage the user from running
      	    two transforms in parallel.
      	* app/transform_core.c: recalculate grid coords when bounding box
      	    changes.  Only initialise the action area of the dialog once,
      	    to avoid multiple "ok" / "reset" buttons appearing.  Undraw
      	    transform tool with correct matrix to get rid of handle
      	    remains on screen.  Call a progress function as we apply the
      	    transform matrix.  A few new i18n markups.  Invalidate
      	    floating selection marching ants after applying matrix.
      	* app/transform_core.h: transform_core_do() takes an optional
      	    progress callback argument (and data).
      	* plug-ins/oilify/oilify.c: send progress bar updates after every
      	    pixel region, not only if they processed a multiple of 5
      	    pixels (which was quite unlikely, and therefore gave a jerky
      	    progress indication).
  28. 10 Jan, 1999 2 commits
  29. 03 Jan, 1999 1 commit
  30. 02 Jan, 1999 2 commits
  31. 20 Dec, 1998 1 commit
  32. 16 Dec, 1998 1 commit
    • jaycox's avatar
      libgimp/gserialize.c Changed the enum values to allow for simpler future · fe3fa4e2
      jaycox authored
      	* libgimp/gserialize.c
      	* libgimp/gserialize.h: Changed the enum values to allow for
       	simpler future expansion.
      	* libgimp/parasite.c
      	* libgimp/parasite.h: s/persistant/persistent/.
       	new accessor functions for parasites.  #defines for new flags.
      	* app/paintbrush.c: added timeing code for brush strokes.
        	It is #ifed out, and is only valid for shift clicks.
      	* app/parasite_cmds.h: fixed a warning
      	* app/parasitelist.h
      	* app/parasitelist.c: added _for_each and _length functions
      	* app/gimpdrawable.c:  set the dirty flag when adding or removing a
       	persistent parasite
      	* app/gimpimage.c: set the dirty flag when adding or removing a
       	persistent parasite.  Fixed bug and removed debug statements in
      	* app/xcf.c: save and load resolution, parasites, and tattoos.
      	* app/main.c: updated the deserialize test.
      	* plug-ins/tiff/tiff.c
      	* plug-ins/gif/gif.c: use PARASITE_PERSISTENT define instead of 1
      	* plug-ins/bmp/bmp.c
      	* plug-ins/bmp/bmp.h: declare some struct variable as extern.
      	* app/paint_funcs.c: Lots of optimizations aimed at speeding up
       	painting.  Should see a 2-4X speed up on most painting
       	(depending on paint modes, brush size etc.)
      	* app/drawable.c: check for NULL drawable in drawable_ID.
        	this stops us from being crashed by ill-behaved plug-ins
  33. 05 Dec, 1998 1 commit
    • GMT 1998  Austin Donnelly's avatar
      app/commands.[ch] app/edit_selection.c app/gdisplay.[ch] · ccfeb254
      GMT 1998 Austin Donnelly authored
      Sat Dec  5 21:31:57 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
      	* app/commands.[ch]
      	* app/edit_selection.c
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/image_render.c
      	* app/info_window.c
      	* app/magnify.c
      	* app/menus.c
      	* app/scale.c: image rendering now happens with float scale
      	factors, independent in X and Y axes.  Turning on dot-for-dot in view
      	menu does what gimp always used to do (ie one image pixel becomes
      	one monitor pixel).  Dot-for-dot is on by default so people
      	shouldn't notice any difference unless they load an image that's
      	not at 72 dpi and also turn off dot-for-dot.
      	* app/app_procs.c
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: new gimprc options
      	(monitor-xresolution <float>) and corresponding
       	(monitor-yresolution <float>).  Uglyness in preferences dialog to
      	add a "Monitor" page to the notebook, allowing user to set their
      	monitor's resolution or take it from the X server instead.  This
      	badly needs cleaned up :(
      	* plug-ins/newsprint/newsprint.c: oops - this hasn't been working
      	for grayscale images since my last checkin.  Now fixed.