[gegl] operations: add more titles



commit 34d08078df11aa757e119c31a3ea334d35a5fcbf
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon May 26 01:19:15 2014 +0200

    operations: add more titles

 docs/operations.html                     |    2 +-
 operations/common/bump-map.c             |    2 +-
 operations/common/stretch-contrast-hsv.c |    3 ++-
 operations/external/ff-load.c            |    5 +++--
 operations/external/jp2-load.c           |    7 ++++---
 operations/external/jpg-load.c           |    7 ++++---
 operations/external/jpg-save.c           |    9 +++++----
 operations/external/lcms-from-profile.c  |    3 ++-
 operations/external/matting-levin.c      |    7 ++++---
 operations/external/npy-save.c           |    7 ++++---
 operations/external/openraw.c            |    7 ++++---
 operations/external/path.c               |    5 +++--
 operations/external/pixbuf.c             |    7 ++++---
 operations/external/png-load.c           |    7 ++++---
 operations/external/png-save.c           |    3 ++-
 operations/external/ppm-load.c           |    7 ++++---
 operations/external/ppm-save.c           |    7 ++++---
 operations/external/rgbe-load.c          |    5 +++--
 operations/external/rgbe-save.c          |    5 +++--
 operations/external/save-pixbuf.c        |    5 +++--
 operations/external/sdl-display.c        |    7 ++++---
 operations/external/svg-load.c           |    3 ++-
 operations/external/text.c               |    7 ++++---
 operations/external/v4l.c                |    7 ++++---
 operations/external/vector-fill.c        |    3 ++-
 operations/external/vector-stroke.c      |    9 +++++----
 operations/external/webp-load.c          |    3 ++-
 operations/external/webp-save.c          |    3 ++-
 28 files changed, 89 insertions(+), 63 deletions(-)
---
diff --git a/docs/operations.html b/docs/operations.html
index 6803dec..cb90deb 100644
--- a/docs/operations.html
+++ b/docs/operations.html
@@ -533,7 +533,7 @@ function render_list_big (items)
 
 function render_list_small (items)
 {
-  return '<div class="small">' + render_list2 (items, 42) + '</div>';
+  return '<div class="small">' + render_list2 (items, 142) + '</div>';
 }
 
 function render_categories ()
diff --git a/operations/common/bump-map.c b/operations/common/bump-map.c
index a31bd13..dbf4e55 100644
--- a/operations/common/bump-map.c
+++ b/operations/common/bump-map.c
@@ -471,7 +471,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name",        "gegl:bump-map",
     "categories",  "map",
-    "title",       _("Bump map"),
+    "title",       _("Bump Map"),
     "license",     "GPL3+",
     "description", _("This plug-in uses the algorithm described by John "
                      "Schlag, \"Fast Embossing Effects on Raster Image "
diff --git a/operations/common/stretch-contrast-hsv.c b/operations/common/stretch-contrast-hsv.c
index 5a05aad..2dcf7a0 100644
--- a/operations/common/stretch-contrast-hsv.c
+++ b/operations/common/stretch-contrast-hsv.c
@@ -217,7 +217,8 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region       = get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"       , "gegl:stretch-contrast-hsv",
+    "name",        "gegl:stretch-contrast-hsv",
+    "title",       _("Stretch Contrast HSV"),
     "categories" , "color:enhance",
     "description",
         _("Scales the components of the buffer to be in the 0.0-1.0 range. "
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index 9a46cf1..c86ada5 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -470,9 +470,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->prepare = prepare;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:ff-load",
+    "name",         "gegl:ff-load",
+    "title",        _("FFmpeg Frame Loader"),
     "categories"  , "input:video",
-    "description" , _("FFmpeg video frame importer"),
+    "description" , _("FFmpeg video frame importer."),
     NULL);
 }
 
diff --git a/operations/external/jp2-load.c b/operations/external/jp2-load.c
index d28d467..049b38a 100644
--- a/operations/external/jp2-load.c
+++ b/operations/external/jp2-load.c
@@ -393,9 +393,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region = get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:jp2-load",
-    "categories"  , "hidden",
-    "description" , _("JPEG 2000 image loader"),
+    "name",        "gegl:jp2-load",
+    "title",       _("JPEG 2000 File Loader"),
+    "categories",  "hidden",
+    "description", _("JPEG 2000 image loader using jasper."),
     NULL);
 
   gegl_extension_handler_register (".jp2", "gegl:jp2-load");
diff --git a/operations/external/jpg-load.c b/operations/external/jpg-load.c
index 3ac1cf8..e05d059 100644
--- a/operations/external/jpg-load.c
+++ b/operations/external/jpg-load.c
@@ -203,9 +203,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region = gegl_jpg_load_get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:jpg-load",
-    "categories"  , "hidden",
-    "description" , _("JPG image loader"),
+    "name",        "gegl:jpg-load",
+    "title",       _("JPEG File Loader"),
+    "categories",  "hidden",
+    "description", _("JPEG image loader using libjpeg"),
     NULL);
 
 /*  static gboolean done=FALSE;
diff --git a/operations/external/jpg-save.c b/operations/external/jpg-save.c
index df7bac9..4d2a3bf 100644
--- a/operations/external/jpg-save.c
+++ b/operations/external/jpg-save.c
@@ -191,10 +191,11 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:jpg-save",
-    "categories"  , "output",
-    "description" ,
-    _("JPEG image saver (passes the buffer through, saves as a side-effect)"),
+    "name",         "gegl:jpg-save",
+    "title",        _("JPEG File Saver"),
+    "categories", "output",
+    "description",
+    _("JPEG image saver, using libjpeg"),
     NULL);
 
   gegl_extension_handler_register_saver (".jpg", "gegl:jpg-save");
diff --git a/operations/external/lcms-from-profile.c b/operations/external/lcms-from-profile.c
index f97b4c1..90b16b6 100644
--- a/operations/external/lcms-from-profile.c
+++ b/operations/external/lcms-from-profile.c
@@ -239,10 +239,11 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
     "name",        "gegl:lcms-from-profile",
+    "title",       _("LCMS From Profile"),
     "categories",  "color",
     "description",
        _("Converts the input from an ICC color profile to "
-         "a well defined babl format."),
+         "a well defined babl format. The buffer's data will then be correctly managed by GEGL for further 
processing."),
     NULL);
 }
 #endif
diff --git a/operations/external/matting-levin.c b/operations/external/matting-levin.c
index b6e979c..63e85d1 100644
--- a/operations/external/matting-levin.c
+++ b/operations/external/matting-levin.c
@@ -1449,9 +1449,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region       = matting_get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-  "name"        , "gegl:matting-levin",
-  "categories"  , "misc",
-  "description" ,
+  "name",         "gegl:matting-levin",
+  "title",        _("Matting Levin"),
+  "categories",   "matting",
+  "description",
         _("Given a sparse user supplied tri-map and an input image, create a "
           "foreground alpha mat. Set white as selected, black as unselected, "
           "for the tri-map."),
diff --git a/operations/external/npy-save.c b/operations/external/npy-save.c
index 458dbc2..adb2815 100644
--- a/operations/external/npy-save.c
+++ b/operations/external/npy-save.c
@@ -138,9 +138,10 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:npy-save",
-    "categories"  , "output",
-    "description" ,
+    "name",       "gegl:npy-save",
+    "title",      _("NPY File Saver"),
+    "categories", "output",
+    "description",
         _("NPY image saver (Numerical python file saver.)"),
         NULL);
 
diff --git a/operations/external/openraw.c b/operations/external/openraw.c
index 18b8c54..a599c60 100644
--- a/operations/external/openraw.c
+++ b/operations/external/openraw.c
@@ -239,9 +239,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->prepare     = prepare;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:openraw-load",
-    "categories"  , "hidden",
-    "description" , "Camera RAW image loader",
+    "name",        "gegl:openraw-load",
+    "title",       _("OpenRAW File Loader"),
+    "categories",  "hidden",
+    "description", "Camera RAW image loader using Open RAW",
     NULL);
 
   if (done)
diff --git a/operations/external/path.c b/operations/external/path.c
index d76c836..628bc94 100644
--- a/operations/external/path.c
+++ b/operations/external/path.c
@@ -527,8 +527,9 @@ gegl_op_class_init (GeglOpClass *klass)
   /*operation_class->no_cache = TRUE;*/
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:path",
-    "categories"  , "render",
+    "name",         "gegl:path",
+    "title",        _("Render Path"),
+    "categories",   "render",
     "reference-composition", composition,
     "description" , _("Renders a brush stroke"),
     NULL);
diff --git a/operations/external/pixbuf.c b/operations/external/pixbuf.c
index c738c24..be7308a 100644
--- a/operations/external/pixbuf.c
+++ b/operations/external/pixbuf.c
@@ -97,11 +97,12 @@ gegl_op_class_init (GeglOpClass *klass)
   /*operation_class->no_cache = TRUE;*/
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:pixbuf",
+    "name",         "gegl:pixbuf",
+    "title",        _("GdkPixbuf Source"),
     "categories"  , "programming:input",
     "description" ,
-          _("Uses the GdkPixbuf located at the memory location in <em>pixbuf</em>."),
-          NULL);
+       _("Uses the GdkPixbuf located at the memory location in <em>pixbuf</em>."),
+       NULL);
 }
 
 #endif
diff --git a/operations/external/png-load.c b/operations/external/png-load.c
index a35c08b..93a1dfc 100644
--- a/operations/external/png-load.c
+++ b/operations/external/png-load.c
@@ -442,9 +442,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region = get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:png-load",
-    "categories"  , "hidden",
-    "description" , _("PNG image loader."),
+    "name",         "gegl:png-load",
+    "title",        _("PNG File Loader"),
+    "categories",   "hidden",
+    "description",  _("PNG image loader."),
     NULL);
 
 /*  static gboolean done=FALSE;
diff --git a/operations/external/png-save.c b/operations/external/png-save.c
index 313e2f8..5340c00 100644
--- a/operations/external/png-save.c
+++ b/operations/external/png-save.c
@@ -224,7 +224,8 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-  "name"       , "gegl:png-save",
+  "name",        "gegl:png-save",
+  "title",       _("PNG File Saver"),
   "categories" , "output",
   "description",
         _("PNG image saver (passes the buffer through, saves as a side-effect.)"),
diff --git a/operations/external/ppm-load.c b/operations/external/ppm-load.c
index 0175d8c..6d4a9a5 100644
--- a/operations/external/ppm-load.c
+++ b/operations/external/ppm-load.c
@@ -377,9 +377,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region = get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:ppm-load",
-    "categories"  , "hidden",
-    "description" , _("PPM image loader."),
+    "name",         "gegl:ppm-load",
+    "title",        _("PPM File Loader"),
+    "categories",   "hidden",
+    "description",  _("PPM image loader."),
     NULL);
 
   gegl_extension_handler_register (".ppm", "gegl:ppm-load");
diff --git a/operations/external/ppm-save.c b/operations/external/ppm-save.c
index 2edcef8..15c7671 100644
--- a/operations/external/ppm-save.c
+++ b/operations/external/ppm-save.c
@@ -185,9 +185,10 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:ppm-save",
-    "categories"  , "output",
-    "description" ,
+    "name",        "gegl:ppm-save",
+    "title",       _("PPM File Saver"),
+    "categories",  "output",
+    "description",
         _("PPM image saver (Portable pixmap saver.)"),
         NULL);
 
diff --git a/operations/external/rgbe-load.c b/operations/external/rgbe-load.c
index 4b7a286..2097354 100644
--- a/operations/external/rgbe-load.c
+++ b/operations/external/rgbe-load.c
@@ -131,8 +131,9 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region = gegl_rgbe_load_get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:rgbe-load",
-    "categories"  , "hidden",
+    "name",        "gegl:rgbe-load",
+    "title",       _("RGBE File Loader"),
+    "categories",  "hidden",
     "description" , _("RGBE image loader (Radiance HDR format)."),
     NULL);
 
diff --git a/operations/external/rgbe-save.c b/operations/external/rgbe-save.c
index c765496..db7857a 100644
--- a/operations/external/rgbe-save.c
+++ b/operations/external/rgbe-save.c
@@ -80,8 +80,9 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:rgbe-save",
-    "categories"  , "output",
+    "name",         "gegl:rgbe-save",
+    "title",        _("RGBE File Saver"),
+    "categories" ,  "output",
     "description" ,
         _("RGBE image saver (Radiance HDR format)"),
     NULL);
diff --git a/operations/external/save-pixbuf.c b/operations/external/save-pixbuf.c
index 243882b..6bdb97f 100644
--- a/operations/external/save-pixbuf.c
+++ b/operations/external/save-pixbuf.c
@@ -101,9 +101,10 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:save-pixbuf",
+    "name",         "gegl:save-pixbuf",
+    "title",        _("Store in GdkPixbuf"),
     "categories"  , "programming:output",
-    "description" , _("Save output into a GdkPixbuf."),
+    "description" , _("Store image in a GdkPixbuf."),
     NULL);
 
 }
diff --git a/operations/external/sdl-display.c b/operations/external/sdl-display.c
index fb57d43..ead0c8c 100644
--- a/operations/external/sdl-display.c
+++ b/operations/external/sdl-display.c
@@ -167,9 +167,10 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:sdl-display",
-    "categories"  , "display",
-    "description" ,
+    "name",         "gegl:sdl-display",
+    "title",        _("SDL Display"),
+    "categories",   "display",
+    "description",
         _("Displays the input buffer in an SDL window (restricted to one"
           " display op/process, due to SDL implementation issues)."),
         NULL);
diff --git a/operations/external/svg-load.c b/operations/external/svg-load.c
index 4a0b174..281d4b4 100644
--- a/operations/external/svg-load.c
+++ b/operations/external/svg-load.c
@@ -176,7 +176,8 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_bounding_box = get_bounding_box;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:svg-load",
+    "name",         "gegl:svg-load",
+    "title",        _("SVG File Loader"),
     "categories"  , "input",   /* not hidden because it has extra API */
     "description" , _("Load an SVG file using librsvg"),
     NULL);
diff --git a/operations/external/text.c b/operations/external/text.c
index 98f7f41..b448c72 100644
--- a/operations/external/text.c
+++ b/operations/external/text.c
@@ -319,9 +319,10 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
     "reference-composition", composition,
-    "name"        , "gegl:text",
-    "categories"  , "render",
-    "description" , _("Display a string of text using pango and cairo."),
+    "title",        _("Render Text"),
+    "name",         "gegl:text",
+    "categories",   "render",
+    "description",  _("Display a string of text using pango and cairo."),
     NULL);
 
 }
diff --git a/operations/external/v4l.c b/operations/external/v4l.c
index b7b9fc0..13a92a1 100644
--- a/operations/external/v4l.c
+++ b/operations/external/v4l.c
@@ -317,9 +317,10 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->prepare          = prepare;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:v4l",
-    "categories"  , "input:video",
-    "description" , _("Video4Linux input, webcams framegrabbers and similar devices."),
+    "name",         "gegl:v4l",
+    "title",        _("Video4Linux Frame Source"),
+    "categories",   "input:video",
+    "description",  _("Video4Linux input, webcams framegrabbers and similar devices."),
     NULL);
 }
 
diff --git a/operations/external/vector-fill.c b/operations/external/vector-fill.c
index d93bd99..42e7da5 100644
--- a/operations/external/vector-fill.c
+++ b/operations/external/vector-fill.c
@@ -271,7 +271,8 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->detect = detect;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"       , "gegl:fill-path",
+    "name",        "gegl:fill-path",
+    "title",       _("Fill Path"),
     "categories" , "render",
     "description", _("Renders a filled region"),
     "reference-composition", composition,
diff --git a/operations/external/vector-stroke.c b/operations/external/vector-stroke.c
index 0bbf322..85a8070 100644
--- a/operations/external/vector-stroke.c
+++ b/operations/external/vector-stroke.c
@@ -267,7 +267,7 @@ static GeglNode *detect (GeglOperation *operation,
     "<node operation='gegl:crop' width='200' height='200'/>"
     "<node operation='gegl:over'>"
     "<node operation='gegl:translate' x='40' y='40'/>"
-    "<node operation='gegl:stroke-path'>"
+    "<node operation='gegl:vector-stroke'>"
     "  <params>"
     "    <param name='color'>rgb(0.0, 0.6, 1.0)</param>"
     "    <param name='d'>"
@@ -295,10 +295,11 @@ gegl_op_class_init (GeglOpClass *klass)
   /*operation_class->no_cache = TRUE;*/
 
   gegl_operation_class_set_keys (operation_class,
+    "name",                  "gegl:vector-stroke",
+    "title",                 _("Vector Stroke"),
     "reference-composition", composition,
-    "name"        , "gegl:vector-stroke",
-    "categories"  , "render",
-    "description" , _("Renders a vector stroke"),
+    "categories",            "render",
+    "description",           _("Renders a vector stroke"),
     NULL);
 }
 
diff --git a/operations/external/webp-load.c b/operations/external/webp-load.c
index cc51384..337b0a9 100644
--- a/operations/external/webp-load.c
+++ b/operations/external/webp-load.c
@@ -138,7 +138,8 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_cached_region = get_cached_region;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:webp-load",
+    "name",         "gegl:webp-load",
+    "title",        _("WebP File Loader"),
     "categories"  , "hidden",
     "description" , _("WebP image loader."),
     NULL);
diff --git a/operations/external/webp-save.c b/operations/external/webp-save.c
index ea269e1..ebc9dde 100644
--- a/operations/external/webp-save.c
+++ b/operations/external/webp-save.c
@@ -110,7 +110,8 @@ gegl_op_class_init (GeglOpClass *klass)
   sink_class->needs_full = TRUE;
 
   gegl_operation_class_set_keys (operation_class,
-  "name"       , "gegl:webp-save",
+  "name",        "gegl:webp-save",
+  "title",       _("WebP File Saver"),
   "categories" , "output",
   "description", _("WebP image saver."),
    NULL);


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