Re: Thoughts about short-term work



> On Mon, 21 Jun 1999 jrb@redhat.com wrote:
> 
> > pilot-link?  I think I can find it through some effort, but any guidance
> > would be welcome.  I'd like to spend some time this week weaning gpilotd
> > onto the "standard" pilot-link. (-:
> 
> Yes. All code from libsock/sync.c is additions and include/pi-sync.h is
> the header file for this.

Can I use this code?  Is it "clean?" and free of the license problems?

> I was planning use the same widget structure as used elsewhere in
> gnome/gtk, to make a GnomePilotConduit widget which people can then extend
> by "inheriting" into eg. GnomePilotCalendarWidget, binding the methods
> from the sync abs structure and adding whatever they need.
> 
> I'd like to follow it closely, but you're welcome to begin the project, I
> also suspect you have more experience with gnome widgets. Just don't dump
> one huge commit into the CVS. :-)

The only problem with this is that inheriting from Gtk would require us
to link with gtk (and all of it's dependencies.)  It would, however,
clean up the code greatly, and make Conduit writing much pretier.

> For guidance into the intricacies of syncabs, theres a partially completed
> api ref in gnome-pilot/Documentation, plus the memo-conduit which works
> 60% of the time uses the syncabs structure. The backup conduit and the
> file conduit do not use the structure, they are speciel conduits.

Excellent.  Presumably the address and date conduit's will also use the
SyncAbs structure.

> > > I've never tried the conduit ORB stuff, but the forked gpilotd can still
> > It may be a bit more complex then that (so claims Elliot.)  However
> 
> I could imaging that something could end up in the wrong process.

The problem is that you need to start a new ORB when forking off the
process.  This is apparently a bit painful in ORBit right now.  We can't
just use the parent's ORB.

> > I think he wanted to clean up the Macros a bit, as he didn't like the
> > way they were used, but I suppose he'll let you know when he returns
> 
> Is that the stuff from pi-sync.h ? Thats only there to keep it easier to
> sync pilot-link. I agree on the horror and hideousness of them.

Yes.

Thanks,
-Jonathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]