1. 31 Aug, 2009 1 commit
  2. 29 Aug, 2009 3 commits
    • Michael Natterer's avatar
      Use gimp_item_is_content_locked() instead of gimp_item_get_lock_content() · 02903d69
      Michael Natterer authored
      Use the new API whenever we want to determine the item's effective
      lock state (whether we can write to the item's content or not). Use
      gimp_item_get_lock_content() only in code that actually deals with
      *this* item's locked state, which is only the PDB wrappers and GUI to
      modify the flag on the item itself.
      02903d69
    • Martin Nordholts's avatar
      app: Always use gimp_object_get_name() · 957cf2cf
      Martin Nordholts authored
      Begin to consider GimpObject::name as private and always use
      gimp_object_get_name(). Change gimp_object_get_name() to take an
      untyped pointer so we don't have to do so awfully many casts. There is
      a runtime check for the type inside the function anyway.
      957cf2cf
    • Michael Natterer's avatar
      Change PDB wrappers to check for "is group" separately · 585a3fa6
      Michael Natterer authored
      "lock-content" will be separate from "is-group" soon, so add separate
      checks for groups. Also remove some checks that were added to make
      wrappers invokable even though the group appeared locked.
      585a3fa6
  3. 28 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Add gimp_pdb_item_is_not_group() · 074257bd
      Michael Natterer authored
      New function returns FALSE and sets an appropriate error if invoked on
      a group item. Use it from gimp_pdb_get_vectors_stroke() because if we
      ever get vectors groups, they will have no strokes.
      074257bd
  4. 26 Aug, 2009 1 commit
  5. 25 Aug, 2009 3 commits
  6. 24 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Enable simple flip and rotate for group layers · f65261c8
      Michael Natterer authored
      Flipping horizontally and vertically as well as rotating by multiples
      of 90° works fine now for group layers, enable it even though they
      appear locked. It seems that group == locked idea is not as allmighty
      as i thought :(
      f65261c8
  7. 23 Aug, 2009 1 commit
  8. 21 Aug, 2009 4 commits
  9. 20 Aug, 2009 2 commits
  10. 13 Aug, 2009 1 commit
    • Martin Nordholts's avatar
      app: Support obsolete data resources · 3d0c025a
      Martin Nordholts authored
      Add support for having obsolete data resources. An obsolete resource
      is not shown in the UI or managed in any way, but it will be
      considered when plug-ins requests resources. This in order to maintain
      backwards compatibility for plug-ins.
      3d0c025a
  11. 03 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Bring parent items to the public API in the core · c4075975
      Michael Natterer authored
      * app/core/gimpimage.[ch]: make the parent parameter public in
      add_layer(), add_layers(), add_channel() and add_vectors().
      
      * app/vectors/gimpvectors-import.[ch]: add parent parameters to
        the vectors import functions.
      
      * app/core/gimpchannelundo.[ch]
      * app/core/gimplayerundo.[ch]
      * app/vectors/gimpvectorsundo.[ch]
      * app/core/gimpimage-undo-push.[ch]: remember the parent item when
        removing layers, channels and vectors.
      
      * app/actions/channels-commands.c
      * app/actions/debug-commands.c
      * app/actions/edit-commands.c
      * app/actions/layers-commands.c
      * app/actions/vectors-commands.c
      * app/core/gimp-edit.c
      * app/core/gimpimage-duplicate.c
      * app/core/gimpimage-merge.c
      * app/core/gimpimage-quick-mask.c
      * app/core/gimplayer-floating-sel.c
      * app/core/gimpselection.c
      * app/core/gimptemplate.c
      * app/dialogs/file-open-dialog.c
      * app/display/gimpdisplayshell-dnd.c
      * app/text/gimptext-compat.c
      * app/tools/gimptexttool.c
      * app/tools/gimpvectortool.c
      * app/widgets/gimptoolbox-dnd.c
      * app/xcf/xcf-load.c
      * tools/pdbgen/pdb/image.pdb
      * tools/pdbgen/pdb/paths.pdb
      * tools/pdbgen/pdb/vectors.pdb: pass NULL as parent item to above
        functions and add FIXMEs all over the place because there is some
        more hacking needed to make adding with index = -1 (on top of the
        current item) work again.
      
      * app/pdb/image-cmds.c
      * app/pdb/paths-cmds.c
      * app/pdb/vectors-cmds.c: regenerated.
      
      * app/core/gimpimage-duplicate.c: duplicate the original image's
        tree structure in the copy.
      
      * app/widgets/gimpitemtreeview.[ch]: add parent to GimpAddItemFunc,
        add utility function gimp_item_tree_view_get_drop_index() which
        figures where to add something dropped to an item tree.
      
      * app/widgets/gimpchanneltreeview.c
      * app/widgets/gimplayertreeview.c
      * app/widgets/gimpvectorstreeview.c: changed accordingly, using above
        new GimpItemTreeView API.
      c4075975
  12. 03 Jul, 2009 1 commit
  13. 16 May, 2009 1 commit
  14. 31 Mar, 2009 1 commit
    • Sven Neumann's avatar
      Bug 568479 – add PDB procedures to manipulate size of text box · 94e626e1
      Sven Neumann authored
      2009-03-31  Sven Neumann  <sven@gimp.org>
      
      	Bug 568479 – add PDB procedures to manipulate size of text box
      
      	* tools/pdbgen/pdb/text_layer.pdb: add gimp-text-layer-resize,
      	based on a patch from Barak Itkin.
      
      	* app/pdb/internal-procs.c
      	* app/pdb/text-layer-cmds.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=28235
      94e626e1
  15. 08 Mar, 2009 1 commit
    • Sven Neumann's avatar
      corrected documentation of the position parameter. · eb22d078
      Sven Neumann authored
      2009-03-08  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb (image_add_channel): corrected
      	documentation of the position parameter.
      
      	* app/pdb/image-cmds.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=28129
      eb22d078
  16. 04 Mar, 2009 3 commits
    • Sven Neumann's avatar
      Bug 574149 – Can't get name/filename of files loaded from URI · 849a18b0
      Sven Neumann authored
      2009-03-04  Sven Neumann  <sven@gimp.org>
      
      	Bug 574149 – Can't get name/filename of files loaded from URI
      
      	* tools/pdbgen/pdb/image.pdb: added new procedure 
      gimp-image-get-uri.
      
      	* app/pdb/image-cmds.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      	* plug-ins/pygimp/pygimp-image.c: wrap the new procedure into an
      	Image attribute.
      
      
      svn path=/trunk/; revision=28103
      849a18b0
    • Sven Neumann's avatar
      improved docs for gimp-image-get-filename. · f6cff4b0
      Sven Neumann authored
      2009-03-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb (image_get_filename): improved docs
      	for gimp-image-get-filename.
      
      	* app/pdb/image-cmds.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=28102
      f6cff4b0
    • Sven Neumann's avatar
      Bug 574149 – Can't get name/filename of files loaded from URI · 93524f3f
      Sven Neumann authored
      2009-03-04  Sven Neumann  <sven@gimp.org>
      
      	Bug 574149 – Can't get name/filename of files loaded from URI
      
      	* tools/pdbgen/pdb/image.pdb (image_get_name_invoker): use
      	gimp_image_get_display_name().
      
      	* app/pdb/image-cmds.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=28099
      93524f3f
  17. 31 Jan, 2009 1 commit
  18. 28 Jan, 2009 1 commit
  19. 26 Jan, 2009 1 commit
    • Michael Natterer's avatar
      add new accessor gimp_layer_get_floating_sel_drawable() which returns the · 521555c4
      Michael Natterer authored
      2009-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch]: add new accessor
      	gimp_layer_get_floating_sel_drawable() which returns the drawable
      	the floating layer is attached to.
      
      	* app/core/gimpdrawable.c
      	* app/core/gimpfloatingselundo.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplayer-floating-sel.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: use it instead of accessing
      	layer->fs.drawable directly.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27962
      521555c4
  20. 25 Jan, 2009 1 commit
  21. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  22. 28 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      Use gimp_item_set/get_image() instead of accessing the instance · d37193fe
      Martin Nordholts authored
      member directly.
      
      * app/core/gimpchannel.c
      * app/core/gimpdrawable-brightness-contrast.c
      * app/core/gimpdrawable-color-balance.c
      * app/core/gimpdrawable-colorize.c
      * app/core/gimpdrawable-curves.c
      * app/core/gimpdrawable-desaturate.c
      * app/core/gimpdrawable-hue-saturation.c
      * app/core/gimpdrawable-invert.c
      * app/core/gimpdrawable-levels.c
      * app/core/gimpdrawable-posterize.c
      * app/core/gimpdrawable-threshold.c
      * app/core/gimplayer.c
      * app/core/gimplayermask.c
      * app/core/gimpselection.c
      * app/dialogs/layer-add-mask-dialog.c
      * app/text/gimptextlayer-xcf.c
      * app/tools/gimprectangletool.c
      * app/tools/gimptexttool.c
      * app/tools/gimpvectortool.c
      * app/vectors/gimpvectors-preview.c
      * app/vectors/gimpvectors.c
      * tools/pdbgen/pdb/layer.pdb
      
      * app/pdb/layer-cmds.c: Regenerated.
      
      svn path=/trunk/; revision=27840
      d37193fe
  23. 19 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      Make instance members private and add getters for required members. · 4981816c
      Martin Nordholts authored
      * app/core/gimpdatafactory.[ch]: Make instance members private and
      add getters for required members.
      
      (gimp_data_factory_get_container)
      (gimp_data_factory_get_gimp)
      (gimp_data_factory_has_data_new_func): The new getters.
      
      * app/actions/context-commands.c
      * app/actions/data-commands.c
      * app/core/gimp-gradients.c
      * app/core/gimp.c
      * app/core/gimpcontext.c
      * app/core/gimpdatafactory.c
      * app/core/gimpdatafactory.h
      * app/dialogs/convert-dialog.c
      * app/dialogs/palette-import-dialog.c
      * app/pdb/gimppdb-utils.c
      * app/widgets/gimpbrushfactoryview.c
      * app/widgets/gimpdataeditor.c
      * app/widgets/gimpdatafactoryview.c
      * app/widgets/gimpselectiondata.c
      * app/widgets/gimpviewablebox.c
      * tools/pdbgen/pdb/brush_select.pdb
      * tools/pdbgen/pdb/brushes.pdb
      * tools/pdbgen/pdb/gradient_select.pdb
      * tools/pdbgen/pdb/gradients.pdb
      * tools/pdbgen/pdb/palette_select.pdb
      * tools/pdbgen/pdb/palettes.pdb
      * tools/pdbgen/pdb/pattern_select.pdb
      * tools/pdbgen/pdb/patterns.pdb: Use the getters.
      
      
      * app/pdb/brush-select-cmds.c
      * app/pdb/brushes-cmds.c
      * app/pdb/gradient-select-cmds.c
      * app/pdb/gradients-cmds.c
      * app/pdb/palette-select-cmds.c
      * app/pdb/palettes-cmds.c
      * app/pdb/pattern-select-cmds.c
      * app/pdb/patterns-cmds.c: Regenerated.
      
      svn path=/trunk/; revision=27812
      4981816c
  24. 16 Dec, 2008 1 commit
    • Sven Neumann's avatar
      improved docs for gimp-plugin-help-register. · 031a1dfe
      Sven Neumann authored
      2008-12-16  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: improved docs for
      	gimp-plugin-help-register.
      
      	* app/pdb/plug-in-cmds.c
      	* libgimp/gimpplugin_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=27797
      031a1dfe
  25. 13 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      s/temp_buf_data/temp_buf_get_data/ · ddaa0b48
      Martin Nordholts authored
      * app/base/pixel-region.c
      * app/base/temp-buf.c
      * app/base/temp-buf.h
      * app/core/gimpbrush-load.c
      * app/core/gimpbrush-scale.c
      * app/core/gimpbrush.c
      * app/core/gimpbrushgenerated.c
      * app/core/gimpgradient.c
      * app/core/gimpimage.c
      * app/core/gimppalette.c
      * app/core/gimppattern-load.c
      * app/core/gimppattern.c
      * app/core/gimppreviewcache.c
      * app/core/gimpviewable.c
      * app/paint-funcs/paint-funcs-generic.h
      * app/paint/gimpbrushcore.c
      * app/paint/gimpclone.c
      * app/paint/gimperaser.c
      * app/paint/gimpheal.c
      * app/paint/gimpink.c
      * app/paint/gimppaintbrush.c
      * app/pdb/brush-cmds.c
      * app/pdb/brushes-cmds.c
      * app/pdb/drawable-cmds.c
      * app/pdb/image-cmds.c
      * app/pdb/pattern-cmds.c
      * app/pdb/patterns-cmds.c
      * app/text/gimpfont.c
      * app/tools/gimpiscissorstool.c
      * app/vectors/gimpvectors-preview.c
      * app/widgets/gimpbrushselect.c
      * app/widgets/gimppatternselect.c
      * app/widgets/gimpviewrenderer.c
      
      svn path=/trunk/; revision=27782
      ddaa0b48
  26. 04 Dec, 2008 1 commit
  27. 22 Nov, 2008 1 commit
    • Michael Natterer's avatar
      make the entire selection API take GimpSelection arguments, not · 558e2e17
      Michael Natterer authored
      2008-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpselection.[ch]: make the entire selection
      	API take GimpSelection arguments, not GimpChannel.
      	Clean up gimp_selection_load() a bit.
      
      	* app/actions/select-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-quick-mask.c
      	* app/tools/gimpeditselectiontool.c
      	* tools/pdbgen/pdb/selection.pdb: add the needed casts.
      
      	* app/pdb/selection-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27711
      558e2e17
  28. 14 Nov, 2008 1 commit
    • Michael Natterer's avatar
      rename gimp_image_floating_sel() to gimp_image_get_floating_selection(). · fb1660a4
      Michael Natterer authored
      2008-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: rename gimp_image_floating_sel() to
      	gimp_image_get_floating_selection().
      
      	* app/actions/channels-actions.c
      	* app/actions/image-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/select-actions.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: changed accordingly, replaced some
      	instances of direct acces by the accessor.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27649
      fb1660a4
  29. 13 Nov, 2008 2 commits
    • Michael Natterer's avatar
      get rid of useless casts. · 4599c75c
      Michael Natterer authored
      2008-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb (image_floating_sel_attached_to): get
      	rid of useless casts.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27639
      4599c75c
    • Sven Neumann's avatar
      added gimp_image_get_display_name(). · ada83368
      Sven Neumann authored
      2008-11-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.[ch]: added gimp_image_get_display_name().
      
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-close.c
      	* app/display/gimpdisplayshell-title.c
      	* app/pdb/gimppdb-utils.c
      
      	* app/widgets/gimpviewabledialog.c: use the new method instead 
      of
      	getting the image URI and mangling it with
      	file_utils_uri_display_basename().
      
      
      svn path=/trunk/; revision=27637
      ada83368