Changeset 796
- Timestamp:
- Aug 22, 2007, 1:22:27 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HISTORY
r791 r796 10 10 o Rework states logic to allow longer state names, tickets #109, #31 (Steven) 11 11 o Report delta time in debug messages (Steven) 12 o Improved container load times by increasing the number of files processed in each 13 pass; "FileBuf" is now settable most places (See readme since most will need to 14 reset this manually). (Gregg) 15 o Added BldFullPathName cleaned up comp dirs code fix right left misalignment(Steven) 16 o Added BldQuotedFileName and BldQuotedFullPathName to streamline code. (Steven, Gregg) 17 o Increased limit on Subject EA to 1024 from 40. (Gregg) 18 o Corrected dir sizes accel key to ctrl + z. (Gregg) 19 o Fixed addition of ff in Hex notation by archiver editor. (John) 20 o Updated build instructions on FM/2 Wiki. (David) 21 o Dir sizes correct some sizing and positioning issues. (Steve) 22 o Removed error message in eas.c which caused seek and scan for text including eas to fail on 23 read only files. (Gregg) 24 o Fixed unnecessary menu item removal when FM/2 is run as the WPS.(Gregg) 12 25 o Fixed the restore of the settings under "Include in details view" on the "DirView" 13 26 tab of the configuration notebook, Ticket 118/71 (John) 27 o Subject column can be moved to left side of split bar in directory container 28 and/or sized which will truncate long subjects (Gregg) 14 29 15 30 3.06 … … 1286 1301 1287 1302 $Id$ 1303 -
trunk/dll/fm3dlg.h
r549 r796 17 17 02 Jan 07 GKY Add always paths opt to extract 18 18 07 Jan 07 GKY Add remember search flags to seek and scan 19 21 Aug 07 GKY Make Subject column in dircnr sizable and movable from the rigth to the left pane 19 20 20 21 ***********************************************************************/ … … 713 714 #define CFG5_FILTER 25519 714 715 #define CFG5_EXTERNALCOLLECTOR 25520 716 #define CFG5_SUBJECTLENGTHMAX 25521 717 #define CFG5_SUBJECTDISPLAYWIDTH 25522 718 #define CFG5_SUBJECTINLEFTPANE 25523 715 719 716 720 #define CFGTS_FRAME 25599 -
trunk/dll/fm3dll.h
r789 r796 60 60 19 Aug 07 SHL Move FILESTOGET_MIN/MAX here 61 61 19 Aug 07 SHL Update SaveDirCnrState return 62 21 Aug 07 GKY Make Subject column in dircnr sizable and movable from the rigth to the left pane 62 63 63 64 ***********************************************************************/ … … 1380 1381 fSwitchTreeExpand, fCollapseFirst, fFilesInTree, fNoDead, 1381 1382 fThreadNotes, fOkayMinimize, fRunning, fDullMin, fBlueLED, 1382 fViewChild, fShowEnv, fLeaveTree, fNoFoldMenu,1383 fViewChild, fShowEnv, fLeaveTree, fNoFoldMenu, fSubjectInLeftPane, 1383 1384 fCustomFileDlg, fSaveMiniCmds, fSaveBigCmds, fNoTileUpdate, 1384 1385 fFM2Deletes, fAutoAddAllDirs, fConfirmTarget, fChangeTarget, 1385 fFirstTime, fShowTarget, fNoFinger, fDrivebarHelp, fCheckMM; 1386 fFirstTime, fShowTarget, fNoFinger, fDrivebarHelp, fCheckMM, 1387 fSubjectLengthMax; 1386 1388 DATADEF BOOL detailsladate, detailslatime, detailscrdate, detailscrtime, 1387 1389 detailslongname, detailsea, detailssize, detailssubject, … … 1427 1429 #define FILESTOGET_MAX 4096 1428 1430 1429 DATADEF ULONG ulCnrType, FilesToGet, AutoviewHeight, TreeWidth, FM3UL ;1431 DATADEF ULONG ulCnrType, FilesToGet, AutoviewHeight, TreeWidth, FM3UL, SubjectDisplayWidth; 1430 1432 DATADEF long prnwidth, prnlength, prntmargin, prnbmargin, prnlmargin, 1431 1433 prnrmargin, prnspacing, prntabspaces; -
trunk/dll/fm3res.dlg
r783 r796 29 29 03 Aug 07 GKY Enlarged and made setable everywhere Findbuf (speed file loading) 30 30 13 Aug 07 SHL Tweak scanning page 31 21 Aug 07 GKY Make Subject column in dircnr sizable and movable from the rigth to the left pane 31 32 32 33 ***********************************************************************/ … … 1619 1620 GROUPBOX "Include in detail view:", -1, 4, 16, 236, 72, NOT 1620 1621 WS_GROUP 1622 GROUPBOX "Subject Column Settings:", -1, 120, 90, 110, 48, NOT WS_GROUP 1621 1623 AUTORADIOBUTTON "Icon", CFG5_ICON, 12, 118, 42, 10, 1622 1624 BS_NOCURSORSELECT | WS_GROUP | WS_TABSTOP … … 1628 1630 BS_NOCURSORSELECT | WS_TABSTOP 1629 1631 AUTOCHECKBOX "MiniIcons", CFG5_MINIICONS, 12, 94, 58, 10 1632 AUTOCHECKBOX "Subject Left", CFG5_SUBJECTINLEFTPANE, 128, 118, 66, 10 1633 AUTOCHECKBOX "Subject Max Width", CFG5_SUBJECTLENGTHMAX, 128, 106, 66, 10 1630 1634 AUTOCHECKBOX "Field Titles", CFG5_SHOWTITLES, 12, 68, 66, 10, 1631 1635 WS_GROUP … … 1642 1646 AUTOCHECKBOX "CR Dates", CFG5_SHOWCRDATE, 164, 56, 66, 10 1643 1647 AUTOCHECKBOX "CR Times", CFG5_SHOWCRTIME, 164, 44, 66, 10 1648 LTEXT "Subject Width", -1, 128, 92, 45, 12, NOT WS_GROUP 1649 CONTROL "", CFG5_SUBJECTDISPLAYWIDTH, 175, 96, 45, 12, WC_SPINBUTTON, 1650 SPBS_ALLCHARACTERS | SPBS_MASTER | 1651 SPBS_JUSTCENTER | WS_TABSTOP | SPBS_FASTSPIN | 1652 WS_VISIBLE 1644 1653 ENTRYFIELD "", CFG5_FILTER, 45, 4, 192, 8, ES_MARGIN | 1645 1654 ES_READONLY | WS_GROUP 1646 PUSHBUTTON "~Help", IDM_HELP, 168, 98, 40, 14, BS_NOPOINTERFOCUS |1647 WS_GROUP 1648 PUSHBUTTON "~Undo", IDM_UNDO, 168, 116, 40, 14, BS_NOPOINTERFOCUS1655 PUSHBUTTON "~Help", IDM_HELP, 250, 68, 40, 14, BS_NOPOINTERFOCUS | 1656 WS_GROUP 1657 PUSHBUTTON "~Undo", IDM_UNDO, 250, 85, 40, 14, BS_NOPOINTERFOCUS 1649 1658 END 1650 1659 END -
trunk/dll/init.c
r789 r796 31 31 18 Aug 07 JBS Added code to read Details* keys from the INI file (Ticket 118) 32 32 19 Aug 07 SHL Ensure FilesToGet in valid range 33 21 Aug 07 GKY Make Subject column in dircnr sizable and movable from the rigth to the left pane 33 34 34 35 ***********************************************************************/ … … 1272 1273 &size); 1273 1274 size = sizeof(ULONG); 1274 PrfQueryProfileData(fmprof, appname, "FilesToGet", (PVOID) &FilesToGet,1275 PrfQueryProfileData(fmprof, appname, "FilesToGet", (PVOID) &FilesToGet, 1275 1276 &size); 1276 1277 if (FilesToGet < FILESTOGET_MIN) … … 1319 1320 size = sizeof(BOOL); 1320 1321 PrfQueryProfileData(fmprof, appname, "DetailsIcon", (PVOID) &detailsicon, 1321 &size); 1322 &size); 1323 size = sizeof(BOOL); 1324 PrfQueryProfileData(fmprof, appname, "SubjectInLeftPane", (PVOID) &fSubjectInLeftPane, 1325 &size); 1326 size = sizeof(ULONG); 1327 PrfQueryProfileData(fmprof, appname, "SubjectDisplayWidth", (PVOID) &SubjectDisplayWidth, 1328 &size); 1329 if (SubjectDisplayWidth < 50) 1330 SubjectDisplayWidth = 0; 1331 else if (SubjectDisplayWidth > 1000) 1332 SubjectDisplayWidth = 1000; 1333 size = sizeof(BOOL); 1334 PrfQueryProfileData(fmprof, appname, "SubjectLengthMax", (PVOID) &fSubjectLengthMax, 1335 &size); 1322 1336 1323 1337 /* load pointers and icons we use */ -
trunk/dll/ipf/notebook.ipf
r787 r796 153 153 full size or in miniature in views that show icons. 154 154 :p. 155 The :hp6.Subject Column Settings:ehp6. section allows you to set the width of 156 of the subject column which can be quite wide if you have any long subjects 157 in a directory. The :hp6.Subject Width:ehp6. spin button will show 0 if the 158 :hp6.Subject Max Width:ehp6. button (which sets the column to the width of 159 the longest subject in the directory) is selected. In addition you can move the 160 subject column to the left side of the slide bar by selecting :hp6.Subject 161 Left:ehp6. 162 163 :p. 155 164 The :hp6.Field Titles:ehp6. group (analogous to the Views->Details Setup 156 165 submenu) allows you to control what is shown in a Details view. Each … … 323 332 all expanded branches in the tree before switching because of one of the 324 333 two above switch events. 325 This option iswill significantly slow down switching334 This option will significantly slow down switching 326 335 if you a large number of directories in the Drive Tree. 327 336 :p. -
trunk/dll/misc.c
r792 r796 516 516 // Fill in column info for subjects 517 517 518 pfi = pfi->pNextFieldInfo; 519 pfi->flData = CFA_STRING | CFA_LEFT | CFA_SEPARATOR; 520 if (isCompCnr) 521 pfi->flData |= CFA_FIREADONLY; 522 pfi->flTitle = CFA_LEFT | CFA_FITITLEREADONLY; 523 pfi->pTitleData = isCompCnr ? GetPString(IDS_STATUS) : 518 if (fSubjectInLeftPane) { 519 pfi = pfi->pNextFieldInfo; 520 pfi->flData = CFA_STRING | CFA_LEFT | CFA_SEPARATOR; 521 if (isCompCnr) 522 pfi->flData |= CFA_FIREADONLY; 523 pfi->flTitle = CFA_LEFT | CFA_FITITLEREADONLY; 524 pfi->pTitleData = isCompCnr ? GetPString(IDS_STATUS) : 524 525 GetPString(IDS_SUBJ); 525 pfi->offStruct = FIELDOFFSET(CNRITEM, pszSubject); 526 527 // Store the current pfi value as that will be used to indicate the 528 // last column in the lefthand container window (we have a splitbar) 529 530 pfiLastLeftCol = pfi; 526 pfi->offStruct = FIELDOFFSET(CNRITEM, pszSubject); 527 pfi->cxWidth = SubjectDisplayWidth; 528 529 // Store the current pfi value as that will be used to indicate the 530 // last column in the lefthand container window (we have a splitbar) 531 532 pfiLastLeftCol = pfi; 533 } 534 else { 535 // Store the current pfi value as that will be used to indicate the 536 // last column in the lefthand container window (we have a splitbar) 537 538 pfiLastLeftCol = pfi; 539 pfi = pfi->pNextFieldInfo; 540 pfi->flData = CFA_STRING | CFA_LEFT | CFA_SEPARATOR; 541 if (isCompCnr) 542 pfi->flData |= CFA_FIREADONLY; 543 pfi->flTitle = CFA_LEFT | CFA_FITITLEREADONLY; 544 pfi->pTitleData = isCompCnr ? GetPString(IDS_STATUS) : 545 GetPString(IDS_SUBJ); 546 pfi->offStruct = FIELDOFFSET(CNRITEM, pszSubject); 547 pfi->cxWidth = SubjectDisplayWidth; 548 } 531 549 532 550 // Fill in column information for the file size -
trunk/dll/notebook.c
r789 r796 19 19 13 Aug 07 SHL Rework FilesToGet min/max to match how DosFindFirst/Next works 20 20 19 Aug 07 SHL Sync with SaveDirCnrState mods 21 21 Aug 07 GKY Make Subject column in dircnr sizable and movable from the rigth to the left pane 21 22 22 23 ***********************************************************************/ … … 594 595 WinCheckButton(hwnd, CFG6_SORTNAME, TRUE); 595 596 if (TreesortFlags & SORT_REVERSE) 596 597 WinCheckButton(hwnd, CFG6_SORTREVERSE, TRUE); 597 598 } 598 599 return 0; … … 1341 1342 switch (msg) { 1342 1343 case WM_INITDLG: 1344 WinSendDlgItemMsg(hwnd, CFG5_SUBJECTDISPLAYWIDTH, SPBM_SETTEXTLIMIT, 1345 MPFROMSHORT(8), MPVOID); 1346 WinSendDlgItemMsg(hwnd, CFG5_SUBJECTDISPLAYWIDTH, SPBM_OVERRIDESETLIMITS, 1347 MPFROMLONG(1000), MPFROMLONG(50)); 1343 1348 WinSendDlgItemMsg(hwnd, 1344 1349 CFG5_FILTER, … … 1394 1399 strcpy(mask.prompt, GetPString(IDS_DEFDIRFILTERTITLETEXT)); 1395 1400 WinSetDlgItemText(hwnd, CFG5_FILTER, mask.szMask); 1401 WinCheckButton(hwnd, CFG5_SUBJECTINLEFTPANE, fSubjectInLeftPane); 1402 WinCheckButton(hwnd, CFG5_SUBJECTLENGTHMAX, fSubjectLengthMax); 1403 WinSendDlgItemMsg(hwnd, CFG5_SUBJECTDISPLAYWIDTH, SPBM_SETCURRENTVALUE, 1404 MPFROMLONG(SubjectDisplayWidth), MPVOID); 1396 1405 } 1397 1406 return 0; … … 1519 1528 &detailsattr, sizeof(BOOL)); 1520 1529 PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsAttr", 1521 &detailsattr, sizeof(BOOL)); 1530 &detailsattr, sizeof(BOOL)); 1531 fSubjectInLeftPane = WinQueryButtonCheckstate(hwnd, CFG5_SUBJECTINLEFTPANE); 1532 PrfWriteProfileData(fmprof, appname, "SubjectInLeftPane", 1533 &fSubjectInLeftPane, sizeof(BOOL)); 1534 PrfWriteProfileData(fmprof, appname, "DirCnr.SubjectInLeftPane", 1535 &fSubjectInLeftPane, sizeof(BOOL)); 1536 fSubjectLengthMax = WinQueryButtonCheckstate(hwnd, CFG5_SUBJECTLENGTHMAX); 1537 PrfWriteProfileData(fmprof, appname, "SubjectLengthMax", 1538 &fSubjectInLeftPane, sizeof(BOOL)); 1539 PrfWriteProfileData(fmprof, appname, "DirCnr.SubjectLengthMax", 1540 &fSubjectInLeftPane, sizeof(BOOL)); 1522 1541 *mask.prompt = 0; 1523 1542 PrfWriteProfileData(fmprof, appname, "DirFilter", &mask, sizeof(MASK)); 1543 { 1544 if (!WinQueryButtonCheckstate(hwnd, CFG5_SUBJECTLENGTHMAX)) { 1545 WinSendDlgItemMsg(hwnd, CFG5_SUBJECTDISPLAYWIDTH, SPBM_QUERYVALUE, 1546 MPFROMP(&SubjectDisplayWidth), MPFROM2SHORT(0, SPBQ_DONOTUPDATE)); 1547 if (SubjectDisplayWidth < 50) 1548 SubjectDisplayWidth = 0; 1549 else if (SubjectDisplayWidth > 1000) 1550 SubjectDisplayWidth = 1000; 1551 } 1552 else 1553 SubjectDisplayWidth = 0; 1554 PrfWriteProfileData(fmprof, 1555 appname, "SubjectDisplayWidth", 1556 &SubjectDisplayWidth, sizeof(ULONG)); 1557 PrfWriteProfileData(fmprof, 1558 appname, "DirCnr.SubjectDisplayWidth", 1559 &SubjectDisplayWidth, sizeof(ULONG)); 1560 } 1524 1561 break; 1525 1562 }
Note:
See TracChangeset
for help on using the changeset viewer.