[libgda: 18/18] Merge branch 'LIBGDA_4.0'
- From: Vivien Malerba <vivien src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgda: 18/18] Merge branch 'LIBGDA_4.0'
- Date: Fri, 5 Jun 2009 16:26:55 -0400 (EDT)
commit f4863bf1ee41bca0918e4b9b27479a256489b485
Merge: 568cf3d... 875f4da...
Author: Vivien Malerba <malerba gnome-db org>
Date: Thu Jun 4 23:03:50 2009 +0200
Merge branch 'LIBGDA_4.0'
ChangeLog | 4 +++
libgda/Makefile.am | 1 +
libgda/gda-connection-sqlite.h | 39 +++++++++++++++++++++++++++++++
libgda/gda-meta-store.c | 5 ++-
libgda/sqlite/gda-sqlite-provider.c | 43 ++++++++++++++++++++++++++++++----
tools/web-server.c | 2 +
6 files changed, 87 insertions(+), 7 deletions(-)
diff --cc ChangeLog
index 66cb2db,beb461f..5d2c715
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,96 -1,2393 +1,100 @@@
+ 2009-06-04 Vivien Malerba <malerba gnome-db org>
+
- * libgda/sqlite/gda-sqlite-provider.c:
- - when adding ROWID columns in a SELECT statement, make sure to also
- modify ORDER BY clauses if necessary
- - don't add ROWID clauses if there is a DISTINCT clause
- - fixed rendering of SELECT statements when a COMPOUND statement is used
- as the FROM part of another statement
++ Merged changes from LIBGDA_4.0 branch
+
-2009-04-19 Vivien Malerba <malerba gnome-db org>
-
- * libgda-report/RML/trml2html/Makefile.am:
- * libgda-report/RML/trml2pdf/Makefile.am: applied patch
- for bug #579458 (Gilles Dartiguelongue)
-
-2009-04-18 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 4.0.3
-
-Released 4.0.2
-
-2009-04-18 Vivien Malerba <malerba gnome-db org>
-
- * providers/postgres/gda-postgres-provider.c: display a warning when
- the PostgreSQL provider does not identify any data type
-
-2009-04-17 Vivien Malerba <malerba gnome-db org>
-
- * providers/postgres/gda-postgres-provider.c: fix for bug #578748
- * libgda/sqlite/gda-sqlite.h:
- * libgda/sqlite/gda-sqlite-meta.c:
- * libgda/sqlite/gda-sqlite-provider.c: make the SQLite provider
- compile with a system installed SQLite
- * configure.in: a system installed SQLite is now only searched for if the
- --enable-system-sqlite option is passed, and the presence of the sqlite3CreateFunc
- symbol is not anymore required. The only drawback of using a system installed
- SQLite is that meta data regarding functions will not be available
- * libgda/handlers/gda-handler-time.c: fix mem leak
-
-2009-04-07 Vivien Malerba <malerba gnome-db org>
-
- * configure.in:
- - set version to 4.0.2
- - detect uint8_t presence
- * libgda/gda-meta-store.c:
- - correction in gda_meta_store_schema_get_structure()
- - correction in the "cnc" property
- * tools/web-server.c: don't check for uint8_t
- * doc/C: doc. updates
-
-Released 4.0.1
-
-2009-03-27 Vivien Malerba <malerba gnome-db org>
-
- * libgda/libgda.symbols: removed the gda_transaction_status_dump
- symbol
- * libgda/sqlite/Makefile.am: another correction
-
-2009-03-27 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/Makefile.am: build xml_embedded.h before it is needed, and
- don't distribute it as part of the sources
-
-2009-03-25 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 4.0.1
- * libgda/gda-config.c:
- - added _gda_config_sqlite_provider,
- a pointer to the SQLite GdaServerProvider, always available, even
- if the SQLite provider is not installed
- - correctly behave if no provider is found at all
- * libgda/gda-connection.c:
- * libgda/gda-connection-sqlite.h: added a private method to open a
- connection to an SQLite file directly, even if the SQLite provider is not
- installed: _gda_open_internal_sqlite_connection()
- * libgda/gda-meta-store.c: if the SQLite provider is not installed, then use
- _gda_open_internal_sqlite_connection()
- * libgda/gda-server-operation-private.h:
- * libgda/gda-server-operation.c: added a private
- _gda_server_operation_new_from_string() function
- * libgda/sqlite/Makefile.am
- * libgda/sqlite/gen_emb_string.c: tool which generates source code to embedd all
- the .xml files found in providers/sqlite.
- * libgda/sqlite/gda-sqlite-provider.c: if a .xml file normally installed along
- with the SQLite provider is not found, then use the embedded version, using
- the file generated by the new gen_emb_string tool (which means losing any
- translation but we don't care as it is for internal purposes only).
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/postgres/gda-postgres-provider.c:
- * providers/skel-implementation/capi/gda-capi-provider.c: minor corrections in
- warnings
- * tools/gda-sql.c: better handle when the meta store object can be created
-
-Released 4.0.0
-
-2009-03-16 Vivien Malerba <malerba gnome-db org>
-
- * doc/C: doc. fixes
-
-2009-03-15 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 4.0.0
-
-Released 3.99.14
-
-2009-03-14 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-config.c:
- * tools/gda-sql.c:
- * providers/jdbc/jni-wrapper.c: use the XDG Base Directory Specification to
- get the directory where to store the defined data sources and fall back to
- $HOME/.libgda if the directory does not exist
- * tools/tools-input.c: store history file in $XDG_CACHE_HOME from
- the XDG Base Directory Specification
-
-2009-03-12 Vivien Malerba <malerba gnome-db org>
-
- * providers/mysql/gda-mysql-meta.c: corrected AUTO INCREMENT attribute reporting
- for tables' columns
-
-2009-03-12 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-holder.c:
- * libgda/gda-data-proxy.c:
- * libgda/gda-error.[ch]:
- * libgda/gda-types.[ch]:
- * libgda/gda-meta-store.c:
- * libgda/gda-set.c:
- * libgda/gda-init.c:
- * libgda/Makefile.am:
- * libgda/gda-custom-marshal.[ch]:
- - renamed gda-error.[ch] to gda-types.[ch] as more custom types are defined
- - don't install the new gda-types.h file
- - don't export the _get_type() symbols
- - fixes for bug #574736
- * libgda/gda-set.c:
- * doc/C: fixes for bug #574741
- * libgda/gda-set.[ch]: removed unused part in GdaSetSource and added padding
- for future expansion to GdaSetNode, GdaSetGroup and GdaSetSource
-
-2009-03-10 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-statement.c:
- * doc/C:
- - documents gda_statement_to_sql_real(), fixes bug #574738
- - mention that GdaServerOperationNode is mainly for database provider's
- implementations, for bug #574742
- * libgda/gda-meta-struct.c: fixes documentation for
- gda_meta_struct_get_all_db_objects(), fixes bug #574740
-
-2009-03-09 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.14
-
-Released 3.99.13
-
-2009-03-07 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-value.c: improved performances on gda_binary_to_string()
- and gda_string_to_binary(): removed g_memmove() usage and convert any
- non ASCII printable char to an octal representation (don't bither with
- unicode anymore)
-
-2009-03-05 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-value.c: fix for bug #574193
- * tests/Makefile.am:
- * tests/test-ddl-creator.c: remove created DB before running test, and run
- as a test
- * tests/Makefile.am:
- * tests/tests/test-bin-converter.c: new test for gda_binary_to_string()
- and gda_string_to_binary()
-
-2009-03-04 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: use ncurses if found instead of ncuses, fixes bug #574021
- * tools/tools-input.c: currected compilation issue if readline is not found,
- fixes bug #574020
-
-2009-03-03 Vivien Malerba <malerba gnome-db org>
-
- * configure.in:
- * libgda/Makefile.am:
- * libgda/gda-data-model-bdb.c:
- * providers/bdb/Makefile.am: the berkeley db livrary is now loaded only
- when needed: the libgda library is not linked directly with it anymore
-
-2009-03-02 Vivien Malerba <malerba gnome-db org>
-
- * tools/gda-sql.c:
- - corrected the "\i" command
- - corrected multi line commands handling
- * tools/gda-threader.c: removed unnecessary warning
- * tests/parser: added a new test which checks the parsing of whole script files
- * libgda/sql-parser/gda-sql-parser.c: consider a single '#' to be the start of a comment
- up to the end of the line for MySQL
- * libgda/libgda.symbols: added missing symbols (gda_data_model_error_get_type and
- gda_utility_data_model_find_column_description), and other corrections
- * libgda/sqlite/: renamed symbols which are not supposed to be exported
-
-2009-02-28 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.13
-
-Released 3.99.12
-
-2009-02-26 Vivien Malerba <malerba gnome-db org>
-
- * libgda/libgda.symbols:
- * libgda/gda-row.[ch]: added gda_row_invalidate_value() and gda_row_value_is_valid()
- to be used by database providers' implementations to tag individual values in a GdaRow
- as invalid (either because the value coud not be read or because the value could not
- be intepreted as the requested data type)
- * libgda/sqlite: SQLite provider's improvements:
- - handle int64 types
- - fixed a bug when using the '*' in a SELECT to get a blob data
- - use the new gda_row_invalidate_value() API
- * libgda/gda-data-access-wrapper.c:
- * libgda/gda-data-model-array.c:
- * providers/mysql/gda-mysql-recordset.c:
- * providers/postgres/gda-postgres-recordset.c: use the new gda_row_invalidate_value() API
- * libgda/gda-data-select.c: use the new gda_row_value_is_valid() API
- * libgda/gda-data-model.c: gda_data_model_dump_as_string() and gda_data_model_dump ()
- now display #### when the value of a column can't be obtained and displayed instead
- of undefined result
-
-2009-02-25 Vivien Malerba <malerba gnome-db org>
-
- * providers/mysql: more work on the MySQL provider:
- - some work on the parameters' binding to use the correct type (not
- always MYSQL_TYPE_STRING
- - don't pass the bound parameters to the GdaMysqlPStmt as it does not
- use them
- - double free problem in GdaMysqlRecordset
-
-2009-02-25 Vivien Malerba <malerba gnome-db org>
-
- * providers/mysql: more work on the MySQL provider:
- - use a MYSQL_STMT per prepared statement
- - if the same prepared statement is executed more than once and is
- a SELECT, then use another MYSQL_STMT to avoid conflicting with
- the previous one
-
-2009-02-24 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sql-parser/gda-statement-struct.c:
- * doc/C: doc. improvements
- * libgda/gda-meta-struct.c: misc corrections
- * libgda/gda-data-proxy.c: made it thread safe
- * libgda/libgda.symbols:
- * libgda/gda-util.[ch]: added gda_sql_identifier_split()
- * providers/mysql/*: more MySQL provider work:
- - remove double quotes around tables names when rendering SQL
- - make sure the connection uses UTF-8
- - corrected the handling of NULL values in GdaMysqlRecordset
- - removed compilation warnings
- - improved meta data retreival
- - bug fixes
-
-2009-02-23 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-connection.c: improved debug message
- * libgda/sqlite/sqlite-src/Makefile.am: define the SQLITE_OMIT_LOAD_EXTENSION flag
- to avoid having to link with libdl, possible fix for bug #572277
- * providers/mysql/gda-mysql-meta.c:
- * providers/mysql/gda-mysql-recordset.c: general MySQL provider improvements
- * providers/mysql/gda-mysql-provider.c: possible fix for bug #572394
-
-2009-02-22 Armin Burgmeier <armin openismus com>
-
- * libgda/gda-util.c (gda_utility_data_model_dump_data_to_xml): Don't
- leak rcols, fixes bug #572734
-
-2009-02-21 Armin Burgmeier <armin openismus com>
-
- * libgda/sqlite/gda-sqlite-provider.c:
- gda_sqlite_provider_begin_transaction()
- gda_sqlite_provider_commit_transaction()
- gda_sqlite_provider_rollback_transaction(): Set error when statement
- execution fails.
-
-2009-02-21 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-meta-store.c: corrected gda_meta_store_schema_get_structure(), fixes
- bug #542847
-
-2009-02-18 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/sqlite-src: uses SQLite version 3.6.11
-
-2009-02-18 Vivien Malerba <malerba gnome-db org>
-
- * doc/C: doc. improvements regarding GdaDataHandler
- * providers/mysql/gda-mysql-ddl.c:
- * providers/postgres/gda-postgres-ddl.c:
- * providers/postgres/gda-postgres-handler-bin.c:
- * libgda/sqlite/gda-sqlite-handler-bin.c:
- * libgda/handlers/gda-handler-type.c:
- * libgda/handlers/gda-handler-bin.c:
- * libgda/gda-data-handler.c;
- * libgda/gda-server-provider.c: make sure the
- gda_data_handler_get_sql_from_value() function is implemented in a
- coherent way, fixed bug #572220
-
-2009-02-17 Vivien Malerba <malerba gnome-db org>
-
- * configure.in:
- * providers/sybase/main.c:
- * Makefile.w32: removed any obsolete reference to bonobo,
- for bug #571879
- * libgda/gda-value.[ch]:
- * libgda/handlers/gda-handler-bin.c:
- * providers/postgres/gda-postgres-handler-bin.c:
- - fixed gda_string_to_binary() and gda_string_to_blob(),
- for bug #572028
- - removed the const from gda_value_take_binary() and
- gda_value_take_blob()
-
-2009-02-15 Vivien Malerba <malerba gnome-db org>
-
- * samples/MetaStore/example.c: corrected the usage of
- gda_connection_get_meta_store_data()
- * libgda/gda-connection.c: when using gda_connection_get_meta_store_data()
- with GDA_CONNECTION_META_FIELDS, accept the filter composed of
- "name" (table name) and "field_name" as mentionned in the doc
-
-2009-02-14 Vivien Malerba <malerba gnome-db org>
-
- * samples/:
- - added a new MetaStore example to show some examples of the
- gda_connection_update_meta_store() function
- - corrected some examples to compile correctly
- * doc/C:
- * libgda/gda-connection.c: improved documentation
-
-2009-02-13 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.12
-
-Released 3.99.11
-
-2009-02-13 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-connection.c:
- * doc/C: doc. updates
- * libgda/libgda.symbols: removed non existant symbol
-
-2009-02-09 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/virtual/: s/GdaVConnectionDataModelFunc/GdaVconnectionDataModelFunc/
- * doc/C: doc. updates
-
-2009-02-08 Vivien Malerba <malerba gnome-db org>
-
- * doc/C:
- * libgda/sql-parser:
- * libgda/libgda.symbols:
- - documentation improvements, fixes bug #570787
- - removed symbols which should never have been public
-
-2009-02-05 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-attributes-manager.c: applied patch for bug #569399 (tanks
- to Carl-Anton Ingmarsson)
-
-2009-02-05 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-attributes-manager.c: added locking in case several threads use
- the same GdaAttributeManager at the same time, this may be the problem for
- Anjuta bug #569399
- * doc/C: doc. improvements
- * libgda/gda-data-access-wrapper.c: when data model being wrapped does not have
- random access but still can iter forward and backward, then use a pool of GdaRow
- of limited size instead of keeping all the read rows in memory
- * libgda/gda-connection.c:
- * providers/postgres/gda-postgres-provider.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/skel-implementation/capi/gda-capi-provider.c: when calling the
- statement_execute() virtual method, the requested data model's access mode
- is checked and altered in GdaConnection to have a common behaviour.
- * other files:
- - s/GdaLockableClass/GdaLockableIface/
- - s/GdaDataModelClass/GdaDataModelIface/
- - added padding for future expansion to guarantee ABI stability
-
-2009-02-04 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-data-model.c: fixed a bug where the number of rows was printed
- after every line in gda_data_model_dump()
- * WixInstaller: moved to installers/WindowsWix
- * installers: new directory to store information and scripts about OS
- specific installers
-
-2009-02-03 Vivien Malerba <malerba gnome-db org>
-
- * doc/C: doc fixes, for bug #570315
- * libgda/sql-parser/gda-sql-parser.c: allow more characters in parameter names
- * libgda-report/engine/gda-report-engine.c:
- * samples/Report/customers-report-spec.xml:
- * samples/Report/customers-report-rml.rml: changed the syntax of parameters
- to avoid SQL parsing confusions (replace "/@" by "|@", "/#" by "|#" and
- "/%nrows" by "|?nrows")
- * libgda/sqlite/gda-sqlite-recordset.c: debug messages
- * libgda/gda-data-select.c: applied patch for bug #570251 (thanks Armin)
- * libgda/gda-data-model.c: avoid calling twice g_set_error() on the same
- GError
- * libgda/gda-connection.c: only show database objects which are visible by
- default in gda_connection_get_meta_store_data(), fixes bug #570396
-
-2009-02-02 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.11
-
-Released 3.99.10
-
-2009-02-02 Vivien Malerba <malerba gnome-db org>
-
- * libgda/libgda.symbols: removed non exported symbols
-
-2009-02-02 Vivien Malerba <malerba gnome-db org>
-
- * tools/gda-sql.c: change the prompt from "cnc_name>" to "cnc_name[" when
- in a transaction
-
-2009-02-02 Armin Burgmeier <armin openismus com>
-
- * libgda/gda-data-access-wrapper.c
- (gda_data_access_wrapper_get_value_at): Don't rely on an existing
- row for models that support both forward- and backward iteration since
- rows are not cached in iter_row_changed_cb() in that case. Instead,
- recreate the row to fetch the requested value.
-
-2009-02-01 Vivien Malerba <malerba gnome-db org>
-
- * configure.in:
- * libgda/binreloc/gda-binreloc.c: fix for MacOS X
- * tools/gda-sql.c: ignore unknown arguments on the command line
-
-2009-01-28 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/virtual/gda-vconnection-hub.h:
- * libgda/gda-easy.c:
- * libgda/sql-parser/gda-statement-struct.c:
- * libgda/sql-parser/gda-statement-struct-parts.h:
- * libgda/gda-set.h:
- * libgda/gda-server-provider.c:
- * libgda/gda-server-provider-extra.c:
- * libgda-report/DocBook/gda-report-docbook-document.c:
- * libgda-report/RML/gda-report-rml-document.c:
- * libgda/gda-meta-struct.c:
- * libgda/gda-holder.[ch]:
- * libgda/gda-data-model-array.c:
- * libgda/gda-data-model.c:
- * libgda/gda-data-model-bdb.c:
- * libgda/gda-column.h: doc updates
- * libgda/libgda.symbols:
- * providers/postgres/gda-postgres-handler-bin.c:
- * libgda/sqlite/gda-sqlite-handler-bin.c:
- * libgda/gda-column.h:
- * libgda/handlers/gda-handler-time.c:
- * libgda/handlers/gda-handler-boolean.c:
- * libgda/handlers/gda-handler-numerical.c:
- * libgda/handlers/gda-handler-type.c:
- * libgda/handlers/gda-handler-string.c:
- * libgda/handlers/gda-handler-bin.c:
- * libgda/gda-data-handler.c:
- * libgda/gda-data-handler.h: removed unused methods
-
-2009-01-28 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-server-provider.c: fixed a bug where the connection would remain
- locked.
- * providers/postgres/gda-postgres-meta.c: fix for bug #143576
- * po/: ran "make update-po"
-
-2009-01-27 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-easy.c:
- * libgda/gda-mutex.c:
- * libgda/gda-meta-store.c:
- * libgda/gda-value.c:
- * libgda/gda-meta-struct.h: doc. updates
-
-2009-01-27 Vivien Malerba <malerba gnome-db org>
-
- * libgda/libgda.symbols:
- * libgda/gda-easy.[ch]: added gda_insert_row_into_table_v() and
- gda_update_row_in_table_v() to facilitate C++ bindings; fixes bug #568484
- * libgda/gda-easy.c:
- * libgda/gda-meta-store.c:
- * libgda/gda-util.c:
- * libgda/gda-config.c: fixed memory leaks
- * configure.in:
- * libgda/gda-config.c: if available, use GIO to monitor config files changes
- instead of FAM or gamin, fixes bug #486021
-
-2009-01-26 Vivien Malerba <malerba gnome-db org>
-
- * doc/C:
- - added section about SQL parsers and how to write a database specific
- one in a database provider
- - misc. improvements
- * providers/skel-implementation/capi/gen_def.c:
- * providers/firebird/gen_def.c:
- * providers/mysql/gen_def.c:
- * providers/postgres/gen_def.c: removed unused #define in generated header file
- * libgda/libgda.symbols: removed symbols not existing anymore
- * providers/jdbc/Makefile.am: include the MANIFEST.MF in distributed tarballs,
- fixes bugs #568388 and #568353
- * providers/gda-mysql-recordset.c: add unsigned information when binding
- for output to avoid data being truncated, fixes bug #561748
-
-2009-01-25 Vivien Malerba <malerba gnome-db org>
-
- * tools/test_blob.sh: new script used to test database provider's blobs
- implementations
- * providers/postgres/gda-postgres-provider.c: correct a double free problem
- and prevent memory leaks in some cases
-
-2009-01-24 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sql-parser/parser_tokens.h: removed unnecessary token names
- * libgda/gda-server-provider-extra.[ch]: code cleanup, improved
- documentation
-
-2009-01-24 Vivien Malerba <malerba gnome-db org>
-
- * providers/skel-implementation/capi/gen_def.c:
- * providers/skel-implementation/capi/Makefile.am:
- * providers/firebird/gen_def.c:
- * providers/firebird/Makefile.am:
- * providers/mysql/gen_def.c:
- * providers/mysql/Makefile.am:
- * providers/postgres/gen_def.c:
- * providers/postgres/Makefile.am: corrected parser's symbols translations
- * libgda/sql-parser/parser.y: allow identifiers to be enclosed between
- single quotes
- * libgda/sql-parser/gda-statement-struct-util.c:
- gda_sql_identifier_remove_quotes() also accepts single quotes around
- identifiers
- * libgda/sql-parser/gda-sql-parser.c: added debug information
- * tests/parser/testdata.xml: added more test cases
-
- This fixes bug #568844
-
-2009-01-23 Vivien Malerba <malerba gnome-db org>
-
- * sqlite/gda-sqlite-provider.c: partial fix for bug #568844
-
-2009-01-23 Vivien Malerba <malerba gnome-db org>
-
- * documentation fixes, see bugs #568731 and #561178.
-
-2009-01-21 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/gda-sqlite-meta.c: fix for bug #568570
- * libgda/gda-value.c: corrected gda_value_new_timestamp_from_timet()
- to correclty handle the results of localtime() (thanks to Tim Lapawa)
-
-2009-01-19 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.10
-
-Released 3.99.9
-
-2009-01-19 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/sqlite-src: reverted to 3.6.7 because of bug #568093
- * other files: documentation updates
-
-2009-01-18 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/gda-sqlite-provider.c: fix for bug #568165
- * libgda-report/RML/gda-report-rml-document.c:
- * providers/skel-implementation/models/gda-models.h:
- * providers/skel-implementation/capi/gda-capi.h:
- * libgda/sqlite/virtual/gda-virtual-provider.c:
- * libgda/sqlite/virtual/gda-vprovider-data-model.c:
- * libgda/sqlite/virtual/gda-vprovider-hub.c: applied patch
- for bug #568163 (thanks to Halton Huo)
-
-2009-01-15 Vivien Malerba <malerba gnome-db org>
-
- * libgda/Makefile.am:
- * libgda/gda-threader.[ch]:
- * libgda/libgda.symbols:
- * tools/Makefile.am:
- * tools/gda-threader.[ch]: removed GdaThreader from Libgda and moved it
- to the gda-sql console which uses it, as this API is not well thought enough
- (fixes bug #561175)
- * libgda/gda-data-model.h: typedef enum GdaDataModelError
- * libgda/gda-data-proxy.c: removed unused gda_data_proxy_get_model(), and
- made gda_data_proxy_append() static
- * libgda/gda-server-operation.c: improved documentation, for bug #561178
- * Makefile.am: also distribute getsp.java and getsp.class
- * libgda-report/Makefile.am: also distribute libgda-report.symbols
- * doc/C:
- - fix for bug #561173
- - updated documentation
- - cleanups
- * libgda/sqlite/sqlite-src: now uses SQLite 3.6.10
- * libgda/gda-value.c: made gda_value_list_copy() and gda_value_list_free() static
- * libgda/gda-data-model.c:
- * libgda/gda-data-model-private.h: made gda_data_model_to_xml_node() static
-
-2009-01-12 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.9
-
-Released 3.99.8
-
-2009-01-12 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sql-parser/gda-statement-struct-parts.c:
- * doc/C: doc. improvements
- * libgda/libgda.symbols:
- * libgda/gda-easy.[ch]: implementation of INSERT/UPDATE/DELETE convenience
- functions (with some API Corrections!)
- * samples/SimpleExample/example.c: use the convenience API
- * libgda/gda-util.c: bug fixed
- * providers/postgres/gda-postgres-meta.c: bug fixed (on partial meta data update)
-
-2009-01-09 Vivien Malerba <malerba gnome-db org>
-
- * tools/web-server.c:
- * libgda/libgda.symbols: Win32 build corrections
-
-2009-01-09 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-util.[ch]: added gda_compute_select_statement_from_update()
- * libgda/sqlite/:
- - added BLOB support for the SQLite provider
- - report an error when getting a gint from a too big gint64 value
- * tests/: updated test data related to the gda_g_type_to_string() changes
- * configure.in
- * tools/:
- - added a '-v' command line option to display version
- - added a man page for gda-sql
- - optionnally create symlink from "<prog>" to the "<prog>-4.0" program names
-
-2009-01-06 Vivien Malerba <malerba gnome-db org>
-
- * tools/: embedded web server improvements:
- - fix a bug where big data models were truncated
- - UI corrections
- - multiple simultaneous consoles now works
- * libgda/sqlite/virtual/gda-vconnection-hub.c: only bind the tables
- which require a complete name (<schema>.<name>)
-
-2009-01-05 Vivien Malerba <malerba gnome-db org>
-
- * tools/: now display result sets as an HTML table which can be resized
- * providers/jdbc/GdaInputStream.c: removed unused variable
- * libgda/gda-util.c:
- - gda_g_type_to_string(): be more coherent
- - gda_utility_data_model_find_column_description(): test GValue
- existence before getting its value
-
-2008-12-31 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.8
-
-Released 3.99.7
-
-2008-12-31 Vivien Malerba <malerba gnome-db org>
-
- * doc/C/gda-sql-manual.xml: documentation for SQL console's embedded HTTP server
- * po/: ran "make update-po"
-
-2008-12-30 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-util.[ch]: added gda_utility_data_model_find_column_description(),
- thanks to Carlos Savoretti
- * libgda/gda-config.c:
- - avoid memory leaks with provider's DSN spec and AUTH spec strings
- - close all GModules after having go tthe list of providers)
- * providers/*/libmain.c: don't leak memory when module is closed
- * providers/jdbc/libmain.c: make sure the GModule is made resident because
- the Java runtime is not completely unloaded (don't know how to do it)
- * libgda/gda-connection.[ch]:
- - cleaned unused GDA_CONNECTION_*_ERROR codes
- - improved documentation, see bug #565019
- * doc/C: doc. improvements
-
-2008-12-29 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-data-model-iter.h: #define gda_data_model_iter_move_at_row to
- gda_data_model_iter_move_to_row
- * tools/Makefile.am: corrections to have "make distcheck" work
-
-2008-12-26 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-quark-list.c: remove leading and trailing white spaces in both
- key and value for each (<key>=<value>) pair (if a key or a value needs white
- spaces, they need to encode them as "%20")
- * tools/: improvements to the GDA SQL console's web server part:
- - added authentication, based on a token (a string) the client must enter upon
- request (then uses a cookie)
- - added a terminal emulator to enter commands as one would do on a normal xterm
- - reworked the CSS
- - added binreloc feature
- * libgda/gda-data-model.c: applied patch to correct a bug in
- gda_data_model_get_typed_value_at(), thanks to Tim Lapawa
- * providers/skel-implementation/capi/capi_specs_create_table.xml.in:
- * providers/firebird/firebird_specs_create_table.xml.in:
- * providers/sqlite/sqlite_specs_create_table.xml.in:
- * providers/jdbc/jdbc_specs_create_table.xml.in:
- * providers/mysql/mysql_specs_create_table.xml.in
- * providers/postgres/postgres_specs_create_table.xml.in: don't define any column
- when creating a GdaServerOperation for table creation, fixes bug #565618
- * doc/C:
- * libgda/gda-connection.c: doc. update
-
-2008-12-18 Murray Cumming <murrayc murrayc com>
-
- * libgda/gda-server-provider.[h|c]: Correct spelling of prefered_type
- parameter to preferred_type.
-
-2008-12-16 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/sqlite-src: up to version 3.6.7
-
-2008-12-16 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-meta-struct.[ch]:
- * libgda/gda-column.[ch]:
- * libgda/gda-holder.[ch]: added a GDestroyNotify argument to gda_*_set_attribute()
- because this API design was not correct, this breaks the API, see bug #564402
-
- The gda_*_set_attribute_static() has been defined to reproduce the previous behaviour
-
- * libgda/gda-meta-struct-io.c: use gda_meta_table_column_set_attribute_static()
- * libgda/gda-attributes-manager.c: documentation corrections
- * providers/postgres/gda-postgres-meta.c: fixed a bug the SQL code
- * configure.in: detect size of C types used by MD5 implementation
- * libgda/global.h: fixed MD5 computation error (make sure a four byte word is used)
- * tests/value-holders/check_holder.c:
- * tests/value-holders/check_set.c: use gda_holder_set_attribute_static()
- * other misc files: minor corrections to remove compilation warnings.
-
-2008-12-16 Murray Cumming <murrayc murrayc com>
-
- * libgda/gda-data-model-iter-extra.h: Rename
- gda_data_model_iter_move_at_row_default() to
- gda_data_model_iter_move_to_row_default().
- * libgda/gda-data-model-iter.[h|c]: Rename
- gda_data_model_iter_move_at_row() to
- gda_data_model_iter_move_to_row().
- * libgda/gda-data-model.c:
- * libgda/gda-data-proxy.c:
- * libgda/gda-data-select.c:
- * libgda/sqlite/virtual/virtual-test.c: Adapt.
-
-2008-12-15 Murray Cumming <murrayc murrayc com>
-
- * libgda/gda-connection.h:
- * libgda/gda-data-comparator.h:
- * libgda/gda-meta-store.h: Removed trailing , in enums to avoid
- warnings.
- * libgda/gda-connection.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/skel-implementation/capi/gda-capi-provider.c: Corrected
- g_set_error() calls to avoid warnings because I had the parameters in
- the wrong order.
-
-2008-12-14 PrzemysÅ?aw Grzegorczyk <pgrzegorczyk gmail com>
-
- * libgda/gda-init.c:
- * libgda/gda-config.c:
- * libgda/sqlite/gda-sqlite.h:
- * libgda/gda-value.c:
- * libgda/gda-value.h:
- * libgda/gda-util.c:
- * libgda/gda-util.h:
- * libgda/gda-server-provider.c:
- * libgda/gda-server-operation.c:
- * libgda/gda-quark-list.c:
- * libgda/gda-quark-list.h:
- * libgda/gda-log.c:
- * libgda/gda-log.h:
- * libgda/gda-data-model.c:
- * libgda/gda-data-model-array.c:
- * libgda/gda-column.c:
- * libgda/gda-column.h: Cleared up glib includes
- to use only toplevel headers. Bug #564274.
-
-2008-12-11 Murray Cumming <murrayc murrayc com>
-
- * Many files: Add an extra "%s" arguement to g_set_error() calls,
- to avoid warnings about the lack of format and arguments.
- We should really use g_set_error_literal() instead but that requires
- glib 2.18
-
-2008-12-11 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-connection.c: fix for bug #564159
-
-2008-12-10 Vivien Malerba <malerba gnome-db org>
-
- * libgda/libgda.symbols:
- * libgda/Makefile.am:
- * libgda-report/libgda-report.symbols:
- * libgda-report/Makefile.am:
- - use a DEF file on Windows to only export the
- correct symbols (in the initialized data and the text (code) sections)
- - create import libraries (.lib) files
- * tools-input.[ch]:
- * tools/gda-sql.c: use a main loop for characters input notification instead of
- locking on a readline function
- * configure.in
- * tools/Makefile.am
- * tools/html-doc.[ch]
- * tools/web-server.[ch]: optionnally run a small embedded web server (if
- libsoup is installed) to display meta data information in a browser
- * libgda/gda-easy.[ch]: applied patch from Daniel Espinosa for bug #529794
- * libgda/gda-data-model.c: calling gda_data_model_dump() with a NULL FILE*
- now prints to stdout
- * libgda/gda-meta-struct.c:
- - removed debug messages
- - better API documentation
+2009-05-13 Vivien Malerba <malerba gnome-db org>
-2008-12-01 Vivien Malerba <malerba gnome-db org>
+ * providers/oracle/gda-oracle-provider.c: make the Oracle provider
+ instanciate the correct SQL parser
- * tools/gda-sql.c: simplified the result of the -L option (now only returns the
- provider name and its description for each installed provider)
- * tools/command-exec.c:
- - corrections when listing tables or views
- - if no object is found in the default "search path", then it is also
- looked up in all the schemas
- * tools/tools-input.c: correclty handle history
- * providers/jdbc/*:
- - JNI related bug fixes
- - meta data now also retreives table's columns information
- - added some code specific to Apache Derby
- * libgda/gda-connection.c:
- * libgda/gda-meta-struct.c: replace "='BASE TABLE'" with "LIKE '%TABLE%'"
- * libgda/gda-meta-struct.[ch]: added gda_meta_struct_complement_all()
-
-2008-11-29 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-config.c: shared libraries corresponding to providers' implementations
- can now implement more than one provider type (used by the JDBC provider which
- implements a provider per JDBC driver found)
- * providers/postgres/gda-postgres-recordset.c: comments corrections
- * libgda/gda-data-select.c: code indentation
- * libgda/gda-quark-list.c: shorter code which corrects potentially double free
- problem
- * tools/gda-sql.c:
- * providers/postgres/gda-postgres-blob-op.c:
- * libgda/dir-blob-op.c:
- * libgda/gda-value.c:
- * libgda/sqlite/virtual/gda-vprovider-data-model.c: minor corrections
- * configure.in:
- * getsp.class: new JAVA detection
- * po/POTFILES.in:
- * providers/Makefile.am
- * providers/jdbc: new provider which wraps JDBC, giving access to many
- databases: pure JAVA databases such as H2, Derby, HSQLDB (used by
- OpenOffice.org's Base component) or any other database with a JDBC driver,
- see the providers/jdbc/doc/index.html file for more information
- * tests/data-models/check_virtual.c: set up test environment
- * libgda/gda-data-select.h: added gda_data_select_get_connection() which
- is already implemented and documented (Carlos Savoretti)
- * libgda/gda-meta-struct.c: set the GDA_ATTRIBUTE_DESCRIPTION attribute for
- table's columns (Carlos Savoretti)
- * providers/mdb/libmain.c: correctly use binreloc to detect provider's ressources
- location
- * doc/C: doc. update
- * po/: ran "make update-po"
-
-2008-11-27 Johannes Schmid <jschmid openismus com>
-
- * libgda/gda-connection.c (gda_connection_get_meta_store_data_v):
- Fixed crasher caused by wrong condition in for loop
-
-2008-11-21 Vivien Malerba <malerba gnome-db org>
-
- * libgda/dir-blob-op.c: fixed the "write" virtual method
- * tools/gda-sql.c:
- - added the "setex" command which sets a parameter either from a table's
- value or from the contents of a file (as a blob)
- - added the "export" command to export a parameter or a table's value to
- a file
- - lines starting with a # are considered as a comment and ignored
- - added the '-i' option to keep the console after a script has been executed
- * libgda/gda-value.[ch]: added gda_value_new_blob_from_file() as a convenience
- function
- * libgda/gda-column: doc. improvements
- * libgda/gda-blob-op.c:
- * doc/C:
- - improved documentation for provider's developpers about blob operations
- - moved the gda_column_set*() to the provider's developpers section
- - updated the gda-sql console commands description (.setex end .export commands)
- * providers/postgres/gda-postgres-provider.c:
- - fixed prepared statement names using static counters to avoid naming collisions
- - remove savepoint correction
- - better transaction control when using blobs
- * providers/postgres/gda-postgres-blob-op.c:
- - don't keep the blob "opened" at all times
- - correctly handle transaction states when accesing the blob
- * providers/postgres/gda-postgres-recordset.h: fixed indentation
- * libgda/sqlite/gda-sqlite-provider.c: note for future implementation of
- BLOBS
- * providers/skel-implementation/capi/gda-capi-blob-op.c:
- * providers/skel-implementation/capi/gda-capi-provider.c: corrections to the
- default provider's skeleton implementation
-
-2008-11-17 Murray Cumming <murrayc murrayc com>
-
- * doc/C/gettingstarted.xml:
- * doc/C/libgda-4.0-docs.sgml:
- * doc/C/tmpl/gda-batch.sgml:
- * doc/C/tmpl/gda-sql-statement.sgml:
- * doc/C/tmpl/gda-statement.sgml: Correct the spelling of grouped in
- the documentation.
-
-2008-11-10 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.7
-
-Released 3.99.6
-
-2008-11-10 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-easy.[ch]: modified the gda_perform_create_database() and
- gda_perform_drop_database() to add the provider's name as 1st argument, for
- bug #529794
- * tests/test-cnc-utils.c: adaptations to API changes
- * libgda/gda-init.c: set the default value of gda_numeric_locale and gda_lang_locale
- to "" instead of NULL so if people forget to call gda_init() then they won't have a
- crash when using any of there variables
- * libgda/gda-data-model.[ch]: use real error codes with g_set_error()
- * libgda/binreloc/gda-binreloc.c: make binreloc work again correctly on Win32
-
-2008-11-05 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-config.c: don't try to load a shared library if
- it does not have the "plugin_init" symbol
- * providers/skel-implementation/capi/libgda-capi-4.0.pc.in: typo error
- * testing/gda-provider-status.c: small pointer error correction (Daniel Espinosa)
-
-2008-11-05 Massimo Cora' <maxcvs email it>
-
- * libgda/gda-holder.c (real_gda_holder_set_const_value):
- fixed a bug in returning wrong static values.
-
-2008-10-26 Vivien Malerba <malerba gnome-db org>
-
- * configure.in:
- * providers/skel-implementation/models/Makefile.am:
- * providers/skel-implementation/capi/Makefile.am:
- * providers/firebird/Makefile.am:
- * providers/bdb/Makefile.am:
- * providers/sqlite/Makefile.am:
- * providers/mdb/Makefile.am:
- * providers/mysql/Makefile.am:
- * providers/postgres/Makefile.am: limit the providers' list of exported symbols
- * providers/skel-implementation/capi/parser.y:
- * providers/firebird/parser.y:
- * providers/mysql/parser.y:
- * providers/postgres/parser.y:
- * libgda/sql-parser/parser.y:
- * libgda/sql-parser/delimiter.y:
- - don't compute debug string if not debugging,
- - reported modifications from the PostgreSQL and SQlite's providers's
- parsers to other providers
-
-2008-10-25 Vivien Malerba <malerba gnome-db org>
-
- * tools/gda-sql.c:
- * doc/C/libgda-4.0-sections.txt:
- * doc/C/prov-writing.xml:
- * doc/C/libgda-4.0-docs.sgml:
- * doc/C/tmpl/gda-server-provider.sgml:
- * doc/C/tmpl/gda-data-handler.sgml:
- * providers/mysql/gda-mysql-ddl.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/postgres/gda-postgres-ddl.c:
- * providers/postgres/gda-postgres-provider.c:
- * libgda/gda-server-provider.c:
- * libgda/gda-server-provider.h:
- * libgda/gda-statement.c: s/gda_server_provider_get_data_handler_gtype/
- gda_server_provider_get_data_handler_g_type
-
-2008-10-25 Vivien Malerba <malerba gnome-db org>
+2009-05-13 Vivien Malerba <malerba gnome-db org>
- * libgda/gda-column.c:
- * libgda/sql-parser/gda-statement-struct-insert.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/firebird/gda-firebird-provider.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/postgres/gda-postgres-provider.c:
- * providers/skel-implementation/capi/gda-capi-provider.c: memory leaks corretions,
- for bug #546339
- * libgda/gda-holder.c: improved error messages (Carlos Savoretti)
- * providers/mysql/gda-mysql-meta.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/mysql/gda-mysql-recordset.c:
- * providers/mysql/gda-mysql-util.c: improvements to the MySQL provider (Carlos Savoretti)
+ * samples/SqlParserConsole/console.c: fix bug in options parsing and help
-2008-10-19 Vivien Malerba <malerba gnome-db org>
+2009-05-08 Vivien Malerba <malerba gnome-db org>
- * libgda/gda-data-select.c: don't copy GdaColumn objects from the prepared statement,
- but simmply g_object_ref() them
- * libgda/gda-data-comparator.[ch]: fix for bug #556960
- * libgda/gda-attributes-manager.c: performances improvements, for bug #556327
+ * po/POTFILES.in: added missing file
+ * providers/oracle/gda-oracle-meta.c: misc. improvements
-2008-10-18 Vivien Malerba <malerba gnome-db org>
+2009-05-06 Vivien Malerba <malerba gnome-db org>
- * libgda/gda-data-select.[ch]: added gda_data_select_compute_columns_attributes()
- which implements what was in gda_data_model_iter_compute_attributes(), better to
- make it there since it was specific to the GdaDataSelect object
- * libgda/gda-data-model-iter.[ch]: removed gda_data_model_iter_compute_attributes()
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/mysql/gda-mysql-provider.c:
- * libgda/gda-data-proxy.c:
- * libgda/gda-holder.c:
- * tests/value-holders/check_holder.c:
- * libgda/gda-easy.c: minor bug fixes
- * libgda/gda-set.[ch]: removed dead code and declarations
+ * tools/Makefile.am: install web server data files in the same dir as
+ Libgda 4.0, for bug #580821
-2008-10-15 Vivien Malerba <malerba gnome-db org>
-
- * providers/mysql/gda-mysql-pstmt.[ch]:
- * providers/mysql/gda-mysql-blob-op.[ch]:
- * providers/mysql/gda-mysql-provider.c:
- * providers/mysql/gda-mysql-recordset.[ch]: corrections for cursor based access SELECT
- statements, thanks to Carlos Savoretti
- * libgda/gda-data-model-iter.[ch]: added the gda_data_model_iter_compute_attributes()
- method to force the iterator to compute and set the correct attributes for
- each of its GdaHolder; a separate method is required because computing them
- all the time consumes too much ressources, see bug #556327
+2009-05-06 Vivien Malerba <malerba gnome-db org>
+ * providers/oracle:
+ - use the callback API to fetch results for variable length data types
+ - implemented more meta data retreival
+ - booleans (which is not an Oracle data type) are interpreted as 0 an !0
+ - better handling of OCI types
+ * libgda/gda-data-meta-wrapper.c: bug fixes
+ * libgda/gda-meta-store.c: bug fixes
+ * providers/postgres/gda-postgres-meta.c: bug fixes
-2008-10-15 Johannes Schmid <jschmid openismus com>
+2009-05-05 Vivien Malerba <malerba gnome-db org>
- * libgda/Makefile.am: Install gda-error.h header
- * libgda/gda-error.c (gda_error_get_type):
- Fixed a typo (GDaError <-> GdaError), for bug #556258
+ * libgda/gda-sql-builder.c:
+ * libgda/gda-tree-manager.c:
+ * libgda/gda-tree-node.c:
+ * libgda/gda-tree.c:
+ * libgda/thread-wrapper/gda-thread-wrapper.c: applied patch to fix bug #581408
+ (thanks to Halton Huo)
-2008-10-13 Vivien Malerba <malerba gnome-db org>
+2009-05-01 Vivien Malerba <malerba gnome-db org>
- * libgda/gda-error.[ch]: declare a GDA_TYPE_ERROR by registering a boxed type
- for GError
- * libgda/gda-custom-marshal.[ch]: implement custom marshallers where needed
- * libgda/gda-column.c: moved custom marshaller to libgda/gda-custom-marshal.[ch]
- * libgda/gda-data-proxy.c:
- * libgda/gda-holder.c:
- * libgda/gda-set.c: implemented custom marshallers for the following signals:
- - GdaSet::validate-set
- - GdaSet::validate-holder-changed
- - GdaSet::holder-attr-changed
- - GdaHolder::attribute-changed
- - GdaHolder::validate-change
- - GdaDataProxy::validate-row-changes
- for bug #555905
- * tests/data-models/check_data_proxy.c:
- * tests/value-holders/check_set.c: updated test to check new marshallers
- * libgda/gda-data-model.c: either display a warning or set error when a requested
- method is not implemented
- * libgda/binreloc/gda-binreloc.c: correctly handle the case where the libdir is lib64
- * libgda/gda-statement.c:
- * libgda/gda-data-comparator.c:
- * libgda/gda-data-proxy.c:
- * libgda/gda-custom-marshal.h:
- * libgda/gda-marshal.c:
- * libgda/gda-custom-marshal.c:
- * libgda/gda-set.c:
- * libgda/gda-marshal.h:
- * libgda/gda-threader.c:
* libgda/Makefile.am:
- * libgda/gda-config.c:
- * libgda/gda-connection.c:
- * libgda/gda-meta-store.c:
- * libgda/gda-holder.c:
- * libgda/gda-column.c:
- * libgda/gda-server-operation.c: renamed gda_marshal* to _gda_marshal* so that these symbols
- are not exported in the final library anymore (now only 853 symbols exported!)
- * providers/mysql/gda-mysql-provider.c: honor the "USERNAME" and "PASSWORD" in
- the auth_string
- * doc/C: doc. update
-
-2008-10-10 Vivien Malerba <malerba gnome-db org>
-
- * libgda/handlers/gda-handler-type.c: use g_value_[sg]et_gtype() instead of
- g_value_[sg]et_ulong()
- * providers/postgres/gda-postgres-recordset.c: correclty handle the G_TYPE_GTYPE
- values as the string representation must be converted to a GType (the type
- is not stored as a string representation of its numerical value)
- * libgda/gda-statement.[ch]: removed gda_statement_deserialize() as it's not
- implemented
- * libgda/gda-value.h: added a reserved pointer to GdaNumeric be able to maniuplate
- GdaNumeric structures using the GMP library
- * libgda/gda-data-model.c:
- * libgda/gda-data-model-extra.h: made gda_data_model_signal_emit_changed()
- static as it's not used outside
- * configure.in:
- - really only export the needed symbols,
- - proposed fixed for MinGW building on Windows
-
-2008-10-09 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.6
-
-Released 3.99.5
-
-2008-10-09 Vivien Malerba <malerba gnome-db org>
-
- * libgda/binreloc/Makefile.am: install gda-binreloc.h in the $prefix/libgda-4.0/libgda/
- directory ao applications can use it
- * libgda/binreloc/gda-binreloc.c: correctly handle specific install dir passed to the
- configure script (correct fix for bug #541991, comment 2)
- * libgda/sqlite/sqlite-src/: up to version 3.6.3
- * libgda/information_schema.xml: added some descriptions
- * libgda/gda-attributes-manager.h: added expected types description
- * libgda/sqlite/virtual/gda-vprovider-data-model.c: don't use a GdaDataProxy, as it can bring some
- problems when modifying the data model (errors are not reported at the correct moment)
- * doc/C: doc. updates
- * tests/data-models/check_virtual.c: order the expected result to avoid test failure when
- comparing with expected data model
- * po/: ran 'make update-po'
-
-2008-10-09 Johannes Schmid <jhs gnome org>
-
- * libgda/gda-data-proxy.[ch]: added class method for "filter-changed" signal, for bug #537105
-
-2008-10-07 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-server-operation.c: code cleanup
- * libgda/gda-column.c:
- * libgda/gda-holder.c:
- * libgda/gda-meta-struct.c:
- * libgda/gda-attributes-manager.[ch]: optionnally specify a callback function
- called whenever an attribute is changed
- * libgda/gda-data-model-import.c: renamed the GDA_TYPE_<col nb> option to
- G_TYPE_<col nb>
- * libgda/binreloc/Makefile.am:
- * libgda/binreloc/gda-binreloc.c: possible fix for bug #541991 (comment 2)
-
-2008-10-07 Johannes Schmid <johannes schmid openismus com>
-
- * libgda-report/engine/gda-report-engine.c (value_to_node):
- * libgda-xslt/sql_backend.c (value_to_xmlchar):
- * libgda/gda-data-model-import.c (init_csv_import):
- * libgda/gda-easy.c (gda_get_default_handler):
- * libgda/gda-holder.c (gda_holder_class_init),
- (gda_holder_new_inline), (gda_holder_set_property),
- (gda_holder_get_property):
- * libgda/gda-server-provider-extra.c
- (gda_server_provider_get_data_handler_default):
- * libgda/gda-set.c (gda_set_new_inline),
- (gda_set_set_holder_value):
- * libgda/gda-value.c (set_from_string), (gda_value_differ),
- (gda_value_compare):
- * libgda/handlers/gda-handler-type.c (gda_handler_type_init),
- (gda_handler_type_get_value_from_sql),
- (gda_handler_type_get_value_from_str):
- * libgda/sqlite/gda-sqlite-provider.c
- (gda_sqlite_provider_get_default_dbms_type):
- * libgda/sqlite/virtual/gda-vprovider-data-model.c (virtualCreate):
- * providers/mysql/gda-mysql-provider.c
- (gda_mysql_provider_get_default_dbms_type):
- * providers/postgres/gda-postgres-provider.c
- (gda_postgres_provider_get_default_dbms_type):
- * providers/postgres/gda-postgres-recordset.c (set_value):
- * providers/skel-implementation/capi/gda-capi-provider.c
- (gda_capi_provider_get_default_dbms_type):
- #537159: Use GType instead of ulong/gint to represent GTypes
-
-2008-10-06 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-attributes-manager.[ch]: added gda_attributes_manager_set_full()
- and the GDA_ATTRIBUTE_IS_DEFAULT define
- * libgda/gda-holder.[ch]:
- - added an "attribute-changed" signal
- - use the GDA_ATTRIBUTE_IS_DEFAULT when there is a default value
- * libgda/gda-set.[ch]:
- - removed the "holder-plugin-changed" signal
- - changed the signature of the "holder-attr-changed" signal
- - use the GdaHolder's "attribute-changed" signal
- - removed gda_set_get_spec()
- * libgda/gda-data-model-iter.c: update for the "holder-attr-changed" signal'
- signature change
- * libgda/libgda-paramlist.dtd: allow some <attribute> children nodes to the
- <parameter> node
- * libgda/gda-util.c: adaptations to the DTD changes
-
-2008-10-04 Massimo Cora' <maxcvs email it>
-
- * libgda/gda-holder.c (gda_holder_copy),
- (real_gda_holder_set_const_value):
- fixed typo in debug message. After a gda_holder_copy () call the GValue, even
- if static, is copied totally so that user should free it when finished to use.
-
-2008-10-03 Vivien Malerba <malerba gnome-db org>
-
- * providers/postgres/gda-postgres-meta.c: column's GType and DBMS type reporting
- error corrected.
-
-2008-10-03 Massimo Cora' <maxcvs email it>
-
- * libgda/gda-holder.c (real_gda_holder_set_value),
- (real_gda_holder_set_const_value), (gda_holder_take_static_value):
- * libgda/gda-holder.h:
- added a changed_value boolean parameter on gda_holder_take_static_value.
- Fixed some drawbacks with is_freeable flag.
-
-2008-10-02 Vivien Malerba <malerba gnome-db org>
-
- * doc/C/Makefile.am: don't forget to distribute the data_select.xml file so
- 'make distcheck' works
-
-2008-10-02 Vivien Malerba <malerba gnome-db org>
-
- * tools/command-exec.[ch]:
- * tools/gda-sql.c:
- - command arguments can be surrounded with simple or double quotes (quotes
- can also be escaped in the string)
- - don't output empty lines after results
- * libgda/gda-connection.[ch]: applied (modified) patch for bug #539754
- * libgda/gda-attributes-manager.[ch]: new attributes manager
- * gda-holder.[ch]:
- - new gda_holder_get_attribute() and gda_holder_set_attribute() which use the new
- attributes manager
- - internally use the attributes manager to store name and desctiption
- - removed the "plugin" property which was a left-over from V3
- * gda-column.[ch]:
- - new gda_column_get_attribute() and gda_column_set_attribute() which use the new
- attributes manager
- - internally use the attributes manager to store name and desctiption
- * libgda/gda-meta-struct-io.c:
- * tools/command-exec.c:
- * libgda/gda-meta-struct.[ch]: new gda_meta_table_column_get_attribute(),
- gda_meta_table_column_set_attribute() and gda_meta_table_column_foreach_attribute() which
- replace the GdaMetaTableColumn::extra attribute (more flexibility)
- * providers/postgres/gda-postgres-recordset.c:
- * providers/mdb/gda-mdb-provider.c:
- * providers/ibmdb2/gda-ibmdb2-recordset.c:
- * providers/mysql/gda-mysql-recordset.c:
- * providers/freetds/gda-freetds-recordset.c:
- * providers/sybase/gda-sybase-recordset.c:
- * providers/msql/gda-msql-recordset.c:
- * samples/BDB/custom-bdb-model.c:
- * libgda/sqlite/gda-sqlite-recordset.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * libgda/gda-data-model-dsn-list.c:
- * libgda/gda-data-model-import.c:
- * libgda/gda-data-model.c:
- * libgda/gda-data-proxy.c:
- * libgda/gda-data-model-array.c:
- * libgda/gda-server-provider-extra.c:
- * libgda/gda-data-model-bdb.c:
- * libgda/gda-data-model-dir.c:
- * libgda/gda-data-model-iter.c:
- * gda-column.[ch]: renamed gda_column_[gs]et_title() to gda_column_[gs]et_description()
- * libgda/sqlite/gda-sqlite-meta.c: fixed a bug in the fill_key_columns_model() function
- * doc/C: doc updates
-
-2008-10-01 Johannes Schmid <johannes schmid openismus com>
-
- reviewed by: Murray Cumming <murrayc murrayc com>
-
- * libgda/gda-column.c (gda_marshal_VOID__GTYPE_GTYPE),
- (gda_column_class_init):
- Use correct marshaller for GTypes
-
-2008-09-30 Vivien Malerba <malerba gnome-db org>
-
- * configure.in:
- * libgda/Makefile.am: make sure only the correct symbols are exported:
- - by requiring gmodule-no-export-2.0 instead of gmodule-2.0
- - by excluding csv and sqlite3 symbols
- * libgda/sql-parser/gda-statement-struct-util.c: fixed comment so documentation
- can be built
- * libgda/sql-parser/parser.y: indentation correction
- * libgda/gda-data-model-array.c: added an assertion
- * libgda/gda-data-proxy.c: when the proxied data model is reset, make sure the column types
- are synced
- * libgda/gda-data-select.c: double free memory error corrected,a nd other minor corrections
- * libgda/sqlite/gda-sqlite-meta.c: removed useless debug code
- * libgda/sqlite/virtual/gda-vconnection-data-model-private.h:
- * libgda/sqlite/virtual/gda-vconnection-data-model.c:
- * libgda/sqlite/virtual/gda-vconnection-hub.c:
- * libgda/sqlite/virtual/gda-vprovider-data-model.c:
- - don't compute several times the columns of each virtual table
- - corrected case when the connection does not have any associated GdaMetaStore object
- * samples/TableCopy/common.c:
- * samples/TableCopy/table-copy.c: make this example work again
- * doc/C: doc updates
-
-2008-09-29 Vivien Malerba <malerba gnome-db org>
-
- * tools/gda-sql.c:
- - added some commands to manage data sources
- - improved providers list and DSN list output
- - allow executing files which start with ~ (HOME dir)
- * libgda/gda-config.c: make sure the DSN info records a boolean for its
- is_system attribute
- * WixInstaller/make-zip-exe.sh: now generate 3 ZIP files:
- - one for the runtime DLLs
- - one with the dev. files (includes, .pc, ...)
- - one with the runtime dependencies (Glib, database's native DLLs, ...)
- * libgda/gda-data-proxy.c:
- * libgda/gda-meta-struct-io.c:
- * libgda/gda-meta-struct.h:
- * libgda/gda-statement.c:
- * libgda/gda-util.c:
- * libgda/sql-parser/gda-sql-parser.h:
- * libgda/sqlite/virtual/gda-vprovider-data-model.c:
- * tests/gda-ddl-creator.c:
- * tools/command-exec.c:
- * libgda/sql-parser/gda-statement-struct-util.[ch]: export some new symbols, for bug #541991
- * libgda/sqlite/gda-sqlite-meta.c: correctly handle multiple FK constraints to the same
- table
- * samples/SqlParserConsole/graph.c: make the example work again
- * providers/mysql/gda-mysql-provider.c: partially integrate the new
- GDA_STATEMENT_MODEL_ALLOW_NOPARAM (Carlos Savoretti)
- * doc/C: doc updates
-
-2008-09-29 Massimo Cora' <maxcvs email it>
-
- * libgda/gda-holder.c (gda_holder_init), (gda_holder_copy),
- (gda_holder_dispose), (real_gda_holder_set_value),
- (real_gda_holder_set_const_value), (gda_holder_take_static_value),
- (gda_holder_force_invalid), (gda_holder_set_value_to_default),
- (gda_holder_set_full_bind):
- * libgda/gda-holder.h:
- added function gda_holder_take_static_value () to permit a quicker use of GValues
- without allocation/deallocation. On my tests I can gain 20ms on 100 queries.
-
-2008-09-26 Vivien Malerba <malerba gnome-db org>
-
- * providers/postgres/gda-postgres-provider.c:
- * libgda/sqlite/gda-sqlite-provider.c: code cleanup
- * providers/skel-implementation/capi/gda-capi-provider.c: adapted skeleton implementation
- to support the GDA_STATEMENT_MODEL_ALLOW_NOPARAM flag
- * libgda/gda-holder.c:
- - the "g-type" property can now be set after construction, but only if it initially was
- GDA_TYPE_NULL
- - fixed a bug when the GdaHolder remained invalid even though it was not anymore
- * libgda/gda-set.c: indentation correction
- * libgda/gda-data-model-iter.c: adjust the GdaHolder's type when the data model
- is reset (in case it was GDA_TYPE_NULL)
- * tests/: new test cases
- * doc/C:
- * libgda/gda-connection.c: doc. updates
- * libgda/gda-data-proxy.c: made find_or_create_row_modif() static
- * libgda/gda-connection.c: made build_downstream_context_templates() and
- build_upstream_context_templates() static
- * README: point to the COPYING and COPYING.LIB files for the actual GPL and
- LGPL text
-
-2008-09-25 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-server-provider-extra.[ch]: new gda_select_alter_select_for_empty()
- functions
- * tools/gda-sql.c:
- * tools/information-schema-doc.c:
- * testing/gda-provider-status.c:
- * libgda-xslt/sql_backend.c:
- * libgda/gda-util.c:
- * libgda/gda-server-provider.c: use xmlNewTextChild instead of xmlNewChild when necessary
- * libgda/gda-statement.h: new GDA_STATEMENT_MODEL_ALLOW_NOPARAM flag
- * libgda/sqlite/gda-sqlite-provider.c:
- * libgda/sqlite/gda-sqlite-recordset.[ch]:
- * providers/postgres/gda-postgres-provider.c:
- * libgda/gda-data-select.c: allow SELECT statement execution with invalid parameters
- to return an empty data model (if GDA_STATEMENT_MODEL_ALLOW_NOPARAM is set), in which
- case changing a parameter will re-run the SELECT, for bug #552708
- * libgda/gda-server-operation.c: bug fixed
- * libgda/gda-data-model-iter.c: bug fixed in GdaHolder's properties
- * tests/: tests updates
- * libgda/gda-connection.c:
- * doc/C: doc. updates
-
-2008-09-23 Vivien Malerba <malerba gnome-db org>
-
- * sqlite/gda-sqlite-recordset.c: correctly handle the situation when the object
- is created with col_types specified
- * libgda/gda-data-model-iter.c: behave correctly when the data model emits the "reset" signal
- * libgda/gda-data-select.[ch]:
- - implemented in place re-running the SELECT statement
- when on of the SELECT's parameters changes (this feature is optional, use the "auto-reset"
- property to activate it), for bug #552708
- - other corrections
- * libgda/gda-data-model-query.[ch]: removed now redundant object
- * tests/data-models/: removed the check_model_query test and added test to check_pmodel
- * libgda/gda-data-proxy.c:
- * libgda/libgda.h.in: updates due to the removal of the GdaDataModelQuery object
- * libgda/gda-data-proxy.c: free'd memory access bug corrected in commit_row_modif()
- * WixInstaller/make-zip-exe.sh: updated the generated archive's name
- * libgda/providers-support/gda-pstmt.c
- * doc/C: documentation updates and improvements
-
-2008-09-20 Vivien Malerba <malerba gnome-db org>
-
- * providers/postgres/gda-postgres-meta.c:
- * libgda/gda-meta-struct.c: bugs fixed
- * tools/Makefile.am: also distribute the gda-sql.ico file
- * tools/gda-sql.c:
- * tools/command-exec.[ch]:
- - correctly handle non threading environment
- - removed the non implemented "dq" internal command (use "qa" instead)
- - correctly handle the "-C" command line flag
- - when commands are executed from a file ("-f" argument), then don't quit when finished
- executing the commands.
- * libgda/sqlite/gda-sqlite-meta.c: corrected a bug in the way "PRAGMA table_info" was used
- to list all the columns of a table when the schema was not "main".
- * libgda/sqlite/sqlite-src/sqlite3.c:
- * libgda/sqlite/sqlite-src/PragmasPatch: reimplemented the "proc_list" PRAGMA to make it
- work with the current version of SQLite
- * doc/C: vastly improved the "gda-sql" console tool manual
-
-2008-09-18 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-data-model.c: make gda_data_model_dump() work whith data models which
- can only be accessed with a cursor
- * libgda/gda-meta-store.c: handle the 'autoinc' column attribute, and bug fixes
- * libgda/sqlite/gda-sqlite-ddl.c: correctly handle the "INTEGER PRIMARY KEY AUTOINCREMENT"
- * doc/C: better documentation for GdaDataProxy
+ * libgda/gda-data-meta-wrapper.[ch]: new (private) GdaDataModel wrapper internally
+ used by the GdaMetaStore object
+ * libgda/gda-data-access-wrapper.h: removed unnecessary #include
+ * libgda/gda-enums.h: added the GdaSqlIdentifierStyle enum
+ * libgda/gda-meta-store.[ch]:
+ - use the new GdaDataMetaWrapper object to "filter" the
+ updates made by each database provider when updating the meta data
+ - added gda_meta_store_set_identifiers_style(), to be used by database providers
+ * libgda/gda-meta-struct.c: updates the way information is searced in the GdaMetaStore
+ * libgda/information_schema.xml: identify which columns are SQL identifiers
+ * libgda/gda-util.c: improved the gda_completion_list_get() function
+ * tools/tools-input.c: correctly set break characters for completion
+ * libgda/sql-parser/gda-statement-struct-util.c: corrected gda_sql_identifier_needs_quotes()
+ * doc/C: SQL identifiers precisions
+
+2009-04-28 Vivien Malerba <malerba gnome-db org>
+
+ * libgda.doap: prefixed mail with "mailto:"
* tools/gda-sql.c:
- - allow to pass a file name on the command line to open as an SQLite or MDB file
- - reorganized "query buffer" commands:
- - \e [FILE]: Edit the query buffer (or file) with external editor
- - \g [QUERY_BUFFER_NAME]: Execute contents of query buffer, or named query buffer
- - \qa: List all saved query buffers in dictionary
- - \qd QUERY_BUFFER_NAME: Delete query buffer from dictionary
- - \ql QUERY_BUFFER_NAME: Load query buffer from dictionary
- - \qp: Show the contents of the query buffer
- - \qr [FILE]: Reset the query buffer (fill buffer with contents of file)
- - \qs QUERY_BUFFER_NAME: Save query buffer to dictionary
- - \qw FILE: Write query buffer to file
- * tests/data-models/check_pmodel.c: more testing
-
-2008-09-18 Bas Driessen <bas driessen xobas com>
-
- * doc/C/gettingstarted.xml: correction example code.
-
-2008-09-16 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set version to 3.99.5
-
-Released 3.99.4
-
-2008-09-16 Vivien Malerba <malerba gnome-db org>
-
- * NEWS: news for version 3.99.4
- * libgda/libgda.h.in:
- * libgda/gda-init.c: added gda_get_application_exec_path()
- * libgda/gda-connection.[ch]: removed gda_connection_set_dsn()
- * libgda/gda-data-model.[ch]:
- - removed gda_data_model_get_value_at_column()
- - removed gda_data_model_is_updatable()
- * libgda/gda-data-model-iter.[ch]: added gda_data_model_iter_set_value_at()
- * libgda/gda-data-proxy.[ch]: removed gda_data_proxy_find_row_from_values() as there
- is already gda_data_model_get_row_from_values() for the same feature
- * API changes (more consistant naming):
- - GdaDataSourceInfo => GdaDsnInfo
- - gda_connection_get_provider_obj() => gda_connection_get_provider()
- - gda_config_get_dsn() => gda_config_get_dsn_info()
- - gda_config_get_provider_object() => gda_config_get_provider()
- - gda_connection_get_provider_obj() => gda_connection_get_provider()
- * po/: ran "make update-po"
-
-2008-09-15 Vivien Malerba <malerba gnome-db org>
-
- * doc/C: documentation improvements regarding data validation and programmer's control
- * libgda/gda-holder.[ch]: renamed the "before-change" signal to "validate-change" (and changed
- its return value)
- * libgda/gda-set.[ch]:
- - changed the "before-holder-change" to "validate_holder_change"(and changed
- its return value)
- - added a "validate-set" signal
- - the gda_set_is_valid() method has been changed to emit the "validate-set" signal
- before it returns a value.
- * libgda/gda-data-model-iter.[ch]: removed the "row-to-change" signal (it now uses the
- GdaSet::validate-set signal), and the gda_data_model_iter_can_be_moved() method
- * libgda/gda-server-operation.c:
- * libgda/gda-data-model.c: adaptations to the API Changes
- * libgda/gda-data-proxy.[ch]:
- - adaptations to the API Changes,
- - renamed the "pre-changes-applied" signal to "validate-row-changes" (and changed
- its return value)
- - renamed the "post-changes-applied" signal to "row-changes-applied"
- - bug correction in gda_data_proxy_get_n_rows()
- * libgda/gda-marshal.list: new signals' signatures
- * libgda/gda-data-comparator.c: added assertions
- * libgda/gda-connection.c: don't remove items from a GHashTable while in g_hash_table_foreach(),
- this is probably the reason for bug #545979
- * libgda/gda-value.c: corrected the gda_value_differ() function
- * libgda/sqlite/virtual/gda-vprovider-data-model.c: corrected the virtualNext() method which
- moves SQLite's internal cursor forward
- * libgda/gda-data-model-iter.[ch]: renamed gda_data_model_iter_set_at_row() to
- gda_data_model_iter_move_at_row()
- * libgda/Makefile.am:
- * libgda/gda-data-model-iter-extra.h: new file
- * libgda/gda-data-model-extra.h:
- * libgda/gda-data-model-private.h:
- * libgda/gda-data-model-import.c:
- * libgda/gda-data-model.c:
- * libgda/gda-data-proxy.c:
- * libgda/gda-data-select.c:
- * libgda/sqlite/virtual/virtual-test.c:
- - moved the code which implements the GdaDataModelIter
- movements (forward, backward and to a row) to the gda-data-model-iter.c file
- - renamed gda_data_model_move_iter_at_row_default() to gda_data_model_iter_move_at_row_default()
- - renamed gda_data_model_move_iter_next_default() to gda_data_model_iter_move_next_default()
- - renamed gda_data_model_move_iter_prev_default() to gda_data_model_iter_move_prev_default()
- * libgda/sqlite/sqlite-src/: up to version 3.6.2
- * tests/value-holders/: adaptations to the API Changes
-
-2008-09-09 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/virtual/gda-virtual-connection.c:
- * libgda/sqlite/gda-sqlite-recordset.c:
- * libgda/gda-column.[ch]:
- * libgda/gda-data-model.c:
- * libgda/gda-data-model-import.c:
- * libgda/gda-data-model-array.c: removed gda_column_[gs]et_table(), gda_column_[gs]et_caption(),
- gda_column_[gs]et_scale(), gda_column_[gs]et_primary_key(), gda_column_[gs]et_unique_key(),
- gda_column_[gs]et_references() and gda_column_[gs]et_defined_size() as they were useless
- * libgda-report/engine/gda-report-engine.c: forgot to rename "spec-file" to "spec-filename"
- property
- * libgda/gda-data-select.c: added a "select-stmt" property to retreive (if available), the
- GdaStatement object which was executed in order to created the GdaDataSelect data model.
- * libgda/gda-data-model-iter.c: when the data model the iterator will be for is a GdaDataSelect,
- then use the SELECT statement to set some holder's properties (such as NOT NULL and default value),
- contributes to fixing bug #551058
- * libgda/sqlite/gda-sqlite-recordset.c: don't set GdaColumn's properties as we can't determine them
- correctly at this point, contributes to fixing bug #551058
- * libgda/sqlite/virtual/gda-virtual-connection.c: added missing header file
- * libgda/gda-data-select.c:
- * libgda/gda-data-model-dsn-list.c: correctly implement the get_value_at() virtual method
- * libgda/gda-util.c: bug fixed in gda_compute_unique_table_row_condition()
- * tests/: tests update
+ - allow to specify which kind of meta data to update in the "meta" command
+ - store the dictionary in a file even for connections not created from a DSN
+ if GLIB >= 2.16.0, no change otherwise
+
+2009-04-23 Vivien Malerba <malerba gnome-db org>
+
+ * libgda/gda-config.c: only display a warning if loading a provider fails if the
+ GDA_SHOW_PROVIDER_LOADING_ERROR environment variable is set
+ * providers/mysql/gda-mysql-provider.c: enable the GDA_SERVER_OPERATION_CREATE_DB,
+ GDA_SERVER_OPERATION_DROP_DB, GDA_SERVER_OPERATION_DROP_TABLE, GDA_SERVER_OPERATION_RENAME_TABLE,
+ GDA_SERVER_OPERATION_ADD_COLUMN, GDA_SERVER_OPERATION_DROP_COLUMN,
+ GDA_SERVER_OPERATION_CREATE_INDEX, GDA_SERVER_OPERATION_DROP_INDEX,
+ GDA_SERVER_OPERATION_CREATE_VIEW and GDA_SERVER_OPERATION_DROP_VIEW operations
* doc/C: doc. update
- * libgda/gda-data-model.h:
- * all GdaDataModel's implementations: added a new virtual method "i_iter_set_value" to
- allow data modifications from a GdaDataModelIter
- * libgda/gda-holder.[ch]:
- * libgda/gda-set.[ch]: added GdaHoler "before-change" and GdaSet "before-holder-change" signals
- to enable control over the values a GdaHolder can have
- * libgda/gda-data-model-iter.c: use the new GdaDataModel's "i_iter_set_value" virtual method and
- GdaSet's new signal
- * Altered all the signal's names to use the '-' instead of '_'
- * tools/gda-list-server-op.c: compilation warnings fixes
-
-2008-09-08 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-data-model-query.c: re-run the SELECT statement when any parameter
- required to execute it changes
- * libgda/gda-data-select.c: iterator related fixes, and don't change the GdaHolder's
- not NULL attribute when moving an iterator (it's not needed as this is set when the
- iterator was first created)
- * libgda/gda-data-select.h:
- * libgda/gda-set.h: removed unused error codes
- * tests/data-models: more testing
- * providers/postgres/gda-postgres-recordset.c:
- * tests/data-models/check_data_proxy.c:
- * samples/SqlParserConsole/graph.c:
- * libgda-report/engine/gda-report-engine.c:
- * libgda-report/DocBook/gda-report-docbook-document.c:
- * libgda/sqlite/virtual/gda-virtual-connection.c:
- * libgda/sqlite/virtual/gda-vprovider-data-model.c:
- * libgda/sqlite/virtual/gda-vconnection-data-model.c:
- * libgda/gda-data-model-import.c:
- * libgda/gda-data-model.c:
- * libgda/gda-data-proxy.c:
- * libgda/gda-data-model-array.c:
- * libgda/gda-data-select.c:
- * libgda/gda-set.c:
- * libgda/gda-config.c:
- * libgda/gda-connection.c:
- * libgda/gda-data-model-bdb.c:
- * libgda/gda-meta-store.c:
- * libgda/gda-holder.c:
- * libgda/gda-row.c:
- * libgda/gda-server-operation.c:
- * libgda/gda-data-model-iter.c: all signal names now only use the '-' and not '_', and
- renamed the "provider_obj" to "provider", "user-file" to "user-filename",
- "system-file" to "system-filename" and "spec-file" to "spec-filename"
- * libgda/gda-data-model-iter.c:
- * doc/C: documentation updates
-
-2008-09-07 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-data-select.[ch]:
- * tests/data-models/check_pmodel.c: correctly handle the situation where the value
- of the primary key (or the column which composes the unique row condition) is modified,
- and added a "safety lock" feature which prevents further modification to the data model
- if the unique row condition is incorrect
- * doc/C: documentation improvements, and now the generated file when running "make PDF"
- is libgda-4.0-doc.pdf (for the V4 ABI).
- * libgda/sqlite/virtual/gda-vconnection-hub.c: no need anymore to use a GdaDataModelQuery
- object
- * libgda/Makefile.am:
- * libgda/gda-data-select-extra.h:
- * libgda/gda-data-select.[ch]: enable "exporting" all the statements and other information
- computed while the object was being used to be used by the new GdaDataModelQuery
- implementation
- * libgda/gda-data-model-query.[ch]: re-wrote the object to use the GdaDataSelect's features
- instead or re-implementing them in the object
- * libgda/tests/data-models/Makefile.am:
- * libgda/tests/data-models/check_model_query.c: new GdaDataModelQuery test
- * libgda/tests/data-models/check_pmodel.c: new tests
-
-2008-09-05 Bas Driessen <bas driessen xobas com>
-
- * providers/skel-implementation/capi/parser.y:
- * providers/firebird/parser.y:
- * providers/mysql/parser.y:
- * providers/postgres/parser.y:
- * providers/postgres/gda-postgres-provider.c:
- * libgda/gda-meta-store.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * libgda/sql-parser/gda-statement-struct.c:
- * libgda/sql-parser/parser.y:
- * libgda/sql-parser/gda-statement-struct-parts.c:
- * libgda/sql-parser/gda-statement-struct-parts.h:
- * libgda/gda-data-select.c:
- * libgda/gda-util.c:
- * libgda/gda-statement.c: Do not use the C++ reserved words 'using'
- and 'operator' as object names.
-
-2008-09-04 Vivien Malerba <malerba gnome-db org>
-
- API improvements and cleanups:
-
- * Utility functions changes:
- removed gda_value_compare_ext() as it has no real use and is confusing
- renamed gda_value_bcompare() gda_value_differ()
- * GdaDataModel interface changes:
- added a "GError **error" as last argument of gda_data_model_get_value_at () because it's
- the only way of reporting and correctly handling data access errors, and added
- gda_data_model_get_typed_value_at() which gives more control of the returned value
- renamed gda_data_model_get_column_index_by_name() to gda_data_model_get_column_index()
- renamed gda_data_model_get_value_at_col_name() to gda_data_model_get_value_at_column()
- * GdaHolder object changes: added a GError argument to:
- gda_holder_set_value()
- gda_holder_take_value()
- gda_holder_set_value_str()
- gda_holder_set_bind()
- * GdaSet object changes: added a GError argument to gda_set_set_holder_value()
- * GdaDataAccessWrapper changes: removed gda_data_access_wrapper_row_exists() as it was useless
-
- Misc doc improvements.
-2008-09-01 Vivien Malerba <malerba gnome-db org>
+2009-04-23 Vivien Malerba <malerba gnome-db org>
- * providers/skel-implementation/capi/gda-capi-recordset.c:
- * providers/firebird/gda-firebird-recordset.c:
- * providers/mysql/gda-mysql-recordset.c:
- * providers/postgres/gda-postgres-recordset.c:
- * libgda/sqlite/gda-sqlite-recordset.c:
- * libgda/gda-data-model-dir.c:
- * libgda/gda-data-model-bdb.c:
- * libgda/gda-data-model-array.c: harmonized error messages
-
-2008-09-01 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-data-select.h: fixes compilation of programs using Libgda
- * libgda/gda-connection.c: lock the connection before executing a statement
-
-2008-08-31 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/gda-sqlite-provider.c:
- * libgda/sql-parser/gda-sql-parser.c: memory leaks fixes, for bug #549953
-
-2008-08-30 Vivien Malerba <malerba gnome-db org>
-
- Renamed GdaPModel to GdaDataSelect (also changed the source files to libgda/) and
- updated the documentation.
-
-2008-08-29 Vivien Malerba <malerba gnome-db org>
-
- * doc/C/tmpl/gda-pmodel-user.sgml: adding mising file
- * tests/data-models/Makefile.am:
- * tests/data-models/check_pmodel.c: corrections to have "make distcheck" run
-
-2008-08-28 Vivien Malerba <malerba gnome-db org>
-
- * libgda/handlers/gda-handler-numerical.c:
- * libgda/gda-data-model.c:
- * libgda/gda-data-model-import.c:
- * libgda/gda-server-operation.c:
- * libgda/gda-set.c:
- * libgda/gda-util.c:
- * libgda/gda-init.c: set the global variables gda_numeric_locale and gda_lang_locale
- when calling gda_init() and use those variables whenever setlocale() was called to fetch
- those locale values
- * providers/mysql/gda-mysql-recordset.c:
- * providers/postgres/gda-postgres-recordset.c: correctly restore
- the user LC_NUMERIC locale after having altered it (thanks to Tim Lapawa)
- * libgda/gda-util.c: understand the "time" and "timestamp" datatypes
- as synonyms for "GdaTime" and and "GdaTimestamp"
- * libgda/gda-value.c: reset a value before copying the other value's contents
- * libgda/providers-support/gda-pmodel.[ch]: improvements to modifiable
- data models (working now are gda_data_model_set_value_at(), gda_data_model_remove_row() and
- gda_data_model_append_values())
- * tests/data-models: updates to the check_pmodel test
- * libgda/gda-holder.c: speed improvement in gda_holder_set_value_str(), and avoid mem leak in
- some circumnstances
- * libgda/sql-parser/gda-sql-parser.c: fix to remove a warning
- * libgda/gda-connection.[ch]: removed gda_connection_add_events_list() as it was not used and
- did not behave in an usual way regarding its input arguments, moved gda_connection_add_event(),
- gda_connection_add_event_string() and gda_connection_clear_events_list() to the providers' API
- * libgda/gda-connection.c: automatically clear the events list before executing any new
- statement (see bug #545977)
- * libgda/gda-connection.c: fix for bug #545979
- * libgda/gda-data-model-query.c: applied patch for bug #546230 (thanks to Carl-Anton Ingmarsson)
- * libgda/gda-data-model-array.c: fixed the set_values() method (ignore NULL values)
- * providers/mysql/gda-mysql-provider.c: modified string to translate to make it easier to
- understand (for bug #549498)
- * libgda/gda-meta-struct.[ch]: added an "extra" attribute to the GdaMetaTableColumn structure
- to hold extra column's info such as AUTO_INCREMENT
- * libgda/gda-meta-struct-io.c: fill in the new GdaMetaTableColumn's "extra" attribute
- * tools/command-exec.c: added an "Extra" column when listing the columns of a table
- * libgda/gda-enums.h: #define possible values for extra attributes: EXTRA_AUTO_INCREMENT for now
- * tests/gda-ddl-creator.c:
- * tools/command-exec.c:
- * providers/postgres/gda-postgres-meta.c:
- * libgda/gda-meta-struct-io.c:
- * libgda/sqlite/gda-sqlite-meta.c: use EXTRA_AUTO_INCREMENT
- * libgda/gda-set.c: bug fixed in gda_set_get_spec()
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/postgres/gda-postgres-provider.c: set the "name" property of the individual GdaHolder
- objects in the last_inserted_row set returned when an INSERT statement is executed
- * providers/mysql/gda-mysql-provider.c: set last_inserted_row to NULL when a statement is executed
- (the feature is not yet implemented)
- * libgda/sqlite/sqlite-src: up to version 3.6.1
- * po/: ran "make update-po"
- * other files: documentation updates
-
-2008-08-15 Vivien Malerba <malerba gnome-db org>
-
- * providers/mysql: updates to the MySQL provider (Carlos Savoretti)
- * libgda/gda-set.c:
- * libgda/gda-connection.c:
- * libgda/sql-parser/gda-statement-struct.c: fixes memory leaks
- for bug #545977
- * libgda/gda-statement.c:
- * libgda/gda-util.c:
- * libgda/sql-parser/gda-statement-struct-pspec.[ch]: removed the "type" attribute from
- the GdaSqlParamSpec structure as it was redundant with the "g_type" one
- * providers/postgres/gda-postgres-provider.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/skel-implementation/capi/gda-capi-provider.c:
- * libgda/sqlite/gda-sqlite-provider.c: check that parameters are valid when executing
- a statement
- * libgda/gda-data-model.h: added GdaDataModel error code
- * libgda/gda-connection-private.h:
- * libgda/gda-connection.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/postgres/gda-postgres-provider.c:
- * providers/skel-implementation/capi/gda-capi-provider.c:
- explicitely declare prepared statements as GdaPStmt objects
- instead of generic gpointer
- * tests/test-cnc-utils.[ch]: added a function to load data
- from a file into a table
- * tests/meta-store.c: test corrections due to meta store internal's schema changes
- * libgda/providers-support/gda-pmodel.[ch]:
- * libgda/sqlite/gda-sqlite-recordset.[ch]:
- * providers/mysql/gda-mysql-recordset.[ch]:
- * providers/postgres/gda-postgres-recordset.[ch]:
- * providers/skel-implementation/capi/gda-capi-recordset.[ch]:
- * tests/data-models/Makefile.am:
- * tests/data-models/check_pmodel.c: new test for the GdaPModel
- data model (the base class for all the data models returned
- by providers after a SELECT) for the updatable property
- * doc/C:
- * misc files: doc updates
-
-
-2008-07-28 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/gda-sqlite-recordset.c:
- * providers/firebird/gda-firebird-recordset.c:
- * providers/mysql/gda-mysql-recordset.c:
- * providers/postgres/gda-postgres-recordset.c:
- * providers/skel-implementation/capi/gda-capi-recordset.c:
- * libgda/providers-support/gda-pmodel.[ch]:
- * libgda/providers-support/gda-prow.[ch]:
- * libgda/gda-data-model-row.[ch]: overwrote the current GdaRow implementation
- with the GdaPRow one, and removed GdaPRow
- * libgda/gda-data-access-wrapper.c:
- * libgda/gda-data-model-row.[ch]:
- * libgda/gda-data-model-array.[ch]: reimplemented GdaDataModelArray without using
- the GdaDataModelRow object (which has been removed)
- * libgda/gda-data-model.h: new error code
- * libgda/gda-config.c: added missing header
- * tests/data-models/check_data_proxy.c: corrected test
- * po/POTFILES.in: removed non existent files, and ran "make update-po"
- * doc/C: doc updates
-
-2008-07-27 Vivien Malerba <malerba gnome-db org>
-
- * WixInstaller/make-zip-exe.sh: new script to create a .ZIP file containing
- the minimum files required to execute gda-sql
- * libgda/gda-data-model-import.c: fixed a crasher bug when the XML file being imported
- has the wrong XML structure
- * libgda/sqlite/sqlite-src/: up to version 3.6.0
- * tests/: multiple improvements and corrections
- * libgda/sqlite/gda-sqlite-recordset.c: correctly handle time and data values, and corrected
- a bug related to NULL values
- * libgda/gda-util.[ch]: new functions: gda_parse_iso8601_date(),
- gda_parse_iso8601_time() and gda_parse_iso8601_timestamp(), implementation is very simple at
- the moment
- * libgda/gda-value.c: use the new gda_parse_iso8601*() functions in gda_value_set_from_string()
- and the static set_from_string() function, and better explicit documentation
- * libgda/sqlite/virtual/gda-vconnection-data-model.c: fixed the gda_vconnection_data_model_foreach()
- function where it would not call the provided function if no data model had been associated
- to the table
- * libgda/sqlite/virtual/gda-vprovider-data-model.c: better data type mapping
- * tools/gda-sql.c: query buffer (the one which stores the last executed query) is now per
- connection and not global anymore, and initial meta data retreival is done
- in background (sub thread) if possible
- * libgda/sqlite/utils.c:
- * libgda/sqlite/gda-sqlite.h: new utility function
- * libgda/sqlite/gda-sql-meta.c:
- * providers/postgres/gda-postgres-meta.c: finished implementing meta data extraction
- * libgda/sqlite/gda-sql-provider.c: minor bug fixes, explicitely enable multi
- threading support and better support for date, time and timestamp data types
- * libgda/gda-server-provider.h: new error code
- * libgda/information_schema.xml: documented some fields, and added an "nb_args"
- attributes to the "_routines" table
- * providers/mdb/gda-mdb-provider.c: better date handling, assume "." for DIR_NAME in
- a connection string if not provided
- * doc/C: new gda-sql command manual, and minor other improvements
- * other files: bug fixes, or debug code desacivated
-
-2008-07-17 Vivien Malerba <malerba gnome-db org>
-
- * libgda-xslt/Makefile.am:
- * configure.in:
- * libgda/gda-config.c: applied patches for bug #541991 (thanks to Cygwin Ports maintainer)
- * providers/mysql/libmain.c:
- * providers/mysql/gda-mysql-meta.c:
- * providers/mysql/gda-mysql-provider.c:
- * providers/mysql/gda-mysql-meta.h:
- * providers/mysql/gda-mysql-parser.c: another set of improvements to the MySQL provider
- (thanks to Carlos Savoretti)
- * tests/Makefile.am:
- * tests/multi-threading/*:
* configure.in:
- * libgda/gda-mutex.[ch]:
- * libgda/Makefile.am:
- * libgda/libgda.h.in: created the GdaMutex mutex which is dynamically
- allocated and recursive
- * libgda/Makefile.am:
- * libgda/libgda.h.in:
- * libgda/gda-lockable.[ch]: new GdaLockable interface to be used to lock objects
- * sql-parser/gda-sql-parser-private.h:
- * libgda/sql-parser/gda-sql-parser.c:
- * libgda/gda-connection.c: implement the GdaLockable interface (GdaSqlParser no
- uses a GdaMutex per GdaSqlParser instance instead of a global recursive mutex)
- * tests/Makefile.am
- * tests/multi-threading/: new multi threaded environment tests
- * tests/data-models/check_data_proxy.c: correctly specify the GType type
- in functions using an ellipse for 64 bits OS
- * tests/data-models/Makefile.am:
- * tests/data-models/data1.xml:
- * tests/data-models/check_model_copy.c: test data model copy
- * tests/data-models/check_model_import.c: also test data models in current
- directory
- * libgda/gda-set.c: make gda_set_real_add_holder() show a warning if the data
- holder to add does not have any ID instead of crash
- * libgda/gda-data-model-iter.c: use ID attribute of data model column
- * libgda/gda-data-comparator.c: corrected the "diff_computed" signal accumulator
- * libgda/gda-data-model.c: better determmine column and data model names when exporting
- to XML, and corrected a bug in the data model import function
- * doc/C: doc. updates
- * tools/gda-sql.ico:
- * tools/gda-sql-res.rc:
- * tools/Makefile.am: added an icon in the gda-sql executable when compiling for a
- Windows platform
-
-2008-07-06 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: set to version 3.99.4
-
-Released 3.99.3
+ * providers/oracle: improved Oracle provider
-2008-07-05 Vivien Malerba <malerba gnome-db org>
+2009-04-22 Vivien Malerba <malerba gnome-db org>
- * doc/C: doc. updates
- * providers/firebird: added forgotten files
- * po/POTFILES.in: added missing files
- * NEWS: news for version
-
-2008-07-05 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: better detect Berkeley DB in 64 bits environment
- * libgda/gda-meta-store.c: now caches the parsed SQL when using gda_meta_store_extract()
- for better performances
- * libgda/gda-init.c: doc. improvements
- * libgda/gda-data-model-dir.c:
- * libgda/gda-data-model-bdb.c: minor correction when setting properties
- * libgda/gda-data-model-dir.c:
- * libgda/gda-data-model-dsn-list.c: minor correction related to temporary
- GValue
- * libgda-report/engine/gda-report-engine.c:
- * libgda/gda-easy.c: 64 bits type conversion corrected
- * libgda/gda-xa-transaction.c: gda_xa_transaction_id_to_string() now returns a
- new string
- * other files: improvements to make Libgda behave correclty when multiple
- threads are used each object is used by one thread only.
- * libgda-4.0.pc.in: make Libgda depend on the gobject-2.0 module and
- not only on glib-2.0
-
-2008-07-02 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-meta-struct.[ch]:
- - added a "store" property to reference a GdaMetaStore, and use
- it in any gda_meta_struct_complement*()
- - made the db_objects instance attribute private,
- - added gda_meta_struct_get_all_db_objects()
- - added an 'outdated' attribute to the GdaMetaDbObject structure
- which tells if its contents may be outdated (compared to what's in
- the GdaMetaStore)
- * libgda/gda-meta-store.c: property doc. fixes, and adaptations
- to the GdaMetaStruct changes
- * tools/command-exec.c:
- * libgda/sql-parser/gda-statement-struct.c: adaptations to
- the GdaMetaStruct changes
- * libgda/sql-parser/gda-statement-struct-util.c:
- * libgda/gda-set.c: minor correction
- * tools/gda-sql.c: correctly handle query buffer ending with a
- ';', and allow one to connect to the '~' connection to really
- connect to the GdaMetaStore's connection to work with a connection's
- meta data
- * libgda/sql-parser/gda-sql-parser.c:
- * doc/C: doc. improvements
-
-2008-06-19 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-meta-struct.c:
- * providers/postgres/gda-postgres-ddl.c: minor corrections
-
-2008-06-19 Vivien Malerba <malerba gnome-db org>
-
- * providers/firebird: started re-write of Firebird provider
- * providers/mysql: more work (mainly on the meta data) from
- Carlos Savoretti
-
-2008-06-15 Vivien Malerba <malerba gnome-db org>
-
- * providers/mysql/mysql_specs_dsn.xml.in:
- * providers/mysql/gda-mysql-provider.c: added a COMPRESS option to specify the
- CLIENT_COMPRESS flag when opening the connection
- * WixInstaller/*: configuration files to use with the Wix Windows
- installer to produce .msm and .msi files
- * configure.in: also use the mysql_config5 program when detecting a
- MySQL installation
- * libgda/gda-config.c: crasher fixed
- * tools/gda-sql.c: better interraction with the Windows console
- * libgda/binreloc/gda-binreloc.c: cut the last "bin" part of a path
- under MacOS X
-
-2008-06-10 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: if no --with-postgres or --with-mysql are passed to the configure
- script, then try to find PotgreSQL or MySQL
- * libgda/gda-connection.c:
- * libgda/gda-data-model-dsn-list.c:
- * libgda/gda-data-model-query.c:
- * libgda/gda-init.c:
- * libgda/gda-meta-store.c:
- * libgda/gda-meta-struct.c:
- * libgda/gda-server-operation.c:
- * libgda/gda-server-provider.c:
- * libgda/gda-server-provider-extra.c:
- * libgda/gda-util.c:
- * libgda/gda-xa-transaction.c:
- * libgda/handlers/gda-handler-bin.c:
- * libgda/handlers/gda-handler-boolean.c:
- * libgda/handlers/gda-handler-numerical.c:
- * libgda/handlers/gda-handler-time.c:
- * libgda/handlers/gda-handler-type.c:
- * libgda/sqlite/gda-sqlite-handler-bin.c:
- * libgda/gda-data-access-wrapper.c:
- * libgda/gda-data-model-array.c:
- * libgda/gda-data-model-dir.c:
- * libgda/gda-data-model-row.c:
- * libgda-report/DocBook/gda-report-docbook-document.c:
- * libgda-report/RML/gda-report-rml-document.c:
- * libgda-report/gda-report-document.c:
- * providers/mysql/mysql_specs_create_db.xml.in:
- * providers/mysql/mysql_specs_create_table.xml.in:
- * providers/postgres/postgres_specs_create_db.xml.in:
- * providers/sqlite/sqlite_specs_create_index.xml.in:
- * providers/sqlite/sqlite_specs_create_index.xml.in:
- * providers/sqlite/sqlite_specs_create_table.xml.in:
- * providers/mdb/mdb_specs_dsn.xml.in:
- * tools/gda-sql.c:
- * libgda-report/engine/gda-report-engine.c:
- * providers/postgres/gda-postgres-provider.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/postgres/gda-postgres-provider.c: corrections for bug #537117
- * po/*: updated translation strings
- * libgda/gda-batch.[ch]: s/gda_batch_new_copy/gda_batch_copy/, and added gda_batch_get_parameters(),
- similar to gda_statement_get_parameters()
- * libgda/gda-set.[ch]: make gda_set_add_holder() return TRUE if the holder has
- really been added to the set
- * libgda/gda-connection.c: implemented gda_connection_batch_execute(), corrects bug #537558
-
-2008-06-09 Vivien Malerba <malerba gnome-db org>
-
- * po/LINGUAS:
- * configure.in: applied (slightly modified) patch for bug #536971 (thanks to Yuriy Penkin)
- * po/POTFILES.in:
- * po/POTFILES.skip: updated lists of files
- * tools/gda-list-server-op.c:
- * doc/C/:
- * testing/gda-provider-status.c:
- * libgda/gda-server-operation.[ch]:
- * libgda/gda-server-provider.c: s/GDA_SERVER_OPERATION_NB/GDA_SERVER_OPERATION_LAST/
- * testing/html.c: better output
- * libgda/gda-value.c:
- * libgda/gda-config.c:
- * providers/mysql/gda-mysql.h:
- * tools/gda-list-config.c:
- * libgda/gda-data-model-bdb.c:
- * configure.in: better detection of providers' libraries (specifically when cross
- compiling with Mingw)
- * providers/mysql/libmysql.def: file containing exported symbols for Win32 cross compiling
- with Mingw
- * providers/bdb/patch_db.h: patch to apply to db.h when compiling with MinGW
- * providers/postgres/gda-postgres-ddl.c: implemented missing parts
- * libgda/gda-config.c:
- * libgda/gda-connection.c:
- * libgda/gda-data-model-bdb.c:
- * libgda/gda-data-model.c: some fixes for bug #537117
-
-2008-06-04 Vivien Malerba <malerba gnome-db org>
-
- * po/POTFILES.in:
- * po/POTFILES.skip: updated lists of files
- * libgda/gda-connection.h: added GDA_CONNECTION_FEATURE_XA_TRANSACTIONS
- * testing/html.[ch]:
- * testing/Makefile.am:
- * testing/gda-provider-status.c: new program to report about the
- implementation of database providers (generates an HTML report)
- this program is not installed by 'make install'
- * providers/mysql: more work on the MySQL provider (thanks to Carlos
- Savoretti)
-
-2008-06-04 Johannes Schmid <jhs gnome org>
-
- * libgda/sql-parser/Makefile.am:
- Added rules to generate gda-sql-parser-enum-types.[ch], fixes bug #536418
+ * libgda/gda-statement.h: added the GDA_STATEMENT_SQL_PARAMS_AS_VALUES constant
+ name which defaults to 0
+ * libgda/gda-statement.c: fix for bug #579513
-2008-06-03 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: use pg_config if possible to get PostgreSQL's
- compilation arguments
- * providers/postgres/gda-postgres-meta.c: check that the server's
- version is at least 8.2 before using pg_is_other_temp_schema() in SQL
- * libgda/Makefile.am:
- * libgda/gda-xa-transaction.[ch]: new distributed transaction manager
- * libgda/gda-server-provider.[ch]:
- * libgda/libgda.h.in:
- * libgda/sqlite/gda-sqlite-provider.c:
- * providers/postgres/gda-postgres-provider.c:
- * providers/skel-implementation/capi/gda-capi-provider.c: support for
- the new distributed transaction manager object
- * doc/C: doc updates
-
-2008-06-01 Vivien Malerba <malerba gnome-db org>
-
- * libgda/sqlite/gda-sqlite-provider.c:
- * libgda/gda-server-operation.c: applied patch to fix mem leaks (thanks to
- Phil Longstaff)
- * providers/mysql/mysql_specs_create_table.xml.in: applied patch to fix the CREATE TABLE
- operation (thanks to Phil Longstaff)
- * libgda/gda-util.[ch]: applied patch for bug #534805 (thanks to Johannes Schmid)
- * configure.in:
- * libgda/binreloc/gda-binreloc.c: implemented binary relocation under Mac OS X
- * configure.in:
- * libgda/gda-data-model-dir.c: detect if GIO is available and
- use it instead of GnomeVFS
+2009-04-21 Vivien Malerba <malerba gnome-db org>
-2008-05-22 Vivien Malerba <malerba gnome-db org>
-
- * tests/providers/prov-test-util.c: applied patch to improve
- authentication (Carlos Savoretti)
- * libgda/gda-connection.c: get rid of all the prepared statements before
- closing the connection, and not when the connection object is disposed
- to prevent an error
- * libgda/sqlite/sqlite-src/: up to version 3.5.9
-
-2008-05-20 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-connection.c: applied patch to fix mem leak (thanks to
- Phil Longstaff)
- * libgda/gda-data-model.c:
- * libgda/gda-util.c:
- * libgda/gda-data-model-array.c: cosmetic changes
-
-2008-05-14 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-config.c: automatically correct spelling mistakes in
- provider name, and correctly alphabetically order the DSN list
- * libgda/gda-easy.c: don't warn if database name is NULL in gda_prepare_create_database()
- and gda_prepare_drop_database()
- * providers/mysql/gda-mysql.h: reset the provider's name to "MySQL"
- * doc/C/Makefile.am:
- * providers/mysql/Makefile.am: fixed "make distcheck" problem
- * providers/postgres/postgres_specs_dsn.xml.in: doc improvement
- * libgda/gda-connection.h: removed GDA_CONNECTION_FEATURE_XML_QUERIES and added
- GDA_CONNECTION_FEATURE_LAST to set the last feature ID
- * tests/meta-store/common.c: removed some useless test
- * tests/parser/check_normalization.c:
- * tests/parser/check_validation.c:
- * tests/parser/check_dml_comp.c:
- * tests/parser/Makefile.am: correctly set up the test environment so that "make distcheck"
- works
- * libgda/sqlite/gda-sqlite-provider.c: applied patch by Carlos Savoretti to handle
- the G_TYPE_LONG type
- * libgda/gda-statement.[ch]: added a GDA_STATEMENT_SQL_PARAMS_AS_UQMARK flag to
- render variables in statements as a single "?"
- * configure.in:
- * tools/command-exec.c:
- * tools/gda-sql.c:
- * tools/tools-input.c: READLINE and HISTORY libraries detection made easier
-
-2008-04-30 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-util.c: also encode the '=' char in gda_rfc1738_encode()
- * providers/mysql/gda-mysql-meta.c:
- * providers/mysql/gda-mysql-recordset.c: improved MySQL provider (thanks
- to Carlos Savoretti)
- * libgda/libgda.h.in:
- * tools/gda-list-server-op.c:
- * tools/gda-list-config.c:
- * tools/gda-sql.c:
- * tests/meta-store/check_meta_store_sqlite.c:
- * tests/meta-store/check_meta_store_postgresql.c:
- * tests/meta-store/check_meta_store_mysql.c:
- * tests/meta-store/check_meta_store_memory.c:
- * tests/data-models/check_virtual.c:
- * tests/data-models/check_data_proxy.c:
- * tests/data-models/check_model_import.c:
- * tests/value-holders/check_statement.c:
- * tests/value-holders/check_set.c:
- * tests/value-holders/check_holder.c:
- * tests/parser/check_normalization.c:
- * tests/parser/check_validation.c:
- * tests/parser/check_dml_comp.c:
- * tests/parser/check_parser.c:
- * tests/providers/check_sqlite.c:
- * tests/providers/check_oracle.c:
- * tests/providers/check_odbc.c:
- * tests/providers/check_msql.c:
- * tests/providers/check_ldap.c:
- * tests/providers/check_firebird.c:
- * tests/providers/check_sybase.c:
- * tests/providers/check_bdb.c:
- * tests/providers/check_mdb.c:
- * tests/providers/check_xbase.c:
- * tests/providers/check_mysql.c:
- * tests/providers/check_postgres.c:
- * tests/providers/check_freetds.c:
- * tests/providers/check_ibmdb2.c:
- * doc/C/libgda-4.0-sections.txt:
- * doc/C/gettingstarted.xml:
- * doc/C/tmpl/libgda.sgml:
- * doc/C/examples/full_example.c:
- * providers/sybase/main.c:
- * providers/bdb/gda-bdb-test.c:
- * providers/mysql/gda-mysql-meta.c:
- * providers/mysql/gda-mysql-recordset.c:
- * testing/gda-test-blob.c:
- * libgda/sqlite/virtual/virtual-test.c:
- * libgda/gda-init.c:
- * libgda/gda-connection.c:
- * samples/SqlParserConsole/console.c:
- * samples/TableCopy/table-copy.c:
- * samples/TableCopy/table-copy-easier.c:
- * samples/DDL/ddl.c:
- * samples/SimpleExample/example.c:
- * samples/Virtual/virtual-test.c:
- * samples/BDB/access-raw.c:
- * samples/BDB/access-custom.c:
- * samples/F-Spot/repair-path.c:
- * samples/DirDataModel/find-duplicates.c:
- * samples/XSLT/transform.c:
- * samples/Report/customers-report-rml.c:
- * samples/Report/customers-report-docbook.c:
- * samples/Report/customers-report.c: changed the gda_init() signature to
- void gda_init (void), and removed the gda_main_run() and gda_main_quit()
- functions
- * libgda/gda-data-proxy.[ch]: added gda_data_proxy_set_ordering_column() to
- enable ordering by a column
- * libgda/sqlite/virtual/gda-vprovider-data-model.c: correctly name columns
- when creating the virtual table (add double quotes when necessary)
- * libgda/sqlite/virtual/gda-vconnection-data-model.c: fixed an object
- referencing bug
- * testing/gda-test-connection.c: fixed prepared statements unreferencing
- bug
- * libgda/gda-util.c:
- * libgda/gda-meta-store.c:
- * libgda/sqlite/gda-sqlite-provider.c:
- * libgda/sql-parser/gda-statement-struct-parts.h:
- * libgda/sql-parser/parser.y:
- * libgda/sql-parser/gda-statement-struct.c:
- * libgda/sql-parser/gda-statement-struct-parts.c:
- * libgda/sql-parser/parser.c:
- * libgda/gda-statement.c:
- * providers/postgres/gda-postgres-provider.c:
- * providers/postgres/parser.y:
- * providers/postgres/parser.c:
- * providers/mysql/parser.y:
- * providers/mysql/parser.c:
- * providers/skel-implementation/capi/parser.y:
- * providers/skel-implementation/capi/parser.c:
- * doc/C/xml/gda-sql-statement.xml:
- * doc/C/libgda-4.0-decl.txt:
- * doc/C/tmpl/gda-sql-statement.sgml:
- * doc/C/libgda-4.0-undocumented.txt:
- * doc/C/libgda-4.0-sections.txt:
- * doc/C/html/index.sgml:
- * doc/C/libgda-4.0-decl-list.txt: modifications for bug #527002
- * libgda/sql-parser/gda-sql-parser.c:
- * providers/postgres/gda-postgres-pstmt.c:
- * providers/postgres/gda-postgres-provider.c: fixed mem leak, bug
- #527012
- * libgda/gda-data-model-query.c: bug fixes
- * libgda/gda-set.c: correctly identify a property name
-
-2008-04-27 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-set.[ch]:
- * libgda/sql-parser/gda-statement-struct-select.c:
- * libgda/gda-data-model.c:
- * libgda/gda-connection.c:
- * tools/gda-sql.c: cosmetic changes
- * tests/value-holders/check_holder.c! corrected test case
- * libgda/gda-holder.c: fixed a bug in binding an object to another
- * libgda/gda-meta-struct.h: reorganized the GdaMetaDbObject structure
- * libgda/gda-config.[ch]: added gda_config_dsn_needs_authentication(),
- and gda_config_get_dsn() now accepts username:password prepended to the DSN
- * libgda/sqlite/gda-sqlite-meta.c: corrected the way tables are reported
- * libgda/sqlite/gda-sqlite-provider.c: now render the FALSE keyword as 0 and
- TRUE as 1 (this is how SQLite handles booleans)
- * libgda/gda-meta-store.c:
- * doc/C: docs. update
- * libgda/gda-util.c: fixed a bug in the completion function when no proposal
- exists
- * libgda/gda-meta-struct.[ch]: added gda_meta_struct_complement_schema() and
- gda_meta_struct_complement_default() which respectively fast-adds all the objects of a
- schema or all the objects which can be named without the schema
- prefix. Also added gda_meta_struct_complement_depend() which add to
- the object all the database objects on which an object depends.
-
-2008-04-15 Vivien Malerba <malerba gnome-db org>
-
- * configure.in: Rename libext variable to avoid contaminating libtool-2.2
- variable by same name, for bug #527892 (from Cygwin Ports maintainer)
- * libgda/gda-connection.c: corrected a bug in gda_connection_get_events(): the
- returned list is now read-only, the last GdaConnectionEvent being first in the list
- * libgda/gda-connection-event.c: removed gda_connection_event_free() as
- g_object_unref() should be used instead, removed gda_connection_event_list_free()
- and gda_connection_event_list_copy()
- * libgda/gda-util.[ch]: added a new gda_completion_list_get() function to make
- Libgda compute a list of possible completions when writinf a SQL statement
- * tools/command-exec.c:
- * tools/gda-sql.c:
- * tools/tools-input.c: improved completion mechanism using gda_completion_list_get()
- * libgda/sql-parser/gda-statement-struct-util.[ch]:
- * libgda/gda-meta-struct.[ch]: improved handling of double quoted SQL identifiers
- * tools/gda-sql.c: removed the -p (Provider name), -s (Data source) and
- -c (Direct connection string) options: now any number of connection can be opened
- by listing them one after the other using either a DSN name or a connection string
- like "PostgreSQL://DB_NAME=mydb"
- * providers/postgres/gda-postgres-meta.c: bug fixed in the I_STMT_REF_CONSTRAINTS and
- I_STMT_REF_CONSTRAINTS_ALL statements
-
- Made a review of the DSN and connection strings in Libgda, and decided to require
- string encoded using RFC 1738 (Uniform Resource Locators (URL)): the non ascii
- (and some special characters) must be represented in their "%ab" form where
- "ab" is their hexa. representation; this will solve problems where DSN and/or
- auth string must contain some ";" character.
- * libgda/gda-util.[ch]: added the gda_rfc1738_encode(), gda_rfc1738_decode(),
- gda_dsn_split() and gda_connection_string_split() functions
- * libgda/gda-quark-list.c: modified gda_quark_list_new_from_string() and
- gda_quark_list_add_from_string() to decode the key and value for each pair.
- * libgda/gda-config.[ch]: use gda_rfc1738_encode() when reading provider name, username
- and password from config file.
- * libgda/gda-connection.c: changed gda_connection_open_from_dsn() to accept DSN in
- the form [<username>[:<password>] ]<DSN> where <username> and <password> are RFC 1738
- encoded.
- * libgda/sql-parser/gda-statement-struct-parts.c: applied patch by Daniel Espinosa for
- bug #528057
-
-2008-04-10 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-meta-struct.c: crash bug fixed
- * providers/postgres/gda-postgres-meta.c: bug fixed
- * tools/tools-input.[ch]:
- * tools/gda-sql.c: implemented rudinentary command completion, and also tests
- if the direct connection string is in fact a DSN when opening the connection
-
-2008-04-10 Murray Cumming <murrayc murrayc com>
-
- * doc/C/prov-writing.xml:
- * doc/C/tmpl/gda-connection.sgml:
- * libgda/gda-config.c (gda_config_get_provider_object,
- gda_config_list_providers, load_providers_from_dir):
- * libgda/gda-connection.c (gda_connection_class_init,
- gda_connection_get_property, gda_connection_open_from_dsn,
- gda_connection_open, gda_connection_get_cnc_string,
- gda_connection_get_authentication):
- * libgda/gda-connection.h (GdaConnectionMetaType):
- * tools/gda-sql.c (extra_command_manage_cnc): Rename authentification to
- authentication in API and implementation.
-
-2008-04-10 Vivien Malerba <malerba gnome-db org>
-
- * doc/C/libgda-4.0-sections.txt:
- * doc/C/tmpl/gda-pmodel.sgml:
- * providers/postgres/gda-postgres-recordset.c:
- * libgda/gda-holder.c:
- * libgda/gda-data-model-iter.c:
- * libgda/gda-value.c:
- * libgda/providers-support/gda-pmodel.[ch]:
- * libgda/providers-support/gda-prow.c:
- * libgda/gda-value.h:
- * libgda/gda-set.c:
- * libgda/gda-data-model.c: minor tweaks to improve performances
-
-2008-04-09 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-set.c: use a GHashTable to find individual GdaHolder objects by
- their ID for better performances
-
-2008-04-09 Vivien Malerba <malerba gnome-db org>
-
- * tools/command-exec.c: removed bogus include
- * tools/information-schema-doc.c: fixed warnings
-
-2008-04-09 Vivien Malerba <malerba gnome-db org>
-
- * libgda/gda-value.c: corrected some memory leaks, for bug #526748
- * libgda/gda-connection.c: make gda_connection_get_authentification() return the empty
- string if the connection has no authentication string rather than NULL
- * libgda/gda-connection.c: the events list is now stored in reverse order, and the
- gda_connection_get_events() method returns a copy (in the correct order) of the list, for
- bug #526818
- * tools/gda-sql.c: changed the "\dsn_list" command to "\l", when using the "\c" command,
- passing a connection name starting with '~' will allow one to use the connection associated
- with the meta data: for example the "\c ~c0" command creates a "~c0" connection which corresponds
- to the "c0" connection's meta data
- * tools/command-exec.c: replaced g_strsplit() with a small custom tokenizer which
- recognizes simple and double quoted strings
- * tools/Makefile.am:
- * tools/information-schema-doc.c:
- * doc/C/i_s_doc.xml: created a (non installed) tool to automatically generate the i_s_doc.xml file which
- documents the structure of the meta data database.
- * libgda/information_schema.xml: fixed the "_element_types" table usage and added some descriptions
- about the tables, views and individual columns
- * libgda/gda-server-provider.h:
- * libgda/gda-connection.c: added a new "el_types" meta data method
- * libgda/sqlite/gda-sqlite-provider.c:
- * libgda/sqlite/gda-sqlite-meta.[ch]:
- * providers/postgres/gda-postgres-provider.c:
- * providers/postgres/gda-postgres-meta.[ch]:
- * providers/mysql/gda-mysql-provider.c:
- * providers/mysql/gda-mysql-meta.[ch]:
- * providers/skel-implementation/capi/gda-capi-provider.c:
- * providers/skel-implementation/capi/gda-capi-meta.[ch]: implemented (or partially implemented)
- the new "el_types" meta data method
- * doc/C: added an empty XSLT extension section, and misc doc. updates
- * tools/tools/tools-input.c: prepared code completion feature, and correctly initialize history
-
-2008-04-08 Murray Cumming <murrayc murrayc com>
-
- * libgda/gda-connection.c (gda_connection_supports_feature):
- * libgda/gda-row.c (gda_row_copy, gda_row_set_id): Very minor
- corrections to documentation.
-
-2008-04-07 Murray Cumming <murrayc murrayc com>
-
- * providers/postgres/libmain.c (plugin_init): Make sure that the
- module_path string is freed before being reassigned, though this is
- probably not the leak that valgrind is reporting here.
+ * doc/C/libgda-4.0-docs.sgml:
+ * doc/C/prov-writing.xml: detailled how to create a new provider from template
-2008-04-06 Vivien Malerba <malerba gnome-db org>
+2009-04-20 Vivien Malerba <malerba gnome-db org>
* configure.in:
* providers/Makefile.am:
diff --cc libgda/Makefile.am
index 79a278c,3437e8f..1e56a3b
--- a/libgda/Makefile.am
+++ b/libgda/Makefile.am
@@@ -100,7 -90,7 +100,8 @@@ libgda_sources =
gda-config.c \
gda-connection.c \
gda-connection-event.c \
+ gda-connection-internal.h \
+ gda-connection-sqlite.h \
gda-custom-marshal.c \
gda-custom-marshal.h \
gda-data-comparator.c \
diff --cc libgda/gda-meta-store.c
index 498300c,aa648ca..293850a
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@@ -39,11 -39,8 +39,12 @@@
#include <libgda/gda-util.h>
#include <libgda/gda-meta-struct.h>
#include <libgda/gda-connection.h>
+#include <libgda/gda-connection-internal.h>
+#include <libgda/gda-lockable.h>
+#include <libgda/gda-mutex.h>
+ #include <libgda/gda-connection-sqlite.h>
#include "gda-types.h"
+#include "gda-data-meta-wrapper.h"
/*
* Main static functions
@@@ -3091,13 -2953,11 +3092,13 @@@ gda_meta_store_schema_get_structure (Gd
/* create a GdaMetaStruct */
real_store = gda_connection_get_meta_store (store->priv->cnc);
- model = gda_meta_store_extract (real_store,
+ model = gda_meta_store_extract (real_store,
"SELECT table_catalog, table_schema, table_name FROM _tables",
error, NULL);
- if (!model)
+ if (!model) {
+ gda_mutex_unlock (store->priv->mutex);
return NULL;
+ }
mstruct = gda_meta_struct_new (real_store, GDA_META_STRUCT_FEATURE_ALL);
nrows = gda_data_model_get_n_rows (model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]