- Timestamp:
- Oct 24, 2010, 12:33:00 AM (15 years ago)
- Location:
- trunk/dll
- Files:
-
- 15 edited
-
avl.c (modified) (2 diffs)
-
cmdline.c (modified) (2 diffs)
-
collect.c (modified) (4 diffs)
-
eas.c (modified) (4 diffs)
-
extract.c (modified) (2 diffs)
-
fm3dlg.h (modified) (2 diffs)
-
fm3dll2.h (modified) (3 diffs)
-
fm3res.dlg (modified) (3 diffs)
-
fm3res.rc (modified) (4 diffs)
-
init.c (modified) (2 diffs)
-
ipf/arclist.ipf (modified) (2 diffs)
-
ipf/config.ipf (modified) (1 diff)
-
mainwnd.c (modified) (2 diffs)
-
misc.c (modified) (2 diffs)
-
notebook.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/avl.c
r1544 r1546 38 38 11 Jan 08 GKY Replace "ARCHIVER.BB2" in string file with global set at compile in init.c 39 39 08 Mar 09 GKY Additional strings move to PCSZs in init.c 40 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 40 41 41 42 ***********************************************************************/ … … 810 811 811 812 break; 813 814 case WM_HELP: 815 if (hwndHelp) 816 WinSendMsg(hwndHelp, 817 HM_DISPLAY_HELP, 818 MPFROMSHORT(1), MPFROMSHORT(HM_RESOURCEID)); 819 break; 812 820 813 821 case WM_COMMAND: -
trunk/dll/cmdline.c
r1544 r1546 28 28 21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c 29 29 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 30 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 30 31 31 32 ***********************************************************************/ … … 619 620 return 0; 620 621 622 case WM_HELP: 623 if (hwndHelp) 624 WinSendMsg(hwndHelp, 625 HM_DISPLAY_HELP, 626 MPFROM2SHORT(HELP_CMDLINE, 0), MPFROMSHORT(HM_RESOURCEID)); 627 break; 628 621 629 case WM_COMMAND: 622 630 switch (SHORT1FROMMP(mp1)) { -
trunk/dll/collect.c
r1544 r1546 71 71 15 Sep 09 SHL Use UM_GREP when passing pathname 72 72 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 73 23 Oct 10 GKY Add menu items for opening directory cnrs based on path of selected item 74 including the option to use walk directories to select path 73 75 74 76 ***********************************************************************/ … … 145 147 #include "fortify.h" 146 148 #include "excputil.h" // xbeginthread 149 #include "walkem.h" // WalkAllDlgProc 147 150 148 151 // Data definitions … … 1749 1752 case IDM_RESELECT: 1750 1753 SelectList(hwnd, FALSE, FALSE, FALSE, NULL, NULL, dcd->lastselection); 1754 break; 1755 1756 case IDM_WALKDIR: 1757 case IDM_OPENWINDOW: 1758 { 1759 CHAR newpath[CCHMAXPATH]; 1760 PCNRITEM pci; 1761 1762 pci = (PCNRITEM) CurrentRecord(hwnd); 1763 if (pci && (INT) pci != -1) { 1764 strcpy(newpath, pci->pszFileName); 1765 MakeValidDir(newpath); 1766 } 1767 else 1768 strcpy(newpath, pFM2SaveDirectory); 1769 if (SHORT1FROMMP(mp1) == IDM_WALKDIR) 1770 WinDlgBox(HWND_DESKTOP, dcd->hwndParent, WalkAllDlgProc, 1771 FM3ModHandle, WALK_FRAME, MPFROMP(newpath)); 1772 if (!*newpath) 1773 break; 1774 WinSendMsg(hwnd, UM_OPENWINDOWFORME, MPFROMP(newpath), MPVOID); 1775 } 1751 1776 break; 1752 1777 … … 2186 2211 case IDM_UPDATE: 2187 2212 case IDM_COLLECTFROMFILE: 2188 case IDM_OPENWINDOW:2213 //case IDM_OPENWINDOW: 2189 2214 case IDM_OPENSETTINGS: 2190 2215 case IDM_OPENDEFAULT: -
trunk/dll/eas.c
r1498 r1546 25 25 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 26 26 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 27 23 Oct 10 GKY Added button to allow opening of a new file's eas from the EA dialog. 27 28 28 29 ***********************************************************************/ … … 58 59 #include "misc.h" // PaintRecessedWindow 59 60 #include "fortify.h" 61 #include "getnames.h" // insert_filename 62 #include "pathutil.h" // ForwardslashToBackslash 60 63 61 64 #pragma data_seg(DATA1) … … 494 497 MLEclearall(WinWindowFromID(hwnd, EA_MLE)); 495 498 WinShowWindow(WinWindowFromID(hwnd, EA_MLE), FALSE); 496 WinShowWindow(WinWindowFromID(hwnd, EA_CHANGE), FALSE);499 WinShowWindow(WinWindowFromID(hwnd,EA_CHANGE), FALSE); 497 500 WinShowWindow(WinWindowFromID(hwnd, EA_DELETE), FALSE); 498 501 WinShowWindow(WinWindowFromID(hwnd, EA_HEXDUMP), FALSE); … … 829 832 case WM_COMMAND: 830 833 switch (SHORT1FROMMP(mp1)) { 834 case EA_OPENFILE: 835 { 836 CHAR filename[CCHMAXPATH]; 837 CHAR *p; 838 CHAR **list = NULL; 839 840 if (*eap->filename) 841 strcpy(filename, eap->filename); 842 WinDismissDlg(hwnd, 1); 843 ForwardslashToBackslash(filename); 844 p = strrchr(filename, '\\'); 845 if (p) { 846 p++; 847 *p = 0; 848 } 849 else 850 *filename = 0; 851 strcat(filename, "*"); 852 list = xmalloc(sizeof(CHAR *) * 2, pszSrcFile, __LINE__); 853 854 if (list) { 855 if (insert_filename(HWND_DESKTOP,filename,TRUE,FALSE) && 856 *filename && *filename != '*') { 857 list[0] = filename; 858 list[1] = NULL; 859 WinDlgBox(HWND_DESKTOP, 860 HWND_DESKTOP, 861 DisplayEAsProc, 862 FM3ModHandle, 863 EA_FRAME, 864 (PVOID)list); 865 } 866 else 867 free(list); 868 } 869 break; 870 } 831 871 case EA_ADD: 832 872 { -
trunk/dll/extract.c
r1505 r1546 19 19 07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook. 20 20 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 21 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 21 22 22 23 ***********************************************************************/ … … 458 459 459 460 case IDM_HELP: 461 case WM_HELP: 460 462 if (hwndHelp) 461 463 WinSendMsg(hwndHelp, HM_DISPLAY_HELP, -
trunk/dll/fm3dlg.h
r1491 r1546 37 37 option to Quick page. 38 38 27 Dec 09 GKY Made command hotkeys user selectable. 39 23 Oct 10 GKY Added button to allow opening of a new file's eas from the EA dialog. 39 40 40 41 ***********************************************************************/ … … 258 259 #define COMP_TOTALRIGHTHDR 21023 259 260 #define COMP_SELRIGHTHDR 21024 260 #define COMP_FILTER 21025 261 #define COMP_HIDENOTSELECTED 21026 262 263 #define EA_FRAME 21100 264 #define EA_LISTBOX 21101 265 #define EA_TEXT 21102 266 #define EA_ENTRY 21103 267 #define EA_MLE 21104 268 #define EA_CHANGE 21105 269 #define EA_DELETE 21106 270 #define EA_HEXDUMP 21107 271 #define EA_ADD 21108 272 #define EA_NAMES 21109 273 #define EA_HELP 21110 261 #define COMP_FILTER 21025 262 #define COMP_HIDENOTSELECTED 21026 263 264 #define EA_FRAME 21100 265 #define EA_LISTBOX 21101 266 #define EA_TEXT 21102 267 #define EA_ENTRY 21103 268 #define EA_MLE 21104 269 #define EA_CHANGE 21105 270 #define EA_DELETE 21106 271 #define EA_HEXDUMP 21107 272 #define EA_ADD 21108 273 #define EA_NAMES 21109 274 #define EA_HELP 21110 275 #define EA_OPENFILE 21111 274 276 275 277 #define EAC_FRAME 21200 276 #define EAC_TEXT 21201278 #define EAC_TEXT 21201 277 279 #define EAC_NAME 21202 278 280 #define EAC_ASCII 21203 -
trunk/dll/fm3dll2.h
r1488 r1546 32 32 22 Nov 09 GKY Add LVM.EXE to partition submenu 33 33 21 Dec 09 GKY Added 20 new hot keys for commands. 34 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 34 35 35 36 Align with spaces only - no tabs please … … 90 91 #define ID_HELPTABLE 50 91 92 #define ID_HELPSUBTABLE 51 93 #define ID_HELPSUBTABLEA 52 94 #define ID_HELPSUBTABLEB 53 92 95 #define ID_BUTTONMENU 99 93 96 … … 393 396 #define IDM_DATABAR 1163 394 397 #define IDM_PARTITIONLVM 1164 398 #define IDM_OPENSUBCNRMENU 1165 395 399 396 400 #define IDM_UTILITIESMENU 2000 -
trunk/dll/fm3res.dlg
r1507 r1546 50 50 option to Quick page. 51 51 27 Dec 09 GKY Made command hotkeys user selectable. 52 52 23 Oct 10 GKY Added button to allow opening of a new file's eas from the EA dialog. 53 53 54 ***********************************************************************/ 54 55 … … 313 314 DLGTEMPLATE ASEL_FRAME LOADONCALL MOVEABLE DISCARDABLE 314 315 BEGIN 315 DIALOG "FM/2: Select Archiver", ASEL_FRAME, 16, -16, 159, 120,316 DIALOG "FM/2: Select Archiver", ASEL_FRAME, 36, -16, 159, 120, 316 317 FS_MOUSEALIGN, FCF_TITLEBAR 317 318 BEGIN … … 1527 1528 DLGTEMPLATE EA_FRAME LOADONCALL MOVEABLE DISCARDABLE 1528 1529 BEGIN 1529 DIALOG "FM/2: EAs", EA_FRAME, 12,6, 352, 218, WS_VISIBLE | NOT1530 DIALOG "FM/2: EAs", EA_FRAME, 52, 56, 352, 218, WS_VISIBLE | NOT 1530 1531 WS_SAVEBITS, FCF_SYSMENU | FCF_TITLEBAR | FCF_MINBUTTON | 1531 1532 FCF_TASKLIST 1532 1533 BEGIN 1534 PUSHBUTTON "~Open file", EA_OPENFILE, 8, 204, 40, 12, 1535 BS_NOPOINTERFOCUS 1533 1536 CTEXT "These are the EA types this object contains -- pick" 1534 " one.", EA_HELP, 8, 206, 336, 8, DT_VCENTER1537 " one.", EA_HELP, 58, 206, 236, 8, DT_VCENTER 1535 1538 PRESPARAMS PP_FOREGROUNDCOLOR, 0x00FFFFFFL 1536 1539 PRESPARAMS PP_BACKGROUNDCOLOR, 0x00000080L -
trunk/dll/fm3res.rc
r1529 r1546 55 55 27 Dec 09 GKY Strings for command.c changes 56 56 09 MAY 10 JBS Ticket 434: Message box text improvements. 57 57 23 Oct 10 GKY Add menu items for opening directory cnrs based on path of selected item 58 including the option to use walk directories to select path 59 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help. 60 58 61 ***********************************************************************/ 59 62 … … 653 656 VK_F10, SC_MAXIMIZE, SYSCOMMAND,CONTROL,ALT,VIRTUALKEY 654 657 VK_F11, SC_HIDE, SYSCOMMAND,CONTROL,ALT,VIRTUALKEY 655 VK_F1, IDM_HELP, VIRTUALKEY658 // VK_F1, IDM_HELP, VIRTUALKEY 656 659 VK_F2, IDM_COLLECTOR, VIRTUALKEY 657 660 VK_F3, IDM_KILLME, CONTROL,VIRTUALKEY … … 1531 1534 MENUITEM "~Settings\tF7", IDM_OPENSETTINGS 1532 1535 } 1533 SUBMENU "Create objects", IDM_OBJECTSUBMENU 1536 SUBMENU "Open directory container", IDM_OPENSUBCNRMENU 1537 { 1538 MENUITEM "Open container", IDM_OPENWINDOW 1539 MENUITEM "Walk to open", IDM_WALKDIR 1540 } 1541 SUBMENU "Create objects", IDM_OBJECTSUBMENU 1534 1542 { 1535 1543 MENUITEM "~Shadows...", IDM_SHADOW … … 3381 3389 HELPTABLE ID_HELPTABLE 3382 3390 { 3391 HELPITEM MAIN_FRAME, ID_HELPSUBTABLE, HELP_MAIN 3392 HELPITEM ASS_FRAME, ID_HELPSUBTABLEA, HELP_ASSOC 3393 HELPITEM EXEC_FRAME, ID_HELPSUBTABLEB, HELP_CMDLINE 3394 HELPITEM ASEL_FRAME, ID_HELPSUBTABLEA, HELP_ARCHIVERS 3395 HELPITEM ASEL_EDIT_FRAME, ID_HELPSUBTABLEA, HELP_EDITARC 3383 3396 } 3384 3397 3385 3398 HELPSUBTABLE ID_HELPSUBTABLE 3386 3399 { 3400 HELPSUBITEM COMMAND_LINE, HELP_HINTSCMD 3401 3402 } 3403 3404 HELPSUBTABLE ID_HELPSUBTABLEA 3405 { 3406 } 3407 3408 HELPSUBTABLE ID_HELPSUBTABLEB 3409 { 3387 3410 } 3388 3411 -
trunk/dll/init.c
r1544 r1546 97 97 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 98 98 09 MAY 10 JBS Ticket 434: Make fDontSuggestAgain a "global" flag, not a per app flag 99 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 99 100 100 101 ***********************************************************************/ … … 930 931 hini.idActionBar = 0; 931 932 hini.pszHelpWindowTitle = (PSZ)GetPString(IDS_FM2HELPTITLETEXT); 933 hini.hmodHelpTableModule = FM3ModHandle; 932 934 hini.fShowPanelId = CMIC_HIDE_PANEL_ID; 933 935 hini.pszHelpLibraryName = "FM3.HLP"; -
trunk/dll/ipf/arclist.ipf
r1471 r1546 10 10 .* 31 Jul 04 SHL Rework file name position description 11 11 .* 28 Sep 09 SHL Minor updates 12 .* 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 12 13 .* 13 14 .*********************************************************************** … … 142 143 (usually) compressed data that represents, and allows recreation of, 143 144 normal (uncompressed) files. These archiver programs are widely used to 144 create archive files for downloading from 145 the Internet, and to extract from those archive files once downloaded. 146 They're also used to create archives locally for backup purposes, as the 147 files thus created are smaller than the original files and contain many 148 other files within them. 145 create archive files for downloading from the Internet, and to extract 146 from those archive files once downloaded. They're also used to create 147 archives locally for backup purposes, as the files thus created are 148 smaller than the original files and contain many other files within them. 149 :p. 150 FM/2 comes with a collection of archiver discriptions contained in the file 151 :link reftype=hd res=100130.ARCHIVER.BB2:elink.. However FM/2 doesn't 152 include the archivers. You will need to obtain the archiver and place it 153 in your "PATH" in order for it to work. Versions of zip and unzip are included 154 with eCS. Because of this some of the archivers on the list won't actually be 155 available for use. You can set a default archiver for archiving on the 156 :link reftype=hd res=99940.Archiver page:elink. of the settings notebook. 157 See :link reftype=hd res=90300.Build an archive:elink. for details on 158 creating an archive. 149 159 :p. 150 160 Following is a partial list of OS/2 archivers available at the time of -
trunk/dll/ipf/config.ipf
r1518 r1546 446 446 :i1 id=aboutArcBB2.ArchiverBB2 Structure 447 447 :p. 448 ARCHIVER.BB2 is a text file and can be viewd or edited with any text editor. It contains are three types of lines&colon. 448 ARCHIVER.BB2 is a text file and can be viewd or edited with any text editor. 449 It contains are three types of lines&colon. 449 450 :ol compact. 450 :li.The first line in the file is the number of lines per archiver definition in the ARCHIVER.BB2 file. 451 :li.The first line in the file is the number of lines per archiver definition 452 in the ARCHIVER.BB2 file. 451 453 It is very important; do not change it. 452 454 It allows modifications to the file format to be transparent to older programs. -
trunk/dll/mainwnd.c
r1544 r1546 108 108 11 Apr 10 GKY Fix drive tree rescan failure and program hang caused by event sem 109 109 never being posted 110 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 110 111 111 112 ***********************************************************************/ … … 6392 6393 6393 6394 case WM_HELP: 6394 WinSendMsg(hwndHelp, HM_HELP_CONTENTS, MPVOID, MPVOID); 6395 if (hwndHelp) 6396 PostMsg(hwndHelp, HM_DISPLAY_HELP, MPFROMSHORT(1), MPFROMSHORT(HM_RESOURCEID)); 6395 6397 break; 6396 6398 -
trunk/dll/misc.c
r1544 r1546 66 66 Added load_inicommand to load the IDs from the ini file. 67 67 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 68 23 Oct 10 GKY Add menu items for opening directory cnrs based on path of selected item 69 including the option to use walk directories to select path 68 70 69 71 ***********************************************************************/ … … 2011 2013 fDefaultDeletePerm ? IDM_PERMDELETE : IDM_DELETE); 2012 2014 SetConditionalCascade(CollectorFileMenu, IDM_OPENSUBMENU, 2013 IDM_OPENDEFAULT); 2015 IDM_OPENDEFAULT); 2016 SetConditionalCascade(CollectorFileMenu, IDM_OPENSUBCNRMENU, 2017 IDM_OPENWINDOW); 2014 2018 SetConditionalCascade(CollectorFileMenu, IDM_OBJECTSUBMENU, IDM_SHADOW); 2015 2019 if (fWorkPlace) { -
trunk/dll/notebook.c
r1505 r1546 289 289 (PVOID) & pat) || !pat || !pat->id || !*pat->id) { 290 290 if (!fAlertBeepOff) 291 DosBeep(250, 100); // Complain291 DosBeep(250, 100); // Complain 292 292 WinCheckButton(hwnd, CFGA_DEFARC, FALSE); 293 293 }
Note:
See TracChangeset
for help on using the changeset viewer.
