libgda r2861 - in trunk: . doc/C doc/C/tmpl libgda libgda/handlers libgda/sql-delimiter libsql providers/bdb providers/firebird providers/freetds providers/ibmdb2 providers/ldap providers/mdb providers/msql providers/mysql providers/odbc providers/oracle providers/postgres providers/sqlite providers/sqlite/sqlite-src providers/sybase providers/xbase report/testing testing tests tools



Author: vivien
Date: 2007-03-09 15:13:49 +0000 (Fri, 09 Mar 2007)
New Revision: 2861
ViewCVS link: http://svn.gnome.org/viewcvs/libgda?rev=2861&view=rev

Added:
   trunk/tests/all_sql_tests.xml
   trunk/tests/app_sql.xml
   trunk/tests/check_gdaquery.c
   trunk/tests/dict_pg.xml
   trunk/tests/params_sql.xml
   trunk/tests/prov_sql.xml
   trunk/tests/select_sql.xml
Modified:
   trunk/ChangeLog
   trunk/doc/C/
   trunk/doc/C/libgda-3.0-sections.txt
   trunk/doc/C/tmpl/
   trunk/doc/C/tmpl/gda-handler-time.sgml
   trunk/doc/C/tmpl/gda-query-field-value.sgml
   trunk/gtk-doc.make
   trunk/libgda/gda-column.c
   trunk/libgda/gda-data-model-row.c
   trunk/libgda/gda-dict.c
   trunk/libgda/gda-dict.h
   trunk/libgda/gda-parameter-list.c
   trunk/libgda/gda-query-field-value.c
   trunk/libgda/gda-query-field-value.h
   trunk/libgda/gda-query-parsing.c
   trunk/libgda/gda-query.c
   trunk/libgda/gda-value.c
   trunk/libgda/handlers/gda-handler-bin.c
   trunk/libgda/handlers/gda-handler-time.c
   trunk/libgda/handlers/gda-handler-time.h
   trunk/libgda/handlers/gda-handler-type.c
   trunk/libgda/sql-delimiter/gda-delimiter-tree.c
   trunk/libgda/sql-delimiter/gda-sql-delimiter.c
   trunk/libgda/sql-delimiter/gda-sql-delimiter.h
   trunk/libgda/sql-delimiter/gda-test-delimiter.c
   trunk/libgda/sql-delimiter/lexer.l
   trunk/libgda/sql-delimiter/parser.y
   trunk/libsql/lexer.l
   trunk/libsql/sql_parser.c
   trunk/providers/bdb/
   trunk/providers/firebird/
   trunk/providers/freetds/
   trunk/providers/ibmdb2/
   trunk/providers/ldap/
   trunk/providers/mdb/
   trunk/providers/msql/
   trunk/providers/mysql/
   trunk/providers/odbc/
   trunk/providers/oracle/
   trunk/providers/postgres/
   trunk/providers/sqlite/
   trunk/providers/sqlite/gda-sqlite-provider.c
   trunk/providers/sqlite/sqlite-src/btree.c
   trunk/providers/sqlite/sqlite-src/build.c
   trunk/providers/sqlite/sqlite-src/callback.c
   trunk/providers/sqlite/sqlite-src/delete.c
   trunk/providers/sqlite/sqlite-src/expr.c
   trunk/providers/sqlite/sqlite-src/fts1.c
   trunk/providers/sqlite/sqlite-src/func.c
   trunk/providers/sqlite/sqlite-src/opcodes.c
   trunk/providers/sqlite/sqlite-src/opcodes.h
   trunk/providers/sqlite/sqlite-src/os_os2.c
   trunk/providers/sqlite/sqlite-src/os_unix.c
   trunk/providers/sqlite/sqlite-src/parse.c
   trunk/providers/sqlite/sqlite-src/parse.h
   trunk/providers/sqlite/sqlite-src/select.c
   trunk/providers/sqlite/sqlite-src/sqlite3.h
   trunk/providers/sqlite/sqlite-src/sqliteInt.h
   trunk/providers/sqlite/sqlite-src/update.c
   trunk/providers/sqlite/sqlite-src/vdbemem.c
   trunk/providers/sqlite/sqlite-src/where.c
   trunk/providers/sybase/
   trunk/providers/xbase/
   trunk/report/testing/
   trunk/testing/
   trunk/tests/
   trunk/tests/Makefile.am
   trunk/tests/basic_sql.xml
   trunk/tests/check_delimiter.c
   trunk/tests/test-util.c
   trunk/tests/test-util.h
   trunk/tools/
   trunk/tools/gda-author-dict-file.c
Log:
2007-03-09  Vivien Malerba <malerba gnome-db org>

	* tests/check_delimiter.c: checks for the correct number of statements recognized
	* tests/all_sql_tests.xml:
	* tests/params_sql.xml:
	* tests/prov_sql.xml:
	* tests/select_sql.xml:
	* tests/app_sql.xml:
	* tests/basic_sql.xml:
	* tests/dict_pg.xml:
	* tests/check_delimiter.c: added more test cases and groupped them into one single index
	file (all_sql_tests.xml)
	* tests/check_gdaquery.c: test for GdaQuery parsing SQL
	* libgda/gda-dict.c: replaced GDA_TYPE_OBJECT with G_TYPE_STRING for the
	1st argument of the "update_progress" signal
	* libgda/gda-query.c: corrected empty query ("") handling
	* libgda/gda-parameter-list.c: replaced "uint" with "guint" for the W32 platform, see
	http://mail.gnome.org/archives/gnome-db-list/2007-January/msg00038.html
	* libsql/sql_parser.c: include the <glib/gi18n-lib.h> file to define _(), 
	improved the SQL parser to detect non terminated strings
	* libsql/lexer.l: use LEX states for the parameters definition, report non parsed
	characters
	* libgda/sql-delimiter/parser.y: 
	* libgda/sql-delimiter/gda-delimiter-tree.c:
	* libgda/sql-delimiter/gda-sql-delimiter.c:
	* libgda/sql-delimiter/gda-test-delimiter.c:
	* libgda/sql-delimiter/lexer.l:
	* libgda/sql-delimiter/gda-sql-delimiter.h: vastly improved the SQL delimiter which now
	don't change spacings in the rendered SQL and detect default values for parameters (for
	example "SELECT 1.23 /* name:myparam */" detects a parameter named "myparam" with a
	default value of 1.23), detect non terminated strings
	* libgda/gda-query-parsing.c: set the GdaQueryFieldValue's default value correctly when
	there is a parameter in the SQL
	* libgda/gda-query-field-value.c: correctly render SQL when there is a default value
	* libgda/gda-query.c: correctly take into account default values for parameters when
	a query is defined from SQL
	* libgda/handlers/gda-handler-bin.c: fix memory allocation problem
	* libgda/gda-column.c: removed usage of G_TYPE_GTYPE
	* libgda/gda-data-model.c: removed check on uninitialized value
	* libgda/handlers/gda-handler-time.[ch]: added gda_handler_time_get_format()
	* providers/sqlite/sqlite-src/: up to Sqlite 3.3.13
	* libgda/gda-value.c: corrected a gda_value_compare() bug which returned wrong
	results in some limit number comparisons
	* fixed the svn:ignore property of some directories





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]