2006-03-24 Vivien Malerba Released 1.9.102. 2006-03-24 Vivien Malerba * libsql/Makefile.am: added a CLEANFILES target * libgda/gda-data-access-wrapper.[ch]: new data model to offer random access on top of a cursor only access data model * libgda/*: small corrections and improvements * libgda/doc/C: documentation update 2006-03-18 Vivien Malerba * libgda/gda-dict.c: ignore the DTD declaration, and always use our own internal parsed DTD to avoid paths problems in XML files * libgda/gda-init.c: added gda_dict_dtd and gda_array_dtd global parsed DTD * libgda/gda-data-model-import.[ch]: new GdaDataModel class to import data from XML or from a CSV text format * libgda/libgda-array.dtd: DTD for GdaDataModel XML storage * libgda/gda-data-model.[ch]: replaced gda_data_model_to_text_separated(), gda_data_model_to_xml(), gda_data_model_to_xml_node() and gda_data_model_add_data_from_xml_node() by gda_data_model_export_to_string(), gda_data_model_export_to_file(), gda_data_model_import_from_model(), gda_data_model_import_from_string() and gda_data_model_import_from_file() * libgda/gda-data-model-iter.[ch]: added gda_data_model_iter_is_valid() * libgda/gda-data-model-array.c: replaced gda_data_model_array_new_from_xml_node() with gda_data_model_array_copy_model() * libgda/gda-data-model-extra.h: added new declarations for GdaDataModel implementations * libgda/gda-value.[ch]: added gda_value_type_transformable() and gda_value_transform() * doc/C: doc. update * po/POTFILES.in: added the missing providers/*/*.xml.in files * testing/tests_data/DICT_Sales_postgres.xml: updated the DOCTYPE header * other: s/gda_connection_is_open/gda_connection_is_opened/ s/gda_data_model_iter_at_row/gda_data_model_move_iter_at_row/ s/gda_data_model_iter_next/gda_data_model_move_iter_next/ s/gda_data_model_iter_prev/gda_data_model_move_iter_prev/ s/gda_data_model_iter_set_invalid/gda_data_model_iter_invalidate_contents/ and minor corrections 2006-03-09 Chao-Hsiung Liao * configure.in: Added "zh_HK" to ALL_LINGUAS. 2006-03-08 Vivien Malerba * libgda/gda-parameter-list.c: handle correctly the xml:lang attribute of tags * providers/: implemented i18n in XML spec. files 2006-03-06 Vivien Malerba * providers/oracle/gda-oracle-provider.c: compilation fixes 2006-03-03 Vivien Malerba * libgda/gda-data-model-private.h: #define corrections * libgda/gda-util.[ch]: added gda_default_escape_chars() and gda_default_unescape_chars() * libgda/gda-value.[ch]: added gda_binary_to_string() and gda_string_to_binary() * libgda/handlers/gda-handler-bin.c: bug fixes, and use gda_default_escape_chars() gda_default_unescape_chars(), gda_binary_to_string() and gda_string_to_binary() * libgda/handlers/gda-handler-string.c: bug fixes, and use gda_default_escape_chars() and gda_default_unescape_chars() * providers/mysql/*: removed compilation warnings, modifications to handle MySQL versions >= 5, implemented the GDA_CONNECTION_SCHEMA_CONSTRAINTS schema, corrections for bug #318183 * providers/postgres/gda-postgres-provider.c: code cleanup * providers/sqlite/gda-sqlite-provider.c: implemented the GDA_CONNECTION_SCHEMA_CONSTRAINTS schema 2006-02-25 Vivien Malerba * providers/sqlite/sqlite-src: using SQlite 3.3.4 sources * providers/sqlite/gda-sqlite-provider.c: switched to SQLite 3.3.4 and implemented the get_data_handler() method * providers/sqlite/gda-sqlite.h && providers/sqlite/utils.c: switched to SQLite 3.3.4 * libgda/gda-connection.h: added a GDA_CONNECTION_SCHEMA_CONSTRAINTS schema to get a list of all the constraints on a table * libgda/gda-server-provider-extra.c: added utility code for the GDA_CONNECTION_SCHEMA_CONSTRAINTS schema * providers/mysql/gda-mysql-provider.c: implemented the get_data_handler() schema, and stated to implement the new GDA_CONNECTION_SCHEMA_CONSTRAINTS schema. * providers/postgres/gda-postgres-provider.c: stated to implement the new GDA_CONNECTION_SCHEMA_CONSTRAINTS schema. * libgda/gda-client.[ch]: gda_client_new() now does not require any argument and GdaClient inherits directly GObject * libgda/gda-connection.[ch]: now inherits directly GObject, and added a new "dsn_changed" signal * libgda/gda-data-model-query.c: corrected a bug which would make the program loop indefinitely if the SELECT query could not be run * libgda/gda-dict.c: uses the GdaConnection's "dsn_changed" signal * libgda/gda-value.c: corrected TimeStamp copy function * other files: minor corrections and improvements 2006-02-18 Vivien Malerba * libgda/gda-query-field-value.c: bug fixed when rendering as SQL 2006-02-05 Vivien Malerba * libgda/providers/postgres/utils.c: applied patch from Thomas Klausner to fix bug#329933 * libgda/gda-connection.c, libgda/gda-data-model-query.c, libgda/gda-data-proxy.c: minor bug fixes 2006-02-03 Vivien Malerba * libgda/sql-delimiter/parser.y: corrected a bug with the "=" sign * libgda/gda-parameter.c: bug fixes * libgda/gda-enums.h: added GDA_VALUE_ATTR_NO_MODIF attribute to GdaValueAttribute * libgda/gda-data-model.[ch]: added gda_data_model_get_attributes_at() function, and the i_get_attributes_at() virtual function * libgda/gda-data-proxy.c: bug fixes, now use the i_get_attributes_at() virtual function of the proxied data model * libgda/gda-data-model-row.c, libgda/gda-data-model-hash.c: implemented the i_get_attributes_at() interface * libgda/gda-data-model-query.c: implemented the i_get_attributes_at() interface, and now use the INSERT, UPDATE and DELETE queries to actually update data * libgda/gda-data-model-row.c: added a "read_only" property which prevents any change to the data model. * minor bug fixes 2006-01-29 Vivien Malerba * providers/ldap/gda-ldap-recordset.c: * providers/msql/gda-msql-recordset.c: * providers/mysql/gda-mysql-recordset.c: * providers/oracle/gda-oracle-recordset.c: removed the call to gda_data_model_get_command_type() which does not exist anymore * providers/mysql/gda-mysql-recordset.c: warnings corrections * libgda/gda-data-model-array.c: spellings corrections * providers/mysql/mysql_specs_create_db.xml: * providers/postgres/postgres_specs_create_db.xml: updated the XML tags to make the specs work again 2006-01-28 Vivien Malerba * libgda/sql-delimiter/gda-sql-delimiter.c: corrected memory leaks * libgda/sql-delimiter/lexer.l: impose the INITIAL state * libgda/sql-delimiter/*: added a new type of reported query: the "unknown" one * libsql/sql_parser.c: corrected memory leaks * testing/tests_data/SQL_parsing_tests.xml: added some tests and corrected some other ones * libgda/gda-query.c, libgda/gda-query-field-value.c, libgda/gda-data-proxy.c: bug fixed 2006-01-26 Vivien Malerba * libgda/gda-data-model-row.c, libgda/gda-data-model-hash.c, libgda/gda-data-model-array.c: fixed a bug related to the gda_data_model_append_values() function, as discussed with Bas Driessen * libgda/gda-data-model-row.c: removed useless functions related to GdaDataModelIter 2006-01-25 Vivien Malerba * libgda/gda-query.c: corrected INSERT, UPDATE and DELETE queries SQL rendering * libgda/gda-renderer.h: added a GDA_RENDERER_FIELDS_NO_TARGET_ALIAS option to the rendering arguments * libgda/gda-query-field-field.c: corrected SQL rendering * libgda/gda-query-field-value.c: corrected a bug with NULL values * libgda/gda-query.c: corrected bugs related to query copying * libgda/gda-query-condition.c: condition copy bug fixed * libgda/gda-dict.[ch]: s/typename/type_name/ * libgda/gda-query-parsing.[ch]: changed parsed_create_delete_query (GdaQuery *query, sql_delete_statement *delete, GError **error) to parsed_create_delete_query (GdaQuery *query, sql_delete_statement *del, GError **error) * libgda/gda-query.[ch]: target aliases copy bug fixed, added gda_query_is_insert_query(), gda_query_is_update_query() and gda_query_is_delete_query(), and SQL rendering and analyzing bug fixes * libgda/gda-data-model-query.[ch]: more features implemented * libgda/gda-data-model.[ch]: added gda_data_model_send_hint() * libgda/gda-dict.[ch]: GdaObject id assignment bug fixed and s/typename/type_name/ * libgda/sql-delimiter/gda-sql-delimiter.[ch]: added gda_delimiter_no_parse() 2006-01-25 Bas Driessen * configure.in: require glib >= 2.6.0. * testing/gda-diagnose.c (main): * testing/gda-test-models.c (main): * testing/gda-test-sql.c (main): use functions g_mkdir() and access() to stay compatible with glib 2.6. 2006-01-22 Vivien Malerba * libgda/gda-query*: corrected bugs which prevented creation of queries when no dictionary was provided or when the provided one did not contain anough database structure information * libgda/*: corrected a bug which prevented the --enable-debug configure argument to work correctly * testing/gda-test-sql.c: bug fixed * testing/tests_data/SQL_parsing_tests.xml: new tests and possibility to use an empty dictionary * testing/tests_data/DICT_empty.xml: empty dictionary 2006-01-22 Rodrigo Moya Fixes #327797 * libgda/gda-server-provider-extra.c: * libgda/gda-query.c (query_sql_forget, gda_query_add_target, gda_query_render_as_sql, assert_coherence_data_modify_query, assert_coherence_aggregate_query): * libgda/gda-query-condition.c (gda_query_condition_load_from_xml): * libgda/gda-query-field-agg.c (gda_query_field_agg_render_as_str): * libgda/gda-query-field-all.c (gda_query_field_all_render_as_str): * libgda/gda-query-field-func.c (gda_query_field_func_render_as_str): * libgda/gda-query-parsing.c (parsed_create_insert_query, parsed_create_field_query_field): * libgda/graph/gda-graph.c (gda_graph_load_from_xml): * libgda/handlers/gda-handler-boolean.c (gda_handler_booler_init): * libgda/handlers/gda-handler-numerical.c (gda_handler_numerical_init): * providers/sybase/gda-sybase-provider.c (gda_sybase_provider_process_sql_commands): * providers/sybase/gda-sybase-recordset.c (gda_sybase_process_msg_result): * providers/sybase/utils.c (sybase_add_cmsg_errors_to_list, sybase_add_server_errors_to_list): * testing/gda-author-dict-file.c (main): * testing/gda-diagnose.c (detail_provider): * testing/gda-test-sql.c (get_query_status, make_query_test): fixed spelling/grammar errors. 2006-01-18 Vivien Malerba * libgda/gda-data-model-extra.h: new header file which contains declarations for functions to help GdaDataModel writers * libgda/gda-value.c: small improvement in comparison functions * libgda/gda-data-proxy.[ch]: bug fixes and improvements * other files: small bug fixes and improvements 2006-01-15 Vivien Malerba * configure.in: corrected the version of libgda in HEAD had decreased (thanks to Murray Cumming) * libgda/libgda.h: removed the '#include ' include from the header (thanks to Murray Cumming) 2006-01-13 Vivien Malerba * providers/sqlite/gda-sqlite-recordset.c: fixed a bug with empty result sets * doc/C/libgda-sections.txt: fixed bugs which prevented documentation generation * libgda/*: bug fixes 2006-01-11 Vivien Malerba * Merged all the GnomeDb objects which do not depend on GTK+ API and ABI have been changed 2005-11-16 Cygwin Ports Maintainer * configure.in: changed to check for the correct shared library extensions depending on the system. * libgda/Makefile.am: * libsql/Makefile.am: * providers/bdb/Makefile.am: * providers/freetds/Makefile.am: * providers/ldap/Makefile.am: * providers/mdb/Makefile.am: * providers/odbc/Makefile.am: * providers/postgres/Makefile.am: * providers/sqlite/Makefile.am: * providers/xbase/Makefile.am: * report/libgda-report/Makefile.am: use -no-undefined in $LDFLAGS for Cygwin compilation. * providers/mdb/gda-mdb.h: fixed order of included headers. * providers/odbc/gda-odbc.h: * providers/odbc/gda-odbc-provider.h: include windows.h if running on Cygwin. * providers/postgres/utils.c (gda_postgres_set_value): fixed typo. 2005-11-02 Bob Ham * libsql/Makefile.am: fixes for building out of the source tree. 2005-10-27 Leonardo Boshell * configure.in: check for explicit FreeTDS 0.63 version. * providers/freetds/gda-freetds-provider.h: if using FreeTDS 0.63, define some missing macros. 2005-10-27 Juan Manuel Mouriz * doc/C/libgda-docs.sgml: fixed example code. 2005-10-26 Murray Cumming * libgda/gda-threader.c: (gda_threader_new): * libgda/gda-threader.h: Rename GDA_THREADER_TYPE to GDA_TYPE_THREADER, so it matches the convention, for language bindings, though I am not sure if this is public API anyway. 2005-10-26 Martin Schulze * libgda/gda-log.c (gda_log_error, gda_log_message): pass clean strings to syslog. 2005-10-13 Dan Winship * libgda/gda-data-model.h, etc: Rename GInterface-related macros, structures, etc to correspond to the standard naming conventions so the gtk-sharp parser will interpret them correctly. * gda-sharp/gda-api.raw: Regen, picking up GdaDataModel's signals * gda-sharp/Gda.metadata: update for various API changes since this was written.