1. 05 Mar, 2007 8 commits
    • Sven Neumann's avatar
      changed strings as suggested in bug #304148). · baada48f
      Sven Neumann authored
      2007-03-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpexport.c: changed strings as suggested in bug 
      #304148).
      
      
      svn path=/trunk/; revision=22050
      baada48f
    • Michael Natterer's avatar
      if the user clicks inside an existing selection, initialize the rectangle · d741af26
      Michael Natterer authored
      2007-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimprectangleselecttool.c
      	(gimp_rect_select_tool_execute): if the user clicks inside an
      	existing selection, initialize the rectangle tool to the entire
      	selection, not just to the part of it that is within the active
      	drawable. Also removed some dead code.
      
      
      svn path=/trunk/; revision=22049
      d741af26
    • Sven Neumann's avatar
      added missing cast. · 70447011
      Sven Neumann authored
      2007-03-05  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpstrokeeditor.c: added missing cast.
      
      
      svn path=/trunk/; revision=22048
      70447011
    • Michael Natterer's avatar
      Makes default Select -> Border behaviour consistent, and makes 'sticky · e6fb62d4
      Michael Natterer authored
      2007-03-05  Michael Natterer  <mitch@gimp.org>
      
      	Makes default Select -> Border behaviour consistent, and makes
      	'sticky image edges' optional by adding a checkbox in the Border
      	Selection dialog. Patch by Martin Nordholts. Fixes bug #350009.
      
      	* app/actions/select-commands.c (select_border_cmd_callback)
      	(select_border_callback): Added edge-lock checkbox to dialog and
      	modified calls accordingly.
      
      	* app/paint-funcs/paint-funcs.c (border_region)
      	(compute_transition): Fixed algorithm. (compute_transition is a
      	helper function to the algorithm). Also clarified many parts of
      	the algorithm with comments.
      
      	* app/paint-funcs/paint-funcs.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpselection.c: Added gboolean edge_lock to function
      	calls/signatures.
      
      	* app/pdb/selection_cmds.c: Regenerated. 
      
      
      svn path=/trunk/; revision=22047
      e6fb62d4
    • Michael Natterer's avatar
      added typdef GimpMemsizeFunc. · 395b06ad
      Michael Natterer authored
      2007-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: added typdef GimpMemsizeFunc.
      
      	* app/core/gimp-utils.[ch]: added _foreach() variants of
      	GHashTable, GList and GSList functions which take GimpMemsizeFunc
      	callbacks. Added gimp_parasite_get_memsize(). Added "data_size"
      	parameter to gimp_g_hash_table_get_memsize().
      
      	* app/core/gimp.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/pdb/gimppdb.c
      	* app/plug-in/gimppluginmanager.c: use the new functions instead
      	of itering manually or ignoring the containers' elements. Changed
      	callers of gimp_g_hash_table_get_memsize().
      
      
      svn path=/trunk/; revision=22046
      395b06ad
    • Sven Neumann's avatar
      plug-ins/common/colorify.c plug-ins/common/max_rgb.c resolved clashing · c4c9dbc0
      Sven Neumann authored
      2007-03-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/colorify.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/retinex.c: resolved clashing mnemonics (bug #414656).
      
      
      svn path=/trunk/; revision=22045
      c4c9dbc0
    • Marco Ciampa's avatar
      Updated italian translation · e812044c
      Marco Ciampa authored
      svn path=/trunk/; revision=22044
      e812044c
    • Kevin Cozens's avatar
      De-tabified. Fixed limit checks on resource ID's used for path data. Added · a144b79c
      Kevin Cozens authored
      2007-03-04  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* plug-ins/common/psd.c: De-tabified. Fixed limit checks on resource
      	ID's used for path data. Added comments showing decimal value of image
      	resource ID's 
      
      	* plug-ins/common/psd_save.c: De-tabified. Added support for layer
      	modes HARDLIGHT_MODE and SOFTLIGHT_MODE. Added comments showing
      	decimal value of image resource ID's 
      
      svn path=/trunk/; revision=22043
      a144b79c
  2. 04 Mar, 2007 3 commits
    • Michael Natterer's avatar
      don't pass random strings to g_print() without running them through %s. · 1bfc742f
      Michael Natterer authored
      2007-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.c (gimp_object_get_memsize): don't pass
      	random strings to g_print() without running them through %s.
      	Fixes crash/warning when the string contains '%'.
      
      
      svn path=/trunk/; revision=22042
      1bfc742f
    • Hans Breuer's avatar
      updated · f8b13080
      Hans Breuer authored
      2007-03-04  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc app/gimpcore.def : updated
      
      
      svn path=/trunk/; revision=22041
      f8b13080
    • Sven Neumann's avatar
      app/display/gimpdisplayshell.[ch] only change the remembered last scale · f1692ea6
      Sven Neumann authored
      2007-03-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-scale.c: only change the 
      remembered
      	last scale value if the last change occured more than a second 
      ago.
      
      	* app/tools/gimprectangletool.c: fixed compiler warnings.
      
      
      svn path=/trunk/; revision=22040
      f1692ea6
  3. 03 Mar, 2007 1 commit
  4. 02 Mar, 2007 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpconfig-serialize.c libgimpconfig/gimpconfig-error.c · 0d2c3957
      Sven Neumann authored
      2007-03-02  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-error.c
      	* libgimpconfig/gimpconfig-path.c
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig-iface.c: corrected copyright notice
      	(bug #413731).
      
      
      svn path=/trunk/; revision=22038
      0d2c3957
  5. 01 Mar, 2007 7 commits
  6. 28 Feb, 2007 10 commits
    • Raphael Quinet's avatar
      added status bar help messages explaining the usage of the modifiers. · 89c4abd6
      Raphael Quinet authored
      2007-02-28  Raphael Quinet  <raphael@gimp.org>
      
      	* app/tools/gimpmeasuretool.[ch]: added status bar help messages
      	explaining the usage of the modifiers.
      
      	* app/tools/gimpvectortool.c (gimp_vector_tool_status_update):
      	suggest Ctrl for edit mode, to close the path or move handles.
      
      	* app/tools/gimpcroptool.c (gimp_crop_tool_button_release):
      	"press enter" should be "press Enter", as in the other tools.
      
      svn path=/trunk/; revision=22030
      89c4abd6
    • Sven Neumann's avatar
      made labels selectable. · 8353fafb
      Sven Neumann authored
      2007-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpmeasuretool.c: made labels selectable.
      
      svn path=/trunk/; revision=22029
      8353fafb
    • João S. O. Bueno Calligaris's avatar
      removes recursive code when adjusting rectangle size. Fixes bug #410234. · d7b7bb40
      João S. O. Bueno Calligaris authored
      2007-02-28  João S. O. Bueno Calligaris <gwidion@mpc.com.br>
      
              * app/tools/gimprectangletool.c: removes recursive code
              when adjusting rectangle size. Fixes bug #410234.
      
      svn path=/trunk/; revision=22028
      d7b7bb40
    • Sven Neumann's avatar
      simplified callers and moved calculations out of the SQR() macro. · 6e59aec8
      Sven Neumann authored
      2007-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptool.c (gimp_tool_check_click_distance):
      	simplified callers and moved calculations out of the SQR() macro.
      
      
      svn path=/trunk/; revision=22027
      6e59aec8
    • Jakub Friedl's avatar
      Updated Czech translation · f93fd34a
      Jakub Friedl authored
      2007-02-28 Jakub Friedl  <jfriedl@suse.cz>
      
        * cs.po: Updated Czech translation
      
      
      svn path=/trunk/; revision=22026
      f93fd34a
    • Sven Neumann's avatar
      don't change the selection while the tool is active. Fixes bug #398185. · 0af9507a
      Sven Neumann authored
      2007-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimprectangleselecttool.c
      	(gimp_rect_select_tool_rectangle_changed): don't change the
      	selection while the tool is active. Fixes bug #398185. Thanks to
      	Martin Nordholts for investigating this problem.
      
      	* app/tools/gimprectangletool.c: minor cleanup.
      
      
      svn path=/trunk/; revision=22025
      0af9507a
    • Michael Natterer's avatar
      need to check the distance in screen coords, not image coords. · 9e15c242
      Michael Natterer authored
      2007-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.c (gimp_tool_check_click_distance): need to
      	check the distance in screen coords, not image coords.
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_button_release): forgot
      	two manual checks for GDK_BUTTON3_MASK.
      
      
      svn path=/trunk/; revision=22024
      9e15c242
    • Michael Natterer's avatar
      even more whitespace cleanup. · b60fbd33
      Michael Natterer authored
      2007-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-transform-resize.c: even more whitespace cleanup.
      
      
      svn path=/trunk/; revision=22023
      b60fbd33
    • Sven Neumann's avatar
      removed trailing whitespace. · a75dc8a0
      Sven Neumann authored
      2007-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-transform-resize.c: removed trailing whitespace.
      
      
      svn path=/trunk/; revision=22022
      a75dc8a0
    • Sven Neumann's avatar
      app/core/gimpimage-scale.c app/core/gimpimage-rotate.c · c294d9bc
      Sven Neumann authored
      2007-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-flip.c: cosmetics.
      
      
      svn path=/trunk/; revision=22021
      c294d9bc
  7. 27 Feb, 2007 10 commits
    • Sven Neumann's avatar
      documentation. · bcbca9b6
      Sven Neumann authored
      2007-02-27  Sven Neumann  <sven@gimp.org>
      
              * app/base/pixel-surround.c: documentation.
      
      
      svn path=/trunk/; revision=22020
      bcbca9b6
    • Michael Natterer's avatar
      clean up last commit a bit. Pass the recorded button_press_coords to · d40c0a58
      Michael Natterer authored
      2007-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]: clean up last commit a bit. Pass the
      	recorded button_press_coords to GimpTool::button_release() when a
      	click was detected.
      
      
      svn path=/trunk/; revision=22019
      d40c0a58
    • Michael Natterer's avatar
      Add bug number to ChangeLog. · 4ed36c78
      Michael Natterer authored
      
      svn path=/trunk/; revision=22018
      4ed36c78
    • Sven Neumann's avatar
      increased default value for "undo-size" to 64 MB. · 54cfb83f
      Sven Neumann authored
      2007-02-27  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpcoreconfig.c: increased default value for
      	"undo-size" to 64 MB.
      
      	* app/config/gimpguiconfig.c: increased default value for
      	'max-new-image-size' to 128 MB.
      
      
      svn path=/trunk/; revision=22017
      54cfb83f
    • Michael Natterer's avatar
      added "gboolean wants_click" member and getters/setters. · 83eb96db
      Michael Natterer authored
      2007-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptoolcontrol.[ch]: added "gboolean wants_click"
      	member and getters/setters.
      
      	* app/tools/gimptool.[ch] (struct GimpTool): added members
      	in_click_distance, press_coords and press_time.
      
      	(gimp_tool_button_press): if the tool wants click events, record
      	press_coords and press_time.
      
      	(gimp_tool_motion): check if we are still in click distance.
      
      	(gimp_tool_button_release): ditto. If we are still in click
      	distance, synthesize a motion event back to the recorded
      	press_coords and send the tool release_type = CLICK.
      
      	(gimp_tool_check_click_distance): utility function which checks
      	the current coords and time against the recorded ones, using
      	gtk-double-click-time and gtk-double-click-distance as thresholds.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimprectangleselecttool.c: request click events
      	and handle them.
      
      	* app/tools/gimprectangletool.[ch]: handle click events. Removed
      	gimp_rectangle_tool_no_movement().
      
      
      svn path=/trunk/; revision=22016
      83eb96db
    • Michael Natterer's avatar
      Step one towards enabling tool cancellation by other means than mouse · d7ed6394
      Michael Natterer authored
      2007-02-27  Michael Natterer  <mitch@gimp.org>
      
      	Step one towards enabling tool cancellation by other means than
      	mouse button 3 and towards proper "clicked" semantics.
      
      	* app/tools/tools-enums.[ch]: added enum GimpButtonReleaseType
      	which can be one of { NORMAL, CANCEL, CLICK } (click is curently
      	unused).
      
      	* app/tools/gimptool.[ch] (GimpTool::button_release): added
      	"release_type" parameter.
      
      	(gimp_tool_button_release): if the state contains
      	GDK_BUTTON3_MASK, call the tool's button_release() with CANCEL,
      	use NORMAL otherwise.
      
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.[ch]
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c (button_release): added
      	"release_type" parameters and get rid of own checks for
      	GDK_BUTTON3_MASK.
      
      
      svn path=/trunk/; revision=22015
      d7ed6394
    • Michael Natterer's avatar
      set the gradient-type and gradient-repeat combo boxes to ELLIPSIZE_END so · e172a72c
      Michael Natterer authored
      2007-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpblendoptions.c (gimp_blend_options_gui): set the
      	gradient-type and gradient-repeat combo boxes to ELLIPSIZE_END so
      	the blend options can be one tool icon size smaller without
      	scrolling horizontally.
      
      
      svn path=/trunk/; revision=22014
      e172a72c
    • Sven Neumann's avatar
      update the progress less often. · 4a6b039f
      Sven Neumann authored
      2007-02-27  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/scale-funcs.c: update the progress less often.
      
      svn path=/trunk/; revision=22013
      4a6b039f
    • Marco Ciampa's avatar
      Very small fix · f0a41369
      Marco Ciampa authored
      svn path=/trunk/; revision=22012
      f0a41369
    • Sven Neumann's avatar
      follow the internal API change · 776f7973
      Sven Neumann authored
      svn path=/trunk/; revision=22011
      776f7973