gimp r27512 - in trunk: . app/core app/gegl app/tools



Author: martinn
Date: Sat Nov  1 12:08:35 2008
New Revision: 27512
URL: http://svn.gnome.org/viewvc/gimp?rev=27512&view=rev

Log:
* app/gegl/gimpoperation*.c: Prefix the GIMP GEGL operations with
"gimp:" instead of "gimp-" so we follow the GEGL prefix style and
better serialize to XML.

* app/tools/gimp*tool.c

* app/core/gimpdrawable-*.c
* app/core/gimpdrawable.c
* app/core/gimpimagemap.c
* app/core/gimpprojection.c: Changed accordingly.


Modified:
   trunk/ChangeLog
   trunk/app/core/gimpdrawable-color-balance.c
   trunk/app/core/gimpdrawable-colorize.c
   trunk/app/core/gimpdrawable-curves.c
   trunk/app/core/gimpdrawable-desaturate.c
   trunk/app/core/gimpdrawable-hue-saturation.c
   trunk/app/core/gimpdrawable-levels.c
   trunk/app/core/gimpdrawable-operation.c
   trunk/app/core/gimpdrawable-posterize.c
   trunk/app/core/gimpdrawable-threshold.c
   trunk/app/core/gimpdrawable.c
   trunk/app/core/gimpimagemap.c
   trunk/app/core/gimpprojection.c
   trunk/app/gegl/gimpoperationcolorbalance.c
   trunk/app/gegl/gimpoperationcolorize.c
   trunk/app/gegl/gimpoperationcurves.c
   trunk/app/gegl/gimpoperationdesaturate.c
   trunk/app/gegl/gimpoperationhuesaturation.c
   trunk/app/gegl/gimpoperationlevels.c
   trunk/app/gegl/gimpoperationposterize.c
   trunk/app/gegl/gimpoperationthreshold.c
   trunk/app/gegl/gimpoperationtilesink.c
   trunk/app/gegl/gimpoperationtilesource.c
   trunk/app/tools/gimpcolorbalancetool.c
   trunk/app/tools/gimpcolorizetool.c
   trunk/app/tools/gimpcurvestool.c
   trunk/app/tools/gimpdesaturatetool.c
   trunk/app/tools/gimphuesaturationtool.c
   trunk/app/tools/gimplevelstool.c
   trunk/app/tools/gimpposterizetool.c
   trunk/app/tools/gimpthresholdtool.c

Modified: trunk/app/core/gimpdrawable-color-balance.c
==============================================================================
--- trunk/app/core/gimpdrawable-color-balance.c	(original)
+++ trunk/app/core/gimpdrawable-color-balance.c	Sat Nov  1 12:08:35 2008
@@ -71,7 +71,7 @@
       GeglNode *node;
 
       node = g_object_new (GEGL_TYPE_NODE,
-                           "operation", "gimp-color-balance",
+                           "operation", "gimp:color-balance",
                            NULL);
       gegl_node_set (node,
                      "config", config,

Modified: trunk/app/core/gimpdrawable-colorize.c
==============================================================================
--- trunk/app/core/gimpdrawable-colorize.c	(original)
+++ trunk/app/core/gimpdrawable-colorize.c	Sat Nov  1 12:08:35 2008
@@ -64,7 +64,7 @@
       GeglNode *node;
 
       node = g_object_new (GEGL_TYPE_NODE,
-                           "operation", "gimp-colorize",
+                           "operation", "gimp:colorize",
                            NULL);
       gegl_node_set (node,
                      "config", config,

Modified: trunk/app/core/gimpdrawable-curves.c
==============================================================================
--- trunk/app/core/gimpdrawable-curves.c	(original)
+++ trunk/app/core/gimpdrawable-curves.c	Sat Nov  1 12:08:35 2008
@@ -156,7 +156,7 @@
       GeglNode *node;
 
       node = g_object_new (GEGL_TYPE_NODE,
-                           "operation", "gimp-curves",
+                           "operation", "gimp:curves",
                            NULL);
       gegl_node_set (node,
                      "config", config,

Modified: trunk/app/core/gimpdrawable-desaturate.c
==============================================================================
--- trunk/app/core/gimpdrawable-desaturate.c	(original)
+++ trunk/app/core/gimpdrawable-desaturate.c	Sat Nov  1 12:08:35 2008
@@ -55,7 +55,7 @@
       GObject  *config;
 
       desaturate = g_object_new (GEGL_TYPE_NODE,
-                                 "operation", "gimp-desaturate",
+                                 "operation", "gimp:desaturate",
                                  NULL);
 
       config = g_object_new (GIMP_TYPE_DESATURATE_CONFIG,

Modified: trunk/app/core/gimpdrawable-hue-saturation.c
==============================================================================
--- trunk/app/core/gimpdrawable-hue-saturation.c	(original)
+++ trunk/app/core/gimpdrawable-hue-saturation.c	Sat Nov  1 12:08:35 2008
@@ -69,7 +69,7 @@
       GeglNode *node;
 
       node = g_object_new (GEGL_TYPE_NODE,
-                           "operation", "gimp-hue-saturation",
+                           "operation", "gimp:hue-saturation",
                            NULL);
       gegl_node_set (node,
                      "config", config,

Modified: trunk/app/core/gimpdrawable-levels.c
==============================================================================
--- trunk/app/core/gimpdrawable-levels.c	(original)
+++ trunk/app/core/gimpdrawable-levels.c	Sat Nov  1 12:08:35 2008
@@ -144,7 +144,7 @@
       GeglNode *levels;
 
       levels = g_object_new (GEGL_TYPE_NODE,
-                             "operation", "gimp-levels",
+                             "operation", "gimp:levels",
                              NULL);
 
       gegl_node_set (levels,

Modified: trunk/app/core/gimpdrawable-operation.c
==============================================================================
--- trunk/app/core/gimpdrawable-operation.c	(original)
+++ trunk/app/core/gimpdrawable-operation.c	Sat Nov  1 12:08:35 2008
@@ -74,12 +74,12 @@
                 NULL);
 
   input  = gegl_node_new_child (gegl,
-                                "operation",    "gimp-tilemanager-source",
+                                "operation",    "gimp:tilemanager-source",
                                 "tile-manager", gimp_drawable_get_tiles (drawable),
                                 "linear",       linear,
                                 NULL);
   output = gegl_node_new_child (gegl,
-                                "operation",    "gimp-tilemanager-sink",
+                                "operation",    "gimp:tilemanager-sink",
                                 "tile-manager", gimp_drawable_get_shadow_tiles (drawable),
                                 "linear",       linear,
                                 NULL);

Modified: trunk/app/core/gimpdrawable-posterize.c
==============================================================================
--- trunk/app/core/gimpdrawable-posterize.c	(original)
+++ trunk/app/core/gimpdrawable-posterize.c	Sat Nov  1 12:08:35 2008
@@ -61,7 +61,7 @@
       GeglNode *node;
 
       node = g_object_new (GEGL_TYPE_NODE,
-                           "operation", "gimp-posterize",
+                           "operation", "gimp:posterize",
                            NULL);
       gegl_node_set (node,
                      "config", config,

Modified: trunk/app/core/gimpdrawable-threshold.c
==============================================================================
--- trunk/app/core/gimpdrawable-threshold.c	(original)
+++ trunk/app/core/gimpdrawable-threshold.c	Sat Nov  1 12:08:35 2008
@@ -62,7 +62,7 @@
       GeglNode *node;
 
       node = g_object_new (GEGL_TYPE_NODE,
-                           "operation", "gimp-threshold",
+                           "operation", "gimp:threshold",
                            NULL);
       gegl_node_set (node,
                      "config", config,

Modified: trunk/app/core/gimpdrawable.c
==============================================================================
--- trunk/app/core/gimpdrawable.c	(original)
+++ trunk/app/core/gimpdrawable.c	Sat Nov  1 12:08:35 2008
@@ -1130,7 +1130,7 @@
     return drawable->source_node;
 
   drawable->source_node = g_object_new (GEGL_TYPE_NODE,
-                                        "operation", "gimp-tilemanager-source",
+                                        "operation", "gimp:tilemanager-source",
                                         NULL);
   gegl_node_set (drawable->source_node,
                  "tile-manager", drawable->tiles,

Modified: trunk/app/core/gimpimagemap.c
==============================================================================
--- trunk/app/core/gimpimagemap.c	(original)
+++ trunk/app/core/gimpimagemap.c	Sat Nov  1 12:08:35 2008
@@ -463,7 +463,7 @@
 
           image_map->input =
             gegl_node_new_child (image_map->gegl,
-                                 "operation", "gimp-tilemanager-source",
+                                 "operation", "gimp:tilemanager-source",
                                  NULL);
 
           image_map->shift =
@@ -475,7 +475,7 @@
 
           image_map->output =
             gegl_node_new_child (image_map->gegl,
-                                 "operation", "gimp-tilemanager-sink",
+                                 "operation", "gimp:tilemanager-sink",
                                  NULL);
 
           {

Modified: trunk/app/core/gimpprojection.c
==============================================================================
--- trunk/app/core/gimpprojection.c	(original)
+++ trunk/app/core/gimpprojection.c	Sat Nov  1 12:08:35 2008
@@ -352,7 +352,7 @@
 
   proj->sink_node =
     gegl_node_new_child (proj->graph,
-                         "operation",    "gimp-tilemanager-sink",
+                         "operation",    "gimp:tilemanager-sink",
                          "tile-manager", gimp_projection_get_tiles (proj),
                          "linear",       TRUE,
                          NULL);

Modified: trunk/app/gegl/gimpoperationcolorbalance.c
==============================================================================
--- trunk/app/gegl/gimpoperationcolorbalance.c	(original)
+++ trunk/app/gegl/gimpoperationcolorbalance.c	Sat Nov  1 12:08:35 2008
@@ -55,7 +55,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-color-balance";
+  operation_class->name        = "gimp:color-balance";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Color Balance operation";
 

Modified: trunk/app/gegl/gimpoperationcolorize.c
==============================================================================
--- trunk/app/gegl/gimpoperationcolorize.c	(original)
+++ trunk/app/gegl/gimpoperationcolorize.c	Sat Nov  1 12:08:35 2008
@@ -54,7 +54,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-colorize";
+  operation_class->name        = "gimp:colorize";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Colorize operation";
 

Modified: trunk/app/gegl/gimpoperationcurves.c
==============================================================================
--- trunk/app/gegl/gimpoperationcurves.c	(original)
+++ trunk/app/gegl/gimpoperationcurves.c	Sat Nov  1 12:08:35 2008
@@ -58,7 +58,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-curves";
+  operation_class->name        = "gimp:curves";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Curves operation";
 

Modified: trunk/app/gegl/gimpoperationdesaturate.c
==============================================================================
--- trunk/app/gegl/gimpoperationdesaturate.c	(original)
+++ trunk/app/gegl/gimpoperationdesaturate.c	Sat Nov  1 12:08:35 2008
@@ -54,7 +54,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-desaturate";
+  operation_class->name        = "gimp:desaturate";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Desaturate operation";
 

Modified: trunk/app/gegl/gimpoperationhuesaturation.c
==============================================================================
--- trunk/app/gegl/gimpoperationhuesaturation.c	(original)
+++ trunk/app/gegl/gimpoperationhuesaturation.c	Sat Nov  1 12:08:35 2008
@@ -55,7 +55,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-hue-saturation";
+  operation_class->name        = "gimp:hue-saturation";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Hue-Saturation operation";
 

Modified: trunk/app/gegl/gimpoperationlevels.c
==============================================================================
--- trunk/app/gegl/gimpoperationlevels.c	(original)
+++ trunk/app/gegl/gimpoperationlevels.c	Sat Nov  1 12:08:35 2008
@@ -55,7 +55,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-levels";
+  operation_class->name        = "gimp:levels";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Levels operation";
 

Modified: trunk/app/gegl/gimpoperationposterize.c
==============================================================================
--- trunk/app/gegl/gimpoperationposterize.c	(original)
+++ trunk/app/gegl/gimpoperationposterize.c	Sat Nov  1 12:08:35 2008
@@ -55,7 +55,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-posterize";
+  operation_class->name        = "gimp:posterize";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Posterize operation";
 

Modified: trunk/app/gegl/gimpoperationthreshold.c
==============================================================================
--- trunk/app/gegl/gimpoperationthreshold.c	(original)
+++ trunk/app/gegl/gimpoperationthreshold.c	Sat Nov  1 12:08:35 2008
@@ -54,7 +54,7 @@
   object_class->set_property   = gimp_operation_point_filter_set_property;
   object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name        = "gimp-threshold";
+  operation_class->name        = "gimp:threshold";
   operation_class->categories  = "color";
   operation_class->description = "GIMP Threshold operation";
 

Modified: trunk/app/gegl/gimpoperationtilesink.c
==============================================================================
--- trunk/app/gegl/gimpoperationtilesink.c	(original)
+++ trunk/app/gegl/gimpoperationtilesink.c	Sat Nov  1 12:08:35 2008
@@ -94,7 +94,7 @@
   object_class->set_property   = gimp_operation_tile_sink_set_property;
   object_class->get_property   = gimp_operation_tile_sink_get_property;
 
-  operation_class->name        = "gimp-tilemanager-sink";
+  operation_class->name        = "gimp:tilemanager-sink";
   operation_class->categories  = "output";
   operation_class->description = "GIMP TileManager sink";
 

Modified: trunk/app/gegl/gimpoperationtilesource.c
==============================================================================
--- trunk/app/gegl/gimpoperationtilesource.c	(original)
+++ trunk/app/gegl/gimpoperationtilesource.c	Sat Nov  1 12:08:35 2008
@@ -78,7 +78,7 @@
   object_class->set_property          = gimp_operation_tile_source_set_property;
   object_class->get_property          = gimp_operation_tile_source_get_property;
 
-  operation_class->name               = "gimp-tilemanager-source";
+  operation_class->name               = "gimp:tilemanager-source";
   operation_class->categories         = "input";
   operation_class->description        = "GIMP TileManager source";
   operation_class->prepare            = gimp_operation_tile_source_prepare;

Modified: trunk/app/tools/gimpcolorbalancetool.c
==============================================================================
--- trunk/app/tools/gimpcolorbalancetool.c	(original)
+++ trunk/app/tools/gimpcolorbalancetool.c	Sat Nov  1 12:08:35 2008
@@ -179,7 +179,7 @@
   GeglNode             *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-color-balance",
+                       "operation", "gimp:color-balance",
                        NULL);
 
   cb_tool->config = g_object_new (GIMP_TYPE_COLOR_BALANCE_CONFIG, NULL);

Modified: trunk/app/tools/gimpcolorizetool.c
==============================================================================
--- trunk/app/tools/gimpcolorizetool.c	(original)
+++ trunk/app/tools/gimpcolorizetool.c	Sat Nov  1 12:08:35 2008
@@ -174,7 +174,7 @@
   GeglNode         *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-colorize",
+                       "operation", "gimp:colorize",
                        NULL);
 
   col_tool->config = g_object_new (GIMP_TYPE_COLORIZE_CONFIG, NULL);

Modified: trunk/app/tools/gimpcurvestool.c
==============================================================================
--- trunk/app/tools/gimpcurvestool.c	(original)
+++ trunk/app/tools/gimpcurvestool.c	Sat Nov  1 12:08:35 2008
@@ -368,7 +368,7 @@
   GeglNode       *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-curves",
+                       "operation", "gimp:curves",
                        NULL);
 
   tool->config = g_object_new (GIMP_TYPE_CURVES_CONFIG, NULL);

Modified: trunk/app/tools/gimpdesaturatetool.c
==============================================================================
--- trunk/app/tools/gimpdesaturatetool.c	(original)
+++ trunk/app/tools/gimpdesaturatetool.c	Sat Nov  1 12:08:35 2008
@@ -146,7 +146,7 @@
   GeglNode           *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-desaturate",
+                       "operation", "gimp:desaturate",
                        NULL);
 
   desaturate_tool->config = g_object_new (GIMP_TYPE_DESATURATE_CONFIG, NULL);

Modified: trunk/app/tools/gimphuesaturationtool.c
==============================================================================
--- trunk/app/tools/gimphuesaturationtool.c	(original)
+++ trunk/app/tools/gimphuesaturationtool.c	Sat Nov  1 12:08:35 2008
@@ -187,7 +187,7 @@
   GeglNode              *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-hue-saturation",
+                       "operation", "gimp:hue-saturation",
                        NULL);
 
   hs_tool->config = g_object_new (GIMP_TYPE_HUE_SATURATION_CONFIG, NULL);

Modified: trunk/app/tools/gimplevelstool.c
==============================================================================
--- trunk/app/tools/gimplevelstool.c	(original)
+++ trunk/app/tools/gimplevelstool.c	Sat Nov  1 12:08:35 2008
@@ -255,7 +255,7 @@
   GeglNode       *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-levels",
+                       "operation", "gimp:levels",
                        NULL);
 
   tool->config = g_object_new (GIMP_TYPE_LEVELS_CONFIG, NULL);

Modified: trunk/app/tools/gimpposterizetool.c
==============================================================================
--- trunk/app/tools/gimpposterizetool.c	(original)
+++ trunk/app/tools/gimpposterizetool.c	Sat Nov  1 12:08:35 2008
@@ -172,7 +172,7 @@
   GeglNode          *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-posterize",
+                       "operation", "gimp:posterize",
                        NULL);
 
   posterize_tool->config = g_object_new (GIMP_TYPE_POSTERIZE_CONFIG, NULL);

Modified: trunk/app/tools/gimpthresholdtool.c
==============================================================================
--- trunk/app/tools/gimpthresholdtool.c	(original)
+++ trunk/app/tools/gimpthresholdtool.c	Sat Nov  1 12:08:35 2008
@@ -183,7 +183,7 @@
   GeglNode          *node;
 
   node = g_object_new (GEGL_TYPE_NODE,
-                       "operation", "gimp-threshold",
+                       "operation", "gimp:threshold",
                        NULL);
 
   t_tool->config = g_object_new (GIMP_TYPE_THRESHOLD_CONFIG, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]