1. 23 Apr, 1999 6 commits
    • Asbjørn Pettersen's avatar
      add <sys/types.h> · 020a39a9
      Asbjørn Pettersen authored
    • Michael Natterer's avatar
      app/brush_select.[ch] made the previews change their size in sync with · f3c85b01
      Michael Natterer authored
      1999-04-23  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/brush_select.[ch]
      	* app/pattern_select.[ch]: made the previews change their size in
      	sync with resizing the dialog. The previews auto-resize with their
      	parent frame now. Connect to the preview's "size_allocate" signal,
      	not to the frame's, don't "signal_connect_after". Get the size of
      	the preview from it's allocation and not from it's requisition.
      	There's no need to remember width, height and the frame in the
      	structures anymore, so I kicked them out. Tweaked the code to look
      	more similar.
    • Asbjørn Pettersen's avatar
      sys/types.h before sys/stat.h · 7499e231
      Asbjørn Pettersen authored
    • Manish Singh's avatar
      Lossa stuff · 91048780
      Manish Singh authored
    • Asbjørn Pettersen's avatar
      use MAIN macro · f40a836e
      Asbjørn Pettersen authored
    • jaycox's avatar
      removed some nonfunctional code. · d996031a
      jaycox authored
      	* app/edit_selection.c: removed some nonfunctional code.
      	* app/paint_core.c: remove the alt toggles perfectmouse behaviour.
      	* app/paintbrush.c: when ctl (or alt) is held set the fg (or bg) color.
      	* app/gimpparasite.[ch]: made char *name parameters const.
      	* app/parasitelist.c: removed unused static variable.
      	* app/gimpdrawable.c, app/gimpimage.c, app/undo.[ch]: added
       	support for undoing parasite changes.
      	* libgimp/gimp.h, libgimp/gimpimage.c: added
       	gimp_undo_push_group_start and gimp_undo_push_group_end
      	* libgimp/parasite.[ch]: added undoable flag.
      	* plug-ins/gdyntext/font_selection.c: fixed c++ style comment.
      	* plug-ins/gdyntext/gdyntext.c: use the new undoable parasites.
      	* plug-ins/rcm/rcm_misc.c: arctg can't be inline because it is
       	used in other .c files
      	* plug-ins/waterselect/waterselect.c,
      	* plug-ins/rotators/rotators.c, app/tips_dialog.c, app/plug_in.c:
       	fixed some warnings
  2. 22 Apr, 1999 5 commits
    • Sven Neumann's avatar
      Small buglet fixed in the autocrop algorithm. · 174e1a0f
      Sven Neumann authored
    • Michael Natterer's avatar
      First version of per-tool paint options. No PDB interface yet. The tool · ca2cbd32
      Michael Natterer authored
      1999-04-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	First version of per-tool paint options. No PDB interface yet.
      	The tool options dialog got rather big when in per-tool mode, so
      	it will probably have to become a notebook.
      	It's not yet 100% consistent. If switched off, everything should
      	behave exactly like before.
      	* app/Makefile.am
      	* app/paint_options.h: new file
      	* app/tool_options.c: PaintOptions gui. Maintain a list of all
      	paint tools' ToolOptions to enable switching between global and
      	per-tool paint options.
      	* app/brush_select.[ch]: changed packing boxes, tables, ...
      	The paint options in the brush selection can be hidden now.
      	Moved create_paint_mode_menu() to paint_options.h and
      	tool_options.c and renamed it to paint_mode_menu_new().
      	* app/gimage_mask.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/paint_core.c: moved gimp_brush_[set|get]_spacing() from
      	gimpbrushlist.[ch] to gimpbrush.[ch].
      	Moved gimp_brush_[get|set]_[opacity|paint_mode]() to
      	paint_options.h and tool_options.c and renamed them to
      	paint_options_*_*().  They are "global paint options" now.
      	* app/airbrush.c
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/convolve.c
      	* app/eraser.c
      	* app/ink.c
      	* app/paintbrush.c
      	* app/pencil.c: all paint tools' options are derived from
      	"PaintOptions" now. Opacity and paint mode are obtained through
      	macros which take into account the current paint options mode.
      	* app/buildmenu.h: #include <gtk/gtk.h>
      	* app/color_picker.c
      	* app/text_tool.c: changed spacings.
      	* app/gimprc.[ch]: new gimprc option "global-paint-options"
      	* app/preferences_dialog.c: Added a "Tool Options" page. Code
      	cleanup. Some work on the convenience constructors test site.
      	* app/tools.c: fixed "unused variable" warning.
    • Asbjørn Pettersen's avatar
      use MAIN macro · db3c6bdb
      Asbjørn Pettersen authored
    • Asbjørn Pettersen's avatar
      use MAIN macro · 8b768b10
      Asbjørn Pettersen authored
    • Asbjørn Pettersen's avatar
      Add <sys/types.h> · 2bd871d7
      Asbjørn Pettersen authored
  3. 21 Apr, 1999 2 commits
    • BST 1999  Austin Donnelly's avatar
      only add file to the 'recently opened' list if it's not there already. · 595f1ea0
      BST 1999 Austin Donnelly authored
      Wed Apr 21 00:36:03 BST 1999  Austin Donnelly  <austin@gimp.org>
      	* app/menus.c: only add file to the 'recently opened' list if
      	    it's not there already.
    • Manish Singh's avatar
      moved a bunch of PDB stuff here · 993089b8
      Manish Singh authored
      * app/color_cmds.c: moved a bunch of PDB stuff here
      * app/color_balance.[ch]: removed PDB proc, exported TransferMode
      enum, ColorBalanceDialog, color_balance_create_lookup_tables, and
      * app/curves.[ch]: removed PDB procs, exported SMOOTH and GFREE
      #defines, CurvesDialog, curves_lut_func and curves_calculate_curve
      * app/desaturate.[ch]: removed PDB proc, exported desaturate
      * app/equalize.[ch]: removed PDB proc, exported equalize
      * app/histogram_tool.[ch]: removed PDB proc, exported HISTOGRAM_WIDTH
      and HISTOGRAM_HEIGHT #defines, HistogramToolDialog,
      * app/hue_saturation.[ch]: removed PDB proc, exported HueRange enum,
      HueSaturationDialog, hue_saturation_calculate_transfers,
      * app/invert.[ch]: remove PDB proc, export invert
      * app/threshold.[ch]: remove PDB proc, export ThresholdDialog and
      * internal_procs.c: changes for pdbgen
      * app/gimprc.c: removed leftover declaration
      * app/image_map.h: add #include "gimpdrawableF.h"
      * app/lut_funcs.h: add ALPHA_LUT to ChannelLutType
  4. 20 Apr, 1999 6 commits
  5. 19 Apr, 1999 5 commits
  6. 18 Apr, 1999 8 commits
    • Manish Singh's avatar
      new file, containes the PDB stuff for most of the tools · ccac10a4
      Manish Singh authored
      * app/tools_cmds.c: new file, containes the PDB stuff for most
      of the tools
      * app/gimprc_cmds.c: new file, PDB interface stuff for gimprc
      * app/Makefile.am: added tools_cmds.c and gimprc_cmds.c
      * app/airbrush.[ch]
      * app/blend.[ch]
      * app/bucket_fill.[ch]
      * app/by_color_select.[ch]
      * app/clone.[ch]
      * app/color_picker.[ch]
      * app/convolve.[ch]
      * app/crop.[ch]
      * app/ellipse_select.[ch]
      * app/eraser.[ch]
      * app/flip_tool.[ch]
      * app/free_select.[ch]
      * app/fuzzy_select.[ch]
      * app/gimprc.[ch]
      * app/paintbrush.[ch]
      * app/pencil.[ch]
      * app/perspective_tool.[ch]
      * app/rect_select.c app/rect_select.h
      * app/rotate_tool.[ch]
      * app/scale_tool.[ch]
      * app/shear_tool.[ch]: bye bye PDB stuff (exported necessary enums
      functions, vars, etc.)
      * app/internal_procs.c: use register_foo functions
      * app/blend.[ch]: GradientType enum case changed
      * app/bucket_fill.[ch]: s/FillMode/BucketFillMode/, made the enum
      more consistent
      * app/clone.[ch]: capitalized the CloneType enum
      * app/color_picker.[ch]: changed get_color to pick_color so we don't
      conflict with colormaps.c get_color
      * app/convolve.[ch]: capitalized the ConvolveType enum
      * app/paint_core.h: made a GradientPaintMode enum
      * app/transform_core.h: BoundingBox enum
      * app/scale_tool.c: use the generic bounding box enum for X1, Y1, etc.
      * app/shear_tool.[ch]: turned HORZ and VERT into a ShearType enum
    • Marc Lehmann's avatar
      see plug-ins/perl/Changes · 03724da0
      Marc Lehmann authored
    • Seth Burgess's avatar
    • Seth Burgess's avatar
      Added a function to save arbitrary strings in the users gimprc, and gave a · c710b7b1
      Seth Burgess authored
      PDB function for it.
      Modified Files:
       	ChangeLog app/internal_procs.c app/gimprc.h app/gimprc.c
    • Manish Singh's avatar
      Lossa stuff · d9e7cd8b
      Manish Singh authored
    • Michael Natterer's avatar
      fixed a sensitive setting bug I introduced with the last change. · 9e1879d9
      Michael Natterer authored
      1999-04-18  Michael Natterer  <mitschel@cs.tu-berlin.de>
              * app/paintbrush.c: fixed a sensitive setting bug I introduced
              with the last change.
              * app/text_tool.c: added a toggle button which enables calling
              * app/tool_options.c: the toggle callback does some more sensitive
    • Manish Singh's avatar
      cp the built file, not mv · e875b11f
      Manish Singh authored
    • Vincent Renardias's avatar
      Update + many many many fixes contributed by D. Monniaux. · fdb47c9a
      Vincent Renardias authored
      * Update + many many many fixes contributed by D. Monniaux.
  7. 17 Apr, 1999 2 commits
  8. 15 Apr, 1999 6 commits
    • BST 1999 Andy Thomas's avatar
      Changed:- · 8f187e24
      BST 1999 Andy Thomas authored
      Thu Apr 15 23:04:17 BST 1999 Andy Thomas <alt@gimp.org>
      	* app/color_picker.c
      	Must account for layer offsets.
    • 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 :)
    • Manish Singh's avatar
      Added drawable_set_image · 6f386957
      Manish Singh authored
    • Manish Singh's avatar
      More doh · b95eb215
      Manish Singh authored
    • Manish Singh's avatar
      Doh.. wrong version · f4f8117d
      Manish Singh authored
    • Manish Singh's avatar
      New plugin, gdyntext · c6009943
      Manish Singh authored