gegl r1814 - in trunk: . gegl gegl/operation



Author: ok
Date: Mon Jan  7 01:51:05 2008
New Revision: 1814
URL: http://svn.gnome.org/viewvc/gegl?rev=1814&view=rev

Log:
fixed tzpo in changelog

Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/gegl/gegl-types.h
   trunk/gegl/operation/gegl-operation-composer.c
   trunk/gegl/operation/gegl-operation-composer.h

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Mon Jan  7 01:51:05 2008
@@ -11,7 +11,7 @@
 	read from/written to as arguments of the process functions in the base
 	classes for the common operation types.
 
-	The rest of the files modified were modifications to update to never
+	The rest of the files modified were modifications to update to newer
 	API.
 	* gegl/gegl-chant.h:
 	* gegl/operation/gegl-operation-point-composer.c:

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Mon Jan  7 01:51:05 2008
@@ -5,6 +5,18 @@
 GEGL only has released development snapshots thus far. Odd micro versions are
 from SVN whilst even micro numbers indicate released snapshots. 
 
+Changes in GEGL 0.0.16
+ââââââââââââââââââââââ
+ â Build and dist fixes, general sanity improvements.
+ â constification of GeglRectangles and babl formats.
+ â Added rowstride argument to gegl_buffer_set ()
+ â Made it possible for sink operations to do their processing chunk by chunk
+   when processed using a GeglProcessor.
+
+Contributions from:
+  Ãyvind KolÃs, Ãtienne Bersac, Kevin Cozens, Sven Neumann, 
+  Manish Singh, Michael Natterer.
+
 Changes in GEGL 0.0.14
 ââââââââââââââââââââââ
  â Relicensed under LGPLv3+.

Modified: trunk/gegl/gegl-types.h
==============================================================================
--- trunk/gegl/gegl-types.h	(original)
+++ trunk/gegl/gegl-types.h	Mon Jan  7 01:51:05 2008
@@ -37,7 +37,7 @@
 typedef struct _GeglNodeContext      GeglNodeContext;
 typedef struct _GeglOperation        GeglOperation;
 typedef struct _GeglPad              GeglPad;
-typedef struct _GeglVector             GeglVector;
+typedef struct _GeglVector           GeglVector;
 typedef struct _GeglProcessor        GeglProcessor;
 typedef struct _GeglPrepareVisitor   GeglPrepareVisitor;
 typedef struct _GeglVisitable        GeglVisitable; /* dummy typedef */

Modified: trunk/gegl/operation/gegl-operation-composer.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-composer.c	(original)
+++ trunk/gegl/operation/gegl-operation-composer.c	Mon Jan  7 01:51:05 2008
@@ -141,10 +141,10 @@
          const gchar         *output_prop,
          const GeglRectangle *result)
 {
+  GeglOperationComposerClass *klass   = GEGL_OPERATION_COMPOSER_GET_CLASS (operation);
   GeglBuffer                 *input;
   GeglBuffer                 *aux;
-
-  GeglOperationComposerClass *klass   = GEGL_OPERATION_COMPOSER_GET_CLASS (operation);
+  GeglBuffer                 *output;
   gboolean                    success = FALSE;
 
   if (strcmp (output_prop, "output"))
@@ -155,6 +155,7 @@
 
   input = gegl_node_context_get_source (context, "input");
   aux   = gegl_node_context_get_source (context, "aux");
+  output = gegl_node_context_get_target (context, "output");
 
   /* A composer with a NULL aux, can still be valid, the
    * subclass has to handle it.
@@ -162,7 +163,11 @@
   if (input != NULL ||
       aux != NULL)
     {
-      success = klass->process (operation, context, result);
+      success = klass->process (operation, context, input, aux, output, result);
+      if (input)
+        g_object_unref (input);
+      if (aux)
+        g_object_unref (aux);
     }
   else
     {

Modified: trunk/gegl/operation/gegl-operation-composer.h
==============================================================================
--- trunk/gegl/operation/gegl-operation-composer.h	(original)
+++ trunk/gegl/operation/gegl-operation-composer.h	Mon Jan  7 01:51:05 2008
@@ -45,6 +45,9 @@
 
   gboolean (* process) (GeglOperation       *self,
                         GeglNodeContext     *context,
+                        GeglBuffer          *input,
+                        GeglBuffer          *aux,
+                        GeglBuffer          *output,
                         const GeglRectangle *result);
 };
 



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