1. 14 Mar, 2004 3 commits
    • Sven Neumann's avatar
      app/tools/gimpcolorpickertool.c app/tools/gimpcroptool.c · 63bb032f
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c: don't set tool dialogs transient
      	to the image window. Fixes bug #128833.
      63bb032f
    • Sven Neumann's avatar
      removed all idle handling here. Changes to the text-layer's text object · f67c16ec
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptextlayer.[ch]: removed all idle handling here.
      	Changes to the text-layer's text object all applied synchronously.
      
      	* app/display/gimpdisplayshell-dnd.c
      	* app/text/gimptextlayer-transform.c: removed now obsolete calls
      	to gimp_text_layer_flush().
      
      	* app/tools/gimptexttool.[ch]: queue up changes to the proxy text
      	object and apply them in one go from a low-priority idle handler.
      	This is basically what GimpTextLayer used to do.
      f67c16ec
    • Sven Neumann's avatar
      app/tools/gimptextoptions.[ch] introduced a proxy GimpText object that is · 0993486a
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptexttool.[ch]: introduced a proxy GimpText object
      	that is tied to the GimpTextOptions for the lifetime of the text
      	tool. Brings us one step closer to text undo...
      0993486a
  2. 13 Mar, 2004 9 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
      override the "gradient_repeat" property inherited from GimpPaintOptions · 27fc81be
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpblendoptions.c: override the "gradient_repeat"
      	property inherited from GimpPaintOptions and set the default to
      	GIMP_REPEAT_NONE. Seems more appropriate for the blend tool.
      27fc81be
    • Sven Neumann's avatar
      added new virtual function GimpDrawable::set_tiles(). · c179f9ac
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added new virtual function
      	GimpDrawable::set_tiles().
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c: push an undo before chaining up in
      	set_tiles().
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-convert.c
      	* app/tools/gimptransformtool.c: use gimp_drawable_set_tiles()
      	instead of fiddling with the drawable's tile manager directly.
      c179f9ac
    • 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
    • Raphael Quinet's avatar
      added missing semicolon that was breaking the build. · 40825ad0
      Raphael Quinet authored
      2004-03-13  Raphael Quinet  <quinet@gamers.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_set_layer): added
      	missing semicolon that was breaking the build.
      40825ad0
    • Sven Neumann's avatar
      bugfix. · 4634ee22
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_set_layer): bugfix.
      4634ee22
    • Sven Neumann's avatar
      use a GimpSizeEntry for the font size. · 285b58de
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.[ch]: use a GimpSizeEntry for the
      	font size.
      
      	* app/tools/gimptexttool.c: set the size entry's resolution to the
      	image resolution. Fixes bug #118356.
      285b58de
    • Sven Neumann's avatar
      keep a pointer on the active text layer and let the tool follow the active · 07a92fe5
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.[ch]: keep a pointer on the active text
      	layer and let the tool follow the active layer. Fixes bug #124970.
      
      	* app/gui/layers-commands.c: changed accordingly.
      07a92fe5
  3. 12 Mar, 2004 2 commits
  4. 11 Mar, 2004 4 commits
    • Sven Neumann's avatar
      set the color of the new text from the context foreground color. · 97d53341
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.c (gimp_text_options_create_text):
      	set the color of the new text from the context foreground color.
      97d53341
    • Sven Neumann's avatar
      redid the color handling. Still not perfect, but it is somewhat cleaner. · fb2d9928
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.[ch]: redid the color handling.
      	Still not perfect, but it is somewhat cleaner.
      fb2d9928
    • Sven Neumann's avatar
      made gimp_config_sync() and gimp_config_connect() also work on objects of · 21f26743
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c: made gimp_config_sync() and
      	gimp_config_connect() also work on objects of different types.
      	Properties with the same name and the same type are synced /
      	connected.
      
      	* app/core/gimpcontext.[ch]: added convenience functions to get/set
      	the font by name.
      
      	* app/tools/gimptextoptions.[ch]: don't hold a GimpText object
      	that duplicates properties like font and color which are in
      	GimpContext already. Instead added all text properties that are
      	controlled from the text tool options.  Handling of the foreground
      	color is somewhat broken and needs a GimpContext wizard (Mitch!).
      
      	* app/text/gimptext.c: blurbs are not any longer needed now that
      	the property widgets are created from the GimpTextOptions.
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/widgets/gimptexteditor.[ch]: use an internal GtkTextBuffer
      	and emit "text-changed" when it changes.
      21f26743
    • Sven Neumann's avatar
      connect notify::preview using g_signal_connect_object(). Fixes bug · 9ff5123e
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
      	connect notify::preview using g_signal_connect_object().
      	Fixes bug #136850.
      9ff5123e
  5. 10 Mar, 2004 3 commits
    • Simon Budig's avatar
      app/base/cpu-accel.c app/display/gimpdisplayshell-dnd.c · 70671753
      Simon Budig authored
      2004-03-10  Simon Budig  <simon@gimp.org>
      
      	* app/base/cpu-accel.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/tools/gimpvectortool.c
      	* app/vectors/gimpbezierstroke.c
      	* app/vectors/gimpvectors-import.c: Removed, disabled or
      	conditionalized some debug output.
      
      	There still is debug output when pushing/popping the move tool
      	via space bar. Mitch wanted to look at that.
      70671753
    • Michael Natterer's avatar
      app/tools/gimpdrawtool.c app/tools/gimpselectiontool.c · 79e13a1c
      Michael Natterer authored
      2004-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c: minor cleanup.
      79e13a1c
    • Michael Natterer's avatar
      don't reinitialize the tool when the image becomes dirty but just cancel · 860f3d46
      Michael Natterer authored
      2004-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.c (tool_manager_image_dirty): don't
      	reinitialize the tool when the image becomes dirty but just cancel
      	it (fixes bug #131965). Also, only cancel the tool if the tool is
      	operating on one of the dirtied image's displays (fixes bug #12253).
      860f3d46
  6. 09 Mar, 2004 1 commit
    • Michael Natterer's avatar
      redid my last layer_mask vs. layer move fix by reordering the whole · c5efb31d
      Michael Natterer authored
      2004-03-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_button_press): redid my
      	last layer_mask vs. layer move fix by reordering the whole
      	function: now we first check if we can pick a path, guide or layer
      	and bail out early if we can't; do the actual init_edit_selection()
      	calls in a trivial unconditional switch() after that picking
      	check. Removes code duplication and makes the whole function less
      	nested and weird.
      
      	Cleaned up the whole file a bit.
      c5efb31d
  7. 07 Mar, 2004 1 commit
    • Hans Breuer's avatar
      updated · 2036638f
      Hans Breuer authored
      2004-03-07  Hans Breuer  <hans@breuer.org>
      
      	* themes/Default/images/makefile.msc
      	  app/*/makefile.msc plug-ins/makefile.msc : updated
      2036638f
  8. 05 Mar, 2004 3 commits
  9. 04 Mar, 2004 3 commits
    • Michael Natterer's avatar
      if we pick a layer to move and this layer has a mask which is being edited · f3df250a
      Michael Natterer authored
      2004-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_button_press): if we
      	pick a layer to move and this layer has a mask which is being
      	edited (active), start moving the mask, not the layer.
      f3df250a
    • Sven Neumann's avatar
      marked new strings for translation. · e21dc0ee
      Sven Neumann authored
      2004-03-04  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc-blurbs.h: marked new strings for translation.
      
      	* libgimpwidgets/gimpstock.h: added #defines for missing icons.
      	This allows us to replace them later without changing the API.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs-menu.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.c
      	* app/widgets/gimppaletteeditor.c: use the new stock icon names
      	instead of abusing GTK+ and GIMP tool stock icons.
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): added icons
      	to the new check buttons.
      e21dc0ee
    • Michael Natterer's avatar
      app/config/gimpcoreconfig.[ch] added boolean properties "global-brush", · ba265516
      Michael Natterer authored
      2004-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: added boolean properties
      	"global-brush", "global-pattern" etc.
      
      	* app/gui/preferences-dialog.c: added GUI for them to the
      	"Tool Options" page.
      
      	* app/tools/tool_manager.c (tool_manager_tool_changed): honor the
      	new prefs options when copying the new tool's properties.
      	Fixed bug #122519.
      ba265516
  10. 02 Mar, 2004 1 commit
  11. 29 Feb, 2004 1 commit
  12. 25 Feb, 2004 5 commits
    • Michael Natterer's avatar
      cleanup. · 4ae2c548
      Michael Natterer authored
      2004-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.c: cleanup.
      
      	* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): added 2px
      	spacing between the pick buttons and their entries.
      4ae2c548
    • Michael Natterer's avatar
      moved "shell_desc" from GimpImageMapTool to GimpImageMapToolClass and · 0d3e3625
      Michael Natterer authored
      2004-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]: moved "shell_desc" from
      	GimpImageMapTool to GimpImageMapToolClass and added
      	"load_dialog_title" and "save_dialog_title". Create the
      	load/save buttons in gimp_image_map_tool_initialize() and
      	remember them in the GimpImageMapTool struct. Moved the
      	whole load/save button/dialog logic into private functions.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: changed accordingly, removed
      	load/save callbacks, inlined the load/save functions into
      	GimpImageMapTool's virtual function implementations.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      0d3e3625
    • Sven Neumann's avatar
      app/tools/gimpcurvestool.[ch] removed obsoleted variables. · 0a309fe9
      Sven Neumann authored
      2004-02-25  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimplevelstool.h: removed obsoleted variables.
      0a309fe9
    • Sven Neumann's avatar
      removed obsolete includes · c6605367
      Sven Neumann authored
      c6605367
    • Sven Neumann's avatar
      app/tools/gimpcurvestool.[ch] app/tools/gimpimagemapoptions.[ch] · c1de6345
      Sven Neumann authored
      2004-02-25  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimpimagemapoptions.[ch]
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimplevelstool.[ch]: moved the settings file dialog
      	that was duplicated in the curves and levels tools to the
      	GimpImageMapTool class. Store the last used filename in the
      	GimpImageMapOptions (proper fix for bug #135059).
      c1de6345
  13. 24 Feb, 2004 1 commit
    • Dave Neary's avatar
      Revert to 1.2 behaviour of hiding rather than destroying the curves · 879e24fe
      Dave Neary authored
      
      2004-02-24  Dave Neary  <bolsh@gimp.org>
      
              * app/tools/gimpcurvestool.c: Revert to 1.2 behaviour of hiding
              rather than destroying the curves load/save dialog. This makes
              the last selected curve be selected when the dialog is
              re-opened, and fixes bug #135059.
      
              Also append G_DIR_SEPARATOR_S to the end of the filename we
              build while creating the dialog, rather than ".".
      879e24fe
  14. 23 Feb, 2004 1 commit
  15. 22 Feb, 2004 1 commit
    • Sven Neumann's avatar
      Let all GimpImageMap tools remember the state of the preview toggle (bug · 5077aa4c
      Sven Neumann authored
      2004-02-22  Sven Neumann  <sven@gimp.org>
      
      	Let all GimpImageMap tools remember the state of the preview toggle
      	(bug #135059):
      
      	* app/tools/Makefile.am
      	* app/tools/gimpimagemapoptions.[ch]
      	* app/tools/tools-types.h: added new GimpToolOptions class to hold
      	the preview setting.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcoloroptions.[ch]
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimpposterizetool.c
      	* app/tools/tools-types.h: use the new class.
      5077aa4c
  16. 21 Feb, 2004 1 commit
    • Simon Budig's avatar
      added "use_offsets" parameter to gimp_draw_tool_draw_boundary() for · 331f9823
      Simon Budig authored
      2004-02-21  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch]: added "use_offsets" parameter
      	to gimp_draw_tool_draw_boundary() for consistency.
      
      	* app/tools/gimpeditselectiontool.c: Changed accordingly.
      
      	* app/tools/gimppainttool.c: when drawing straight lines draw
      	the brush preview at the end of the line.
      331f9823