1. 23 May, 2008 3 commits
    • Sven Neumann's avatar
      require glib-gettextize 2.16. · 73e717eb
      Sven Neumann authored
      2008-05-23  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh (GLIB_REQUIRED_VERSION): require glib-gettextize 2.16.
      
      	* libgimp/libgimp-intl.h
      	* plug-ins/pygimp/pygimp-intl.h: synced with gi18n-lib.h from glib
      	2.16. This adds support for the C_() macro.
      
      	* plug-ins/script-fu/script-fu-intl.h: just include gi18n.h instead
      	of duplicating things from this header.
      
      svn path=/trunk/; revision=25775
      73e717eb
    • Sven Neumann's avatar
      added ChangeLog entry for Kevin taken from the SVN log · e5667f73
      Sven Neumann authored
      svn path=/trunk/; revision=25774
      e5667f73
    • Michael Natterer's avatar
      left-align the labels in the new dynamics matrix. Add some code for RTL · 99a33813
      Michael Natterer authored
      2008-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppaintoptions-gui.c: left-align the labels in the
      	new dynamics matrix. Add some code for RTL layout that doesn't
      	work properly yet.
      
      
      svn path=/trunk/; revision=25772
      99a33813
  2. 22 May, 2008 22 commits
    • Kevin Cozens's avatar
      Added extra check to stop "(let x 5)" syntax from causing seg fault in · f8ac996b
      Kevin Cozens authored
      2008-05-22  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* plug-ins/script-fu/tinyscheme/scheme.c: Added extra check to stop
      	"(let x 5)" syntax from causing seg fault in Linux. See bug #508020.
      	Removed some excess whitespace.
      
      svn path=/trunk/; revision=25770
      f8ac996b
    • Michael Natterer's avatar
      move generating the random axis to the right place. · bbbc6375
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate): move
      	generating the random axis to the right place.
      
      
      svn path=/trunk/; revision=25766
      bbbc6375
    • Michael Natterer's avatar
      replace the pressure-expanded, velocity-expanded and random-expanded · d66828c8
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintoptions.[ch]: replace the pressure-expanded,
      	velocity-expanded and random-expanded properties by a single
      	dynamics-expanded property.
      
      	* app/tools/gimppaintoptions-gui.c: pack the toggle matrix into an
      	expander, some cleanup.
      
      
      svn path=/trunk/; revision=25765
      d66828c8
    • Michael Natterer's avatar
      revert accidential change of all occurences of "hardness" to "pressure" in · 791638fb
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppaintoptions-gui.c: revert accidential change of
      	all occurences of "hardness" to "pressure" in strings and function
      	names.
      
      
      svn path=/trunk/; revision=25764
      791638fb
    • Michael Natterer's avatar
      factor out a utility function that creates a dynamics check button. · c0325368
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppaintoptions-gui.c: factor out a utility function
      	that creates a dynamics check button.
      
      
      svn path=/trunk/; revision=25763
      c0325368
    • Michael Natterer's avatar
      first version of a matrix of toggles for the dynamics parameters instead · 3bcf7ff6
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppaintoptions-gui.c: first version of a matrix of
      	toggles for the dynamics parameters instead of three expanders.
      
      
      svn path=/trunk/; revision=25762
      3bcf7ff6
    • Martin Nordholts's avatar
      Base a start of a new segment on the pending point, and enable 15 degree · 91cf6435
      Martin Nordholts authored
      2008-05-22  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpfreeselecttool.c: Base a start of a new segment on
      	the pending point, and enable 15 degree constraints on the pending
      	point when Ctrl is being held down.
      
      svn path=/trunk/; revision=25761
      91cf6435
    • Martin Nordholts's avatar
      app/core/gimpcurve-load.c (gimp_curve_load) Remove unused variables. · 74e037bf
      Martin Nordholts authored
      2008-05-22  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/core/gimpcurve-load.c (gimp_curve_load)
      	* app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): Remove
      	unused variables.
      
      svn path=/trunk/; revision=25760
      74e037bf
    • Martin Nordholts's avatar
      app/tools/gimpfreeselecttool.[ch] Fix that some · cb13929f
      Martin Nordholts authored
      2008-05-22  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpfreeselecttool.[ch]
      	* app/tools/gimpforegroundselecttool.c: Fix that some
      	gimp_free_select_tool_-functions had the wrong name.
      
      svn path=/trunk/; revision=25759
      cb13929f
    • Michael Natterer's avatar
      Applied slightly modified and fixed patch from Alexia Death which adds a · fe70064f
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	Applied slightly modified and fixed patch from Alexia Death which
      	adds a "random" axis to the paint dynamics and fixes some issues
      	in the previous paint dynamics commits. Fixes bug #529431.
      
      	* app/core/core-types.h: add a "random" axis to GimpCoords.
      
      	* app/display/gimpdisplayshell-coords.c: set it to a random value.
      
      	* app/display/gimpdisplayshell-callbacks.c: on button_press,
      	use the dynamics from the last motion event to avoid blotches
      	at the beginning of paint strokes.
      
      	* app/paint/gimppaintoptions.[ch]: add random properties the same
      	way we do pressure and velocity. Add get_dynamic_size(),
      	get_dynamic_color() and get_dynamic_hardness() functions which
      	look at all dynamic parameters of the passed coords.
      
      	* app/tools/gimppaintoptions-gui.c: add gui for the random options.
      
      	* app/paint/gimpbrushcore.[ch]: remove calc_brush_scale() and use
      	gimp_paint_options_get_dynamic_size_instead().
      	Add "dynamic_hardness" parameters to paste_canvas(),
      	replace_canvas() and get_brush_mask().
      
      	* app/paint/gimpairbrushoptions.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimpsmudge.c: calculate the dynamic hardness and pass
      	it to above brush core functions. Use the get_dynamic_color() to
      	calculate the gradient color.
      
      
      svn path=/trunk/; revision=25758
      fe70064f
    • Sven Neumann's avatar
      use a logarithmic slider. · ea803880
      Sven Neumann authored
      2008-05-22  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpposterizetool.c (gimp_posterize_tool_dialog):
      	use a logarithmic slider.
      
      svn path=/trunk/; revision=25757
      ea803880
    • Martin Nordholts's avatar
      Remember the selection operation in use when the tool was started, and use · 3ba5ecb5
      Martin Nordholts authored
      2008-05-22  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpfreeselecttool.c: Remember the selection operation
      	in use when the tool was started, and use that when doing the
      	selection. Improvements are still to be made with regards to
      	synchronizing the tool options with the selection operation
      	actually used.
      
      svn path=/trunk/; revision=25756
      3ba5ecb5
    • Michael Natterer's avatar
      check if the tool class has the "settings_name" string set to decide · 8004eba2
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.c: check if the tool class has
      	the "settings_name" string set to decide whether to add
      	the settings GUI.
      
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpposterizetool.c: don't set any settings
      	strings. Presets make no sense for tools with just one parameter.
      
      
      svn path=/trunk/; revision=25755
      8004eba2
    • Sven Neumann's avatar
      changed order of parameters to be consistent with gimp_drawable_process(). · 8a62ba6a
      Sven Neumann authored
      2008-05-22  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-operation.[ch]
      	(gimp_drawable_apply_operation): changed order of parameters to be
      	consistent with gimp_drawable_process().
      
      	* app/core/gimpdrawable-process.[ch]: introduced a variant of
      	gimp_drawable_process() for processing a GimpLut with
      	gimp_lut_process().
      
      	* app/core/gimpdrawable-brightness-contrast.c
      	* app/core/gimpdrawable-color-balance.c
      	* app/core/gimpdrawable-colorize.c
      	* app/core/gimpdrawable-curves.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-hue-saturation.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-posterize.c
      	* app/core/gimpdrawable-threshold.c: changed accordingly.
      
      svn path=/trunk/; revision=25754
      8a62ba6a
    • Michael Natterer's avatar
      Fix menu item label. · e3ffcae1
      Michael Natterer authored
      
      svn path=/trunk/; revision=25753
      e3ffcae1
    • Michael Natterer's avatar
      s/save/export/g, s/load/import/g, removed button tooltip members. · 9f85ee00
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]: s/save/export/g,
      	s/load/import/g, removed button tooltip members.
      
      	* app/tools/gimpimagemaptool-settings.[ch]
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      
      	* app/tools/gimpimagemaptool-settings.c: clean up menu item creation.
      
      
      svn path=/trunk/; revision=25752
      9f85ee00
    • Michael Natterer's avatar
      delete trailing whitespace. · 4aaf1c47
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpfreeselecttool.c: delete trailing whitespace.
      
      
      svn path=/trunk/; revision=25751
      4aaf1c47
    • Sven Neumann's avatar
      make the mnemonic work · b3ac4ead
      Sven Neumann authored
      svn path=/trunk/; revision=25750
      b3ac4ead
    • Sven Neumann's avatar
      added a call to gimp_tool_options_create_folder(). · 0d6c259b
      Sven Neumann authored
      2008-05-22  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimp-tools.c (gimp_tools_init): added a call to
      	gimp_tool_options_create_folder().
      
      	* app/core/gimp-user-install.c (gimp_user_install_items): no need
      	to create the tool-options folder here if we are doing that on
      	each startup.
      
      svn path=/trunk/; revision=25749
      0d6c259b
    • Sven Neumann's avatar
      use a combo-box for the curve type. · e161a614
      Sven Neumann authored
      2008-05-22  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): use a
      	combo-box for the curve type.
      
      svn path=/trunk/; revision=25748
      e161a614
    • Sven Neumann's avatar
      core/gimpdrawable-brightness-contrast.c core/gimpdrawable-color-balance.c · a81c227a
      Sven Neumann authored
      2008-05-22  Sven Neumann  <sven@gimp.org>
      
      	* core/gimpdrawable-brightness-contrast.c
      	* core/gimpdrawable-color-balance.c
      	* core/gimpdrawable-colorize.c
      	* core/gimpdrawable-equalize.c
      	* core/gimpdrawable-hue-saturation.c
      	* core/gimpdrawable-posterize.c
      	* core/gimpdrawable-threshold.c: ported to 
      gimp_drawable_process().
      
      
      svn path=/trunk/; revision=25747
      a81c227a
    • Martin Nordholts's avatar
      Don't return in the middle of the function. · 41f102f1
      Martin Nordholts authored
      2008-05-22  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpfreeselecttool.c
      	(gimp_free_select_tool_cursor_update): Don't return in the middle
      	of the function.
      
      svn path=/trunk/; revision=25746
      41f102f1
  3. 21 May, 2008 15 commits
    • Wadim Dziedzic's avatar
      Updated polish translation · d35c006b
      Wadim Dziedzic authored
      2008-05-22  Wadim Dziedzic  <wadimd@svn.gnome.org>
      
      	* pl.po: Updated polish translation
      
      svn path=/trunk/; revision=25745
      d35c006b
    • Martin Nordholts's avatar
      "Draw a rough circle around the object to extract" -> "Rougly outline the · 79623b1a
      Martin Nordholts authored
      2008-05-21  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpforegroundselecttool.c
      	(gimp_foreground_select_tool_oper_update): "Draw a rough circle
      	around the object to extract" -> "Rougly outline the object to
      	extract".
      
      svn path=/trunk/; revision=25743
      79623b1a
    • Martin Nordholts's avatar
      Don't expose implementation details. · 17e98ebc
      Martin Nordholts authored
      2008-05-21  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpfreeselecttool.[ch]: Don't expose implementation
      	details.
      
      	* app/tools/gimpforegroundselecttool.c
      	(gimp_foreground_select_tool_select): Use new
      	gimp_free_select_get_points() functions since we don't know
      	anything about how the Free Select Tool is implemented any longer.
      
      svn path=/trunk/; revision=25742
      17e98ebc
    • Michael Natterer's avatar
      app/tools/gimpimagemaptool.[ch] turn the ugly row of favorites options · 986ba501
      Michael Natterer authored
      2008-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimpimagemaptool-settings.c: turn the ugly row of
      	favorites options buttons into a menu that's attached to an arrow
      	button right of the favorites combo.
      
      
      svn path=/trunk/; revision=25741
      986ba501
    • Michael Natterer's avatar
      remove unused variable. · 48fbb509
      Michael Natterer authored
      2008-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcurvestool.c: remove unused variable.
      
      
      svn path=/trunk/; revision=25740
      48fbb509
    • Martin Nordholts's avatar
      constify the points argument. · 54884aea
      Martin Nordholts authored
      2008-05-21  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/core/gimpscanconvert.c (gimp_scan_convert_add_polyline):
      	constify the points argument.
      
      svn path=/trunk/; revision=25739
      54884aea
    • Michael Natterer's avatar
      remove PixelProcessorFunc typedef. · 2a064f55
      Michael Natterer authored
      2008-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/pixel-processor.h: remove PixelProcessorFunc typedef.
      
      	* app/base/base-types.h: add it here.
      
      	* app/config/gimpbaseconfig.c: #include "base/base-types.h"
      
      	* app/core/gimpdrawable-curves.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-invert.c: remove pixel processor include.
      
      	* app/core/gimpdrawable-levels.c: port to gimp_drawable_process().
      
      
      svn path=/trunk/; revision=25738
      2a064f55
    • Michael Natterer's avatar
      use a stock_id that exists. · 7add4e32
      Michael Natterer authored
      2008-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpdesaturateconfig.c: use a stock_id that exists.
      
      
      svn path=/trunk/; revision=25737
      7add4e32
    • Michael Natterer's avatar
      add missing include and missing call to gimp_drawable_mask_intersect(). · 3b561738
      Michael Natterer authored
      2008-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-process.c (gimp_drawable_process): add
      	missing include and missing call to gimp_drawable_mask_intersect().
      
      
      svn path=/trunk/; revision=25736
      3b561738
    • Martin Nordholts's avatar
      Made the Foreground Select Tool work again. · 3842f7cb
      Martin Nordholts authored
      2008-05-21  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Made the Foreground Select Tool work again.
      
      	* app/tools/gimpforegroundselecttool.c
      	(gimp_foreground_select_tool_control): Set tool->display =
      	NULL when halting the tool.
      
      	(gimp_foreground_select_tool_button_press): Only activate the
      	tool control if it is not active (it might be actived already
      	by the Free Select Tool).
      
      	* app/tools/gimpfreeselecttool.c
      	(gimp_free_select_tool_commit): Don't _halt explicitly
      	here. If a tool implementation wants to halt in this
      	situation, let them do that in their
      	GimpFreeSelectTool::select() instead.
      
      svn path=/trunk/; revision=25735
      3842f7cb
    • Sven Neumann's avatar
      app/core/Makefile.am new file holding code to apply a PixelProcessor to · a786d4de
      Sven Neumann authored
      2008-05-21  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-process.[ch]: new file holding code to
      	apply a PixelProcessor to the full drawable.
      
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-invert.c: use the new helper function.
      
      	* app/core/gimpdrawable-desaturate.[ch] 
      (gimp_drawable_desaturate):
      	take a GimpProgress parameter.
      
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      
      	* app/pdb/color-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25734
      a786d4de
    • Martin Nordholts's avatar
      Slightly improve one of the status bar messages. · 97edc356
      Martin Nordholts authored
      2008-05-21  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpfreeselecttool.c
      	(gimp_free_select_tool_status_update): Slightly improve one of the
      	status bar messages.
      
      svn path=/trunk/; revision=25733
      97edc356
    • Sven Neumann's avatar
      This ChangeLog entry is ass-signed to Mitch and Pippin. · 5e93a2ae
      Sven Neumann authored
      svn path=/trunk/; revision=25732
      5e93a2ae
    • Sven Neumann's avatar
      moved "tools-desaturate" into the separator with the other color tools. · 33840810
      Sven Neumann authored
      2008-05-21  Sven Neumann  <sven@gimp.org>
      
      	* menus/image-menu.xml.in: moved "tools-desaturate" into the
      	separator with the other color tools. Added it to the
      	"tools-color-menu".
      
      svn path=/trunk/; revision=25731
      33840810
    • Sven Neumann's avatar
      changed to take a pointer as first argument as all PixelProcessor · c19b2170
      Sven Neumann authored
      2008-05-21  Sven Neumann  <sven@gimp.org>
      
      	* app/base/desaturate.[ch]: changed to take a pointer as first
      	argument as all PixelProcessor functions.
      
      	* app/core/gimpdrawable-desaturate.c: changed accordingly.
      
      	* app/tools/gimpdesaturatetool.[ch]: added legacy code path.
      
      svn path=/trunk/; revision=25730
      c19b2170