1. 07 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 1bcd3e18
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/context_manager.[ch]: removed.
      
      	* app/app_procs.c: call tool_mananger instead of context_manager
      	functions, pass "the_gimp" to some more functions.
      
      	* app/drawable.[ch]: pass a GimpContext to drawable_fill().
      
      	* app/errors.c: behave according to "stack_trace_mode" when using
      	the debugging signal handler.
      
      	* app/gimprc.[ch]: removed the core/ config variables.
      
      	* app/selection.c: set the selection's state to INVISIBLE in
      	selection_pause().
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: new files (the configuration
      	variables used by core/).
      
      	* app/core/gimpcontext.[ch]: removed the global contexts (user,
      	default, ...) and their functions. It's no longer possible to pass
      	NULL to the context functions to manipulate the current context
      	(gimpcontext.c doesn't know the current context any more).
      
      	* app/core/gimp.[ch]: added them here. The functions are now called
      	gimp_[set|get]_*_context(). Added gimp_create_context() which is
      	the only function to create contexts now.
      
      	* app/gui/dialogs.[ch]
      	* app/gui/gui.[ch]: pass "gimp" to all functions.
      
      	* app/tools/tool_manager.[ch]
      	* app/tools/tools.[ch]: pass "gimp" to lots of functions. Added
      	the "global_tool_context" logic and the global/non-global paint
      	options switching from the context_manager. Pass "gimp" to all
      	tools' "register" functions.
      
      	* app/tools/*: changed accordingly.
      
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/file-open.[ch]
      	* app/file-save.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/qmask.c
      	* app/undo.c
      	* app/base/base-config.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c
      	* app/core/gimptoolinfo.[ch]
      	* app/core/gimpundo.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage
      	of gimp_context_[get|set]_*(NULL), create contexts with
      	gimp_create_context(). Get the user/current context with
      	gimp_get_[user|current]_context(). Added/removed access to the
      	global "the_gimp" variable in some places. Get the core's config
      	variables from "core_config".
      1bcd3e18
  2. 26 Jun, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d26c2668
      Michael Natterer authored
      2001-06-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/color_transfer.[ch]: removed.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpcolorbalancetool-transfer.[ch]: added.
      
      	* app/tools/gimpcolorbalancetool.c: changed accordingly.
      
      	* app/base/Makefile.am
      	* app/base/tile-manager-crop.[ch]: formerly known as crop_buffer().
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/context_manager.[ch]: added the global clipboard and the
      	named buffer list here.
      
      	* app/app_procs.c: don't call color_transfer_init() and don't free
      	the buffer stuff (done by the context manager now).
      
      	* app/errorconsole.c: don't #include "gui/commands.h"
      
      	* app/global_edit.[ch]: removed lots of stuff which is now done by
      	gui/edit-commands.* or the new GimpBuffer object. The "paste
      	named" dialog will go away and this file will be moved to core/
      	soon.
      
      	* app/image_new.c: no need to declare the global_buffer extern any
      	more.
      
      	* app/qmask.c: don't #include "global_edit.h"
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpbuffer.[ch]: new object (aka named buffer)
      
      	* app/core/gimpcontext.[ch]: added a GimpBuffer attribute.
      
      	* app/core/gimpimage.[ch]: one s/int/gboolean/.
      
      	* app/core/gimppattern.c: hmm...
      
      	* app/gui/commands.[ch]: split up in small files:
      
      	* app/gui/Makefile.am
      	* app/gui/edit-commands.[ch]
      	* app/gui/file-commands.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/select-commands.[ch]
      	* app/gui/view-commands.[ch]: new files.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added the named buffer list & grid.
      
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/test-commands.c: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* tools/pdbgen/pdb/edit.pdb: changed for the global_edit stuff.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpbufferpreview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]: new widgets.
      
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/widgets-types.h: changed accordingly for the new
      	GimpBuffer object and it's views, misc. cleanups.
      
      	* pixmaps/Makefile.am
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm: new pixmaps (they all look the same... Tigert? ;-)
      
      	* po/POTFILES.in: added the new files.
      d26c2668
  3. 25 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 746fc519
      Michael Natterer authored
      2001-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpui.[ch]: removed.
      
      	* app/tools/paint_options.[ch]: removed paint_mode_menu_new().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/widgets/gimpwidgets-utils.[ch]: added here.
      
      	* app/disp_callbacks.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/interface.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      746fc519
  4. 24 May, 2001 1 commit
    • Michael Natterer's avatar
      All tools are back :) · 170a9cbc
      Michael Natterer authored
      2001-05-25  Michael Natterer  <mitch@gimp.org>
      
      	All tools are back :)
      
      	* app/tools/Makefile.am
      	* app/tools/brightness_contrast.[ch]
      	* app/tools/color_balance.[ch]
      	* app/tools/curves.[ch]
      	* app/tools/histogram_tool.[ch]
      	* app/tools/hue_saturation.[ch]
      	* app/tools/levels.[ch]
      	* app/tools/posterize.[ch]
      	* app/tools/threshold.[ch]: removed...
      
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimphistogramtool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimpthresholdtool.[ch]: ...and ported to the new tool
      	system. Yes, the toolbox looks strange right now.
      
      	* app/tools/gimpimagemaptool.[ch]: base class for all image_map
      	tools. Does nothing at all right now.
      
      	* app/tools/gimpbucketfilltool.h: removed _new() function
      	declaration.
      
      	* app/tools/gimptool.c: removed obsolete stuff and STUB()s.
      
      	* app/tools/tools.c: register the new tools.
      
      	* app/menus.c: removed the #if 0 around the code which reorders
      	the color tool menu entries.
      
      	* app/app_procs.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/color.pdb
      	* app/pdb/color_cmds.c
      	* po/POTFILES.in: changed accordingly.
      170a9cbc
  5. 03 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · c46bdc37
      Michael Natterer authored
      2001-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpset.[ch]: removed.
      
      	* app/gimpcontainer.[ch]: some minor fixes, cleanup.
      
      	* app/context_manager.[ch]: made the "image_context" a GimpContainer
      	and moved it here...
      
      	* app/appenv.h
      	* app/main.c: ...from here.
      
      	* app/app_procs.c
      	* app/colormap_dialog.[ch]
      	* app/commands.c
      	* app/gimage.c
      	* app/gimpcontext.c
      	* app/gimpimage.c
      	* app/info_window.c
      	* app/lc_dialog.c
      	* app/lut_funcs.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/pixel_region.c
      	* app/scale.c
      	* app/scroll.c
      	* app/selection.c
      	* app/temp_buf.c
      	* app/undo.c
      	* app/pdb/procedural_db.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/color_balance.c
      	* app/tools/color_picker.c
      	* app/tools/convolve.c
      	* app/tools/crop.c
      	* app/tools/curves.c
      	* app/tools/paint_core.c
      	* app/tools/transform_core.c: s/GimpSet/GimpContainer/g, removed
      	many useless #include "appenv.h".
      
      	* app/gimpdrawablepreview.c
      	* app/gdisplay.c: found two badly crashing bugs i have introduced
      	with my last changes here.
      c46bdc37
  6. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      
      	* po-libgimp/POTFILES.in: changed file locations.
      7a4260da
  7. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      
      	* libgimpmath/.cvsignore
      	* libgimpmath/Makefile.am
      	* libgimpmath/gimpmath.def
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpmatrix.h
      	* libgimpmath/gimpvector.c
      	* libgimpmath/gimpvector.h
      	* libgimpmath/makefile.mingw.in
      	* libgimpmath/makefile.msc: new shared library. Depends on glib only.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimp.h: removed the math stuff.
      
      	* libgimp/gimpmath.h
      	* libgimp/gimpmatrix.[ch]
      	* libgimp/gimpvector.[ch]: removed.
      
      	* app/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
      
      	* app/[many files]
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb.c
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimpwidgets.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/libgck/gck/gckcolor.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
      	removed the remaining includes of the old color stuff.
      cb166972
  8. 14 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/drawable.[ch] app/gdisplay.[ch] app/gimpdrawable.[ch] · 3220f9ec
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/drawable.[ch]
      	* app/gdisplay.[ch]
      	* app/gimpdrawable.[ch]
      	* app/layer.[ch]:
      
      	- Removed all "typedef drawable_function gimp_drawable_function".
      	- Renamed all *_get_ID() functions to *_get_by_ID().
      	- For symmetry reasons, renamed drawable_ID() to gimp_drawable_get_ID().
      	- Removed the *_get_ID() functions of GimpLayer, GimpLayerMask
      	  and GimpChannel.
      
      	* 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/convert.c
      	* app/convolve.c
      	* app/crop.c
      	* app/curves.c
      	* app/desaturate.c
      	* app/dodgeburn.c
      	* app/edit_selection.c
      	* app/eraser.c
      	* app/fileops.c
      	* app/flip_tool.c
      	* app/floating_sel.c
      	* app/fuzzy_select.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimphistogram.c
      	* app/gimpimage.c
      	* app/global_edit.c
      	* app/histogram_tool.c
      	* app/hue_saturation.c
      	* app/image_map.c
      	* app/ink.c
      	* app/invert.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/levels.c
      	* app/paint_core.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/plug_in.c
      	* app/posterize.c
      	* app/scan_convert.c
      	* app/smudge.c
      	* app/text_tool.c
      	* app/threshold.c
      	* app/transform_core.c
      	* app/undo.c
      	* app/undo_history.c
      
      	* app/channel_cmds.c
      	* app/channel_ops_cmds.c
      	* app/color_cmds.c
      	* app/display_cmds.c
      	* app/drawable_cmds.c
      	* app/edit_cmds.c
      	* app/floating_sel_cmds.c
      	* app/image_cmds.c
      	* app/layer_cmds.c
      	* app/parasite_cmds.c
      	* app/selection_cmds.c
      	* app/text_tool_cmds.c
      	* app/tools_cmds.c
      	* libgimp/gimpdrawable_pdb.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel_ops.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      3220f9ec
  9. 31 Dec, 2000 2 commits
    • Michael Natterer's avatar
      More preparation for LibGCK removal: · 40916e09
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	More preparation for LibGCK removal:
      
      	* libgimp/gimpcolorspace.[ch]: added a "_int" suffix to all functions
      	operating on 3 gint pointers, just like the gdouble functions have
      	a "_double" suffix.
      
      	* app/color_balance.c
      	* app/hue_saturation.c
      	* app/paint_funcs.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vinvert.c
      	* plug-ins/gflare/gflare.c: changed accordingly.
      40916e09
    • Michael Natterer's avatar
      app/airbrush.[ch] app/bezier_select.c app/bezier_selectP.h app/blend.[ch] · 2db88815
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/airbrush.[ch]
      	* app/bezier_select.c
      	* app/bezier_selectP.h
      	* app/blend.[ch]
      	* app/boundary.h
      	* app/brightness_contrast.[ch]
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.[ch]
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/commands.c
      	* app/convolve.[ch]
      	* app/crop.c
      	* app/crop.h
      	* app/curves.c
      	* app/dodgeburn.[ch]
      	* app/edit_selection.[ch]
      	* app/ellipse_select.c
      	* app/eraser.[ch]
      	* app/flip_tool.[ch]
      	* app/free_select.[ch]
      	* app/fuzzy_select.[ch]
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/histogram_tool.[ch]
      	* app/hue_saturation.[ch]
      	* app/image_map.[ch]
      	* app/ink.[ch]
      	* app/iscissors.c
      	* app/levels.c
      	* app/magnify.[ch]
      	* app/move.c
      	* app/nav_window.[ch]
      	* app/paint_core.[ch]
      	* app/paintbrush.[ch]
      	* app/path_bezier.[ch]
      	* app/path_tool.c
      	* app/pencil.[ch]
      	* app/perspective_tool.[ch]
      	* app/posterize.c
      	* app/rect_select.[ch]
      	* app/rotate_tool.[ch]
      	* app/scale_tool.[ch]
      	* app/selection.[ch]
      	* app/shear_tool.[ch]
      	* app/smudge.[ch]
      	* app/text_tool.[ch]
      	* app/threshold.c
      	* app/tools.[ch]
      	* app/transform_core.[ch]: removed the "gdisp_ptr" madness and
      	useless casts all over the place. Introduced a "PaintState" enum
      	instead of #define's. Various cleanups.
      2db88815
  10. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  11. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  12. 29 Sep, 2000 1 commit
  13. 23 Jun, 2000 1 commit
    • Matt Wilson's avatar
      allocate the tool's paint_core with g_new0. This prevents us from having · 74fdc62e
      Matt Wilson authored
      2000-06-22  Matt Wilson  <msw@redhat.com>
      
      	* app/paint_core.c (paint_core_new): allocate the tool's
      	paint_core with g_new0.  This prevents us from having cruft in
      	unused tools.  Systems with sensitive FPUs (Alpha) will raise
      	exception in the paint_core_cursor_update if paint_core->last{x,y}
      	are messy.
      
      	* app/bezier_select.c (tools_new_bezier_select)
      	* app/blend.c (blend_options_new)
      	* app/brightness_contrast.c (tools_new_brightness_contrast)
      	* app/bucket_fill.c (tools_new_bucket_fill)
      	* app/by_color_select.c (tools_new_by_color_select)
      	* app/color_balance.c (tools_new_color_balance)
      	* app/color_panel.c (color_panel_new)
      	* app/color_picker.c (tools_new_color_picker)
      	* app/crop.c (tools_new_crop)
      	* app/curves.c (tools_new_curves)
      	* app/ellipse_select.c (tools_new_ellipse_select)
      	* app/free_select.c (tools_new_free_select)
      	* app/fuzzy_select.c (tools_new_fuzzy_select)
      	* app/histogram_tool.c (tools_new_histogram_tool)
      	* app/hue_saturation.c (tools_new_hue_saturation)
      	* app/ink.c (tools_new_ink)
      	* app/iscissors.c (tools_new_iscissors)
      	* app/levels.c (tools_new_levels)
      	* app/magnify.c (tools_new_magnify)
      	* app/measure.c (tools_new_measure_tool)
      	* app/move.c (tools_new_move_tool)
      	* app/path_tool.c (tools_new_path_tool)
      	* app/posterize.c (tools_new_posterize)
      	* app/rect_select.c (tools_new_rect_select)
      	* app/resize.c (resize_widget_new)
      	* app/threshold.c (tools_new_threshold)
      	* app/transform_core.c (transform_core_new)
      	* app/xinput_airbrush.c (tools_new_xinput_airbrush): likewise (it
      	can only help and it really isn't slow.)
      
      	* app/color_area.c: #include <string.h> for memcpy declaration
      
      	* app/gimphelp.c: #include <string.h> for strlen declaration
      74fdc62e
  14. 09 May, 2000 1 commit
    • jaycox's avatar
      new function image_map_clear that removes the preview without freeing the · af0c94ab
      jaycox authored
      
      	* app/image_map.[ch]: new function image_map_clear that removes
      	the preview without freeing the image_map.
      
      	* app/brightness_contrast.c
      	* app/color_balance.c
      	* app/curves.c
      	* app/hue_saturation.c
      	* app/levels.c
      	* app/posterize.c
      	* app/threshold.c: Add a call to image_map_clear in the
      	preview toggle button callback.  This makes the preview toggle
      	button behave as expected.
      
      	* app/histogram_tool: remove an unnecessary include.
      af0c94ab
  15. 28 Mar, 2000 1 commit
  16. 31 Jan, 2000 2 commits
    • Sven Neumann's avatar
      mostly header cleanup and i18n · c9482821
      Sven Neumann authored
      
      --Sven
      c9482821
    • Michael Natterer's avatar
      app/blend.c app/brightness_contrast.c app/color_balance.c · ebd97882
      Michael Natterer authored
      2000-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/blend.c
      	* app/brightness_contrast.c
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/crop.c
      	* app/curves.c
      	* app/flip_tool.c
      	* app/histogram_tool.c
      	* app/hue_saturation.c
      	* app/levels.c
      	* app/magnify.c
      	* app/measure.c
      	* app/move.c
      	* app/path_tool.c
      	* app/posterize.c
      	* app/text_tool.c
      	* app/threshold.c
      	* app/tool_options.c
      	* app/transform_tool.c: unify the usage of "Selection" and
      	"<blah> Tool" and removed the word "Options" from all tool option
      	title strings because the dialog title already says "Options".
      ebd97882
  17. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/[all files using the dialog or action area constructors] added a · 884f2235
      Michael Natterer authored
      2000-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/[all files using the dialog or action area constructors]
      	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
      	constructors' va_args lists to allow the action area buttons to be
      	connected wich gtk_signal_connect_object().
      
      	* libgimp/gimphelp.c: show the correct help page for plugins.
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/grid.c
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
      	and enable the "F1" help key.
      884f2235
  18. 03 Jan, 2000 1 commit
    • Sven Neumann's avatar
      libgimp/gimpcolorspace.c Prefixed all functions with gimp_ to avoid · 3fc4eb84
      Sven Neumann authored
      * libgimp/gimpcolorspace.c
      * libgimp/gimpcolorspace.h: Prefixed all functions with gimp_
        to avoid namespace collisions.
      
      Changed the License in the header to LGPL. If you don't like this,
      please remove those files! (But I would like them to stay since this
      moving those functions into libgimp is something that should have
      happened much earlier.) Nice work, Daniel!
      3fc4eb84
  19. 02 Dec, 1999 1 commit
    • Michael Natterer's avatar
      Default to "Cancel" in the "Really Quit?" dialog. · c688e055
      Michael Natterer authored
      1999-12-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: Default to "Cancel" in the "Really Quit?" dialog.
      
      	* app/app_procs.c
      	* app/brush_select.c
      	* app/gimpbrushlist.c: Call brush_select_[freeze|thaw]_all() from
      	brushes_init() and brushes_free(), so refreshing the brushes from
      	plugins/scripts is faster.
      
      	* app/brightness_contrast.c
      	* app/color_balance.c
      	* app/curves.c
      	* app/file_new_dialog.c
      	* app/hue_saturation.c
      	* app/levels.c
      	* app/posterize.c
      	* app/threshold.c:
      	Reorder the action are buttons: [ "OK" "Reset" "Cancel" ]
      
      	* app/menus.c: Some more cleanups in the menu code. Reorder
      	<Image>/Filters/Misc only if ot exists. Generalized
      	menu_translate() in preparation for correctly supporting catalogs
      	which only exist sometimes (like gimp-perl).
      
      	* app/gradient.c
      	* app/gradient_select.c: Save some lines of code by using
      	gtk_clist_new_with_titles() instead of gtk_clist_new().
      
      	* libgimp/gimpunitmenu.c: Code cleanup and made the clist titles
      	of the unit selection un-clickable.
      c688e055
  20. 22 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/brightness_contrast.[ch] app/by_color_select.[ch] · 3711f558
      Michael Natterer authored
      1999-11-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brightness_contrast.[ch]
      	* app/by_color_select.[ch]
      	* app/color_balance.[ch]
      	* app/curves.[ch]
      	* app/histogram_tool.[ch]
      	* app/hue_saturation.[ch]
      	* app/levels.[ch]
      	* app/posterize.[ch]
      	* app/threshold.[ch]: spinbuttons and cleaned up ui for all
      	dialog-tools. Added a "Reset" button to all dialogs.
      
      	* app/color_notebook.c: fixed a compiler warning.
      
      	* app/gimpui.[ch]: made gimp_radio_group_new() more general.
      
      	* app/menus.c: removed the <Toolbox>/File/Help submenu.
      
      	* app/tools.c: restored the old behaviour of "tools_initialize()"
      	(force the emission of the "tool_changed" signal)
      3711f558
  21. 20 Nov, 1999 1 commit
    • Michael Natterer's avatar
      s/sprintf/g_snprintf · e5aad8b8
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.c: s/sprintf/g_snprintf
      
      	* app/color_balance.[ch]: spinbuttons instead of text entries.
      e5aad8b8
  22. 17 Nov, 1999 1 commit
  23. 26 Oct, 1999 1 commit
  24. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).
      002aa905
  25. 01 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc · 6ef23d98
      Tor Lillqvist authored
      1999-09-01  Tor Lillqvist  <tml@iki.fi>
      
      * app/appenv.h
      * libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
      RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
      use them, too. Remove some commented-out old stuff in appenv.h.
      
      * libgimp/gimp.h: Include gimpmath.h.
      
      * libgimp/gimp.c (gimp_main): Win32: Don't install signal
      handlers, we can't do anything useful in the handler ourselves
      anyway (it would be nice to print out a backtrace, but that seems
      pretty hard to do, even if not impossible). Let Windows inform the
      user about the crash. If the plug-in was compiled with MSVC, and
      the user also has it, she is offered a chance to start the
      debugger automatically anyway.
      
      * app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
      <math.h>, as gimpmath.h includes it.
      
      * plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
      Remove all the duplicated definitions of G_PI and rint(). Use
      RINT() instead of rint().
      
      * app/app_procs.[ch]: app_exit() takes a gboolean.
      
      * app/batch.c
      * app/commands.c
      * app/interface.c: Call app_exit() with FALSE or TRUE.
      
      * app/main.c (on_error): Call gimp_fatal_error. (main): Don't
      install any signal handler on Win32 here, either.
      
      * app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
      the message and call MessageBox with it.  g_on_error_query doesn't
      do anything useful on Win32, and printf'ing a message to stdout or
      stderr doesn't do anything, either, in a windowing application.
      6ef23d98
  26. 02 Jul, 1999 1 commit
    • Michael Natterer's avatar
      the Tool structure is now allocated by a common constructor which sets · a60b2c2f
      Michael Natterer authored
      1999-07-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all tools]: the Tool structure is now allocated by a common
      	constructor which sets default values and provides default tool
      	action functions. To get rid of much code duplication there should
      	be a object hierarchy of tools.
      
      	* app/context_manager.c
      	* app/tools.[ch]: create and destroy private contexts for the
      	paint tools on startup and exit. They are not used yet.
      
      	* app/interface.c
      	* app/menus.c
      	* app/tools.h: num_tools is now exported in tools.h
      
      	* app/commands.c
      	* app/gdisplay.c
      	* app/menus.c: made "Toggle Selection" a toggleable menu item.
      a60b2c2f
  27. 26 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/[all tool related files] app/commands.c app/disp_callbacks.c · c456ba93
      Michael Natterer authored
      1999-06-26  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all tool related files]
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/interface.c: hopefully fixed the bugs that appeared with my
      	last fix. And some more changes...
      
      	- Slightly changed the conditions which cause the tools to be
      	  re-initialized on button_press events and the global
      	  initialisation functions.
      	- The dialog tools now explicitly set tool->gdisp_ptr so they can
      	  be properly hidden on display deletion.
      	- Create the crop info dialog only once and avoid ugly redraw bugs
      	  by blocking the sizeentries' signal when initializing them.
      	- Standardized the tools_new_<tool>() functions. They are
      	  scheduled to be moved to a common constructor in tools.c
      	- Various stuff...
      c456ba93
  28. 21 Jun, 1999 1 commit
    • Michael Natterer's avatar
      namespace cleanups. · f1b5e1ae
      Michael Natterer authored
      1999-06-21  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/context_manager.c: namespace cleanups.
      
      	* app/commands.[ch]
      	* app/menus.c: moved the "Toggle Selection" menu entry to "View",
      	sprinkled some separators and made the layers/channels/paths popup
      	menus consistent with Tigert's last ops buttons change.
      
      	* app/fileops.c
      	* app/plug_in.c: check for gdisplay_active() returning NULL in
      	some more places.
      
      	* app/[all tool related files]:
      
      	- Turned the ToolAction and ToolState #define's into typedef'ed
      	  enums, so the compiler can do some more sanity checking.
      	- Removed one more unused global variable "active_tool_layer".
      	- Removed some #include's from tools.c.
      	- Standardized the individual tools' structure names.
      	- Moved showing/hiding the tool options to separate functions.
      	- Stuff...
      
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/tools.c: fixed the segfaults which happened when the image
      	of one of the tools which have dialogs (levels/posterize/...) was
      	deleted. My approach was to do stricter sanity checking and to set
      	some gdisplay pointers correctly where appropriate, so I can't
      	tell exactly where the bug was.
      	The curves tool now(??) updates on every _second_ display change
      	only, which is really obscure.
      	Finding/changing the display to operate on should definitely be
      	done by connecting to the user context's "display_changed"
      	signal.
      
      	* app/gimpset.c: emit the "remove" signal _after_ removing the
      	pointer from the set. If this was not a bug but a feature, please
      	let me know, we'll need two signals then.
      f1b5e1ae
  29. 29 May, 1999 1 commit
    • Manish Singh's avatar
      configure.in removed tips files, AC_SUBST GIMP_PLUGINS and GIMP_MODULES so · f2622e54
      Manish Singh authored
      * configure.in
      * Makefile.am: removed tips files, AC_SUBST GIMP_PLUGINS and
      GIMP_MODULES so you can easily skip those parts of the build
      
      * acinclude.m4
      * config.sub
      * config.guess
      * ltconfig
      * ltmain.sh: libtool 1.3.2
      
      * app/fileops.c: shuffle #includes to avoid warning about MIN and
      MAX
      
      [ The following is a big i18n patch from David Monniaux
        <david.monniaux@ens.fr> ]
      
      * tips/gimp_conseils.fr.txt
      * tips/gimp_tips.txt
      * tips/Makefile.am
      * configure.in: moved tips to separate dir
      
      * po-plugins: new dir for plug-in translation files
      
      * configure.in: add po-plugins dir and POTFILES processing
      
      * app/boundary.c
      * app/brightness_contrast.c
      * app/by_color_select.c
      * app/color_balance.c
      * app/convert.c
      * app/curves.c
      * app/free_select.c
      * app/gdisplay.c
      * app/gimpimage.c
      * app/gimpunit.c
      * app/gradient.c
      * app/gradient_select.c
      * app/install.c
      * app/session.c: various i18n tweaks
      
      * app/tips_dialog.c: localize tips filename
      
      * libgimp/gimpunit.c
      * libgimp/gimpunitmenu.c: #include "config.h"
      
      * plug-ins/CEL
      * plug-ins/CML_explorer
      * plug-ins/Lighting
      * plug-ins/apply_lens
      * plug-ins/autostretch_hsv
      * plug-ins/blur
      * plug-ins/bmp
      * plug-ins/borderaverage
      * plug-ins/bumpmap
      * plug-ins/bz2
      * plug-ins/checkerboard
      * plug-ins/colorify
      * plug-ins/compose
      * plug-ins/convmatrix
      * plug-ins/cubism
      * plug-ins/depthmerge
      * plug-ins/destripe
      * plug-ins/gif
      * plug-ins/gifload
      * plug-ins/jpeg
      * plug-ins/mail
      * plug-ins/oilify
      * plug-ins/png
      * plug-ins/print
      * plug-ins/ps
      * plug-ins/xbm
      * plug-ins/xpm
      * plug-ins/xwd: plug-in i18n stuff
      
      -Yosh
      f2622e54
  30. 27 Apr, 1999 2 commits
  31. 21 Apr, 1999 1 commit
    • 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
      color_balance
      
      * 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,
      histogram_tool_histogram_range
      
      * app/hue_saturation.[ch]: removed PDB proc, exported HueRange enum,
      HueSaturationDialog, hue_saturation_calculate_transfers,
      hue_saturation
      
      * app/invert.[ch]: remove PDB proc, export invert
      
      * app/threshold.[ch]: remove PDB proc, export ThresholdDialog and
      threshold_2
      
      * 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
      
      -Yosh
      993089b8
  32. 12 Apr, 1999 1 commit
    • 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
  33. 08 Apr, 1999 1 commit
    • 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
  34. 05 Apr, 1999 1 commit
  35. 17 Feb, 1999 1 commit
  36. 15 Feb, 1999 1 commit
  37. 14 Feb, 1999 1 commit