2004-10-10  Rodrigo Moya <rodrigo@gnome-db.org>

	Released 1.1.99.

2004-10-10  Rodrigo Moya <rodrigo@gnome-db.org>

	* libsql/Makefile.am: use $(top_builddir) for libgdasql.

2004-10-10  Rodrigo Moya <rodrigo@gnome-db.org>

	* libgda.pc.in:
	* libsql/Makefile.am:
	* libgda/Makefile.am:
	* report/libgda-report/Makefile.am: install headers in versioned
	directories.

2004-10-10  Rodrigo Moya <rodrigo@gnome-db.org>

	* libgda/gda-config.[ch]: added GdaProviderParameterInfo structure.
	Changed list of params in GdaProviderInfo to be a list of
	GdaProviderParameterInfo structures.
	(gda_provider_parameter_info_get_type, gda_provider_parameter_info_copy,
	gda_provider_parameter_info_free): new functions.
	(gda_provider_info_copy, gda_provider_info_free): manage correctly the
	new list of arguments.

	* providers/bdb/libmain.c (plugin_get_connection_params):
	* providers/firebird/libmain.c (plugin_get_connection_params):
	* providers/freetds/libmain.c (plugin_get_connection_params):
	* providers/ibmdb2/libmain.c (plugin_get_connection_params):
	* providers/ldap/libmain.c (plugin_get_connection_params):
	* providers/mdb/libmain.c (plugin_get_connection_params):
	* providers/msql/gda-msqlp-libmain.c (plugin_get_connection_params):
	* providers/mysql/libmain.c (plugin_get_connection_params):
	* providers/odbc/libmain.c (plugin_get_connection_params):
	* providers/oracle/libmain.c (plugin_get_connection_params):
	* providers/postgres/libmain.c (plugin_get_connection_params):
	* providers/sqlite/libmain.c (plugin_get_connection_params):
	* providers/sybase/libmain.c (plugin_get_connection_params):
	* providers/xbase/libmain.c (plugin_get_connection_params):
	* providers/xml/libmain.c (plugin_get_connection_params):
	updated to return a list of GdaProviderParameterInfo instead of simple
	strings only.

	* tools/gda-config-tool.c (add_param_name_to_string):
	* testing/config.c (list_all_providers): adapted to above changes.

2004-10-09  Rodrigo Moya <rodrigo@gnome-db.org>

	Fixes #152495

	* doc/C/libgda-docs.sgml: fixed memory leak in sample code.

2004-10-09  Julio M. Merino Vidal <jmmv@menta.net>

	Fixes #152217

	* Makefile.am: added --enable-gtk-doc to DISTCHECK_CONFIGURE_FLAGS.

	* autogen.sh:
	* configure.in: fixed to work with autoconf >= 2.59 and automake >= 1.8.

	* libgda/gda-server-provider.c (gda_server_provider_get_version):
	* libgda/gda-xml-database.c (gda_xml_database_to_string):
	* providers/bdb/gda-bdb-provider.c (gda_bdb_provider_get_version):
	* providers/firebird/gda-firebird-provider.c
	(gda_firebird_provider_get_version):
	* providers/freetds/gda-freetds-provider.c
	(gda_freetds_provider_get_version):
	* providers/ibmdb2/gda-ibmdb2-provider.c (gda_ibmdb2_provider_get_version):
	* providers/ldap/gda-ldap-provider.c (gda_ldap_provider_get_version):
	* providers/mdb/gda-mdb-provider.c (gda_mdb_provider_get_version):
	* providers/msql/gda-msql-provider.c (gda_msql_provider_get_version):
	* providers/mysql/gda-mysql-provider.c (gda_mysql_provider_get_version):
	* providers/odbc/gda-odbc-provider.c (gda_odbc_provider_get_version):
	* providers/oracle/gda-oracle-provider.c (gda_oracle_provider_get_version):
	* providers/postgres/gda-postgres-provider.c
	(gda_postgres_provider_get_version):
	* providers/sqlite/gda-sqlite-provider.c (gda_sqlite_provider_get_version):
	* providers/sybase/gda-sybase-provider.c (gda_sybase_provider_get_version):
	* providers/sybase/main.c (main):
	* providers/xbase/gda-xbase-provider.c (gda_xbase_provider_get_version):
	* providers/xml/gda-xml-provider.c (gda_xml_provider_get_version):
	* testing/gda-test.c (main): use PACKAGE_VERSION rather than VERSION.

2004-10-09  Alan Knowles <alan@akbkhome.com>

	* libgda/gda-log.c: made it compile under Win32.

	* providers/postgres/gda-postgres-provider.c
	(gda_postgres_provider_escape_string): s/MYSQL/PostgreSQL.

2004-09-25  Rodrigo Moya <rodrigo@gnome-db.org>

	Fixes #152487

	* libgda/gda-server-provider.[ch]: added 'reset_connection' method.
	(gda_server_provider_reset_connection): new function.
	(gda_server_provider_class_init): initialize new method.

	* libgda/gda-connection.[ch] (gda_connection_reset): new function.

2004-09-25  Rodrigo Moya <rodrigo@gnome-db.org>

	* libgda/Makefile.am: install gda-log.h with the other headers.

2004-09-25  Szalai Ferenc <szferi@einstein.ki.iif.hu>

	* libgda/gda-connection.c (gda_connection_new): use const where needed.
	(gda_connection_escape_string): return correct values.

	* libgda/gda-data-model-array.c (gda_data_model_array_update_row):
	use const where needed.
	(gda_data_model_array_append_column, gda_data_model_array_update_column,
	gda_data_model_array_remove_column): added missing return statement.

	* libgda/gda-data-model.c (export_to_separated,
	gda_data_model_to_xml_node): fixed warnings.

	* libgda/gda-error.c (gda_error_list_copy): fixed warnings.

	* libgda/gda-parameter.[ch] (gda_parameter_new_from_value): added
	'const' to the @value argument.
	(gda_parameter_list_free): fixed warning.

	* libgda/gda-select.c (gda_select_add_source): fixed warning.
	(populate_from_single_table): fixed warning.

	* libgda/gda-value.c (clear_value): added case for TYPE types.
	(gda_value_set_list): fixed warning.

	* libgda/gda-xml-database.c (gda_xml_database_new_table_from_node):
	set the field attributes' caption as a string, not as an integer.

	* libgda/libgda.h: included gda-log.h.

	* providers/ldap/gda-ldap-provider.c (get_ldap_tables): fixed warning.

	* providers/ldap/libmain.c: added missing function prototypes.

	* providers/mysql/gda-mysql-provider.c
	(gda_mysql_provider_get_last_insert_id, add_aggreagate_row): fixed
	warning.

	* providers/postgres/gda-postgres-recordset.c
	(gda_postgres_recordset_append_row): implemented new data model's
	method.
	(gda_postgres_recordset_class_init): set new method.
	(gda_postgres_recordset_update_row): update the underlying array data
	model when the update in the database goes well.
	(gda_postgres_recordset_get_n_rows): check the number of items in the
	underlying array data model, and return the MAX.

	* providers/postgres/gda-postgres.h: added missing prototype.

	* providers/postgres/utils.c (gda_postgres_type_oid_to_gda): fixed
	warning.
	(gda_postgres_value_to_sql_string): new function.

	* report/libgda-report/gda-report-document.c: added missing #include.

2004-09-25  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: removed obsolete GNOME_COMPILE_WARNINGS macro.

	* libgda/gda-connection.[ch] (gda_connection_escape_string):
	* libgda/gda-server-provider.[ch] (gda_server_provider_escape_string):
	* providers/postgres/gda-postgres-provider.c
	(gda_postgres_provider_escape_string):
	* providers/mysql/gda-mysql-provider.c
	(gda_mysql_provider_escape_string): improved the escape_string method,
	by setting correctly the const'ness of the arguments and removing the
	'length' argument, since strings should be now NULL terminated.
	
2004-09-25  Caolan McNamara <caolanm@redhat.com>

	Fixes #150231

	* configure.in: improved ODBC, MySQL and PostgreSQL detection.

2004-09-25 Dru <andru@treshna.com>

	* libsql/parser.y: Fixed not null issue in where statements
	* libsql/sample_sql_statements: Added examples that broke stuff.
	* libsql/sql_parser.c: Fixed bug 152874, sql statements
	  with complex where statements were often failing to 
	  generate properly.
	* providers/postgres/gda-postgres-recordset.c: Added minor
	  comments.

2004-09-14 Dru <andru@treshna.com>
	
	* libgda/gda-value.c: Improved documentation.
	* libsql/sql_parser.c: Added support function for helping
	  decode the where statements. Removed some obsolete code.

2004-09-09 Dru <andru@treshna.com>

        * sql_parser.c: When getting a list of where statements it will
          return the join's as well now.

2004-09-09 Dru <andru@treshna.com>

        * .cvsignore, Makefile.am, sql_parse_test.c, sql_parser.c,
          sql_parser.h, sql_parser_test.c: Added function to get a list of
          where clauses in a sql statement.  Readded test code to check to
          see if the function works ok.

2004-09-02  Jeronimo Albi <jeronimoalbi@yahoo.com.ar>
	
	* providers/firebird/gda-firebird-blob.c: New File.
	* providers/firebird/gda-firebird-blob.h: New File.
	* providers/firebird/gda-firebird-recordset.c: Added read support
	  for blob data type.

2004-09-01  Alan Knowles <alan@akbkhome.com>

	* providers/mysql/gda-mysql-provider.c (get_mysql_types): updated
	list of types to match the real MySQL types.

2004-08-31  Jeronimo Albi <jeronimoalbi@yahoo.com.ar>

	* providers/firebird/gda-firebird-provider.c:
	  (gda_firebird_provider_execute_command): Added support for
	  "transparent transactions".

2004-08-26  Rodrigo Moya <rodrigo@gnome-db.org>

	Fixes #151054

	* providers/firebird/gda-firebird-recordset.c (fb_gda_value_fill):
	removed extra spaces before punctuation marks.

2004-08-21  Jeronimo Albi <jeronimoalbi@yahoo.com.ar>

	* samples/sample-firebird.c: Added example code for Firebird provider.
	* providers/firebird/gda-firebird-recordset.c: Corrected a problem with
	Firebird date and datetime year part, fixes bug #15063.

2004-08-21  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Add �nb� to ALL_LINGUAS.

2004-08-20  Vivien Malerba <malerba@gnome-db.org>

	* libsql/parser.y: bug fixed to allow the alias specification for any
	  target in queries
	* libsql/sql_tree.c: bug fixed with uninitialized allocated memory
	* providers/postgres/gda-postgres-provider.c: fixed a bug with the
	'anyelement' data type which we don't want, and fixed another bug
	where aggregates and functions accepting any data type for one
	argument were not returned in the schemas requests.

2004-08-18  Rodrigo Moya <rodrigo@gnome-db.org>

	* libgda/gda-client.c (gda_client_find_connection): use the correct
	dsn/username/password when searching the connection.

2004-08-18  Rodrigo Moya <rodrigo@gnome-db.org>

	* libgda/gda-client.c (gda_client_find_connection): fixed to not
	crash on strcmp().

2004-08-18  Jeronimo Albi <jeronimoalbi@yahoo.com.ar>

	* providers/firebird/gda-firebird-provider.c:
	(gda_firebird_provider_drop_database): Corrected to drop requested
	database.
	(gda_firebird_provider_get_schema, gda_firebird_provider_supports):
	Added support for GDA_CONNECTION_SCHEMA_AGGREGATES.

2004-08-18  Jos� Mar�a Casanova Crespo <jmcasanova@igalia.com>

	* libgda/gda-connection.[ch] (gda_connection_clear_error_list):
	new function.

	* providers/postgres/gda-postgres-provider.c
	(gda_postgres_provider_begin_transaction): improved support of
	transaction modes.

2004-08-17  Alan Knowles <alan@akbkhome.com>

	* libgda/gda-connection.[ch] (gda_connection_escape_string):
	new function.

	* libgda/gda-server-provider.[ch]: added escape_string virtual method.
	(gda_server_provider_escape_string): new function.

	* providers/mysql/gda-mysql-provider.c
	(gda_mysql_provider_escape_string): implemented new GdaServerProvider's
	virtual method.
	(gda_mysql_provider_class_init): set pointer to new method's
	implementation.

	* providers/postgres/gda-postgres-provider.c
	(gda_postgres_provider_escape_string, gda_postgres_provider_class_init):
	likewise.

2004-08-17  Caolan McNamara <caolanm@redhat.com>

	Fixes #150232

	* libgda/gda-util.c (gda_type_to_string):
	* providers/mysql/gda-mysql-provider.c
	(gda_mysql_provider_execute_command, gda_mysql_provider_supports,
	gda_mysql_provider_get_schema):
	* providers/xml/gda-xml-provider.c (gda_xml_provider_get_schema):
	more fixes for compilation with GCC 3.4.

2004-08-16  Vivien Malerba <malerba@gnome-db.org>

	* libsql/parser.y: bug fixed to allow the alias specification for any
	  target in queries
	* libsql/sql_tree.c: bug fixed with uninitialized allocated memory

2004-08-16  Joe Marcus Clarke <marcus@freebsd.org>

	* providers/xml/gda-xml-provider.c (get_types): use empty strings
	rather than NULL for the owner field.

2004-08-12  Rodrigo Moya <rodrigo@gnome-db.org>