1. 08 Jan, 2008 3 commits
    • 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
    • Sven Neumann's avatar
      moved code to a utility function, in preparation for a possible fix for · ef5cda6a
      Sven Neumann authored
      2008-01-08  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-open.c (file_open_layers): moved code to a utility
      	function, in preparation for a possible fix for bug #507116.
      
      svn path=/trunk/; revision=24569
      ef5cda6a
    • Kevin Cozens's avatar
      Test for symlink before testing for other file types. Spotted by David · 2e951b7f
      Kevin Cozens authored
      2008-01-08  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* plug-ins/script-fu/ftx/ftx.c (foreign_filetype): Test for symlink
      	before testing for other file types. Spotted by David Martin.
      
      svn path=/trunk/; revision=24568
      2e951b7f
  2. 07 Jan, 2008 11 commits
    • Michael Natterer's avatar
      add properties, some cleanup. · 27319afd
      Michael Natterer authored
      2008-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpoperationlevels.[ch]: add properties, some cleanup.
      
      	* app/tools/gimplevelstool.c: use gegl_node_set() instead of
      	accessing the operation directly.
      
      
      svn path=/trunk/; revision=24566
      27319afd
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h new operator. · 1c804c8d
      Michael Natterer authored
      2008-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpoperationlevels.[ch]: new operator.
      
      	* app/gegl/gimp-gegl.c: register it.
      
      	* app/tools/gimplevelstool.c: use it,
      
      
      svn path=/trunk/; revision=24565
      1c804c8d
    • Michael Natterer's avatar
      add some comments about how this code is different from base/colorize.c · 5da250fc
      Michael Natterer authored
      2008-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpoperationcolorize.c (process): add some comments
      	about how this code is different from base/colorize.c
      
      
      svn path=/trunk/; revision=24564
      5da250fc
    • Michael Natterer's avatar
      include gegl/gegl-types.h instead of base/base-types.h. · f0ec8dcb
      Michael Natterer authored
      2008-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: include gegl/gegl-types.h instead of
      	base/base-types.h.
      
      	* app/gegl/gegl/gegl-types.h: add ugly #ifdefs so we can include
      	gegl.h and this file at the same time.
      
      
      svn path=/trunk/; revision=24563
      f0ec8dcb
    • Michael Natterer's avatar
      reordered and renamed parameters to make more sense. · 147f3417
      Michael Natterer authored
      2008-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.c (gimp_layer_transform_color): reordered
      	and renamed parameters to make more sense.
      
      
      svn path=/trunk/; revision=24562
      147f3417
    • Michael Natterer's avatar
      remove GTK_CFLAGS. · bf02ecb9
      Michael Natterer authored
      2008-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am (INCLUDES): remove GTK_CFLAGS.
      
      
      svn path=/trunk/; revision=24561
      bf02ecb9
    • Øyvind Kolås's avatar
      make the mapping between slider values and gegl-op properties more closely · 43a3c372
      Øyvind Kolås authored
      * app/tools/gimpbrightnesscontrasttool.c: make the mapping between
      slider values and gegl-op properties more closely resemble gimp for
      the brightness property.
      
      svn path=/trunk/; revision=24560
      43a3c372
    • Michael Natterer's avatar
      updated from GEGL. · d916692c
      Michael Natterer authored
      2008-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gegl/gegl-operation.h: updated from GEGL.
      
      	* app/gegl/gimpoperationtilesource.c: use the passed buffer in
      	process() and add prepare() implementation which sets the format.
      
      
      svn path=/trunk/; revision=24559
      d916692c
    • Jakub Friedl's avatar
      Updated Czech translation. · 3fd57a5f
      Jakub Friedl authored
      2007-01-07  Jakub Friedl  <jfriedl@suse.cz>
      
        * cs.po: Updated Czech translation.
      
      
      
      svn path=/trunk/; revision=24557
      3fd57a5f
    • Joao S. O. Bueno's avatar
      fixed incorrect function name in error message for vs_flip · 080cdd66
      Joao S. O. Bueno authored
      2008-01-05  Joao S. O. Bueno <gwidion@mpc.com.br>
      
      * plug-ins/pygimp/pygimp-vectors.c: fixed incorrect function name
      in error message for vs_flip
      
      svn path=/trunk/; revision=24556
      080cdd66
    • Øyvind Kolås's avatar
      modified to match newer API in GEGL. · 9a889411
      Øyvind Kolås authored
      * app/gegl/gimpoperationtilesink.c:
      * app/gegl/gimpoperationtilesource.c: modified to match newer API in
      GEGL.
      * app/gegl/gegl/gegl-operation-sink.h:
      * app/gegl/gegl/gegl-operation-source.h: updated from GEGL.
      
      svn path=/trunk/; revision=24555
      9a889411
  3. 06 Jan, 2008 12 commits
    • Michael Natterer's avatar
      app/gegl/gegl/buffer/gegl-buffer-types.h · 7acc5de9
      Michael Natterer authored
      2008-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gegl/buffer/gegl-buffer-types.h
      	* app/gegl/gegl/gegl-operation-filter.h
      	* app/gegl/gegl/gegl-operation-point-filter.h
      	* app/gegl/gegl/gegl-operation-sink.h
      	* app/gegl/gegl/gegl-operation-source.h
      	* app/gegl/gegl/gegl-operation.h: updated from GEGL.
      
      
      svn path=/trunk/; revision=24554
      7acc5de9
    • Michael Natterer's avatar
      don't call a NULL GimpImageMapToolClass::get_operation(). · 4324d681
      Michael Natterer authored
      2008-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map):
      	don't call a NULL GimpImageMapToolClass::get_operation().
      
      
      svn path=/trunk/; revision=24553
      4324d681
    • Michael Natterer's avatar
      toggle the image map mode only if an image map currently exists. Fixes · 50335ca9
      Michael Natterer authored
      2008-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_gegl_notify):
      	toggle the image map mode only if an image map currently exists.
      	Fixes crash when toggling "Use GEGL" while the tool is not active.
      
      
      svn path=/trunk/; revision=24552
      50335ca9
    • Sven Neumann's avatar
      fixed typo · 7e2cab3c
      Sven Neumann authored
      svn path=/trunk/; revision=24551
      7e2cab3c
    • Sven Neumann's avatar
      compile a list of MIME types that GIMP can read. · b95be71c
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: compile a list of MIME types that GIMP can read.
      
      	* desktop/gimp.desktop.in.in: use the list of MIME types as
      	compiled by the configure script. Fixes bug #507318.
      
      	* desktop/Makefile.am
      	* desktop/gimp.applications.in
      	* desktop/gimp.keys.in: removed, the gimp.application and
      	gimp.keys files are obsolete.
      
      	* plug-ins/psd/psd.c (MAIN): corrected MIME type in unused code.
      
      
      svn path=/trunk/; revision=24550
      b95be71c
    • Sven Neumann's avatar
      applied patch from Matt Smith that adds a --without-hal configure option · b67f8877
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: applied patch from Matt Smith that adds a
      	--without-hal configure option (bug #507595).
      	
      	* INSTALL: document the new option.
      
      
      svn path=/trunk/; revision=24549
      b67f8877
    • Sven Neumann's avatar
      configure.in fixed --without-jpeg configure option (bug #507572). · 05ea1343
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* plug-ins/Makefile.am: fixed --without-jpeg configure option
      	(bug #507572).
      
      
      svn path=/trunk/; revision=24548
      05ea1343
    • Michael Natterer's avatar
      app/gegl/gimpoperationtilesource.c formatting. · 3463d3f6
      Michael Natterer authored
      2008-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpoperationtilesource.c
      	* app/gegl/gimpoperationtilesink.c: formatting.
      
      
      svn path=/trunk/; revision=24547
      3463d3f6
    • Sven Neumann's avatar
      libgimpbase/gimpchecks.c libgimp/gimpunitcache.c · c30c5f60
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpchecks.c
      	* libgimp/gimpunitcache.c
      	* libgimpwidgets/gimppageselector.c
      	* libgimpwidgets/gimpcolorscales.c: removed redundant checks for
      	enum values (which are unsigned) >= 0.
      
      
      svn path=/trunk/; revision=24546
      c30c5f60
    • Sven Neumann's avatar
      fixed out-of-bounds array access. · a01a055c
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/convmatrix.c (convolve_image): fixed 
      out-of-bounds
      	array access.
      
      
      svn path=/trunk/; revision=24544
      a01a055c
    • Sven Neumann's avatar
      use G_GUINT64_CONSTANT() instead of a cast. · 2531fa76
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpmemsizeentry.c: use G_GUINT64_CONSTANT()
      	instead of a cast.
      
      
      svn path=/trunk/; revision=24542
      2531fa76
    • Sven Neumann's avatar
      update the progress less often. · d55d9587
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/tile.c (tile): update the progress less often.
      
      
      svn path=/trunk/; revision=24541
      d55d9587
  4. 05 Jan, 2008 3 commits
    • Manish Singh's avatar
      new Image.new_layer() method, which is convenience for creating, filling, · 30e0e412
      Manish Singh authored
      2008-01-05  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-image.c: new Image.new_layer() method,
              which is convenience for creating, filling, and attaching a new
              layer onto an image. Based on a idea and patch by João S. O. Bueno
              in bug #505982.
      
      svn path=/trunk/; revision=24540
      30e0e412
    • Manish Singh's avatar
      hardcode a declaration of gegl_node_add_child() in here for now. · fb573473
      Manish Singh authored
      2008-01-05  Manish Singh  <yosh@gimp.org>
      
              * app/core/gimpimagemap.c: hardcode a declaration of
              gegl_node_add_child() in here for now.
      
      svn path=/trunk/; revision=24539
      fb573473
    • Øyvind Kolås's avatar
      synchronoised with GEGL headers. · e748a072
      Øyvind Kolås authored
      * app/gegl/gegl/gegl-operation-sink.h:
      * app/gegl/gegl/gegl-operation-source.h:
      * app/gegl/gegl/gegl-operation.h:
      * app/gegl/gegl/gegl-types.h:
      * app/gegl/gegl/graph/:
      * app/gegl/gegl/graph/gegl-node-context.h: synchronoised with GEGL
      headers.
      * app/gegl/gimpoperationtilesink.c:
      * app/gegl/gimpoperationtilesource.c: updated to new API, where a
      GeglNodeContext is used in process methods instead of gpointer
      context_id.
      
      svn path=/trunk/; revision=24538
      e748a072
  5. 04 Jan, 2008 11 commits
    • Øyvind Kolås's avatar
      synchronised with GEGL headers. · 1f4acb98
      Øyvind Kolås authored
      * app/gegl/gegl/gegl-operation-sink.h:
      * app/gegl/gegl/gegl-operation-source.h:
      * app/gegl/gegl/gegl-operation.h: synchronised with GEGL headers.
      * app/gegl/gimpoperationtilesink.c:
      * app/gegl/gimpoperationtilesource.c: added const GeglRectangle
      *result to arguments of _process().
      
      svn path=/trunk/; revision=24537
      1f4acb98
    • Øyvind Kolås's avatar
      synchronised with GEGL headers. · 20e49c0d
      Øyvind Kolås authored
      * app/gegl/gegl/gegl-operation-sink.h:
      * app/gegl/gegl/gegl-operation-source.h:
      * app/gegl/gegl/gegl-operation.h: synchronised with GEGL headers.
      * app/gegl/gimpoperationtilesink.c:
      * app/gegl/gimpoperationtilesource.c: added const GeglRectangle
      *result to arguments of _process().
      
      svn path=/trunk/; revision=24536
      20e49c0d
    • Sven Neumann's avatar
      changed the default marching ants speed to 200. · 3881c132
      Sven Neumann authored
      2008-01-04  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpdisplayconfig.c: changed the default marching 
      ants
      	speed to 200.
      
      
      svn path=/trunk/; revision=24534
      3881c132
    • Hans Breuer's avatar
      **/makefile.msc app/gimpcore.def : updated so it compiles and links · 9a1d5f34
      Hans Breuer authored
      2008-01-04  Hans Breuer  <hans@breuer.org>
      
      	**/makefile.msc app/gimpcore.def : updated so it compiles and links
      	(almost, see bug #507298)
      
      svn path=/trunk/; revision=24533
      9a1d5f34
    • Sven Neumann's avatar
      Merged from gimp-2-4 branch: · 08582c36
      Sven Neumann authored
      2008-01-04  Sven Neumann  <sven@gimp.org>
      
      	Merged from gimp-2-4 branch:
      
      	* app/display/gimpdisplayshell-selection.c:
      	draw marching ants with G_PRIORITY_DEFAULT_IDLE; fixes bug 
      #479875.
      
      
      svn path=/trunk/; revision=24532
      08582c36
    • Michael Natterer's avatar
      optionally use gegl where we already have operations (breaking the · 45b2a5e0
      Michael Natterer authored
      2008-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/color.pdb: optionally use gegl where we already
      	have operations (breaking the indentation to keep the diff small
      	and readable).
      
      	* app/pdb/Makefile.am: add GEGL_CFLAGS.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24531
      45b2a5e0
    • Michael Natterer's avatar
      add "use-gegl" property but don't serialize it. · dd97e605
      Michael Natterer authored
      2008-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpcoreconfig.[ch]: add "use-gegl" property but
      	don't serialize it.
      
      	* app/widgets/gimptoolbox.c: add super ugly "Use GEGL" toggle to
      	the toolbox so we don't need to have prefs open all the time when
      	experimenting with gegl.
      
      	* app/tools/gimpimagemaptool.[ch]: remove "Use GEGL" toggle from
      	the tool dialogs and connect to the config property instead.
      
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-invert.c: made them runtime-switchable by
      	looking at the config property.
      
      
      svn path=/trunk/; revision=24530
      dd97e605
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h · d1719638
      Michael Natterer authored
      2008-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpoperationcolorize.[ch]
      	* app/gegl/gimpoperationposterize.[ch]: new operators which still
      	use a lot of gimp stuff they shouldn't use, but at least the
      	infrastructure for improving them is there now.
      
      	* app/gegl/gimp-gegl.c: register them.
      
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpposterizetool.c: use them.
      
      
      svn path=/trunk/; revision=24528
      d1719638
    • Michael Natterer's avatar
      fix · 2634bcac
      Michael Natterer authored
      svn path=/trunk/; revision=24527
      2634bcac
    • Michael Natterer's avatar
      switch tile sources and sinks to assume linear data. · 15a50be8
      Michael Natterer authored
      2008-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagemap.c (gimp_image_map_apply): switch tile
      	sources and sinks to assume linear data.
      
      
      svn path=/trunk/; revision=24526
      15a50be8
    • Michael Natterer's avatar
      enable disabling gegl again, which i broke with my last commit. · 61a14f1f
      Michael Natterer authored
      2008-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map):
      	enable disabling gegl again, which i broke with my last commit.
      
      
      svn path=/trunk/; revision=24525
      61a14f1f