Re: [QOF-devel] Outline of new qofevent support

2006-02-25 Thread Neil Williams
On Tuesday 21 February 2006 5:07 am, Derek Atkins wrote: > Actually, I just thought of something.. I'd like to have events that > have both subject AND object.. Right now we just have a Subject + > Verb (QofEntity + QofEventId). I'd like to add an object, too, so we > could have an event Subject

Re: [Gnucash-changes] r13352 - gnucash/trunk - Fix "default limit" QOF eventing stuff; thanks Andi.

2006-02-25 Thread Neil Williams
On Tuesday 21 February 2006 11:10 pm, Joshua Sled wrote: > Author: jsled > + * lib/libqof/qof/qofevent.[ch] (QOF_DEFAULT_EVENT_LIMIT): rename, set > + to reasonable value (the last-defined event). > Modified: gnucash/trunk/lib/libqof/qof/qofevent.h > ===

Re: [QOF-devel] Outline of new qofevent support

2006-02-25 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: On Tuesday 21 February 2006 5:07 am, Derek Atkins wrote: Actually, I just thought of something.. I'd like to have events that have both subject AND object.. Right now we just have a Subject + Verb (QofEntity + QofEventId). I'd like to add an object,

Re: [Gnucash-changes] r13352 - gnucash/trunk - Fix "default limit" QOF eventing stuff; thanks Andi.

2006-02-25 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: On Tuesday 21 February 2006 11:10 pm, Joshua Sled wrote: Author: jsled + * lib/libqof/qof/qofevent.[ch] (QOF_DEFAULT_EVENT_LIMIT): rename, set + to reasonable value (the last-defined event). Modified: gnucash/trunk/lib/libqof/qof/qofeven

Re: [Gnucash-changes] r13352 - gnucash/trunk - Fix "default limit" QOF eventing stuff; thanks Andi.

2006-02-25 Thread Josh Sled
On Sat, 2006-02-25 at 20:53 +, Neil Williams wrote: > > --- gnucash/trunk/lib/libqof/qof/qofevent.h 2006-02-21 21:46:07 UTC (rev > > 13351) +++ gnucash/trunk/lib/libqof/qof/qofevent.h 2006-02-21 23:10:33 UTC > > (rev 13352) @@ -50,11 +50,12 @@ > > #define QOF_EVENT_REMOVE (1 << 4) > > +#def

Re: [QOF-devel] Outline of new qofevent support

2006-02-25 Thread Neil Williams
On Saturday 25 February 2006 9:07 pm, Derek Atkins wrote: > Quoting Neil Williams <[EMAIL PROTECTED]>: > >> The generator and consumer of the QofEventId need to > >> agree on what the object of the event is. > > > > Absolutely. This would almost certainly mean a different QofEventId for > > each ty

Re: [Gnucash-changes] r13352 - gnucash/trunk - Fix "default limit" QOF eventing stuff; thanks Andi.

2006-02-25 Thread Neil Williams
On Saturday 25 February 2006 9:24 pm, Josh Sled wrote: > > > /** Allow scope for more defaults in future. Additional > > > event identifiers must be larger than this. */ > > > -#define QOF_DEFAULT_LIMIT 10 > > > +#define QOF_DEFAULT_EVENT_LIMIT QOF_EVENT__LAST > > > > Josh - why was this a bug?

Question about the trial report

2006-02-25 Thread Didier Vidal
Hello, I have a problem for translating the 'merchandising' options of the trial balance report. This option panel enables to select accounts for 'gross adjusting', but I haven't been able to find a definition of 'gross adjusting' (and how it differs from regular adjusting), neither to see the

Re: [QOF-devel] Outline of new qofevent support

2006-02-25 Thread Neil Williams
On Saturday 25 February 2006 9:07 pm, Derek Atkins wrote: > >> I'd propose: > >> > >> typedef void (*QofEventHandlerWithArg)(QofEntity*, QofEventId, > >> gpointer); Umm, those are the exact arguments that we already have for QofEventHandler. Did you actually mean: typedef void (*QofEventHandle

Re: [QOF-devel] Outline of new qofevent support

2006-02-25 Thread Derek Atkins
Quoting Neil Williams <[EMAIL PROTECTED]>: On Saturday 25 February 2006 9:07 pm, Derek Atkins wrote: >> I'd propose: >> >> typedef void (*QofEventHandlerWithArg)(QofEntity*, QofEventId, >> gpointer); Umm, those are the exact arguments that we already have for QofEventHandler. Did you actua

Re: [QOF-devel] Outline of new qofevent support

2006-02-25 Thread Neil Williams
On Saturday 25 February 2006 10:15 pm, Derek Atkins wrote: > > typedef void (*QofEventHandlerWithArg)(QofEntity*, QofEventId, > > gpointer handler_data, gpointer event_data); > > Sorry, yes, this is what I meant. > > > Currently, the gpointer is set when the handler is registered, not when > > it i

Re: segmentation fault AND Re: crash creating new file

2006-02-25 Thread Mark Johnson
David Hampton wrote: On Fri, 2006-02-24 at 22:43 -0700, Mark Johnson wrote: Josh Sled wrote: On Thu, 2006-02-23 at 20:28 -0700, Mark Johnson wrote: Funny enough, Mark's message was delivered (to me, anyways) about 30 seconds after we started talking about it on