Phil Longstaff
633c1a75d1
If current lots version has account_guid constraint that it can't be null,
...
remove it and bump table version number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17505 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-13 18:49:57 +00:00
Phil Longstaff
6b62aa321e
Remove constraint that lot.account_guid must not be null. Unfortunately,
...
sqlite doesn't support ALTER TABLE which modifies column constraints, so
existing databases can't be modified programmatically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17503 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-13 02:05:09 +00:00
Phil Longstaff
7c36cf65f6
Add begin-edit/commit-edit calls around lot manipulation when posting
...
an invoice. This keeps the sql backend from trying to save a lot with
a null account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17475 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-20 12:31:00 +00:00
Phil Longstaff
290b0c6f12
Additional win32 packaging changes for installation (including libdbi).
...
Provided by Nathan Buchanan
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17474 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-20 12:09:10 +00:00
Phil Longstaff
0bf3700fa2
Add support to build trunk with libdbi and dbi backend on win32/mingw
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17473 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-17 16:38:31 +00:00
Phil Longstaff
1f96188647
Don't rely on g_value_transform(). Added cases for G_TYPE_INT, G_TYPE_INT64
...
and G_TYPE_DOUBLE. If new GValue types are used in the future and
g_value_transform() *is* called, a warning message will be logged with the
type name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17453 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-03 18:10:27 +00:00
Phil Longstaff
4a4c1b6190
1) Rename col_type_handler_t -> GncSqlColumnTypeHandler
...
2) More doxygen comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17450 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 18:57:13 +00:00
Phil Longstaff
eab2cba9f5
Fix 'make check' compilation problems
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17449 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 18:49:39 +00:00
Phil Longstaff
d122ffbfe9
1) Fix make check problems
...
2) Update svn:ignore property
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17448 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 18:49:08 +00:00
Phil Longstaff
9173035d57
Merge gda-dev2 branch into trunk.
...
This introduces the dbi backend and the --enable-dbi configure option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17444 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-01 16:02:07 +00:00
Phil Longstaff
3370604c8d
Fix memory leak in qof_session_save() - "msg" is never freed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17228 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-13 00:21:35 +00:00
Phil Longstaff
23c6465903
Free return values from recurrenceListToString() printed as debug info.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17224 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-12 23:04:50 +00:00
Phil Longstaff
50acaf24ab
Fix memory leaks. In gnc-dense-cal.c, 2 GDates were not freed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17212 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-11 01:19:56 +00:00
Phil Longstaff
bcd5574d9a
Fix memory leak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17172 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-25 22:06:36 +00:00
Phil Longstaff
6f2674c4b6
Fix memory leak - return value from recurrenceToString()
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17161 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-18 16:59:25 +00:00
Phil Longstaff
0ed4af2ef1
Make some parameters const
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16764 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 19:40:28 +00:00
Phil Longstaff
2c602edbd9
Update valgrind suppressions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16763 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 17:44:00 +00:00
Phil Longstaff
8de27ea72d
Make some parameters const
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16762 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 17:43:46 +00:00
Phil Longstaff
8ab8f16536
Fix valgrind error - conditional based on uninitialized variable
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16760 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 03:26:22 +00:00
Phil Longstaff
c84ba95da8
1) Make some function parameters const
...
2) Add '.deps' to svn:ignore
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16754 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-28 02:27:57 +00:00