Re: Debian FYI

2005-09-28 Thread David Hampton
On Tue, 2005-09-27 at 21:09 -0700, Thomas Bushnell BSG wrote: > 1. People want to know why gnucash is still transitioning, three years > after gnome 2 started out. That's the big one. Lack of developer resources. The person who started the port disappeared after a couple of months. I picked it

Re: gcc 4

2005-09-28 Thread Derek Atkins
Quoting David Hampton <[EMAIL PROTECTED]>: On Wed, 2005-09-28 at 16:49 -0400, Derek Atkins wrote: Quoting Neil Williams <[EMAIL PROTECTED]>: > On Wednesday 28 September 2005 9:07 pm, Derek Atkins wrote: >> I'm hoping this change is just a one-line change from "short int" to >> QofModuleName --

Re: gcc 4

2005-09-28 Thread David Hampton
On Wed, 2005-09-28 at 16:49 -0400, Derek Atkins wrote: > Quoting Neil Williams <[EMAIL PROTECTED]>: > > > On Wednesday 28 September 2005 9:07 pm, Derek Atkins wrote: > >> I'm hoping this change is just a one-line change from "short int" to > >> QofModuleName -- right? > > > > static short module =

Re: test-lots and test-period fixed

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 3:14 pm, Derek Atkins wrote: > Well, if there is a "random" failure we should really figure out what it is > that's failing. Fixed. The routine was asking for a random integer between 0 and 40 and complaining when the value was < 1. Oops! Guess someone forgot the ra

check print program

2005-09-28 Thread gnucash
I am a user of gnucash and a long time software developer and linux user ( since the earth cooled ). Up till now I have not be a member of the gnucash-devel team. I have developed a check print program for my own use with gnucash and wanted to see if there is any interest in this. You can dow

Re: gcc 4

2005-09-28 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: On Wednesday 28 September 2005 9:07 pm, Derek Atkins wrote: Quoting Neil Williams <[EMAIL PROTECTED]>: > (Only mentioning it here because there's so much else in the next > commit - the > logging ID change has meant patches to C files all over the tree

Re: gcc 4

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 9:07 pm, Derek Atkins wrote: > Quoting Neil Williams <[EMAIL PROTECTED]>: > > (Only mentioning it here because there's so much else in the next > > commit - the > > logging ID change has meant patches to C files all over the tree, > > probably more than 100). > > I'm

Re: gcc 4

2005-09-28 Thread Chris Shoemaker
On Wed, Sep 28, 2005 at 08:56:28PM +0100, Neil Williams wrote: > (Only mentioning it here because there's so much else in the next commit - > the > logging ID change has meant patches to C files all over the tree, probably > more than 100). Please make a separate commit for each logical chang

Re: gcc 4

2005-09-28 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: (Only mentioning it here because there's so much else in the next commit - the logging ID change has meant patches to C files all over the tree, probably more than 100). I'm hoping this change is just a one-line change from "short int" to QofModuleNa

gcc 4

2005-09-28 Thread Neil Williams
I'll be adding a test to configure.in to add -Wdeclaration-after-statement when using gcc4. The current tests only add it if gcc --version is in the 3. series and later than 3.4 - it fails to pick up that 4.0 is larger than 3.4 :-) I was testing the build and realised that it was missing on De

Re: gnc-trace module numbers

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 3:02 pm, Derek Atkins wrote: > Quoting Neil Williams <[EMAIL PROTECTED]>: > > On Wednesday 28 September 2005 1:50 pm, Derek Atkins wrote: > >> Perhaps qof can just use the "gnome application" name? I thought > >> gnome had some way to determine the name of the curren

Re: Logic ideas - 5 levels.

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 3:06 pm, Derek Atkins wrote: > Quoting Neil Williams <[EMAIL PROTECTED]>: > > A bit like QSF and qof_book_merge and indeed cashutil itself. To keep > > things small and simple(r) I copy current sources into a new tree for > > testing. It's much like creating a branch.

Re: test-lots and test-period fixed

2005-09-28 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: > test-lots now runs without a segfault and all I got is this message: > FAILURE engine-stuff test-engine-stuff.c:700 get_random_int_in_range > failed but that doesn't cause the test to fail. I wonder why? I also wonder why this is failing? It's jus

Re: Logic ideas - 5 levels.

2005-09-28 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: A bit like QSF and qof_book_merge and indeed cashutil itself. To keep things small and simple(r) I copy current sources into a new tree for testing. It's much like creating a branch. I work with only the files I need for the current critical area, makin

Re: test-lots and test-period fixed

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 1:47 pm, Derek Atkins wrote: > Neil Williams <[EMAIL PROTECTED]> writes: > > A few if(!xx) { return;} were needed and a few other tweaks. > > It might be better to use g_return_if_fail(xx) in this spot... OK, I'll do that. > I don't see why it would make it any more

Re: gnc-trace module numbers

2005-09-28 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: On Wednesday 28 September 2005 1:50 pm, Derek Atkins wrote: Perhaps qof can just use the "gnome application" name? I thought gnome had some way to determine the name of the current app? Can qof use that? Good idea - I use the automake macro PACKAGE

Re: Logic ideas - 5 levels.

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 2:11 pm, Josh Sled wrote: > On Tue, 2005-09-27 at 11:56 +0100, Neil Williams wrote: > > I want cashutil to provide this prototype because it can be modified > > without changes to the gnucash codebase. > > [...] > > > This is how the logic is to be separated from the

Re: gnc-trace module numbers

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 1:50 pm, Derek Atkins wrote: > Perhaps qof can just use the "gnome application" name? I thought > gnome had some way to determine the name of the current app? Can qof > use that? Good idea - I use the automake macro PACKAGE elsewhere. I'll do that. -- Neil Willi

Re: Logic ideas - 5 levels.

2005-09-28 Thread Josh Sled
On Tue, 2005-09-27 at 11:56 +0100, Neil Williams wrote: > I want cashutil to provide this prototype because it can be modified without > changes to the gnucash codebase. [...] > This is how the logic is to be separated from the UI. The checks and balances > in the current GUI code will be reloc

Re: Debian FYI

2005-09-28 Thread Josh Sled
On Tue, 2005-09-27 at 21:09 -0700, Thomas Bushnell BSG wrote: > The consequence would be that gnucash would have to get dropped from > Debian until the gnome-2 branch can be built for Debian. This is not unreasonable nor unexpected. > There are some things that I have been asked; they are mean qu

Re: gnc-trace module numbers

2005-09-28 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > On Tuesday 27 September 2005 2:08 pm, Derek Atkins wrote: >> Neil Williams <[EMAIL PROTECTED]> writes: >> > gnc_set_logfile(f); >> >> Not done. It uses the default > > It'll need to be done with this change - the default was gnucash.trac

Re: test-lots and test-period fixed

2005-09-28 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > I've got a commit to do soon that will fix test-lots and test-period - there > were bugs in some of the objects that didn't check that a valid pointer was > being passed before trying to modify the object. > > A few if(!xx) { return;} were needed and a

Re: Gnucash and utf-8 : summary

2005-09-28 Thread Derek Atkins
There is no "latest build". The g2 release is still in progress. You're welcome to pull it from CVS like everyone else. -derek Pawan Chitrakar <[EMAIL PROTECTED]> writes: > Dear All, > > We are working on gnucash translation to Nepali and we are not been able to > get the translated strings in

test-lots and test-period fixed

2005-09-28 Thread Neil Williams
I've got a commit to do soon that will fix test-lots and test-period - there were bugs in some of the objects that didn't check that a valid pointer was being passed before trying to modify the object. A few if(!xx) { return;} were needed and a few other tweaks. I've also tweaked the output for

Re: Debian FYI

2005-09-28 Thread Neil Williams
On Wednesday 28 September 2005 5:09 am, Thomas Bushnell BSG wrote: > The Debian gnome maintainers are increasingly antsy about gnome-1 > maintenance. I am being forced to maintain more and more of gnome-1 > since gnucash is the last or near last important gnome-1 application > left. I'm fighting