3.99.20: 2010-05-20 Murray Cumming Fixed the build with latest libgda. * libgda/src/libgda_methods.defs: Regenerated with h2defs.py * libgda/src/sqlbuilder.ccg: Adapted now that I have removed the id parameters from the C API. 2010-05-17 Murray Cumming SqlBuilder: Don't pass empty strings to the C functions. * libgda/src/sqlbuilder.hg: Make sure that generated methods pass NULL for empty strings, because libgda does not always check that strings are not empty, though I try to fix that in libgda when I see it. 2010-05-13 Murray Cumming SqlBuilder: get_sql_statement(): Fix memory management. * libgda/src/sqlbuilder.hg: get_sql_statement(): Take a copy of the C object, to avoid a double-free. 2010-05-12 Murray Cumming SqlBuilder: add_sub_select(), compound_add_sub_select(): Remove steal param. * libgda/src/libgda_methods.defs: * libgda/src/sqlbuilder.[hg|ccg]: Adapt to my change in libgda, fixing the build. 2010-05-12 Murray Cumming > SqlBuilder: get_sql_statement(): Remove stupid copy_it parameter. * libgda/src/libgda_methods.defs: * libgda/src/sqlbuilder.hg: Adapt to my change in libgda, fixing the build. 2010-05-12 Murray Cumming SqlBuilder: Add select_add_target_id(). * libgda/src/sqlbuilder.[hg|ccg]: Added select_add_target_id(), which _might_ be useful for adding sub-queries as targets, though I am checking. 2010-05-11 Murray Cumming SqlBuilder: Add add_sub_select(). * libgda/src/sqlbuilder.[hg|ccg]: Wrap gda_sql_builder_add_sub_select(). 2010-05-11 Murray Cumming SqlBuilder: Add compound_add_sub_select(). * libgda/src/sqlbuilder.hg: Wrap gda_sql_builder_compound_add_sub_select(). 2010-05-11 Murray Cumming SqlBuilder: Add get_sql_statement(). * libgda/src/sqlstatement.[hg|ccg]: Added SqlStatement, wrapping GdaSqlStatement. * libgda/src/sqlbuilder.hg: Wrap gda_sql_builder_get_sql_statement(). 2010-05-07 Murray Cumming SqlBuilder: import_expression(): Remove the id parameter. * libgda/src/sqlbuilder.hg: import_expression(): Remove the id parameter. We generally don't let the caller specify an ID, though the C API does, for no good reason. export_expression(): Make this const. 2010-05-07 Murray Cumming SqlBuilder: Fix typo in import_expression() name. * libgda/src/sqlbuilder.hg: Change import_expressio() to import_expression(). 2010-05-06 Murray Cumming SqlExpr: Add empty(). * libgda/src/sqlexpr.[hg|ccg]: Added empty() so we can check if it is a default empty instance. This makes it more useful. 2010-05-06 Murray Cumming Added new SqlBuilder methods. * libgda/src/libgda_methods.defs: Regenerated with h2defs.py * libgda/src/sqlexpr.[hg|ccg]: Wrapped GdaSqlExpr as Gda::SqlExpr. This needs my change in libgda to register the boxed type. * libgda/src/sqlbuilder.hg: select_add_field(): Returns the ID now. Added export_expression() and import_expression(). 2010-05-04 Murray Cumming * libgda/libgdamm.h: Minor main text improvement. 2010-05-04 Murray Cumming Value: Added get/set_long(). * libgda/libgdamm/value.[h|cc]: Added get/set_long(). 2010-04-27 David King Add main page to Doxygen documentation * docs/Makefile.am: Parse libgda/libgdamm.h for Doxygen documentation. * libgda/libgdamm.h: Add main page to generated documentation. 2010-04-27 David King Remove Debian packaging * debian/*: Remove hopelessly out-of-date Debian packaging. 2010-04-26 Murray Cumming SqlBuilder: Added select_set_having() and select_group_by(). * libgda/src/libgda_methods.defs: Regenerated with h2defs.py * libgda/src/sqlbuilder.hg: Added select_set_having(), select_group_by(). 2010-04-09 Armin Burgmeier SqlBuilder: Make definition and declaration of add_cond() match * libgda/src/sqlbuilder.ccg (add_cond): Fix function header signature to match the declaration in the header (uint->guint), fixing the Windows build. 2010-03-29 Murray Cumming SqlBuilder: Added select_set_dictinct() and select_sect_limit(). * libgda/src/libgda_methods.defs: Regenerated * libgda/src/sqlbuilder.[hg|ccg]: Added select_set_distinct(), select_set_limit(), set_limit_id(), and select_set_distinct(). 2010-03-23 Murray Cumming Fix the build with the latest libgdamm, which slightly broke API and ABI. * libgda/src/libgda_enums.defs: Regenerated. * libgda/src/sqlbuilder.hg: Adapt the SqlError exception wrapper to mention GdaSqlError instead of GdaSqlErrorType. 2010-02-27 Murray Cumming Connection: Add statement_execute_non_select_builder(SqlBuilder) * libgda/src/connection.[hg|ccg]: Added statement_execute_non_select_builder() overloads that take SqlBuilder, to avoid the need to generate a statement from a builder. 2010-02-27 Murray Cumming Connection, SqlBuilder: Add some convenient method overloads. * libgda/src/connection.[hg|ccg]: statement_execute_select(statement, params): Add an optional model_usage parameter, as already exists on other method overloads. Added statement_execute_select_builder() to avoid the need to generate a statement from a builder. * libgda/src/sqlbuilder.[hg|ccg]: Added an add_function() overload that takes only one parameter. 2010-02-27 Murray Cumming SqlBuilder: Add SqlError and fix select_add_target() with no alias. * libgda/src/sqlbuilder.[hg|ccg]: Add SqlError to wrap the GdaSqlError error domain thrown (but not documented) by SqlBuilder. select_add_target(): Avoid passing a "" alias. I have fixed the C function in libgda but this makes it safe even when that is not deployed.