gegl r1825 - in trunk: . gegl gegl/graph gegl/operation operations/affine operations/color operations/core



Author: ok
Date: Mon Jan  7 23:44:13 2008
New Revision: 1825
URL: http://svn.gnome.org/viewvc/gegl?rev=1825&view=rev

Log:
%s/GEGL_PAD_OUTPUT/GEGL_PARAM_PAD_OUTPUT/
%s/GEGL_PAD_INPUT/GEGL_PARAM_PAD_INPUT/
* gegl/gegl-chant.h:
* gegl/graph/gegl-pad.c:
* gegl/graph/gegl-pad.h:
* gegl/operation/gegl-operation-composer.c:
* gegl/operation/gegl-operation-filter.c:
* gegl/operation/gegl-operation-sink.c:
* gegl/operation/gegl-operation-source.c:
* operations/affine/chant.h:
* operations/color/remap.c:
* operations/core/shift.c:


Modified:
   trunk/ChangeLog
   trunk/gegl/gegl-chant.h
   trunk/gegl/graph/gegl-pad.c
   trunk/gegl/graph/gegl-pad.h
   trunk/gegl/operation/gegl-operation-composer.c
   trunk/gegl/operation/gegl-operation-filter.c
   trunk/gegl/operation/gegl-operation-sink.c
   trunk/gegl/operation/gegl-operation-source.c
   trunk/operations/affine/chant.h
   trunk/operations/color/remap.c
   trunk/operations/core/shift.c

Modified: trunk/gegl/gegl-chant.h
==============================================================================
--- trunk/gegl/gegl-chant.h	(original)
+++ trunk/gegl/gegl-chant.h	Mon Jan  7 23:44:13 2008
@@ -630,7 +630,7 @@
                                                      (GParamFlags) (\
                                                      G_PARAM_READWRITE |\
                                                      G_PARAM_CONSTRUCT |\
-                                                     GEGL_PAD_INPUT)));
+                                                     GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_double(name, min, max, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_double (#name, #name, blurb,\
@@ -638,7 +638,7 @@
                                                         (GParamFlags) (\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT)));
+                                                        GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_boolean(name, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_boolean (#name, #name, blurb,\
@@ -646,7 +646,7 @@
                                                          (GParamFlags) (\
                                                          G_PARAM_READWRITE |\
                                                          G_PARAM_CONSTRUCT |\
-                                                         GEGL_PAD_INPUT)));
+                                                         GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_string(name, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_string (#name, #name, blurb,\
@@ -654,7 +654,7 @@
                                                         (GParamFlags) ( \
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT)));
+                                                        GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_path(name, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    gegl_param_spec_path (#name, #name, blurb,\
@@ -663,7 +663,7 @@
                                                          (GParamFlags) ( \
                                                          G_PARAM_READWRITE |\
                                                          G_PARAM_CONSTRUCT |\
-                                                         GEGL_PAD_INPUT)));
+                                                         GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_multiline(name, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    gegl_param_spec_multiline (#name, #name, blurb,\
@@ -671,7 +671,7 @@
                                                          (GParamFlags) ( \
                                                          G_PARAM_READWRITE |\
                                                          G_PARAM_CONSTRUCT |\
-                                                         GEGL_PAD_INPUT)));
+                                                         GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_object(name, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_object (#name, #name, blurb,\
@@ -679,14 +679,14 @@
                                                         (GParamFlags) (\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT)));
+                                                        GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_pointer(name, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_pointer (#name, #name, blurb,\
                                                         (GParamFlags) (\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT)));
+                                                        GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_color(name, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    gegl_param_spec_color_from_string (#name, #name, blurb,\
@@ -694,15 +694,15 @@
                                                           (GParamFlags) (\
                                                           G_PARAM_READWRITE |\
                                                           G_PARAM_CONSTRUCT |\
-                                                          GEGL_PAD_INPUT)));
+                                                          GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_curve(name, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    gegl_param_spec_curve (#name, #name, blurb,\
-							  gegl_curve_default_curve(),\
+                                                          gegl_curve_default_curve(),\
                                                           (GParamFlags) (\
                                                           G_PARAM_READWRITE |\
                                                           G_PARAM_CONSTRUCT |\
-                                                          GEGL_PAD_INPUT)));
+                                                          GEGL_PARAM_PAD_INPUT)));
 #define gegl_chant_vector(name, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    gegl_param_spec_vector (#name, #name, blurb,\
@@ -710,7 +710,7 @@
                                                           (GParamFlags) (\
                                                           G_PARAM_READWRITE |\
                                                           G_PARAM_CONSTRUCT |\
-                                                          GEGL_PAD_INPUT)));
+                                                          GEGL_PARAM_PAD_INPUT)));
 #include GEGL_CHANT_SELF
 
 #undef gegl_chant_int

Modified: trunk/gegl/graph/gegl-pad.c
==============================================================================
--- trunk/gegl/graph/gegl-pad.c	(original)
+++ trunk/gegl/graph/gegl-pad.c	Mon Jan  7 23:44:13 2008
@@ -291,13 +291,13 @@
 gboolean
 gegl_pad_is_output (GeglPad *self)
 {
-  return GEGL_PAD_OUTPUT & self->param_spec->flags;
+  return GEGL_PARAM_PAD_OUTPUT & self->param_spec->flags;
 }
 
 gboolean
 gegl_pad_is_input (GeglPad *self)
 {
-  return GEGL_PAD_INPUT & self->param_spec->flags;
+  return GEGL_PARAM_PAD_INPUT & self->param_spec->flags;
 }
 
 static void

Modified: trunk/gegl/graph/gegl-pad.h
==============================================================================
--- trunk/gegl/graph/gegl-pad.h	(original)
+++ trunk/gegl/graph/gegl-pad.h	Mon Jan  7 23:44:13 2008
@@ -26,8 +26,8 @@
 
 typedef enum
 {
-  GEGL_PAD_OUTPUT  = 1 << G_PARAM_USER_SHIFT,
-  GEGL_PAD_INPUT   = 1 << (G_PARAM_USER_SHIFT + 1)
+  GEGL_PARAM_PAD_OUTPUT = 1 << G_PARAM_USER_SHIFT,
+  GEGL_PARAM_PAD_INPUT  = 1 << (G_PARAM_USER_SHIFT + 1)
 } GeglPadType;
 
 

Modified: trunk/gegl/operation/gegl-operation-composer.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-composer.c	(original)
+++ trunk/gegl/operation/gegl-operation-composer.c	Mon Jan  7 23:44:13 2008
@@ -78,7 +78,7 @@
                                                         "Ouput pad for generated image buffer.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READABLE |
-                                                        GEGL_PAD_OUTPUT));
+                                                        GEGL_PARAM_PAD_OUTPUT));
 
   g_object_class_install_property (object_class, PROP_INPUT,
                                    g_param_spec_object ("input",
@@ -86,7 +86,7 @@
                                                         "Input pad, for image buffer input.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READWRITE |
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 
   g_object_class_install_property (object_class, PROP_AUX,
                                    g_param_spec_object ("aux",
@@ -94,7 +94,7 @@
                                                         "Auxiliary image buffer input pad.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READWRITE |
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 }
 
 static void

Modified: trunk/gegl/operation/gegl-operation-filter.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-filter.c	(original)
+++ trunk/gegl/operation/gegl-operation-filter.c	Mon Jan  7 23:44:13 2008
@@ -79,7 +79,7 @@
                                                         "Ouput pad for generated image buffer.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READABLE |
-                                                        GEGL_PAD_OUTPUT));
+                                                        GEGL_PARAM_PAD_OUTPUT));
 
   g_object_class_install_property (object_class, PROP_INPUT,
                                    g_param_spec_object ("input",
@@ -87,7 +87,7 @@
                                                         "Input pad, for image buffer input.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READWRITE |
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 }
 
 static void

Modified: trunk/gegl/operation/gegl-operation-sink.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-sink.c	(original)
+++ trunk/gegl/operation/gegl-operation-sink.c	Mon Jan  7 23:44:13 2008
@@ -73,7 +73,7 @@
                                                         "Input pad, for image buffer input.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READWRITE |
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 }
 
 static void

Modified: trunk/gegl/operation/gegl-operation-source.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-source.c	(original)
+++ trunk/gegl/operation/gegl-operation-source.c	Mon Jan  7 23:44:13 2008
@@ -75,7 +75,7 @@
                                                         "Ouput pad for generated image buffer.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READABLE |
-                                                        GEGL_PAD_OUTPUT));
+                                                        GEGL_PARAM_PAD_OUTPUT));
 }
 
 static void

Modified: trunk/operations/affine/chant.h
==============================================================================
--- trunk/operations/affine/chant.h	(original)
+++ trunk/operations/affine/chant.h	Mon Jan  7 23:44:13 2008
@@ -293,48 +293,48 @@
                                                      min, max, def,\
                                                      G_PARAM_READWRITE |\
                                                      G_PARAM_CONSTRUCT |\
-                                                     GEGL_PAD_INPUT));
+                                                     GEGL_PARAM_PAD_INPUT));
 #define gegl_chant_double(name, min, max, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_double (#name, #name, blurb,\
                                                         min, max, def,\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 #define gegl_chant_float(name, min, max, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_float (#name, #name, blurb,\
                                                         min, max, def,\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 #define gegl_chant_boolean(name, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_boolean (#name, #name, blurb,\
                                                          def,\
                                                          G_PARAM_READWRITE |\
                                                          G_PARAM_CONSTRUCT |\
-                                                         GEGL_PAD_INPUT));
+                                                         GEGL_PARAM_PAD_INPUT));
 #define gegl_chant_string(name, def, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_string (#name, #name, blurb,\
                                                         def,\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 #define gegl_chant_object(name, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_object (#name, #name, blurb,\
                                                         G_TYPE_OBJECT,\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 #define gegl_chant_pointer(name, blurb)  \
   g_object_class_install_property (object_class, PROP_##name,\
                                    g_param_spec_pointer (#name, #name, blurb,\
                                                         G_PARAM_READWRITE |\
                                                         G_PARAM_CONSTRUCT |\
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 #include GEGL_CHANT_SELF
 
 #undef gegl_chant_int

Modified: trunk/operations/color/remap.c
==============================================================================
--- trunk/operations/color/remap.c	(original)
+++ trunk/operations/color/remap.c	Mon Jan  7 23:44:13 2008
@@ -281,8 +281,8 @@
 
   operation_class->categories = "programming:hidden";
 
-g_object_class_install_property (object_class, PROP_low, g_param_spec_object ("low", "low", "low buffer", G_TYPE_OBJECT, (GParamFlags) ( G_PARAM_READWRITE | GEGL_PAD_INPUT)));
-g_object_class_install_property (object_class, PROP_high, g_param_spec_object ("high", "high", "high buffer", G_TYPE_OBJECT, (GParamFlags) ( G_PARAM_READWRITE | GEGL_PAD_INPUT)));
+g_object_class_install_property (object_class, PROP_low, g_param_spec_object ("low", "low", "low buffer", G_TYPE_OBJECT, (GParamFlags) ( G_PARAM_READWRITE | GEGL_PARAM_PAD_INPUT)));
+g_object_class_install_property (object_class, PROP_high, g_param_spec_object ("high", "high", "high buffer", G_TYPE_OBJECT, (GParamFlags) ( G_PARAM_READWRITE | GEGL_PARAM_PAD_INPUT)));
 
 
 }

Modified: trunk/operations/core/shift.c
==============================================================================
--- trunk/operations/core/shift.c	(original)
+++ trunk/operations/core/shift.c	Mon Jan  7 23:44:13 2008
@@ -129,7 +129,7 @@
                                                         "Ouput pad for generated image buffer.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READABLE |
-                                                        GEGL_PAD_OUTPUT));
+                                                        GEGL_PARAM_PAD_OUTPUT));
 
   g_object_class_install_property (object_class, PROP_INPUT,
                                    g_param_spec_object ("input",
@@ -137,7 +137,7 @@
                                                         "Input pad, for image buffer input.",
                                                         GEGL_TYPE_BUFFER,
                                                         G_PARAM_READWRITE |
-                                                        GEGL_PAD_INPUT));
+                                                        GEGL_PARAM_PAD_INPUT));
 
   g_object_class_install_property (object_class, PROP_X,
                                    g_param_spec_float ("x",



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