1. 09 Jan, 2008 6 commits
    • Michael Natterer's avatar
      modules/cdisplay_colorblind.c modules/cdisplay_gamma.c · 24bd2b13
      Michael Natterer authored
      2008-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/cdisplay_lcms.c
      	* modules/cdisplay_proof.c
      	* modules/colorsel_cmyk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* modules/controller_dx_dinput.c
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: use G_DEFINE_DYNAMIC_TYPE() instead
      	of boilerplate code.
      
      
      svn path=/trunk/; revision=24582
      24bd2b13
    • Sven Neumann's avatar
      don't abort on errors in lcms. · 51eca41a
      Sven Neumann authored
      2008-01-09  Sven Neumann  <sven@gimp.org>
      
      	* modules/colorsel_cmyk_lcms.c (colorsel_cmyk_class_init): don't
      	abort on errors in lcms.
      
      
      svn path=/trunk/; revision=24580
      51eca41a
    • Sven Neumann's avatar
      use the marshaller from GLib; don't include gimpmarshal.h from app/core. · 3de5b534
      Sven Neumann authored
      2008-01-09  Sven Neumann  <sven@gimp.org>
      
      	* app/gegl/gimpoperationtilesink.c: use the marshaller from GLib;
      	don't include gimpmarshal.h from app/core.
      
      svn path=/trunk/; revision=24579
      3de5b534
    • Michael Natterer's avatar
      fix alpha handling on greyscale images. · c9af6ea8
      Michael Natterer authored
      2008-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimplevelstool.c (gimp_levels_tool_map): fix alpha
      	handling on greyscale images.
      
      
      svn path=/trunk/; revision=24577
      c9af6ea8
    • Sven Neumann's avatar
      round the result of the convolution. Fixes bug #508114. · c7b188b9
      Sven Neumann authored
      2008-01-09  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/convmatrix.c (convolve_image): round the result
      	of the convolution. Fixes bug #508114.
      
      svn path=/trunk/; revision=24575
      c7b188b9
    • Michael Natterer's avatar
      add typedef GimpImageMapApplyFunc here. · dc65f5fc
      Michael Natterer authored
      2008-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: add typedef GimpImageMapApplyFunc here.
      
      	* app/core/gimpimagemap.[ch] (gimp_image_map_new): add apply_func
      	and apply_data parameters.
      
      	(gimp_image_map_apply): remove them here and add a GeglRectangle
      	parameter which is the visible area of the affected drawable.
      
      	* app/tools/gimpimagemaptool.[ch]: keep apply_func and apply_data
      	around in the GimpImageMapTool struct.
      
      	(gimp_image_map_tool_create_map): pass them to gimp_image_map_new().
      
      	(gimp_image_map_tool_map): call gimp_image_map_apply() here and
      	pass the drawable's visible rectangle.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c (init): set apply_func and
      	apply_data in the parent instance.
      
      	(map): remove calls to gimp_image_map_apply().
      
      
      svn path=/trunk/; revision=24573
      dc65f5fc
  2. 08 Jan, 2008 5 commits
    • Sven Neumann's avatar
      plug-ins/psd/psd-image-res-load.[ch] plug-ins/psd/psd-layer-res-load.[ch] · a1c270c0
      Sven Neumann authored
      2008-01-08  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/psd/psd-image-res-load.[ch]
      	* plug-ins/psd/psd-layer-res-load.[ch]
      	* plug-ins/psd/psd-load.c
      	* plug-ins/psd/psd-thumb-load.c
      	* plug-ins/psd/psd-util.[ch]
      	* plug-ins/psd/psd.[ch]: applied a patch from John Marshall that
      	improves error handling of the new PSD load plug-in (bug 
      #448181).
      
      
      svn path=/trunk/; revision=24572
      a1c270c0
    • Øyvind Kolås's avatar
      removed no longer needed context_id. resynced from GEGL. resynced from · ff5507df
      Øyvind Kolås authored
      * app/gegl/gimpoperationtilesink.c: removed no longer needed
      context_id.
      * app/gegl/gegl/gegl-operation-sink.h: resynced from GEGL.
      * app/gegl/gegl/gegl-types.h: resynced from GEGL.
      
      svn path=/trunk/; revision=24571
      ff5507df
    • 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
  3. 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
  4. 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
  5. 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
  6. 04 Jan, 2008 3 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