Dave Peticolas peticola@krondo.com
Tue, 18 Jul 2000 21:55:32 -0700

Paul Fenwick writes:
> --8/pVXlBMPtxfSuJG
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> G'day Dave, Rob and GnuCashers,
> On Tue, Jul 18, 2000 at 05:45:23PM -0700, Dave Peticolas wrote:
> > Rob Browning is working on this aspect, though it was for the current
> > version of Quote.pm, and not 1.0. The plan here is to eliminate the
> > use of the swig bindings in gnc-prices and instead implement that
> > portion of gnc-prices in scheme. Thus, gnc-prices would become
> > GnuCash's interface to Quote.pm. This will make it much simpler
> > to run gnc-prices from within gnucash and will remove swig as
> > a build dependency.
> Finance::Quote 1.0 should be fully backwards compatible with previous
> releases, although it is strongly recommended that the new OO-style
> is used (it's cleaner and easier).
> Am I correct in assuming that gnc-prices would no longer be a separate
> executable but rather another function that can be called, or does
> GnuCash have the needed framework to allow multiple processes access
> its data at once?

gnc-prices will still be a separate executable, but it will be invoked
from Gnucash and use standard input/output to communicate with the
main program. gnc-prices will no longer modify the database directly,
it will just be an interface to Quote.pm. Basically, it will just
translate Quote.pm output into scheme forms.

> If there is anything I can help with from my end, then please let me
> know.  My knowledge of scheme is very limited, so I don't know how
> well it talks to perl.  I'm happy to work on a C interface to
> F::Q if it helps, as it's something I intend to do sooner or later
> regardless.

I think Rob is pretty far along with the switch. He might need some
help with using the new OO framework in gnc-prices and using the new
failover mechanism, though.