1. 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
  2. 17 Oct, 2007 1 commit
    • Sven Neumann's avatar
      removed a frame. · a5fa3112
      Sven Neumann authored
      2007-10-17  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpselectionoptions.c: removed a frame.
      
      	* app/tools/gimptransformoptions.c: tweaked layout to reduce
      	horizontal extent.
      
      	* app/widgets/gimpviewablebox.c (gradient_box_new): use an icon
      	for the "Reverse" check button.
      
      svn path=/trunk/; revision=23857
      a5fa3112
  3. 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
  4. 09 Mar, 2007 1 commit
  5. 24 Dec, 2006 1 commit
    • Mukund Sivaraman's avatar
      app/core/Makefile.am app/core/gimp-transform-resize.c · f0cff0ff
      Mukund Sivaraman authored
      2006-12-24  Mukund Sivaraman  <muks@mukund.org>
      
              * app/core/Makefile.am
              * app/core/gimp-transform-resize.c
              * app/core/gimpchannel.c
              * app/core/gimpdrawable-transform.c
              * app/core/gimpdrawable-transform.h
              * app/core/gimpdrawable.c
              * app/core/gimpimage-item-list.c
              * app/core/gimpimage-item-list.h
              * app/core/gimpitem-linked.c
              * app/core/gimpitem-linked.h
              * app/core/gimpitem.c
              * app/core/gimpitem.h
              * app/core/gimplayer.c
              * app/pdb/drawable_transform_cmds.c
              * app/text/gimptextlayer-transform.c
              * app/text/gimptextlayer-transform.h
              * app/tools/gimptransformoptions.c
              * app/tools/gimptransformtool.c
              * app/vectors/gimpvectors.c
              * libgimp/gimpdrawabletransform_pdb.c
              * libgimp/gimpdrawabletransform_pdb.h
              * libgimp/gimpenums.c.tail
              * libgimpbase/gimpbase.def
              * libgimpbase/gimpbaseenums.c
              * libgimpbase/gimpbaseenums.h
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/drawable_transform.pdb: implemented UI and PDB
              for new clipping modes for affine transforms (crop to largest
              rectangle, and crop to largest rectangle with the source's aspect
              ratio); fixed various bugs in the largest rectangle computation
              code; set padding to 6 in the transformation tool options.
      f0cff0ff
  6. 09 Dec, 2006 1 commit
  7. 03 Oct, 2006 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 13db7533
      William Skaggs authored
      	* app/tools/tools-enums.[ch]: change labels for transform
      	type enum.
      
      	* app/tools/gimpmoveoptions.c:
      	* app/tools/gimptransformoptions.c:  change "Affect:" to
      	"Move:" or "Transform:", respectively.  Fixes bug #358824.
      13db7533
  8. 27 Aug, 2006 1 commit
    • Michael Natterer's avatar
      app/tools/gimpairbrushtool.c app/tools/gimpalignoptions.c · 031e8e79
      Michael Natterer authored
      2006-08-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpalignoptions.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmeasureoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimprectangleoptions.c
      	* app/tools/gimprectangleselectoptions.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptextoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c: code cleanup.
      031e8e79
  9. 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
  10. 15 May, 2006 1 commit
  11. 18 Jan, 2006 1 commit
    • Michael Natterer's avatar
      define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB. · e1ceed51
      Michael Natterer authored
      2006-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS
      	which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define
      	GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include
      	GIMP_PARAM_STATIC_STRINGS.
      
      	* app/*/*.c: use them for all object properties so their
      	strings are not copied.
      e1ceed51
  12. 13 Dec, 2005 1 commit
  13. 13 Sep, 2005 1 commit
    • Michael Natterer's avatar
      removed "<>" around modifiers. · a14a3177
      Michael Natterer authored
      2005-09-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.c (gimp_get_mod_name_*): removed
      	"<>" around modifiers.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpthumbbox.c: added "()" around the whole modifier
      	string where appropriate.
      
      	* app/widgets/gimptoolbox.c (gimp_toolbox_button_accel_changed):
      	use gimp_get_mod_string() instead of homebrewn variant of the same
      	code.
      
      	* app/widgets/gimpcontrollerkeyboard.c: replaced tons of static
      	translatable strings containing modifiers by generated ones using
      	gimp_get_mod_string() (traded for some more memory consumption).
      a14a3177
  14. 07 May, 2005 2 commits
  15. 04 Feb, 2005 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · a395b02f
      William Skaggs authored
      	* libgimpwidgets/gimppropwidgets.[ch]: magic-copied from app/widgets
      	and un-movable things then removed.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgets.h: corresponding changes
      
      	* app/widgets/gimppropwidgets.[ch]: remove functions that were
      	moved.
      
      	* app/dialogs/stroke-dialog.c
      	* app/dialogs/tips-dialog.c
      	* app/dialogs/user-install-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmeasureoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpgrideditor.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimpsizebox.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptooloptionseditor.c: fix includes.
      a395b02f
  16. 25 Jan, 2005 1 commit
  17. 14 Oct, 2004 2 commits
    • Sven Neumann's avatar
      removed the "Density" label. It wasn't helpful and caused the transform · 428a80a1
      Sven Neumann authored
      2004-10-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformoptions.c: removed the "Density" label.
      	It wasn't helpful and caused the transform options to be wider than
      	necessary.
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptransformoptions.c: let combo boxes expand
      	horizontally like we do in other (all ?) dialogs.
      
      	* app/widgets/gimptemplateeditor.c
      	(gimp_template_editor_aspect_callback): update the pixel size label.
      428a80a1
    • Michael Natterer's avatar
      libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] · 27c2be7c
      Michael Natterer authored
      2004-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c
      	* app/widgets/gimpenumwidgets.[ch]
      	* app/widgets/gimppropwidgets.c
      	* app/actions/layers-commands.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: the child of a GimpFrame must
      	not have any border width. Fixes many subtle misalignments.
      27c2be7c
  18. 06 Oct, 2004 2 commits
    • Michael Natterer's avatar
      reset the tool options before deserializing so they have the correct · 62c23a23
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimp-tools.c (gimp_tools_restore): reset the tool
      	options before deserializing so they have the correct default
      	values. Fixes bug #120832.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: removed all set_defaults()
      	utility functions and moved their code to reset(). The change
      	above calls them automatically so there is no need to call them
      	from the GUI constructors any more.
      62c23a23
    • Michael Natterer's avatar
      Fixed the scale constraints radio buttons: · 3f2d5e68
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	Fixed the scale constraints radio buttons:
      
      	* app/tools/gimptransformoptions.c (gimp_transform_options_gui):
      	initialize the radio group with the correct value instead of
      	resetting the model before creating the group.
      
      	(gimp_scale_options_constrain_callback): change the model
      	only if the radio button became active.
      
      	(gimp_scale_options_constrain_notify): new callback which makes
      	the radio buttons a real view on the model again (fixes GUI
      	updates on modifier press/release).
      3f2d5e68
  19. 24 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c · ff68106b
      Michael Natterer authored
      2004-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpairbrushoptions.c
      	* app/paint/gimpcloneoptions.c
      	* app/paint/gimpconvolveoptions.c
      	* app/paint/gimpdodgeburnoptions.c
      	* app/paint/gimperaseroptions.c
      	* app/paint/gimpinkoptions.c
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppenciloptions.c
      	* app/paint/gimpsmudgeoptions.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimpimagemapoptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmeasureoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptextoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c: code cleanup: untabified and
      	trailing whitespace removal, removed empty instance_init()
      	funcions, cleaned up variable declarations/initializations.
      ff68106b
  20. 02 Jul, 2004 1 commit
  21. 28 Jun, 2004 2 commits
    • Michael Natterer's avatar
      fix typo in last commit. · d61cc35e
      Michael Natterer authored
      d61cc35e
    • Michael Natterer's avatar
      added new function gimp_get_mod_string() which takes a GdkModifierType and · 6cd57372
      Michael Natterer authored
      2004-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added new function
      	gimp_get_mod_string() which takes a GdkModifierType and returns
      	correctly formated strings for all shift,control,alt combinations.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c: use the new function instead
      	of gimp_get_mod_name_shift(),control(),alt(),separator(). This
      	kindof addresses the issue of configurable modifier keys but is
      	actually indended to ease translation of format strings ("%s" is
      	easier to get right than "%s%s%s").
      6cd57372
  22. 22 Jun, 2004 1 commit
  23. 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
  24. 04 May, 2004 1 commit
    • Sven Neumann's avatar
      app/tools/gimpblendoptions.c app/tools/gimpbucketfilloptions.c · 6fd0eeac
      Sven Neumann authored
      2004-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptooloptions-gui.c
      	* app/tools/gimptransformoptions.c: use GimpFrames where GtkFrame
      	was used. Put "Pressure Sensitivity" frame into a GtkExpander.
      6fd0eeac
  25. 18 Apr, 2004 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h removed GimpEnumMenu. · 89cf4554
      Sven Neumann authored
      2004-04-18  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpenummenu.[ch]: removed GimpEnumMenu.
      
      	* app/widgets/gimpenumwidgets.[ch]: moved widget constructors that
      	don't use GimpEnumMenu from gimpenummenu.[ch] to these new files.
      
      	* app/widgets/gimpenumcombobox.[ch]: added a GtkComboBox widget
      	using GimpEnumStore; replaces GimpEnumMenu.
      
      	* app/widgets/gimpenumstore.[ch]: added new function
      	gimp_enum_store_lookup_by_value().
      
      	* app/widgets/gimppropwidgets.[ch]: replaced
      	gimp_prop_enum_option_menu_new() with gimp_prop_enum_combo_box_new().
      
      	* app/gui/brush-select.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpgrideditor.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptexteditor.c: ported to GimpEnumComboBox.
      89cf4554
  26. 13 Mar, 2004 3 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
    • Sven Neumann's avatar
      for consistency, changed the label from "Supersample" to "Supersampling". · beaed82c
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformoptions.c (gimp_transform_options_gui): for
      	consistency, changed the label from "Supersample" to "Supersampling".
      beaed82c
    • 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
  27. 26 Aug, 2003 1 commit
  28. 17 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean allow_percent" to gimp_param_spec_unit() and to the · 486aed8e
      Michael Natterer authored
      2003-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]: added "gboolean allow_percent"
      	to gimp_param_spec_unit() and to the GIMP_CONFIG_INSTALL_PROP_UNIT()
      	macro. Changed value validation accordingly.
      
      	* app/config/gimpconfig-types.c (string_to_unit): parse "percent"
      	correctly.
      
      	* app/widgets/gimppropwidgets.c (gimp_prop_unit_menu_new): show
      	the "Percent" menu entry if the param_spec allows percent.
      
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpgrid.c
      	* app/core/gimptemplate.c
      	* app/text/gimptext.c: pass FALSE to disallow percent.
      
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpselectionoptions.c: pass TRUE. Brings back the
      	percent feature for fade_length, gradient_length and fixed_size
      	rect/ellipse select.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: don't call the the reset()
      	functions from the GUI constructors (and reset the options just
      	deserialized from disk). Instead, added set_defaults() functions
      	which do everything the old reset() functions did (except
      	upchaining) and call set_defaults() from reset() and from the GUI
      	constructors.
      486aed8e
  29. 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
  30. 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
  31. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  32. 21 Feb, 2003 1 commit
  33. 10 Feb, 2003 1 commit
    • Michael Natterer's avatar
      connect to GimpTransformOptions' "notify" signal and update grid and path · 58d780e0
      Michael Natterer authored
      2003-02-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: connect to GimpTransformOptions'
      	"notify" signal and update grid and path drawing accordingly.
      
      	* app/tools/gimptransformoptions.c: removed the same stuff here.
      	Doesn't depend on the tool_manager any more.
      
      	* app/tools/gimpselectionoptions.c
      	* app/tools/paint_options.c: don't #include "tool_manager.h"
      58d780e0
  34. 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