Gimp/app/base
Michael Natterer 02fde14c95 build display/ before tools/.
2001-11-08  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am: build display/ before tools/.

	* app/devices.c: devices_check_change(): added all events
	which have a GdkDevice pointer.

	* app/gimpprogress.c: include "display-types.h" instead of
	"core-types.h".

	* app/core/Makefile.am
	* app/core/gimpdrawable-bucket-fill.[ch]: new files: the bucket_fill
	stuff taken from tools/gimpbucketfilltool.[ch].

	* app/core/core-types.h: added "BucketFillMode".

	* app/core/gimpimage-mask-select.[ch]: cleanup.

	* app/core/gimpmarshal.list: added more marshallers for GimpTool's
	new signal signatures.

	* app/core/gimpmarshal.[ch]: regenerated.

	* app/display/Makefile.am
	* app/display/gimpdisplayshell-dnd.[ch]
	* app/display/gimpdisplayshell-layer-select.[ch]: new files: the
	canvas drop callbacks from gimpdisplayshell-callbacks.[ch] and
	the stuff formerly knows as gui/layer-select.[ch].

	* app/display/gimpdisplay.h: don't include "gui/gui-types.h".

	* app/display/gximage.c: include "display-types.h".

	* app/display/gimpdisplay-foreach.c
	* app/display/gimpdisplayshell.[ch]: call gdsplay_delete(), don't
	destroy the shell widget.

	* app/gui/Makefile.am
	* app/gui/layer-select.[ch]: removed.

	* app/gui/gradients-commands.c: fixed "Save as POV" fprintf()s.

	* app/gui/preferences-dialog.c: removed the layer_select stuff
	because it is useless with the new preview system.

	* app/gui/tool-options-dialog.c: send the correct data to the
	close_callback.

	* app/gui/tools-commands.c: changed to follow the new
	gimp_tool_initialize() semantics (see below).

	Tool & canvas event handling chainsawing:

	* app/tools/tools-types.h: new struct GimpCoords which contains
	x, y, pressure, tilt etc.

	* app/display/gimpdisplayshell-callbacks.[ch]: added utility
	functions which transparently retreive the current event's
	GimpCoords or take it from the device directly if the event has
	none. Pass GimpCoords _in_image_coordinates_ to all tool
	functions.

	Most important: don't pass GdkEvents and display coordinates to
	tools any more.

	* app/tools/gimptool.[ch]: changed virtual functions to take
	GimpCoords, time and state separately instead of GdkEvents.

	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.[ch]
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcroptool.[ch]
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimpdrawtool.c
	* app/tools/gimpeditselectiontool.[ch]
	* app/tools/gimperasertool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpfreeselecttool.[ch]
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimppathtool.[ch]
	* app/tools/gimprectselecttool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpselectiontool.[ch]
	* app/tools/gimpsmudgetool.c
	* app/tools/gimptexttool.c
	* app/tools/gimptransformtool.[ch]
	* app/tools/path_tool.[ch]
	* app/tools/selection_options.c: tons and tons of changes:

	- changed to use the new virtual function parameters.
	- removed zillions of gdisplay_untransform_coords().
	- get the active drawable's offsets manually in many cases.
	  (questionable, but IMHO ok because it's obvious and not simply a
	  "TRUE" passed to some function)
	- reordered some functions to be consistent across tools.
	- some tools had to be changed to work on image coords, not
	  display ones (esp. crop).
	- fixed strange rotate tool behaviour which should be backported
	  to stable.
	- some stuff i came across.
	- indentation and other paranoia.
	- rounding of coordinated may be broken in some tools.
	- new bugs guaranteed.

	* app/tools/tool_manager.[ch]: new semantic of
	tool_manager_initialize_active() (looked at the places where it
	was used from and put common code together). Should be a bit
	better now :)

	* app/tools/gimpblendtool.c
	* app/tools/transform_options.c: use the new GTK+ feature that a
	widget (toggle button) can be a frame's title for this tools' tool
	options.

	* app/widgets/widgets-types.h: stuff.

	* themes/Default/gtkrc: s/GtkDialog/GimpDialog/.

	* tools/pdbgen/Makefile.am: don't scan tools/gimpbucketfilltool.h
	any more.

	* tools/pdbgen/enums.pl: regenerated.

	* tools/pdbgen/pdb/tools.pdb: changed bucket_fill wrapper.

	* app/pdb/tools_cmds.c: regenerated.
2001-11-08 19:14:51 +00:00
..
.cvsignore New dir. Does nothing yet... 2001-05-14 01:00:07 +00:00
base-config.c updated 2001-07-22 22:18:01 +00:00
base-config.h app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
base-types.h app/Makefile.am removed. 2001-05-25 18:10:38 +00:00
base.c app/file-open.c app/file-utils.c app/gimprc.c app/plug_in.c 2001-10-24 15:56:33 +00:00
base.h app/base/Makefile.am new files for base_init() and base_exit() which 2001-05-20 18:37:07 +00:00
boundary.c the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
boundary.h new directory app/base/ 2001-05-15 11:25:25 +00:00
brush-scale.c new directory app/base/ 2001-05-15 11:25:25 +00:00
brush-scale.h new directory app/base/ 2001-05-15 11:25:25 +00:00
color-balance.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
color-balance.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
curves.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
curves.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
detect-mmx.h app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
detect-mmx.S app/Makefile.am removed. 2001-07-11 23:47:26 +00:00
gimphistogram.c removed "num_processors". 2001-05-25 16:24:44 +00:00
gimphistogram.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
gimplut.c new directory app/base/ 2001-05-15 11:25:25 +00:00
gimplut.h new directory app/base/ 2001-05-15 11:25:25 +00:00
hue-saturation.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
hue-saturation.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
lut-funcs.c app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
lut-funcs.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
Makefile.am app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
makefile.msc define HAVE_DIRENT_H, it's from build/win32/dirent 2001-10-28 18:45:45 +00:00
pixel-processor.c fixing a typo fixes ENABLE_MP. 2001-05-25 21:17:07 +00:00
pixel-processor.h new directory app/base/ 2001-05-15 11:25:25 +00:00
pixel-region.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
pixel-region.h added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
pixel-surround.c new directory app/base/ 2001-05-15 11:25:25 +00:00
pixel-surround.h app/Makefile.am lowlevel stuff taken out of the transform tool. 2001-03-31 14:10:22 +00:00
temp-buf.c rewrote so gcc-3.0 doesn't complain. 2001-10-29 12:51:21 +00:00
temp-buf.h s/USE_GCC_INTEL_MMX/HAVE_ASM_MMX/ 2001-05-19 16:09:41 +00:00
threshold.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
threshold.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
tile-cache.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-cache.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
tile-manager-crop.c app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
tile-manager-crop.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
tile-manager-private.h app/convert.c app/floating_sel.c app/gimage_mask.c app/gimpimage.c 2001-01-23 13:01:48 +00:00
tile-manager.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-manager.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-private.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-swap.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile-swap.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile.c new directory app/base/ 2001-05-15 11:25:25 +00:00
tile.h brought the array used for optimization back in sync with the 2001-01-24 15:36:55 +00:00