Re: more library structure

2006-01-26 Thread Chris Shoemaker
On Wed, Jan 25, 2006 at 09:08:33PM -0500, Derek Atkins wrote: > >The plugins, pluginpages and pluginmanager all end up depending on > >these. Although, at the moment I can't remember the exact dependency > >chain, so I'm going to start-over and try to take better notes. > > I'd like to see the de

Re: more library structure

2006-01-25 Thread Chris Shoemaker
On Wed, Jan 25, 2006 at 09:08:33PM -0500, Derek Atkins wrote: > Quoting Chris Shoemaker <[EMAIL PROTECTED]>: > > >>I see no instance of "gnc_show_splash_screen" in gnucash-bin.c in any > >>form.. So when you moved stuff around you removed my comment completely. > > > >It's the first thing that ha

Re: more library structure

2006-01-25 Thread Derek Atkins
Quoting Chris Shoemaker <[EMAIL PROTECTED]>: I see no instance of "gnc_show_splash_screen" in gnucash-bin.c in any form.. So when you moved stuff around you removed my comment completely. It's the first thing that happens inside gnc_main_gui_init(). When that was called before loading module

Re: more library structure

2006-01-25 Thread Chris Shoemaker
On Wed, Jan 25, 2006 at 06:22:21PM -0500, Derek Atkins wrote: > Quoting Chris Shoemaker <[EMAIL PROTECTED]>: > > >On Wed, Jan 25, 2006 at 05:58:01PM -0500, Derek Atkins wrote: > >>FWIW, I still want to see enough of gnome initialized earlier such > >>that the splash screen can get instantiated ear

Re: more library structure

2006-01-25 Thread Derek Atkins
Quoting Chris Shoemaker <[EMAIL PROTECTED]>: On Wed, Jan 25, 2006 at 05:58:01PM -0500, Derek Atkins wrote: FWIW, I still want to see enough of gnome initialized earlier such that the splash screen can get instantiated earlier. You removed my gnucash-bin.c comment about "start the splash screen

Re: more library structure

2006-01-25 Thread Chris Shoemaker
On Wed, Jan 25, 2006 at 05:58:01PM -0500, Derek Atkins wrote: > FWIW, I still want to see enough of gnome initialized earlier such > that the splash screen can get instantiated earlier. You removed my > gnucash-bin.c comment about "start the splash screen here" in your > recent set of commits...

Re: more library structure

2006-01-25 Thread Chris Shoemaker
On Wed, Jan 25, 2006 at 03:53:13PM -0500, David Hampton wrote: > On Wed, 2006-01-25 at 14:58 -0500, Chris Shoemaker wrote: > > > I'm going to see how painful it is to move gnc-main-window and its > > dependencies (e.g. gnc-plugin-manager) from gnome-utils into gnome. > > Have fun. :-) Some of t

Re: more library structure

2006-01-25 Thread Derek Atkins
David Hampton <[EMAIL PROTECTED]> writes: > On Wed, 2006-01-25 at 14:58 -0500, Chris Shoemaker wrote: > >> I'm going to see how painful it is to move gnc-main-window and its >> dependencies (e.g. gnc-plugin-manager) from gnome-utils into gnome. > > Have fun. :-) Some of that code originally move

Re: more library structure

2006-01-25 Thread David Hampton
On Wed, 2006-01-25 at 14:58 -0500, Chris Shoemaker wrote: > I'm going to see how painful it is to move gnc-main-window and its > dependencies (e.g. gnc-plugin-manager) from gnome-utils into gnome. Have fun. :-) Some of that code originally moved from gnome to gnome-utils because of compile time

Re: more library structure

2006-01-25 Thread Chris Shoemaker
On Mon, Jan 23, 2006 at 07:38:06PM -0500, Derek Atkins wrote: > Chris Shoemaker <[EMAIL PROTECTED]> writes: > > > 2) This could be a straight combination or a reshuffling along a > > different boundary. > > > Any thoughts? > > Umm... I would say B, if that works. You MAY need to separate out

Re: more library structure

2006-01-23 Thread Derek Atkins
Chris Shoemaker <[EMAIL PROTECTED]> writes: > BTW, the fact that you can just depend on all your > libraries being loaded by guile so that you can just say > scm_c_eval_string("blah") anytime and anywhere, even if it ends up > using a symbol in some library that's not in your LIBADD, is _bad_. >

more library structure

2006-01-23 Thread Chris Shoemaker
Aarrg! The shutdown() function in gnucash-bin.c clearly doesn't belong there. It's a C-implementation of the function that was getting called from gnome-utils/gnc-gnome-utils.c:gnc_shutdown(). So, the most obvious thing to do is replace gnc_shutdown() with it's C-implementation. But, of cou

Re: Library structure

2006-01-21 Thread Christian Stimming
Am Samstag, 21. Januar 2006 02:01 schrieb Chris Shoemaker: > > > > Ok, I think I've talked myself into this conclusion: Any application > > > > initialization state that gets pulled from guile and used everywhere > > > > else shouldn't be kept in gnucash-bin. Instead, gnucash-bin can call > > > >

Re: Library structure

2006-01-20 Thread Chris Shoemaker
On Fri, Jan 20, 2006 at 07:38:13PM -0500, David Hampton wrote: > On Fri, 2006-01-20 at 18:24 -0500, Derek Atkins wrote: > > Quoting Chris Shoemaker <[EMAIL PROTECTED]>: > > > > > Ok, I think I've talked myself into this conclusion: Any application > > > initialization state that gets pulled from g

Re: Library structure

2006-01-20 Thread David Hampton
On Fri, 2006-01-20 at 18:24 -0500, Derek Atkins wrote: > Quoting Chris Shoemaker <[EMAIL PROTECTED]>: > > > Ok, I think I've talked myself into this conclusion: Any application > > initialization state that gets pulled from guile and used everywhere > > else shouldn't be kept in gnucash-bin. Inst

Re: Library structure

2006-01-20 Thread Derek Atkins
Quoting Chris Shoemaker <[EMAIL PROTECTED]>: Ok, I think I've talked myself into this conclusion: Any application initialization state that gets pulled from guile and used everywhere else shouldn't be kept in gnucash-bin. Instead, gnucash-bin can call into libcore-utils and it can be stored the

Library structure

2006-01-20 Thread Chris Shoemaker
[ In the process of writing this (rather LONG) email asking for advice, I think I've discovered an answer, but I'm sending anyway in case it generates some discussion. ] Sorry I couldn't think of a better Subject: but I'm having a mental block on large-scale program structure. I'll illustrate my