3.0.3: 2008-04-08 Murray Cumming * libgda/gda-config.c (gda_config_has_key, load_providers_from_dir): * libgda/gda-connection.c (gda_connection_supports_feature): * libgda/gda-data-model-hash.c (gda_data_model_hash_new): * libgda/gda-row.c (gda_row_copy, gda_row_set_id): Very minor corrections to documentation. 2008-04-07 Murray Cumming * providers/postgres/gda-postgres-provider.c (fetch_existing_blobs): Added a comment about a possible leak reported by valgrind. 2008-04-07 Murray Cumming * libgda/gda-client.c (find_or_load_provider): Do not do an extra reference on the new GdaProvider, because we already have an initial reference. This prevents it from being leaked, as found by valgrind. * libgda/gda-init.c (gda_init): * providers/postgres/libmain.c (plugin_init): Make sure that some strings are freed before being reassigned, though these are probably not the leaks that valgrind is reporting here. 2008-04-06 Murray Cumming * providers/postgres/gda-postgres-recordset.c (gda_postgres_recordset_get_row, gda_postgres_recordset_get_value_at): unref the result of get_row() (not the get_row vfunc), because gda_data_model_hash_insert_row() holds its own reference. This fixes the leak of each GdaRow. 2008-04-05 Murray Cumming * libgda/gda-connection.c (gda_connection_dispose): Unref the client, to fix a leak. Bug #526034. 2008-04-05 Murray Cumming * libgda/gda-column.c (gda_column_set_default_value): Free default_value with gda_value_free() instead of g_free(), to fix what valgrind says is a possible leak. 2008-04-04 Murray Cumming * providers/postgres/utils.c (gda_postgres_type_oid_to_gda): Prevent an access outside of an array, as found by valgrind. 2008-04-03 Murray Cumming * libgda/gda-config.c (gda_config_get_provider_list, get_config_client): Use g_getenv() instead of getenv() for portability. * providers/postgres/gda-postgres-provider.c (get_connection_type_list, gda_postgres_provider_close_connection): Free any_type_oid instead of leaking it. * providers/postgres/gda-postgres-recordset.c (gda_postgres_recordset_finalize): Free table_name instead of leaking it. * providers/postgres/libmain.c (plugin_init): Add a comment that the module path is leaked, but that it is not a big deal. 2008-03-18 Murray Cumming * libgda/gda-client.c: (find_or_load_provider): Reverted the change here too, because it freed data that it did not own, causing a crash. 2008-03-18 Murray Cumming: * libgda/gda-config.c: (gda_config_get_provider_by_name): Revert the previous change because it leaked the info and freed the list though it did not have ownership, causing a crash. 2008-03-17 Phil Longstaff * libgda/gda-data-model-array.c (gda_data_model_array_copy_model): * libgda/gda-data-model.c (find_column_from_id, add_xml_row): * libgda/gda-init.c (gda_drop_table): * libgda/gda-server-operation.c (gda_server_operation_get_node_info, gda_server_operation_get_value_at, gda_server_operation_set_value_at): * libgda/gda-util.c (gda_utility_data_model_dump_data_to_xml, gda_utility_parameter_load_attributes): Fixed some obvious memory leaks by freeing variables. 2008-03-16 Vivien Malerba * libgda/gda-server-provider.c: fix a memory leak in the server operations handling (reported by Phil Longstaff) 2008-03-16 Murray Cumming * libgda/gda-dict-field.c: Removed enum for PROP_DICT_TYPE because there is no such property. * libgda/gda-parameter.c: * libgda/gda-server-provider.c: * libgda/gda-data-model-iter.c: * libgda/gda-dict-constraint.c: Corrected spelling mistakes in documentation. 2008-03-14 Joel Pfaff Bug 507698 – Memory leaks in GdaProviderInfo handling. * libgda/gda-client.c (find_or_load_provider): * libgda/gda-config.c (gda_config_get_provider_by_name): Call gda_provider_info_free() to prevent leaks. 2008-03-14 Murray Cumming * doc/C/tmpl/gda-data-handler.sgml: Improved the text of this documentation. 2008-03-11 Murray Cumming * libgda/gda-data-model.c: * libgda/gda-server-operation.c: * libgda/gda-value.c: Documentation: Change mentions of occured to occurred, and mentions of a XML to an XML. PaulSchulz and Malcolm Parsons in Ubuntu launchpad bug 64451 for some reason. 2008-02-28 Vivien Malerba * libgda/gda-init.c: * libgda/libgda.h: applied patch to add a new gda_create_table_full() function (thanks to Daniel Espinosa) with a better API 2008-02-27 Vivien Malerba * libgda/gda-util.c: applied patch to change the default string escape for a single-quote char from backslash single-quote (\') to single-quote single-quote ('') so that SQLite will accept it (thanks to Phil Longstaff) 2008-02-27 Vivien Malerba * libgda/gda-query.c: corrected a bug in gda_query_execute() where an error was reported even when there was none (thanks to Phil Longstaff)