Commit bad841ff authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

operations/affine/chant.h operations/common/*.c operations/core/*.c

2008-10-14  Michael Natterer  <mitch@gimp.org>

	* operations/affine/chant.h
	* operations/common/*.c
	* operations/core/*.c
	* operations/external/*.c
	* operations/generated/math.rb
	* operations/generated/other-blend.rb
	* operations/generated/svg-12-blend.rb
	* operations/generated/svg-12-porter-duff.rb
	* operations/workshop/*.c
	* operations/workshop/external/*.c: prefix all operation names
	with "gegl:".

	* bin/editor.c
	* bin/gegl-tree-editor-action.c
	* bin/gegl.c
	* docs/gallery/clones.xml
	* examples/2geglbuffer.c
	* examples/gegl-paint.c
	* examples/geglbuffer-add-image.c
	* examples/geglbuffer-clock.c
	* examples/hello-world-video.c
	* examples/hello-world.c
	* gegl/graph/gegl-node.c
	* tools/introspect.c: changed accordingly.


svn path=/trunk/; revision=2624
parent b61392e4
2008-10-14 Michael Natterer <mitch@gimp.org>
* operations/affine/chant.h
* operations/common/*.c
* operations/core/*.c
* operations/external/*.c
* operations/generated/math.rb
* operations/generated/other-blend.rb
* operations/generated/svg-12-blend.rb
* operations/generated/svg-12-porter-duff.rb
* operations/workshop/*.c
* operations/workshop/external/*.c: prefix all operation names
with "gegl:".
* bin/editor.c
* bin/gegl-tree-editor-action.c
* bin/gegl.c
* docs/gallery/clones.xml
* examples/2geglbuffer.c
* examples/gegl-paint.c
* examples/geglbuffer-add-image.c
* examples/geglbuffer-clock.c
* examples/hello-world-video.c
* examples/hello-world.c
* gegl/graph/gegl-node.c
* tools/introspect.c: changed accordingly.
2008-10-14 Sven Neumann <sven@gimp.org>
* bin/editor.c: minor cleanups.
......
......@@ -814,7 +814,7 @@ cb_introspect (GtkAction *action)
gegl = gegl_node_new ();
dot = gegl_node_new_child (gegl,
"operation", "introspect",
"operation", "gegl:introspect",
"node", editor.gegl,
NULL);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
......
......@@ -380,7 +380,7 @@ add_sibling_op (GtkAction *action, gpointer userdata)
GeglNode *previous = gegl_previous_sibling (item);
new_item = gegl_node_new_child (GEGL_STORE (model)->gegl,
"operation", "nop",
"operation", "gegl:nop",
NULL);
if (previous) /* we're just chaining in */
......@@ -443,7 +443,7 @@ add_child_op (GtkAction *action, gpointer userdata)
else
{
new_item = gegl_node_new_child (GEGL_STORE (model)->gegl,
"operation", "blank",
"operation", "gegl:blank",
NULL);
gegl_node_connect_from (item, "aux", new_item, "output");
}
......
......@@ -46,7 +46,7 @@
#endif
#define DEFAULT_COMPOSITION \
"<?xml version='1.0'?> <gegl> <node operation='crop'> <params> <param name='x'>0</param> <param name='y'>0</param> <param name='width'>512</param> <param name='height'>216</param> </params> </node> <node operation='over'> <node operation='shift'> <params> <param name='x'>15</param> <param name='y'>150</param> </params> </node> <opacity value='0.6'/> <node name='text' operation='text'> <params> <param name='string'>2000-2008 &#xA9; Calvin Williamson, Caroline Dahloff, Manish Singh, Jay Cox, Daniel Rogers, Sven Neumann, Michael Natterer, &#xD8;yvind Kol&#xE5;s, Philip Lafleur, Dominik Ernst, Richard Kralovic, Kevin Cozens, Victor Bogado, Martin Nordholts, Geert Jordaens, Michael Schumacher, John Marshall, &#xC9;tienne Bersac, Mark Probst, H&#xE5;kon Hitland, Tor Lillqvist, Hans Breuer, Deji Akingunola, Bradley Broom, Hans Petter Jansson, Jan Heller, dmacks@netspace.org, Sven Anders, Hubert Figui&#xE8;re, Sam Hocevar, yahvuu at gmail.com, Nicolas Robidoux, Garry R. Osgood, Shlomi Fish and Jakub Steiner</param> <param name='font'>Sans</param> <param name='size'>8</param> <param name='color'>#000000</param> <param name='wrap'>485</param> <param name='alignment'>0</param> <param name='width'>355</param> <param name='height'>70</param> </params> </node> </node> <node operation='over'> <shift x='80' y='30'/> <over> <shift y='0' x='0'/> <dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <fill vector='M 0,50 C 0,78 24,100 50,100 C 77,100 100,78 100,50 C 100,45 99,40 98,35 C 82,35 66,35 50,35 C 42,35 35,42 35,50 C 35,58 42,65 50,65 C 56,65 61,61 64,56 C 67,51 75,55 73,60 C 69,69 60,75 50,75 C 36,75 25,64 25,50 C 25,36 36,25 50,25 L 93,25 C 83,9 67,0 49,0 C 25,0 0,20 0,50 z' color='#ffffffff'/> </over> <over> <shift x='88' y='0'/> <dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <fill vector='M 50,0 C 23,0 0,22 0,50 C 0,77 22,100 50,100 C 68,100 85,90 93,75 L 40,75 C 35,75 35,65 40,65 L 98,65 C 100,55 100,45 98,35 L 40,35 C 35,35 35,25 40,25 L 93,25 C 84,10 68,0 50,0 z' color='#ffffffff'/> </over> <over> <shift x='176' y='0'/> <dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <fill vector='M 0,50 C 0,78 24,100 50,100 C 77,100 100,78 100,50 C 100,45 99,40 98,35 C 82,35 66,35 50,35 C 42,35 35,42 35,50 C 35,58 42,65 50,65 C 56,65 61,61 64,56 C 67,51 75,55 73,60 C 69,69 60,75 50,75 C 36,75 25,64 25,50 C 25,36 36,25 50,25 L 93,25 C 83,9 67,0 49,0 C 25,0 0,20 0,50 z' color='#ffffffff'/> </over> <shift x='264' y='0'/> <dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <fill vector='M 30,4 C 12,13 0,30 0,50 C 0,78 23,100 50,100 C 71,100 88,88 96,71 L 56,71 C 42,71 30,59 30,45 L 30,4 z' color='#ffffffff'/> </node> <color value='white'/> </gegl>"
"<?xml version='1.0'?> <gegl> <node operation='gegl:crop'> <params> <param name='x'>0</param> <param name='y'>0</param> <param name='width'>512</param> <param name='height'>216</param> </params> </node> <node operation='gegl:over'> <node operation='gegl:shift'> <params> <param name='x'>15</param> <param name='y'>150</param> </params> </node> <gegl:opacity value='0.6'/> <node name='text' operation='gegl:text'> <params> <param name='string'>2000-2008 &#xA9; Calvin Williamson, Caroline Dahloff, Manish Singh, Jay Cox, Daniel Rogers, Sven Neumann, Michael Natterer, &#xD8;yvind Kol&#xE5;s, Philip Lafleur, Dominik Ernst, Richard Kralovic, Kevin Cozens, Victor Bogado, Martin Nordholts, Geert Jordaens, Michael Schumacher, John Marshall, &#xC9;tienne Bersac, Mark Probst, H&#xE5;kon Hitland, Tor Lillqvist, Hans Breuer, Deji Akingunola, Bradley Broom, Hans Petter Jansson, Jan Heller, dmacks@netspace.org, Sven Anders, Hubert Figui&#xE8;re, Sam Hocevar, yahvuu at gmail.com, Nicolas Robidoux, Garry R. Osgood, Shlomi Fish and Jakub Steiner</param> <param name='font'>Sans</param> <param name='size'>8</param> <param name='color'>#000000</param> <param name='wrap'>485</param> <param name='alignment'>0</param> <param name='width'>355</param> <param name='height'>70</param> </params> </node> </node> <node operation='gegl:over'> <gegl:shift x='80' y='30'/> <gegl:over> <gegl:shift y='0' x='0'/> <gegl:dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <gegl:fill vector='M 0,50 C 0,78 24,100 50,100 C 77,100 100,78 100,50 C 100,45 99,40 98,35 C 82,35 66,35 50,35 C 42,35 35,42 35,50 C 35,58 42,65 50,65 C 56,65 61,61 64,56 C 67,51 75,55 73,60 C 69,69 60,75 50,75 C 36,75 25,64 25,50 C 25,36 36,25 50,25 L 93,25 C 83,9 67,0 49,0 C 25,0 0,20 0,50 z' color='#ffffffff'/> </gegl:over> <gegl:over> <gegl:shift x='88' y='0'/> <gegl:dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <gegl:fill vector='M 50,0 C 23,0 0,22 0,50 C 0,77 22,100 50,100 C 68,100 85,90 93,75 L 40,75 C 35,75 35,65 40,65 L 98,65 C 100,55 100,45 98,35 L 40,35 C 35,35 35,25 40,25 L 93,25 C 84,10 68,0 50,0 z' color='#ffffffff'/> </gegl:over> <gegl:over> <gegl:shift x='176' y='0'/> <gegl:dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <gegl:fill vector='M 0,50 C 0,78 24,100 50,100 C 77,100 100,78 100,50 C 100,45 99,40 98,35 C 82,35 66,35 50,35 C 42,35 35,42 35,50 C 35,58 42,65 50,65 C 56,65 61,61 64,56 C 67,51 75,55 73,60 C 69,69 60,75 50,75 C 36,75 25,64 25,50 C 25,36 36,25 50,25 L 93,25 C 83,9 67,0 49,0 C 25,0 0,20 0,50 z' color='#ffffffff'/> </gegl:over> <gegl:shift x='264' y='0'/> <gegl:dropshadow radius='8.0' x='0' y='0' opacity='1.2'/> <gegl:fill vector='M 30,4 C 12,13 0,30 0,50 C 0,78 23,100 50,100 C 71,100 88,88 96,71 L 56,71 C 42,71 30,59 30,45 L 30,4 z' color='#ffffffff'/> </node> <gegl:color value='white'/> </gegl>"
/******************/
static gboolean file_is_gegl_xml (const gchar *path)
......@@ -139,7 +139,7 @@ main (gint argc,
tmp=g_strdup (o->file);
file_basename = g_path_get_basename (tmp);
g_string_append (acc, "<gegl><load path='");
g_string_append (acc, "<gegl><gegl:load path='");
g_string_append (acc, file_basename);
g_string_append (acc, "'/></gegl>");
......@@ -213,7 +213,7 @@ main (gint argc,
case GEGL_RUN_MODE_PNG:
{
GeglNode *output = gegl_node_new_child (gegl,
"operation", "png-save",
"operation", "gegl:png-save",
"path", o->output,
NULL);
gegl_node_connect_from (output, "input", gegl_node_get_output_proxy (gegl, "output"), "output");
......
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='over'>
<node operation='shift'>
<node operation='gegl:over'>
<node operation='gegl:shift'>
<params>
<param name='x'>10.000000</param>
<param name='y'>280.000000</param>
</params>
</node>
<node operation='scale'>
<node operation='gegl:scale'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
......@@ -18,30 +18,30 @@
<param name='y'>0.200000</param>
</params>
</node>
<node operation='box-blur'>
<node operation='gegl:box-blur'>
<params>
<param name='radius'>5.000000</param>
</params>
</node>
<node operation='load' id='clone0'>
<node operation='gegl:load' id='clone0'>
<params>
<param name='path'>data/car-stack.jpg</param>
</params>
</node>
</node>
<node operation='over'>
<node operation='shift'>
<node operation='gegl:over'>
<node operation='gegl:shift'>
<params>
<param name='x'>10.000000</param>
<param name='y'>190.000000</param>
</params>
</node>
<node operation='gamma'>
<node operation='gegl:gamma'>
<params>
<param name='value'>2.500000</param>
</params>
</node>
<node operation='scale'>
<node operation='gegl:scale'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
......@@ -54,16 +54,16 @@
</node>
<clone ref='clone0'/>
</node>
<node operation='over'>
<node operation='shift'>
<node operation='gegl:over'>
<node operation='gegl:shift'>
<params>
<param name='x'>10.000000</param>
<param name='y'>100.000000</param>
</params>
</node>
<node operation='invert'>
<node operation='gegl:invert'>
</node>
<node operation='scale'>
<node operation='gegl:scale'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
......@@ -76,19 +76,19 @@
</node>
<clone ref='clone0'/>
</node>
<node operation='over'>
<node operation='shift'>
<node operation='gegl:over'>
<node operation='gegl:shift'>
<params>
<param name='x'>10.000000</param>
<param name='y'>10.000000</param>
</params>
</node>
<node operation='threshold'>
<node operation='gegl:threshold'>
<params>
<param name='value'>0.500000</param>
</params>
</node>
<node operation='scale'>
<node operation='gegl:scale'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
......@@ -101,49 +101,49 @@
</node>
<clone ref='clone0'/>
</node>
<node operation='over'>
<node operation='shift'>
<node operation='gegl:over'>
<node operation='gegl:shift'>
<params>
<param name='x'>335.000000</param>
<param name='y'>210.000000</param>
</params>
</node>
<node operation='over'>
<node operation='shift'>
<node operation='gegl:over'>
<node operation='gegl:shift'>
<params>
<param name='x'>-10.000000</param>
<param name='y'>120.000000</param>
</params>
</node>
<node operation='opacity'>
<node operation='gegl:opacity'>
<params>
<param name='value'>0.600000</param>
</params>
</node>
<node operation='dst-over'>
<node operation='opacity'>
<node operation='gegl:dst-over'>
<node operation='gegl:opacity'>
<params>
<param name='value'>2.000000</param>
</params>
</node>
<node operation='shift'>
<node operation='gegl:shift'>
<params>
<param name='x'>0.000000</param>
<param name='y'>0.000000</param>
</params>
</node>
<node operation='box-blur'>
<node operation='gegl:box-blur'>
<params>
<param name='radius'>4.000000</param>
</params>
</node>
<node operation='brightness-contrast'>
<node operation='gegl:brightness-contrast'>
<params>
<param name='contrast'>1.000000</param>
<param name='brightness'>-1.000000</param>
</params>
</node>
<node operation='text' id='clone1'>
<node operation='gegl:text' id='clone1'>
<params>
<param name='string'>warming up</param>
<param name='font'>Sans</param>
......@@ -158,7 +158,7 @@
</node>
<clone ref='clone1'/>
</node>
<node operation='scale'>
<node operation='gegl:scale'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
......@@ -169,30 +169,30 @@
<param name='y'>0.500000</param>
</params>
</node>
<node operation='dst-over' id='clone2'>
<node operation='opacity'>
<node operation='gegl:dst-over' id='clone2'>
<node operation='gegl:opacity'>
<params>
<param name='value'>0.800000</param>
</params>
</node>
<node operation='shift'>
<node operation='gegl:shift'>
<params>
<param name='x'>5.000000</param>
<param name='y'>-2.000000</param>
</params>
</node>
<node operation='add'>
<node operation='gegl:add'>
<params>
<param name='value'>0.500000</param>
</params>
</node>
<node operation='gaussian-blur'>
<node operation='gegl:gaussian-blur'>
<params>
<param name='std-dev-x'>5.000000</param>
<param name='std-dev-y'>5.000000</param>
</params>
</node>
<node operation='load' id='clone3'>
<node operation='gegl:load' id='clone3'>
<params>
<param name='path'>data/gegl.png</param>
</params>
......@@ -200,19 +200,19 @@
</node>
<clone ref='clone3'/>
</node>
<node operation='over'>
<node operation='shift'>
<node operation='gegl:over'>
<node operation='gegl:shift'>
<params>
<param name='x'>90.000000</param>
<param name='y'>90.000000</param>
</params>
</node>
<node operation='opacity'>
<node operation='gegl:opacity'>
<params>
<param name='value'>-0.500000</param>
</params>
</node>
<node operation='box-blur'>
<node operation='gegl:box-blur'>
<params>
<param name='radius'>15.000000</param>
</params>
......
......@@ -22,11 +22,11 @@ main (gint argc,
gegl = gegl_node_new ();
load_file = gegl_node_new_child (gegl,
"operation", "load",
"operation", "gegl:load",
"path", argv[1],
NULL);
save_file = gegl_node_new_child (gegl,
"operation", "save-buffer",
"operation", "gegl:save-buffer",
"buffer", &buffer,
NULL);
......
......@@ -48,8 +48,8 @@ static gboolean paint_press (GtkWidget *widget,
{
vector = gegl_vector_new ();
over = gegl_node_new_child (gegl, "operation", "over", NULL);
stroke = gegl_node_new_child (gegl, "operation", "stroke",
over = gegl_node_new_child (gegl, "operation", "gegl:over", NULL);
stroke = gegl_node_new_child (gegl, "operation", "gegl:stroke",
"vector", vector,
"color", gegl_color_new (COLOR),
"linewidth", LINEWIDTH,
......@@ -101,7 +101,7 @@ static gboolean paint_release (GtkWidget *widget,
x1 - x0 + LINEWIDTH * 2, y1 - y0 + LINEWIDTH * 2};
writebuf = gegl_node_new_child (gegl,
"operation", "write-buffer",
"operation", "gegl:write-buffer",
"buffer", buffer,
NULL);
gegl_node_link_many (over, writebuf, NULL);
......@@ -155,8 +155,8 @@ main (gint argc,
gegl = gegl_node_new ();
{
GeglNode *loadbuf = gegl_node_new_child (gegl, "operation", "load-buffer", "buffer", buffer, NULL);
out = gegl_node_new_child (gegl, "operation", "nop", NULL);
GeglNode *loadbuf = gegl_node_new_child (gegl, "operation", "gegl:load-buffer", "buffer", buffer, NULL);
out = gegl_node_new_child (gegl, "operation", "gegl:nop", NULL);
gegl_node_link_many (loadbuf, out, NULL);
......
......@@ -37,16 +37,16 @@ main (gint argc,
gegl = gegl_node_new ();
write_buffer = gegl_node_new_child (gegl,
"operation", "write-buffer",
"operation", "gegl:write-buffer",
"buffer", buffer,
NULL);
shift = gegl_node_new_child (gegl,
"operation", "shift",
"operation", "gegl:shift",
"x", x,
"y", y,
NULL);
load = gegl_node_new_child (gegl,
"operation", "load",
"operation", "gegl:load",
"path", in_file,
NULL);
......
......@@ -30,12 +30,12 @@ main (gint argc,
blank = gegl_node_new_child (gegl,
"operation", "color",
"operation", "gegl:color",
"value", gegl_color_new ("rgba(0.0,0.0,0.0,0.4)"),
NULL);
crop = gegl_node_new_child (gegl,
"operation", "crop",
"operation", "gegl:crop",
"x", 0.0,
"y", 0.0,
"width", 260.0,
......@@ -43,22 +43,22 @@ main (gint argc,
NULL);
layer = gegl_node_new_child (gegl,
"operation", "layer",
"operation", "gegl:layer",
NULL);
shift = gegl_node_new_child (gegl,
"operation", "shift",
"operation", "gegl:shift",
"x", 0.0,
"y", 0.0,
NULL);
text = gegl_node_new_child (gegl,
"operation", "text",
"operation", "gegl:text",
"size", 20.0,
/* "color", gegl_color_new ("rgb(0.0,0.0,0.0)"),*/
NULL);
display = gegl_node_new_child (gegl,
"operation", "composite-buffer",
"operation", "gegl:composite-buffer",
"path", argv[1],
NULL);
......
......@@ -35,22 +35,22 @@ This is the graph we're going to construct:
/*< The image nodes representing operations we want to perform */
GeglNode *display = gegl_node_new_child (gegl,
"operation","ff-save",
"operation", "gegl:ff-save",
"path", "fractal-zoom.avi",
"bitrate", 1200000.0,
NULL);
GeglNode *layer = gegl_node_new_child (gegl,
"operation", "layer",
"operation", "gegl:layer",
"x", 2.0,
"y", 4.0,
NULL);
GeglNode *text = gegl_node_new_child (gegl,
"operation", "text",
"operation", "gegl:text",
"size", 10.0,
"color", gegl_color_new ("rgb(1.0,1.0,1.0)"),
NULL);
GeglNode *mandelbrot = gegl_node_new_child (gegl,
"operation", "fractal-explorer",
"operation", "gegl:fractal-explorer",
"width", 640,
"height", 480,
NULL);
......
......@@ -36,17 +36,17 @@ This is the graph we're going to construct:
/*< The image nodes representing operations we want to perform */
GeglNode *display = gegl_node_create_child (gegl, "display");
GeglNode *layer = gegl_node_new_child (gegl,
"operation", "layer",
"operation", "gegl:layer",
"x", 2.0,
"y", 4.0,
NULL);
GeglNode *text = gegl_node_new_child (gegl,
"operation", "text",
"operation", "gegl:text",
"size", 10.0,
"color", gegl_color_new ("rgb(1.0,1.0,1.0)"),
NULL);
GeglNode *mandelbrot = gegl_node_new_child (gegl,
"operation", "fractal-explorer",
"operation", "gegl:fractal-explorer",
"width", 512,
"height", 384,
NULL);
......
......@@ -2051,7 +2051,7 @@ gegl_node_get_pad_proxy (GeglNode *graph,
pad = gegl_node_get_pad (node, name);
if (!pad)
{
GeglNode *nop = g_object_new (GEGL_TYPE_NODE, "operation", "nop", "name", is_graph_input ? "proxynop-input" : "proxynop-output", NULL);
GeglNode *nop = g_object_new (GEGL_TYPE_NODE, "operation", "gegl:nop", "name", is_graph_input ? "proxynop-input" : "proxynop-output", NULL);
GeglPad *nop_pad = gegl_node_get_pad (nop, is_graph_input ? "input" : "output");
gegl_node_add_child (graph, nop);
g_object_unref (nop); /* our reference is made by the
......
......@@ -277,7 +277,7 @@ gegl_chant_class_init (ChantClass * klass)
#endif
#define M_GEGL_CHANT_SET_NAME_EXTENDED(nam) \
operation_class->name=g_strdup(#nam);
operation_class->name=g_strdup("gegl:"#nam);
#define M_GEGL_CHANT_SET_NAME(name) M_GEGL_CHANT_SET_NAME_EXTENDED(name)
M_GEGL_CHANT_SET_NAME (GEGL_CHANT_NAME);
......
......@@ -175,7 +175,7 @@ gegl_chant_class_init (GeglChantClass *klass)
filter_class->process = process;
operation_class->prepare = prepare;
operation_class->name = "bilateral-filter";
operation_class->name = "gegl:bilateral-filter";
operation_class->categories = "misc";
operation_class->description =
_("An edge preserving blur filter that can be used for noise reduction. "
......
......@@ -259,7 +259,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->prepare = prepare;
operation_class->categories = "blur";
operation_class->name = "box-blur";
operation_class->name = "gegl:box-blur";
operation_class->description =
_("Performs an averaging of a square box of pixels.");
}
......
......@@ -166,7 +166,7 @@ gegl_chant_class_init (GeglChantClass *klass)
/* specify the name this operation is found under in the GUI/when
* programming/in XML
*/
operation_class->name = "brightness-contrast";
operation_class->name = "gegl:brightness-contrast";
/* a colon separated list of categories/tags for this operations */
operation_class->categories = "color";
......
......@@ -189,7 +189,7 @@ gegl_chant_class_init (GeglChantClass *klass)
*/
operation_class->get_bounding_box = get_bounding_box;
operation_class->name = "c2g";
operation_class->name = "gegl:c2g";
operation_class->categories = "enhance";
operation_class->description =
_("Color to grayscale conversion, uses spatial color differences "
......
......@@ -130,7 +130,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->get_bounding_box = get_bounding_box;
operation_class->prepare = prepare;
operation_class->name = "checkerboard";
operation_class->name = "gegl:checkerboard";
operation_class->categories = "render";
operation_class->description = _("Checkerboard renderer");
}
......
......@@ -189,7 +189,7 @@ gegl_chant_class_init (GeglChantClass *klass)
point_filter_class->process = process;
operation_class->name = "color-temperature";
operation_class->name = "gegl:color-temperature";
operation_class->categories = "color";
operation_class->description =
_("Allows changing the color temperature of an image.");
......
......@@ -85,7 +85,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->get_bounding_box = get_bounding_box;
operation_class->prepare = prepare;
operation_class->name = "color";
operation_class->name = "gegl:color";
operation_class->categories = "render";
operation_class->description =
_("Generates a buffer entirely filled with the specified color, "
......
......@@ -117,7 +117,7 @@ gegl_chant_class_init (GeglChantClass *klass)
point_filter_class->process = process;
operation_class->prepare = prepare;
operation_class->name = "contrast-curve";
operation_class->name = "gegl:contrast-curve";
operation_class->categories = "color";
operation_class->description =
_("Adjusts the contrast of the image according to a curve.");
......
......@@ -61,15 +61,15 @@ static void attach (GeglOperation *operation)
priv->output = gegl_node_get_output_proxy (gegl, "output");
priv->subtract = gegl_node_new_child (gegl,
"operation", "subtract",
"operation", "gegl:subtract",
NULL);
priv->blur1 = gegl_node_new_child (gegl,
"operation", "gaussian-blur",
"operation", "gegl:gaussian-blur",
NULL);
priv->blur2 = gegl_node_new_child (gegl,
"operation", "gaussian-blur",
"operation", "gegl:gaussian-blur",
NULL);
gegl_node_link_many (priv->input, priv->blur1, priv->subtract, priv->output, NULL);
......@@ -92,7 +92,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class = GEGL_OPERATION_CLASS (klass);
operation_class->attach = attach;
operation_class->name = "difference-of-gaussians";
operation_class->name = "gegl:difference-of-gaussians";
operation_class->categories = "meta:edge";
operation_class->description =
_("Does an edge detection based on the difference of two gaussian blurs.");
......
......@@ -69,12 +69,12 @@ static void attach (GeglOperation *operation)
GeglNode *gegl = priv->self;
priv->input = gegl_node_get_input_proxy (gegl, "input");
priv->output = gegl_node_get_output_proxy (gegl, "output");
priv->over = gegl_node_new_child (gegl, "operation", "over", NULL);
priv->translate = gegl_node_new_child (gegl, "operation", "translate", NULL);
priv->opacity = gegl_node_new_child (gegl, "operation", "opacity", NULL);
priv->blur = gegl_node_new_child (gegl, "operation", "gaussian-blur", NULL);
priv->darken = gegl_node_new_child (gegl, "operation", "src-in", NULL);
priv->black = gegl_node_new_child (gegl, "operation", "color",
priv->over = gegl_node_new_child (gegl, "operation", "gegl:over", NULL);
priv->translate = gegl_node_new_child (gegl, "operation", "gegl:translate", NULL);
priv->opacity = gegl_node_new_child (gegl, "operation", "gegl:opacity", NULL);
priv->blur = gegl_node_new_child (gegl, "operation", "gegl:gaussian-blur", NULL);
priv->darken = gegl_node_new_child (gegl, "operation", "gegl:src-in", NULL);
priv->black = gegl_node_new_child (gegl, "operation", "gegl:color",
"value", gegl_color_new ("rgb(0.0,0.0,0.0)"),
NULL);
......@@ -101,7 +101,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class = GEGL_OPERATION_CLASS (klass);
operation_class->attach = attach;
operation_class->name = "dropshadow";
operation_class->name = "gegl:dropshadow";
operation_class->categories = "meta:effects";
operation_class->description =
_("Creates a dropshadow effect on the input buffer.");
......
......@@ -92,7 +92,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->get_bounding_box = get_bounding_box;
operation_class->prepare = prepare;
operation_class->name = "fill";
operation_class->name = "gegl:fill";
operation_class->categories = "render";
operation_class->description = _("Renders a fill of the provided GeglVector in a given color");
operation_class->get_cached_region = NULL;
......
......@@ -465,7 +465,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->get_bounding_box = get_bounding_box;
operation_class->prepare = prepare;
operation_class->name = "fractal-explorer";
operation_class->name = "gegl:fractal-explorer";
operation_class->categories = "render";
operation_class->description = _("Fractal Explorer");
......
......@@ -498,7 +498,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->prepare = prepare;
operation_class->categories = "blur";
operation_class->name = "gaussian-blur";
operation_class->name = "gegl:gaussian-blur";
operation_class->description =
_("Performs an averaging of neighbouring pixels with the "
"normal distribution as weighting.");
......
......@@ -62,7 +62,7 @@ gegl_chant_class_init (GeglChantClass *klass)
point_filter_class->process = process;
operation_class->prepare = prepare;
operation_class->name = "grey";
operation_class->name = "gegl:grey";
operation_class->categories = "color";
operation_class->description = _("Turns the image greyscale");
}
......
......@@ -82,7 +82,7 @@ process (GeglOperation *operation,
{
GeglNode *gegl = gegl_node_new ();
GeglNode *png_load = gegl_node_new_child (gegl, "operation", "load", "path", "/tmp/gegl-temp.png", NULL);
GeglNode *png_load = gegl_node_new_child (gegl, "operation", "gegl:load", "path", "/tmp/gegl-temp.png", NULL);
GeglNode *buffer_save;
GeglRectangle defined;
......@@ -90,7 +90,7 @@ process (GeglOperation *operation,
o->buf = gegl_buffer_new (&defined, babl_format ("R'G'B' u8"));
buffer_save = gegl_node_new_child (gegl, "operation", "save-buffer", "buffer", o->buf, NULL);
buffer_save = gegl_node_new_child (gegl, "operation", "gegl:save-buffer", "buffer", o->buf, NULL);
gegl_node_link_many (png_load, buffer_save, NULL);
gegl_node_process (buffer_save);
......@@ -121,7 +121,7 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->process = process;
operation_class->get_bounding_box = get_bounding_box;
operation_class->name = "introspect";
operation_class->name = "gegl:introspect";
operation_class->categories = "render";
operation_class->description = _("GEGL graph visualizer.");
}
......
......@@ -95,7 +95,7 @@ gegl_chant_class_init (GeglChantClass *klass)
point_filter_class->process = process;