1. 09 Dec, 2007 2 commits
    • Hans Breuer's avatar
      updated and removed -GD to let msvc9 complain less · 6f5bbfe0
      Hans Breuer authored
      2007-12-09  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc : updated and removed -GD to let msvc9 complain less
      
      
      svn path=/trunk/; revision=24305
      6f5bbfe0
    • Martin Nordholts's avatar
      Added gimp_rectangle_tool_init() (and minor code cleanup). · 8372fd28
      Martin Nordholts authored
      2007-12-09  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.[ch]: Added
      	gimp_rectangle_tool_init() (and minor code cleanup).
      
      	* app/tools/gimprectangleselecttool.c
      	(gimp_rect_select_tool_init): Call gimp_rectangle_tool_init().
      
      	* app/tools/gimpcroptool.c
      	(gimp_crop_tool_init): Call gimp_rectangle_tool_init().
      
      svn path=/trunk/; revision=24304
      8372fd28
  2. 08 Dec, 2007 2 commits
  3. 07 Dec, 2007 14 commits
  4. 06 Dec, 2007 6 commits
    • Martin Nordholts's avatar
      Also update the integer representation of the rect when the GObject · fddd27bc
      Martin Nordholts authored
      2007-12-06  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_set_property): Also update the integer
      	representation of the rect when the GObject properties has been
      	set.
      
      svn path=/trunk/; revision=24277
      fddd27bc
    • Michael Natterer's avatar
      app/core/gimpimage-merge.[ch] added GError parameters. · 0ed8370a
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-convert.[ch]: added GError parameters.
      
      	* app/dialogs/convert-dialog.c
      	* app/actions/image-commands.c
      	* app/actions/vectors-commands.c: handle the returned error.
      
      	* tools/pdbgen/pdb/convert.pdb: pass the error.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24276
      0ed8370a
    • Michael Natterer's avatar
      add GError parameter. · 90606bc4
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-bucket-fill.[ch]: add GError parameter.
      
      	* app/tools/gimpbucketfilltool.c: handle the returned error.
      
      	* tools/pdbgen/pdb/edit.pdb: pass the error.
      
      	* app/pdb/edit_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24275
      90606bc4
    • Michael Natterer's avatar
      added GError arguments and fixed all functions to abort when the first · f3aa740c
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore-stroke.[ch]: added GError arguments and
      	fixed all functions to abort when the first call to
      	gimp_paint_core_start() fails (it won't succeed either for the
      	next path or whatever segemts).
      
      	* app/core/gimpitem.[ch]: added GError to gimp_item_stroke()
      
      	* app/core/gimpselection.c
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: don't gimp_message() in
      	GimpItem::stroke() but set the error.
      
      	* app/dialogs/stroke-dialog.c
      	* app/actions/vectors-commands.c
      	* app/actions/select-commands.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: pass the error to the stroke
      	functions.
      
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24274
      f3aa740c
    • Michael Natterer's avatar
      added GError arguments and fixed all functions to abort when the first · e418cf6d
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore-stroke.[ch]: added GError arguments and
      	fixed all functions to abort when the first call to
      	gimp_paint_core_start() fails (it won't succeed either for the
      	next path or whatever segemts).
      
      	* app/core/gimpitem.[ch]: added GError to gimp_item_stroke()
      
      	* app/core/gimpselection.c
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: don't gimp_message() in
      	GimpItem::stroke() but set the error.
      
      	* app/dialogs/stroke-dialog.c
      	* app/actions/vectors-commands.c
      	* app/actions/select-commands.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: pass the error to the stroke
      	functions.
      
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24273
      e418cf6d
    • Michael Natterer's avatar
      Move some gimp_message() calls where they belong: · 543302f5
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	Move some gimp_message() calls where they belong:
      
      	* app/core/gimplayer-floating-sel.[ch]: removed unreachable
      	gimp_message() in floating_sel_anchor() and added GError parameter
      	to floating_sel_to_layer().
      
      	* app/core/gimplayer.c
      	* app/core/gimpimage-quick-mask.c
      	* app/actions/layers-commands.c: pass NULL or an error as
      	appropriate and show the error message.
      
      	* tools/pdbgen/pdb/floating_sel.pdb: set the error when the passed
      	layer was no floating selection.
      
      	* app/pdb/floating_sel_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24272
      543302f5
  5. 05 Dec, 2007 6 commits
  6. 04 Dec, 2007 4 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · c6a66349
      William Skaggs authored
      	* tools/pdbgen/pdb/image.pdb: pass "error" instead of NULL.
      	* app/pdb/image_cmds.c: regenerated.
      
      svn path=/trunk/; revision=24263
      c6a66349
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 283db342
      William Skaggs authored
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/brush.pdb: use the new error arg instead
      	of creating a GError and handling it internally.
      
      	* app/pdb/palette_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/brush_cmds.c: regenerated.
      
      svn path=/trunk/; revision=24262
      283db342
    • Michael Natterer's avatar
      added new API gimp_drawable_estimate_memsize() and virtual function · dd80b4c2
      Michael Natterer authored
      2007-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added new API
      	gimp_drawable_estimate_memsize() and virtual function
      	GimpDrawable::estimate_memsize() which estimate the memsize of a
      	drawable after scaling/resizing.
      
      	* app/core/gimplayer.c: implement the virtual function and take
      	the layer mask into account.
      
      	* app/core/gimpimage-item-list.[ch] (gimp_image_item_list_get_list):
      	added const qualifiers.
      
      	* app/core/gimpimage-scale.c (gimp_image_scale_check): use the new
      	function to correctly estimate the new size instead of scaling the
      	drawables' memsizes including all constant parts. Fixes bug #329468.
      
      	* app/gimp-log.[ch]: added IMAGE_SCALE log domain.
      
      	* app/core/gimpimage-scale.c: use it here for debugging output.
      
      
      svn path=/trunk/; revision=24260
      dd80b4c2
    • Sven Neumann's avatar
      modules/Makefile.am split into two new files: · 4fe0a3a6
      Sven Neumann authored
      2007-12-04  Sven Neumann  <sven@gimp.org>
      
      	* modules/Makefile.am
      	* modules/gimpinputdevicestore.c: split into two new files:
      
      	* modules/gimpinputdevicestore-dx.c: DirectX Input 
      implementation
      	* modules/gimpinputdevicestore-hal.c: HAL implementation
      
      
      svn path=/trunk/; revision=24259
      4fe0a3a6
  7. 03 Dec, 2007 2 commits
  8. 02 Dec, 2007 3 commits
    • Sven Neumann's avatar
      use GError for error reporting in PDB invoker methods. · 915ac64a
      Sven Neumann authored
      2007-12-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: use GError for error reporting in PDB
      	invoker methods.
      
      	* tools/pdbgen/pdb/vectors.pdb: use the GError for the 
      procedures
      	introduced for bug #497159.
      
      	* tools/pdbgen/pdb/fileops.pdb: use the GError from file-load 
      and
      	file-save procedures.
      
      	* app/pdb/*_cmds.c: regenerated.
      
      	* app/pdb/Makefile.am
      
      	* app/pdb/gimppdberror.[ch]: new file introducing the
      	GIMP_PDB_ERROR domain.
      
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/batch.c
      	* app/core/gimpimagefile.c
      	* app/core/gimppdbprogress.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimppluginmanager-restore.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/plug-in/gimptemporaryprocedure.c
      	* app/plug-in/plug-in-icc-profile.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimppdbdialog.[ch]: changed accordingly.
      
      
      svn path=/trunk/; revision=24255
      915ac64a
    • Sven Neumann's avatar
      removed pointless and untranslated warning. · b43c095c
      Sven Neumann authored
      2007-12-02  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/tiff-load.c (load_image): removed pointless 
      and
      	untranslated warning.
      
      
      svn path=/trunk/; revision=24253
      b43c095c
    • Sven Neumann's avatar
      only set the resolution if X_density and Y_density are not zero. Otherwise · fcbc8eda
      Sven Neumann authored
      2007-12-02  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/jpeg/jpeg-load.c (jpeg_load_resolution): only set the
      	resolution if X_density and Y_density are not zero. Otherwise 
      the
      	default resolution would be used anyway and the user sees an
      	annoying and confusion warning.
      
      
      svn path=/trunk/; revision=24251
      fcbc8eda
  9. 01 Dec, 2007 1 commit