1. 18 Nov, 2007 5 commits
    • Sven Neumann's avatar
      removed. · 1d21d050
      Sven Neumann authored
      2007-11-18  Sven Neumann  <sven@gimp.org>
      
      	* gimptool-2.0.in: removed.
      
      	* configure.in: removed leftover references to the gimptool 
      script.
      
      
      svn path=/trunk/; revision=24187
      1d21d050
    • Michael Natterer's avatar
      add SAVE_DIALOG log domain. · 6ee66007
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add SAVE_DIALOG log domain.
      
      	* app/dialogs/file-save-dialog: port debug output to GIMP_LOG().
      
      
      svn path=/trunk/; revision=24186
      6ee66007
    • Michael Natterer's avatar
      add DIALOG_FACTORY log domain. · f4621424
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add DIALOG_FACTORY log domain.
      
      	* app/widgets/gimpdialogfactory.c: port debug output to GIMP_LOG().
      
      
      svn path=/trunk/; revision=24185
      f4621424
    • Michael Natterer's avatar
      changed to work with different compiler-specific ways of doing macro · f98e9de7
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: changed to work with different
      	compiler-specific ways of doing macro varargs also cope with no
      	macro vararg support at all. Pointed out by Hans Breuer.
      
      
      svn path=/trunk/; revision=24184
      f98e9de7
    • Michael Natterer's avatar
      improve debug output. · bcb2a4e9
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): improve debug output.
      
      
      svn path=/trunk/; revision=24183
      bcb2a4e9
  2. 17 Nov, 2007 3 commits
  3. 16 Nov, 2007 8 commits
    • Tor Lillqvist's avatar
      Ignore --msvc-syntax unless on Windows. Put some Windows-only stuff inside · 7cef521c
      Tor Lillqvist authored
      2007-11-17  Tor Lillqvist  <tml@novell.com>
      
      	* tools/gimptool.c: Ignore --msvc-syntax unless on Windows. Put
      	some Windows-only stuff inside ifdef.
      
      
      svn path=/trunk/; revision=24179
      7cef521c
    • Tor Lillqvist's avatar
      Use the gimptool program on Unix, too, instead of the gimptool script. · b96853bc
      Tor Lillqvist authored
      2007-11-16  Tor Lillqvist  <tml@novell.com>
      
      	Use the gimptool program on Unix, too, instead of the gimptool
      	script.
      
      	* configure.in
      	* Makefile.am: Drop gimptool script and gimptool-win32.c(.in)
      
      	* tools/gimptool.c
      	* tools/Makefile.am: Move gimptool-win32.c.in here and call it
      	just gimptool.c. Build and install on all platforms.
      
      	* tools/gimptool.c: Change accordingly.
      
      	* doc/gimptool.1.in: Document the --msvc-syntax option.
      
      
      svn path=/trunk/; revision=24178
      b96853bc
    • Michael Natterer's avatar
      add HELP log domain. · f6efd040
      Michael Natterer authored
      2007-11-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add HELP log domain.
      
      	* app/widgets/gimphelp.c: port debug output to GIMP_LOG() and
      	improve it.
      
      
      svn path=/trunk/; revision=24177
      f6efd040
    • Tor Lillqvist's avatar
      svn path=/trunk/; revision=24176 · 710e498d
      Tor Lillqvist authored
      
      
      svn path=/trunk/; revision=24176
      710e498d
    • Tor Lillqvist's avatar
      app/base/base-utils.c New function that Sven asked for. Somebody please · 481112dd
      Tor Lillqvist authored
      2007-11-16  Tor Lillqvist  <tml@novell.com>
      
      	* app/base/base-utils.c
      	* app/base/base-utils.h (get_physical_memory_size_megabytes): New
      	function that Sven asked for. Somebody please fill in Unix
      	implementation(s).
      
      
      svn path=/trunk/; revision=24175
      481112dd
    • Michael Natterer's avatar
      app/base/temp-buf.c app/base/tile-manager.c accept NULL in all · 036085fd
      Michael Natterer authored
      2007-11-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/temp-buf.c
      	* app/base/tile-manager.c
      	* app/core/gimpobject.c: accept NULL in all get_memsize() functions.
      
      	* app/core/gimp-utils.[ch]: ditto. Added gimp_string_get_memsize().
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpdrawablemodundo.c
      	* app/core/gimpdrawableundo.c
      	* app/core/gimpimage.c
      	* app/core/gimpitempropundo.c
      	* app/core/gimplayer.c
      	* app/core/gimpmaskundo.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimppreviewcache.c
      	* app/core/gimpundo.c
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimpplugindef.c
      	* app/plug-in/gimppluginmanager.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextundo.c
      	* app/vectors/gimpvectorsmodundo.c: simplify
      	GimpObject::get_memsize() implementations accordingly.
      
      	* app/core/gimpimageundo.c: ditto. Always keep around colormaps in
      	chunks of GIMP_IMAGE_COLORMAP_SIZE to be coonsistent with the
      	other colormap handling code.
      
      
      svn path=/trunk/; revision=24174
      036085fd
    • Sven Neumann's avatar
      make sure we don't get stuck in a loop if all pixels are transparent (bug · b9973273
      Sven Neumann authored
      2007-11-16  Sven Neumann  <sven@gimp.org>
      
      	* app/base/lut-funcs.c (equalize_lut_setup): make sure we don't
      	get stuck in a loop if all pixels are transparent (bug #497291).
      
      svn path=/trunk/; revision=24172
      b9973273
    • Sven Neumann's avatar
      changed default value for using the system monitor profile. Many users · 52581ec8
      Sven Neumann authored
      2007-11-16  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpcolorconfig.c: changed default value for using
      	the system monitor profile. Many users seem to have broken monitor
      	profiles and it's hard to figure out how to fix this (bug #496890).
      
      svn path=/trunk/; revision=24170
      52581ec8
  4. 15 Nov, 2007 10 commits
    • Sven Neumann's avatar
      plugged a memory leak. · 410a6ffa
      Sven Neumann authored
      2007-11-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui):
      	plugged a memory leak.
      
      	* libgimpwidgets/gimpintstore.c (gimp_int_store_add_empty):
      	initialize the iter to avoid using uninitialized memory.
      
      
      svn path=/trunk/; revision=24169
      410a6ffa
    • Sven Neumann's avatar
      don't call gimp_edit_clear() if the selection mask is empty after · 1107d5a2
      Sven Neumann authored
      2007-11-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/screenshot.c: don't call gimp_edit_clear() if
      	the selection mask is empty after selecting the window shape and
      	inverting that selection. Fixes bug #493182.
      
      
      svn path=/trunk/; revision=24167
      1107d5a2
    • Sven Neumann's avatar
      fixed bug in colormap handling (bug #497103). · e35f701b
      Sven Neumann authored
      2007-11-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/tiff-save.c (save_image): fixed bug in 
      colormap
      	handling (bug #497103).
      
      
      svn path=/trunk/; revision=24165
      e35f701b
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-dnd.c app/widgets/gimpdnd-xds.c use · b9a63e1b
      Michael Natterer authored
      2007-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-dnd.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpselectiondata.c: use GIMP_LOG(DND) here too.
      
      
      svn path=/trunk/; revision=24164
      b9a63e1b
    • Michael Natterer's avatar
      add DND log domain. · df792bf8
      Michael Natterer authored
      2007-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add DND log domain.
      
      	* app/widgets/gimpdnd.c: use GIMP_LOG().
      
      
      svn path=/trunk/; revision=24163
      df792bf8
    • Sven Neumann's avatar
      added sanity checks. · 0ed77b21
      Sven Neumann authored
      2007-11-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcurve-save.c: added sanity checks.
      
      
      svn path=/trunk/; revision=24162
      0ed77b21
    • Michael Natterer's avatar
      Fix stupid typo. · b79096ed
      Michael Natterer authored
      
      svn path=/trunk/; revision=24161
      b79096ed
    • Michael Natterer's avatar
      app/Makefile.am new files implementing a log facility which can be enabled · 3229e67f
      Michael Natterer authored
      2007-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimp-log.[ch]: new files implementing a log facility which
      	can be enabled using the GIMP_LOG environment variable.
      
      	* app/main.c: initialize it.
      
      	* app/display/gimpdisplayshell-callbacks.c: use it instead of
      	private debugging macros that need to be enabled at compile time.
      
      
      svn path=/trunk/; revision=24160
      3229e67f
    • Michael Natterer's avatar
      add read-only property "frozen" and new API · ab465c74
      Michael Natterer authored
      2007-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.[ch]: add read-only property "frozen" and
      	new API gimp_viewable_preview_is_fozen(). Emit property notifications.
      
      	* app/widgets/gimphistogramview.[ch]: add API to show a second
      	histogram in the background. Remove member "light_histogram" from
      	the GimpHistogramViewClass struct.
      
      	* app/widgets/gimpcurveview.c: don't set "light_histogram".
      
      	* app/tools/gimpcurvestool.c: set the background histogram instead.
      
      	* app/widgets/gimphistogrameditor.[ch]: connect to "notify::frozen"
      	of the drawable and show its histogram at the freezing point in
      	the background. This way the original histogram is visible while
      	we are doing color corrections.
      
      
      svn path=/trunk/; revision=24159
      ab465c74
    • Michael Natterer's avatar
      add read-only property "frozen" and new API · 2ff7c79c
      Michael Natterer authored
      2007-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.[ch]: add read-only property "frozen" and
      	new API gimp_viewable_preview_is_fozen(). Emit property notifications.
      
      	* app/widgets/gimphistogramview.[ch]: add API to show a second
      	histogram in the background. Remove member "light_histogram" from
      	the GimpHistogramViewClass struct.
      
      	* app/widgets/gimpcurveview.c: don't set "light_histogram".
      
      	* app/tools/gimpcurvestool.c: set the background histogram instead.
      
      	* app/widgets/gimphistogrameditor.[ch]: connect to "notify::frozen"
      	of the drawable and show its histogram at the freezing point in
      	the background. This way the original histogram is visible while
      	we are doing color corrections.
      
      
      svn path=/trunk/; revision=24158
      2ff7c79c
  5. 14 Nov, 2007 4 commits
    • Michael Natterer's avatar
      replaced the number label with a big Cairo-drawn number below the color · 43b503df
      Michael Natterer authored
      2007-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolorframe.[ch]: replaced the number label with
      	a big Cairo-drawn number below the color value labels.
      
      
      svn path=/trunk/; revision=24157
      43b503df
    • Michael Natterer's avatar
      app/display/gimpcanvas.c free the cached PangoLayouts in · 10ccddfb
      Michael Natterer authored
      2007-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpcanvas.c
      	* app/widgets/gimpcurveview.c: free the cached PangoLayouts in
      	GtkWidget::style_set().
      
      	* app/widgets/gimppaletteview.c: draw the focus rectangle in
      	hardcoded black/white since we also hardcode the grid color to
      	black.
      
      	* app/display/gimpstatusbar.c
      	* app/widgets/gimpdockable.c: small cleanups while reviewing
      	layout code.
      
      
      svn path=/trunk/; revision=24156
      10ccddfb
    • Michael Natterer's avatar
      replaced the number label with a big Cairo-drawn number below the color · 61493202
      Michael Natterer authored
      2007-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolorframe.[ch]: replaced the number label with
      	a big Cairo-drawn number below the color value labels.
      
      
      svn path=/trunk/; revision=24155
      61493202
    • Michael Natterer's avatar
      port to Cairo drawing. · 77c400e7
      Michael Natterer authored
      2007-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppaletteview.[ch]: port to Cairo drawing.
      
      
      svn path=/trunk/; revision=24154
      77c400e7
  6. 13 Nov, 2007 10 commits
    • Martin Nordholts's avatar
      Fix formatting of previous ChangeLog entry. · d06ff70d
      Martin Nordholts authored
      svn path=/trunk/; revision=24153
      d06ff70d
    • Martin Nordholts's avatar
      Avoid GimpRectangleTool internals to make use of its public own interface · 25ebadcd
      Martin Nordholts authored
      2007-11-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Avoid GimpRectangleTool internals to make use of its public own
      	interface by making gimp_rectangle_tool_get_other_side() work on
      	pointers to members instead of GObject property names.
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_set_other_side_coord)
      	(gimp_rectangle_tool_get_other_side_coord): Use
      	gimp_rectangle_tool_get_other_side() in the new way.
      
      svn path=/trunk/; revision=24152
      25ebadcd
    • Martin Nordholts's avatar
      Fixed warnings about negative rectangle widths/heights when toggling · f211ed5b
      Martin Nordholts authored
      2007-11-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Fixed warnings about negative rectangle widths/heights when
      	toggling 'Fixed center' while rubber banding a rectangle.
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_set_other_side_coord): Finnishing off with a
      	call to gimp_rectangle_tool_check_function() as changing the
      	coordinates of the opposite side might swap the orientation of the
      	rectangle.
      
      svn path=/trunk/; revision=24151
      f211ed5b
    • Sven Neumann's avatar
      when we encounter an unsupported merge operation (merging an opaque · 5582efd6
      Sven Neumann authored
      2007-11-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-merge.c (gimp_image_merge_layers): when we
      	encounter an unsupported merge operation (merging an opaque
      	indexed layer onto an indexed layer with alpha channel), then 
      add
      	an alpha channel and try again. Fixes bug #496437.
      
      
      svn path=/trunk/; revision=24149
      5582efd6
    • Michael Natterer's avatar
      use cairo_save()/cairo_restore() around calling the virtual function · ac39ccfb
      Michael Natterer authored
      2007-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw): use
      	cairo_save()/cairo_restore() around calling the virtual function
      	instead of restoring the clipping area manually.
      
      
      svn path=/trunk/; revision=24148
      ac39ccfb
    • Michael Natterer's avatar
      naive port to Cairo. Somebody should check if this isn't better done with · 6bdca50d
      Michael Natterer authored
      2007-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewrenderervectors.c
      	(gimp_view_renderer_vectors_draw): naive port to Cairo. Somebody
      	should check if this isn't better done with proper curve_to()
      	drawing using the original vectors data instead of interpolation.
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw): reset
      	clipping before drawing the border because a subclass' draw()
      	might have done additional clipping.
      
      
      svn path=/trunk/; revision=24147
      6bdca50d
    • Tor Lillqvist's avatar
      Some cleanups, more coming. · 6a0e84fc
      Tor Lillqvist authored
      2007-11-13  Tor Lillqvist  <tml@novell.com>
      
      	* gimptool-win32.c.in: Some cleanups, more coming.
      
      
      svn path=/trunk/; revision=24146
      6a0e84fc
    • Tor Lillqvist's avatar
      Revert last change to Makefile.am, needs more hacking. · 8e78eba1
      Tor Lillqvist authored
      
      svn path=/trunk/; revision=24145
      8e78eba1
    • Sven Neumann's avatar
      Fix for bug #494049 (painting doesn't update the histogram): · efa6b2b8
      Sven Neumann authored
      2007-11-13  Sven Neumann  <sven@gimp.org>
      
      	Fix for bug #494049 (painting doesn't update the histogram):
      
      	* app/paint/gimppaintcore.c: freeze the drawable preview while we
      	are painting. Update the drawable instead of the image.
      
      	* app/widgets/gimphistogrameditor.c: use a short timeout instead
      	of an idle handler to update the histogram.
      
      svn path=/trunk/; revision=24143
      efa6b2b8
    • Tor Lillqvist's avatar
      Install the gimptool script only on Unix. Build and install the gimptool · 2eef7678
      Tor Lillqvist authored
      2007-11-13  Tor Lillqvist  <tml@novell.com>
      
      	* Makefile.am: Install the gimptool script only on Unix. Build and
      	install the gimptool executable on Windows.
      
      
      svn path=/trunk/; revision=24142
      2eef7678