sqlheavy:sqlheavy.git
3 years agoAdd VersionedDatabase.pre_upgrade virtual method. master
Evan Nemerson [Sat, 20 Sep 2014 02:46:53 +0000 (19:46 -0700)]
Add VersionedDatabase.pre_upgrade virtual method.

3 years agoRemove Debian packaging.
Evan Nemerson [Sat, 6 Sep 2014 19:55:06 +0000 (12:55 -0700)]
Remove Debian packaging.

3 years agoRemove SQLHeavyGTK+.
Evan Nemerson [Sat, 6 Sep 2014 19:54:42 +0000 (12:54 -0700)]
Remove SQLHeavyGTK+.

3 years agoUse GResource for profiling database schema.
Evan Nemerson [Sat, 6 Sep 2014 19:38:01 +0000 (12:38 -0700)]
Use GResource for profiling database schema.

3 years agoAdd Queryable.run_file and use it in VersionedDatabase
Evan Nemerson [Sat, 6 Sep 2014 07:48:14 +0000 (00:48 -0700)]
Add Queryable.run_file and use it in VersionedDatabase

This allows us to use GResource for versioned database schemas by
passing resource:// URIs.

3 years agoUpdate to latest valac.
Evan Nemerson [Fri, 5 Sep 2014 23:18:20 +0000 (16:18 -0700)]
Update to latest valac.

Mostly this works around the changes in GSequence and bug #736168.

5 years agoRemove sqlheavy-gen-orm, and dependency on libvala
Evan Nemerson [Wed, 14 Nov 2012 19:26:09 +0000 (11:26 -0800)]
Remove sqlheavy-gen-orm, and dependency on libvala

Fixes bug #25.

5 years agoFix a memory leak when a query is not executed
Timo Kluck [Sun, 24 Jun 2012 10:46:15 +0000 (12:46 +0200)]
Fix a memory leak when a query is not executed

6 years agoPort vala-0.16 fixes from 0.1 branch
Evan Nemerson [Sun, 22 Jan 2012 19:35:55 +0000 (11:35 -0800)]
Port vala-0.16 fixes from 0.1 branch

6 years agoFix C documentation generation
Evan Nemerson [Fri, 29 Jul 2011 18:03:58 +0000 (11:03 -0700)]
Fix C documentation generation

6 years agoBump version and switch to vala 0.14
Evan Nemerson [Fri, 29 Jul 2011 17:24:10 +0000 (10:24 -0700)]
Bump version and switch to vala 0.14

6 years agoGet sqlheavy-gen-orm working again
Evan Nemerson [Wed, 27 Jul 2011 21:24:53 +0000 (14:24 -0700)]
Get sqlheavy-gen-orm working again

6 years agoRelease 0.1.0
Evan Nemerson [Mon, 18 Jul 2011 04:29:35 +0000 (21:29 -0700)]
Release 0.1.0

6 years agoUpdate debian packaging
Evan Nemerson [Mon, 18 Jul 2011 04:25:06 +0000 (21:25 -0700)]
Update debian packaging

6 years agoPass make distcheck
Evan Nemerson [Mon, 18 Jul 2011 04:17:58 +0000 (21:17 -0700)]
Pass make distcheck

6 years agoMove SQLHeavy.GtkModel to SQLHeavyGtk.Model.
Evan Nemerson [Sat, 16 Jul 2011 20:05:03 +0000 (13:05 -0700)]
Move SQLHeavy.GtkModel to SQLHeavyGtk.Model.

6 years agoInitial GTK+ integration.
Evan Nemerson [Fri, 15 Jul 2011 22:35:01 +0000 (15:35 -0700)]
Initial GTK+ integration.

Lots of work left to be done, but this provides a basic GtkTreeModel
implementation, as well as a sample application. Fixes bug 6.

6 years agoMake Query.execute_insert variadic
Evan Nemerson [Fri, 15 Jul 2011 21:38:08 +0000 (14:38 -0700)]
Make Query.execute_insert variadic

6 years agoExecute VersionedDatabase updates in a transaction
Evan Nemerson [Thu, 14 Jul 2011 21:31:15 +0000 (14:31 -0700)]
Execute VersionedDatabase updates in a transaction

6 years agoExecute Queryable.run_script statements in a transaction
Evan Nemerson [Thu, 14 Jul 2011 21:30:58 +0000 (14:30 -0700)]
Execute Queryable.run_script statements in a transaction

6 years agoImprove Query.execute/run API
Evan Nemerson [Thu, 14 Jul 2011 20:47:55 +0000 (13:47 -0700)]
Improve Query.execute/run API

Deprecate running multiple statements in Query.execute so we can return
a QueryResult. Old behavior moved to Query.run. Old Query.run behavior
moved to a private run_internal function, since it shouldn't really
need to be used by anthing other than Query.run_script.

6 years agoAdd Queryable.queue interface and use it for transactions.
Evan Nemerson [Tue, 12 Jul 2011 21:50:11 +0000 (14:50 -0700)]
Add Queryable.queue interface and use it for transactions.

6 years agoAdd Queryable.execute_insert
Evan Nemerson [Sun, 10 Jul 2011 01:41:44 +0000 (18:41 -0700)]
Add Queryable.execute_insert

6 years agoTemporarily disable gtk-doc since it is segfaulting.
Evan Nemerson [Sun, 10 Jul 2011 01:38:18 +0000 (18:38 -0700)]
Temporarily disable gtk-doc since it is segfaulting.

6 years agoFix bug in Queryable.execute when there is no trailing whitespace.
Evan Nemerson [Sun, 10 Jul 2011 01:29:37 +0000 (18:29 -0700)]
Fix bug in Queryable.execute when there is no trailing whitespace.

6 years agoDocumentation fix for Queryable.execute
Evan Nemerson [Sun, 10 Jul 2011 00:06:20 +0000 (17:06 -0700)]
Documentation fix for Queryable.execute

6 years agoAdd Transaction.commit_async and Transaction.rollback_async
Evan Nemerson [Sat, 9 Jul 2011 23:49:46 +0000 (16:49 -0700)]
Add Transaction.commit_async and Transaction.rollback_async

Fixes bug 10.

6 years agoWrap Queryable.execute in a transaction.
Evan Nemerson [Sat, 9 Jul 2011 23:29:03 +0000 (16:29 -0700)]
Wrap Queryable.execute in a transaction.

6 years agoMark Query.queryable as unowned.
Evan Nemerson [Sat, 9 Jul 2011 23:27:18 +0000 (16:27 -0700)]
Mark Query.queryable as unowned.

This allows us to run queries on queryables that are being destroyed
(refcount < 1). Specifically, Transactions will now automatically
be properly aborted when they are unreffed without being committed.

6 years agoMake Queryable.execute behave more like Query.execute
Evan Nemerson [Sat, 9 Jul 2011 22:57:51 +0000 (15:57 -0700)]
Make Queryable.execute behave more like Query.execute

The old Queryable.execute implementation has been moved to
Queryable.run. Technically this is an API/ABI break, but I doubt
anyone is using SQLHeavy in a way that will actually break. You would
need to be passing a length to Queryable.execute, and only
Queryable.run_script had a good reason to do that.

6 years agoRemove SQLHeavyDatabasePool.
Evan Nemerson [Sat, 9 Jul 2011 19:51:58 +0000 (12:51 -0700)]
Remove SQLHeavyDatabasePool.

The current plan is to create a Connection class, and have the pool
functionality be part of Database and make it transparent.

6 years agoComplete async calls in the thread context first called from.
Jim Nelson [Fri, 24 Jun 2011 22:36:59 +0000 (15:36 -0700)]
Complete async calls in the thread context first called from.

SQLHeavy.QueryResult.next_internal_async() was sometimes completing the
call in a background thread's context rather than the thread context of
the caller.  This is problematic for GTK work.

This patch now schedules the callback on the thread's default
MainContext in the idle loop.

Fixes bug 9.

7 years agoFixed VersionedDatabase construction for new databases.
Jim Nelson [Wed, 8 Jun 2011 02:25:28 +0000 (19:25 -0700)]
Fixed VersionedDatabase construction for new databases.

Fixes bug 2.

7 years agoBump vala dependency to 0.12, fix some warnings.
Evan Nemerson [Wed, 8 Jun 2011 20:11:51 +0000 (13:11 -0700)]
Bump vala dependency to 0.12, fix some warnings.

Fixes bug 1.

7 years agoUse AM_V_GEN for g-ir-compiler invocation.
Evan Nemerson [Sun, 23 Jan 2011 22:02:30 +0000 (14:02 -0800)]
Use AM_V_GEN for g-ir-compiler invocation.

7 years agoEnable GIR generation and add some comments to sqlheavy/Makefile.am
Evan Nemerson [Sun, 23 Jan 2011 20:53:18 +0000 (12:53 -0800)]
Enable GIR generation and add some comments to sqlheavy/Makefile.am

7 years agoFix inserting a row with multiple non-default values in ORM.
Evan Nemerson [Sat, 11 Dec 2010 10:30:45 +0000 (02:30 -0800)]
Fix inserting a row with multiple non-default values in ORM.

7 years agoUpdates for vala 0.11.2
Evan Nemerson [Sat, 11 Dec 2010 03:57:14 +0000 (19:57 -0800)]
Updates for vala 0.11.2

7 years agoUse GInitable for Query.
Evan Nemerson [Sun, 31 Oct 2010 06:46:54 +0000 (23:46 -0700)]
Use GInitable for Query.

7 years agoUse GInitable for Database.
Evan Nemerson [Sun, 31 Oct 2010 06:36:25 +0000 (23:36 -0700)]
Use GInitable for Database.

7 years agoReplace FormalParameter with Parameter.
Evan Nemerson [Sun, 31 Oct 2010 05:42:52 +0000 (22:42 -0700)]
Replace FormalParameter with Parameter.

7 years agoBump Vala dependency to 0.11.0.
Evan Nemerson [Sun, 31 Oct 2010 05:23:11 +0000 (22:23 -0700)]
Bump Vala dependency to 0.11.0.

7 years agoUpdate to latest valac git master.
Evan Nemerson [Sun, 10 Oct 2010 22:49:55 +0000 (15:49 -0700)]
Update to latest valac git master.

7 years agoClean up a GCC warning.
Evan Nemerson [Sun, 10 Oct 2010 22:49:36 +0000 (15:49 -0700)]
Clean up a GCC warning.

7 years agoDepend on vala patches likely to be included sooner rather than later.
Evan Nemerson [Wed, 29 Sep 2010 23:05:37 +0000 (16:05 -0700)]
Depend on vala patches likely to be included sooner rather than later.

7 years agoRework bindings, no longer require 1:1 Query:QueryResult.
Evan Nemerson [Wed, 29 Sep 2010 19:38:06 +0000 (12:38 -0700)]
Rework bindings, no longer require 1:1 Query:QueryResult.

7 years agoPass --use-header to valac.
Evan Nemerson [Wed, 29 Sep 2010 19:37:26 +0000 (12:37 -0700)]
Pass --use-header to valac.

7 years agoClean up a deprecation warning with newer valac.
Evan Nemerson [Wed, 29 Sep 2010 19:37:06 +0000 (12:37 -0700)]
Clean up a deprecation warning with newer valac.

7 years agoAdd SQLHeavy.ValueArray.
Evan Nemerson [Thu, 23 Sep 2010 23:39:35 +0000 (16:39 -0700)]
Add SQLHeavy.ValueArray.

7 years agoUpdate sqlheavy-gen-orm to Vala git master.
Evan Nemerson [Tue, 21 Sep 2010 20:26:07 +0000 (13:26 -0700)]
Update sqlheavy-gen-orm to Vala git master.

7 years agoWork around Vala bug when using va_list () as an argument.
Evan Nemerson [Tue, 21 Sep 2010 20:12:24 +0000 (13:12 -0700)]
Work around Vala bug when using va_list () as an argument.

7 years agoMake Query.set_list throw SQLHeavy.Error.
Evan Nemerson [Fri, 17 Sep 2010 18:52:24 +0000 (11:52 -0700)]
Make Query.set_list throw SQLHeavy.Error.

7 years agoUpdate for vala switch from character to byte offset strings.
Evan Nemerson [Fri, 17 Sep 2010 18:51:08 +0000 (11:51 -0700)]
Update for vala switch from character to byte offset strings.

7 years agoAdd comparison functions.
Evan Nemerson [Fri, 17 Sep 2010 18:48:39 +0000 (11:48 -0700)]
Add comparison functions.

7 years agoMake SQLHeavy.Query.execute variadic.
Evan Nemerson [Sat, 21 Aug 2010 04:06:33 +0000 (21:06 -0700)]
Make SQLHeavy.Query.execute variadic.

7 years agoDon't require ':' or '@' prefix for binding named parameters.
Evan Nemerson [Sat, 21 Aug 2010 04:05:49 +0000 (21:05 -0700)]
Don't require ':' or '@' prefix for binding named parameters.

7 years agoFix param name in documentation of Database.get_table.
Evan Nemerson [Fri, 20 Aug 2010 07:21:31 +0000 (00:21 -0700)]
Fix param name in documentation of Database.get_table.

7 years agoLots of documentation fixes.
Evan Nemerson [Thu, 19 Aug 2010 20:55:49 +0000 (13:55 -0700)]
Lots of documentation fixes.

7 years agoCache Table objects in Database and do change notification in Tables.
Evan Nemerson [Thu, 19 Aug 2010 05:34:04 +0000 (22:34 -0700)]
Cache Table objects in Database and do change notification in Tables.

7 years agoUse vala-0.12 instead of vala-0.10.
Evan Nemerson [Thu, 19 Aug 2010 18:49:19 +0000 (11:49 -0700)]
Use vala-0.12 instead of vala-0.10.

7 years agoFix type-o in Query.parameter_index valadoc comment.
Evan Nemerson [Thu, 19 Aug 2010 17:50:37 +0000 (10:50 -0700)]
Fix type-o in Query.parameter_index valadoc comment.

7 years agoAllow null for VersionedDatabase filenames.
Evan Nemerson [Wed, 18 Aug 2010 07:36:55 +0000 (00:36 -0700)]
Allow null for VersionedDatabase filenames.

7 years agoRollback uncommitted transactions when they are destroyed.
Evan Nemerson [Tue, 17 Aug 2010 22:50:11 +0000 (15:50 -0700)]
Rollback uncommitted transactions when they are destroyed.

7 years agoDo not restart the execution timer for every step call.
Evan Nemerson [Fri, 13 Aug 2010 22:17:30 +0000 (15:17 -0700)]
Do not restart the execution timer for every step call.

7 years agoSet default value for several SQLHeavy.Record methods.
Evan Nemerson [Fri, 13 Aug 2010 22:16:45 +0000 (15:16 -0700)]
Set default value for several SQLHeavy.Record methods.

7 years agoMinor documantation fixes.
Evan Nemerson [Wed, 4 Aug 2010 03:31:31 +0000 (20:31 -0700)]
Minor documantation fixes.

7 years agoAdd missing documentation for errors.
Evan Nemerson [Wed, 4 Aug 2010 03:26:18 +0000 (20:26 -0700)]
Add missing documentation for errors.

7 years agoUpdate library name in pkg-config file.
Evan Nemerson [Wed, 4 Aug 2010 01:12:18 +0000 (18:12 -0700)]
Update library name in pkg-config file.

7 years agoFix lintian warnings.
Evan Nemerson [Wed, 4 Aug 2010 00:26:39 +0000 (17:26 -0700)]
Fix lintian warnings.

7 years agoRemove debian/files.
Evan Nemerson [Tue, 3 Aug 2010 23:20:46 +0000 (16:20 -0700)]
Remove debian/files.

7 years agoCreate directory for gtk-doc before copying to it.
Evan Nemerson [Tue, 3 Aug 2010 23:20:09 +0000 (16:20 -0700)]
Create directory for gtk-doc before copying to it.

7 years agoAdd man page to sqlheavy-utils package.
Evan Nemerson [Tue, 3 Aug 2010 22:53:10 +0000 (15:53 -0700)]
Add man page to sqlheavy-utils package.

7 years agoSet up debian/watch for use with google code.
Evan Nemerson [Tue, 3 Aug 2010 22:51:56 +0000 (15:51 -0700)]
Set up debian/watch for use with google code.

7 years agoIgnore config.h when generating documentation.
Evan Nemerson [Tue, 3 Aug 2010 20:55:14 +0000 (13:55 -0700)]
Ignore config.h when generating documentation.

7 years agoBuild gtkdoc output before trying to install it.
Evan Nemerson [Mon, 2 Aug 2010 22:40:52 +0000 (15:40 -0700)]
Build gtkdoc output before trying to install it.

7 years agoBuild gtkdoc by default when valadoc is installed.
Evan Nemerson [Mon, 2 Aug 2010 22:27:07 +0000 (15:27 -0700)]
Build gtkdoc by default when valadoc is installed.

7 years agoReplace all 1.0 instances in Makefile.am with @SQLHEAVY_API_VERSION@.
Evan Nemerson [Mon, 2 Aug 2010 20:38:55 +0000 (13:38 -0700)]
Replace all 1.0 instances in Makefile.am with @SQLHEAVY_API_VERSION@.

7 years agoAdd Cursor interface and TableCursor class.
Evan Nemerson [Sat, 31 Jul 2010 08:35:29 +0000 (01:35 -0700)]
Add Cursor interface and TableCursor class.

7 years agoAdd missing documentation for MtableRecord, Query, and RecordSet.
Evan Nemerson [Sat, 31 Jul 2010 06:39:07 +0000 (23:39 -0700)]
Add missing documentation for MtableRecord, Query, and RecordSet.

7 years agoDocument Transaction.resolve method.
Evan Nemerson [Fri, 30 Jul 2010 21:03:20 +0000 (14:03 -0700)]
Document Transaction.resolve method.

7 years agoDocument internal value methods.
Evan Nemerson [Fri, 30 Jul 2010 18:42:00 +0000 (11:42 -0700)]
Document internal value methods.

7 years agoDocument Verion members, add Version.library and Version.sqlite_library.
Evan Nemerson [Fri, 30 Jul 2010 18:41:18 +0000 (11:41 -0700)]
Document Verion members, add Version.library and Version.sqlite_library.

7 years agoAdd SQLHEeavy.Query.get_table.
Evan Nemerson [Fri, 30 Jul 2010 03:08:32 +0000 (20:08 -0700)]
Add SQLHEeavy.Query.get_table.

7 years agoAllow overriding defaults of some settings with environment variables.
Evan Nemerson [Wed, 28 Jul 2010 20:11:19 +0000 (13:11 -0700)]
Allow overriding defaults of some settings with environment variables.

Currently, there are SQLHEAVY_PROFILING_DATA,
SQLHEAVY_SYNCHRONOUS_MODE, AND SQLHEAVY_JOURNAL_MODE. More may be added
in the future.

7 years agoSet synchronous = OFF and journal_mode = OFF for ProfilingDatabase.
Evan Nemerson [Wed, 28 Jul 2010 19:35:44 +0000 (12:35 -0700)]
Set synchronous = OFF and journal_mode = OFF for ProfilingDatabase.

7 years agoAdd SQLHeavy.Query.clear.
Evan Nemerson [Wed, 28 Jul 2010 18:03:34 +0000 (11:03 -0700)]
Add SQLHeavy.Query.clear.

7 years agoRemove SQLHeavy.Statement.
Evan Nemerson [Wed, 28 Jul 2010 07:59:51 +0000 (00:59 -0700)]
Remove SQLHeavy.Statement.

7 years agoAdd async methods to SQLHeavy.Query and SQLHeavy.QueryResult.
Evan Nemerson [Wed, 28 Jul 2010 06:31:31 +0000 (23:31 -0700)]
Add async methods to SQLHeavy.Query and SQLHeavy.QueryResult.

7 years agoAdd documentation for SQLHeavy.Query.
Evan Nemerson [Wed, 28 Jul 2010 01:07:26 +0000 (18:07 -0700)]
Add documentation for SQLHeavy.Query.

7 years agoAdd documentation for SQLHeavy.QueryResult.
Evan Nemerson [Wed, 28 Jul 2010 00:52:53 +0000 (17:52 -0700)]
Add documentation for SQLHeavy.QueryResult.

7 years agoAdd slightly faster paths for SQLHeavy.QueryResult.fetch*.
Evan Nemerson [Wed, 28 Jul 2010 00:22:15 +0000 (17:22 -0700)]
Add slightly faster paths for SQLHeavy.QueryResult.fetch*.

7 years agoPort SQLHeavyQueryable and implementations to SQLHeavyQuery.
Evan Nemerson [Wed, 28 Jul 2010 00:01:10 +0000 (17:01 -0700)]
Port SQLHeavyQueryable and implementations to SQLHeavyQuery.

7 years agoPort SQLHeavyTable to SQLHeavyQuery.
Evan Nemerson [Tue, 27 Jul 2010 23:49:58 +0000 (16:49 -0700)]
Port SQLHeavyTable to SQLHeavyQuery.

7 years agoPort SQLHeavyRow to SQLHeavyQuery.
Evan Nemerson [Tue, 27 Jul 2010 23:30:44 +0000 (16:30 -0700)]
Port SQLHeavyRow to SQLHeavyQuery.

7 years agoAdd sqlheavy/config.{h,h.in} to .gitignore.
Evan Nemerson [Tue, 27 Jul 2010 22:49:18 +0000 (15:49 -0700)]
Add sqlheavy/config.{h,h.in} to .gitignore.

7 years agoStart separating Statement into Query and QueryResult.
Evan Nemerson [Tue, 27 Jul 2010 22:48:23 +0000 (15:48 -0700)]
Start separating Statement into Query and QueryResult.

7 years agoAdd support for WAL related functions.
Evan Nemerson [Tue, 27 Jul 2010 00:12:48 +0000 (17:12 -0700)]
Add support for WAL related functions.

7 years agoGet sqlheavy-gen-orm output working properly.
Evan Nemerson [Mon, 26 Jul 2010 07:07:51 +0000 (00:07 -0700)]
Get sqlheavy-gen-orm output working properly.

7 years agoRemove TransactionStack class.
Evan Nemerson [Mon, 26 Jul 2010 07:07:29 +0000 (00:07 -0700)]
Remove TransactionStack class.

7 years agoAdd SQLHeavy.Database.backup_async.
Evan Nemerson [Sun, 25 Jul 2010 22:01:28 +0000 (15:01 -0700)]
Add SQLHeavy.Database.backup_async.