[libgdamm] Regenerate libgda_signals.defs.



commit bdf86a0a954ec92510fd9a8e3a41668c2843c1b5
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 25 21:43:22 2014 +0200

    Regenerate libgda_signals.defs.

 libgda/src/libgda_signals.defs                  |  132 +++++++++++-----------
 tools/gen_scripts/libgda_generate_extra_defs.sh |    6 +-
 2 files changed, 69 insertions(+), 69 deletions(-)
---
diff --git a/libgda/src/libgda_signals.defs b/libgda/src/libgda_signals.defs
index 8e1e84a..9dac226 100644
--- a/libgda/src/libgda_signals.defs
+++ b/libgda/src/libgda_signals.defs
@@ -77,19 +77,19 @@
   )
 )
 
-(define-property system-filename
+(define-property user-filename
   (of-object "GdaConfig")
   (prop-type "GParamString")
-  (docs "File to use for system-wide DSN list")
+  (docs "File to use for per-user DSN list")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property user-filename
+(define-property system-filename
   (of-object "GdaConfig")
   (prop-type "GParamString")
-  (docs "File to use for per-user DSN list")
+  (docs "File to use for system-wide DSN list")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -106,34 +106,37 @@
   )
 )
 
-(define-signal conn-opened
+(define-signal opened
   (of-object "GdaConnection")
   (return-type "void")
   (when "first")
 )
 
-(define-signal conn-to-close
+(define-signal closed
   (of-object "GdaConnection")
   (return-type "void")
-  (when "first")
+  (when "last")
 )
 
-(define-signal conn-closed
+(define-signal dsn-changed
   (of-object "GdaConnection")
   (return-type "void")
   (when "last")
 )
 
-(define-signal dsn-changed
+(define-signal transaction-status-changed
   (of-object "GdaConnection")
   (return-type "void")
   (when "last")
 )
 
-(define-signal transaction-status-changed
+(define-signal status-changed
   (of-object "GdaConnection")
   (return-type "void")
   (when "last")
+  (parameters
+    '("GdaConnectionStatus" "p0")
+  )
 )
 
 (define-property dsn
@@ -190,37 +193,28 @@
   (construct-only #f)
 )
 
-(define-property thread-owner
+(define-property events-history-size
   (of-object "GdaConnection")
-  (prop-type "GParamPointer")
-  (docs "Unique GThread from which the connection will be available.This should only be modified by the 
database providers' implementation")
+  (prop-type "GParamInt")
+  (docs "Number of history events to keep in memory")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property is-wrapper
-  (of-object "GdaConnection")
-  (prop-type "GParamBoolean")
-  (docs "Tells if the connection acts as a thread wrapper around another connection, making it completely 
thread safe")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
-)
-
-(define-property monitor-wrapped-in-mainloop
+(define-property execution-timer
   (of-object "GdaConnection")
   (prop-type "GParamBoolean")
-  (docs "Make the connection set up a monitoring function in the mainloop to monitor the wrapped connection")
+  (docs "Computes execution delay for each executed statement")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property events-history-size
+(define-property execution-slowdown
   (of-object "GdaConnection")
-  (prop-type "GParamInt")
-  (docs "")
+  (prop-type "GParamUInt")
+  (docs "Artificially slows down the execution of queries")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -351,6 +345,12 @@
   )
 )
 
+(define-signal access-changed
+  (of-object "GdaDataModel")
+  (return-type "void")
+  (when "last")
+)
+
 ;; From GdaDataModelImport
 
 (define-property random-access
@@ -424,49 +424,13 @@
   (when "first")
 )
 
-(define-property id
-  (of-object "GdaDataModelIter")
-  (prop-type "GParamString")
-  (docs "Id")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property name
-  (of-object "GdaDataModelIter")
-  (prop-type "GParamString")
-  (docs "Name")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property description
-  (of-object "GdaDataModelIter")
-  (prop-type "GParamString")
-  (docs "Description")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property holders
-  (of-object "GdaDataModelIter")
-  (prop-type "GParamPointer")
-  (docs "GdaHolder objects the set should contain")
-  (readable #f)
-  (writable #t)
-  (construct-only #t)
-)
-
 (define-property data-model
   (of-object "GdaDataModelIter")
   (prop-type "GParamObject")
   (docs "Data model for which the iter is for")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
 (define-property current-row
@@ -589,6 +553,15 @@
   (construct-only #f)
 )
 
+(define-property cache-changes
+  (of-object "GdaDataProxy")
+  (prop-type "GParamBoolean")
+  (docs "set to TRUE to keep track of changes even when the proxied data model is changed")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GdaDataSelect
 
 (define-property connection
@@ -681,6 +654,15 @@
   (construct-only #f)
 )
 
+(define-property execution-delay
+  (of-object "GdaDataSelect")
+  (prop-type "GParamDouble")
+  (docs "")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GdaHolder
 
 (define-signal source-changed
@@ -795,6 +777,15 @@
   (construct-only #f)
 )
 
+(define-property validate-changes
+  (of-object "GdaHolder")
+  (prop-type "GParamBoolean")
+  (docs "Defines if the validate-change signal is emitted on value change")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GdaMetaStore
 
 (define-signal suggest-update
@@ -802,7 +793,7 @@
   (return-type "GError*")
   (when "last")
   (parameters
-    '("GdaMetaContext" "p0")
+    '("gpointer" "p0")
   )
 )
 
@@ -811,7 +802,7 @@
   (return-type "void")
   (when "first")
   (parameters
-    '("GdaSList" "p0")
+    '("gpointer" "p0")
   )
 )
 
@@ -1046,6 +1037,15 @@
   (construct-only #t)
 )
 
+(define-property validate-changes
+  (of-object "GdaSet")
+  (prop-type "GParamBoolean")
+  (docs "Defines if the validate-set signal is emitted")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GdaStatement
 
 (define-signal reset
diff --git a/tools/gen_scripts/libgda_generate_extra_defs.sh b/tools/gen_scripts/libgda_generate_extra_defs.sh
index e4e6de5..3510540 100755
--- a/tools/gen_scripts/libgda_generate_extra_defs.sh
+++ b/tools/gen_scripts/libgda_generate_extra_defs.sh
@@ -18,7 +18,7 @@
 # 4. Like step 2 when updating only the libgda_signals.defs file.
 
 ROOT_DIR="$(dirname "$0")/../.."
-GEN_DIR="$ROOT_DIR/codegen/extradefs"
+GEN_DIR="$ROOT_DIR/tools/extra_defs_gen"
 OUT_DIR="$ROOT_DIR/libgda/src"
 OUT_DEFS_FILE="$OUT_DIR"/libgda_signals.defs
 
@@ -26,8 +26,8 @@ if [ $# -eq 0 ]
 then
   # Without LC_ALL=C documentation (docs "xxx") may be translated in the .defs file.
   LC_ALL=C "$GEN_DIR"/generate_extra_defs > "$OUT_DEFS_FILE"
-  PATCH_OPTIONS="--backup --version-control=simple --suffix=.orig"
-  patch $PATCH_OPTIONS "$OUT_DEFS_FILE" "$OUT_DEFS_FILE".patch
+  #PATCH_OPTIONS="--backup --version-control=simple --suffix=.orig"
+  #patch $PATCH_OPTIONS "$OUT_DEFS_FILE" "$OUT_DEFS_FILE".patch
 elif [ "$1" = "--make-patch" ]
 then
   diff --unified=10 "$OUT_DEFS_FILE".orig "$OUT_DEFS_FILE" > "$OUT_DEFS_FILE".patch


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