2005-06-14 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.2.2. 2005-06-14 Alex <alex@igalia.com> * providers/postgres/gda-postgres-recordset.c (guess_table_name): fixed leak on query string. 2005-05-18 Mike Fisk <mfisk@woozle.org> Fixes #304586 * providers/mysql/gda-mysql-recordset.c (fill_gda_value): set correctly unsigned values. 2005-05-13 Mike Kestner <mkestner@ximian.com> * libgda/gda-export.c (gda_export_class_init): fixed typo in "cancelled" signal creation. 2005-04-30 Jean Bréfort <jean.brefort@ac-dijon.fr> Fixes #302158 * configure.in: fixed MySQL detection. 2005-04-21 Magnus Bergman <magnus.bergman@observer.net> Fixes #301485 * providers/oracle/gda-oracle-provider.c (gda_oracle_provider_supports, gda_oracle_provider_execute_command): made it compile with GCC 4. 2005-04-21 Magnus Bergman <magnus.bergman@observer.net> Fixes #301480 * configure.in: make it work with Oracle 10's headers. 2005-04-15 Murray Cumming <murrayc@murrayc.com> * libgda/gda-client.h: Removed a trailing comma on an enum, to avoid a warning. 2005-04-14 Murray Cumming <murrayc@murrayc.com> * libgda/gda-xql-update.h: GdaXqlUpdate should contain an instance of the parent type (GdaXqlDml), not a pointer to one. This avoids glib warnings about the instance size. 2005-03-03 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.2.1 2005-02-28 Loic Minier <lool+gnome@via.ecp.fr> Fixes #168641 * configure.in: don't use builtin copy of gtk-doc macro, use GTK_DOC_CHECK instead. 2005-02-28 Denis Fortin <denis.fortin@free.fr> Fixes #167500 * configure.in: use sqlite3 when available. * providers/sqlite/*: use sqlite3. 2005-02-28 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #129153 * report/libgda-report/gda-report-result.h: removed non-existing function from header file. 2005-02-28 Caolan McNamara <caolanm@redhat.com> Fixes #166288 * configure.in: better detection for libdb. 2005-02-28 Caolan McNamara <caolanm@redhat.com> Fixes #166286 * providers/*/Makefile.am: use $libdir instead of $prefix/lib. 2005-02-28 Jorge Bernal "Koke" <koke@amedias.org> Fixes 162856 * providers/freetds/libmain.c (plugin_get_connection_params): fixed typo. 2005-02-28 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #160666 * libgda-C.omf.in: removed double // in file URI. 2005-02-18 Caolan McNamara <caolanm@redhat.com> Fixes #167700 * libsql/Makefile.am: set version-info on libgdasql. 2005-02-10 Álvaro Peña <alvaropg@telefonica.net> * libgda/gda-data-model-array.c: (gda_data_model_array_remove_row): Removed unused declaration. * libgda/gda-table.[ch]: Added NAME_CHANGED signal, emited when the table name change. * libgda/gda-xml-database.c: Connect to NAME_CHANGED table signal. When a table named change, the database hash update to the new key (the new table name). 2005-02-02 Álvaro Peña <alvaropg@telefonica.net> * libgda/gda-data-model.c: Removed the signals emits that must to emit the implementations, not this "interface". * libgda/gda-data-model-array.c: When a row is removed, the following rows must to be renumber. 2005-01-25 Bas Driessen <bas.driessen@xobas.com> * providers/postgres/gda-postgres-recordset.c: (gda_postgres_recordset_update_row): Fixed updating of an appended row. 2005-01-24 Bas Driessen <bas.driessen@xobas.com> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_open_connection): Fix to allow parameters "USER" and "PASSWORD" be used as arguments in the MySQL DSN string. 2005-01-20 Bas Driessen <bas.driessen@xobas.com> * providers/postgres/gda-postgres-recordset.c (guess_table_name): improve table name guessing by also checking on correct number of columns. 2005-01-19 Bas Driessen <bas.driessen@xobas.com> * libgda/gda-data-model-hash.c: introduce row mapping array (row_map) to keep track of active rows in a data-model that are represented by a hash table. Array added to struct _GdaDataModelHashPrivate. (gda_data_model_hash_remove_row): implemented remove method function. (gda_data_model_hash_append_row): add new mapping entry to array when new row is appended to data-model. (gda_data_model_hash_get_row): get row according to mapping. (gda_data_model_hash_get_n_rows): return active number of rows in data-model or -1 if not initialized. (gda_data_model_hash_clear): initialize array upon (re)creation of hash table. (gda_data_model_hash_init): initialize array pointer and hash row count. (gda_data_model_hash_finalize): free array when no longer needed. * providers/postgres/gda-postgres-recordset.c (gda_postgres_recordset_remove_row): implemented new method for data-model. (gda_postgres_recordset_get_n_rows): return active number of data-model rows. (gda_postgres_recordset_get_row): correct call to parent class function. 2005-01-15 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: include version number in AC_PROG_INTLTOOL. 2005-01-11 Bas Driessen <bas.driessen@xobas.com> * providers/postgres/gda-postgres-recordset.c (gda_postgres_recordset_update_row): use " for field names in 'SET' part of query. remove unnecessary call to non-existent function gda_data_model_hash_update_row. emit appropriate 'updated' and 'changed' signals. 2005-01-07 Bas Driessen <bas.driessen@xobas.com> * libgda/gda-data-model-hash.c (gda_data_model_hash_append_row): set row number of appended row. 2004-12-29 Aaron Gaudio <prothonotar@tarnation.dyndns.org> * libgda.spec.in: fixed includedir. 2004-12-28 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.2.0. 2004-12-28 Rodrigo Moya <rodrigo@gnome-db.org> * autogen.sh: changed to require automake >= 1.9. * configure.in: incremented library versions. * libsql/Makefile.am: reference correctly the libgdasql lib. * providers/freetds/gda-freetds-provider.c (gda_freetds_execute_cmd): * providers/freetds/gda-freetds-recordset.c (gda_freetds_recordset_new): use correct number of arguments for tds_process_result_tokens. * providers/mdb/gda-mdb-provider.c (gda_mdb_provider_open_connection): pass flags to mdb_open. 2004-10-28 Bas Driessen <bas.driessen@xobas.com> * providers/postgres/gda-postgres-recordset.c (gda_postgres_recordset_append_row): use " for field names. 2004-10-28 Rodrigo Moya <rodrigo@gnome-db.org> * *Makefile.am: s/INCLUDES/AM_CPPFLAGS. 2004-10-27 Alan <alan@akbkhome.com> * Makefile.w32 * libgda/Makefile.w32 * libsql/Makefile.w32 * Makefile.w32.cross: Upload Windows makefiles, including support for cross compiling, and potentially native with mingw along with dependancy download support, see top level Makefile.w32 for full details on usage. 2004-10-27 Dru <andru@treshna.com> * libsql/sql_parser.c: Fixing sql_statement_get_tables() to work correctly. 2004-10-26 Dru <andru@treshna.com> * libsql/sql_parser.c: * libsql/sql_parser.h: Fixing some of the issues with JOIN clauses in SELECT statements failing to parse or be re-created with libsql. Other general code tidyups. 2004-10-18 Tomasz K©©oczko <kloczek@pld.org.pl> * configure.in: better looking PKG_CHECK_MODULES() output. Declare in one common place required versions of other tools using m4_define(). Fixed identation. 2004-10-15 Vivien Malerba <malerba@gnome-db.org> * providers/mysql/gda-mysql-recordset.c (fill_gda_value): fixed support for DATE, TIME, TIMESTAMP and DATETIME types. 2004-10-14 Vivien Malerba <malerba@gnome-db.org> * libgda/gda-data-model-hash.c (gda_data_model_hash_get_n_rows): added missing class method implementation. (gda_data_model_hash_class_init): ditto. 2004-10-13 Alan Knowles <alan@akbkhome.com> * libgda/gda-config.c: * testing/client.c: Win32 build fixes. 2004-10-13 David Hollis <dhollis@davehollis.com> * libgda.spec.in: fixed for correct building on RH. 2004-10-10 Tomasz KÅoczko <kloczek@pld.org.pl> * configure.in, providers/xbase/gda-xbase-database.cpp: fixes for correct detect xbase library and build backend module (fixed xbase.h header path). * configure.in: added fixes for latest autoheaders (added autoheaders prototypes). * po/POTFILES.in: remove providers/sybase/main.c from file (never used in dist resources).OA 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> Released 1.1.6. 2004-08-08 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: some more fixes. 2004-08-06 Szalai Ferenc <szferi@einstein.ki.iif.hu> * libgda/gda-row.c (gda_row_set_number): set the GdaRow's to $number, not to 0. 2004-08-01 Jeronimo Albi <jeronimoalbi@yahoo.com.ar> * providers/firebird/gda-firebird-provider.c: (fb_get_fields_metadata, fb_type_name_to_gda_type, fb_set_fields_metadata, fb_set_index_field_metadata): New fuctions. (gda_firebird_provider_get_schema): GDA_CONNECTION_SCHEMA_FIELDS is working. * providers/firebird/gda-firebird-recordset.c: (fb_sql_type_to_gda_type): New fuction. 2004-08-01 Jeronimo Albi <jeronimoalbi@yahoo.com.ar> * providers/firebird/gda-firebird-provider.c: (fb_server_get_version): New fuction. (gda_firebird_provider_get_server_version): Now returns server version. 2004-08-01 Jeronimo Albi <jeronimoalbi@yahoo.com.ar> * providers/firebird/gda-firebird-provider.c: (fb_get_types, fb_sqlerror_get_description, fb_get_tables): New functions. Change database connection routines for a more secure method of connection. (gda_firebird_provider_create_database, gda_firebird_provider_execute_command, gda_firebird_provider_drop_database): Are working now. (gda_firebird_provider_get_schema): Is working now for GDA_CONNECTION_SCHEMA_TYPES, GDA_CONNECTION_SCHEMA_TABLES and GDA_CONNECTION_SCHEMA_VIEWS. (gda_firebird_connection_make_error): Added description of error (Firebirds's SQL error message) when adding error to GdaConnection. * providers/firebird/gda-firebird-recordset.c: (fb_sql_result_free, fb_sql_result_columns_malloc, fb_sql_result_set_columns_number, fb_sql_get_statement_type, fb_sql_prepare, fb_sql_unprepare, fb_sql_execute, fb_sql_affected_rows, fb_gda_value_fill, fb_sql_fetch_row): New fuctions. Added recordset support. Added Firebird's data types (except Blob and Array). * providers/firebird/libmain.c: Add CHARACTER_SET, SQL_DIALECT and PAGE_SIZE to list of connection params. Changed name of provider to "Firebird", instead of "FireBird". 2004-07-31 Dani Baeyens <daniel.baeyens@hispalinux.es> * doc/C/Makefile.am, doc/C/libgda-docs.sgml, libgda/gda-connection.c, libgda/gda-data-model.c, libgda/gda-log.c, libgda/gda-server-provider.c, libgda/gda-server-provider.c, libgda/gda-value.c, report/libgda-report/gda-report-document.c, report/libgda-report/gda-report-item.c, report/libgda-report/gda-report-result.c: Changed to have documentation with .devhelp book (and no errors when making) 2004-07-22 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.1.5. 2004-07-16 Rodrigo Moya <rodrigo@gnome-db.org> * Makefile.am: EXTRA_DIST mkinstalldirs :( 2004-07-11 Vivien Malerba <malerba@gnome-db.org> * providers/postgres/gda-postgres-recordset.c: bug fixed for annoying warning message 2004-07-05 Murray Cumming <murrayc@murrayc.com> * providers/postgres/util.c: gda_postgres_type_oid_to_gda(): Do not read past the end of the type_data array. Found by valgrind. 2004-06-25 Vivien Malerba <malerba@gnome-db.org> * providers/odbc/gda-odbc-provider.c: fixed a recordset column fori bug #144923 2004-06-24 Vivien Malerba <malerba@gnome-db.org> * libsql/*: improved parsing of condition operators (added regex operators such as "~", "~*", etc and "SIMILAR TO", and modified the sql_condition structure to add a "negated" attributes for negated conditions and the sql_condition_operator enum for the new recognized operators. 2004-06-10 Murray Cumming <murrayc@murrayc.com> * libgda/gda-value.[h|cc]: Add get_type(), copy(), and free() functions for GdaMoney and GdaNumeric so that they are real boxed types. 2004-06-07 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.1.4. 2004-06-06 Marcin Siennicki <m.siennicki@cloos.pl> Fixes #142580 * libgda.spec.in: added information for building FireBird provider. 2004-06-06 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch] (gda_data_model_append_column, gda_data_model_update_column, gda_data_model_remove_column): use better function signatures. * libgda/gda-data-model-array.c (gda_data_model_array_append_column, gda_data_model_array_update_column, gda_data_model_array_remove_column): started implementation of missing virtual methods. (gda_data_model_array_class_init): init new virtual methods. 2004-06-06 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/utils.c (gda_mysql_type_to_gda): added an 'is_unsigned' argument and return signed/unsigned types approppriately. * providers/mysql/gda-mysql-recordset.c (fill_gda_value): made it static, to fix some warnings. Added 'is_unsigned' argument and set signed/unsigned values approppriately. (gda_mysql_recordset_describe_column): update for gda_mysql_type_to_gda() changes. (fetch_row): update for fill_gda_value() changes. * providers/mysql/gda-mysql.h: updated function prototype. 2004-06-05 Vivien Malerba <malerba@gnome-db.org> * libsql/parser.y & libsql/lexer.l: added a special keyword '##', which can be used for parameters when no value is provided, such as "SELECT name FROM users WHERE id=##". 2004-06-03 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: removed obsolete GNOME_PLATFORM_GNOME_2 macro. 2004-06-02 Murray Cumming <murrayc@murrayc.com> * libgda/gda-field.c: gda_field_attributes_copy(): Really copy the default_value. 2004-06-01 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.1.3 2004-06-01 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: fixed checks for gtk-doc. * doc/C/libgda-docs.sgml: fixes for xsltproc. 2004-05-31 Jürg Billeter <j@bitron.ch> * libgda/gda-util.c: * providers/mdb/gda-mdb-provider.c: * providers/ldap/gda-ldap-provider.c: * providers/mysql/gda-mysql-provider.c: * providers/oracle/utils.c: * providers/sqlite/gda-sqlite-provider.c: * providers/xml/gda-xml-provider.c: fixes for compilation with gcc 3.4. 2004-05-10 Murray Cumming <murrayc@murrayc@.com> * libgda/gda-util.c (gda_type_to_string): Added case statements for types that were not already handled, such as the unsigned types. Changed the default to unknown rather than string. * libgda/gda-util.c (gda_type_from_string): Added case statements for remaining types. 2004-05-05 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.[ch] (gda_connection_create_table, gda_connection_drop_table): new functions. 2004-05-02 Rodrigo Moya <rodrigo@gnome-db.org> * providers/xml/gda-xml-provider.c (get_types): added missing fields to the returned schema, and added missing types, since the XML provider supports all the types in libgda (except GOBJECT and BLOB). * doc/C/libgda-docs.sgml: use newer DocBook DTD. 2004-05-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-provider.[ch]: added 'create_table' and 'drop_table' virtual methods. (gda_server_provider_create_table, gda_server_provider_drop_table): new functions. * libgda/gda-connection.c (gda_connection_get_schema): added information about what to do with the returned value. 2004-05-01 Rodrigo Moya <rodrigo@ximian.com> * libgda/gda-server-provider.[ch]: added 'get_last_insert_id' virtual method. (gda_server_provider_get_last_insert_id): new function. (gda_server_provider_class_init): initialize new virtual method. * libgda/gda-connection.[ch] (gda_connection_get_last_insert_id): new function. * providers/postgres/gda-postgres-provider.c (gda_postgres_provider_get_last_insert_id): implemented new method. * providers/postgres/gda-postgres-recordset.[ch] (gda_postgres_recordset_get_pgresult): new function. * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_get_last_insert_id): implemented new method. 2004-04-28 Murray Cumming <murrayc@murrayc.com> * libgda/gda-field.[h|c]: Added gda_field_attribute_equal(). 2004-04-23 Murray Cumming <murrayc@murrayc.com> * libgda/gda-field.c (gda_field_attribute_copy): Don't copy the default_value if it is 0, to avoid runtime warnings. * libgda/gda-client.c: (gda_client_notify_error_event, gda_client_notify_transction_started_event, gda_client_notify_transaction_committed_event, gda_client_notify_transaction_cancelled_event): Cast the objects to GObject, to avoid compiler warnings. 2004-04-28 Álvaro Peña <apg@esware.com> * libgda/gda-data-model.c: (export_to_separated), (gda_data_model_to_xml_node): don't use gda_value_stringify for boolean values 2004-04-26 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.1.2 2004-04-23 Murray Cumming <murrayc@murrayc.com> * libgda/gda-command.h, gda-config.h, gda-field.h, gda-parameter.h: Use the typedef struct _Something Something technique to allow other code to declare prototypes, so that the C++ bindings do not need to include the headers in their public headers. 2004-04-23 Murray Cumming <murrayc@murrayc.com> * providers/postgres/gda-postgres-recordset.c (guess_table_name): Copy the table_name before freeing the struct, not after, to fix an occasional crash. Thanks valgrind. 2004-04-23 Murray Cumming <murrayc@murrayc.com> * libgda/gda-client.c (gda_client_open_connection_from_string): Added documentation about the cnc_string format. 2004-04-22 Robert Davis <rdavis@unico.com> * providers/freetds/gda-freetds-provider.c (gda_freetds_provider_open_connection): use tds_set_client_charset instead of tds_set_charset. 2004-04-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.c (gda_data_model_update_column): fixed c/p typo. * libgda/gda-data-model-array.c (gda_data_model_array_update_row): added implementation of missing virtual method. (gda_data_model_array_class_init): added new virtual method. 2004-04-18 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #139800 * providers/freetds/gda-freetds-provider.c (gda_freetds_execute_cmd): * providers/freetds/gda-freetds-recordset.c (gda_freetds_recordset_new): updated to latest FreeTDS 0.62 API. 2004-04-16 Denis Loginov <dloginov@crl.nmsu.edu> * providers/postgres/gda-postgres-provider.c (gda_postgres_fill_md_data): Fixed the "Not Null?" columns, so that it indeed returns the "Not null" and not its inverse. 2004-04-17 Adam Weinbegrer <adamw@gnome.org> * configure.in: Added en_CA to ALL_LINGUAS. 2004-04-15 Benjamin Otte <in7y118@public.uni-hamburg.de> Fixes #140113 * providers/sqlite/gda-sqlite-provider.c (sql_split): new function to correctly split multiple SQL commands. (process_sql_commands): use the new function instead of g_strsplit. 2004-04-06 Vivien Malerba <malerba@gnome-db.org> * libsql/sql_parser.c: merged Andru's work (hope nothing has been forgotten) 2004-04-05 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.spec.in: s/default/xml. 2004-04-02 Gareth Owen <gowen72@yahoo.com> * configure.in: Added en_GB to ALL_LINGUAS 2004-04-01 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.1.1 2004-04-01 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: fixed some content. 2004-04-01 Leonardo Boshell <p@kapcoweb.com> Fixes #138741 * doc/C/libgda-docs.sgml: fixed Docbook markup. 2004-03-17 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.[ch] (gda_provider_info_free): renamed from gda_config_free_provider_info to match the other GdaProviderInfo-related functions. (gda_provider_info_get_type, gda_config_free_provider_list): renaming. * libgda/gda-client.c (gda_client_open_connection): more renaming. 2004-03-16 Vivien Malerba <malerba@gnome-db.org> * libsql/*: Improved the joins handling (changed the sql_table structure), and added join type (LEFT, RIGHT, FULL). 2004-03-13 Vivien Malerba <malerba@gnome-db.org> * libsql/*: several improvements with a change in the sql_table structure. - added != symbol as WHERE condition - identifiers can now contain an underscore - improved ORDER BY support - improved JOIN support - improved WHERE conditions 2004-03-08 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/libgda.h: * libgda/Makefile.am: don't install gda-export.h nor gda-log.h, those should be internal files only. 2004-03-05 Vivien Malerba <malerba@gnome-db.org> * libsql/*: * incorporated Andrew's latest changes * re-indented the whole code to the same style as libgda 2004-03-05 Vivien Malerba <malerba@gnome-db.org> * libsql/*: * Improved lexer rules for functions and SELECT without a FROM clause * Added extra syntax to specify parameters: between [] after a field, can contain :name, :descr, :type, :isparam, :nullok attributes. * Added strings recognized between double quotes (example: "a good' string"). 2004-03-04 Laurent Sansonetti <lrz@gnome.org> Fixes #132216 * libgda/gda-client.c (gda_client_open_connection_from_string): Reuses existing connections by looking in the opened connections pool. * libgda/gda-client.c (gda_client_open_connection): Fixed a memory leak. Fixes #129560 * libgda/gda-config.c (gda_config_set_string, gda_config_set_int, gda_config_set_float, gda_config_set_boolean): Changes the type of the key if already existing. 2004-03-03 Jon Willeke <willeke@users.sourceforge.net> Fixes #131592 * providers/odbc/gda-odbc-provider.c (process_sql_commands): UTF-8 conversions for SQLExecDirect() and SQLGetData(). 2004-02-28 Vivien Malerba <malerba@gnome-db.org> * libsql/lexer.l: bug fixed * libsql/Makefile.am: make sure sql_parser.h is installed in libgda/sql directory 2004-02-18 Sergey N. Belinsky <sergey_be@mail.ru> * gda-ibmdb2-recordset.c: Fixed size of data. Clean up data after use. * gda-ibmdb2-types.[ch]: Fixed NUMERIC datatype. Message for unsupported datatypes. * libmain.c: Removed unused options. 2004-02-15 Vivien Malerba <malerba@gnome-db.org> * libgda/gda-value.c: bugs fixes in gda_value_compare() 2004-02-09 Tomasz K³oczko <kloczek@pld.org.pl> * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS), AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are substed by default. 2004-02-07 Robert Sedak <robert.sedak@sk.htnet.hr> * configure.in: Added "hr" (Croatian) to ALL_LINGUAS. 2004-01-25 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #132213 * libgda/gda-client.c (gda_client_open_connection): make sure we don't share connections opened with the DONT_SHARE flag. 2004-01-22 Jon Willeke <willeke@users.sourceforge.net> Fixes #132152 * libgda/gda-client.c (gda_client_find_connection): compare get_dsn() to name, rather than cnc_string. 2004-01-24 Paisa Seeluangsawat <paisa@users.sf.net> * libgda/gda-row.[ch]: * libgda/gda-value.[ch]: removed useless const in arguments. 2004-01-15 Nikolai Weibull <ruby-gnome2-devel-en-list@pcppopper.org> * providers/sqlite/gda-sqlite-provider.c (gda_sqlite_provider_open_connection): set the object's private data before executing any command. 2004-01-12 Jon Willeke <willeke@users.sourceforge.net> Fixes #131252 * providers/odbc/utils.c (gda_odbc_emit_error): style fixes. 2004-01-12 Jon Willeke <willeke@users.sourceforge.net> Fixes #131251 * providers/odbc/gda-odbc-provider.c (gda_odbc_provider_open_connection): set ODBC connection to read-only if GdaConnection is set so. 2004-01-10 Jon Willeke <willeke@users.sourceforge.net> Fixes #131046 * providers/odbc/gda-odbc-provider.c (gda_odbc_provider_open_connection): retrieve the DBMS version, not the driver version. 2004-01-10 Jon Willeke <willeke@users.sourceforge.net> Fixes #130838 * providers/odbc/gda-odbc-provider.c (process_sql_commands): changed to get the SQL command as a string. (gda_odbc_provider_execute_command): added support for TABLE commands. 2004-01-10 J.H.M. Dassen (Ray) <jdassen@debian.org> http://bugs.debian.org/226560 * providers/sqlite/gda-sqlite-provider.c: #include <gda-util.h> to have gda_type_to_string declared. This fixes pointer/integer issues on 64-bit architectures, in particular IA64. 2004-01-09 Jon Willeke <willeke@users.sourceforge.net> Fixes #130945 * providers/odbc/gda-odbc-provider.c (process_sql_commands): use correct counter. 2004-01-09 Jon Willeke <willeke@users.sourceforge.net> Fixes #130938 * providers/odbc/gda-odbc-provider.c: added support for NAMESPACES. 2004-01-02 Laurent Sansonetti <lrz@gnome.org> * libgda/gda-util.c (gda_file_save): added O_TRUNC flag. 2003-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-command.c (gda_command_copy): dont use C99. 2003-12-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_get_data_source_list): fixed documentation typo. 2003-12-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-error.[ch] (gda_error_get_number): removed 'const' from function's return type. 2003-12-17 Laurent Sansonetti <lrz@gnome.org> * providers/bdb/gda-bdb.h: Introduced BDB_VERSION macro. * providers/bdb/gda-bdb-provider.c: * providers/bdb/gda-bdb-recordset.c: - Fixed a compilation bug when using BDB < 4.1.24 ; - get_server_version handler uses DB_VERSION_STRING. 2003-12-14 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: disable MySQL provider until we resolve the licensing issues. 2003-12-14 Laurent Sansonetti <lrz@gnome.org> * libgda/gda-connection.c, libgda/gda-data-model.c * libgda/gda-export.c, libgda/gda-value.c: Fixed some typos in the doc. 2003-12-09 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #128933 * libgda/gda-log.[ch] (gda_log_clean_*): removed unimplemented functions. 2003-12-09 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #128929 * libgda/gda-client.h: added missing space in function prototype that confuses pygtk's h2def.py. 2003-12-03 Laurent Sansonetti <lrz@gnome.org> * libgda/gda-data-model.[ch]: - Renamed some methods: gda_data_model_is_editable -> gda_data_model_is_updatable ; gda_data_model_begin_edit -> gda_data_model_begin_update ; gda_data_model_cancel_edit -> gda_data_model_cancel_update ; gda_data_model_end_edit -> gda_data_model_end_update ; gda_data_model_is_editing -> gda_data_model_has_changed. - Renamed some signals: "begin_edit" -> "begin_update" ; "cancel_edit" -> "cancel_update" ; "end_edit" -> "end_update". - Added some methods: gda_data_model_append_column ; gda_data_model_update_column ; gda_data_model_remove_column. - Added some signals: "column_inserted" ; "column_updated" ; "column_removed". * libgda/gda-data-model-array.c: * libgda/gda-data-model-hash.c: * libgda/gda-data-model-list.c: * libgda/gda-select.c: * providers/ldap/gda-ldap-recordset.c: * providers/msql/gda-msql-recordset.c: * providers/mysql/gda-mysql-recordset.c: * providers/oracle/gda-oracle-recordset.c: Follows GdaDataModel changes (updatable interface). 2003-11-30 Laurent Sansonetti <lrz@gnome.org> * libgda/gda-parameter.c (gda_parameter_list_clear): Parameters were not removed from the hash table (just freed). 2003-11-29 Laurent Sansonetti <lrz@gnome.org> * providers/bdb/*.c: Fixes compilation problems with Berkeley DB 4.x. 2003-11-28 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-data-model.c: emit the row_updated, row_inserted, row_removed and changed signals when appropiate. 2003-11-28 Laurent Sansonetti <lrz@gnome.org> * configure.in, providers/Makefile.am, providers/bdb/*: Added Berkeley-DB provider (experimental). * libgda/gda-connection.c (gda_connection_begin_transaction): Fixes a typo in the comment. 2003-11-26 Filip Van Raemdonck <mechanix@debian.org> * providers/mdb/gda-mdb-provider.c (gda_mdb_provider_execute_sql): guard against passing NULL pointers to mdb-tools. 2003-11-24 Rodrigo Moya <rodrigo@gnome-db.org> Released 1.1.0 2003-11-21 Laurent Sansonetti <lrz@gnome.org> * libgda/gda-parameter.c: Implements gda_parameter_set_value(). 2003-11-12 Paisa Seeluangsawat <paisa@users.sf.net> * libgda/gda-blob.c: * libgda/gda-connection.c: * libgda/gda-log.c: * libgda/gda-select.[ch]: * libgda/gda-util.c: trivial fixes to stop some compiler warnings (gcc 3.2.2) * libgda/gda-row.c: (gda_row_new_from_list): updated doc comment. * libgda/gda-data-model.c: updated a doc comment. (gda_data_model_foreach): stop the loop when user function returns FALSE (as advertised in the spec). No longer clones the GdaRows sent to user's callback. 2003-11-12 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-value.c: fixed gda_value_copy for GdaNumeric. Patch by David Marín <david@aspl.es>. 2003-11-11 Laurent Sansonetti <laurent@datarescue.be> * providers/postgres/gda-postgres-recordset.c: Added support for updatable data models. * libgda/gda-command.[ch] (gda_command_get_type, gda_command_copy): * libgda/gda-field.[ch] (gda_field_attributes_get_type): * libgda/gda-parameter.[ch] (gda_parameter_get_type, gda_parameter_copy, gda_parameter_list_get_type, gda_parameter_list_copy): * libgda/gda-quark-list.[ch] (gda_quark_list_get_type, gda_quark_list_copy): * libgda/gda-row.[ch] (gda_row_get_type, gda_row_copy): * libgda/gda-value.[ch] (gda_value_get_gtype): Added missing *_get_type and *_copy functions. 2003-11-03 Jonathan Blandford <jrb@redhat.com> * libsql/lexer.l: #undef L_SET, since it might be defined when enabling the BSD compatibility layer on Linux. 2003-10-27 Laurent Sansonetti <laurent@datarescue.be> * libgda/gda-config.[ch] (gda_config_get_provider_model): New function. 2003-10-26 Laurent Sansonetti <laurent@datarescue.be> * libgda/gda-data-model.c (gda_data_model_to_xml): Implemented the standalone=FALSE case. 2003-10-19 Laurent Sansonetti <laurent@datarescue.be> * doc/C/examples/full_example.c: Fixed compilation issues (was broken). 2003-10-18 Laurent Sansonetti <laurent@datarescue.be> * libgda/*.c: * doc/C/tmpl/*.sgml: Added some missing entries in the API reference, and fixed existing ones. 2003-10-18 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/Makefile.am: added gda-marshal.c to built_files. 2003-10-16 Paisa Seeluangsawat <paisa@users.sf.net> * providers/mysql/gda-mysql-provider.c: - add #include <libgda/gda-util.h> - minor cosmatic fixes to stop some compiler warnings. * providers/mysql/gda-mysql-recordset.c: - fixed possible memory leak by moving gda_row_new() a few line down. - commented out variable "lengths", which doesn't seem to be used anywhere. - handle FIELD_TYPE_BLOB length correctly - distinguish SQL NULL from 0, 0.0, "". - factored the code for mysql data -> GdaValue conversion into fill_gda_value() 2003-10-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.h: added FEATURE_UPDATABLE_CURSOR to GdaConnectionFeature enumeration. 2003-10-14 Murray Cumming <murrayc@usa.net> * libgda/gda-config.[h|c]: Register GdaProviderInfo and GdaDataSourceInfo boxed gtypes, with copy and free functions. Useful for language bindings. 2003-10-12 Paisa Seeluangsawat <paisa@users.sf.net> * libgda/gda-field.h: * libgda/gda-field.c: added default_value field into GdaFieldAttributes. Add/modify related functions. 2003-10-12 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/Makefile.am: fixed enum code generation. 2003-10-11 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/tmpl/gda-blob.sgml: added missing file. 2003-10-11 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #123342 * libgda/gda-client.c (gda_client_close_all_connections): remove connections from the list before closing them. (gda_client_notify_event): only notify events if the connection is in our private list. 2003-10-11 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #121403 * libgda/gda-connection.c (gda_connection_new): duplicate real_username and real_password strings before they are freed. 2003-10-07 Laurent Sansonetti <laurent@datarescue.be> * libgda/gda-quark-list.c: * libgda/gda-quark-list.h: introduced gda_quark_list_clear() + gda_quark_list_add_from_string() takes care of the 'cleanup' boolean parameter. 2003-10-01 Murray Cumming <murrayc@usa.net> * libgda/Makefile.am: Use glib-mkenums to generate the get_type() functions for the libgda enums. The build file stuff is based on the same stuff in pango. 2003-10-01 Laurent Sansonetti <laurent@datarescue.be> * libgda/doc/C/libgda-docs.sgml: fixed some typos and added some information related to the MySQL provider. 2003-09-30 Laurent Sansonetti <laurent@datarescue.be> * libgda/gda-client.h: added missing prototype. 2003-09-29 Christian Neumair <chris@gnome-de.org> * providers/sybase/utils.c: Fixed string (#110449). 2003-09-19 Chris Silles <cas@starfire-programming.net> * configure.in: fixed msql switch check * providers/msql/gda-msql-provider.c: * providers/msql/gda-msql-recordset.c: * providers/msql/gda-msql-recordset.h: Fixed mSQL provider handling of non-query queries. 2003-09-17 Seth Remington <sremington@saberlogic.com> Fixes #117202 * providers/freetds/gda-freetds-provider.[ch]: adapted to API changes in tds_connect. 2003-09-01 Rodrigo Moya <rodrigo@gnome-db.org> * providers/xml/gda-xml-provider.c: killed warnings. (process_sql_commands): added missing implementation. 2003-09-01 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/tmpl/*.sgml: * libgda/gda-parameter.c: * libgda/gda-quark-list.c: added more inline documentation. 2003-08-26 Philippe CHARLIER <p.charlier@chello.be> * libgda/gda-value.c (gda_value_new_from_xml): the type is stored in the "gdatype" property, not "type". * libgda/gda-data-model.c (add_xml_row): fixed typo in call to strcmp(). 2003-08-25 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-database.c (gda_xml_database_new_table_from_node): return NULL if we cannot create the table, not if we can. 2003-08-24 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-client.c: * libgda/gda-value.c: * providers/postgres/gda-postgres-provider.c: * testing/client.c: * testing/postgres-test.c: fixed leaks. Now gda-test doesn't leak when testing mysql, postgrest and default providers. 2003-08-24 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/libgda-docs.sgml: * doc/C/tmpl/gda-blob.sgml: * libgda/gda-connection.c: * libgda/gda-blob.h: added documentation for GdaBlob. * libgda/gda-server-provider.c: * libgda/gda-data-model.c: make them abstract. * testing/postgres-test.c: fixed double free. 2003-08-23 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch] (gda_data_model_add_data_from_xml_node): new function. (gda_data_model_to_xml_node): use "value" instead of "field" as the name for the nodes representing the fields' values, to work the same as gda_value_new_from_xml(). Also, add the "gdatype" property. * libgda/gda-xml-database.c (gda_xml_database_new_table_from_node): implemented missing code. 2003-08-22 Philippe CHARLIER <p.charlier@chello.be> * libgda/gda-xml-database.[ch] (gda_xml_database_set_version): removed (gda_xml_database_get_user_version, gda_xml_databaase_set_user_version): new functions to let applications have a specific version number. (gda_xml_database_save): don't call gda_xml_database_set_version. (gda_xml_database_init, gda_xml_database_finalize): manage the 'user_version private field. 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com> * libgda/gda-blob.c: * libgda/gda-blob.h: removede the 'connection' parameter. The provider should store that as part of the private data in the GdaBlob. Added gda_blob_remove and gda_blob_free_data to allow for blob removal and freeing the data stored by the provider. * libgda/gda-connection.c: * libgda/gda-connection.h: added gda_connection_create_blob and GDA_CONNECTION_FEATURE_BLOBS. * libgda/gda-server-provider.c: * libgda/gda-server-provider.h: added new virtual function create_blob. Providers that support BLOBs should override this. * libgda/gda-value.c: use gda_blob_free_data when clearing a BLOB value. * libgda/libgda.h: include gda-blob.h * providers/postgres/gda-postgres-provider.c: override create_blob and support GDA_CONNECTION_FEATURE_BLOBS. * providers/postgres/gda-postgres-recordset.c: when we get a blob, store the current connection data in its private data. * providers/postgres/gda-postgres.h: added gda_postgres_blob_set_connection and *blob_create declarations. * providers/postgres/utils.c: adapted the blob interface to the new one. Added remove and free_data. A few fixes. * testing/client.c: check for FEATURE_BLOBS. * testing/postgres-test.c: added tests for BLOBs and fixed print_errors. 2003-08-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/Makefile.am: * libgda/gda-blob.c: * libgda/gda-blob.h: * libgda/gda-util.c: * libgda/gda-value.c: * libgda/gda-value.h: * providers/postgres/gda-postgres-provider.c: * providers/postgres/utils.c: added GdaBlob and support for BLOBs in the postgres provider. Patch by Juan-Mariano de Goyeneche (jmseyas@dit.upm.es). 2003-08-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org.com> * providers/mysql/gda-mysql-provider.c: pass the MYSQL pointer to the new recordset. * providers/mysql/gda-mysql-recordset.c: if mysql_res is NULL, it was a non-query: store the number of affected rows. * providers/mysql/gda-mysql-recordset.h: gda_mysql_recordset_new has a new parameter. Added 'affected_rows' field. Fixes bug #119912. 2003-08-13 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.[ch] (gda_config_save_data_source_info): new function. * configure.in: bumped version number. 2003-08-10 Akira TAGOH <tagoh@gnome-db.org> * configure.in: fixed typo to build the freetds backend correctly. 2003-08-06 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.91.0 2003-08-01 Carlos Perelló MarÃn <carlos@pemas.net> * bindings/Makefile.am, bindings/.cvsignore: Removed so we can nuke this directory. * README: Removed teh bindings directory reference. 2003-08-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libsql/sql_parser.h: compilation used to fail in some cases. 2003-07-30 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-database.c (gda_xml_database_to_string): set the VERSION string for the version property, not the name. * libgda/gda-util.c (gda_file_save): added permissions to the open function call. 2003-07-27 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-database.c (gda_xml_database_new_table, gda_xml_database_new_table_from_model, gda_xml_database_new_table_from_node): connect to "changed" signal on the tables. (table_changed_cb): propagate the "changed" signal to the GdaXmlDatabase object. (remove_table_hash): disconnect from data models' signals. (gda_xml_database_finalize): pass extra argument to remove_table_hash. * doc/C/tmpl/gda-xml-database.sgml: * libgda/gda-data-model.c: added some documentation. 2003-07-24 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-value.[ch]: const'ified. Removed some warnings. 2003-07-24 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * lexer.l: * parser.y: * sql_display.c: * sql_parser.c: * sql_parser.h: * sql_tree.c: * sql_tree.h: patch from rodrigo to add initial 'delete' support. 2003-07-21 Juergen "George" Sawinski <jsaw@gmx.net> * configure.in: added missing LDAP_CFLAGS. 2003-07-15 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-select.c (gda_select_run): implemented basic cases... (populate_from_single_table): ...like "select ... from table". 2003-07-11 Frederic Crozat <fcrozat@mandrakesoft.com> * configure.in: Fixes compilation for x86-64 platform 2003-07-06 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #116758 * configure.in: conditionally define BUILD_RUN_TOOL if popt is found. * tools/Makefile.am: build gda-run conditionally. 2003-07-05 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-database.[ch] (gda_xml_database_get_version): (gda_xml_database_set_version): new functions. (gda_xml_database_new_from_uri): get the version number from the "database" XML node. (gda_xml_database_init): initialize "version" field. (gda_xml_database_finalize): free new field. (gda_xml_database_save): set the database version when saving. (gda_xml_database_to_string): added missing properties and nodes. * providers/xml/gda-xml-provider.c (gda_xml_provider_get_server_version): implemented. 2003-07-04 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-batch.[ch]: * libgda/libgda.h: removed GdaBatch class from library. 2003-07-04 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: * providers/Makefile.am: * providers/default/*: * providers/xml/*: renamed default provider to XML. 2003-07-03 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.90.0 2003-06-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch]: keep alphabetical sort. * libgda/gda-connection.h: added GDA_CONNECTION_OPTIONS_DONT_SHARE connection option. * libgda/gda-client.c: added more documentation. (gda_client_open_connection): if GDA_CONNECTION_OPTIONS_DONT_SHARE is specified in the connection options, don't reuse connections. * doc/C/tmpl/gda-client.sgml: * doc/C/tmpl/gda-command.sgml: * doc/C/tmpl/gda-config.sgml: * doc/C/tmpl/gda-connection.sgml: added more documentation. 2003-06-13 Guntupalli Karunakar <karunakar@freedomink.org> * configure.in: Added "ml" in ALL_LINGUAS. 2003-06-12 Adam Williams <adam@morrison-ind.com> * libgda.spec.in: added missing stanzas for MDB and LDAP packages. 2003-06-10 Abel Cheung <maddog@linux.org.hk> * configure.in: Added "zh_TW" to ALL_LINGUAS. 2003-06-09 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: * doc/C/tmpl/gda-report-*.sgml: added missing libgda-report files. 2003-06-08 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.12.1 2003-06-03 David T Hollis <dhollis@davehollis.com> * libgda.spec.in: fixed normal and build requirements. 2003-06-03 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * Oracle Provider - fixed a statement handle leak which caused Oracle to run out of cursors. 2003-05-28 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.12.0 2003-05-28 Danilo Å egan <dsegan@gmx.net> * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-05-26 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-parameter.[ch] (gda_parameter_new_boolean): (gda_parameter_new_double): new functions. * configure.in: upped version numbers. 2003-05-13 Xabier RodrÃguez Calvar <xrcalvar@igalia.com> * doc/C: some changes to make it more solid * libgda/gda-row.*: introduced G_CONST_RETURN in gda_row_get_value() to have the const in the doc but not in the real version * libgda/gda-parameter.*: removed gda_parameter_new(), adding gda_parameter_new_from_value() to make the API more solid and removed some checkings for null because they were not necessary. 2003-05-12 Sergey N. Belinsky <sergey_be@mail.ru> * gda-ibmdb2-provider.c: * gda-ibmdb2-recordset.c: * gda-ibmdb2-types.c: fix for compile problem. 2003-05-10 Danilo Schoeneberg <dj@starfire-programming.net> * configure.in: * providers/Makefile.am: * providers/msql/*: first version of mSQL provider. 2003-05-08 C.J. Collier <cjcollier@colliertech.org> * doc/C/libgda-docs.sgml: removed extra space in hyperlinks, some English corrections, and wrapped shell commands in <PROGRAMLISTING> tags to follow the common style. 2003-04-27 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * Oracle Provider: fixed the recordset returned from get_schema(GDA_CONNECTION_SCHEMA_AGGREGATES) * Fixed some compiler warnings. 2003-04-20 Bodo Pfelzer <Bodo.Pfelzer@epost.de> * configure.in: fixed typo in MySQL library detection. 2003-04-20 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * Oracle Provider: clean up type handling and add support for GDA_VALUE_TYPE_TIMESTAMP. 2003-04-19 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * libgda/providers/oracle/gda-oracle-provider.c: Fixed a bug where the index data was not being correctly retreived including updating the get_oracle_index_data to take the name of the table owner for which it is to find index data. 2003-04-18 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * Improved support for types and fixed bug which caused the Null? column to always show "Yes" regardless of whether nulls were actually allowed. 2003-04-18 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * Oracle Provider - changed error handling - gda_oracle_check_result is now a macro rather than a function and therefore has access to the compiler __FILE__ and __LINE__ macros which are then included as part of the source or the error message. 2003-04-18 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * libgda/providers/oracle/gda-oracle-provider.c: Fixed a bug in gda_oracle_provider_get_schema - previously a number of calls were made to the function get_oracle_objects which normally returns a GDA data model but which could return NULL, then an attempt was made to set of the first column of the retruned data model without checking for NULL. Now the title is set within get_oracle_objects which does check for NULL. 2003-04-18 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * libgda/providers/oracle/gda-oracle-provider.c: Removed debugging messages and added local variable declaration for Emacs to help keep to the coding style. 2003-04-18 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * libgda/providers/oracle/gda-oracle-provider.c: Fixed the handling of usernames and password so that if the username/password supplied at connection time is blank and so is the username/password obtained from the DSN the provider will try to connect to Oracle with a blank username/password rather than crash from trying to dereference a NULL pointer. 2003-04-16 Rodrigo Moya <rodrigo@gnome-db.org> * libsql/Makefile.am: don't use the same source files for the library and the test program, link against the library instead. 2003-04-12 David T Hollis <dhollis@davehollis.com> * libgda.spec.in: made it work on RH9. 2003-03-30 Mike Wingert <wingert.3@osu.edu> * providers/sybase/*: fix for compile problem, related to changes in gda_row_new. 2003-03-27 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: fixed typo in FreeTDS CFLAGS. 2003-03-26 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: check for ODBC header files also. 2003-03-17 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: small fix by David Martin Carreño (david@aspl.es). 2003-03-16 Roozbeh Pournader <roozbeh@sharif.edu> * configure.in: Added "fa" to ALL_LINGUAS. 2003-03-12 Rodrigo Moya <rodrigo@gnome-db.org> * providers/xbase/libmain.c (plugin_get_*): made name shorter and improved description. * providers/sybase/Makefile.am: added missing header file. 2003-03-12 David T Hollis <dhollis@davehollis.com> * libgda.spec.in: Fix --with-tds & --without-tds to match what configure wants 2003-03-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-connection.c: check that xaction argument is a GdaTransaction in begin/commit/rollback. 2003-03-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/utils.c: fixes to timestamp parsing. 2003-03-09 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.11.0 2003-03-09 Akira Tagoh <tagoh@gnome-db.org> * configure.in: * providers/freetds/*: made it work with latest (0.61) FreeTDS. 2003-03-03 Rodrigo Moya <rodrigo@gnome-db.org> * report/Makefile.am: added DTD_FILES to EXTRA_DIST. 2003-02-23 Santi Camps <santi@gnome-db.org> * libgda/report/Makefile.am: new dtd added * libgda/report/gda-report-result.dtd: new dtd for report results (after execution and before format) * libgda/report/libgda-report/Makefile.am: * libgda/report/libgda-report/gda-report.h: new sources added * libgda/report/libgda-report/gda-report-document.[ch]: DTD parameter optional * libgda/report/libgda-report/gda-report-types.[ch]: new read methods * libgda/report/libgda-report/gda-report-item.[ch]: * libgda/report/libgda-report/gda-report-item-detail.[ch]: added methods to retrieve childs sequentially * libgda/report/libgda-report/gda-report-result.[ch]: To obtain a report result from a report document (not working, just beginning) 2003-02-19 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * Add minimal support for Oracle 9i. * configure.in: Changed to use the shared OCI client library. * providers/oracle/gda-oracle-*.c: worked around what appears to be a bug in pre-fetching in Oracle 9.2.0.2.0 2003-02-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: applied fix to get the correct password (thanks to david@aspl.es). 2003-02-11 Sergey N. Belinsky <sergey_be@mail.ru> * providers/ibmdb2/gda-ibmdb2-types.[ch]: added support of BIGINT, REAL, DOUBLE, LONGVARCHAR, DATE, TIME and TIMESTAMP datatypes. * providers/ibmdb2/gda-ibmdb2-recordset.[ch]: fix bug with NULL return code in gda_ibmdb2_recordset_new. * providers/ibmdb2/gda-ibmdb2-provider.[ch]: added support of GDA_COMMAND_OPTION_STOP_ON_ERRORS in queries. * providers/ibmdb2/utils.c: fix bug with zero errors in list. * providers/ibmdb2/*.[ch]: in all sources of IBM DB2 provider removed C++ like comments (#105037). * testing/ibmdb2-test.[ch]: added some tests for IBM DB2 provider. 2003-02-08 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * providers/oracle/gda-oracle-provider.[ch]: Introduced a default namespace for tables in which all the tables from ALL_TABLES are included, i.e. all those the user has privilege for, but when names clash the table in the user's own schema masks the other table(s). Uses a binary tree cache of table owners. 2003-02-06 Christian Neumair <chris@gnome-de.org> * providers/ldap/.cvsignore: Added. * providers/oracle/gda-oracle-provider.c: Fixed typo. 2003-02-03 Sergey N. Belinsky <sergey_be@mail.ru> * providers/ibmdb2/*: added support for transactions, and schemas for aggregates, users, views, database, procedures, types, triggers and indexes. Added recordset class for IBM DB2. 2003-02-04 Akira TAGOH <tagoh@gnome-db.org> * don't use C++ comment in C sources/headers. it breaks the compilation with -ansi option. (#105037) 2003-02-01 Steve Fosdick <gnomedb@pelvoux.demon.co.uk> * providers/oracle/gda-oracle-provider.c (gda_oracle_init_md_recset, gda_oracle_fill_md_data): fixed field descriptions. 2003-01-31 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-client.c: unref the weak references to avoid hash table corruption when unref on the provider (which ends up removing the providers in the hash table while inside another g_hash_table_foreach). 2003-01-31 Steve Fosdick <fozzy@pelvoux.demon.co.uk> * providers/oracle/utils.c (gda_oracle_set_value): remove trailing spaces from strings read from the database. 2003-01-28 Yanko Kaneti <yaneti@declera.com> * libgda.spec.in: added --without flags. 2003-01-28 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.spec.in: removed idl directory. 2003-01-27 Rodrigo Moya <rodrigo@gnome-db.org> Released 0,10.0 2003-01-28 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/odbc/gda-odbc-provider.c: * providers/odbc/gda-odbc-recordset.c: * providers/odbc/gda-odbc.h: * providers/odbc/utils.c: removed config.h. 2003-01-27 Santi Camps <santi@gnome-db.org> * libgda/report/libgda-report/Makefile.am: * libgda/report/libgda-report/gda-report.h: new sources added * libgda/report/testing/gda-report-test.c: some new tests added * libgda/report/libgda-report/gda-report-item.[ch]: new generical functions needed to manage the internal structure * libgda/report/libgda-report/gda-report-types.c: new constant ITEM_SQLQUERY_NAME * libgda/report/libgda-report/gda-report-item-report.c: allow set/get sqlqueries, detail and repfields * libgda/report/libgda-report/gda-report-item-pagefooter.[ch]: * libgda/report/libgda-report/gda-report-item-pageheader.[ch]: * libgda/report/libgda-report/gda-report-item-reportfooter.[ch]: * libgda/report/libgda-report/gda-report-item-reportheader.[ch]: allow to work with repfields * libgda/report/libgda-report/gda-report-item-sqlquery.[ch]: * libgda/report/libgda-report/gda-report-item-detail.[ch]: * libgda/report/libgda-report/gda-report-item-repfield.[ch]: All attributes implemented 2003-01-26 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.c (gda_value_stringify): use a fixed number of decimal positions for float/double numbers. 2003-01-26 Christian Neumair <chris@gnome-de.org> * providers/default/libmain.c (plugin_get_name): Marked "Default" for translation. 2003-01-26 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.h: added new event types. * libgda/gda-client.c (gda_client_notify_error_event): (gda_client_notify_connection_opened_event): (gda_client_notify_connection_closed_event): (gda_client_notify_transaction_started_event): (gda_client_notify_transaction_committed_event): (gda_client_notify_transaction_cancelled_event): new functions. (connection_error_cb, gda_client_open_connection): use the new gda_client_notify_* functions to notify events. * libgda/gda-connection.c (gda_connection_finalize, gda_connection_new, gda_connection_begin_transaction, gda_connection_commit_transaction, gda_connection_rollback_transaction): use the new gda_client_notify_* functions to notify events. 2003-01-23 Santi Camps <santi@gnome-db.org> * libgda/report/libgda-report/Makefile.am: * libgda/report/libgda-report/gda-report.h: new sources added * libgda/report/testing/gda-report-test.c: some new tests added * libgda/report/libgda-report/gda-report-item.[ch]: new generical functions needed to manage the internal structure * libgda/report/libgda-report/gda-report-item-report.c: not allow child elements if parent element doesn't belong to a report-document * libgda/report/gda-report.dtd.in: added suport for multiple queries, and for both xql and sql queries * libgda/report/testing/valid-example.xml: * libgda/report/testing/non-valid-example.xml: * libgda/report/gda-report-example.xml: modified due to changes in DTD * libgda/report/libgda-report/gda-report-item-pageheader.[ch]: * libgda/report/libgda-report/gda-report-item-pagefooter.[ch]: * libgda/report/libgda-report/gda-report-item-repotheader.[ch]: * libgda/report/libgda-report/gda-report-item-repotfooter.[ch]: functions to allow work with reportelements and _remove function * libgda/report/libgda-report/gda-report-item-label.[ch]: All attributes implemented 2003-01-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch] (gda_value_new_timestamp_from_timet): new function. 2003-01-20 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: require MDB's SQL interface. * libgda/gda-field.[ch] (gda_field_attributes_get_position, gda_field_attributes_set_position): new functions. (gda_field_attributes_copy): copy the new structure's member. * libgda/gda-table.c (gda_table_add_field): set table name and position on the field attributes. (gda_table_describe_column): added missing code. * providers/mdb/gda-mdb.h: included mdbsql.h. * providers/mdb/libmain.c (g_module_check_init, g_module_unload): added GModule load/unload functions, and initialize/cleanup MDB's SQL interface on them. * providers/mdb/gda-mdb-provider.[ch] (gda_mdb_provider_execute_sql): new function for executing SQL commands. (gda_mdb_provider_execute_command): implemented. 2003-01-19 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/postgres-test.c: fixed child table name. 2003-01-19 Santi Camps <santi@gnome-db.org> * libgda/report/testing/gda-report-test.c: some new tests added * libgda/report/libgda-report/Makefile.am: new sources added * libgda/report/libgda-report/gda-report.h: new sources added * libgda/report/libgda-report/gda-report-item-report.c: Set and get pageheaders and pagefooters * libgda/report/libgda-report/gda-report-item-report.c: * libgda/report/libgda-report/gda-report-item-reportheader.c: * libgda/report/libgda-report/gda-report-item-reportfooter.c: * libgda/report/libgda-report/gda-report-types.c: All constants for each item name moved to gda-report-types.c * libgda/report/libgda-report/gda-report-item-pageheader.[ch]: All attributes implemented * libgda/report/libgda-report/gda-report-item-pagefooter.[ch]: All attributes implemented 2003-01-19 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-client.c: use g_hash_table_foreach_remove instead of removing the hash entry inside remove_provider_in_hash (tracked down with Rodrigo). * libgda/gda-connection.c: * providers/freetds/gda-freetds-provider.c: * providers/mysql/gda-mysql-provider.c: * providers/mysql/libmain.c: * providers/oracle/gda-oracle-provider.c: * providers/oracle/libmain.c: * providers/sybase/gda-sybase-provider.c: unified the parameter name for the user (USER instead of USERNAME). * providers/postgres/gda-postgres-provider.c: 'username' and 'password' arguments take precedence over the ones in the provider configuration. 2003-01-18 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #102024 * libgda/gda-value.[ch]: added money type. (gda_value_new_money, gda_value_get_money, gda_value_set_money): new functions. (set_from_string, gda_value_is_number, gda_value_copyi, gda_value_set_from_value, gda_value_stringify, gda_value_compare): take the new type into account. 2003-01-18 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #95959 * providers/default/libmain.c: * providers/firebird/libmain.c: * providers/freetds/libmain.c: * providers/ibmdb2/libmain.c: * providers/ldap/libmain.c: * providers/mdb/libmain.c: * providers/mysql/libmain.c: * providers/odbc/libmain.c: * providers/oracle/libmain.c: * providers/postgres/libmain.c: * providers/sqlite/libmain.c: * providers/sybase/libmain.c: * providers/xbase/libmain.c: removed GDA/libgda from user-visible strings. 2003-01-18 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/libmain.c (plugin_get_connection_params): added USE_SSL parameter for the MySQL provider. Also, removed unused FLAGS parameter. * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_open_connection): added support for SSL connections and fixed #93925. 2003-01-18 Santi Camps <santi@gnome-db.org> * configure.in: added libgda/report/testing/Makefile * report/Makefile.am: added subdir testing * report/*: * report/libgda-report/*: * report/testing/*: Changed my contact e-mail to santi@gnome-db.org * report/testing/gda-report-test.c: some new tests * report/libgda-report/Makefile.am: new sources added * report/libgda-report/gda-report.h: new sources added * report/libgda-report/gda-report-item.[ch]: new functions to add sibling items and to replace items * report/libgda-report/gda-report-item-report.c: Set and get reportheader and reportfooter * report/libgda-report/gda-report-item-reportheader.[ch]: All attributes implemented * report/libgda-report/gda-report-item-reportfooter.[ch]: All attributes implemented 2003-01-17 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model-array.c (gda_data_model_array_append_row): passed the correct row number to gda_data_model_row_inserted. 2003-01-17 Nick Gorham <nick@easysoft.com> * providers/odbc/*: updated version of the ODBC provider. 2003-01-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-parameter.[ch] (gda_parameter_new_gobject): new function. * libgda/gda-client.h: updated argument names for events. Removed "error" signal, now obsoleted by "event_notification". * libgda/gda-client.c (connection_error_cb): pass a GdaError object as the parameter for the GDA_CLIENT_EVENT_ERROR event. Don't emit "error" signal. (gda_client_open_connection): no parameters for CONNECTION_OPENED event. (gda_client_class_init): don't create "error" signal. * libgda/gda-connection.c (gda_connection_finalize, gda_connection_new): no parameters for CONNECTION_OPENED/CONNECTION_CLOSED events. . 2003-01-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.h: added GDA_VALUE_TYPE_GOBJECT type. * libgda/gda-value.c (gda_value_new_gobject, gda_value_get_gobject, gda_value_set_gobject): new functions. (clear_value, gda_value_copy, gda_value_set_from_value, gda_value_stringify, gda_value_compare): take into account the new type. * providers/xbase/gda-xbase-database.cpp: fixed xbase header file. 2003-01-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.c (gda_data_model_to_xml_node): added the model data to the returned XML node. 2003-01-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-database.[ch] (gda_xml_database_to_string): new function. * libgda/gda-data-model.c (gda_data_model_to_xml): implemented (only the standalone=TRUE case). * doc/C/*: new documentation added. 2003-01-16 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * configure.in: removed config.h. * libgda/gda-batch.c: * libgda/gda-client.c: * libgda/gda-config.c: * libgda/gda-connection.c: * libgda/gda-error.c: * libgda/gda-export.c: * libgda/gda-init.c: * libgda/gda-log.c: * libgda/gda-server-provider.c: * libgda/gda-table.c: * libgda/gda-value.c: * libgda/gda-xml-database.c: * providers/default/gda-default-provider.c: * providers/default/gda-default.h: * providers/firebird/gda-firebird-provider.c: * providers/freetds/gda-freetds-message.c: * providers/freetds/gda-freetds-message.h: * providers/freetds/gda-freetds-provider.c: * providers/freetds/gda-freetds-provider.h: * providers/freetds/gda-freetds-recordset.c: * providers/freetds/gda-freetds-types.c: * providers/freetds/gda-freetds-types.h: * providers/freetds/gda-freetds.h: * providers/freetds/gda-tds-schemas.h: * providers/freetds/utils.c: * providers/ibmdb2/gda-ibmdb2-provider.c: * providers/ibmdb2/gda-ibmdb2.h: * providers/ibmdb2/utils.c: * providers/ldap/gda-ldap-provider.c: * providers/ldap/gda-ldap-recordset.c: * providers/ldap/gda-ldap.h: * providers/mdb/gda-mdb-provider.c: * providers/mdb/gda-mdb-table.c: * providers/mdb/gda-mdb.h: * providers/mysql/gda-mysql-provider.c: * providers/mysql/gda-mysql-recordset.c: * providers/mysql/gda-mysql.h: * providers/odbc/gda-odbc.h: * providers/oracle/gda-oracle-provider.c: * providers/oracle/gda-oracle-recordset.c: * providers/oracle/gda-oracle.h: * providers/oracle/utils.c: * providers/postgres/gda-postgres-provider.c: * providers/postgres/gda-postgres-recordset.c: * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: * providers/sqlite/gda-sqlite-provider.c: * providers/sqlite/gda-sqlite-recordset.c: * providers/sqlite/utils.c: * providers/sybase/gda-sybase-provider.c: * providers/sybase/gda-sybase-provider.h: * providers/sybase/gda-sybase-recordset.c: * providers/sybase/gda-sybase-schemas.h: * providers/sybase/gda-sybase-types.c: * providers/sybase/gda-sybase-types.h: * providers/sybase/gda-sybase.h: * providers/sybase/main.c: * providers/sybase/utils.c: * providers/xbase/gda-xbase-provider.c: * report/libgda-report/gda-report-document.c: * report/libgda-report/gda-report-item-report.c: * report/libgda-report/gda-report-item-reportheader.c: * report/libgda-report/gda-report-item.c: * report/libgda-report/gda-report-types.c: * report/libgda-report/gda-report-valid.c: * testing/client.c: * testing/config.c: * testing/gda-test.c: * tools/gda-run.c: removed config.h. * tools/Makefile.am: * providers/default/Makefile.am: * report/testing/Makefile.am: * testing/Makefile.am: * providers/oracle/Makefile.am: * providers/ldap/Makefile.am: $(top_srcdir) and $(top_buildir) are now teh first ones in INCLUDE. 2003-01-15 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (gda_client_class_init): use G_TYPE_INT instead of G_TYPE_ENUM. * providers/mdb/gda-mdb-provider.c (gda_mdb_provider_begin_transaction, gda_mdb_provider_commit_transaction, gda_mdb_provider_rollback_transaction): call add_error_string instead of add_error. * providers/ldap/gda-ldap-provider.c (get_ldap_tables): return the correct number of columns for the TABLES schema. 2003-01-15 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-marshal.list: added new marshal function. * libgda/gda-client.[ch]: added GdaClientEvent enum type. (gda_client_notify_event): new function. (gda_client_class_init): added "event_notification" signal. (gda_client_open_connection): added notification of events. (emit_client_error): use connection_error_cb. (connection_error_cb): notify ERROR action (to replace the "error" signal in GdaClient soon). * libgda/gda-connection.c (gda_connection_finalize, gda_connection_new): added notification of events. 2003-01-15 German Poo-Caaman~o <gpoo@ubiobio.cl> * configure.in: Added LDAP files check. * providers/Makefile.am: Added conditional LDAP build * providers/ldap: * providers/ldap/gda-ldap.h: * providers/ldap/gda-ldap-provider.[ch]: * providers/ldap/gda-ldap-recordset.[ch]: * providers/ldap/libmain.c: * providers/ldap/utils.c: Added LDAP provider. Currently supports open_connection, close_connection, providers_supports, get_database, get_schema, get_version, get_server_version. LDAP doesn't support transation, but begin_transaction, rollback_transaction and commit_transaction are implemented in a simple way. 2003-01-15 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-log.c: use syslog for log messages. * providers/mdb/gda-mdb-provider.c (gda_mdb_provider_get_database): implemented. (gda_mdb_provider_begin_transaction, gda_mdb_provider_commit_transaction, gda_mdb_provider_rollback_transaction): added error about transactions not being supported. (gda_mdb_provider_supports): added more features we support. (get_mdb_databases): implemented DATABASES schema. (get_mdb_fields): implemented FIELDS schema. 2003-01-13 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-client.c: don't unref the providers twice. Fixed with Rodrigo's help. 2003-01-13 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-log.c (gda_log_error, gda_log_message): use g_strdup_printf instead of vprintf. 2003-01-13 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: * providers/postgres/gda-postgres-recordset.c: * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: added support for 'bytea' type fields as GDA_VALUE_TYPE_BINARY. * testing/postgres-test.c: added new 'bytea' field to test and display errors when some statement fails. 2003-01-10 Santi Camps <santi@gnome-db.org> * libgda/report/Makefile.am: install gda-report.dtd to \$(datadir)/libgda/xml instead of \$(datadir)/libgda/dtd * libgda/report/gda-report-example.xml: added a sql query to be well formed against the .dtd * libgda/report/gda-report.dtd.in: some little changes to simplify the use of libxml * libgda/report/testing/*: a simple program to make some tests * libgda/report/libgda-report/Makefile.am: some new files added * libgda/report/libgda-report/gda-report-document.[ch]: changed. Now it manages the report as a document, but not the root element "report" * libgda/report/libgda-report/gda-report-types.h: most of types removed, and now validated against the .dtd * libgda/report/libgda-report/gda-report.h: some new files added * libgda/report/libgda-report/gda-report-item.[ch]: implemented a generic item of the report. Each element of the report will inherit from it * libgda/report/libgda-report/gda-report-valid.[ch]: implemented some validations against the .dtd * libgda/report/libgda-report/gda-report-item-report.[ch]: implemented the report root element "report" * libgda/report/libgda-report/gda-report-item-reportheader.[ch]: implemented the report item "reportheader" 2003-01-10 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mdb/gda-mdb-provider.c (get_mdb_procedures): implemented GDA_CONNECTION_SCHEMA_PROCEDURES. (gda_mdb_provider_open_connection): read the all catalogs. (gda_mdb_provider_get_server_version): adapted to mdb-tools CVS. 2003-01-09 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #87321 * libgda/gda-row.[ch] (gda_row_new, gda_row_new_from_list): added a #GdaDataModel argument, so that implementations can associate the GdaRow with the GdaDataModel that contains it. * libgda/gda-data-model.c (gda_data_model_foreach): * libgda/gda-data-model-array.c (gda_data_model_array_append_row): * libgda/gda-data-model-hash.c (gda_data_model_hash_append_row): * providers/freetds/gda-freetds-recordset.c (gda_freetds_get_current_row): * providers/mysql/gda-mysql-recordset.c (fetch_row, gda_mysql_recordset_append_row): * providers/oracle/gda-oracle-recordset.c (fetch_row, gda_oracle_recordset_append_row): * providers/postgres/gda-postgres-recordset.c (get_row): * providers/sqlite/gda-sqlite-recordset.c (get_row): adapted to changes in gda_row_new. 2003-01-09 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_begin_transaction): (gda_mysql_provider_commit_transaction): (gda_mysql_provider_rollback_transaction): don't allow transactions in read-only connections. * providers/oracle/gda-oracle-provider.c (gda_oracle_provider_begin_transaction): (gda_oracle_provider_commit_transaction): (gda_oracle_provider_rollback_transaction): ditto. * providers/sqlite/gda-sqlite-provider.c (gda_sqlite_provider_begin_transaction): (gda_sqlite_provider_commit_transaction): (gda_sqlite_provider_rollback_transaction): ditto. 2003-01-09 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #78847 * libgda/gda-connection.c (gda_connection_get_options): added missing function. * providers/mysql/gda-mysql-provider.c (process_sql_commands): added ugly hack to avoid execution of modification commands on read-only connections. 2003-01-09 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (gda_client_open_connection): made all GModule's we load resident, to avoid registration problems with types defined in them. (provider_weak_cb): added weak reference callback for controlling the lifetime of all the providers we load. 2003-01-06 Holger Thon <holger.thon@gnome-db.org> * configure.in: freetds include fix for redhat * providers/freetds/gda-freetds-provider.[ch]: server id renamed 2003-01-04 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/Makefile.am: added gda-config.5. * tools/gda-config.5: manual page for configuration file. 2003-01-02 David Hollis <dhollis@davehollis.com> * libgda.spec.in: added build requirements for gda-sqlite and man page for gda-config-tool. 2002-12-29 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: * acconfig.h: s/INTERBASE/FIREBIRD. * providers/interbase/*: moved... * providers/firebird/*: ...to here, since we will be supporting FireBird, the community-based version of Interbase. 2002-12-28 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.c (gda_data_model_describe_column): don't call gda_data_model_get_column_title, to avoid circular calls between the 2 functions. Should fix #102131. * libgda/gda-table.[ch] (gda_table_get_name, gda_table_set_name): new functions. * providers/mdb/gda-mdb-table.[ch]: added implementation of data data models based on the tables from the MdbHandle structure. * providers/mdb/gda-mdb-provider.c (get_mdb_tables): use correct value types for schema data model. * providers/mdb/util.c (gda_mdb_type_to_gda): new function. 2002-12-27 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mdb/gda-mdb-provider.c (gda_mdb_provider_supports): added implemention for provider method. 2002-12-27 Vivien Malerba <malerba@gnome-db.org> * providers/postgres/gda-postgres-provider.c: merged a patch provided by Santi Camps for bug #101642 2002-12-26 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mdb/gda-mdb-provider.c (get_mdb_types): implemented TYPES schema. 2002-12-26 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mdb/gda-mdb-provider.c (gda_mdb_provider_get_database, gda_mdb_provider_change_database, gda_mdb_provider_create_database, gda_mdb_provider_drop_database): added missing methods. (get_mdb_tables): included all missing schema information. * libgda/gda-table.c: fixed typo in PARENT_TYPE #define (now really subclassing GdaDataModelArray, and not GdaDataModel. 2002-12-23 Rodrigo Moya <rodrigo@gnome-db.org> * providers/xbase/gda-xbase-provider.c (gda_xbase_provider_open_connection): added the connection to the hash table of databases, and added code to read all .mdb files in the specified directory. 2002-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * testing/client.c (open_connection): added missing schemas. 2002-12-20 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model-hash.c (gda_data_model_hash_append_row, gda_data_model_hash_insert_row): emit more fine-grained modification signals. 2002-12-19 Holger Thon <holger.thon@gnome-db.org> * providers/sybase/gda-sybase{.h,-schemas.h}: separated schemas from freetds provider * providers/freetds/gda-freetds-provider.[ch]: fixed charset setting, implemented get_database (hoping mssql has the same builtin function) * providers/freetds/gda-tds-schemas.h: Fixed attribute types of schema queries, though this did not fix bug #101353 2002-12-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.[ch] (gda_row_get_number, gda_row_set_number): new functions. * libgda/gda-data-model.[ch]: added "row_inserted", "row_removed" and "row_updated" signals. (gda_data_model_row_inserted): (gda_data_model_row_updated): (gda_data_model_row_removed): new functions to emit the new signals. * libgda/gda-data-model-array.c (gda_data_model_array_append_row, gda_data_model_remove_row): emit more fine-grained modification signals. * libgda/gda-data-model-list.c (gda_data_model_list_init): connect to signals on the internal data model. (proxy_changed_cb, proxy_row_inserted_cb, proxy_row_updated_cb, proxy_row_removed_cb): callbacks for proxying the internal data model's signals. 2002-12-18 Vivien Malerba <malerba@gnome-db.org> * providers/postgres/libmain.c: added a connection parameter to specify a "search_path" (which is a list of Postgres's 7.3 schemas separated by a comma where database objects can be found). This parameter has no effect when connecting to postgres versions prior to 7.3. * providers/postgres/gda-postgres-provider.c: implemented most of the schemas for postgres 7.3 (the only remaining is for the references). * providers/postgres/gda-postgres-provider.h: added two fields to the private structure to hold strings of data types that are considered to be Postgres internal only (one string for plain data type names and one for the OIDs versions). 2002-12-16 Christian Neumair <chris@gnome-de.org> * providers/sybase/gda-sybase-provider.c: Fixed typo. 2002-12-16 Rodrigo Moya <rodrigo@gnome-db.org> Should fix #101046 * providers/oracle/gda-oracle-provider.c (get_oracle_tables): use double quotes instead of single quotes for aliases in SELECT command. 2002-12-16 Holger Thon <holger.thon@gnome-db.org> Fixes translation bugs: #101084, #101085, #101087, #101088 * providers/sybase/gda-sybase-{provider,recordset}.c, providers/sybase/utils.c: gettext fixes 2002-12-15 Vivien Malerba <malerba@gnome-db.org> * providers/postgres/gda-postgres-provider.c: implemented the tables schema list for Postgres 7.3 and started the aggregates 2002-12-15 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.h: added SCHEMA_LANGUAGES to GdaConnectionSchema enumeration. 2002-12-15 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #101085 * providers/sybase/gda-sybase-provider.c (gda_sybase_provider_get_database): fixed typo. 2002-12-15 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #101084 * providers/sybase/gda-sybase-provider.c (gda_sybase_execute_cmd): don't mark function names for translation. 2002-12-13 Vivien Malerba <malerba@gnome-db.org> * libgda/gda-value.c: corrected a localization bug in the gda_value_to_xml () function. * providers/postgres/gda-postgres-provider.c: started to implement the changes to handle the Postgres 7.3 "schemas" features. * libgda/gda-connection.h: added a new feature enum (GDA_CONNECTION_FEATURE_NAMESPACES) and a new schemas enum (GDA_CONNECTION_SCHEMA_NAMESPACES). * doc/C/libgda-docs.sgml: updated the documentation for the "namespaces" (Postgres's 7.3 new schemas feature) 2002-12-13 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #101118 * configure.in: * Makefile.am: removed IDL dir from the build. 2002-12-10 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #97669 (Oracle part) * gda-oracle-connection.c (get_oracle_objects): added a 'nargs' argument to get the number of fields that are expected to be returned in the data model, so that we always return the correct number (very temporary fix until we really implement all schemas). (gda_oracle_provider_get_schema): use new argument in get_oracle_objects(). 2002-12-10 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-tds-{schemas.h,types.c}: * providers/freetds/gda-freetds-provider.[ch]: fixed types schema, get_server_version * providers/freetds/gda-freetds-recordset.c: fixed datamodel return for queries without result * testing/freetds-test.c: activated freetds provider checks again * providers/sybase/gda-sybase-provider.c: null-length password fix 2002-12-09 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-tds-schemas.h: corrected users schema * providers/sybase/gda-sybase-provider.[ch]: finished basic connection code and schema implementation * providers/sybase/gda-sybase-types.[ch]: type conversion added * providers/sybase/gda-sybase-recordset.[ch]: implementation of proceeding row results * providers/sybase/utils.c, providers/sybase/gda-sybase.h: added logging/error help functions * providers/sybase/Makefile.am: commit of scheduled sybase provider * testing/sybase-test.[ch], testing/Makefile.am, testing/client.c: Added sybase provider tests 2002-11-28 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-init.c (gda_init): removed debug messages. 2002-11-25 Rodrigo Moya <rodrigo@gnome-db.org> * providers/xbase/gda-xbase-provider.[ch]: implementation of the GdaServerProvider-based class for the XBase provider. * providers/xbase/gda-xbase-database.[ch]: implementation of DBF file access. * providers/libmain.c: GModule functions for provider. * providers/xbase/Makefile.am: setup for new xbase provider. * providers/Makefile.am: added xbase directory to SUBDIRS. * configure.in: added providers/xbase directory and test for XBase headers and libraries. 2002-11-12 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #96810 * providers/oracle/gda-oracle-provider.c (get_oracle_tables): added missing commas to SQL command. 2002-11-12 Rodrigo Moya <rodrigo@gnome-db.org> * data/Makefile.am: EXTRA_DIST XML data. 2002-11-09 Rodrigo Moya <rodrigo@gnome-db.org> * data/Makefile.am: EXTRA_DIST the config file. 2002-11-09 Santi Camps <santicamps@wanadoo.es> * data/Makefile.am: install XML files. 2002-11-08 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #97997 * libgda.spec.in: removed obsolete requirements. 2002-11-08 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: save/restore previous memory management functions in libxml. 2002-11-07 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: (parse_config_file): setup libxml2 memory functions. Ignore other sections than '/apps/libgda/Datasources' (they are not written again to the file). Don't add empty sections. (gda_config_remove_key): when removing a key, remove also the section if it gets empty. 2002-11-07 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/libgda-docs.sgml: fixed tutorial example. Thanks to calvaris and others for pointing this out. * libgda/gda-row.c: added comment to the documentation of gda_row_get_value. 2002-11-07 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-client.c: check that provider is not null before doing the lookup. 2002-11-05 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: avoid "no DTD" message from libxml. 2002-11-05 Holger Thon <holger.thon@gnome-db.org> * configure.in: Added check for sybase OCli in OCS subdir * providers/sybase/libmain.c: added LOCALE parameter * providers/sybase/gda-sybase-provider.c: added provider_new, shortened open_connection by gda_sybase_connection_data_free, added LOCALE parameter, added debug messages, finished open_connection * providers/sybase/gda-sybase.h, providers/sybase/utils.c: added ocli message callbacks for displaying errors, fixed sybase_debug_msg() * providers/sybase/gda-sybase-provider.h: added CS_GDA_VERSION (define for latest detectable cs version) * testing/client.c(test_client): fixed connection to be opened with password of GdaDataSourceInfo instead of empty pwd ("") 2002-11-01 Cleber Rodrigues <cleber@gnome-db.org> * providers/mysql/gda-mysql-provider.c: added missing mysql_init() on the initialization of the connection structure. 2002-11-01 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.c: setting datamodel column titles of schemas moved to gda-tds-schemas.h * providers/freetds/gda-tds-schemas.h: started making schemas compatible with mergeant again 2002-10-30 Holger Thon <holger.thon@gnome-db.org> * configure.in: added library collision check against freetds ct, added lookup for ase 12.5 sybase dir, added SYBASE_DIR variable * providers/sybase/Makefile.am: removed gda-tds-schemas.h * providers/sybase/gda-sybase-provider.c: added dummy provider functions * providers/sybase/gda-sybase.h, providers/sybase/utils.c: added sybase_debug_msg() * providers/freetds/*.{c,h}: fixed include of config.h depend on HAVE_CONFIG_H define * providers/freetds/gda-tds-schemas.h: added query for server version 2002-10-29 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.[ch] (gda_connection_new): added GdaConnectionOptions argument. (gda_connection_get_options): new function. * libgda/gda-server-provider.[ch] (gda_server_provider_open_connection): * libgda/gda-client.[ch] (gda_client_open_connection, gda_client_open_connection_from_string): added GdaConnectionOptions argument. * testing/client.c (open_connection): adapted to changes in gda_client_open_connection. * configure.in: changed sonum. 2002-10-29 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #96810 * providers/oracle/gda-oracle-provider.c (get_oracle_tables): separated retrieval of table schema, and added all missing fields. * providers/mysql/gda-mysql-provider.c (get_mysql_tables): set column titles on the data model being created. 2002-10-29 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.c (get_schema): users schema fixed * providers/sybase/Makefile.am, providers/sybase/gda-sybase-provider.{c,h}, providers/sybase/gda-sybase.h, providers/sybase/libmain.c: started port of sybase provider 2002-10-29 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libsql/parser.y: a couple of fixes to make bison not to complain. 2002-10-28 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #95985 * configure.in: libmystrings is not needed for MySQL provider. 2002-10-26 Rodrigo Moya <rodrigo@gnome-db.org> * providers/interbase/gda-interbase-provider.c (gda_interbase_connection_make_error): new function. (gda_interbase_command_get_transaction): new function. (gda_interbase_provider_open_connection): call the above function for any database-related errors. (gda_interbase_provider_create_database): implemented. * providers/interbase/gda-interbase-recordset.[ch]: recordset implementation for the Interbase provider. 2002-10-25 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #96758 * libgda/Makefile.am: moved top_srcdir to the top in INCLUDES. 2002-10-23 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.8.199 2002-10-23 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.c: fixed dlopen() bug which made loading the provider fail with freetds 0.6x * configure.in: Removed freetds v0.60 warning 2002-10-16 Rodrigo Moya <rodrigo@gnome-db.org> * providers/interbase/Makefile.am: * providers/interbase/gda-interbase-provider.[ch]: * providers/interbase/libmain.c: started GNOME 2 version of the Interbase provider. * providers/gda-oracle-provider.c (gda_oracle_provider_get_version): (gda_oracle_provider_get_server_version): implemented missing methods. 2002-10-13 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.h: added TDS_CONTEXT (v0.60) to GdaFreeTDSConnectionData struct * providers/freetds/gda-freetds-provider.c: added v0.60 api, fixed compile warnings (unused enums vals in switches), fixed change_database to work within connection_open(), corrected typecast in execute_cmd(), completed error messages in internal execute_cmd() * providers/freetds/gda-freetds-recordset.c: added parameter GdaFreeTDSConnectionData * to set_gdavalue * providers/freetds/gda-freetds-types.{c,h}: added parameter GdaFreeTDSConnectionData * to set_gdavalue, added v0.60 api * acconfig.h, configure.in: added version check for freetds provider 2002-10-12 Alfons <alfons@proteus.demon.nl> * libgda/gda-select.c (gda_select_run): use sql_destroy instead of sql_statement_destroy. 2002-10-12 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-select.c (gda_select_run): commented out call to sql_statement_destroy, since this function seems to be missing in libsql. 2002-10-10 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-select.c: changed the list of source data models to be a hash table, for better searching. Added 'changed' member to keep track of changes in the data. (free_source_model): new function to free the hash table's items. (gda_select_add_source): added 'name' parameter so that data models are uniquely identified. Set the 'changed' member when actually making a change. (gda_select_set_sql): Set the 'changed' member. 2002-10-10 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-select.[ch] (gda_select_add_source): new function. * libgda/gda-client.[ch]: added support for using it as a connection stack. That is so that clients can make operations (search for a table, run transactions, etc) on a group of connections. (gda_client_begin_transaction, gda_client_commit_transaction, gda_client_rollback_transaction): support for distributed (many DB connections) transactions. (gda_client_open_connection): removed unused variable. * doc/C/tmpl/*: updated. 2002-10-06 Rodrigo Moya <rodrigo@gnome-db.org> Fixes #94845 * configure.in: made use of scrollkeeper optional. 2002-10-02 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-field.[ch] (gda_field_attributes_copy): new function. * libgda/gda-select.[ch]: modified to accept a list of data models and to work with SQL commands and not expressions. 2002-10-01 Rodrigo Moya <rodrigo@gnome-db.org> * tools/Makefile.am: autoconf does not support EXTRA_DIST to be defined conditionally. 2002-09-30 Rodrigo Moya <rodrigo@gnome-db.org> * doc/libgda-C.omf.in: fixed path to documentation. 2002-09-30 Stanislav Brabec <sbrabec@suse.cz> * configure.in: Added cs to ALL_LINGUAS. 2002-09-29 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/Makefile.am: install man page. * tools/gda-config-tool.1: initial man page for gda-config-tool. Still need to document the usage in interactive mode. 2002-09-28 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * configure.in: fixed variable name and added /usr/local to SQLite auto-search. Thanks to Vladimir Vukicevic. 2002-09-26 Rodrigo Moya <rodrigo@gnome-db.org> * bindings/c++/*: removed obsolete bindings. Current ones are in gtkmm sources, for which we need a volunteer. 2002-09-25 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (emit_client_error): new function for emitting error signals on the GdaClient objects. (gda_client_open_connection): call emit_client_error everytime there is an error, so that clients really get informed. * doc/libgda-C.omf.in: validated this file (thanks to Frederic Crozat) 2002-09-24 Rodrigo Moya <rodrigo@gnome-db.org> * providers/sqlite/gda-sqlite-provider.c (gda_sqlite_provider_supports): we also support triggers. (get_types): implemented types schema. (get_tables): implemented tables schema. (get_table_fields): implemented fields schema. * providers/sqlite/gda-sqlite-provider.c (get_row): get correctly the fields' values from the SQLITEresult structure. (gda_sqlite_recordset_describe_column): set more properties on the returned GdaFieldAttributes. 2002-09-23 Rodrigo Moya <rodrigo@gnome-db.org> * providers/sqlite/gda-sqlite-provider.c (gda_sqlite_provider_get_version, gda_sqlite_provider_get_server_version, gda_sqlite_provider_change_database): implemented missing methods. (gda_sqlite_provider_open_connection): free all memory if there are errors. (gda_sqlite_provider_close_connection): add an error to the connection when there are errors. (gda_sqlite_provider_execute_command): process correctly lists of colon-separated table names for GDA_COMMAND_TYPE_TABLE. (gda_sqlite_provider_begin_transaction, gda_sqlite_provider_commit_transaction, gda_sqlite_provider_rollback_transaction): implemented. (gda_sqlite_provider_single_command): deal correctly with return value of sqlite_exec. (gda_sqlite_provider_supports): added missing features. 2002-09-22 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: fixed a couple of leaks. 2002-09-18 Vivien Malerba <malerba@gnome-db.org> * libgda/gda-value.[ch]: changed the _xml functions to work with xmlNodePtr instead of gchar * * providers/postgres/gda-postgres-provider.c: bug fix for NULL default value for a field 2002-09-18 Rodrigo Moya <rodrigo@gnome-db.org> * report/libgda-report/gda-report-document.[ch]: fixed public functions' names. 2002-09-15 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.c: fixed compile error 2002-09-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-init.c: (gda_main_run): use g_main_loop_run. * libgda/gda-value.c: (gda_value_new_from_xml): avoid compiler warning. 2002-09-14 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.c: coding style corrections, implemented change_database * providers/freetds/gda-freetds-provider.h: added database to freetds connection handle * providers/freetds/gda-tds-schemas.h: corrected databases schema 2002-09-12 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (add_aggregate_row): add missing information to the returned data model (although still with some undefined values). (get_mysql_aggregates): adapted to changes in add_aggregate_row(). * doc/C/libgda-docs.sgml: added information about the DATABASES schema 2002-09-11 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch] (gda_value_new_from_xml): new function. (gda_value_to_xml): new function. 2002-09-11 Carlos Perello Marin <carlos@gnome-db.org> * configure.in (ALL_LINGUAS): Added ko 2002-09-11 Xabier Rodriguez Calvar <xrcalvar@igalia.com> * doc/C/libgda-docs.sgml: small change in compilation instructions. 2002-09-09 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.8.193 2002-09-07 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: extended compilation section. 2002-09-05 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.c (gda_connection_new): no need to make a copy of the error list. 2002-09-04 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.c (gda_connection_new): if the provider sets errors on connecting, notify the client about those errors by emitting its "error" signal. 2002-09-02 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mdb/gda-mdb-provider.c (gda_mdb_provider_get_version): (gda_mdb_provider_get_server_version): implemented missing methods. 2002-09-02 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_get_provider_list): use G_MODULE_SUFFIX instead of using ".so" directly. 2002-09-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-database.c (gda_xml_database_save): implemented. (gda_xml_database_new_from_data_model): check return value from gda_table_new_from_model. (gda_xml_database_new_table_from_node): type is stored as a string in the XML. Scan more properties. * libgda/gda-data-model.[ch] (gda_data_model_to_xml_node): new function for converting data models to xmlNodePtr's. * providers/default/gda-default-provider.c (process_table_commands): new function for managing GDA_COMMAND_TYPE_TABLE commands. (gda_default_provider_execute_command): implemented case for TABLE commands. 2002-08-31 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added summary at the end, to display all detected options/providers. 2002-08-30 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/utils.c: removed unneeded case. 2002-08-30 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/gda-config-tool.c: added copyright notice. 2002-08-29 Vivien Malerba <malerba@gnome-db.org> * libgda/gda-value.c: fixed a bug in the tests for the gda_value_compare () function 2002-08-27 Richard Campbell <richard.campbell@oarcorp.com> * providers/default/gda-default-provider.c (gda_default_provider_supports): fixed if condition. 2002-08-25 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch] (gda_value_is_number): new function. * libgda/gda-field.[ch] (gda_field_attributes_get_auto_increment): (gda_field_attributes_set_auto_increment): (gda_field_attributes_get_table): (gda_field_attributes_set_table): new functions. * providers/mysql/gda-mysql-recordset.c (gda_mysql_recordset_describe_column): use 'length' field of the MYSQL_FIELD structure, not 'max_length'. Set missing attributes on the list of fields. * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_create_database): use a CREATE DATABASE SQL query instead of calling mysql_create_db. (gda_mysql_provider_drop_database): use a DROP DATABASE SQL query instead of calling mysql_drop_db. 2002-08-25 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.h: added a new field to GdaValue structure, for storing the length of binary values. * libgda/gda-value.c (gda_value_new_binary): added 'glong size' argument to the function, and implemented it. (gda_value_copy): implemented case for binary values. (gda_value_set_from_value): likewise. (gda_value_stringify): likewise. (set_from_string): likewise. (gda_value_get_binary): implemented. (gda_value_set_binary): implemented. * providers/mysql/gda-mysql-recordset.c (fetch_row): use max_length field to determine the length of the BLOB values. * doc/libgda-C.omf: removed this file, which is generated from * libgda-C.omf.in. 2002-08-24 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_begin_transaction): set the isolation level for the transaction. * testing/client.c (open_connection): create a GdaTransaction for passing it to transaction methods. * libgda/gda-transaction.[ch]: added isolation level support. (gda_transaction_get_isolation_level): new function. (gda_transaction_set_isolation_level): new function. 2002-08-23 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (get_mysql_tables): set the owner to an empty string instead of "Unknown". (get_table_fields, field_row_to_value_list): added 'default value' field. (add_aggregate_row): renamed from add_string_row. Still missing the addition of the missing columns. 2002-08-23 Richard Campbell <richard.campbell@oarcorp.com> * doc/C/Makefile.am: fixed connection string description for the default provider (FILENAME->URI). 2002-08-23 Margus Väli <mvali@hot.ee> * report/libgda-report/Makefile.am: link libgda-report with libgda-2, for cygwin compilation. 2002-08-22 Vivien Malerba <malerba@gnome-db.org> * libgda-docs.sgml: updated the schemas * providers/postgres/gda-postgres-provider.c: set the schemas in sync with the docs 2002-08-21 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch] (gda_value_get_type): made this a function, not a #define. 2002-08-21 Vivien Malerba <malerba@gnome-db.org> * gda-value.[hc]: modified the implementation of the gda_value_get_vtype() function to return the type held into the value and not the type of the value (there is already a gda_value_get_type() macro for that), and added a gda_value_set_vtype() function. * providers/postgres/gda-postgres-provider.c: improved some schemas. 2002-08-21 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.spec.in: * Makefile.am: added missing lines in last Ben's patch. 2002-08-21 Vivien Malerba <malerba@gnome-db.org> * providers/postgres/gda-postgres-provider.[hc]: modified some schemas to more closely return sets as described in the documentation. 2002-08-19 Ben Liblit <liblit@acm.org> * configure.in: assume that the readline library depends upon the curses library * libgda.spec.in: fix version number substitutions * libgda.spec.in: remove some explicit "Requires:" prerequisites that RPM will figure out on its own; remove explicit dependency on older MySQL client libraries * libgda.spec.in: require that the ODBC development package be installed if we are building the ODBC provider * libgda.spec.in: create distinct subpackages for each provider, conditional on that provider actually being enabled; some of these will need to be updated as the family of available providers changes * libgda.spec.in: update files list to match what "make install" actually installs * Makefile.am: no need to explicitly list "*.in" files for distribution, as automake takes care of these implicitly; use standard $(EXTRA_DIST) list for distributing spec file 2002-08-18 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-provider.c (gda_default_provider_get_database): new class method. 2002-08-18 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: implemented get_server_version. * providers/postgres/gda-postgres-provider.h: added version to private connection data. * testing/client.c: display server version. 2002-08-18 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-provider.c (gda_default_provider_get_version): new method. (gda_default_provider_get_server_version): new method. 2002-08-18 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.c: (gda_freetds_provider_get_version): return gda version (gda_freetds_provider_get_version): FIXME: dummy, returns NULL 2002-08-17 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-provider.[ch] (gda_server_provider_get_version): new function. (gda_server_provider_get_server_version): new function. * libgda/gda-connection.c (gda_connection_add_error_string): set error source to be the name of the provider, not the program name. (gda_connection_get_server_version): new function. * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_get_version, gda_mysql_provider_get_server_version): * providers/postgres/gda-postgres-provider.c (gda_postgres_provider_get_version, gda_postgres_provider_get_server_version): implemented new class methods. 2002-08-16 Holger Thon <holger.thon@gnome-db.org> * libgda/providers/ibmdb2/core{1,2}.log: * libgda/providers/ibmdb2/TODO: added corelogs, added SIGSEGV problem to TODO to remember * libgda/providers/ibmdb2/TODO: todo added * libgda/gda-client.c: * libgda/gda-data-model.c: * libgda/gda-select.c: * libgda/gda-server-provider.c: * libgda/gda-xml-connection.c: * libgda/gda-xml-database.c: * libgda/gda-xql-delete.c: * libgda/gda-xql-dml.c: * libgda/gda-xml-document.c: * libgda/gda-xql-insert.c: * libgda/gda-xql-select.c: * gda-xql-update.c: added string.h include * libgda/gda-value.c: added libgda/gda-util.h include * providers/mysql/gda-mysql-provider.c: * providers/mysql/gda-mysql-recordset.c: added string.h to includes * providers/mysql/libmain.c: fixed compile warnings * providers/ibmdb2/gda-ibmdb2-provider.c * (gda_ibmdb2_provider_open_connection): fixed cleanup on error fixed passing connection data to GdaConnection object 2002-08-16 Holger Thon <holger.thon@gnome-db.org> * ChangeLog: added missing entries 2002-08-15 Holger Thon <holger.thon@gnome-db.org> * providers/ibmdb2/gda-ibmdb2-provider.c: * providers/ibmdb2/libmain.c: fixed host parameter to alias (database dsn), alias connections finished * providers/ibmdb2/gda-ibmdb2-provider.{c,h}: added get_database() 2002-08-14 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/Makefile.am: added fdl-appendix.sgml to $content_files, so that it gets included when distcheck'ing. 2002-08-14 Holger Thon <holger.thon@gnome-db.org> * configure.in: added IBMDB2_DIR define; perhaps for dbaliases in cfg/db2cli.ini * providers/freetds/gda-freetds.h: * providers/freetds/gda-freetds-provider.{c,h}: * providers/freetds/gda-freetds-recordset.c: added sanity checks for correct provider in dummy functions, moved sql queries for schemas into separate header file, separated freeing on error during connection_open into free_connection_data * providers/freetds/gda-freetds-message.{c,h}: added gda_freetds_message_add() for appending to msg/err GPtrArray * providers/freetds/Makefile.am: Added dependency for schema include file * providers/freetds/gda-tds-schemas.h: Moved schema queries into header file for future include by sybase provider * providers/ibmdb2/gda-ibmdb2-provider.{c,h}: started work on connection code * providers/freetds/gda-freetds-provider.c: Added extended remote procedures to schema, corrected users schema, set column name for views schema * configure.in: removed stale tds lines commented out added ibmdb2 cli checks * acconfig.h: Added IBMDB2 define * providers/Makefile.am: Added ibmdb2 directory * providers/ibmdb2/.cvsignore: added .cvsignore * providers/ibmdb2/Makefile.am: replaced dummy Makefile.am with provider Makefile.am * providers/ibmdb2/gda-ibmdb2.h: * providers/ibmdb2/gda-ibmdb2-provider.{c,h}: * providers/ibmdb2/libmain.c: * providers/ibmdb2/utils.c: added skeleton for ibmdb2 provider * providers/ibmdb2/Makefile.am: added dummy Makefile.am 2002-08-12 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch] (gda_value_get_vtype): new function. 2002-08-11 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/gda-freetds-provider.c: Fixed _supports() * providers/freetds/gda-freetds-types.c: Added datetim* types, Added numeric types * providers/freetds/gda-freetds-provider.c: Added users schema, added procedures schema 2002-08-10 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/config.sample: sample xml snipplet of freetds configuration * configure.in: enabled freetds compilation in configure.in * providers/freetds/gda-freetds-provider.c: fixed field schema nullable * providers/freetds/gda-freetds.h: * providers/freetds/gda-freetds-provider.{c,h}: fixed sqlstate in message handler, changed TDSSOCKET *socket to shorter TDSSOCKET *tds * providers/freetds/Makefile.am: added gda-freetds-message.{c,h} * providers/freetds/gda-freetds-message.{c,h}: Added message_new() and _free() to pass callback msgs list to cnc * providers/freetds/gda-freetds-provider.c: added error handling routines using global tds callbacks * providers/freetds/gda-freetds-types.c: Added single and double types * libgda/gda-value.c (gda_value_stringify): Added GDA_VALUE_TYPE_TINYINT (tinyint fix) * testing/freetds-test.c: removed insert test 2002-08-09 Xabier Rodriguez Calvar <xrcalvar@igalia.com> * doc/C/libgda-docs.sgml: spelling fixes and migration formulae section added. 2002-08-09 Holger Thon <holger.thon@gnome-db.org> * testing/Makefile.am: * testing/client.c: * testing/freetds-test.c: * testing/freetds-test.h: started work on freetds specific tests * providers/freetds/gda-freetds.h: * providers/freetds/gda-freetds-provider.c: * providers/freetds/gda-freetds-recordset.c: * providers/freetds/utils.c: completed integer implementation FIXME: tinyint does not work * providers/freetds/gda-freetds-provider.c: added tables schema, started on fields schema changed sanity check order in open_connection() some internalization fixes * providers/freetds/Makefile.am: Added gda-freetds-types.* for compilation * providers/freetds/gda-freetds-recordset.c: duped TDSCOLINFO information for describe_column(), implemented describe_column() * providers/freetds/gda-freetds-recordset.h: a single fields' data is now set by gda_freetds_set_gdavalue() * providers/freetds/gda-freetds.h: added gda-freetds-types.h to included files * providers/freetds/gda-freetds-types.c: Implementation of TDS string types * providers/freetds/gda-freetds-types.h: SQL- and GdaValue feeding started 2002-08-08 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/.cvsignore: removed output files of old API * providers/freetds/gda-freetds-recordset.{c,h}: very basic implementation of recordset klass/result processing, completed gda_freetds_recordset_get_n_rows, _get_n_columns, _get_row, _get_value_at * providers/freetds/gda-freetds-provider.{c,h}: Completed connection (tested: freetds 0.53/TDS42/Sybase 11.9.2) sql-capability added, gda_freetds_provider_process_sql_commands added database schema completed * providers/freetds/gda-freetds.h: added gda-freetds-recordset.h include, added gda_freetds_split_commandlist() definition * providers/freetds/libmain.c: Changed dsn-parameters from TDS* to TDS_* * providers/freetds/utils.c: Added gda_freetds_split_commandlist() for split of sql commandlists FIXME: function needs debugging * providers/freetds/Makefile.am: Added gda-freetds-recordset.* 2002-08-07 Xabier Rodriguez Calvar <xrcalvar@igalia.com> * doc/C/Makefile.am: * doc/C/libgda-docs.sgml: added new documentation with full source code example. 2002-08-07 Holger Thon <holger.thon@gnome-db.org> * providers/freetds/Makefile.am: Added Makefile.am * providers/freetds/gda-freetds.h: * providers/freetds/gda-freetds-provider.c: * providers/freetds/utils.c: fixed some typos * configure.in: Updated checks for freetds to use tds.h, freetds disabled unless /etc/freetds/compile_gda_tds_provider exists * providers/Makefile.am: * providers/freetds/gda-freetds.h: * providers/freetds/gda-freetds-provider.{c,h}: * providers/freetds/libmain.c: * providers/freetds/utils.c: Changed TDS vars to FREETDS, Added skeleton for gda-freetds-provider.* * acconfig.h: * configure.in: Changed TDS vars to FREETDS * providers/freetds/.cvsignore: updated ignore file 2002-08-04 Rodrigo Moya <rodrigo@gnome-db.org> * doc/libgda-C.omf.in: added OMF file. * configure.in: * doc/Makefile.am: added rules to install OMF file. 2002-08-04 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.c (gda_data_model_get_column_title): if we don't have the title, call @describe_column. (gda_data_model_set_column_title): if the key already exists, remove it from the hash table before re-adding it again. * providers/mysql/gda-mysql-recordset.c (gda_mysql_recordset_describe_column): use mysql_fetch_fields, not mysql_fetch_field, or we'll get unknown results. (gda_mysql_recordset_new): set column titles on the data model. 2002-08-04 Florian Blaser <florian@tizoo.ch> * doc/C/libgda-docs.sgml: some small corrections. 2002-07-17 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/gda-config-tool.c: added options for listing datasources and providers. (batch_options): fixed section name. 2002-07-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-recordset.c: set number of rows to PQcmdTuples for non-select queries. Thanks to José Dapena Paz. Fixes bug #87762. 2002-07-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: set client encoding for postgres to UNICODE. Thanks to Dmitry G. Mastrukov. 2002-07-09 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: added documentation about the format of the schema data models. * libgda/gda-value.h: added GDA_VALUE_TYPE_TYPE, for specifying GdaValueType's in GdaValue's. * libgda/gda-value.c (gda_value_new_type): new function. (set_from_string): manage GDA_VALUE_TYPE_TYPE. (gda_value_copy): ditto. (gda_value_set_from_value): ditto. (gda_value_stringify): ditto. (gda_value_compare): ditto. * providers/mysql/gda-mysql-provider.c (get_mysql_tables): retrieve extra data. (get_mysql_types): added new fields for TYPES schema. * providers/mysql/gda-mysql-recordset.c (fetch_row): don't pass NULL values to ato* functions. 2002-07-08 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.8.192 2002-07-04 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: (write_config_file): removed unneeded assertion. It now creates an empty file if no sections in the list. 2002-07-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.c (gda_connection_get_type): fixed documentation for this function. 2002-06-28 Tim Coleman <tim@timcoleman.com> * providers/oracle/gda-oracle-provider.c: - Added code to retrieve public/unique/foreign key information for schema purposes. - Free up more Oracle memory when bad things happen - Added a function to retrieve list of Oracle tablespaces for schema purposes. * providers/oracle/gda-oracle-recordset.c: - Free up more Oracle memory when bad things happen - Clean up the get_n_rows code to work properly * providers/oracle/utils.c: - only allocate memory for the string buffer when I need it 2002-07-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-connection.c: (gda_connection_finalize): (gda_connection_add_error): (gda_connection_add_error_list): keep the error list stored for later retrieval. Use gda_error_list_(copy|free). (gda_connection_get_errors): returns a the latest error(s) ocurred in the connection. * libgda/gda-connection.h: added prototype for gda_connection_get_errors (). * libgda/gda-error.c: (gda_error_list_copy): makes new copy of a GList of GdaError by using g_list_copy and then g_object_ref on the data. (gda_error_list_free): use g_list_foreach. * libgda/gda-error.h: added prototype for gda_error_list_copy. 2002-06-25 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: (gda_config_save_data_source): copied from gnome-db-config.c. * libgda/gda-config.h: added GDA_CONFIG_BASE. 2002-06-21 Rodrigo Moya <rodrigo@gnome-db.org> * libsql/Makefile.am: missing header files to SOURCES. * providers/mysql/Makefile.am: * providers/odbc/Makefile.am: * providers/oracle/Makefile.am: * providers/postgres/Makefile.am: * providers/mdb/Makefile.am: fixed INCLUDES path. * providers/oracle/gda-oracle-provider.c (get_oracle_objects): fixed call to g_string_free. * testing/client.c: s/SQL Language/SQL. 2002-06-20 Tim Coleman <tim@timcoleman.com> * providers/oracle/gda-oracle-provider.c: * providers/oracle/gda-oracle-recordset.c: Implement a consistent error handling style. * providers/oracle/gda-oracle.h: Add error handling functions. Fix the retrieval of dates, which was a small bug. 2002-06-20 Rodrigo Moya <rodrigo@gnome-db.org> * libsql/Makefile.am: EXTRA_DIST needed files, or make distcheck won't work. 2002-06-18 Rodrigo Moya <rodrigo@gnome-db.org> * Makefile.am: put libsql in the correct order. * libsql/Makefile.am: removed hard-coded stuff, and install stuff in $(includedir)/libgda/sql, not $(includedir)/bond. 2002-06-18 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * configure.in: use AC_PROG_YACC instead of AM_PROG_YACC * libsql/Makefile.am: changed $(include) by $(includedir) 2002-06-18 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: create configuration dir and file if they don't exist. 2002-06-18 Rodrigo Moya <rodrigo@gnome-db.org> * providers/oracle/gda-oracle-connection.[ch]: removed unused files. 2002-06-18 Andrew Hill <andru@treshna.com> * libsql/: Import SQL parser into libgda. the test programme sql_parser_test can be used to test sql statements. * libsql/sample_sql_statements: List of SQL statements to test. * libsql/sql_parser.[ch]: API to libsql * libsql/sql_display.c: For debugging purposes, breaks down a SQL statement into a tree like display. * libsql/paser.y: bison code * libsql/lexer.l: bison code * libsql/sql_parse_test.c: sql_parser_test code to test sql * libsql/mem.[ch]: Memory debugging and tracking code, similar to glib but with a few little extras and designed to work with the parser for garbage collection etc. * libsql/sqltree.[ch]: Code used for building and parsing the sql tree (the more complex SQL statements). * libsql/Makefile.am autoconf makefile for generating libgdasql library. * Makefile.am: Adding in libsql directory for compiling * configure.in: Have Makefile generated for libsql/Makefile.am 2002-06-17 Tim Coleman <tim@timcoleman.com> * providers/oracle/gda-oracle.h: * providers/oracle/gda-oracle-provider.c: * providers/oracle/gda-oracle-provider.h: * providers/oracle/gda-oracle-recordset.c: * providers/oracle/gda-oracle-recordset.h: * providers/oracle/utils.c: Various changes to update GDA oracle provider to properly retrieve data, support transactions (untested) and parameters for queries. 2002-06-17 Carlos Perelló MarÃn <carlos@gnome-db.org> * doc/C/tmpl/gda-command.sgml: Automatic update. * doc/C/tmpl/gda-parameter.sgml: ditto. * doc/C/tmpl/gda-report-document.sgml: ditto. * doc/C/tmpl/gda-value.sgml: ditto. * providers/sqlite/Makefile.am: Added utils.c * providers/sqlite/gda-sqlite-provider.c: Updated to the new architecture. It's not finished... Based on postgresql provider. * providers/sqlite/gda-sqlite-recordset.c: ditto. * providers/sqlite/gda-sqlite-recordset.h: ditto. * providers/sqlite/gda-sqlite.h: ditto. * providers/sqlite/libmain.c: ditto. * providers/sqlite/utils.c: Added for help funtions 2002-06-16 Rodrigo Moya <rodrigo@gnome-db.org> * providers/sqlite/Makefile.am: added missing INCLUDES. * libgda/gda-parameter.[ch] (gda_parameter_list_get_names): new function to get the names of all parameters in the parameter list. * libgda/gda-command.[ch] (gda_command_get_transaction): (gda_command_set_transaction): new functions. (gda_command_new): initialize new member. (gda_command_free): unref internal GdaTransaction. * libgda/gda-connection.h: * libgda/gda-transaction.h: fixed headers. 2002-06-08 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/gda-config-tool.c: added command line options that make posible create a new section and add/modify user, password and DSN. 2002-06-07 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-data-model.c: (describe_column): try to set the type of the column if possible when generating a default GdaFieldAttributes. * libgda/gda-value.c: (gda_value_isa): removed. (gda_value_stringify): use a switch. * libgda/gda-value.h: added macro gda_value_get_type and gda_value_isa. 2002-06-06 Tim Coleman <tim@timcoleman.com> * providers/oracle/*: first working version of the Oracle provider for the new API. 2002-06-06 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: (get_postgres_parent_tables): new function. * testing/postgres-test.c: added test SCHEMA_PARENT_TABLES. (execute_non_query): new function used for all the queries except SELECT. 2002-06-05 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.h: added PARENT_TABLES schema. * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_change_database): implemented new class method. 2002-06-03 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * gda-config.c: don't write mtime, muser. 2002-06-04 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-quark-list.[ch] (gda_quark_list_remove): new function. * libgda/gda-connection.c (gda_connection_new): remove entries we managed from the parameter list, so that providers dont' have to parse it again. * libgda/gda-server-provider.c (gda_server_provider_open_connection): likewise. * libgda/gda-client.c (gda_client_open_connection_from_string): new function. Fixes #81592. 2002-06-04 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: check for all providers unless --without-* arguments are used. * libgda/gda-server-provider.[ch]: added change_database virtual method to GdaServerProvider class. (gda_server_provider_change_database): new function. * libgda/gda-connection.[ch] (gda_connection_change_database): new function. * doc/C/libgda-docs.sgml: added reference to new virtual method to be implemented for providers. * providers/oracle/gda-oracle-connection.[ch]: compilation fixes. 2002-06-03 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.[ch]: * libgda/gda-server-provider.[ch]: * providers/mysql/gda-mysql-provider.c: * providers/sqlite/gda-sqlite-provider.c: * providers/default/gda-default-provider.c: * providers/mdb/gda-mdb-provider.c: * providers/postgres/gda-postgres-provider.c: use GdaTransaction for transaction related methods. * libgda/gda-transaction.[ch]: new class. * libgda/Makefile.am: * libgda/libgda.h: added new API file. 2002-06-03 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.c (gda_connection_new): use the correct pointers, or it'll crash. 2002-06-03 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.[ch]: (gda_config_get_type): new function to get the type of an entry. (gda_config_has_key): (gda_config_has_section): also look for section/keys in global data. (gda_config_read_entries): When reading from the configuration file, set the value to "" if it is NULL. 2002-06-02 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_get_data_source_list): retrieve password from configuration. (gda_config_copy_data_source_info): copy the new member. (gda_config_free_data_source_info): free the new member. (gda_config_get_data_source_model): added 'Password' column to the data model we create. (gda_config_save_data_source): store the password if it is set. Reverted last Gonzalo's change, since it was wrong. * libgda/gda-connection.c (gda_connection_new): pass over the correct user name/password, either from the user supplied values, or from the configuration itself. * doc/C/libgda-docs.sgml: added more documentation about the configuration file format. 2002-06-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: little fixes in gda_config_save_data_source (cut&paste errors). 2002-06-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * configure.in: check for headers needed by gda-config-tool. * tools/Makefile.am: don't try to build gda-config-tool if needed headers and/or libs not found. 2002-06-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/gda-config-tool.c: added support for writing the configuration to a file. 2002-06-02 Rodrigo Moya <rodrigo@gnome-db.org> * tools/Makefile.am: build gda-config-tool only if all needed libraries are found in configure. 2002-06-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/gda-config-tool.c: fixed leaks. Beautified help output. Added support for adding/editing an entry. 2002-06-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * configure.in: added check for readline/history and popt. * tools/Makefile.am: * tools/gda-config-tool.c: new command line utility to manage libgda configuration file and use the providers. Still needs some loving. 2002-05-30 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: completed the part about implementing the data model class in providers and removed CORBA references. 2002-05-29 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: added new methods to 'Writing providers' part. 2002-05-28 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: * doc/C/tmpl/gda-report-types.sgml: added new template. * libgda/gda-server-provider.[ch]: added get_database virtual method. (gda_server_provider_get_database): new method. * libgda/gda-connection.[ch] (gda_connection_get_database): new function. * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_get_database): implemented new method. (gda_mysql_provider_create_database): use mysql_create_db. (gda_mysql_provider_drop_database): use mysql_drop_db. * providers/postgres/gda-postgres-provider.c (gda_postgres_provider_get_database): implemented new method. 2002-05-28 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.[ch] (gda_connection_execute_non_query): new function for executing a command and returning the number of rows affected. 2002-05-27 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: moved the API reference for GdaServerProvider to the provider implementation section. 2002-05-26 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/libgda-docs.sgml: added some more doc. 2002-05-26 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/libgda-report/Makefile.am: Added gda-report-type.h. * report/libgda-report/gda-report-document.c: Added all its properties and implemented it's _get && _set functions. We need to implement now it's ParamSpec interface. * report/libgda-report/gda-report-document.h: ditto. * report/libgda-report/gda-report-types.h: Added all report types. 2002-05-24 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.8.191 2002-05-24 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.[ch] (gda_client_open_connection_from_string): added new stub with a big FIXME on it. Added some documentation. 2002-05-23 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.h: added GDA_CONNECTION_FEATURE_INHERITANCE, needed for porting gASQL. * providers/postgres/gda-postgres-provider.c (gda_postgres_provider_supports): we support inheritance, yeah. 2002-05-22 Rodrigo Moya <rodrigo@gnome-db.org> * report/libgda-report/Makefile.am: fixed INCLUDES. 2002-05-21 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/idl/*: Removed. It's not needed anymore because we don't use CORBA here. 2002-05-21 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-provider.[ch]: added drop_database virtual method to GdaServerProvider class. (gda_server_provider_class_init): initialize new class member. (gda_server_provider_drop_database): new proxy function. * libgda/gda-connection.[ch] (gda_connection_drop_database): new function. * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_drop_database): * providers/postgres/gda-postgres-provider.c (gda_postgres_provider_drop_database): implemented new method. 2002-05-20 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-connection.[ch]: new class for managing .connection files, which are XML files that specify all parameters needed to open a connection. * libgda/libgda.h: * libgda/Makefile.am: * docs/C/*: added new API file. 2002-05-20 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: don't create a new section for each entry added (one-liner). 2002-05-19 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-data-model-hash.c: (gda_data_model_hash_get_value_at): use gda_data_model_hash_get_row. * providers/postgres/gda-postgres-recordset.c: added gda_postgres_recordset_get_row and changed get_value_at to use it. 2002-05-19 Rodrigo Moya <rodrigo@gnome-db.org> * testing/client.c (open_connection): added tests for all missing GdaConnection's features. * libgda/gda-row.[ch] (gda_row_new_from_list): new function. * libgda/gda-data-model-hash.c (gda_data_model_hash_append_row): * libgda/gda-data-model-array.c (gda_data_model_array_append_row): call gda_row_new_from_list. * providers/mysql/gda-mysql-recordset.c: made it editable (only append_row so far). (gda_mysql_recordset_is_editable): return TRUE if the command type is GDA_COMMAND_TYPE_TABLE, for others, return FALSE. (gda_mysql_recordset_append_row): implemented. * providers/mysql/gda-mysql-provider.c (process_sql_commands): set data model's command text and type. (gda_mysql_provider_execute_command): likewise. * providers/mysql/utils.c (gda_mysql_value_to_sql_string): new function. 2002-05-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model-array.c (gda_data_model_array_remove_row): * libgda/gda-data-model-list.c (gda_data_model_list_remove_row): implemented remove_row method. * libgda/gda-data-model-hash.c (gda_data_model_hash_append_row): proxy the call to gda_data_model_hash_insert_row, using the length of the model as the row number. * libgda/gda-value.[ch] (gda_value_set_from_value): new function. 2002-05-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch]: added remove_row and update_row virtual methods. (gda_data_model_class_init): initialize new members. (gda_data_model_remove_row): new function. (gda_data_model_update_row): new function. 2002-05-18 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/Makefile.am: re-added libgda-report directory to gtk-doc options. 2002-05-17 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model-list.c: * libgda/gda-data-model-array.c: * libgda/gda-data-model-hash.c: * libgda/gda-data-model.[ch]: added 'get_row' method to GdaDataModel class. * libgda/gda-select.c (fill_data): implemented retrieval of data from the source data model. * providers/mysql/gda-mysql-recordset.c (gda_mysql_recordset_get_row): new method implementation. 2002-05-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-select.[ch]: added basic implementation. (gda_select_init): create GScanner object. (gda_select_finalize): destroy GScanner object. (gda_select_set_source): new function. (gda_select_set_expression): new function. (gda_select_run): new function. (fill_data): implemented basic parsing of the expression (it only supports "foo=bar AND bar=foo..." expressions). 2002-05-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.c (gda_data_model_begin_edit): don't start editing if the data model is not editable. (gda_data_model_get_column_position): new function. * libgda/gda-select.[ch]: new class for doing filtering data models based on a search expression. * libgda/Makefile.am: * libgda/libgda.h: added new files. * doc/C/*: added new documentation. 2002-05-16 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-value.[ch]: (gda_value_new_from_string): (gda_value_set_from_string): (gda_value_compare): new functions. 2002-05-15 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-provider.[ch]: added create_database to GdaServerProvider class. Also, added some documentation. * libgda/gda-connection.h: added new set of GdaConnectionFeature values, describing all the schemas we support, so that we can query providers if they support the schemas. * libgda/gda-connection.c (gda_connection_create_database): new function. * providers/default/gda-default-provider.c: * providers/mysql/gda-mysql-provider.c: * providers/sqlite/gda-sqlite-provider.c: * providers/postgres/gda-postgres-provider.c: implemented create_database method. Added support for new GdaConnectionFeature values. * providers/sqlite/gda-sqlite-recordset.[ch]: made gda_sqlite_recordset_new return a GdaSqliteRecordset. 2002-05-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/tmpl/gda-data-model-hash.sgml: added a few lines. * libgda/gda-data-model-hash.[ch]: moved some functions around, added some doc, added a few more argument checks. 2002-05-15 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.pc.in: removed ORBit, bonobo-activation and libbonobo. * configure.in: added report/gda-report.dtd to AC_OUTPUT. 2002-05-14 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/tmpl/*.sgml: * libgda/gda-connection.c: added some documentation. * doc/C/tmpl/gda-recordset.sgml: * libgda/gda-recordset.[ch]: removed. 2002-05-14 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-log.c (gda_log_message, gda_log_error): made them show the error message at least. * Makefile.am: * configure.in: re-activated report directory. * report/Makefile.am: * report/*.[ch]: removed the CORBA engine. We'll start simple, or we'll never start :-) * report/libgda-report/Makefile.am: don't build CORBA files. * report/libgda-report/gda-report-datasource.[ch]: * report/libgda-report/gda-report-client.[ch]: removed. * doc/C/*: updated for changes in API files. 2002-05-14 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mdb/*: started MDB provider (based on MDB Tools). * configure.in: * providers/Makefile.am: activated new provider. 2002-05-14 Pablo Saratxaga <pablo@mandrakesoft.com> * configure.in: Added Vietnamese (vi) and Azeri (az) to ALL_LINGUAS 2002-05-14 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-recordset.c: check pointers before using them. * providers/mysql/gda-mysql-providers.h: fixed typo. * providers/sqlite/gda-sqlite-recordset.[ch]: don't use anymore GdaRecordset, and convert it to be a GdaDataModel-based class. 2002-05-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/Makefile.am: added gda-data-model-hash.[ch]. Removed gda-recordset.[ch]. * libgda/gda-config.c: removed warning. * libgda/libgda.h: * libgda/gda-connection.c: removed gda-recordset.h. * libgda/gda-data-model-array.c: use GdaValue instead of GdaField. * libgda/gda-data-model-list.c: * libgda/gda-data-model.c: Modified file. * libgda/gda-field.[ch]: removed GdaRowField and GdaField. * libgda/gda-row.[ch]: use GdaValue instead of GdaField. Removed GdaRowField. Added gda_row_value () and gda_row_get_length (). * libgda/gda-table.c: free field attributes. * libgda/gda-table.h: changed gda-recordset.h by gda-data-model.h * providers/default/gda-default-recordset.[ch]: * providers/mysql/gda-mysql-recordset.c: use GdaDataModel instead of GdaRecordset and GdaValue instead of GdaField. * providers/postgres/gda-postgres-provider.c: include gda-data-model-array.h. * providers/postgres/gda-postgres-recordset.[ch]: implement GdaDataModelHash instead of GdaDataModelArray. * providers/postgres/utils.c: removed assertions. * testing/client.c: * testing/models.[ch]: * testing/models.h: * testing/postgres-test.c: added new test of random access to a data model in postgres. 2002-05-13 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: * doc/C/tmpl/gda-data-model-hash.sgml: added new API documentation. 2002-05-13 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-data-model-hash.[ch]: implementation of new GdaDataModelHash. Not yet added to Makefile.am. 2002-05-12 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c (write_config_file): assign the root node to the document to avoid overwriting the config file with an empty one :-). * providers/postgres/gda-postgres-recordset.c (describe): fixed comparison between the column number and the number of fields. 2002-05-10 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model-array.c (gda_data_model_array_append_row): set properties for field. (gda_data_model_array_describe_column): new function. 2002-05-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-recordset.c: store number of rows and columns and array of types for each column in the private structure. Changed the name of some internal functions to gda_postgres_recordset_*. (gda_postgres_recordset_get_value_at): fetch all the rows previous to the requested if it has not already done. (gda_postgres_recordset_get_n_rows): removed. Not used any more since the base class already provides a valid one. * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: removed dbsize and fname parameters from gda_postgres_set_value. 2002-05-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: set the column titles for the recordsets. * providers/postgres/gda-postgres-recordset.[ch]: made it an object derived from GdaDataModelArray. * testing/models.c: GdaValue's from a data model are const. 2002-05-09 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-recordset.[ch]: converted to a GdaDataModel-based class. * providers/mysql/gda-mysql-provider.c: adapted to changes in GdaMysqlRecordset. * libgda/gda-data-model.[ch] (gda_data_model_is_editing): new function 2002-05-09 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch]: added "append_row" and "is_editable" virtual methods. (gda_data_model_class_init): initialize new members. (gda_data_model_is_editable): new function. (gda_data_model_append_row): new function. * libgda/gda-data-model-array.[ch]: store GdaRow's instead of GList's of values. (gda_data_model_array_get_value_at): changed to deal with new internal organization of data. (gda_data_model_array_clear): likewise. (gda_data_model_array_is_editable): new function. (gda_data_model_array_append_row): made it private and changed to return a GdaRow. * libgda/gda-data-model-list.c: changed to use a GdaDataModelArray for storing the values (with one column only). (gda_data_model_list_get_value_at): call get_value_at on the internal GdaDataModelArray. (gda_data_model_list_get_n_rows): likewise. (gda_data_model_list_is_editable): new function. (gda_data_model_list_append_row): new function. (gda_data_model_list_class_init): initialized new class members. (gda_data_model_list_init): create internal GdaDataModelArray. (gda_data_model_list_finalize): unref internal GdaDataModelArray. (gda_data_model_list_append_value): changed to return a GdaRow, and to just call the gda_data_model_array_* functions on the internal GdaDataModelArray. (gda_data_model_list_prepend_value): removed. (gda_data_model_list_insert_value): removed. * providers/default/gda-default-provider.c: * providers/mysql/gda-mysql-provider.c: * providers/postgres/gda-postgres-provider.c: * testing/models.c: * libgda/gda-recordset.c: * libgda/gda-config.c: use gda_data_model_append_row, and not gda_data_model_array_append_row. 2002-05-09 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch] (gda_data_model_foreach): new function. 2002-05-09 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-data-model.c: use integers as key of hash table. Fixed documentation of get_value_at. 2002-05-09 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-command.h: added GDA_COMMAND_TYPE_SCHEMA. * libgda/gda-data-model.[ch]: added get/set for command text and type. * libgda/gda-field.c (gda_field_set_caption): changed assertion. The function returns void. * libgda/gda-recordset.c: removed get/set for command text and type. * providers/postgres/gda-postgres-provider.c: * providers/postgres/gda-postgres-recordset.[ch]: * providers/postgres/gda-postgres-recordset.h: * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: use GdaDataModel instead of GdaRecordset. * testing/models.c: changed some GDA_IS_RECORDSET by GDA_IS_DATA_MODEL and gda_recordset_get_command* by gda_data_model_get_command*. 2002-05-07 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: added writing configuration file support. * libgda/gda-row.c (gda_row_get_attributes_length): allow NULL parameter for empty rows. 2002-05-04 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.[ch]: converted GdaRow to an opaque type, not a GList. (gda_row_get_id): new function. (gda_row_set_id): new function. * libgda/gda-data-model.[ch]: added new signals to this class, "begin_edit", "end_edit" and "cancel_edit", for editing data models returned by providers. (gda_data_model_begin_edit): new function. (gda_data_model_cancel_edit): new function. (gda_data_model_end_edit): new function. 2002-05-04 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.[ch]: moved GdaField* stuff... * libgda/gda-field.[ch]: ...to here. (gda_field_attributes_get_caption): new function. (gda_field_attributes_set_caption): new function. (gda_field_get_caption): new function. (gda_field_set_caption): new function. (gda_field_attributes_new): initialize 'caption' member. (gda_field_attributes_free): free 'caption' member. * libgda/libgda.h: * libgda/Makefile.am: added new header files. * doc/C/*: added new API header file. 2002-05-04 Rodrigo Moya <rodrigo@gnome-db.org> * Release 0.8.190 2002-05-02 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/Makefile.am: don't include libgda-report, as it's not included in the build. * testing/Makefile.am: * tools/Makefile.am: * providers/default/Makefile.am: added missing -I's to INCLUDES. * providers/oracle/Makefile.am: * providers/sybase/Makefile.am: removed .server-related stuff. 2002-05-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: change "boolean" by "bool". 2002-05-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.c (gda_row_attributes_get_length): return 0 if the parameter is NULL, not -1. (gda_row_attributes_get_field): check index before using it. 2002-05-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-recordset.c: (gda_recordset_get_value_at): retrieve the correct column. Yahoo! Now gda-test runs correctly for the postgres provider. 2002-05-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_search_entry): check pointers before calling strcmp(). 2002-05-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * data/config: added URI= to the DSN entry. * providers/default/gda-default-provider.c: (get_databases): check for NULL. * providers/default/libmain.c: added function prototypes. (plugin_get_name): changed "default" to "Default" * providers/postgres/libmain.c: added function prototypes. 2002-05-01 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: GnomeVFS is no longer a dependency. * libgda/gda-init.c (gda_init): don't call gnome_vfs_init. * libgda/gda-util.c (gda_file_save): (gda_file_load): changed to not use GnomeVFS. 2002-05-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * gda-client.c: fixed SIGSEGV when freeing the provider hash. * gda-recordset.c: remove local variable left by mistake. * gda-row.c (gda_row_attributes_get_length): allow NULL as input. This is a temporary fix until we have get_n_rows for recorsets. 2002-05-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-config.c: * libgda/gda-recordset.c: fixes to correctly overwrite global configuration with the one provided by the user. 2002-05-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-recordset.c (gda_recordset_get_connection): added missing function. * data/Makefile.am: removed GConf stuff. * data/libgda.schemas: removed. 2002-05-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-recordset.c: (gda_recordset_get_value_at): fixed little bug. * libgda/Makefile.am: * libgda/gda-config.c: reimplemented configuration stuff without using gconf. * configure.in: removed gconf stuff. * testing/client.c: * testing/postgres-test.h: activate postgres tests. * data/Makefile.am: * data/config: new file with default global configuration for libgda. 2002-04-27 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-recordset.c (gda_recordset_get_n_rows): implemented. (gda_recordset_get_n_columns): implemented. (gda_recordset_get_value_at): made it work. 2002-04-27 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_get_provider_list): only load *real* plugins (.so files). * libgda/gda-recordset.[ch] (gda_recordset_new): added extra parameter, to be passed over to the callback functions. * libgda/gda-client.c (gda_client_open_connection): g_object_ref the providers we load, to always keep a copy in memory. * providers/*/*: adapted to new changes in gda_recordset_new. * providers/mysql/Makefile.am: fixed typo. 2002-04-27 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-recordset-model.[ch]: removed files I forgot to remove. 2002-04-26 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added GModule to list of dependencies. * libgda/Makefile.am: define LIBGDA_PLUGINDIR. * libgda/gda-init.c (gda_init): check that GModule is supported. * libgda/gda-config.h: removed CORBA-related fields in the GdaProviderInfo structure. * libgda/gda-config.c (gda_config_get_provider_list): implemented for the new non-CORBA architecture. (gda_config_free_provider_info): don't free non-existant-anymore fields. * libgda/gda-client.c (gda_client_open_connection): actually load the different plugins containing the providers. * testing/config.c: don't use non-existant-anymore fields. Also, just list sections and keys for libgda, not all the GConf database. * providers/*/*.server.in: removed unneeded files and implemented plugin_* functions, that will be used to interact with the plugin. 2002-04-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.h: removed obsolte GdaComponentInfo structure. * testing/config.c: fixes. 2002-04-22 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/*: * providers/mysql/*: * providers/postgres/*: * providers/sqlite/*: * providers/odbc/*: ported to the new non-CORBA architecture. * doc/C/*: * testing/*: compilation fixes. * libgda/gda-row.[ch] (gda_row_attributes_get_length): new function. * libgda/gda-connection.[ch] (gda_connection_add_error_string): new function. 2002-04-21 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: bumped version to 0.8.190, and incremented library version to 1.1.0. Removed CORBA dependencies. We still have a dependency on GConf, which uses ORBit2, though. * Makefile.am: removed report/* from build, until it is ready. * libgda/Makefile.am: remove CORBA-generated files. * libgda/*: compilation fixes, not really working yet. * libgda/gda-server*: removed these files, as they can be merged with the non-Server equivalents. 2002-04-11 Akira TAGOH <tagoh@gnome-db.org> * data/libgda.schemas: remove Datasources schema. it had an invalid schema type. and we shouldn't need this anymore. 2002-04-10 Zbigniew Chyla <cyba@gnome.pl> * acconfig.h: added BONOBO_EXPLICIT_TRANSLATION_DOMAIN. * configure.in: defined BONOBO_EXPLICIT_TRANSLATION_DOMAIN. * libgda/Makefile.am: set LIBGDA_LOCALEDIR to $(datadir)/locale. * libgda/gda-client.c, libgda/gda-config.c, libgda/gda-connection.c, libgda/gda-error.c, libgda/gda-init.c, libgda/gda-server-connection.c, libgda/gda-server-recordset.c, libgda/gda-server.c, libgda/gda-table.c, libgda/gda-value.c, providers/mysql/gda-mysql-recordset.c, providers/oracle/gda-oracle-connection.c, providers/postgres/gda-postgres-recordset.c, providers/postgres/utils.c, report/gda-report-engine.c, report/job.c, report/libgda-report/gda-report-client.c, report/libgda-report/gda-report-document.c, testing/client.c, testing/config.c: added missing includes to fix i18n. * providers/default/gda-default-provider.c (get_table_fields), providers/mysql/gda-mysql-provider.c (get_table_fields), providers/postgres/gda-postgres-provider.c (gda_postgres_init_md_recset): translate field name, added missing includes. * providers/default/main.c, providers/mysql/main.c, providers/odbc/main.c, providers/oracle/main.c, providers/postgres/main.c, providers/sqlite/main.c, providers/sybase/main.c: (main): call setlocale, added missing includes. 2002-04-02 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.c (gda_connection_execute_single_command): new function for getting a single recordset from the server. * libgda/gda-table.[ch] (gda_table_new_from_node): added 'add_data' parameter, so that we can specify whether we want to add the model's data to the table or not. * libgda/gda-xml-database.[ch] (gda_xml_database_new_table_from_model): new function. (gda_xml_database_new_from_uri): get the database name from the XML file. (gda_xml_database_get_name): (gda_xml_database_set_name): new functions. * libgda/gda-export.c: made it compile on GNOME 2. * libgda/Makefile.am: * libgda/libgda.h: re-enabled GdaExport. * libgda/gda-util.[ch] (gda_string_hash_to_list): new function. * providers/default/gda-default-provider.c (get_databases): implemented SCHEMA_DATABASES. 2002-04-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-value.c (gda_value_isa): test type of value for NULL. * providers/postgres/gda-postgres-provider.c: implemented SCHEMA_USERS, SCHEMA_DATABASES and SCHEMA_SEQUENCES. * providers/postgres/gda-postgres-recordset.c: use the new functions gda_field_attributes_*. * providers/postgres/utils.c (gda_data_type_to_string): removed unused function. 2002-03-31 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added SCHEMA_USERS, SCHEMA_SEQUENCES, and SCHEMA_DATABASES. * providers/mysql/gda-mysql-provider.c (get_mysql_databases): implemented SCHEMA_DATABASES schema. * libgda/gda-connection.h: added new schemas. * testing/client.c (open_connection): add tests for new schemas. 2002-03-31 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-data-model.c: * libgda/gda-init.c: * libgda/gda-server-connection.c: * libgda/gda-table.c: * libgda/gda-util.c: * libgda/gda-xml-database.c: * providers/default/gda-default-provider.c: * providers/default/gda-default-recordset.c: warnings cleanup. * providers/postgres/utils.c (gda_postgres_make_error): don't need to use g_strdup/g_free. 2002-03-29 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added primaryKey, uniqueKey and references fields to the FieldAttributes structure. * libgda/gda-row.[ch] (gda_field_attribute_get_primary_key): (gda_field_attribute_set_primary_key): (gda_field_attributes_get_unique_key): (gda_field_attributes_set_unique_key): (gda_field_attributes_get_references): (gda_field_attributes_set_references): (gda_field_get_primary_key): (gda_field_set_primary_key): (gda_field_get_unique_key): (gda_field_set_unique_key): (gda_field_get_references): (gda_field_set_references): new functions. 2002-03-29 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-error.c (gda_error_list_from_exception): corrected corba system error message. (gda_error_list_to_exception): set the number of errors in _length. * providers/postgres/gda-postgres-provider.c: * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: gda_postgres_make_error () now also uses the PGresult (if available) to set the error message. 2002-03-29 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c (process_sql_commands): One-liner to solve bug #74404. 2002-03-25 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-provider.c (get_table_fields): implemented SCHEMA_FIELDS schema. * libgda/gda-xml-database.[ch] (gda_xml_database_find_table): new function. * libgda/gda-server-connection.[ch] (gda_server_connection_add_error_string): allow variable list of arguments, to format the string to be used for the error. * libgda/gda-util.[ch] (gda_type_to_string): new function. (gda_type_from_string): new function. 2002-03-25 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (get_table_fields): implemented SCHEMA_FIELDS schema. * libgda/gda-server-connection.c (impl_Connection_getSchema): clean up error list after sending it to clients via the CORBA_Environment. (impl_Connection_close): ditto. (impl_Connection_beginTransaction): ditto. (impl_Connection_commitTransaction): ditto. (impl_Connection_rollbackTransaction): ditto. 2002-03-25 Wang Jian <lark@linux.net.cn> * configure.in: Added "zh_CN" to ALL_LINGUAS. 2002-03-25 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: for SCHEMA_FIELDS, return postgres data type names, not GDA ones. 2002-03-25 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: the data type column is now a string containing the type name. Closes #76128. 2002-03-24 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-util.c (gda_file_save): use gnome_vfs_create_uri, or it will only work if the file already exists. * providers/mysql/gda-mysql-recordset.c (fetch_func): make sure we don't pass over NULL or unitialized pointers to ORBit. * providers/mysql/gda-mysql-provider.c (get_mysql_aggregates): implemented SCHEMA_AGGREGATES. 2002-03-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch] (gda_data_model_to_comma_separated): (gda_data_model_to_tab_separated): (gda_data_model_to_xml): new utility functions. 2002-03-22 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-recordset.c (fetch_func): don't add an error in the connection if they request the last row + 1. 2002-03-21 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-provider.c (get_types): implemented SCHEMA_TYPES schema. (gda_default_provider_open_connection): don't fail if the file does not exist. Just create an empty database. * libgda/gda-xml-database.[ch] (gda_xml_database_get_uri): (gda_xml_database_set_uri): new functions. Added support for queries in the XML database format. 2002-03-20 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (gda_client_finalize): call g_object_unref for all opened connections, not gda_connection_close, which may close connections in use in other places. (gda_client_close_all_connections): new function. 2002-03-20 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.[ch]: * providers/postgres/gda-postgres-recordset.c: * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: improved performance for type mapping between PostgreSQL OIDs and GdaType. Fixed a couple of memory leaks. 2002-03-20 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-value.c (gda_value_stringify): added support for GDA_TYPE_NUMERIC. * providers/postgres/gda-postgres-provider.c: added support for getting references. Changed some variable names. * providers/postgres/utils.c: added support for GDA_TYPE_NUMERIC. Removed some functions not used any more. (gda_postgres_set_field_data): don't use g_new0/g_free unless absolutely necessary. Don't set actual size as gda_field_set_*_value() already does it. 2002-03-19 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-parameter.c: include new file to remove warning. * providers/postgres/gda-postgres-provider.c: fix a crash when a table has no indexes for SCHEMA_FIELDS. Corrected defined size data for SCHEMA_FIELDS. * providers/postgres/utils.c: removed some TODO/FIXME lines. 2002-03-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-connection.c (impl_Connection_getSchema): if there are no errors, return an empty recordset. 2002-03-19 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-parameter.c: initialize corba_list->_length. Changed CORBA_Object_duplicate () by ORBit_RootObject_duplicate (). 2002-03-19 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/utils.c: fix little mistake when mapping boolean type from postgres to gda. 2002-03-18 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-parameter.[ch] (gda_parameter_new_string): new function. (gda_parameter_list_to_corba): finished implementation. 2002-03-18 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/GNOME_Database_Provider_Default.server.in: use URI instead of FILENAME, since we'll be able to support remote files. * providers/default/gda-default-provider.c (gda_default_provider_open_connection): use URI instead of FILENAME. * libgda/gda-util.c (gda_file_load): create a GnomeVFSURI instead of using the URI string directly. * libgda/gda-init.c (gda_init): don't call gnome_vfs_configuration_init, but gnome_vfs_init. 2002-03-18 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-xml-database.[ch] (gda_xml_database_reload): new function (gda_xml_database_save): new function. (gda_xml_database_new_from_uri): store the uri in our internal data. (gda_xml_database_get_tables): new function. (gda_xml_database_free_table_list): new function. * libgda/gda-init.c (gda_init): call gnome_vfs_configuration_init. * providers/default/*: more work on the new default provider, based on the GdaXmlDatabase class. 2002-03-18 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: * providers/postgres/gda-postgres-provider.h: * providers/postgres/gda-postgres-recordset.c: * providers/postgres/gda-postgres.h: * providers/postgres/utils.c: implemented SCHEMA_FIELDS and changed the way to map between PostgreSQL and libgda types. 2002-03-16 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.c (gda_data_model_describe_column): fixed copy&paste code. 2002-03-14 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: changed Numeric type to match mike's proposals. 2002-03-13 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added Numeric type. * libgda/gda-value.[ch] (gda_value_new_numeric): new function. (gda_value_get_numeric): new function. (gda_value_set_numeric): new function. * libgda/gda-row.[ch] (gda_field_set_numeric_value): new function. (gda_field_get_numeric_value): new function. 2002-03-12 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * configure.in: don't check for the version of intltool. 2002-03-06 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch]: added "describe_column" virtual method. (gda_data_model_describe_column): new function. (gda_data_model_class_init): initialize new member. * libgda/gda-data-model-array.c (gda_data_model_array_class_init): * libgda/gda-data-model-list.c (gda_data_model_list_class_init): initialize new member. * libgda/gda-recordset.c (gda_recordset_describe_column): new method. * libgda/gda-table.[ch] (gda_table_new_from_model): new function to create a GdaTable from a GdaDataModel. (gda_table_describe_column): new method. (gda_table_add_field): set number of columns on the underlying GdaDataModelArray class. (gda_table_add_data_from_model): new function. * providers/default/*: reworked to be based on GdaXmlDatabase, since the old default provider is now the GDA SQLite provider. 2002-03-05 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.[ch] (gda_field_attributes_new): (gda_field_attributes_free): new functions. * libgda/gda-table.[ch]: new class, which implements an in-memory representation of a whole table. * libgda/gda-xml-database.[ch]: rewritten to make use of the already existing interfaces, and not new ones. * doc/C/libgda-docs.sgml: * doc/C/tmpl/gda-table.sgml: added new docs. 2002-03-03 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_add_listener): pass correctly the user_data pointer, to avoid the crash in bug #72818. (gda_config_save_data_source): added documentation. (gda_config_remove_data_source): new function. * configure.in: * doc/C/Makefile.am: disabled 'es' and 'pt_BR' documentation until they are fixed. 2002-03-02 Rodrigo Moya <rodrigo@gnome-db.org> * providers/sybase/gda-sybase-error.c: removed dead file. 2002-02-26 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: * libgda/gda-connection.h: added SCHEMA_FIELDS. 2002-02-26 Chris Chabot <chabotc@reviewboard.com> * libgda.spec.in: added optional compilation of all the providers, thus allowing us to make packages for the providers we want, and not for all of them. 2002-02-26 Chris Chabot <chabotc@reviewboard.com> * libgda.spec.in: new version. 2002-02-26 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c (get_postgres_triggers): now gets only triggers, not constraints. * testing/client.c: added tests for aggregates and triggers. 2002-02-23 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_add_listener): we must call gconf_client_add_dir for the directories to be watched out. * libgda/gda-marshal.list: added VOID:POINTER,UINT. 2002-02-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.h: #define GDA_CONNECTION_SCHEMA_TRIGGERS. * providers/postgres/gda-postgres-provider.c (get_postgres_triggers): support SCHEMA_TRIGGERS. (get_postgres_aggregates): support SCHEMA_AGGREGATES. * libgda/gda-parameter.[ch]: * libgda/gda-client.c: * libgda/gda-connection.c: * libgda/gda-server-connection.c: * report/gda-report-engine.c: * report/idl/GNOME_Database_Report.idl: * idl/GNOME_Database.idl: replaced ParameterList with Bonobo::PropertySet, since they are exactly the same. 2002-02-20 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.h: * idl/GNOME_Database.idl: added SCHEMA_AGGREGATES. 2002-02-18 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added more properties to the FieldAttributes struct. * libgda/gda-row.[ch] (gda_field_attributes_set_allow_null), (gda_field_attributes_get_allow_null), (gda_field_set_allow_null), (gda_field_get_allow_null): new functions. 2002-02-10 Rodrigo Moya <rodrigo@gnome-db.org> Released 0.8.103 version. 2002-02-09 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added more FEATURE's, and added TRIGGERS schema. * providers/sqlite/gda-sqlite-provider.c (gda_sqlite_provider_supports): * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_supports): * providers/postgres/gda-postgres-provider.c (gda_postgres_provider_supports): support FEATURE_SQL. * providers/odbc/gda-odbc-provider.c (gda_odbc_provider_execute_command): implemented. 2002-02-09 Rodrigo Moya <rodrigo@gnome-db.org> * providers/odbc/main.c: * providers/odbc/gda-odbc-provider.[ch]: * providers/odbc/GNOME_Database_Provider_ODBC.server.in: started port from GNOME 1.x branch * providers/postgres/gda-postgres-provider.c (gda_postgres_provider_open_connection): use g_new0 for creating the private structure. (gda_postgres_provider_close_connection): don't leak the private data. * providers/postgres/main.c: use '<..>' for library header files. 2002-02-08 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: don't look for DBMS libraries if --without is given. Fixes #70264 2002-01-30 Frederic.Devernay@sophia.inria.fr * providers/mysql/gda-mysql-recordset.h: don't include mysql/mysql.h, not needed and not existing in many setups. Fixes #70059 2002-01-29 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: bumped version to 0.8.103 2002-01-28 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * ChangeLog: Removed some po related entries. 2002-01-27 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.[ch]: made GDA_CONFIG_* defines public, as they'll be used outside libgda. 2002-01-26 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.[ch] (gda_config_get_provider_by_name): new function. (gda_config_free_provider_info): new function. 2002-01-26 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/sqlite/gda-sqlite-provider.c * providers/sqlite/gda-sqlite-provider.h * providers/sqlite/gda-sqlite-recordset.c * providers/sqlite/gda-sqlite-recordset.h * providers/sqlite/gda-sqlite.h * providers/sqlite/main.c: Lots of changes. Now it should work ;-) Also I have started some code to support transactions. 2002-01-26 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (gda_client_open_connection): ping already loaded providers, since they may have gone away. * libgda/gda-connection.c (gda_connection_get_cnc_string): (gda_connection_get_provider): new functions. (gda_connection_new): initialize new private members. (gda_connection_finalize): free new private members. 2002-01-25 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.[ch] (gda_connection_new): use the GDA dsn name, not the connection string. (gda_connection_get_dsn): renamed from gda_connection_get_string * libgda/gda-client.c: adapted to changes in gda-connection.* 2002-01-25 Cleber Rodrigues <cleberrrjr@bol.com.br> * libgda/gda-connection.* (gda_connection_is_open): implemented 2002-01-23 Rodrigo Moya <rodrigo@gnome-db.org> * report/libgda-report/gda-report-document.c (gda_report_document_new_from_string): implemented basic parser * libgda/gda-util.c (gda_file_load): implemented 2002-01-23 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/libgda-sections.txt: * doc/C/tmpl/gda-command.sgml: * doc/C/tmpl/gda-connection.sgml: * doc/C/tmpl/gda-recordset.sgml: * doc/C/tmpl/gda-report-datasource.sgml: * doc/C/tmpl/gda-row.sgml: * doc/C/tmpl/gda-server-recordset-model.sgml: * doc/C/tmpl/gda-server-recordset.sgml: * doc/C/tmpl/gda-xql-utils.sgml: * libgda/gda-recordset.c: added documentation for gda_recordset_get_command_t*(). 2002-01-23 Rodrigo Moya <rodrigo@gnome-db.org> * data/gda-xml-query.dtd: * data/gda-xml-query.xsl: added from stable branch 2002-01-22 Rodrigo Moya <rodrigo@gnome-db.org> * providers/sqlite/*: moved the default provider to this new directory, as the SQLite provider is just one more provider. * configure.in: * providers/Makefile.am: enabled new sqlite directory. * libgda/gda-recordset.c (gda_recordset_finalize): check for object type before continuing. 2002-01-22 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * idl/GNOME_Database.idl: moved declarations of Command* before Recordset. Added getCommandText() and getCommandType() to the Recordset interface. * libgda/gda-recordset.[ch] (gda_recordset_command_type): (gda_recordset_command_text): new functions to retrieve the text and type of the query that generated the recordset. * libgda/gda-server-recordset.[ch] (impl_Recordset_getCommandText): (impl_Recordset_getCommandType): new functions. * providers/postgres/gda-postgres-provider.c (process_sql_commands): sets the command type and text for each recordset. * testing/models.c (display_recordset_data): display the type and text of the query. Now it works for postgres provider. 2002-01-21 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * idl/GNOME_Database.idl: * libgda/gda-connection.h: * providers/postgres/gda-postgres-provider.c: * testing/client.c: added new SCHEMA_INDEXES and support for it. 2002-01-20 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-command.h: changed parameter name in gda-command.h to match the name in gda-command.c so as gtk-doc recognizes it. 2002-01-20 Rodrigo Moya <rodrigo@gnome-db.org> * ChangeLog: merged all ChangeLog's into a single file 2002-01-18 Hasbullah Bin Pit <sebol@ikhlas.com> * configure.ini: Added Malay (ms)to ALL_LINGUAS. 2002-01-18 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/sqlite/*: Removed, we use now distributions packages. * providers/default/Makefile.am: Changed to use the system sqlite installation. 2002-01-17 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/postgres-test.c: added support GdaCommandOption. 2002-01-17 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: added support for GdaCommandOptions. 2002-01-17 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-command.[ch]: added new type GdaCommandOptions and get/set functions for it. Also added documentation for all the functions. 2002-01-17 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * idl/GNOME_Database.idl: added CommandOption. 2002-01-17 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/tmpl/gda-command.sgml: added documentation. 2002-01-17 Carlos Perelló MarÃn <carlos@gnome-db.org> * configure.in: Added sqlite detection code 2002-01-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/models.h: added declaration of display_recordset_data(). * testing/models.c (display_recordset_data): new function to show all the data associated with a recordset (column name, data type, scale...). (display_data_model): free the string returned by gda_value_stringify(). Removed warnings. * testing/postgres-test.c: use the new function in models.c * testing/client.c: * testing/config.c: * testing/value.c: remove warnings. 2002-01-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * report/gda-report-engine.c: * report/libgda-report/gda-report-client.c: * report/libgda-report/gda-report-document.c: removed a few easy-to-resolve warnings. Still pending others. 2002-01-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: * providers/postgres/utils.c: no more warnings. 2002-01-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/mysql/gda-mysql-provider.c: * providers/mysql/gda-mysql-recordset.c: removed all warnings. 2002-01-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/default/gda-default-provider.c: removed all warnings. 2002-01-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-value.c: added documentation. Corrected changed parameter value in *_list(). * libgda/gda-row.c: added documentation. (gda_field_get_gdatype): changed GNOME_Database_TYPE_NULL to GDA_TYPE_NULL. (gda_field_stringify): remove const from the GdaValue parameter. * libgda/gda-row.h: changed parameter name for gda_field_attributes_set_defined_size(): so as gtk-doc doesn't complains about it. Remove const from the GdaValue parameter. * libgda/gda-value.[ch]: * libgda/gda-row.[ch]: changed 'long long' by 'gint64'. Removed all warnings. Added some missing const to *value_new_*. * libgda/gda-config.c: * libgda/gda-data-model-array.c: * libgda/gda-error.c: * libgda/gda-parameter.c: * libgda/gda-recordset.c: * libgda/gda-server-connection.c: * libgda/gda-server-recordset-model.c: * libgda/gda-server.c: * libgda/gda-util.c: * libgda/gda-xml-database.c: * libgda/gda-xml-document.c: * libgda/gda-xql-query.c: removed all warnings except for unused static functions in gda-xql-select.c and gda-xql-item.c. 2002-01-15 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/libgda-docs.sgml: added parameter information to the providers configuration section. * doc/C/tmpl/gda-value.sgml: added long and short description. Little changes to the table of type and string representations. * doc/C/tmpl/gda-row.sgml: added short description. 2002-01-14 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch]: added declarations for new GdaValueList type (gda_value_new_list): new function (gda_value_get_list): new function (gda_value_set_list): new function (gda_value_stringify): added support for ValueList type * libgda/gda-row.[ch]: added support for new GdaValueList type (gda_field_get_list_value): new function (gda_field_set_list_value): new function 2002-01-14 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added ValueList type 2002-01-14 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/tmpl/gda-value.sgml: added information for GDA_VALUE_TYPE_LIST conversions in gda_value_stringify 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * report/gda-report-engine.[ch]: * report/gda-report-output.[ch]: * report/libgda-report/gda-report-datasource.[ch]: changed BonoboXObject to BonoboObject. Closes bug #67816. 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/sybase/main.c: included libgda/libgda.h to avoid warnings. 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/main.c: included libgda/libgda.h to avoid warnings. * providers/postgres/gda-postgres-recordset.c: include gda-postgres.h instead of gda-postgres-recordset.h to avoid warnings. Corrected OBJECT_DATA_RECSET_HANDLE #define (was still *_Mysql_*!). 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/oracle/main.c: included libgda/libgda.h to avoid warnings. 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/mysql/main.c: included libgda/libgda.h to avoid warnings. 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/default/main.c: included libgda/libgda.h to avoid warnings. 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-client.c: * libgda/gda-client.h: * libgda/gda-server-connection.c: * libgda/gda-server-connection.h: * libgda/gda-server-provider.c: * libgda/gda-server-provider.h: * libgda/gda-server-recordset.c: * libgda/gda-server-recordset.h: changed BonoboXObject to BonoboObject. Closes bug #67816. * libgda/gda-value.c: added documentation for gda_value_stringify(). 2002-01-14 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server.c (factory_callback): emit termination signals on all errors * libgda/gda-server-provider.c (gda_server_provider_close_connection): (gda_server_provider_open_connection): unref the provider when no connections remain open 2002-01-14 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * doc/C/libgda-docs.sgml: removed warning in line 484. * doc/C/tmpl/gda-value.sgml: added documentation for gda_value_stringify(). 2002-01-13 Rodrigo Moya <rodrigo@gnome-db.org> * report/libgda-report/Makefile.am: fixed so that orbit-idl regenerates the skels and stubs when the IDL files change 2002-01-13 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-connection.c (impl_Connection_open): use bonobo_object_dup_ref, not CORBA_Object_duplicate * libgda/gda-connection.c (gda_connection_finalize): added new parameter in the call to GNOME_Database_Connection_close 2002-01-13 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added 'Client client' argument to the Connection::close method 2002-01-12 Rodrigo Moya <rodrigo@gnome-db.org> * testing/Makefile.am: added models.h to _SOURCES for distcheck 2002-01-12 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: bumped version to 0.8.102 2002-01-12 Abel Cheung <maddog@linux.org.hk> * doc/pt_BR/Makefile.am: Added DESTDIR support. 2002-01-12 Abel Cheung <maddog@linux.org.hk> * doc/es/Makefile.am: Add DESTDIR support. 2002-01-11 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: use GNOME_COMPILE_WARNINGS, and removed call to obsolete GNOME_COMMON_INIT macro 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * tools/gda-run.c: assigned copyright to the GNOME Foundation. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/*.[ch]: assign copyright to the GNOME Foundation. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * report/*.[ch]: assigned copyright to GNOME Foundation. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/sybase/*.[ch]: assign copyright to the GNOME Foundation. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-recordset.c: updated copyright notice. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/oracle/*.[ch]: assigned copyright to the GNOME Foundation. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/mysql/*.[ch]: assigned copyright to the GNOME Foundation. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/default/*.[ch]: assigned copyright to the GNOME Foundation. 2002-01-11 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/*.[ch]: Assign copyright to the GNOME Foundation. 2002-01-10 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-connection.c (gda_server_connection_add_error_string): implemented 2002-01-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/client.c: include postgres-test.h. Moved postgres tests to the new files. (open_connection()): Correctly guess the provider. * testing/postgres-test.[ch]: new. * testing/models.h: new file to show the functions available in models.c. * testing/Makefile.am: added postgres-test.[ch]. 2002-01-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/utils.c (gda_postgres_set_field_date): added support for Time, Timestamp and Date. 2002-01-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-row.[ch]: *_get_* returns const. *_set_* receives const. Make Time, Timestamp and Date work. Removed assert in gda_field_get_time_value(), get_date_value() and get_timestamp_value() as gda_value_*() does it. * libgda/gda-value.[ch]: removed many warnings. Changes to Time, Date and Timestamp. Same with const as the above. Changed BONOBO_ARG_* by GDA_VALUE_* for the basic types. Defined TIMEZONE_INVALID. Declared GdaDate, GdaTime and GdaTimestamp. (gda_value_stringify()): use the maximum precision for Point. Added conversion of Date, Time and Timestamp. 2002-01-10 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * idl/GNOME_Database.idl: added timezone to Time and Timestamp. 2002-01-09 Rodrigo Moya <rodrigo@gnome-db.org> * testing/client.c (display_row_data): on the client side, we use GdaRecordset's, not GdaServerRecordset's 2002-01-08 Rodrigo Moya <rodrigo@gnome-db.org> * tools/gda-buildclient.in: * tools/gda-buildserver.in: removed useless scripts, not needed anymore 2002-01-08 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.[ch] (gda_value_is_null): new function (gda_value_set_null): new function * libgda/gda-row.[ch] (gda_field_is_null): implemented (gda_field_set_null_value): implemented * libgda/gda-config.c (gda_config_save_data_source): new function 2002-01-08 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: removed gda-build* scripts 2002-01-08 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/client.c (show_schema()): changed value to be const. (do_postgres_test()): (display_row_data()): (open_connection()): new test specific to the postgres provider. 2002-01-08 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/utils.c (gda_postgres_set_type_value): renamed to gda_postgres_set_field_data(). Now it sets all the field data, not just type and value. (gda_postgres_type_to_gda()): added NAMEOID type (char(32) used for internal names in PostgreSQL). Default return value is now STRING so as describe_func() doesn't set the column type to UNKNOWN. * providers/postgres/gda-postgres.h: removed declaration of gda_postgres_set_type_value() and added gda_postgres_set_field_data(). * providers/postgres/gda-postgres-recordset.c (fetch_func()): use the new function to set the field data. Removed TODO list. Check for null values. (describe_func()): removed TODO list. Values for scale and defined_size are now ok. * providers/postgres/gda_postgres_provider.c: free the list of recordsets when there is an error and return NULL after adding the error to the connection. 2002-01-08 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-row.h: define GdaType as an enumeration. * libgda/gda-row.[ch]: stringify receives a const argument. * libgda/gda-value.[ch]: stringify receives a const argument. So does gda_value_isa(). We should talk about constness in the list. 2002-01-07 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/*.[ch]: changed copyright to the GNOME Foundation. * providers/postgres/gda-postgres-provider.[ch]: moved #define's to header file. Now use GdaPostgresConnectionPrivate to store the connection and the data associated data types. (add_string_row()): now it is called from g_list_foreach(). 2002-01-05 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server.c (factory_callback): if we fail creating an object, and we've got no clients attached, emit the "last_client_gone" signal, so that processes can terminate. 2002-01-05 Rodrigo Moya <rodrigo@gnome-db.org> * doc/es/libgda.sgml: * doc/pt_BR/libgda.sgml: fixed DOCTYPE 2002-01-03 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/utils.c (gda_mysql_type_to_gda): when we can't resolve the types, default to STRING, not to UNKNOWN 2002-01-03 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/utils.c: * providers/postgres/gda-postgres-recordset.c: Added support for GdaGeometricPoint. 2002-01-03 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/Changelog: fix little mistake. * libgda/gda-row.[ch]: * libgda/gda-value.[ch]: Added support for GeometricPoint data type. 2002-01-03 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * idl/GNOME_Database.idl: added GeometricPoint as new data type. 2002-01-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/client.c: also lists procedures and views (if any). Shows the number of procedures, tables, types and views. 2002-01-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c (process_sql_commands()): don't call PQclear() after storing the resultset. It's done when freeing the resultset. (gda_postgres_provider_get_schema()): added this one and a few helper functions. (gda_postgres_provider_open_connection()): accept REQUIRESSL and HOSTADDR as parameters and changed LOGIN by USER. Now uses PQconnectdb() instead of the old PQsetdbLogin(). Changed default date style to ISO. * providers/postgres/utils.c (gda_postgres_set_type_value()): GDA_TYPE_DATE now works. Changed the type of the default from GDA_TYPE_UNKNOWN to GDA_TYPE_STRING as a temporary workaround to make TIMESTAMP, TIME and BINARY work. * providers/postgres/GNOME_Database_Provider_Postgres.server.in: added parameters REQUIRESSL and HOSTADDR. Changed LOGIN by USER. 2002-01-02 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-server-recordset.c (get_row): fixed counter on row retrieval loop, which was getting always 1 row more * libgda/Makefile.am: s/IDLFILES/IDL_FILES, so that ORBit-generated files are regenerated when the IDL files change * libgda/gda-server-connection.c (gda_server_connection_free_error_list): Test if the error list is NULL to avoid failing assertion in gda_error_list_free(). 2002-01-01 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda.sgml: libgda-init functions * doc/C/libgda-docs.sgml: added libgda-init section 2001-12-31 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-recordset.c (gda_recordset_get_value_at): move to next row after successfully fetching 2001-12-30 Rodrigo Moya <rodrigo@gnome-db.org> * testing/client.c (show_schemas): added types schema 2001-12-30 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (get_mysql_types): implemented TYPES schema 2001-12-30 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/sqlite/Makefile.am: don't fail when copying lempar.c for distcheck 2001-12-30 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-recordset-model.[ch]: new class, for creating GdaServerRecordset's from data models * libgda/gda-server-recordset.[ch] (gda_server_recordset_set_connection): (gda_server_recordset_set_fetch_func): (gda_server_recordset_set_describe_func): new functions * libgda/gda-row.[ch] (gda_field_set_value): set const for GdaValue argument 2001-12-30 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: added GdaServerRecordsetModel * doc/C/tmpl/gda-server-recordset-model.sgml: added new file 2001-12-29 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-recordset.c (fetch_func): if there are no rows, just return, for not causing crashes on invalid memory access. Also, provide a default in the switch statement 2001-12-29 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.h: added new schemas to GdaConnectionSchema 2001-12-29 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added more schemas (VIEWS, PROCEDURES, TYPES) 2001-12-29 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/sqlite/Makefile.am: * report/libgda-report/Makefile.am: more changes to really pass distcheck. 0.8.99 is ready 2001-12-29 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/sqlite/Makefile.am: Fixed to pass distcheck. It's only a bad fix, we should review it. Happy New Year!!! 2001-12-28 Rodrigo Moya <rodrigo@gnome-db.org> * testing/client.c (show_schemas): new function for showing database schema objects from the tested connections 2001-12-28 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: bumped version to 0.8.99 2001-12-27 Rodrigo Moya <rodrigo@gnome-db.org> * report/idl/GNOME_Database_Report.idl: added ::Output interface, and made the runDocument method return that, so that we can make async retrieval of the reports * report/gda-report-engine.c (impl_ReportEngine_runDocument): implemented * report/gda-report-output.[ch]: implementation of the ::Output interface * report/job.[ch]: new files for processing reports (engine_job_process_report): function for processing the XML reports sent out by clients 2001-12-27 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_get_schema): started implementation (get_mysql_tables): implemented SCHEMA_TABLES 2001-12-27 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-provider.[ch]: added getSchema virtual function (gda_server_provider_get_schema): new function * libgda/gda-server-connection.c (impl_Connection_getSchema): implemented * libgda/gda-connection.[ch] (gda_connection_get_schema): new function * libgda/gda-parameter.[ch] (gda_parameter_list_new_from_corba): new function 2001-12-27 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added schema stuff to ::Connection interface 2001-12-26 Rodrigo Moya <rodrigo@gnome-db.org> * report/gda-report-engine.[ch] (gda_report_engine_get_gda_client): new function for getting the global GdaClient object being used * report/libgda-report/gda-report-datasource.[ch]: fixed for compilation * report/idl/GNOME_Database_Report.idl: fixed 2001-12-26 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: added the call to gda_server_connection_add_error() where I forgot to put it. Added gda_postgres_provider_supports(). Call PQfinish() if PQsetdbLogin() fails. Always call PQfinish() in close_connection() to avoid memory leaks. Handle the possible NULL return value in PQexec(). * providers/postgres/utils.c: First version of a working gda_postgres_type_to_gda(). Added gda_postgres_set_type_value(). 2001-12-25 Rodrigo Moya <rodrigo@gnome-db.org> * report/libgda-report/gda-report-document.c (gda_report_document_new_from_uri): implemented * report/libgda-report/gda-report-client.[ch] (gda_report_client_run_document): implemented * report/libgda-report/gda-report-datasource.[ch]: new files * report/idl/GNOME_Database_Report.idl: made runDocument use Bonobo::Stream's instead of simple string's, since we might be sending back and forth very big chunks of data. Added GNOME::Database::Report::DataSource interface 2001-12-25 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-connection.c (gda_server_connection_class_init): also initialize the supports function pointer * libgda/gda-xml-database.[ch] (gda_xml_database_new_from_uri): renamed from gda_xml_database_new_from_file, so that we can get the file from any place supported by GnomeVFS (gda_xml_database_save): removed, not needed anymore, there is gda_xml_document_to_file, which even now works with GnomeVFS (gda_xml_database_free): removed 2001-12-24 Rodrigo Moya <rodrigo@gnome-db.org> * report/libgda-report/gda-report-document.[ch]: new files for managing the XML format used for reports (gda_report_document_new_from_string): new function (gda_report_document_new_from_uri): new function 2001-12-24 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda-docs.sgml: added GdaReportDocument section 2001-12-23 Rodrigo Moya <rodrigo@gnome-db.org> * report/main.c: main file for the engine binary * report/gda-report-engine.[ch]: GNOME::Database::Report::Engine object implementation * report/GNOME_Database_Report.server.in: added * report/idl/GNOME_Database_Report.idl: 1st phase of the report engine is very simple, so reflect that in the IDL. Also, reuse definitions from GNOME::Database * report/libgda-report/gda-report-client.[ch]: new files 2001-12-23 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-recordset.c (fetch_func): don't use mysql_fetch_lengths, but the MYSQL_RES 's lengths member. Also, call mysql_fetch_row! 2001-12-23 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.c (gda_row_new): initialize all GdaField's to be a NULL value * libgda/gda-value.c (gda_value_set_*): fixed all functions to really work as expected * libgda/gda-server-recordset.c (impl_Recordset_fetch): don't return an initialized pointer! * libgda/gda-recordset.c (gda_recordset_get_n_rows): return the number of rows from the GNOME::Database::Recordset object, not the underlying GdaDataModelArray, which is filled on demand (gda_recordset_get_value_at): get rows on demand 2001-12-23 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/Makefile.am: * doc/C/libgda-docs.sgml: added libgda-report to documentation 2001-12-23 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: * Makefile.am: re-enabled report directory 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * testing/client.c: added gda_connection_supports test * testing/gda-xmldb-test.c: removed. All tests will be in gda-test 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * report/common/*: * report/engine/*: removed for restructuration * report/libgda-report/: new directory to contain the report library 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_supports): new method implementation for the MySQL provider 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-provider.c: added missing #include's 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-provider.[ch] (gda_server_provider_supports): new * libgda/gda-server-connection.c (impl_Connection_supports): new method implementation * libgda/gda-connection.[ch] (gda_connection_supports): new function 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added supports method to ::Connection, method for getting information about supported features in a give database connection 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added libgnome-vfs to list of required libraries 2001-12-22 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/gda-default-provider.c: Finished the implementation of execute command for SQL queries. * providers/default/gda-default-recordset.[ch]: Added to create new default-recordset. 2001-12-22 Carlos Perelló MarÃn <carlos@gnome-db.org> * libgda/Makefile.am: Fixed. 2001-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-connection.c (gda_connection_execute_command): don't connect to "finalize" signals * libgda/gda-util.[ch] (gda_file_save): new function (gda_file_load): new function * libgda/gda-xml-document.c (gda_xml_document_free): removed useless function (gda_xml_document_to_file): use URIs instead of local filenames, and call gda_file_save instead of xmlSaveFile. 2001-12-21 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server.c (component_destroyed_cb): fixed 2001-12-21 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/re-enabled doc directory, now including both the manual and the API reference in the same document 2001-12-21 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: * Makefile.am: re-enabled doc directory 2001-12-20 Rodrigo Moya <rodrigo@gnome-db.org> * providers/oracle/gda-oracle-connection.[ch]: Oracle connection-specific data management functions * providers/oracle/gda-oracle-provider.[ch]: Oracle implementation for the GNOME::Database::Provider interface * providers/oracle/gda-oracle.h: main header file * providers/oracle/started GNOME 2 port for the Oracle provider 2001-12-20 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_begin_transaction): (gda_mysql_provider_commit_transaction): (gda_mysql_provider_rollback_transaction): implemented 2001-12-20 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (cnc_weak_cb): added weak ref callback (gda_client_open_connection): use g_object_weak_ref 2001-12-20 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added Oracle provider 2001-12-20 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres-provider.c: some cosmetic changes, implementation of begin, commit and rollback. * providers/postgres/gda-postgres-recordset.c: commented out some portions of code related to data types so as the code compiles ok. * providers/postgres/gda-postgres.h: added include for gda-postgres-recordset.h needed by gda-postgres-provider.c. Changed the declaration of gda_postgres_type_to_gda() to make the code compile. * providers/postgres/utils.c: make the code compile but gda_postgres_type_to_gda() unuseful. I will finish it later. 2001-12-20 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * libgda/gda-connection.c: if 'id' is NULL in begin, commit or rollback then replace it with a "". This avoids core dump in gda-test.c. 2001-12-20 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-connection.c: * libgda/gda-server-provider.c: s/g_return*_if_fail/bonobo_return*_if_fail 2001-12-20 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/sqlite/Makefile.am: Defined OS_UNIX=1 2001-12-20 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/sqlite/*: Updated to 2.1.7 release. 2001-12-19 Rodrigo Moya <rodrigo@gnome-db.org> * providers/postgres/GNOME_Database_Provider_Postgres.server.in: fixed gda_params attribute, which was copied from MySQL, so was invalid * providers/postgres/Makefile.am: added '-2' suffix to executable name 2001-12-19 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_get_type): removed extra if statement (process_sql_commands): initialize counters before using them 2001-12-19 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-recordset.c (gda_recordset_new): set column titles * libgda/gda-data-model-array.c (gda_data_model_array_set_n_columns): new function 2001-12-19 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: we now depend on libxslt 2001-12-19 Cleber Rodrigues <cleberrrjr@bol.com.br> * libgda/gda-xql-*: ported GDA XML Query stuff to GNOME 2 2001-12-18 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/Makefile.am: * providers/mysql/GNOME_Database_Provider_MySQL.server.in: added '-2' suffix to executable name * providers/mysql/gda-mysql-recordset.c (fetch_func): implemented (describe_func): implemented 2001-12-18 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-recordset.c (impl_Recordset_moveFirst): implemented (impl_Recordset_moveNext): implemented (impl_Recordset_movePrevious): implemented (impl_Recordset_moveLast): implemented 2001-12-18 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-recordset.c (impl_Recordset_describe): implemented (impl_Recordset_fetch): implemented 2001-12-18 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.[ch] (gda_row_get_field): new function * libgda/gda-server-recordset.[ch] (impl_Recordset_getRowCount): new CORBA method added 2001-12-18 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added getRowCount method to ::Recordset 2001-12-18 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * providers/postgres/gda-postgres.h: Initial version * providers/postgres/gda-postgres-provider.h: Initial version * providers/postgres/gda-postgres-provider.c: Initial version * providers/postgres/gda-postgres-recordset.c: Initial version * providers/postgres/gda-postgres-recordset.h: Initial version * providers/postgres/GNOME_Database_Provider_Postgres.server.in: Initial version * providers/postgres/Changelog: Initial version * providers/postgres/main.c: Initial version * providers/postgres/Makefile.am: Initial version * providers/postgres/utils.c: Initial version Based heavily upon the work by Rodrigo in the MySQL provider and Vivien in the gnome-1-x PostgreSQL provider. 2001-12-18 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * configure.in: Added postgres provider directory to build process. 2001-12-17 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/utils.c (gda_mysql_type_to_gda): new function 2001-12-17 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/Makefile.am: * providers/default/GNOME_Database_Provider_Default.server.in: added '-2' suffix to executable name 2001-12-17 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-field.[ch]: removed, moved all functions to gda-row * libgda/gda-server-recordset.c (gda_server_recordset_get_connection): new function * libgda/gda-row.c (gda_row_attributes_new): new function (gda_row_attributes_get_field): new function (gda_field_attributes_get_defined_size): new function (gda_field_attributes_set_defined_size): new function (gda_field_attributes_get_name): new function (gda_field_attributes_set_name): new function (gda_field_attributes_get_scale): new function (gda_field_attributes_set_scale): new function (gda_field_attributes_get_gdatype): new function (gda_field_attributes_set_gdatype): new function (gda_field_*): moved from gda-field.[ch] 2001-12-17 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: s/ValueType/Type, and removed unused Type's 2001-12-16 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.c (gda_mysql_provider_execute_command): impl * providers/mysql/gda-mysql-recordset.[ch]: new files 2001-12-16 Duarte Loreto <happyguy_pt@hotmail.com> * configure.in: Added Portuguese locale to ALL_LINGUAS. 2001-12-13 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-parameter.c (gda_parameter_list_to_corba): new function * libgda/gda-server-connection.c (gda_server_connection_notify_action): don't build the CORBA sequence by hand, but use the new gda_parameter_list_to_corba function * libgda/gda-recordset (gda_recordset_new): added a GNOME_Database_Recordset parameter, since GdaRecordset's shouldn't be created without a valid CORBA object * libgda/gda-connection.c (gda_connection_execute_command): implemented 2001-12-11 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: s/AM_GCONF_SOURCE2/AM_GCONF_SOURCE_2 2001-12-10 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-provider.c (gda_default_provider_open_connection): reverted my last change. New SQLite version just uses a FILENAME, not a DIRECTORY, as previous versions 2001-12-10 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-parameter.c (gda_parameter_list_get_length): return 0 instead of -1 if the parameter is NULL 2001-12-09 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-provider.c (gda_default_provider_open_connection): use DIRECTORY instead of FILENAME in the connection string 2001-12-09 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-connection.c (gda_server_connection_notify_action): disable, as it is not working right now * libgda/gda-parameter.[ch] (gda_parameter_list_get_length): new function * libgda/gda-client.[ch]: added "error" signal to GdaClient class * libgda/gda-connection.[ch]: added "error" signal to GdaConnection class * libgda/gda-error.c (gda_error_list_from_exception): (gda_error_list_to_exception): fixed crashes * libgda/gda-config.c: replaced use of GConfEngine with GConfClient to avoid problems with GConfEngine/GConfClient (from libgnome) mix problems 2001-12-09 Rodrigo Moya <rodrigo@gnome-db.org> * data/added data/ directory, where all data files will be kept * data/libgda.schemas: GConf schema file 2001-12-09 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added all needed stuff for the installation of the libgda GConf schemas * Makefile.am: added 'data' directory to build process 2001-12-08 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.c (gda_config_set_column_title): new function, since the column titles will be managed by the abstract class (gda_data_model_get_column_title): implemented (gda_data_model_thaw): implemented * libgda/gda-config.c (gda_config_get_data_source_model): new function, to get the list of installed data sources as a GdaDataModel 2001-12-05 mr mike <wingert.3@postbox.acs.ohio-state.edu> * providers/sybase/Started new version of the Sybase provider, based on the new Provider API 2001-12-05 mr mike <wingert.3@postbox.acs.ohio-state.edu> * configure.in: re-added Sybase provider directory to build process 2001-12-02 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (gda_client_get_connection_list): new function (gda_client_find_connection): new function 2001-12-02 Rodrigo Moya <rodrigo@gnome-db.org> * bindings/pascal/*: * bindings/python/*: removed, since bindings for libgda will not be needed for any language, as all the features are going to be accessible via the CORBA interfaces 2001-12-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c (gda_config_get_component_list): add the created structures to the list to be returned * libgda/gda-server.c (component_destroyed_cb): break the for loop when we find the item (gda_server_class_init): actually create the object class signals 2001-11-30 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server-provider.c (gda_server_provider_open_connection): added support for the POOLING parameter included in the connection string, so that clients not using the client library (python, perl, etc) have access to the connection pooling feature * libgda/gda-server-connection.[ch] (gda_server_connection_get_string): new (gda_server_connection_get_username): new function (gda_server_connection_get_password): new function 2001-11-25 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/gda-default-provider.c (gda_default_provider_execute_command): Started the implementation. 2001-11-24 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-server.c (gda_server_register_component): if I use "ptype = (GType *) ptype", I'll always get an invalid pointer :-) 2001-11-23 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.c (gda_client_open_connection): don't pass NULL to ORBit functions * libgda/gda-xml-document.c: * libgda/gda-recordset.c: include glib-object.h, not gobject/*.h * libgda/gda-parameter.[ch] (gda_parameter_new): added a GdaValueType parameter * libgda/gda-config.c (activation_property_to_parameter): adapted to recent changes in GdaParameter API 2001-11-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-parameter.[ch] (gda_parameter_list_add_value): implemented (gda_parameter_list_clear): new function (gda_parameter_list_find): implemented 2001-11-22 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: require glib >= 1.3.10 2001-11-21 Carlos Perelló MarÃn <carlos@gnome-db.org> * configure.in: Changed GETTEXT_PACKAGE from libgda-2.0 to libgda-2 2001-11-20 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: removed obsolete documentation directories 2001-11-20 Gonzalo Paniagua Javier <gonzalo@gnome-db.org> * testing/client.c: added rollback test. 2001-11-19 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/reference/libgda-reference.sgml: * doc/C/libgda.sgml: replaced DTD entry for DocBook-XML * doc/C/libgda.sgml: started new manual 2001-11-18 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-row.[ch] (gda_row_new): new function (gda_row_free): new function * libgda/gda-xml-database.c: removed <gobject/*.h> 2001-11-12 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.c: use /apps/libgda as prefix for configuration, for not stepping on the GNOME 1.x version configuration 2001-11-12 Rodrigo Moya <rodrigo@gnome-db.org> * convert-api.sh: removed, not needed anymore 2001-11-10 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-config.[ch] (gda_config_add_listener): new function (gda_config_remove_listener): new function 2001-11-07 Rodrigo Moya <rodrigo@gnome-db.org> * testing/models.c (test_array_model): GdaDataModelArray test * testing/value.c: GdaValue tests 2001-11-07 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model-array.c (gda_data_model_array_append_row): new function for adding data to a GdaDataModelArray object * libgda/gda-value.c (gda_value_isa): new function * libgda/gda-data-model-list.c (gda_data_model_list_get_value_at): I'm stupid, g_list_nth returns a GList *, not the data element! 2001-11-06 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-value.h: added GdaValueType enumeration, which wraps the CORBA typecodes * libgda/gda-value.c (gda_value_new): removed function (gda_value_new_null): new function (gda_value_new_bigint): new function (gda_value_new_binary): new function (gda_value_new_boolean): new function (gda_value_new_date): new function (gda_value_new_double): new function (gda_value_new_integer): new function (gda_value_new_single): new function (gda_value_new_smallint): new funtion (gda_value_new_string): new function (gda_value_new_time): new function (gda_value_new_timestamp): new function (gda_value_new_tinyint): new function * libgda/gda-data-model.[ch] (gda_data_model_freeze): (gda_data_model_thaw): new functions for disabling/enabling notifications on changes * libgda/gda-init.c (gda_init): move down the gettext initialization, after the check for already initialized 2001-11-05 Fatih Demir <kabalak@gtranslator.org> * configure.in: Added "tr" to the languages list. 2001-11-04 Rodrigo Moya <rodrigo@gnome-db.org> * testing/client.c: basic client API test * testing/config.c (list_data_sources): added data source configuration API test 2001-11-04 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-client.[ch]: don't make it an object attached to a specific provider, but make it the main entry point for GDA clients * libgda/gda-config.[ch] (gda_config_get_data_source_list): (gda_config_find_data_source): (gda_config_copy_data_source_info): (gda_config_free_data_source_info): (gda_config_free_data_source_list): new functions 2001-11-04 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/mysql/Makefile.am: Removed lib/ references. 2001-11-04 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/gda-default-provider.[ch]: * providers/default/gda-default.h, main.c: Started the implementation for GNOME 2 2001-11-04 Carlos Perelló MarÃn <carlos@gnome-db.org> * libgda/gda-init.c, Makefile.am: Adapted to use GLIB_GETTEXT. 2001-11-04 Carlos Perelló MarÃn <carlos@gnome-db.org> * libgda/gda-init.c: Added the call to bind_textdomain_codeset to fix always UTF-8. 2001-11-04 Carlos Perelló MarÃn <carlos@gnome-db.org> * configure.in: * Makefile.am: * */*/Makefile.am: Migrated to intltool 2001-11-04 Carlos Perelló MarÃn <carlos@gnome-db.org> * acconfig.h, configure.in: Adapted to use GLIB_GETTEXT 2001-11-04 Carlos Perelló MarÃn <carlos@gnome-db.org> * AUTHORS: I'm the mantainer for gda-default. 2001-11-03 Rodrigo Moya <rodrigo@gnome-db.org> * testing/models.c: GDA data models test suite * testing/gda-test.c: re-started, to be more a test suite than a simple test program * testing/config.c: GDA configuration API test suite (list_all_sections_and_keys): stress test of the configuration database access API (list_all_providers): test providers' info retrieval API * testing/gda-test.h: new file 2001-11-03 Rodrigo Moya <rodrigo@gnome-db.org> * report/common/Makefile.am: added BONOBO_IDL_DIR for IDL compilation 2001-11-03 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-data-model.[ch] (gda_data_model_get_column_title): new function * libgda/Makefile.am: don't install headers in $includedir/gnome-2.0 * libgda/gda-value.c (gda_value_new): return the created structure * libgda/gda-data-model-list.c (gda_data_model_list_get_type): this class derives from GdaDataModel, not GObject * libgda/gda-data-model.c (gda_data_model_get_n_rows): removed the extra '_list' in the function name * libgda/gda-config.c (gda_config_get_provider_list): add the retrieved items to the list to be returned or we'll allways return NULL! (activation_property_to_list): g_strdup the string to be added to the returned GList 2001-11-03 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.pc.in: adapted to new header locations * Makefile.am: removed report from SUBDIRS, until we've got time to make it build without errors 2001-11-03 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/sqlite/lemon.c: Applied the patch from Akira TAGOH <tagoh@gnome-db.org> to fix 64 bit pointer issues. 2001-11-03 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/sqlite: Added from stable branch. 2001-11-03 Carlos Perelló MarÃn <carlos@gnome-db.org> * configure.in: Modified to build the Makefile for sqlite 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * tools/templates/*: removed, not needed anymore * tools/Makefile.am: adapted to new locations 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * testing/Makefile.am: removed non-existant _PROGRAMS, and fixed s/GDA_CLIENT_/LIBGDA_ 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * report/Makefile.am: * report/common/Makefile.am: * report/engine/Makefile.am: fixed for new locations 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/moved to new location, for not complicating more the refactoring * providers/mysql/utils.c: new file for utility functions (gda_mysql_make_error): new function * providers/mysql/Makefile.am: use libgda-2 instead of libgda-common-2 and libgda-server-2 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/started restructuration with the new API 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * providers/Makefile.am: changed directory names to something shorter (s/gda-postgres-server/postgres) 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/gda-command.c (gda_command_new): s/gda_command_get_type/ gda_command_set_gdatype * libgda/Makefile.am: added gda-log.[ch] to list of SOURCES * libgda/gda-server.c (factory_callback): add all created componentes to our private list, and connect to their "destroy" signal, so that we can keep track of all components, and terminate when there are no more (component_destroyed_cb): callback function. When no more components exist, emit the LAST_CLIENT_GONE signal * libgda/gda-row.[ch]: new files * libgda/gda-parameter.c (free_hash_param): added function body (gda_parameter_list_add_parameter): added missing function * libgda/gda-server-recordset.c (impl_Recordset_moveFirst): (impl_Recordset_moveNext): (impl_Recordset_movePrevious): (impl_Recordset_moveLast): (impl_Recordset_fetch): implemented * libgda/gda-value.c (gda_value_copy): new function 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: bumped version to 0.9.0 2001-11-02 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: removed tools/templates directory * libgda.pc.in: new file to replace libgda-client.pc.in and libgda-server.pc.in * configure.in: use shorter names in providers' directories * lib/: removed. The new library is in libgda/ 2001-11-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda/new version of the libraries, just all the stuff in a libgda library 2001-11-01 Rodrigo Moya <rodrigo@gnome-db.org> * idl/fixed typo 2001-11-01 Rodrigo Moya <rodrigo@gnome-db.org> * reorganization, putting all libraries in a single one 2001-10-31 Rodrigo Moya <rodrigo@gnome-db.org> * testing/gda-primebase-test.c: * testing/gda-sybase-test.c: * testing/gda-tds-test.c: removed, we just want a generic test suite 2001-10-31 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: set library AGE to 1 * Makefile.am: removed bindings from SUBDIRS. Those will need a good bit of work when refactoring is completed * configure.in: added GConf to list of libraries 2001-10-29 Akira TAGOH <tagoh@gnome-db.org> * report/Makefile.am: Added library age. 2001-10-29 Akira TAGOH <tagoh@gnome-db.org> * bindings/c++/Makefile.am: Added library age. 2001-10-29 Akira TAGOH <tagoh@gnome-db.org> * configure.in: Added library age variables. 2001-10-28 Rodrigo Moya <rodrigo@gnome-db.org> * libgda-client.pc.in: * libgda-server.pc.in: adapted to new header files installation 2001-10-27 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: fixed 2001-10-27 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added BONOBO_IDL_DIR variable, needed for IDL compilation 2001-10-26 Akira TAGOH <tagoh@gnome-db.org> * providers/default/sqlite/lemon.c: Fixed 64 bit pointer issues again 2001-10-12 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-provider.[ch]: new class for implementing the GdaServerProvider abstract class 2001-10-12 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database.idl: added the ::Client interface, to be used by providers to communicate stuff to clients 2001-10-11 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/started refactoring to make use of the new gda-server library 2001-10-11 Rodrigo Moya <rodrigo@gnome-db.org> * idl/Makefile.am: install IDL files in $datadir/idl/libgda * idl/GNOME_Database.idl: some fixes, and added ::Listener interface, and related methods in the ::Provider interface 2001-10-11 Rodrigo Moya <rodrigo@gnome-db.org> * libgda-client.pc.in: * libgda-server.pc.in: re-added, shouldn't have been removed 2001-10-11 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/sqlite/* * providers/default/Makefile.am: Imported the sqlite 2.0.2. This version need an update of the old database, I will prepare a program to do the update soon. 2001-10-10 Carlos Perelló MarÃn <carlos@gnome-db.org> * providers/default/Makefile.am: Fixed the sqlite.h build problem. 2001-10-08 Abel Cheung <maddog@linux.org.hk> * configure.in: CERTIFIED_GNOMIE, bye-bye. 2001-10-07 Rodrigo Moya <rodrigo@gnome-db.org> * idl/*.idl: started refactoring on the IDL interfaces 2001-09-20 Akira TAGOH <tagoh@gnome-db.org> * providers/default/sqlite/tool/lemon.c: Fixed 64 bit pointer issue 2001-09-15 Akira TAGOH <tagoh@gnome-db.org> * configure.in: add --enable-gtk-doc option. 2001-09-05 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: check for glib-genmarshal 2001-09-04 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/reference/*: added a reference to the new GdaDataModel class 2001-09-03 Rodrigo Moya <rodrigo@gnome-db.org> * first complete compilation on GNOME 2 2001-09-01 Rodrigo Moya <rodrigo@gnome-db.org> * report/gda-report-client.[ch]: converted to GObject * report/common/: new directory for libgdareport-common 2001-08-31 Rodrigo Moya <rodrigo@gnome-db.org> * tools/gda-run.c: remove all GTK related code 2001-08-31 Rodrigo Moya <rodrigo@gnome-db.org> * providers/first successful compilation on a GNOME 2 environment 2001-08-27 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: call gnome-autogen.sh 2001-08-22 Rodrigo Moya <rodrigo@gnome-db.org> * testing/gda-xmldb-test.c: new test program to test the GdaXmlDatabase class 2001-08-22 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/reference/*: moved GdaField documentation to libgda-common section 2001-08-19 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GNOME_Database_Field.idl: replaced the use of unions with cleaner CORBA_any's, and removed redundat data types 2001-08-17 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GDA*.idl -> GNOME_Database*.idl 2001-08-17 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: use AM_GLIB_GNU_GETTEXT 2001-08-09 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/reference/Makefile.am: s/gda-xml-file/gda-xml-document 2001-08-03 gallatin@stat.duke.edu * providers/default/sqlite/tool/lemon.c: fixed int/long 64-bit pointer issues when building on FreeBSD/Alpha. Fixes #58391 2001-08-03 Rodrigo Moya <rodrigo@gnome-db.org> * tools/gda-config.in: removed, since it's not needed anymore 2001-08-03 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: adapted to GNOME 2 platform * libgda-client.pc.in, libgda-server.pc.in: added pkgconfig files 2001-07-31 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/reference/*: fixed to make it build again 2001-07-28 Carlos Perelló MarÃn <carlos@gnome-db.org> * configure.in: Reactivated the Makefile generation at report dirs. Added the IDL_FLAGS var. 2001-07-27 Rodrigo Moya <rodrigo@gnome-db.org> * report/gda-report.h: main header file for the report library * report/gda-report-client.[ch]: GdaReportClient class, to be used by applications to connect to report engine 2001-07-24 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GDA_Recordset.idl: removed "move" method and added "moveNext" and "movePrev" 2001-07-23 Rodrigo Moya <rodrigo@gnome-db.org> * removed all GLib-2.0 related code, since all this code is now in the gnome-2-0-branch CVS branch 2001-07-22 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: remove glib-2.0 check until we can compile everything with that version 2001-07-19 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-connection.c (schema_aggregates): new schema function 2001-07-19 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/Makefile.am: Reverted the changes about IDL's name. 2001-07-19 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/*.[ch]: Removed, need a heavy reimplementation. 2001-07-19 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/server: renamed to engine and reimplemented all. 2001-07-15 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-connection.c (gda_mysql_connection_open_schema): return a GdaError if we don't support the schema (gda_mysql_connection_open): use a GdaQuarkList to parse the connection string 2001-07-15 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-connection.c (gda_default_connection_open_schema): return a GdaError if we don't support the schema 2001-07-14 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GDA_Connection.idl: added 2 new methods (addListener and removeListener) for clients to be able to listen on the providers 2001-07-12 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/reference/libgda-client/: fixed references to non-existent files 2001-07-12 Rodrigo Moya <rodrigo@gnome-db.org> * bindings/perl/: removed all files from the old perl bindings, since now the perl bindings have their own module (libgda-perl) 2001-07-12 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: remove Perl checkings, since they are no longer needed * acconfig.h: remove HAVE_PERL 2001-07-09 Akira TAGOH <tagoh@gnome-db.org> * configure.in: added --with-perl option as check the perl bindings. 2001-07-08 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GDA_Listener.idl: new interface 2001-07-08 Carlos Perelló MarÃn <carlos@gnome-db.org> * testing/gda*test.c: Changed the use of getline with fgets. It must fix the #51404 2001-07-06 Rodrigo Moya <rodrigo@gnome-db.org> * merged libgda-client's GdaError and libgda-server's GdaServerError into libgda-common's GdaError, as both classes were exactly the same and are useful for both clients and providers 2001-07-05 Rodrigo Moya <rodrigo@gnome-db.org> * providers/adapted all providers to new API names in libgda-server 2001-07-05 Rodrigo Moya <rodrigo@gnome-db.org> * lib/gda-client/Makefile.am: lib/gda-server/Makefile.am: remove CORBA-generated files from build * lib/gda-common/Makefile.am: include here both CORBA skeletons and stubs 2001-07-02 Akira TAGOH <tagoh@gnome-db.org> * configure.in: since gettextize was not used, "sed -e ..." was removed from AC_OUTPUT. 2001-06-28 Vivien Malerba <malerba@gnome-db.org> * providers/mysql/started to implement the schema_types and data types management 2001-06-21 Bob Jones <bobjones68@yahoo.com> * configure.in: change (again) ORACLE_LIBS and ORACLE_CFLAGS. It seems now that this will work with both Oracle 8i and 9i 2001-06-19 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: use again `oaf-config --prefix` for getting the OAF files install prefix. This would break the RPM building, so how other projects do this? 2001-06-19 Gonzalo Odiard <gonza_asa@asatej.com.ar> * configure.in: set ORACLE_LIBS to work with Oracle 8i 2001-06-15 Rodrigo Moya <rodrigo@gnome-db.org> * lib/gda-xml: added new directory which will contain all XML related code (GdaXmlFile, GdaXmlDatabase, XML queries, etc) 2001-06-14 Robert Marz <Robert.Marz@oracle.com> * configure.in: changed ORACLE_CFLAGS and ORACLE_LIBS to match those needed for Oracle 8i. This means that we don't support anymore Oracle 8.0.x (until we find a way to detect which libraries are needed for each Oracle version). But, well, having Oracle 9i out in a few weeks, this does not seem to be very important (I hope) 2001-06-05 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/sqlite/configure.in: added /usr to the search list for gdbm.h 2001-06-01 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.spec.in: remove xmlquery from list of programs to install * configure.in: disable the libxmlquery directory 2001-05-31 Serge Pavlovsky <pal@re.com.ua> * libgda.spec.in: cleaned up spec file 2001-05-31 Rodrigo Moya <rodrigo@gnome-db.org> * doc/es/added Spanish translation of the libgda manual by David Vaquero <cncsal@bigfoot.com> 2001-05-29 Drazen Kacar <dave@arsdigita.com> * configure.in: fixed some constructs that are not understood by Solaris' /bin/sh. Run glib-config-2.0 in a subshell, for not getting the error message * tools/gda-buildserver.in: added a newline to the end of file to make Solaris' sed happy (fixes bug #55388) 2001-05-22 Rodrigo Moya <rodrigo@gnome-db.org> * libgda-spec.in: pass the (hopefully) correct oafdir value when calling make 2001-05-21 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: check also for shared libs when looking for a MySQL installation added /usr/local/pgsql to list of possible PostgreSQL installation directories (fixes bug #54979) 2001-05-19 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/gda-report*.h: Reviewed and corrected some mistakes. * report/Makefile.am: Added the new .h files. 2001-05-18 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/gda-report*header.h, gda-report*footer.h, gda-report-detail.h, gda-report-data.h, gda-report-page.h, gda-report-picture.h, gda-report-line.h, gda-report-element.h, gda-report-label.h, gda-report-object.h, gda-report-repfield.h, gda-report-section.h, gda-report-special.h, gda-report-text-object.h: Defined * report/gda-report-element.h, gda-report-engine.h, gda-report.h: Updated to the new IDL. * report/gda-report-client.h: Added the new .h files. * report/gda*.c: Don't compile now, please wait I will commit the correct ones soon. 2001-05-17 Sean Allen <zeroone@worldonline.co.za> * doc/C/libgda.sgml: worked on syntax and English, entity referenced most words, to include markup that may be useful with speech-based styles, markup and structure now conforms to GDP suggestions * doc/C/fdl-appendix.sgml: added FDL appendix 2001-05-17 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: only link libxslt with the XML query part, since linking with libxml2 (needed by libxslt) does not work with current Bonobo 2001-05-16 Carlos Perelló MarÃn <carlos@gnome-db.org> * report/gda-report-defs.h: Updated. * report/gda-report-section.h: Added and started the implementation... 2001-05-15 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added check for libxslt, now a required dependency for the libxmlquery * lib/gda-common/gda-xml-database.c: s/childs/xmlChildrenNode * lib/gda-common/gda-xml-file.c: s/root/xmlDocSetRootElement 2001-05-14 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-recordset.c (fill_field_values): also manage BLOB fields 2001-05-14 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/C/reference/libgda-common/tmpl/: added some descriptions C/reference/libgda-client/tmpl/: ditto 2001-05-09 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/C/reference/libgda-client/: added the client library to the API reference * doc/C/pt_BR: added Portuguese translation * doc/C/C/reference: use gtk-doc to generate the API reference (for the moment, only libgda-common) 2001-05-09 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added check for gtk-doc, and add reference/ to the list of directories 2001-05-07 Reinhard Müller <reinhard.mueller@bytewise.at> * gda-test.c: Applied Margus Väli's patch to let the user select the provider to use if more than one provider is installed * gda-test.c: Changed coding style to K&R with 8 char indentation 2001-05-05 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-connection.c (schema_tables): implemented, although only returning the tables' name 2001-05-05 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/libgda.sgml: re-added the section about provider's specific information 2001-05-04 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/gda-default-connection.c, gda-default-command.c: better error handling * providers/default/sqlite/NO-AUTO-GEN: added this file to avoid the execution of auto* in this directory (fixed by mvali@hot.ee and Jon.Hellan@clustra.com) 2001-05-04 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: use AM_GNU_GETTEXT instead of AM_GNOME_GETTEXT 2001-05-03 Rodrigo Moya <rodrigo@gnome-db.org> * providers/gda-default-server/*: basic default provider now working 2001-04-28 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/implemented first working version of the GDA default provider * providers/default/imported libsqlite (http://www.hwaci.com/sw/sqlite/) into our source tree, until it is oficially released 2001-04-28 Rodrigo Moya <rodrigo@gnome-db.org> * providers/default/started gda-default-server, which will be a server *always* installed with libgda, so that users don't have to worry about setting up a RDBMS to use GNOME-DB/libgda 2001-04-28 Rodrigo Moya <rodrigo@gnome-db.org> * providers/ChangeLog: added * providers/made all providers' libraries not being installed, since, for the moment, the CORBA servers can't be activated on the shared library, they need the driver program 2001-04-28 Rodrigo Moya <rodrigo@gnome-db.org> * bindings/c++/applied patch from Kuba (kpuchar@poczta.onet.pl) which wraps all C++ classes in the gda namespace 2001-04-28 Rodrigo Moya <rodrigo@gnome-db.org> * configure.in: added providers/gda-default-server to list of Makefiles to be generated 2001-04-28 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.spec.in: removed provider's libraries, which are not installed anymore as part of the packages 2001-04-25 Carlos Perells Marmn <carlos@gnome-db.org> * Makefile.am: Disabled the report build. 2001-04-14 Michael Meeks <michael@ximian.com> * report/Makefile.am: remove built files from dist. 2001-04-02 Carlos Perells Marmn <carlos@gnome-db.org> * .cvsignore: Shhhh!!! 2001-03-28 Reinhard M|ller <reinhard.mueller@bytewise.at> * include gtk/gtksignal.h only when gtk is used. * added new parameter to g_type_register_static * configure.in: glib version must be >= 1.3.2 * tools/gda-run.c: include config.h above other includes 2001-03-19 Rodrigo Moya <rodrigo@gnome-db.org> * replaced all gtk/gtk.h with gtkobject.h, since it's the only file needed. Now, should compile much faster 2001-03-13 Rodrigo Moya <rodrigo@gnome-db.org> * providers/mysql/gda-mysql-connection.c (gda_mysql_connection_supports): respond to more values in the GDA_Connection_Feature parameter * providers/mysql/gda-mysql-command.c: added support for command_type in gda_mysql_command_execute: fixes bug #51720 2001-03-10 Carlos Perells Marmn <carlos@gnome-db.org> * updated.sh: Removed because don't run correctly in all situations, please use xml-i18n-update directly. 2001-03-05 Rodrigo Moya <rodrigo@gnome-db.org> * idl/added COMMAND_TYPE_XML to the GDA_CommandType enum 2001-03-03 Carlos Perells Marmn <carlos@gnome-db.org> * report/Makefile.am: Added the new files. * report/gda-report*.[ch]: Updated, now all the objects are defined, but now I will do a major change to the IDL for include the report objects inside the IDL. Rodrigo I know that we talk about it and we saw that the actual IDL was right, but I have been thinking about it, so I will send a modification proposal shortly ;-). 2001-02-22 Carlos Perells Marmn <carlos@gnome-db.org> * libgda.spec.in: Updated to reflect the .oafinfo --> .oaf change 2001-02-18 Carlos Perells Marmn <carlos@gnome-db.org> * report/gda-report.[hc]: Almost completly implemented but at this momment it doesn't compile, so don't add it to Makefile.am. * report/gda-report-engine.c: Some bug fixes. 2001-02-18 Carlos Perells Marmn <carlos@gnome-db.org> * AUTHORS: Updated my email. 2001-02-18 Carlos Perells Marmn <carlos@gnome-db.org> * configure.in: Added a version check for GOB, I don't know if we must have the 1.0.5 version, perhaps an old one could work, but it must be almost >= than 0.93.4 (actual Ximian version) 2001-02-14 Rodrigo Moya <rodrigo@gnome-db.org> * idl/GDA_Connection.idl: added new conversion methods (xml2sql and sql2xml) * lib/gda-client/gda-connection.[ch], lib/gda-server/*, providers/*: added new IDL methods 2001-02-11 Rodrigo Moya <rodrigo@gnome-db.org> * providers/gda-primebase-server/gda-primebase-connection.c, providers/gda-tds-server/gda-tds-connection.c: removed some C++ comments, as the ones containing the ' character makes xgettext complain (from Christian Rose's patch) 2001-02-08 Rodrigo Moya <rodrigo@gnome-db.org> * libgda.spec.in: moved gda-run from libgda-devel to libgda 2001-02-06 Carlos Perells Marmn <carlos@gnome-db.org> * report/gda-report.[ch]: More updates 2001-02-06 Carlos Perells Marmn <carlos@gnome-db.org> * report/gda-report.h: Renamed to gda-report-client.h * report/gda-report-object.[ch]: Renamed to gda-report.[ch] 2001-02-06 Carlos Perells Marmn <carlos@gnome-db.org> * .cvsignore, Makefile.am: Updated to the new xml-i18n-tools 2001-01-31 Carlos Perells Marmn <carlos@gnome-db.org> * gda-report-object.[ch]: Started its implementation 2001-01-30 Carlos Perells Marmn <carlos@gnome-db.org> * report/gda-report*.[ch]: Modified to the GNOME codify style 2001-01-22 Carlos Perells Marmn <carlos@gnome-db.org> * Added total xml-i18n-tools support, at this moment you will need install the xml-i18n-tools package to translate this module from CVS but not from tar.gz. 2001-01-22 Carlos Perells Marmn <carlos@gnome-db.org> * .cvsignore: I forget it!! 2001-01-20 Carlos Perells Marmn <carlos@gnome-db.org> * Added partial xml-i18n-tools support 2001-01-19 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/removed lang="es" from <book> tag 2001-01-15 Rodrigo Moya <rodrigo@gnome-db.org> * report/fixed header files issue 2001-01-14 Carlos Perells Marmn <carlos@gnome-db.org> * report/gda-report-stream.c: minor updates. 2001-01-14 Carlos Perells Marmn <carlos@gnome-db.org> * report/gda-report-stream.[ch]: Implemented, only need the exception handling and a better errors control. * report/gda-report-enbine.[ch]: Added all the objetc stuff and as gda-report-stream.[ch] needs a better errors control and the exception handling. 2001-01-09 Carlos Perells Marmn <carlos@gnome-db.org> * report/more Makefile.am fixes and minor modifications... 2001-01-08 Carlos Perells Marmn <carlos@gnome-db.org> * report/Rolled back the last change because it's better the old namespace. With the new one we have something like: GDA_Report_Report, and is a bit confusing, isn't it? 2001-01-07 Carlos Perells Marmn <carlos@gnome-db.org> * report/idl/GDA_Report.idl: Modified to separate the Report engine into its own namespace (GDA_Report_*). * report/*.[ch] Updated to use the new IDL. * report/Makefile.am: Added the options to remove the source files generated by the idl compiler. 2001-01-05 Carlos Perells Marmn <carlos@gnome-db.org> * report/gda-report-stream.[ch]: Updated to use the Gnome's codify style. 2001-01-01 Rodrigo Moya <rodrigo@gnome-db.org> * tools/gda-buildserver.in: fixed auto* macros expansion * tools/templates/*: updated to recent changes in libgda-server API 2001-01-01 Rodrigo Moya <rodrigo@gnome-db.org> * version 0.2.2 2000-12-25 Carlos Perells Marmn <carlos@gnome-db.org> * report/updated gda-report-stream.[ch] to make them compile again. * report/included the lib/gda-client directory for header files in Makefile.am 2000-12-24 Carlos Perells Marmn <carlos@gnome-db.org> * report/updated & erased the client/'s files that Rodrigo moves to its correct place. 2000-12-22 Rodrigo Moya <rodrigo@gnome-db.org> * providers/gda-interbase-server/gda-interbase-command.c, providers/gda-ldap-server/gda-ldap-command.c, providers/gda-mail-server/gda-mail-command.c, providers/gda-mysql-server/gda-mysql-command.c, providers/gda-oracle-server/gda-oracle-command.c: added support for the GDA_CommandType stuff in the GDA::Command::execute method, thus allowing: COMMAND_TYPE_TEXT: SQL or whatever language is used by the RDBMS COMMAND_TYPE_TABLE: the name of a table for which we want all rows 2000-12-21 Rodrigo Moya <rodrigo@gnome-db.org> * added support for the GDA_CommandType stuff, which will allow to treat commands in different ways (SQL, TABLE, XML, etc) 2000-12-20 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * configure.in: Added Slovak [sk] to ALL_LINGUAS. 2000-12-13 Rodrigo Moya <rodrigo@gnome-db.org> * added HACKING file, copied from Miguel's HACKING file in Gnumeric 2000-12-10 Rodrigo Moya <rodrigo@gnome-db.org> * doc/C/fixed some outdated things 2000-12-05 Rodrigo Moya <rodrigo@gnome-db.org> * started Perl bindings 2000-11-27 Rodrigo Moya <rodrigo@gnome-db.org> * idl/added modifySchema method to the GDA::Connection interface 2000-11-27 Rodrigo Moya <rodrigo@gnome-db.org> * added modifySchema method to GDA::Connection interface 2000-11-27 Holger Thon <holger.thon@gnome-db.org> * added primebase server skeleton 2000-11-22 Rodrigo Moya <rodrigo@gnome-db.org> * idl/removed GDA_Fieldx, which is now GDA_Field, as the old GDA_Field.idl file was not used 2000-11-17 Rodrigo Moya <rodrigo@linuxave.net> * added MAINTAINERS file 2000-11-15 Rodrigo Moya <rodrigo@linuxave.net> * tools/fixed gda-config script 2000-11-14 Rodrigo Moya <rodrigo@linuxave.net> * added pt_BR translations by Cleber Rodrigues Rosa Junior 2000-11-12 Rodrigo Moya <rodrigo@gnome-db.org> * report/fixed gda-report-stream.[ch] to make them compile * report/moved the 2 files that were in the client/ subdirectory to its correct place 2000-11-10 Rodrigo Moya <rodrigo@gnome-db.org> * testing/moved gda-{sybase/tds/primebase}-test to noinst_PROGRAMS, since they shouldn't be installed 2000-11-08 Rodrigo Moya <rodrigo@linuxave.net> * idl/GDA_Recordset.idl, lib/gda-client/gda-recordset.[ch], lib/gda-server/gda-server-impl-recordset.[ch]: removed unneeded CORBA IDL methods. * Cleanup IDL files 2000-11-05 Rodrigo Moya <rodrigo@linuxave.net> * report/removed some attributes from the IDL interfaces and added methods for accessing them instead 2000-11-05 Rodrigo Moya <rodrigo@linuxave.net> * idl/renamed all IDL files from gda* to GDA* to avoid confusion with installed headers 2000-11-04 Reinhard M|ller <reinhard@gnue.org> * configure.in: include gtk libraries only when needed 2000-11-02 Reinhard M|ller <reinhard@gnue.org> * testing/gda-test.c: Call gda_init instead of gtk_init 2000-10-30 Rodrigo Moya <rodrigo@linuxave.net> * doc/added Brazilian Portuguese translation by Cleber Rodrigues Rosa Junior (<cleberrrjr@bol.com.br>) 2000-10-29 Rodrigo Moya <rodrigo@linuxave.net> * report/idl/GDA_Report.idl: changed return value for ReportStream methods from any to a sequence of "octet"s 2000-10-22 Carlos Perells Marmn <carlos@hispalinux.es> * report/Updated some report client objects and upgraded to the new GObject model 2000-10-21 Rodrigo Moya <rodrigo@linuxave.net> * providers/mysql/added missing <time.h>, which was left over after the GNOME headers clean up 2000-10-20 Rodrigo Moya <rodrigo@linuxave.net> * fixed license issues: AUTHORS: specify who does what COPYING.LIB: added for LGPL parts README: state which parts are LGPL and which GPL 2000-10-17 Almer S. Tigelaar <almer1@dds.nl> * configure.in: Added Dutch (nl) to ALL_LINGUAS. 2000-10-08 Akira TAGOH <tagoh@gnome.gr.jp> * providers/gda-mysql-server/gda-mysql-connection.c: fixed duplicate output format for gda_log_message(). 2000-10-06 Christian Rose <menthos@menthos.com> * configure.in: Added Swedish (sv) to ALL_LINGUAS. * providers/gda-sybase-server/gda-sybase-command.c, providers/gda-sybase-server/gda-sybase-connection.c, providers/gda-sybase-server/gda-sybase-recordset.c: Changed some C++-style comments causing gettext problems to C-style. 2000-10-01 Carlos Perells Marmn <carlos@hispalinux.es> * report/Created an example for the report engine.. 2000-09-29 Akira TAGOH <tagoh@gnome.gr.jp> * acconfig.h, configure.in, lib/gda-common/gda-config.c: lib/gda-common/gda-corba.c: removed a old code for OAF < 0.5.0. 2000-09-29 Akira TAGOH <tagoh@gnome.gr.jp> * configure.in: lib/gda-common/gda-config.c: GConf >= 0.9 is necessary. 2000-09-28 Jesus Bravo Alvarez <jba@pobox.com> * configure.in: Added Galician (gl) to ALL_LINGUAS. 2000-09-25 Reinhard M|ller <reinhard@gnue.org> * testing/Makefile.am, gda-test.c: First "official" version 2000-09-25 Akira TAGOH <tagoh@gnome.gr.jp> * po/POTFILES.in: not implement python binding. 2000-09-10 Akira TAGOH <tagoh@gnome.gr.jp> * configure.in: deleted lib/gda-client/gda-report.dtd entry. * lib/gda-client/Makefile.am: Added a rule to generate gda-report.dtd. * lib/gda-client/gda-report.dtd.in: Modified a path prefix. 2000-09-09 Carlos Perells Marmn <carlos@hispalinux.es> * integrated the gda-report.dtd with autoconf (but it does not work as well as it should. * updated to the gda-report.[ch] 2000-09-03 Carlos Perells Marmn <carlos@hispalinux.es> * updated the gda-report.[ch] for the new DTD 2000-09-02 Akira TAGOH <at@ue-spacy.com> * configure.in: deleted an USING_OLD_OAF judgment by the same version. 2000-08-08 Rodrigo Moya <rodrigo@linuxave.net> * made first version separated from GNOME-DB