1. 26 Oct, 2010 1 commit
    • Vivien Malerba's avatar
      Optimized virtual tables usage · 3fedfba9
      Vivien Malerba authored
      - make use of the infrastructure provided by SQLite to pre-filter
        data model's contents when possible
      - require only GDA_STATEMENT_MODEL_CURSOR_FORWARD data models
      3fedfba9
  2. 16 Oct, 2010 1 commit
  3. 25 Aug, 2009 1 commit
  4. 30 Jun, 2009 2 commits
  5. 17 Jun, 2009 1 commit
    • Vivien Malerba's avatar
      Added a UI extension and some tools · 398a88a9
      Vivien Malerba authored
      * UI widgets are migrated from Libgnomedb
      * added tools include control center (to define DSN and list providers)
        and new database browser (kind of clone of Mergeant)
      * documentation not yet updated
      398a88a9
  6. 08 Jun, 2009 3 commits
  7. 04 Jun, 2009 2 commits
  8. 13 May, 2009 2 commits
  9. 08 May, 2009 1 commit
  10. 06 May, 2009 2 commits
    • Vivien Malerba's avatar
      Use only only one data dir (for bug #580821) · 97723be0
      Vivien Malerba authored
      	* tools/Makefile.am: install web server data files in the same dir as
      	Libgda 4.0, for bug #580821
      97723be0
    • Vivien Malerba's avatar
      More work on the Oracle provider · 3f92a4cd
      Vivien Malerba authored
      	* providers/oracle:
      	  - use the callback API to fetch results for variable length data types
      	  - implemented more meta data retreival
      	  - booleans (which is not an Oracle data type) are interpreted as 0 an !0
      	  - better handling of OCI types
      	* libgda/gda-data-meta-wrapper.c: bug fixes
      	* libgda/gda-meta-store.c: bug fixes
      	* providers/postgres/gda-postgres-meta.c: bug fixes
      3f92a4cd
  11. 05 May, 2009 2 commits
    • Vivien Malerba's avatar
      Fix for bug #581408 · 00d38524
      Vivien Malerba authored
      	* libgda/gda-sql-builder.c:
      	* libgda/gda-tree-manager.c:
      	* libgda/gda-tree-node.c:
      	* libgda/gda-tree.c:
      	* libgda/thread-wrapper/gda-thread-wrapper.c: applied patch to fix bug #581408
      	(thanks to Halton Huo)
      00d38524
    • Vivien Malerba's avatar
      Better handle SQL identifiers' case sensitiveness · 6f0002e1
      Vivien Malerba authored
      	* libgda/Makefile.am:
      	* libgda/gda-data-meta-wrapper.[ch]: new (private) GdaDataModel wrapper internally
      	used by the GdaMetaStore object
      	* libgda/gda-data-access-wrapper.h: removed unnecessary #include
      	* libgda/gda-enums.h: added the GdaSqlIdentifierStyle enum
      	* libgda/gda-meta-store.[ch]:
      	  - use the new GdaDataMetaWrapper object to "filter" the
      	    updates made by each database provider when updating the meta data
      	  - added gda_meta_store_set_identifiers_style(), to be used by database providers
      	* libgda/gda-meta-struct.c: updates the way information is searced in the GdaMetaStore
      	* libgda/information_schema.xml: identify which columns are SQL identifiers
      	* libgda/gda-util.c: improved the gda_completion_list_get() function
      	* tools/tools-input.c: correctly set break characters for completion
      	* libgda/sql-parser/gda-statement-struct-util.c: corrected gda_sql_identifier_needs_quotes()
      	* doc/C: SQL identifiers precisions
      6f0002e1
  12. 28 Apr, 2009 1 commit
    • Vivien Malerba's avatar
      Gda-sql console improvements · 51e51c89
      Vivien Malerba authored
      	* tools/gda-sql.c:
      	  - allow to specify which kind of meta data to update in the "meta" command
      	  - store the dictionary in a file even for connections not created from a DSN
      	    if GLIB >= 2.16.0, no change otherwise
      51e51c89
  13. 23 Apr, 2009 2 commits
    • Vivien Malerba's avatar
      Enabled server operations for the MySQL provider · 1db8e4e7
      Vivien Malerba authored
      	* libgda/gda-config.c: only display a warning if loading a
      	* provider fails if the GDA_SHOW_PROVIDER_LOADING_ERROR environment variable is set
      	* providers/mysql/gda-mysql-provider.c: enable the
      	* GDA_SERVER_OPERATION_CREATE_DB,
      	GDA_SERVER_OPERATION_DROP_DB, GDA_SERVER_OPERATION_DROP_TABLE, GDA_SERVER_OPERATION_RENAME_TABLE,
      	GDA_SERVER_OPERATION_ADD_COLUMN, GDA_SERVER_OPERATION_DROP_COLUMN,
      	GDA_SERVER_OPERATION_CREATE_INDEX, GDA_SERVER_OPERATION_DROP_INDEX,
      	GDA_SERVER_OPERATION_CREATE_VIEW andGDA_SERVER_OPERATION_DROP_VIEW operations
      	* doc/C: doc. update
      1db8e4e7
    • Vivien Malerba's avatar
      Improved Oracle provider · 29ee39d5
      Vivien Malerba authored
      	* configure.in:
      	* providers/oracle: improved Oracle provider
      29ee39d5
  14. 22 Apr, 2009 1 commit
  15. 21 Apr, 2009 1 commit
  16. 20 Apr, 2009 1 commit
  17. 19 Apr, 2009 2 commits
  18. 18 Apr, 2009 7 commits
  19. 17 Apr, 2009 3 commits
    • Vivien Malerba's avatar
    • Vivien Malerba's avatar
      Make it possible to use a system installed SQLite, and fixed bug #578748 · 56e06375
      Vivien Malerba authored
      * providers/postgres/gda-postgres-provider.c: fix for bug #578748
      * libgda/sqlite/gda-sqlite.h:
      * libgda/sqlite/gda-sqlite-meta.c:
      * libgda/sqlite/gda-sqlite-provider.c: make the SQLite provider
      compile with a system installed SQLite
      * configure.in: a system installed SQLite is now only searched
      for if the --enable-system-sqlite option is passed, and the presence of the
      sqlite3CreateFunc symbol is not anymore required. The only drawback of using a
      system installed SQLite is that meta data regarding functions will not be
      available
      * libgda/handlers/gda-handler-time.c: fix mem leak
      56e06375
    • Vivien Malerba's avatar
      Multi threading and GdaSqlBuilder improvements · 981374e7
      Vivien Malerba authored
      	* providers/postgres/gda-postgres-provider.c: fix for bug
      	#578748
      	* libgda/thread-wrapper/gda-thread-wrapper.c: don't attempt to
      	create a GdaThreadWrapper object if g_thread_supported() is FALSE
      	* libgda/thread-wrapper/Makefile.am:
      	* libgda/thread-wrapper/gda-thread-meta.[ch]: meta data
      	retreival implementation
      	* libgda/thread-wrapper/gda-thread-provider.[ch]:
      	  - reuse the same GdaThreadWrapper object for providers which
      	    can only be
      	    accessed from a single thread
      	  - correctly behave when g_thread_supported() is FALSE
      	  - use new implementation of meta data retreival
      	* libgda/gda-server-provider.c: doc. correction
      	* libgda/gda-connection.c:
      	  - removed debug message
      	  - corrected locking in gda_connection_update_meta_store()
      	  - return an error if the GDA_CONNECTION_OPTIONS_THREAD_SAFE
      	    flag is specified
      	    but g_thread_supported() is FALSE
      	  - gda_connection_update_meta_store()'s implementation is now
      	    generic (no specific
      	    implementation for connections which use a thread wrapper)
      	* tools/gda-sql.c:
      	  - use the GDA_CONNECTION_OPTIONS_THREAD_SAFE flag when opening
      	    connections
      	  - meta data retreival is now done in the background
      	    (statements can be executed
      	    while it is being done)
      	* libgda/Makefile.am:
      	* libgda/libgda.symbols:
      	* libgda/gda-repetitive-statement.[ch]: new object to prepare
      	the execution of a statement with several differents variables' values sets
      	* libgda/gda-connection.c: added gda_connection_repetitive_statement_execute()
      	* doc/C: doc.update
      	* configure.in: a system installed SQLite is now only searched
      	for if the --enable-system-sqlite option is passed, and the presence of the
      	sqlite3CreateFunc symbol is not anymore required. The only drawback of using a
      	system installed SQLite is that meta data regarding functions will not be
      	available
      	* Makefile.am:
      	* samples/MetaStore/background.c:
      	* samples/MetaStore/README: new example showing how to update
      	the meta data in the background (in a sub thread) using the GdaThreadWrapper
      	object
      	* libgda/handlers/gda-handler-time.c: fix mem leak
      	* samples/SqlBuilder/example.c:
      	* libgda/gda-sql-builder.[ch]: improved API and features of the
      	GdaSqlBuilder object
      	* libgda.doap: project description
      981374e7
  20. 14 Apr, 2009 1 commit
    • Vivien Malerba's avatar
      wrapper for GdaBlobOp objects · c58ee1d8
      Vivien Malerba authored
      2009-04-14  Vivien Malerba <malerba@gnome-db.org>
      
      	* libgda/thread-wrapper/Makefile.am:
      	* libgda/thread-wrapper/gda-thread-blob-op.[ch]: wrapper for GdaBlobOp
      	objects
      	* libgda/thread-wrapper/gda-thread-wrapper.[ch]:
      	  - loosened locking
      	  - allow the wrapped thread to use the GdaThreadWrapper object
      	  - API change in gda_thread_wrapper_fetch_result()
      	* libgda/thread-wrapper/gda-thread-recordset.c:
      	  - use the new GdaThreadBlobOp object
      	  - adaptations to the API change in gda_thread_wrapper_fetch_result()
      	* libgda/thread-wrapper/gda-thread-provider.[ch]:
      	  - renamed gda_thread_provider_get_type() to _gda_thread_provider_get_type()
      	    to avoid exporting the symbol
      	  - implemented asynchronous execution
      	  - adaptations to the API change in gda_thread_wrapper_fetch_result()
      	* tests/multi-threading/check_wrapper.c:
      	  - adaptations to the API change in gda_thread_wrapper_fetch_result()
      	* libgda/gda-connection.c:
      	  - instanciate the database provider only when really needed
      	  - loosened locking
      	* tools/test_blob.sh: adapted to version 4.1
      	* doc/C: doc. updates regarding multi-threading and asynchronous statement
      	execution
      	* Makefile.am:
      	* samples/Makefile:
      	* samples/README:
      	* samples/AsyncExec: new example about hos to use the asynchronous statement
      	execution API
      
      svn path=/trunk/; revision=3374
      c58ee1d8
  21. 07 Apr, 2009 2 commits
    • Vivien Malerba's avatar
      new directory new object which allows one to execute functions in a · c7f36ada
      Vivien Malerba authored
      2009-04-07  Vivien Malerba <malerba@gnome-db.org>
      
      	* configure.in:
      	* libgda/Makefile.am:
      	* libgda/thread-wrapper/Makefile.am: new directory
      	* libgda/thread-wrapper/gda-thread-wrapper.[ch]: new object which
      	allows one to execute functions in a private sub thread from any
      	other thread.
      	* libgda/thread-wrapper/gda-thread-provider.[ch]:
      	* libgda/thread-wrapper/gda-thread-recordset.[ch]: new built-in
      	pseudo provider to constrain a GdaConnection's usage within a private
      	sub thread, making its usage completely thread safe
      	* libgda/gda-connection-sqlite.h: file renamed to
      	libgda/gda-connection-internal.h
      	* libgda/gda-connection.[ch]:
      	  - added a GDA_CONNECTION_OPTIONS_THREAD_SAFE flag to use when opening
      	    a connection
      	  - added asynchronous statement execution methods:
      	    gda_connection_async_statement_execute(), gda_connection_async_fetch_result()
      	    and gda_connection_async_cancel()
      	  - the GdaConnection can now be created by the new GdaThreadProvider pseudo
      	    provider to wrap a real GdaConnection object in a private sub thread
      	* libgda/providers-support/gda-data-select-priv.h:
      	* libgda/gda-data-select.c: adaptations to be used by the new GdaThreadRecordset
      	* libgda/gda-meta-store.c:
      	  - now thread safe
      	  - corrections to gda_meta_store_schema_get_structure()
      	* libgda/gda-server-provider.[ch]: new virtual method to handle async. requests
      	* libgda/sqlite/gda-sqlite-recordset.c: minor correction
      	* po/POTFILES.in: added new files
      	* providers/postgres/gda-postgres-util.c:
      	* providers/postgres/gda-postgres.h: make sure a PostgreSQL connection is only
      	used by one statement at a time
      	* doc/C: doc. updates
      	* tests/multi-threading/dummy-object.[ch]:
      	* tests/multi-threading/check_wrapper.c: new test for the GdaThreadWrapper object
      	* tests/multi-threading/check_threaded_cnc: new test for connections opened with
      	the GDA_CONNECTION_OPTIONS_THREAD_SAFE flag
      	* tools/web-server.c: don't check for uint8_t
      
      svn path=/trunk/; revision=3373
      c7f36ada
    • Vivien Malerba's avatar
      - set version to 4.0.2 - detect uint8_t presence · 79e562c2
      Vivien Malerba authored
      2009-04-07  Vivien Malerba <malerba@gnome-db.org>
      
      	* configure.in:
      	  - set version to 4.0.2
      	  - detect uint8_t presence
      	* libgda/gda-meta-store.c:
      	  - correction in gda_meta_store_schema_get_structure()
      	  - correction in the "cnc" property
      	* tools/web-server.c: don't check for uint8_t
      	* doc/C: doc. updates
      
      svn path=/branches/LIBGDA_4.0/; revision=3372
      79e562c2
  22. 27 Mar, 2009 1 commit