gnucash-gnome2-dev & QOF sync patch

Derek Atkins warlord at MIT.EDU
Sun Jan 30 11:10:50 EST 2005


Okay, patch applied.  It looks okay.

As for your question, I thought there was already an API like that
in the code?  I don't recall how I implemented the gnc-query-list,
but it would need something like this api already.  Indeed, there
is gncQueryCoreToString().

-derek

Neil Williams <linux at codehelp.co.uk> writes:

> This patch updates the QOF merge code to current QOF to bring the g2 branch 
> into sync. This update also makes qof_book_merge_param_as_string output 
> strings that are compatible with QSF: using false instead of FALSE in string 
> output and using the QSF_XSD_TIME for the datestrings. KVP handling will be 
> added in the next version.
>
> Q: This could be a general usage function:
>        qof_param_as_string(QofParam*, QofEntity*);
>        Useful? Worth transferring to qofclass.c?
>
> I use it for string displays of any QofEntity in dialogs and other output like 
> QSF. Anywhere you need a simple run down of the contents of a QOF entity 
> really.
>
> Fixes a problem in test-book-merge related to the removal of the static 
> mergeData context. (It wasn't setting the rule to be updated, hence the test 
> failures.)

-- 
       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
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-patches mailing list