1. 15 Apr, 1999 7 commits
    • 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
    • Manish Singh's avatar
      Added drawable_set_image · 6f386957
      Manish Singh authored
      -Yosh
      6f386957
    • Manish Singh's avatar
      More doh · b95eb215
      Manish Singh authored
      -Yosh
      b95eb215
    • Manish Singh's avatar
      Doh.. wrong version · f4f8117d
      Manish Singh authored
      -Yosh
      f4f8117d
    • Manish Singh's avatar
      New plugin, gdyntext · c6009943
      Manish Singh authored
      -Yosh
      c6009943
    • BST 1999 Andy Thomas's avatar
      Changed:- · 3477483c
      BST 1999 Andy Thomas authored
      Thu Apr 15 21:20:45 BST 1999 Andy Thomas <alt@gimp.org>
      
      	Changed:-
      
      	* app/color_picker.c
      
      	Added UI feedback to the tool when using the sample average
      	option.
      	Fixed the scale of the sample area to be integral (is this right?).
      3477483c
    • Sven Neumann's avatar
      Small error fixed, renamed the tool. · 712b38cd
      Sven Neumann authored
      
      --Sven
      712b38cd
  2. 14 Apr, 1999 4 commits
  3. 13 Apr, 1999 7 commits
    • BST 1999 Andy Thomas's avatar
      Changed:- · 3a9d0e7d
      BST 1999 Andy Thomas authored
      Wed Apr 14 00:27:53 BST 1999 Andy Thomas <alt@gimp.org>
      
      	Changed:-
      
      	* Makefile.am
      
      	Added new pixmap file to Makefile.am EXTRA_DIST
      3a9d0e7d
    • BST 1999 Andy Thomas's avatar
      Changed:- · d5fad959
      BST 1999 Andy Thomas authored
      Tue Apr 13 22:17:23 BST 1999 Andy Thomas <alt@gimp.org>
      
      	Changed:-
      
      	* app/bezier_select.c
      	* app/bezier_select.h
      	* app/pathsP.h
      	* app/paths_dialog.c
      	* app/transform_core.c
      	* app/transform_core.h
      	* app/undo.c
      
      	New:-
      
      	* pixmap/locked.xpm
      
      	New image. (Your welcome to improve upon it...)
      
      	Paths can now be locked down for transformations. Click next to the
      	paths preview and a icon will appear. This path will "locked" during
      	transformations (via the transforms tool). Undo for these path
      	transformations is also available.
      
      	Fixed bug when creating a path for the first time when no paths dialog
      	visible.
      d5fad959
    • Manish Singh's avatar
      Version number bump · 4393d5bd
      Manish Singh authored
      -Yosh
      4393d5bd
    • Manish Singh's avatar
      added GIMP_CHECK_VERSION macro and a features #define for 1.1.5 · a11b5b68
      Manish Singh authored
      * libgimp/gimpfeatures.h.in: added GIMP_CHECK_VERSION macro and
      a features #define for 1.1.5
      
      * app/misc_cmds.c: added a gimp_version PDB function that
      returns the current version (new file)
      
      * app/internal_procs.c: register gimp_version PDB function
      
      -Yosh
      a11b5b68
    • Manish Singh's avatar
      code cleanup · 4151b821
      Manish Singh authored
      * app/boundary.c: code cleanup
      
      * app/levels.c: applied gimp-lecorfec-990314-0, added spin buttons
      to the levels dialog
      
      * plug-ins/script-fu/scripts/font-map.scm: changes for updated
      gimp_text interface
      4151b821
    • Marc Lehmann's avatar
      *** empty log message *** · d4f1cf4e
      Marc Lehmann authored
      d4f1cf4e
    • Marc Lehmann's avatar
      see plug-ins/perl/Changes · 3689589e
      Marc Lehmann authored
      3689589e
  4. 12 Apr, 1999 3 commits
    • Sven Neumann's avatar
      Some more funky crop stuff. · 001b1922
      Sven Neumann authored
      
      --Sven
      001b1922
    • Michael Natterer's avatar
      Checked in wrong version before. · c79944a4
      Michael Natterer authored
      c79944a4
    • Michael Natterer's avatar
      app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c · 8dbd5f9b
      Michael Natterer authored
      1999-04-12  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              * app/airbrush.c
              * app/bezier_select.c
              * app/blend.c
              * app/brightness_contrast.c
              * app/bucket_fill.c
              * app/by_color_select.c
              * app/clone.c
              * app/color_balance.c
              * app/color_picker.c
              * app/convolve.c
              * app/crop.c
              * app/curves.c
              * app/ellipse_select.c
              * app/eraser.c
              * app/flip_tool.c
              * app/free_select.c
              * app/fuzzy_select.c
              * app/histogram_tool.c
              * app/hue_saturation.c
              * app/ink.c
              * app/iscissors.c
              * app/levels.c
              * app/magnify.c
              * app/move.c
              * app/paintbrush.c
              * app/pencil.c
              * app/posterize.c
              * app/rect_select.[ch]
              * app/text_tool.c
              * app/threshold.c
              * app/transform_tool.c
      
              * app/tools.[ch]
              * app/toolsF.h: again: all tools :(
      
              * app/Makefile.am
              * app/tool_options.[ch]
              * app/selection_options.h
              * app/tool_options_ui.h: new files.
      
              Ok, this time it's general enough for future extensions:
      
              - The tool options structures are organized like the gtk object
                system to allow derived tool options.
              - Renamed all create and reset functions to *_options_new() and
                *_options_reset() to reflect this.
              - Changed tools_register() again. Now it takes just a pointer to a
                ToolOptions structure.
              - Moved almost the entire tool options gui code to tool_options.c.
              - Visually separated the common selection options from the
                tool-specific ones. I'd like to do the same with opacity/paint
                mode in all paint tool options but I think this needs some more
                discussion.
      
              * app/histogram_tool.c: changed packing boxes, label alignments.
      
              * app/paintbrush.c: some more sensitive settings. The gradient
              feature can now be toggled with a button. Hopefully didn't break
              anything.
      8dbd5f9b
  5. 11 Apr, 1999 4 commits
  6. 10 Apr, 1999 8 commits
    • Manish Singh's avatar
      doh, XLFD stuff is in decipoints · c5559888
      Manish Singh authored
      * app/text_tool_cmds.c: doh, XLFD stuff is in decipoints
      
      * app/color_cmds.h: removed
      
      * app/color_cmds.c: pdbgened file now
      
      * app/lut_funcs.h: export ChannelLutType enum
      
      * app/internal_procs.c: register pdbgened color procs
      
      * app/menus.c: reverted keyboard underlines since they need more discussion
      
      -Yosh
      c5559888
    • Manish Singh's avatar
      Stuff · 43f63f9f
      Manish Singh authored
      -Yosh
      43f63f9f
    • BST 1999 Adam D. Moss's avatar
      Velocity-sensitivity added to ink tool. · 784ecce7
      BST 1999 Adam D. Moss authored
      Sat Apr 10 15:48:46 BST 1999 Adam D. Moss <adam@gimp.org>
      
              * app/ink.c: Velocity-sensitivity added to ink tool.
      784ecce7
    • Manish Singh's avatar
      new file (from pdbgen) · d6116b8d
      Manish Singh authored
      * text_tool_cmds.c: new file (from pdbgen)
      
      * Makefile.am: add new file, use AM_CPPFLAGS instead of CPPFLAGS
      
      * internal_procs.c: register pdbgened text_tool procs
      
      * text_tool.c: remove PDB stuff, export text_render and
      text_get_extents and SizeType and SUPERSAMPLE symbols
      
      * text_tool.c: remove PDB stuff
      
      * blend.[ch]
      * bucket_fill.[ch]
      * clone.[ch]
      * convolve.[ch]: export some enums
      
      * channel.h
      * paint_core.h: #define->enum
      
      * channel.c
      * gimpparasite.c
      * parasitelist.c
      * pixel_processor.c: warning cleanup
      
      * convert_cmds.c
      * paths_cmds.c: slight pdbgen changes
      
      -Yosh
      d6116b8d
    • Manish Singh's avatar
      Lossa stuff · 66c75cb5
      Manish Singh authored
      -Yosh
      66c75cb5
    • Manish Singh's avatar
      583ecaad
    • jaycox's avatar
      new file containing typedef for GimpHistogram. · 3ece2f7e
      jaycox authored
      
      	* app/gimphistogramF.h: new file containing typedef for
       	GimpHistogram.
      
      	* app/gimphistogram.h: moved GimpHistogram typedef to
       	gimphistogramF.h
      
      	* app/lut_funcs.h: include gimphistogramF.h again now that the
       	file actually exists.
      3ece2f7e
    • Raph Levien's avatar
      284f2d37
  7. 09 Apr, 1999 2 commits
    • jaycox's avatar
      build color_cmds, lut_funcs, and pixel_processor feedback in the splash · dde36031
      jaycox authored
      
      	* app/Makefile.am: build color_cmds, lut_funcs, and pixel_processor
      	* app/app_procs.c: feedback in the splash screen when loading
       	parasites.
      	* app/boundary.c: Optimized find_empty_segs.
      
      	* app/brightness_contrast.[ch]
      	* app/levels.[ch]
      	* app/posterize.[ch]:
       	moved pdb and lut calculation code.  These files now contain only
      	GUI functions.
      
      	* app/channel.c: Optimized channel_bounds (fewer compares, better
       	use of registers).  Use color_region instead of channel_*_segment
       	in channel_combine_rect.  Optimized channel_combine_ellipse by
       	skipping pixels inside of the ellipse.  Use
       	pixel_region_process_parallel in channel_combine_mask.  Use a
       	GimpLut in channel_invert, and channel_sharpen.
      
      	* app/invert.c
      	* app/equalize.c: moved the lut functions to lut_funcs.c
      
      	* app/gimpdrawable.c, app/gimpdrawableP.h
      	* app/gimpimage.c, app/gimpimageP.h: removed unused gimpmatrix
      	variables/includes.
      
      	* app/gimplut.[ch]: added new function gimp_lut_process_inline
       	that operates on a single PixelRegion.
      
      	* app/gimpparasite.[ch]: new functions to save/load parasiterc
      
      	* app/parasitelist.[ch]: new functions to save/load ParasiteLists
       	in/from files.
      
      	* libgimp/parasite.[ch]: new functions to load/save parasites.
      
      	* app/internal_procs.c: get some procs from new location in
      	color_cmds.h.
      
      	* app/pixel_region.[ch]: moved pixel_regions_process_parallel
       	related functions to a new file.
      
      	* app/color_cmds.[ch]: new files for PDB
       	definitions/implementations of color correction functions.
      
      	* app/lut_funcs.[ch]: new files to hold lut creation functions.
      
      	* app/pixel_processor.[ch]: new files that contain the
       	pixel_regions_process_parallel routines.  Added some new
       	capabilities that are currently unused.
      dde36031
    • Marc Lehmann's avatar
      see plug-ins/perl/Changes · 8650675f
      Marc Lehmann authored
      8650675f
  8. 08 Apr, 1999 4 commits
    • Sven Neumann's avatar
      de98bdb5
    • Michael Natterer's avatar
      app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c · f1b0a883
      Michael Natterer authored
      1999-04-08  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/airbrush.c
      	* app/bezier_select.c
      	* app/blend.c
      	* app/brightness_contrast.c
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.c
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/convolve.c
      	* app/crop.[ch]
      	* app/curves.c
      	* app/ellipse_select.c
      	* app/eraser.c
      	* app/flip_tool.c
      	* app/free_select.c
      	* app/fuzzy_select.c
      	* app/histogram_tool.c
      	* app/hue_saturation.c
      	* app/ink.c
      	* app/iscissors.c
      	* app/levels.c
      	* app/magnify.c
      	* app/move.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/posterize.c
      	* app/rect_select.[ch]
      	* app/text_tool.[ch]
      	* app/threshold.c
      	* app/transform_tool.c
      
      	* app/tools.[ch]
      	* app/toolsF.h: in other words: all tools
      
      	Implemented the "reset tool options" feature.
      	- All tools register with a title string and a reset function now.
      	- The tool options' variables have two related <var>_d (default)
      	  and <var>_w (widget) variables to restore the default values.
      
      	"Standardized" the tool options UI:
      	- Put the stuff info a frame to give a hint that the dialog's
      	  contents will change.
      	- table layout, sensitive setting, spacings, borders, ...
      
      	As I had them all in my emacs simultaneously, I couldn't resist to
      	standardize the tools' *.c files declaration parts ;) Ansi stuff.
      f1b0a883
    • BST 1999 Andy Thomas's avatar
      Changed:- · 7739ffb3
      BST 1999 Andy Thomas authored
      Thu Apr  8 21:19:05 BST 1999 Andy Thomas <alt@gimp.org>
      
      	Changed:-
      
      	* app/image_map.c
      
      	Fixed boundary problem in new function image_map_get_color_at().
      7739ffb3
    • Sven Neumann's avatar
      Total crop-tool massacre. · 4dca1d56
      Sven Neumann authored
      
      --Sven
      4dca1d56
  9. 07 Apr, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      Changed:- · 9a4edab7
      BST 1999 Andy Thomas authored
      Wed Apr  7 23:53:22 BST 1999 Andy Thomas <alt@gimp.org>
      
      	Changed:-
      
      	* app/curves.c
      
      	Just noticed a bug that has been around for ages. The preview
      	update does not work in the curves dialog when free curve
      	mode is selected. Fixed it.
      9a4edab7