Re: More files for .gitignore?

2010-02-22 Thread Jeff Kletsky
Any good reason not to add these to .gitignore? # Untracked files: # (use "git add ..." to include in what will be committed) # #src/bin/gnucash-ddd #src/bin/gnucash-gdb #src/bin/gnucash-setup-env #src/libqof/backend/file/qsf-dir.h #src/libqof/qof/qofla-dir.h ___

SQL backend performance

2010-02-22 Thread Donald Allen
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 testing on an inexpensive little HP desktop machine, dual-core

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Jeff Kletsky
On 2/22/2010 1:16 PM, Derek Atkins wrote: Geert Janssens writes: Note that schema updates don't depend on string freeze. HOWEVER you need to consider forwards and backwards compatibility issues. For example, we want files written by 2.4.x to be readable by e.g. 2.2.9. I agree with that, and

Re: Database "filename" format

2010-02-22 Thread Mike Evans
On Monday February 22 2010 16:40:30 Geert Janssens wrote: > 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-22 Thread Donald Allen
On Mon, Feb 22, 2010 at 4:21 PM, Derek Atkins wrote: > Hi, > > Donald Allen writes: > > [snip] >> So here's my question: is the transaction without a >> clause mal-formed? > > Yes, it is mal-formed. > >>     If it is mal-formed, then more work is needed, >> because the current version produces s

Re: Is missing trn:currency clause legal?

2010-02-22 Thread Derek Atkins
Hi, Donald Allen writes: [snip] > So here's my question: is the transaction without a > clause mal-formed? Yes, it is mal-formed. > If it is mal-formed, then more work is needed, > because the current version produces such transactions under certain > circumstances: it did so when I *mod

Re: Database "filename" format

2010-02-22 Thread Derek Atkins
Geert Janssens writes: [snip] > Any comments ? Sounds good to me. > Geert -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@m

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Derek Atkins
Geert Janssens writes: > On Monday 22 February 2010, Jeff Kletsky wrote: >> On 2/22/2010 8:16 AM, Derek Atkins wrote: >> > GnuCash does not handle data format schema updates well. :-( >> >> f... >> >> Should I be scrambling to get in a place to properly store the default >> budget, probabl

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Geert Janssens
On Monday 22 February 2010, Jeff Kletsky wrote: > On 2/22/2010 8:16 AM, Derek Atkins wrote: > > GnuCash does not handle data format schema updates well. :-( > > f... > > Should I be scrambling to get in a place to properly store the default > budget, probably on the book, even though we're p

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Jeff Kletsky
On 2/22/2010 8:16 AM, Derek Atkins wrote: GnuCash does not handle data format schema updates well. :-( f... Should I be scrambling to get in a place to properly store the default budget, probably on the book, even though we're past string freeze, so that there aren't data model chan

Is missing trn:currency clause legal?

2010-02-22 Thread Donald Allen
I recently filed a bug report (609583) regarding an issue that came up when testing the sql backend. The report referenced 2.3.8, but I've been working with the svn trunk and it exhibits the same behavior. Summarizing the issue, I open a copy of my current gnucash (xml) file with the svn trunk ve

Database "filename" format

2010-02-22 Thread 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://:@:/ Whenever the user is to be shown a such a name, they will be transformed i

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Derek Atkins
Jeff Kletsky writes: > Good news? > > A budget report using eguile runs in a couple seconds, instead of > nearly 20 using the HTML-renderer classes. > > Bad news? > > Looks like budgets, as they exist today, are apparently unaware of the > sign-ed-ness of accounts and "ignore" the sign-reversed o

Re: PATCH: Sort SX vars

2010-02-22 Thread Derek Atkins
Jesse Weinstein writes: > I found safe_strcmp in qofutil.h -- but it's not at all clear to me how > or whether I can or should #include that into gnc-sx-instance-model.c > where my patch touches. Advise? As for having using a utf8-aware > comparison -- I'm open to suggestions, but, I'm not aware

Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Jeff Kletsky
Good news? A budget report using eguile runs in a couple seconds, instead of nearly 20 using the HTML-renderer classes. Bad news? Looks like budgets, as they exist today, are apparently unaware of the sign-ed-ness of accounts and "ignore" the sign-reversed options (None, Income & Expense, o