Skip to content
  1. Aug 05, 2008
  2. Aug 04, 2008
  3. Jul 20, 2008
    • Armin Burgmeier's avatar
      Applied the patches from bugs #510739 and #503321. These have already been · 36687e84
      Armin Burgmeier authored
      2008-07-20  Armin Burgmeier  <armin@openismus.com>
      
      	* libgda/binreloc/gda-binreloc.c:
      	* tools/gda-sql.c: Applied the patches from bugs #510739 and
      	#503321. These have already been applied to trunk, but not to the 3.x
      	branch. This makes it easier to compile and use libgda on Windows.
      
      svn path=/branches/libgda-3-2/; revision=3181
      36687e84
  4. Apr 10, 2008
  5. Apr 08, 2008
    • Murray Cumming's avatar
      Increased version · 379008b1
      Murray Cumming authored
      svn path=/branches/libgda-3-2/; revision=3133
      379008b1
    • Murray Cumming's avatar
      Very minor corrections to documentation. · efb71024
      Murray Cumming authored
      2008-04-08  Murray Cumming  <murrayc@murrayc.com>
      
      * libgda/gda-config.c (gda_config_has_key, load_providers_from_dir):
      * libgda/gda-connection.c (gda_connection_supports_feature):
      * libgda/gda-data-model-hash.c (gda_data_model_hash_new):
      * libgda/gda-row.c (gda_row_copy, gda_row_set_id): Very minor  
      corrections to documentation.
      
      svn path=/branches/libgda-3-2/; revision=3130
      efb71024
  6. Apr 07, 2008
    • Murray Cumming's avatar
      Added a comment about a possible leak reported by valgrind. · 939a4d36
      Murray Cumming authored
      2008-04-07  Murray Cumming  <murrayc@murrayc.com>
      
      * providers/postgres/gda-postgres-provider.c (fetch_existing_blobs):
      Added a comment about a possible leak reported by valgrind.
      
      svn path=/branches/libgda-3-2/; revision=3127
      939a4d36
    • Murray Cumming's avatar
      Do not do an extra reference on the new GdaProvider, because we already · f2ceac9c
      Murray Cumming authored
      2008-04-07  Murray Cumming  <murrayc@murrayc.com>
      
      * libgda/gda-client.c (find_or_load_provider): Do not do an extra 
      reference on the new GdaProvider, because we already have an initial 
      reference. This prevents it from being leaked, as found by valgrind.
      * libgda/gda-init.c (gda_init):
      * providers/postgres/libmain.c (plugin_init): Make sure that some 
      strings are freed before being reassigned, though these are probably not 
      the leaks that valgrind is reporting here.
      
      svn path=/branches/libgda-3-2/; revision=3125
      f2ceac9c
  7. Apr 06, 2008
    • Murray Cumming's avatar
      unref the result of get_row() (not the get_row vfunc), because · 59c800c2
      Murray Cumming authored
      2008-04-06  Murray Cumming  <murrayc@murrayc.com>
      
      * providers/postgres/gda-postgres-recordset.c
        (gda_postgres_recordset_get_row,
        gda_postgres_recordset_get_value_at): unref the result of get_row() 
      (not the get_row vfunc), because gda_data_model_hash_insert_row() 
      holds its own reference. This fixes the leak of each GdaRow.
      
      svn path=/branches/libgda-3-2/; revision=3120
      59c800c2
  8. Apr 05, 2008
  9. Apr 04, 2008
  10. Apr 03, 2008
    • Murray Cumming's avatar
      Use g_getenv() instead of getenv() for portability. Free any_type_oid · 6d07c574
      Murray Cumming authored
      2008-04-03  Murray Cumming  <murrayc@murrayc.com>
      
      * libgda/gda-config.c (gda_config_get_provider_list, get_config_client):
      Use g_getenv() instead of getenv() for portability.
      * providers/postgres/gda-postgres-provider.c (get_connection_type_list,
        gda_postgres_provider_close_connection): Free any_type_oid instead of 
      leaking it.
      * providers/postgres/gda-postgres-recordset.c
        (gda_postgres_recordset_finalize): Free table_name instead of leaking 
      it.
      * providers/postgres/libmain.c (plugin_init): Add a comment that the 
      module path is leaked, but that it is not a big deal.
      
      svn path=/branches/libgda-3-2/; revision=3108
      6d07c574
  11. Mar 25, 2008
  12. Mar 24, 2008
    • Vivien Malerba's avatar
      set to version 3.99.3 · 1a882d5d
      Vivien Malerba authored
      2008-03-24  Vivien Malerba <malerba@gnome-db.org>
      
      	* configure.in: set to version 3.99.3
      
      svn path=/trunk/; revision=3098
      1a882d5d
    • Vivien Malerba's avatar
      Released 3.99.2 · 7e4a9d15
      Vivien Malerba authored
      svn path=/trunk/; revision=3096
      release-3-99-2
      7e4a9d15
    • Vivien Malerba's avatar
      use the Lemon parser generator for SQLite 3.5.7 · 73970096
      Vivien Malerba authored
      2008-03-24  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/sql-parser/lemon.c:
      	* libgda/sql-parser/LemonPatch:
      	* libgda/sql-parser/lempar.c: use the Lemon parser generator for SQLite 3.5.7
      	* libgda/sql-parser/parser.y:
      	* libgda/sql-parser/delimiter.y:
      	* providers/skel-implementation/capi/parser.y:
      	* providers/postgres/parser.y: add #include <assert.h> which is required by the
      	new version of the Lemon parser generator
      	* providers/postgres/gda-postgres-meta.c:
      	* providers/postgres/gda-postgres-provider.c: renamed the prepared statement with
      	lowercase only to avoid postgres warning about non existing prepared statement
      	when calling DEALLOCATE
      	* libgda/information_schema.xml: added some descriptions
      	* doc/C/information_schema.png:
      	* doc/C/information_schema.svg: updated the GdaMetaStore's internal structure's
      	diagram
      
      svn path=/trunk/; revision=3095
      73970096
  13. Mar 21, 2008
    • Vivien Malerba's avatar
      correction for SQLite versions < 3.5 (for bug #523613) · 5ceec6cf
      Vivien Malerba authored
      2008-03-21  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/sqlite/gda-sqlite.h: correction for SQLite versions < 3.5 (for bug #523613)
      	* providers/postgres/parser.y:
      	* libgda/sql-parser/parser.y: allow identifiers to be enclosed in double quotes
      	* tests/parser/testdata.xml:
      	* libgda/sql-parser/gda-sql-parser.c: corrected a nasty bug while using a case statement
      	* libgda/gda-data-model.c: removed debug info
      	* libgda/information_schema.xml: added some descriptive fields
      	* libgda/Makefile.am: added gda-statement-extra.h to list of headers
      	* configure.in: remove non compiling providers from AC_OUTPUT, don't check anymore for
      	LEX and YACC as they are not used anymore
      	* tests/providers/*: don't fail if the providers have not been compiled (and are thus not found)
      	* tests/meta-store/*: adaptations to the information schema changes
      	* libgda/sql-parser/Makefile.am:
      	* libgda/sql-parser/gen_def.c:
      	* providers/prepare_provider_sources.sh:
      	* providers/postgres/Makefile.am:
      	* providers/skel-implementation/models/Makefile.am:
      	* providers/skel-implementation/capi/Makefile.am: modifications to have "make distcheck" run
      	* libgda/sql-parser/LemonPatch: keep the lemon.c modifications in a separate file
      	* libgda/sql-parser/lemon.c: modified to be able to load the "lempar.c" file from a directory
      	different than the current directory, and be able to write output files to the current
      	directory
      	* libgda/sqlite/virtual/libmain.c:
      	* providers/postgres/gda-postgres-cursor-recordset.[ch]: removed unused files
      	* libgda/gda-connection.c: removed unused private attribute
      
      svn path=/trunk/; revision=3094
      5ceec6cf
  14. Mar 20, 2008
    • Vivien Malerba's avatar
      Restored INSTALL file · 8c812a7f
      Vivien Malerba authored
      svn path=/trunk/; revision=3093
      8c812a7f
    • Vivien Malerba's avatar
      remove references to non existing files · fce00a15
      Vivien Malerba authored
      2008-03-20  Vivien Malerba <malerba@gnome-db.org>
      
              * po/POTFILES.in: remove references to non existing files
              * providers/skel-implementation/models/Makefile.am:
              * providers/skel-implementation/capi/Makefile.am:
              * providers/prepare_provider_sources.sh: make the skeleton providers compile but not
              install, and altered the preparetion script to compile and install
              * providers/skel-implementation/capi/gda-capi-meta.c: corrected symbol name
              * libgda/gda-data-model.c: corrected a nasty bug in gda_data_model_import_from_model()
              * providers/postgres/gda-postgres-provider.c:
              * libgda/sqlite/gda-sqlite-provider.c: now compute the GdaSet to return at *last_insert_row
              in gda_sqlite_provider_statement_execute() if the last_insert_row argument is not NULL
              * providers/postgres/gda-postgres-ddl.c: only set a column's type as "serial" when AUTOINC
              is TRUE
              * providers/sqlite/sqlite_specs_create_table.xml.in:
              * providers/postgres/postgres_specs_create_table.xml.in: fixed typos
              * providers/postgres/postgres_specs_create_table.xml.in: dy default tables are now created
              with OIDs
              * libgda/gda-decl.h: removed declarations related to GdaClient (thanks to Mark Johnson)
              * libgda/gda-server-provider.c: doc. fixes and optional debug info
              * doc/C: updates
      
      
      svn path=/trunk/; revision=3092
      fce00a15
  15. Mar 19, 2008
    • Vivien Malerba's avatar
      set to version 3.99.2 · 6e99a18e
      Vivien Malerba authored
      2008-03-19  Vivien Malerba <malerba@gnome-db.org>
      
              * configure.in: set to version 3.99.2
      
      svn path=/trunk/; revision=3091
      6e99a18e
    • Vivien Malerba's avatar
      Released 3.99.1 · fde9854a
      Vivien Malerba authored
      svn path=/trunk/; revision=3089
      release-3.99.1
      fde9854a
    • Vivien Malerba's avatar
      now correctly reports primary key, foreign key and unique constraints for · 456dadfb
      Vivien Malerba authored
      2008-03-19  Vivien Malerba <malerba@gnome-db.org>
      
      	* tools/command-exec.c: now correctly reports primary key, foreign key and unique
      	constraints for tables
      	* libgda/information_schema.xml: added the '_detailled_fk' view to give an easy access
      	to all the foreign key's details
      	* libgda/sqlite/gda-sqlite-meta.c: finished implementing the key_columns() method
      	* libgda/gda-server-provider.h:
      	* libgda/sqlite/gda-sqlite-provider.c: check that SQLite's prepared statement is not NULL
      	to avoid crash (as reported by Massimo Cora). If it is NULL, then a
      	GDA_SERVER_PROVIDER_EMPTY_STMT_ERROR error is returned
      	* libgda/sqlite/sqlite-src: up to SQLite version 3.5.7
      	* samples/: adaptations to API changes
      	* libgda/libgda.h.in:
      	* libgda/Makefile.am:
      	* libgda/gda-data-model-hash.[ch]: removed that (unused) data model
      	* providers/skel-implementation/capi: backport the latest API changes regarding meta data
      	* doc/C: doc. updates
      	* libgda/sqlite/gda-sqlite-recordset.[ch]:
      	* providers/postgres/gda-postgres-recordset.[ch]
      	* libgda/providers-support/gda-pmodel.[ch]: added a "connection" property to get/set the
      	GdaConnection used when the data model was created (this has been removed from the
      	GdaSqliteRecordset and GdaPostgresRecordset implementation)
      	* libgda/providers-support/gda-pmodel.c: implemented the code for the "insert_query",
      	"update_query" and "delete_query" methods (first steps for bug #411811)
      	* libgda/gda-meta-store.c: don't declare foreign keys when creating the schema in a database
      	* libgda/sqlite/gda-sqlite-meta.[ch]:
      	* libgda/sqlite/gda-sqlite-provider.c:
      	* providers/postgres/gda-postgres-meta.[ch]:
      	* providers/postgres/gda-postgres-provider.c:
      	* providers/skel-implementation/capi/gda-capi-meta.[ch]:
      	* providers/skel-implementation/capi/gda-capi-provider.c: stabilized the interface providers
      	need to implement regarding meta data retreival
      	* libgda/gda-meta-store-extra.h: new file for some private API
      
      svn path=/trunk/; revision=3088
      456dadfb
  16. Mar 17, 2008
    • Vivien Malerba's avatar
      correctly define gda_statement_to_sql(), thanks to Carlos Savoretti remove · f7983777
      Vivien Malerba authored
      2008-03-17  Vivien Malerba <malerba@gnome-db.org>
      
              * libgda/gda-statement.h: correctly define gda_statement_to_sql(), thanks
              to Carlos Savoretti
              * po/POTFILES.skip: remove mention of temporary files
              * libgda/gda-data-model.c: fixed documentation for bug #522365
              * doc/C: dosumentation improvements
              * libgda/gda-meta-store.[ch]:
              * libgda/gda-connection.c: make the partial metadata sync with the database work, and
              added the possibility for applications to add their own database objects in a GdaMetaStore
              * libgda/gda-server-provider.c: fix a memory leak in the server operations handling (reported by
              Phil Longstaff)
              * libgda/information_schema.xml: more descriptions of the tables and columns
              * libgda/sqlite/gda-sqlite-provider.c: make the "internal_stmt" array static to avoid collisions
              * libgda/gda-server-provider.h:
              * libgda/gda-connection.c:
              * providers/postgres/gda-postgres-provider.c:
              * providers/postgres/gda-postgres-meta.[ch]:
              * libgda/sqlite/gda-sqlite-provider.c:
              * libgda/sqlite/gda-sqlite-meta.[ch]: more meta data retreival implemented (constraints' columns)
              * tests/providers/prov-test-common.c: follow API changes
              * tools/command-exec.c: added a description of the table's constraints
      
      
      svn path=/trunk/; revision=3085
      f7983777
    • Phil Longstaff's avatar
      Fixed some obvious memory leaks by freeing variables. · 4d700474
      Phil Longstaff authored
      2008-03-17  Phil Longstaff  <plongstaff@rogers.com>
      
      * libgda/gda-data-model-array.c (gda_data_model_array_copy_model):
      * libgda/gda-data-model.c (find_column_from_id, add_xml_row):
      * libgda/gda-server-operation.c (gda_server_operation_get_node_info,
        gda_server_operation_get_value_at,
        gda_server_operation_set_value_at):
      * libgda/gda-util.c (gda_utility_data_model_dump_data_to_xml,
        gda_utility_holder_load_attributes):  Fixed some obvious memory leaks 
      by freeing variables.
      
      svn path=/trunk/; revision=3084
      4d700474
  17. Mar 16, 2008
  18. Mar 14, 2008
  19. Mar 12, 2008
    • Vivien Malerba's avatar
      improvements (to compute only the necessary features, and others) doc. · e7a7fad7
      Vivien Malerba authored
      2008-03-12  Vivien Malerba <malerba@gnome-db.org>
      
      	* tools/command-exec.c:
      	* tools/gda-sql.c:
      	* libgda/gda-meta-struct.[ch]: improvements (to compute only the necessary features, and others)
      	* doc/C: doc. updates
      	* po/POTFILES.in:
      	* po/POTFILES.skip: applied corrections (as proposed by
      	http://l10n.gnome.org/module/libgda)
      	* libgda/gda-easy.c: applied correction for gda_drop_table() (from Phil Longstaff)
      	* libgda/sqlite/gda-sqlite-provider.c: don't count the number of opened connections
      	* libgda/gda-meta-struct.[ch]:
      	* libgda/gda-meta-store.[ch]: added new methods
      	* tests/providers: changed tests to avoid needing reference XML files
      	* tools/gda-sql.c: allow to display a graph for a table and the tables it references (by
      	appending a '=' after that table name)
      	* others: misc. corrections
      
      svn path=/trunk/; revision=3075
      e7a7fad7
  20. Mar 11, 2008
    • Murray Cumming's avatar
      Documentation: Change mentions of occured to occurred, and mentions of a · ddeec664
      Murray Cumming authored
      2008-03-11  Murray Cumming  <murrayc@murrayc.com>
      
      * libgda/binreloc/binreloc.c:
      * libgda/gda-data-model.c:
      * libgda/gda-server-operation.c:
      * libgda/gda-value.c:
      * libgda/sql-parser/gda-sql-parser.c:
      * libgda/sqlite/sqlite-src/sqlite3.c: (writeJournalHdr),
      (sqlite3PagerOpen), (sqlite3PagerReleaseMemory), (pager_write),
      (sqlite3BtreeRollback), (vdbeCommit), (sqlite3VdbeHalt),
      (sqlite3VdbeExec), (findCollSeqEntry), (sqlite3InitOne),
      (sqlite3Fts3Init):
      Documentation: Change mentions of occured to occurred, and mentions of 
      a XML to an XML.
      PaulSchulz and Malcolm Parsons in Ubuntu launchpad bug 64451 for 
      some reason.
      
      svn path=/trunk/; revision=3073
      ddeec664
  21. Mar 10, 2008
  22. Mar 08, 2008
  23. Mar 07, 2008
  24. Mar 06, 2008
    • Vivien Malerba's avatar
      don't crash on missing providers fixed a compilation problem · 0df3a684
      Vivien Malerba authored
      2008-03-06  Vivien Malerba <malerba@gnome-db.org>
      
              * tests/value-holders/check_statement.c:
              * tests/parser/check_parser.c: don't crash on missing providers
              * tests/data-models/check_virtual.c: fixed a compilation problem
              * tests/data-models/check_data_proxy.c:
              * libgda/gda-data-proxy.c:
              * libgda/gda-server-operation.c:
              * libgda/gda-data-model-array.[ch]: make gda_data_model_array_copy_model() return a
              GdaDataModelArray instead of a GdaDataModel (fixes bug #519778)
              * doc/C/tmpl/gda-data-model-iter.sgml: added instructions on how to use a
              GdaDataModelIter (fixes bug #519769)
              * libgda/gda-data-proxy.c:
              * libgda/sqlite/virtual/virtual-test.c:
              * libgda/sqlite/virtual/gda-vprovider-data-model.c:
              * libgda/gda-data-model-iter.[ch]: removed gda_data_model_iter_new() as it is better to use
              gda_data_model_create_iter()
              * libgda/gda-data-access-wrapper.c:
              * libgda/sqlite/virtual/gda-vprovider-data-model.c:
              * libgda/gda-data-model.c:
              * libgda/gda-data-model-iter.[ch]: replaced gda_data_model_iter_get_param_for_column() by
              gda_data_model_iter_get_holder_for_field()
              * libgda/gda-meta-store.c: correctly initialize transaction status variable
              * tests/meta-store/data_columns.csv:
              * tests/meta-store/common.c: adaptations to the GdaMetaStore's internal schema changes, make the
              test pass again
              * libgda/gda-meta-struct.[ch]: converted to a GObject, and added some new features
              * tools/gda-sql.c: improved object's details reporting
              * doc/C: misc doc. updates
      
      
      svn path=/trunk/; revision=3069
      0df3a684
  25. Mar 05, 2008
  26. Mar 01, 2008
  27. Feb 26, 2008
  28. Feb 19, 2008
  29. Feb 12, 2008