GDA: trouble with MySql

2008-01-30 Thread Mark Johnson
Phil, I wanted to try gnucash-gda with MySql. I suspect the postgresql provider of poor performance and wanted to see how the performance of MySql compared. I have created the db manually and tested the gda connection with gnome-database-properties-3.0 successfully. I am using the latest svn

GDA: possible problem

2008-01-30 Thread Mark Johnson
Phil, I decided to check my postgresql log file for insight into the poor performance. While doing so, I noticed the following: ERROR: null value in column slot_id violates not-null constraint STATEMENT: INSERT INTO slots (obj_guid, name, slot_type, int64_val,

Windows XP build/rebuild question

2008-01-30 Thread Charles Day
I have a question about building GnuCash on Windows XP. I've built GnuCash plenty of times with install.sh and it works reliably. But if I go and change, say, one line of druid-qif-import.c, what is the quickest way to recompile/rebuild GnuCash? I thought that I could just go to the build

C commenting style?

2008-01-30 Thread Charles Day
What is GnuCash's preferred format for adding multi-line comments within the code of a C function? From reading the code, I see a variety of styles currently in use, among them: --- Style 1 --- /* comment line 1 * comment line 2 */ --- Style 2 --- /* comment line 1 comment line 2 */ ---

Re: GDA: trouble with MySql

2008-01-30 Thread Nigel Titley
Mark Johnson wrote: Phil, I wanted to try gnucash-gda with MySql. I suspect the postgresql provider of poor performance and wanted to see how the performance of MySql compared. I have created the db manually and tested the gda connection with gnome-database-properties-3.0 successfully.

Re: C commenting style?

2008-01-30 Thread Martin Preuss
Hi, On Mittwoch, 30. Januar 2008, Christian Stimming wrote: Quoting Charles Day [EMAIL PROTECTED]: [...] --- Style 6 --- // comment line 1 // comment line 2 My personal preference has always been style 6, Although my personal preference would be style 6, too, some older compilers

Re: C commenting style?

2008-01-30 Thread Charles Day
On Jan 30, 2008 3:01 AM, Christian Stimming [EMAIL PROTECTED] wrote: Quoting Charles Day [EMAIL PROTECTED]: What is GnuCash's preferred format for adding multi-line comments within the code of a C function? AFAIK there still isn't a preferred format for the whole project. There was a

Re: Gnucash-2.2.3 crash during splash page

2008-01-30 Thread Josh Sled
Jim Parker [EMAIL PROTECTED] writes: My first post to this list. I have found the site very helpful in resolving issues I have had with my build of gnucash 2.2.3. However, now I am stumped. I completed a relatively clean compile from source of gnucash-2.2.3 and during the startup the

Re: C commenting style?

2008-01-30 Thread Mike or Penny Novack
As a practical matter, depends on whether you are looking at that code with an editor that is language sensitive or not. Probably why seeing so many different styles. For example -- take style 2 Less keystrokes (a true RK tradition) and as long as you are using a language sensitive editor

Re: C commenting style?

2008-01-30 Thread Ian Lewis
I would guess 2 is probably best for editor/compiler compatibility but I personally prefer 6 as well since I can toggle comments on large swaths of code by selecting it with a mouse and running a macro. 2008/1/30, Mike or Penny Novack [EMAIL PROTECTED]: As a practical matter, depends on whether

Re: Windows XP build/rebuild question

2008-01-30 Thread Andreas Köhler
Hi Charles, On Mi, 2008-01-30 at 01:45 -0800, Charles Day wrote: I have a question about building GnuCash on Windows XP. I've built GnuCash plenty of times with install.sh and it works reliably. But if I go and change, say, one line of druid-qif-import.c, what is the quickest way to

Re: C commenting style?

2008-01-30 Thread Charles Day
On Jan 30, 2008 4:10 AM, Martin Preuss [EMAIL PROTECTED] wrote: Hi, On Mittwoch, 30. Januar 2008, Christian Stimming wrote: Quoting Charles Day [EMAIL PROTECTED]: [...] --- Style 6 --- // comment line 1 // comment line 2 My personal preference has always been style 6,

Patch to support displaying commodities per currency in scatter graphs.

2008-01-30 Thread Joshua Ross
Dear All, This patch adds an extra option to scatter graphs that in effect inverts the prices. It allows plotting of commodity per currency. Mainly useful for currencies, although someone may find a use for it with shares. Joshua. --- /tmp/price-scatter.scm 2008-01-30 20:12:18.0 +

Re: testing the book zeroing code (maybe for backport?)

2008-01-30 Thread Andreas Köhler
Hi, On Mi, 2007-12-26 at 17:21 -0500, Derek Atkins wrote: Hi, Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets r16713, 16714, and 16715. It's only impemented in the trunk branch at

Re: GDA: possible problem

2008-01-30 Thread Albert Lash
Just wanted to chime in here and mention that I'm also interested in using a SQL powered storage mechanism with GnuCash. Since GnuCash is a desktop application, I was thinking SQLite might be a good candidate. I think GnuCash has connected with Postgres and MySQL, but has anyone ever tried SQLite?

Re: GDA: trouble with MySql

2008-01-30 Thread Albert Lash
On second thought I'm not sure if MySQL has ever been used with GnuCash, or if it supported On Jan 30, 2008 5:48 AM, Nigel Titley [EMAIL PROTECTED] wrote: Mark Johnson wrote: Phil, I wanted to try gnucash-gda with MySql. I suspect the postgresql provider of poor performance and wanted

Re: GDA: trouble with MySql

2008-01-30 Thread Nigel Titley
Albert Lash wrote: On second thought I'm not sure if MySQL has ever been used with GnuCash, or if it supported Surely the whole point about using the gda library was that the backend database doesn't matter. Nigel ___ gnucash-devel mailing list

Re: GDA: trouble with MySql

2008-01-30 Thread Mark Johnson
Nigel Titley wrote: Albert Lash wrote: On second thought I'm not sure if MySQL has ever been used with GnuCash, or if it supported Surely the whole point about using the gda library was that the backend database doesn't matter. Nigel That's the goal. Currently, the gda backend is

Re: Windows XP build/rebuild question

2008-01-30 Thread Charles Day
On Jan 30, 2008 9:25 AM, Andreas Köhler [EMAIL PROTECTED] wrote: Hi Charles, On Mi, 2008-01-30 at 01:45 -0800, Charles Day wrote: I have a question about building GnuCash on Windows XP. I've built GnuCash plenty of times with install.sh and it works reliably. But if I go and change,

Re: Windows XP build/rebuild question

2008-01-30 Thread Charles Day
On Jan 30, 2008 4:59 PM, Charles Day [EMAIL PROTECTED] wrote: On Jan 30, 2008 9:25 AM, Andreas Köhler [EMAIL PROTECTED] wrote: Hi Charles, On Mi, 2008-01-30 at 01:45 -0800, Charles Day wrote: I have a question about building GnuCash on Windows XP. I've built GnuCash plenty of

Re: GDA: possible problem

2008-01-30 Thread David Reiser
On Jan 30, 2008, at 5:55 PM, Albert Lash wrote: Just wanted to chime in here and mention that I'm also interested in using a SQL powered storage mechanism with GnuCash. Since GnuCash is a desktop application, I was thinking SQLite might be a good candidate. I think GnuCash has connected with

Re: Windows XP build/rebuild question

2008-01-30 Thread Nathan Buchanan
On Jan 30, 2008 7:59 PM, Charles Day [EMAIL PROTECTED] wrote: On Jan 30, 2008 9:25 AM, Andreas Köhler [EMAIL PROTECTED] wrote: Hi Charles, On Mi, 2008-01-30 at 01:45 -0800, Charles Day wrote: I have a question about building GnuCash on Windows XP. I've built GnuCash plenty of