[libgda/LIBGDA_5.2] Enable VALA_API_VERSION environment variable



commit 68f1cc19c4b100872861dab9b8d0fc5050ad5a1f
Author: Vivien Malerba <malerba gnome-db org>
Date:   Fri Jun 12 21:24:53 2015 +0200

    Enable VALA_API_VERSION environment variable
    
    * You can set VALA_API_VERSION or set on ./configure command line
      to set required Vala API to use, this will check correspoding
      versioned package

 configure.ac           |   15 ++-
 libgda/Gda-5.0.gir     |  359 +++++++++++++++++++++++++++++++++++++++++++++++-
 libgda/libgda-5.0.vapi |   54 +++++--
 3 files changed, 405 insertions(+), 23 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bdd329f..7fca02a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -514,6 +514,8 @@ AM_CONDITIONAL(ENABLE_GI_SYSTEM_INSTALL, [test x"$enable_gi_system_install" = "x
 dnl ******************************
 dnl Check for Vala Compiler
 dnl ******************************
+AC_ARG_VAR(VALA_API_VERSION,[Vala API version to generate bingdings and compile against. Install versioned 
bidings.])
+
 if test "x$enable_gda_gi" != "xyes" -a "x$enable_gdaui_gi" = "xyes"
 then
        AC_MSG_ERROR([GObject Introspection for GDA-UI is requested but GObject Introspection for GDA is 
disabled. Use --enable-gda-gi])
@@ -542,10 +544,18 @@ then
        AC_MSG_ERROR([Vala Extensions (Utility GObject clases written in Vala) is requested but Vala Bindings 
is disable. Use --enable-vala])
 fi
 
+vala_api="No Vala bindings will be generated"
 if test "x$enable_vala" = "xyes"
 then
-       AM_PROG_VALAC([0.17.7])
-       VAPIGEN_CHECK([0.17.7],,,no)
+       AM_PROG_VALAC([0.26.0])
+       if test "x$VALA_API_VERSION" = "x"
+       then
+               VAPIGEN_CHECK([0.26.0],[0.26],,no)
+               vala_api="0.26 (Default)"
+       else
+               VAPIGEN_CHECK([0.26.0],$VALA_API_VERSION,,no)
+               vala_api=$VALA_API_VERSION
+       fi
 else
        AM_CONDITIONAL(ENABLE_VAPIGEN,false)
 fi
@@ -1054,6 +1064,7 @@ echo "   Building libgda-ui GObject Introspection: `if test x$enable_gdaui_gi !=
 echo "   Building Gtk-Doc: `if test x$enable_gtk_doc != xno; then echo yes; else echo no; fi`"
 echo "   Building Help (GdaBrowser): `if test x$with_gdu != xno; then echo yes; else echo no; fi`"
 echo "   Building GDA Vala Bindings (--enable-vala): `if test x$vapigen_pkg_found != xyes; then echo no; 
else echo yes; fi`"
+echo "     Vala API version to use: $vala_api"
 echo "   Building GDA-UI Vala Bindings: `if test x$enable_gdaui_vala != xyes; then echo no; else echo yes; 
fi`"
 echo "   Building Vala Extensions: `if test x$enable_vala_ext != xno; then echo yes; else echo no; fi`"
 echo "   Building Vala Documentation: `if test x$enable_vala_doc != xno; then echo yes; else echo no; fi`"
diff --git a/libgda/Gda-5.0.gir b/libgda/Gda-5.0.gir
index fd0c9af..60d0a15 100644
--- a/libgda/Gda-5.0.gir
+++ b/libgda/Gda-5.0.gir
@@ -4845,7 +4845,7 @@ GDA_CONNECTION_OPTIONS_THREAD_SAFE or GDA_CONNECTION_OPTIONS_THREAD_ISOLATED fla
 
 Note about the @GDA_CONNECTION_OPTIONS_AUTO_META_DATA flag:
 &lt;itemizedlist&gt;
- &lt;listitem&gt;&lt;para&gt;Every time a DDL statement is successfully executed, the associated mate data, 
if
+ &lt;listitem&gt;&lt;para&gt;Every time a DDL statement is successfully executed, the associated meta data, 
if
               defined, will be updated, which has a impact on performances&lt;/para&gt;&lt;/listitem&gt;
  &lt;listitem&gt;&lt;para&gt;If a transaction is started and some DDL statements are executed and the 
transaction
            is not rolled back or committed, then the meta data may end up being 
wrong&lt;/para&gt;&lt;/listitem&gt;
@@ -7752,6 +7752,345 @@ Also clears @model's contents.</doc>
             c:type="GdaDataModelArrayPrivate"
             disguised="1">
     </record>
+    <class name="DataModelBdb"
+           c:symbol-prefix="data_model_bdb"
+           c:type="GdaDataModelBdb"
+           parent="GObject.Object"
+           glib:type-name="GdaDataModelBdb"
+           glib:get-type="gda_data_model_bdb_get_type"
+           glib:type-struct="DataModelBdbClass">
+      <implements name="DataModel"/>
+      <function name="new" c:identifier="gda_data_model_bdb_new">
+        <doc xml:space="preserve">Creates a new #GdaDataModel object to access the contents of the Berkeley 
DB file @file,
+for the database @db_name if not %NULL</doc>
+        <return-value transfer-ownership="full">
+          <doc xml:space="preserve">a new #GdaDataModel</doc>
+          <type name="DataModel" c:type="GdaDataModel*"/>
+        </return-value>
+        <parameters>
+          <parameter name="filename" transfer-ownership="none">
+            <doc xml:space="preserve">name of the file containing the database</doc>
+            <type name="utf8" c:type="const gchar*"/>
+          </parameter>
+          <parameter name="db_name"
+                     transfer-ownership="none"
+                     nullable="1"
+                     allow-none="1">
+            <doc xml:space="preserve">the name of the database within @filename, or %NULL</doc>
+            <type name="utf8" c:type="const gchar*"/>
+          </parameter>
+        </parameters>
+      </function>
+      <virtual-method name="create_data_columns" introspectable="0">
+        <return-value>
+          <type name="GLib.SList" c:type="GSList*">
+            <type name="gpointer" c:type="gpointer"/>
+          </type>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+        </parameters>
+      </virtual-method>
+      <virtual-method name="create_key_columns" introspectable="0">
+        <return-value>
+          <type name="GLib.SList" c:type="GSList*">
+            <type name="gpointer" c:type="gpointer"/>
+          </type>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+        </parameters>
+      </virtual-method>
+      <virtual-method name="get_data_part">
+        <return-value transfer-ownership="full">
+          <type name="GObject.Value" c:type="GValue*"/>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+          <parameter name="data" transfer-ownership="none">
+            <type name="gpointer" c:type="gpointer"/>
+          </parameter>
+          <parameter name="length" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+          <parameter name="part" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+        </parameters>
+      </virtual-method>
+      <virtual-method name="get_key_part">
+        <return-value transfer-ownership="full">
+          <type name="GObject.Value" c:type="GValue*"/>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+          <parameter name="data" transfer-ownership="none">
+            <type name="gpointer" c:type="gpointer"/>
+          </parameter>
+          <parameter name="length" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+          <parameter name="part" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+        </parameters>
+      </virtual-method>
+      <virtual-method name="update_data_part" throws="1">
+        <return-value transfer-ownership="none">
+          <type name="gboolean" c:type="gboolean"/>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+          <parameter name="data" transfer-ownership="none">
+            <type name="gpointer" c:type="gpointer"/>
+          </parameter>
+          <parameter name="length" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+          <parameter name="part" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+          <parameter name="value" transfer-ownership="none">
+            <type name="GObject.Value" c:type="const GValue*"/>
+          </parameter>
+        </parameters>
+      </virtual-method>
+      <virtual-method name="update_key_part" throws="1">
+        <return-value transfer-ownership="none">
+          <type name="gboolean" c:type="gboolean"/>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+          <parameter name="data" transfer-ownership="none">
+            <type name="gpointer" c:type="gpointer"/>
+          </parameter>
+          <parameter name="length" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+          <parameter name="part" transfer-ownership="none">
+            <type name="gint" c:type="gint"/>
+          </parameter>
+          <parameter name="value" transfer-ownership="none">
+            <type name="GObject.Value" c:type="const GValue*"/>
+          </parameter>
+        </parameters>
+      </virtual-method>
+      <method name="clean_errors"
+              c:identifier="gda_data_model_bdb_clean_errors">
+        <doc xml:space="preserve">Reset the list of errors which have occurred while using @model</doc>
+        <return-value transfer-ownership="none">
+          <type name="none" c:type="void"/>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <doc xml:space="preserve">a #GdaDataModelBdb object</doc>
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+        </parameters>
+      </method>
+      <method name="get_errors" c:identifier="gda_data_model_bdb_get_errors">
+        <doc xml:space="preserve">Get the list of errors which have occurred while using @model</doc>
+        <return-value transfer-ownership="none">
+          <doc xml:space="preserve">a read-only list of #GError pointers, or %NULL if no error has 
occurred</doc>
+          <type name="GLib.SList" c:type="const GSList*">
+            <type name="GLib.Error"/>
+          </type>
+        </return-value>
+        <parameters>
+          <instance-parameter name="model" transfer-ownership="none">
+            <doc xml:space="preserve">a #GdaDataModelBdb object</doc>
+            <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+          </instance-parameter>
+        </parameters>
+      </method>
+      <property name="db-name"
+                writable="1"
+                construct-only="1"
+                transfer-ownership="none">
+        <type name="utf8" c:type="gchar*"/>
+      </property>
+      <property name="filename"
+                writable="1"
+                construct-only="1"
+                transfer-ownership="none">
+        <type name="utf8" c:type="gchar*"/>
+      </property>
+      <field name="object">
+        <type name="GObject.Object" c:type="GObject"/>
+      </field>
+      <field name="priv">
+        <type name="DataModelBdbPrivate" c:type="GdaDataModelBdbPrivate*"/>
+      </field>
+    </class>
+    <record name="DataModelBdbClass"
+            c:type="GdaDataModelBdbClass"
+            glib:is-gtype-struct-for="DataModelBdb">
+      <field name="parent_class">
+        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+      </field>
+      <field name="create_key_columns" introspectable="0">
+        <callback name="create_key_columns" introspectable="0">
+          <return-value>
+            <type name="GLib.SList" c:type="GSList*">
+              <type name="gpointer" c:type="gpointer"/>
+            </type>
+          </return-value>
+          <parameters>
+            <parameter name="model" transfer-ownership="none">
+              <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+            </parameter>
+          </parameters>
+        </callback>
+      </field>
+      <field name="create_data_columns" introspectable="0">
+        <callback name="create_data_columns" introspectable="0">
+          <return-value>
+            <type name="GLib.SList" c:type="GSList*">
+              <type name="gpointer" c:type="gpointer"/>
+            </type>
+          </return-value>
+          <parameters>
+            <parameter name="model" transfer-ownership="none">
+              <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+            </parameter>
+          </parameters>
+        </callback>
+      </field>
+      <field name="get_key_part">
+        <callback name="get_key_part">
+          <return-value transfer-ownership="full">
+            <type name="GObject.Value" c:type="GValue*"/>
+          </return-value>
+          <parameters>
+            <parameter name="model" transfer-ownership="none">
+              <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+            </parameter>
+            <parameter name="data" transfer-ownership="none">
+              <type name="gpointer" c:type="gpointer"/>
+            </parameter>
+            <parameter name="length" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+            <parameter name="part" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+          </parameters>
+        </callback>
+      </field>
+      <field name="get_data_part">
+        <callback name="get_data_part">
+          <return-value transfer-ownership="full">
+            <type name="GObject.Value" c:type="GValue*"/>
+          </return-value>
+          <parameters>
+            <parameter name="model" transfer-ownership="none">
+              <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+            </parameter>
+            <parameter name="data" transfer-ownership="none">
+              <type name="gpointer" c:type="gpointer"/>
+            </parameter>
+            <parameter name="length" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+            <parameter name="part" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+          </parameters>
+        </callback>
+      </field>
+      <field name="update_key_part">
+        <callback name="update_key_part" throws="1">
+          <return-value transfer-ownership="none">
+            <type name="gboolean" c:type="gboolean"/>
+          </return-value>
+          <parameters>
+            <parameter name="model" transfer-ownership="none">
+              <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+            </parameter>
+            <parameter name="data" transfer-ownership="none">
+              <type name="gpointer" c:type="gpointer"/>
+            </parameter>
+            <parameter name="length" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+            <parameter name="part" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+            <parameter name="value" transfer-ownership="none">
+              <type name="GObject.Value" c:type="const GValue*"/>
+            </parameter>
+          </parameters>
+        </callback>
+      </field>
+      <field name="update_data_part">
+        <callback name="update_data_part" throws="1">
+          <return-value transfer-ownership="none">
+            <type name="gboolean" c:type="gboolean"/>
+          </return-value>
+          <parameters>
+            <parameter name="model" transfer-ownership="none">
+              <type name="DataModelBdb" c:type="GdaDataModelBdb*"/>
+            </parameter>
+            <parameter name="data" transfer-ownership="none">
+              <type name="gpointer" c:type="gpointer"/>
+            </parameter>
+            <parameter name="length" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+            <parameter name="part" transfer-ownership="none">
+              <type name="gint" c:type="gint"/>
+            </parameter>
+            <parameter name="value" transfer-ownership="none">
+              <type name="GObject.Value" c:type="const GValue*"/>
+            </parameter>
+          </parameters>
+        </callback>
+      </field>
+      <field name="_gda_reserved1" introspectable="0">
+        <callback name="_gda_reserved1">
+          <return-value transfer-ownership="none">
+            <type name="none" c:type="void"/>
+          </return-value>
+        </callback>
+      </field>
+      <field name="_gda_reserved2" introspectable="0">
+        <callback name="_gda_reserved2">
+          <return-value transfer-ownership="none">
+            <type name="none" c:type="void"/>
+          </return-value>
+        </callback>
+      </field>
+      <field name="_gda_reserved3" introspectable="0">
+        <callback name="_gda_reserved3">
+          <return-value transfer-ownership="none">
+            <type name="none" c:type="void"/>
+          </return-value>
+        </callback>
+      </field>
+      <field name="_gda_reserved4" introspectable="0">
+        <callback name="_gda_reserved4">
+          <return-value transfer-ownership="none">
+            <type name="none" c:type="void"/>
+          </return-value>
+        </callback>
+      </field>
+    </record>
+    <record name="DataModelBdbPrivate"
+            c:type="GdaDataModelBdbPrivate"
+            disguised="1">
+    </record>
     <class name="DataModelDir"
            c:symbol-prefix="data_model_dir"
            c:type="GdaDataModelDir"
@@ -9215,10 +9554,11 @@ gda_data_model_iter_get_value_at() will return %NULL when using an iterator.</do
         <type name="utf8" c:type="gchar*"/>
       </property>
       <property name="cnc"
+                introspectable="0"
                 writable="1"
                 construct-only="1"
                 transfer-ownership="none">
-        <type name="Connection"/>
+        <type/>
       </property>
       <property name="filter"
                 writable="1"
@@ -9232,6 +9572,9 @@ gda_data_model_iter_get_value_at() will return %NULL when using an iterator.</do
                 transfer-ownership="none">
         <type name="gint" c:type="gint"/>
       </property>
+      <property name="use-rdn" writable="1" transfer-ownership="none">
+        <type name="gboolean" c:type="gboolean"/>
+      </property>
       <field name="object">
         <type name="GObject.Object" c:type="GObject"/>
       </field>
@@ -13517,7 +13860,7 @@ a &amp;lt;table&amp;gt; or a &amp;lt;view&amp;gt;):
           column NMTOKEN #IMPLIED
           ref_column NMTOKEN #IMPLIED&gt;
 
-)&gt;
+&lt;!ELEMENT unique (column)&gt;
 
 &lt;!ELEMENT view (definition)&gt;
 &lt;!ATTLIST view
@@ -15364,7 +15707,7 @@ Use this object with gda_repetitive_statement_append_set().</doc>
 
 This is a pointer to the internal array of values. Don't try to free
 or modify it (modifying is reserved to database provider's implementations).</doc>
-        <return-value transfer-ownership="full">
+        <return-value transfer-ownership="none">
           <doc xml:space="preserve">a pointer to the #GValue in the position @num of @row.</doc>
           <type name="GObject.Value" c:type="GValue*"/>
         </return-value>
@@ -23540,6 +23883,12 @@ To include variables in the @sql string, see the
       <property name="column-error" transfer-ownership="none">
         <type name="gint" c:type="gint"/>
       </property>
+      <property name="debug"
+                readable="0"
+                writable="1"
+                transfer-ownership="none">
+        <type name="gboolean" c:type="gboolean"/>
+      </property>
       <property name="line-error" transfer-ownership="none">
         <type name="gint" c:type="gint"/>
       </property>
@@ -23798,7 +24147,7 @@ To include variables in the @sql string, see the
       <field name="params_used" writable="1">
         <doc xml:space="preserve">When rendering is complete, contains the ordered list of parameters which 
have been used while doing the rendering</doc>
         <type name="GLib.SList" c:type="GSList*">
-          <type name="gpointer" c:type="gpointer"/>
+          <type name="Holder"/>
         </type>
       </field>
       <field name="provider" writable="1">
diff --git a/libgda/libgda-5.0.vapi b/libgda/libgda-5.0.vapi
index 87281f3..cf119cf 100644
--- a/libgda/libgda-5.0.vapi
+++ b/libgda/libgda-5.0.vapi
@@ -250,6 +250,26 @@ namespace Gda {
                [NoAccessorMethod]
                public bool read_only { get; set; }
        }
+       [CCode (cheader_filename = "libgda/libgda.h", type_id = "gda_data_model_bdb_get_type ()")]
+       public class DataModelBdb : GLib.Object, Gda.DataModel {
+               [CCode (has_construct_function = false)]
+               protected DataModelBdb ();
+               public void clean_errors ();
+               [NoWrapper]
+               public virtual GLib.Value? get_data_part (void* data, int length, int part);
+               public unowned GLib.SList<GLib.Error> get_errors ();
+               [NoWrapper]
+               public virtual GLib.Value? get_key_part (void* data, int length, int part);
+               public static Gda.DataModel @new (string filename, string? db_name);
+               [NoWrapper]
+               public virtual bool update_data_part (void* data, int length, int part, GLib.Value value) 
throws GLib.Error;
+               [NoWrapper]
+               public virtual bool update_key_part (void* data, int length, int part, GLib.Value value) 
throws GLib.Error;
+               [NoAccessorMethod]
+               public string db_name { owned get; construct; }
+               [NoAccessorMethod]
+               public string filename { owned get; construct; }
+       }
        [CCode (cheader_filename = "libgda/libgda.h", type_id = "gda_data_model_dir_get_type ()")]
        public class DataModelDir : GLib.Object, Gda.DataModel {
                [CCode (has_construct_function = false)]
@@ -324,11 +344,11 @@ namespace Gda {
                [NoAccessorMethod]
                public string @base { owned get; construct; }
                [NoAccessorMethod]
-               public Gda.Connection cnc { owned get; construct; }
-               [NoAccessorMethod]
                public string filter { owned get; construct; }
                [NoAccessorMethod]
                public int scope { get; construct; }
+               [NoAccessorMethod]
+               public bool use_rdn { get; set; }
        }
        [CCode (cheader_filename = "libgda/libgda.h", type_id = "gda_data_pivot_get_type ()")]
        public class DataPivot : GLib.Object, Gda.DataModel {
@@ -600,9 +620,9 @@ namespace Gda {
        [CCode (cheader_filename = "libgda/libgda.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gda_meta_context_get_type ()")]
        [Compact]
        public class MetaContext {
-               [CCode (array_length_cname = "size")]
+               [CCode (array_length = false, array_null_terminated = true)]
                public weak string[] column_names;
-               [CCode (array_length_cname = "size")]
+               [CCode (array_length = false, array_null_terminated = true)]
                public weak GLib.Value[] column_values;
                public weak GLib.HashTable<string,GLib.Value?> columns;
                public int size;
@@ -738,7 +758,7 @@ namespace Gda {
                [CCode (has_construct_function = false)]
                public Row (int count);
                public int get_length ();
-               public GLib.Value? get_value (int num);
+               public unowned GLib.Value? get_value (int num);
                public void invalidate_value (GLib.Value value);
                public void invalidate_value_e (GLib.Value value, owned GLib.Error? error);
                public bool value_is_valid (GLib.Value value);
@@ -858,9 +878,9 @@ namespace Gda {
        }
        [CCode (cheader_filename = "libgda/libgda.h", type_id = "gda_set_get_type ()")]
        public class Set : GLib.Object {
-               public GLib.List<Gda.SetGroup> groups_list;
-               public GLib.List<Gda.SetNode> nodes_list;
-               public GLib.List<Gda.SetSource> sources_list;
+               public weak GLib.SList<Gda.SetGroup> groups_list;
+               public weak GLib.SList<Gda.SetNode> nodes_list;
+               public weak GLib.SList<Gda.SetSource> sources_list;
                [CCode (has_construct_function = false)]
                public Set (GLib.SList<Gda.Holder> holders);
                public bool add_holder (Gda.Holder holder);
@@ -903,7 +923,7 @@ namespace Gda {
        [CCode (cheader_filename = "libgda/libgda.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gda_set_group_get_type ()")]
        [Compact]
        public class SetGroup {
-               public GLib.List<Gda.SetNode> nodes;
+               public weak GLib.SList<Gda.SetNode> nodes;
                public weak Gda.SetSource nodes_source;
                [CCode (has_construct_function = false)]
                public SetGroup (Gda.SetNode node);
@@ -937,7 +957,7 @@ namespace Gda {
        [Compact]
        public class SetSource {
                public weak Gda.DataModel data_model;
-               public GLib.List<Gda.SetNode> nodes;
+               public weak GLib.SList<Gda.SetNode> nodes;
                [CCode (has_construct_function = false)]
                public SetSource (Gda.DataModel model);
                public void add_node (Gda.SetNode node);
@@ -996,6 +1016,8 @@ namespace Gda {
                [NoAccessorMethod]
                public int column_error { get; }
                [NoAccessorMethod]
+               public bool debug { set; }
+               [NoAccessorMethod]
                public int line_error { get; }
                [NoAccessorMethod]
                public int mode { get; set; }
@@ -1099,7 +1121,7 @@ namespace Gda {
        }
        [CCode (cheader_filename = "libgda/libgda.h", type_id = "gda_transaction_status_get_type ()")]
        public class TransactionStatus : GLib.Object {
-               public GLib.List<Gda.TransactionStatusEvent> events;
+               public weak GLib.List<Gda.TransactionStatusEvent> events;
                public Gda.TransactionIsolation isolation_level;
                public weak string name;
                public Gda.TransactionStatusState state;
@@ -1387,7 +1409,7 @@ namespace Gda {
                public weak string obj_short_name;
                public weak string obj_full_name;
                public weak string obj_owner;
-               public GLib.List<Gda.MetaDbObject> depend_list;
+               public weak GLib.SList<Gda.MetaDbObject> depend_list;
                [CCode (cname = "extra.meta_table")]
                public Gda.MetaTable extra_meta_table;
                [CCode (cname = "extra.meta_view")]
@@ -1401,11 +1423,11 @@ namespace Gda {
        }
        [CCode (cheader_filename = "libgda/libgda.h", has_type_id = false)]
        public struct MetaTable {
-               public GLib.List<Gda.MetaTableColumn> columns;
+               public weak GLib.SList<Gda.MetaTableColumn> columns;
                public int pk_cols_array;
                public int pk_cols_nb;
-               public GLib.List<Gda.MetaTableForeignKey> reverse_fk_list;
-               public GLib.List<Gda.MetaTableForeignKey> fk_list;
+               public weak GLib.SList<Gda.MetaTableForeignKey> reverse_fk_list;
+               public weak GLib.SList<Gda.MetaTableForeignKey> fk_list;
        }
        [CCode (cheader_filename = "libgda/libgda.h", has_type_id = false)]
        public struct MetaTableColumn {
@@ -1479,7 +1501,7 @@ namespace Gda {
        public struct SqlRenderingContext {
                public Gda.StatementSqlFlag flags;
                public weak Gda.Set @params;
-               public GLib.List<Gda.Holder> params_used;
+               public weak GLib.SList<Gda.Holder> params_used;
                public weak Gda.ServerProvider provider;
                public weak Gda.Connection cnc;
                public weak Gda.SqlRenderingValue render_value;


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