3.99.20:

2010-05-20  Murray Cumming  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

    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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

    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  <murrayc@murrayc.com>>

	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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

    SqlBuilder: Add add_sub_select().

	* libgda/src/sqlbuilder.[hg|ccg]:  Wrap gda_sql_builder_add_sub_select().

2010-05-11  Murray Cumming  <murrayc@murrayc.com>

	SqlBuilder: Add compound_add_sub_select().

	* libgda/src/sqlbuilder.hg: Wrap gda_sql_builder_compound_add_sub_select().

2010-05-11  Murray Cumming  <murrayc@murrayc.com>

    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  <murrayc@murrayc.com>

	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  <murrayc@murrayc.com>

	SqlBuilder: Fix typo in import_expression() name.

	* libgda/src/sqlbuilder.hg: Change import_expressio() to import_expression().

2010-05-06  Murray Cumming  <murrayc@murrayc.com>

   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  <murrayc@murrayc.com>

    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  <murrayc@murrayc.com>

	* libgda/libgdamm.h: Minor main text improvement.

2010-05-04  Murray Cumming  <murrayc@murrayc.com>

	Value: Added get/set_long().

	* libgda/libgdamm/value.[h|cc]: Added get/set_long().

2010-04-27  David King  <davidk@openismus.com>

	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  <davidk@Openismus.com>

	Remove Debian packaging

	* debian/*: Remove hopelessly out-of-date Debian packaging.

2010-04-26  Murray Cumming  <murrayc@murrayc.com>

    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  <armin@arbur.net>

	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  <murrayc@murrayc.com>

    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  <murrayc@murrayc.com>

  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  <murrayc@murrayc-x61>

  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  <murrayc@murrayc.com>

  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  <murrayc@murrayc.com>

  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.