1. 05 Mar, 2015 2 commits
  2. 26 May, 2014 1 commit
  3. 30 May, 2013 1 commit
  4. 20 Aug, 2012 4 commits
  5. 27 Jul, 2011 2 commits
  6. 24 Jul, 2011 1 commit
  7. 27 Mar, 2011 1 commit
  8. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  9. 06 Mar, 2008 1 commit
    • Sven Neumann's avatar
      app/tools/gimptransformtool.c app/tools/gimptransformoptions.[ch] take the · b870738a
      Sven Neumann authored
      2008-03-06  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformtool.c
      	* app/tools/gimptransformoptions.[ch]
      	* app/display/gimpdisplayshell-preview.c: take the preview opacity
      	from the transform tool options. Based on a patch from Tom Lechner.
      	Closes bug #520690.
      
      svn path=/trunk/; revision=25049
      b870738a
  10. 10 Sep, 2007 1 commit
    • Sven Neumann's avatar
      app/core/gimp-transform-region.[ch] app/core/gimpchannel.c · 77b7161a
      Sven Neumann authored
      2007-09-10  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-transform-region.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-item-list.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.c
      	* app/paint/gimpperspectiveclone.c
      	* app/vectors/gimpvectors.c: removed supersample parameter from
      	transform functions and perform it depending on the interpolation
      	type (bug #473265).
      
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/gimptransformtool.c: removed Supersample toggle from
      	the transform tool options.
      
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: document that the
      	supersample parameter is unused and improved documentation of the
      	recursion-level parameter.
      
      	* app/pdb/transform_tools_cmds.c
      	* app/pdb/drawable_transform_cmds.c
      	* libgimp/gimpdrawabletransform_pdb.c: regenerated.
      
      svn path=/trunk/; revision=23494
      77b7161a
  11. 09 Dec, 2006 1 commit
  12. 19 May, 2006 1 commit
    • Sven Neumann's avatar
      removed one of the two constrain properties. · fec7ca95
      Sven Neumann authored
      2006-05-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformoptions.[ch]: removed one of the two
      	constrain properties.
      
      	* app/tools/gimprotatetool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/tools/gimpscaletool.c: sync "constrain" with the size-box's
      	"keep-aspect" property.
      fec7ca95
  13. 07 May, 2005 2 commits
  14. 02 Jul, 2004 1 commit
  15. 13 Jun, 2004 1 commit
    • Philip Lafleur's avatar
      Fixed incorrect logic that caused perfect-but-slow pointer tracking to be · afb3f5c1
      Philip Lafleur authored
      2004-06-12  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/display/gimpdisplayshell-callbacks.c: Fixed incorrect logic that
      	caused perfect-but-slow pointer tracking to be used in tools that
      	don't request exact mode.
      
      	* app/display/Makefile.am:
      	* app/display/gimpdisplayshell-appearance.[ch]:
      	* app/display/gimpdisplayshell-callbacks.c:
      	* app/display/gimpdisplayshell.[ch]:
      	* app/display/gimpdisplayshell-preview.[ch]: added
      	* app/tools/gimpperspectivetool.c:
      	* app/tools/gimprotatetool.c:
      	* app/tools/gimpscaletool.c:
      	* app/tools/gimpsheartool.c:
      	* app/tools/gimptransformoptions.[ch]:
      	* app/tools/gimptransformtool.[ch]: Implemented live transformation
      	previews, available through tool options. Fixes bug #108172.
      afb3f5c1
  16. 13 Mar, 2004 2 commits
    • Michael Natterer's avatar
      Completed the fix for bug #136702: · 2498c665
      Michael Natterer authored
      2004-03-13  Michael Natterer  <mitch@gimp.org>
      
      	Completed the fix for bug #136702:
      
      	* app/core/gimpitem.[ch]: added "gboolean supersample" and
      	"gint recursion_level" to GimpItem::transform().
      
      	* app/core/gimpitem-linked.[ch]	(gimp_item_linked_transform): ditto.
      
      	* app/core/gimpdrawable-transform.[ch]: added "recursion_level"
      	parameters and removed the RECURSION_LEVEL #define.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimplayer.c
      	* app/vectors/gimpvectors.c: changed accordingly.
      
      	* app/tools/gimptransformoptions.[ch]: added new property
      	"recursion_level" which is not serializable and has no GUI. Pretty
      	useless, but it's IMHO better to hardcode the default value here
      	than in gimpdrawable-transform.c
      
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* tools/pdbgen/pdb/transform_tools.pdb: hardcode "recursion_level"
      	to 3.
      
      	* app/pdb/transform_tools_cmds.c: regenerated.
      2498c665
    • Raphael Quinet's avatar
      added new "supersample" property to GimpTransformOptions and added · 59dfdac9
      Raphael Quinet authored
      2004-03-13  Raphael Quinet  <quinet@gamers.org>
      
      	* app/tools/gimptransformoptions.[ch]: added new "supersample"
      	property to GimpTransformOptions and added corresponding check
      	button in the option dialog for the transform tools.
      
      	* app/core/gimpdrawable-transform.[ch],
      	* app/core/gimpdrawable.c,
      	* app/tools/gimptransformtool.c: new "gboolean supersample"
      	parameter added to gimp_drawable_transform_tiles_affine() and
      	gimp_drawable_transform_affine().
      
      	* tools/pdbgen/pdb/transform_tools.pdb: ditto.  For the PDB calls,
      	the supersample parameter is set to FALSE for "rotate" and "shear"
      	and set to TRUE for "perspective", "scale" and "transform_2d".
      
      	* app/pdb/transform_tools_cmds.c: regenerated.
      
      	The new "supersample" option lets the user decide if the
      	transformations should use supersampling (RECURSION_LEVEL 3) or
      	not.  This fixes both bug #136702 and bug #109817.  Hopefully for
      	good, this time.
      59dfdac9
  17. 29 Jun, 2003 1 commit
    • Michael Natterer's avatar
      Getting rid of some legacy filenames: · 8dd2e807
      Michael Natterer authored
      2003-06-29  Michael Natterer  <mitch@gimp.org>
      
      	Getting rid of some legacy filenames:
      
      	* app/core/Makefile.am
      	* app/core/gimptooloptions.[ch]: new files.
      
      	* app/paint/gimppaintoptions.h: changed #include accordingly.
      	#define GIMP_PAINT_OPTIONS_CONTEXT_MASK here.
      
      	* app/tools/paint_options.[ch]
      	* app/tools/tool_options.[ch]: removed these files.
      
      	* app/tools/gimppaintoptions-gui.[ch]
      	* app/tools/gimptooloptions-gui.[ch]: new files.
      
      	* app/tools/gimppainttool.h: removed GIMP_PAINT_TOOL_OPTIONS_MASK
      	define again.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcoloroptions.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/tool_manager.c
      	* app/gui/tool-options-dialog.c: changed accordingly.
      
      	* app/tools/tools.c: moved the vector tool before iscissors.
      8dd2e807
  18. 30 May, 2003 1 commit
    • Michael Natterer's avatar
      added enum GimpTransformType which can be one of { LAYER, SELECTION, PATH · 15b9be6a
      Michael Natterer authored
      2003-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tools-enums.[ch]: added enum GimpTransformType which
      	can be one of { LAYER, SELECTION, PATH }
      
      	* app/tools/gimptransformoptions.[ch]: added a GimpTransformType
      	property to GimpTransformOptions. Added a GUI for the new
      	option.
      
      	* app/tools/gimpflipoptions.[ch]: derive it from
      	GimpTransformOptions and add the GUI here, too.
      
      	* app/tools/gimpfliptool.c
      	* app/tools/gimptransformtool.[ch]: added support for transforming
      	the selection. Added framework for transforming paths (still
      	unimplemented).
      
      	* app/tools/gimpselectionoptions.c: small cleanup.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-path-16.png
      	* themes/Default/images/stock-path-22.png
      	* themes/Default/images/stock-selection-16.png: new icons for the
      	new transform options buttons. Simply copied existing ones...
      15b9be6a
  19. 09 Feb, 2003 1 commit
    • Michael Natterer's avatar
      simplified everything a lot by merging the public GimpContextPropType enum · eb6e907b
      Michael Natterer authored
      2003-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.[ch]: simplified everything a lot by
      	merging the public GimpContextPropType enum with the internal
      	anonymous object property id enum. Removed the internal copy_prop
      	functions and handle property copying in a big switch() in
      	gimp_context_copy_property(). Removed the separate signal
      	connections for each property of the parent context and do the
      	same using a single "notify" handler. Emit "notify" signals all
      	over the place.  Removed internal arrays which are no longer
      	needed due to enum merge and copy_property simplification.
      	Removed the array of signal names and use g_signal_name().
      	Removed gimp_context_unset_parent() and allow "parent" being NULL
      	in gimp_context_set_parent().
      
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      
      	* libgimptool/gimptooltypes.h: changed GimpToolOptionsGUIFunc to
      	return a GtkWidget (the created tool options widget).
      
      	* libgimptool/gimptoolmodule.c: #include <gtk/gtk.h>
      
      	* app/tools/tool_options.[ch]: removed the "main_vbox" from the
      	GimpToolOptions struct. Changed gimp_tool_options_gui() to create
      	and return the main_vbox.
      
      	* app/tools/tool_manager.c: create the "This Tool has no Options"
      	label here if NULL was passed as "options_gui_func". Attach the
      	options widget to the tool_options object using
      	g_object_set_data().
      
      	* app/gui/tool-options-dialog.c: changed accordingly.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]
      	* app/tools/paint_options.[ch]: return the options vbox from
      	all tool_options_gui functions.
      eb6e907b
  20. 08 Feb, 2003 1 commit
    • Michael Natterer's avatar
      app/tools/transform_options.[ch] removed... · d24dac68
      Michael Natterer authored
      2003-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/transform_options.[ch]
      	* app/tools/selection_options.[ch]: removed...
      
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]: ...and added here.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectoroptions.h: changed accordingly.
      
      	* app/tools/gimpinkoptions.[ch]: renamed "sensitivity" to
      	"size_sensitivity". Reordered properties. Added utility
      	constructors blob_button_new() and brush_widget_new().
      
      	* app/tools/gimpinktool.c: changed accordingly.
      d24dac68
  21. 07 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Added object properties for almost all tool_options values and registered · eeec3ced
      Michael Natterer authored
      2003-02-07  Michael Natterer  <mitch@gimp.org>
      
      	Added object properties for almost all tool_options values
      	and registered lots of enums with the type system:
      
      	Part I (enum and type cleanup):
      
      	* app/core/core-enums.[ch]
      	* app/core/core-types.h: removed InternalOrientaionType and
      	register GimpOrientationType. Register GimpChannelOps.
      	Removed GimpToolOptionsGUIFunc.
      
      	* app/xcf/xcf-private.h: added XcfOrientationType with the
      	same values as the old InternalOrientationType
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: translate between GimpOrientationType and
      	XcfOrientationType.
      
      	* app/core/gimpdrawable-transform-utils.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.h
      	* app/display/gimpdisplayshell.c
      	* tools/pdbgen/stddefs.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimpproxy/gimpproxytypes.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimptool/gimptoolenums.[ch]: added GimpTransformGridType.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptionsResetFunc,
      	added GimpToolOptionsGUIFunc.
      
      	Part II (tool options changes):
      
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	don't reset object properties because they have NULL as default
      	value.
      
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_[enum|boolean]_radio_frame_new(),
      	gimp_prop_paint_mode_menu_new() and gimp_prop_scale_entry_new(),
      	which are all needed by the new tool options GUI code.
      
      	* app/tools/tool_options.[ch]: removed the "reset_func" since
      	the virtual reset() method is used now.
      
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimppaintoptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: added properties all over the
      	place and removed the widget and default_value members from
      	the structs. Renamed some values (e.g. s/type/clone_type/).
      	Don't #include <gtk/gtk.h>.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint-types.h
      	* app/paint/paint.c: changed accordingly. Don't #include <gtk/gtk.h>.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.c
      	* app/tools/paint_options.[ch]
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: ditto: added properties and
      	removed widget and default_value stuff. Removed most reset functions.
      	Use gimp_prop widgets all over the place, renamed some values
      	as above.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectoroptions.c: changed accordingly. Ported
      	the paint_options GUI constructors to gimp_prop widgets.
      
      	* app/widgets/gimpselectioneditor.c
      	* app/gui/tool-options-dialog.c: changed accordingly.
      eeec3ced
  22. 05 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Made GimpToolOptions a GimpContext subclass and objectified all tool · aa9f82d1
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      
      	Made GimpToolOptions a GimpContext subclass and objectified
      	all tool options types.
      
      	* app/core/core-types.h: replaced GimpToolOptionsNewFunc by
      	GimpToolOptionsGUIFunc.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* app/core/gimppaintinfo.[ch]: added "GType paint_options_type".
      
      	* app/core/gimptoolinfo.[ch]: added "GType tool_options_type",
      	removed tool_info->context since GimpToolOptions are a GimpContext
      	now. Added "gboolean use_context" as a temp_hack.
      
      	* libgimptool/gimptooltypes.h: added the tool_options_type to
      	the tool registering callback.
      
      	* app/tools/tool_options.[ch]: is a real GimpContext subclass now.
      
      	* app/paint/paint-types.h
      	* app/paint/paint.c: added the paint_options_type to the paint
      	registering stuff.
      
      	* app/paint/gimppaintoptions.[ch]: is a real GimpToolOptions
      	subclass now.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: new files holding
      	GimpPaintOptions subclasses.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.[ch]
      	* app/paint/gimpsmudge.[ch]: removed paint options stuff, lots
      	of related changed & cleanups.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]: new files holding the various
      	tool options classes.
      
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: made them objects.
      
      	* app/tools/paint_options.[ch]: contains only the paint_options
      	GUI and reset stuff.
      
      	* app/tools/tools-types.h: removed SelectionOptions typedef for
      	now.
      
      	* app/tools/[all tools]: removed the tool options stuff except
      	some GUI constructors. Tons of related changes.
      
      	* app/tools/tool_manager.[ch]: changed tool registration / restore /
      	switching accordingly.
      
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      aa9f82d1
  23. 17 Dec, 2002 1 commit
    • Michael Natterer's avatar
      app/tools/gimptransformtool.c replaced the totally unclear (to the user) · 6af7df62
      Michael Natterer authored
      2002-12-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.c
      	* app/tools/transform_options.[ch]: replaced the totally unclear
      	(to the user) way we used to calculate the number of grid lines
      	from the value entered in the "Density" spinbutton by a system
      	where the user has the choice between the number of grid lines to
      	display and the spacing between the displayed grid lines. Replaced
      	the "Show Grid" toggle by an option menu to choose the grid type
      	from. (idea from drc on #gimp).
      6af7df62
  24. 18 Mar, 2002 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am use gimp_mkenums to create widgets-enums.c, added · b4768836
      Sven Neumann authored
      2002-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-enums.[ch]: use gimp_mkenums to create
      	widgets-enums.c, added it to CVS since it contains translatable
      	messages now.
      
      	* app/widgets/gimpenummenu.[ch]: added new functions
      	gimp_enum_radio_box_new() and gimp_enum_radio_frame_new() that create
      	groups of radio buttons out of enum types.
      
      	* app/core/core-enums.[ch]: registered more enums.
      
      	* app/paint/gimpdodgeburn.h
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/transform_options.[ch]: use gimp_enum_radio_frame_new()
      	for some tool options.
      b4768836
  25. 12 Feb, 2002 1 commit
    • Michael Natterer's avatar
      Made the interpolation type configurable in the scale and transform · 733d6335
      Michael Natterer authored
      2002-02-12  Michael Natterer  <mitch@gimp.org>
      
      	Made the interpolation type configurable in the scale and
      	transform options dialogs (#69251):
      
      	* app/base/base-config.[ch]
      	* app/config/gimpbaseconfig.[ch]: removed interpolation_type here...
      
      	* app/core/gimpcoreconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]: ...and added it here.
      
      	* app/gimprc.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/paint-funcs/paint-funcs.[ch]: scale_region: take an
      	interpolation_type parameter.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-scale.[ch]
      	* app/core/gimplayer.[ch]: pass interpolation_type parameters to all
      	scale and transform functions.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* app/gui/resize-dialog.[ch]
      	* app/tools/transform_options.[ch]: added an interpolation_type menu.
      
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      733d6335
  26. 29 Nov, 2001 1 commit
    • Michael Natterer's avatar
      replaced the QMask radio buttons ba a single check button. Still needs · bf6e5a4b
      Michael Natterer authored
      2001-11-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]: replaced the QMask radio
      	buttons ba a single check button. Still needs some tuning.
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-qmask.[ch]: changed accordingly.
      
      	* app/tools/gimptool.[ch]: added "gboolean handle_empty_image" to
      	the GimpTool structure.
      
      	* app/tools/gimpmovetool.c: set it to TRUE.
      
      	* app/tools/gimpfuzzyselecttool.c: don't gimp_[set|unset]_busy()
      	while calculating the selection but set the busy cursor on the
      	display manually (we have the pointer grabbed anyway).
      
      	* app/display/gimpdisplayshell-callbacks.c: don't check for
      	GIMP_IS_MODE_TOOL(active_tool) but look at
      	active_tool->handle_empty_image. Removed the checks for
      	GIMP_IS_FUZZY_SELECT_TOOL(active_tool) because fuzzy_select
      	doesn't set GIMP busy while it's active any more.
      
      	* app/tools/transform_options.[ch]
      	* app/tools/gimptransformtool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c: added widgets for the transform tools'
      	constraints (one more #51108 issue fixed).
      
      	* app/tools/gimperasertool.c: cosmetic.
      
      	* app/widgets/gimpdockbook.c: don't hardcode GtkNotebook's
      	tab_border to 0 but add a style property for it...
      
      	* themes/Default/gtkrc: ...and set it to 0 here.
      bf6e5a4b
  27. 20 Nov, 2001 1 commit
    • Michael Natterer's avatar
      added GimpToolRegisterFunc, GimpToolRegisterCallback and · a75c675d
      Michael Natterer authored
      2001-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tools-types.h: added GimpToolRegisterFunc,
      	GimpToolRegisterCallback and GimpToolOptionsNewFunc typedefs
      	which are used to register tools.
      
      	* app/tools/tools.c: put the register funcs in an array of
      	GimpToolRegisterFuncs. Pass a Gimp pointer *plus* a
      	GimpToolRegisterCallback (which is tool_manager_register_tool())
      	to the tools' register functions.
      
      	* app/tools/tool_manager.[ch]: added a GimpToolOptionsNewFunc to
      	the parameters of tool_manager_register_tool(). Create the tool
      	options here, not in each tool.
      
      	* app/tools/paint_options.[ch]
      	* app/tools/selection_options.[ch]
      	* app/tools/tool_options.[ch]
      	* app/tools/transform_options.[ch]: all _init() and _new()
      	functions take a GimpToolInfo pointer now. The _reset() func needs
      	to be set manually now.
      
      	* app/tools/[all_tools].[ch]: changed accordingly:
      
      	- pass GimpToolOptionsNewFuncs to the register callback.
      	- don't create the tool options in the tools' _init() function.
      	- removed all static tool options variables.
      	- get the options from the tool system in the cases i missed
      	  in my last commit.
      	- added minor hacks to get rid of the static options pointer
      	  in some pathological cases :) (i.e. the ink tool).
      a75c675d
  28. 19 Nov, 2001 1 commit
    • Michael Natterer's avatar
      forgot to commit last time. · 57044c2f
      Michael Natterer authored
      2001-11-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay-foreach.c: forgot to commit last time.
      
      	Transform stuff cleanup:
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdrawable-transform.[ch]: new files implementing
      	the actual transform functions cut from tools/gimptransformtool.*.
      
      	* app/core/gimpdrawable-transform-utils.[ch]: new files implementing
      	transform matrix assembly utility functions.
      
      	* app/tools/gimptransformtool.[ch]: removed the stuff here. cleanup.
      
      	* app/tools/transform_options.[ch]: removed all stuff which does
      	not belong here, e.g. the transform_tool_* functions and the
      	global "transform_options" variable. Works like all other tool
      	options now.
      
      	* app/tools/gimpfliptool.[ch]
      	* app/tools/gimpperspectivetool.[ch]
      	* app/tools/gimprotatetool.[ch]
      	* app/tools/gimpscaletool.[ch]
      	* app/tools/gimpsheartool.[ch]: massive code removal because
      	we can use core/gimpdrawable-fransform* functions now. cleanup.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: added new PDB group "transform_tools".
      
      	* tools/pdbgen/pdb/tools.pdb: removed the transform stuff here...
      
      	* tools/pdbgen/pdb/transform_tools.pdb: and added *much*
      	simplified versions which use the new core/gimpdrawable-transform*
      	utilities.
      
      	* app/pdb/Makefile.am
      	* app/pdb/transform_tools_cmds.c: new file.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/tools_cmds.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimptransformtools_pdb.[ch]: new files.
      
      	* libgimp/gimptools_pdb.[ch]: regenerated.
      57044c2f
  29. 14 Aug, 2001 1 commit
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
  30. 17 Jul, 2001 1 commit
    • Michael Natterer's avatar
      removed path_to_beziersel() so this file can be safely included from · b844c985
      Michael Natterer authored
      2001-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/path.[ch]: removed path_to_beziersel() so this file can be
      	safely included from core/.
      
      	* app/tools/gimpbezierselecttool.[ch]: added it here.
      
      	* app/core/core-types.h: added a GimpToolOptions typedef. Removes
      	deps into tools/ and will later be a core object anyway.
      
      	* app/tools/tools-types.h: removed the ToolOptions typedef here.
      
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.c
      	* app/core/gimptoolinfo.[ch]: removed deps into tools/, misc stuff.
      
      	* app/tools/tool_manager.[ch]: some ugly temp hacks. Please ignore.
      
      	* app/widgets/gimpdialogfactory.[ch]: added a "remember_if_open" field
      	to the GimpDialogFactoryEntry so we can manage dialogs which should
      	not be re-opened on startup.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c: register & create all editor dialog with the
      	"global_dialog_factory".
      
      	* app/gui/tool-options-dialog.c
      	* app/tools/*: s/ToolOptions/GimpToolOptions/
      b844c985
  31. 28 Apr, 2001 1 commit
    • David Neary's avatar
      Separated the transform options stuff from the gimptransformtool files so · 8676c6ac
      David Neary authored
      
      
        * app/tools/transform_options.[ch]: Separated the transform
          options stuff from the gimptransformtool files so that each
          of the transform tools to make is available to the other transform
          tools.
      
        * app/tools/gimptransformtool.c
        * app/tools/gimpscaletool.c
        * app/tools/gimpsheartool.c
        * app/tools/gimprotatetool.c
        * app/tools/gimpperspectivetool.c
        * app/tools/Makefile.am: Changed accordingly
      8676c6ac