[libgda] Don't allow the TO_IMPLEMENT macro to be in the public headers
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Don't allow the TO_IMPLEMENT macro to be in the public headers
- Date: Sat, 8 Jun 2013 18:12:11 +0000 (UTC)
commit d807a87bf0032f88ebcb548282ecdae32386c422
Author: Vivien Malerba <malerba gnome-db org>
Date: Sat Jun 8 15:54:01 2013 +0200
Don't allow the TO_IMPLEMENT macro to be in the public headers
libgda-report/engine/gda-report-engine.c | 2 ++
libgda-report/engine/rt-parser.c | 2 ++
libgda-ui/data-entries/gdaui-entry-combo.c | 1 +
libgda-ui/data-entries/gdaui-entry-common-time.c | 1 +
libgda-ui/data-entries/gdaui-entry-number.c | 1 +
libgda-ui/data-entries/gdaui-entry-string.c | 1 +
libgda-ui/gdaui-basic-form.c | 1 +
libgda-ui/gdaui-cloud.c | 1 +
libgda-ui/gdaui-data-store.c | 1 +
libgda-ui/gdaui-raw-form.c | 1 +
libgda-ui/gdaui-raw-grid.c | 1 +
libgda-ui/gdaui-server-operation.c | 1 +
libgda-xslt/sql_backend.c | 2 +-
libgda/Makefile.am | 2 +-
libgda/gda-connection.c | 1 +
libgda/gda-data-model-bdb.c | 1 +
libgda/gda-data-pivot.c | 1 +
libgda/gda-decl.h | 2 --
libgda/gda-meta-store.c | 1 +
libgda/gda-meta-struct-io.c | 2 +-
libgda/gda-meta-struct.c | 1 +
libgda/gda-sql-builder.c | 1 +
libgda/gda-tree.c | 1 +
libgda/gda-util.c | 2 +-
libgda/handlers/gda-handler-time.c | 1 +
libgda/sqlite/gda-sqlite-provider.c | 1 +
libgda/sqlite/virtual/gda-ldap-connection.c | 1 +
libgda/sqlite/virtual/gda-vprovider-data-model.c | 1 +
providers/firebird/gda-firebird-blob-op.c | 1 +
providers/firebird/gda-firebird-meta.c | 1 +
providers/firebird/gda-firebird-provider.c | 2 ++
providers/firebird/gda-firebird-recordset.c | 1 +
providers/jdbc/gda-jdbc-meta.c | 1 +
providers/jdbc/gda-jdbc-provider.c | 1 +
providers/ldap/gda-ldap-util.c | 1 +
providers/ldap/gdaprov-data-model-ldap.c | 1 +
providers/mysql/gda-mysql-blob-op.c | 1 +
providers/mysql/gda-mysql-provider.c | 1 +
providers/oracle/gda-oracle-blob-op.c | 1 +
providers/oracle/gda-oracle-meta.c | 1 +
providers/oracle/gda-oracle-provider.c | 2 ++
providers/oracle/gda-oracle-util.c | 1 +
providers/postgres/gda-postgres-provider.c | 1 +
providers/reuseable/postgres/gda-postgres-meta.c | 1 +
.../skel-implementation/capi/gda-capi-blob-op.c | 1 +
providers/skel-implementation/capi/gda-capi-meta.c | 2 +-
.../skel-implementation/capi/gda-capi-provider.c | 1 +
.../skel-implementation/capi/gda-capi-pstmt.c | 1 +
.../skel-implementation/capi/gda-capi-recordset.c | 1 +
.../models/gda-models-provider.c | 1 +
providers/web/gda-web-blob-op.c | 1 +
providers/web/gda-web-provider.c | 1 +
tests/data-model-errors.c | 1 +
tests/gda-ddl-creator.c | 2 +-
tests/parser/check_dml_comp.c | 2 +-
tests/test-cnc-utils.c | 1 +
tools/browser/browser-connection.c | 2 +-
tools/browser/data-manager/data-source-manager.c | 2 +-
tools/browser/data-manager/xml-spec-editor.c | 1 +
tools/browser/ldap-browser/classes-view.c | 1 +
tools/browser/ldap-browser/hierarchy-view.c | 1 +
tools/browser/ldap-browser/ldap-classes-page.c | 1 +
tools/browser/ldap-browser/ldap-entries-page.c | 1 +
tools/browser/ldap-browser/ldap-search-page.c | 1 +
tools/browser/mgr-favorites.c | 1 +
tools/browser/query-exec/query-console-page.c | 1 +
tools/browser/query-exec/query-exec-perspective.c | 1 +
.../schema-browser/schema-browser-perspective.c | 1 +
tools/browser/schema-browser/table-columns.c | 1 +
tools/browser/schema-browser/table-info.c | 1 +
tools/browser/schema-browser/table-preferences.c | 1 +
tools/cmdtool/tool-decl.h | 2 ++
72 files changed, 76 insertions(+), 11 deletions(-)
---
diff --git a/libgda-report/engine/gda-report-engine.c b/libgda-report/engine/gda-report-engine.c
index fe0c130..2ab60bf 100644
--- a/libgda-report/engine/gda-report-engine.c
+++ b/libgda-report/engine/gda-report-engine.c
@@ -39,6 +39,8 @@
#include "rt-parser.h"
+#include <libgda/gda-debug-macros.h>
+
struct _GdaReportEnginePrivate {
xmlDocPtr doc; /* may be %NULL */
xmlNodePtr spec;
diff --git a/libgda-report/engine/rt-parser.c b/libgda-report/engine/rt-parser.c
index dff4142..fba920b 100644
--- a/libgda-report/engine/rt-parser.c
+++ b/libgda-report/engine/rt-parser.c
@@ -26,6 +26,8 @@
#include <gdk-pixbuf/gdk-pixdata.h>
#endif
+#include <libgda/gda-debug-macros.h>
+
/* RTE markup analysis */
typedef enum {
MARKUP_NONE, /* 0 */
diff --git a/libgda-ui/data-entries/gdaui-entry-combo.c b/libgda-ui/data-entries/gdaui-entry-combo.c
index e9d4018..227840a 100644
--- a/libgda-ui/data-entries/gdaui-entry-combo.c
+++ b/libgda-ui/data-entries/gdaui-entry-combo.c
@@ -24,6 +24,7 @@
#include "gdaui-entry-combo.h"
#include "gdaui-combo.h"
#include "gdaui-data-store.h"
+#include <libgda/gda-debug-macros.h>
static void gdaui_entry_combo_class_init (GdauiEntryComboClass *class);
static void gdaui_entry_combo_init (GdauiEntryCombo *wid);
diff --git a/libgda-ui/data-entries/gdaui-entry-common-time.c
b/libgda-ui/data-entries/gdaui-entry-common-time.c
index 37e93c9..1144a8a 100644
--- a/libgda-ui/data-entries/gdaui-entry-common-time.c
+++ b/libgda-ui/data-entries/gdaui-entry-common-time.c
@@ -25,6 +25,7 @@
#include <gdk/gdkkeysyms.h>
#include <string.h>
#include "gdaui-formatted-entry.h"
+#include <libgda/gda-debug-macros.h>
/*
* Main static functions
diff --git a/libgda-ui/data-entries/gdaui-entry-number.c b/libgda-ui/data-entries/gdaui-entry-number.c
index 27da545..270a517 100644
--- a/libgda-ui/data-entries/gdaui-entry-number.c
+++ b/libgda-ui/data-entries/gdaui-entry-number.c
@@ -23,6 +23,7 @@
#include "gdaui-numeric-entry.h"
#include <libgda/gda-data-handler.h>
#include "gdk/gdkkeysyms.h"
+#include <libgda/gda-debug-macros.h>
/*
* Main static functions
diff --git a/libgda-ui/data-entries/gdaui-entry-string.c b/libgda-ui/data-entries/gdaui-entry-string.c
index c70e42d..bc18739 100644
--- a/libgda-ui/data-entries/gdaui-entry-string.c
+++ b/libgda-ui/data-entries/gdaui-entry-string.c
@@ -25,6 +25,7 @@
#include "gdaui-entry.h"
#include <libgda/gda-data-handler.h>
#include "gdk/gdkkeysyms.h"
+#include <libgda/gda-debug-macros.h>
/*
* Main static functions
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index 442e033..5f9886d 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -33,6 +33,7 @@
#include <libgda-ui/gdaui-raw-form.h>
#include <libgda-ui/gdaui-easy.h>
#include <libgda/binreloc/gda-binreloc.h>
+#include <libgda/gda-debug-macros.h>
#define SPACING 3
static void gdaui_basic_form_class_init (GdauiBasicFormClass * class);
diff --git a/libgda-ui/gdaui-cloud.c b/libgda-ui/gdaui-cloud.c
index db54b9e..4016c48 100644
--- a/libgda-ui/gdaui-cloud.c
+++ b/libgda-ui/gdaui-cloud.c
@@ -26,6 +26,7 @@
#include <gdk/gdkkeysyms.h>
#include "internal/popup-container.h"
#include "gdaui-data-selector.h"
+#include <libgda/gda-debug-macros.h>
static void gdaui_cloud_class_init (GdauiCloudClass * class);
static void gdaui_cloud_init (GdauiCloud *wid);
diff --git a/libgda-ui/gdaui-data-store.c b/libgda-ui/gdaui-data-store.c
index fc34357..669e372 100644
--- a/libgda-ui/gdaui-data-store.c
+++ b/libgda-ui/gdaui-data-store.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <libgda/gda-data-proxy.h>
#include <glib/gi18n-lib.h>
+#include <libgda/gda-debug-macros.h>
static void gdaui_data_store_class_init (GdauiDataStoreClass *class);
static void gdaui_data_store_init (GdauiDataStore *store);
diff --git a/libgda-ui/gdaui-raw-form.c b/libgda-ui/gdaui-raw-form.c
index 7a63f8e..e2963cd 100644
--- a/libgda-ui/gdaui-raw-form.c
+++ b/libgda-ui/gdaui-raw-form.c
@@ -32,6 +32,7 @@
#include "gdaui-data-filter.h"
#include "internal/utility.h"
#include "data-entries/gdaui-entry-shell.h"
+#include <libgda/gda-debug-macros.h>
static void gdaui_raw_form_class_init (GdauiRawFormClass * class);
static void gdaui_raw_form_init (GdauiRawForm *wid);
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index ca97063..edec6a6 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -32,6 +32,7 @@
#include "data-entries/gdaui-data-cell-renderer-info.h"
#include <libgda/binreloc/gda-binreloc.h>
#include <gtk/gtk.h>
+#include <libgda/gda-debug-macros.h>
static void gdaui_raw_grid_class_init (GdauiRawGridClass *klass);
static void gdaui_raw_grid_init (GdauiRawGrid *wid);
diff --git a/libgda-ui/gdaui-server-operation.c b/libgda-ui/gdaui-server-operation.c
index 052092f..5cd6b07 100644
--- a/libgda-ui/gdaui-server-operation.c
+++ b/libgda-ui/gdaui-server-operation.c
@@ -31,6 +31,7 @@
#include "gdaui-data-proxy.h"
#include "gdaui-data-selector.h"
#include "gdaui-data-proxy-info.h"
+#include <libgda/gda-debug-macros.h>
static void gdaui_server_operation_class_init (GdauiServerOperationClass *class);
static void gdaui_server_operation_init (GdauiServerOperation *wid);
diff --git a/libgda-xslt/sql_backend.c b/libgda-xslt/sql_backend.c
index d7b9d15..39602ce 100644
--- a/libgda-xslt/sql_backend.c
+++ b/libgda-xslt/sql_backend.c
@@ -27,7 +27,7 @@
#include "libgda-xslt.h"
#include "sql_backend.h"
#include <libxml/xpathInternals.h>
-
+#include <libgda/gda-debug-macros.h>
#include <libgda/handlers/gda-handler-boolean.h>
#include <libgda/handlers/gda-handler-numerical.h>
diff --git a/libgda/Makefile.am b/libgda/Makefile.am
index f7cdb2a..45f96cd 100644
--- a/libgda/Makefile.am
+++ b/libgda/Makefile.am
@@ -74,7 +74,6 @@ gda_headers = \
gda-data-access-wrapper.h \
gda-data-proxy.h \
gda-data-select.h \
- gda-debug-macros.h \
gda-decl.h \
gda-enums.h \
gda-holder.h \
@@ -169,6 +168,7 @@ libgda_sources = \
dir-blob-op.c \
gda-attributes-manager.c \
$(gda_headers) \
+ gda-debug-macros.h \
gda-connection-internal.h \
gda-connection-sqlite.h \
gda-custom-marshal.c \
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index aac4b2e..132657d 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -64,6 +64,7 @@
#include <libgda/gda-repetitive-statement.h>
#include <gda-statement-priv.h>
#include <sqlite/virtual/gda-vconnection-data-model.h>
+#include <libgda/gda-debug-macros.h>
#include <glib/gstdio.h>
#include <fcntl.h>
diff --git a/libgda/gda-data-model-bdb.c b/libgda/gda-data-model-bdb.c
index 306cb40..a76adb5 100644
--- a/libgda/gda-data-model-bdb.c
+++ b/libgda/gda-data-model-bdb.c
@@ -26,6 +26,7 @@
#include <db.h>
#include <gmodule.h>
#include <libgda/gda-server-provider.h>
+#include <libgda/gda-debug-macros.h>
#define BDB_VERSION (10000*DB_VERSION_MAJOR+100*DB_VERSION_MINOR+DB_VERSION_PATCH)
diff --git a/libgda/gda-data-pivot.c b/libgda/gda-data-pivot.c
index a5a3a05..a8bd70e 100644
--- a/libgda/gda-data-pivot.c
+++ b/libgda/gda-data-pivot.c
@@ -35,6 +35,7 @@
#include <virtual/libgda-virtual.h>
#include <sql-parser/gda-sql-parser.h>
#include <libgda/sql-parser/gda-sql-statement.h>
+#include <libgda/gda-debug-macros.h>
typedef struct {
GValue *value;
diff --git a/libgda/gda-decl.h b/libgda/gda-decl.h
index e668cf2..49b9652 100644
--- a/libgda/gda-decl.h
+++ b/libgda/gda-decl.h
@@ -23,8 +23,6 @@
#define __GLOBAL_DECL_H_
#include <glib.h>
-#include <libgda/gda-debug-macros.h>
-
typedef struct _GdaConfig GdaConfig;
typedef struct _GdaConfigClass GdaConfigClass;
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 6b06c94..335028c 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -64,6 +64,7 @@
#include <libgda/gda-connection-sqlite.h>
#include "gda-types.h"
#include "gda-data-meta-wrapper.h"
+#include <libgda/gda-debug-macros.h>
/*
Register GdaMetaContext type
diff --git a/libgda/gda-meta-struct-io.c b/libgda/gda-meta-struct-io.c
index 16077d0..7b11d66 100644
--- a/libgda/gda-meta-struct-io.c
+++ b/libgda/gda-meta-struct-io.c
@@ -25,7 +25,7 @@
#include <libxml/tree.h>
#include <libgda/gda-meta-struct-private.h>
#include <libgda/gda-attributes-manager.h>
-
+#include <libgda/gda-debug-macros.h>
#include <libgda/sql-parser/gda-statement-struct-util.h>
diff --git a/libgda/gda-meta-struct.c b/libgda/gda-meta-struct.c
index a8a76a1..b9ef9d7 100644
--- a/libgda/gda-meta-struct.c
+++ b/libgda/gda-meta-struct.c
@@ -30,6 +30,7 @@
#include <sql-parser/gda-sql-statement.h>
#include <sql-parser/gda-statement-struct-util.h>
#include <libgda/gda-attributes-manager.h>
+#include <libgda/gda-debug-macros.h>
/*
* Main static functions
diff --git a/libgda/gda-sql-builder.c b/libgda/gda-sql-builder.c
index 40434e1..00af1eb 100644
--- a/libgda/gda-sql-builder.c
+++ b/libgda/gda-sql-builder.c
@@ -30,6 +30,7 @@
#include <libgda/gda-statement.h>
#include <libgda/gda-data-handler.h>
#include <sql-parser/gda-sql-parser-enum-types.h>
+#include <libgda/gda-debug-macros.h>
/*
* Main static functions
diff --git a/libgda/gda-tree.c b/libgda/gda-tree.c
index 527bfde..6bcd870 100644
--- a/libgda/gda-tree.c
+++ b/libgda/gda-tree.c
@@ -27,6 +27,7 @@
#include "gda-tree.h"
#include "gda-tree-manager.h"
#include "gda-tree-node.h"
+#include <libgda/gda-debug-macros.h>
struct _GdaTreePrivate {
GSList *managers; /* list of GdaTreeManager */
diff --git a/libgda/gda-util.c b/libgda/gda-util.c
index 964811f..c4c4af9 100644
--- a/libgda/gda-util.c
+++ b/libgda/gda-util.c
@@ -52,7 +52,7 @@
#include <libgda/gda-set.h>
#include <libgda/gda-blob-op.h>
#include <libgda/gda-statement-priv.h>
-
+#include <libgda/gda-debug-macros.h>
#include <libgda/binreloc/gda-binreloc.h>
#define KEYWORDS_HASH_NO_STATIC
diff --git a/libgda/handlers/gda-handler-time.c b/libgda/handlers/gda-handler-time.c
index 9374867..085f397 100644
--- a/libgda/handlers/gda-handler-time.c
+++ b/libgda/handlers/gda-handler-time.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <ctype.h>
#include <glib/gi18n-lib.h>
+#include <libgda/gda-debug-macros.h>
static void gda_handler_time_class_init (GdaHandlerTimeClass *class);
static void gda_handler_time_init (GdaHandlerTime *hdl);
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index e6cdf3c..8644a05 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -61,6 +61,7 @@
#include <stdio.h>
#include "xml_embedded.h" /* this one is dynamically generated */
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
+#include <libgda/gda-debug-macros.h>
#define FILE_EXTENSION ".db"
static gchar *get_table_nth_column_name (GdaConnection *cnc, const gchar *table_name, gint pos);
diff --git a/libgda/sqlite/virtual/gda-ldap-connection.c b/libgda/sqlite/virtual/gda-ldap-connection.c
index 0f5cea9..cf205b0 100644
--- a/libgda/sqlite/virtual/gda-ldap-connection.c
+++ b/libgda/sqlite/virtual/gda-ldap-connection.c
@@ -23,6 +23,7 @@
#include "gda-ldap-connection.h"
#include <libgda/gda-connection-private.h>
#include <sql-parser/gda-sql-parser.h>
+#include <libgda/gda-debug-macros.h>
/* "inherits" GdaVconnectionDataModelSpec */
typedef struct {
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c
b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index 2ffbdd1..649cde4 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -31,6 +31,7 @@
#include <libgda/gda-blob-op.h>
#include "../gda-sqlite.h"
#include <sql-parser/gda-statement-struct-util.h>
+#include <libgda/gda-debug-macros.h>
#define GDA_DEBUG_VIRTUAL
#undef GDA_DEBUG_VIRTUAL
diff --git a/providers/firebird/gda-firebird-blob-op.c b/providers/firebird/gda-firebird-blob-op.c
index 8e6c874..e2d9e8d 100644
--- a/providers/firebird/gda-firebird-blob-op.c
+++ b/providers/firebird/gda-firebird-blob-op.c
@@ -22,6 +22,7 @@
#include <libgda/libgda.h>
#include "gda-firebird.h"
#include "gda-firebird-blob-op.h"
+#include <libgda/gda-debug-macros.h>
struct _GdaFirebirdBlobOpPrivate {
GdaConnection *cnc;
diff --git a/providers/firebird/gda-firebird-meta.c b/providers/firebird/gda-firebird-meta.c
index 6e87de1..069f6f0 100644
--- a/providers/firebird/gda-firebird-meta.c
+++ b/providers/firebird/gda-firebird-meta.c
@@ -30,6 +30,7 @@
#include <libgda/gda-data-model-array.h>
#include <libgda/gda-set.h>
#include <libgda/gda-holder.h>
+#include <libgda/gda-debug-macros.h>
//static gboolean append_a_row (GdaDataModel *to_model, GError **error, gint nb, ...);
diff --git a/providers/firebird/gda-firebird-provider.c b/providers/firebird/gda-firebird-provider.c
index a3467a3..91de244 100644
--- a/providers/firebird/gda-firebird-provider.c
+++ b/providers/firebird/gda-firebird-provider.c
@@ -42,6 +42,8 @@
#include "gda-firebird-meta.h"
#include "gda-firebird-parser.h"
#include "gda-firebird-util.h"
+#include <libgda/gda-debug-macros.h>
+
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
#define FILE_EXTENSION ".fdb"
diff --git a/providers/firebird/gda-firebird-recordset.c b/providers/firebird/gda-firebird-recordset.c
index 40473e6..efb1e56 100644
--- a/providers/firebird/gda-firebird-recordset.c
+++ b/providers/firebird/gda-firebird-recordset.c
@@ -32,6 +32,7 @@
#include "gda-firebird-recordset.h"
#include "gda-firebird-provider.h"
#include <libgda/libgda-global-variables.h>
+#include <libgda/gda-debug-macros.h>
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
diff --git a/providers/jdbc/gda-jdbc-meta.c b/providers/jdbc/gda-jdbc-meta.c
index 876ee32..b5fd0ef 100644
--- a/providers/jdbc/gda-jdbc-meta.c
+++ b/providers/jdbc/gda-jdbc-meta.c
@@ -33,6 +33,7 @@
#include "jni-globals.h"
#include "gda-jdbc-util.h"
#include "gda-jdbc-recordset.h"
+#include <libgda/gda-debug-macros.h>
/*
* Meta initialization
diff --git a/providers/jdbc/gda-jdbc-provider.c b/providers/jdbc/gda-jdbc-provider.c
index a10844d..fcca2f9 100644
--- a/providers/jdbc/gda-jdbc-provider.c
+++ b/providers/jdbc/gda-jdbc-provider.c
@@ -41,6 +41,7 @@
#include "jni-wrapper.h"
#include "jni-globals.h"
#include "jdbc-resources.h"
+#include <libgda/gda-debug-macros.h>
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
diff --git a/providers/ldap/gda-ldap-util.c b/providers/ldap/gda-ldap-util.c
index 60e9cc1..3c0eea9 100644
--- a/providers/ldap/gda-ldap-util.c
+++ b/providers/ldap/gda-ldap-util.c
@@ -24,6 +24,7 @@
#include "gda-ldap-util.h"
#include <sqlite/virtual/gda-ldap-connection.h>
#include <gda-util.h>
+#include <libgda/gda-debug-macros.h>
static void
ldap_attribute_free (LdapAttribute *lat)
diff --git a/providers/ldap/gdaprov-data-model-ldap.c b/providers/ldap/gdaprov-data-model-ldap.c
index 8f640ac..4bcd407 100644
--- a/providers/ldap/gdaprov-data-model-ldap.c
+++ b/providers/ldap/gdaprov-data-model-ldap.c
@@ -29,6 +29,7 @@
#include "gda-ldap.h"
#include "gda-ldap-util.h"
#include "gdaprov-data-model-ldap.h"
+#include <libgda/gda-debug-macros.h>
#define GDA_DEBUG_SUBSEARCHES
#undef GDA_DEBUG_SUBSEARCHES
diff --git a/providers/mysql/gda-mysql-blob-op.c b/providers/mysql/gda-mysql-blob-op.c
index 4aa592b..01901fb 100644
--- a/providers/mysql/gda-mysql-blob-op.c
+++ b/providers/mysql/gda-mysql-blob-op.c
@@ -23,6 +23,7 @@
#include <libgda/libgda.h>
#include "gda-mysql.h"
#include "gda-mysql-blob-op.h"
+#include <libgda/gda-debug-macros.h>
struct _GdaMysqlBlobOpPrivate {
GdaConnection *cnc;
diff --git a/providers/mysql/gda-mysql-provider.c b/providers/mysql/gda-mysql-provider.c
index ab5e64b..2aa3e74 100644
--- a/providers/mysql/gda-mysql-provider.c
+++ b/providers/mysql/gda-mysql-provider.c
@@ -57,6 +57,7 @@
#include "gda-mysql-parser.h"
#include "gda-mysql-handler-boolean.h"
#include "gda-mysql-handler-bin.h"
+#include <libgda/gda-debug-macros.h>
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
diff --git a/providers/oracle/gda-oracle-blob-op.c b/providers/oracle/gda-oracle-blob-op.c
index 94de8cf..49f444f 100644
--- a/providers/oracle/gda-oracle-blob-op.c
+++ b/providers/oracle/gda-oracle-blob-op.c
@@ -22,6 +22,7 @@
#include <libgda/libgda.h>
#include "gda-oracle.h"
#include "gda-oracle-blob-op.h"
+#include <libgda/gda-debug-macros.h>
struct _GdaOracleBlobOpPrivate {
GdaConnection *cnc;
diff --git a/providers/oracle/gda-oracle-meta.c b/providers/oracle/gda-oracle-meta.c
index ebdaa37..0569204 100644
--- a/providers/oracle/gda-oracle-meta.c
+++ b/providers/oracle/gda-oracle-meta.c
@@ -31,6 +31,7 @@
#include <libgda/gda-set.h>
#include <libgda/gda-holder.h>
#include "gda-oracle-util.h"
+#include <libgda/gda-debug-macros.h>
/*
* predefined statements' IDs
diff --git a/providers/oracle/gda-oracle-provider.c b/providers/oracle/gda-oracle-provider.c
index b4dd251..740f9a6 100644
--- a/providers/oracle/gda-oracle-provider.c
+++ b/providers/oracle/gda-oracle-provider.c
@@ -46,6 +46,8 @@
#include "gda-oracle-meta.h"
#include "gda-oracle-util.h"
#include "gda-oracle-parser.h"
+#include <libgda/gda-debug-macros.h>
+
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
/*
diff --git a/providers/oracle/gda-oracle-util.c b/providers/oracle/gda-oracle-util.c
index 0571846..cadec39 100644
--- a/providers/oracle/gda-oracle-util.c
+++ b/providers/oracle/gda-oracle-util.c
@@ -23,6 +23,7 @@
#include "gda-oracle.h"
#include "gda-oracle-util.h"
#include "gda-oracle-blob-op.h"
+#include <libgda/gda-debug-macros.h>
#include <libgda/sqlite/keywords_hash.h>
#include "keywords_hash.c" /* this one is dynamically generated */
diff --git a/providers/postgres/gda-postgres-provider.c b/providers/postgres/gda-postgres-provider.c
index aea1189..e2ce2a7 100644
--- a/providers/postgres/gda-postgres-provider.c
+++ b/providers/postgres/gda-postgres-provider.c
@@ -52,6 +52,7 @@
#include "gda-postgres-util.h"
#include "gda-postgres-blob-op.h"
#include "gda-postgres-parser.h"
+#include <libgda/gda-debug-macros.h>
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
diff --git a/providers/reuseable/postgres/gda-postgres-meta.c
b/providers/reuseable/postgres/gda-postgres-meta.c
index 42e47e2..127d775 100644
--- a/providers/reuseable/postgres/gda-postgres-meta.c
+++ b/providers/reuseable/postgres/gda-postgres-meta.c
@@ -31,6 +31,7 @@
#include <libgda/gda-server-provider-extra.h>
#include <libgda/gda-connection-private.h>
#include <libgda/providers-support/gda-meta-column-types.h>
+#include <libgda/gda-debug-macros.h>
#include "gda-postgres-reuseable.h"
#include "gda-postgres-parser.h"
diff --git a/providers/skel-implementation/capi/gda-capi-blob-op.c
b/providers/skel-implementation/capi/gda-capi-blob-op.c
index c42dd0f..66fcb4a 100644
--- a/providers/skel-implementation/capi/gda-capi-blob-op.c
+++ b/providers/skel-implementation/capi/gda-capi-blob-op.c
@@ -26,6 +26,7 @@
#include <libgda/libgda.h>
#include "gda-capi.h"
#include "gda-capi-blob-op.h"
+#include <libgda/gda-debug-macros.h>
struct _GdaCapiBlobOpPrivate {
GdaConnection *cnc;
diff --git a/providers/skel-implementation/capi/gda-capi-meta.c
b/providers/skel-implementation/capi/gda-capi-meta.c
index 97b36cd..e345e75 100644
--- a/providers/skel-implementation/capi/gda-capi-meta.c
+++ b/providers/skel-implementation/capi/gda-capi-meta.c
@@ -33,7 +33,7 @@
#include <libgda/gda-data-model-array.h>
#include <libgda/gda-set.h>
#include <libgda/gda-holder.h>
-
+#include <libgda/gda-debug-macros.h>
#include <libgda/sqlite/keywords_hash.h>
#include "keywords_hash.c" /* this one is dynamically generated */
diff --git a/providers/skel-implementation/capi/gda-capi-provider.c
b/providers/skel-implementation/capi/gda-capi-provider.c
index 81648df..5d59710 100644
--- a/providers/skel-implementation/capi/gda-capi-provider.c
+++ b/providers/skel-implementation/capi/gda-capi-provider.c
@@ -38,6 +38,7 @@
#include "gda-capi-recordset.h"
#include "gda-capi-ddl.h"
#include "gda-capi-meta.h"
+#include <libgda/gda-debug-macros.h>
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
/*
diff --git a/providers/skel-implementation/capi/gda-capi-pstmt.c
b/providers/skel-implementation/capi/gda-capi-pstmt.c
index 3ec7469..92460d2 100644
--- a/providers/skel-implementation/capi/gda-capi-pstmt.c
+++ b/providers/skel-implementation/capi/gda-capi-pstmt.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <glib/gi18n-lib.h>
#include "gda-capi-pstmt.h"
+#include <libgda/gda-debug-macros.h>
static void gda_capi_pstmt_class_init (GdaCapiPStmtClass *klass);
static void gda_capi_pstmt_init (GdaCapiPStmt *pstmt, GdaCapiPStmtClass *klass);
diff --git a/providers/skel-implementation/capi/gda-capi-recordset.c
b/providers/skel-implementation/capi/gda-capi-recordset.c
index 58276be..7159ff4 100644
--- a/providers/skel-implementation/capi/gda-capi-recordset.c
+++ b/providers/skel-implementation/capi/gda-capi-recordset.c
@@ -29,6 +29,7 @@
#include "gda-capi.h"
#include "gda-capi-recordset.h"
#include "gda-capi-provider.h"
+#include <libgda/gda-debug-macros.h>
#define _GDA_PSTMT(x) ((GdaPStmt*)(x))
diff --git a/providers/skel-implementation/models/gda-models-provider.c
b/providers/skel-implementation/models/gda-models-provider.c
index 7ae9a83..d0a4c9c 100644
--- a/providers/skel-implementation/models/gda-models-provider.c
+++ b/providers/skel-implementation/models/gda-models-provider.c
@@ -27,6 +27,7 @@
#include <libgda/gda-connection-private.h>
#include "gda-models.h"
#include "gda-models-provider.h"
+#include <libgda/gda-debug-macros.h>
static void gda_models_provider_class_init (GdaModelsProviderClass *klass);
static void gda_models_provider_init (GdaModelsProvider *provider,
diff --git a/providers/web/gda-web-blob-op.c b/providers/web/gda-web-blob-op.c
index 1169766..8398fa7 100644
--- a/providers/web/gda-web-blob-op.c
+++ b/providers/web/gda-web-blob-op.c
@@ -24,6 +24,7 @@
#include <libgda/libgda.h>
#include "gda-web.h"
#include "gda-web-blob-op.h"
+#include <libgda/gda-debug-macros.h>
struct _GdaWebBlobOpPrivate {
GdaConnection *cnc;
diff --git a/providers/web/gda-web-provider.c b/providers/web/gda-web-provider.c
index fb58ddc..4acbca6 100644
--- a/providers/web/gda-web-provider.c
+++ b/providers/web/gda-web-provider.c
@@ -37,6 +37,7 @@
#include "gda-web-ddl.h"
#include "gda-web-meta.h"
#include "gda-web-util.h"
+#include <libgda/gda-debug-macros.h>
/* Use the RSA reference implementation included in the RFC-1321, http://www.freesoft.org/CIE/RFC/1321/ */
#include "global.h"
diff --git a/tests/data-model-errors.c b/tests/data-model-errors.c
index fe57c6d..d8d180f 100644
--- a/tests/data-model-errors.c
+++ b/tests/data-model-errors.c
@@ -24,6 +24,7 @@
#include <libgda/gda-data-model-extra.h>
#include <libgda/gda-row.h>
#include <data-model-errors.h>
+#include <libgda/gda-debug-macros.h>
#define NCOLS 4
typedef struct {
diff --git a/tests/gda-ddl-creator.c b/tests/gda-ddl-creator.c
index 4df983b..e5646dd 100644
--- a/tests/gda-ddl-creator.c
+++ b/tests/gda-ddl-creator.c
@@ -30,7 +30,7 @@
#include <libgda/gda-meta-struct.h>
#include <libgda/gda-meta-struct-private.h>
#include <libgda/gda-config.h>
-
+#include <libgda/gda-debug-macros.h>
#include <libgda/sql-parser/gda-statement-struct-util.h>
/*
diff --git a/tests/parser/check_dml_comp.c b/tests/parser/check_dml_comp.c
index 5a3b15f..b49bba7 100644
--- a/tests/parser/check_dml_comp.c
+++ b/tests/parser/check_dml_comp.c
@@ -25,7 +25,7 @@
#include <libgda/libgda.h>
#include <libgda/gda-util.h>
#include <sql-parser/gda-sql-parser.h>
-
+#include <libgda/gda-debug-macros.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
diff --git a/tests/test-cnc-utils.c b/tests/test-cnc-utils.c
index a917254..29aad17 100644
--- a/tests/test-cnc-utils.c
+++ b/tests/test-cnc-utils.c
@@ -26,6 +26,7 @@
#include <libgda/sql-parser/gda-sql-parser.h>
#include <libgda/sql-parser/gda-sql-statement.h>
#include <unistd.h>
+#include <libgda/gda-debug-macros.h>
#define CHECK_EXTRA_INFO
/*#undef CHECK_EXTRA_INFO*/
diff --git a/tools/browser/browser-connection.c b/tools/browser/browser-connection.c
index b38b2c1..711de62 100644
--- a/tools/browser/browser-connection.c
+++ b/tools/browser/browser-connection.c
@@ -31,7 +31,7 @@
#include "../config-info.h"
#include "browser-virtual-connection.h"
#include <sqlite/virtual/gda-virtual-connection.h>
-
+#include <libgda/gda-debug-macros.h>
#include "browser-connection-priv.h"
#define CHECK_RESULTS_SHORT_TIMER 200
diff --git a/tools/browser/data-manager/data-source-manager.c
b/tools/browser/data-manager/data-source-manager.c
index 32da12f..1cb508a 100644
--- a/tools/browser/data-manager/data-source-manager.c
+++ b/tools/browser/data-manager/data-source-manager.c
@@ -27,7 +27,7 @@
#include <sql-parser/gda-sql-parser.h>
#include <libgda/gda-data-model-extra.h>
#include <libgda/gda-sql-builder.h>
-
+#include <libgda/gda-debug-macros.h>
#include "data-source-manager.h"
/*#define DEBUG_SOURCES_SORT*/
diff --git a/tools/browser/data-manager/xml-spec-editor.c b/tools/browser/data-manager/xml-spec-editor.c
index b09cb1a..f4b893a 100644
--- a/tools/browser/data-manager/xml-spec-editor.c
+++ b/tools/browser/data-manager/xml-spec-editor.c
@@ -25,6 +25,7 @@
#include <libgda/libgda.h>
#include "../support.h"
#include "../../tool-utils.h"
+#include <libgda/gda-debug-macros.h>
#ifdef HAVE_GTKSOURCEVIEW
#ifdef GTK_DISABLE_SINGLE_INCLUDES
diff --git a/tools/browser/ldap-browser/classes-view.c b/tools/browser/ldap-browser/classes-view.c
index ad22d68..8710540 100644
--- a/tools/browser/ldap-browser/classes-view.c
+++ b/tools/browser/ldap-browser/classes-view.c
@@ -27,6 +27,7 @@
#include <virtual/gda-ldap-connection.h>
#include "mgr-ldap-classes.h"
#include <libgda-ui/gdaui-tree-store.h>
+#include <libgda/gda-debug-macros.h>
struct _ClassesViewPrivate {
BrowserConnection *bcnc;
diff --git a/tools/browser/ldap-browser/hierarchy-view.c b/tools/browser/ldap-browser/hierarchy-view.c
index a792fe1..5e4be10 100644
--- a/tools/browser/ldap-browser/hierarchy-view.c
+++ b/tools/browser/ldap-browser/hierarchy-view.c
@@ -27,6 +27,7 @@
#include <virtual/gda-ldap-connection.h>
#include "mgr-ldap-entries.h"
#include <libgda-ui/gdaui-tree-store.h>
+#include <libgda/gda-debug-macros.h>
struct _HierarchyViewPrivate {
BrowserConnection *bcnc;
diff --git a/tools/browser/ldap-browser/ldap-classes-page.c b/tools/browser/ldap-browser/ldap-classes-page.c
index 4287a75..47a31b7 100644
--- a/tools/browser/ldap-browser/ldap-classes-page.c
+++ b/tools/browser/ldap-browser/ldap-classes-page.c
@@ -32,6 +32,7 @@
#include <virtual/gda-ldap-connection.h>
#include "mgr-ldap-classes.h"
#include <libgda-ui/gdaui-tree-store.h>
+#include <libgda/gda-debug-macros.h>
typedef struct {
gchar *classname;
diff --git a/tools/browser/ldap-browser/ldap-entries-page.c b/tools/browser/ldap-browser/ldap-entries-page.c
index 43c7fa9..9b7e3d7 100644
--- a/tools/browser/ldap-browser/ldap-entries-page.c
+++ b/tools/browser/ldap-browser/ldap-entries-page.c
@@ -33,6 +33,7 @@
#include "mgr-ldap-entries.h"
#include <libgda-ui/gdaui-tree-store.h>
#include "ldap-browser-perspective.h"
+#include <libgda/gda-debug-macros.h>
typedef struct {
gchar *dn;
diff --git a/tools/browser/ldap-browser/ldap-search-page.c b/tools/browser/ldap-browser/ldap-search-page.c
index 938fa76..6d81b22 100644
--- a/tools/browser/ldap-browser/ldap-search-page.c
+++ b/tools/browser/ldap-browser/ldap-search-page.c
@@ -29,6 +29,7 @@
#include <common/ui-formgrid.h>
#include "../browser-stock-icons.h"
#include "vtable-dialog.h"
+#include <libgda/gda-debug-macros.h>
typedef struct {
gchar *base_dn;
diff --git a/tools/browser/mgr-favorites.c b/tools/browser/mgr-favorites.c
index 2799773..5358fce 100644
--- a/tools/browser/mgr-favorites.c
+++ b/tools/browser/mgr-favorites.c
@@ -23,6 +23,7 @@
#include <sql-parser/gda-sql-parser.h>
#include "mgr-favorites.h"
#include "support.h"
+#include <libgda/gda-debug-macros.h>
/* asynchronous (in idle loop) icon resolution */
typedef struct {
diff --git a/tools/browser/query-exec/query-console-page.c b/tools/browser/query-exec/query-console-page.c
index d24a66d..5dd65ec 100644
--- a/tools/browser/query-exec/query-console-page.c
+++ b/tools/browser/query-exec/query-console-page.c
@@ -33,6 +33,7 @@
#include <libgda-ui/internal/popup-container.h>
#include <libgda/sql-parser/gda-sql-parser.h>
#include <libgda-ui/libgda-ui.h>
+#include <libgda/gda-debug-macros.h>
/*
* Statement execution structures
diff --git a/tools/browser/query-exec/query-exec-perspective.c
b/tools/browser/query-exec/query-exec-perspective.c
index 4e4305c..5c38036 100644
--- a/tools/browser/query-exec/query-exec-perspective.c
+++ b/tools/browser/query-exec/query-exec-perspective.c
@@ -28,6 +28,7 @@
#include "../support.h"
#include "query-favorite-selector.h"
#include "query-editor.h"
+#include <libgda/gda-debug-macros.h>
/*
* Main static functions
diff --git a/tools/browser/schema-browser/schema-browser-perspective.c
b/tools/browser/schema-browser/schema-browser-perspective.c
index 68c7a5f..0677413 100644
--- a/tools/browser/schema-browser/schema-browser-perspective.c
+++ b/tools/browser/schema-browser/schema-browser-perspective.c
@@ -30,6 +30,7 @@
#ifdef HAVE_GOOCANVAS
#include "relations-diagram.h"
#endif
+#include <libgda/gda-debug-macros.h>
/*
* Main static functions
diff --git a/tools/browser/schema-browser/table-columns.c b/tools/browser/schema-browser/table-columns.c
index 5abfa88..d778223 100644
--- a/tools/browser/schema-browser/table-columns.c
+++ b/tools/browser/schema-browser/table-columns.c
@@ -37,6 +37,7 @@
#ifdef HAVE_LDAP
#include "../ldap-browser/ldap-browser-perspective.h"
#endif
+#include <libgda/gda-debug-macros.h>
struct _TableColumnsPrivate {
BrowserConnection *bcnc;
diff --git a/tools/browser/schema-browser/table-info.c b/tools/browser/schema-browser/table-info.c
index 5040b24..ad6e6be 100644
--- a/tools/browser/schema-browser/table-info.c
+++ b/tools/browser/schema-browser/table-info.c
@@ -39,6 +39,7 @@
#include <libgda-ui/internal/popup-container.h>
#include <libgda/gda-data-model-extra.h>
#include "../common/fk-declare.h"
+#include <libgda/gda-debug-macros.h>
struct _TableInfoPrivate {
BrowserConnection *bcnc;
diff --git a/tools/browser/schema-browser/table-preferences.c
b/tools/browser/schema-browser/table-preferences.c
index 25dc1f9..4d1f7fe 100644
--- a/tools/browser/schema-browser/table-preferences.c
+++ b/tools/browser/schema-browser/table-preferences.c
@@ -33,6 +33,7 @@
#include <libgda-ui/gdaui-plugin.h>
#include <libgda-ui/gdaui-basic-form.h>
#include <libgda-ui/gdaui-easy.h>
+#include <libgda/gda-debug-macros.h>
struct _TablePreferencesPrivate {
BrowserConnection *bcnc;
diff --git a/tools/cmdtool/tool-decl.h b/tools/cmdtool/tool-decl.h
index 4fcded5..888c1d1 100644
--- a/tools/cmdtool/tool-decl.h
+++ b/tools/cmdtool/tool-decl.h
@@ -32,4 +32,6 @@ typedef struct _ToolCommand ToolCommand;
typedef struct _ToolCommandResult ToolCommandResult;
typedef struct _ToolCommandGroup ToolCommandGroup;
+#define TO_IMPLEMENT g_print ("Implementation missing: %s() in %s line %d\n", __FUNCTION__,
__FILE__,__LINE__)
+
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]