[gegl] ops/generated: annotate with more meta-data



commit cfeec4e92f7ec82dbf4aec92ad5c353f5c12b6fb
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun May 25 21:30:46 2014 +0200

    ops/generated: annotate with more meta-data

 operations/generated/add.c                 |   19 +++++++++--------
 operations/generated/clear.c               |    1 +
 operations/generated/color-burn.c          |    1 +
 operations/generated/color-dodge.c         |    1 +
 operations/generated/divide.c              |   19 +++++++++--------
 operations/generated/dst-atop.c            |    1 +
 operations/generated/dst-in.c              |    1 +
 operations/generated/dst-out.c             |    1 +
 operations/generated/dst-over.c            |    1 +
 operations/generated/dst.c                 |    1 +
 operations/generated/gamma.c               |   19 +++++++++--------
 operations/generated/hard-light.c          |    1 +
 operations/generated/math.rb               |   29 ++++++++++++++-------------
 operations/generated/multiply.c            |   19 +++++++++--------
 operations/generated/overlay.c             |    1 +
 operations/generated/plus.c                |    1 +
 operations/generated/soft-light.c          |    1 +
 operations/generated/src-atop.c            |    1 +
 operations/generated/src-in.c              |    3 +-
 operations/generated/src-out.c             |    1 +
 operations/generated/src.c                 |    1 +
 operations/generated/subtract.c            |   19 +++++++++--------
 operations/generated/svg-12-blend.rb       |    3 ++
 operations/generated/svg-12-porter-duff.rb |    4 ++-
 operations/generated/xor.c                 |    1 +
 25 files changed, 89 insertions(+), 61 deletions(-)
---
diff --git a/operations/generated/add.c b/operations/generated/add.c
index 088017b..81f8921 100644
--- a/operations/generated/add.c
+++ b/operations/generated/add.c
@@ -71,12 +71,12 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           for (j=0; j<3; j++)
             {
-              c=in[j];
-              c = c + value;
-              out[j]=c;
+              gfloat result;
+              gfloat input=in[j];
+              result = input + value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -88,14 +88,14 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           gfloat value;
           for (j=0; j<3; j++)
             {
-              c=in[j];
+              gfloat input =in[j];
+              gfloat result;
               value=aux[j];
-              c = c + value;
-              out[j]=c;
+              result = input + value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -121,9 +121,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
   "name"        , "gegl:add",
+  "title"       , "Add",
   "categories"  , "compositors:math",
   "description" ,
-       _("Math operation add (c = c + value)"),
+       _("Math operation add, performs the operation per pixel, using either the constant provided in 
'value' or the corresponding pixel from the buffer on aux as operands. (formula: result = input + value)"),
        NULL);
 }
 #endif
diff --git a/operations/generated/clear.c b/operations/generated/clear.c
index 2fd63fd..0535773 100644
--- a/operations/generated/clear.c
+++ b/operations/generated/clear.c
@@ -120,6 +120,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:clear",
     "compat-name", "gegl:clear",
+    "title"      , "Clear",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation clear (d = 0.0f)"),
diff --git a/operations/generated/color-burn.c b/operations/generated/color-burn.c
index 08a4483..bf16d69 100644
--- a/operations/generated/color-burn.c
+++ b/operations/generated/color-burn.c
@@ -168,6 +168,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
   "name"        , "svg:color-burn",
   "compat-name" , "gegl:color-burn",
+  "title"       , "Color-burn",
   "description" ,
         _("SVG blend operation color-burn (<code>if cA * aB + cB * aA <= aA * aB: d = cA * (1 - aB) + cB * 
(1 - aA) otherwise: d = (cA == 0 ? 1 : (aA * (cA * aB + cB * aA - aA * aB) / cA) + cA * (1 - aB) + cB * (1 - 
aA))</code>)"),
         NULL);
diff --git a/operations/generated/color-dodge.c b/operations/generated/color-dodge.c
index 188d3b1..fdad368 100644
--- a/operations/generated/color-dodge.c
+++ b/operations/generated/color-dodge.c
@@ -168,6 +168,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
   "name"        , "svg:color-dodge",
   "compat-name" , "gegl:color-dodge",
+  "title"       , "Color-dodge",
   "description" ,
         _("SVG blend operation color-dodge (<code>if cA * aB + cB * aA >= aA * aB: d = aA * aB + cA * (1 - 
aB) + cB * (1 - aA) otherwise: d = (cA == aA ? 1 : cB * aA / (aA == 0 ? 1 : 1 - cA / aA)) + cA * (1 - aB) + 
cB * (1 - aA)</code>)"),
         NULL);
diff --git a/operations/generated/divide.c b/operations/generated/divide.c
index c8f994e..2a503bf 100644
--- a/operations/generated/divide.c
+++ b/operations/generated/divide.c
@@ -71,12 +71,12 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           for (j=0; j<3; j++)
             {
-              c=in[j];
-              c = value==0.0f?0.0f:c/value;
-              out[j]=c;
+              gfloat result;
+              gfloat input=in[j];
+              result = value==0.0f?0.0f:input/value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -88,14 +88,14 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           gfloat value;
           for (j=0; j<3; j++)
             {
-              c=in[j];
+              gfloat input =in[j];
+              gfloat result;
               value=aux[j];
-              c = value==0.0f?0.0f:c/value;
-              out[j]=c;
+              result = value==0.0f?0.0f:input/value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -121,9 +121,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
   "name"        , "gegl:divide",
+  "title"       , "Divide",
   "categories"  , "compositors:math",
   "description" ,
-       _("Math operation divide (c = value==0.0f?0.0f:c/value)"),
+       _("Math operation divide, performs the operation per pixel, using either the constant provided in 
'value' or the corresponding pixel from the buffer on aux as operands. (formula: result = 
value==0.0f?0.0f:input/value)"),
        NULL);
 }
 #endif
diff --git a/operations/generated/dst-atop.c b/operations/generated/dst-atop.c
index afabb57..9db6938 100644
--- a/operations/generated/dst-atop.c
+++ b/operations/generated/dst-atop.c
@@ -120,6 +120,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:dst-atop",
     "compat-name", "gegl:dst-atop",
+    "title"      , "Dst-atop",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation dst-atop (d = cB * aA + cA * (1.0f - aB))"),
diff --git a/operations/generated/dst-in.c b/operations/generated/dst-in.c
index cd4c706..7fbe98c 100644
--- a/operations/generated/dst-in.c
+++ b/operations/generated/dst-in.c
@@ -120,6 +120,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:dst-in",
     "compat-name", "gegl:dst-in",
+    "title"      , "Dst-in",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation dst-in (d = cB * aA)"),
diff --git a/operations/generated/dst-out.c b/operations/generated/dst-out.c
index 8cf5778..9e81be8 100644
--- a/operations/generated/dst-out.c
+++ b/operations/generated/dst-out.c
@@ -142,6 +142,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:dst-out",
     "compat-name", "gegl:dst-out",
+    "title"      , "Dst-out",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation dst-out (d = cB * (1.0f - aA))"),
diff --git a/operations/generated/dst-over.c b/operations/generated/dst-over.c
index bc5b58a..8447883 100644
--- a/operations/generated/dst-over.c
+++ b/operations/generated/dst-over.c
@@ -142,6 +142,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:dst-over",
     "compat-name", "gegl:dst-over",
+    "title"      , "Dst-over",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation dst-over (d = cB + cA * (1.0f - aB))"),
diff --git a/operations/generated/dst.c b/operations/generated/dst.c
index 795adb5..6a47c16 100644
--- a/operations/generated/dst.c
+++ b/operations/generated/dst.c
@@ -142,6 +142,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:dst",
     "compat-name", "gegl:dst",
+    "title"      , "Dst",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation dst (d = cB)"),
diff --git a/operations/generated/gamma.c b/operations/generated/gamma.c
index 0f6943f..09cd48c 100644
--- a/operations/generated/gamma.c
+++ b/operations/generated/gamma.c
@@ -71,12 +71,12 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           for (j=0; j<3; j++)
             {
-              c=in[j];
-              c = powf (c, value);
-              out[j]=c;
+              gfloat result;
+              gfloat input=in[j];
+              result = powf (input, value);
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -88,14 +88,14 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           gfloat value;
           for (j=0; j<3; j++)
             {
-              c=in[j];
+              gfloat input =in[j];
+              gfloat result;
               value=aux[j];
-              c = powf (c, value);
-              out[j]=c;
+              result = powf (input, value);
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -121,9 +121,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
   "name"        , "gegl:gamma",
+  "title"       , "Gamma",
   "categories"  , "compositors:math",
   "description" ,
-       _("Math operation gamma (c = powf (c, value))"),
+       _("Math operation gamma, performs the operation per pixel, using either the constant provided in 
'value' or the corresponding pixel from the buffer on aux as operands. (formula: result = powf (input, 
value))"),
        NULL);
 }
 #endif
diff --git a/operations/generated/hard-light.c b/operations/generated/hard-light.c
index 4c3676a..f2b0914 100644
--- a/operations/generated/hard-light.c
+++ b/operations/generated/hard-light.c
@@ -168,6 +168,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
   "name"        , "svg:hard-light",
   "compat-name" , "gegl:hard-light",
+  "title"       , "Hard-light",
   "description" ,
         _("SVG blend operation hard-light (<code>if 2 * cA < aA: d = 2 * cA * cB + cA * (1 - aB) + cB * (1 - 
aA) otherwise: d = aA * aB - 2 * (aB - cB) * (aA - cA) + cA * (1 - aB) + cB * (1 - aA)</code>)"),
         NULL);
diff --git a/operations/generated/math.rb b/operations/generated/math.rb
index 250c430..aca0258 100755
--- a/operations/generated/math.rb
+++ b/operations/generated/math.rb
@@ -25,13 +25,13 @@ copyright = '
  */'
 
 a = [
-      ['add',       'c = c + value', 0.0],
-      ['subtract',  'c = c - value', 0.0],
-      ['multiply',  'c = c * value', 1.0],
-      ['divide',    'c = value==0.0f?0.0f:c/value', 1.0],
-      ['gamma',     'c = powf (c, value)', 1.0],
-#     ['threshold', 'c = c>=value?1.0f:0.0f', 0.5],
-#     ['invert',    'c = 1.0-c']
+      ['add',       'result = input + value', 0.0],
+      ['subtract',  'result = input - value', 0.0],
+      ['multiply',  'result = input * value', 1.0],
+      ['divide',    'result = value==0.0f?0.0f:input/value', 1.0],
+      ['gamma',     'result = powf (input, value)', 1.0],
+#     ['threshold', 'result = c>=value?1.0f:0.0f', 0.5],
+#     ['invert',    'result = 1.0-c']
     ]
 
 a.each do
@@ -101,12 +101,12 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           for (j=0; j<3; j++)
             {
-              c=in[j];
+              gfloat result;
+              gfloat input=in[j];
               #{formula};
-              out[j]=c;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -118,14 +118,14 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           gfloat value;
           for (j=0; j<3; j++)
             {
-              c=in[j];
+              gfloat input =in[j];
+              gfloat result;
               value=aux[j];
               #{formula};
-              out[j]=c;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -151,9 +151,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
   \"name\"        , \"gegl:#{name}\",
+  \"title\"       , \"#{name.capitalize}\",
   \"categories\"  , \"compositors:math\",
   \"description\" ,
-       _(\"Math operation #{name} (#{formula})\"),
+       _(\"Math operation #{name}, performs the operation per pixel, using either the constant provided in 
'value' or the corresponding pixel from the buffer on aux as operands. (formula: #{formula})\"),
        NULL);
 }
 #endif
diff --git a/operations/generated/multiply.c b/operations/generated/multiply.c
index 8bb9790..5effe1a 100644
--- a/operations/generated/multiply.c
+++ b/operations/generated/multiply.c
@@ -71,12 +71,12 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           for (j=0; j<3; j++)
             {
-              c=in[j];
-              c = c * value;
-              out[j]=c;
+              gfloat result;
+              gfloat input=in[j];
+              result = input * value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -88,14 +88,14 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           gfloat value;
           for (j=0; j<3; j++)
             {
-              c=in[j];
+              gfloat input =in[j];
+              gfloat result;
               value=aux[j];
-              c = c * value;
-              out[j]=c;
+              result = input * value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -121,9 +121,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
   "name"        , "gegl:multiply",
+  "title"       , "Multiply",
   "categories"  , "compositors:math",
   "description" ,
-       _("Math operation multiply (c = c * value)"),
+       _("Math operation multiply, performs the operation per pixel, using either the constant provided in 
'value' or the corresponding pixel from the buffer on aux as operands. (formula: result = input * value)"),
        NULL);
 }
 #endif
diff --git a/operations/generated/overlay.c b/operations/generated/overlay.c
index b95e2a2..7d16152 100644
--- a/operations/generated/overlay.c
+++ b/operations/generated/overlay.c
@@ -168,6 +168,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
   "name"        , "svg:overlay",
   "compat-name" , "gegl:overlay",
+  "title"       , "Overlay",
   "description" ,
         _("SVG blend operation overlay (<code>if 2 * cB > aB: d = 2 * cA * cB + cA * (1 - aB) + cB * (1 - 
aA) otherwise: d = aA * aB - 2 * (aB - cB) * (aA - cA) + cA * (1 - aB) + cB * (1 - aA)</code>)"),
         NULL);
diff --git a/operations/generated/plus.c b/operations/generated/plus.c
index 7f50359..9d2ecc1 100644
--- a/operations/generated/plus.c
+++ b/operations/generated/plus.c
@@ -165,6 +165,7 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
     "name"        , "svg:plus",
+    "title"       , "Plus",
     "compat-name" , "gegl:plus",
     "description" ,
     _("SVG blend operation plus (<code>d = cA + cB</code>)"),
diff --git a/operations/generated/soft-light.c b/operations/generated/soft-light.c
index 105fa5b..6b6c52c 100644
--- a/operations/generated/soft-light.c
+++ b/operations/generated/soft-light.c
@@ -170,6 +170,7 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
   "name"        , "gegl:soft-light",
+  "title"       , "Soft-light",
   "description" ,
         _("SVG blend operation soft-light (<code>if 2 * cA < aA: d = cB * (aA - (aB == 0 ? 1 : 1 - cB / aB) 
* (2 * cA - aA)) + cA * (1 - aB) + cB * (1 - aA); if 8 * cB <= aB: d = cB * (aA - (aB == 0 ? 1 : 1 - cB / aB) 
* (2 * cA - aA) * (aB == 0 ? 3 : 3 - 8 * cB / aB)) + cA * (1 - aB) + cB * (1 - aA); otherwise: d = (aA * cB + 
(aB == 0 ? 0 : sqrt (cB / aB) * aB - cB) * (2 * cA - aA)) + cA * (1 - aB) + cB * (1 - aA)</code>)"),
         NULL);
diff --git a/operations/generated/src-atop.c b/operations/generated/src-atop.c
index 6f6d78a..31fa481 100644
--- a/operations/generated/src-atop.c
+++ b/operations/generated/src-atop.c
@@ -142,6 +142,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:src-atop",
     "compat-name", "gegl:src-atop",
+    "title"      , "Src-atop",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation src-atop (d = cA * aB + cB * (1.0f - aA))"),
diff --git a/operations/generated/src-in.c b/operations/generated/src-in.c
index 57b26af..ec9b84b 100644
--- a/operations/generated/src-in.c
+++ b/operations/generated/src-in.c
@@ -128,9 +128,10 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
   "name"      , "svg:src-in",
   "compat-name", "gegl:src-in",
+  "title"     , "Src-in",
   "categories", "compositors:porter-duff",
   "description" ,
-        _("Porter Duff operation src-in (d = cA * aB)"),
+        _("Porter Duff compositing operation src-in (formula:   cA * aB)"),
         NULL);
  
 
diff --git a/operations/generated/src-out.c b/operations/generated/src-out.c
index e02e924..eb23cfb 100644
--- a/operations/generated/src-out.c
+++ b/operations/generated/src-out.c
@@ -120,6 +120,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:src-out",
     "compat-name", "gegl:src-out",
+    "title"      , "Src-out",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation src-out (d = cA * (1.0f - aB))"),
diff --git a/operations/generated/src.c b/operations/generated/src.c
index 65c87e0..8bf708f 100644
--- a/operations/generated/src.c
+++ b/operations/generated/src.c
@@ -120,6 +120,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:src",
     "compat-name", "gegl:src",
+    "title"      , "Src",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation src (d = cA)"),
diff --git a/operations/generated/subtract.c b/operations/generated/subtract.c
index b71ab65..5b870d8 100644
--- a/operations/generated/subtract.c
+++ b/operations/generated/subtract.c
@@ -71,12 +71,12 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           for (j=0; j<3; j++)
             {
-              c=in[j];
-              c = c - value;
-              out[j]=c;
+              gfloat result;
+              gfloat input=in[j];
+              result = input - value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -88,14 +88,14 @@ process (GeglOperation       *op,
       for (i=0; i<n_pixels; i++)
         {
           gint   j;
-          gfloat c;
           gfloat value;
           for (j=0; j<3; j++)
             {
-              c=in[j];
+              gfloat input =in[j];
+              gfloat result;
               value=aux[j];
-              c = c - value;
-              out[j]=c;
+              result = input - value;
+              out[j]=result;
             }
           out[3]=in[3];
           in += 4;
@@ -121,9 +121,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
   "name"        , "gegl:subtract",
+  "title"       , "Subtract",
   "categories"  , "compositors:math",
   "description" ,
-       _("Math operation subtract (c = c - value)"),
+       _("Math operation subtract, performs the operation per pixel, using either the constant provided in 
'value' or the corresponding pixel from the buffer on aux as operands. (formula: result = input - value)"),
        NULL);
 }
 #endif
diff --git a/operations/generated/svg-12-blend.rb b/operations/generated/svg-12-blend.rb
index 94a7542..0ae5ce9 100755
--- a/operations/generated/svg-12-blend.rb
+++ b/operations/generated/svg-12-blend.rb
@@ -307,6 +307,7 @@ b.each do
   gegl_operation_class_set_keys (operation_class,
   \"name\"        , \"svg:#{name}\",
   \"compat-name\" , \"gegl:#{name}\",
+  \"title\"       , \"#{name.capitalize}\",
   \"description\" ,
         _(\"SVG blend operation #{name} (<code>if #{cond1}: d = #{formula1} otherwise: d = 
#{formula2}</code>)\"),
         NULL);
@@ -376,6 +377,7 @@ c.each do
   file.write "
   gegl_operation_class_set_keys (operation_class,
   \"name\"        , \"gegl:#{name}\",
+  \"title\"       , \"#{name.capitalize}\",
   \"description\" ,
         _(\"SVG blend operation #{name} (<code>if #{cond1}: d = #{formula1}; if #{cond2}: d = #{formula2}; 
otherwise: d = #{formula3}</code>)\"),
         NULL);
@@ -437,6 +439,7 @@ d.each do
 
   gegl_operation_class_set_keys (operation_class,
     \"name\"        , \"svg:#{name}\",
+    \"title\"       , \"#{name.capitalize}\",
     \"compat-name\" , \"gegl:#{name}\",
     \"description\" ,
     _(\"SVG blend operation #{name} (<code>d = #{formula1}</code>)\"),
diff --git a/operations/generated/svg-12-porter-duff.rb b/operations/generated/svg-12-porter-duff.rb
index 60697ae..1ab6951 100755
--- a/operations/generated/svg-12-porter-duff.rb
+++ b/operations/generated/svg-12-porter-duff.rb
@@ -231,6 +231,7 @@ a.each do
   gegl_operation_class_set_keys (operation_class,
     \"name\"       , \"svg:#{name}\",
     \"compat-name\", \"gegl:#{name}\",
+    \"title\"      , \"#{name.capitalize}\",
     \"categories\" , \"compositors:porter-duff\",
     \"description\",
         _(\"Porter Duff operation #{name} (d = #{c_formula})\"),
@@ -312,9 +313,10 @@ static GeglRectangle get_bounding_box (GeglOperation *self)
   gegl_operation_class_set_keys (operation_class,
   \"name\"      , \"svg:#{name}\",
   \"compat-name\", \"gegl:#{name}\",
+  \"title\"     , \"#{name.capitalize}\",
   \"categories\", \"compositors:porter-duff\",
   \"description\" ,
-        _(\"Porter Duff operation #{name} (d = #{c_formula})\"),
+        _(\"Porter Duff compositing operation #{name} (formula:   #{c_formula})\"),
         NULL);
 "
   file.write file_tail2
diff --git a/operations/generated/xor.c b/operations/generated/xor.c
index 0c3dd80..a9e88cd 100644
--- a/operations/generated/xor.c
+++ b/operations/generated/xor.c
@@ -142,6 +142,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "svg:xor",
     "compat-name", "gegl:xor",
+    "title"      , "Xor",
     "categories" , "compositors:porter-duff",
     "description",
         _("Porter Duff operation xor (d = cA * (1.0f - aB)+ cB * (1.0f - aA))"),


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