ops: add title meta data to many ops

parent 27221159
......@@ -269,13 +269,18 @@ function filter_db(query)
if (op.op.indexOf(query) > 0) score += 500;
if (op.meta) {
var got_title = false;
for (var j = 0; j < op.meta.length; j++)
{
if (op.meta[0] == 'title' )
got_title = true;
if (op.meta[j][1].indexOf(query) == 0) score += 100;
if (op.meta[j][1].toUpperCase().indexOf(uquery) == 0) score += 100;
if (op.meta[j][1].indexOf(query) >= 0) score += 10;
if (op.meta[j][1].toUpperCase().indexOf(uquery) >= 0) score += 10;
}
if (query == 'notitle' && !got_title)
score += 2;
}
if (op.description &&
......
......@@ -276,6 +276,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:antialias",
"title", _("Scale3X Antialiasing"),
"categories", "enhance",
"license", "GPL3+",
"description", _("Antialias using the Scale3X edge-extrapolation algorithm"),
NULL);
}
......
......@@ -390,9 +390,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:box-blur",
"title", "Box Blur",
"title", _("Box Blur"),
"categories", "blur",
"description", _("Blurs by averaging a square neighbourhood."),
"description", _("Blur resulting from averaging the colors of a square neighbourhood."),
NULL);
}
......
......@@ -184,8 +184,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:buffer-source",
"title", _("Buffer Source"),
"categories", "programming:input",
"description", _("A source that uses an in-memory GeglBuffer, for use internally by GEGL."),
"description", _("Use an existing in-memory GeglBuffer as image source."),
NULL);
operation_class->no_cache = TRUE;
......
......@@ -471,6 +471,8 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:bump-map",
"categories", "map",
"title", _("Bump map"),
"license", "GPL3+",
"description", _("This plug-in uses the algorithm described by John "
"Schlag, \"Fast Embossing Effects on Raster Image "
"Data\" in Graphics GEMS IV (ISBN 0-12-336155-9). "
......
......@@ -379,11 +379,11 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:c2g",
"categories", "enhance",
"title", "Color to Grayscale",
"reference-composition", composition,
"description",
_("Color to grayscale conversion, uses envelopes formed from spatial "
"color differences to perform color-feature preserving grayscale "
"spatial contrast enhancement"),
_("Color to grayscale conversion, uses envelopes formed with the STRESS approach "
"to perform local color-difference preserving grayscale generation."),
NULL);
}
......
......@@ -316,7 +316,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"categories", "artistic",
"name", "gegl:cartoon",
"description", _("Simulate a cartoon by enhancing edges"),
"title", _("Cartoon"),
"license", "GPL3+",
"description", _("Simulates a cartoon, its result is similar to a black felt pen drawing subsequently shaded with color. This is achieved by enhancing edges and darkening areas that are already distinctly darker than their neighborhood"),
NULL);
}
......
......@@ -16,11 +16,6 @@
* This operation is a port of the GIMP channel-mixer plugin:
*
* Copyright (C) 2002 Martin Guldahl <mguldahl@xmission.com>
* Based on GTK code from:
* homomorphic (Copyright (C) 2001 Valter Marcus Hilden)
* rand-noted (Copyright (C) 1998 Miles O'Neal)
* nlfilt (Copyright (C) 1997 Eric L. Hernes)
* pagecurl (Copyright (C) 1996 Federico Mena Quintero)
*
* The porting to GEGL was done by Barak Itkin
*
......@@ -289,9 +284,11 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->opencl_support = TRUE;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:channel-mixer",
"categories" , "color",
"description", _("Alter colors by mixing RGB Channels"),
"name", "gegl:channel-mixer",
"categories", "color",
"title", _("Channel Mixer"),
"license", "GPL3+",
"description", _("Remix colors; by defining relative contributions from source components."),
NULL);
}
......
......@@ -335,6 +335,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:checkerboard",
"categories", "render",
"title", _("Checkerboard"),
"position-dependent", "true",
"description", _("Create a checkerboard pattern"),
NULL);
......
......@@ -506,10 +506,11 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:color-reduction",
"title", _("Color Reduction"),
"categories", "misc",
"description", _("Reduce the number of colors in the image, by reducing "
"the bits per channel (colors and alpha), with optional "
"dithering"),
"the bits per channel (colors and alpha), different dithering methods"
"can be specified to counteract quantization induced banding."),
"reference-composition", composition,
NULL);
}
......
......@@ -277,8 +277,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:color-temperature",
"title", _("Color Temperature"),
"categories", "color",
"description", _("Change the color temperature of the image"),
"description", _("Change the color temperature of the image, from an assumed original color temperature to an intended one."),
"reference-composition", composition,
NULL);
}
......
......@@ -26,7 +26,7 @@
#ifdef GEGL_PROPERTIES
property_color (color, _("Color"), "white")
description(_("The color to render (defaults to, and works best with, 'white')"))
description(_("The color to make transparent."))
#else
......@@ -250,8 +250,10 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:color-to-alpha",
"title", _("Color to Alpha"),
"categories", "color",
"description", _("Convert a specified color to transparency"),
"license", "GPL3+",
"description", _("Convert a specified color to transparency, works best with white."),
"reference-composition", composition,
NULL);
}
......
......@@ -86,11 +86,12 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->prepare = gegl_color_op_prepare;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:color",
"name", "gegl:color",
"title", _("Color"),
"categories" , "render",
"description",
_("Generates a buffer entirely filled with the specified color, "
"crop it to get smaller dimensions."),
"use gegl:crop to get smaller dimensions."),
NULL);
}
......
......@@ -253,9 +253,10 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:contrast-curve",
"title", _("Contrast Curve"),
"categories" , "color",
"description",
_("Adjusts the contrast of the image according to a curve."),
_("Adjusts the contrast of a grayscale image with a curve specifying contrast for intensity."),
NULL);
}
......
......@@ -609,7 +609,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"categories", "artistic",
"title", _("Cubism"),
"name", "gegl:cubism",
"license", "GPL3+",
"description", _("Convert the image into randomly rotated square blobs, somehow resembling a cubist painting style"),
NULL);
}
......
......@@ -334,6 +334,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:deinterlace",
"categories", "enhance",
"license", "GPL3+",
"position-dependent", "true",
"description", _("Fix images where every other row or column is missing"),
NULL);
......
......@@ -403,7 +403,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:edge-laplace",
"title", _("Laplacian Edge Detection"),
"categories", "edge-detect",
"license", "GPL3+",
"description", _("High-resolution edge detection"),
NULL);
}
......
......@@ -264,6 +264,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:emboss",
"categories", "distort",
"license", "GPL3+",
"description", _("Simulates an image created by embossing"),
NULL);
}
......
......@@ -1267,9 +1267,10 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:exp-combine",
"title", _("Combine Exposures"),
"categories" , "compositors",
"description",
_("Combine multiple scene exposures into one high range buffer"),
_("Combine multiple scene exposures into one high dynamic range image."),
NULL);
}
......
......@@ -183,9 +183,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:exposure",
"title", _("Exposure"),
"categories", "color",
"description", _("Changes Exposure and Contrast, mainly for use with "
"high dynamic range images"),
"description", _("Changes Exposure of an image, allows stepping HDR and photographs up/down in stops. "),
NULL);
}
......
......@@ -1323,12 +1323,13 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:fattal02",
"title", "Tonemapping Algorithm devised by Fattal & co",
"categories" , "tonemapping",
"description",
_("Adapt an image, which may have a high dynamic range, for "
"presentation using a low dynamic range. This operator attenuates "
"the magnitudes of local image gradients, producing luminance "
"within the range 0.0-1.0"),
"within the range 0.0-1.0. This tonemapping approach was originally presented by Raanan Fattal, in the 2002 SIGGRAPH paper: Gradient Domain High Dynamic Range Compression."),
NULL);
}
......
......@@ -424,10 +424,12 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->prepare = prepare;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:fractal-explorer",
"categories" , "render",
"name", "gegl:fractal-explorer",
"title", _("Fractal Explorer"),
"categories", "render:fractal",
"position-dependent", "true",
"description", _("Fractal Explorer"),
"license", "GPL3+",
"description", _("Rendering of multiple different fractal systems, with configurable coloring options."),
NULL);
}
......
......@@ -253,8 +253,10 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:fractal-trace",
"title", _("Fractal Trace"),
"position-dependent", "true",
"categories", "map",
"license", "GPL3+",
"description", _("Transform the image with the fractals"),
NULL);
}
......
......@@ -497,6 +497,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:lens-distortion",
"categories", "blur",
"position-dependent", "true",
"license", "GPL3+",
"reference-composition", composition,
"description", _("Corrects barrel or pincushion lens distortion."),
NULL);
......
......@@ -425,9 +425,10 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:mirrors",
"title", _("Kaleidoscopic Mirroring"),
"position-dependent", "true",
"categories", "blur",
"description", _("Applies mirroring effect on the image."),
"description", _("Create a kaleidoscope like effect."),
NULL);
}
......
......@@ -2472,6 +2472,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:mosaic",
"categories", "artistic",
"license", "GPL3+",
"description", _("Mosaic is a filter which transforms an image into "
"what appears to be a mosaic, composed of small primitives, "
"each of constant color and of an approximate size."),
......
......@@ -295,6 +295,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:motion-blur-circular",
"categories", "blur",
"position-dependent", "true",
"license", "GPL3+",
"description", _("Circular motion blur"),
NULL);
}
......
......@@ -240,6 +240,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:motion-blur-zoom",
"categories", "blur",
"position-dependent", "true",
"license", "GPL3+",
"description", _("Zoom motion blur"),
NULL);
}
......
......@@ -419,6 +419,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:cell-noise",
"title", _("Cell Noise"),
"categories", "render",
"position-dependent", "true",
"description", _("Generates a cellular texture."),
......
......@@ -321,6 +321,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:simplex-noise",
"title", _("Simplex Noise"),
"categories", "render",
"position-dependent", "true",
"description", _("Generates a solid noise texture."),
......
......@@ -150,6 +150,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:noise-slur",
"categories", "noise",
"license", "GPL3+",
"description", _("Randomly slide some pixels downward (similar to melting)"),
NULL);
}
......
......@@ -474,6 +474,8 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"categories" , "artistic",
"name" , "gegl:oilify",
"title", _("Oilify"),
"license", "GPL3+",
"description",_("Emulate an oil painting"),
NULL);
}
......
......@@ -303,6 +303,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:opacity",
"categories" , "transparency",
"title", _("Opacity"),
"description",
_("Weights the opacity of the input both the value of the aux"
" input and the global value property."),
......
......@@ -127,8 +127,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:open-buffer",
"title", _("Open GEGL Buffer"),
"categories" , "input",
"description", _("A source that uses an on-disk GeglBuffer."),
"description", _("Use an on-disk GeglBuffer as data source."),
NULL);
operation_class->no_cache = TRUE;
......
......@@ -178,10 +178,11 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "svg:src-over",
"title", _("Normal compositing"),
"compat-name", "gegl:over",
"categories" , "compositors:porter-duff",
"description",
_("Porter Duff operation over (d = cA + cB * (1 - aA))"),
_("Porter Duff operation over (also known as normal mode, and src-over) (d = cA + cB * (1 - aA))"),
"cl-source" , svg_src_over_cl_source,
NULL);
}
......
......@@ -523,7 +523,7 @@ gegl_op_class_init (GeglOpClass *klass)
"title", _("Panorama Projection"),
"reference-composition", composition,
"position-dependent", "true",
"categories" , "misc",
"categories" , "misc:map",
"description", _("Perform a equlinear/gnomonic or little planet/stereographic projection of a equirectangular input image."),
NULL);
}
......
......@@ -323,6 +323,8 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:photocopy",
"categories", "artistic",
"license", "GPL3+",
"title", _("Photocopy"),
"description", _("Simulate color distortion produced by a copy machine"),
NULL);
}
......
......@@ -652,6 +652,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:pixelize",
"categories", "blur",
"position-dependent", "true",
"title", _("Pixelize"),
"description", _("Simplify image into an array of solid-colored rectangles"),
NULL);
}
......
......@@ -419,6 +419,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:plasma",
"categories", "render",
"position-dependent", "true",
"license", "GPL3+",
"description", _("Creates an image filled with a plasma effect."),
NULL);
}
......
......@@ -419,6 +419,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:polar-coordinates",
"categories", "enhance",
"position-dependent", "true",
"license", "GPL3+",
"description", _("Convert image to or from polar coordinates"),
NULL);
}
......
......@@ -167,6 +167,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:red-eye-removal",
"categories", "enhance",
"license", "GPL3+",
"description", _("Remove the red eye effect caused by camera flashes"),
NULL);
}
......
......@@ -168,6 +168,7 @@ gegl_op_class_init (GeglOpClass *klass)
"name", "gegl:ripple",
"categories", "distort",
"position-dependent", "true",
"license", "GPL3+",
"description", _("Displace pixels in a ripple pattern"),
NULL);
}
......
......@@ -197,9 +197,10 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:save",
"title", _("Save"),
"categories" , "meta:output",
"description",
_("Multipurpose file saver, that uses other native handlers."),
_("Multipurpose file saver, that uses other native save handlers depending on extension, use the format specific save ops to specify additional parameters."),
NULL);
}
......
......@@ -146,7 +146,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:shift",
"title", _("Shift"),
"categories", "distort",
"license", "GPL3+",
"description", _("Shift each row or column of pixels by a random amount"),
NULL);
}
......
......@@ -331,6 +331,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:snn-mean",
"categories" , "misc",
"title", _("Symmetric Nearest Neighbour"),
"description",
_("Noise reducing edge enhancing blur filter based "
" on Symmetric Nearest Neighbours"),
......
......@@ -228,6 +228,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:softglow",
"categories", "artistic",
"license", "GPL3+",
"description", _("Simulate glow by making highlights intense and fuzzy"),
NULL);
}
......
......@@ -562,7 +562,8 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->opencl_support = TRUE;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:stretch-contrast",
"name", "gegl:stretch-contrast",
"title", _("Stretch Contrast"),
"categories" , "color:enhance",
"description",
_("Scales the components of the buffer to be in the 0.0-1.0 range. "
......
......@@ -4376,6 +4376,7 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->opencl_support = TRUE;
gegl_operation_class_set_keys (operation_class,
"name", "gegl:texturize-canvas",
"title", _("Texturize Canvas"),
"categories", "artistic",
"license", "GPL3+",
"position-dependent", "true",
......
......@@ -122,11 +122,12 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:threshold",
"title", _("Threshold"),
"categories" , "color",
"description",
_("Thresholds the image to white/black based on either the global value "
"set in the value property, or per pixel from the aux input."),
"cl-source" , threshold_cl_source,
"cl-source", threshold_cl_source,
"reference-composition", composition,
NULL);
}
......
......@@ -230,6 +230,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"categories", "artistic",
"title", _("Tile Glass"),
"license", "GPL3+",
"name", "gegl:tile-glass",
"position-dependent", "true",
......
......@@ -130,6 +130,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:tile",
"title", _("Tile"),
"categories", "misc",
"position-dependent", "true",
"reference-composition", composition,
......
......@@ -80,9 +80,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:unsharp-mask",
"categories", "meta:enhance",
"description", _("The most widely used method for sharpening an image, "
"sharpens by adding false mach-bands around edges"),
"title", _("Unsharp Mask"),
"categories", "enhance:sharpen",
"description", _("Sharpen image, by adding difference to blurred image, a technique for sharpening originally used in darkrooms."),
NULL);
}
......
......@@ -377,8 +377,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:vignette",
"title", _("Vignette"),
"position-dependent", "true",
"categories", "render",
"categories", "render:photo",
"description", _("Applies a vignette to an image. Simulates the luminance "
"fall off at the edge of exposed film, and some other "
"fuzzier border effects that can naturally occur with "
......
......@@ -176,8 +176,10 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:waves",
"title", _("Waves"),
"categories", "distort",
"position-dependent", "true",
"license", "GPL3+",
"description", _("Distort the image with waves"),
NULL);
}
......
......@@ -182,6 +182,7 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:weighted-blend",
"title", _("Weighted Blend"),
"categories" , "compositors:blend",
"description",
_("blend two images using alpha values as weights"),
......
......@@ -269,7 +269,9 @@ gegl_op_class_init (GeglOpClass *klass)
gegl_operation_class_set_keys (operation_class,
"name", "gegl:whirl-pinch",
"title", _("Whirl Pinch"),
"categories", "distort",
"license", "GPL3+",
"position-dependent", "true",
"description", _("Distort an image by whirling and pinching"),
NULL);
......
......@@ -361,8 +361,10 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->prepare = prepare;
gegl_operation_class_set_keys (operation_class,
"categories" , "distort",
"name" , "gegl:wind",
"categories", "distort",
"name", "gegl:wind",
"title", _("Wind"),
"license", "GPL3+",
"description", _("Wind-like bleed effect"),
NULL);
}
......
......@@ -143,7 +143,8 @@ gegl_op_class_init (GeglOpClass *klass)
G_OBJECT_CLASS (klass)->dispose = dispose;
gegl_operation_class_set_keys (operation_class,
"name" , "gegl:write-buffer",
"name", "gegl:write-buffer",
"title", _("Write Buffer"),
"categories" , "programming:output",
"description", _("A GEGL buffer destination surface."),
NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment