Changeset 1480
- Timestamp:
- Nov 22, 2009, 11:58:49 PM (16 years ago)
- Location:
- trunk/dll
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1439 r1480 76 76 08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used) 77 77 12 Mar 09 SHL Use common SearchContainer 78 12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory79 78 80 79 ***********************************************************************/ … … 632 631 *p = 0; 633 632 DosError(FERR_DISABLEHARDERR); 634 if (! xDosQueryAppType(s, &apptype) &&633 if (!DosQueryAppType(s, &apptype) && 635 634 (apptype & FAPPTYP_DOS || 636 635 apptype & FAPPTYP_WINDOWSREAL || -
trunk/dll/autoview.c
r1439 r1480 29 29 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error 30 30 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 31 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory31 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 32 32 33 33 ***********************************************************************/ -
trunk/dll/avv.c
r1439 r1480 29 29 23 Nov 08 JBS Support use of CMD files in archiver definitions 30 30 11 Jan 08 GKY Replace "ARCHIVER.BB2" in string file with global set at compile in init.c 31 12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory32 31 33 32 ***********************************************************************/ … … 404 403 *error = 1; 405 404 else { 406 ret = (INT) xDosQueryAppType(p, &apptype);405 ret = (INT) DosQueryAppType(p, &apptype); 407 406 apptype &= (~FAPPTYP_32BIT); 408 407 if (!apptype || -
trunk/dll/cmdline.c
r1439 r1480 21 21 24 Aug 08 GKY Warn full drive on save of .DAT file; prevent loss of existing file 22 22 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code. 23 12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory24 23 25 24 ***********************************************************************/ … … 435 434 } 436 435 } 437 if ( xDosQueryAppType(executable, &apptype) ||436 if (DosQueryAppType(executable, &apptype) || 438 437 (apptype && !(apptype & 439 438 (FAPPTYP_NOTWINDOWCOMPAT | -
trunk/dll/copyf.c
r1472 r1480 22 22 08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used) 23 23 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code. 24 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory24 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 25 25 13 Jul 09 SHL Drop obsolete code 26 26 22 Jul 09 GKY Delete .LONGNAME EA if it becomes the filename on a copy or move. -
trunk/dll/datamin.c
r1439 r1480 28 28 07 Feb 09 GKY Add *DateFormat functions to format dates based on locale 29 29 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 30 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory30 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 31 31 32 32 ***********************************************************************/ -
trunk/dll/eas.c
r1439 r1480 23 23 29 Feb 08 GKY Use xfree where appropriate 24 24 07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook. 25 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory25 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 26 26 27 27 ***********************************************************************/ -
trunk/dll/fm3dll2.h
r1459 r1480 30 30 14 Sep 09 SHL Drop experimental code 31 31 15 Sep 09 SHL Add rescan progress timer 32 22 Nov 09 GKY Add LVM.EXE to partition submenu 32 33 33 34 Align with spaces only - no tabs please … … 390 391 #define IDM_APPENDTOCLIPFILENAME 1162 391 392 #define IDM_DATABAR 1163 393 #define IDM_PARTITIONLVM 1164 392 394 393 395 #define IDM_UTILITIESMENU 2000 -
trunk/dll/fm3res.rc
r1479 r1480 47 47 27 Sep 09 SHL Add more items to COMP_MENU 48 48 15 Nov 09 GKY Add ZEROBYTETEXT 49 22 Nov 09 GKY Add LVM.EXE to partition submenu 49 50 50 51 ***********************************************************************/ … … 469 470 MENUITEM "~DFSee", IDM_PARTITIONDF 470 471 MENUITEM "~LVMGUI", IDM_PARTITIONLVMG 472 MENUITEM "~LVMEXE", IDM_PARTITIONLVM 471 473 MENUITEM "~FDisk", IDM_PARTITIONFD 472 474 } … … 1077 1079 MENUITEM "~DFSee", IDM_PARTITIONDF 1078 1080 MENUITEM "~LVMGUI", IDM_PARTITIONLVMG 1081 MENUITEM "~LVMEXE", IDM_PARTITIONLVM 1079 1082 MENUITEM "~FDisk", IDM_PARTITIONFD 1080 1083 } … … 1365 1368 MENUITEM "~DFSee", IDM_PARTITIONDF 1366 1369 MENUITEM "~LVMGUI", IDM_PARTITIONLVMG 1370 MENUITEM "~LVMEXE", IDM_PARTITIONLVM 1367 1371 MENUITEM "~FDisk", IDM_PARTITIONFD 1368 1372 } -
trunk/dll/info.c
r1444 r1480 32 32 07 Feb 09 GKY Add *DateFormat functions to format dates based on locale 33 33 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 34 12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory35 34 12 Jul 09 GKY Remove code to update recursive scan setting which isn't user setable 36 35 22 Jul 09 GKY Check if drives support EAs add driveflag for this … … 760 759 WinCheckButton(hwnd, FLE_SYSTEM, ((fs.attrFile & FILE_SYSTEM) != 0)); 761 760 DosError(FERR_DISABLEHARDERR); 762 if (! xDosQueryAppType(pfs->szFileName, &apptype)) {761 if (!DosQueryAppType(pfs->szFileName, &apptype)) { 763 762 WinEnableWindow(WinWindowFromID(hwnd, FLE_OS2FS), TRUE); 764 763 WinEnableWindow(WinWindowFromID(hwnd, FLE_OS2WIN), TRUE); -
trunk/dll/init.c
r1479 r1480 81 81 06 Jun 09 GKY Add option to show file system type or drive label in tree 82 82 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code. 83 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory83 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 84 84 22 Jul 09 GKY Code changes to use semaphores to serialize drive scanning 85 85 22 Jul 09 GKY Fix failure to restore the notebook setting for saving container states or not … … 88 88 that has a broken MDOS install. 89 89 15 Nov 09 GKY Add more PCSZs 90 22 Nov 09 GKY Fix FindSwapperDat so the check for large file support actually occurs if the 91 fall back to config.sys is used to find it; use bstripcr to streamline code. 90 92 91 93 ***********************************************************************/ … … 429 431 if (*p == '=') { 430 432 p++; 431 stripcr(p); 432 rstrip(p); 433 while (*p == ' ') 434 p++; 433 bstripcr(p); 435 434 if (*p == '\"') { 436 435 p++; … … 456 455 FILE_NORMAL | FILE_ARCHIVED | 457 456 FILE_HIDDEN | FILE_SYSTEM | FILE_READONLY, 458 &ffb, sizeof(ffb), &nm, FIL_STANDARD );457 &ffb, sizeof(ffb), &nm, FIL_STANDARDL); 459 458 if (rc){ 460 459 FILEFINDBUF3 ffb; -
trunk/dll/instant.c
r1439 r1480 13 13 22 Mar 07 GKY Use QWL_USER 14 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory15 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 16 16 17 17 ***********************************************************************/ -
trunk/dll/killproc.c
r1439 r1480 21 21 10 Dec 08 SHL Integrate exception handler support 22 22 08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used) 23 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory23 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 24 24 25 25 ***********************************************************************/ -
trunk/dll/misc.c
r1444 r1480 60 60 28 Mar 09 GKY Add RemoveOldCnrSwitches to remove pre 3.16 style ini keys; 61 61 add State.version key for check 62 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory62 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 63 63 22 Jul 09 GKY Check if drives support EAs add driveflag for this 64 64 22 Jul 09 GKY Allow .LONGNAME to be displayed for FAT drives. -
trunk/dll/mle.c
r1439 r1480 23 23 10 Dec 08 SHL Integrate exception handler support 24 24 08 Mar 09 GKY Additional strings move to PCSZs in init.c 25 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory25 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 26 26 27 27 ***********************************************************************/ -
trunk/dll/pathutil.c
r1439 r1480 16 16 close DosFind. 17 17 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code 18 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory18 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 19 19 20 20 ***********************************************************************/ -
trunk/dll/saveclip.c
r1438 r1480 30 30 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 31 31 08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used) 32 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 32 33 33 34 ***********************************************************************/ -
trunk/dll/shadow.c
r1439 r1480 14 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 15 08 Mar 09 GKY Additional strings move to PCSZs declare change 16 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory16 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 17 17 18 18 ***********************************************************************/ -
trunk/dll/subj.c
r1439 r1480 15 15 01 Sep 07 GKY Use xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry 16 16 08 Mar 09 GKY Additional strings move to PCSZs 17 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory17 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 18 18 19 19 ***********************************************************************/ -
trunk/dll/systemf.c
r1475 r1480 688 688 # define TERMQ_BASE_NAME "\\QUEUES\\FM3WAIT" 689 689 static char szTermQName[30]; 690 char szTermTemp[30]; 690 691 static HQUEUE hTermQ; 691 692 static HEV hTermQSem; … … 1076 1077 useTermQ = FALSE; 1077 1078 else { 1078 # ifdef HIMEM1079 useTermQ = FALSE;1080 # else1081 1079 rc = 0; 1082 1080 DosEnterCritSec(); … … 1105 1103 if (!rc) 1106 1104 DosExitCritSec(); 1107 # endif1108 1105 } // if wait 1109 1106 … … 1117 1114 if (*pszArgs) 1118 1115 sdata.PgmInputs = (PBYTE)pszArgs; 1119 if (useTermQ) 1120 sdata.TermQ = (PBYTE)szTermQName; 1116 if (useTermQ) { 1117 strcpy(szTermTemp, szTermQName); 1118 sdata.TermQ = (PBYTE)szTermTemp; 1119 } 1121 1120 sdata.Environment = (PBYTE)pszEnvironment; 1122 1121 sdata.InheritOpt = SSF_INHERTOPT_PARENT; -
trunk/dll/treecnr.c
r1477 r1480 79 79 15 Nov 09 GKY Add semaphore to fix double names in tree container caused by UM_SHOWME 80 80 before scan completes 81 22 Nov 09 GKY Add LVM.EXE to partition submenu 81 82 82 83 ***********************************************************************/ … … 2207 2208 WinEnableMenuItem((HWND) mp2, IDM_PARTITION, fMiniLVM); 2208 2209 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONDF, fDFSee); 2209 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONLVMG, fLVMGui); 2210 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONLVMG, fLVMGui); 2211 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONLVM, fLVM); 2210 2212 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONFD, fFDisk); 2211 2213 … … 2237 2239 WinEnableMenuItem((HWND) mp2, IDM_PARTITION, fMiniLVM); 2238 2240 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONDF, fDFSee); 2239 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONLVMG, fLVMGui); 2241 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONLVMG, fLVMGui); 2242 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONLVM, fLVM); 2240 2243 WinEnableMenuItem((HWND) mp2, IDM_PARTITIONFD, fFDisk); 2241 2244 break; … … 2583 2586 NULL, NULL, 2584 2587 "%s", PCSZ_LVMGUICMD); 2588 break; 2589 2590 case IDM_PARTITIONLVM: 2591 runemf2(SEPARATE | WINDOWED, HWND_DESKTOP, pszSrcFile, __LINE__, 2592 NULL, NULL, 2593 "%s", PCSZ_LVMEXE); 2585 2594 break; 2586 2595 -
trunk/dll/valid.c
r1444 r1480 35 35 When these high codes were it text files they showed as hex in new view. 36 36 08 Mar 09 GKY Additional strings move to PCSZs 37 12 Jul 09 GKY Add xDosQueryAppType and xDo xAlloc... to allow FM/2 to load in high memory37 12 Jul 09 GKY Add xDosQueryAppType and xDosAlloc... to allow FM/2 to load in high memory 38 38 22 Jul 09 GKY Consolidated driveflag setting code in DriveFlagsOne 39 39 22 Jul 09 GKY Check if drives support EAs add driveflag for this … … 600 600 } 601 601 602 BOOL IsExecutable(CHAR * 602 BOOL IsExecutable(CHAR *filename) 603 603 { 604 604 register CHAR *p; … … 610 610 p = strrchr(filename, '.'); 611 611 if (p) 612 ret = xDosQueryAppType(filename, &apptype);612 ret = DosQueryAppType(filename, &apptype); 613 613 else { 614 614 … … 617 617 strcpy(fname, filename); 618 618 strcat(fname, "."); 619 ret = xDosQueryAppType(fname, &apptype);619 ret = DosQueryAppType(fname, &apptype); 620 620 } 621 621 if (apptype & (FAPPTYP_DLL |
Note:
See TracChangeset
for help on using the changeset viewer.