1. 28 Jan, 2008 13 commits
    • Michael Natterer's avatar
      app/gegl/gimpoperationcolorbalance.c app/gegl/gimpoperationcolorize.c · 2b2bd6e9
      Michael Natterer authored
      2008-01-28  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: replace for() loops over the
      	samples by while() loop counting down the passed "samples"
      	parameter.
      
      
      svn path=/trunk/; revision=24738
      2b2bd6e9
    • Michael Natterer's avatar
      app/gegl/gimpcolorbalanceconfig.c app/gegl/gimpcolorizeconfig.c · 4e93a806
      Michael Natterer authored
      2008-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpcolorbalanceconfig.c
      	* app/gegl/gimpcolorizeconfig.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/gegl/gimphuesaturationconfig.c
      	* app/gegl/gimplevelsconfig.c
      	* app/gegl/gimpoperationdesaturate.c
      	* app/gegl/gimpoperationtilesink.c
      	* app/gegl/gimpoperationtilesource.c
      	* app/gegl/gimpposterizeconfig.c
      	* app/gegl/gimpthresholdconfig.c: coding style paranoia: changed
      	one byte per file.
      
      
      svn path=/trunk/; revision=24737
      4e93a806
    • Michael Natterer's avatar
      fix API docs. · ff95dd50
      Michael Natterer authored
      2008-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-serialize.c
      	(gimp_config_serialize_property): fix API docs.
      
      
      svn path=/trunk/; revision=24736
      ff95dd50
    • Michael Natterer's avatar
      app/gegl/gegl-types.h app/gegl/Makefile.am new config object. · 06d8a2e5
      Michael Natterer authored
      2008-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gegl-types.h
      	* app/gegl/Makefile.am
      	* app/gegl/gimpbrightnesscontrastconfig.[ch]: new config object.
      
      	* app/tools/gimpbrightnesscontrasttool.[ch]: use it.
      
      
      svn path=/trunk/; revision=24735
      06d8a2e5
    • Sven Neumann's avatar
      fixed crash on missing profile (bug #512529). · ce0734c8
      Sven Neumann authored
      2008-01-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/lcms.c (lcms_dialog): fixed crash on missing
      	profile (bug #512529).
      
      svn path=/trunk/; revision=24733
      ce0734c8
    • Sven Neumann's avatar
      plug-ins/common/lcms.c (lcms_load_profile) fixed error messages. · 9c4ec2ec
      Sven Neumann authored
      2008-01-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/lcms.c (lcms_load_profile)
      	* plug-ins/common/wmf.c (load_image): fixed error messages.
      
      svn path=/trunk/; revision=24732
      9c4ec2ec
    • Michael Natterer's avatar
      don't show the horizontal scrollbar if it's not needed. · 343d0e83
      Michael Natterer authored
      2008-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/keyboard-shortcuts-dialog.c
      	(keyboard_shortcuts_dialog_new): don't show the horizontal
      	scrollbar if it's not needed.
      
      
      svn path=/trunk/; revision=24731
      343d0e83
    • Sven Neumann's avatar
      removed redundant GimpCoords parameter that use to cause valgrind warnings · 8c30b1cd
      Sven Neumann authored
      2008-01-28  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch] (gimp_display_shell_snap_coords):
      	removed redundant GimpCoords parameter that use to cause valgrind
      	warnings about overlapping memory regions in memcpy().
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-autoscroll.c: changed accordingly.
      
      svn path=/trunk/; revision=24730
      8c30b1cd
    • Sven Neumann's avatar
      minor cleanups. · d3e1c997
      Sven Neumann authored
      2008-01-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/cubism.c: minor cleanups.
      
      svn path=/trunk/; revision=24729
      d3e1c997
    • Michael Natterer's avatar
      add app/gegl/gimpcurvesconfig.c and app/gegl/gimplevelsconfig.c · bea90af2
      Michael Natterer authored
      2008-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: add app/gegl/gimpcurvesconfig.c and
      	app/gegl/gimplevelsconfig.c
      
      
      svn path=/trunk/; revision=24728
      bea90af2
    • Michael Natterer's avatar
      app/base/tile-manager.c use G_STRLOC instead of G_GNUC_FUNCTION (which is · 31a5214f
      Michael Natterer authored
      2008-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-manager.c
      	* plug-ins/common/lcms.c: use G_STRLOC instead of
      	G_GNUC_FUNCTION (which is now deprecated).
      
      
      svn path=/trunk/; revision=24727
      31a5214f
    • Tor Lillqvist's avatar
      Make it compile again. · 0f993d3f
      Tor Lillqvist authored
      2008-01-28  Tor Lillqvist  <tml@novell.com>
      
      	* modules/controller_dx_dinput.c: Make it compile again.
      
      
      svn path=/trunk/; revision=24726
      0f993d3f
    • Sven Neumann's avatar
      minor cleanup. · 0d14e2ce
      Sven Neumann authored
      2008-01-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist/gimp.c: minor cleanup.
      
      
      svn path=/trunk/; revision=24725
      0d14e2ce
  2. 27 Jan, 2008 8 commits
    • Michael Natterer's avatar
      app/gegl/gimpcolorbalanceconfig.[ch] app/gegl/gimpcolorizeconfig.[ch] · f200f9ca
      Michael Natterer authored
      2008-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpcolorbalanceconfig.[ch]
      	* app/gegl/gimpcolorizeconfig.[ch]
      	* app/gegl/gimpcurvesconfig.[ch]
      	* app/gegl/gimphuesaturationconfig.[ch]
      	* app/gegl/gimplevelsconfig.[ch]
      	* app/gegl/gimpposterizeconfig.[ch]
      	* app/gegl/gimpthresholdconfig.[ch]: implement the GimpConfig
      	interface and remove public reset() functions except special ones
      	which reset only parts of the objects. Add lots of property
      	notifications.
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: use gimp_config_reset(), misc.
      	related changes and cleanups.
      
      
      svn path=/trunk/; revision=24724
      f200f9ca
    • Sven Neumann's avatar
      formatting · 4d1ccd63
      Sven Neumann authored
      svn path=/trunk/; revision=24723
      4d1ccd63
    • Kevin Cozens's avatar
      Dynamically allocate space to hold comments, links, strings, and · 7b67daac
      Kevin Cozens authored
      2008-01-27  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* plug-ins/imagemap/imap_cern.l:
      	* plug-ins/imagemap/imap_cern.y: 
      	* plug-ins/imagemap/imap_csim.l:
      	* plug-ins/imagemap/imap_csim.y:
      	* plug-ins/imagemap/imap_ncsa.l:
      	* plug-ins/imagemap/imap_ncsa.y: Dynamically allocate space to hold
      	comments, links, strings, and co-ordinate lists. Fixes bug #511072.
      
      	* plug-ins/imagemap/imap_cern_lex.c:
      	* plug-ins/imagemap/imap_cern_parse.c:
      	* plug-ins/imagemap/imap_cern_parse.h:
      	* plug-ins/imagemap/imap_csim_lex.c:
      	* plug-ins/imagemap/imap_csim_parse.c:
      	* plug-ins/imagemap/imap_csim_parse.h:
      	* plug-ins/imagemap/imap_ncsa_lex.c:
      	* plug-ins/imagemap/imap_ncsa_parse.c:
      	* plug-ins/imagemap/imap_ncsa_parse.h: Regenerated.
      
      svn path=/trunk/; revision=24722
      7b67daac
    • Sven Neumann's avatar
      transfer the pixels to the core on a tile-by-tile basis. · d1e1e0a1
      Sven Neumann authored
      2008-01-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist/gimp.c (gimpressionist_main): transfer
      	the pixels to the core on a tile-by-tile basis.
      
      
      svn path=/trunk/; revision=24718
      d1e1e0a1
    • Sven Neumann's avatar
      changed code that retrieves the source drawable to iterate over the data · 08c95527
      Sven Neumann authored
      2008-01-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist/gimp.c (grabarea): changed code that
      	retrieves the source drawable to iterate over the data 
      tile-by-tile.
      
      
      svn path=/trunk/; revision=24717
      08c95527
    • Manish Singh's avatar
      no need to use a temporary in tuple translation, and clamp the result. · feff2c6b
      Manish Singh authored
      2008-01-26  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): no
              need to use a temporary in tuple translation, and clamp the result.
      
              * plug-ins/pygimp/gimpmodule.c (pygimp_set_background,
              pygimp_set_foreground): restore support for passing in 3 args for
              color components, for backward compatibility.
      
      svn path=/trunk/; revision=24716
      feff2c6b
    • Joao S. O. Bueno's avatar
      fix subsequent error (calculated parameters where not used) · 2ca4dcf8
      Joao S. O. Bueno authored
      2008-01-26 Joao S. O. Bueno <gwidion@mpc.com.br>
      
              * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
              subsequent error (calculated parameters where not used)
      
      svn path=/trunk/; revision=24715
      2ca4dcf8
    • Manish Singh's avatar
      fix error reporting. · dc847999
      Manish Singh authored
      2008-01-26  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
              error reporting.
      
      svn path=/trunk/; revision=24714
      dc847999
  3. 25 Jan, 2008 8 commits
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h new parent class for all image · a85213cd
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpoperationpointfilter.[ch]: new parent class for all
      	image map operations. Features a "config" member and "public"
      	get_property() and set_property() functions to be used by
      	subclasses.
      
      	* app/gegl/gimpoperationcolorbalance.[ch]
      	* app/gegl/gimpoperationcolorize.[ch]
      	* app/gegl/gimpoperationcurves.[ch]
      	* app/gegl/gimpoperationhuesaturation.[ch]
      	* app/gegl/gimpoperationlevels.[ch]
      	* app/gegl/gimpoperationposterize.[ch]
      	* app/gegl/gimpoperationthreshold.[ch]: derive from
      	GimpOperationPointFilter, remove "config" members, remove
      	finalize(), get_property() and set_property() implementations and
      	use the ones provided by the parent class.
      
      
      svn path=/trunk/; revision=24713
      a85213cd
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h new config object. · e79955d9
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpposterizeconfig.[ch]: new config object.
      
      	* app/gegl/gimpoperationposterize.[ch]
      	* app/tools/gimpposterizetool.[ch]: use it.
      
      
      svn path=/trunk/; revision=24711
      e79955d9
    • Michael Natterer's avatar
      app/tools/gimpbrightnesscontrasttool.c app/tools/gimpcolorbalancetool.c · 3fd067de
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: remove includes which are no
      	longer needed.
      
      
      svn path=/trunk/; revision=24709
      3fd067de
    • Michael Natterer's avatar
      app/gegl/gimpcurvesconfig.[ch] add load_cruft() and save_cruft() functions · f848ac07
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpcurvesconfig.[ch]
      	* app/gegl/gimplevelsconfig.[ch]: add load_cruft() and
      	save_cruft() functions which load/save the old (current) curves
      	and levels file formats.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: use them here and remove a lot of
      	includes.
      
      
      svn path=/trunk/; revision=24708
      f848ac07
    • Michael Natterer's avatar
      removed the GimpHueRange member from the tool struct and use the one from · 7ddd71d0
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimphuesaturationtool.[ch]: removed the GimpHueRange
      	member from the tool struct and use the one from the config object
      	instead. Also did a global s/partition/range/.
      
      
      svn path=/trunk/; revision=24707
      7ddd71d0
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h new config object. · efeeb585
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpthresholdconfig.[ch]: new config object.
      
      	* app/gegl/gimpoperationthreshold.[ch]: use it.
      
      	* app/tools/gimpthresholdtool.[ch]: ditto.
      
      
      svn path=/trunk/; revision=24706
      efeeb585
    • Michael Natterer's avatar
      app/tools/gimpcurvestool.[ch] remove the "channel" member from the tool · 52fbc5cd
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimplevelstool.[ch]: remove the "channel" member from
      	the tool struct and use the channel from the options object
      	instead.
      
      
      svn path=/trunk/; revision=24705
      52fbc5cd
    • Sven Neumann's avatar
      avoid crashing when the widget allocation is small (bug #511926). · 4624bc84
      Sven Neumann authored
      2008-01-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_draw):
      	avoid crashing when the widget allocation is small (bug 
      #511926).
      
      
      svn path=/trunk/; revision=24704
      4624bc84
  4. 24 Jan, 2008 5 commits
    • Sven Neumann's avatar
      updated copyright. · 60089b64
      Sven Neumann authored
      2008-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/about.h (GIMP_COPYRIGHT): updated copyright.
      
      svn path=/trunk/; revision=24703
      60089b64
    • Sven Neumann's avatar
      removed unused image. · d1b811ce
      Sven Neumann authored
      2008-01-24  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/stock-wilber-48.png: removed unused image.
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-wilber-22.png: moved here from
      	libgimpwidgets.
      
      	* libgimpwidgets/gimpstock.c: register Wilber icon in button size.
      
      	* data/images/wilber.png: moved 256x256 icon here from
      	libgimpwidgets.
      
      svn path=/trunk/; revision=24702
      d1b811ce
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h new config object. · b25559c3
      Michael Natterer authored
      2008-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpcolorbalanceconfig.[ch]: new config object.
      
      	* app/gegl/gimpoperationcolorbalance.[ch]: use it.
      
      	* app/tools/gimpcolorbalancetool.[ch]: port to
      	GimpColorBalanceConfig and use the old ColorBalance cruft only in
      	map(). The effect of the GEGL operator is now even more different
      	from the cruft code because I removed a hack that was applying an
      	additional factor when mapping between the ColorBalance values and
      	the new properties, but that was only a workaround to make it look
      	more similar anyway. Will have to fix this properly.
      
      	* app/base/color-balance.[ch]: remove API that is now obsolete.
      
      
      svn path=/trunk/; revision=24701
      b25559c3
    • Sven Neumann's avatar
      app/core/gimpimage.c fixed handling of the image undo counter for the case · a9b946e3
      Sven Neumann authored
      2008-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.c
      	* app/core/gimpimage-undo.c: fixed handling of the image undo
      	counter for the case where the user has undone the image to a
      	state before the last save and then pushes a new undo. Fixes
      	bug #509822.
      
      
      svn path=/trunk/; revision=24699
      a9b946e3
    • Michael Natterer's avatar
      added reset() and to_cruft() functions. · fdc4eded
      Michael Natterer authored
      2008-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpcolorizeconfig.[ch]: added reset() and to_cruft()
      	functions.
      
      	* app/tools/gimpcolorizetool.c: use them.
      
      
      svn path=/trunk/; revision=24698
      fdc4eded
  5. 23 Jan, 2008 6 commits
    • Martin Nordholts's avatar
      Reset the automatic undo/redo mechanism so that commiting pending · d089ea9c
      Martin Nordholts authored
      2008-01-23  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangleselecttool.c
      	(gimp_rect_select_tool_execute): Reset the automatic undo/redo
      	mechanism so that commiting pending rectangles with Return
      	works (bug #511599).
      
      svn path=/trunk/; revision=24696
      d089ea9c
    • Sven Neumann's avatar
      show the selection, even if the window is flagged as invisible, but don't · 087268e6
      Sven Neumann authored
      2008-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-selection.c: show the selection,
      	even if the window is flagged as invisible, but don't start the
      	animation. Addresses bug #505758.
      
      
      svn path=/trunk/; revision=24694
      087268e6
    • Michael Natterer's avatar
      call hue_saturation_calculate_transfers() here... · df24e668
      Michael Natterer authored
      2008-01-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimphuesaturationconfig.[ch]
      	(gimp_hue_saturation_config_to_cruft): call
      	hue_saturation_calculate_transfers() here...
      
      	* app/tools/gimphuesaturationtool.c (gimp_hue_saturation_tool_map):
      	...instead of here.
      
      
      svn path=/trunk/; revision=24693
      df24e668
    • Michael Natterer's avatar
      to_levels_cruft() -> to_cruft(). · 17e0ee41
      Michael Natterer authored
      2008-01-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimplevelsconfig.[ch]: to_levels_cruft() -> to_cruft().
      
      	* app/core/gimpdrawable-levels.c
      	* app/tools/gimplevelstool.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24692
      17e0ee41
    • Michael Natterer's avatar
      change signature of widget callbacks to take a GimpHueSaturationTool · 61b2d2c4
      Michael Natterer authored
      2008-01-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimphuesaturationtool.c: change signature of widget
      	callbacks to take a GimpHueSaturationTool pointer instead of
      	"gpointer data".
      
      	* app/tools/gimpposterizetool.c: remove redundant GTK_ADJUSTMENT()
      	casts.
      
      
      svn path=/trunk/; revision=24691
      61b2d2c4
    • Sven Neumann's avatar
      app/sanity.c minor cleanup. · c9928b57
      Sven Neumann authored
      2008-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/sanity.c 
      	* app/gui/gui.c (gui_sanity_check): minor cleanup.
      
      
      svn path=/trunk/; revision=24690
      c9928b57