2007-07-08 Masahiro Sakai * src/*: use rb_block_proc() directly instead of using G_BLOCK_PROC(). 2005-12-05 Laurent Sansonetti * README, extconf.rb, src/rbgda.c, src/rbgda.h, src/rbgdaclient.c, src/rbgdaconnection.c, src/rbgdadatamodel.c, src/rbgdadatamodelhash.c, src/rbgdaerror.c, src/rbgdafieldattributes.c, src/rbgdavalue.c: Fix build against 1.3.x branch (libgda-2.x). 2005-10-15 Masao Mutoh * extconf.rb: : Cygwin support. [bug #1315334] By Yaakov Selkowitz. 2005-10-10 Masao Mutoh * extconf.rb, src/rbgda.h, rbgda.c: Added Gda::BUILD_VERSION. 2005-03-02 Laurent Sansonetti * README: we support 1.1.99. * src/rbgdadatamodel.c (#emit_column_inserted, #emit_column_updated, #emit_column_removed, #get_value_at, #append_column, #update_column, #remove_column): Added. * src/rbgdadatamodel.c (#editable?, #editing?, #begin_edit, #cancel_edit, #end_edit): Renamed. * src/rbgdaprovider.c (::model): Enabled again. * src/rbgdaquarklist.c (#clear): Enabled again. * tests/tc_all.rb: Re-test previously disabled methods. * src/rbgdaconnection.c (#reset!, #clear_errors, #create_table, #drop_table): Added. * extconf.rb: Detect 1.1, 1.2 and 1.3 versions, to keep backward compatibility. 2005-01-30 Masao Mutoh * extconf.rb: Follow mkmf-gnome2.rb changes. 2004-04-19 Laurent Sansonetti * src/rbgdaexport.c: Removed. * src/rbgda.c: Removed call to Init_gda_export. * src/rbgdacommand.c: Fixed a compilation bug with GCC 2.9.XX, reported by mezz7. * src/rbgdaconnection.c (#execute): Added as an alias to #execute_single_command. 2004-03-10 Laurent Sansonetti * README: We require libgda 1.0.3 or higher now (stable branch). * src/rbgdaprovider.c (#get_model), src/rbgdaquarklist.c (#clear): Disabled, because they are implemented in the development branch of libgda. * tests/tc_all.rb: Follow API changes. 2004-03-07 Laurent Sansonetti * src/*.[ch]: Updated copyright. 2004-03-06 Masao Mutoh * README: Update Copyright. 2004-01-28 Nikolai Weibull * src/lib/libgda.rb: Added requirement on date. * src/rbgdavalaue.c: Added missing argument in call to rb_rb_value_to_gda_value_try_as_string(). 2004-01-26 Laurent Sansonetti * src/rbgdageometricpoint.c, src/rbgdamoney.c, src/rbgdatime.c: Added new classes. * src/rbgda.c: Initializes Gda::GeometricPoint, Gda::Money and Gda::Time + removed initialization for Gda::Value. * src/rbgda.h: Exported Gda::GeometricPoint, Gda::Money and Gda::Time classes + fixed RGDA_VALUE and RGDA_VALUE_NEW macros. * src/rbgdadatamodel.c, src/rbgdadatamodellist.c, src/rbgdaparameter.c: Follow RGDA_VALUE changes. * src/rbgdafieldattributes.c: Removed #gdatype and #set_gdatype. * src/rbgdavalue.c: Added RB <-> GDA values conversion functions, by Nikolai Weibull + removed old code. * tests/tc_all.rb: Follow these changes. 2004-01-14 Laurent Sansonetti * src/rbgdarow.c: Added Gda::Row#[]. * src/rbgdavalue.c: Added Gda::Value#==. * tests/tc_all.rb: Follow these changes. 2004-01-02 Laurent Sansonetti * src/rbgdacommand.c: The 'options' parameter of Gda::Command.new is fixed by default to Gda::Command::OPTION_STOP_ON_ERRORS. * src/rbgdaparameter.c: Gda::Parameter.new accepts nil as 'value' and raises an exception is the 'value' object type is not supported. * src/rbgdaparameterlist.c: Gda::ParameterList.new can optionally accept a list of Gda::Parameter that will be automatically inserted. * tests/tc_all.rb: Follow these changes. 2003-12-28 Laurent Sansonetti * src/rbgdaconnection.c: Added Gda::Connection#get_schema. 2003-12-21 Laurent Sansonetti * extconf.rb: Removed obsolete directive. 2003-12-17 Laurent Sansonetti * src/*.c: Fixed GEnum/GFLags <=> Ruby conversions, added Gda::Value::Type constants and fixed a doc typo in a comment. 2003-12-15 Laurent Sansonetti * src/rbgdadatasource.c: Constructor did not accept nil as the username parameter. 2003-12-14 Laurent Sansonetti * src/rbgdaclient.c, src/rbgdavalue.c: Fixed some typos in the comments. 2003-12-12 Laurent Sansonetti * src/*.c: Added documentation (for extdoc.rb). 2003-12-09 Laurent Sansonetti * src/rbgdadatasource.c, src/rbgdaprovider.c: Removed obsolete code. * README: Ruby/Libgda needs libgda 1.1.1 (development branch). 2003-11-29 Laurent Sansonetti * src/rbgdaerror.c: Gda::Error.new has been improved to optionally accept parameters as description, number, source, sqlstate. * src/rbgdaparameterlist.c: Added Gda::ParameterList#empty? * src/rbgdaprovider.c: Added Gda::Provider#== and Gda::Provider#name (alias to #prov_id). * tests/*.rb: Cleaned test suite. 2003-11-28 Laurent Sansonetti * src/rbgdaparameterlist.c: Fixed a bug in Gda::ParameterList (#parameters, #each_param). 2003-11-20 Laurent Sansonetti * src/rbgdaparameterlist.c: Fixed GC-related bug in Gda::ParameterList#add (fix provided by Masao Mutoh). 2003-11-19 Laurent Sansonetti * README: libgda 1.0.2 or newer is needed. 2003-11-17 Laurent Sansonetti * src/rbgda.h, src/rbgdadatasource.c, src/rbgdaprovider.c: Fixed bug (GDA_TYPE_DATASOURCE was used instead of GDA_TYPE_DATA_SOURCE_INFO, same thing for PROVIDER). * src/rbgdaclient.c, src/rbgdacommand.c, src/rbgdaconnection.c, src/rbgdaexport.c, src/rbgdatransaction.c: Uses G_DEF_CONSTANTS(). 2003-11-14 Laurent Sansonetti * Changed my e-mail address (laurent@datarescue.be -> lrz@gnome.org). 2003-11-05 Laurent Sansonetti * src/rbgda.h, src/rbgdacommand.c, src/rbgdafieldattributes.c, src/rbgdaparameter.c, src/rbgdaparameterlist.c, src/rbgdaquarklist.c, src/rbgdarow.c, src/rbgdavalue.c: Removed all gboxed code, since all GDA classes we support are now following GLib type system. 2003-10-27 Laurent Sansonetti * sample/print_config.rb: New file. * src/rbgdadatasource.c: Introduced Gda::DataSource.model. * src/rbgdaprovider.c: Introduced Gda::Provider.model. 2003-10-25 Laurent Sansonetti * src/rbgdadatasource.c: Gda::DataSource.new now allows nil as password. * src/rbgdadatamodel.c: Gda::DataModel#to_xml can now be used without the standalone parameter (which is false by default). * src/rbgdaquarklist.c, tests/tc_quarklist.rb: New files. * src/rbgda.c: Initializes Gda::QuarkList. * src/rbgda.h: Added macros for Gda::QuarkList. 2003-10-06 Laurent Sansonetti * src/rbgdaexport.c: New file. * src/rbgda.c: Initializes Gda::Export. * src/rbgda.h: Added macros for Gda::Export. 2003-10-04 Laurent Sansonetti * src/rbgdaselect.c, src/rbgdatable.c: New files. * src/rbgda.c: Initializes Gda::Select & Gda::Table. * src/rbgda.h: Added macros for Gda::Select & Gda::Table. 2003-10-03 Laurent Sansonetti * src/rbgdafieldattributes.c: New file. * src/rbgda.c: Initializes Gda::FieldAttributes. * src/rbgda.h: Added macros for Gda::FieldAttributes. * src/rbgdadatamodel: Added a few methods (#emit_changed, #emit_row_inserted, #emit_row_updated, #emit_row_removed, #freeze!, #thaw!, #describe_column, #append_row, #remove_row, #update_row, #editable?, #editing?, #begin_edit, #cancel_edit, #end_edit, #to_comma_separated, #to_tab_separated, #to_xml, #command_text, #set_command_text, #command_type, #set_command_type). 2003-10-02 Laurent Sansonetti * src/rbgdadatamodelhash.c, src/rbgdadatamodellist.c: New files. * src/rbgda.c: Initializes Gda::DataModelHash & Gda::DataModelList. * src/rbgda.h: Added macros for Gda::DataModelHash & Gda::DataModelList. 2003-10-01 Laurent Sansonetti * src/rbgdaclient.c: Added #notify_connection_closed_event (which declaration was missing in gda-client.h). 2003-09-30 Laurent Sansonetti * src/rbgdaconnection.c: Added a few methods (#set_client, #provider, #add_errors, #database, #change_database, #create_database, #drop_database, #supports?) and constants (FEATURE_AGGREGATES, FEATURE_INDEXES, FEATURE_INHERITANCE, FEATURE_NAMESPACES, FEATURE_PROCEDURES, FEATURE_SEQUENCES, FEATURE_SQL, FEATURE_TRANSACTIONS, FEATURE_TRIGGERS, FEATURE_USERS, FEATURE_VIEWS, FEATURE_XML_QUERIES, FEATURE_BLOBS) to complete the class. 2003-09-29 Laurent Sansonetti * src/rbgdaclient.c: Added a few methods (#close_all_connections, #begin_transaction, #commit_transaction, #rollback_transaction, #notify_event, #notify_error_event, #notify_connection_opened_event, #notify_transaction_started_event, #notify_transaction_committed_event, #notify_transaction_cancelled_event) and constants (EVENT_ERROR, EVENT_CONNECTION_OPENED, EVENT_CONNECTION_CLOSED, EVENT_TRANSACTION_STARTED, EVENT_TRANSACTION_COMMITTED, EVENT_TRANSACTION_CANCELLED) to complete the class. 2003-09-25 Laurent Sansonetti * src/rbgdavalue.c: Added Gda::Value#<=>. * src/rbgdaconnection.c: Added Gda::Connection#begin_transaction, #commit_transaction and #rollback_transaction. * src/rbgdaclient.c: Gda::Client#open_connection can now accept nil values as username and password. * sample/sample.rb, sample/sample.sql: New files. 2003-09-24 Laurent Sansonetti * src/rbgdaparameter.c, src/rbgdaparameterlist.c: New files. * src/rbgda.c: Initializes Gda::Parameter & Gda::ParameterList, added Gda.sql_replace_placeholders. * src/rbgda.h: Added macros for Gda::Parameter & Gda::ParameterList. * src/rbgdaconnection.c: Uses Gda::ParameterList for queries. * src/rbgdavalue.c: Class is exported. 2003-09-21 Laurent Sansonetti * README, extconf.rb, sample/sql_console.rb, src/rbgda.c, src/rbgda.h, src/rbgdaclient.c, src/rbgdacommand.c, src/rbgdaconnection.c, src/rbgdadatamodel.c, src/rbgdadatamodelarray.c, src/rbgdadatasource.c, src/rbgdaerror.c, src/rbgdaprovider.c, src/rbgdarow.c, src/rbgdatransaction.c, src/rbgdavalue.c, tests/tc_gda.rb, src/lib/libgda.rb, src/lib/gda.rb: Renamed project name (Ruby/Gda -> Ruby/Libgda) and library name ('gda' -> 'libgda'). * README, COPYING.LIB, extconf.rb, src/rbgda.c, src/rbgda.h, src/rbgdaprovider.c, src/lib/gda.rb, src/rbgdadatasource.c, src/rbgdaclient.c, src/rbgdaconnection.c, src/rbgdacommand.c, src/rbgdadatamodel.c, src/rbgdaerror.c, src/rbgdarow.c, src/rbgdavalue.c, src/rbgdadatamodelarray.c, src/rbgdatransaction.c, tests/tc_gda.rb, .cvsignore, sample/sql_console.rb: Initial SF import.