[libgda] Correct spelling errors in the code.
- From: Bas Driessen <basd src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgda] Correct spelling errors in the code.
- Date: Tue, 18 Aug 2009 10:02:58 +0000 (UTC)
commit 55f2c55b44de192dcc4cac7062466cdba34692f4
Author: Bas Driessen <bas driessen xobas com>
Date: Tue Aug 18 20:02:04 2009 +1000
Correct spelling errors in the code.
Makefile.w32 | 2 +-
NEWS | 14 +-
libgda-ui/data-entries/plugins/gdaui-entry-cgrid.c | 2 +-
libgda-ui/demos/ddl_queries.c | 2 +-
libgda-ui/gdaui-data-entry.c | 4 +-
libgda-ui/gdaui-data-widget.h | 2 +-
libgda-ui/gdaui-raw-form.c | 2 +-
libgda-ui/gdaui-raw-grid.c | 2 +-
libgda/binreloc/gda-binreloc.c | 2 +-
libgda/gda-attributes-manager.c | 16 ++--
libgda/gda-config.c | 8 +-
libgda/gda-connection-event.c | 6 +-
libgda/gda-connection.c | 48 ++++----
libgda/gda-connection.h | 2 +-
libgda/gda-data-access-wrapper.c | 2 +-
libgda/gda-data-comparator.c | 2 +-
libgda/gda-data-handler.c | 2 +-
libgda/gda-data-meta-wrapper.c | 6 +-
libgda/gda-data-meta-wrapper.h | 2 +-
libgda/gda-data-model-dir.c | 4 +-
libgda/gda-data-model-import.c | 6 +-
libgda/gda-data-model.c | 6 +-
libgda/gda-data-proxy.c | 12 +-
libgda/gda-data-select-extra.h | 2 +-
libgda/gda-data-select.c | 20 ++--
libgda/gda-easy.c | 8 +-
libgda/gda-holder.c | 6 +-
libgda/gda-meta-store.c | 18 ++--
libgda/gda-meta-struct.c | 4 +-
libgda/gda-server-operation.c | 2 +-
libgda/gda-server-provider-extra.h | 2 +-
libgda/gda-set.c | 4 +-
libgda/gda-sql-builder.c | 4 +-
libgda/gda-util.c | 10 +-
libgda/gda-value.c | 2 +-
libgda/gda-value.h | 2 +-
libgda/gda-xa-transaction.c | 4 +-
libgda/handlers/gda-handler-bin.c | 4 +-
libgda/handlers/gda-handler-boolean.c | 4 +-
libgda/handlers/gda-handler-numerical.c | 4 +-
libgda/handlers/gda-handler-string.c | 4 +-
libgda/handlers/gda-handler-time.c | 6 +-
libgda/handlers/gda-handler-type.c | 4 +-
libgda/information_schema.xml | 2 +-
libgda/sql-parser/gda-sql-parser.c | 2 +-
libgda/sql-parser/gda-statement-struct-delete.c | 4 +-
libgda/sql-parser/gda-statement-struct-insert.c | 14 +-
libgda/sql-parser/gda-statement-struct-parts.c | 54 ++++----
libgda/sql-parser/gda-statement-struct-pspec.c | 8 +-
libgda/sql-parser/gda-statement-struct-select.c | 16 ++--
libgda/sql-parser/gda-statement-struct-trans.c | 4 +-
libgda/sql-parser/gda-statement-struct-unknown.c | 2 +-
libgda/sql-parser/gda-statement-struct-update.c | 10 +-
libgda/sql-parser/gda-statement-struct-util.c | 4 +-
libgda/sql-parser/gda-statement-struct.c | 4 +-
libgda/sqlite/gda-sqlite-handler-bin.c | 4 +-
libgda/sqlite/gda-sqlite-provider.c | 10 +-
libgda/sqlite/sqlite-src/sqlite3.c | 26 ++--
libgda/sqlite/sqlite-src/sqlite3.h | 2 +-
libgda/sqlite/virtual/gda-vconnection-data-model.c | 2 +-
libgda/sqlite/virtual/gda-vconnection-hub.c | 4 +-
libgda/sqlite/virtual/gda-vprovider-data-model.c | 2 +-
libgda/thread-wrapper/gda-thread-meta.c | 134 ++++++++++----------
libgda/thread-wrapper/gda-thread-provider.c | 4 +-
libgda/thread-wrapper/gda-thread-wrapper.c | 2 +-
providers/firebird/gda-firebird-provider.c | 4 +-
providers/firebird/gda-firebird-recordset.c | 2 +-
providers/jdbc/doc/index.html | 4 +-
providers/jdbc/gda-jdbc-provider.c | 4 +-
providers/jdbc/gda-list-jdbc-providers.c | 4 +-
providers/jdbc/jni-wrapper.c | 10 +-
providers/jdbc/meta.java | 4 +-
providers/jdbc/provider.java | 4 +-
providers/mysql/gda-mysql-provider.c | 6 +-
providers/mysql/gda-mysql-recordset.c | 2 +-
providers/oracle/gda-oracle-provider.c | 8 +-
providers/oracle/gda-oracle-recordset.c | 2 +-
providers/postgres/gda-postgres-blob-op.c | 2 +-
providers/postgres/gda-postgres-handler-bin.c | 4 +-
providers/postgres/gda-postgres-provider.c | 10 +-
.../skel-implementation/capi/gda-capi-provider.c | 4 +-
.../skel-implementation/capi/gda-capi-recordset.c | 2 +-
samples/BDB/README | 2 +-
samples/DirDataModel/find-duplicates.c | 2 +-
samples/Report/schema-report-spec.xml | 2 +-
samples/SqlParserConsole/console.c | 2 +-
samples/Tree/README | 4 +-
tests/data-models/check_pmodel.c | 26 ++--
tests/meta-store/common.c | 2 +-
tests/test-cnc-utils.c | 2 +-
tools/binreloc/sql-binreloc.c | 2 +-
tools/command-exec.c | 6 +-
tools/gda-sql.1.in | 12 +-
tools/gda-sql.c | 14 +-
tools/web-server.c | 90 +++++++-------
95 files changed, 412 insertions(+), 412 deletions(-)
---
diff --git a/Makefile.w32 b/Makefile.w32
index 62d7380..422fc2d 100755
--- a/Makefile.w32
+++ b/Makefile.w32
@@ -22,7 +22,7 @@
#
#
# TODO
# include makefile.win32.cross|win32 based on OS detection.
-# implement download of dependant files into deps/*
+# implement download of dependent files into deps/*
#
diff --git a/NEWS b/NEWS
index 1e03510..9ae08d0 100644
--- a/NEWS
+++ b/NEWS
@@ -56,7 +56,7 @@ libgda 3.99.11, 2009-02-13
- misc. corrections
- documentation improvements
- - new example to illustrate meta data retreival
+ - new example to illustrate meta data retrieval
- bug fixes: #570396, #570251, #570315, #570787
libgda 3.99.10, 2009-02-02
@@ -116,7 +116,7 @@ libgda 3.99.6, 2008-11-10
libgda 3.99.5, 2008-10-09
This version includes:
- - Meta data retreiving corrections
+ - Meta data retrieving corrections
- now internally use SQLite 3.6.3
- A few API improvements (removed the GdaDataModelQuery object as its features are now implemented
in any result of a SELECT execution) (Massimo Cora, Vivien Malerba)
@@ -184,7 +184,7 @@ libgda 3.99.3, 2008-07-06
- preliminary MacOS X support, and better support for cross compilation
- better support for thread safe support
- new distributed transaction support
- - added speficications to create a .MSI file as a Windows installer
+ - added specifications to create a .MSI file as a Windows installer
- bug fixes: #524837, #525601, #525877, #526748, #527892, #527002, #534805, #536418,
#536971, #537558, #537117
- Translations:
@@ -209,15 +209,15 @@ libgda 3.99.1, 2008-03-19
- Merge of the GdaQuery and GdaCommand into only one object to represent statements
- New adaptative SQL parser (can be adaptated to each DBMS's SQL syntax)
- New database based dictionary which can handle namespaces
- - Rework of the database adaptators (providers) for easier maintenance and more features
- - Sample "skeleton" database adaptators to make it easy to write a database adaptator for a new
+ - Rework of the database adapters (providers) for easier maintenance and more features
+ - Sample "skeleton" database adapters to make it easy to write a database adapter for a new
database type
- Updated documentation
Warnings:
- This is still an early version which probably has a lot of bugs and as such it should not be used
in a production environment.
- - Most of the database adaptators (providers) need to be re-written, particularly MySQL (which is
+ - Most of the database adapters (providers) need to be re-written, particularly MySQL (which is
currently being done) and Oracle
- Libgnomedb has not yet been updated and won't compile with this version
@@ -252,7 +252,7 @@ libgda 3.1.1, 2007-09-02
- Require inltool 0.35.5 when building from svn (Murray Cumming)
- SQLite now version 3.4.2 (Vivien Malerba)
- Added support for cursor-only access for data models returned by the PostgreSQL provider (Vivien Malerba)
- - WIN32 port functionnal (needs testing, Vivien Malerba)
+ - WIN32 port functional (needs testing, Vivien Malerba)
- Installation is relocatable (Vivien Malerba)
- New virtual connection feature, which allows to run SQL commands on data models (Vivien Malerba)
- Reworked the BDB provider to use virtual connections (Vivien Malerba)
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-cgrid.c b/libgda-ui/data-entries/plugins/gdaui-entry-cgrid.c
index a3962d1..143396d 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-cgrid.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-cgrid.c
@@ -590,7 +590,7 @@ gdaui_entry_cgrid_append_column (GdauiEntryCGrid *cgrid,
/**
* gdaui_entry_cgrid_get_active_iter.
* @cgrid: a #GdauiEntryCGrid.
- * @iter: the unitialized #GtkTreeIter.
+ * @iter: the uninitialized #GtkTreeIter.
*
* Return TRUE if iter was set.
*/
diff --git a/libgda-ui/demos/ddl_queries.c b/libgda-ui/demos/ddl_queries.c
index 1d8c9d5..f307d63 100644
--- a/libgda-ui/demos/ddl_queries.c
+++ b/libgda-ui/demos/ddl_queries.c
@@ -7,7 +7,7 @@
*
* Because the SQL corresponding to DDL queries varies widely between the
* DBMS, the information required to perform an operation is provided by
- * each DBMS adaptator (server provider), and specified as a set of named
+ * each DBMS adapter (server provider), and specified as a set of named
* parameters.
*
* For each type of operation and for each type of provider, a GdaServerOperation
diff --git a/libgda-ui/gdaui-data-entry.c b/libgda-ui/gdaui-data-entry.c
index 279c503..9d623fd 100644
--- a/libgda-ui/gdaui-data-entry.c
+++ b/libgda-ui/gdaui-data-entry.c
@@ -31,7 +31,7 @@
* of the data held by the widget.
*
* The widget can store the original value (to be able to tell if the value has been changed
- * by the user) and a default value (which will be returned if the user explicitely forces the widget
+ * by the user) and a default value (which will be returned if the user explicitly forces the widget
* to be set to the default value).
*
* Control methods allow to set the type of value to be edited (the requested type must be
@@ -339,7 +339,7 @@ gdaui_data_entry_set_attributes (GdauiDataEntry *de, GdaValueAttribute attrs, Gd
* gdaui_data_entry_get_attributes
* @de: a #GtkWidget object which implements the #GdauiDataEntry interface
*
- * Retreives the parameters of the GdauiDataEntry widget.
+ * Retrieves the parameters of the GdauiDataEntry widget.
*
* Returns: the OR'ed bits corresponding to the attributes.
*/
diff --git a/libgda-ui/gdaui-data-widget.h b/libgda-ui/gdaui-data-widget.h
index adc6be3..e7758c0 100644
--- a/libgda-ui/gdaui-data-widget.h
+++ b/libgda-ui/gdaui-data-widget.h
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
#define GDAUI_DATA_WIDGET_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDAUI_TYPE_DATA_WIDGET, GdauiDataWidgetIface))
typedef enum {
- GDAUI_DATA_WIDGET_WRITE_ON_DEMAND = 0, /* write only when explicitely requested */
+ GDAUI_DATA_WIDGET_WRITE_ON_DEMAND = 0, /* write only when explicitly requested */
GDAUI_DATA_WIDGET_WRITE_ON_ROW_CHANGE = 1, /* write when the current selected row changes */
GDAUI_DATA_WIDGET_WRITE_ON_VALUE_ACTIVATED = 2, /* write when user activates a value change */
GDAUI_DATA_WIDGET_WRITE_ON_VALUE_CHANGE = 3 /* write when a parameters's value changes */
diff --git a/libgda-ui/gdaui-raw-form.c b/libgda-ui/gdaui-raw-form.c
index d46a498..4a66deb 100644
--- a/libgda-ui/gdaui-raw-form.c
+++ b/libgda-ui/gdaui-raw-form.c
@@ -648,7 +648,7 @@ action_commit_cb (GtkAction *action, GdauiRawForm *form)
if (allok) {
newrow = gda_data_model_iter_get_row (form->priv->iter);
if (row != newrow) /* => current row has changed because the proxy had to emit a "row_removed" when
- actually succedded the commit
+ actually succeeded the commit
=> we need to come back to that row
*/
gda_data_model_iter_move_to_row (form->priv->iter, row);
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index 1c88ff5..8ff0f3d 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -1539,7 +1539,7 @@ action_commit_cb (GtkAction *action, GdauiRawGrid *grid)
if (allok) {
newrow = gda_data_model_iter_get_row (grid->priv->iter);
if (row != newrow) /* => current row has changed because the proxy had to emit a "row_removed" when
- actually succedded the commit
+ actually succeeded the commit
=> we need to come back to that row
*/
gda_data_model_iter_move_to_row (grid->priv->iter, row);
diff --git a/libgda/binreloc/gda-binreloc.c b/libgda/binreloc/gda-binreloc.c
index 26a0593..fdfe6b4 100644
--- a/libgda/binreloc/gda-binreloc.c
+++ b/libgda/binreloc/gda-binreloc.c
@@ -21,7 +21,7 @@
*/
#include "gda-binreloc.h"
-/* include source file as mentionned in gbr_init_lib()'s doc */
+/* include source file as mentioned in gbr_init_lib()'s doc */
#include "binreloc.c"
#ifdef G_OS_WIN32
diff --git a/libgda/gda-attributes-manager.c b/libgda/gda-attributes-manager.c
index a801030..2cef4c3 100644
--- a/libgda/gda-attributes-manager.c
+++ b/libgda/gda-attributes-manager.c
@@ -97,7 +97,7 @@ objattrs_unref (ObjAttrs *attrs)
* @signal_data: user data passed as last argument of @signal_func when it is called
*
* Creates a new #GdaAttributesManager, which can store (name, value) attributes for pointers or GObject objects
- * (in the latter case, the attibutes are destroyed when objects are also destroyed).
+ * (in the latter case, the attributes are destroyed when objects are also destroyed).
*
* Returns: the new #GdaAttributesManager
*/
@@ -248,7 +248,7 @@ manager_real_set (GdaAttributesManager *mgr, gpointer ptr,
/**
* gda_attributes_manager_set
* @mgr: a #GdaAttributesManager
- * @ptr: a pointer to the ressources to which the attribute will apply
+ * @ptr: a pointer to the resources to which the attribute will apply
* @att_name: an attribute's name
* @value: a #GValue, or %NULL
*
@@ -270,7 +270,7 @@ gda_attributes_manager_set (GdaAttributesManager *mgr, gpointer ptr, const gchar
/**
* gda_attributes_manager_set_full
* @mgr: a #GdaAttributesManager
- * @ptr: a pointer to the ressources to which the attribute will apply
+ * @ptr: a pointer to the resources to which the attribute will apply
* @att_name: an attribute's name
* @value: a #GValue, or %NULL
* @destroy: function called when @att_name has to be freed
@@ -289,10 +289,10 @@ gda_attributes_manager_set_full (GdaAttributesManager *mgr, gpointer ptr,
/**
* gda_attributes_manager_get
* @mgr: a #GdaAttributesManager
- * @ptr: a pointer to the ressources to which the attribute will apply
+ * @ptr: a pointer to the resources to which the attribute will apply
* @att_name: an attribute's name, as a *static* string
*
- * Retreives the value of an attribute previously set using gda_attributes_manager_set().
+ * Retrieves the value of an attribute previously set using gda_attributes_manager_set().
*
* Returns: the attribute's value, or %NULL if the attribute is not set.
*/
@@ -377,9 +377,9 @@ foreach_copy_func (AttName *attname, const GValue *value, CopyData *cdata)
/**
* gda_attributes_manager_clear
* @mgr: a #GdaAttributesManager
- * @ptr: a pointer to the ressources for which all the attributes will be removed
+ * @ptr: a pointer to the resources for which all the attributes will be removed
*
- * Remove all the attributes managed by @mgr for the @ptr ressource.
+ * Remove all the attributes managed by @mgr for the @ptr resource.
*/
void
gda_attributes_manager_clear (GdaAttributesManager *mgr, gpointer ptr)
@@ -406,7 +406,7 @@ static void foreach_foreach_func (AttName *attname, const GValue *value, FData *
/**
* gda_attributes_manager_foreach
* @mgr: a #GdaAttributesManager
- * @ptr: a pointer to the ressources for which all the attributes used
+ * @ptr: a pointer to the resources for which all the attributes used
* @func: a #GdaAttributesManagerFunc function
* @data: user data to be passed as last argument of @func each time it is called
*
diff --git a/libgda/gda-config.c b/libgda/gda-config.c
index 4df3e66..33b5346 100644
--- a/libgda/gda-config.c
+++ b/libgda/gda-config.c
@@ -800,7 +800,7 @@ gda_config_get (void)
* Get information about the DSN named @dsn_name.
*
* @dsn_name's format is "[<username>[:<password>] ]<DSN>" (if <username>
- * and optionaly <password> are provided, they are ignored). Also see the gda_dsn_split() utility
+ * and optionally <password> are provided, they are ignored). Also see the gda_dsn_split() utility
* function.
*
* Returns: a a pointer to read-only #GdaDsnInfo structure, or %NULL if not found
@@ -979,7 +979,7 @@ gda_config_remove_dsn (const gchar *dsn_name, GError **error)
* @dsn_name: the name of a DSN, in the "[<username>[:<password>] ]<DSN>" format
*
* Tells if the data source identified as @dsn_name needs any authentication. If a <username>
- * and optionaly a <password> are specified, they are ignored.
+ * and optionally a <password> are specified, they are ignored.
*
* Returns: TRUE if an authentication is needed
*/
@@ -1124,7 +1124,7 @@ gda_config_can_modify_system_config (void)
* gda_config_get_provider_info
* @provider_name: a database provider
*
- * Get some information about the a database provider (adaptator) named
+ * Get some information about the a database provider (adapter) named
*
* Returns: a pointer to read-only #GdaProviderInfo structure, or %NULL if not found
*/
@@ -1351,7 +1351,7 @@ load_all_providers (void)
}
unique_instance->priv->providers_loaded = TRUE;
- /* find SQLite provider, and instanciate it if not installed */
+ /* find SQLite provider, and instantiate it if not installed */
_gda_config_sqlite_provider = gda_config_get_provider ("SQLite", NULL);
if (!_gda_config_sqlite_provider) {
_gda_config_sqlite_provider = (GdaServerProvider*)
diff --git a/libgda/gda-connection-event.c b/libgda/gda-connection-event.c
index 6a48884..23709e8 100644
--- a/libgda/gda-connection-event.c
+++ b/libgda/gda-connection-event.c
@@ -113,7 +113,7 @@ gda_connection_event_init (GdaConnectionEvent *event, GdaConnectionEventClass *k
* gda_connection_event_new:
* @type: the type of event
*
- * Creates a new unitialized event object. This class is used for communicating
+ * Creates a new uninitialized event object. This class is used for communicating
* events from the different providers to the clients.
*
* Returns: the event object.
@@ -230,7 +230,7 @@ gda_connection_event_get_event_type (GdaConnectionEvent *event)
* @event: a #GdaConnectionEvent.
*
* Get the description of the event. Note that is @event's type is GDA_CONNECTION_EVENT_COMMAND,
- * the the dsecription is the SQL of the command.
+ * the the description is the SQL of the command.
*
* Returns: @event's description.
*/
@@ -293,7 +293,7 @@ gda_connection_event_set_code (GdaConnectionEvent *event, glong code)
* gda_connection_event_get_gda_code
* @event: a #GdaConnectionEvent
*
- * Retreive the code associated to @event.
+ * Retrieve the code associated to @event.
*
* Returns: the #GdaConnectionEventCode event's code
*/
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index 980f558..2360e47 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -267,7 +267,7 @@ gda_connection_class_init (GdaConnectionClass *klass)
* GdaConnection::transaction-status-changed
* @cnc: the #GdaConnection
*
- * Gets emitted when the transactional status of @cnc has changed (a transaction has been
+ * Gets emitted when the transaction status of @cnc has changed (a transaction has been
* started, rolled back, a savepoint added,...)
*/
gda_connection_signals[TRANSACTION_STATUS_CHANGED] =
@@ -327,7 +327,7 @@ gda_connection_class_init (GdaConnectionClass *klass)
/**
* GdaConnection:monitor-wrapped-in-mainloop:
*
- * Usefull only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
+ * Useful only when there is a mainloop and when the connection acts as a thread wrapper around another connection,
* it sets up a timeout to handle signals coming from the wrapped connection.
*
* If the connection is not a thread wrapper, then this property has no effect.
@@ -1281,7 +1281,7 @@ gda_connection_open (GdaConnection *cnc, GError **error)
#endif
}
- /* limit connection's useable thread */
+ /* limit connection's usable thread */
if (PROV_CLASS (cnc->priv->provider_obj)->limiting_thread)
g_object_set (G_OBJECT (cnc), "thread-owner",
PROV_CLASS (cnc->priv->provider_obj)->limiting_thread, NULL);
@@ -1825,11 +1825,11 @@ gda_connection_statement_to_sql (GdaConnection *cnc, GdaStatement *stmt, GdaSet
* @stmt: a #GdaStatement object
* @error: a place to store errors, or %NULL
*
- * Ask the database accessed through the @cnc connection to prepare the usage of @stmt. This is only usefull
- * if @stmt will be used more than once (however some database providers may always prepare stamements
+ * Ask the database accessed through the @cnc connection to prepare the usage of @stmt. This is only useful
+ * if @stmt will be used more than once (however some database providers may always prepare statements
* before executing them).
*
- * This function is also usefull to make sure @stmt is fully understood by the database before actually executing it.
+ * This function is also useful to make sure @stmt is fully understood by the database before actually executing it.
*
* Note however that it is also possible that gda_connection_statement_prepare() fails when
* gda_connection_statement_execute() does not fail (this will usually be the case with statements such as
@@ -2088,7 +2088,7 @@ gda_connection_async_statement_execute (GdaConnection *cnc, GdaStatement *stmt,
/**
* gda_connection_async_fetch_result
* @cnc: a #GdaConnection
- * @task_id: a task ID retuned by gda_connection_async_statement_execute()
+ * @task_id: a task ID returned by gda_connection_async_statement_execute()
* @last_insert_row: a place to store a new #GdaSet object which contains the values of the last inserted row, or %NULL
* @error: a place to store errors, or %NULL
*
@@ -2166,7 +2166,7 @@ gda_connection_async_fetch_result (GdaConnection *cnc, guint task_id, GdaSet **l
/**
* gda_connection_async_cancel
* @cnc: a #GdaConnection
- * @task_id: a task ID retuned by gda_connection_async_statement_execute()
+ * @task_id: a task ID returned by gda_connection_async_statement_execute()
* @error: a place to store errors, or %NULL
*
* Requests that a task be cancelled. This operation may of may not have any effect
@@ -2465,7 +2465,7 @@ gda_connection_statement_execute_select (GdaConnection *cnc, GdaStatement *stmt,
* @params: a #GdaSet object (which can be obtained using gda_statement_get_parameters()), or %NULL
* @model_usage: specifies how the returned data model will be used as a #GdaStatementModelUsage enum
* @error: a place to store an error, or %NULL
- * @...: a (-1 terminated) list of (column number, GType) specifying for each column mentionned the GType
+ * @...: a (-1 terminated) list of (column number, GType) specifying for each column mentioned the GType
* of the column in the returned #GdaDataModel.
*
* Executes a selection command on the given connection.
@@ -3759,7 +3759,7 @@ suggest_update_cb_downstream (GdaMetaStore *store, GdaMetaContext *suggest, Down
* @error: a place to store errors, or %NULL
*
* Updates @cnc's associated #GdaMetaStore. If @context is not %NULL, then only the parts described by
- * @context will be updated, and if it is %NULL, then the complete meta store will be updated. Detailled
+ * @context will be updated, and if it is %NULL, then the complete meta store will be updated. Detailed
* explanations follow:
*
* In order to keep the meta store's contents in a consistent state, the update process involves updating
@@ -3775,7 +3775,7 @@ suggest_update_cb_downstream (GdaMetaStore *store, GdaMetaContext *suggest, Down
*
* On the other hand, if @context is not %NULL, then a tree of the dependencies has to be built (depending on
* @context) and only some parts of the meta store are updated following that dependencies tree. Specifying a
- * context may be usefull for example in the following situations:
+ * context may be useful for example in the following situations:
* <itemizedlist>
* <listitem><para>One knows that a database object has changed (for example a table created), and
* may use the @context to request that only the information about that table be updated
@@ -3790,7 +3790,7 @@ suggest_update_cb_downstream (GdaMetaStore *store, GdaMetaContext *suggest, Down
*
* see the <link linkend="information_schema:sql_identifiers">
* meta data section about SQL identifiers</link> for more information, and the documentation about the
- * gda_sql_identifier_quote() function which will be most usefull.
+ * gda_sql_identifier_quote() function which will be most useful.
*
* Note however that usually <emphasis>more</emphasis> information will be updated than strictly requested by
* the @context argument.
@@ -4003,7 +4003,7 @@ gda_connection_update_meta_store (GdaConnection *cnc, GdaMetaContext *context, G
}
/*
- * predefined statements for meta store data retreival
+ * predefined statements for meta store data retrieval
*/
typedef struct {
GdaConnectionMetaType meta_type;
@@ -4161,7 +4161,7 @@ prepare_meta_statements_hash (void)
* @...: a list of (filter name (gchar *), filter value (GValue*)) pairs specifying
* the filter to apply to the returned data model's contents (there must be @nb_filters pairs)
*
- * Retreives data stored in @cnc's associated #GdaMetaStore object. This method is usefull
+ * Retrieves data stored in @cnc's associated #GdaMetaStore object. This method is useful
* to easily get some information about the meta-data associated to @cnc, such as the list of
* tables, views, and other database objects.
*
@@ -4178,7 +4178,7 @@ prepare_meta_statements_hash (void)
*
* See the <link linkend="information_schema:sql_identifiers">
* meta data section about SQL identifiers</link> for more information, and the documentation about the
- * gda_sql_identifier_quote() function which will be most usefull.
+ * gda_sql_identifier_quote() function which will be most useful.
*
* Returns: a #GdaDataModel containing the data required. The caller is responsible
* for freeing the returned model using g_object_unref().
@@ -4344,7 +4344,7 @@ gda_connection_value_to_sql_string (GdaConnection *cnc, GValue *from)
* @isol_level: isolation level.
*
* Internal functions to be called by database providers when a transaction has been started
- * to keep track of the transactional status of the connection.
+ * to keep track of the transaction status of the connection.
*
* Note: this function should not be called if gda_connection_internal_statement_executed()
* has already been called because a statement's execution was necessary to perform
@@ -4393,7 +4393,7 @@ gda_connection_internal_transaction_started (GdaConnection *cnc, const gchar *pa
* @trans_name: transaction's name, or %NULL
*
* Internal functions to be called by database providers when a transaction has been rolled
- * back to keep track of the transactional status of the connection
+ * back to keep track of the transaction status of the connection
*
* Note: this function should not be called if gda_connection_internal_statement_executed()
* has already been called because a statement's execution was necessary to perform
@@ -4447,7 +4447,7 @@ gda_connection_internal_transaction_rolledback (GdaConnection *cnc, const gchar
* @trans_name: transaction's name, or %NULL
*
* Internal functions to be called by database providers when a transaction has been committed
- * to keep track of the transactional status of the connection
+ * to keep track of the transaction status of the connection
*
* Note: this function should not be called if gda_connection_internal_statement_executed()
* has already been called because a statement's execution was necessary to perform
@@ -4502,7 +4502,7 @@ gda_connection_internal_transaction_committed (GdaConnection *cnc, const gchar *
* @svp_name: savepoint's name, or %NULL
*
* Internal functions to be called by database providers when a savepoint has been added
- * to keep track of the transactional status of the connection
+ * to keep track of the transaction status of the connection
*
* Note: this function should not be called if gda_connection_internal_statement_executed()
* has already been called because a statement's execution was necessary to perform
@@ -4546,7 +4546,7 @@ gda_connection_internal_savepoint_added (GdaConnection *cnc, const gchar *parent
* @svp_name: savepoint's name, or %NULL
*
* Internal functions to be called by database providers when a savepoint has been rolled back
- * to keep track of the transactional status of the connection
+ * to keep track of the transaction status of the connection
*
* Note: this function should not be called if gda_connection_internal_statement_executed()
* has already been called because a statement's execution was necessary to perform
@@ -4591,7 +4591,7 @@ gda_connection_internal_savepoint_rolledback (GdaConnection *cnc, const gchar *s
* @svp_name: savepoint's name, or %NULL
*
* Internal functions to be called by database providers when a savepoint has been removed
- * to keep track of the transactional status of the connection
+ * to keep track of the transaction status of the connection
*
* Note: this function should not be called if gda_connection_internal_statement_executed()
* has already been called because a statement's execution was necessary to perform
@@ -4638,7 +4638,7 @@ gda_connection_internal_savepoint_removed (GdaConnection *cnc, const gchar *svp_
* @error: a #GdaConnectionEvent if the execution failed, or %NULL
*
* Internal functions to be called by database providers when a statement has been executed
- * to keep track of the transactional status of the connection
+ * to keep track of the transaction status of the connection
*/
void
gda_connection_internal_statement_executed (GdaConnection *cnc, GdaStatement *stmt, GdaSet *params, GdaConnectionEvent *error)
@@ -4823,7 +4823,7 @@ gda_connection_add_prepared_statement (GdaConnection *cnc, GdaStatement *gda_stm
* @cnc: a #GdaConnection object
* @gda_stmt: a #GdaStatement object
*
- * Retreives a pointer to an object representing a prepared statement for @gda_stmt within @cnc. The
+ * Retrieves a pointer to an object representing a prepared statement for @gda_stmt within @cnc. The
* association must have been done using gda_connection_add_prepared_statement().
*
* Returns: the prepared statement, or %NULL if no association exists
@@ -4959,7 +4959,7 @@ gda_connection_get_meta_store (GdaConnection *cnc)
}
/*
- * This method is usefull only in a multi threading environment (it has no effect in a
+ * This method is useful only in a multi threading environment (it has no effect in a
* single thread program).
* Locks @cnc for the current thread. If the lock can't be obtained, then the current thread
* will be blocked until it can acquire @cnc's lock.
diff --git a/libgda/gda-connection.h b/libgda/gda-connection.h
index a556909..134e65c 100644
--- a/libgda/gda-connection.h
+++ b/libgda/gda-connection.h
@@ -96,7 +96,7 @@ struct _GdaConnectionClass {
*
* Specifies some aspects of a connection when opening it.
*
- * Additionnal information about the GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE flag:
+ * Additional information about the GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE flag:
* <itemizedlist>
* <listitem><para>For example without this flag, if the table
* name specified in a #GdaServerOperation to create a table is
diff --git a/libgda/gda-data-access-wrapper.c b/libgda/gda-data-access-wrapper.c
index 0ef9f26..25ab8d9 100644
--- a/libgda/gda-data-access-wrapper.c
+++ b/libgda/gda-data-access-wrapper.c
@@ -354,7 +354,7 @@ gda_data_access_wrapper_get_property (GObject *object,
* gda_data_access_wrapper_new
* @model: a #GdaDataModel
*
- * Creates a new #GdaDataModel object which buffers the rows of @model. This object is usefull
+ * Creates a new #GdaDataModel object which buffers the rows of @model. This object is useful
* only if @model can only be accessed using cursor based method.
*
* Returns: a pointer to the newly created #GdaDataModel.
diff --git a/libgda/gda-data-comparator.c b/libgda/gda-data-comparator.c
index b225e2b..dec08d5 100644
--- a/libgda/gda-data-comparator.c
+++ b/libgda/gda-data-comparator.c
@@ -415,7 +415,7 @@ find_row_in_model (GdaDataComparator *comp, gint row, gboolean *out_has_changed,
* @comp: a #GdaDataComparator object
* @error: a place to store errors, or %NULL
*
- * Actually computes the differences bewteen the data models for which @comp is defined.
+ * Actually computes the differences between the data models for which @comp is defined.
*
* For each difference computed, stored in a #GdaDiff structure, the "diff-computed" signal is emitted.
* If one connects to this signal and returns FALSE in the signal handler, then computing differences will be
diff --git a/libgda/gda-data-handler.c b/libgda/gda-data-handler.c
index 15ee2cb..0253bd6 100644
--- a/libgda/gda-data-handler.c
+++ b/libgda/gda-data-handler.c
@@ -100,7 +100,7 @@ gda_data_handler_get_sql_from_value (GdaDataHandler *dh, const GValue *value)
* @value: the value to be converted to a string
*
* Creates a new string which is a "user friendly" representation of the given value
- * (in the users's locale, specially for the dates). If the value is
+ * (in the user's locale, specially for the dates). If the value is
* NULL or is of type GDA_TYPE_NULL, the returned string is a copy of "" (empty string).
*
* Returns: the new string, or %NULL if an error occurred
diff --git a/libgda/gda-data-meta-wrapper.c b/libgda/gda-data-meta-wrapper.c
index 8dc3e2a..dc5dd52 100644
--- a/libgda/gda-data-meta-wrapper.c
+++ b/libgda/gda-data-meta-wrapper.c
@@ -331,13 +331,13 @@ gda_data_meta_wrapper_get_property (GObject *object,
* gda_data_meta_wrapper_new
* @model: a #GdaDataModel
*
- * Creates a new #GdaDataModel object which buffers the rows of @model. This object is usefull
+ * Creates a new #GdaDataModel object which buffers the rows of @model. This object is useful
* only if @model can only be metaed using cursor based method.
*
* Returns: a pointer to the newly created #GdaDataModel.
*/
GdaDataModel *
-_gda_data_meta_wrapper_new (GdaDataModel *model, gboolean reuseable, gint *cols, gint size, GdaSqlIdentifierStyle mode,
+_gda_data_meta_wrapper_new (GdaDataModel *model, gboolean reusable, gint *cols, gint size, GdaSqlIdentifierStyle mode,
GdaSqlReservedKeywordsFunc reserved_keyword_func)
{
GdaDataMetaWrapper *retmodel;
@@ -353,7 +353,7 @@ _gda_data_meta_wrapper_new (GdaDataModel *model, gboolean reuseable, gint *cols,
retmodel->priv->mode = mode;
retmodel->priv->reserved_keyword_func = reserved_keyword_func;
- if (reuseable)
+ if (reusable)
retmodel->priv->computed_rows = g_hash_table_new_full (g_int_hash, g_int_equal,
NULL, (GDestroyNotify) comp_row_free);
else {
diff --git a/libgda/gda-data-meta-wrapper.h b/libgda/gda-data-meta-wrapper.h
index da4b254..0ef2554 100644
--- a/libgda/gda-data-meta-wrapper.h
+++ b/libgda/gda-data-meta-wrapper.h
@@ -59,7 +59,7 @@ struct _GdaDataMetaWrapperClass {
};
GType _gda_data_meta_wrapper_get_type (void) G_GNUC_CONST;
-GdaDataModel *_gda_data_meta_wrapper_new (GdaDataModel *model, gboolean reuseable,
+GdaDataModel *_gda_data_meta_wrapper_new (GdaDataModel *model, gboolean reusable,
gint *cols, gint size, GdaSqlIdentifierStyle mode,
GdaSqlReservedKeywordsFunc reserved_keyword_func);
diff --git a/libgda/gda-data-model-dir.c b/libgda/gda-data-model-dir.c
index 2c80cc3..75756b4 100644
--- a/libgda/gda-data-model-dir.c
+++ b/libgda/gda-data-model-dir.c
@@ -1065,7 +1065,7 @@ gda_data_model_dir_set_values (GdaDataModel *model, gint row, GList *values, GEr
return FALSE;
}
else {
- /* renaming succedded => update FileRow */
+ /* renaming succeeded => update FileRow */
#ifndef G_OS_WIN32
g_rmdir (old_path);
#endif
@@ -1107,7 +1107,7 @@ gda_data_model_dir_set_values (GdaDataModel *model, gint row, GList *values, GEr
return FALSE;
}
else {
- /* renaming succedded => update FileRow */
+ /* renaming succeeded => update FileRow */
gda_value_free (frow->filename_value);
frow->filename_value = gda_value_copy (value);
if (frow->raw_filename_value) {
diff --git a/libgda/gda-data-model-import.c b/libgda/gda-data-model-import.c
index 86db3b2..48ba74d 100644
--- a/libgda/gda-data-model-import.c
+++ b/libgda/gda-data-model-import.c
@@ -583,7 +583,7 @@ gda_data_model_import_set_property (GObject *object,
}
}
- /* here we now have a valid data to analyse, try to determine the real kind of data
+ /* here we now have a valid data to analyze, try to determine the real kind of data
* (CVS text of XML) */
if (model->priv->format != FORMAT_XML_NODE) {
g_assert (model->priv->data_start);
@@ -593,7 +593,7 @@ gda_data_model_import_set_property (GObject *object,
model->priv->format = FORMAT_CSV;
}
- /* analyse common options and init. */
+ /* analyze common options and init. */
switch (model->priv->format) {
case FORMAT_XML_DATA:
init_xml_import (model);
@@ -708,7 +708,7 @@ gda_data_model_import_new_file (const gchar *filename, gboolean random_access,
/**
* gda_data_model_import_new_mem
- * @data: a string containng the data to import
+ * @data: a string containing the data to import
* @random_access: TRUE if random access will be required
* @options: list of importing options, see gda_data_model_import_new_file() for more information
*
diff --git a/libgda/gda-data-model.c b/libgda/gda-data-model.c
index e0a6801..2afe3a8 100644
--- a/libgda/gda-data-model.c
+++ b/libgda/gda-data-model.c
@@ -808,7 +808,7 @@ gda_data_model_append_values (GdaDataModel *model, const GList *values, GError *
* @model: a #GdaDataModel object.
* @error: a place to store errors, or %NULL
*
- * Appends a row to the data model (the new row will possibliy have NULL values for all columns,
+ * Appends a row to the data model (the new row will possibly have NULL values for all columns,
* or some other values depending on the data model implementation)
*
* Returns: the number of the added row, or -1 if an error occurred
@@ -1846,7 +1846,7 @@ static gchar *real_gda_data_model_dump_as_string (GdaDataModel *model, gboolean
*
* The following environment variables can affect the resulting output:
* <itemizedlist>
- * <listitem><para>GDA_DATA_MODEL_DUMP_ROW_NUMBERS: if set, the first coulumn of the output will contain row numbers</para></listitem>
+ * <listitem><para>GDA_DATA_MODEL_DUMP_ROW_NUMBERS: if set, the first column of the output will contain row numbers</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_ATTRIBUTES: if set, also dump the data model's columns' types and value's attributes</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_TITLE: if set, also dump the data model's title</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_NULL_AS_EMPTY: if set, replace the 'NULL' string with an empty string for NULL values </para></listitem>
@@ -1909,7 +1909,7 @@ gda_data_model_dump (GdaDataModel *model, FILE *to_stream)
*
* The following environment variables can affect the resulting output:
* <itemizedlist>
- * <listitem><para>GDA_DATA_MODEL_DUMP_ROW_NUMBERS: if set, the first coulumn of the output will contain row numbers</para></listitem>
+ * <listitem><para>GDA_DATA_MODEL_DUMP_ROW_NUMBERS: if set, the first column of the output will contain row numbers</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_TITLE: if set, also dump the data model's title</para></listitem>
* <listitem><para>GDA_DATA_MODEL_DUMP_NULL_AS_EMPTY: if set, replace the 'NULL' string with an empty string for NULL values </para></listitem>
* </itemizedlist>
diff --git a/libgda/gda-data-proxy.c b/libgda/gda-data-proxy.c
index c3b75f3..650c53c 100644
--- a/libgda/gda-data-proxy.c
+++ b/libgda/gda-data-proxy.c
@@ -1278,7 +1278,7 @@ find_or_create_row_modif (GdaDataProxy *proxy, gint proxy_row, gint col, RowValu
* @cols_index: array containing the columns for which the values are requested
* @n_cols: size of @cols_index
*
- * Retreive a whole list of values from the @proxy data model. This function
+ * Retrieve a whole list of values from the @proxy data model. This function
* calls gda_data_proxy_get_value()
* for each column index specified in @cols_index, and generates a #GSList on the way.
*
@@ -2048,7 +2048,7 @@ commit_row_modif (GdaDataProxy *proxy, RowModif *rm, gboolean adjust_display, GE
gda_data_proxy_signals[ROW_CHANGES_APPLIED],
0, proxy_row, model_row);
- /* get rid of the commited change; if the changes have been applied correctly, @rm should
+ /* get rid of the committed change; if the changes have been applied correctly, @rm should
* have been removed from the proxy->priv->all_modifs list because the proxied model
* should habe emitted the "row_{inserted,removed,updated}" signals */
if (rm && g_slist_find (proxy->priv->all_modifs, rm)) {
@@ -2156,7 +2156,7 @@ gda_data_proxy_get_n_modified_rows (GdaDataProxy *proxy)
* be able to display quite a lot of data, but small enough to avoid too much data
* displayed at the same time.
*
- * Note: the rows which have been added but not yet commited will always be displayed
+ * Note: the rows which have been added but not yet committed will always be displayed
* regardless of the current chunk of data, and the modified rows which are not visible
* when the displayed chunk of data changes are still held as modified rows.
*
@@ -3010,7 +3010,7 @@ apply_filter_statement (GdaDataProxy *proxy, GError **error)
* is between 1000 and 2000, ordered by name and limited to 50 rows.
*
* Note about column names: real column names can be used (double quoted if necessary), but columns can also be named
- * "_<column number>" with colmun numbers starting at 1.
+ * "_<column number>" with column numbers starting at 1.
*
* Note that any previous filter expression is replaced with the new @filter_expr if no error occurs
* (if an error occurs, then any previous filter is left unchanged).
@@ -3197,7 +3197,7 @@ gda_data_proxy_get_filter_expr (GdaDataProxy *proxy)
* Get the total number of filtered rows in @proxy if a filter has been applied. As new rows
* (rows added to the proxy and not yet added to the proxied data model) and rows to remove
* (rows marked for removal but not yet removed from the proxied data model) are also filtered,
- * the returned number also contains reefrences to new rows and rows to be removed.
+ * the returned number also contains references to new rows and rows to be removed.
*
* Returns: the number of filtered rows in @proxy, or -1 if no filter has been applied
*/
@@ -3768,7 +3768,7 @@ gda_data_proxy_set_values (GdaDataModel *model, gint row, GList *values, GError
proxy->priv->notify_changes = notify_changes;
if (col && proxy->priv->notify_changes)
- /* at least one successfull value change occurred */
+ /* at least one successful value change occurred */
gda_data_model_row_updated (model, row);
gda_mutex_unlock (proxy->priv->mutex);
diff --git a/libgda/gda-data-select-extra.h b/libgda/gda-data-select-extra.h
index 94bb2fd..1b7c5be 100644
--- a/libgda/gda-data-select-extra.h
+++ b/libgda/gda-data-select-extra.h
@@ -50,7 +50,7 @@ typedef struct {
GdaStatement *modif_stmts[NB_QUERIES];
GHashTable *upd_stmts; /* key = a gboolean vector with TRUEs when the column is used, value = an UPDATE GdaStatement */
GHashTable *ins_stmts; /* key = a gboolean vector with TRUEs when the column is used, value = an INSERT GdaStatement */
- GdaStatement *one_row_select_stmt; /* used to retreive one row after an UPDATE
+ GdaStatement *one_row_select_stmt; /* used to retrieve one row after an UPDATE
* or INSERT operation */
/* Padding for future expansion */
diff --git a/libgda/gda-data-select.c b/libgda/gda-data-select.c
index 5d991f4..81036c5 100644
--- a/libgda/gda-data-select.c
+++ b/libgda/gda-data-select.c
@@ -54,8 +54,8 @@ static void delayed_select_stmt_free (DelayedSelectStmt *dstmt);
* - use @del_rows to determine if the row has been removed (if it's in the array), and otherwise
* get an "internal" row number
* - use the @upd_rows index to see if the row has been modified, and if it has, then use
- * the associated DelayedSelectStmt to retreive the GdaRow
- * - use the virtual methods to actually retreive the requested GdaRow
+ * the associated DelayedSelectStmt to retrieve the GdaRow
+ * - use the virtual methods to actually retrieve the requested GdaRow
*/
static gint external_to_internal_row (GdaDataSelect *model, gint ext_row, GError **error);
@@ -239,7 +239,7 @@ gda_data_select_class_init (GdaDataSelectClass *klass)
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (object_class, PROP_ALL_STORED,
g_param_spec_boolean ("store-all-rows", "Store all the rows",
- "Tells if model has analysed all the rows", FALSE,
+ "Tells if model has analyzed all the rows", FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class, PROP_PARAMS,
g_param_spec_object ("exec-params", NULL,
@@ -790,7 +790,7 @@ gda_data_select_get_property (GObject *object,
break;
case PROP_ALL_STORED:
if (!model->priv->sh->usage_flags & GDA_DATA_MODEL_ACCESS_RANDOM)
- g_warning ("Cannot set the 'store-all-rows' property when acces mode is cursor based");
+ g_warning ("Cannot set the 'store-all-rows' property when access mode is cursor based");
else {
if ((model->advertized_nrows < 0) && CLASS (model)->fetch_nb_rows)
CLASS (model)->fetch_nb_rows (model);
@@ -1399,7 +1399,7 @@ gda_data_select_set_row_selection_condition (GdaDataSelect *model, GdaSqlExpr *
/**
* gda_data_select_set_row_selection_condition_sql
* @model: a #GdaDataSelect data model
- * @sql_where: an SQL condition (withouth the WHERE keyword)
+ * @sql_where: an SQL condition (without the WHERE keyword)
* @error: a place to store errors, or %NULL
*
* Specifies the SQL condition corresponding to the WHERE part of a SELECT statement which would
@@ -1735,7 +1735,7 @@ gda_data_select_get_value_at (GdaDataModel *model, gint col, gint row, GError **
GdaDataModel *tmpmodel;
if (!dstmt->select || !dstmt->params) {
g_set_error (error, GDA_DATA_MODEL_ERROR, GDA_DATA_MODEL_ACCESS_ERROR,
- "%s", _("Unable to retreive data after modifications"));
+ "%s", _("Unable to retrieve data after modifications"));
return NULL;
}
tmpmodel = gda_connection_statement_execute_select (imodel->priv->cnc,
@@ -1743,7 +1743,7 @@ gda_data_select_get_value_at (GdaDataModel *model, gint col, gint row, GError **
dstmt->params, NULL);
if (!tmpmodel) {
g_set_error (error, GDA_DATA_MODEL_ERROR, GDA_DATA_MODEL_ACCESS_ERROR,
- "%s", _("Unable to retreive data after modifications, no further modification will be allowed"));
+ "%s", _("Unable to retrieve data after modifications, no further modification will be allowed"));
imodel->priv->sh->modif_internals->safely_locked = TRUE;
return NULL;
}
@@ -1751,7 +1751,7 @@ gda_data_select_get_value_at (GdaDataModel *model, gint col, gint row, GError **
if (gda_data_model_get_n_rows (tmpmodel) != 1) {
g_object_unref (tmpmodel);
g_set_error (error, GDA_DATA_MODEL_ERROR, GDA_DATA_MODEL_ACCESS_ERROR,
- "%s", _("Unable to retreive data after modifications, no further modification will be allowed"));
+ "%s", _("Unable to retrieve data after modifications, no further modification will be allowed"));
imodel->priv->sh->modif_internals->safely_locked = TRUE;
return NULL;
}
@@ -1773,7 +1773,7 @@ gda_data_select_get_value_at (GdaDataModel *model, gint col, gint row, GError **
g_object_unref (tmpmodel);
g_object_unref (prow);
g_set_error (error, GDA_DATA_MODEL_ERROR, GDA_DATA_MODEL_ACCESS_ERROR,
- "%s", _("Unable to retreive data after modifications, no further modification will be allowed"));
+ "%s", _("Unable to retrieve data after modifications, no further modification will be allowed"));
imodel->priv->sh->modif_internals->safely_locked = TRUE;
return NULL;
}
@@ -2172,7 +2172,7 @@ compute_single_update_stmt (GdaDataSelect *model, BVector *bv, GError **error)
/*
* creates a derivative of the model->priv->sh->modif_internals->modif_stmts [INS_QUERY] statement
- * where only the columns where @bv->data[colnum] is not 0 are not mentionned.
+ * where only the columns where @bv->data[colnum] is not 0 are not mentioned.
*
* Returns: a new #GdaStatement, or %NULL
*/
diff --git a/libgda/gda-easy.c b/libgda/gda-easy.c
index c942ba4..44317c0 100644
--- a/libgda/gda-easy.c
+++ b/libgda/gda-easy.c
@@ -180,12 +180,12 @@ gda_perform_drop_database (const gchar *provider, GdaServerOperation *op, GError
/**
* gda_execute_select_command
* @cnc: an opened connection
- * @sql: a query statament must begin with "SELECT"
+ * @sql: a query statement must begin with "SELECT"
* @error: a place to store errors, or %NULL
*
* Execute a SQL SELECT command over an opened connection.
*
- * Returns: a new #GdaDataModel if succesfull, NULL otherwise
+ * Returns: a new #GdaDataModel if successful, NULL otherwise
*/
GdaDataModel *
gda_execute_select_command (GdaConnection *cnc, const gchar *sql, GError **error)
@@ -216,7 +216,7 @@ gda_execute_select_command (GdaConnection *cnc, const gchar *sql, GError **error
/**
* gda_execute_sql_command
* @cnc: an opened connection
- * @sql: a query statament must begin with "SELECT"
+ * @sql: a query statement must begin with "SELECT"
* @error: a place to store errors, or %NULL
*
* This is a convenience function to execute a SQL command over the opened connection.
@@ -505,7 +505,7 @@ gtype_equal (gconstpointer a, gconstpointer b)
*
* Obtain a pointer to a #GdaDataHandler which can manage #GValue values of type @for_type. The returned
* data handler will be adapted to use the current locale information (for example dates will be formatted
- * taking into accoutn the locale).
+ * taking into account the locale).
*
* The returned pointer is %NULL if there is no default data handler available for the @for_type data type
*
diff --git a/libgda/gda-holder.c b/libgda/gda-holder.c
index 9eb00ba..a56ae6d 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -403,7 +403,7 @@ gda_holder_copy (GdaHolder *orig)
* Creates a new #GdaHolder object with an ID set to @id, of type @type,
* and containing the value passed as the last argument.
*
- * Note that this function is a utility function and that anly a limited set of types are supported. Trying
+ * Note that this function is a utility function and that only a limited set of types are supported. Trying
* to use an unsupported type will result in a warning, and the returned value holder holding a safe default
* value.
*
@@ -859,7 +859,7 @@ gda_holder_set_value_str (GdaHolder *holder, GdaDataHandler *dh, const gchar *va
* as soon as this method is called (even if @holder's value does not actually change).
*
* If the value is not different from the one already contained within @holder,
- * then @holder is not chaged and no signal is emitted.
+ * then @holder is not changed and no signal is emitted.
*
* Note1: if @holder can't accept the @value value, then this method returns FALSE, and @holder will be left
* in an invalid state.
@@ -1165,7 +1165,7 @@ real_gda_holder_set_const_value (GdaHolder *holder, const GValue *value,
* freeing or for its correct value at the moment of query.
*
* If the value is not different from the one already contained within @holder,
- * then @holder is not chaged and no signal is emitted.
+ * then @holder is not changed and no signal is emitted.
*
* Note1: if @holder can't accept the @value value, then this method returns NULL, and @holder will be left
* in an invalid state.
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 6f343c4..5966112 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -392,7 +392,7 @@ gda_meta_store_class_init (GdaMetaStoreClass *klass)
* @store: the #GdaMetaStore instance that emitted the signal
*
* This signal is emitted when the @store's contents have been reset completely and when
- * no detailled changes are available
+ * no detailed changes are available
*/
gda_meta_store_signals[META_RESET] =
g_signal_new ("meta-reset",
@@ -561,7 +561,7 @@ gda_meta_store_constructor (GType type,
/* create a local copy of all the DbObject structures defined in klass->cpriv */
if (store->priv->catalog && !store->priv->schema) {
- g_warning (_("Catalog specified but no schema specified, store will not be useable"));
+ g_warning (_("Catalog specified but no schema specified, store will not be usable"));
store->priv->schema_ok = FALSE;
}
else {
@@ -1227,7 +1227,7 @@ create_view_object (GdaMetaStoreClass *klass, GdaMetaStore *store, xmlNodePtr no
goto onerror;
}
- /* use a parser to analyse the view dependencies */
+ /* use a parser to analyze the view dependencies */
GdaStatement *stmt;
const gchar *remain;
stmt = gda_sql_parser_parse_string (klass->cpriv->parser, (gchar *) def, &remain, error);
@@ -2077,7 +2077,7 @@ gda_meta_store_get_internal_connection (GdaMetaStore *store) {
* @cnc: a #GdaConnection
*
* Use this method to get a correctly quoted (if necessary) SQL identifier which can be used
- * to retreive or filter information in a #GdaMetaStore which stores meta data about @cnc.
+ * to retrieve or filter information in a #GdaMetaStore which stores meta data about @cnc.
*
* The returned SQL identifier can be used in conjunction with gda_connection_update_meta_store(),
* gda_connection_get_meta_store_data(), gda_connection_get_meta_store_data_v() and
@@ -2104,7 +2104,7 @@ gda_meta_store_sql_identifier_quote (const gchar *id, GdaConnection *cnc)
* @select_sql: a SELECT statement
* @error: a place to store errors, or %NULL
* @...: a list of (variable name (gchar *), GValue *value) terminated with NULL, representing values for all the
- * variables mentionned in @select_sql. If there is no variable then this part can be omitted.
+ * variables mentioned in @select_sql. If there is no variable then this part can be omitted.
*
* Extracts some data stored in @store using a custom SELECT query. If the @select_sql filter involves
* SQL identifiers (such as table or column names), then the values should have been adapted using
@@ -2229,7 +2229,7 @@ static gboolean gda_meta_store_modify_v (GdaMetaStore *store, const gchar *table
* @condition: SQL expression (which may contain variables) defining the rows which are being obsoleted by @new_data, or %NULL
* @error: a place to store errors, or %NULL
* @...: a list of (variable name (gchar *), GValue *value) terminated with NULL, representing values for all the
- * variables mentionned in @condition.
+ * variables mentioned in @condition.
*
* Propagates an update to @store, the update's contents is represented by @new_data, this function is
* primarily reserved to database providers.
@@ -2239,7 +2239,7 @@ static gboolean gda_meta_store_modify_v (GdaMetaStore *store, const gchar *table
* argument.
*
* Now, to update only one table, the @new_data data model should have one row for the table to update (or no row
- * at all if the table does not exist anymore), and have values for the promary key of the "_tables" table of
+ * at all if the table does not exist anymore), and have values for the primary key of the "_tables" table of
* @store, namely "table_catalog", "table_schema" and "table_name".
*
* Returns: TRUE if no error occurred
@@ -2883,7 +2883,7 @@ out:
* @error: a place to store errors, or %NULL
*
* Sets @store in a mode where only the modifications completely overriding a table
- * will be allowed, where no detailled modifications report is made and where the "suggest-update"
+ * will be allowed, where no detailed modifications report is made and where the "suggest-update"
* signal is not emitted.
*
* Returns: TRUE if no error occurred
@@ -3928,7 +3928,7 @@ _gda_meta_store_schema_get_downstream_contexts (GdaMetaStore *store, GdaMetaCont
TableFKey *tfk = (TableFKey*) list->data;
GdaMetaContext *ct;
- /* REM: there may be duplicates, but we don't really care here (it'd take more ressources to get rid of
+ /* REM: there may be duplicates, but we don't really care here (it'd take more resources to get rid of
* them than it takes to put duplicates in a hash table */
ct = g_new0 (GdaMetaContext, 1);
ct->table_name = tfk->table_info->obj_name;
diff --git a/libgda/gda-meta-struct.c b/libgda/gda-meta-struct.c
index be54a5c..bcd983c 100644
--- a/libgda/gda-meta-struct.c
+++ b/libgda/gda-meta-struct.c
@@ -1296,7 +1296,7 @@ real_gda_meta_struct_complement_all (GdaMetaStruct *mstruct, gboolean default_on
*
* This method is similar to gda_meta_struct_complement() and gda_meta_struct_complement_all()
* but creates #GdaMetaDbObject for all the
- * database object which are useable using only their short name (that is which do not need to be prefixed by
+ * database object which are usable using only their short name (that is which do not need to be prefixed by
* the schema in which they are to be used).
*
* Please refer to gda_meta_struct_complement() form more information.
@@ -2235,7 +2235,7 @@ copyerror:
* @error: a place to store errors, or %NULL
*
* Adds @dbo to the database objects known to @mstruct. In any case (whether an error occured or not)
- * @dbo's responsability is then transferred to @smtruct and should
+ * @dbo's responsibility is then transferred to @smtruct and should
* not be used after calling this function (it may have been destroyed). If you need a pointer to the #GdaMetaDbObject
* for a database object, use gda_meta_struct_get_db_object().
*
diff --git a/libgda/gda-server-operation.c b/libgda/gda-server-operation.c
index 1e59c9b..f35f428 100644
--- a/libgda/gda-server-operation.c
+++ b/libgda/gda-server-operation.c
@@ -2235,7 +2235,7 @@ gda_server_operation_set_value_at (GdaServerOperation *op, const gchar *value, G
* Tells if all the required values in @op have been defined.
*
* if @xml_file is not %NULL, the validity of @op is tested against that specification,
- * and not againts the current @op's specification.
+ * and not against the current @op's specification.
*
* Returns: TRUE if @op is valid
*/
diff --git a/libgda/gda-server-provider-extra.h b/libgda/gda-server-provider-extra.h
index 2cf5dc9..c146ad7 100644
--- a/libgda/gda-server-provider-extra.h
+++ b/libgda/gda-server-provider-extra.h
@@ -57,7 +57,7 @@ GdaDataHandler *gda_server_provider_get_data_handler_default (GdaServerProvider
GdaStatement *gda_select_alter_select_for_empty (GdaStatement *stmt, GError **error);
/*
- * Help to implement the GdaDataHandler retreiving for the providers
+ * Help to implement the GdaDataHandler retrieving for the providers
*/
typedef struct {
GdaConnection *cnc;
diff --git a/libgda/gda-set.c b/libgda/gda-set.c
index 47d223f..29a03d0 100644
--- a/libgda/gda-set.c
+++ b/libgda/gda-set.c
@@ -372,7 +372,7 @@ gda_set_new (GSList *holders)
* gda_set_copy
* @set: a #GdaSet object
*
- * Creates a new #GdaSet object, opy of @set
+ * Creates a new #GdaSet object, copy of @set
*
* Returns: a new #GdaSet object
*/
@@ -403,7 +403,7 @@ gda_set_copy (GdaSet *set)
* For each triplet (id, Glib type and value),
* the value must be of the correct type (gchar * if type is G_STRING, ...)
*
- * Note that this function is a utility function and that anly a limited set of types are supported. Trying
+ * Note that this function is a utility function and that only a limited set of types are supported. Trying
* to use an unsupported type will result in a warning, and the returned value holder holding a safe default
* value.
*
diff --git a/libgda/gda-sql-builder.c b/libgda/gda-sql-builder.c
index 5b10a98..dbcb956 100644
--- a/libgda/gda-sql-builder.c
+++ b/libgda/gda-sql-builder.c
@@ -333,11 +333,11 @@ gda_sql_builder_get_statement (GdaSqlBuilder *builder, GError **error)
* Creates a new #GdaSqlStatement structure from @builder's contents.
*
* If @copy_it is %FALSE, then the returned pointer is considered to be stolen from @builder's internal
- * representation and will make it unuseable anymore (resulting in a %GDA_SQL_BUILDER_MISUSE_ERROR error or
+ * representation and will make it unusable anymore (resulting in a %GDA_SQL_BUILDER_MISUSE_ERROR error or
* some warnings if one tries to reuse it).
* If, on the other
* hand it is set to %TRUE, then the returned #GdaSqlStatement is a copy of the on @builder uses
- * internally, making it reuseable.
+ * internally, making it reusable.
*
* Returns: a #GdaSqlStatement pointer
*
diff --git a/libgda/gda-util.c b/libgda/gda-util.c
index bfa8eff..8351d2d 100644
--- a/libgda/gda-util.c
+++ b/libgda/gda-util.c
@@ -144,7 +144,7 @@ gda_g_type_from_string (const gchar *str)
* @string: string to escape
*
* Escapes @string to make it understandable by a DBMS. The escape method is very common and replaces any
- * occurence of "'" with "''" and "\" with "\\"
+ * occurrence of "'" with "''" and "\" with "\\"
*
* Returns: a new string
*/
@@ -695,7 +695,7 @@ gda_text_to_alphanum (const gchar *text)
*
* Does the opposite of gda_text_to_alphanum(), in the same string
*
- * Returns: @text if conversion succedded or %NULL if an error occurred
+ * Returns: @text if conversion succeeded or %NULL if an error occurred
*/
gchar *
gda_alphanum_to_text (gchar *text)
@@ -1119,7 +1119,7 @@ gda_compute_dml_statements (GdaConnection *cnc, GdaStatement *select_stmt, gbool
*
* Computes a SELECT statement which selects all the rows the @update_stmt would update. Beware
* however that this GdaSqlStatement does not select anything (ie it would be rendered as "SELECT FROM ... WHERE ...")
- * and before being useable, one needs to add some fields to actually select.
+ * and before being usable, one needs to add some fields to actually select.
*
* Returns; a new #GdaStatement if no error occurred, or %NULL otherwise
*/
@@ -2046,7 +2046,7 @@ gda_rfc1738_decode (gchar *string)
*
* Extract the DSN, username and password from @string. in @string, the various parts are strings
* which are expected to be encoded using an RFC 1738 compliant encoding. If they are specified,
- * the returned username and password strings are correclty decoded.
+ * the returned username and password strings are correctly decoded.
*
* @out_username and @out_password may be set to %NULL depending on @string's format.
*/
@@ -2096,7 +2096,7 @@ gda_dsn_split (const gchar *string, gchar **out_dsn, gchar **out_username, gchar
* Extract the provider, connection parameters, username and password from @string.
* in @string, the various parts are strings
* which are expected to be encoded using an RFC 1738 compliant encoding. If they are specified,
- * the returned provider, username and password strings are correclty decoded.
+ * the returned provider, username and password strings are correctly decoded.
*/
void
gda_connection_string_split (const gchar *string, gchar **out_cnc_params, gchar **out_provider,
diff --git a/libgda/gda-value.c b/libgda/gda-value.c
index 509d465..8d281f9 100644
--- a/libgda/gda-value.c
+++ b/libgda/gda-value.c
@@ -1749,7 +1749,7 @@ gda_value_set_timestamp (GValue *value, const GdaTimestamp *val)
*
* Returns: %TRUE if the value has been converted to @type from
* its string representation; it not means that the value is converted
- * successfully, just that the transformation is avairable. %FALSE otherwise.
+ * successfully, just that the transformation is available. %FALSE otherwise.
*/
gboolean
gda_value_set_from_string (GValue *value,
diff --git a/libgda/gda-value.h b/libgda/gda-value.h
index 288ad91..e268fe7 100644
--- a/libgda/gda-value.h
+++ b/libgda/gda-value.h
@@ -99,7 +99,7 @@ typedef struct {
typedef struct {
GdaBinary data;
GdaBlobOp *op; /* set up by providers if the GdaBlob is linked to something actually existing in the database,
- useable by anyone */
+ usable by anyone */
} GdaBlob;
typedef GList GdaValueList;
diff --git a/libgda/gda-xa-transaction.c b/libgda/gda-xa-transaction.c
index f37294e..86d26cf 100644
--- a/libgda/gda-xa-transaction.c
+++ b/libgda/gda-xa-transaction.c
@@ -241,7 +241,7 @@ gda_xa_transaction_get_type (void)
* @format: a format ID
* @global_transaction_id: the global transaction ID
*
- * Creates a new #GdaXaTransaction object, which will control the processus of
+ * Creates a new #GdaXaTransaction object, which will control the process of
* performing a distributed transaction across several connections.
*
* Returns: the newly created object.
@@ -614,7 +614,7 @@ gda_xa_transaction_rollback (GdaXaTransaction *xa_trans, GError **error)
* @error: a place to store errors, or %NULL
*
* Tries to commit the data prepared but which failed to commit (see gda_xa_transaction_commit()). This
- * method allows one to terminate a distributed transaction which succedded but for which some
+ * method allows one to terminate a distributed transaction which succeeded but for which some
* connections needed to be recovered.
*
* Returns: TRUE if all the data which was still uncommitted has been committed
diff --git a/libgda/handlers/gda-handler-bin.c b/libgda/handlers/gda-handler-bin.c
index 61cb4cd..812c735 100644
--- a/libgda/handlers/gda-handler-bin.c
+++ b/libgda/handlers/gda-handler-bin.c
@@ -43,7 +43,7 @@ static gboolean gda_handler_bin_accepts_g_type (GdaDataHandler * dh, G
static const gchar *gda_handler_bin_get_descr (GdaDataHandler *dh);
struct _GdaHandlerBinPriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
};
@@ -114,7 +114,7 @@ gda_handler_bin_init (GdaHandlerBin * hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaHandlerBinPriv, 1);
- hdl->priv->detailled_descr = _("Binary handler");
+ hdl->priv->detailed_descr = _("Binary handler");
hdl->priv->nb_g_types = 2;
hdl->priv->valid_g_types = g_new0 (GType, hdl->priv->nb_g_types);
hdl->priv->valid_g_types[0] = GDA_TYPE_BINARY;
diff --git a/libgda/handlers/gda-handler-boolean.c b/libgda/handlers/gda-handler-boolean.c
index 52327b1..4d972f5 100644
--- a/libgda/handlers/gda-handler-boolean.c
+++ b/libgda/handlers/gda-handler-boolean.c
@@ -43,7 +43,7 @@ static gboolean gda_handler_boolean_accepts_g_type (GdaDataHandler * d
static const gchar *gda_handler_boolean_get_descr (GdaDataHandler *dh);
struct _GdaHandlerBooleanPriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
};
@@ -114,7 +114,7 @@ gda_handler_boolean_init (GdaHandlerBoolean *hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaHandlerBooleanPriv, 1);
- hdl->priv->detailled_descr = _("Boolean values handler");
+ hdl->priv->detailed_descr = _("Boolean values handler");
hdl->priv->nb_g_types = 1;
hdl->priv->valid_g_types = g_new0 (GType, 1);
hdl->priv->valid_g_types[0] = G_TYPE_BOOLEAN;
diff --git a/libgda/handlers/gda-handler-numerical.c b/libgda/handlers/gda-handler-numerical.c
index 7a3d352..98e4a2e 100644
--- a/libgda/handlers/gda-handler-numerical.c
+++ b/libgda/handlers/gda-handler-numerical.c
@@ -44,7 +44,7 @@ static gboolean gda_handler_numerical_accepts_g_type (GdaDataHandler *
static const gchar *gda_handler_numerical_get_descr (GdaDataHandler *dh);
struct _GdaHandlerNumericalPriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
};
@@ -115,7 +115,7 @@ gda_handler_numerical_init (GdaHandlerNumerical * hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaHandlerNumericalPriv, 1);
- hdl->priv->detailled_descr = "";
+ hdl->priv->detailed_descr = "";
hdl->priv->nb_g_types = 13;
hdl->priv->valid_g_types = g_new0 (GType, hdl->priv->nb_g_types);
hdl->priv->valid_g_types[0] = G_TYPE_INT64;
diff --git a/libgda/handlers/gda-handler-string.c b/libgda/handlers/gda-handler-string.c
index 4ede2c9..95e2639 100644
--- a/libgda/handlers/gda-handler-string.c
+++ b/libgda/handlers/gda-handler-string.c
@@ -44,7 +44,7 @@ static gboolean gda_handler_string_accepts_g_type (GdaDataHandler * dh
static const gchar *gda_handler_string_get_descr (GdaDataHandler *dh);
struct _GdaHandlerStringPriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
@@ -118,7 +118,7 @@ gda_handler_string_init (GdaHandlerString * hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaHandlerStringPriv, 1);
- hdl->priv->detailled_descr = _("Strings handler");
+ hdl->priv->detailed_descr = _("Strings handler");
hdl->priv->nb_g_types = 1;
hdl->priv->valid_g_types = g_new0 (GType, 1);
hdl->priv->valid_g_types[0] = G_TYPE_STRING;
diff --git a/libgda/handlers/gda-handler-time.c b/libgda/handlers/gda-handler-time.c
index 7a4bbeb..b65e091 100644
--- a/libgda/handlers/gda-handler-time.c
+++ b/libgda/handlers/gda-handler-time.c
@@ -65,7 +65,7 @@ typedef struct _LocaleSetting {
static gchar *render_date_locale (const GDate *date, LocaleSetting *locale);
struct _GdaHandlerTimePriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
@@ -140,7 +140,7 @@ gda_handler_time_init (GdaHandlerTime *hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaHandlerTimePriv, 1);
- hdl->priv->detailled_descr = _("Time and Date handler");
+ hdl->priv->detailed_descr = _("Time and Date handler");
hdl->priv->nb_g_types = 3;
hdl->priv->valid_g_types = g_new0 (GType, 7);
hdl->priv->valid_g_types[0] = G_TYPE_DATE;
@@ -450,7 +450,7 @@ gda_handler_time_get_no_locale_str_from_value (GdaHandlerTime *hdl, const GValue
* @dh: a #GdaHandlerTime object
* @type: the type of data being handled
*
- * Get a string representing the locale-dependant way to enter a date/time/datetime, using
+ * Get a string representing the locale-dependent way to enter a date/time/datetime, using
* a syntax suitable for the #GnomeDbFormatEntry widget
*
* Returns: a new string
diff --git a/libgda/handlers/gda-handler-type.c b/libgda/handlers/gda-handler-type.c
index f948b7a..a3f21e6 100644
--- a/libgda/handlers/gda-handler-type.c
+++ b/libgda/handlers/gda-handler-type.c
@@ -41,7 +41,7 @@ static gboolean gda_handler_type_accepts_g_type (GdaDataHandler * dh,
static const gchar *gda_handler_type_get_descr (GdaDataHandler *dh);
struct _GdaHandlerTypePriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
};
@@ -112,7 +112,7 @@ gda_handler_type_init (GdaHandlerType * hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaHandlerTypePriv, 1);
- hdl->priv->detailled_descr = _("Gda type handler");
+ hdl->priv->detailed_descr = _("Gda type handler");
hdl->priv->nb_g_types = 1;
hdl->priv->valid_g_types = g_new0 (GType, 1);
hdl->priv->valid_g_types[0] = G_TYPE_GTYPE;
diff --git a/libgda/information_schema.xml b/libgda/information_schema.xml
index 37b13ba..4e34639 100644
--- a/libgda/information_schema.xml
+++ b/libgda/information_schema.xml
@@ -559,7 +559,7 @@ SELECT domain_short_name, domain_gtype, domain_full_name, domain_comments, domai
domain_catalog, domain_schema, domain_name , NULL, NULL, NULL FROM _domains</definition>
</view>
- <view name="_detailled_fk" descr="For each foreign key constraint, lists all the tables' columns involved and the constraint name">
+ <view name="_detailed_fk" descr="For each foreign key constraint, lists all the tables' columns involved and the constraint name">
<definition>SELECT rc.table_catalog as fk_table_catalog, rc.table_schema as fk_table_schema, rc.table_name as fk_table_name, kc1.column_name as fk_column,
rc.ref_table_catalog as ref_table_catalog, rc.ref_table_schema as ref_table_schema, rc.ref_table_name as ref_table_name, kc2.column_name as ref_column,
rc.constraint_name as fk_constraint_name, kc1.ordinal_position as ordinal_position
diff --git a/libgda/sql-parser/gda-sql-parser.c b/libgda/sql-parser/gda-sql-parser.c
index 7730380..54701e9 100644
--- a/libgda/sql-parser/gda-sql-parser.c
+++ b/libgda/sql-parser/gda-sql-parser.c
@@ -1035,7 +1035,7 @@ handle_composed_2_keywords (GdaSqlParser *parser, GValue *retval, gint second, g
*
* Returns: the token Id, or:
* L_ILLEGAL if an error occurred
- * L_END_OF_FILE if nothing more to analyse
+ * L_END_OF_FILE if nothing more to analyze
*/
static GValue *
getToken (GdaSqlParser *parser)
diff --git a/libgda/sql-parser/gda-statement-struct-delete.c b/libgda/sql-parser/gda-statement-struct-delete.c
index c8d5c8a..a6903e6 100644
--- a/libgda/sql-parser/gda-statement-struct-delete.c
+++ b/libgda/sql-parser/gda-statement-struct-delete.c
@@ -122,7 +122,7 @@ gda_sql_statement_delete_serialize (gpointer stmt)
* @stmt: a #GdaSqlStatement pointer
* @value: a table name as a G_TYPE_STRING #GValue
*
- * Sets the name of the table to delete from in @stmt. @value's responsability is transfered to
+ * Sets the name of the table to delete from in @stmt. @value's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -140,7 +140,7 @@ gda_sql_statement_delete_take_table_name (GdaSqlStatement *stmt, GValue *value)
* @stmt: a #GdaSqlStatement pointer
* @cond: the WHERE condition of the DELETE statement, as a #GdaSqlExpr
*
- * Sets the WHERE condition of @stmt. @cond's responsability is transfered to
+ * Sets the WHERE condition of @stmt. @cond's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
diff --git a/libgda/sql-parser/gda-statement-struct-insert.c b/libgda/sql-parser/gda-statement-struct-insert.c
index f34a77e..3641694 100644
--- a/libgda/sql-parser/gda-statement-struct-insert.c
+++ b/libgda/sql-parser/gda-statement-struct-insert.c
@@ -222,7 +222,7 @@ gda_sql_statement_insert_serialize (gpointer stmt)
* @stmt: a #GdaSqlStatement pointer
* @value: name of the table to insert into, as a G_TYPE_STRING #GValue
*
- * Sets the name of the table to insert into in @stmt. @value's responsability is transfered to
+ * Sets the name of the table to insert into in @stmt. @value's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -238,9 +238,9 @@ gda_sql_statement_insert_take_table_name (GdaSqlStatement *stmt, GValue *value)
/**
* gda_sql_statement_insert_take_on_conflict
* @stmt: a #GdaSqlStatement pointer
- * @value: name of the resolution conflict algotithm, as a G_TYPE_STRING #GValue
+ * @value: name of the resolution conflict algorithm, as a G_TYPE_STRING #GValue
*
- * Sets the name of the resolution conflict algotithm used by @stmt. @value's responsability is transfered to
+ * Sets the name of the resolution conflict algorithm used by @stmt. @value's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -260,7 +260,7 @@ gda_sql_statement_insert_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
* @list: a list of #GdaSqlField pointers
*
* Sets the list of fields for which values will be specified in @stmt. @list's
- * responsability is transfered to
+ * responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -280,7 +280,7 @@ gda_sql_statement_insert_take_fields_list (GdaSqlStatement *stmt, GSList *list)
* @list: a list of #GdaSqlExpr pointers
*
* Sets a list of values to be inserted by @stmt. @list's
- * responsability is transfered to
+ * responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -300,7 +300,7 @@ gda_sql_statement_insert_take_1_values_list (GdaSqlStatement *stmt, GSList *list
* @list: a list of #GSQliet of #GdaSqlExpr pointers
*
* Sets a list of list of values to be inserted by @stmt. @list's
- * responsability is transfered to
+ * responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -322,7 +322,7 @@ gda_sql_statement_insert_take_extra_values_list (GdaSqlStatement *stmt, GSList *
* @select: a SELECT #GdaSqlStatement pointer
*
* Specifies a SELECT statement, the values inserted will be the result set of @select. @select's
- * responsability is transfered to
+ * responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
diff --git a/libgda/sql-parser/gda-statement-struct-parts.c b/libgda/sql-parser/gda-statement-struct-parts.c
index 60e8b5a..f40558e 100644
--- a/libgda/sql-parser/gda-statement-struct-parts.c
+++ b/libgda/sql-parser/gda-statement-struct-parts.c
@@ -89,7 +89,7 @@ gda_sql_expr_free (GdaSqlExpr *expr)
* gda_sql_expr_copy
* @expr: a #GdaSqlExpr
*
- * Creates a new #GdaSqlExpr structure initated with the values stored in @expr.
+ * Creates a new #GdaSqlExpr structure initiated with the values stored in @expr.
*
* Returns: a new #GdaSqlExpr structure.
*/
@@ -220,7 +220,7 @@ gda_sql_expr_serialize (GdaSqlExpr *expr)
* @expr: a #GdaSqlExpr structure
* @stmt: a #GdaSqlStatement holding the #GdaSqlStatementSelect to take from
*
- * Sets the expression's parent to the #GdaSqlStatementSelect holded by @stmt. After
+ * Sets the expression's parent to the #GdaSqlStatementSelect held by @stmt. After
* calling this function @stmt is freed.
*
*/
@@ -276,7 +276,7 @@ gda_sql_field_free (GdaSqlField *field)
* gda_sql_field_copy
* @field: a #GdaSqlAnyPart
*
- * Creates a new GdaSqlField structure initated with the values stored in @field.
+ * Creates a new GdaSqlField structure initiated with the values stored in @field.
*
* Returns: a new #GdaSqlField structure.
*/
@@ -317,7 +317,7 @@ gda_sql_field_serialize (GdaSqlField *field)
* @field: a #GdaSqlField structure
* @value: a #GValue holding a string to take from
*
- * Sets the field's name using the string holded by @value. When call, @value is freed using
+ * Sets the field's name using the string held by @value. When call, @value is freed using
* #gda_value_free().
*
*/
@@ -368,7 +368,7 @@ gda_sql_table_free (GdaSqlTable *table)
* gda_sql_table_copy
* @table: a #GdaSqlTable structure to be copied
*
- * Creates a new #GdaSqlTable structure initated with the values stored in @table.
+ * Creates a new #GdaSqlTable structure initiated with the values stored in @table.
*
* Returns: a new #GdaSqlTable structure.
*/
@@ -409,7 +409,7 @@ gda_sql_table_serialize (GdaSqlTable *table)
* @field: a #GdaSqlTable structure
* @value: a #GValue holding a string to take from
*
- * Sets the table's name using the string holded by @value. When call, @value is freed using
+ * Sets the table's name using the string held by @value. When call, @value is freed using
* gda_value_free().
*
*/
@@ -426,7 +426,7 @@ gda_sql_table_take_name (GdaSqlTable *table, GValue *value)
* gda_sql_function_new
* @parent: a #GdaSqlAnyPart structure
*
- * Creates a new #GdaSqlFunction structure initated.
+ * Creates a new #GdaSqlFunction structure initiated.
*
* Returns: a new #GdaSqlFunction structure.
*/
@@ -463,7 +463,7 @@ gda_sql_function_free (GdaSqlFunction *function)
* gda_sql_function_copy
* @function: a #GdaSqlFunction structure to be copied
*
- * Creates a new #GdaSqlFunction structure initated with the values stored in @function.
+ * Creates a new #GdaSqlFunction structure initiated with the values stored in @function.
*
* Returns: a new #GdaSqlFunction structure.
*/
@@ -543,7 +543,7 @@ gda_sql_function_serialize (GdaSqlFunction *function)
* @function: a #GdaSqlFunction structure
* @value: a #GValue holding a string to take from
*
- * Sets the function's name using the string holded by @value. When call, @value is freed using
+ * Sets the function's name using the string held by @value. When call, @value is freed using
* #gda_value_free().
*/
void
@@ -614,7 +614,7 @@ gda_sql_operation_free (GdaSqlOperation *operation)
* gda_sql_operation_copy
* @operation: a #GdaSqlOperation structure to be copied
*
- * Creates a new #GdaSqlOperation structure initated with the values stored in @operation.
+ * Creates a new #GdaSqlOperation structure initiated with the values stored in @operation.
*
* Returns: a new #GdaSqlOperation structure.
*/
@@ -886,7 +886,7 @@ gda_sql_case_free (GdaSqlCase *sc)
* gda_sql_case_copy
* @sc: a #GdaSqlCase structure to be copied
*
- * Creates a new #GdaSqlCase structure initated with the values stored in @sc.
+ * Creates a new #GdaSqlCase structure initiated with the values stored in @sc.
*
* Returns: a new #GdaSqlCase structure.
*/
@@ -925,10 +925,10 @@ gda_sql_case_copy (GdaSqlCase *sc)
* gda_sql_case_serialize
* @sc: a #GdaSqlCase structure
*
- * Creates a new string representing a CASE clausure. You need to free the returned string
+ * Creates a new string representing a CASE clause. You need to free the returned string
* using g_free();
*
- * Returns: a new string with the description of the CASE clausure or "null" in case @sc is invalid.
+ * Returns: a new string with the description of the CASE clause or "null" in case @sc is invalid.
*/
gchar *
gda_sql_case_serialize (GdaSqlCase *sc)
@@ -983,7 +983,7 @@ gda_sql_case_serialize (GdaSqlCase *sc)
* @parent: a #GdaSqlStatementSelect structure
*
* Creates a new #GdaSqlSelectField structure and sets its parent to @parent. A
- * #GdaSqlSelectField is any expression in SELECT statements before the FROM clausure.
+ * #GdaSqlSelectField is any expression in SELECT statements before the FROM clause.
*
* Returns: a new #GdaSqlSelectField structure.
*/
@@ -1021,7 +1021,7 @@ gda_sql_select_field_free (GdaSqlSelectField *field)
* gda_sql_select_field_copy
* @field: a #GdaSqlSelectField structure to be copied
*
- * Creates a new #GdaSqlSelectField structure initated with the values stored in @field.
+ * Creates a new #GdaSqlSelectField structure initiated with the values stored in @field.
*
* Returns: a new #GdaSqlSelectField structure.
*/
@@ -1053,8 +1053,8 @@ gda_sql_select_field_copy (GdaSqlSelectField *field)
* gda_sql_select_field_serialize
* @field: a #GdaSqlSelectField structure
*
- * Creates a new string representing an expresion used as field in a SELECT statement
- * before the FROM clausure.
+ * Creates a new string representing an expression used as field in a SELECT statement
+ * before the FROM clause.
*
* Returns: a new string with the description of the expression or "null" in case @field is invalid.
*/
@@ -1196,7 +1196,7 @@ gda_sql_select_target_free (GdaSqlSelectTarget *target)
* gda_sql_select_target_copy
* @target: a #GdaSqlSelectTarget structure to be copied
*
- * Creates a new #GdaSqlSelectTarget structure initated with the values stored in @target.
+ * Creates a new #GdaSqlSelectTarget structure initiated with the values stored in @target.
*
* Returns: a new #GdaSqlSelectTarget structure.
*/
@@ -1226,7 +1226,7 @@ gda_sql_select_target_copy (GdaSqlSelectTarget *target)
* @target: a #GdaSqlSelectTarget structure
*
* Creates a new string representing a target used in a SELECT statement
- * after the FROM clausure.
+ * after the FROM clause.
*
* Returns: a new string with the description of the expression or "null" in case @field is invalid.
*/
@@ -1307,7 +1307,7 @@ gda_sql_select_target_take_select (GdaSqlSelectTarget *target, GdaSqlStatement *
* @target: a #GdaSqlSelectTarget structure
* @alias: a #GValue holding the alias string to take from
*
- * Sets the target alias (AS) to the string holded by @alias; after call
+ * Sets the target alias (AS) to the string held by @alias; after call
* this function @alias is freed.
*/
void
@@ -1363,7 +1363,7 @@ gda_sql_select_join_free (GdaSqlSelectJoin *join)
* gda_sql_select_join_copy
* @join: a #GdaSqlSelectJoin structure to be copied
*
- * Creates a new #GdaSqlSelectJoin structure initated with the values stored in @join.
+ * Creates a new #GdaSqlSelectJoin structure initiated with the values stored in @join.
*
* Returns: a new #GdaSqlSelectJoin structure.
*/
@@ -1528,7 +1528,7 @@ gda_sql_select_from_free (GdaSqlSelectFrom *from)
* gda_sql_select_from_copy
* @from: a #GdaSqlSelectFrom structure to be copied
*
- * Creates a new #GdaSqlSelectFrom structure initated with the values stored in @from.
+ * Creates a new #GdaSqlSelectFrom structure initiated with the values stored in @from.
*
* Returns: a new #GdaSqlSelectFrom structure.
*/
@@ -1562,7 +1562,7 @@ gda_sql_select_from_copy (GdaSqlSelectFrom *from)
* gda_sql_select_from_serialize
* @from: a #GdaSqlSelectFrom structure
*
- * Creates a new string description of the FROM clausure used in a SELECT statement.
+ * Creates a new string description of the FROM clause used in a SELECT statement.
*
* Returns: a new string with the description of the FROM or "null" in case @from is invalid.
*/
@@ -1618,7 +1618,7 @@ gda_sql_select_from_serialize (GdaSqlSelectFrom *from)
* @from: a #GdaSqlSelectFrom structure
* @target: a #GdaSqlSelectTarget to take from
*
- * Append @target to the targets in the FROM clausure and set @target's parent to
+ * Append @target to the targets in the FROM clause and set @target's parent to
* @from; after call this function @from owns @target then you must not free it.
*/
void
@@ -1633,7 +1633,7 @@ gda_sql_select_from_take_new_target (GdaSqlSelectFrom *from, GdaSqlSelectTarget
* @from: a #GdaSqlSelectFrom structure
* @join: a #GdaSqlSelectJoin to take from
*
- * Append @join to the joins in the FROM clausure and set @join's parent to
+ * Append @join to the joins in the FROM clause and set @join's parent to
* @from; after call this function @from owns @join then you must not free it.
*/
void
@@ -1686,7 +1686,7 @@ gda_sql_select_order_free (GdaSqlSelectOrder *order)
* gda_sql_select_order_copy
* @order: a #GdaSqlSelectOrder structure to be copied
*
- * Creates a new #GdaSqlSelectOrder structure initated with the values stored in @order.
+ * Creates a new #GdaSqlSelectOrder structure initiated with the values stored in @order.
*
* Returns: a new #GdaSqlSelectOrder structure.
*/
@@ -1712,7 +1712,7 @@ gda_sql_select_order_copy (GdaSqlSelectOrder *order)
* gda_sql_select_order_serialize
* @order: a #GdaSqlSelectOrder structure
*
- * Creates a new string description of the ORDER BY clausure used in a SELECT statement.
+ * Creates a new string description of the ORDER BY clause used in a SELECT statement.
*
* Returns: a new string with the description of the ORDER BY or "null" in case @order is invalid.
*/
diff --git a/libgda/sql-parser/gda-statement-struct-pspec.c b/libgda/sql-parser/gda-statement-struct-pspec.c
index e54cba2..74106ac 100644
--- a/libgda/sql-parser/gda-statement-struct-pspec.c
+++ b/libgda/sql-parser/gda-statement-struct-pspec.c
@@ -28,7 +28,7 @@
* @pspec: a #GdaSqlParamSpec pointer
* @value: a G_TYPE_STRING #GValue
*
- * Sets @pspec's name. @value's responsability is transfered to
+ * Sets @pspec's name. @value's responsibility is transfered to
* @pspec (which means @pspec is then responsible to freeing it when no longer needed).
*/
void
@@ -50,7 +50,7 @@ gda_sql_param_spec_take_name (GdaSqlParamSpec *pspec, GValue *value)
* @pspec: a #GdaSqlParamSpec pointer
* @value: a G_TYPE_STRING #GValue
*
- * Sets @pspec's description. @value's responsability is transfered to
+ * Sets @pspec's description. @value's responsibility is transfered to
* @pspec (which means @pspec is then responsible to freeing it when no longer needed).
*/
void
@@ -72,7 +72,7 @@ gda_sql_param_spec_take_descr (GdaSqlParamSpec *pspec, GValue *value)
* @pspec: a #GdaSqlParamSpec pointer
* @value: a G_TYPE_STRING #GValue.
*
- * Sets @pspec's ability of being NULL. @value's responsability is transfered to
+ * Sets @pspec's ability of being NULL. @value's responsibility is transfered to
* @pspec (which means @pspec is then responsible to freeing it when no longer needed).
*
* If @value's string starts by 't' or 'T' then @pspec will be allowed to be %NULL
@@ -98,7 +98,7 @@ gda_sql_param_spec_take_nullok (GdaSqlParamSpec *pspec, GValue *value)
* @pspec: a #GdaSqlParamSpec pointer
* @value: a G_TYPE_STRING #GValue
*
- * Sets @pspec's data type. @value's responsability is transfered to
+ * Sets @pspec's data type. @value's responsibility is transfered to
* @pspec (which means @pspec is then responsible to freeing it when no longer needed).
*
* @value must represent a data type, as understood by gda_g_type_from_string().
diff --git a/libgda/sql-parser/gda-statement-struct-select.c b/libgda/sql-parser/gda-statement-struct-select.c
index b62895e..41b9e66 100644
--- a/libgda/sql-parser/gda-statement-struct-select.c
+++ b/libgda/sql-parser/gda-statement-struct-select.c
@@ -244,7 +244,7 @@ _gda_sql_statement_select_serialize (gpointer stmt)
*
* Sets the DISTINCT clause of @stmt.
*
- * @distinct_expr's responsability is transfered to
+ * @distinct_expr's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -263,7 +263,7 @@ gda_sql_statement_select_take_distinct (GdaSqlStatement *stmt, gboolean distinct
*
* Sets list of expressions selected by @stmt
*
- * @expr_list's responsability is transfered to
+ * @expr_list's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -283,7 +283,7 @@ gda_sql_statement_select_take_expr_list (GdaSqlStatement *stmt, GSList *expr_lis
*
* Sets the FROM clause of @stmt
*
- * @from's responsability is transfered to
+ * @from's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -301,7 +301,7 @@ gda_sql_statement_select_take_from (GdaSqlStatement *stmt, GdaSqlSelectFrom *fro
*
* Sets the WHERE clause of @stmt
*
- * @expr's responsability is transfered to
+ * @expr's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -319,7 +319,7 @@ gda_sql_statement_select_take_where_cond (GdaSqlStatement *stmt, GdaSqlExpr *exp
*
* Sets the GROUP BY clause of @stmt
*
- * @group_by's responsability is transfered to
+ * @group_by's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -339,7 +339,7 @@ gda_sql_statement_select_take_group_by (GdaSqlStatement *stmt, GSList *group_by)
*
* Sets the HAVING clause of @stmt
*
- * @expr's responsability is transfered to
+ * @expr's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -357,7 +357,7 @@ gda_sql_statement_select_take_having_cond (GdaSqlStatement *stmt, GdaSqlExpr *ex
*
* Sets the ORDER BY clause of @stmt
*
- * @order_by's responsability is transfered to
+ * @order_by's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -378,7 +378,7 @@ gda_sql_statement_select_take_order_by (GdaSqlStatement *stmt, GSList *order_by)
*
* Sets the LIMIT clause of @stmt
*
- * @count and @offset's responsability are transfered to
+ * @count and @offset's responsibility are transfered to
* @stmt (which means @stmt is then responsible to freeing them when no longer needed).
*/
void
diff --git a/libgda/sql-parser/gda-statement-struct-trans.c b/libgda/sql-parser/gda-statement-struct-trans.c
index f59cc2e..a302fde 100644
--- a/libgda/sql-parser/gda-statement-struct-trans.c
+++ b/libgda/sql-parser/gda-statement-struct-trans.c
@@ -224,7 +224,7 @@ gda_sql_statement_trans_serialize (gpointer stmt)
*
* Sets the name of the transaction
*
- * @value's responsability is transfered to
+ * @value's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -249,7 +249,7 @@ gda_sql_statement_trans_take_name (GdaSqlStatement *stmt, GValue *value)
*
* Sets the model of the transaction
*
- * @value's responsability is transfered to
+ * @value's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
diff --git a/libgda/sql-parser/gda-statement-struct-unknown.c b/libgda/sql-parser/gda-statement-struct-unknown.c
index 827d8a1..41b2af9 100644
--- a/libgda/sql-parser/gda-statement-struct-unknown.c
+++ b/libgda/sql-parser/gda-statement-struct-unknown.c
@@ -112,7 +112,7 @@ gda_sql_statement_unknown_serialize (gpointer stmt)
* Sets @stmt's list of expressions
*
* @expressions's
- * responsability is transfered to
+ * responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
diff --git a/libgda/sql-parser/gda-statement-struct-update.c b/libgda/sql-parser/gda-statement-struct-update.c
index 1dd7ed0..a3891ac 100644
--- a/libgda/sql-parser/gda-statement-struct-update.c
+++ b/libgda/sql-parser/gda-statement-struct-update.c
@@ -191,7 +191,7 @@ gda_sql_statement_update_serialize (gpointer stmt)
*
* Sets the name of the table to delete from in @stmt.
*
- * @value's responsability is transfered to
+ * @value's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -207,9 +207,9 @@ gda_sql_statement_update_take_table_name (GdaSqlStatement *stmt, GValue *value)
/**
* gda_sql_statement_update_take_on_conflict
* @stmt: a #GdaSqlStatement pointer
- * @value: name of the resolution conflict algotithm, as a G_TYPE_STRING #GValue
+ * @value: name of the resolution conflict algorithm, as a G_TYPE_STRING #GValue
*
- * Sets the name of the resolution conflict algotithm used by @stmt. @value's responsability is transfered to
+ * Sets the name of the resolution conflict algorithm used by @stmt. @value's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -230,7 +230,7 @@ gda_sql_statement_update_take_on_conflict (GdaSqlStatement *stmt, GValue *value)
*
* Sets the WHERE clause of @stmt
*
- * @expr's responsability is transfered to
+ * @expr's responsibility is transfered to
* @stmt (which means @stmt is then responsible to freeing it when no longer needed).
*/
void
@@ -250,7 +250,7 @@ gda_sql_statement_update_take_condition (GdaSqlStatement *stmt, GdaSqlExpr *cond
*
* Specifies that the field named @fname will be updated with the expression @expr.
*
- * @fname and @expr's responsability are transfered to
+ * @fname and @expr's responsibility are transfered to
* @stmt (which means @stmt is then responsible to freeing them when no longer needed).
*/
void
diff --git a/libgda/sql-parser/gda-statement-struct-util.c b/libgda/sql-parser/gda-statement-struct-util.c
index f123740..9a75c44 100644
--- a/libgda/sql-parser/gda-statement-struct-util.c
+++ b/libgda/sql-parser/gda-statement-struct-util.c
@@ -87,12 +87,12 @@ _remove_quotes (gchar *str)
total = strlen (str);
if (str[total-1] == delim) {
- /* string is correclty terminated by a double quote */
+ /* string is correctly terminated by a double quote */
g_memmove (str, str+1, total-2);
total -=2;
}
else {
- /* string is _not_ correclty terminated by a double quote */
+ /* string is _not_ correctly terminated by a double quote */
g_memmove (str, str+1, total-1);
total -=1;
}
diff --git a/libgda/sql-parser/gda-statement-struct.c b/libgda/sql-parser/gda-statement-struct.c
index d08db04..85128df 100644
--- a/libgda/sql-parser/gda-statement-struct.c
+++ b/libgda/sql-parser/gda-statement-struct.c
@@ -46,7 +46,7 @@ gda_sql_error_quark (void)
}
/*
- * statement's infos retreival
+ * statement's infos retrieval
*/
GdaSqlStatementContentsInfo *
gda_sql_statement_get_contents_infos (GdaSqlStatementType type)
@@ -854,7 +854,7 @@ static gboolean foreach_check_struct (GdaSqlAnyPart *node, gpointer data, GError
*
* Checks for any error in @stmt's structure to make sure the statement is valid
* (for example a SELECT statement must at least return a column, a DELETE statement must specify which table
- * is targetted).
+ * is targeted).
*
* Returns: TRUE if no error occurred
*/
diff --git a/libgda/sqlite/gda-sqlite-handler-bin.c b/libgda/sqlite/gda-sqlite-handler-bin.c
index 9d8d009..38719b4 100644
--- a/libgda/sqlite/gda-sqlite-handler-bin.c
+++ b/libgda/sqlite/gda-sqlite-handler-bin.c
@@ -41,7 +41,7 @@ static gboolean gda_sqlite_handler_bin_accepts_g_type (GdaDataHandler
static const gchar *gda_sqlite_handler_bin_get_descr (GdaDataHandler *dh);
struct _GdaSqliteHandlerBinPriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
};
@@ -112,7 +112,7 @@ gda_sqlite_handler_bin_init (GdaSqliteHandlerBin * hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaSqliteHandlerBinPriv, 1);
- hdl->priv->detailled_descr = _("SQlite binary handler");
+ hdl->priv->detailed_descr = _("SQlite binary handler");
hdl->priv->nb_g_types = 1;
hdl->priv->valid_g_types = g_new0 (GType, hdl->priv->nb_g_types);
hdl->priv->valid_g_types[0] = GDA_TYPE_BINARY;
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index a8a8cd6..a980305 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -234,7 +234,7 @@ static gboolean gda_sqlite_provider_commit_transaction (GdaServerProv
static gboolean gda_sqlite_provider_rollback_transaction (GdaServerProvider *provider, GdaConnection * cnc,
const gchar *name, GError **error);
-/* information retreival */
+/* information retrieval */
static const gchar *gda_sqlite_provider_get_version (GdaServerProvider *provider);
static gboolean gda_sqlite_provider_supports (GdaServerProvider *provider, GdaConnection *cnc,
GdaConnectionFeature feature);
@@ -280,7 +280,7 @@ static void scalar_gda_hex_func2 (sqlite3_context *context, int argc, sqlite3_va
typedef struct {
char *name;
int nargs;
- gpointer user_data; /* retreive it in func. implementations using sqlite3_user_data() */
+ gpointer user_data; /* retrieve it in func. implementations using sqlite3_user_data() */
void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
} ScalarFunction;
static ScalarFunction scalars[] = {
@@ -1840,7 +1840,7 @@ make_last_inserted_set (GdaConnection *cnc, GdaStatement *stmt, sqlite3_int64 la
{
GError *lerror = NULL;
- /* analyse @stmt */
+ /* analyze @stmt */
GdaSqlStatement *sql_insert;
GdaSqlStatementInsert *insert;
if (gda_statement_get_statement_type (stmt) != GDA_SQL_STATEMENT_INSERT)
@@ -2678,12 +2678,12 @@ sqlite_remove_quotes (gchar *str)
total = strlen (str);
if ((str[total-1] == delim) || ((delim == '[') && (str[total-1] == ']'))) {
- /* string is correclty terminated */
+ /* string is correctly terminated */
g_memmove (str, str+1, total-2);
total -=2;
}
else {
- /* string is _not_ correclty terminated */
+ /* string is _not_ correctly terminated */
g_memmove (str, str+1, total-1);
total -=1;
}
diff --git a/libgda/sqlite/sqlite-src/sqlite3.c b/libgda/sqlite/sqlite-src/sqlite3.c
index d2fe53c..a6567db 100644
--- a/libgda/sqlite/sqlite-src/sqlite3.c
+++ b/libgda/sqlite/sqlite-src/sqlite3.c
@@ -5744,7 +5744,7 @@ typedef struct sqlite3_backup sqlite3_backup;
** the source and destination databases, where nPage is the value of the
** second parameter passed to sqlite3_backup_step(). If nPage is a negative
** value, all remaining source pages are copied. If the required pages are
-** succesfully copied, but there are still more pages to copy before the
+** successfully copied, but there are still more pages to copy before the
** backup is complete, it returns [SQLITE_OK]. If no error occured and there
** are no more pages to copy, then [SQLITE_DONE] is returned. If an error
** occurs, then an SQLite error code is returned. As well as [SQLITE_OK] and
@@ -19573,7 +19573,7 @@ static int os2Truncate( sqlite3_file *id, i64 nByte ){
#ifdef SQLITE_TEST
/*
** Count the number of fullsyncs and normal syncs. This is used to test
-** that syncs and fullsyncs are occuring at the right times.
+** that syncs and fullsyncs are occurring at the right times.
*/
SQLITE_API int sqlite3_sync_count = 0;
SQLITE_API int sqlite3_fullsync_count = 0;
@@ -26873,7 +26873,7 @@ static int winTruncate(sqlite3_file *id, sqlite3_int64 nByte){
#ifdef SQLITE_TEST
/*
** Count the number of fullsyncs and normal syncs. This is used to test
-** that syncs and fullsyncs are occuring at the right times.
+** that syncs and fullsyncs are occurring at the right times.
*/
SQLITE_API int sqlite3_sync_count = 0;
SQLITE_API int sqlite3_fullsync_count = 0;
@@ -35522,7 +35522,7 @@ struct MemPage {
** this structure.
**
** For some database files, the same underlying database cache might be
-** shared between multiple connections. In that case, each contection
+** shared between multiple connections. In that case, each connection
** has it own pointer to this object. But each instance of this object
** points to the same BtShared object. The database cache and the
** schema associated with the database file are all contained within
@@ -38759,7 +38759,7 @@ SQLITE_PRIVATE int sqlite3BtreeIncrVacuum(Btree *p){
/*
** This routine is called prior to sqlite3PagerCommit when a transaction
-** is commited for an auto-vacuum database.
+** is committed for an auto-vacuum database.
**
** If SQLITE_OK is returned, then *pnTrunc is set to the number of pages
** the database file should be truncated to during the commit process.
@@ -57855,7 +57855,7 @@ static int dupedExprNodeSize(Expr *p, int flags){
** The value returned includes space to create a copy of the Expr struct
** itself and the buffer referred to by Expr.token, if any. If the
** EXPRDUP_SPAN flag is set, then space to create a copy of the buffer
-** refered to by Expr.span is also included.
+** referred to by Expr.span is also included.
**
** If the EXPRDUP_REDUCE flag is set, then the return value includes
** space to duplicate all Expr nodes in the tree formed by Expr.pLeft
@@ -59818,7 +59818,7 @@ static int evalConstExpr(Walker *pWalker, Expr *pExpr){
/*
** Preevaluate constant subexpressions within pExpr and store the
-** results in registers. Modify pExpr so that the constant subexpresions
+** results in registers. Modify pExpr so that the constant sub-expressions
** are TK_REGISTER opcodes that refer to the precomputed values.
*/
SQLITE_PRIVATE void sqlite3ExprCodeConstants(Parse *pParse, Expr *pExpr){
@@ -62233,7 +62233,7 @@ SQLITE_PRIVATE int sqlite3AuthCheck(
sqlite3 *db = pParse->db;
int rc;
- /* Don't do any authorization checks if the database is initialising
+ /* Don't do any authorization checks if the database is initializing
** or if the parser is being invoked from within sqlite3_declare_vtab.
*/
if( db->init.busy || IN_DECLARE_VTAB ){
@@ -64756,7 +64756,7 @@ SQLITE_PRIVATE void sqlite3CreateIndex(
#ifndef SQLITE_OMIT_TEMPDB
/* If the index name was unqualified, check if the the table
** is a temp table. If so, set the database to 1. Do not do this
- ** if initialising a database schema.
+ ** if initializing a database schema.
*/
if( !db->init.busy ){
pTab = sqlite3SrcListLookup(pParse, pTblName);
@@ -75777,7 +75777,7 @@ static int multiSelectOrderBy(
int savedOffset; /* Saved value of p->iOffset */
int labelCmpr; /* Label for the start of the merge algorithm */
int labelEnd; /* Label for the end of the overall SELECT stmt */
- int j1; /* Jump instructions that get retargetted */
+ int j1; /* Jump instructions that get retargeted */
int op; /* One of TK_ALL, TK_UNION, TK_EXCEPT, TK_INTERSECT */
KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */
KeyInfo *pKeyMerge; /* Comparison information for merging rows */
@@ -77362,7 +77362,7 @@ SQLITE_PRIVATE int sqlite3Select(
if( pSub==0 || pItem->isPopulated ) continue;
/* Increment Parse.nHeight by the height of the largest expression
- ** tree refered to by this, the parent select. The child select
+ ** tree referred to by this, the parent select. The child select
** may contain expression trees of at most
** (SQLITE_MAX_EXPR_DEPTH-Parse.nHeight) height. This is a bit
** more conservative than necessary, but much easier than enforcing
@@ -89368,7 +89368,7 @@ static int binCollFunc(
/*
** Another built-in collating sequence: NOCASE.
**
-** This collating sequence is intended to be used for "case independant
+** This collating sequence is intended to be used for "case independent
** comparison". SQLite's knowledge of upper and lower case equivalents
** extends only to the 26 characters used in the English language.
**
@@ -95071,7 +95071,7 @@ static int trimSnippetOffsets(
struct snippetMatch *p = &pSnippet->aMatch[ii];
if( p->iTerm==iLeft ){
int isOk = 0;
- /* Snippet ii is an occurence of query term iLeft in the document.
+ /* Snippet ii is an occurrence of query term iLeft in the document.
** It occurs at position (p->iToken) of the document. We now
** search for an instance of token (iLeft-1) somewhere in the
** range (p->iToken - nNear)...(p->iToken + nNear + nToken) within
diff --git a/libgda/sqlite/sqlite-src/sqlite3.h b/libgda/sqlite/sqlite-src/sqlite3.h
index 7273475..c1ed2cf 100644
--- a/libgda/sqlite/sqlite-src/sqlite3.h
+++ b/libgda/sqlite/sqlite-src/sqlite3.h
@@ -5242,7 +5242,7 @@ typedef struct sqlite3_backup sqlite3_backup;
** the source and destination databases, where nPage is the value of the
** second parameter passed to sqlite3_backup_step(). If nPage is a negative
** value, all remaining source pages are copied. If the required pages are
-** succesfully copied, but there are still more pages to copy before the
+** successfully copied, but there are still more pages to copy before the
** backup is complete, it returns [SQLITE_OK]. If no error occured and there
** are no more pages to copy, then [SQLITE_DONE] is returned. If an error
** occurs, then an SQLite error code is returned. As well as [SQLITE_OK] and
diff --git a/libgda/sqlite/virtual/gda-vconnection-data-model.c b/libgda/sqlite/virtual/gda-vconnection-data-model.c
index d39c980..6b681b7 100644
--- a/libgda/sqlite/virtual/gda-vconnection-data-model.c
+++ b/libgda/sqlite/virtual/gda-vconnection-data-model.c
@@ -382,7 +382,7 @@ gda_vconnection_data_model_get_table_name (GdaVconnectionDataModel *cnc, GdaData
* gda_vconnection_data_model_foreach
* @cnc: a #GdaVconnectionDataModel connection
* @func: a #GdaVconnectionDataModelFunc function pointer
- * @data: data to pass to @cunc calls
+ * @data: data to pass to @func calls
*
* Call @func for each table in @cnc.
*
diff --git a/libgda/sqlite/virtual/gda-vconnection-hub.c b/libgda/sqlite/virtual/gda-vconnection-hub.c
index a99acf4..76700b1 100644
--- a/libgda/sqlite/virtual/gda-vconnection-hub.c
+++ b/libgda/sqlite/virtual/gda-vconnection-hub.c
@@ -314,7 +314,7 @@ gda_vconnection_hub_get_connection (GdaVconnectionHub *hub, const gchar *ns)
* gda_vconnection_hub_foreach
* @hub: a #GdaVconnectionHub connection
* @func: a #GdaVconnectionDataModelFunc function pointer
- * @data: data to pass to @cunc calls
+ * @data: data to pass to @func calls
*
* Call @func for each #GdaConnection represented in @hub.
*/
@@ -496,7 +496,7 @@ meta_changed_cb (GdaMetaStore *store, GSList *changes, HubConnection *hc)
GdaMetaStoreChange *ch = (GdaMetaStoreChange*) list->data;
GValue *tsn, *tn;
- /* we are only intsrested in changes occuring in the "_tables" table */
+ /* we are only intsrested in changes occurring in the "_tables" table */
if (!strcmp (ch->table_name, "_tables")) {
switch (ch->c_type) {
case GDA_META_STORE_ADD: {
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index a9fb3a6..4102aa0 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -84,7 +84,7 @@ gda_vprovider_data_model_class_init (GdaVproviderDataModelClass *klass)
server_class->get_name = gda_vprovider_data_model_get_name;
- /* explicitely unimplement the DDL queries */
+ /* explicitly unimplement the DDL queries */
server_class->supports_operation = NULL;
server_class->create_operation = NULL;
server_class->render_operation = NULL;
diff --git a/libgda/thread-wrapper/gda-thread-meta.c b/libgda/thread-wrapper/gda-thread-meta.c
index 8e0db09..9889891 100644
--- a/libgda/thread-wrapper/gda-thread-meta.c
+++ b/libgda/thread-wrapper/gda-thread-meta.c
@@ -74,11 +74,11 @@ typedef struct {
const GValue *v2;
const GValue *v3;
const GValue *v4;
-} DetailledThreadData;
+} DetailedThreadData;
-#define main_thread_detailled_core(func,prov,cnc,store,context,arg1,arg2,arg3,arg4,error) \
+#define main_thread_detailed_core(func,prov,cnc,store,context,arg1,arg2,arg3,arg4,error) \
ThreadConnectionData *cdata; \
- DetailledThreadData wdata; \
+ DetailedThreadData wdata; \
gpointer res; \
guint jid; \
cdata = (ThreadConnectionData*) gda_connection_internal_get_provider_data ((cnc)); \
@@ -97,7 +97,7 @@ typedef struct {
res = gda_thread_wrapper_fetch_result (cdata->wrapper, TRUE, jid, (error)); \
return GPOINTER_TO_INT (res) ? TRUE : FALSE
-#define sub_thread_detailled1_core(func,name) \
+#define sub_thread_detailed1_core(func,name) \
gboolean retval; \
if (! (func)) { \
WARN_METHOD_NOT_IMPLEMENTED (data->prov, (name)); \
@@ -107,7 +107,7 @@ typedef struct {
/*g_print ("/%s() => %s\n", __FUNCTION__, retval ? "TRUE" : "FALSE");*/ \
return GINT_TO_POINTER (retval ? 1 : 0)
-#define sub_thread_detailled2_core(func,name) \
+#define sub_thread_detailed2_core(func,name) \
gboolean retval; \
if (! (func)) { \
WARN_METHOD_NOT_IMPLEMENTED (data->prov, (name)); \
@@ -117,7 +117,7 @@ typedef struct {
/*g_print ("/%s() => %s\n", __FUNCTION__, retval ? "TRUE" : "FALSE");*/ \
return GINT_TO_POINTER (retval ? 1 : 0)
-#define sub_thread_detailled3_core(func,name) \
+#define sub_thread_detailed3_core(func,name) \
gboolean retval; \
if (! (func)) { \
WARN_METHOD_NOT_IMPLEMENTED (data->prov, (name)); \
@@ -127,7 +127,7 @@ typedef struct {
/*g_print ("/%s() => %s\n", __FUNCTION__, retval ? "TRUE" : "FALSE");*/ \
return GINT_TO_POINTER (retval ? 1 : 0)
-#define sub_thread_detailled4_core(func,name) \
+#define sub_thread_detailed4_core(func,name) \
gboolean retval; \
if (! (func)) { \
WARN_METHOD_NOT_IMPLEMENTED (data->prov, (name)); \
@@ -193,17 +193,17 @@ _gda_thread_meta__udt (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_udt (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_udt (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled2_core (PROV_CLASS (data->prov)->meta_funcs.udt, "_udt");
+ sub_thread_detailed2_core (PROV_CLASS (data->prov)->meta_funcs.udt, "_udt");
}
gboolean
_gda_thread_meta_udt (GdaServerProvider *prov, GdaConnection *cnc,
GdaMetaStore *store, GdaMetaContext *context, GError **error,
const GValue *udt_catalog, const GValue *udt_schema)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_udt, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_udt, prov, cnc, store, context,
udt_catalog, udt_schema, NULL, NULL, error);
}
@@ -224,10 +224,10 @@ _gda_thread_meta__udt_cols (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_udt_cols (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_udt_cols (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.udt_cols, "udt_cols");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.udt_cols, "udt_cols");
}
gboolean
@@ -235,7 +235,7 @@ _gda_thread_meta_udt_cols (GdaServerProvider *prov, GdaConnection *cnc,
GdaMetaStore *store, GdaMetaContext *context, GError **error,
const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_udt_cols, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_udt_cols, prov, cnc, store, context,
udt_catalog, udt_schema, udt_name, NULL, error);
}
@@ -254,10 +254,10 @@ _gda_thread_meta__enums (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_enums (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_enums (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.enums, "enums");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.enums, "enums");
}
gboolean
@@ -265,7 +265,7 @@ _gda_thread_meta_enums (GdaServerProvider *prov, GdaConnection *cnc,
GdaMetaStore *store, GdaMetaContext *context, GError **error,
const GValue *udt_catalog, const GValue *udt_schema, const GValue *udt_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_enums, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_enums, prov, cnc, store, context,
udt_catalog, udt_schema, udt_name, NULL, error);
}
@@ -284,10 +284,10 @@ _gda_thread_meta__domains (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_domains (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_domains (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled2_core (PROV_CLASS (data->prov)->meta_funcs.domains, "domains");
+ sub_thread_detailed2_core (PROV_CLASS (data->prov)->meta_funcs.domains, "domains");
}
gboolean
@@ -295,7 +295,7 @@ _gda_thread_meta_domains (GdaServerProvider *prov, GdaConnection *cnc,
GdaMetaStore *store, GdaMetaContext *context, GError **error,
const GValue *domain_catalog, const GValue *domain_schema)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_domains, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_domains, prov, cnc, store, context,
domain_catalog, domain_schema, NULL, NULL, error);
}
@@ -314,10 +314,10 @@ _gda_thread_meta__constraints_dom (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_constraints_dom (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_constraints_dom (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.constraints_dom, "constraints_dom");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.constraints_dom, "constraints_dom");
}
gboolean
@@ -326,7 +326,7 @@ _gda_thread_meta_constraints_dom (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *domain_catalog, const GValue *domain_schema,
const GValue *domain_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_constraints_dom, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_constraints_dom, prov, cnc, store, context,
domain_catalog, domain_schema, domain_name, NULL, error);
}
@@ -345,10 +345,10 @@ _gda_thread_meta__el_types (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_el_types (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_el_types (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled1_core (PROV_CLASS (data->prov)->meta_funcs.el_types, "el_types");
+ sub_thread_detailed1_core (PROV_CLASS (data->prov)->meta_funcs.el_types, "el_types");
}
gboolean
@@ -356,7 +356,7 @@ _gda_thread_meta_el_types (GdaServerProvider *prov, GdaConnection *cnc,
GdaMetaStore *store, GdaMetaContext *context, GError **error,
const GValue *specific_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_el_types, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_el_types, prov, cnc, store, context,
specific_name, NULL, NULL, NULL, error);
}
@@ -375,10 +375,10 @@ _gda_thread_meta__collations (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_collations (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_collations (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.collations, "collations");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.collations, "collations");
}
gboolean
@@ -387,7 +387,7 @@ _gda_thread_meta_collations (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *collation_catalog, const GValue *collation_schema,
const GValue *collation_name_n)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_collations, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_collations, prov, cnc, store, context,
collation_catalog, collation_schema, collation_name_n, NULL, error);
}
@@ -406,10 +406,10 @@ _gda_thread_meta__character_sets (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_character_sets (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_character_sets (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.character_sets, "character_sets");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.character_sets, "character_sets");
}
gboolean
@@ -418,7 +418,7 @@ _gda_thread_meta_character_sets (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *chset_catalog, const GValue *chset_schema,
const GValue *chset_name_n)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_character_sets, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_character_sets, prov, cnc, store, context,
chset_catalog, chset_schema, chset_name_n, NULL, error);
}
@@ -438,10 +438,10 @@ _gda_thread_meta__schemata (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_schemata (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_schemata (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled2_core (PROV_CLASS (data->prov)->meta_funcs.schemata, "schemata");
+ sub_thread_detailed2_core (PROV_CLASS (data->prov)->meta_funcs.schemata, "schemata");
}
gboolean
@@ -449,7 +449,7 @@ _gda_thread_meta_schemata (GdaServerProvider *prov, GdaConnection *cnc,
GdaMetaStore *store, GdaMetaContext *context, GError **error,
const GValue *catalog_name, const GValue *schema_name_n)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_schemata, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_schemata, prov, cnc, store, context,
catalog_name, schema_name_n, NULL, NULL, error);
}
@@ -468,10 +468,10 @@ _gda_thread_meta__tables_views (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_tables_views (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_tables_views (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.tables_views, "tables_views");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.tables_views, "tables_views");
}
gboolean
@@ -480,7 +480,7 @@ _gda_thread_meta_tables_views (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *table_catalog, const GValue *table_schema,
const GValue *table_name_n)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_tables_views, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_tables_views, prov, cnc, store, context,
table_catalog, table_schema, table_name_n, NULL, error);
}
@@ -499,10 +499,10 @@ _gda_thread_meta__columns (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_columns (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_columns (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.columns, "columns");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.columns, "columns");
}
gboolean
@@ -511,7 +511,7 @@ _gda_thread_meta_columns (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *table_catalog, const GValue *table_schema,
const GValue *table_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_columns, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_columns, prov, cnc, store, context,
table_catalog, table_schema, table_name, NULL, error);
}
@@ -530,10 +530,10 @@ _gda_thread_meta__view_cols (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_view_cols (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_view_cols (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.view_cols, "view_cols");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.view_cols, "view_cols");
}
gboolean
@@ -542,7 +542,7 @@ _gda_thread_meta_view_cols (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *view_catalog, const GValue *view_schema,
const GValue *view_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_view_cols, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_view_cols, prov, cnc, store, context,
view_catalog, view_schema, view_name, NULL, error);
}
@@ -561,10 +561,10 @@ _gda_thread_meta__constraints_tab (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_constraints_tab (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_constraints_tab (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled4_core (PROV_CLASS (data->prov)->meta_funcs.constraints_tab, "constraints_tab");
+ sub_thread_detailed4_core (PROV_CLASS (data->prov)->meta_funcs.constraints_tab, "constraints_tab");
}
gboolean
@@ -573,7 +573,7 @@ _gda_thread_meta_constraints_tab (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *table_catalog, const GValue *table_schema,
const GValue *table_name, const GValue *constraint_name_n)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_constraints_tab, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_constraints_tab, prov, cnc, store, context,
table_catalog, table_schema, table_name, constraint_name_n, error);
}
@@ -592,10 +592,10 @@ _gda_thread_meta__constraints_ref (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_constraints_ref (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_constraints_ref (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled4_core (PROV_CLASS (data->prov)->meta_funcs.constraints_ref, "constraints_ref");
+ sub_thread_detailed4_core (PROV_CLASS (data->prov)->meta_funcs.constraints_ref, "constraints_ref");
}
gboolean
@@ -604,7 +604,7 @@ _gda_thread_meta_constraints_ref (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *table_catalog, const GValue *table_schema, const GValue *table_name,
const GValue *constraint_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_constraints_ref, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_constraints_ref, prov, cnc, store, context,
table_catalog, table_schema, table_name, constraint_name, error);
}
@@ -623,10 +623,10 @@ _gda_thread_meta__key_columns (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_key_columns (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_key_columns (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled4_core (PROV_CLASS (data->prov)->meta_funcs.key_columns, "key_columns");
+ sub_thread_detailed4_core (PROV_CLASS (data->prov)->meta_funcs.key_columns, "key_columns");
}
gboolean
@@ -635,7 +635,7 @@ _gda_thread_meta_key_columns (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *table_catalog, const GValue *table_schema,
const GValue *table_name, const GValue *constraint_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_key_columns, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_key_columns, prov, cnc, store, context,
table_catalog, table_schema, table_name, constraint_name, error);
}
@@ -654,10 +654,10 @@ _gda_thread_meta__check_columns (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_check_columns (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_check_columns (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled4_core (PROV_CLASS (data->prov)->meta_funcs.check_columns, "check_columns");
+ sub_thread_detailed4_core (PROV_CLASS (data->prov)->meta_funcs.check_columns, "check_columns");
}
gboolean
@@ -666,7 +666,7 @@ _gda_thread_meta_check_columns (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *table_catalog, const GValue *table_schema,
const GValue *table_name, const GValue *constraint_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_check_columns, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_check_columns, prov, cnc, store, context,
table_catalog, table_schema, table_name, constraint_name, error);
}
@@ -685,10 +685,10 @@ _gda_thread_meta__triggers (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_triggers (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_triggers (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.triggers, "triggers");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.triggers, "triggers");
}
gboolean
@@ -697,7 +697,7 @@ _gda_thread_meta_triggers (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *table_catalog, const GValue *table_schema,
const GValue *table_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_triggers, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_triggers, prov, cnc, store, context,
table_catalog, table_schema, table_name, NULL, error);
}
@@ -716,10 +716,10 @@ _gda_thread_meta__routines (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_routines (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_routines (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.routines, "routines");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.routines, "routines");
}
gboolean
@@ -728,7 +728,7 @@ _gda_thread_meta_routines (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *routine_catalog, const GValue *routine_schema,
const GValue *routine_name_n)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_routines, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_routines, prov, cnc, store, context,
routine_catalog, routine_schema, routine_name_n, NULL, error);
}
@@ -747,10 +747,10 @@ _gda_thread_meta__routine_col (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_routine_col (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_routine_col (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.routine_col, "routine_col");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.routine_col, "routine_col");
}
gboolean
@@ -759,7 +759,7 @@ _gda_thread_meta_routine_col (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *rout_catalog, const GValue *rout_schema,
const GValue *rout_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_routine_col, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_routine_col, prov, cnc, store, context,
rout_catalog, rout_schema, rout_name, NULL, error);
}
@@ -778,10 +778,10 @@ _gda_thread_meta__routine_par (GdaServerProvider *prov, GdaConnection *cnc,
}
static gpointer
-sub_thread__gda_thread_meta_routine_par (DetailledThreadData *data, GError **error)
+sub_thread__gda_thread_meta_routine_par (DetailedThreadData *data, GError **error)
{
/* WARNING: function executed in sub thread! */
- sub_thread_detailled3_core (PROV_CLASS (data->prov)->meta_funcs.routine_par, "routine_par");
+ sub_thread_detailed3_core (PROV_CLASS (data->prov)->meta_funcs.routine_par, "routine_par");
}
gboolean
@@ -790,6 +790,6 @@ _gda_thread_meta_routine_par (GdaServerProvider *prov, GdaConnection *cnc,
const GValue *rout_catalog, const GValue *rout_schema,
const GValue *rout_name)
{
- main_thread_detailled_core (sub_thread__gda_thread_meta_routine_par, prov, cnc, store, context,
+ main_thread_detailed_core (sub_thread__gda_thread_meta_routine_par, prov, cnc, store, context,
rout_catalog, rout_schema, rout_name, NULL, error);
}
diff --git a/libgda/thread-wrapper/gda-thread-provider.c b/libgda/thread-wrapper/gda-thread-provider.c
index b3c8790..db4a631 100644
--- a/libgda/thread-wrapper/gda-thread-provider.c
+++ b/libgda/thread-wrapper/gda-thread-provider.c
@@ -97,7 +97,7 @@ static gboolean gda_thread_provider_rollback_savepoint (GdaServerProv
static gboolean gda_thread_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
const gchar *name, GError **error);
-/* information retreival */
+/* information retrieval */
static const gchar *gda_thread_provider_get_version (GdaServerProvider *provider);
static gboolean gda_thread_provider_supports_feature (GdaServerProvider *provider, GdaConnection *cnc,
GdaConnectionFeature feature);
@@ -670,7 +670,7 @@ gda_thread_provider_supports_operation (GdaServerProvider *provider, GdaConnecti
* Create operation request
*
* Creates a #GdaServerOperation. The following code is generic and should only be changed
- * if some further initialization is required, or if operation's contents is dependant on @cnc
+ * if some further initialization is required, or if operation's contents is dependent on @cnc
*/
typedef struct {
GdaServerProvider *prov;
diff --git a/libgda/thread-wrapper/gda-thread-wrapper.c b/libgda/thread-wrapper/gda-thread-wrapper.c
index 04c0620..f69be96 100644
--- a/libgda/thread-wrapper/gda-thread-wrapper.c
+++ b/libgda/thread-wrapper/gda-thread-wrapper.c
@@ -964,7 +964,7 @@ worker_thread_closure_marshal (GClosure *closure,
* similar functions are:
* <itemizedlist>
* <listitem><para>the @callback argument is not a #GCallback function, so the callback signature is not
- * dependant on the signal itself</para></listitem>
+ * dependent on the signal itself</para></listitem>
* <listitem><para>the signal handler must not have to return any value</para></listitem>
* <listitem><para>the @callback function will be called asynchronously, the caller may need to use
* gda_thread_wrapper_iterate() to get the notification</para></listitem>
diff --git a/providers/firebird/gda-firebird-provider.c b/providers/firebird/gda-firebird-provider.c
index 1adb927..aff7785 100644
--- a/providers/firebird/gda-firebird-provider.c
+++ b/providers/firebird/gda-firebird-provider.c
@@ -85,7 +85,7 @@ static gboolean gda_firebird_provider_rollback_savepoint (GdaServerPr
static gboolean gda_firebird_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
const gchar *name, GError **error);
-/* information retreival */
+/* information retrieval */
static const gchar *gda_firebird_provider_get_version (GdaServerProvider *provider);
static gboolean gda_firebird_provider_supports_feature (GdaServerProvider *provider, GdaConnection *cnc,
GdaConnectionFeature feature);
@@ -522,7 +522,7 @@ gda_firebird_provider_supports_operation (GdaServerProvider *provider, GdaConnec
* Create operation request
*
* Creates a #GdaServerOperation. The following code is generic and should only be changed
- * if some further initialization is required, or if operation's contents is dependant on @cnc
+ * if some further initialization is required, or if operation's contents is dependent on @cnc
*/
static GdaServerOperation *
gda_firebird_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
diff --git a/providers/firebird/gda-firebird-recordset.c b/providers/firebird/gda-firebird-recordset.c
index 359d524..3c31661 100644
--- a/providers/firebird/gda-firebird-recordset.c
+++ b/providers/firebird/gda-firebird-recordset.c
@@ -242,7 +242,7 @@ gda_firebird_recordset_fetch_nb_rows (GdaDataSelect *model)
*
* Memory management for that new GdaRow object is left to the implementation, which
* can use gda_data_select_take_row(). If new row objects are "given" to the GdaDataSelect implemantation
- * using that method, then this method should detect when all the data model rows have been analysed
+ * using that method, then this method should detect when all the data model rows have been analyzed
* (when model->nb_stored_rows == model->advertized_nrows) and then possibly discard the API handle
* as it won't be used anymore to fetch rows.
*/
diff --git a/providers/jdbc/doc/index.html b/providers/jdbc/doc/index.html
index b63b1d5..e2a4a51 100644
--- a/providers/jdbc/doc/index.html
+++ b/providers/jdbc/doc/index.html
@@ -22,11 +22,11 @@
being named "org.h2.Driver", the corresponding GDA provider will also be named "org.h2.Driver".
</p>
<p>
- The <b>gda-list-jdbc-providers-4.0</b> program can be used to list all the useable JDBC drivers
+ The <b>gda-list-jdbc-providers-4.0</b> program can be used to list all the usable JDBC drivers
found:<br/>
<pre>
[]> gda-list-jdbc-providers-4.0
-Useable JDBC drivers:
+Usable JDBC drivers:
org.h2.Driver
sun.jdbc.odbc.JdbcOdbcDriver
</pre>
diff --git a/providers/jdbc/gda-jdbc-provider.c b/providers/jdbc/gda-jdbc-provider.c
index 24d9d23..327a60f 100644
--- a/providers/jdbc/gda-jdbc-provider.c
+++ b/providers/jdbc/gda-jdbc-provider.c
@@ -88,7 +88,7 @@ static gboolean gda_jdbc_provider_rollback_savepoint (GdaServerProvid
static gboolean gda_jdbc_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
const gchar *name, GError **error);
-/* information retreival */
+/* information retrieval */
static const gchar *gda_jdbc_provider_get_version (GdaServerProvider *provider);
static gboolean gda_jdbc_provider_supports_feature (GdaServerProvider *provider, GdaConnection *cnc,
GdaConnectionFeature feature);
@@ -517,7 +517,7 @@ gda_jdbc_provider_supports_operation (GdaServerProvider *provider, GdaConnection
* Create operation request
*
* Creates a #GdaServerOperation. The following code is generic and should only be changed
- * if some further initialization is required, or if operation's contents is dependant on @cnc
+ * if some further initialization is required, or if operation's contents is dependent on @cnc
*/
static GdaServerOperation *
gda_jdbc_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
diff --git a/providers/jdbc/gda-list-jdbc-providers.c b/providers/jdbc/gda-list-jdbc-providers.c
index 145662c..54660b0 100644
--- a/providers/jdbc/gda-list-jdbc-providers.c
+++ b/providers/jdbc/gda-list-jdbc-providers.c
@@ -25,7 +25,7 @@ main (int argc, char **argv)
g_assert (namevalue);
if (! some_found) {
some_found = TRUE;
- g_print ("Useable JDBC drivers:\n");
+ g_print ("Usable JDBC drivers:\n");
}
g_print ("%s\n", g_value_get_string (namevalue));
}
@@ -33,7 +33,7 @@ main (int argc, char **argv)
g_object_unref (providers);
if (! some_found)
- g_print ("No useable JDBC driver\n");
+ g_print ("No usable JDBC driver\n");
return 0;
}
diff --git a/providers/jdbc/jni-wrapper.c b/providers/jdbc/jni-wrapper.c
index 3b53a20..b4e44b6 100644
--- a/providers/jdbc/jni-wrapper.c
+++ b/providers/jdbc/jni-wrapper.c
@@ -159,21 +159,21 @@ jni_wrapper_create_vm (JavaVM **out_jvm, CreateJavaVMFunc create_func,
jclass klass;
klass = jni_wrapper_class_get (env, "java/lang/Throwable", NULL);
if (!klass)
- g_warning ("Error loading '%s' class (error messages won't be detailled)",
+ g_warning ("Error loading '%s' class (error messages won't be detailed)",
"java.lang.Throwable");
else {
get_message_method = jni_wrapper_method_create (env, klass,
"getMessage", "()Ljava/lang/String;",
FALSE, NULL);
if (!get_message_method)
- g_warning ("Error loading '%s' method (error messages won't be detailled)",
+ g_warning ("Error loading '%s' method (error messages won't be detailed)",
"java.lang.Throwable.getMessage");
(*env)->DeleteGlobalRef (env, klass);
}
klass = jni_wrapper_class_get (env, "java/sql/SQLException", NULL);
if (!klass)
- g_warning ("Error loading '%s' class (error messages won't be detailled)",
+ g_warning ("Error loading '%s' class (error messages won't be detailed)",
"java.sql.SqlException");
else {
SQLException__class = klass;
@@ -181,7 +181,7 @@ jni_wrapper_create_vm (JavaVM **out_jvm, CreateJavaVMFunc create_func,
"getErrorCode", "()I",
FALSE, NULL);
if (!get_error_code_method)
- g_warning ("Error loading '%s' method (error messages won't be detailled)",
+ g_warning ("Error loading '%s' method (error messages won't be detailed)",
"java.SQLException.getErrorCode");
get_sql_state_method = jni_wrapper_method_create (env, SQLException__class,
@@ -189,7 +189,7 @@ jni_wrapper_create_vm (JavaVM **out_jvm, CreateJavaVMFunc create_func,
FALSE, NULL);
if (!get_sql_state_method)
- g_warning ("Error loading '%s' method (error messages won't be detailled)",
+ g_warning ("Error loading '%s' method (error messages won't be detailed)",
"java.SQLException.getSQLState");
}
diff --git a/providers/jdbc/meta.java b/providers/jdbc/meta.java
index 331165a..3f330b3 100644
--- a/providers/jdbc/meta.java
+++ b/providers/jdbc/meta.java
@@ -57,7 +57,7 @@ class GdaJMeta {
}
/*
- * Meta data retreival is returned as instances of the class which allows a degree of
+ * Meta data retrieval is returned as instances of the class which allows a degree of
* customization depending on the type of database being accessed.
*/
abstract class GdaJMetaResultSet extends GdaJResultSet {
@@ -353,4 +353,4 @@ class GdaJMetaColumns extends GdaJMetaResultSet {
return true;
}
-}
\ No newline at end of file
+}
diff --git a/providers/jdbc/provider.java b/providers/jdbc/provider.java
index 6103460..3e40f2c 100644
--- a/providers/jdbc/provider.java
+++ b/providers/jdbc/provider.java
@@ -222,7 +222,7 @@ class GdaJConnection {
svp_map.remove (svp_name);
}
- // meta data retreival
+ // meta data retrieval
public GdaJMeta getJMeta () throws Exception {
if (jmeta == null) {
String name= driver.replace (".", "_") + "Meta";
@@ -1032,7 +1032,7 @@ class GdaJBlobOp {
*
* Note: the @size attribute is not used here since the PreparedStatement.setBinaryStream() already
* contains the blob's size and won't try to get more. If this InputStream were to be used
- * somewhere else, then @size would have to be handled correclty.
+ * somewhere else, then @size would have to be handled correctly.
*/
class GdaInputStream extends InputStream {
static int chunk_size = 65536; // 64kb chunks
diff --git a/providers/mysql/gda-mysql-provider.c b/providers/mysql/gda-mysql-provider.c
index d333149..5294eaa 100644
--- a/providers/mysql/gda-mysql-provider.c
+++ b/providers/mysql/gda-mysql-provider.c
@@ -815,7 +815,7 @@ gda_mysql_provider_supports_operation (GdaServerProvider *provider,
* Create operation request
*
* Creates a #GdaServerOperation. The following code is generic and should only be changed
- * if some further initialization is required, or if operation's contents is dependant on @cnc
+ * if some further initialization is required, or if operation's contents is dependent on @cnc
*/
static GdaServerOperation *
gda_mysql_provider_create_operation (GdaServerProvider *provider,
@@ -2192,12 +2192,12 @@ my_remove_quotes (gchar *str)
total = strlen (str);
if (str[total-1] == delim) {
- /* string is correclty terminated */
+ /* string is correctly terminated */
g_memmove (str, str+1, total-2);
total -=2;
}
else {
- /* string is _not_ correclty terminated */
+ /* string is _not_ correctly terminated */
g_memmove (str, str+1, total-1);
total -=1;
}
diff --git a/providers/mysql/gda-mysql-recordset.c b/providers/mysql/gda-mysql-recordset.c
index 05acdda..ccd1c6e 100644
--- a/providers/mysql/gda-mysql-recordset.c
+++ b/providers/mysql/gda-mysql-recordset.c
@@ -862,7 +862,7 @@ new_row_from_mysql_stmt (GdaMysqlRecordset *imodel, gint rownum, GError **error)
*
* Memory management for that new GdaRow object is left to the implementation, which
* can use gda_data_select_take_row(). If new row objects are "given" to the GdaDataSelect implemantation
- * using that method, then this method should detect when all the data model rows have been analysed
+ * using that method, then this method should detect when all the data model rows have been analyzed
* (when model->nb_stored_rows == model->advertized_nrows) and then possibly discard the API handle
* as it won't be used anymore to fetch rows.
*/
diff --git a/providers/oracle/gda-oracle-provider.c b/providers/oracle/gda-oracle-provider.c
index 69c947d..cd672c1 100644
--- a/providers/oracle/gda-oracle-provider.c
+++ b/providers/oracle/gda-oracle-provider.c
@@ -91,7 +91,7 @@ static gboolean gda_oracle_provider_rollback_savepoint (GdaServerProv
static gboolean gda_oracle_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
const gchar *name, GError **error);
-/* information retreival */
+/* information retrieval */
static const gchar *gda_oracle_provider_get_version (GdaServerProvider *provider);
static gboolean gda_oracle_provider_supports_feature (GdaServerProvider *provider, GdaConnection *cnc,
GdaConnectionFeature feature);
@@ -811,7 +811,7 @@ gda_oracle_provider_supports_operation (GdaServerProvider *provider, GdaConnecti
* Create operation request
*
* Creates a #GdaServerOperation. The following code is generic and should only be changed
- * if some further initialization is required, or if operation's contents is dependant on @cnc
+ * if some further initialization is required, or if operation's contents is dependent on @cnc
*/
static GdaServerOperation *
gda_oracle_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
@@ -2219,12 +2219,12 @@ ora_remove_quotes (gchar *str)
total = strlen (str);
if (str[total-1] == delim) {
- /* string is correclty terminated */
+ /* string is correctly terminated */
g_memmove (str, str+1, total-2);
total -=2;
}
else {
- /* string is _not_ correclty terminated */
+ /* string is _not_ correctly terminated */
g_memmove (str, str+1, total-1);
total -=1;
}
diff --git a/providers/oracle/gda-oracle-recordset.c b/providers/oracle/gda-oracle-recordset.c
index 4b91804..121cccb 100644
--- a/providers/oracle/gda-oracle-recordset.c
+++ b/providers/oracle/gda-oracle-recordset.c
@@ -585,7 +585,7 @@ gda_oracle_recordset_fetch_nb_rows (GdaDataSelect *model)
*
* Memory management for that new GdaRow object is left to the implementation, which
* can use gda_data_select_take_row(). If new row objects are "given" to the GdaDataSelect implemantation
- * using that method, then this method should detect when all the data model rows have been analysed
+ * using that method, then this method should detect when all the data model rows have been analyzed
* (when model->nb_stored_rows == model->advertized_nrows) and then possibly discard the API handle
* as it won't be used anymore to fetch rows.
*/
diff --git a/providers/postgres/gda-postgres-blob-op.c b/providers/postgres/gda-postgres-blob-op.c
index b9faea5..b82d2fb 100644
--- a/providers/postgres/gda-postgres-blob-op.c
+++ b/providers/postgres/gda-postgres-blob-op.c
@@ -120,7 +120,7 @@ blob_op_open (GdaPostgresBlobOp *pgop)
return TRUE;
if (gda_connection_get_transaction_status (pgop->priv->cnc))
- /* add a savepoint to prevent a blob open failure from rendering the transaction unuseable */
+ /* add a savepoint to prevent a blob open failure from rendering the transaction unusable */
use_svp = TRUE;
if (use_svp)
diff --git a/providers/postgres/gda-postgres-handler-bin.c b/providers/postgres/gda-postgres-handler-bin.c
index 4f76cad..ea75caf 100644
--- a/providers/postgres/gda-postgres-handler-bin.c
+++ b/providers/postgres/gda-postgres-handler-bin.c
@@ -44,7 +44,7 @@ static gboolean gda_postgres_handler_bin_accepts_g_type (GdaDataHand
static const gchar *gda_postgres_handler_bin_get_descr (GdaDataHandler *dh);
struct _GdaPostgresHandlerBinPriv {
- gchar *detailled_descr;
+ gchar *detailed_descr;
guint nb_g_types;
GType *valid_g_types;
GdaConnection *cnc;
@@ -116,7 +116,7 @@ gda_postgres_handler_bin_init (GdaPostgresHandlerBin * hdl)
{
/* Private structure */
hdl->priv = g_new0 (GdaPostgresHandlerBinPriv, 1);
- hdl->priv->detailled_descr = _("Postgresql binary handler");
+ hdl->priv->detailed_descr = _("Postgresql binary handler");
hdl->priv->nb_g_types = 2;
hdl->priv->valid_g_types = g_new0 (GType, 1);
hdl->priv->valid_g_types[0] = GDA_TYPE_BINARY;
diff --git a/providers/postgres/gda-postgres-provider.c b/providers/postgres/gda-postgres-provider.c
index b1bff4d..d1584da 100644
--- a/providers/postgres/gda-postgres-provider.c
+++ b/providers/postgres/gda-postgres-provider.c
@@ -93,7 +93,7 @@ static gboolean gda_postgres_provider_rollback_savepoint (GdaServerPr
static gboolean gda_postgres_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
const gchar *name, GError **error);
-/* information retreival */
+/* information retrieval */
static const gchar *gda_postgres_provider_get_version (GdaServerProvider *provider);
static gboolean gda_postgres_provider_supports_feature (GdaServerProvider *provider, GdaConnection *cnc,
GdaConnectionFeature feature);
@@ -895,7 +895,7 @@ gda_postgres_provider_supports_operation (GdaServerProvider *provider, GdaConnec
* Create operation request
*
* Creates a #GdaServerOperation. The following code is generic and should only be changed
- * if some further initialization is required, or if operation's contents is dependant on @cnc
+ * if some further initialization is required, or if operation's contents is dependent on @cnc
*/
static GdaServerOperation *
gda_postgres_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
@@ -1766,7 +1766,7 @@ make_last_inserted_set (GdaConnection *cnc, GdaStatement *stmt, Oid last_id)
{
GError *lerror = NULL;
- /* analyse @stmt */
+ /* analyze @stmt */
GdaSqlStatement *sql_insert;
GdaSqlStatementInsert *insert;
if (gda_statement_get_statement_type (stmt) != GDA_SQL_STATEMENT_INSERT)
@@ -2511,12 +2511,12 @@ pg_remove_quotes (gchar *str)
total = strlen (str);
if (str[total-1] == delim) {
- /* string is correclty terminated */
+ /* string is correctly terminated */
g_memmove (str, str+1, total-2);
total -=2;
}
else {
- /* string is _not_ correclty terminated */
+ /* string is _not_ correctly terminated */
g_memmove (str, str+1, total-1);
total -=1;
}
diff --git a/providers/skel-implementation/capi/gda-capi-provider.c b/providers/skel-implementation/capi/gda-capi-provider.c
index 3658c90..d1c41d4 100644
--- a/providers/skel-implementation/capi/gda-capi-provider.c
+++ b/providers/skel-implementation/capi/gda-capi-provider.c
@@ -85,7 +85,7 @@ static gboolean gda_capi_provider_rollback_savepoint (GdaServerProvid
static gboolean gda_capi_provider_delete_savepoint (GdaServerProvider *provider, GdaConnection *cnc,
const gchar *name, GError **error);
-/* information retreival */
+/* information retrieval */
static const gchar *gda_capi_provider_get_version (GdaServerProvider *provider);
static gboolean gda_capi_provider_supports_feature (GdaServerProvider *provider, GdaConnection *cnc,
GdaConnectionFeature feature);
@@ -481,7 +481,7 @@ gda_capi_provider_supports_operation (GdaServerProvider *provider, GdaConnection
* Create operation request
*
* Creates a #GdaServerOperation. The following code is generic and should only be changed
- * if some further initialization is required, or if operation's contents is dependant on @cnc
+ * if some further initialization is required, or if operation's contents is dependent on @cnc
*/
static GdaServerOperation *
gda_capi_provider_create_operation (GdaServerProvider *provider, GdaConnection *cnc,
diff --git a/providers/skel-implementation/capi/gda-capi-recordset.c b/providers/skel-implementation/capi/gda-capi-recordset.c
index 16c6447..9123343 100644
--- a/providers/skel-implementation/capi/gda-capi-recordset.c
+++ b/providers/skel-implementation/capi/gda-capi-recordset.c
@@ -246,7 +246,7 @@ gda_capi_recordset_fetch_nb_rows (GdaDataSelect *model)
*
* Memory management for that new GdaRow object is left to the implementation, which
* can use gda_data_select_take_row(). If new row objects are "given" to the GdaDataSelect implemantation
- * using that method, then this method should detect when all the data model rows have been analysed
+ * using that method, then this method should detect when all the data model rows have been analyzed
* (when model->nb_stored_rows == model->advertized_nrows) and then possibly discard the API handle
* as it won't be used anymore to fetch rows.
*/
diff --git a/samples/BDB/README b/samples/BDB/README
index 2455ab0..287b8b8 100644
--- a/samples/BDB/README
+++ b/samples/BDB/README
@@ -36,7 +36,7 @@ access-raw.c:
-------------
This program creates a GdaDataModelBdb object which is by default composed of two
binary columns, and accesses the contents of the key and data binary fields by casting
-the binary data to the Key and Value structures mentionned above.
+the binary data to the Key and Value structures mentioned above.
access-custom.c:
----------------
diff --git a/samples/DirDataModel/find-duplicates.c b/samples/DirDataModel/find-duplicates.c
index 11077d2..febc2b4 100644
--- a/samples/DirDataModel/find-duplicates.c
+++ b/samples/DirDataModel/find-duplicates.c
@@ -21,7 +21,7 @@ static GOptionEntry entries[] = {
SELECT * FROM files WHERE md5sum IN (SELECT sf.md5sum FROM files sf GROUP BY sf.md5sum HAVING count (sf.md5sum) > 1)"
#define SQL_CREATE_ALL_DUPLICATES_TABLE "CREATE TEMP TABLE duplicates AS \
-SELECT min (dir_name || '/' || file_name) AS filename, count (data) AS occurences, data \
+SELECT min (dir_name || '/' || file_name) AS filename, count (data) AS occurrences, data \
FROM filtered_files \
GROUP BY data HAVING count (data) > 1"
diff --git a/samples/Report/schema-report-spec.xml b/samples/Report/schema-report-spec.xml
index 8a5f467..20dd003 100644
--- a/samples/Report/schema-report-spec.xml
+++ b/samples/Report/schema-report-spec.xml
@@ -163,7 +163,7 @@
<!-- Involved columns -->
<gda_report_section>
<gda_report_query query_name="key_columns" cnc_name="meta_store_cnc">
- select * from _detailled_fk WHERE
+ select * from _detailed_fk WHERE
fk_table_name = ##direct_tables|@table_name::string AND
fk_table_schema = ##direct_tables|@table_schema::string AND
fk_constraint_name = ##constraints|@constraint_name
diff --git a/samples/SqlParserConsole/console.c b/samples/SqlParserConsole/console.c
index 9ab8881..091c1c6 100644
--- a/samples/SqlParserConsole/console.c
+++ b/samples/SqlParserConsole/console.c
@@ -199,7 +199,7 @@ create_parser_for_provider (const gchar *prov_name)
prov = gda_config_get_provider (prov_name ? prov_name : "SQLite", &error);
if (!prov) {
- g_print ("Could not instanciate provider for '%s': %s\n", prov_name,
+ g_print ("Could not instantiate provider for '%s': %s\n", prov_name,
error && error->message ? error->message : "No detail");
if (error)
g_error_free (error);
diff --git a/samples/Tree/README b/samples/Tree/README
index 37771e7..1cb7070 100644
--- a/samples/Tree/README
+++ b/samples/Tree/README
@@ -9,7 +9,7 @@ in a hierarchical way:
* a top level node is created for each schema in the database (here there is only the "main" schema)
* below each schema nodes are created for each table in the schema
* a top level node is created for each table visible by default (here all the tables)
-* below each node representing a table, nodes are created for each colum in the table.
+* below each node representing a table, nodes are created for each column in the table.
This organization is illustrated in the GdaTree introduction in the documentation.
Compiling and running:
@@ -55,4 +55,4 @@ Updating meta store...done
| |-- shortcut
| |-- city
| `-- country
-[...]
\ No newline at end of file
+[...]
diff --git a/tests/data-models/check_pmodel.c b/tests/data-models/check_pmodel.c
index 86c2e03..02f780a 100644
--- a/tests/data-models/check_pmodel.c
+++ b/tests/data-models/check_pmodel.c
@@ -362,7 +362,7 @@ test2 (GdaConnection *cnc)
if (!gda_data_select_set_modification_statement (GDA_DATA_SELECT (model), mod_stmt, &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_modification_statement() should have succedded, error: %s\n",
+ g_print ("gda_data_select_set_modification_statement() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -411,7 +411,7 @@ test3 (GdaConnection *cnc)
if (!gda_data_select_set_modification_statement (GDA_DATA_SELECT (model), mod_stmt, &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_modification_statement() should have succedded, error: %s\n",
+ g_print ("gda_data_select_set_modification_statement() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -503,7 +503,7 @@ test4 (GdaConnection *cnc)
if (!gda_data_select_set_modification_statement (GDA_DATA_SELECT (model), mod_stmt, &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_modification_statement() should have succedded, error: %s\n",
+ g_print ("gda_data_select_set_modification_statement() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -513,7 +513,7 @@ test4 (GdaConnection *cnc)
if (! gda_data_model_remove_row (model, 0, &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_model_remove_row() should have succedded, error: %s\n",
+ g_print ("gda_data_model_remove_row() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
g_error_free (error);
@@ -568,7 +568,7 @@ test5 (GdaConnection *cnc)
if (!gda_data_select_set_modification_statement (GDA_DATA_SELECT (model), mod_stmt, &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_modification_statement() should have succedded, error: %s\n",
+ g_print ("gda_data_select_set_modification_statement() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -691,7 +691,7 @@ test6 (GdaConnection *cnc)
if (! gda_data_select_set_row_selection_condition_sql (GDA_DATA_SELECT (model), "id = ##-0::gint", &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_row_selection_condition_sql() have succedded, error: %s\n",
+ g_print ("gda_data_select_set_row_selection_condition_sql() have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -717,7 +717,7 @@ test6 (GdaConnection *cnc)
if (!gda_data_select_set_modification_statement (GDA_DATA_SELECT (model), mod_stmt, &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_modification_statement() should have succedded, error: %s\n",
+ g_print ("gda_data_select_set_modification_statement() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -854,7 +854,7 @@ test7 (GdaConnection *cnc)
if (!gda_data_select_compute_modification_statements (GDA_DATA_SELECT (model), &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_compute_modification_statements() should have succedded, error: %s\n",
+ g_print ("gda_data_select_compute_modification_statements() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -911,7 +911,7 @@ test8 (GdaConnection *cnc)
if (!gda_data_select_compute_modification_statements (GDA_DATA_SELECT (model), &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_modification_statement() should have succedded, error: %s\n",
+ g_print ("gda_data_select_set_modification_statement() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -990,7 +990,7 @@ test9 (GdaConnection *cnc)
if (!gda_data_select_compute_modification_statements (GDA_DATA_SELECT (model), &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_compute_modification_statements() should have succedded, error: %s\n",
+ g_print ("gda_data_select_compute_modification_statements() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -1268,7 +1268,7 @@ test12 (GdaConnection *cnc)
if (!gda_data_select_compute_modification_statements (GDA_DATA_SELECT (model), &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_compute_modification_statements() should have succedded, error: %s\n",
+ g_print ("gda_data_select_compute_modification_statements() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -1408,7 +1408,7 @@ test13 (GdaConnection *cnc)
if (!gda_data_select_set_modification_statement (GDA_DATA_SELECT (model), mod_stmt, &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_set_modification_statement() should have succedded, error: %s\n",
+ g_print ("gda_data_select_set_modification_statement() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
@@ -1503,7 +1503,7 @@ test14 (GdaConnection *cnc)
if (!gda_data_select_compute_modification_statements (GDA_DATA_SELECT (model), &error)) {
nfailed++;
#ifdef CHECK_EXTRA_INFO
- g_print ("gda_data_select_compute_modification_statements() should have succedded, error: %s\n",
+ g_print ("gda_data_select_compute_modification_statements() should have succeeded, error: %s\n",
error && error->message ? error->message : "No detail");
#endif
goto out;
diff --git a/tests/meta-store/common.c b/tests/meta-store/common.c
index 012355d..29e78ab 100644
--- a/tests/meta-store/common.c
+++ b/tests/meta-store/common.c
@@ -307,7 +307,7 @@ common_drop_all_tables (GdaMetaStore *store)
};
gchar *view_names [] = {
"_all_types",
- "_detailled_fk"
+ "_detailed_fk"
};
GdaConnection *cnc = gda_meta_store_get_internal_connection (store);
diff --git a/tests/test-cnc-utils.c b/tests/test-cnc-utils.c
index 3f60fbf..97f6365 100644
--- a/tests/test-cnc-utils.c
+++ b/tests/test-cnc-utils.c
@@ -343,7 +343,7 @@ test_cnc_load_data_from_file (GdaConnection *cnc, const gchar *table, const gcha
return FALSE;
}
- /* retreiving meta data info */
+ /* retrieving meta data info */
GdaMetaDbObject *table_dbo;
GValue *name_value;
g_value_set_string ((name_value = gda_value_new (G_TYPE_STRING)), table);
diff --git a/tools/binreloc/sql-binreloc.c b/tools/binreloc/sql-binreloc.c
index dbf811a..283c4fd 100644
--- a/tools/binreloc/sql-binreloc.c
+++ b/tools/binreloc/sql-binreloc.c
@@ -21,7 +21,7 @@
*/
#include "sql-binreloc.h"
-/* include source file as mentionned in gbr_init_lib()'s doc */
+/* include source file as mentioned in gbr_init_lib()'s doc */
#include "binreloc.c"
#ifdef G_OS_WIN32
diff --git a/tools/command-exec.c b/tools/command-exec.c
index e8b588b..a7ab79f 100644
--- a/tools/command-exec.c
+++ b/tools/command-exec.c
@@ -53,12 +53,12 @@ gda_internal_command_arg_remove_quotes (gchar *str)
total = strlen (str);
if (str[total-1] == delim) {
- /* string is correclty terminated by a double quote */
+ /* string is correctly terminated by a double quote */
g_memmove (str, str+1, total-2);
total -=2;
}
else {
- /* string is _not_ correclty terminated by a double quote */
+ /* string is _not_ correctly terminated by a double quote */
g_memmove (str, str+1, total-1);
total -=1;
}
@@ -853,7 +853,7 @@ gda_internal_command_detail (SqlConsole *console, GdaConnection *cnc, const gcha
g_string_append_printf (string, " '%s'", g_value_get_string (cvalue));
str = "SELECT ref_table_schema, ref_table_name, fk_column, ref_column "
- "FROM _detailled_fk WHERE fk_table_catalog = ##tc::string "
+ "FROM _detailed_fk WHERE fk_table_catalog = ##tc::string "
"AND fk_table_schema = ##ts::string AND fk_table_name = ##tname::string AND "
"fk_constraint_name = ##cname::string "
"ORDER BY ordinal_position";
diff --git a/tools/gda-sql.1.in b/tools/gda-sql.1.in
index 7c2e2fb..c93bf5c 100644
--- a/tools/gda-sql.1.in
+++ b/tools/gda-sql.1.in
@@ -10,7 +10,7 @@ gda-sql - an SQL console based on Libgda
[\-o] [\-\-output\-file \fI<filename>\fP]
[\-C] [\-\-command]
[\-f] [\-\-commands\-file \fI<filename>\fP]
-[\-i] [\-\-interractive]
+[\-i] [\-\-interactive]
[\-l] [\-\-list\-dsn]
[\-L] [\-\-list\-providers]
[\-s] [\-\-http\-port \fI<port>\fP]
@@ -25,7 +25,7 @@ query results.
.PP
Several connections can be opened at the same time, allowing you to switch the active connection to any
opened connection. When starting, gda-sql opens a connection for each connection specified on the command
-line (plus optionnally one corresponding to the \fBGDA_SQL_CNC\fP environment variable). The prompt
+line (plus optionally one corresponding to the \fBGDA_SQL_CNC\fP environment variable). The prompt
indicates the current connection used when executing commands.
.PP
@@ -54,7 +54,7 @@ Run only single command (SQL or internal) and exit.
.B \-f, \-\-commands\-file \fI<filename>\fP
Execute commands from \fI<filename>\fP, then exit (except if \-i specified).
.TP 8
-.B \-i, \-\-interractive
+.B \-i, \-\-interactive
Keep the console opened after executing a file (used with the \-f option).
.TP 8
.B \-l, \-\-list\-dsn
@@ -115,7 +115,7 @@ For each connection defined by a DSN, the meta data is stored in a
.SH SQL commands
You can run any SQL understood by the database engine of the current connection.
-Additionnally SQL statement can contain variables expressed as \fI##<name>::<type>\fP
+Additionally SQL statement can contain variables expressed as \fI##<name>::<type>\fP
where \fI<name>\fP is the variable's name and \fI<type>\fP is its declared type (which
can be "int", "string", "boolean", "time", "date", "timestamp" (and other types defined
by GLib's syntax).
@@ -177,7 +177,7 @@ file.
\fB.export <TABLE> <COLUMN> <ROW_CONDITION> <FILE_NAME>\fP exports the value of the \fI<TABLE>\fP
table, column \fI<COLUMN>\fP for the row selected by \fI<ROW_CONDITION>\fP to the specified
-file. This is most usefull to export BLOBs.
+file. This is most useful to export BLOBs.
.IP \fB.g\fP
Executes the contents of the query buffer, if no parameter is provided. \fB.g <QUERY_BUFFER_NAME>\fP
Executes the contents of the specified query buffer. A named query buffer is created using the
@@ -261,7 +261,7 @@ value.
with the contents of the specified file name.
\fB.setex <NAME> <TABLE> <COLUMN> <ROW_CONDITION>\fP (re)defines the the internal parameter named \fI<NAME>\fP
-with the value of the \fI<TABLE>\fP table, column \fI<COLUMN>\fP for the row selected by \fI<ROW_CONDITION>\fP.This is most usefull to export BLOBs.
+with the value of the \fI<TABLE>\fP table, column \fI<COLUMN>\fP for the row selected by \fI<ROW_CONDITION>\fP.This is most useful to export BLOBs.
.IP \fB.unset\fP
Unset (delete) internal parameter.
diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index 1e0218c..077ae51 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -62,7 +62,7 @@ gboolean ask_pass = FALSE;
gchar *single_command = NULL;
gchar *commandsfile = NULL;
-gboolean interractive = FALSE;
+gboolean interactive = FALSE;
gboolean list_configs = FALSE;
gboolean list_providers = FALSE;
@@ -82,7 +82,7 @@ static GOptionEntry entries[] = {
{ "output-file", 'o', 0, G_OPTION_ARG_STRING, &outfile, "Output file", "output file"},
{ "command", 'C', 0, G_OPTION_ARG_STRING, &single_command, "Run only single command (SQL or internal) and exit", "command" },
{ "commands-file", 'f', 0, G_OPTION_ARG_STRING, &commandsfile, "Execute commands from file, then exit (except if -i specified)", "filename" },
- { "interractive", 'i', 0, G_OPTION_ARG_NONE, &interractive, "Keep the console opened after executing a file (-f option)", NULL },
+ { "interactive", 'i', 0, G_OPTION_ARG_NONE, &interactive, "Keep the console opened after executing a file (-f option)", NULL },
{ "list-dsn", 'l', 0, G_OPTION_ARG_NONE, &list_configs, "List configured data sources and exit", NULL },
{ "list-providers", 'L', 0, G_OPTION_ARG_NONE, &list_providers, "List installed database providers and exit", NULL },
#ifdef HAVE_LIBSOUP
@@ -327,7 +327,7 @@ main (int argc, char *argv[])
else
break;
}
- if (interractive && !cmde && isatty (fileno (stdin)))
+ if (interactive && !cmde && isatty (fileno (stdin)))
set_input_file (NULL, NULL);
else {
if (!data->output_stream)
@@ -336,7 +336,7 @@ main (int argc, char *argv[])
}
}
- /* set up interractive commands */
+ /* set up interactive commands */
setup_sigint_handler ();
init_input ((TreatLineFunc) treat_line_func, prompt_func, NULL);
set_completion_func (completion_func);
@@ -3554,7 +3554,7 @@ extra_command_query_buffer_list_dict (SqlConsole *console, GdaConnection *cnc, c
return NULL;
}
- /* actual list retreival */
+ /* actual list retrieval */
static GdaStatement *sel_stmt = NULL;
GdaDataModel *model;
if (!sel_stmt) {
@@ -3702,7 +3702,7 @@ extra_command_query_buffer_from_dict (SqlConsole *console, GdaConnection *cnc, c
return NULL;
}
- /* query retreival */
+ /* query retrieval */
static GdaStatement *sel_stmt = NULL;
static GdaSet *sel_params = NULL;
GdaDataModel *model;
@@ -3774,7 +3774,7 @@ extra_command_query_buffer_delete_dict (SqlConsole *console, GdaConnection *cnc,
return NULL;
}
- /* query retreival */
+ /* query retrieval */
static GdaStatement *del_stmt = NULL;
static GdaSet *del_params = NULL;
if (!del_stmt) {
diff --git a/tools/web-server.c b/tools/web-server.c
index 9b51244..80e3483 100644
--- a/tools/web-server.c
+++ b/tools/web-server.c
@@ -54,9 +54,9 @@ static GObjectClass *parent_class = NULL;
struct _WebServerPrivate
{
SoupServer *server;
- GHashTable *ressources_hash; /* key = a path without the starting '/', value = a TmpRessource pointer */
- GSList *ressources_list; /* list of the TmpRessource pointers in @ressources_hash, memory not managed here */
- guint ressources_timer;
+ GHashTable *resources_hash; /* key = a path without the starting '/', value = a TmpResource pointer */
+ GSList *resources_list; /* list of the TmpResource pointers in @resources_hash, memory not managed here */
+ guint resources_timer;
/* authentication */
gchar *token; /* FIXME: protect it! */
@@ -87,7 +87,7 @@ static void auth_cookies_manage (WebServer *server);
/*
* Temporary available data
*
- * Each TmpRessource structure represents a ressource which will be available for some time (until it has
+ * Each TmpResource structure represents a resource which will be available for some time (until it has
* expired).
*
* If the expiration_date attribute is set to 0, then there is no expiration at all.
@@ -97,12 +97,12 @@ typedef struct {
gchar *data;
gsize size;
int expiration_date; /* 0 to avoid expiration */
-} TmpRessource;
+} TmpResource;
-static TmpRessource *tmp_ressource_add (WebServer *server, const gchar *path, gchar *data, gsize data_length);
-static TmpRessource *tmp_static_data_add (WebServer *server, const gchar *path, gchar *data, gsize data_length);
-static gboolean delete_tmp_ressource (WebServer *server);
-static void tmp_ressource_free (TmpRessource *data);
+static TmpResource *tmp_resource_add (WebServer *server, const gchar *path, gchar *data, gsize data_length);
+static TmpResource *tmp_static_data_add (WebServer *server, const gchar *path, gchar *data, gsize data_length);
+static gboolean delete_tmp_resource (WebServer *server);
+static void tmp_resource_free (TmpResource *data);
/* module error */
GQuark web_server_error_quark (void)
@@ -158,10 +158,10 @@ static void
web_server_init (WebServer *server)
{
server->priv = g_new0 (WebServerPrivate, 1);
- server->priv->ressources_timer = 0;
- server->priv->ressources_hash = g_hash_table_new_full (g_str_hash, g_str_equal,
- g_free, (GDestroyNotify) tmp_ressource_free);
- server->priv->ressources_list = NULL;
+ server->priv->resources_timer = 0;
+ server->priv->resources_hash = g_hash_table_new_full (g_str_hash, g_str_equal,
+ g_free, (GDestroyNotify) tmp_resource_free);
+ server->priv->resources_list = NULL;
server->priv->token = g_strdup ("");
server->priv->challenges = g_array_new (FALSE, FALSE, sizeof (TimedString*));
@@ -218,7 +218,7 @@ server_callback (SoupServer *server, SoupMessage *msg,
GError *error = NULL;
gboolean ok = TRUE;
gboolean done = FALSE;
- TmpRessource *tmpdata;
+ TmpResource *tmpdata;
if ((*path != '/') || (*path && (path[1] == '/'))) {
soup_message_set_status_full (msg, SOUP_STATUS_UNAUTHORIZED, "Wrong path name");
return;
@@ -264,7 +264,7 @@ server_callback (SoupServer *server, SoupMessage *msg,
done = TRUE;
}
}
- else if ((tmpdata = g_hash_table_lookup (webserver->priv->ressources_hash, path))) {
+ else if ((tmpdata = g_hash_table_lookup (webserver->priv->resources_hash, path))) {
if (msg->method == SOUP_METHOD_GET) {
soup_message_body_append (msg->response_body, SOUP_MEMORY_STATIC,
tmpdata->data, tmpdata->size);
@@ -363,21 +363,21 @@ web_server_dispose (GObject *object)
server = WEB_SERVER (object);
if (server->priv) {
- if (server->priv->ressources_hash) {
- g_hash_table_destroy (server->priv->ressources_hash);
- server->priv->ressources_hash = NULL;
+ if (server->priv->resources_hash) {
+ g_hash_table_destroy (server->priv->resources_hash);
+ server->priv->resources_hash = NULL;
}
- if (server->priv->ressources_list) {
- g_slist_free (server->priv->ressources_list);
- server->priv->ressources_list = NULL;
+ if (server->priv->resources_list) {
+ g_slist_free (server->priv->resources_list);
+ server->priv->resources_list = NULL;
}
if (server->priv->server) {
g_object_unref (server->priv->server);
server->priv->server = NULL;
}
- if (server->priv->ressources_timer) {
- g_source_remove (server->priv->ressources_timer);
- server->priv->ressources_timer = 0;
+ if (server->priv->resources_timer) {
+ g_source_remove (server->priv->resources_timer);
+ server->priv->resources_timer = 0;
}
if (server->priv->auth_timer) {
g_source_remove (server->priv->auth_timer);
@@ -1047,7 +1047,7 @@ compute_table_details (const ConnectionSetting *cs, HtmlDoc *hdoc, WebServer *we
gsize file_data_len;
if (g_file_get_contents (pngname, &file_data, &file_data_len, NULL)) {
tmp_filename = g_strdup_printf ("~tmp/g%d", counter);
- tmp_ressource_add (webserver, tmp_filename, file_data, file_data_len);
+ tmp_resource_add (webserver, tmp_filename, file_data, file_data_len);
}
}
g_unlink(pngname);
@@ -2056,57 +2056,57 @@ get_post_for_irb (WebServer *webserver, SoupMessage *msg, const ConnectionSettin
/*
* @data is stolen!
*/
-static TmpRessource *
-tmp_ressource_add (WebServer *server, const gchar *path, gchar *data, gsize data_length)
+static TmpResource *
+tmp_resource_add (WebServer *server, const gchar *path, gchar *data, gsize data_length)
{
- TmpRessource *td;
+ TmpResource *td;
GTimeVal tv;
g_get_current_time (&tv);
- td = g_new0 (TmpRessource, 1);
+ td = g_new0 (TmpResource, 1);
td->path = g_strdup (path);
td->data = data;
td->size = data_length;
td->expiration_date = tv.tv_sec + 30;
- g_hash_table_insert (server->priv->ressources_hash, g_strdup (path), td);
- server->priv->ressources_list = g_slist_prepend (server->priv->ressources_list, td);
- if (!server->priv->ressources_timer)
- server->priv->ressources_timer = g_timeout_add_seconds (5, (GSourceFunc) delete_tmp_ressource, server);
+ g_hash_table_insert (server->priv->resources_hash, g_strdup (path), td);
+ server->priv->resources_list = g_slist_prepend (server->priv->resources_list, td);
+ if (!server->priv->resources_timer)
+ server->priv->resources_timer = g_timeout_add_seconds (5, (GSourceFunc) delete_tmp_resource, server);
return td;
}
/*
* @data is static
*/
-static TmpRessource *
+static TmpResource *
tmp_static_data_add (WebServer *server, const gchar *path, gchar *data, gsize data_length)
{
- TmpRessource *td;
+ TmpResource *td;
- td = g_new0 (TmpRessource, 1);
+ td = g_new0 (TmpResource, 1);
td->path = g_strdup (path);
td->data = data;
td->size = data_length;
td->expiration_date = 0;
- g_hash_table_insert (server->priv->ressources_hash, g_strdup (path), td);
- server->priv->ressources_list = g_slist_prepend (server->priv->ressources_list, td);
+ g_hash_table_insert (server->priv->resources_hash, g_strdup (path), td);
+ server->priv->resources_list = g_slist_prepend (server->priv->resources_list, td);
return td;
}
static gboolean
-delete_tmp_ressource (WebServer *server)
+delete_tmp_resource (WebServer *server)
{
GSList *list;
GTimeVal tv;
gint n_timed = 0;
g_get_current_time (&tv);
- for (list = server->priv->ressources_list; list; ) {
- TmpRessource *td = (TmpRessource *) list->data;
+ for (list = server->priv->resources_list; list; ) {
+ TmpResource *td = (TmpResource *) list->data;
if ((td->expiration_date > 0) && (td->expiration_date < tv.tv_sec)) {
GSList *n = list->next;
- g_hash_table_remove (server->priv->ressources_hash, td->path);
- server->priv->ressources_list = g_slist_delete_link (server->priv->ressources_list, list);
+ g_hash_table_remove (server->priv->resources_hash, td->path);
+ server->priv->resources_list = g_slist_delete_link (server->priv->resources_list, list);
list = n;
}
else {
@@ -2116,7 +2116,7 @@ delete_tmp_ressource (WebServer *server)
}
}
if (n_timed == 0) {
- server->priv->ressources_timer = 0;
+ server->priv->resources_timer = 0;
return FALSE;
}
else
@@ -2124,7 +2124,7 @@ delete_tmp_ressource (WebServer *server)
}
static void
-tmp_ressource_free (TmpRessource *data)
+tmp_resource_free (TmpResource *data)
{
g_free (data->data);
g_free (data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]