Re: stumped on report customization

2005-05-03 Thread Richard Lee-Morlang
On Mon, 2005-02-05 at 21:45 -0400, Josh Sled wrote: I've spent four hours hacking scheme code, googling, searching mailing lists, bugzilla and source code to try to add some DIV and SPAN tags, and some CLASS and ID attributes to the invoice report. I don't see where they're being

Re: stumped on report customization

2005-05-03 Thread Richard Lee-Morlang
On Mon, 2005-02-05 at 21:55 -0400, Derek Atkins wrote: BTW, have you looked at the fancy-invoice report? I don't know exactly what you're looking for, but it may look prettier than the standard version. I haven't yet, actually. I'll take a look, but in among other things I wanted to

New developer's issues

2005-05-03 Thread Geert Janssens
Hi, This passed weekend, I spent some time (actually quite a lot) trying to understand GnuCash's internals a bit better. I must admit, it's a steep learning curve, especially since I never worked on a gnome app before (my devel experience is based on motif on Solaris), neither with the gnu

Re: New developer's issues

2005-05-03 Thread Neil Williams
On Tuesday 03 May 2005 10:57 am, Geert Janssens wrote: Hi, This passed weekend, I spent some time (actually quite a lot) trying to understand GnuCash's internals a bit better. I must admit, it's a steep learning curve, especially since I never worked on a gnome app before (my devel

Re: New developer's issues

2005-05-03 Thread Neil Williams
On Tuesday 03 May 2005 11:15 am, Neil Williams wrote: I'd start with a different object. The business module still needs work in G2 - it keeps crashing when I try to create new data. See GNOME2_STATUS in the top level directory. Sorry, ignore me. Didn't read the rest of the post before putting

QOF and child objects

2005-05-03 Thread Neil Williams
Some GnuCash objects, like GncAddress, are child objects - they belong to another object. In effect, an address is just a building - to make it useful to GnuCash, it needs to be tied to a person. After all, you cannot invoice a building, you invoice a person / body corporate working / living in

Re: stumped on report customization

2005-05-03 Thread Derek Atkins
Richard Lee-Morlang [EMAIL PROTECTED] writes: Unfortunately, you will need to massage the output after the fact. :( Then that's what I'll do. At least it should be fairly easy to hack the invoice generator to output some CSV wrapped in PRE tags to aid parsing in parsing. While it's not

Re: New developer's issues

2005-05-03 Thread Derek Atkins
Hi, Geert Janssens [EMAIL PROTECTED] writes: * As I'm stepping through the creation of the Invoice Edit window, I have a display of the Invoice Datastructure that is to be used to create the window. With every step I do in the source, I see that the values of several of it's member

Re: QOF and child objects

2005-05-03 Thread Derek Atkins
Neil, Neil Williams [EMAIL PROTECTED] writes: [snip -- man, you type a LOT! I don't think you need to be quite so verbose! ;) -derek ] I'm testing now, but providing the rest of the GnuCash handling is unchanged, is there a problem with keeping QOF as a collection of equals? I see no

Re: QOF and child objects

2005-05-03 Thread Neil Williams
On Tuesday 03 May 2005 2:20 pm, Derek Atkins wrote: Neil, [snip -- man, you type a LOT! I don't think you need to be quite so verbose! ;) -derek ] :-) I'll try! I've just succeeded in outputting a recursive export from GNC_ID_INVOICE - all invoices, all billterms, all transactions and

Re: QOF and child objects

2005-05-03 Thread Derek Atkins
Quoting Neil Williams [EMAIL PROTECTED]: Is it OK to replace: { QOF_PARAM_GUID, QOF_TYPE_GUID, (QofAccessFunc)gncOwnerGetGUID, NULL }, with { QOF_PARAM_GUID, QOF_TYPE_GUID, (QofAccessFunc)qof_instance_get_guid, NULL }, in GncOwner.c? (Now that I've got a QofInstance in GncOwner)

Re: QOF and child objects

2005-05-03 Thread Neil Williams
On Tuesday 03 May 2005 4:21 pm, Derek Atkins wrote: Quoting Neil Williams [EMAIL PROTECTED]: Yes, it's likely to break a LOT of places! (thought it might!) ;-) I hope you don't mind the request though - I had to ask. You should grep through the code, it's not easy to grep for a QOF

Re: QOF and child objects

2005-05-03 Thread Derek Atkins
Quoting Neil Williams [EMAIL PROTECTED]: it's not easy to grep for a QOF parameter - it gets hidden behind param_getfcn(). Yes, you can call the function directly but that's not the point - I wasn't ever going to replace the function, just replace the parameter. True, but you can query

Re: QOF and child objects

2005-05-03 Thread Neil Williams
On Tuesday 03 May 2005 6:27 pm, Derek Atkins wrote: Effectively GncOwner is just a QofEntity with a limited range of values. But a QofEntity is an instance, QofObject is the definition and that's the basis of the tables. True, but GncOwner is effectively a QofEntity, which was sort

Re: QOF and child objects

2005-05-03 Thread Derek Atkins
Neil Williams [EMAIL PROTECTED] writes: I always hated containers!! :-) I'll ponder and come back, if you don't mind! That's the luxury / curse of being self-taught, you tend to skip the bits that don't grab the attention. Strange how often we're dragged back to those things by some other

ChangeLog

2005-05-03 Thread Neil Williams
At what point does the ChangeLog simply become too big? It's 686k currently! (on G2 at least). It goes back to 2001. Is the older content archived off at some point? -- Neil Williams = http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/