1. 04 Feb, 2015 1 commit
  2. 06 May, 2012 1 commit
  3. 05 Jul, 2011 1 commit
  4. 10 Jun, 2011 1 commit
  5. 30 Dec, 2008 1 commit
    • Vivien Malerba's avatar
      added gda_utility_data_model_find_column_description(), thanks to Carlos · b48beae6
      Vivien Malerba authored
      2008-12-30  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/gda-util.[ch]: added gda_utility_data_model_find_column_description(),
      	thanks to Carlos Savoretti
      	* libgda/gda-config.c:
      	  - avoid memory leaks with provider's DSN spec and AUTH spec strings
      	  - close all GModules after having go tthe list of providers)
      	* providers/*/libmain.c: don't leak memory when module is closed
      	* providers/jdbc/libmain.c: make sure the GModule is made resident because
      	the Java runtime is not completely unloaded (don't know how to do it)
      	* libgda/gda-connection.[ch]:
      	  - cleaned unused GDA_CONNECTION_*_ERROR codes
      	  - improved documentation, see bug #565019
      	* doc/C: doc. improvements
      
      svn path=/trunk/; revision=3273
      b48beae6
  6. 15 Aug, 2008 1 commit
    • Vivien Malerba's avatar
      updates to the MySQL provider (Carlos Savoretti) · 810312bb
      Vivien Malerba authored
      2008-08-15  Vivien Malerba <malerba@gnome-db.org>
      
      	* providers/mysql: updates to the MySQL provider (Carlos Savoretti)
      	* libgda/gda-set.c:
      	* libgda/gda-connection.c:
      	* libgda/sql-parser/gda-statement-struct.c: fixes memory leaks
      	for bug #545977
      	* libgda/gda-statement.c:
      	* libgda/gda-util.c:
      	* libgda/sql-parser/gda-statement-struct-pspec.[ch]: removed the "type" attribute from
      	the GdaSqlParamSpec structure as it was redundant with the "g_type" one
      	* providers/postgres/gda-postgres-provider.c:
      	* providers/mysql/gda-mysql-provider.c:
      	* providers/skel-implementation/capi/gda-capi-provider.c:
      	* libgda/sqlite/gda-sqlite-provider.c: check that parameters are valid when executing
      	a statement
      	* libgda/gda-data-model.h: added GdaDataModel error code
      	* libgda/gda-connection-private.h:
      	* libgda/gda-connection.c:
      	* libgda/sqlite/gda-sqlite-provider.c:
      	* providers/mysql/gda-mysql-provider.c:
      	* providers/postgres/gda-postgres-provider.c:
      	* providers/skel-implementation/capi/gda-capi-provider.c:
      	explicitely declare prepared statements as GdaPStmt objects
      	instead of generic gpointer
      	* tests/test-cnc-utils.[ch]: added a function to load data
      	from a file into a table
      	* tests/meta-store.c: test corrections due to meta store internal's schema changes
      	* libgda/providers-support/gda-pmodel.[ch]:
      	* libgda/sqlite/gda-sqlite-recordset.[ch]:
      	* providers/mysql/gda-mysql-recordset.[ch]:
      	* providers/postgres/gda-postgres-recordset.[ch]:
      	* providers/skel-implementation/capi/gda-capi-recordset.[ch]:
      	* tests/data-models/Makefile.am:
      	* tests/data-models/check_pmodel.c: new test for the GdaPModel
      	data model (the base class for all the data models returned
      	by providers after a SELECT) for the updatable property
      	* doc/C:
      	* misc files: doc updates
      
      svn path=/trunk/; revision=3190
      810312bb
  7. 17 Jul, 2008 1 commit
    • Vivien Malerba's avatar
      applied patches for bug #541991 (thanks to Cygwin Ports maintainer) · 7b812280
      Vivien Malerba authored
      2008-07-17  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda-xslt/Makefile.am:
      	* configure.in:
      	* libgda/gda-config.c: applied patches for bug #541991 (thanks to Cygwin Ports maintainer)
      	* providers/mysql/libmain.c:
      	* providers/mysql/gda-mysql-meta.c:
      	* providers/mysql/gda-mysql-provider.c:
      	* providers/mysql/gda-mysql-meta.h:
      	* providers/mysql/gda-mysql-parser.c: another set of improvements to the MySQL provider
      	(thanks to Carlos Savoretti)
      	* tests/Makefile.am:
      	* tests/multi-threading/*:
      	* configure.in:
      	* libgda/gda-mutex.[ch]:
      	* libgda/Makefile.am:
      	* libgda/libgda.h.in: created the GdaMutex mutex which is dynamically
      	allocated and recursive
      	* libgda/Makefile.am:
      	* libgda/libgda.h.in:
      	* libgda/gda-lockable.[ch]: new GdaLockable interface to be used to lock objects
      	* sql-parser/gda-sql-parser-private.h:
      	* libgda/sql-parser/gda-sql-parser.c:
      	* libgda/gda-connection.c: implement the GdaLockable interface (GdaSqlParser no
      	uses a GdaMutex per GdaSqlParser instance instead of a global recursive mutex)
      	* tests/Makefile.am
      	* tests/multi-threading/: new multi threaded environment tests
      	* tests/data-models/check_data_proxy.c: correctly specify the GType type
      	in functions using an ellipse for 64 bits OS
      	* tests/data-models/Makefile.am:
      	* tests/data-models/data1.xml:
      	* tests/data-models/check_model_copy.c: test data model copy
      	* tests/data-models/check_model_import.c: also test data models in current
      	directory
      	* libgda/gda-set.c: make gda_set_real_add_holder() show a warning if the data
      	holder to add does not have any ID instead of crash
      	* libgda/gda-data-model-iter.c: use ID attribute of data model column
      	* libgda/gda-data-comparator.c: corrected the "diff_computed" signal accumulator
      	* libgda/gda-data-model.c: better determmine column and data model names when exporting
      	to XML, and corrected a bug in the data model import function
      	* doc/C: doc. updates
      	* tools/gda-sql.ico:
      	* tools/gda-sql-res.rc:
      	* tools/Makefile.am: added an icon in the gda-sql executable when compiling for a
      	Windows platform
      
      svn path=/trunk/; revision=3180
      7b812280
  8. 04 Jun, 2008 1 commit
    • Vivien Malerba's avatar
      updated lists of files added GDA_CONNECTION_FEATURE_XA_TRANSACTIONS · d531fa63
      Vivien Malerba authored
      2008-06-04  Vivien Malerba <malerba@gnome-db.org>
      
      	* po/POTFILES.in:
      	* po/POTFILES.skip: updated lists of files
      	* libgda/gda-connection.h: added GDA_CONNECTION_FEATURE_XA_TRANSACTIONS
      	* testing/html.[ch]:
      	* testing/Makefile.am:
      	* testing/gda-provider-status.c: new program to report about the
      	implementation of database providers (generates an HTML report)
      	this program is not installed by 'make install'
      	* providers/mysql: more work on the MySQL provider (thanks to Carlos
      	 Savoretti)
      
      2008-06-04  Johannes Schmid <jhs@gnome.org>
      
      	* libgda/sql-parser/Makefile.am:
      	Added rules to generate gda-sql-parser-enum-types.[ch]
      
      svn path=/trunk/; revision=3159
      d531fa63
  9. 06 Apr, 2008 1 commit
  10. 23 Sep, 2007 1 commit
    • Vivien Malerba's avatar
      each virtual table now has a new hidden integer column named · b7030bf0
      Vivien Malerba authored
      2007-09-23  Vivien Malerba <malerba@gnome-db.org>
      
      	* providers/sqlite/virtual/gda-vprovider-data-model.c: each virtual table
      	now has a new hidden integer column named "__gda_row_nb" which gives the row number
      	of the data model represented by the table.
      	* providers/sqlite/gda-sqlite-provider.c: corrected a bug in split_sql()
      	* libgda/gda-data-model-bdb.c: correctly initialize variable in gda_data_model_bdb_set_values()
      	* libgda/gda-data-proxy.c: columns containing non modified data have their name prefixed with an
      	underscore
      	* libgda/gda-data-proxy.[ch]: added gda_data_proxy_[gs]et_filter_expr() to enable
      	filtering among the contents of a proxy
      	* libgda/gda-data-proxy.c: reworked the inner working for delayed sync. mechanism
      	* moved the GdaSqliteProvider and related objects from providers/sqlite to
      	libgda/sqlite because libgda _requires_ the virtual connections feature now 
      	and (left in providers/sqlite the XML files and enough to make a shared library
      	for the SQLite provider).
      	* libgda/gda-query.c: updated gda_query_set_sql_text()'s documentation
      	* libgda/gda-data-model.c: improved the gda_data_model_dump_as_string() and
      	gda_data_model_dump() methods to be able to dump row numbers as well
      	* libgda-report/gda-report-document.c: removed unused function declaration
      	* libgda/gda-query.c: doc. improvement
      	* libgda/gda-threader.c: added missing include
      	* various other very minor adjustments
      
      svn path=/trunk/; revision=2977
      b7030bf0
  11. 11 Jun, 2007 1 commit
    • Vivien Malerba's avatar
      Use BinReloc to avoid hard coding paths to files (so one can move the · 903d26e4
      Vivien Malerba authored
      2007-06-12  Vivien Malerba <malerba@gnome-db.org>
      
      	* providers/ldap/Makefile.am:
      	* providers/ldap/libmain.c:
      	* providers/firebird/Makefile.am:
      	* providers/firebird/libmain.c:
      	* providers/sybase/libmain.c:
      	* providers/sybase/Makefile.am:
      	* providers/bdb/Makefile.am:
      	* providers/bdb/libmain.c:
      	* providers/freetds/libmain.c:
      	* providers/freetds/Makefile.am:
      	* providers/ibmdb2/Makefile.am:
      	* providers/ibmdb2/libmain.c:
      	* providers/sqlite/libmain.c:
      	* providers/sqlite/gda-sqlite-provider.c:
      	* providers/sqlite/Makefile.am:
      	* providers/xbase/Makefile.am:
      	* providers/xbase/libmain.c:
      	* providers/mysql/libmain.c:
      	* providers/mysql/gda-mysql-provider.c:
      	* providers/mysql/Makefile.am:
      	* providers/oracle/libmain.c:
      	* providers/oracle/gda-oracle-provider.c:
      	* providers/oracle/Makefile.am:
      	* providers/postgres/libmain.c:
      	* providers/postgres/gda-postgres-provider.c:
      	* providers/postgres/Makefile.am:
      	* providers/odbc/Makefile.am:
      	* providers/odbc/libmain.c:
      	* providers/msql/Makefile.am:
      	* providers/msql/libmain.c:
      	* libgda/binreloc/*:
      	* libgda/gda-util.c:
      	* libgda/gda-util.h:
      	* libgda/Makefile.am:
      	* libgda/gda-config.c:
      	* libgda/gda-init.c:
      	* acinclude.m4:
      	* configure.in: Use BinReloc to avoid hard coding paths to files 
      	(so one can move the installed directory and still have Libgda working), 
      	see http://autopackage.org/docs/binreloc
      
      svn path=/trunk/; revision=2934
      903d26e4
  12. 18 Apr, 2007 1 commit
    • Vivien Malerba's avatar
      set version to 3.0.0 for release · 814a43e9
      Vivien Malerba authored
      2007-04-18  Vivien Malerba <malerba@gnome-db.org>
      
      	* configure.in: set version to 3.0.0 for release
      	* libgda/sql-delimiter/parser.y:
      	* libgda/sql-delimiter/lexer.l:
      	* libgda/sql-delimiter/gda-sql-delimiter.h:
      	* libgda/sql-delimiter/gda-sql-delimiter.c:
      	* libgda/sql-delimiter/gda-test-delimiter.c: the delimiter now works correctly when using
      	BEGIN ... END blocks with ";" in the middle, when using PostgreSQL dollar quoting notation
      	for strings and removes comments
      	* libgda/sql-delimiter/lexer.l:
      	* libsql/lexer.l: don't replace "\n", "\t", etc by their char '\n', '\t', etc in strings
      	or textuals
      	* tests/queries/check_delimiter.c:
      	* tests/queries/basic_sql.xml:
      	* tests/queries/all_sql_tests.xml:
      	* tests/queries/app_sql.xml: improved test error reporting, and added a lot of complex
      	SQL test cases
      	* providers/sqlite/gda-sqlite-provider.c: implemented the get_last_insert_id() virtual
      	method
      	* libgda/gda-connection.c:
      	* libgda/gda-server-provider.c: doc. update for the get_last_insert_id() functions
      	* providers/postgres/gda-postgres-provider.[ch]: corrected a bug in 
      	gda_postgres_provider_get_last_insert_id() where the call would fail if the recset 
      	argument was NULL
      	* providers/ldap/libmain.c:
      	* providers/firebird/libmain.c:
      	* providers/sybase/libmain.c:
      	* providers/bdb/libmain.c:
      	* providers/freetds/libmain.c:
      	* providers/ibmdb2/libmain.c:
      	* providers/sqlite/libmain.c:
      	* providers/mdb/libmain.c:
      	* providers/xbase/libmain.c:
      	* providers/mysql/libmain.c:
      	* providers/oracle/libmain.c:
      	* providers/postgres/libmain.c:
      	* providers/odbc/libmain.c:
      	* providers/msql/libmain.c: corrected a bug which prevented providers to be found
      	when using the library
      	* doc/C/limitations.xml: added some more information about providers' limitations
      
      
      svn path=/trunk/; revision=2894
      814a43e9
  13. 13 Apr, 2007 1 commit
    • Vivien Malerba's avatar
      show a message and not a warning when the DTD files cannot be found now · 3111b0fb
      Vivien Malerba authored
      2007-04-13  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/gda-init.c: show a message and not a warning when the DTD files cannot be found
      	* libgda/gda-config.c: now use the GDA_PROVIDERS_ROOT_DIR env. variable to be
      	able to load providers before installing libgda (for testing purposes)
      	* libgda/gda-dict.c:
      	* libgda/gda-parameter-list.c:
      	* libgda/gda-server-operation.c: perform DTD validation only if the DTD file has been
      	found, and use the DTD specified in the XML if specified
      	* libgda/gda-server-provider-extra.[ch]: added new helper functions for providers' 
      	implementations
      	* libgda/gda-data-model-import.c: corrected a bug where column types were not correctly used
      	* providers/ldap/libmain.c:
      	* providers/sybase/libmain.c:
      	* providers/firebird/libmain.c:
      	* providers/bdb/libmain.c:
      	* providers/freetds/libmain.c:
      	* providers/ibmdb2/libmain.c:
      	* providers/sqlite/libmain.c:
      	* providers/xbase/libmain.c:
      	* providers/mdb/libmain.c:
      	* providers/oracle/libmain.c:
      	* providers/oracle/gda-oracle-provider.c:
      	* providers/mysql/libmain.c:
      	* providers/msql/libmain.c:
      	* providers/odbc/libmain.c:
      	* providers/sqlite/libmain.c:
      	* providers/sqlite/gda-sqlite-provider.c:	
      	* providers/mysql/gda-mysql-provider.c:
      	* providers/postgres/libmain.c:
      	* providers/postgres/gda-postgres-provider.c:
      	* tests/providers/check_*.c: allow testing to take place before installation
      	* po/POTFILES.in:
      	* providers/msql/libmain.c: renamed gda-msql-libmain.c to libmain.c
      	* providers/mdb/mdb_specs_dsn.xml.in:
      	* providers/mdb/gda-mdb-provider.c: use DB_DIR and DB_NAME parameters instead of
      	the FILENAME parameter
      	* providers/sqlite/sqlite_specs_dsn.xml.in: improved description
      	* providers/sqlite/gda-sqlite-provider.c: improved code readability, and also try to use
      	the database file as specified by the DB_NAME parameter without the ".db" extension
      	* libsql/lexer.l:
      	* libgda/sql-delimiter/lexer.l: don't limit the size of strings and textual expressions
      	to 2048 bytes (use a GString instead), for bug #427605
      
      
      svn path=/trunk/; revision=2892
      3111b0fb
  14. 11 Jan, 2006 1 commit
  15. 30 Jun, 2005 1 commit
    • Stanislav Brabec's avatar
      fixed return values. · 765be353
      Stanislav Brabec authored
      2005-06-30  Stanislav Brabec <sbrabec@suse.de>
      
      	* libgda/gda-data-model.c (gda_data_model_set_command_text,
      	gda_data_model_set_command_type):
      	* libgda/gda-config.c (gda_config_set_string, gda_config_set_int,
      	gda_config_set_float, gda_config_set_boolean,
      	gda_config_save_data_source, gda_config_save_data_source_info):
      	fixed return values.
      
      	* providers/ldap/libmain.c:
      	* providers/mysql/libmain.c:
      	* providers/odbc/libmain.c:
      	* providers/sqlite/libmain.c:
      	* providers/xml/libmain.c: added missing header files.
      765be353
  16. 25 Jun, 2005 1 commit
    • Bas Driessen's avatar
      use correct data type gsize rather than gint when calling function · 78dbca40
      Bas Driessen authored
      2005-06-25  Bas Driessen <bas.driessen@xobas.com>
      
      	* providers/mysql/libmain.c
      	(plugin_get_dsn_spec): use correct data type
      	gsize rather than gint when calling function
      	g_file_get_contents. The x86_64 platform is
      	very picky about this and crashes with a
      	segmentation fault.
      
      	* providers/postgres/libmain.c
      	(plugin_get_dsn_spec): idem.
      
      	* providers/sqlite/libmain.c
      	(plugin_get_dsn_spec): idem.
      78dbca40
  17. 01 Jun, 2005 1 commit
  18. 09 Oct, 2004 1 commit
    • Rodrigo Moya's avatar
      added GdaProviderParameterInfo structure. Changed list of params in · ef97b8e0
      Rodrigo Moya authored
      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.
      ef97b8e0
  19. 19 Jan, 2003 1 commit
    • Gonzalo Paniagua Javier's avatar
      use g_hash_table_foreach_remove instead of removing the hash entry inside · 66809a51
      Gonzalo Paniagua Javier authored
      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.
      66809a51
  20. 18 Jan, 2003 2 commits
    • Rodrigo Moya's avatar
      Fixes #95959 · 49854b63
      Rodrigo Moya authored
      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.
      49854b63
    • Rodrigo Moya's avatar
      added USE_SSL parameter for the MySQL provider. Also, removed unused FLAGS · 68c83ba2
      Rodrigo Moya authored
      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.
      68c83ba2
  21. 16 Aug, 2002 1 commit
    • Holger Thon's avatar
      fixed compile warnings · 9cef596a
      Holger Thon authored
      2002-08-16  Holger Thon <holger.thon@gnome-db.org>
      
      	* providers/mysql/libmain.c: fixed compile warnings
      9cef596a
  22. 26 Apr, 2002 1 commit
    • Rodrigo Moya's avatar
      added GModule to list of dependencies. · f9348a61
      Rodrigo Moya authored
      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.
      f9348a61