Re: GC architecture for backends

2006-11-02 Thread Chris
I would suggest that those wishing to use a database other than SQLite will have to know what they are doing so can define the DSN externally and so when opening a book if its name is not in the data source list create a SQLite DSN and add it to the data source list. Regards, Chris On Thu, 2006-11

Re: GC architecture for backends

2006-11-02 Thread Derek Atkins
Quoting Chris Shoemaker <[EMAIL PROTECTED]>: >> I haven't thought through all of the issues around connections, but I >> don't think we want to use predefined DSNs. A user shouldn't have to >> set up the GC DSN with an external tool in order to use that DSN within >> gnucash. >> >> Phil > > At le

Re: GC architecture for backends

2006-11-02 Thread Chris Shoemaker
On Thu, Nov 02, 2006 at 12:25:17PM -0500, Phil Longstaff wrote: > On Thu, 2006-02-11 at 08:40 -0600, Daniel Espinosa wrote: > > 2006/11/1, Derek Atkins <[EMAIL PROTECTED]>: > > > Quoting Daniel Espinosa <[EMAIL PROTECTED]>: > > > > > > >> Also, we'll need to make changes to handle the fact that fil

Re: GC architecture for backends

2006-11-02 Thread Phil Longstaff
On Thu, 2006-02-11 at 08:40 -0600, Daniel Espinosa wrote: > 2006/11/1, Derek Atkins <[EMAIL PROTECTED]>: > > Quoting Daniel Espinosa <[EMAIL PROTECTED]>: > > > > >> Also, we'll need to make changes to handle the fact that file:// > > >> should get redirected to sqlite:// -- but the code will need t

Re: GC architecture for backends

2006-11-02 Thread Daniel Espinosa
2006/11/1, Derek Atkins <[EMAIL PROTECTED]>: > Quoting Daniel Espinosa <[EMAIL PROTECTED]>: > > >> Also, we'll need to make changes to handle the fact that file:// > >> should get redirected to sqlite:// -- but the code will need to > >> test the file first to see what kind of file it is, so that F

Re: GC architecture for backends

2006-11-01 Thread Daniel Espinosa
2006/11/1, Derek Atkins <[EMAIL PROTECTED]>: > The QOFBackend interface is documented in the Doxygen docs. > The rest of it, however, hasn't been well documented. > > I do not believe that gnc-engine.c should load the module -- it should > get loaded elsewhere. If that's where stuff is being loade

Re: GC architecture for backends

2006-11-01 Thread Derek Atkins
Quoting Daniel Espinosa <[EMAIL PROTECTED]>: >> Also, we'll need to make changes to handle the fact that file:// >> should get redirected to sqlite:// -- but the code will need to >> test the file first to see what kind of file it is, so that File -> Open >> does the "right thing". I.e., the fac

Re: GC architecture for backends

2006-11-01 Thread Derek Atkins
The QOFBackend interface is documented in the Doxygen docs. The rest of it, however, hasn't been well documented. I do not believe that gnc-engine.c should load the module -- it should get loaded elsewhere. If that's where stuff is being loaded now then I think that's a bug. I dont think there's

GC architecture for backends

2006-10-31 Thread Phil Longstaff
I've started to look at what is needed to put a new backend into GC. My first questions is if this is documented anywhere. I've needed to update a few different files, and wonder if it couldn't be improved so that each backend only needs to be known about in one place. For example, gnc_engine_in