1. 06 Mar, 2008 3 commits
  2. 05 Mar, 2008 4 commits
    • Sven Neumann's avatar
      minor cleanups · 7885067e
      Sven Neumann authored
      svn path=/trunk/; revision=25039
      7885067e
    • Sven Neumann's avatar
      applied a modified and further optimized version of the patch from Tom · 6b989615
      Sven Neumann authored
      2008-03-05  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-preview.c: applied a modified and
      	further optimized version of the patch from Tom Lechner as
      	attached to bug #167926.  This makes the transform preview take
      	the layer opacity into account. Needs some more work...
      
      
      svn path=/trunk/; revision=25038
      6b989615
    • Sven Neumann's avatar
      applied some unrelated cleanups from a patch from Tom Lechner (from bug · abb3fd7b
      Sven Neumann authored
      2008-03-05  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: applied some unrelated
      	cleanups from a patch from Tom Lechner (from bug #167926).
      
      
      svn path=/trunk/; revision=25037
      abb3fd7b
    • Michael Natterer's avatar
      changed PROJ_ROUND() macros to use RINT() so they work correctly with · f71fd9f8
      Michael Natterer authored
      2008-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.h: changed PROJ_ROUND() macros to
      	use RINT() so they work correctly with negative numbers.
      
      	* app/tools/gimpdrawtool.c
      	(gimp_draw_tool_draw_line)
      	(gimp_draw_tool_draw_dashed_line)
      	(gimp_draw_tool_draw_rectangle)
      	(gimp_draw_tool_draw_arc)
      	(gimp_draw_tool_draw_boundary): use floating-point coordinate
      	transform functions again. These functions were changed to use
      	integer transform functions in 2004 (!!) which broke sub-pixel
      	precision drawing for stuff like straight-line and blend tool
      	and also sub-pixel drawing of the brush outline.
      
      	Should be backported to 2.4 after it has shown no ill effects in
      	trunk.
      
      
      svn path=/trunk/; revision=25036
      f71fd9f8
  3. 04 Mar, 2008 2 commits
  4. 02 Mar, 2008 1 commit
  5. 01 Mar, 2008 1 commit
    • Martin Nordholts's avatar
      Only draw the grabbed point, not all points. Drawing all points adds · 424eee43
      Martin Nordholts authored
      2008-03-01  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimppolygonselecttool.c
      	(gimp_polygon_select_tool_draw): Only draw the grabbed point, not
      	all points. Drawing all points adds unnecessary clutter to the
      	user interface.
      	(gimp_polygon_select_tool_select_closest_point): Handle drawing of
      	grabbed points.
      
      svn path=/trunk/; revision=25004
      424eee43
  6. 29 Feb, 2008 1 commit
    • Michael Natterer's avatar
      synced copies from upstream. · 229a9aee
      Michael Natterer authored
      2008-02-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/ige-mac-menu.[ch]: synced copies from upstream.
      
      
      svn path=/trunk/; revision=24998
      229a9aee
  7. 28 Feb, 2008 2 commits
    • Michael Natterer's avatar
      get rid of fixed-size arrays and allocate the points and curve arrays · f4378d62
      Michael Natterer authored
      2008-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.[ch]: get rid of fixed-size arrays and
      	allocate the points and curve arrays dynamically. Added "n-points"
      	and "n-samples" CONSTRUCT_ONLY properties. Renamed member "curve"
      	to "samples". Lots of code changes to work with dynamic limits
      	rather than 17 and 256.
      
      	* app/core/gimpdrawable-curves.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpcurveview.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24995
      f4378d62
    • Michael Natterer's avatar
      cursors/Makefile.am cursors/gimp-tool-cursors.xcf · 96645da0
      Michael Natterer authored
      2008-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* cursors/Makefile.am
      	* cursors/gimp-tool-cursors.xcf
      	* cursors/tool-polygon-select.png
      	* cursors/xbm/tool-polygon-select.xbm
      	* cursors/xbm/tool-polygon-select-mask.xbm
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpcursor.c: new cursor for polygon select.
      
      	* app/tools/gimppolygonselecttool.c: use it.
      
      
      svn path=/trunk/; revision=24994
      96645da0
  8. 27 Feb, 2008 2 commits
    • Sven Neumann's avatar
      pass the direction parameter down to · 65871fe9
      Sven Neumann authored
      2008-02-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_affine):
      	pass the direction parameter down to
      	gimp_drawable_transform_tiles_affine() instead of hardcoding it to
      	GIMP_TRANSFORM_FORWARD. Fixes bug #518910.
      
      svn path=/trunk/; revision=24990
      65871fe9
    • Sven Neumann's avatar
      added a sanity check which might help to catch the problem reported in bug · 2d84043d
      Sven Neumann authored
      2008-02-27  Sven Neumann  <sven@gimp.org>
      
              * app/gui/gui-vtable.c (gui_display_create): added a sanity 
      check
              which might help to catch the problem reported in bug #518905.
      
      
      
      svn path=/trunk/; revision=24989
      2d84043d
  9. 26 Feb, 2008 8 commits
    • Sven Neumann's avatar
      don't assume that global AM_LDFLAGS and per-target LD_FLAGS would sum up · 682c5545
      Sven Neumann authored
      2008-02-26  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am (gimp_2_5_LDFLAGS): don't assume that global
      	AM_LDFLAGS and per-target LD_FLAGS would sum up and explicitly 
      add
      	AM_LDFLAGS to gimp_2_5_LDFLAGS.
      
      
      svn path=/trunk/; revision=24987
      682c5545
    • Michael Natterer's avatar
      draw handles at the corners and use the MOVE cursor modifier when we are · 1b11a9e8
      Michael Natterer authored
      2008-02-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppolygonselecttool.c: draw handles at the corners
      	and use the MOVE cursor modifier when we are moving them. Fix draw
      	tool pause/resume in button_press() plus some minor cleanup.
      
      
      svn path=/trunk/; revision=24985
      1b11a9e8
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-transform.[ch] · a384cca5
      Michael Natterer authored
      2008-02-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-transform.[ch]
      	(gimp_display_shell_transform_points)
      	* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_lines): take
      	arrays of GimpVector2 instead of arrays of gdouble to represent
      	the input points.
      
      	* app/display/gimpdisplayshell-draw.c
      	* app/tools/gimppolygonselecttool.c
      	* app/tools/gimpfreeselecttool.c: don't cast the GimpVector2 arrays
      	to double arrays when passing them to above functions.
      
      	* app/tools/gimpiscissorstool.c: create a temporary GimpVector2
      	array instead of a temporary gdouble array.
      
      
      svn path=/trunk/; revision=24979
      a384cca5
    • Michael Natterer's avatar
      rename member num_points to n_points and various small cleanups all over · a6962b53
      Michael Natterer authored
      2008-02-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppolygonselecttool.c: rename member num_points to
      	n_points and various small cleanups all over the place.
      
      
      svn path=/trunk/; revision=24978
      a6962b53
    • Sven Neumann's avatar
      made the library version information easier to translate. · 08e28ccc
      Sven Neumann authored
      2008-02-26  Sven Neumann  <sven@gimp.org>
      
      	* app/version.c (gimp_show_library_version): made the library
      	version information easier to translate.
      
      svn path=/trunk/; revision=24975
      08e28ccc
    • Sven Neumann's avatar
      code cleanup, show the GEGL version unconditionally as we depend on GEGL trunk · b8a0cc0d
      Sven Neumann authored
      svn path=/trunk/; revision=24974
      b8a0cc0d
    • Tor Lillqvist's avatar
      Show also GEGL versions (if available). · fd4a69e5
      Tor Lillqvist authored
      2008-02-26  Tor Lillqvist  <tml@novell.com>
      
      	* app/version.c (gimp_show_library_versions): Show also GEGL
      	versions (if available).
      
      
      svn path=/trunk/; revision=24973
      fd4a69e5
    • Tor Lillqvist's avatar
      New files. Rename gimp_show_version() to gimp_version_show() and move · 131aa16e
      Tor Lillqvist authored
      2008-02-26  Tor Lillqvist  <tml@novell.com>
      
      	* app/version.[ch]: New files. Rename gimp_show_version() to
      	gimp_version_show() and move here. When given both --version and
      	--verbose, print build-time and run-time versions of the most
      	important dependencies.
      
      	* app/Makefile.am: Add them.
      
      	* app/main.c: Call gimp_version_show().
      
      	* app/Makefile.am: Use -mwindows only for the GUI gimp, not for
      	gimp-console.
      
      
      svn path=/trunk/; revision=24968
      131aa16e
  10. 24 Feb, 2008 1 commit
    • Sven Neumann's avatar
      removed default keyboard shortcuts from actions that work with named · 3aa5feb3
      Sven Neumann authored
      2008-02-24  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/edit-actions.c: removed default keyboard shortcuts
      	from actions that work with named buffers. Use Ctrl-Shift-V as 
      the
      	default keyboard shortcut for "Paste As New Image" and
      	Ctrl-Shift-C for "Copy Visible".
      
      
      svn path=/trunk/; revision=24954
      3aa5feb3
  11. 21 Feb, 2008 2 commits
    • Michael Natterer's avatar
      don't call plug_in_actions_update() because that updated the sensitivity · 4d8e0023
      Michael Natterer authored
      2008-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/plug-in-actions.c (plug_in_actions_history_changed):
      	don't call plug_in_actions_update() because that updated the
      	sensitivity of *all* plug-in actions according to the properties
      	of the *current* image. Instead, look up the original GtkAction of
      	the history items of *this* action group and copy the sensitivity
      	from that action. Fixes bug #517683.
      
      
      svn path=/trunk/; revision=24934
      4d8e0023
    • Sven Neumann's avatar
      insert a missing newline for procedures without additional return values. · 698810f4
      Sven Neumann authored
      2008-02-21  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl (marshal_outargs): insert a missing newline
      	for procedures without additional return values.
      
      	* tools/pdbgen/pdb/display.pdb: cosmetics.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      
      svn path=/trunk/; revision=24933
      698810f4
  12. 20 Feb, 2008 1 commit
    • Michael Natterer's avatar
      add precondition checks. · d6dbc05f
      Michael Natterer authored
      2008-02-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.c: add precondition checks.
      
      	* app/core/gimpdrawable-curves.c (gimp_drawable_curves_spline):
      	divide values by 255 before setting them on the curve. Fixes crash
      	when using curves from the PDB.
      
      
      svn path=/trunk/; revision=24929
      d6dbc05f
  13. 19 Feb, 2008 1 commit
  14. 18 Feb, 2008 3 commits
  15. 16 Feb, 2008 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-callbacks.c · 23456dc2
      Michael Natterer authored
      2008-02-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppolygonselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimppaletteview.c
      	* libgimpwidgets/gimpcolorhexentry.c
      	* libgimpwidgets/gimpnumberpairentry.c
      	* plug-ins/script-fu/script-fu-console.c: Unify the handling of
      	various "Enter" and "Space" keysyms all over the place. Fixes bug
      	#516544 (also see gtk bug #515047).
      
      
      svn path=/trunk/; revision=24894
      23456dc2
  16. 14 Feb, 2008 1 commit
  17. 13 Feb, 2008 1 commit
  18. 12 Feb, 2008 3 commits
    • Michael Natterer's avatar
      app/gegl/gimpoperationcolorbalance.c app/gegl/gimpoperationcolorize.c · c409f1b8
      Michael Natterer authored
      2008-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpoperationcolorbalance.c
      	* app/gegl/gimpoperationcolorize.c
      	* app/gegl/gimpoperationcurves.c
      	* app/gegl/gimpoperationdesaturate.c
      	* app/gegl/gimpoperationhuesaturation.c
      	* app/gegl/gimpoperationlevels.c
      	* app/gegl/gimpoperationposterize.c
      	* app/gegl/gimpoperationthreshold.c
      	* app/gegl/gimpoperationtilesink.c
      	* app/gegl/gimpoperationtilesource.c: added categories and very
      	lame descriptions. Dunno if the categories are good that way but
      	at least they are not NULL now.
      
      
      svn path=/trunk/; revision=24876
      c409f1b8
    • Sven Neumann's avatar
      show a hint on non-indexed images. Based on a patch from Olof Frahm. · d552e898
      Sven Neumann authored
      2008-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.[ch]: show a hint on 
      non-indexed
      	images. Based on a patch from Olof Frahm. Closes bug #438217.
      
      
      svn path=/trunk/; revision=24870
      d552e898
    • Sven Neumann's avatar
      inverted logic; #ifdef is IMO easier to read than #ifndef. · 9f43c528
      Sven Neumann authored
      2008-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimplanguagestore-parser.c: inverted logic; #ifdef
      	is IMO easier to read than #ifndef.
      
      
      svn path=/trunk/; revision=24868
      9f43c528
  19. 11 Feb, 2008 2 commits
    • Tor Lillqvist's avatar
      Don't use the compile-time paths to iso-codes on Windows. Instead assume · 0d6c96b1
      Tor Lillqvist authored
      2008-02-12  Tor Lillqvist  <tml@novell.com>
      
      	* app/widgets/gimplanguagestore-parser.c
      	(gimp_language_store_populate): Don't use the compile-time paths
      	to iso-codes on Windows. Instead assume iso-codes is installed in
      	the same location as GIMP. Make sure translated language names are
      	in UTF-8 by calling bind_textdomain_codeset().
      
      
      svn path=/trunk/; revision=24867
      0d6c96b1
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h · 384835d7
      Sven Neumann authored
      2008-02-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimplanguageentry.[ch]
      	* app/widgets/gimptexteditor.c: turned language entry into a 
      widget.
      
      
      svn path=/trunk/; revision=24866
      384835d7