[OGo-Bugs][Bug 1811] Please upgrade pilot-link support to 0.12.1

bugs@opengroupware.org bugs@opengroupware.org
Thu, 1 Mar 2007 17:22:46 +0100 (CET)


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1811





------- Additional Comments From brown_m_k@yahoo.ca  2007-03-01 17:22 -------
OK, had some time to look into this, and here's the problems:

http://svn.opengroupware.org/OpenGroupware.org/trunk/PDA/PPSync/PPSyncContext.m

{
  if (_type == 'DATA') {
    switch (_creator) {
      case 'addr': return NSClassFromString(@"PPAddressDatabase");
      case 'todo': return NSClassFromString(@"PPToDoDatabase");
      case 'date': return NSClassFromString(@"PPDatebookDatabase");
      case 'memo': return NSClassFromString(@"PPMemoDatabase");
    }
  }

Those are the Databases for the "Old Style" PIMS.  To support the new PIMS, you 
would need to have the following extra cases:

      case 'PAdd': return NSClassFromString(@"PPContactsDatabase");
      case 'PTod': return NSClassFromString(@"PPTasksDatabase");
      case 'PDat': return NSClassFromString(@"PPCalendarDatabase");
      case 'PMem': return NSClassFromString(@"PPMemosDatabase"); #Note the 
Memo*s*, which differentiates it from the older MemoDatabase

The original source files .h and .m could be used as a base and copied into the 
new PIM types files (.h and .m), and modified to support the new PIM fields and 
sizes.  This will also impact the Palm UI stuff, and that will need to be 
modified. 

Then the whole thing could be re-built to support the latest pilot-link, which 
is now http://www.pilot-link.org/pilot-link-0.12.2  David A. Desrosiers is a 
good resource for help on that, and for some information on the PIM DB 
structures (hacker@gnu-designs.com)  Palm has some stuff in their developer 
program that covers the new PIM db's as well (and it's a free registration).

Hope this helps!  Sorry I can't help more on this: I'm a troubleshooter dammit, 
not a programmer ;-)

/Mike

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.