You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(43) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(9) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
(28) |
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
|
Aug
|
Sep
(15) |
Oct
(6) |
Nov
|
Dec
|
|
From: Jim B. <jb...@us...> - 2005-10-10 07:20:33
|
Update of /cvsroot/cryptopad/cryptopad/src/cryptopad In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25484 Modified Files: Beam.c Database.c Database.h FindCmd.c Log Message: Added support for new PMem creator ID for memopad database. Index: Beam.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Beam.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Beam.c 5 Jun 2005 18:23:58 -0000 1.3 --- Beam.c 10 Oct 2005 07:20:25 -0000 1.4 *************** *** 57,61 **** exgSocket.length = MemHandleSize(recordH); // rough guess ! exgSocket.target = memoPadCreator; if (descriptionSize > 0) { --- 57,66 ---- exgSocket.length = MemHandleSize(recordH); // rough guess ! if (newMemoDB) { ! exgSocket.target = memoPadCreatorNew; ! } ! else { ! exgSocket.target = memoPadCreator; ! } if (descriptionSize > 0) { *************** *** 202,206 **** exgSocket.length = 0; // rough guess ! exgSocket.target = memoPadCreator; error = ExgPut(&exgSocket); // put data to destination --- 207,216 ---- exgSocket.length = 0; // rough guess ! if (newMemoDB) { ! exgSocket.target = memoPadCreatorNew; ! } ! else { ! exgSocket.target = memoPadCreator; ! } error = ExgPut(&exgSocket); // put data to destination Index: Database.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Database.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Database.c 5 Jun 2005 18:23:58 -0000 1.17 --- Database.c 10 Oct 2005 07:20:25 -0000 1.18 *************** *** 112,116 **** /* Open the database */ ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreator, mode); ASSERT(dbReference != 0); if (!dbReference) return DmGetLastErr (); --- 112,123 ---- /* Open the database */ ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreatorNew, mode); ! if (! dbReference) { ! newMemoDB = false; ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreator, mode); ! } ! else { ! newMemoDB = true; ! } ASSERT(dbReference != 0); if (!dbReference) return DmGetLastErr (); Index: Database.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Database.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Database.h 5 Jun 2005 18:23:58 -0000 1.13 --- Database.h 10 Oct 2005 07:20:25 -0000 1.14 *************** *** 46,49 **** --- 46,50 ---- #define memoPadType 'DATA' #define memoPadCreator 'memo' + #define memoPadCreatorNew 'PMem' #define newMemoSize 64 *************** *** 179,182 **** --- 180,185 ---- Boolean InPhoneLookup; + Boolean newMemoDB; + Err OpenMemoDatabase(DmOpenRef *, UInt16); Index: FindCmd.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/FindCmd.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FindCmd.c 8 Feb 2004 19:14:09 -0000 1.2 --- FindCmd.c 10 Oct 2005 07:20:25 -0000 1.3 *************** *** 81,85 **** --- 81,89 ---- err = DmGetNextDatabaseByTypeCreator (true, &searchState, memoPadType, + memoPadCreatorNew, true, &cardNum, &memoPadDbID); + if (err == dmErrCantFind) { + err = DmGetNextDatabaseByTypeCreator (true, &searchState, memoPadType, memoPadCreator, true, &cardNum, &memoPadDbID); + } if (err != errNone) |
|
From: Jim B. <jb...@us...> - 2005-10-10 05:12:40
|
Update of /cvsroot/cryptopad/cryptopad_classic/v4 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14246 Modified Files: Changelogs.txt Log Message: v 4.11: added support for 5-way nav. Index: Changelogs.txt =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/Changelogs.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Changelogs.txt 12 Sep 2005 04:01:53 -0000 1.3 --- Changelogs.txt 10 Oct 2005 05:12:37 -0000 1.4 *************** *** 1,4 **** --- 1,7 ---- Be careful, it is still beta version. + 09-10-2005 4.11 + * Added 5-way navigation support for newer devices like the Treo 650. + 10-09-2005 4.10 * Fix crashing on newer devices, including Treo 650, by first checking *************** *** 102,105 **** --- 105,112 ---- in the edit form within memos with the up-down hard keys. + 9-Oct-2005 3.66 + * Added 5-way navigation support for newer devices like the Treo 650. + * Incorporated the color icons from the 4.x version. + 10-Sep-2005 3.65 * Restarting with 3.63 code, so changes between 3.63 and 3.64 are |
|
From: Jim B. <jb...@us...> - 2005-10-09 16:52:09
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26877 Modified Files: Changelogs.txt Log Message: Added v3.66 entry. Index: Changelogs.txt =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/Changelogs.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Changelogs.txt 10 Sep 2005 22:16:01 -0000 1.2 --- Changelogs.txt 9 Oct 2005 16:52:01 -0000 1.3 *************** *** 1,2 **** --- 1,6 ---- + 9-Oct-2005 3.66 + * Added 5-way navigation support for newer devices like the Treo 650. + * Incorporated the color icons from the 4.x version. + 10-Sep-2005 3.65 * Restarting with 3.63 code, so changes between 3.63 and 3.64 are |
|
From: Jim B. <jb...@us...> - 2005-10-09 16:51:06
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26352 Modified Files: MainForm.c Nav5Way.rcp Log Message: Final v3.66 5-way nav tweaks. Index: MainForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainForm.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MainForm.c 30 Sep 2005 16:04:44 -0000 1.4 --- MainForm.c 9 Oct 2005 16:50:59 -0000 1.5 *************** *** 61,64 **** --- 61,65 ---- static Boolean HighlightTable(FormPtr formP, Boolean addHighlight); + static Boolean HighlightObject(FormPtr formP, UInt16 object); static Boolean RowNotLast(TablePtr tableP, Int16 row); *************** *** 68,71 **** --- 69,73 ---- static Boolean tblInteractive = false; static Int16 currentRow = 0; + static Boolean didCategoryChange = false; /*************************************** *************** *** 129,141 **** UInt16 i; UInt16 err; ! CustomPatternType pattern; CustomPatternType savedPattern; WinGetPattern ((CustomPatternType *) &savedPattern); ! for (i = 0; i < 8; i++) { ! pattern[i]= 0xAA; ! i++; ! pattern[i]= 0x55; } --- 131,145 ---- UInt16 i; UInt16 err; ! // CustomPatternType is 4 x 16 bits for OSVersion < 3.5, else it is ! // 8 x 8 bits. What a pain. ! // ! // CustomPatternType pattern; ! UInt16 pattern[4]; CustomPatternType savedPattern; WinGetPattern ((CustomPatternType *) &savedPattern); ! for (i = 0; i < 4; i++) { ! pattern[i]= 0xAA55; } *************** *** 396,399 **** --- 400,414 ---- MainFormLoadRecords(); TblRedrawTable (tableP); + + // If to is > from in DmMoveRecord, the record ends up at to - 1 + if (recordNum > selectedRecord) { + recordNum--; + } + if (TblFindRowID(tableP, recordNum, &selectedRow)) { + currentRow = selectedRow; + } + else { + currentRow = 0; + } } *************** *** 1790,1793 **** --- 1805,1814 ---- /* Display the new category */ + + // Set a flag so 5-way nav code in event handler can keep category + // pop-up selected instead of forcing table to be selected (consistent + // with memopad behavior). + didCategoryChange = true; + FrmUpdateForm(frmMainForm, updateRedrawAll); } *************** *** 2107,2110 **** --- 2128,2166 ---- /************************************************* + * HighlightObject: + * v 4.11 code, add highlights to catagory pop-up + * as needed due to 5-way navigation + ************************************************** + */ + static Boolean HighlightObject(FormPtr formP, UInt16 object) + { + UInt32 vers; + RectangleType r; + + // Check for navigation support and to get version # (of course + // we probably wouldn't be here if it weren't, but we need the + // version # anyway + if (FtrGet(hsFtrCreator, hsFtrIDNavigationSupported, &vers) != 0) { + return(false); + } + + FrmGetObjectBounds(formP, FrmGetObjectIndex(formP, object), &r); + + // Have to check feature version to know which function + // to use + if (vers == 1) { + HsNavDrawFocusRing(formP, object, + hsNavFocusRingNoExtraInfo, &r, + hsNavFocusRingStyleObjectTypeDefault, false); + } + else { + FrmNavDrawFocusRing(formP, object, + hsNavFocusRingNoExtraInfo, &r, + hsNavFocusRingStyleObjectTypeDefault, false); + } + return(true); + } + + /************************************************* * RowNotLast: * v 3.66 code, given a row in the currently *************** *** 2165,2172 **** // highlight it, and initialize interactive mode to false. if (handled) { - formP = FrmGetActiveForm(); tblInteractive = false; ! HighlightTable(formP, true); ! FrmSetFocus(formP, FrmGetObjectIndex(formP, tblMainRecordList)); } // End v3.66 5-way navigation code --- 2221,2240 ---- // highlight it, and initialize interactive mode to false. if (handled) { tblInteractive = false; ! formP = FrmGetActiveForm(); ! if (didCategoryChange) { ! tableP = FrmGetObjectPtr(formP, FrmGetObjectIndex(formP, ! tblMainRecordList)); ! topRecord = TblGetRowID(tableP, TblGlueGetTopRow(tableP)); ! HighlightObject(formP, popMainCategory); ! FrmSetFocus(formP, FrmGetObjectIndex(formP, ! popMainCategory)); ! didCategoryChange = false; ! } ! else { ! HighlightTable(formP, true); ! FrmSetFocus(formP, FrmGetObjectIndex(formP, ! tblMainRecordList)); ! } } // End v3.66 5-way navigation code *************** *** 2217,2221 **** --- 2285,2296 ---- */ case tblEnterEvent: + tableP = eventP->data.tblSelect.pTable; + if (tblInteractive) { + MainFormSelectTableItem(false, tableP, currentRow, 0, &r); + } + tblInteractive = true; + currentRow = eventP->data.tblSelect.row; MainFormDragMemo(eventP); + MainFormSelectTableItem(true, tableP, currentRow, 0, &r); handled = true; break; Index: Nav5Way.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Nav5Way.rcp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Nav5Way.rcp 30 Sep 2005 16:04:44 -0000 1.1 --- Nav5Way.rcp 9 Oct 2005 16:50:59 -0000 1.2 *************** *** 17,26 **** NAVIGATION ID frmEditForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState ! INITIALOBJECTID fldEditText ! JUMPOBJECTID fldEditText BOTTOMLEFTOBJECTID btnEditTerminate NAVIGATIONMAP ROW popEditCategory ! ROW fldEditText FORCEINTERACTION ROW btnEditTerminate btnEditDetails --- 17,26 ---- NAVIGATION ID frmEditForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState ! INITIALOBJECTID btnEditTerminate ! JUMPOBJECTID btnEditTerminate BOTTOMLEFTOBJECTID btnEditTerminate NAVIGATIONMAP ROW popEditCategory ! ROW fldEditText ROW btnEditTerminate btnEditDetails |
|
From: Jim B. <jb...@us...> - 2005-10-09 16:49:09
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26170 Modified Files: Makefile Log Message: Added dependency for Nav5Way.rcp. Index: Makefile =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile 30 Sep 2005 16:04:44 -0000 1.4 --- Makefile 9 Oct 2005 16:49:02 -0000 1.5 *************** *** 52,56 **** # touch code.stamp ! bin.stamp: Main$(LOC).rcp $(PILRC) Main$(LOC).rcp touch bin.stamp --- 52,56 ---- # touch code.stamp ! bin.stamp: Main$(LOC).rcp Nav5Way.rcp $(PILRC) Main$(LOC).rcp touch bin.stamp |
|
From: Jim B. <jb...@us...> - 2005-10-09 16:47:06
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25758 Modified Files: MainDe.rcp MainEn.rcp MainFr.rcp MainSP.rcp MainTr.rcp Added Files: Appico1.bmp Appico2.bmp Appico8.bmp Smallico1.bmp Smallico2.bmp Smallico8.bmp Log Message: Incorporated 4.x color icons. --- NEW FILE: Appico1.bmp --- BM¾ --- NEW FILE: Appico2.bmp --- BMv r --- NEW FILE: Appico8.bmp --- BM6 r --- NEW FILE: Smallico1.bmp --- BMb --- NEW FILE: Smallico2.bmp --- BMÀ --- NEW FILE: Smallico8.bmp --- BMÜ Index: MainDe.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainDe.rcp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MainDe.rcp 30 Sep 2005 16:04:44 -0000 1.3 --- MainDe.rcp 9 Oct 2005 16:46:59 -0000 1.4 *************** *** 11,16 **** */ ! ICON "appico.bmp" ! SMALLICON "smallico.bmp" VERSION 1 "3.66" --- 11,16 ---- */ ! ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" ! SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" VERSION 1 "3.66" Index: MainEn.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainEn.rcp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MainEn.rcp 30 Sep 2005 16:04:44 -0000 1.3 --- MainEn.rcp 9 Oct 2005 16:46:59 -0000 1.4 *************** *** 4,9 **** #include "Nav5Way.rcp" ! ICON "appico.bmp" ! SMALLICON "smallico.bmp" VERSION ID 1 "3.66" --- 4,9 ---- #include "Nav5Way.rcp" ! ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" ! SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" VERSION ID 1 "3.66" Index: MainFr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainFr.rcp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MainFr.rcp 30 Sep 2005 16:04:44 -0000 1.3 --- MainFr.rcp 9 Oct 2005 16:46:59 -0000 1.4 *************** *** 4,9 **** #include "Nav5Way.rcp" ! ICON "appico.bmp" ! SMALLICON "smallico.bmp" VERSION 1 "3.66" --- 4,9 ---- #include "Nav5Way.rcp" ! ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" ! SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" VERSION 1 "3.66" Index: MainSP.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainSP.rcp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** MainSP.rcp 30 Sep 2005 16:04:44 -0000 1.4 --- MainSP.rcp 9 Oct 2005 16:46:59 -0000 1.5 *************** *** 11,16 **** */ ! ICON "appico.bmp" ! SMALLICON "smallico.bmp" VERSION ID 1 "3.66" --- 11,16 ---- */ ! ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" ! SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" VERSION ID 1 "3.66" Index: MainTr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainTr.rcp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MainTr.rcp 30 Sep 2005 16:04:44 -0000 1.3 --- MainTr.rcp 9 Oct 2005 16:46:59 -0000 1.4 *************** *** 11,16 **** */ ! ICON "appico.bmp" ! SMALLICON "smallico.bmp" VERSION ID 1 "3.66" --- 11,16 ---- */ ! ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" ! SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" VERSION ID 1 "3.66" |
Update of /cvsroot/cryptopad/cryptopad_classic/v3/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22945 Modified Files: MainDe.rcp MainEn.rcp MainForm.c MainFr.rcp MainSP.rcp MainTr.rcp Makefile Added Files: Nav5Way.rcp Log Message: 5-way navigation support (v3.66). --- NEW FILE: Nav5Way.rcp --- // $Header: /cvsroot/cryptopad/cryptopad_classic/v3/src/Nav5Way.rcp,v 1.1 2005/09/30 16:04:44 jbauman Exp $ #define kFrmNavHeaderFlagsObjectFocusStartState 0x00000001 #define kFrmNavHeaderFlagsAppFocusStartState 0x00000002 NAVIGATION ID frmMainForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID tblMainRecordList JUMPOBJECTID tblMainRecordList BOTTOMLEFTOBJECTID btnMainNewMemo NAVIGATIONMAP ROW popMainCategory ROW tblMainRecordList ROW btnMainNewMemo END NAVIGATION ID frmEditForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID fldEditText JUMPOBJECTID fldEditText BOTTOMLEFTOBJECTID btnEditTerminate NAVIGATIONMAP ROW popEditCategory ROW fldEditText FORCEINTERACTION ROW btnEditTerminate btnEditDetails END NAVIGATION ID frmPasswordForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID fldPasswordText JUMPOBJECTID fldPasswordText BOTTOMLEFTOBJECTID btnPasswordOK NAVIGATIONMAP ROW fldPasswordText FORCEINTERACTION ROW btnPasswordOK btnPasswordCancel btnPasswordForget END NAVIGATION ID frmQueryGlobalPasswordForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID fldQueryGlobalPasswordText JUMPOBJECTID fldQueryGlobalPasswordText BOTTOMLEFTOBJECTID btnQueryGlobalPasswordOK NAVIGATIONMAP ROW fldQueryGlobalPasswordText FORCEINTERACTION ROW btnQueryGlobalPasswordOK btnQueryGlobalPasswordCancel END NAVIGATION ID frmConfirmGlobalPasswordForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID fldSetAndChangeGlobalPasswordText JUMPOBJECTID fldSetAndChangeGlobalPasswordText BOTTOMLEFTOBJECTID btnConfirmGlobalPasswordOK NAVIGATIONMAP ROW fldSetAndChangeGlobalPasswordText FORCEINTERACTION ROW btnConfirmGlobalPasswordOK btnSetAndChangeGlobalPasswordCancel END NAVIGATION ID frmSetGlobalPasswordForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID fldSetAndChangeGlobalPasswordText JUMPOBJECTID fldSetAndChangeGlobalPasswordText BOTTOMLEFTOBJECTID btnSetAndChangeGlobalPasswordOK NAVIGATIONMAP ROW fldSetAndChangeGlobalPasswordText FORCEINTERACTION ROW btnSetAndChangeGlobalPasswordOK btnSetAndChangeGlobalPasswordCancel END NAVIGATION ID frmChangeGlobalPasswordForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID fldSetAndChangeGlobalPasswordText JUMPOBJECTID fldSetAndChangeGlobalPasswordText BOTTOMLEFTOBJECTID btnSetAndChangeGlobalPasswordOK NAVIGATIONMAP ROW fldSetAndChangeGlobalPasswordText FORCEINTERACTION ROW btnSetAndChangeGlobalPasswordOK btnSetAndChangeGlobalPasswordCancel btnChangeGlobalPasswordDelete END NAVIGATION ID frmPrefsForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState INITIALOBJECTID btnPrefsOK JUMPOBJECTID btnPrefsOK BOTTOMLEFTOBJECTID btnPrefsOK NAVIGATIONMAP ROW popPrefsSortOrder ROW chkPrefsMoveRecordOnTop ROW chkPrefsShowLines ROW chkPrefsUseSingleFont ROW popPrefsRotateOrder ROW selPrefsGlobalPassword ROW btnPrefsForgotten ROW btnPrefsOK btnPrefsCancel END // Default behavior is fine for these... // NAVIGATION ID frmDeleteForm Index: MainDe.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainDe.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainDe.rcp 10 Sep 2005 22:05:36 -0000 1.2 --- MainDe.rcp 30 Sep 2005 16:04:44 -0000 1.3 *************** *** 1,3 **** --- 1,6 ---- + // $Header$ + #include "MainRsc.h" + #include "Nav5Way.rcp" /********************************** *************** *** 11,15 **** SMALLICON "smallico.bmp" ! VERSION 1 "3.65" FORM ID frmMainForm AT (0 0 160 160) --- 14,18 ---- SMALLICON "smallico.bmp" ! VERSION 1 "3.66" FORM ID frmMainForm AT (0 0 160 160) *************** *** 301,305 **** TITLE "_ber CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.65" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) --- 304,308 ---- TITLE "_ber CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.66" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) Index: MainEn.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainEn.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainEn.rcp 10 Sep 2005 22:05:36 -0000 1.2 --- MainEn.rcp 30 Sep 2005 16:04:44 -0000 1.3 *************** *** 1,8 **** #include "MainRsc.h" ICON "appico.bmp" SMALLICON "smallico.bmp" ! VERSION ID 1 "3.65" FORM ID frmMainForm AT (0 0 160 160) --- 1,11 ---- + // $Header$ + #include "MainRsc.h" + #include "Nav5Way.rcp" ICON "appico.bmp" SMALLICON "smallico.bmp" ! VERSION ID 1 "3.66" FORM ID frmMainForm AT (0 0 160 160) *************** *** 293,297 **** TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.65" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) --- 296,300 ---- TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.66" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) Index: MainForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainForm.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MainForm.c 10 Sep 2005 22:05:36 -0000 1.3 --- MainForm.c 30 Sep 2005 16:04:44 -0000 1.4 *************** *** 1,2 **** --- 1,9 ---- + // $Header$ + + // This needs to be included before PalmUtils.h, or #defines there hose + // declarations in the stuff included here. + #include <palmOne_68K.h> + #include <68K/System/HsExt.h> + #include "MainForm.h" #include "Database.h" *************** *** 12,15 **** --- 19,23 ---- static WinHandle MainFormInvertMoveIndicator(RectanglePtr, WinHandle, Boolean); static void MainFormDragMemo(EventPtr); + static void MainFormEditRecord(TablePtr tableP, Int16 row); static void MainFormSelectTableItem (Boolean, TablePtr, Int16, Int16, RectangleType *r); static void MainFormEnterTableItem(void); *************** *** 44,58 **** static void MainFormUpdateScrollBar(void); static Boolean MainFormUpdateDisplay(UInt16); ! static void MainFormScrollLines(Int16); ! static void MainFormScrollPage(WinDirectionType); static Boolean MainFormSeekRecord (UInt16* , Int16, Int16); static UInt16 MainFormGotFirstCryptoPadRow(TablePtr); - static void MainFormDragMemo(EventPtr); static void MainFormHandleMenuEvent(UInt16); static UInt16 recordDB; /*************************************** * MainFormSeekRecord: --- 52,72 ---- static void MainFormUpdateScrollBar(void); static Boolean MainFormUpdateDisplay(UInt16); ! static Boolean MainFormScrollLines(Int16); ! static Boolean MainFormScrollPage(WinDirectionType); static Boolean MainFormSeekRecord (UInt16* , Int16, Int16); static UInt16 MainFormGotFirstCryptoPadRow(TablePtr); static void MainFormHandleMenuEvent(UInt16); + static Boolean HighlightTable(FormPtr formP, Boolean addHighlight); + static Boolean RowNotLast(TablePtr tableP, Int16 row); + static UInt16 recordDB; + // Newly added for 5-way navigation support as of v 3.66 + static Boolean tblInteractive = false; + static Int16 currentRow = 0; + /*************************************** * MainFormSeekRecord: *************** *** 389,416 **** else if (sortOrder != soAlphabetic || selected) { ! currentRecord = TblGetRowID(tableP, row); ! currentDB = TblGetItemInt(tableP, row, kRecordColumn); ! editScrollPosition = 0; ! // Get the category and secret attribute of the current record. ! DmRecordInfo (currentDBRef, currentRecord, &recAttributes, NULL, NULL); ! // If this is a "private" record, then determine what is to be shown. ! if (recAttributes & dmRecAttrSecret) { ! switch (PrivateRecordVisualStatus) { ! case showPrivateRecords: ! MainFormEnterTableItem(); ! break; ! case maskPrivateRecords: ! if (SecVerifyPW (showPrivateRecords) == true) { ! PrivateRecordVisualStatus = showPrivateRecords; ! MainFormEnterTableItem(); ! } ! break; ! } ! } else MainFormEnterTableItem(); ! } } --- 403,445 ---- else if (sortOrder != soAlphabetic || selected) { ! MainFormEditRecord(tableP, row); ! } ! } ! /****************************************** ! * MainFormEditRecord: ! * v3.66: carved out code for entering a ! * record for edit into separate function ! * so it could be conveniently used in ! * 5-way nav code. ! ****************************************** ! */ ! static void MainFormEditRecord(TablePtr tableP, Int16 row) ! { ! UInt16 recAttributes; ! currentRecord = TblGetRowID(tableP, row); ! currentDB = TblGetItemInt(tableP, row, kRecordColumn); ! editScrollPosition = 0; ! ! // Get the category and secret attribute of the current record. ! DmRecordInfo (currentDBRef, currentRecord, &recAttributes, NULL, NULL); ! ! // If this is a "private" record, then determine what is to be shown. ! if (recAttributes & dmRecAttrSecret) { ! switch (PrivateRecordVisualStatus) { ! case showPrivateRecords: ! MainFormEnterTableItem(); ! break; ! case maskPrivateRecords: ! if (SecVerifyPW (showPrivateRecords) == true) { ! PrivateRecordVisualStatus = showPrivateRecords; ! MainFormEnterTableItem(); ! } ! break; ! } ! } else MainFormEnterTableItem(); } *************** *** 1839,1847 **** * MainFormScrollLines: * Scrolls the table nLines up (negative) ! * or down (positive). ****************************************** */ ! static void MainFormScrollLines(Int16 nLines) { TablePtr tableP; --- 1868,1882 ---- * MainFormScrollLines: * Scrolls the table nLines up (negative) ! * or down (positive). Edited for v3.66 ! * to return a boolean that indicates if ! * there was any movement for a negative ! * scroll value (positive scroll values ! * always return true whether there was ! * a change or not, unfortunate side ! * effect of how this stuff is done). ****************************************** */ ! static Boolean MainFormScrollLines(Int16 nLines) { TablePtr tableP; *************** *** 1853,1856 **** --- 1888,1893 ---- MemHandle record; + Boolean didMove = false; + if (nLines < 0) { nLines = -nLines; *************** *** 1867,1870 **** --- 1904,1908 ---- if (record == 0) break; + didMove = true; } *************** *** 1878,1881 **** --- 1916,1921 ---- TblRedrawTable(tableP); + + return(didMove); } *************** *** 1884,1892 **** * MainFormScrollPage: * Scrolls the table one full page in ! * the given direction. ****************************************** */ ! static void MainFormScrollPage(WinDirectionType direction) { TablePtr tableP; --- 1924,1938 ---- * MainFormScrollPage: * Scrolls the table one full page in ! * the given direction. Edited for v3.66 ! * to return a boolean that indicates if ! * there was any movement for a negative ! * scroll value (positive scroll values ! * always return true whether there was ! * a change or not, unfortunate side ! * effect of how this stuff is done). ****************************************** */ ! static Boolean MainFormScrollPage(WinDirectionType direction) { TablePtr tableP; *************** *** 1897,1902 **** if (direction == winUp) ! MainFormScrollLines(-nRows + 1); ! else MainFormScrollLines(nRows - 1); } --- 1943,1948 ---- if (direction == winUp) ! return(MainFormScrollLines(-nRows + 1)); ! else return(MainFormScrollLines(nRows - 1)); } *************** *** 2015,2021 **** --- 2061,2137 ---- } + /************************************************* + * HighlightTable: + * v 3.66 code, add or remove highlights from + * main table as needed due to 5-way navigation + ************************************************** + */ + static Boolean HighlightTable(FormPtr formP, Boolean addHighlight) + { + UInt32 vers; + RectangleType r; + + // Check for navigation support and to get version # (of course + // we probably wouldn't be here if it weren't, but we need the + // version # anyway + if (FtrGet(hsFtrCreator, hsFtrIDNavigationSupported, &vers) != 0) { + return(false); + } + // Have to check feature version to know which function + // to use + if (addHighlight) { + FrmGetObjectBounds(formP, FrmGetObjectIndex(formP, + tblMainRecordList), &r); + r.extent.x = 160; // set to full width of form + if (vers == 1) { + HsNavDrawFocusRing(formP, tblMainRecordList, + hsNavFocusRingNoExtraInfo, &r, + hsNavFocusRingStyleHorizontalBars, false); + } + else { + FrmNavDrawFocusRing(formP, tblMainRecordList, + hsNavFocusRingNoExtraInfo, &r, + hsNavFocusRingStyleHorizontalBars, false); + } + } + else { + if (vers == 1) { + HsNavRemoveFocusRing(formP); + } + else { + FrmNavRemoveFocusRing(formP); + } + } + return(true); + } + + /************************************************* + * RowNotLast: + * v 3.66 code, given a row in the currently + * visible table, are there any usable records + * beyond it? + ************************************************** + */ + static Boolean RowNotLast(TablePtr tableP, Int16 row) + { + UInt16 recordNum; + MemHandle record; + + recordNum = TblGetRowID(tableP, row); + currentDB = TblGetItemInt(tableP, row, kRecordColumn); + record = MainFormGetNextRecord(&recordNum); + if (record) { + return(true); + } + return(false); + } + Boolean MainFormHandleEvent(EventPtr eventP) { Boolean handled = false; + FormPtr formP; + TablePtr tableP; + RectangleType r; + Int16 lastRow; switch (eventP->eType) { *************** *** 2045,2048 **** --- 2161,2174 ---- case frmUpdateEvent: handled = MainFormUpdateDisplay (eventP->data.frmUpdate.updateCode); + // Begin v3.66 5-way navigation code + // Upon entering the main form, we need to set focus on table, + // highlight it, and initialize interactive mode to false. + if (handled) { + formP = FrmGetActiveForm(); + tblInteractive = false; + HighlightTable(formP, true); + FrmSetFocus(formP, FrmGetObjectIndex(formP, tblMainRecordList)); + } + // End v3.66 5-way navigation code break; *************** *** 2064,2067 **** --- 2190,2216 ---- break; + // Begin v3.66 5-way navigation code + case frmObjectFocusTakeEvent: + if (eventP->data.frmObjectFocusTake.objectID == tblMainRecordList) { + formP = FrmGetFormPtr(eventP->data.frmObjectFocusTake.formID); + if (! tblInteractive) { + HighlightTable(formP, true); + } + else { + tableP = FrmGetObjectPtr(formP, FrmGetObjectIndex(formP, + tblMainRecordList)); + MainFormSelectTableItem(true, tableP, currentRow, 0, &r); + } + FrmSetFocus(formP, FrmGetObjectIndex(formP, tblMainRecordList)); + handled = true; + } + break; + + /* + case frmObjectFocusLostEvent: + if (eventP->data.frmObjectFocusLost.objectID == tblMainRecordList) { + */ + // End v3.66 5-way navigation code + /* A record has been tapped in the table * or drag the memo with the stylus *************** *** 2106,2109 **** --- 2255,2364 ---- handled = true; } + + // Begin v3.66 5-way navigation code + // Here we handle vchrRocker* events, which presumably only + // happen when there is are 5-way nav buttons on the device. + // We only need to handle rocker key events if the table has + // focus. The rest of the 5-way stuff is covered automatically + // by the system software. + + else { + formP = FrmGetActiveForm(); + tableP = FrmGetObjectPtr(formP, FrmGetObjectIndex(formP, + tblMainRecordList)); + if (FrmGetObjectId(formP, FrmGetFocus(formP)) == + tblMainRecordList) { + if (! tblInteractive) { + // up key presed? + if (eventP->data.keyDown.chr == vchrRockerUp) { + // If scrolling actually moved us, then + // we handle the event, otherwise, we let + // it flow through and focus moves on. + handled = MainFormScrollPage(winUp); + } + else if (eventP->data.keyDown.chr == + vchrRockerDown) { + // Make sure we are not already at the end + // of the table. If so, we let the system + // handle the event and focus moves on to the + // "new" button. + lastRow = TblGetLastUsableRow(tableP); + if (RowNotLast(tableP, lastRow)) { + MainFormScrollPage(winDown); + handled = true; + } + } + else if (eventP->data.keyDown.chr == + vchrRockerCenter) { + tblInteractive = true; + HighlightTable(formP, false); + currentRow = TblGlueGetTopRow(tableP); + MainFormSelectTableItem(true, tableP, + currentRow, 0, &r); + handled = true; + } + } + else { + if (eventP->data.keyDown.chr == vchrRockerUp) { + // If scrolling actually moved us, then + // we handle the event, otherwise, we let + // it flow through and focus moves on. + if (currentRow == TblGlueGetTopRow(tableP)) { + handled = MainFormScrollLines(-1); + if (handled) { + MainFormSelectTableItem(true, tableP, + currentRow, 0, &r); + } + } + else { + MainFormSelectTableItem(false, tableP, + currentRow, 0, &r); + currentRow--; + MainFormSelectTableItem(true, tableP, + currentRow, 0, &r); + handled = true; + } + } + else if (eventP->data.keyDown.chr == + vchrRockerDown) { + // Make sure we are not already at the end + // of the table. If so, we let the system + // handle the event and focus moves on to the + // "new" button. + MainFormSelectTableItem(false, tableP, + currentRow, 0, &r); + if (RowNotLast(tableP, currentRow)) { + lastRow = TblGetLastUsableRow(tableP); + if ((currentRow < lastRow) && + (lastRow != tblUnusableRow)) { + currentRow++; + MainFormSelectTableItem(true, tableP, + currentRow, 0, &r); + } + else { + MainFormScrollLines(1); + MainFormSelectTableItem(true, + tableP, currentRow, 0, &r); + } + handled = true; + } + } + else if (eventP->data.keyDown.chr == + vchrRockerLeft) { + tblInteractive = false; + HighlightTable(formP, true); + MainFormSelectTableItem(false, tableP, + currentRow, 0, &r); + handled = true; + } + else if (eventP->data.keyDown.chr == + vchrRockerCenter) { + MainFormEditRecord(tableP, currentRow); + handled = true; + } + } + } + } + // End v3.66 5-way navigation code } Index: MainFr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainFr.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainFr.rcp 10 Sep 2005 22:05:36 -0000 1.2 --- MainFr.rcp 30 Sep 2005 16:04:44 -0000 1.3 *************** *** 1,8 **** #include "MainRsc.h" ICON "appico.bmp" SMALLICON "smallico.bmp" ! VERSION 1 "3.65" FORM ID frmMainForm AT (0 0 160 160) --- 1,11 ---- + // $Header$ + #include "MainRsc.h" + #include "Nav5Way.rcp" ICON "appico.bmp" SMALLICON "smallico.bmp" ! VERSION 1 "3.66" FORM ID frmMainForm AT (0 0 160 160) *************** *** 313,317 **** TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.65" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (PrevLeft 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) --- 316,320 ---- TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.66" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (PrevLeft 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) Index: MainSP.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainSP.rcp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MainSP.rcp 10 Sep 2005 22:05:36 -0000 1.3 --- MainSP.rcp 30 Sep 2005 16:04:44 -0000 1.4 *************** *** 1,3 **** --- 1,6 ---- + // $Header$ + #include "MainRsc.h" + #include "Nav5Way.rcp" /********************************** *************** *** 11,15 **** SMALLICON "smallico.bmp" ! VERSION ID 1 "3.65" FORM ID frmMainForm AT (0 0 160 160) --- 14,18 ---- SMALLICON "smallico.bmp" ! VERSION ID 1 "3.66" FORM ID frmMainForm AT (0 0 160 160) *************** *** 309,313 **** TITLE "Acerca de CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.65" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (PrevLeft 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) --- 312,316 ---- TITLE "Acerca de CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.66" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (PrevLeft 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) Index: MainTr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainTr.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainTr.rcp 10 Sep 2005 22:05:36 -0000 1.2 --- MainTr.rcp 30 Sep 2005 16:04:44 -0000 1.3 *************** *** 1,3 **** --- 1,6 ---- + // $Header$ + #include "MainRsc.h" + #include "Nav5Way.rcp" /********************************** *************** *** 11,15 **** SMALLICON "smallico.bmp" ! VERSION ID 1 "3.65" FORM ID frmMainForm AT (0 0 160 160) --- 14,18 ---- SMALLICON "smallico.bmp" ! VERSION ID 1 "3.66" FORM ID frmMainForm AT (0 0 160 160) *************** *** 311,315 **** TITLE "CryptoPad Hakkýnda" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.65" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) --- 314,318 ---- TITLE "CryptoPad Hakkýnda" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.66" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) Index: Makefile =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 10 Sep 2005 22:05:36 -0000 1.3 --- Makefile 30 Sep 2005 16:04:44 -0000 1.4 *************** *** 1,5 **** LOC = En ! VERSION = 3.65 EXE = CryptoPad --- 1,7 ---- + # $Header$ + LOC = En ! VERSION = 3.66 EXE = CryptoPad *************** *** 14,18 **** DEFINES = -D_MULTISEGMENT ! INCLUDES = # CFLAGS = -O2 -g $(DEFINES) $(INCLUDES) --- 16,20 ---- DEFINES = -D_MULTISEGMENT ! INCLUDES = -I/opt/palmdev/palmOneSDK/Incs # CFLAGS = -O2 -g $(DEFINES) $(INCLUDES) *************** *** 61,65 **** $(EXE): $(OBJS) $(EXE)-sections.ld ! $(CC) $(CFLAGS) $(OBJS) $(EXE)-sections.ld -o $@ # clean: --- 63,67 ---- $(EXE): $(OBJS) $(EXE)-sections.ld ! $(CC) $(CFLAGS) $(OBJS) $(EXE)-sections.ld -o $@ -lPalmOSGlue # clean: |
|
From: Jim B. <jb...@us...> - 2005-09-12 04:02:00
|
Update of /cvsroot/cryptopad/cryptopad_classic/v4 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21903 Modified Files: Changelogs.txt Log Message: Fixed typo in notes about v4.10. Index: Changelogs.txt =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/Changelogs.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Changelogs.txt 11 Sep 2005 00:14:03 -0000 1.2 --- Changelogs.txt 12 Sep 2005 04:01:53 -0000 1.3 *************** *** 4,8 **** * Fix crashing on newer devices, including Treo 650, by first checking for new format of memopad database. Should be functionally ! equivalent to 4.10. 30-09-2001 4.09 --- 4,8 ---- * Fix crashing on newer devices, including Treo 650, by first checking for new format of memopad database. Should be functionally ! equivalent to 4.09. 30-09-2001 4.09 |
|
From: Jim B. <jb...@us...> - 2005-09-11 00:14:12
|
Update of /cvsroot/cryptopad/cryptopad_classic/v4 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28231 Modified Files: Changelogs.txt Log Message: Added entries for v4.10 and v3.65. Index: Changelogs.txt =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/Changelogs.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Changelogs.txt 10 Sep 2005 23:24:42 -0000 1.1 --- Changelogs.txt 11 Sep 2005 00:14:03 -0000 1.2 *************** *** 1,4 **** ! Be careful, it is still beta version (before the 4.1 version that, i hope will have no problem !!!). ! Don't hesitate to report me any trouble you may have. 30-09-2001 4.09 --- 1,8 ---- ! Be careful, it is still beta version. ! ! 10-09-2005 4.10 ! * Fix crashing on newer devices, including Treo 650, by first checking ! for new format of memopad database. Should be functionally ! equivalent to 4.10. 30-09-2001 4.09 *************** *** 98,101 **** --- 102,112 ---- in the edit form within memos with the up-down hard keys. + 10-Sep-2005 3.65 + * Restarting with 3.63 code, so changes between 3.63 and 3.64 are + lost (from comments below, this appears to be minor). + * Fix crashing on newer devices, including Treo 650, by first checking + for new format of memopad database. Should be functionally + equivalent to 3.63. + 13-Nov-2000 3.64 * Display now the icons (small and normal) in gray levels if users *************** *** 380,382 **** 09-Nov-1999: 0.99b ! Pre-version. \ No newline at end of file --- 391,393 ---- 09-Nov-1999: 0.99b ! Pre-version. |
Update of /cvsroot/cryptopad/cryptopad_classic/v4/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26230 Modified Files: Beam.c Database.c Database.h MainDe.rcp MainEn.rcp MainForm.c MainFr.rcp MainIt.rcp MainTr.rcp Makefile Log Message: v4.10 code (hopefully). One functional change: new code attempts to access memopad DB via creator ID "PMem" first, and only if that fails does it try "memo." This appears to solve the crashing problems on the Treo 650. Also pushed Beam code into an separate section to solve the 32K code limit problem, and updated Makefile to target sdk5r4 (which required a few minor code tweaks). Index: Beam.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/Beam.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Beam.c 10 Sep 2005 23:56:15 -0000 1.3 --- Beam.c 11 Sep 2005 00:06:03 -0000 1.4 *************** *** 58,62 **** exgSocket.length = descriptionSize; // rough guess ! exgSocket.target = memoPadCreator; if (descriptionSize > 0) { --- 58,67 ---- exgSocket.length = descriptionSize; // rough guess ! if (newMemoDB) { ! exgSocket.target = memoPadCreatorNew; ! } ! else { ! exgSocket.target = memoPadCreator; ! } if (descriptionSize > 0) { *************** *** 202,206 **** exgSocket.length = 0; // rough guess ! exgSocket.target = memoPadCreator; error = ExgPut(&exgSocket); // put data to destination --- 207,216 ---- exgSocket.length = 0; // rough guess ! if (newMemoDB) { ! exgSocket.target = memoPadCreatorNew; ! } ! else { ! exgSocket.target = memoPadCreator; ! } error = ExgPut(&exgSocket); // put data to destination Index: Database.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/Database.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Database.c 10 Sep 2005 23:34:38 -0000 1.2 --- Database.c 11 Sep 2005 00:06:03 -0000 1.3 *************** *** 13,16 **** --- 13,21 ---- DmOpenRef dbMemoPadRef; + // Added this flag to allow other places (notably Beam.c) to decide which + // MemoDB creator to target) + + Boolean newMemoDB = true; + UInt16 currentForm; UInt16 currentCategory; *************** *** 61,65 **** /* Open the database */ ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreator, mode); ErrFatalDisplayIf(dbReference == 0, "Unable to open MemoPadDB !"); --- 66,76 ---- /* Open the database */ ! // First try to open the new "Memos" database, and fallback on the old ! // format if it can't be found. ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreatorNew, mode); ! if (! dbReference) { ! newMemoDB = false; ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreator, mode); ! } ErrFatalDisplayIf(dbReference == 0, "Unable to open MemoPadDB !"); *************** *** 1316,1321 **** --- 1327,1338 ---- UInt16 index; + // First try to open the new "Memos" database, and fallback on the old + // format if it can't be found. err = DmGetNextDatabaseByTypeCreator (true, &searchState, memoPadType, + memoPadCreatorNew, true, &cardNum, &memoPadDbID); + if (err == dmErrCantFind) { + err = DmGetNextDatabaseByTypeCreator (true, &searchState, memoPadType, memoPadCreator, true, &cardNum, &memoPadDbID); + } err2 = DmGetNextDatabaseByTypeCreator (true, &searchState, cryptoPadType, cryptoPadCreator, true, &cardNum, &cryptoPadDbID); Index: Database.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/Database.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Database.h 10 Sep 2005 23:34:38 -0000 1.2 --- Database.h 11 Sep 2005 00:06:03 -0000 1.3 *************** *** 16,19 **** --- 16,20 ---- #define memoPadType 'DATA' #define memoPadCreator 'memo' + #define memoPadCreatorNew 'PMem' #define memoPadDB 0 *************** *** 230,233 **** --- 231,239 ---- extern DmOpenRef dbCryptoPadRef; /* Database */ extern DmOpenRef dbMemoPadRef; /* Database */ + + // Added this flag to allow other places (notably Beam.c) to decide which + // MemoDB creator to target) + + extern Boolean newMemoDB; extern UInt16 currentForm; Index: MainDe.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/MainDe.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainDe.rcp 10 Sep 2005 23:34:38 -0000 1.2 --- MainDe.rcp 11 Sep 2005 00:06:03 -0000 1.3 *************** *** 9,13 **** SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.09" FORM ID frmMainForm AT (0 0 160 160) --- 9,13 ---- SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.10" FORM ID frmMainForm AT (0 0 160 160) *************** *** 385,392 **** TITLE "CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.09" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "cry...@jl..." AUTOID AT (5 43) ! LABEL "max...@fr..." AUTOID AT (5 54) LABEL "Beinhaltet Verschlüsselungssoft-" AUTOID AT (5 69) LABEL "ware geschrieben von Eric Young." AUTOID AT (5 80) --- 385,391 ---- TITLE "CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.10" AUTOID AT (32 16) FONT 1 LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 43) LABEL "Beinhaltet Verschlüsselungssoft-" AUTOID AT (5 69) LABEL "ware geschrieben von Eric Young." AUTOID AT (5 80) Index: MainEn.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/MainEn.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainEn.rcp 10 Sep 2005 23:34:38 -0000 1.2 --- MainEn.rcp 11 Sep 2005 00:06:03 -0000 1.3 *************** *** 3,7 **** ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.09" FORM ID frmMainForm AT (0 0 160 160) --- 3,7 ---- ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.10" FORM ID frmMainForm AT (0 0 160 160) *************** *** 394,404 **** TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.09" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "cry...@jl..." AUTOID AT (5 50) ! LABEL "max...@fr..." AUTOID AT (5 61) ! LABEL "Contains cryptographic software" AUTOID AT (5 76) ! LABEL "written by Eric Young." AUTOID AT (5 87) ! BUTTON "OK" AUTOID AT (60 106 38 AUTO) END --- 394,403 ---- TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.10" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) ! LABEL "Contains cryptographic software" AUTOID AT (5 76) ! LABEL "written by Eric Young." AUTOID AT (5 87) ! BUTTON "OK" AUTOID AT (60 106 38 AUTO) END Index: MainForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/MainForm.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MainForm.c 10 Sep 2005 23:56:15 -0000 1.3 --- MainForm.c 11 Sep 2005 00:06:03 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- #include "blowfish.h" #include "Beam.h" + #include <PalmUtils.h> #include <SysEvtMgr.h> Index: MainFr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/MainFr.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainFr.rcp 10 Sep 2005 23:34:38 -0000 1.2 --- MainFr.rcp 11 Sep 2005 00:06:03 -0000 1.3 *************** *** 4,8 **** SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" TRANSPARENTINDEX 255 ! VERSION 1 "4.09" FORM ID frmMainForm AT (0 0 160 160) --- 4,8 ---- SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" TRANSPARENTINDEX 255 ! VERSION 1 "4.10" FORM ID frmMainForm AT (0 0 160 160) *************** *** 407,417 **** TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.09" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (PrevLeft 27) FONT 1 ! LABEL "cry...@jl..." AUTOID AT (5 50) ! LABEL "max...@fr..." AUTOID AT (PrevLeft PrevTop+11) ! LABEL "Tous droits réservés par Eric Young" AUTOID AT (PrevLeft PrevTop+15) ! LABEL "pour les routines de cryptage." AUTOID AT (PrevLeft PrevTop+11) ! BUTTON "OK" AUTOID AT (60 104 40 AUTO) END --- 407,416 ---- TITLE "About CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.10" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) ! LABEL "Tous droits réservés par Eric Young" AUTOID AT (PrevLeft PrevTop+15) ! LABEL "pour les routines de cryptage." AUTOID AT (PrevLeft PrevTop+11) ! BUTTON "OK" AUTOID AT (60 104 40 AUTO) END Index: MainIt.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/MainIt.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainIt.rcp 10 Sep 2005 23:34:38 -0000 1.2 --- MainIt.rcp 11 Sep 2005 00:06:03 -0000 1.3 *************** *** 3,7 **** ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.09" FORM ID frmMainForm AT (0 0 160 160) --- 3,7 ---- ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.10" FORM ID frmMainForm AT (0 0 160 160) *************** *** 387,399 **** HELPID strAboutHelpString BEGIN ! TITLE "Informazioni su CryptoPad" ! FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.09" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "cry...@jl..." AUTOID AT (5 50) ! LABEL "max...@fr..." AUTOID AT (5 61) ! LABEL "Contiene software criptografico" AUTOID AT (5 76) ! LABEL "scritto da Eric Young." AUTOID AT (5 87) ! BUTTON "OK" AUTOID AT (60 106 38 AUTO) END --- 387,398 ---- HELPID strAboutHelpString BEGIN ! TITLE "Informazioni su CryptoPad" ! FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.10" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) ! LABEL "Contiene software criptografico" AUTOID AT (5 76) ! LABEL "scritto da Eric Young." AUTOID AT (5 87) ! BUTTON "OK" AUTOID AT (60 106 38 AUTO) END Index: MainTr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/MainTr.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainTr.rcp 10 Sep 2005 23:34:38 -0000 1.2 --- MainTr.rcp 11 Sep 2005 00:06:03 -0000 1.3 *************** *** 10,14 **** ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.09" FORM ID frmMainForm AT (0 0 160 160) --- 10,14 ---- ICONFAMILY "Appico1.bmp" "Appico2.bmp" "" "Appico8.bmp" SMALLICONFAMILY "Smallico1.bmp" "Smallico2.bmp" "" "Smallico8.bmp" ! VERSION ID 1 "4.10" FORM ID frmMainForm AT (0 0 160 160) *************** *** 404,416 **** TITLE "CryptoPad Hakkýnda" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.64" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "jla...@ec..." AUTOID AT (5 50) ! LABEL "max...@fr..." AUTOID AT (5 61) ! LABEL "Eric Young tarafýndan yazýlmýþ" AUTOID AT (5 76) ! LABEL "þifreleme yazýlýmý içermektedir." AUTOID AT (5 87) ! LABEL "Türkçe çevirisi:" AUTOID AT (5 100) ! LABEL "www.palmturk.gen.tr" AUTOID AT (5 111) ! BUTTON "Tamam" AUTOID AT (60 130 38 AUTO) END --- 404,415 ---- TITLE "CryptoPad Hakkýnda" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 4.10" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (32 27) FONT 1 ! LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) ! LABEL "Eric Young tarafýndan yazýlmýþ" AUTOID AT (5 76) ! LABEL "þifreleme yazýlýmý içermektedir." AUTOID AT (5 87) ! LABEL "Türkçe çevirisi:" AUTOID AT (5 100) ! LABEL "www.palmturk.gen.tr" AUTOID AT (5 111) ! BUTTON "Tamam" AUTOID AT (60 130 38 AUTO) END Index: Makefile =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 10 Sep 2005 23:56:15 -0000 1.3 --- Makefile 11 Sep 2005 00:06:03 -0000 1.4 *************** *** 1,4 **** --- 1,6 ---- LOC = En + VERSION = 4.10 + EXE = CryptoPad *************** *** 15,20 **** # CFLAGS = -O2 -g $(DEFINES) $(INCLUDES) ! CFLAGS = -palmos3.5 -O2 -DPALMOS3 $(DEFINES) $(INCLUDES) CSFLAGS = -palmos2 -O2 -S $(DEFINES) $(INCLUDES) # CFLAGS = -palmos3.5 -O2 -DPALMOS3 $(DEFINES) $(INCLUDES) --- 17,24 ---- # CFLAGS = -O2 -g $(DEFINES) $(INCLUDES) ! # CFLAGS = -palmos3.5 -O2 -DPALMOS3 $(DEFINES) $(INCLUDES) ! CFLAGS = -palmos5r4 -O2 -DPALMOS3 -g $(DEFINES) $(INCLUDES) CSFLAGS = -palmos2 -O2 -S $(DEFINES) $(INCLUDES) + LDFLAGS = -g # CFLAGS = -palmos3.5 -O2 -DPALMOS3 $(DEFINES) $(INCLUDES) *************** *** 35,39 **** ICONTEXT = "CryptoPad" APPID = CrPd ! PRC = $(EXE)$(LOC).prc all: $(PRC) --- 39,43 ---- ICONTEXT = "CryptoPad" APPID = CrPd ! PRC = $(EXE)$(LOC)_$(VERSION).prc all: $(PRC) *************** *** 59,64 **** # -lcrt breaks the multigen stuff with the following error... ! # CryptoPad-sections.o(.text+0x0):CryptoPad-sections.s: multiple definition of `_GccRelocateData' ! # /usr/m68k-palmos/lib/libcrt.a(single_dreloc.o)(.text+0x0):dreloc.c:30: first defined here $(EXE): $(OBJS) --- 63,68 ---- # -lcrt breaks the multigen stuff with the following error... ! # CryptoPad-sections.o(.text+0x0):CryptoPad-sections.s: multiple definition of `_GccRelocateData' ! # /usr/m68k-palmos/lib/libcrt.a(single_dreloc.o)(.text+0x0):dreloc.c:30: first defined here $(EXE): $(OBJS) |
Update of /cvsroot/cryptopad/cryptopad_classic/v4/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24404 Modified Files: Beam.c Beam.h EditForm.c FontForm.c FontForm.h MainForm.c Makefile Added Files: CryptoPad.def sects.h Log Message: v4.09 code with sections added. Moves Beam.c and FontForm.c functions into separate code section to get around >32KB code size limit. --- NEW FILE: CryptoPad.def --- application { "CryptoPad" CrPd backup ok-to-install-newer } multiple code { "sec001" } --- NEW FILE: sects.h --- #ifdef _MULTISEGMENT #define BEAM_SECTION __attribute__ ((section ("sec001"))) #define FONT_SECTION __attribute__ ((section ("sec001"))) #else // !_MULTISEGMENT #define BEAM_SECTION #define FONT_SECTION #endif Index: Beam.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/Beam.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Beam.c 10 Sep 2005 23:34:38 -0000 1.2 --- Beam.c 10 Sep 2005 23:56:15 -0000 1.3 *************** *** 4,13 **** ! static void PrvStreamInit(StreamType *streamP, ExgSocketPtr exgSocketP); ! static void PrvStreamFlush(StreamType *streamP); ! static UInt32 PrvStreamWrite(StreamType *streamP, const Char * stringP, Int32 length, Err *errP); ! static UInt32 WriteFunction(void * stream, const Char * const bufferP, Int32 length); ! static Err MemoSendRecordTryCatch (MemPtr, ExgSocketPtr); ! static Err MemoSendCategoryTryCatch (DmOpenRef dbP, UInt16 categoryNum, ExgSocketPtr exgSocketP, UInt16 index); --- 4,13 ---- ! static void PrvStreamInit(StreamType *streamP, ExgSocketPtr exgSocketP) BEAM_SECTION; ! static void PrvStreamFlush(StreamType *streamP) BEAM_SECTION; ! static UInt32 PrvStreamWrite(StreamType *streamP, const Char * stringP, Int32 length, Err *errP) BEAM_SECTION; ! static UInt32 WriteFunction(void * stream, const Char * const bufferP, Int32 length) BEAM_SECTION; ! static Err MemoSendRecordTryCatch (MemPtr, ExgSocketPtr) BEAM_SECTION; ! static Err MemoSendCategoryTryCatch (DmOpenRef dbP, UInt16 categoryNum, ExgSocketPtr exgSocketP, UInt16 index) BEAM_SECTION; Index: Beam.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/Beam.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Beam.h 10 Sep 2005 23:34:38 -0000 1.2 --- Beam.h 10 Sep 2005 23:56:15 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- #include <ExgMgr.h> + #include "sects.h" #define memoFilenameExtension ".TXT" *************** *** 23,28 **** typedef UInt32 WriteFunctionF (void * stream, const Char * const bufferP, Int32 length); ! void MemoSendRecord (DmOpenRef, Int16); ! void MemoSendCategory (DmOpenRef, UInt16); void MemoExportMime(MemPtr recordP, void * outputStr, ! WriteFunctionF outputFunc, Boolean outputMimeInfo); \ No newline at end of file --- 24,29 ---- typedef UInt32 WriteFunctionF (void * stream, const Char * const bufferP, Int32 length); ! void MemoSendRecord (DmOpenRef, Int16) BEAM_SECTION; ! void MemoSendCategory (DmOpenRef, UInt16) BEAM_SECTION; void MemoExportMime(MemPtr recordP, void * outputStr, ! WriteFunctionF outputFunc, Boolean outputMimeInfo) BEAM_SECTION; Index: EditForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/EditForm.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** EditForm.c 10 Sep 2005 23:34:38 -0000 1.2 --- EditForm.c 10 Sep 2005 23:56:15 -0000 1.3 *************** *** 4,7 **** --- 4,8 ---- #include "blowfish.h" #include "MainRsc.h" + #include "Beam.h" #include <System/Graffiti.h> Index: FontForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/FontForm.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FontForm.c 10 Sep 2005 23:34:38 -0000 1.2 --- FontForm.c 10 Sep 2005 23:56:15 -0000 1.3 *************** *** 3,12 **** #include "Utils.h" ! static void FontFormApplyChanges(void); ! static void FontFormSelectColor(Boolean); ! static void FontFormDrawRectangleWithColor(IndexedColorType, UInt16); ! static Boolean PickColor(IndexedColorType *, DmResID); ! static void FontAndColorInit(FontID *, IndexedColorType *, UInt8, UInt16); ! static void FontFormInit(void); static Boolean fontForm; --- 3,12 ---- #include "Utils.h" ! static void FontFormApplyChanges(void) FONT_SECTION; ! static void FontFormSelectColor(Boolean) FONT_SECTION; ! static void FontFormDrawRectangleWithColor(IndexedColorType, UInt16) FONT_SECTION; ! static Boolean PickColor(IndexedColorType *, DmResID) FONT_SECTION; ! static void FontAndColorInit(FontID *, IndexedColorType *, UInt8, UInt16) FONT_SECTION; ! static void FontFormInit(void) FONT_SECTION; static Boolean fontForm; Index: FontForm.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/FontForm.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FontForm.h 10 Sep 2005 23:34:38 -0000 1.2 --- FontForm.h 10 Sep 2005 23:56:15 -0000 1.3 *************** *** 1,3 **** #include "Main.h" ! Boolean FontFormHandleEvent(EventPtr eventP); --- 1,4 ---- #include "Main.h" + #include "sects.h" ! Boolean FontFormHandleEvent(EventPtr eventP) FONT_SECTION; Index: MainForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/MainForm.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainForm.c 10 Sep 2005 23:34:38 -0000 1.2 --- MainForm.c 10 Sep 2005 23:56:15 -0000 1.3 *************** *** 3,6 **** --- 3,7 ---- #include "Utils.h" #include "blowfish.h" + #include "Beam.h" #include <SysEvtMgr.h> *************** *** 2677,2679 **** return handled; ! } \ No newline at end of file --- 2678,2680 ---- return handled; ! } Index: Makefile =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v4/src/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 10 Sep 2005 23:34:38 -0000 1.2 --- Makefile 10 Sep 2005 23:56:15 -0000 1.3 *************** *** 1,13 **** LOC = En OBJS = Beam.o Database.o DetailsForm.o MainForm.o Utils.o \ EditForm.o Main.o PrefsForm.o PasswordForm.o FontForm.o \ QueryGlobalPasswordForm.o SetAndChangeGlobalPasswordForm.o \ ! bf_skey.o bf_enc.o bf_cfb64.o ! EXE = CryptoPad #uncomment this if you want to build a gdb debuggable version # DEFINES = -DDEBUG ! DEFINES = -DUSES_SENTINEL INCLUDES = --- 1,14 ---- LOC = En + EXE = CryptoPad + OBJS = Beam.o Database.o DetailsForm.o MainForm.o Utils.o \ EditForm.o Main.o PrefsForm.o PasswordForm.o FontForm.o \ QueryGlobalPasswordForm.o SetAndChangeGlobalPasswordForm.o \ ! bf_skey.o bf_enc.o bf_cfb64.o $(EXE)-sections.o #uncomment this if you want to build a gdb debuggable version # DEFINES = -DDEBUG ! DEFINES = -DUSES_SENTINEL -D_MULTISEGMENT INCLUDES = *************** *** 29,32 **** --- 30,34 ---- CC = m68k-palmos-gcc OBJRES = m68k-palmos-obj-res + MULTIGEN = m68k-palmos-multigen BUILDPRC = build-prc *************** *** 43,52 **** $(CC) $(CSFLAGS) $< ! $(PRC): code.stamp bin.stamp ! $(BUILDPRC) $@ $(ICONTEXT) $(APPID) *.grc *.bin ! ! code.stamp: $(EXE) ! $(OBJRES) $(EXE) ! touch code.stamp bin.stamp: Main$(LOC).rcp --- 45,50 ---- $(CC) $(CSFLAGS) $< ! $(PRC): $(EXE).def $(EXE) bin.stamp ! $(BUILDPRC) -o $@ $(EXE).def $(EXE) *.bin bin.stamp: Main$(LOC).rcp *************** *** 54,62 **** touch bin.stamp $(EXE): $(OBJS) ! $(CC) $(LDFLAGS) -lcrt $(OBJS) -o $@ clean: ! rm -rf *.[oa] $(EXE) *.bin *.stamp *.grc clobber: clean --- 52,71 ---- touch bin.stamp + $(EXE)-sections.o: $(EXE)-sections.s + m68k-palmos-gcc -c $(EXE)-sections.s + + $(EXE)-sections.s $(EXE)-sections.ld: $(EXE).def + $(MULTIGEN) $(EXE).def + + # -lcrt breaks the multigen stuff with the following error... + # CryptoPad-sections.o(.text+0x0):CryptoPad-sections.s: multiple definition of `_GccRelocateData' + # /usr/m68k-palmos/lib/libcrt.a(single_dreloc.o)(.text+0x0):dreloc.c:30: first defined here + $(EXE): $(OBJS) ! # $(CC) $(LDFLAGS) -lcrt $(OBJS) $(EXE)-sections.ld -o $@ ! $(CC) $(LDFLAGS) $(OBJS) $(EXE)-sections.ld -o $@ clean: ! rm -rf *.[oas] $(EXE) $(EXE)-sections.ld *.bin *.stamp clobber: clean |
|
From: Jim B. <jb...@us...> - 2005-09-10 23:15:23
|
Update of /cvsroot/cryptopad/cryptopad_classic/v4/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18634/images Log Message: Directory /cvsroot/cryptopad/cryptopad_classic/v4/images added to the repository |
|
From: Jim B. <jb...@us...> - 2005-09-10 23:15:22
|
Update of /cvsroot/cryptopad/cryptopad_classic/v4/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18634/src Log Message: Directory /cvsroot/cryptopad/cryptopad_classic/v4/src added to the repository |
|
From: Jim B. <jb...@us...> - 2005-09-10 22:16:09
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8166 Modified Files: Changelogs.txt Log Message: Added entry for v3.65. Index: Changelogs.txt =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/Changelogs.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Changelogs.txt 10 Sep 2005 08:07:23 -0000 1.1 --- Changelogs.txt 10 Sep 2005 22:16:01 -0000 1.2 *************** *** 1,2 **** --- 1,9 ---- + 10-Sep-2005 3.65 + * Restarting with 3.63 code, so changes between 3.63 and 3.64 are + lost (from comments below, this appears to be minor). + * Fix crashing on newer devices, including Treo 650, by first checking + for new format of memopad database. Should be functionally + equivalent to 3.63. + 13-Nov-2000 3.64 * Display now the icons (small and normal) in gray levels if users *************** *** 281,283 **** 09-Nov-1999: 0.99b ! Pre-version. \ No newline at end of file --- 288,290 ---- 09-Nov-1999: 0.99b ! Pre-version. |
|
From: Jim B. <jb...@us...> - 2005-09-10 22:05:46
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4354 Modified Files: Beam.c Beam.h Database.c Database.h EditForm.c MainDe.rcp MainEn.rcp MainForm.c MainFr.rcp MainSP.rcp MainTr.rcp Makefile Added Files: CryptoPad.def sects.h Log Message: v3.65 code (hopefully). One functional change: new code attempts to access memopad DB via creator ID "PMem" first, and only if that fails does it try "memo." This appears to solve the crashing problems on the Treo 650. Also pushed Beam code into an separate section to solve the 32K code limit problem, and updated Makefile to target sdk5r4 (which required a few minor code tweaks). --- NEW FILE: CryptoPad.def --- application { "CryptoPad" CrPd backup ok-to-install-newer } multiple code { "sec001" } --- NEW FILE: sects.h --- #ifdef _MULTISEGMENT #define BEAM_SECTION __attribute__ ((section ("sec001"))) #else // !_MULTISEGMENT #define BEAM_SECTION #endif Index: Beam.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Beam.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Beam.c 10 Sep 2005 20:55:20 -0000 1.2 --- Beam.c 10 Sep 2005 22:05:35 -0000 1.3 *************** *** 4,13 **** ! static void PrvStreamInit(StreamType *streamP, ExgSocketPtr exgSocketP); ! static void PrvStreamFlush(StreamType *streamP); ! static UInt32 PrvStreamWrite(StreamType *streamP, const Char * stringP, Int32 length, Err *errP); ! static UInt32 WriteFunction(void * stream, const Char * const bufferP, Int32 length); ! static Err MemoSendRecordTryCatch (MemPtr, ExgSocketPtr); ! static Err MemoSendCategoryTryCatch (DmOpenRef dbP, UInt16 categoryNum, ExgSocketPtr exgSocketP, UInt16 index); --- 4,13 ---- ! static void PrvStreamInit(StreamType *streamP, ExgSocketPtr exgSocketP) BEAM_SECTION; ! static void PrvStreamFlush(StreamType *streamP) BEAM_SECTION; ! static UInt32 PrvStreamWrite(StreamType *streamP, const Char * stringP, Int32 length, Err *errP) BEAM_SECTION; ! static UInt32 WriteFunction(void * stream, const Char * const bufferP, Int32 length) BEAM_SECTION; ! static Err MemoSendRecordTryCatch (MemPtr, ExgSocketPtr) BEAM_SECTION; ! static Err MemoSendCategoryTryCatch (DmOpenRef dbP, UInt16 categoryNum, ExgSocketPtr exgSocketP, UInt16 index) BEAM_SECTION; *************** *** 54,58 **** exgSocket.length = descriptionSize; // rough guess ! exgSocket.target = memoPadCreator; if (descriptionSize > 0) { --- 54,63 ---- exgSocket.length = descriptionSize; // rough guess ! if (newMemoDB) { ! exgSocket.target = memoPadCreatorNew; ! } ! else { ! exgSocket.target = memoPadCreator; ! } if (descriptionSize > 0) { *************** *** 186,190 **** exgSocket.length = 0; // rough guess ! exgSocket.target = memoPadCreator; error = ExgPut(&exgSocket); // put data to destination --- 191,200 ---- exgSocket.length = 0; // rough guess ! if (newMemoDB) { ! exgSocket.target = memoPadCreatorNew; ! } ! else { ! exgSocket.target = memoPadCreator; ! } error = ExgPut(&exgSocket); // put data to destination Index: Beam.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Beam.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Beam.h 10 Sep 2005 20:55:20 -0000 1.2 --- Beam.h 10 Sep 2005 22:05:36 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- #include <ExgMgr.h> + #include "sects.h" #define memoFilenameExtension ".TXT" *************** *** 23,28 **** typedef UInt32 WriteFunctionF (void * stream, const Char * const bufferP, Int32 length); ! void MemoSendRecord (DmOpenRef, Int16); ! void MemoSendCategory (DmOpenRef, UInt16); void MemoExportMime(MemPtr recordP, void * outputStr, ! WriteFunctionF outputFunc, Boolean outputMimeInfo); \ No newline at end of file --- 24,29 ---- typedef UInt32 WriteFunctionF (void * stream, const Char * const bufferP, Int32 length); ! void MemoSendRecord (DmOpenRef, Int16) BEAM_SECTION; ! void MemoSendCategory (DmOpenRef, UInt16) BEAM_SECTION; void MemoExportMime(MemPtr recordP, void * outputStr, ! WriteFunctionF outputFunc, Boolean outputMimeInfo) BEAM_SECTION; Index: Database.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Database.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Database.c 10 Sep 2005 20:55:20 -0000 1.2 --- Database.c 10 Sep 2005 22:05:36 -0000 1.3 *************** *** 1,2 **** --- 1,4 ---- + #define ALLOW_ACCESS_TO_INTERNALS_OF_FINDPARAMS + #include "Database.h" #include "blowfish.h" *************** *** 13,16 **** --- 15,23 ---- DmOpenRef dbCryptoFontRef; + // Added this flag to allow other places (notably Beam.c) to decide which + // MemoDB creator to target) + + Boolean newMemoDB = true; + UInt16 currentForm; UInt16 currentCategory; *************** *** 55,59 **** /* Open the database */ ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreator, mode); ErrFatalDisplayIf(dbReference == 0, "Unable to open MemoPadDB !"); --- 62,70 ---- /* Open the database */ ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreatorNew, mode); ! if (! dbReference) { ! newMemoDB = false; ! dbReference = DmOpenDatabaseByTypeCreator(memoPadType, memoPadCreator, mode); ! } ErrFatalDisplayIf(dbReference == 0, "Unable to open MemoPadDB !"); *************** *** 1038,1043 **** --- 1049,1060 ---- + // First try to open the new "Memos" database, and fallback on the old + // format if it can't be found. err = DmGetNextDatabaseByTypeCreator (true, &searchState, memoPadType, + memoPadCreatorNew, true, &cardNum, &memoPadDbID); + if (err == dmErrCantFind) { + err = DmGetNextDatabaseByTypeCreator (true, &searchState, memoPadType, memoPadCreator, true, &cardNum, &memoPadDbID); + } err2 = DmGetNextDatabaseByTypeCreator (true, &searchState, cryptoPadType, cryptoPadCreator, true, &cardNum, &cryptoPadDbID); Index: Database.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Database.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Database.h 10 Sep 2005 20:55:20 -0000 1.2 --- Database.h 10 Sep 2005 22:05:36 -0000 1.3 *************** *** 16,19 **** --- 16,20 ---- #define memoPadType 'DATA' #define memoPadCreator 'memo' + #define memoPadCreatorNew 'PMem' #define memoPadDB 0 *************** *** 225,228 **** --- 226,234 ---- extern DmOpenRef dbMemoPadRef; /* Database */ extern DmOpenRef dbCryptoFontRef; /* Database */ + + // Added this flag to allow other places (notably Beam.c) to decide which + // MemoDB creator to target) + + extern Boolean newMemoDB; #define currentDBRef ((currentDB == cryptoPadDB) ? dbCryptoPadRef : dbMemoPadRef) Index: EditForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/EditForm.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** EditForm.c 10 Sep 2005 20:55:20 -0000 1.2 --- EditForm.c 10 Sep 2005 22:05:36 -0000 1.3 *************** *** 4,7 **** --- 4,8 ---- #include "blowfish.h" #include "MainRsc.h" + #include "Beam.h" #include <System/Graffiti.h> Index: MainDe.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainDe.rcp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MainDe.rcp 10 Sep 2005 08:07:23 -0000 1.1 --- MainDe.rcp 10 Sep 2005 22:05:36 -0000 1.2 *************** *** 1,600 **** ! #include "MainRsc.h" ! ! /********************************** ! * German translation by: ! * Wolfgang Scheele ! * wol...@co... ! ********************************** ! */ ! ! ICON "appico.bmp" [...1170 lines suppressed...] ! TITLE "Eintrag an den Anfang" ! MESSAGE "Um die Funktion \"Eintrag an den Anfang\" zu benutzen, " \ ! "muss die Option Sortieren = Manuell gewahlt sein." ! BUTTONS "OK" ! END ! ! ALERT ID altBeamCryptoDataAlert ! INFORMATION ! BEGIN ! TITLE "_bertragen" ! MESSAGE "Verschlüsselte Merkzettel können nicht übertragen werden." ! BUTTONS "OK" ! END ! ! ALERT ID altDebugAlert ! BEGIN ! TITLE "Debug Alert" ! MESSAGE "^1" ! BUTTONS "OK" ! END Index: MainEn.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainEn.rcp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MainEn.rcp 10 Sep 2005 08:07:23 -0000 1.1 --- MainEn.rcp 10 Sep 2005 22:05:36 -0000 1.2 *************** *** 1,588 **** ! #include "MainRsc.h" ! ! ICON "appico.bmp" ! SMALLICON "smallico.bmp" ! ! VERSION ID 1 "3.63" ! ! FORM ID frmMainForm AT (0 0 160 160) ! NOFRAME ! MENUID mnuMainMenu [...1146 lines suppressed...] ! MESSAGE "You are using separate fonts for categories so you cannot " \ ! "change the font for the category All.\n" \ ! "Select a category before invoking the font command." ! BUTTONS "OK" ! END ! ! ALERT ID altBeamCryptoDataAlert ! INFORMATION ! BEGIN ! TITLE "Beam" ! MESSAGE "You can't beam crypted record." ! BUTTONS "OK" ! END ! ! ALERT ID altDebugAlert ! BEGIN ! TITLE "Debug Alert" ! MESSAGE "^1" ! BUTTONS "OK" ! END Index: MainForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainForm.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainForm.c 10 Sep 2005 20:55:20 -0000 1.2 --- MainForm.c 10 Sep 2005 22:05:36 -0000 1.3 *************** *** 3,6 **** --- 3,8 ---- #include "Utils.h" #include "blowfish.h" + #include "Beam.h" + #include <PalmUtils.h> #include <SysEvtMgr.h> Index: MainFr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainFr.rcp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MainFr.rcp 10 Sep 2005 08:07:23 -0000 1.1 --- MainFr.rcp 10 Sep 2005 22:05:36 -0000 1.2 *************** *** 1,611 **** ! #include "MainRsc.h" ! ! ICON "appico.bmp" ! SMALLICON "smallico.bmp" ! ! VERSION 1 "3.63" ! ! FORM ID frmMainForm AT (0 0 160 160) ! NOFRAME ! MENUID mnuMainMenu [...1192 lines suppressed...] ! "ne pouvez plus choisir une police pour la catégorie Toutes.\n" \ ! "Choisisser une catégorie avant d'utiliser cette commande." ! BUTTONS "OK" ! END ! ! ALERT ID altBeamCryptoDataAlert ! INFORMATION ! BEGIN ! TITLE "Transmission IR" ! MESSAGE "Vous ne pouvez pas transmettre de mémos cryptés." ! BUTTONS "OK" ! END ! ! ! ALERT ID altDebugAlert ! BEGIN ! TITLE "Debug Alert" ! MESSAGE "^1" ! BUTTONS "OK" ! END Index: MainSP.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainSP.rcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MainSP.rcp 10 Sep 2005 20:55:20 -0000 1.2 --- MainSP.rcp 10 Sep 2005 22:05:36 -0000 1.3 *************** *** 11,15 **** SMALLICON "smallico.bmp" ! VERSION ID 1 "3.63" FORM ID frmMainForm AT (0 0 160 160) --- 11,15 ---- SMALLICON "smallico.bmp" ! VERSION ID 1 "3.65" FORM ID frmMainForm AT (0 0 160 160) *************** *** 309,319 **** TITLE "Acerca de CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.63" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (PrevLeft 27) FONT 1 ! LABEL "jla...@ec..." AUTOID AT (5 50) ! LABEL "max...@fr..." AUTOID AT (PrevLeft PrevTop+11) ! LABEL "Contiene software criptográfico" AUTOID AT (PrevLeft PrevTop+15) ! LABEL "escrito por Eric Young." AUTOID AT (PrevLeft PrevTop+11) ! BUTTON "OK" AUTOID AT (60 104 40 AUTO) END --- 309,318 ---- TITLE "Acerca de CryptoPad" FORMBITMAP AT (5 17) BITMAP bmpCryptoPadIcon ! LABEL "v. 3.65" AUTOID AT (32 16) FONT 1 ! LABEL "Maxime & JB Labelle" AUTOID AT (PrevLeft 27) FONT 1 ! LABEL "http://cryptopad.sourceforge.net/" AUTOID AT (5 50) ! LABEL "Contiene software criptográfico" AUTOID AT (PrevLeft PrevTop+15) ! LABEL "escrito por Eric Young." AUTOID AT (PrevLeft PrevTop+11) ! BUTTON "OK" AUTOID AT (60 104 40 AUTO) END *************** *** 601,603 **** MESSAGE "^1" BUTTONS "OK" ! END \ No newline at end of file --- 600,602 ---- MESSAGE "^1" BUTTONS "OK" ! END Index: MainTr.rcp =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/MainTr.rcp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MainTr.rcp 10 Sep 2005 08:07:23 -0000 1.1 --- MainTr.rcp 10 Sep 2005 22:05:36 -0000 1.2 *************** *** 1,608 **** ! #include "MainRsc.h" ! ! /********************************** ! * Turkish translation by: ! * Selcuk Demiray ! * sde...@so... ! ********************************** ! */ ! ! ICON "appico.bmp" [...1187 lines suppressed...] ! BEGIN ! TITLE "Notlarý yukarý taþý" ! MESSAGE "\"Notlarý yukarý taþý\" özelliðini kullanmak için El ile sýralamayý seçmelisiniz." ! BUTTONS "OK" ! END ! ! ALERT ID altBeamCryptoDataAlert ! INFORMATION ! BEGIN ! TITLE "Iþýnlama" ! MESSAGE "Þifrelenmiþ bir Notu ýþýnlayamazsýnýz." ! BUTTONS "Tamam" ! END ! ! ALERT ID altDebugAlert ! BEGIN ! TITLE "Hata Ayýklama Uyarýsý" ! MESSAGE "^1" ! BUTTONS "Tamam" ! END Index: Makefile =================================================================== RCS file: /cvsroot/cryptopad/cryptopad_classic/v3/src/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 10 Sep 2005 20:55:20 -0000 1.2 --- Makefile 10 Sep 2005 22:05:36 -0000 1.3 *************** *** 1,17 **** LOC = En OBJS = Beam.o Database.o DetailsForm.o MainForm.o Utils.o \ EditForm.o Main.o PrefsForm.o PasswordForm.o \ QueryGlobalPasswordForm.o SetAndChangeGlobalPasswordForm.o \ ! bf_skey.o bf_enc.o bf_cfb64.o ! EXE = CryptoPad #uncomment this if you want to build a gdb debuggable version # DEFINES = -DDEBUG INCLUDES = # CFLAGS = -O2 -g $(DEFINES) $(INCLUDES) ! CFLAGS = -palmos3.5 -O2 -DPALMOS3 $(DEFINES) $(INCLUDES) CSFLAGS = -palmos2 -O2 -S $(DEFINES) $(INCLUDES) --- 1,23 ---- LOC = En + VERSION = 3.65 + + EXE = CryptoPad + OBJS = Beam.o Database.o DetailsForm.o MainForm.o Utils.o \ EditForm.o Main.o PrefsForm.o PasswordForm.o \ QueryGlobalPasswordForm.o SetAndChangeGlobalPasswordForm.o \ ! bf_skey.o bf_enc.o bf_cfb64.o $(EXE)-sections.o #uncomment this if you want to build a gdb debuggable version # DEFINES = -DDEBUG + DEFINES = -D_MULTISEGMENT INCLUDES = # CFLAGS = -O2 -g $(DEFINES) $(INCLUDES) ! # CFLAGS = -palmos3.5 -O2 -DPALMOS3 $(DEFINES) $(INCLUDES) ! CFLAGS = -palmos5r4 -O2 -DPALMOS3 -g $(DEFINES) $(INCLUDES) ! # CFLAGS = -palmos3.5 -O2 -DPALMOS3 -g $(DEFINES) $(INCLUDES) CSFLAGS = -palmos2 -O2 -S $(DEFINES) $(INCLUDES) *************** *** 20,28 **** CC = m68k-palmos-gcc OBJRES = m68k-palmos-obj-res BUILDPRC = build-prc ICONTEXT = "CryptoPad" APPID = CrPd ! PRC = $(EXE)$(LOC).prc all: $(PRC) --- 26,35 ---- CC = m68k-palmos-gcc OBJRES = m68k-palmos-obj-res + MULTIGEN = m68k-palmos-multigen BUILDPRC = build-prc ICONTEXT = "CryptoPad" APPID = CrPd ! PRC = $(EXE)$(LOC)_$(VERSION).prc all: $(PRC) *************** *** 34,43 **** $(CC) $(CSFLAGS) $< ! $(PRC): code.stamp bin.stamp ! $(BUILDPRC) $@ $(ICONTEXT) $(APPID) *.grc *.bin ! code.stamp: $(EXE) ! $(OBJRES) $(EXE) ! touch code.stamp bin.stamp: Main$(LOC).rcp --- 41,52 ---- $(CC) $(CSFLAGS) $< ! # $(PRC): code.stamp bin.stamp ! # $(BUILDPRC) $@ $(ICONTEXT) $(APPID) *.grc *.bin ! $(PRC): $(EXE).def $(EXE) bin.stamp ! $(BUILDPRC) -o $@ $(EXE).def $(EXE) *.bin ! # code.stamp: $(EXE) ! # $(OBJRES) $(EXE) ! # touch code.stamp bin.stamp: Main$(LOC).rcp *************** *** 45,53 **** touch bin.stamp ! $(EXE): $(OBJS) ! $(CC) $(CFLAGS) $(OBJS) -o $@ clean: ! rm -rf *.[oa] $(EXE) *.bin *.stamp *.grc clobber: clean --- 54,70 ---- touch bin.stamp ! $(EXE)-sections.o: $(EXE)-sections.s ! m68k-palmos-gcc -c $(EXE)-sections.s + $(EXE)-sections.s $(EXE)-sections.ld: $(EXE).def + $(MULTIGEN) $(EXE).def + + $(EXE): $(OBJS) $(EXE)-sections.ld + $(CC) $(CFLAGS) $(OBJS) $(EXE)-sections.ld -o $@ + + # clean: + # rm -rf *.[oa] $(EXE) *.bin *.stamp *.grc clean: ! rm -rf *.[oas] $(EXE) $(EXE)-sections.ld *.bin *.stamp clobber: clean |
|
From: Jim B. <jb...@us...> - 2005-09-10 08:07:46
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18246/v3 Added Files: Changelogs.txt CryptoPad.wri Readme.txt index.htm stylesheet.css Log Message: Unmodified v3.63 source code (believed to be at least), with v3.64 docs, etc. from palmgear.com binary package. --- NEW FILE: Changelogs.txt --- 13-Nov-2000 3.64 * Display now the icons (small and normal) in gray levels if users uses an application that changes the gray scale (as Silverscreen or dephhack for instance). 8-Nov-2000 3.63 * Now display a ">4k" label at the bottom right on the screen when the text field length of the non-encrypted memo is over 4096 char. Thus, user knows that he must encrypt the memo not to loose some information at the next hotsync (memo over 'k are truncated while an hotsync occur so the only way to preserve all the text is to encrypt the memo). This label only displays on non-encrypted memo. * changed the popup trigger on the edit form to a selector trigger as in PalmOS 3.5. 20-Oct-2000 3.62 & 3.23 * Fixed a bug that did not display the last visible memo on the main form in a encrypted category. * Fixed a bug that did not scroll the first time when trying to scroll down of one line when in a new category (when you switch of category, you had to scroll down twice the first time to effectively scroll down of one line). For the v. 2.23 : Change the display update when entering and exiting a memo (cf v. 3.54 explanation), and the changes above. 15-Oct-2000 3.61 * Fixed a bug that, when using the "move record on top" feature and exiting CryptoPad from the edit form, did not return in the correct memo when starting again CryptoPad. 7-Oct-2000 3.6 * Added a choice for the categories rotation (while using the hard key) in the Preferences. It allows the rotation to go also in "Unfiled" or to skip the "All" category. * Added an option that move each last consulted memo on top. Thus, the more often read memos are placed on top of the list. * Now, the sort order in CryptoPad is automatically applied to MemoPad so an hotsync does not cause the memos to be alphabetically sorted when MemoPad uses an alphabetic sorting and CryptoPad a manual one. Plus, if the sort order is alphabetic, the CryptoPad database is (at each start) sorted because the CryptoPad desktop does not use a sort order. * Fixed the upshift bug (explain in the v. 3.54) for OS below 3.5. The correction made for the previous version was only working with PalmOS 3.5 user. 2-Oct-2000 3.54 * Now, entering in a memo and exiting it does not force anymore the main view to display the list beginning from this one. Before : memos 1-11 was visible, enter in memo 3, exit -> memos 3-14 visible ; now, memos still 1-11 visible. The top record only change if user changes of memos using the hardkey in the edit form and exits a memo that is not anymore visible. * Fixed a bug that let the upshift char set when entering text from the main view to create a memo (causing the text to appear like this "THis is an example..." instead of "This an ...". 25-Sep-2000 3.53 * Fixed a bug that did not display a record in the category "All" while using the separate font feature when it was in LargeBold Font and the last one of the list and the record after was in a Normal or Bold Font. For example, the record 21 in Normal Font was visible at bottom of the list but not the 20 in LargeBold Font that only reappeared when scrolling down. * Fixed a bug that displayed the message "Synchronise Font" (when using the separate font feature) in Bold or Large Bold font when unchecking the "Use Single Font" checkbox (in Preferences) and using a Bold or Large Bold font for the main list. 20-Sep-2000 3.52 & 2.22 * Fixed a bug that did not update the main form when having chosen "Forgotten password" and that crashed the pilot when trying to enter in a deleted record. This bug was also solved in v. 3.32 but reappear after a change I made in the code. 20-Sep-2000 3.51 & 2.21 * Speed up the display in the categories (except all") when using the separate font feature. * Speed up the lauch when using the separate font feature. Now, it just take a little time to launch when a memo has been added/deleted outside CryptoPad (in MemoPad or on PC) but if there was no change, the start is as quick as without the use of the feature. * Readjust the position of scrollbar and table in the main form. * Fixed a bug that crashed the Palm when scrolling a whole page (with the hard keys) in a category where all the memos were crypted. The message was "err getting position". 18-Sep-2000 3.5 & 2.2 * Code have been reduced and improved. * For 3.51 : Now support the new function of the PalmOS 3.5 (command bar, security command, mask on private record...). * Fixed a bug that truncated a memo in the main form a little to much when not crypted. * Fixed to fix a bug that did not unhighlight correctly the crypted memo when hiting Cancel on password form. * Fixed to fix a bug that, when exiting of the application from the edit form, making a hotsync with a change on this record and returning into CryptoPad, did not display the good record. 6-Sep-2000 2.16 & 3.32 * Now, CryptoPad automatically exits from the edition of a CRYPTED memo when switching to another application (using SwitchHack for example or hiting Application) or powering off the Palm (automatically or not). * Fixed a bug that did not update the main form when having chosen "Forgotten password" and that crashed the pilot when trying to enter in a deleted record. * Fixed a bug that did not unhighlight the line of a crypted selected memo when tapping Cancel in the password popuform. * Minor changes in the preferences reading that maybe could make the pilot crash when starting the application after an upgrade from a previous release. * Fixed a bug that displayed the last records in the main form when switching from a category to 'All' instead of showing the first record. * For v. 3.32 : Fixed a bug in the beam function that truncated the first letter of each line in the beamed memo. 2-Sep-2000 2.15 * Minor changes about preferences and global password storage. 1-Sep-2000 3.31 * Compatible with the new CryptoPad desktop released (previously, you were not able to see the correct names of the categories on the desktop). This program is available separately and is wonderful (it has been made by my brother Maxime Labelle who did a wonderful job). * Now, when the Palm is turned off while editing a crypted memo, the application returns automatically in the main form. * Fix some bugs with the Preferences (when users upgrade from a previous release) and with the global password storage. 27-Aug-2000 3.3 * Added the beam feature for decrypted record or a whole category (notice that the receiver must be out of CryptoPad to be able to receive a memo/category). Now, this version includes all the MemoPad feature + a lot of new ones. 28-Jul-2000 3.21 * Added a separate font feature in the Preferences that allows user to choose a separate font for each memo and each category. 18-Aug-2000 2.14 * Minor changes and size reduced. 28-Jul-2000 2.13 & 3.13 * Now, choosing "Forgotten password..." will not force anymore user to return in the main form but stay in the Preferences. * Fixed a bug that crashed the Palm when trying encrypt/decrypt a category already encrypted/decrypted after having used the paste function in a crypted memo (this bug is hard to reproduce but one reported me it !). 24-Jul-2000 2.12 & 3.12 * Improvment of the category encryption/decryption speed. * Fixed a bug that crashed the Palm when trying the scroll after encryption of a category. 21-Jul-2000 2.11 & 3.11 * Added a encrypt/decrypt category feature. * Added support to find for crypted record while in a session where the global password has been entered. * Added the position of the title and the number of records in the current category in the edit form title. * Added a bunch of code to remove the global password entered in the session when user presses the power hard key or when auto-off occurs. * Fixed a bug that did not sort correctly when using alphabetic sort order and decrypting a crypted record. 16-Jul-2000 2.1 & 3.1 * Added support to find. * Added a global password feature in the Preferences. This allows user to define a global password that will be asked the first time a user when to encrypt/decrypt a record. All previously crypted records with an other password will be decrypted the first time only with their current password (when user exits the memo, it will be automatically reencrypt with the global password). * Fixed a bug with the PC synchronisation application. When user crypted a memo, the memo was removed from MemoPad and created in the CryptoPad database. But when synchronising, the memo was still present on the PC (on Oulook, Palm Desktop or other). Now, the record is correctly deleted on PC when user synchronises. * Fixed a bug that did not update the scrollbar when there are blank lines at the bottom of the edit field because of characters that were removed. * Fixed a bug that did not scroll properly in the main form when there were more than 10 records crypted. * Fixed a bug that crashed the Palm when drawing a non-alphanumeric character in the main form to create a new memo (as a white space for instance). * Fixed a bug that crashed the Palm when user removes all the characters of the edit form and swithes to another application and back to CryptoPad. * Fixed a bug that did not display the correct menu in the edit form ("Remove password" instead of "Encrypt record") when deleting a record with the menu command or in removing all the characters of the field and tapping done. * Fixed a bug that did not exactly map the Unfiled category for foreigner versions. For example, in the french version, a memo in the "Unfiled" category became in "Non classé" when crypted. 27-Jun-2000 2.00 (for OS 2.0 or above) & 3.00 (for OS 3.0 or above) * Added synchronisation with MemoPad. The non crypted records use the MemoPad database while the crypted ones still use the CryptoPad database. The categories are the same ones with both applications. * Added Phone Lookup. * Added backup on PC of the archived deleted memos. * Added font management in both main and edit form. (only for v. 3.00) * Added scrolling from one memo to the next/previous one if the scrolling with hard keys in the edit form reaches the boundaries of the memo. * Added an option in the Preferences that allow users to display/hide the lines of the edit form. * Added several features that moves CryptoPad closer to the original version of MemoPad. * Fixed a bug that did not display the correct menu when a crypted memo was deleted and a new memo was created (the menu still displayed 'Remove Password'). * Fixed a bug that crashed the Pilot when exited of the application from another form as main or edit form and go back in the application. * Fixed a bug that displayed different menu shortcuts if the memo was crypted or not on foreigner versions. * Fixed a bug that did not set the upshit when creating a new memo with the menu item 'new memo' from the edit form. * Fixed a bug that did not save the current scrolling position in a memo when exiting from the edit form. 16-May-2000 1.21 * Fixed an uninitialized variable bug that may cause the application to crash with 'DataMgr Error'. 01-Jan-2000 1.2 * Added automatic backup of the PDB file during Hotsync. * Added a small icon for list-view display in PalmOS 3.x. * Added a Preferences form and alphabetic sorting of the memos. * Fixed the Edit menu shortcuts of the english version. 29-Nov-1999: 1.1 * Fixed a bug that crashed the Pilot when deleting an encrypted memo. 27-Nov-1999: 1.0 * Added automatic re-encryption of memo. Fixed positions of UI elements to make CryptoPad compliant with Left Hack. Fixed a bug that truncates memo during encryption. 09-Nov-1999: 0.99b Pre-version. --- NEW FILE: CryptoPad.wri --- ÐÏࡱá U] --- NEW FILE: Readme.txt --- CryptoPad 2.2 for PalmOS 2 & 3.6 for PalmOS 3 Written by Maxime & Jean-Baptiste Labelle CryptoPad is a free replacement for the built-in MemoPad application with encryption/decryption features. As you could see, the 2.2 (for OS2.0 or above) and 3.6 (for OS3.0 or above) versions are a major improvement compared to MemoPad. CryptoPad use the MemoPad database to store, display, edit the non crypted memos and his own database for the crypted memos. The crypted memos don't appear in Palm Desktop but are backup crypted on PC in a .pdb file. The synchronisation of non crypted memos with the native MemoPad application allow users to take advantage of all the features given by MemoPad: - automatic synchronisation with the PC and ability of seeing the records with Palm Desktop software or others. - backup on PC of the archived deleted records. Moreover, the categories are also synchronised with both applications automatically. A global password can be define so that it just has to be entered once when trying to decrypt or encrypt a memo for the first time and available for the whole session. Go in the Preferences form and you can define a global password, change it or remove it exactly as you do it in the Security application. If you define a global password, it will be asked once when you will try for the first time to decrypt or encrypt a memo. If you don't try to decrypt or encrypt a record during the session, this global password will never be asked. If the record was not crypted with the global password, the current password will be asked and when the edition is over, the memo is re-encrypted with the global password (and not with the current password). This memo is saved crytped on the PC so the safety is preserved. CryptoPad supports also memo longer than 2ko up to 64ko and has many features to show/hide the lines in the edit form for those who don't like that, to move automatically the last consulted memo on top of the list or an option to choose in which categories the rotation (with hard key) goes through. For OS3.0 users (or above), CryptoPad 3.6 is available. It includes all the functions of MemoPad (the security and the command bar functions for PalmOS3.5 users) but also a great font management that allow users to choose a separate font for each memo while editing and for each category in the main form. CryptoPad uses the blowfish encryption routine, as written by Eric Young. The application only use the cfb64 encryption mode, that allows for encryption of arbitrary length data with a password of up to 448 bits. The complet package can be compile on a whole variety of platform and can be downloaded from: http://www.counterpane.com/blowfish.html and Eric Young can be contacted at mailto:ea...@mi... German, French, Spanish and Turkish translation of CryptoPad are now available. A strange behavior has been detected by Geoff Whale when using Left Hack with CryptoPad. Thanks to the useful advice from Neil Bridges himself, CryptoPad is now compatible with Left Hack. Geoff and Neil can be contacted at mailto:gw...@no... and mailto:nbr...@in... WARNING FOR PRE 1.0 USERS ------------------------- Due to heavy testing and development work between version 0.99b and 1.0, I had to change the format of the internal database where memos are stored. As a result, this application is not compatible with the previous beta version. PLEASE, DELETE THE OLD APPLICATION AND DATA BEFORE UPGRADING. I'm sorry for the inconvenience, but I think the result is worh it. Don't worry, the format will not change in the future again :-) Good luck Maxime & Jean-Baptiste Labelle mailto:max...@fr... or jla...@ec... --- NEW FILE: index.htm --- <HTML> <HEAD> <TITLE>CryptoPad</TITLE> <LINK rel=stylesheet type="text/css" href="stylesheet.css"> </HEAD> <!-- CryptoPad Section --> <TABLE border="0" width="100%" cellspacing="0" cellpadding="0"> <TR> <TH><IMG src="images/pixel.gif" width="24" height="1"></TH> <TH class="number" valign="top">1<BR><IMG src="images/pixel.gif" width="32" height="1"></TH> <TH><IMG src="images/pixel.gif" width="4" height="1"></TH> <TD> <TABLE border="0" width="100%" cellspacing="0" cellpadding="0"> <TR><TH class="title" bgcolor="#FFCC00"><FONT color="#666666">CryptoPad for PalmOS 2 and 3</FONT></TH></TR> <TR><TD class="title">Protecting your data for free</TD></TR> <TR> <TABLE border="0" cellspacing="0" cellpadding="0"> <TR colspan=2><TD><IMG src="images/pixel.gif" width="1" height="4"></TD></TR> <TR> <TD><IMG src="images/pixel.gif" width="14" height="1"></TD> <TD> <!-- Text CryptoPad Section --> <P> CryptoPad is an encryption/decryption enabled MemoPad replacement. It lets you assign a different password for each memo and encrypt them.</P> <P> CryptoPad uses cryptographic software written by Eric Young (<A href="mailto:ea...@mi...">ea...@mi...</A>). This is a slight port to the PalmPilot of his <B><EM>Blowfish</EM></B> algorithm, as found at <A href="http://www.counterpane.com">http://www.counterpane.com</A>. I'm only using the <EM>cfb64</EM>-processing mode, which allows for encryption of arbitrary-length data with a password of up to 448 bits!</P> <P>MemoPad records are availbale in CryptoPad) and his <B>own</B> database for the crypted memos. So the crypted memos don't appear in MemoPad nor in the Palm Desktop but are backup crypted on PC in a .pdb file (in the backup directory). <P><UL>The synchronisation of non crypted memos with the native MemoPad application allow users to take advantage of all the features given by MemoPad: <LI>automatic synchronisation with the PC and ability of seeing the records with Palm Desktop software or others.</LI> <LI>backup on PC of the archived deleted records. Moreover, the categories are also synchronised with both applications automatically.</LI></UL></P> <P>CryptoPad replicates the built-in application as closely as possible. Version 2.2 runs under PalmOS 2.0 and above whereas vesion 3.6 runs under Palm0S 3.2 and above. Install the correct version according to your system.<BR> <U>Notice :</U> since CryptoPad v. 3.50, it uses a function which is only supported since PalmOS 3.2. If your system runs under PalmOS 3.1 and the first line of a memo is longer than the screen width, you won't have a "..." at the end of the main list but a square. I thought that it should not be a big issue as Palm owner can upgrade freely to PalmOS 3.3 (which is highly recommended) but it seems that Visor does not have a flashable memory and can't upgrade. That is why I have a version for users of this kind that you can get upon request at cry...@jl....</P> <P><A href="images/cryptopad1.gif"><IMG src="images/cryptopad1.gif" witdth=160 height=160></A> <A href="images/cryptopad2.gif"><IMG src="images/cryptopad2.gif" witdth=160 height=160></A> <A href="images/cryptopad3.gif"><IMG src="images/cryptopad3.gif" witdth=160 height=160></A> <A href="images/cryptopad4.gif"><IMG src="images/cryptopad4.gif" witdth=160 height=160></A> </P> <P>CryptoPad in its two incarnations features:</P> <UL> <LI>Supports find operation <LI>Uses the built-in MemoPad database to store memos that are not encrypted <LI>Uses its own database to store encrypted memos for protection <LI>Leverage your MemoPad experience :-) </UL> <P>CryptoPad 3.x features:</P> <UL> <LI>Supports <B>beam operation</B> <LI>Adds the OS3.5 features : <B>command bar</B> and <B>security</B> function </UL> <P>CryptoPad has grown and been maintained through popular feedback and comments. Here are the answers:</P> <OL> <LI><B><U>Global Password:</U></B><BR> <P>Many users wanted the ability to define a global password available for encryption and decryption of memos in a given session. This is now part of CryptoPad since versions v.2.1 & v.3.1.<BR> Either user uses one password for each memo, either he sets a global password (in the Preferences) and it will be used for every new crypted memo. If you enter a memo crypted with a different password, the global password will be request but will not correspond so CryptoPad will ask you to enter the password you chosed to encrypt this particular memo. Once you will be entered in it, exiting this memo will re-encrypt it with the <U>global password</U>.<BR> The main advantage is that all your memos will use the same password and you have to enter this global password just once in a session (the first time you try to encrypt/decrypt a memo/category, this password is asked but if you want to do that a second time, you won't have to enter it again).<BR> <B>For security reason</B>, this session is not valid anymore if you exit CryptoPad or power it off (in such cases, the global password will be asked again to access the encryption/decryption features) so if you go to toilets, your Palm is still running CryptoPad and you entered your global password, the Palm will automatically power-off (after 30s-1mn-2mn according to your Preferences). If then a bad guy opens your Palm, CryptoPad will still be running but he will have to re-enter the global password to access the crypted memo and even if user was reading a crypted memo, CryptoPad automatically exits it to return in the main list while power off.</P> <P>If you forget your global password, you have an option to delete it in the Preferences. Notice that a forgotten password will have you remove all memos encrypted with it before being able to set another one.</P> <P> <A href="images/cryptopad5.gif"><IMG src="images/cryptopad5.gif" witdth=160 height=160></A> <A href="images/cryptopad6.gif"><IMG src="images/cryptopad6.gif" witdth=160 height=160></A> <A href="images/cryptopad7.gif"><IMG src="images/cryptopad7.gif" witdth=160 height=160></A> <A href="images/cryptopad8.gif"><IMG src="images/cryptopad8.gif" witdth=160 height=160></A> </P> <LI><B><U>Hide/Show lines:</B></U><BR> <P>It is now possible to hide or show lines in the edit view at will.</P> <P> <A href="images/cryptopad14.gif"><IMG src="images/cryptopad14.gif" witdth=160 height=160></A> <A href="images/cryptopad15.gif"><IMG src="images/cryptopad15.gif" witdth=160 height=160></A> <A href="images/cryptopad16.gif"><IMG src="images/cryptopad16.gif" witdth=160 height=160></A> <A href="images/cryptopad17.gif"><IMG src="images/cryptopad17.gif" witdth=160 height=160></A></P> <LI><B><U>Find support:</B></U><BR> <P>CryptoPad supports the find operation.</P> <P> <A href="images/cryptopad18.gif"><IMG src="images/cryptopad18.gif" witdth=160 height=160></A> <A href="images/cryptopad19.gif"><IMG src="images/cryptopad19.gif" witdth=160 height=160></A></P> <P>If you set a global password and your already enter it (if you tried to encrypt/decrypt a memo/category), the search will also occur in the encrypted memos.</P> <P> <A href="images/cryptopad20.gif"><IMG src="images/cryptopad20.gif" witdth=160 height=160></A> <A href="images/cryptopad21.gif"><IMG src="images/cryptopad21.gif" witdth=160 height=160></A> <A href="images/cryptopad22.gif"><IMG src="images/cryptopad22.gif" witdth=160 height=160></A></P> <LI><B><U>Beam support:</B></U><BR> <P>Beaming of single memos or entire category is supported. For security reasons, encrypted memos are not eligible for beaming. Note that beaming a category will skip the encrypted records and leave them untouched.</P> <P> <A href="images/cryptopad23.gif"><IMG src="images/cryptopad23.gif" witdth=160 height=160></A></P> <LI><B><U>Multiple Fonts:</B></U><BR> <P>It is possible to outline particularly important category with a different font. Besides, each memo can have its own font for edition.<BR> First of all, you must uncheck the "Use Single Font" in the Preferences. Now, you just have to choose a category and select a font. This font will only be applied for this category. So, in the "All" category, the memos will appear with different font according from which category they belong to.<BR> In the edit form, you can also choose the font and it will be applied for just this memo. That is you can have several different font for each memo in the edit form but the whole memo will be in the same font. One font/category in the main list and one font/memo in the edit form.<BR> <U>Notice :</U> using this function can slower a little the screen update in the category "All" (while scrolling or using drag-and-drop). This is caused by the fact that using separate fonts can make CryptoPad display in the category "All" records with the standard font, some with the bold one and others with the large bold one alltogether. That is the number of records displayed can be between 8 and 11 and the application must constantly calculate if there is enought room to display a new record according to the font setting while draging a memo or scrolling. However, this is only true in "All". If you don't like this feature, just check the option "Use Single Font" in the Preferences.</P> <P> <A href="images/cryptopad9.gif"><IMG src="images/cryptopad9.gif" witdth=160 height=160></A> <A href="images/cryptopad10.gif"><IMG src="images/cryptopad10.gif" witdth=160 height=160></A></P> <P> <A href="images/cryptopad11.gif"><IMG src="images/cryptopad11.gif" witdth=160 height=160></A> <A href="images/cryptopad12.gif"><IMG src="images/cryptopad12.gif" witdth=160 height=160></A> <A href="images/cryptopad13.gif"><IMG src="images/cryptopad13.gif" witdth=160 height=160></A> </P> <LI><B><U>Move record on top:</B></U><BR> <P>You have the choice to automatically make the last consulted record moved on top. Thus, the more consulted memos are always at the top of the list.<BR> This option move the record on top <U>of the current database</U>. That is a crypted memo is moved on top of the CryptoPad database but stays under every no-crypted memos. <P> <A href="images/cryptopad32.gif"><IMG src="images/cryptopad32.gif" witdth=160 height=160></A></P> <LI><B><U>Rotate between:</B></U><BR> <P>Using the hard key, you can cycle through the categories. Now, you can choose either to go also in the "Unfiled" either to avoid the category "All". <P> <A href="images/cryptopad31.gif"><IMG src="images/cryptopad31.gif" witdth=160 height=160></A></P> <LI><B><U>Palm OS 3.5 features (only for PalmOS 3.5 users) :</B></U><BR> <P><I>Command bar :</I> the command stroke makes the command bar appear as in the built-in MemoPad with the addiditions of the Font (because of the new font feature) and Phone Lookup shortcuts.</P> <P> <A href="images/cryptopad28.gif"><IMG src="images/cryptopad28.gif" witdth=160 height=160></A> <A href="images/cryptopad29.gif"><IMG src="images/cryptopad29.gif" witdth=160 height=160></A> <A href="images/cryptopad30.gif"><IMG src="images/cryptopad30.gif" witdth=160 height=160></A></P> <P><I>Security :</I> the security function is also present now.</P> <P> <A href="images/cryptopad24.gif"><IMG src="images/cryptopad24.gif" witdth=160 height=160></A> <A href="images/cryptopad25.gif"><IMG src="images/cryptopad25.gif" witdth=160 height=160></A> <A href="images/cryptopad26.gif"><IMG src="images/cryptopad26.gif" witdth=160 height=160></A> <A href="images/cryptopad27.gif"><IMG src="images/cryptopad27.gif" witdth=160 height=160></A></P> </OL> <P> Thanks to Wolfgang Scheele, Diethelm Guallar, Gonzalo and Selcuk Demiray, a german, spanish and Turkish translations of CryptoPad were quickly available. They were kind enough to provide translation and suggestions since version beginning. They can be reached at <A href="mailto:wol...@co...">wol...@co...</A>, <A href="mailto:Gon...@so...">Gon...@so...</A> and <A href="mailto:sde...@bi...">sde...@bi...</A>.</P> <P> A strange behavior has been detected by Geoff Whale when using <A href="http://www.quartus.net/files/PalmOS/Enhancements/lefthk30.zip">Left Hack</A> with CryptoPad. Thanks to the useful advice from Neil Bridges himself, CryptoPad is now compatible with Left Hack. Geoff and Neil can be contacted at <A href="mailto:gw...@no...">gw...@no...</A> and <A href="mailto:nbr...@in...">nbr...@in...</A>.</P> <H3>WARNING</H3> <P> Due to heavy testing and development work between version 0.99b and 1.0, we had to change the format of the internal database where memos are stored. As a result, this application is not compatible with these previous versions. So if you still use one of those, <EM>Please, delete the old application and data before upgrading.</EM></P> <P> <A href="downloads/cryptopad2.zip">CryptoPad2</A> and <A href="downloads/cryptopad3.zip">CryptoPad3</A> can be freely downloaded in english, german, spanish, french and turkish as well as <A href="downloads/cryptopadsrc.zip">the code source</A>.</P> <!-- Text CryptoPad Section --> </TD> </TR> <TR colspan=2><TD><IMG src="images/pixel.gif" width="1" height="4"></TD></TR> </TABLE> </TR> </TABLE> </TD> <TH><IMG src="images/pixel.gif" width="60" height="1"></TH> </TR> </TABLE> <!-- CryptoPad Desktop Section --> <TABLE border="0" width="100%" cellspacing="0" cellpadding="0"> <TR> <TH><IMG src="images/pixel.gif" width="24" height="1"></TH> <TH class="number" valign="top">2<BR><IMG src="images/pixel.gif" width="32" height="1"></TH> <TH><IMG src="images/pixel.gif" width="4" height="1"></TH> <TD> <TABLE border="0" width="100%" cellspacing="0" cellpadding="0"> <TR><TH class="title" bgcolor="#996666"><FONT color="#CC9966">CryptoPad Desktop Release v0.95</FONT></TH></TR> <TR><TD class="title">The CryptoPad companion</TD></TR> <TR> <TABLE border="0" cellspacing="0" cellpadding="0"> <TR colspan=2><TD><IMG src="images/pixel.gif" width="1" height="4"></TD></TR> <TR> <TD><IMG src="images/pixel.gif" width="14" height="1"></TD> <TD> <!-- Text CryptoPad Desktop Section --> <P> CryptoPad Desktop is the perfect companion for CryptoPad. It is a windows application that runs under Windows 95/98/NT and allows to view and edit memos created with CryptoPad.</P> <P align=center><IMG align=center src="images/cryptodesk1.gif"></P> <P> CryptoPad Desktop features:</P> <UL> <LI>Add/Remove/Edit memos in the CryptoPad format <LI>Take advantage of a global password for user-friendly usage <LI>Multiple memos open at the same time (for cut/copy/paste operations) <LI>Remembers the size and position of windows <LI>Reads the database stored by Palm Dekstop users </UL> <P> CryptoPad Desktop can be downloaded <A href="downloads/cryptodesk.zip">here</A>. Note that CryptoPad Desktop needs the <A href="http://download.microsoft.com/download/vba6/Utility/1/WIN98/EN-US/vbrun60sp3">Visual Basic® 6.0 Runtime Libraries</A> available separately for downloading optimisations, but you're likely to have them already.</P> <P> Please, un-install any previous installation of CryptoPad Desktop Release, before upgrading.</P> <!-- Text CryptoPad Desktop Section --> </TD> </TR> <TR colspan=2><TD><IMG src="images/pixel.gif" width="1" height="4"></TD></TR> </TABLE> </TR> </TABLE> </TD> <TH><IMG src="images/pixel.gif" width="60" height="1"></TH> </TR> </TABLE> <!-- CryptoPad Desktop SDK Section --> <TABLE border="0" width="100%" cellspacing="0" cellpadding="0"> <TR> <TH><IMG src="images/pixel.gif" width="24" height="1"></TH> <TH class="number" valign="top">3<BR><IMG src="images/pixel.gif" width="32" height="1"></TH> <TH><IMG src="images/pixel.gif" width="4" height="1"></TH> <TD> <TABLE border="0" width="100%" cellspacing="0" cellpadding="0"> <TR><TH class="title" bgcolor="#996666"><FONT color="#993300">CryptoPad Desktop SDK</FONT></TH></TR> <TR><TD class="title">A set of tools and source code for developers</TD></TR> <TR> <TABLE border="0" cellspacing="0" cellpadding="0"> <TR colspan=2><TD><IMG src="images/pixel.gif" width="1" height="4"></TD></TR> <TR> <TD><IMG src="images/pixel.gif" width="14" height="1"></TD> <TD> <!-- Text CryptoPad Desktop SDK Section --> <P> While writing CryptoPad Desktop, I have developed a set of tools and written a couple of Visual Basic® source code files to assist me. These resources can be used on their own, or can be used to supplement CryptoPad Desktop.</P> <UL> <LI>CryptoPad Dekstop Blowfish Encryption Library<BR> <P>This comes as a standard Win32 DLL both in Debug and Release build for Win32. The archive contains the necessary files to encrypt/decrypt data using the cfb64 mode of the Blowfish algorithm, with a fixed initialization vector as compatible with CryptoPad.</P> <P>It contains also a couple of Visual Basic source code files to wrap the features of the DLL to the Visual Basic family of languages. It may be used under Microsoft Office applications, or in a standalone VB project.</P> <P>Download the <A href="downloads/blowfishlib.zip">CryptoPad Desktop Blowfish Encryption Library</A> and start protecting your own data. Please, note that this version is intended to be used only with CryptoPad related software, and is a trimmed down version of the original Blowfish library from Eric A. Young.</P> <LI>PalmDB Automation Server 1.3<BR> <P>The PalmOS Database Automation Server (PalmDB) is a COM component that allows full management of PalmOS Data databases when stored on a desktop. These come as .pdb files which encompass a binary representation of the database. The server uses the description of the PDB format as outlined by the document <A href="http://developer.earthweb.com/directories/pages/dir.palm.html"> The Palm Database format</A> as found on the Roadcoders articles section. The primary use of this server is from scripting languages such as Visual Basic and Visual Basic for Applications. It may of course be used from any COM client written in any other languages.</P> <P>Download the <A href="downloads/palmdblib.zip">PalmDB Automation Server</A> and start writing your own add-ins to CryptoPad Desktop. Source code is available upon request.</P> <LI>CryptoPad Desktop Release v0.95 Source Code <P>This is CryptoPad Desktop full source code! Now, if CryptoPad Desktop doesn't quite do what you like, you have no excuses for complaining any more. Roll up your sleeves and start expanding on it...<P> <P>CryptoPad Desktop comes with a Visual Basic 6.0 project file and is ready to run or compile. It comes with PalmDB.dll, Registry.dll and MRU.dll that are COM components used to access PalmOS databases, the Windows Registry and the most recently used file list but the source code for these tools is not included in the archive.</P> <P>Download <A href="downloads/cryptodesksrc.zip">CryptoPad Dekstop Release v0.95 Source Code</A> to get all this!</P> </UL> <!-- Text CryptoPad Desktop SDK Section --> </TD> </TR> <TR colspan=2><TD><IMG src="images/pixel.gif" width="1" height="4"></TD></TR> </TABLE> </TR> </TABLE> </TD> <TH><IMG src="images/pixel.gif" width="60" height="1"></TH> </TR> </TABLE> </HTML> --- NEW FILE: stylesheet.css --- BODY { font-family: verdana, arial, helvetica, sans-serif; } H1, H2, H3 H4, H5, H6 { font-weight: bold; } TH { font-family: verdana, arial, helvetica, sans-serif; font-weight: bold; font-style: italic; text-align: left; } TH.number { font-size: 215%; } TH.title { font-size: 125%; } TD.title { font-size: 80%; font-style: italic; } TD { font-size: 75%; } P { margin-left: 3em; } |
|
From: Jim B. <jb...@us...> - 2005-09-10 07:59:38
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16942/src Log Message: Directory /cvsroot/cryptopad/cryptopad_classic/v3/src added to the repository |
|
From: Jim B. <jb...@us...> - 2005-09-10 07:53:50
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16290/images Log Message: Directory /cvsroot/cryptopad/cryptopad_classic/v3/images added to the repository |
|
From: Jim B. <jb...@us...> - 2005-09-10 07:52:42
|
Update of /cvsroot/cryptopad/cryptopad_classic/v3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16135/v3 Log Message: Directory /cvsroot/cryptopad/cryptopad_classic/v3 added to the repository |
|
From: Jim B. <jb...@us...> - 2005-09-10 07:52:42
|
Update of /cvsroot/cryptopad/cryptopad_classic/v4 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16135/v4 Log Message: Directory /cvsroot/cryptopad/cryptopad_classic/v4 added to the repository |
|
From: Jim B. <jb...@us...> - 2005-09-10 07:36:01
|
Update of /cvsroot/cryptopad/cryptopad_classic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14265 Log Message: Initial import. Status: Vendor Tag: vendor Release Tags: start N cryptopad_classic/README No conflicts created by this import ***** Bogus filespec: - Imported sources |
|
From: Andre M. G. <amg...@us...> - 2005-06-05 19:07:32
|
Update of /cvsroot/cryptopad/cryptopad/src/cryptopad In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25972 Modified Files: DetailsForm.c DetailsForm.h PrefsForm.c PrefsForm.h sects.h Log Message: Tidied up the sections to be a bit more consistent. Index: DetailsForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/DetailsForm.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DetailsForm.c 5 Jun 2005 18:23:58 -0000 1.5 --- DetailsForm.c 5 Jun 2005 19:07:21 -0000 1.6 *************** *** 58,69 **** // Details Form Implementation Helpers ! static void DetailsFormInit(void) BEAM_SECTION; ! static UInt16 DetailsFormSelectCategory (UInt16* category) BEAM_SECTION; ! static UInt16 DetailsFormApplyChanges (UInt16 category, Boolean categoryEdited) BEAM_SECTION; // Details Form Event Handlers ! static Boolean OnDetailsFormCtlSelect(UInt16 controlID) BEAM_SECTION; ! static Boolean OnDetailsFormFrmOpen(UInt16 formID) BEAM_SECTION; #endif // SKIP_DOXYGEN --- 58,69 ---- // Details Form Implementation Helpers ! static void DetailsFormInit(void) DIALOG_SECTION; ! static UInt16 DetailsFormSelectCategory (UInt16* category) DIALOG_SECTION; ! static UInt16 DetailsFormApplyChanges (UInt16 category, Boolean categoryEdited) DIALOG_SECTION; // Details Form Event Handlers ! static Boolean OnDetailsFormCtlSelect(UInt16 controlID) DIALOG_SECTION; ! static Boolean OnDetailsFormFrmOpen(UInt16 formID) DIALOG_SECTION; #endif // SKIP_DOXYGEN Index: DetailsForm.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/DetailsForm.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DetailsForm.h 5 Jun 2005 18:23:58 -0000 1.3 --- DetailsForm.h 5 Jun 2005 19:07:21 -0000 1.4 *************** *** 32,36 **** /// Details Form event handler ! Boolean DetailsFormHandleEvent(EventPtr eventP) BEAM_SECTION; #endif // __DETAILSFORM_H__ --- 32,36 ---- /// Details Form event handler ! Boolean DetailsFormHandleEvent(EventPtr eventP) DIALOG_SECTION; #endif // __DETAILSFORM_H__ Index: PrefsForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/PrefsForm.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** PrefsForm.c 2 Jun 2005 16:03:45 -0000 1.7 --- PrefsForm.c 5 Jun 2005 19:07:21 -0000 1.8 *************** *** 35,38 **** --- 35,39 ---- #include "StdPalm.h" + #include "sects.h" #include "Database.h" #include "Prefs.h" *************** *** 58,73 **** // Preferences Form Implementation Helpers ! static void PrefsSortMemos(void); ! static void PrefsFormInit(void); ! static void PrefsRotateOrder(void); ! static void PrefsShowLines(void); ! static void PrefsUseSingleFont(void); ! static void PrefsUseLookupField(void); // Preferences Form Event Handlers ! static Boolean OnPrefsFormCtlSelect(UInt16 controlID); ! static Boolean OnPrefsFormFrmClose(UInt16 formID); ! static Boolean OnPrefsFormFrmOpen(UInt16 formID); #endif // SKIP_DOXYGEN --- 59,74 ---- // Preferences Form Implementation Helpers ! static void PrefsSortMemos(void) DIALOG_SECTION; ! static void PrefsFormInit(void) DIALOG_SECTION; ! static void PrefsRotateOrder(void) DIALOG_SECTION; ! static void PrefsShowLines(void) DIALOG_SECTION; ! static void PrefsUseSingleFont(void) DIALOG_SECTION; ! static void PrefsUseLookupField(void) DIALOG_SECTION; // Preferences Form Event Handlers ! static Boolean OnPrefsFormCtlSelect(UInt16 controlID) DIALOG_SECTION; ! static Boolean OnPrefsFormFrmClose(UInt16 formID) DIALOG_SECTION; ! static Boolean OnPrefsFormFrmOpen(UInt16 formID) DIALOG_SECTION; #endif // SKIP_DOXYGEN Index: PrefsForm.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/PrefsForm.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PrefsForm.h 22 Jan 2003 06:22:21 -0000 1.1 --- PrefsForm.h 5 Jun 2005 19:07:21 -0000 1.2 *************** *** 32,36 **** /// Prefs Form event handler ! Boolean PrefsFormHandleEvent(EventPtr eventP); ! #endif // __PREFSFORM_H__ \ No newline at end of file --- 32,36 ---- /// Prefs Form event handler ! Boolean PrefsFormHandleEvent(EventPtr eventP) DIALOG_SECTION; ! #endif // __PREFSFORM_H__ Index: sects.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/sects.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** sects.h 5 Jun 2005 18:23:58 -0000 1.2 --- sects.h 5 Jun 2005 19:07:21 -0000 1.3 *************** *** 2,5 **** --- 2,6 ---- #define MAIN_SECTION __attribute__ ((section ("sec001"))) #define BEAM_SECTION __attribute__ ((section ("sec002"))) + #define DIALOG_SECTION __attribute__ ((section ("sec002"))) #define RESIZE_SECTION __attribute__ ((section ("sec002"))) #define DIA_SECTION __attribute__ ((section ("sec002"))) *************** *** 8,11 **** --- 9,13 ---- #define MAIN_SECTION #define BEAM_SECTION + #define DIALOG_SECTION #define RESIZE_SECTION #define DIA_SECTION |
|
From: Andre M. G. <amg...@us...> - 2005-06-05 18:24:26
|
Update of /cvsroot/cryptopad/cryptopad/src/cryptopad In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1299 Modified Files: Beam.c Beam.h Database.c Database.h DetailsForm.c DetailsForm.h Main.c StdPalm.h sects.h Log Message: I think I have sussed this multi-segment lark and it works properly even on my Tapwave Zodiac. Index: Beam.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Beam.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Beam.c 5 Jun 2005 10:54:58 -0000 1.2 --- Beam.c 5 Jun 2005 18:23:58 -0000 1.3 *************** *** 5,14 **** ! static void PrvStreamInit(StreamType *streamP, ExgSocketPtr exgSocketP); ! static void PrvStreamFlush(StreamType *streamP); ! static UInt32 PrvStreamWrite(StreamType *streamP, const Char * stringP, Int32 length, Err *errP); ! static UInt32 WriteFunction(void * stream, const Char * const bufferP, Int32 length); ! static Err MemoSendRecordTryCatch (MemPtr, ExgSocketPtr); ! static Err MemoSendCategoryTryCatch (DmOpenRef dbP, UInt16 categoryNum, ExgSocketPtr exgSocketP, UInt16 index); --- 5,14 ---- ! static void PrvStreamInit(StreamType *streamP, ExgSocketPtr exgSocketP) BEAM_SECTION; ! static void PrvStreamFlush(StreamType *streamP) BEAM_SECTION; ! static UInt32 PrvStreamWrite(StreamType *streamP, const Char * stringP, Int32 length, Err *errP) BEAM_SECTION; ! static UInt32 WriteFunction(void * stream, const Char * const bufferP, Int32 length) BEAM_SECTION; ! static Err MemoSendRecordTryCatch (MemPtr, ExgSocketPtr) BEAM_SECTION; ! static Err MemoSendCategoryTryCatch (DmOpenRef dbP, UInt16 categoryNum, ExgSocketPtr exgSocketP, UInt16 index) BEAM_SECTION; Index: Beam.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Beam.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Beam.h 4 Jun 2005 20:21:22 -0000 1.1 --- Beam.h 5 Jun 2005 18:23:58 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- #include <ExgMgr.h> + #include "sects.h" #define memoFilenameExtension ".TXT" *************** *** 23,27 **** typedef UInt32 WriteFunctionF (void * stream, const Char * const bufferP, Int32 length); ! void MemoSendRecord (DmOpenRef Dbp, Int16 recordNum, const Char * const prefix); ! void MemoSendCategory (DmOpenRef Dbp, UInt16 recordNum, const Char * const prefix); ! void MemoExportMime(MemPtr recordP, void * outputStr, WriteFunctionF outputFunc, Boolean outputMimeInfo); --- 24,28 ---- typedef UInt32 WriteFunctionF (void * stream, const Char * const bufferP, Int32 length); ! void MemoSendRecord (DmOpenRef Dbp, Int16 recordNum, const Char * const prefix) BEAM_SECTION; ! void MemoSendCategory (DmOpenRef Dbp, UInt16 recordNum, const Char * const prefix) BEAM_SECTION; ! void MemoExportMime(MemPtr recordP, void * outputStr, WriteFunctionF outputFunc, Boolean outputMimeInfo) BEAM_SECTION; Index: Database.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Database.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Database.c 4 Jun 2005 20:21:22 -0000 1.16 --- Database.c 5 Jun 2005 18:23:58 -0000 1.17 *************** *** 105,109 **** * \sa function OpenOrCreateCryptoDatabase() */ ! DATABASE_SECTION Err OpenMemoDatabase(DmOpenRef *dbReferenceP, UInt16 mode) { DmOpenRef dbReference; --- 105,109 ---- * \sa function OpenOrCreateCryptoDatabase() */ ! Err OpenMemoDatabase(DmOpenRef *dbReferenceP, UInt16 mode) { DmOpenRef dbReference; *************** *** 136,140 **** * \sa function OpenMemoDatabase() */ ! DATABASE_SECTION Err OpenOrCreateCryptoDatabase(DmOpenRef *dbReferenceP, char * dbNameP, UInt16 mode) { Err err = 0; --- 136,140 ---- * \sa function OpenMemoDatabase() */ ! Err OpenOrCreateCryptoDatabase(DmOpenRef *dbReferenceP, char * dbNameP, UInt16 mode) { Err err = 0; *************** *** 241,245 **** * */ ! DATABASE_SECTION static void SetDBBackupBit(DmOpenRef dbReference, UInt16 mode) { DmOpenRef dbReferenceLocal; --- 241,245 ---- * */ ! static void SetDBBackupBit(DmOpenRef dbReference, UInt16 mode) { DmOpenRef dbReferenceLocal; *************** *** 285,289 **** * \return err 0 if successful, errorcode if not */ ! DATABASE_SECTION static Err InitAppInfoBlock(DmOpenRef dbP) { UInt16 dbAppVersion; --- 285,289 ---- * \return err 0 if successful, errorcode if not */ ! static Err InitAppInfoBlock(DmOpenRef dbP) { UInt16 dbAppVersion; *************** *** 337,341 **** * \return nothing */ ! DATABASE_SECTION static void ReplaceMemoPadHardKey(void) { /* Check if the MemoPad/NotePad has not been already --- 337,341 ---- * \return nothing */ ! static void ReplaceMemoPadHardKey(void) { /* Check if the MemoPad/NotePad has not been already *************** *** 363,371 **** */ ! DATABASE_SECTION void SynchroniseCategories(DmOpenRef dbReference) { UInt16 category; Char dbRefCategoryName[dmCategoryLength]; Char memoPadCategoryName[dmCategoryLength]; for (category = 1; category < dmRecNumCategories; category++) { --- 363,372 ---- */ ! void SynchroniseCategories(DmOpenRef dbReference) { UInt16 category; Char dbRefCategoryName[dmCategoryLength]; Char memoPadCategoryName[dmCategoryLength]; + BEGIN_TRACE; for (category = 1; category < dmRecNumCategories; category++) { *************** *** 380,383 **** --- 381,385 ---- } } + END_TRACE; } *************** *** 396,400 **** */ ! DATABASE_SECTION void ChangeCategory (UInt16 category) { if (ShowAllCategories) --- 398,402 ---- */ ! void ChangeCategory (UInt16 category) { if (ShowAllCategories) *************** *** 418,422 **** * */ ! DATABASE_SECTION Err SortRecords(void) { return DmInsertionSort (MemoDBRef, (DmComparF*) CompareMemoRecords, (Int16) soAlphabetic); --- 420,424 ---- * */ ! Err SortRecords(void) { return DmInsertionSort (MemoDBRef, (DmComparF*) CompareMemoRecords, (Int16) soAlphabetic); *************** *** 437,441 **** */ ! DATABASE_SECTION Err SortRecord (DmOpenRef dbP, UInt16 * indexP) { Err err; --- 439,443 ---- */ ! Err SortRecord (DmOpenRef dbP, UInt16 * indexP) { Err err; *************** *** 539,543 **** */ ! DATABASE_SECTION static Int16 CompareMemoRecords (MemoDBRecordPtr r1, MemoDBRecordPtr r2, Int16 sortOrder, SortRecordInfoPtr UNUSED_PARAM(info1), SortRecordInfoPtr UNUSED_PARAM(info2), MemHandle UNUSED_PARAM(appInfoH)) --- 541,545 ---- */ ! static Int16 CompareMemoRecords (MemoDBRecordPtr r1, MemoDBRecordPtr r2, Int16 sortOrder, SortRecordInfoPtr UNUSED_PARAM(info1), SortRecordInfoPtr UNUSED_PARAM(info2), MemHandle UNUSED_PARAM(appInfoH)) *************** *** 574,578 **** */ ! DATABASE_SECTION Boolean CreateRecord (void) { MemPtr p; --- 576,580 ---- */ ! Boolean CreateRecord (void) { MemPtr p; *************** *** 637,641 **** * *******************************************************/ ! DATABASE_SECTION void GoToItem (GoToParamsPtr goToParams, Boolean launchingApp) { UInt16 recordNum = 0; --- 639,643 ---- * *******************************************************/ ! void GoToItem (GoToParamsPtr goToParams, Boolean launchingApp) { UInt16 recordNum = 0; Index: Database.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Database.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Database.h 4 Jun 2005 20:21:22 -0000 1.12 --- Database.h 5 Jun 2005 18:23:58 -0000 1.13 *************** *** 172,195 **** ***********************************************************************/ ! extern DmOpenRef MemoDBRef DATABASE_SECTION; ! extern DmOpenRef CryptoDBRef DATABASE_SECTION; ! extern DmOpenRef CryptoListDBRef DATABASE_SECTION; ! extern Char CategoryName [dmCategoryLength] DATABASE_SECTION; ! extern Boolean InPhoneLookup DATABASE_SECTION; ! extern Err OpenMemoDatabase(DmOpenRef *, UInt16) DATABASE_SECTION; ! extern Err OpenOrCreateCryptoDatabase(DmOpenRef *, char *, UInt16) DATABASE_SECTION; ! extern void SynchroniseCategories(DmOpenRef) DATABASE_SECTION; ! extern void ChangeCategory (UInt16) DATABASE_SECTION; ! extern Err SortRecord(DmOpenRef dbP, UInt16 * indexP) DATABASE_SECTION; ! extern Err SortRecords(void) DATABASE_SECTION; ! extern Boolean CreateRecord (void) DATABASE_SECTION; ! extern void GoToItem(GoToParamsPtr goToParams, Boolean launched) DATABASE_SECTION; #endif // __DATABASE_H__ --- 172,195 ---- ***********************************************************************/ ! DmOpenRef MemoDBRef; ! DmOpenRef CryptoDBRef; ! DmOpenRef CryptoListDBRef; ! Char CategoryName [dmCategoryLength]; ! Boolean InPhoneLookup; ! Err OpenMemoDatabase(DmOpenRef *, UInt16); ! Err OpenOrCreateCryptoDatabase(DmOpenRef *, char *, UInt16); ! void SynchroniseCategories(DmOpenRef); ! void ChangeCategory (UInt16); ! Err SortRecord(DmOpenRef dbP, UInt16 * indexP); ! Err SortRecords(void); ! Boolean CreateRecord (void); ! void GoToItem(GoToParamsPtr goToParams, Boolean launched); #endif // __DATABASE_H__ Index: DetailsForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/DetailsForm.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DetailsForm.c 2 Jun 2005 16:03:44 -0000 1.4 --- DetailsForm.c 5 Jun 2005 18:23:58 -0000 1.5 *************** *** 58,69 **** // Details Form Implementation Helpers ! static void DetailsFormInit(void); ! static UInt16 DetailsFormSelectCategory (UInt16* category); ! static UInt16 DetailsFormApplyChanges (UInt16 category, Boolean categoryEdited); // Details Form Event Handlers ! static Boolean OnDetailsFormCtlSelect(UInt16 controlID); ! static Boolean OnDetailsFormFrmOpen(UInt16 formID); #endif // SKIP_DOXYGEN --- 58,69 ---- // Details Form Implementation Helpers ! static void DetailsFormInit(void) BEAM_SECTION; ! static UInt16 DetailsFormSelectCategory (UInt16* category) BEAM_SECTION; ! static UInt16 DetailsFormApplyChanges (UInt16 category, Boolean categoryEdited) BEAM_SECTION; // Details Form Event Handlers ! static Boolean OnDetailsFormCtlSelect(UInt16 controlID) BEAM_SECTION; ! static Boolean OnDetailsFormFrmOpen(UInt16 formID) BEAM_SECTION; #endif // SKIP_DOXYGEN Index: DetailsForm.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/DetailsForm.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DetailsForm.h 11 Jan 2004 17:57:01 -0000 1.2 --- DetailsForm.h 5 Jun 2005 18:23:58 -0000 1.3 *************** *** 19,23 **** // $Id$ ! #ifndef __DETAILSFORM_H__ #define __DETAILSFORM_H__ --- 19,23 ---- // $Id$ ! #include "sects.h" #ifndef __DETAILSFORM_H__ #define __DETAILSFORM_H__ *************** *** 32,36 **** /// Details Form event handler ! Boolean DetailsFormHandleEvent(EventPtr eventP); ! #endif // __DETAILSFORM_H__ \ No newline at end of file --- 32,36 ---- /// Details Form event handler ! Boolean DetailsFormHandleEvent(EventPtr eventP) BEAM_SECTION; ! #endif // __DETAILSFORM_H__ Index: Main.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Main.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Main.c 2 Jun 2005 16:03:45 -0000 1.15 --- Main.c 5 Jun 2005 18:23:58 -0000 1.16 *************** *** 39,42 **** --- 39,43 ---- */ + #include "sects.h" #include "StdPalm.h" #include "Database.h" *************** *** 356,360 **** } ! void APP_SECTION Dummy(void) { int i = 3; --- 357,361 ---- } ! void MAIN_SECTION Dummy(void) { int i = 3; Index: StdPalm.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/StdPalm.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** StdPalm.h 4 Jun 2005 20:21:22 -0000 1.9 --- StdPalm.h 5 Jun 2005 18:23:58 -0000 1.10 *************** *** 29,46 **** * used to generate a precompiled-header, so as to speed up compilation * of the other files. - * \par - * This file contains definitions of some macros useful for debugging and - * testing the application, as well as the definitions of the multiple - * segments some portions of the code will live in. */ - #ifdef _MULTISEGMENT - # define APP_SECTION __attribute__ ((section ("sec001"))) - # define DATABASE_SECTION __attribute__ ((section ("sec002"))) - #else // !_MULTISEGMENT - # define APP_SECTION - # define DATABASE_SECTION - #endif - /** * \defgroup debugging Debugging and Trace Support Functions and Macros --- 29,34 ---- Index: sects.h =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/sects.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sects.h 2 Jun 2005 16:03:45 -0000 1.1 --- sects.h 5 Jun 2005 18:23:58 -0000 1.2 *************** *** 1,7 **** #ifdef _MULTISEGMENT ! #define DIA_SECTION __attribute__ ((section ("sec002"))) ! #define RESIZE_SECTION __attribute__ ((section ("sec002"))) #else // !_MULTISEGMENT #define RESIZE_SECTION #define DIA_SECTION --- 1,11 ---- #ifdef _MULTISEGMENT ! #define MAIN_SECTION __attribute__ ((section ("sec001"))) ! #define BEAM_SECTION __attribute__ ((section ("sec002"))) ! #define RESIZE_SECTION __attribute__ ((section ("sec002"))) ! #define DIA_SECTION __attribute__ ((section ("sec002"))) #else // !_MULTISEGMENT + #define MAIN_SECTION + #define BEAM_SECTION #define RESIZE_SECTION #define DIA_SECTION |
|
From: Andre M. G. <amg...@us...> - 2005-06-05 10:55:11
|
Update of /cvsroot/cryptopad/cryptopad/src/cryptopad In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4148 Modified Files: Beam.c MainForm.c Log Message: Ok It helps to call the right function. Send Category works now. Index: Beam.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/Beam.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Beam.c 4 Jun 2005 20:21:22 -0000 1.1 --- Beam.c 5 Jun 2005 10:54:58 -0000 1.2 *************** *** 135,139 **** { Err error; ! Char description[dmCategoryLength]; UInt16 index; Boolean foundAtLeastOneRecord; --- 135,139 ---- { Err error; ! Char description[dmCategoryLength]; UInt16 index; Boolean foundAtLeastOneRecord; *************** *** 168,172 **** foundAtLeastOneRecord = false; while (true) ! { if (DmSeekRecordInCategory(dbP, &index, 0, dmSeekForward, categoryNum) != 0) break; --- 168,172 ---- foundAtLeastOneRecord = false; while (true) ! { if (DmSeekRecordInCategory(dbP, &index, 0, dmSeekForward, categoryNum) != 0) break; *************** *** 178,182 **** index++; ! } --- 178,182 ---- index++; ! } Index: MainForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/MainForm.c,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** MainForm.c 5 Jun 2005 10:36:23 -0000 1.21 --- MainForm.c 5 Jun 2005 10:54:58 -0000 1.22 *************** *** 42,45 **** --- 42,46 ---- #include "MainForm.h" + #include "Beam.h" #include "EventCrack.h" *************** *** 1929,1933 **** static Boolean OnMainFormCategoryBeam(void) { ! MemoSendRecord(MemoDBRef, CurrentCategory, exgBeamPrefix ); return true; } --- 1930,1934 ---- static Boolean OnMainFormCategoryBeam(void) { ! MemoSendCategory(MemoDBRef, CurrentCategory, exgBeamPrefix ); return true; } *************** *** 1935,1939 **** static Boolean OnMainFormCategorySend(void) { ! MemoSendRecord(MemoDBRef, CurrentCategory, exgSendPrefix); return true; } --- 1936,1940 ---- static Boolean OnMainFormCategorySend(void) { ! MemoSendCategory(MemoDBRef, CurrentCategory, exgSendPrefix); return true; } |
|
From: Andre M. G. <amg...@us...> - 2005-06-05 10:36:39
|
Update of /cvsroot/cryptopad/cryptopad/src/cryptopad In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26469 Modified Files: MainForm.c Log Message: Added in the calls to beam category which doesn't seem to work properly. Index: MainForm.c =================================================================== RCS file: /cvsroot/cryptopad/cryptopad/src/cryptopad/MainForm.c,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** MainForm.c 3 Jun 2005 18:35:33 -0000 1.20 --- MainForm.c 5 Jun 2005 10:36:23 -0000 1.21 *************** *** 114,117 **** --- 114,119 ---- static Boolean OnMainFormItemOptionsPrefs(void); static Boolean OnMainFormItemOptionsAbout(void); + static Boolean OnMainFormCategoryBeam(void); + static Boolean OnMainFormCategorySend(void); #endif // SKIP_DOXYGEN *************** *** 143,149 **** BEGIN_HANDLE_MENU_EVENT() HANDLE_MENU_ITEM(itemOptionsStyle, OnMainFormItemOptionsStyle) ! HANDLE_MENU_ITEM(itemOptionsSecurity, OnMainFormItemOptionsSecurity) HANDLE_MENU_ITEM(itemOptionsPrefs, OnMainFormItemOptionsPrefs) HANDLE_MENU_ITEM(itemOptionsAbout, OnMainFormItemOptionsAbout) END_HANDLE_MENU_EVENT() --- 145,153 ---- BEGIN_HANDLE_MENU_EVENT() HANDLE_MENU_ITEM(itemOptionsStyle, OnMainFormItemOptionsStyle) ! HANDLE_MENU_ITEM(itemOptionsSecurity, OnMainFormItemOptionsSecurity) HANDLE_MENU_ITEM(itemOptionsPrefs, OnMainFormItemOptionsPrefs) HANDLE_MENU_ITEM(itemOptionsAbout, OnMainFormItemOptionsAbout) + HANDLE_MENU_ITEM(itemRecordBeamCategory, OnMainFormCategoryBeam) + HANDLE_MENU_ITEM(itemRecordSendCategory, OnMainFormCategorySend) END_HANDLE_MENU_EVENT() *************** *** 1922,1923 **** --- 1926,1939 ---- return true; } + + static Boolean OnMainFormCategoryBeam(void) + { + MemoSendRecord(MemoDBRef, CurrentCategory, exgBeamPrefix ); + return true; + } + + static Boolean OnMainFormCategorySend(void) + { + MemoSendRecord(MemoDBRef, CurrentCategory, exgSendPrefix); + return true; + } |