Released 3.99.7 2008-12-31 Vivien Malerba * doc/C/gda-sql-manual.xml: documentation for SQL console's embedded HTTP server * po/: ran "make update-po" 2008-12-30 Vivien Malerba * 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 * 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 * libgda/gda-quark-list.c: remove leading and trailing white spaces in both key and value for each (=) 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 * libgda/gda-server-provider.[h|c]: Correct spelling of prefered_type parameter to preferred_type. 2008-12-16 Vivien Malerba * libgda/sqlite/sqlite-src: up to version 3.6.7 2008-12-16 Vivien Malerba * 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 * 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 * 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 * 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 * 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 * libgda/gda-connection.c: fix for bug #564159 2008-12-10 Vivien Malerba * 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 2008-12-01 Vivien Malerba * 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 * 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 * 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 * 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 * 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 * configure.in: set version to 3.99.7