1. 10 Jan, 2001 3 commits
    • Michael Natterer's avatar
      removed the "name" parameter and use GimpObject's name instead. · 6642bc2c
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable.[ch]: removed the "name" parameter and use
      	GimpObject's name instead.
      
      	* app/channel.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/drawable.h
      	* app/gimpimage.c
      	* app/interface.c
      	* app/layer.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/qmask.c
      	* app/undo.c
      	* app/xcf.c: changed accordingly, cleanup.
      6642bc2c
    • Michael Natterer's avatar
      app/gimpbrushlist.c forgot to remove #include "gimpsignal.h" · 65543971
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrushlist.c
      	* app/gimpdrawable.c: forgot to remove #include "gimpsignal.h"
      
      	* app/gimpobject.[ch]: added a "name" argument (not used yet).
      65543971
    • Michael Natterer's avatar
      app/Makefile.am removed. added. · 92c45a90
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpsignal.[ch]: removed.
      	* app/gimpmarshal.[ch]: added.
      
      	* app/channel.[ch]
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/parasitelist.[ch]: removed gimp_signal_new() and
      	GIMP_TYPE_INIT(). Fixed lots of object related uglyness.
      92c45a90
  2. 09 Jan, 2001 5 commits
    • Sven Neumann's avatar
      Merged fix from gimp-1-2: · c935ec83
      Sven Neumann authored
      2001-01-09  Sven Neumann  <sven@gimp.org>
      
      	Merged fix from gimp-1-2:
      
      	* app/gimpbrushlist.c
      	* app/gradient.c
      	* app/palette.c
      	* app/patterns.c: check for NULL pointers before doing strcmp on
      	default names. The default names for brushes, patterns, ... can
      	be NULL if they were not set in a readable gimprc file.
      
      	* app/gimprc.c: warn the user if the systemwide gimprc couldn't be
      	read.
      c935ec83
    • Michael Natterer's avatar
      Show the "Alpha" scale only when needed. · e8f7363b
      Michael Natterer authored
      2001-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c: Show the "Alpha" scale only when needed.
      
      	* libgimp/gimpcolorarea.[ch]: fixed typos.
      e8f7363b
    • Sven Neumann's avatar
      app/apptypes.h app/brush_select_cmds.c app/brushes_cmds.c app/layer_cmds.c · 99e80ca5
      Sven Neumann authored
      2001-01-09  Sven Neumann  <sven@gimp.org>
      
      	* app/apptypes.h
      	* app/brush_select_cmds.c
      	* app/brushes_cmds.c
      	* app/layer_cmds.c
      	* app/layers_dialog.c
      	* app/paint_funcs.c
      	* app/tool_options.c
      	* app/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: applied patch from <oliver@zeroknowledge.com>
      	that adds new blending modes (Dodge/Burn/Hardlight). Please play with
      	these new modes and check if they are useful and well-implemented.
      99e80ca5
    • Sven Neumann's avatar
      added a new simple widget which provides a color preview area capable of · aa9931f8
      Sven Neumann authored
      2001-01-09  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcolorarea.[ch]: added a new simple widget which
      	provides a color preview area capable of DND. It will be used
      	in the GimpColorButton and in the color_selectors.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h: include the new files
      
      	* libgimp/gimpcolor.[ch]: use proper names instead of abbreviations
      
      	* app/asupsample.c
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_shade.c
      	* plug-ins/libgck/gck/gckcolor.c: changed accordingly
      aa9931f8
    • Michael Natterer's avatar
      app/color_notebook.[ch] moved the scales and the toggle butttons out of · 37fe1a88
      Michael Natterer authored
      2001-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c: moved the scales and the toggle butttons out
      	of the notebook. Added an "Aplha" scale (the opacity is not yet
      	shown in the color area). Removed the ColorNotebook structure from
      	the header.
      
      	* app/color_area.c: the ColorNotebook struct is no longer public.
      
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed the ColorSelector module
      	interface again: Pass H, S, V, R, G, B and A in all functions
      	and callbacks. Added a "set_channel" method because the channel
      	toggles are outside the notebook now. This needs more work...
      37fe1a88
  3. 08 Jan, 2001 3 commits
  4. 07 Jan, 2001 4 commits
    • Michael Natterer's avatar
      Removed GCG: · 4c03fb5e
      Michael Natterer authored
      2001-01-08  Michael Natterer  <mitch@gimp.org>
      
      	Removed GCG:
      
      	* app/colormap_dialog.gc
      	* app/colormap_dialog.i.[ch]
      	* app/colormap_dialog.p.h
      	* app/colormap_dialog.t.h
      	* app/gimp.gh
      	* tools/gcg/*: removed.
      
      	* app/colormap_dialog.[ch]: moved all the colormap_dialog stuff
      	here and cleaned up the autogenerated code.
      
      	* autogen.sh
      	* configure.in
      	* app/Makefile.am
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/color_notebook.h
      	* app/commands.c
      	* app/gimpset.h
      	* po/POTFILES.in
      	* tools/Makefile.am: changed accordingly.
      
      	* libgimp/gimpunitmenu.c: s/class/klass/
      4c03fb5e
    • Michael Natterer's avatar
      app/by_color_select.c app/channels_dialog.c app/color_area.c · ab014f8b
      Michael Natterer authored
      2001-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/by_color_select.c
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_notebook.[ch]
      	* app/color_panel.[ch]
      	* app/color_picker.c
      	* app/color_select.c
      	* app/colormap_dialog.i.c
      	* app/devices.c
      	* app/disp_callbacks.[ch]
      	* app/gimpdnd.[ch]
      	* app/palette.c
      	* app/qmask.c
      
      	* libgimp/gimpcolorselector.h
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: made the color_notebook, the color_area
      	and DND speak in terms of RGBA instead of GRB. The alpha value is
      	not used yet, only the API changed. Everything should work exactly
      	as before.
      ab014f8b
    • Michael Natterer's avatar
      app/bezier_select.c removed the obscure unused "extend" variable from the · 9b3bbdfe
      Michael Natterer authored
      2001-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/bezier_select.c
      	* app/bezier_selectP.h: removed the obscure unused "extend" variable
      	from the Bezier Tool structure.
      9b3bbdfe
    • Michael Natterer's avatar
      added an item to optionally change the image window's background. · f398a39e
      Michael Natterer authored
      2001-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added an item to optionally change the image window's
      	background.
      
      	* app/preferences_dialog.c: "Disable Tearoff Menus" was not saved
      	to disk.
      f398a39e
  5. 03 Jan, 2001 2 commits
  6. 02 Jan, 2001 13 commits
  7. 01 Jan, 2001 2 commits
    • Michael Natterer's avatar
      app/commands.[ch] app/fileops.[ch] app/gdisplay.c Implemented "Save a Copy · 9ccab852
      Michael Natterer authored
      2001-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/commands.[ch]
      	* app/fileops.[ch]
      	* app/gdisplay.c
      	* app/menus.c: Implemented "Save a Copy as..." which saves the image
      	without changing it's filename.
      
      	* app/layers_dialogP.h: export layers_dialog_layer_merge_query()
      	here instead of defining it in commands.c
      
      	* TODO.xml: mark this entry as done :)
      9ccab852
    • Michael Natterer's avatar
      plug-ins/libgck/gck/gck.h removed the GckRGB color type and all it's · 4245ab65
      Michael Natterer authored
      2001-01-01  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: removed the GckRGB color type
      	and all it's functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcolor.[ch]: new files containing the new GimpRGB color
      	type and assorted functions.
      
      	* libgimp/gimpcolorspace.[ch]: colorspace conversion routines for
      	the new GimpRGB type. Also taken from LibGCK.
      
      	* libgimp/gimp.h
      	* libgimp/gimptypes.h: #include "gimpcolor.h". It's ugly to include
      	it in both files but unavoidable to follow our new "*.c" file include
      	policy. This will go away as libgimp will be chopped up into pieces
      	anyway.
      
      	* app/apptypes.h
      	* app/asupsample.[ch]
      	* app/blend.c
      	* app/color_transfer.h
      	* app/gradient_header.h: removed "color_t" and use GimpRGB instead.
      
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_image.c
      	* plug-ins/Lighting/lighting_image.h
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/Lighting/lighting_main.h
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/Lighting/lighting_shade.h
      	* plug-ins/MapObject/mapobject_apply.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_image.h
      	* plug-ins/MapObject/mapobject_main.c
      	* plug-ins/MapObject/mapobject_main.h
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_shade.c
      	* plug-ins/MapObject/mapobject_shade.h
      	* modules/colorsel_triangle.c: s/GckRGB/GimpRGB/g
      
      	* plug-ins/gdyntext/gdyntextcompat.h: check also for GIMP's minor
      	version when deciding if to add a missing PDB wrapper.
      	(All this compat cruft including libgimp/gimpcompat.h should go
      	away ASAP)
      4245ab65
  8. 31 Dec, 2000 4 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
    • Sven Neumann's avatar
      Simon Budig <simon@gimp.org> · f7ccaf1b
      Sven Neumann authored
      2000-12-31  Sven Neumann  <sven@gimp.org>
                  Simon Budig <simon@gimp.org>
      
      	* app/gimpbrush.c
      	* plug-ins/common/gih.c: explicitely cast offset to (off_t) when
      	seeking back. Should fix the problems reading grayscale BrushPipes
      	on IRIX.
      f7ccaf1b
    • Michael Natterer's avatar
      cleaned up a bit. · f16e01a2
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: cleaned up a bit.
      
      	* app/asupsample.[ch]
      	* app/blend.[ch]
      	* app/channel.h
      	* app/gimpprogress.[ch]
      	* app/layer.h
      	* app/perspective_tool.c
      	* app/plug_in.h
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/shear_tool.c
      	* app/transform_core.[ch]: s/gimp_progress/GimpProgress/g and some
      	changes related to the apptypes.h cleanup.
      f16e01a2
    • 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
  9. 30 Dec, 2000 1 commit
    • Michael Natterer's avatar
      removed all the "typedef gimage_function gimp_image_function" stuff so we · 4a0f7c58
      Michael Natterer authored
      2000-12-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage.[ch]: removed all the
      	"typedef gimage_function gimp_image_function" stuff so we can clearly
      	see what is really a GImage function.
      	Removed gimage_get_ID(). Use pdb_id_to_image() instead.
      
      	* app/airbrush.c
      	* app/desaturate.c
      	* app/disp_callbacks.c
      	* app/equalize.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gdisplay_ops.c
      	* app/gimpdrawable.c
      	* app/global_edit.c
      	* app/image_map.c
      	* app/invert.c
      	* app/lc_dialog.c
      	* app/paths_dialog.c
      	* app/plug_in.c
      	* app/xcf.c
      
      	* app/color_cmds.c
      	* app/convert_cmds.c
      	* app/image_cmds.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      4a0f7c58
  10. 29 Dec, 2000 2 commits
    • 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
    • Asbjørn Pettersen's avatar
      remove gimp_color_display_register · 9111fe06
      Asbjørn Pettersen authored
      9111fe06
  11. 28 Dec, 2000 1 commit
    • Sven Neumann's avatar
      app/channel.c use gtk_object_sink() instead of gtk_object_unref() when · ebe7d2f9
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/channel.c
      	* app/layer.c: use gtk_object_sink() instead of gtk_object_unref()
      	when deleting a layer or channel since only floating objects should
      	be destroyed this way. A layer or channel that has been attached
      	to an image shall never be deleted.
      
      	* app/layer_cmds.c
      	* libgimp/gimplayer_pdb.c
      	* tools/pdbgen/pdb/layer.pdb: reenabled the gimp_layer_delete() PDB
      	function since it might be useful under rare circumstances.
      ebe7d2f9