[Evolution-hackers] Palm pilot categories and evoution

2002-03-09 Thread Gene W. Marsh
My apologies if this is something previously discussed ad naseum. It is well known that evolution doesn't support palm pilot categories. Is this a feature that is currently being added? If not, I'm willing to take a shot at it. Is this a limitation in gnome-pilot, pilot-link, or evolution? Do

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-10 Thread Russell Steinthal
On 09 Mar 2002 20:05:13 PST, "Gene W. Marsh" wrote: >My apologies if this is something previously discussed ad naseum. It is >well known that evolution doesn't support palm pilot categories. Is >this a feature that is currently being added? If not, I'm willing to >take a shot at it. Is this a

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-11 Thread Gene W. Marsh
Cool. What you are saying more or less confirms what I've seen in the code. Let me give what I understand now, and what I think ought to be done before I run off a cliff. 1. Background A. Palm Categories The palm conduits do return the category. This is a bit complicated, however. The appIn

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-11 Thread JP Rosevear
On Sat, 2002-03-09 at 23:05, Gene W. Marsh wrote: > My apologies if this is something previously discussed ad naseum. It is > well known that evolution doesn't support palm pilot categories. Is > this a feature that is currently being added? If not, I'm willing to > take a shot at it. Is this

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-11 Thread JP Rosevear
On Sun, 2002-03-10 at 23:30, Russell Steinthal wrote: > On 09 Mar 2002 20:05:13 PST, "Gene W. Marsh" wrote: > Other than that, I don't see why it shouldn't be doable; now, the code > in the conduits appears to manually sync category=0 to avoid problems, > but otherwise, the category values are st

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-11 Thread JP Rosevear
On Mon, 2002-03-11 at 05:56, Gene W. Marsh wrote: > Cool. What you are saying more or less confirms what I've seen in the > code. Let me give what I understand now, and what I think ought to be > done before I run off a cliff. > > > 1. Background > A. Palm Categories > The palm conduits do r

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-11 Thread Russell Steinthal
On 11 Mar 2002 09:27:25 EST, JP Rosevear wrote: >On Mon, 2002-03-11 at 05:56, Gene W. Marsh wrote: >> A second difficulty is in deciding what happens when a category name on >> the palm changes, is removed, or first appears. I think creating an >> interactive conduit would be nice. (That is wh

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-11 Thread Gene W. Marsh
Cool. What you are saying more or less confirms what I've seen in the code. So let me give you what I've deduced. 1. Background A. Palm Categories The palm conduits do return the category. This is a bit complicated, however. The appInfo block contains a list of 16, 16-character strings that

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-13 Thread JP Rosevear
On Mon, 2002-03-11 at 09:37, Russell Steinthal wrote: > On 11 Mar 2002 09:27:25 EST, JP Rosevear wrote: > > >On Mon, 2002-03-11 at 05:56, Gene W. Marsh wrote: > > >> A second difficulty is in deciding what happens when a category name on > >> the palm changes, is removed, or first appears. I th

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-13 Thread JP Rosevear
On Tue, 2002-03-12 at 02:12, Gene W. Marsh wrote: > Cool. What you are saying more or less confirms what I've seen in the > code. So let me give you what I've deduced. > > 1. Background > A. Palm Categories > The palm conduits do return the category. This is a bit complicated, > however. The

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-16 Thread Gene W. Marsh
On Wed, 2002-03-13 at 06:58, JP Rosevear wrote: > On Mon, 2002-03-11 at 09:37, Russell Steinthal wrote: > > On 11 Mar 2002 09:27:25 EST, JP Rosevear wrote: > > > > >On Mon, 2002-03-11 at 05:56, Gene W. Marsh wrote: > > > > >> A second difficulty is in deciding what happens when a category name o

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-17 Thread Russell Steinthal
On 16 Mar 2002 14:48:50 PST, "Gene W. Marsh" wrote: >On Wed, 2002-03-13 at 06:58, JP Rosevear wrote: >> Its easy to limit the categories mapped to the palm from evo. The >> problem is Pilot ---> Evo since when you rename the category, the id >> associated is the same on the pilot but on evo the

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-17 Thread Gene W. Marsh
I think the logic is sound. I've already got a first pass of category work for the todo-conduit. Since there are only 16 categories on the palm, and since the evolution categories are a string, I went for the simple expedient of a 16x2 array rather than a hash table (I'm still getting used to th

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-17 Thread Russell Steinthal
On 17 Mar 2002 11:00:07 PST, "Gene W. Marsh" wrote: >I think the logic is sound. I've already got a first pass of category >work for the todo-conduit. Since there are only 16 categories on the >palm, and since the evolution categories are a string, I went for the >simple expedient of a 16x2 arr

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-17 Thread Gene W. Marsh
On Sun, 2002-03-17 at 11:03, Russell Steinthal wrote: > On 17 Mar 2002 11:00:07 PST, "Gene W. Marsh" wrote: > > >I think the logic is sound. I've already got a first pass of category > >work for the todo-conduit. Since there are only 16 categories on the > >palm, and since the evolution categor

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-17 Thread Gene W. Marsh
On Sun, 2002-03-17 at 00:40, Russell Steinthal wrote: > On 16 Mar 2002 14:48:50 PST, "Gene W. Marsh" wrote: > > >On Wed, 2002-03-13 at 06:58, JP Rosevear wrote: > > >> Its easy to limit the categories mapped to the palm from evo. The > >> problem is Pilot ---> Evo since when you rename the cate

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-17 Thread Russell Steinthal
On 17 Mar 2002 15:26:10 PST, "Gene W. Marsh" wrote: >On Sun, 2002-03-17 at 00:40, Russell Steinthal wrote: >> To sync an existing record from the Pilot to Evolution: >> >> 1. Use evo_categories_by_id to get the list of categories for that ID. >> > >Why do you need a mapping from category to pil

Re: [Evolution-hackers] Palm pilot categories and evoution

2002-03-17 Thread Gene W. Marsh
Oops. I deleted the last message, but continuing the conversation... I guess the confusion comes from the fact that it seems a bit messy to have to specify what mapping I want for each new task. So the logic I was using was like this: For each pilot category, define a list of evolution categor