1. 28 Dec, 2008 2 commits
    • 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
    • Sven Neumann's avatar
      use the canonical spelling for the 'stock-id' property. · 19f72e44
      Sven Neumann authored
      2008-12-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpintcombobox.c (gimp_int_combo_box_init): 
      use
      	the canonical spelling for the 'stock-id' property.
      
      
      svn path=/trunk/; revision=27839
      19f72e44
  2. 27 Dec, 2008 4 commits
    • Sven Neumann's avatar
      copy-on-write from the projection is not any longer broken, so use it · f1c78b1d
      Sven Neumann authored
      2008-12-27  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.c
      	(gimp_paint_core_validate_saved_proj_tiles): copy-on-write from
      	the projection is not any longer broken, so use it here.
      
      
      svn path=/trunk/; revision=27837
      f1c78b1d
    • Sven Neumann's avatar
      Bug 564087 – Using clone tool on a layer with a part out of canvas · a4daf7f2
      Sven Neumann authored
      2008-12-27  Sven Neumann  <sven@gimp.org>
      
              Bug 564087 – Using clone tool on a layer with a part out of 
      canvas
              causes crashes
      
              * app/paint/gimppaintcore.c (gimp_paint_core_paste): intersect 
      the
              rectangle with the extents of the saved projection.
      
      
      svn path=/trunk/; revision=27835
      a4daf7f2
    • Sven Neumann's avatar
      formatting. · c0375934
      Sven Neumann authored
      2008-12-27  Sven Neumann  <sven@gimp.org>
      
      	* app/base/pixel-surround.c (struct _PixelSurround): formatting.
      
      
      svn path=/trunk/; revision=27834
      c0375934
    • Sven Neumann's avatar
      Bug 564593 – crash when the drawable is changed while a color tools is · 4409f385
      Sven Neumann authored
      2008-12-27  Sven Neumann  <sven@gimp.org>
      
      	Bug 564593 – crash when the drawable is changed while a color
      	tools is active
      
      	* app/core/gimpdrawable-shadow.c 
      (gimp_drawable_merge_shadow_tiles):
      	keep a reference to the shadow tiles because it might otherwise 
      be
      	free'd under our feet.
      
      
      svn path=/trunk/; revision=27832
      4409f385
  3. 26 Dec, 2008 1 commit
    • Sven Neumann's avatar
      let the save procedure also accept a grayscale layer with alpha channel, · d86d0856
      Sven Neumann authored
      2008-12-26  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/file-gbr.c: let the save procedure also accept 
      a
      	grayscale layer with alpha channel, as we do in the GIH save
      	procedure.
      
      	* plug-ins/common/file-gih.c: when loading a brush mask pipe,
      	create grayscale layers without an alpha channel. Changed the 
      save
      	procedure to also accept layers without alpha channel.
      
      
      svn path=/trunk/; revision=27831
      d86d0856
  4. 25 Dec, 2008 4 commits
  5. 23 Dec, 2008 3 commits
  6. 22 Dec, 2008 1 commit
  7. 21 Dec, 2008 3 commits
  8. 20 Dec, 2008 4 commits
    • Martin Nordholts's avatar
      Bug 555954 – Merge Tagging of Gimp Resources GSoC Project · 4255e436
      Martin Nordholts authored
      Merge the rest of the tagging code developed on the tagging branch
      by Aurimas Juška. Development will now continue in trunk.
      
      * app/core/gimptag.[ch]: New files (not strictly true but almost)
      implementing the represention of a tag.
      
      * app/core/gimptagcache.[ch]: New files implementing functionality
      for loading and saving tags to tags.xml, and assigning loaded tags
      to tagged objects.
      
      * app/core/gimpfilteredcontainer.[ch]: New files implementing a
      tag filtered GimpContainer.
      
      * app/widgets/gimptagentry.[ch]: New files implementing a
      GtkEntry-like widget for entering tags.
      
      * app/widgets/gimpcombotagentry.[ch]: New files implementing a
      combobox-like widget for selecting tags.
      
      * app/widgets/gimptagpopup.[ch]: New files implementing a popup of
      all available tags that can be selected and combined in a
      checkbox-like way.
      
      * app/core/gimp.[ch]: Add a GimpTagCache member and manage tag
      assignment and saving and loading to/from tags.xml.
      
      * app/widgets/gimpdatafactoryview.c: Add the tag query and tag
      assignment widgets to the UI and show the tag filtered items
      instead of all items.
      
      * app/core/Makefile.am
      * app/widgets/Makefile.am: Add new files.
      
      * app/core/core-types.h
      * app/widgets/widgets-types.h: Add new types.
      
      svn path=/trunk/; revision=27816
      4255e436
    • Martin Nordholts's avatar
      Bug 555954 – Merge Tagging of Gimp Resources GSoC Project · 9c912cf0
      Martin Nordholts authored
      Partial merge of code from Aurimas Juška.
      
      * app/widgets/gimpbrushfactoryview.c: Use the same method for
      getting the GimpContainer both when adding and when removing the
      spacing-changed handler. It was just a coincidence that the
      previously different methods retured the same GimpContainer.
      
      svn path=/trunk/; revision=27815
      9c912cf0
    • Martin Nordholts's avatar
      New helper functions to lesser level of indirection in client code. · a4b0297b
      Martin Nordholts authored
      * app/widgets/gimpdatafactoryview.[ch]
      (gimp_data_factory_view_have)
      (gimp_data_factory_view_get_children_type)
      (gimp_data_factory_view_has_data_new_func): New helper functions
      to lesser level of indirection in client code.
      
      * app/actions/data-commands.c: Use them.
      
      svn path=/trunk/; revision=27814
      a4b0297b
    • Martin Nordholts's avatar
      Make instance members private and add getters for accessed members. · 7f733cee
      Martin Nordholts authored
      * app/widgets/gimpdatafactoryview.[ch]: Make instance members
      private and add getters for accessed members.
      
      (gimp_data_factory_view_get_edit_button)
      (gimp_data_factory_view_get_duplicate_button)
      (gimp_data_factory_view_get_data_factory): New getters.
      
      * app/actions/data-commands.c
      * app/widgets/gimppatternfactoryview.c: Use new getters.
      
      svn path=/trunk/; revision=27813
      7f733cee
  9. 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
  10. 18 Dec, 2008 1 commit
    • Gabor Kelemen's avatar
      Translation updated. · 76b31244
      Gabor Kelemen authored
      2008-12-18  Gabor Kelemen  <kelemeng@gnome.hu>
      
      	* hu.po: Translation updated.
      
      svn path=/trunk/; revision=27810
      76b31244
  11. 17 Dec, 2008 3 commits
  12. 16 Dec, 2008 7 commits
  13. 15 Dec, 2008 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/pattern.pdb tools/pdbgen/pdb/brushes.pdb · 2158f66a
      Sven Neumann authored
      2008-12-15  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/pattern.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/patterns.pdb: need to do the change to
      	temp_buf_get_data() here for the generated PDB code.
      
      
      svn path=/trunk/; revision=27795
      2158f66a
  14. 14 Dec, 2008 1 commit
  15. 13 Dec, 2008 4 commits
    • Martin Nordholts's avatar
      We shall unref in dispose() and free in finalize(), not vice versa. · fbb4a7c9
      Martin Nordholts authored
      * app/core/gimp.c: We shall unref in dispose() and free in
      finalize(), not vice versa.
      
      svn path=/trunk/; revision=27787
      fbb4a7c9
    • Martin Nordholts's avatar
      Bug 555954 – Merge Tagging of Gimp Resources GSoC Project · 364d2cd8
      Martin Nordholts authored
      Partial merge of code from Aurimas Juška.
      
      * app/core/gimpdata.c: Implement GimpTagged::get_identifier() and
      GimpTagged::get_checksum().
      
      * app/core/gimpbrush.c: 
      * app/core/gimpgradient.c
      * app/core/gimppalette.c
      * app/core/gimppattern.c: Implement GimpTagged::get_checksum().
      They all use the GimpData implementation of
      GimpTagged::get_identifier().
      
      svn path=/trunk/; revision=27784
      364d2cd8
    • Martin Nordholts's avatar
      Introduce temp_buf_get_data_size() and use it. · 4cb231f5
      Martin Nordholts authored
      * app/base/temp-buf.[ch]
      * app/widgets/gimpbrushselect.c
      * app/widgets/gimppatternselect.c
      
      svn path=/trunk/; revision=27783
      4cb231f5
    • 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