- Timestamp:
- Aug 21, 2007, 4:53:38 AM (18 years ago)
- Location:
- trunk/dll
- Files:
-
- 69 edited
-
arccnrs.c (modified) (3 diffs)
-
archive.c (modified) (3 diffs)
-
assoc.c (modified) (4 diffs)
-
attribs.c (modified) (3 diffs)
-
autoview.c (modified) (3 diffs)
-
avl.c (modified) (6 diffs)
-
avv.c (modified) (3 diffs)
-
chklist.c (modified) (3 diffs)
-
cmdline.c (modified) (3 diffs)
-
codepage.c (modified) (3 diffs)
-
collect.c (modified) (3 diffs)
-
colors.c (modified) (3 diffs)
-
commafmt.c (modified) (3 diffs)
-
command.c (modified) (3 diffs)
-
common.c (modified) (3 diffs)
-
copyf.c (modified) (3 diffs)
-
datamin.c (modified) (3 diffs)
-
defview.c (modified) (3 diffs)
-
delims.c (modified) (2 diffs)
-
dircnrs.c (modified) (3 diffs)
-
dirs.c (modified) (3 diffs)
-
draglist.c (modified) (3 diffs)
-
droplist.c (modified) (3 diffs)
-
extract.c (modified) (3 diffs)
-
filter.c (modified) (4 diffs)
-
findrec.c (modified) (3 diffs)
-
flesh.c (modified) (3 diffs)
-
fm2cmd.c (modified) (3 diffs)
-
fonts.c (modified) (2 diffs)
-
getnames.c (modified) (3 diffs)
-
grep2.c (modified) (3 diffs)
-
info.c (modified) (3 diffs)
-
inis.c (modified) (3 diffs)
-
input.c (modified) (3 diffs)
-
instant.c (modified) (3 diffs)
-
key.c (modified) (3 diffs)
-
killproc.c (modified) (3 diffs)
-
loadbmp.c (modified) (2 diffs)
-
mainwnd2.c (modified) (3 diffs)
-
makelist.c (modified) (3 diffs)
-
menu.c (modified) (3 diffs)
-
mle.c (modified) (8 diffs)
-
newview.c (modified) (3 diffs)
-
notify.c (modified) (3 diffs)
-
objwin.c (modified) (3 diffs)
-
presparm.c (modified) (3 diffs)
-
printer.c (modified) (3 diffs)
-
remap.c (modified) (3 diffs)
-
rename.c (modified) (3 diffs)
-
saveclip.c (modified) (4 diffs)
-
select.c (modified) (4 diffs)
-
seticon.c (modified) (3 diffs)
-
shadow.c (modified) (4 diffs)
-
sortcnr.c (modified) (3 diffs)
-
srchpath.c (modified) (3 diffs)
-
string.c (modified) (3 diffs)
-
strips.c (modified) (3 diffs)
-
stristr.c (modified) (3 diffs)
-
subj.c (modified) (3 diffs)
-
sysinfo.c (modified) (3 diffs)
-
systemf.c (modified) (3 diffs)
-
timer.c (modified) (3 diffs)
-
tools.c (modified) (3 diffs)
-
treecnr.c (modified) (3 diffs)
-
undel.c (modified) (3 diffs)
-
update.c (modified) (3 diffs)
-
uudecode.c (modified) (3 diffs)
-
valid.c (modified) (3 diffs)
-
viewer.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r775 r793 45 45 to be near primary caller 46 46 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 47 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 47 48 48 49 ***********************************************************************/ … … 79 80 static INT DefArcSortFlags; 80 81 static PSZ pszSrcFile = __FILE__; 81 82 #pragma alloc_text(ARCCNRS,ArcCnrWndProc,ArcObjWndProc,ArcClientWndProc,BldQuotedFullPathName)83 #pragma alloc_text(ARCCNRS,ArcTextProc,FillArcCnr,ArcFilter,BldQuotedFileName)84 #pragma alloc_text(ARCCNRS,ArcSort,ArcFrameWndProc,IsArcThere,ArcErrProc)85 #pragma alloc_text(STARTUP,StartArcCnr)86 82 87 83 /** … … 3697 3693 return hwndFrame; 3698 3694 } 3695 3696 #pragma alloc_text(ARCCNRS,ArcCnrWndProc,ArcObjWndProc,ArcClientWndProc,BldQuotedFullPathName) 3697 #pragma alloc_text(ARCCNRS,ArcTextProc,FillArcCnr,ArcFilter,BldQuotedFileName) 3698 #pragma alloc_text(ARCCNRS,ArcSort,ArcFrameWndProc,IsArcThere,ArcErrProc) 3699 #pragma alloc_text(STARTUP,StartArcCnr) -
trunk/dll/archive.c
r574 r793 13 13 17 Jul 06 SHL Use Runtime_Error 14 14 22 Mar 07 GKY Use QWL_USER 15 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 16 16 17 ***********************************************************************/ … … 32 33 33 34 static PSZ pszSrcFile = __FILE__; 34 35 #pragma alloc_text(FMARCHIVE,ArchiveDlgProc)36 35 37 36 MRESULT EXPENTRY ArchiveDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 279 278 return WinDefDlgProc(hwnd, msg, mp1, mp2); 280 279 } 280 281 #pragma alloc_text(FMARCHIVE,ArchiveDlgProc) -
trunk/dll/assoc.c
r618 r793 14 14 18 Feb 07 GKY Move error messages etc to string file 15 15 19 Apr 07 SHL Sync with AcceptOneDrop GetOneDrop mods 16 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 16 17 17 18 **************************************************************************************/ … … 60 61 61 62 static PSZ pszSrcFile = __FILE__; 62 63 #pragma alloc_text(ASSOC2,free_commands,load_associations,save_associations)64 #pragma alloc_text(ASSOC2,ExecAssociation,AssocTextProc)65 63 66 64 MRESULT EXPENTRY AssocTextProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 246 244 } 247 245 248 #pragma alloc_text(ASSOC,add_association,kill_association,AssocDlgProc,EditAssociations)249 250 246 LINKASSOC *add_association(ASSOC * addme) 251 247 { … … 938 934 stop = 0; 939 935 } 936 937 #pragma alloc_text(ASSOC2,free_commands,load_associations,save_associations) 938 #pragma alloc_text(ASSOC2,ExecAssociation,AssocTextProc) 939 #pragma alloc_text(ASSOC,add_association,kill_association,AssocDlgProc,EditAssociations) -
trunk/dll/attribs.c
r574 r793 10 10 11 11 14 Jul 06 SHL Use Runtime_Error 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 29 30 30 31 static PSZ pszSrcFile = __FILE__; 31 32 #pragma alloc_text(ATTRIBS,AttrListDlgProc)33 32 34 33 MRESULT EXPENTRY AttrListDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 400 399 return WinDefDlgProc(hwnd, msg, mp1, mp2); 401 400 } 401 402 #pragma alloc_text(ATTRIBS,AttrListDlgProc) -
trunk/dll/autoview.c
r773 r793 18 18 03 Nov 06 SHL Renames 19 19 30 Mar 07 GKY Remove GetPString for window class names 20 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 20 21 21 22 ***********************************************************************/ … … 40 41 41 42 static PSZ pszSrcFile = __FILE__; 42 43 #pragma alloc_text(AUTOVIEW,AutoViewProc,CreateHexDump,AutoObjProc)44 #pragma alloc_text(AUTOVIEW2,MakeAutoWinThread,WriteEA,PutComments)45 43 46 44 static HWND hwndAutoObj; … … 915 913 return PFNWPStatic(hwnd, msg, mp1, mp2); 916 914 } 915 916 #pragma alloc_text(AUTOVIEW,AutoViewProc,CreateHexDump,AutoObjProc) 917 #pragma alloc_text(AUTOVIEW2,MakeAutoWinThread,WriteEA,PutComments) -
trunk/dll/avl.c
r689 r793 28 28 19 Apr 07 SHL Use FreeDragInfoData 29 29 19 Apr 07 SHL Add more drag/drop error checking 30 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 30 31 31 32 ***********************************************************************/ … … 47 48 48 49 static PSZ pszSrcFile = __FILE__; 49 50 #pragma alloc_text(MISC9,quick_find_type,find_type)51 50 52 51 static void free_arc_type(ARC_TYPE * pat); … … 239 238 static UINT cur_line_num; // Input file line counter 240 239 241 #pragma alloc_text(AVL,load_archivers, get_line_strip_comments, get_line_strip_white)242 243 240 //=== get_line_strip_comments() read line, strip comments and whitespace === 244 241 … … 542 539 543 540 #define TEST_DRAG 0 // fixme to be gone or to work 544 545 #pragma alloc_text(FMARCHIVE,SBoxDlgProc,SDlgListboxSubclassProc)546 541 547 542 static MRESULT EXPENTRY SDlgListboxSubclassProc(HWND hwnd, ULONG msg, … … 1031 1026 31-02-98 23:55 5 1032 1027 */ 1033 1034 #pragma alloc_text(ARCCNRS,ArcDateTime)1035 1028 1036 1029 BOOL ArcDateTime(CHAR * dt, INT type, CDATE * cdate, CTIME * ctime) … … 1256 1249 return ret; 1257 1250 } 1251 1252 #pragma alloc_text(MISC9,quick_find_type,find_type) 1253 #pragma alloc_text(AVL,load_archivers, get_line_strip_comments, get_line_strip_white) 1254 #pragma alloc_text(FMARCHIVE,SBoxDlgProc,SDlgListboxSubclassProc) 1255 #pragma alloc_text(ARCCNRS,ArcDateTime) -
trunk/dll/avv.c
r697 r793 22 22 22 Mar 07 GKY Use QWL_USER 23 23 16 Jun 07 SHL Update for OpenWatcom 24 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 24 25 25 26 ***********************************************************************/ … … 44 45 45 46 static PSZ pszSrcFile = __FILE__; 46 47 #pragma alloc_text(AVV,EditArchiverDefinition,free_and_strdup_from_window)48 #pragma alloc_text(AVV,get_int_from_window,get_int2_from_window)49 #pragma alloc_text(AVV,get_long_from_window,get_int3_from_window)50 #pragma alloc_text(AVV,get_int4_from_window)51 47 52 48 static PSZ checkfile(PSZ file, INT * error); … … 937 933 return WinDefDlgProc(hwnd, msg, mp1, mp2); 938 934 } 935 936 #pragma alloc_text(AVV,EditArchiverDefinition,free_and_strdup_from_window) 937 #pragma alloc_text(AVV,get_int_from_window,get_int2_from_window) 938 #pragma alloc_text(AVV,get_long_from_window,get_int3_from_window) 939 #pragma alloc_text(AVV,get_int4_from_window) -
trunk/dll/chklist.c
r574 r793 12 12 14 Jul 06 SHL Use Runtime_Error 13 13 22 Mar 07 GKY Use QWL_USER 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 32 33 33 34 static PSZ pszSrcFile = __FILE__; 34 35 #pragma alloc_text(CHECKLIST,CheckListProc)36 #pragma alloc_text(DNDLIST,DropListProc)37 #pragma alloc_text(MISC7,PosOverOkay,CenterOverWindow,PopupMenu)38 35 39 36 VOID CenterOverWindow(HWND hwnd) … … 575 572 return WinDefDlgProc(hwnd, msg, mp1, mp2); 576 573 } 574 575 #pragma alloc_text(CHECKLIST,CheckListProc) 576 #pragma alloc_text(DNDLIST,DropListProc) 577 #pragma alloc_text(MISC7,PosOverOkay,CenterOverWindow,PopupMenu) -
trunk/dll/cmdline.c
r697 r793 15 15 22 Mar 07 GKY Use QWL_USER 16 16 16 Jun 07 SHL Update for OpenWatcom 17 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 17 18 18 19 ***********************************************************************/ … … 35 36 36 37 static PSZ pszSrcFile = __FILE__; 37 38 #pragma alloc_text(CMDLINE1,CmdLineDlgProc,CmdListSubProc,CmdLine2DlgProc,CmdBtnSubProc)39 #pragma alloc_text(CMDLINE2,save_cmdlines,load_cmdlines,add_cmdline,remove_cmdline,free_cmdlines)40 38 41 39 #define MAXNUMCLS 250 … … 882 880 return WinDefDlgProc(hwnd, msg, mp1, mp2); 883 881 } 882 883 #pragma alloc_text(CMDLINE1,CmdLineDlgProc,CmdListSubProc,CmdLine2DlgProc,CmdBtnSubProc) 884 #pragma alloc_text(CMDLINE2,save_cmdlines,load_cmdlines,add_cmdline,remove_cmdline,free_cmdlines) -
trunk/dll/codepage.c
r551 r793 10 10 11 11 14 Jul 06 SHL Use Runtime_Error 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 29 30 30 31 static PSZ pszSrcFile = __FILE__; 31 32 #pragma alloc_text(FMCODEPAGE,PickCodePageDlgBox,PickCodepage)33 32 34 33 MRESULT EXPENTRY PickCodePageDlgBox(HWND hwnd, ULONG msg, MPARAM mp1, … … 223 222 return cp; 224 223 } 224 225 #pragma alloc_text(FMCODEPAGE,PickCodePageDlgBox,PickCodepage) -
trunk/dll/collect.c
r775 r793 39 39 02 Aug 07 SHL Sync with CNRITEM mods 40 40 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 41 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 41 42 42 43 … … 69 70 70 71 static PSZ pszSrcFile = __FILE__; 71 72 #pragma alloc_text(COLLECTOR,CollectorCnrWndProc,CollectorObjWndProc)73 #pragma alloc_text(COLLECTOR,CollectorClientWndProc,CollectorTextProc)74 #pragma alloc_text(COLLECTOR,CollectorFrameWndProc)75 #pragma alloc_text(STARTUP,StartCollector)76 72 77 73 MRESULT EXPENTRY CollectorFrameWndProc(HWND hwnd, ULONG msg, MPARAM mp1, … … 2745 2741 return hwndFrame; 2746 2742 } 2743 2744 #pragma alloc_text(COLLECTOR,CollectorCnrWndProc,CollectorObjWndProc) 2745 #pragma alloc_text(COLLECTOR,CollectorClientWndProc,CollectorTextProc) 2746 #pragma alloc_text(COLLECTOR,CollectorFrameWndProc) 2747 #pragma alloc_text(STARTUP,StartCollector) -
trunk/dll/colors.c
r574 r793 11 11 14 Jul 06 SHL Use Runtime_Error 12 12 22 Mar 07 GKY Use QWL_USER 13 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 13 14 14 15 ***********************************************************************/ … … 30 31 31 32 static PSZ pszSrcFile = __FILE__; 32 33 #pragma alloc_text(COLORS,ColorDlgProc)34 33 35 34 MRESULT EXPENTRY ColorDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 198 197 return WinDefDlgProc(hwnd, msg, mp1, mp2); 199 198 } 199 200 #pragma alloc_text(COLORS,ColorDlgProc) -
trunk/dll/commafmt.c
r551 r793 12 12 25 May 05 SHL Drop hundfmt 13 13 25 May 05 SHL Add CommaFmtULL, CommaFmtUL 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 27 28 ** ANSI locale to make this more robust. 28 29 */ 29 30 #pragma alloc_text(MISC8,commafmt,CommaFmtU64)31 30 32 31 #define INCL_LONGLONG … … 161 160 return c; 162 161 } 162 163 #pragma alloc_text(MISC8,commafmt,CommaFmtU64) -
trunk/dll/command.c
r618 r793 20 20 23 Mar 07 GKY Okay fails silently when item not changed 21 21 19 Apr 07 SHL Sync with AcceptOneDrop GetOneDrop mods 22 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 22 23 23 24 ***********************************************************************/ … … 49 50 50 51 static PSZ pszSrcFile = __FILE__; 51 52 #pragma alloc_text(COMMAND,command_title,free_commands,add_command,kill_command)53 #pragma alloc_text(COMMAND,CommandDlgProc,EditCommands,ReOrderProc,CommandTextProc)54 52 55 53 MRESULT EXPENTRY CommandTextProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 964 962 stop = 0; 965 963 } 964 965 #pragma alloc_text(COMMAND,command_title,free_commands,add_command,kill_command) 966 #pragma alloc_text(COMMAND,CommandDlgProc,EditCommands,ReOrderProc,CommandTextProc) -
trunk/dll/common.c
r766 r793 18 18 30 Mar 07 GKY Remove GetPString for window class names 19 19 02 Aug 07 SHL Sync with CNRITEM mods 20 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 20 21 21 22 ***********************************************************************/ … … 45 46 46 47 static PSZ pszSrcFile = __FILE__; 47 48 #pragma alloc_text(COMMON,CommonFrameWndProc,CommonTextProc,CommonTextPaint)49 #pragma alloc_text(COMMON1,CommonCreateTextChildren,CommonCreateMainChildren)50 #pragma alloc_text(COMMON2,CommonDriveCmd,CommonTextButton)51 #pragma alloc_text(COMMON3,CommonMainWndProc,IncrThreadUsage,DecrThreadUsage)52 #pragma alloc_text(COMMON4,CommonCnrProc)53 #pragma alloc_text(COMMON5,OpenDirCnr)54 48 55 49 MRESULT EXPENTRY CommonFrameWndProc(USHORT id, … … 817 811 WinPostMsg(hwndMain, UM_THREADUSE, MPVOID, MPVOID); 818 812 } 813 814 #pragma alloc_text(COMMON,CommonFrameWndProc,CommonTextProc,CommonTextPaint) 815 #pragma alloc_text(COMMON1,CommonCreateTextChildren,CommonCreateMainChildren) 816 #pragma alloc_text(COMMON2,CommonDriveCmd,CommonTextButton) 817 #pragma alloc_text(COMMON3,CommonMainWndProc,IncrThreadUsage,DecrThreadUsage) 818 #pragma alloc_text(COMMON4,CommonCnrProc) 819 #pragma alloc_text(COMMON5,OpenDirCnr) -
trunk/dll/copyf.c
r551 r793 16 16 28 May 05 SHL Drop debug code 17 17 14 Jul 06 SHL Use Runtime_Error 18 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 18 19 19 20 ***********************************************************************/ … … 45 46 HOBJECT hObjectofDest, ULONG ulReserved); 46 47 #endif 47 48 #pragma alloc_text(LONGNAMES,TruncName,GetLongName,WriteLongName)49 #pragma alloc_text(LONGNAMES,ZapLongName,AdjustWildcardName)50 #pragma alloc_text(COPYF,default_disk,docopyf)51 #pragma alloc_text(UNLINKF,unlinkf,unlink_allf,make_deleteable,wipeallf)52 48 53 49 char *MakeTempName(char *buffer) … … 895 891 return 0; 896 892 } 893 894 #pragma alloc_text(LONGNAMES,TruncName,GetLongName,WriteLongName) 895 #pragma alloc_text(LONGNAMES,ZapLongName,AdjustWildcardName) 896 #pragma alloc_text(COPYF,default_disk,docopyf) 897 #pragma alloc_text(UNLINKF,unlinkf,unlink_allf,make_deleteable,wipeallf) -
trunk/dll/datamin.c
r761 r793 19 19 07 Jan 07 GKY Move error strings etc. to string file 20 20 30 Mar 07 GKY Remove GetPString for window class names 21 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 21 22 22 23 ***********************************************************************/ … … 45 46 46 47 static PSZ pszSrcFile = __FILE__; 47 48 #pragma alloc_text(DATAMIN,DataDlgProc,MiniTimeProc)49 48 50 49 APIRET16 APIENTRY16 Dos16MemAvail(PULONG pulAvailMem); … … 1037 1036 1038 1037 } // dataminThread 1038 1039 #pragma alloc_text(DATAMIN,DataDlgProc,MiniTimeProc) -
trunk/dll/defview.c
r689 r793 15 15 21 Apr 07 GKY Find FM2Utils by path or utils directory 16 16 09 Jun 07 SHL ShowMultimedia: Initialize hwnd so that OpenObject might work 17 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 17 18 18 19 ***********************************************************************/ … … 34 35 35 36 static PSZ pszSrcFile = __FILE__; 36 37 #pragma alloc_text(DEFVIEW,DefaultView,ShowMultimedia,DefaultViewKeys)38 37 39 38 BOOL ShowMultimedia(CHAR * filename) … … 334 333 } 335 334 } 335 336 #pragma alloc_text(DEFVIEW,DefaultView,ShowMultimedia,DefaultViewKeys) -
trunk/dll/delims.c
r551 r793 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 2007 Steven H.Levine 8 9 Delimit chars 10 11 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 ***********************************************************************/ 14 1 15 #include <os2.h> 2 16 #include <stdlib.h> 3 17 #include <string.h> 4 5 #pragma alloc_text(MISC8,skip_delim,to_delim)6 18 7 19 char *skip_delim(char *a, register char *delim) … … 35 47 return p; 36 48 } 49 50 #pragma alloc_text(MISC8,skip_delim,to_delim) -
trunk/dll/dircnrs.c
r787 r793 29 29 02 Aug 07 SHL Sync with CNRITEM mods 30 30 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 31 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 31 32 32 33 … … 53 54 54 55 #pragma data_seg(DATA1) 55 #pragma alloc_text(DIRCNRS,DirCnrWndProc,DirObjWndProc,DirClientWndProc)56 #pragma alloc_text(DIRCNRS,DirTextProc,DirFrameWndProc)57 #pragma alloc_text(STARTUP,StartDirCnr)58 56 59 57 static PSZ pszSrcFile = __FILE__; … … 3472 3470 return hwndFrame; 3473 3471 } 3472 3473 #pragma alloc_text(DIRCNRS,DirCnrWndProc,DirObjWndProc,DirClientWndProc) 3474 #pragma alloc_text(DIRCNRS,DirTextProc,DirFrameWndProc) 3475 #pragma alloc_text(STARTUP,StartDirCnr) -
trunk/dll/dirs.c
r551 r793 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 2007 Steven H.Levine 8 9 Directory manipulation 10 11 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 ***********************************************************************/ 14 1 15 #define INCL_WIN 2 16 #define INCL_WINERRORS … … 11 25 #include <ctype.h> 12 26 #include "fm3dll.h" 13 14 #pragma alloc_text(MISC9,save_dir,save_dir2,switch_to)15 27 16 28 APIRET save_dir2(CHAR * curdir) … … 89 101 return DosChDir(path); 90 102 } 103 104 #pragma alloc_text(MISC9,save_dir,save_dir2,switch_to) -
trunk/dll/draglist.c
r730 r793 20 20 12 May 07 SHL Use dcd->ulItemsToUnHilite 21 21 05 Jul 07 FreeDragInfoData: suppress PMERR_SOURCE_SAME_AS_TARGET notices 22 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 22 23 23 24 ***********************************************************************/ … … 36 37 37 38 static PSZ pszSrcFile = __FILE__; 38 39 #pragma alloc_text(DRAGLIST,DragOne,DoFileDrag,DragList,PickUp,FreeDragInfoData)40 39 41 40 /** … … 862 861 863 862 #endif // NEVER 863 864 #pragma alloc_text(DRAGLIST,DragOne,DoFileDrag,DragList,PickUp,FreeDragInfoData) -
trunk/dll/droplist.c
r749 r793 20 20 10 Jun 07 GKY Add CheckPmDrgLimit including IsFm2Window as part of work around PM drag limit 21 21 02 Aug 07 SHL Lock in DoFileDrop sanity checks 22 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 22 23 23 24 ***********************************************************************/ … … 38 39 39 40 static ULONG GetDropCount(HWND hwnd, MPARAM mp1); 40 41 #pragma alloc_text(DROPLIST,DoFileDrop,FullDrgName,TwoDrgNames,GetOneDrop,CheckPmDrgLimit)42 41 43 42 BOOL CheckPmDrgLimit(PDRAGINFO pDInfo) … … 510 509 return li; 511 510 } 511 512 #pragma alloc_text(DROPLIST,DoFileDrop,FullDrgName,TwoDrgNames,GetOneDrop,CheckPmDrgLimit) -
trunk/dll/extract.c
r618 r793 13 13 22 Mar 07 GKY Use QWL_USER 14 14 19 Apr 07 SHL Sync with AcceptOneDrop GetOneDrop mods 15 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 16 16 17 ***********************************************************************/ … … 31 32 32 33 #pragma data_seg(DATA1) 33 34 #pragma alloc_text(FMEXTRACT,ExtractTextProc,ExtractDlgProc)35 34 36 35 static PSZ pszSrcFile = __FILE__; … … 408 407 return WinDefDlgProc(hwnd, msg, mp1, mp2); 409 408 } 409 410 #pragma alloc_text(FMEXTRACT,ExtractTextProc,ExtractDlgProc) -
trunk/dll/filter.c
r730 r793 11 11 29 Jul 06 SHL Use xfgets_bstripcr 12 12 22 Mar 07 GKY Use QWL_USER 13 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 13 14 14 15 ***********************************************************************/ … … 30 31 31 32 static PSZ pszSrcFile = __FILE__; 32 33 #pragma alloc_text(FILTER,Filter)34 33 35 34 #define MAXNUMMASKS 50 … … 119 118 } 120 119 121 #pragma alloc_text(masks,load_masks,save_masks,add_mask,remove_mask,PickMaskDlgProc)122 123 120 VOID load_masks(VOID) 124 121 { … … 660 657 return WinDefDlgProc(hwnd, msg, mp1, mp2); 661 658 } 659 660 #pragma alloc_text(FILTER,Filter) 661 #pragma alloc_text(MASKS,load_masks,save_masks,add_mask,remove_mask,PickMaskDlgProc) -
trunk/dll/findrec.c
r730 r793 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 2007 Steven H.Levine 8 9 Find records 10 11 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 ***********************************************************************/ 14 1 15 #define INCL_WIN 2 16 … … 7 21 #include <string.h> 8 22 #include "fm3dll.h" 9 10 #pragma alloc_text(FINDREC,FindCnrRecord,FindParentRecord,ShowCnrRecord)11 23 12 24 PCNRITEM FindCnrRecord(HWND hwndCnr, CHAR * filename, PCNRITEM pciParent, … … 124 136 MPFROMSHORT(CMA_HORIZONTAL), MPFROMLONG(rcl.xLeft - 4)); 125 137 } 138 139 #pragma alloc_text(FINDREC,FindCnrRecord,FindParentRecord,ShowCnrRecord) -
trunk/dll/flesh.c
r775 r793 18 18 01 Aug 07 SHL Sync with CNRITEM mods 19 19 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 20 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 20 21 21 22 … … 39 40 40 41 static PSZ pszSrcFile = __FILE__; 41 42 #pragma alloc_text(FLESH,Flesh,FleshEnv,Unflesh,Stubby)43 42 44 43 BOOL FleshEnv(HWND hwndCnr, PCNRITEM pciParent) … … 481 480 return ret; 482 481 } 482 483 #pragma alloc_text(FLESH,Flesh,FleshEnv,Unflesh,Stubby) -
trunk/dll/fm2cmd.c
r551 r793 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 2007 Steven H.Levine 8 9 Command processing 10 11 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 ***********************************************************************/ 14 1 15 #define INCL_DOS 2 16 #define INCL_WIN … … 13 27 14 28 #pragma data_seg(DATA2) 15 #pragma alloc_text(FM2CMD,FM2Command,fullname,parse)16 29 17 30 static VOID fullname(CHAR * directory, CHAR * name) … … 114 127 return ret; 115 128 } 129 130 #pragma alloc_text(FM2CMD,FM2Command,fullname,parse) -
trunk/dll/fonts.c
r551 r793 13 13 14 14 #pragma data_seg(DATA1) 15 #pragma alloc_text(FONTS,ConvertVectorFontSize,SetFont,SetMLEFont) 16 #pragma alloc_text(FONTS,SetPresParamFromFattrs) 17 18 static INT counter = 0L; 15 16 static INT counter = 0; 19 17 20 18 /* … … 267 265 268 266 } /* End of SetMLEFont() */ 267 268 #pragma alloc_text(FONTS,ConvertVectorFontSize,SetFont,SetMLEFont) 269 #pragma alloc_text(FONTS,SetPresParamFromFattrs) -
trunk/dll/getnames.c
r551 r793 10 10 11 11 23 Aug 06 SHL Comments 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 28 29 29 30 #pragma data_seg(DATA1) 30 #pragma alloc_text(GETNAMES,insert_filename,export_filename,CustomFileDlg)31 31 32 32 MRESULT EXPENTRY CustomFileDlg(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 392 392 return TRUE; 393 393 } 394 395 #pragma alloc_text(GETNAMES,insert_filename,export_filename,CustomFileDlg) -
trunk/dll/grep2.c
r775 r793 19 19 07 Jan 07 GKY Add remember search flags to seek and scan 20 20 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 21 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 21 22 22 23 … … 50 51 51 52 static PSZ pszSrcFile = __FILE__; 52 53 #pragma alloc_text(GREP,GrepDlgProc,EnvDlgProc)54 53 55 54 MRESULT EXPENTRY EnvDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 970 969 return WinDefDlgProc(hwnd, msg, mp1, mp2); 971 970 } 971 972 #pragma alloc_text(GREP,GrepDlgProc,EnvDlgProc) -
trunk/dll/info.c
r730 r793 19 19 24 Mar 07 SHL Correct FileInfoProc/IconProc race crash 20 20 19 Apr 07 SHL Sync with AcceptOneDrop GetOneDrop mods 21 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 21 22 22 23 ***********************************************************************/ … … 41 42 42 43 static PSZ pszSrcFile = __FILE__; 43 44 #pragma alloc_text(FMINFO,FileInfoProc,IconProc)45 #pragma alloc_text(FMINFO2,SetDrvProc,DrvInfoProc)46 44 47 45 CHAR *FlagMsg(CHAR drive, CHAR * buffer) … … 1013 1011 return WinDefDlgProc(hwnd, msg, mp1, mp2); 1014 1012 } 1013 1014 #pragma alloc_text(FMINFO,FileInfoProc,IconProc) 1015 #pragma alloc_text(FMINFO2,SetDrvProc,DrvInfoProc) -
trunk/dll/inis.c
r771 r793 19 19 06 Apr 07 GKY Add some error checking in drag/drop 20 20 19 Apr 07 SHL Use FreeDragInfoData. Add more drag/drop error checks. 21 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 21 22 22 23 ***********************************************************************/ … … 43 44 44 45 static PSZ pszSrcFile = __FILE__; 45 46 #pragma alloc_text(INIS,EnumAppNames,GetKeyData,EnumKeyNames,AddIniProc,IniProc,BackupIniThread,ChangeIniProc,SwapIniProc,IniLBSubProc,IniLBSubProc2,CopyIniThread,CompareIniThread,IntraIniProc,FilterIniProc)47 #pragma alloc_text(STARTUP,StartIniEditor)48 46 49 47 typedef struct … … 2701 2699 return WinDefWindowProc(hwnd, msg, mp1, mp2); 2702 2700 } 2701 2702 #pragma alloc_text(INIS,EnumAppNames,GetKeyData,EnumKeyNames,AddIniProc,IniProc,BackupIniThread) 2703 #pragma alloc_text(INIS,ChangeIniProc,SwapIniProc,IniLBSubProc,IniLBSubProc2,CopyIniThread) 2704 #pragma alloc_text(INIS,IntraIniProc,FilterIniProc) 2705 #pragma alloc_text(STARTUP,StartIniEditor) -
trunk/dll/input.c
r574 r793 12 12 14 Jul 06 SHL Use Runtime_Error 13 13 22 Mar 07 GKY Use QWL_USER 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 28 29 29 30 static PSZ pszSrcFile = __FILE__; 30 31 #pragma alloc_text(FMINPUT,InputDlgProc)32 31 33 32 MRESULT EXPENTRY InputDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 91 90 return WinDefDlgProc(hwnd, msg, mp1, mp2); 92 91 } 92 93 #pragma alloc_text(FMINPUT,InputDlgProc) -
trunk/dll/instant.c
r574 r793 12 12 14 Jul 06 SHL Use Runtime_Error 13 13 22 Mar 07 GKY Use QWL_USER 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 32 33 33 34 static PSZ pszSrcFile = __FILE__; 34 35 #pragma alloc_text(INSTANT,InstantDlgProc)36 35 37 36 #define hwndMLE WinWindowFromID(hwnd,BAT_MLE) … … 183 182 return WinDefDlgProc(hwnd, msg, mp1, mp2); 184 183 } 184 185 #pragma alloc_text(INSTANT,InstantDlgProc) -
trunk/dll/key.c
r775 r793 9 9 Copyright (c) 2004 Steven H. Levine 10 10 11 Revisions 11 Revisions 12 12 01 Nov 04 SHL Rename SKULL? defines to avoid rc issues 13 13 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 … … 33 34 34 35 #pragma data_seg(DATA1) 35 #pragma alloc_text(ABOUT,AboutDlgProc,AuthorDlgProc)36 36 37 37 MRESULT EXPENTRY AuthorDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 313 313 return WinDefDlgProc(hwnd, msg, mp1, mp2); 314 314 } 315 316 #pragma alloc_text(ABOUT,AboutDlgProc,AuthorDlgProc) -
trunk/dll/killproc.c
r775 r793 15 15 03 Nov 06 SHL Count thread usage 16 16 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 17 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 17 18 18 19 … … 40 41 41 42 static PSZ pszSrcFile = __FILE__; 42 43 #pragma alloc_text(KILLPROC,FillKillListThread,FillKillListThread2,GetDosPgmName,KillDlgProc)44 43 45 44 CHAR *GetDosPgmName(PID pid, CHAR * string) … … 407 406 return WinDefDlgProc(hwnd, msg, mp1, mp2); 408 407 } 408 409 #pragma alloc_text(KILLPROC,FillKillListThread,FillKillListThread2,GetDosPgmName,KillDlgProc) -
trunk/dll/loadbmp.c
r551 r793 30 30 31 31 static PSZ pszSrcFile = __FILE__; 32 33 #pragma alloc_text(LOADBITMAP,LoadBitmapFromFile,LoadBitmapFromFileNum)34 32 35 33 HBITMAP LoadBitmapFromFileNum(USHORT id) … … 353 351 return hBmp; 354 352 } 353 354 #pragma alloc_text(LOADBITMAP,LoadBitmapFromFile,LoadBitmapFromFileNum) -
trunk/dll/mainwnd2.c
r775 r793 19 19 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 20 20 07 Aug 07 SHL Use BldQuotedFileName 21 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 21 22 22 23 ***********************************************************************/ … … 53 54 54 55 static PSZ pszSrcFile = __FILE__; 55 56 #pragma alloc_text(PERSON11,MainFrameWndProc2,MainWndProc2)57 #pragma alloc_text(PERSON12,StartFM32,MainWMOnce2)58 #pragma alloc_text(PERSON13,MainWMCommand2)59 56 60 57 static MRESULT EXPENTRY MainFrameWndProc2(HWND hwnd, ULONG msg, MPARAM mp1, … … 1415 1412 return hwndFrame; 1416 1413 } 1414 1415 #pragma alloc_text(PERSON11,MainFrameWndProc2,MainWndProc2) 1416 #pragma alloc_text(PERSON12,StartFM32,MainWMOnce2) 1417 #pragma alloc_text(PERSON13,MainWMCommand2) -
trunk/dll/makelist.c
r773 r793 13 13 22 Jul 06 SHL AddToList optimize 14 14 06 Apr 07 GKY Work around PM DragInfo and DrgFreeDISH limits 15 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 16 16 17 ***********************************************************************/ … … 29 30 30 31 static PSZ pszSrcFile = __FILE__; 31 32 #pragma alloc_text(MAKELIST,AddToList,AddToFileList,BuildList,FreeListInfo,FreeList)33 #pragma alloc_text(MAKELIST,SortList,BuildArcList,RemoveFromList,CombineLists)34 32 35 33 VOID SortList(LISTINFO * li) … … 284 282 return prime; 285 283 } 284 285 #pragma alloc_text(MAKELIST,AddToList,AddToFileList,BuildList,FreeListInfo,FreeList) 286 #pragma alloc_text(MAKELIST,SortList,BuildArcList,RemoveFromList,CombineLists) -
trunk/dll/menu.c
r551 r793 12 12 22 Jul 06 SHL Check more run time errors 13 13 29 Jul 06 SHL Use xfgets_bstripcr 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 30 31 31 32 static PSZ pszSrcFile = __FILE__; 32 33 #pragma alloc_text(MENU,tokenize,FreeMenuList,AddToMenu)34 33 35 34 MENU *menuhead = NULL; … … 162 161 return ret; 163 162 } 163 164 #pragma alloc_text(MENU,tokenize,FreeMenuList,AddToMenu) -
trunk/dll/mle.c
r775 r793 15 15 22 Mar 07 GKY Use QWL_USER 16 16 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 17 17 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 18 18 19 19 ***********************************************************************/ … … 37 37 static PSZ pszSrcFile = __FILE__; 38 38 39 #pragma alloc_text(FMMLE,MLEgetlinetext,MLEdeleteline,MLEdeletecurline,MLEdeletetoeol)40 41 39 #define FAKEROT 1 42 40 #define DOROT13(c) (!isalpha((c)))?(c):((((c) >= (char) 'A') && \ … … 93 91 return MLEdelete(h, s, e); 94 92 } 95 96 #pragma alloc_text(FMMLE,MLEclearall,MLEtextatcursor,MLEtextatpos,MLEsizeofsel)97 93 98 94 VOID MLEclearall(HWND h) … … 146 142 (cursor - anchor)))); 147 143 } 148 149 #pragma alloc_text(FMMLE3,MLEdoblock,MLEquotepara,MLEinternet)150 144 151 145 VOID MLEinternet(HWND h, BOOL ftp) … … 410 404 return TRUE; 411 405 } 412 413 #pragma alloc_text(FMMLE4,MLEAutoLoad,MLEHexLoad,MLEinsertfile,LoadThread,MLEbackgroundload)414 406 415 407 BOOL MLEAutoLoad(HWND h, CHAR * filename) … … 774 766 } 775 767 776 #pragma alloc_text(FMMLE5,MLEloadfile,MLEexportfile)777 778 768 BOOL MLEloadfile(HWND h, CHAR * filename) 779 769 { … … 923 913 } 924 914 925 #pragma alloc_text(FMMLE3,MLEfindfirst,MLEfindnext,SandRDlgProc)926 927 915 MRESULT EXPENTRY SandRDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 928 916 { … … 1101 1089 return 0; 1102 1090 } 1091 1092 #pragma alloc_text(FMMLE,MLEgetlinetext,MLEdeleteline,MLEdeletecurline,MLEdeletetoeol) 1093 #pragma alloc_text(FMMLE,MLEclearall,MLEtextatcursor,MLEtextatpos,MLEsizeofsel) 1094 #pragma alloc_text(FMMLE3,MLEdoblock,MLEquotepara,MLEinternet) 1095 #pragma alloc_text(FMMLE4,MLEAutoLoad,MLEHexLoad,MLEinsertfile,LoadThread,MLEbackgroundload) 1096 #pragma alloc_text(FMMLE5,MLEloadfile,MLEexportfile) 1097 #pragma alloc_text(FMMLE3,MLEfindfirst,MLEfindnext,SandRDlgProc) -
trunk/dll/newview.c
r775 r793 21 21 30 Mar 07 GKY Remove GetPString for window class names 22 22 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 23 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 23 24 24 25 … … 46 47 47 48 static PSZ pszSrcFile = __FILE__; 48 49 #pragma alloc_text(NEWVIEW,ViewStatusProc,FreeViewerMem,LoadFileThread)50 #pragma alloc_text(NEWVIEW,InitWindow,PaintLine,ViewWndProc)51 #pragma alloc_text(NEWVIEW,ViewFrameWndProc,StartViewer,ReLineThread)52 #pragma alloc_text(NEWVIEW,BuildAList,SearchThread,ClipboardThread,FindStrDlgProc)53 #pragma alloc_text(NEWVIEW,BuildAList2,UrlDlgProc)54 49 55 50 #define VF_SELECTED 0x01 … … 3951 3946 return hwndFrame; 3952 3947 } 3948 3949 #pragma alloc_text(NEWVIEW,ViewStatusProc,FreeViewerMem,LoadFileThread) 3950 #pragma alloc_text(NEWVIEW,InitWindow,PaintLine,ViewWndProc) 3951 #pragma alloc_text(NEWVIEW,ViewFrameWndProc,StartViewer,ReLineThread) 3952 #pragma alloc_text(NEWVIEW,BuildAList,SearchThread,ClipboardThread,FindStrDlgProc) 3953 #pragma alloc_text(NEWVIEW,BuildAList2,UrlDlgProc) -
trunk/dll/notify.c
r775 r793 13 13 30 Mar 07 GKY Remove GetPString for window class names 14 14 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 15 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 16 16 17 … … 38 39 39 40 static PSZ pszSrcFile = __FILE__; 40 41 #pragma alloc_text(NOTIFY,Notify,NotifyWndProc,StartNotify)42 #pragma alloc_text(NOTIFY,NotifyThread,NotifyError)43 #pragma alloc_text(NOTIFY2,AddNote,NoteThread,NoteWndProc)44 #pragma alloc_text(NOTIFY3,StartNotes,EndNote,HideNote,ShowNote)45 41 46 42 static HWND hwndNotify; … … 513 509 0, 0, 0, SWP_MINIMIZE | SWP_ZORDER | SWP_FOCUSDEACTIVATE); 514 510 } 511 512 #pragma alloc_text(NOTIFY,Notify,NotifyWndProc,StartNotify) 513 #pragma alloc_text(NOTIFY,NotifyThread,NotifyError) 514 #pragma alloc_text(NOTIFY2,AddNote,NoteThread,NoteWndProc) 515 #pragma alloc_text(NOTIFY3,StartNotes,EndNote,HideNote,ShowNote) -
trunk/dll/objwin.c
r593 r793 12 12 02 Nov 06 SHL Comments 13 13 30 Mar 07 GKY Remove GetPString for window class names 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 32 33 33 34 static PSZ pszSrcFile = __FILE__; 34 35 #pragma alloc_text(OBJWIN,ObjectWndProc,MakeObjWin)36 35 37 36 MRESULT EXPENTRY ObjectWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 96 95 } 97 96 } 97 98 #pragma alloc_text(OBJWIN,ObjectWndProc,MakeObjWin) -
trunk/dll/presparm.c
r766 r793 10 10 11 11 22 Jul 06 SHL Check more run time errors 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 27 28 28 29 // static PSZ pszSrcFile = __FILE__; 29 30 #pragma alloc_text(PRESPARAM,CopyPresParams,SetPresParams,IfNoParam)31 #pragma alloc_text(PRESPARAM,PresParamChanged,RestorePresParams)32 #pragma alloc_text(PRESPARAM,StoreWndPresParams)33 30 34 31 #ifdef NEVER … … 442 439 WinSetPresParam(hwnd, PP_FONTNAMESIZE, size, (PVOID) AttrValue); 443 440 } 441 442 #pragma alloc_text(PRESPARAM,CopyPresParams,SetPresParams,IfNoParam) 443 #pragma alloc_text(PRESPARAM,PresParamChanged,RestorePresParams) 444 #pragma alloc_text(PRESPARAM,StoreWndPresParams) -
trunk/dll/printer.c
r766 r793 14 14 03 Nov 06 SHL Count thread usage 15 15 22 Mar 07 GKY Use QWL_USER 16 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 16 17 17 18 ***********************************************************************/ … … 35 36 36 37 static PSZ pszSrcFile = __FILE__; 37 38 #pragma alloc_text(PRINTER,PrinterReady,SayPrinterReady)39 #pragma alloc_text(PRINTER2,PrintListThread)40 #pragma alloc_text(PRINTER3,PrintDlgProc)41 38 42 39 static HMTX PrintSem = 0; … … 596 593 return WinDefDlgProc(hwnd, msg, mp1, mp2); 597 594 } 595 596 #pragma alloc_text(PRINTER,PrinterReady,SayPrinterReady) 597 #pragma alloc_text(PRINTER2,PrintListThread) 598 #pragma alloc_text(PRINTER3,PrintDlgProc) -
trunk/dll/remap.c
r766 r793 12 12 29 Jul 06 SHL Use xfgets 13 13 31 Aug 06 SHL Use _fsopen to avoid noise complaints 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 34 35 35 36 static PSZ pszSrcFile = __FILE__; 36 37 #pragma alloc_text(FMREMAP,RemapDlgProc,load_resources,save_resources)38 #pragma alloc_text(FMREMAP,add_resource,remove_resource,free_resources)39 37 40 38 typedef struct APPNOTIFY … … 746 744 return WinDefDlgProc(hwnd, msg, mp1, mp2); 747 745 } 746 747 #pragma alloc_text(FMREMAP,RemapDlgProc,load_resources,save_resources) 748 #pragma alloc_text(FMREMAP,add_resource,remove_resource,free_resources) -
trunk/dll/rename.c
r574 r793 10 10 01 Aug 04 SHL - Rework lstrip/rstrip usage 11 11 22 Mar 07 GKY Use QWL_USER 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 25 26 #include "fm3dlg.h" 26 27 #include "fm3str.h" 27 28 #pragma alloc_text(FMRENAME,RenameProc)29 28 30 29 MRESULT EXPENTRY RenameProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 362 361 return WinDefDlgProc(hwnd, msg, mp1, mp2); 363 362 } 363 364 #pragma alloc_text(FMRENAME,RenameProc) -
trunk/dll/saveclip.c
r775 r793 17 17 22 Mar 07 GKY Use QWL_USER 18 18 06 Aug 07 GKY Increase Subject EA to 1024 19 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 19 20 20 21 ***********************************************************************/ … … 35 36 36 37 static PSZ pszSrcFile = __FILE__; 37 38 #pragma alloc_text(FMCLIPBOARDIN,SaveToClip,SaveToClipHab)39 #pragma alloc_text(FMCLIPBOARDOUT,ListToClipboard,ListToClipboardHab)40 #pragma alloc_text(FMCLIPBOARDOUT,ListFromClipboard,ListFromClipboardHab)41 38 42 39 BOOL SaveToClip(HWND hwnd, CHAR * text, BOOL append) … … 189 186 return list; 190 187 } 191 192 #pragma alloc_text(SAVELIST,SaveListDlgProc,SaveAllListDlgProc)193 188 194 189 MRESULT EXPENTRY SaveListDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 988 983 return WinDefDlgProc(hwnd, msg, mp1, mp2); 989 984 } 985 986 #pragma alloc_text(FMCLIPBOARDIN,SaveToClip,SaveToClipHab) 987 #pragma alloc_text(FMCLIPBOARDOUT,ListToClipboard,ListToClipboardHab) 988 #pragma alloc_text(FMCLIPBOARDOUT,ListFromClipboard,ListFromClipboardHab) 989 #pragma alloc_text(SAVELIST,SaveListDlgProc,SaveAllListDlgProc) -
trunk/dll/select.c
r787 r793 26 26 pszFileName not null 27 27 14 Aug 07 SHL Revert ExpandAll DosSleep to 0 28 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 28 29 29 30 ***********************************************************************/ … … 42 43 #include "fm3dll.h" 43 44 #include "fm3str.h" 44 45 #pragma alloc_text(SELECT,UnHilite,SelectAll,DeselectAll,MarkAll,SetMask)46 #pragma alloc_text(SELECT,SelectList)47 #pragma alloc_text(SELECT1,Deselect,HideAll,RemoveAll,ExpandAll,InvertAll)48 45 49 46 static PSZ pszSrcFile = __FILE__; … … 575 572 } 576 573 } 577 578 #pragma alloc_text (SELECT3,SpecialSelect)579 #pragma alloc_text(SELECT4,FreeCnrs,SpecialSelect2,CompSSNames,CompSSNamesB)580 574 581 575 /** … … 1531 1525 FreeCnrs(Cnrs, numwindows); 1532 1526 } 1527 1528 #pragma alloc_text(SELECT,UnHilite,SelectAll,DeselectAll,MarkAll,SetMask) 1529 #pragma alloc_text(SELECT,SelectList) 1530 #pragma alloc_text(SELECT1,Deselect,HideAll,RemoveAll,ExpandAll,InvertAll) 1531 #pragma alloc_text(SELECT3,SpecialSelect) 1532 #pragma alloc_text(SELECT4,FreeCnrs,SpecialSelect2,CompSSNames,CompSSNamesB) -
trunk/dll/seticon.c
r766 r793 11 11 17 Jul 06 SHL Use Runtime_Error 12 12 22 Mar 06 GKY Use QWL_USER 13 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 13 14 14 15 ***********************************************************************/ … … 30 31 31 32 static PSZ pszSrcFile = __FILE__; 32 33 #pragma alloc_text(MENU,SetIconDlgProc)34 33 35 34 MRESULT EXPENTRY SetIconDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 116 115 return WinDefDlgProc(hwnd, msg, mp1, mp2); 117 116 } 117 118 #pragma alloc_text(MENU,SetIconDlgProc) -
trunk/dll/shadow.c
r773 r793 12 12 16 Jun 07 SHL Update for OpenWatcom 13 13 06 Aug 07 SHL Use BldFullPathName 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 30 31 31 32 static PSZ pszSrcFile = __FILE__; 32 33 #pragma alloc_text(SHADOW,CreateProgramObject,CreateDataObject,CreateFolderObject,CreateShadowObject)34 33 35 34 HOBJECT CreateProgramObject(CHAR * objtitle, CHAR * location, CHAR * path, … … 160 159 return obj; 161 160 } 162 163 #pragma alloc_text(SHADOW2,MakeShadows,OpenObject)164 161 165 162 VOID MakeShadows(HWND hwnd, CHAR ** list, ULONG Shadows, CHAR * cnr, … … 296 293 return ret; 297 294 } 295 296 #pragma alloc_text(SHADOW,CreateProgramObject,CreateDataObject,CreateFolderObject,CreateShadowObject) 297 #pragma alloc_text(SHADOW2,MakeShadows,OpenObject) -
trunk/dll/sortcnr.c
r730 r793 12 12 25 May 05 SHL Rework with ULONGLONG 13 13 22 Mar 07 GKY Use QWL_USER 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 24 25 25 26 #include "fm3dll.h" 26 27 #pragma alloc_text(SORTCNR,SortCnr,SortTreeCnr,SortDirCnr,SortCollectorCnr)28 27 29 28 SHORT APIENTRY SortTreeCnr(PMINIRECORDCORE p1, PMINIRECORDCORE p2, … … 198 197 return (SHORT) stricmp(pCI1->pszFileName, pCI2->pszFileName); 199 198 } 199 200 #pragma alloc_text(SORTCNR,SortCnr,SortTreeCnr,SortDirCnr,SortCollectorCnr) -
trunk/dll/srchpath.c
r633 r793 10 10 11 11 22 Apr 07 GKY Add RunFM2Util to find and run apps from the FM2Utilities 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 30 31 31 32 #pragma data_seg(DATA1) 32 #pragma alloc_text(MISC9,first_path,searchapath,searchpath,RunFM2Util)33 33 34 34 //== RunFM2Util() Find and run an app from the FM2utilities == … … 129 129 return found; 130 130 } 131 132 #pragma alloc_text(MISC9,first_path,searchapath,searchpath,RunFM2Util) -
trunk/dll/string.c
r551 r793 10 10 11 11 22 Jul 06 SHL Comments 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 26 27 #include "fm3str.h" 27 28 #include "version.h" 28 29 #pragma alloc_text(STRINGS,LoadStrings,GetPString)30 29 31 30 static char **strs, *str; … … 131 130 return numStr && str && strs; 132 131 } 132 133 #pragma alloc_text(STRINGS,LoadStrings,GetPString) -
trunk/dll/strips.c
r551 r793 11 11 01 Aug 04 SHL Rework lstrip/rstrip usage 12 12 26 Jul 06 SHL Add chop_at_crnl 13 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 13 14 14 15 ***********************************************************************/ … … 18 19 #include <string.h> 19 20 #include <ctype.h> 20 21 #pragma alloc_text(MISC8,chop_at_crnl,convert_nl_to_nul,strip_trail_char,strip_lead_char)22 21 23 22 VOID chop_at_crnl(PSZ pszSrc) … … 71 70 } 72 71 } 72 73 #pragma alloc_text(MISC8,chop_at_crnl,convert_nl_to_nul,strip_trail_char,strip_lead_char) -
trunk/dll/stristr.c
r551 r793 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 2007 Steven H.Levine 8 9 Case insensitive strings 10 11 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 ***********************************************************************/ 14 1 15 #define INCL_DOS 2 16 … … 6 20 #include <string.h> 7 21 #include <ctype.h> 8 9 #pragma alloc_text(MISC8,stristr,strnstr,strnistr,findstring)10 22 11 23 CHAR *stristr(register CHAR * t, CHAR * s) … … 129 141 return (lenthis2) ? NULL : in - lenthis; 130 142 } 143 144 #pragma alloc_text(MISC8,stristr,strnstr,strnistr,findstring) -
trunk/dll/subj.c
r775 r793 12 12 17 Jul 06 SHL Use Runtime_Error 13 13 06 Aug 07 GKY Increase Subject EA to 1024 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 15 15 16 ***********************************************************************/ … … 28 29 #include "fm3dlg.h" 29 30 #include "fm3str.h" 30 31 #pragma alloc_text(FMINPUT,Subject)32 31 33 32 static PSZ pszSrcFile = __FILE__; … … 151 150 return ret; // No change? 152 151 } 152 153 #pragma alloc_text(FMINPUT,Subject) -
trunk/dll/sysinfo.c
r766 r793 14 14 26 Jul 06 SHL Report open errors 15 15 29 Jul 06 SHL Use xfgets 16 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 16 17 17 18 ***********************************************************************/ … … 31 32 32 33 static PSZ pszSrcFile = __FILE__; 33 34 #pragma alloc_text(SYSINFO,SysInfoDlgProc,RunRmview)35 34 36 35 VOID RunRmview(VOID * arg) … … 489 488 return WinDefDlgProc(hwnd, msg, mp1, mp2); 490 489 } 490 491 #pragma alloc_text(SYSINFO,SysInfoDlgProc,RunRmview) -
trunk/dll/systemf.c
r775 r793 19 19 07 Jan 07 GKY Move error strings etc. to string file 20 20 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 21 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 21 22 22 23 … … 41 42 42 43 static PSZ pszSrcFile = __FILE__; 43 44 #pragma alloc_text(SYSTEMF,ShowSession,ExecOnList,runemf2)45 44 46 45 #define MAXSTRG (4096) /* used to build command line strings */ … … 1304 1303 return happ; 1305 1304 } 1305 1306 #pragma alloc_text(SYSTEMF,ShowSession,ExecOnList,runemf2) -
trunk/dll/timer.c
r689 r793 10 10 11 11 22 Jul 06 SHL Check more run time errors 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 12 13 13 14 ***********************************************************************/ … … 26 27 #include "fm3dll.h" 27 28 #include "fm3str.h" 28 29 #pragma alloc_text(TIMER,TimerThread,StartTimer,StopTimer)30 29 31 30 static PSZ pszSrcFile = __FILE__; … … 82 81 DosPostEventSem(hevTimerSem); 83 82 } 83 84 #pragma alloc_text(TIMER,TimerThread,StartTimer,StopTimer) -
trunk/dll/tools.c
r766 r793 16 16 05 Sep 06 SHL docopyf filename args must be variables 17 17 05 Sep 06 SHL Sync with standard source formatting 18 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 18 19 19 20 ***********************************************************************/ … … 36 37 37 38 static PSZ pszSrcFile = __FILE__; 38 39 #pragma alloc_text(TOOLS,load_tools,save_tools,add_tool,insert_tool,del_tool,free_tools,swap_tools,load_quicktools,save_quicktools)40 #pragma alloc_text(TOOLS1,ReOrderToolsProc,PickToolProc,AddToolProc,ToolIODlgProc)41 39 42 40 TOOL *toolhead = NULL; … … 1021 1019 return WinDefDlgProc(hwnd, msg, mp1, mp2); 1022 1020 } 1021 1022 #pragma alloc_text(TOOLS,load_tools,save_tools,add_tool,insert_tool,del_tool,free_tools,swap_tools,load_quicktools,save_quicktools) 1023 #pragma alloc_text(TOOLS1,ReOrderToolsProc,PickToolProc,AddToolProc,ToolIODlgProc) -
trunk/dll/treecnr.c
r787 r793 38 38 14 Aug 07 SHL Revert ShowTreeRec DosSleep to 0 39 39 14 Aug 07 SHL Optimze ShowTreeRec collapse - was really slow 40 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 40 41 41 42 ***********************************************************************/ … … 63 64 64 65 static PSZ pszSrcFile = __FILE__; 65 66 #pragma alloc_text(TREECNR,TreeCnrWndProc,TreeObjWndProc,TreeClientWndProc)67 #pragma alloc_text(TREECNR,TreeFrameWndProc,TreeTitleWndProc,ShowTreeRec)68 #pragma alloc_text(TREECNR,TreeStatProc,OpenButtonProc)69 #pragma alloc_text(STARTUP,StartTreeCnr)70 66 71 67 APIRET16 APIENTRY16 Dos16MemAvail(PULONG pulAvailMem); … … 3048 3044 return hwndFrame; 3049 3045 } 3046 3047 #pragma alloc_text(TREECNR,TreeCnrWndProc,TreeObjWndProc,TreeClientWndProc) 3048 #pragma alloc_text(TREECNR,TreeFrameWndProc,TreeTitleWndProc,ShowTreeRec) 3049 #pragma alloc_text(TREECNR,TreeStatProc,OpenButtonProc) 3050 #pragma alloc_text(STARTUP,StartTreeCnr) -
trunk/dll/undel.c
r775 r793 13 13 03 Nov 06 SHL Count thread usage 14 14 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 15 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 16 16 17 ***********************************************************************/ … … 35 36 36 37 static PSZ pszSrcFile = __FILE__; 37 38 #pragma alloc_text(UNDELETE,FillUndelListThread,UndeleteDlgProc)39 38 40 39 struct tempstruct … … 477 476 return WinDefDlgProc(hwnd, msg, mp1, mp2); 478 477 } 478 479 #pragma alloc_text(UNDELETE,FillUndelListThread,UndeleteDlgProc) -
trunk/dll/update.c
r761 r793 18 18 09 Mar 07 GKY Cleanup SelectDriveIcon using "driveflag =" from Steven 19 19 02 Aug 07 SHL Sync with CNRITEM mods 20 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 20 21 21 22 ***********************************************************************/ … … 36 37 37 38 static PSZ pszSrcFile = __FILE__; 38 39 #pragma alloc_text(UPDATECNR,UpdateCnrRecord,UpdateCnrList)40 39 41 40 HPOINTER SelectDriveIcon(PCNRITEM pci) … … 648 647 return ret; 649 648 } 649 650 #pragma alloc_text(UPDATECNR,UpdateCnrRecord,UpdateCnrList) -
trunk/dll/uudecode.c
r574 r793 15 15 01 Sep 06 SHL Back to fgets for now - avoid excess error messages 16 16 22 Mar 07 GKY Use QWL_USER 17 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 17 18 18 19 ***********************************************************************/ … … 39 40 /* single character decode */ 40 41 #define DEC(c) (((c) - ' ') & 077) 41 42 #pragma alloc_text(UUD,UUD,decode,outdec)43 #pragma alloc_text(MERGE,MergeDlgProc)44 42 45 43 int UUD(char *filename, CHAR * dest) … … 390 388 return WinDefDlgProc(hwnd, msg, mp1, mp2); 391 389 } 390 391 #pragma alloc_text(UUD,UUD,decode,outdec) 392 #pragma alloc_text(MERGE,MergeDlgProc) -
trunk/dll/valid.c
r766 r793 23 23 18 Feb 07 GKY Add more drive types and icons 24 24 16 Jun 07 SHL Update for OpenWatcom 25 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 25 26 26 27 ***********************************************************************/ … … 41 42 42 43 static PSZ pszSrcFile = __FILE__; 43 44 #pragma alloc_text(VALID,CheckDrive,IsRoot,IsFile,IsFullName,needsquoting)45 #pragma alloc_text(VALID,IsValidDir,IsValidDrive,MakeValidDir,IsVowel)46 #pragma alloc_text(VALID,IsFileSame,IsNewer,TestDates,RootName,MakeFullName)47 #pragma alloc_text(VALID,IsExecutable,IsBinary,IsDesktop,ParentIsDesktop)48 #pragma alloc_text(FILLFLAGS,FillInDriveFlags,assign_ignores)49 #pragma alloc_text(FILLFLAGS,ArgDriveFlags,DriveFlagsOne)50 #pragma alloc_text(FINDDESK,GetDesktopName)51 44 52 45 APIRET MakeFullName(char *pszFileName) … … 943 936 } 944 937 } 938 939 #pragma alloc_text(VALID,CheckDrive,IsRoot,IsFile,IsFullName,needsquoting) 940 #pragma alloc_text(VALID,IsValidDir,IsValidDrive,MakeValidDir,IsVowel) 941 #pragma alloc_text(VALID,IsFileSame,IsNewer,TestDates,RootName,MakeFullName) 942 #pragma alloc_text(VALID,IsExecutable,IsBinary,IsDesktop,ParentIsDesktop) 943 #pragma alloc_text(FILLFLAGS,FillInDriveFlags,assign_ignores) 944 #pragma alloc_text(FILLFLAGS,ArgDriveFlags,DriveFlagsOne) 945 #pragma alloc_text(FINDDESK,GetDesktopName) -
trunk/dll/viewer.c
r766 r793 13 13 31 Aug 06 SHL Sync with disable_menuitem changes 14 14 30 Mar 07 GKY Remove GetPString for window class names 15 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 16 16 17 ***********************************************************************/ … … 34 35 35 36 static PSZ pszSrcFile = __FILE__; 36 37 #pragma alloc_text(VIEWER,MLEEditorProc,MLESubProc)38 #pragma alloc_text(STARTUP,StartMLEEditor)39 37 40 38 #define hwndMLE WinWindowFromID(hwnd,MLE_MLE) … … 1184 1182 return WinDefWindowProc(hwnd, msg, mp1, mp2); 1185 1183 } 1184 1185 #pragma alloc_text(VIEWER,MLEEditorProc,MLESubProc) 1186 #pragma alloc_text(STARTUP,StartMLEEditor)
Note:
See TracChangeset
for help on using the changeset viewer.
