1. 03 Apr, 2007 2 commits
    • Murray Cumming's avatar
      Clarify that the library and providers are under LGPL. It is just the · 0cfa2c18
      Murray Cumming authored
      2007-04-03  Murray Cumming  <murrayc@murrayc.com>
      
              * COPYING:
              * README: Clarify that the library and providers are under LGPL. It is just the 
              executables that are under GPL.
              * providers/postgres/gda-postgres-handler-bin.c:
              * providers/postgres/gda-postgres-handler-bin.h:
              * providers/sqlite/gda-sqlite-handler-bin.c:
              * providers/sqlite/gda-sqlite-handler-bin.h: Correct inconsistent license headers.
      
      svn path=/trunk/; revision=2886
      0cfa2c18
    • Murray Cumming's avatar
      Some of the headers mistakenly mentioned GPL instead of LGPL. LGPL is · 70a69cb7
      Murray Cumming authored
      2007-04-03  Murray Cumming  <murrayc@murrayc.com>
      
              * libgda/: Some of the headers mistakenly mentioned GPL instead of LGPL. 
              LGPL is obviously intended, as specified in the README, so I made these consistent.
      
      svn path=/trunk/; revision=2885
      70a69cb7
  2. 30 Mar, 2007 1 commit
    • Vivien Malerba's avatar
      removed the list of connections using the specified GdaServerProvider · 75fbdc2a
      Vivien Malerba authored
      2007-03-30  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/gda-server-provider.c:
      	* libgda/gda-server-provider-private.h: removed the list of connections
      	using the specified GdaServerProvider object as it was useless and the 
      	self-unreferencing of the providers if there was no opened connection left
      	lead to memory corruption
      	* libgda/gda-connection.c: added more assertions tests to avoid crashes
      	* libgda/gda-quark-list.c: don't pass g_free as data pointer if it's not used
      	* tests/providers/prov-test-util.c: make it possible to close and re-open a
      	connection after some tests because tests are run in sub-processes
      	* tests/providers/*: now test TYPES schema
      	* tests/data-models/: new tests for GdaDataModel implementations (only
      	a start at the moment)
      
      svn path=/trunk/; revision=2884
      75fbdc2a
  3. 29 Mar, 2007 1 commit
    • Vivien Malerba's avatar
      improved providers tests (now tests DB creation, SQL execution to create · 5e3aad67
      Vivien Malerba authored
      2007-03-29  Vivien Malerba <malerba@gnome-db.org>
      
      	* tests/providers/*: improved providers tests (now tests DB creation, SQL execution
      	to create tables, tables' fields retreival, DB destruction)
      	* libgda/gda-data-model-import.c: corrected XML files import in situations when the 
      	XML file was not indented
      	* libgda/gda-parameter-list.c: API doc improvements
      
      
      svn path=/trunk/; revision=2883
      5e3aad67
  4. 28 Mar, 2007 2 commits
  5. 27 Mar, 2007 3 commits
  6. 26 Mar, 2007 2 commits
    • Armin Burgmeier's avatar
      Removed a line that unconditionally returned with calling · 47d2514a
      Armin Burgmeier authored
      2007-03-26  Armin Burgmeier  <armin@openismus.com>
      
      	* libgda/gda-value.c: Removed a line that unconditionally returned
      	with calling g_value_get_uint() if the type of the values to compare
      	was not known. The warning that should actually be displayed in that
      	case was therefore never triggered.
      
      svn path=/trunk/; revision=2877
      47d2514a
    • Vivien Malerba's avatar
      added a GDA_QUERY_PARAM_TYPE_ERROR type of error default the data type to · 6f3acbc3
      Vivien Malerba authored
      2007-03-26  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/gda-query.h: added a GDA_QUERY_PARAM_TYPE_ERROR type of error
      	* libgda/gda-query.c: default the data type to G_TYPE_STRING when a parameter's type
      	is unknown and when type of query is GDA_QUERY_TYPE_NON_PARSED_SQL
      	* libgda/gda-query.c: don't crash when @priv->all_conds is not NULL as expected
      	because this can happen in case the user kept some reference on some GdaQueryCondition
      	object
      	* libgda/gda-query-field-value.c: added a new "string_type" property used when
      	rendering SQL to render type as it was specified
      	* libgda/gda-query-parsing.c: better determination of data type for values
      	* libgda/gda-query-parsing.c: avoid GdaQueryCondition object reference leak
      	* libgda/gda-query-parsing.c: default the data type to G_TYPE_STRING when a parameter's type
      	is unknown instead of refusing to parse the query
      	* libgda/gda-dict-reg-functions.c: don't crash if the dictionary does not handle
      	functions
      	* libgda/gda-dict-reg-aggregates.c: don't crash if the dictionary does not handle
      	aggregates
      	* tests/check_delimiter.c: don't fail to build tests when the "check" library is 
      	not installed 
      	* tests/*: added new test cases and added some flexibility in the way to test
      	SQL rendering
      	* tests/test-util.c: try to run all tests both without any dictionary, and with one
      	if a dictionary file is specified
      	* providers/sqlite/gda-sqlite-provider.c: now use the recommended sqlite3_prepare_v2 SQlite API,
      	and improved notices contents
      
      svn path=/trunk/; revision=2876
      6f3acbc3
  7. 24 Mar, 2007 1 commit
  8. 23 Mar, 2007 1 commit
  9. 20 Mar, 2007 1 commit
  10. 19 Mar, 2007 2 commits
    • Murray Cumming's avatar
      #ifdef-ed out the definitions of the functions that used · 0d6356bf
      Murray Cumming authored
      2007-03-19  Murray Cumming  <murrayc@murrayc-desktop>
      
              * libgda/gda-data-model-private.h:
              * providers/ldap/gda-ldap-recordset.c:
              (gda_ldap_recordset_class_init):
              * providers/msql/gda-msql-recordset.c:
              (gda_msql_recordset_class_init):
              * providers/oracle/gda-oracle-recordset.c:
              (gda_oracle_recordset_class_init):
              #ifdef-ed out the definitions of the functions that used gda_data_model_get_command_text(), 
              to prevent linker errors, and added comments pointing to the relevant bug report.
      
      svn path=/trunk/; revision=2871
      0d6356bf
    • Vivien Malerba's avatar
      applied patch from Mark Johnson <mrj001@shaw.ca> to correct a compiling · 2fd8e6ed
      Vivien Malerba authored
      2007-03-19  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/sql-delimiter/Makefile.am: applied patch from
      	Mark Johnson <mrj001@shaw.ca> to correct a compiling problem
      	* providers/ldap/gda-ldap-recordset.c:
      	* providers/oracle/gda-oracle-recordset.c:
      	* providers/msql/gda-msql-recordset.c: disabled adding values
      	to GdaDataModel returned when executing a SELECT command, to 
      	avoid calling the non-existant gda_data_model_get_command_text()
      	for bug #411811
      
      svn path=/trunk/; revision=2870
      2fd8e6ed
  11. 16 Mar, 2007 1 commit
    • yselkowitz's avatar
      Added configure tests to allow us to ifdef around changes in the MDB API. · aadcc057
      yselkowitz authored
      2007-03-16  yselkowitz  <yselkowitz@users.sourceforge.net>
      
              * acconfig.h:
              * configure.in:
              * providers/mdb/gda-mdb-provider.c:
              (gda_mdb_provider_open_connection), (gda_mdb_provider_execute_sql):
              Added configure tests to allow us to ifdef around changes in the MDB 
              API. Hopefully this will not happen often.
              Bug #412122.
      
      svn path=/trunk/; revision=2869
      aadcc057
  12. 15 Mar, 2007 3 commits
    • yselkowitz's avatar
      Add AM_PROG_CC_C_O to avoid a warning. Modify rules to fix the vpath · 399c5fbe
      yselkowitz authored
      2007-03-15  yselkowitz  <yselkowitz@users.sourceforge.net>
      
              * configure.in: Add AM_PROG_CC_C_O to avoid a warning.
              * libgda/sql-delimiter/Makefile.am: Modify rules to fix the vpath 
              build.
              Patches in bug #418116.
      
      svn path=/trunk/; revision=2868
      399c5fbe
    • Vivien Malerba's avatar
      Applied patch from Yaakov (Cygwin Ports) and Gustavo R. Montesino: · 1580a583
      Vivien Malerba authored
      2007-03-15  Vivien Malerba <malerba@gnome-db.org>
      
              Applied patch from Yaakov (Cygwin Ports) and Gustavo R. Montesino:
      
              * Makefile.am
              * configure.in
              * doc/C/Makefile.am
              * libgda-3.0.pc.in
              * libgda/Makefile.am
              * libgda/graph/Makefile.am
              * libgda/handlers/Makefile.am
              * libgda/sql-delimiter/Makefile.am
              * libgda/sql-transaction/Makefile.am
              * providers/freetds/Makefile.am
              * providers/mdb/Makefile.am
              * providers/mysql/Makefile.am
              * providers/postgres/Makefile.am
              * providers/sqlite/Makefile.am
              * report/testing/Makefile.am
              * testing/Makefile.am
              * tests/Makefile.am
              * tools/Makefile.am:
              Change libgda sublibs to convenience libs and merge them into
              libgda-3.0.la.
              Fixes compilation with -Wl,--as-needed or -Wl,-z,defs and obsoletes
              the Win32
              bootstrapping; see bug 349548 and others.
      
              * win32/Makefile.am
              * win32/dummy.la
              * win32/libgda_graph-3.0.def
              * win32/libgda_handlers-3.0.def: Removed.
      
      svn path=/trunk/; revision=2867
      1580a583
    • Marco Ciampa's avatar
      Updated italian translation · 04414a8c
      Marco Ciampa authored
      svn path=/trunk/; revision=2866
      04414a8c
  13. 12 Mar, 2007 3 commits
  14. 10 Mar, 2007 1 commit
    • Armin Burgmeier's avatar
      Always call adjust_displayed_chunck() at the end of commit_row_modif() to · 67b90d27
      Armin Burgmeier authored
      2007-02-28  Armin Burgmeier  <armin@openismus.com>
      
      	* libgda/gda-data-proxy.c: Always call adjust_displayed_chunck() at
      	the end of commit_row_modif() to make sure that modified rows are
      	signalled correctly.
      
      	* providers/sqlite/gda-sqlite-recordset.c: Use inherited
      	implementation of get_n_rows() to allow adding/removing rows.
      
      	* libgda/gda-data-model-hash.c: 
      	(gda_data_model_hash_clear): Set number of rows always to zero instead
      	of calling get_n_rows with a non-existant row mapping array. Also
      	remove initialization of row mapping array at the end of the function
      	because the hash table is empty at the end of the call anyway.
      
      svn path=/trunk/; revision=2862
      67b90d27
  15. 09 Mar, 2007 3 commits
    • Vivien Malerba's avatar
      checks for the correct number of statements recognized · bb254e6f
      Vivien Malerba authored
      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
      
      svn path=/trunk/; revision=2861
      bb254e6f
    • Pema Geyleg's avatar
      Added Dzongkha Translation · ecf9f60c
      Pema Geyleg authored
      svn path=/trunk/; revision=2860
      ecf9f60c
    • Murray Cumming's avatar
      Distribute the test XML file and define the path to the test XML file in · 3fa55171
      Murray Cumming authored
      2007-03-09  Murray Cumming  <murrayc@murrayc.com>
      
              * tests/Makefile.am:
              * tests/check_delimiter.c: Distribute the test XML file and define the path 
              to the test XML file in the Makefile, so it works when srcdir!=distdir, 
              as during distcheck.
      
      svn path=/trunk/; revision=2859
      3fa55171
  16. 08 Mar, 2007 3 commits
    • Murray Cumming's avatar
      Removed the gda-sharp language bindings. Please revive them as a separate · 01922a9d
      Murray Cumming authored
      2007-03-08  Murray Cumming  <murrayc@murrayc.com>
      
              * Makefile.am:
              * configure.in:
              * gda-sharp/.cvsignore:
              * gda-sharp/Application.cs:
              * gda-sharp/AssemblyInfo.cs.in:
              * gda-sharp/Gda.metadata:
              * gda-sharp/Makefile.am:
              * gda-sharp/doc/Makefile.am:
              * gda-sharp/doc/gda-sharp-docs.source:
              * gda-sharp/gda-api.raw:
              * gda-sharp/gda-sharp-3.0.pc.in:
              * gda-sharp/gda-sharp.dll.config.in:
              * gda-sharp/gda-sources.xml: Removed the gda-sharp language bindings.
              Please revive them as a separate module from the 
              libgda_3_0_before_removing_gda_sharp tag if you would like to maintain 
              them.
      
      svn path=/trunk/; revision=2858
      01922a9d
    • Murray Cumming's avatar
      Add gda-sharp.snk to EXTRA_DIST as suggested in bug #390609. · 2c0cbf8c
      Murray Cumming authored
      2007-03-08  Murray Cumming  <murrayc@murrayc.com>
      
              * Makefile.am: Add gda-sharp.snk to EXTRA_DIST as suggested in 
              bug #390609.
      
      svn path=/trunk/; revision=2856
      2c0cbf8c
    • Murray Cumming's avatar
      2007-03-08 Daniel Espinosa <esodan@gmail.com>> · 52c27863
      Murray Cumming authored
              * configure.in: Require mono 1.2 if building the gda-sharp 
              bindings.
              * gda-sharp/gda-api.raw: Updated to latest version of the 
              API.
              Patch in bug #390609.
      
      svn path=/trunk/; revision=2855
      52c27863
  17. 03 Mar, 2007 1 commit
  18. 02 Mar, 2007 1 commit
  19. 01 Mar, 2007 1 commit
  20. 28 Feb, 2007 5 commits
    • Armin Burgmeier's avatar
      Implemented gda_data_model_hash_update_row(). · 42432e0a
      Armin Burgmeier authored
      2007-02-24  Armin Burgmeier  <armin@openismus.com>
      
      	* libgda/gda-data-model-hash.c: Implemented
      	gda_data_model_hash_update_row().
      
      svn path=/trunk/; revision=2851
      42432e0a
    • yselkowitz's avatar
      Added .pc files for the providers so that applications can check for the · 5c275d06
      yselkowitz authored
      2007-02-28  yselkowitz  <yselkowitz@users.sourceforge.net>
      
              * configure.in:
              * providers/bdb/Makefile.am:
              * providers/bdb/libgda-bdb-3.0.pc.in:
              * providers/firebird/Makefile.am:
              * providers/firebird/libgda-firebird-3.0.pc.in:
              * providers/freetds/Makefile.am:
              * providers/freetds/libgda-freetds-3.0.pc.in:
              * providers/ibmdb2/Makefile.am:
              * providers/ibmdb2/libgda-ibmdb2-3.0.pc.in:
              * providers/ldap/Makefile.am:
              * providers/ldap/libgda-ldap-3.0.pc.in:
              * providers/mdb/Makefile.am:
              * providers/mdb/libgda-mdb-3.0.pc.in:
              * providers/msql/Makefile.am:
              * providers/msql/libgda-msql-3.0.pc.in:
              * providers/mysql/Makefile.am:
              * providers/mysql/libgda-mysql-3.0.pc.in:
              * providers/odbc/Makefile.am:
              * providers/odbc/libgda-odbc-3.0.pc.in:
              * providers/oracle/Makefile.am:
              * providers/oracle/libgda-oracle-3.0.pc.in:
              * providers/postgres/Makefile.am:
              * providers/postgres/libgda-postgres-3.0.pc.in:
              * providers/sqlite/Makefile.am:
              * providers/sqlite/libgda-sqlite-3.0.pc.in:
              * providers/sybase/Makefile.am:
              * providers/sybase/libgda-sybase-3.0.pc.in:
              * providers/xbase/Makefile.am:
              * providers/xbase/libgda-xbase-3.0.pc.in:
              Added .pc files for the providers so that applications can check for the presence of 
              specific providers at configure time.
              Patch in bug #353404
      
      svn path=/trunk/; revision=2850
      5c275d06
    • yselkowitz's avatar
      Makefile.am configure.in gda-sharp/Application.cs · 737eb038
      yselkowitz authored
      2007-02-28  yselkowitz  <yselkowitz@users.sourceforge.net>
      
              * Makefile.am
              * configure.in
              * gda-sharp/Application.cs
              * gda-sharp/AssemblyInfo.cs.in
              * gda-sharp/Makefile.am
              * gda-sharp/doc/Makefile.am
              * gda-sharp/doc/gda-sharp-docs.source
              * gda-sharp/gda-sharp-3.0.pc.in
              * gda-sharp/gda-sharp.dll.config.in:
              Correct library name for DllImport calls.
              Depends only on glib-sharp-2.0, not gtk-sharp.
              Modify gda-sharp build system to install in the GAC.
              Build and install monodoc documentation.
              Patch in bug #390609
      
      svn path=/trunk/; revision=2849
      737eb038
    • yselkowitz's avatar
      Was imported into CVS empty, causing several compaints from Win32 users. · b30d5821
      yselkowitz authored
      2007-02-28  yselkowitz  <yselkowitz@users.sourceforge.net>
      
              * win32/dummy.la: Was imported into CVS empty, causing several compaints from
              Win32 users.  Fixed.
              * win32/libgda_graph-3.0.def
              * win32/libgda_handlers-3.0.def: Updated to 2.99.5 API.
      
      svn path=/trunk/; revision=2848
      b30d5821
    • yselkowitz's avatar
      use gda_handler_bin_new() instead of gda_handler_bin_new_with_prov(), · ddc9f3a3
      yselkowitz authored
      2007-02-28  yselkowitz  <yselkowitz@users.sourceforge.net>
      
              * providers/mdb/gda-mdb-provider.c:
              (gda_mdb_provider_get_data_handler): use gda_handler_bin_new() 
              instead of gda_handler_bin_new_with_prov(), which is no longer available.
      
      svn path=/trunk/; revision=2847
      ddc9f3a3
  21. 19 Feb, 2007 1 commit
  22. 17 Feb, 2007 1 commit