Re: Budgets and inconsistent handling of account sign reversal.

2010-02-23 Thread Jeff Kletsky
On 2/23/2010 12:44 PM, Christian Stimming wrote: [...] You can always add kvp_frame entries at some of gnucash's top-level objects, like the Book, Account, Transaction, or Split. See e.g. the Notes field of an Account in xaccAccountSetNotes / xaccAccountGetNotes in engine/Account.c. The kvp data

Re: More files for .gitignore?

2010-02-23 Thread Jeff Kletsky
On 2/23/2010 12:29 PM, Christian Stimming wrote: Am Dienstag, 23. Februar 2010 schrieb Jeff Kletsky: Any good reason not to add these to .gitignore? No good reason. Thanks for sending the patch (though I've added them in the alphanumeric sorting order). I think many developers have a

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-23 Thread Christian Stimming
Am Montag, 22. Februar 2010 schrieb Jeff Kletsky: > The addition of a way of denoting the "default budget" should be > reasonably easy. You can always add kvp_frame entries at some of gnucash's top-level objects, like the Book, Account, Transaction, or Split. See e.g. the Notes field of an Accou

Re: r18707 - gnucash/trunk/src/gnome-utils - Change file loading message to "Loading user data..."

2010-02-23 Thread Christian Stimming
Am Montag, 22. Februar 2010 schrieb Geert Janssens: > Author: gjanssens > Date: 2010-02-22 10:47:33 -0500 (Mon, 22 Feb 2010) > New Revision: 18707 > Trac: http://svn.gnucash.org/trac/changeset/18707 > > Modified: >gnucash/trunk/src/gnome-utils/gnc-file.c > Log: > Change file loading message to

Re: More files for .gitignore?

2010-02-23 Thread Christian Stimming
Am Dienstag, 23. Februar 2010 schrieb Jeff Kletsky: > Any good reason not to add these to .gitignore? No good reason. Thanks for sending the patch (though I've added them in the alphanumeric sorting order). I think many developers have a separate build directory anyway, which means those files

Re: Database "filename" format

2010-02-23 Thread Christian Stimming
Am Montag, 22. Februar 2010 schrieb Geert Janssens: > Hi, > > I'm about to make some changes in the code that will normalize file and > database names. Internally, they will all be converted to either one of > these internally: > file:// > xml:// > sqlite3:// > mysql://:@:/ > postgres://:@:/ > >

Re: Is missing trn:currency clause legal?

2010-02-23 Thread Derek Atkins
Donald Allen writes: >> Not a bad idea.  Or perhaps it should get run prior to a Save-As? > > My preference would be to run it periodically, rather than prior to a > save-as. An xml file may get improperly structured, as mine did, due > to problems in gnucash. Even if the bad structure doesn't ca

Re: SQL backend performance

2010-02-23 Thread Geert Janssens
On Tuesday 23 February 2010, Donald Allen wrote: > On Tue, Feb 23, 2010 at 9:15 AM, Geert Janssens > > Your assumptions on how things work are correct. > > > > And I noticed this performance decrease as well. > > > > There is one difference between the xml and the sql backends that may > > influenc

Re: SQL backend performance

2010-02-23 Thread Donald Allen
On Tue, Feb 23, 2010 at 9:15 AM, Geert Janssens wrote: > On Tuesday 23 February 2010, Donald Allen wrote: >> As I've mentioned in other posts, I have a pretty large gnucash >> datafile -- more than 20 Mb uncompressed. I've been testing the SQL >> backend and I'm concerned about the performance, pa

Re: Is missing trn:currency clause legal?

2010-02-23 Thread Donald Allen
On Tue, Feb 23, 2010 at 10:23 AM, Derek Atkins wrote: > Donald Allen writes: > >>> Agreed, it should be more vocal about failures!  In particular it should >>> at LEAST output something to gnucash.trace! >> >> It already announces the assertion failure in gnucash.trace. That's >> great for debugg

Re: Is missing trn:currency clause legal?

2010-02-23 Thread Derek Atkins
Donald Allen writes: >> Agreed, it should be more vocal about failures!  In particular it should >> at LEAST output something to gnucash.trace! > > It already announces the assertion failure in gnucash.trace. That's > great for debugging, pretty useless for an ordinary user. The user > needs to b

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-23 Thread Derek Atkins
Jeff Kletsky writes: > Changing the internal storage of budgets seems like it might be best > left alone (save for copious documentation of the data-model > inconsistency), but the accessors (and associated UI and reports) be > modified for consistency with the rest of the app. 3rd-party reports

PATCH: More files for .gitignore?

2010-02-23 Thread Jeff Kletsky
/usr/local/src/gnucash-svn/trunk$ git diff -t r18708 .gitignore diff --git a/.gitignore b/.gitignore index eb1ed52..839f75d 100644 --- a/.gitignore +++ b/.gitignore @@ -119,3 +119,8 @@ po/.intltool-merge-cache src/bin/gnucash-bin.o gnucash-*.*.*/ gnucash-*.*.*.tar.* +src/bin/gnucash-ddd +src/bin/g

Re: SQL backend performance

2010-02-23 Thread Geert Janssens
On Tuesday 23 February 2010, Donald Allen wrote: > As I've mentioned in other posts, I have a pretty large gnucash > datafile -- more than 20 Mb uncompressed. I've been testing the SQL > backend and I'm concerned about the performance, particularly startup > performance. > > I've been doing this t

Re: [Bug 609583] Postgresql backend loses data

2010-02-23 Thread Donald Allen
On Tue, Feb 23, 2010 at 7:07 AM, Conrad Canterford wrote: > On Sun, 2010-02-21 at 18:37 +, Mike Evans wrote: >> On Sunday February 21 2010 17:22:59 Donald Allen wrote: >> > On Sat, Feb 20, 2010 at 5:48 PM,   wrote: >> > > A question for you folks -- >> > > Does anyone know how far back a data

Re: [Bug 609583] Postgresql backend loses data

2010-02-23 Thread Conrad Canterford
On Sun, 2010-02-21 at 18:37 +, Mike Evans wrote: > On Sunday February 21 2010 17:22:59 Donald Allen wrote: > > On Sat, Feb 20, 2010 at 5:48 PM, wrote: > > > A question for you folks -- > > > Does anyone know how far back a data file must go before the SQL > > > interface starts truncating dat