Re: plugin/module architecture proposal for gnucash-1.7

2001-06-13 Thread Derek Atkins
dlopen() can keep symbols separated when loaded from a module. You can basically do something like: module = dlopen (module_name); module_sym = dlsym (module, "module_interface_table"); You can take a look in gnc-book (I think that's where this is) to see how this is currently d

Re: plugin/module architecture proposal for gnucash-1.7

2001-06-12 Thread Kevin Finn
Bill Gribble wrote: > > - Will each module provide its own g-wrappers, I assume? Maybe there > > needs to be a mechanism or a policy to avoid collisions in that > > namespace. > > That was actually one of my motivations :) The gigantic "gnc.gwp" file > bugs me because of its unweildyness and un

Re: plugin/module architecture proposal for gnucash-1.7

2001-06-12 Thread Bill Gribble
On Mon, Jun 11, 2001 at 10:00:14PM -0500, Kevin Finn wrote: > - I'm a little nervous about version skew, having recently worked > on a project in RL that was transitioning from a monolithic product > into separate modules with mixed success. I think a lot will depend > on how general the module

Re: plugin/module architecture proposal for gnucash-1.7

2001-06-11 Thread Kevin Finn
Bill Gribble wrote: > > Well, now that the 1.6 release has happened, it's time to start > looking forward to the 1.7 series :) This is a proposal that I have > been wanting to get off my chest for a while. > > ... > > 2. New functionality can be added as modules that require only the > installa

Re: plugin/module architecture proposal for gnucash-1.7

2001-06-11 Thread Dave Peticolas
On 11 Jun 2001 16:22:41 -0500, Bill Gribble wrote: > Any Glade window definitions that are related to the module should be > stored in a .glade XML file specific to the module in question, and > the source code generated by glade should be linked into the module's > shared lib. I have used 'libgl

plugin/module architecture proposal for gnucash-1.7

2001-06-11 Thread Bill Gribble
Well, now that the 1.6 release has happened, it's time to start looking forward to the 1.7 series :) This is a proposal that I have been wanting to get off my chest for a while. A module/plugin system for Gnucash-1.7: rationale - As the functionali