1. 08 Jan, 2008 1 commit
    • Sven Neumann's avatar
      removed "add_alpha" parameter from gimp_item_duplicate() and · 4aa7e67c
      Sven Neumann authored
      2008-01-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpitem.[ch]: removed "add_alpha" parameter from
      	gimp_item_duplicate() and gimp_item_convert(). This is a relict
      	from the time when only the bottom layer was allowed to have no
      	alpha channel.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      svn path=/trunk/; revision=24570
      4aa7e67c
  2. 29 Dec, 2007 2 commits
  3. 28 Dec, 2007 1 commit
    • Sven Neumann's avatar
      addec const qualifiers to GimpRGB parameters. · b194e6fb
      Sven Neumann authored
      2007-12-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcairo-utils.[ch]: addec const qualifiers to
      	GimpRGB parameters.
      
      	* app/widgets/gimprender.[ch]: removed global variables for
      	checkerboard colors and introduced functions to get the
      	checkerboard colors as pointers to GimpRGB structs.
      
      	* app/actions/view-actions.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/widgets/gimpviewrenderer.c
      	* app/widgets/gimpcolormapeditor.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24451
      b194e6fb
  4. 26 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/image-commands.c app/actions/select-commands.c · 1e837136
      Michael Natterer authored
      2007-12-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/select-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimageundo.c
      	* app/core/gimpitem-preview.c
      	* app/dialogs/grid-dialog.c
      	* app/dialogs/layer-options-dialog.c
      	* app/dialogs/offset-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpstatusbar.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimptexttool.c
      	* app/vectors/gimpvectors-export.c
      	* app/vectors/gimpvectors-import.c
      	* app/widgets/gimpcursorview.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: use gimp_image_get/set_resolution() instead
      	of accessing the GimpImage members directly.
      
      
      svn path=/trunk/; revision=24436
      1e837136
  5. 25 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/channels-commands.c app/actions/colormap-actions.c · 75061fcc
      Michael Natterer authored
      2007-12-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/channels-commands.c
      	* app/actions/colormap-actions.c
      	* app/actions/colormap-commands.c
      	* app/actions/image-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage-colorhash.c
      	* app/core/gimpimage-colormap.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpimageundo.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/core/gimpprojection-construct.c
      	* app/core/gimpprojection.c
      	* app/core/gimpselection.c
      	* app/core/gimpundo.c
      	* app/dialogs/layer-options-dialog.c
      	* app/dialogs/print-size-dialog.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpstatusbar.c
      	* app/file/file-open.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimprotatetool.c
      	* app/vectors/gimpvectors-export.c
      	* app/vectors/gimpvectors-import.c
      	* app/vectors/gimpvectors.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimpnavigationview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: use accessors for many image properties.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24432
      75061fcc
  6. 23 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/layers-commands.c app/core/gimpchannel-combine.c · ecb2c46d
      Michael Natterer authored
      2007-12-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-commands.c
      	* app/core/gimpchannel-combine.c
      	* app/core/gimpchannel-select.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-convert.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpdrawablemodundo.c
      	* app/core/gimpfloatingselundo.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimplayerundo.c
      	* app/core/gimpmaskundo.c
      	* app/core/gimppalette-import.c
      	* app/core/gimpprojection-construct.c
      	* app/core/gimpselection.c
      	* app/dialogs/offset-dialog.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderervectors.c: use accessors for item,
      	layer, channel and mask attributes.
      
      
      svn path=/trunk/; revision=24429
      ecb2c46d
  7. 20 Dec, 2007 5 commits
  8. 16 Dec, 2007 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 6d92a4a6
      William Skaggs authored
      	* app/widgets/gimphelp-ids.h
      	* app/display/gimpdisplayshell-scale.[ch]
      	* app/display/gimpnavigationeditor.[ch]
      	* app/actions/view-commands.[ch]
      	* app/actions/view-commands.c:
      
      	Changed "Fit Image to Window" to "Fill Window", and changed
      	"fit-to" to "fill" in all the related things.  Fixes
      	bug #490364.
      
      svn path=/trunk/; revision=24370
      6d92a4a6
  9. 14 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GErrors when functions can fail. · db553767
      Michael Natterer authored
      2007-12-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.[ch]: added GErrors when functions can fail.
      
      	* app/actions/edit-commands.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/edit.pdb: same here (*don't* pass the error as
      	usual since these functions never fail but have a boolean return
      	value indicating success instead; ugly, but better than having the
      	gimp_message() calls in the core). Also changed the named buffer
      	cut and copy functions to do the same (never fail but return a
      	NULL buffer name on failure), so they behave as documented.
      
      	* app/pdb/edit_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24362
      db553767
  10. 13 Dec, 2007 1 commit
    • Sven Neumann's avatar
      export the light and dark check color so that places that just need this · daf03994
      Sven Neumann authored
      2007-12-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimprender.[ch]: export the light and dark check
      	color so that places that just need this information don't have to
      	access the gimp_render_blend_{dark,light}_check arrays.
      
      	* app/actions/view-actions.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/widgets/gimpcolormapeditor.c: changed accordingly.
      
      svn path=/trunk/; revision=24351
      daf03994
  11. 12 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GError to GimpItem::rename(). · dfaf761d
      Michael Natterer authored
      2007-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added GError to GimpItem::rename().
      
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c: set errors when renaming is impossible.
      
      	* app/text/gimptextlayer.c
      	* app/core/gimpimage-quick-mask.c: changed accordingly.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/widgets/gimpitemtreeview.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/vectors.pdb: pass the error.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/vectors_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24338
      dfaf761d
  12. 09 Dec, 2007 1 commit
  13. 07 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GErrors to gimp_selection_extract() and gimp_selection_float(). · 58c2dd9b
      Michael Natterer authored
      2007-12-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpselection.[ch]: added GErrors to
      	gimp_selection_extract() and gimp_selection_float().
      
      	* app/core/gimp-edit.c
      	* app/tools/gimpeditselectiontool.c
      	* app/actions/select-commands.c: handle the returned error.
      
      	* app/core/gimpdrawable-transform.c: pass NULL errors since this
      	file knows what it does and won't get errors.
      
      	* tools/pdbgen/pdb/selection.pdb: pass the error.
      
      	* app/pdb/selection_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24286
      58c2dd9b
  14. 06 Dec, 2007 3 commits
    • 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
      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
  15. 05 Dec, 2007 1 commit
  16. 02 Dec, 2007 1 commit
    • 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
  17. 28 Nov, 2007 1 commit
  18. 10 Nov, 2007 1 commit
    • Sven Neumann's avatar
      fixed incorrect tooltip (bug #495564). · 6a838438
      Sven Neumann authored
      2007-11-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c (view_zoom_explicit_actions): fixed
      	incorrect tooltip (bug #495564).
      
      	* app/dialogs/preferences-dialog.c 
      (prefs_display_options_frame_add):
      	adapt to the changed return value of 
      gimp_prop_enum_combo_box_new().
      
      
      svn path=/trunk/; revision=24113
      6a838438
  19. 09 Oct, 2007 1 commit
    • Sven Neumann's avatar
      specify alternative button order. · 9cedf9a9
      Sven Neumann authored
      2007-10-09  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/window-commands.c: specify alternative button order.
      
      svn path=/trunk/; revision=23775
      9cedf9a9
  20. 06 Oct, 2007 1 commit
    • Sven Neumann's avatar
      don't pop up a warning dialog if the selection is empty (bug #483896). · 985c993e
      Sven Neumann authored
      2007-10-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpselection.c (gimp_selection_float): don't pop up 
      a
      	warning dialog if the selection is empty (bug #483896).
      	
      	* app/actions/select-commands.c (select_float_cmd_callback): use
      	gimp_message() here in case that gimp_selection_float() fails.
      
      
      svn path=/trunk/; revision=23746
      985c993e
  21. 30 Sep, 2007 2 commits
  22. 25 Sep, 2007 1 commit
    • Sven Neumann's avatar
      left-align the image. · 5297f9bd
      Sven Neumann authored
      2007-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpmessagebox.c (gimp_message_box_constructor):
      	left-align the image.
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/file-commands.c
      	* app/actions/templates-commands.c: use more meaningful stock
      	icons for message dialogs.
      
      svn path=/trunk/; revision=23651
      5297f9bd
  23. 15 Sep, 2007 1 commit
    • Michael Natterer's avatar
      Make layer masks work consistently on layers without alpha. Fixes bug · 08d38cea
      Michael Natterer authored
      2007-09-15  Michael Natterer  <mitch@gimp.org>
      
      	Make layer masks work consistently on layers without alpha.
      	Fixes bug #475548.
      
      	* app/core/gimplayer.c (gimp_layer_apply_mask): changed to work
      	on layers without alpha.
      
      	* app/actions/layers-commands.c (layers_add_mask_response): don't
      	automatically add an alpha channel when adding a layer mask.
      
      
      svn path=/trunk/; revision=23555
      08d38cea
  24. 13 Sep, 2007 2 commits
    • Nils Philippsen's avatar
      app/file/file-save.[ch] (file_save) app/dialogs/file-save-dialog.c · 0691f94d
      Nils Philippsen authored
      * app/file/file-save.[ch] (file_save)
      * app/dialogs/file-save-dialog.c (file_save_dialog_save_image)
      * app/actions/file-commands.c (file_save_cmd_callback)
      * app/widgets/gimpdnd-xds.c (gimp_dnd_xds_save_image): don't pass
      Gimp instance to file_save() calls as it's not needed
      
      svn path=/trunk/; revision=23528
      0691f94d
    • Nils Philippsen's avatar
      drop own recently used files code in favour of GtkRecentManager: · 8ff9c4c8
      Nils Philippsen authored
      * app/core/gimp-gui.c (gimp_recent_list_add_uri), app/core/gimp-gui.h,
      app/gui/gui-vtable.c (gui_recent_list_add_uri): add
      {gimp,gui}_recent_list_add_uri(), gui_recent_list_add_uri() dispatches to
      GtkRecentManager
      
      * app/dialogs/file-save-dialog.c (file_save_dialog_save_image),
      app/actions/file-commands.c (file_save_cmd_callback),
      app/widgets/gimpdnd-xds.c (gimp_dnd_xds_save_image): pass Gimp instance to
      file_save() calls
      
      * app/file/file-open.c (file_open_with_proc_and_display,
      file_open_layers), app/file/file-save.c (file_save), app/file/file-save.h:
      pass Gimp instance to gimp_recent_list_add_uri() calls
      
      * app/file/gimprecentitem.c, app/file/gimprecentitem.h,
      app/file/gimprecentlist.c, app/file/gimprecentlist.h: removed
      
      * app/file/Makefile.am: drop reference to removed files
      
      svn path=/trunk/; revision=23526
      8ff9c4c8
  25. 18 Aug, 2007 1 commit
  26. 11 Aug, 2007 1 commit
  27. 19 Jul, 2007 1 commit
  28. 08 Jul, 2007 1 commit
    • Michael Natterer's avatar
      renamed action "selection-editor-popup" to "selection-popup". Fixes bug · 78be6549
      Michael Natterer authored
      2007-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/select-actions.c (select_actions): renamed action
      	"selection-editor-popup" to "selection-popup". Fixes bug #454364.
      
      	* app/widgets/gimpdockable.c (gimp_dockable_show_menu): warn when
      	above bug happens instead of failing silently.
      
      
      svn path=/trunk/; revision=22894
      78be6549
  29. 27 Jun, 2007 1 commit
  30. 25 Jun, 2007 1 commit
  31. 15 Jun, 2007 1 commit