1. 14 Jun, 2004 12 commits
    • Philip Lafleur's avatar
      Disable preview in corrective mode, and notify preview when switching · 905b0e03
      Philip Lafleur authored
      2004-06-14  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/tools/gimptransformtool.c: Disable preview in corrective
      	mode, and notify preview when switching transform type and
      	direction.
      905b0e03
    • Michael Natterer's avatar
      added new virtual function GimpPaintCore::post_paint() and call it after · 3e269083
      Michael Natterer authored
      2004-06-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.[ch]: added new virtual function
      	GimpPaintCore::post_paint() and call it after calling
      	GimpPaintCore::paint().
      
      	* app/paint/gimpbrushcore.[ch]: renamed brush_core->grr_brush
      	to brush_core->main_brush and reset brush_core->brush
      	to brush_core->main_brush in GimpPaintCore::post_paint().
      
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/tools/gimppainttool.c: removed all code which restores
      	the brush_core's old brush after painting since post_paint()
      	does this automatically now.
      
      	* app/paint/gimpclone.[ch]: moved static variables to the
      	GimpClone struct.
      3e269083
    • Sven Neumann's avatar
      some code cleanup I did while attempting to optimize this code further. · 0256a2dc
      Sven Neumann authored
      2004-06-14  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs-generic.h (color_pixels): some code
      	cleanup I did while attempting to optimize this code further.
      0256a2dc
    • Henrik Brix Andersen's avatar
      let extensions run synchronously when called via PDB. Fixes bug #140112. · 1bdd36c9
      Henrik Brix Andersen authored
      2004-06-14 Henrik Brix Andersen <brix@gimp.org>
      
      * app/plug-in/plug-in-run.c: let extensions run synchronously when
      called via PDB. Fixes bug #140112.
      1bdd36c9
    • Philip Lafleur's avatar
      Preview is now only used for layer transformations. · 4ad2d717
      Philip Lafleur authored
      2004-06-14  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/tools/gimptransformtool.c: Preview is now only used for
      	layer transformations.
      4ad2d717
    • Michael Natterer's avatar
      app/tools/gimpperspectivetool.c app/tools/gimprotatetool.c · 4c68bd87
      Michael Natterer authored
      2004-06-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: removed calls to
      	gimp_transform_tool_expose_preview() from all
      	GimpTransformTool::motion() implementations...
      
      	* app/tools/gimptransformtool.c: ...and call it after calling
      	tr_tool_class->preview().
      4c68bd87
    • Michael Natterer's avatar
      remember the last used GimpCursorFormat so changing the format in prefs · 1082ee6b
      Michael Natterer authored
      2004-06-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]: remember the last used
      	GimpCursorFormat so changing the format in prefs applies
      	instantly, and not after the next tool change.
      
      	* app/display/gimpdisplayshell-cursor.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptoolcontrol.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptransformtool.c: s/GdkCursorType/GimpCursorType/g
      1082ee6b
    • Philip Lafleur's avatar
      Preview wasn't being turned off before performing a transformation. Also · 71b4d891
      Philip Lafleur authored
      2004-06-14  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/tools/gimptransformtool.c (gimp_transform_tool_doit): Preview
      	wasn't being turned off before performing a transformation. Also
      	converted tabs to spaces.
      71b4d891
    • Philip Lafleur's avatar
      Transformation previews now use the selection mask if it is present. · 01b53ad3
      Philip Lafleur authored
      2004-06-14  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/display/gimpdisplayshell-preview.c: Transformation previews now
      	use the selection mask if it is present.
      01b53ad3
    • Manish Singh's avatar
      Make sure PangoFT2 is using a recent enough fontconfig since many people · 62e33047
      Manish Singh authored
      2004-06-13  Manish Singh  <yosh@gimp.org>
      
              * configure.in: Make sure PangoFT2 is using a recent enough fontconfig
              since many people have broken and confused setups.
      62e33047
    • Manish Singh's avatar
      cleans ups so generated output doesn't warn about uninitialize variable · 6ffe0440
      Manish Singh authored
      2004-06-13  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/gradient_edit.pdb: cleans ups so generated
              output doesn't warn about uninitialize variable use, and whitespace
              cosmetic cleanups.
      
              * app/pdb/gradient_edit_cmds.c: regenerated.
      6ffe0440
    • Manish Singh's avatar
      Reorged, to address bug #142907 and bug #143069. Accel implementations · 0829a3b6
      Manish Singh authored
      2004-06-13  Manish Singh  <yosh@gimp.org>
      
              * app/base/cpu-accel.c: Reorged, to address bug #142907 and
              bug #143069. Accel implementations #define HAVE_ACCEL, and cpu_accel()
              keys on that. Both PPC and X86 implementations check for __GNUC__.
              X86 stuff is only used with USE_MMX is defined. The SSE OS check
              is now checked in arch_accel(), not cpu_accel(). Finally, the
              arch x86_64 checks now are EM64T aware (which didn't matter in
              practice).
      0829a3b6
  2. 13 Jun, 2004 13 commits
    • Philip Lafleur's avatar
      use drawable_mask_bounds() for texture coordinates instead of the · 7b3cc62c
      Philip Lafleur authored
      2004-06-13  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/display/gimpdisplayshell-preview.c: use drawable_mask_bounds()
      	for texture coordinates instead of the drawable's width and height.
      7b3cc62c
    • Sven Neumann's avatar
      don't call tile_ewidth() three times from the inner loop. · 847e41fa
      Sven Neumann authored
      2004-06-13  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs.c (shapeburst_region): don't call
      	tile_ewidth() three times from the inner loop.
      
      	* app/base/tile-manager.c (tile_manager_get): don't call
      	tile_size() twice on the same tile.
      
      	* app/base/tile-private.h: added tile_size_inline(), an inline
      	version of the tile_size() function.
      
      	* app/base/tile-cache.c
      	* app/base/tile-manager.c
      	* app/base/tile-swap.c
      	* app/base/tile.c: use tile_size_inline() from inside the tile
      	subsystem.
      847e41fa
    • Simon Budig's avatar
      Minor tweaks to two macros. Shouldn't change anything. · a3936388
      Simon Budig authored
      2004-06-13  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpiscissorstool.c: Minor tweaks to two macros.
      	Shouldn't change anything.
      a3936388
    • Simon Budig's avatar
      Oops, forgot to mention Iva as a host... :) · b71dafc8
      Simon Budig authored
      b71dafc8
    • Jakub Steiner's avatar
      minor fsckup · 5b2c7e07
      Jakub Steiner authored
      2004-06-13  Jakub Steiner <jimmac@ximian.com>
      
      * cursors/tool-zoom.png:
      * cursors/cursor-zoom.png: minor fsckup
      5b2c7e07
    • Jakub Steiner's avatar
      cursors/gimp-tool-cursors.xcf the burn tool doesn't really have an · 079e6d35
      Jakub Steiner authored
      2004-06-13  Jakub Steiner <jimmac@ximian.com>
      
      * cursors/gimp-tool-cursors.xcf
      * cursors/tool-burn.png: the burn tool doesn't really have an
        inverted handle
      079e6d35
    • Jakub Steiner's avatar
      cursors/gimp-tool-cursors.xcf the burn tool doesn't really have an · 305382d1
      Jakub Steiner authored
      2004-06-13  Jakub Steiner <jimmac@ximian.com>
      
      * cursors/gimp-tool-cursors.xcf
      * cursors/tool-burn.png: the burn tool doesn't really have an
        inverted handle
      305382d1
    • Sven Neumann's avatar
      added progress callback. · b9211077
      Sven Neumann authored
      2004-06-13  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch] (shapeburst_region): added
      	progress callback.
      
      	* app/core/gimpdrawable-blend.c: show a progress while calculating
      	the Shapeburst. Not perfect but better than not showing any
      	progress at all.
      b9211077
    • Michael Natterer's avatar
      added enum GimpCursorFormat which can be one of { BITMAP, PIXBUF, · 2498adc5
      Michael Natterer authored
      2004-06-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-enums.[ch]: added enum GimpCursorFormat
      	which can be one of { BITMAP, PIXBUF, PIXBUF-PREMULTIPLY } to
      	work around broken X servers.
      
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc-blurbs.h: added GimpGuiConfig::cursor-format.
      
      	* app/gui/preferences-dialog.c: added a GUI for the new option.
      
      	* app/widgets/gimpcursor.[ch]: added cursor_format parameter
      	to gimp_cursor_new() and _set().
      
      	* app/display/gimpdisplayshell-cursor.c
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpdialogfactory.c: pass an appropriate cursor_mode.
      2498adc5
    • Philip Lafleur's avatar
      added missing semicolon. · a6801996
      Philip Lafleur authored
      2004-06-12  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/core/gimpdrawable-blend.c: added missing semicolon.
      a6801996
    • 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
    • Sven Neumann's avatar
      inline the repeat functions. · c28d70ce
      Sven Neumann authored
      2004-06-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-blend.c (gradient_render_pixel): inline
      	the repeat functions.
      
      	* app/core/gimpgradient.c: inline the curve functions.
      c28d70ce
    • Jakub Steiner's avatar
      cursors/gimp-tool-cursors.xcf make more transparent · 4e235080
      Jakub Steiner authored
      2004-06-13  Jakub Steiner <jimmac@ximian.com>
      
      * cursors/gimp-tool-cursors.xcf
      * cursors/tool-zoom.png: make more transparent
      4e235080
  3. 12 Jun, 2004 15 commits
    • Jakub Steiner's avatar
      cursors/gimp-tool-cursors.xcf cursors/tool-blur.png · cf3ff449
      Jakub Steiner authored
      2004-06-13  Jakub Steiner <jimmac@ximian.com>
      
      * cursors/gimp-tool-cursors.xcf
      * cursors/tool-blur.png
      * cursors/tool-bucket-fill.png
      * cursors/tool-dodge.png
      * cursors/tool-eraser.png
      * cursors/tool-hand.png: fix a few problems hidden by low opacity
      cf3ff449
    • Jakub Steiner's avatar
      updated the cursors · 6ec4ced9
      Jakub Steiner authored
      2004-06-13  Jakub Steiner <jimmac@ximian.com>
      
      * cursor/*png: updated the cursors
      6ec4ced9
    • Michael Natterer's avatar
      added nice new antialiased cursor layers made by Jimmac. · 672fa6af
      Michael Natterer authored
      2004-06-13  Michael Natterer  <mitch@gimp.org>
      
      	* cursors/gimp-tool-cursors.xcf: added nice new antialiased
      	cursor layers made by Jimmac.
      672fa6af
    • Sven Neumann's avatar
      don't use the rather inefficient gimp_palette_add_entry() when loading a · de758bbe
      Sven Neumann authored
      2004-06-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.c (gimp_palette_load): don't use the rather
      	inefficient gimp_palette_add_entry() when loading a palette.
      de758bbe
    • Michael Natterer's avatar
      added "gint freeze_count" and gimp_data_freeze()/thaw() functions. Emit · b490b262
      Michael Natterer authored
      2004-06-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch]: added "gint freeze_count" and
      	gimp_data_freeze()/thaw() functions. Emit "dirty" only if
      	freeze_count either is 0 or drops to 0.
      
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpgradient.[ch]: removed freeze/thaw stuff that
      	was duplicated in these two subclasses and use the new
      	GimpData API instead.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c: changed accordingly.
      b490b262
    • Sven Neumann's avatar
      don't copy the first row onto itself. · 2fd178c6
      Sven Neumann authored
      2004-06-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcolorbar.c (gimp_color_bar_expose): don't copy
      	the first row onto itself.
      2fd178c6
    • Simon Budig's avatar
      Make Enter/Return apply the transformation, Backspace/Delete resets the · d76b2183
      Simon Budig authored
      2004-06-12  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimptransformtool.c: Make Enter/Return apply the
      	transformation, Backspace/Delete resets the transformation.
      
      	* app/tools/gimpcroptool.c: Simplify the key_press callback.
      d76b2183
    • Simon Budig's avatar
      Make the Enter/Return key do the crop action. · 3fe1753e
      Simon Budig authored
      2004-06-12  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpcroptool.c: Make the Enter/Return key do
      	the crop action.
      
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpvectortool.c: Make the _key_press functions
      	safe for non-arrow keys.
      3fe1753e
    • Sven Neumann's avatar
      just some cleanup. · 25855661
      Sven Neumann authored
      2004-06-12  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite.[ch]: just some cleanup.
      25855661
    • Michael Natterer's avatar
      ported some forgotten #if 0'ed GtkItemFactory stuff to GtkUIManager. · 7fd74425
      Michael Natterer authored
      2004-06-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_events): ported some forgotten #if 0'ed
      	GtkItemFactory stuff to GtkUIManager.
      7fd74425
    • Simon Budig's avatar
      renamed the "arrow_key" member to "key_press", since it is now no longer · 3c1b7fe6
      Simon Budig authored
      2004-06-12  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimptool.[ch]: renamed the "arrow_key" member
      	to "key_press", since it is now no longer about just the arrow
      	keys.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpeditselectiontool.h
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tool_manager.c: Changed accordingly.
      3c1b7fe6
    • Michael Natterer's avatar
      add the file DND destination before all others so the DND code will · a458622e
      Michael Natterer authored
      2004-06-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_init): add
      	the file DND destination before all others so the DND code will
      	implicitly use its destination properties. Works around Konqueror
      	offering only file MOVE, not COPY and fixes bug #144168.
      a458622e
    • Sven Neumann's avatar
      reindented, some minor cleanup. · 277d0962
      Sven Neumann authored
      2004-06-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/sample_colorize.c: reindented, some minor cleanup.
      277d0962
    • Simon Budig's avatar
      Fixed typo in the Changelog · 7eac8384
      Simon Budig authored
      7eac8384
    • Simon Budig's avatar
      renamed tool_manager_arrow_key_active to tool_manager_key_press_active. · 39614b34
      Simon Budig authored
      2004-06-12  Simon Budig  <simon@gimp.org>
      
      	* app/tools/tool_manager.[ch]: renamed
      	tool_manager_arrow_key_active to tool_manager_key_press_active.
      
      	* app/display/gimpdisplayshell-callbacks.c: Also dispatch
      	GDK_Return/KP_Enter/BackSpace/Delete to the tools "arrow_key"
      	member of GimpTool probably should be renamed.
      
      	* app/tools/gimpvectortool.c: Use Enter/Return to convert the
      	current path to a selection, use Backspace/Delete to delete the
      	currently active anchors in a path.
      
      	Implemented on Jimmacs request - thanks for being a great host  :)
      39614b34