summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--help/pumpkin.xml6
-rw-r--r--install/install.cpp2
-rw-r--r--install/install.rc10
-rwxr-xr-xpumpkin.rc14
4 files changed, 18 insertions, 14 deletions
diff --git a/help/pumpkin.xml b/help/pumpkin.xml
index 153219a..486ac82 100644
--- a/help/pumpkin.xml
+++ b/help/pumpkin.xml
@@ -1,59 +1,63 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<winhelp> 2<winhelp>
3 <topic id="About" title="About PumpKIN" keywords="about"> 3 <topic id="About" title="About PumpKIN" keywords="about">
4 <heading scroll="no">About <kin>PumpKIN</kin></heading> 4 <heading scroll="no">About <kin>PumpKIN</kin></heading>
5 <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p> 5 <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p>
6 <p/> 6 <p/>
7 <p><b><i>Enjoy!</i></b></p> 7 <p><b><i>Enjoy!</i></b></p>
8 <license years="1997-2006"/> 8 <license years="1997-2011"/>
9 <credist/> 9 <credist/>
10 </topic> 10 </topic>
11 <topic id="News" title="What's New"> 11 <topic id="News" title="What's New">
12 <newsfor version="2.7.3" date="Apr 27th, 2011">
13 <ni>Added configuration option to bind to specific ip address</ni>
14 <ni>Fixed a minor bug that lead to misdiagnosis of the packet from unexpected source</ni>
15 </newsfor>
12 <newsfor version="2.7.2" date="October 18th, 2006"> 16 <newsfor version="2.7.2" date="October 18th, 2006">
13 <ni>Added rejecting of too large file requests with explicit error message about the block size</ni> 17 <ni>Added rejecting of too large file requests with explicit error message about the block size</ni>
14 <ni>A bit more elaborate logging</ni> 18 <ni>A bit more elaborate logging</ni>
15 <ni>Not closing receive socket until the last ACK receved now</ni> 19 <ni>Not closing receive socket until the last ACK receved now</ni>
16 </newsfor> 20 </newsfor>
17 <newsfor version="2.7.1" date="March 13th, 2006"> 21 <newsfor version="2.7.1" date="March 13th, 2006">
18 <ni>Bugfix release</ni> 22 <ni>Bugfix release</ni>
19 </newsfor> 23 </newsfor>
20 <newsfor version="2.7" date="February 28th, 2006"> 24 <newsfor version="2.7" date="February 28th, 2006">
21 <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni> 25 <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni>
22 <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni> 26 <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni>
23 <ni>Logging to file</ni> 27 <ni>Logging to file</ni>
24 <ni>Resizable main window</ni> 28 <ni>Resizable main window</ni>
25 </newsfor> 29 </newsfor>
26 <newsfor version="2.6" date="August 6th, 2005"> 30 <newsfor version="2.6" date="August 6th, 2005">
27 <ni>more robust solution to the backslash/slash dilemma</ni> 31 <ni>more robust solution to the backslash/slash dilemma</ni>
28 <ni>A bit more elaborate error reporting</ni> 32 <ni>A bit more elaborate error reporting</ni>
29 <ni>Fixed uninstall procedure so that it works on XP</ni> 33 <ni>Fixed uninstall procedure so that it works on XP</ni>
30 </newsfor> 34 </newsfor>
31 <newsfor version="2.5" date="July 11th, 2004"> 35 <newsfor version="2.5" date="July 11th, 2004">
32 <ni>Change of <a href="#About">license</a> and opening the source.</ni> 36 <ni>Change of <a href="#About">license</a> and opening the source.</ni>
33 <ni>Minor cosmetic changes</ni> 37 <ni>Minor cosmetic changes</ni>
34 </newsfor> 38 </newsfor>
35 <newsfor version="2.0" date="June 13th, 1998"> 39 <newsfor version="2.0" date="June 13th, 1998">
36 <ni>Sounds customization. Now you can customize <kin>PumpKIN</kin> bells and whistles or turn them off completely.</ni> 40 <ni>Sounds customization. Now you can customize <kin>PumpKIN</kin> bells and whistles or turn them off completely.</ni>
37 <ni>Previous version of <kin>PumpKIN</kin> had a bug causing it to misbehave when you're requesting file from remote <term>tftp</term> server using <b>IP Address</b> (as opposed to <b>hostname</b>).</ni> 41 <ni>Previous version of <kin>PumpKIN</kin> had a bug causing it to misbehave when you're requesting file from remote <term>tftp</term> server using <b>IP Address</b> (as opposed to <b>hostname</b>).</ni>
38 <ni>Typo causing <kin>PumpKIN</kin> to log outgoing request in reverse (i.e. <i>Requesting 'hostname' from 'filename'</i>) fixed.</ni> 42 <ni>Typo causing <kin>PumpKIN</kin> to log outgoing request in reverse (i.e. <i>Requesting 'hostname' from 'filename'</i>) fixed.</ni>
39 <ni>Something else that you may not notice and I can not remember.</ni> 43 <ni>Something else that you may not notice and I can not remember.</ni>
40 </newsfor> 44 </newsfor>
41 <newsfor version="1.5" date="February 12th, 1998"> 45 <newsfor version="1.5" date="February 12th, 1998">
42 <ni>Transfer resumes. No checking on file contents is done, so it's up to you to decide whether you want to start transmission from the beginning or resume unfinished transfer.</ni> 46 <ni>Transfer resumes. No checking on file contents is done, so it's up to you to decide whether you want to start transmission from the beginning or resume unfinished transfer.</ni>
43 <ni>Support for <b>block size</b>, <b>trasnfer size</b> and <b>transfer timeout</b> options as described in <rfc num="1782"/>, <rfc num="1783"/> and <rfc num="1784"/>. I'm not sure if there are any other <term>TFTP</term> implementations supporting this, but at least it makes sense if you use <kin>PumpKIN</kin> on both ends.</ni> 47 <ni>Support for <b>block size</b>, <b>trasnfer size</b> and <b>transfer timeout</b> options as described in <rfc num="1782"/>, <rfc num="1783"/> and <rfc num="1784"/>. I'm not sure if there are any other <term>TFTP</term> implementations supporting this, but at least it makes sense if you use <kin>PumpKIN</kin> on both ends.</ni>
44 <ni>New Install program</ni> 48 <ni>New Install program</ni>
45 </newsfor> 49 </newsfor>
46 </topic> 50 </topic>
47 <topic id="Using" title="Using PumpKIN"> 51 <topic id="Using" title="Using PumpKIN">
48 <heading scroll="no">Using <kin>PumpKIN</kin></heading> 52 <heading scroll="no">Using <kin>PumpKIN</kin></heading>
49 <p>This is a simple program for file exchange between two parties. It allows you to send files over the network to your party while having a <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> conversation. It uses open sessions to determine IP address of your party. Also you may use it as a <term>TFTP</term> client/server by itself. To get/put files from/to <term>TFTP</term> server you need to enter host name/IP address manually in the <a href="#Request">Request Dialog</a>.</p> 53 <p>This is a simple program for file exchange between two parties. It allows you to send files over the network to your party while having a <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> conversation. It uses open sessions to determine IP address of your party. Also you may use it as a <term>TFTP</term> client/server by itself. To get/put files from/to <term>TFTP</term> server you need to enter host name/IP address manually in the <a href="#Request">Request Dialog</a>.</p>
50 <p>To Abort transfer(s) currently in progress - select transfer(s) you want to terminate in the list and click <b>Abort xfer</b> button.</p> 54 <p>To Abort transfer(s) currently in progress - select transfer(s) you want to terminate in the list and click <b>Abort xfer</b> button.</p>
51 <p>You may want to hide <kin>PumpKIN</kin> window and leave it as a tray icon only. Just click the <image source="pumpkin.bmp"/> icon in the tray or simply close the window.</p> 55 <p>You may want to hide <kin>PumpKIN</kin> window and leave it as a tray icon only. Just click the <image source="pumpkin.bmp"/> icon in the tray or simply close the window.</p>
52 <p>Use <a href="#Options">Options</a> button to set <kin>PumpKIN</kin> options.</p> 56 <p>Use <a href="#Options">Options</a> button to set <kin>PumpKIN</kin> options.</p>
53 <p>You can start and stop <kin>PumpKIN</kin>'s <term>TFTP</term> server by checking and unchecking the <b>Server is running</b> checkbox in the lower right corner of main <kin>PumpKIN</kin> window.</p> 57 <p>You can start and stop <kin>PumpKIN</kin>'s <term>TFTP</term> server by checking and unchecking the <b>Server is running</b> checkbox in the lower right corner of main <kin>PumpKIN</kin> window.</p>
54 </topic> 58 </topic>
55 <topic id="ConfirmRRQ" title="Confirm Read Request Dialog"> 59 <topic id="ConfirmRRQ" title="Confirm Read Request Dialog">
56 <heading scroll="no">Confirm Read Request Dialog</heading> 60 <heading scroll="no">Confirm Read Request Dialog</heading>
57 <p>When the file is requested from your <term>TFTP</term> server you may choose to <b>Grant Access</b> to this file or to <b>Deny Access</b>. If you hesitate to answer for <a href="#ConfirmationTimeout"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> defaults to denial of all requests.</p> 61 <p>When the file is requested from your <term>TFTP</term> server you may choose to <b>Grant Access</b> to this file or to <b>Deny Access</b>. If you hesitate to answer for <a href="#ConfirmationTimeout"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> defaults to denial of all requests.</p>
58 </topic> 62 </topic>
59 <topic id="ConfirmWRQ" title="Confirm Write Request Dialog"> 63 <topic id="ConfirmWRQ" title="Confirm Write Request Dialog">
diff --git a/install/install.cpp b/install/install.cpp
index 58ed997..ea27a2c 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,52 +1,52 @@
1#include "resource.h" 1#include "resource.h"
2#include "../shared-code/install.h" 2#include "../shared-code/install.h"
3 3
4#define VERSION "2.7.2" 4#define VERSION "2.7.3"
5 #defineKINAME "PumpKIN " VERSION 5 #defineKINAME "PumpKIN " VERSION
6#define SKINAME "PumpKIN" 6#define SKINAME "PumpKIN"
7 7
8BOOL Install(void) 8BOOL Install(void)
9{ 9{
10STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); 10STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path");
11STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); 11STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
12LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); 12LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
13STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); 13STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath);
14 if(!path) 14 if(!path)
15 return NULL; 15 return NULL;
16 16
17 #ifdefK_ANNED 17 #ifdefK_ANNED
18STRING sysDir(_MAX_PATH); 18STRING sysDir(_MAX_PATH);
19 GetSystemDirectory(sysDir,_MAX_PATH); 19 GetSystemDirectory(sysDir,_MAX_PATH);
20 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); 20 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll");
21#endif 21#endif
22 22
23 MAKE_PATH(path); 23 MAKE_PATH(path);
24STRING shortPath = GET_SHORT_PATH(path); 24STRING shortPath = GET_SHORT_PATH(path);
25 if(!shortPath){ 25 if(!shortPath){
26 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); 26 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
27 return FALSE; 27 return FALSE;
28 } 28 }
29 29
30 if(!( 30 if(!(
31 INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") && 31 INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") &&
32 INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") && 32 INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") &&
33 INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt") 33 INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt")
34 )){ 34 )){
35 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); 35 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
36 return FALSE; 36 return FALSE;
37 } 37 }
38 ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe"); 38 ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe");
39 39
40 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path); 40 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path);
41 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); 41 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path);
42 42
43FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); 43FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF");
44 if(!inf){ 44 if(!inf){
45 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); 45 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK);
46 return FALSE; 46 return FALSE;
47 } 47 }
48 INF_FILE_HEADER(inf); 48 INF_FILE_HEADER(inf);
49 INF_FILE_SECTION(inf,"Uninstall"); 49 INF_FILE_SECTION(inf,"Uninstall");
50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); 50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n");
51 INF_FILE_SECTION(inf,"kFiles"); 51 INF_FILE_SECTION(inf,"kFiles");
52 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); 52 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath);
diff --git a/install/install.rc b/install/install.rc
index 6967799..2dce211 100644
--- a/install/install.rc
+++ b/install/install.rc
@@ -86,97 +86,97 @@ BEGIN
86 BOTTOMMARGIN, 66 86 BOTTOMMARGIN, 66
87 HORZGUIDE, 37 87 HORZGUIDE, 37
88 END 88 END
89END 89END
90#endif // APSTUDIO_INVOKED 90#endif // APSTUDIO_INVOKED
91 91
92 92
93#ifdef APSTUDIO_INVOKED 93#ifdef APSTUDIO_INVOKED
94///////////////////////////////////////////////////////////////////////////// 94/////////////////////////////////////////////////////////////////////////////
95// 95//
96// TEXTINCLUDE 96// TEXTINCLUDE
97// 97//
98 98
991 TEXTINCLUDE DISCARDABLE 991 TEXTINCLUDE DISCARDABLE
100BEGIN 100BEGIN
101 "resource.h\0" 101 "resource.h\0"
102END 102END
103 103
1042 TEXTINCLUDE DISCARDABLE 1042 TEXTINCLUDE DISCARDABLE
105BEGIN 105BEGIN
106 "#include ""afxres.h""\r\n" 106 "#include ""afxres.h""\r\n"
107 "\0" 107 "\0"
108END 108END
109 109
1103 TEXTINCLUDE DISCARDABLE 1103 TEXTINCLUDE DISCARDABLE
111BEGIN 111BEGIN
112 "#include ""custom.rch""\0" 112 "#include ""custom.rch""\0"
113END 113END
114 114
115#endif // APSTUDIO_INVOKED 115#endif // APSTUDIO_INVOKED
116 116
117 117
118///////////////////////////////////////////////////////////////////////////// 118/////////////////////////////////////////////////////////////////////////////
119// 119//
120// Icon 120// Icon
121// 121//
122 122
123// Icon with lowest ID value placed first to ensure application icon 123// Icon with lowest ID value placed first to ensure application icon
124// remains consistent on all systems. 124// remains consistent on all systems.
125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" 125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico"
126 126
127#ifndef _MAC 127#ifndef _MAC
128///////////////////////////////////////////////////////////////////////////// 128/////////////////////////////////////////////////////////////////////////////
129// 129//
130// Version 130// Version
131// 131//
132 132
133VS_VERSION_INFO VERSIONINFO 133VS_VERSION_INFO VERSIONINFO
134 FILEVERSION 2,7,2,0 134 FILEVERSION 2,7,3,0
135 PRODUCTVERSION 2,7,2,0 135 PRODUCTVERSION 2,7,3,0
136 FILEFLAGSMASK 0x3fL 136 FILEFLAGSMASK 0x3fL
137#ifdef _DEBUG 137#ifdef _DEBUG
138 FILEFLAGS 0x1L 138 FILEFLAGS 0x1L
139#else 139#else
140 FILEFLAGS 0x0L 140 FILEFLAGS 0x0L
141#endif 141#endif
142 FILEOS 0x40004L 142 FILEOS 0x40004L
143 FILETYPE 0x1L 143 FILETYPE 0x1L
144 FILESUBTYPE 0x0L 144 FILESUBTYPE 0x0L
145BEGIN 145BEGIN
146 BLOCK "StringFileInfo" 146 BLOCK "StringFileInfo"
147 BEGIN 147 BEGIN
148 BLOCK "040904b0" 148 BLOCK "040904b0"
149 BEGIN 149 BEGIN
150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
151 VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" 151 VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0"
152 VALUE "FileVersion", "2, 7, 2, 0\0" 152 VALUE "FileVersion", "2, 7, 3, 0\0"
153 VALUE "InternalName", "INSTALL\0" 153 VALUE "InternalName", "INSTALL\0"
154 VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net/)\0" 154 VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net/)\0"
155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
156 VALUE "OriginalFilename", "INSTALL.EXE\0" 156 VALUE "OriginalFilename", "INSTALL.EXE\0"
157 VALUE "ProductName", "PumpKIN\0" 157 VALUE "ProductName", "PumpKIN\0"
158 VALUE "ProductVersion", "2, 7, 2, 0\0" 158 VALUE "ProductVersion", "2, 7, 3, 0\0"
159 END 159 END
160 END 160 END
161 BLOCK "VarFileInfo" 161 BLOCK "VarFileInfo"
162 BEGIN 162 BEGIN
163 VALUE "Translation", 0x409, 1200 163 VALUE "Translation", 0x409, 1200
164 END 164 END
165END 165END
166 166
167#endif // !_MAC 167#endif // !_MAC
168 168
169#endif // English (U.S.) resources 169#endif // English (U.S.) resources
170///////////////////////////////////////////////////////////////////////////// 170/////////////////////////////////////////////////////////////////////////////
171 171
172 172
173 173
174#ifndef APSTUDIO_INVOKED 174#ifndef APSTUDIO_INVOKED
175///////////////////////////////////////////////////////////////////////////// 175/////////////////////////////////////////////////////////////////////////////
176// 176//
177// Generated from the TEXTINCLUDE 3 resource. 177// Generated from the TEXTINCLUDE 3 resource.
178// 178//
179#include "custom.rch" 179#include "custom.rch"
180///////////////////////////////////////////////////////////////////////////// 180/////////////////////////////////////////////////////////////////////////////
181#endif // not APSTUDIO_INVOKED 181#endif // not APSTUDIO_INVOKED
182 182
diff --git a/pumpkin.rc b/pumpkin.rc
index babd066..6f01fdf 100755
--- a/pumpkin.rc
+++ b/pumpkin.rc
@@ -40,99 +40,99 @@ END
40 40
413 TEXTINCLUDE DISCARDABLE 413 TEXTINCLUDE DISCARDABLE
42BEGIN 42BEGIN
43 "#define _AFX_NO_SPLITTER_RESOURCES\r\n" 43 "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
44 "#define _AFX_NO_OLE_RESOURCES\r\n" 44 "#define _AFX_NO_OLE_RESOURCES\r\n"
45 "#define _AFX_NO_TRACKER_RESOURCES\r\n" 45 "#define _AFX_NO_TRACKER_RESOURCES\r\n"
46 "#define _AFX_NO_PROPERTY_RESOURCES\r\n" 46 "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
47 "\r\n" 47 "\r\n"
48 "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" 48 "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
49 "#ifdef _WIN32\r\n" 49 "#ifdef _WIN32\r\n"
50 "LANGUAGE 9, 1\r\n" 50 "LANGUAGE 9, 1\r\n"
51 "#pragma code_page(1252)\r\n" 51 "#pragma code_page(1252)\r\n"
52 "#endif\r\n" 52 "#endif\r\n"
53 "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n" 53 "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
54 "#include ""afxres.rc"" // Standard components\r\n" 54 "#include ""afxres.rc"" // Standard components\r\n"
55 "#endif\0" 55 "#endif\0"
56END 56END
57 57
58#endif // APSTUDIO_INVOKED 58#endif // APSTUDIO_INVOKED
59 59
60 60
61///////////////////////////////////////////////////////////////////////////// 61/////////////////////////////////////////////////////////////////////////////
62// 62//
63// Icon 63// Icon
64// 64//
65 65
66// Icon with lowest ID value placed first to ensure application icon 66// Icon with lowest ID value placed first to ensure application icon
67// remains consistent on all systems. 67// remains consistent on all systems.
68IDI_RRQ ICON DISCARDABLE "res\\wrq.ico" 68IDI_RRQ ICON DISCARDABLE "res\\wrq.ico"
69IDI_WRQ ICON DISCARDABLE "res\\rrq.ico" 69IDI_WRQ ICON DISCARDABLE "res\\rrq.ico"
70IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" 70IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico"
71IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" 71IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico"
72IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" 72IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico"
73IDI_UP ICON DISCARDABLE "res\\up.ico" 73IDI_UP ICON DISCARDABLE "res\\up.ico"
74IDI_DOWN ICON DISCARDABLE "res\\down.ico" 74IDI_DOWN ICON DISCARDABLE "res\\down.ico"
75IDI_REMOVE ICON DISCARDABLE "res\\remove.ico" 75IDI_REMOVE ICON DISCARDABLE "res\\remove.ico"
76 76
77///////////////////////////////////////////////////////////////////////////// 77/////////////////////////////////////////////////////////////////////////////
78// 78//
79// Dialog 79// Dialog
80// 80//
81 81
82IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 82IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74
83STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 83STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
84CAPTION "About PumpKIN" 84CAPTION "About PumpKIN"
85FONT 8, "MS Sans Serif" 85FONT 8, "MS Sans Serif"
86BEGIN 86BEGIN
87 ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 87 ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20
88 LTEXT "PumpKIN, Version 2.7.2",IDC_STATIC,40,15,119,8, 88 LTEXT "PumpKIN, Version 2.7.3",IDC_STATIC,40,15,119,8,
89 SS_NOPREFIX 89 SS_NOPREFIX
90 LTEXT "Copyright © 1997-2006 Klever Group",IDC_STATIC,40,30, 90 LTEXT "Copyright © 1997-2011 Klever Group",IDC_STATIC,40,30,
91 170,8 91 170,8
92 DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP 92 DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
93 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 93 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14
94END 94END
95 95
96IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193 96IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193
97STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME 97STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
98EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW 98EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW
99CAPTION " PumpKIN" 99CAPTION " PumpKIN"
100FONT 8, "MS Sans Serif", 0, 0, 0x1 100FONT 8, "MS Sans Serif", 0, 0, 0x1
101BEGIN 101BEGIN
102 CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT | 102 CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT |
103 LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108, 103 LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108,
104 WS_EX_DLGMODALFRAME 104 WS_EX_DLGMODALFRAME
105 PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY, 105 PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY,
106 WS_EX_CLIENTEDGE 106 WS_EX_CLIENTEDGE
107 PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY, 107 PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY,
108 WS_EX_CLIENTEDGE 108 WS_EX_CLIENTEDGE
109 PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY, 109 PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY,
110 WS_EX_CLIENTEDGE 110 WS_EX_CLIENTEDGE
111 PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY, 111 PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY,
112 WS_EX_CLIENTEDGE 112 WS_EX_CLIENTEDGE
113 PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE 113 PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
114 PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE 114 PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
115 LISTBOX IDC_LOG,7,115,348,64,LBS_USETABSTOPS | 115 LISTBOX IDC_LOG,7,115,348,64,LBS_USETABSTOPS |
116 LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL | 116 LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL |
117 WS_HSCROLL,WS_EX_DLGMODALFRAME 117 WS_HSCROLL,WS_EX_DLGMODALFRAME
118 PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP 118 PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP
119 CONTROL "&Server is running",IDC_LISTENING,"Button", 119 CONTROL "&Server is running",IDC_LISTENING,"Button",
120 BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_FLAT | WS_TABSTOP,286, 120 BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_FLAT | WS_TABSTOP,286,
121 181,69,11,WS_EX_TRANSPARENT | WS_EX_STATICEDGE 121 181,69,11,WS_EX_TRANSPARENT | WS_EX_STATICEDGE
122END 122END
123 123
124IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 300, 201 124IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 300, 201
125STYLE WS_CHILD | WS_DISABLED | WS_CAPTION 125STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
126CAPTION "Server" 126CAPTION "Server"
127FONT 8, "MS Sans Serif" 127FONT 8, "MS Sans Serif"
128BEGIN 128BEGIN
129 GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7, 129 GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7,
130 286,38 130 286,38
131 EDITTEXT IDC_TFTPROOT,13,16,256,13,ES_AUTOHSCROLL 131 EDITTEXT IDC_TFTPROOT,13,16,256,13,ES_AUTOHSCROLL
132 PUSHBUTTON "&B",IDC_BROWSE,274,16,13,13,BS_ICON 132 PUSHBUTTON "&B",IDC_BROWSE,274,16,13,13,BS_ICON
133 CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS, 133 CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS,
134 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10 134 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10
135 GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,243,56 135 GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,243,56
136 CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button", 136 CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button",
137 BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,63,53,10 137 BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,63,53,10
138 CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM, 138 CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM,
@@ -283,121 +283,121 @@ BEGIN
283 LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8 283 LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8
284 COMBOBOX IDC_FINISHED,70,22,188,100,CBS_DROPDOWN | 284 COMBOBOX IDC_FINISHED,70,22,188,100,CBS_DROPDOWN |
285 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP 285 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
286 PUSHBUTTON "browse",IDC_FINISHED_BROWSE,263,22,13,13,BS_ICON 286 PUSHBUTTON "browse",IDC_FINISHED_BROWSE,263,22,13,13,BS_ICON
287 PUSHBUTTON "play",IDC_FINISHED_PLAY,280,22,13,13,BS_ICON 287 PUSHBUTTON "play",IDC_FINISHED_PLAY,280,22,13,13,BS_ICON
288 LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8 288 LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8
289 COMBOBOX IDC_ABORTED,70,37,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | 289 COMBOBOX IDC_ABORTED,70,37,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL |
290 CBS_SORT | WS_VSCROLL | WS_TABSTOP 290 CBS_SORT | WS_VSCROLL | WS_TABSTOP
291 PUSHBUTTON "browse",IDC_ABORTED_BROWSE,263,37,13,13,BS_ICON 291 PUSHBUTTON "browse",IDC_ABORTED_BROWSE,263,37,13,13,BS_ICON
292 PUSHBUTTON "play",IDC_ABORTED_PLAY,280,37,13,13,BS_ICON 292 PUSHBUTTON "play",IDC_ABORTED_PLAY,280,37,13,13,BS_ICON
293END 293END
294 294
295IDD_PROPS_ACL DIALOG DISCARDABLE 0, 0, 300, 201 295IDD_PROPS_ACL DIALOG DISCARDABLE 0, 0, 300, 201
296STYLE WS_CHILD | WS_DISABLED | WS_CAPTION 296STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
297CAPTION "Access Lists" 297CAPTION "Access Lists"
298FONT 8, "MS Sans Serif" 298FONT 8, "MS Sans Serif"
299BEGIN 299BEGIN
300 CONTROL "List1",IDC_ACL_LIST,"SysListView32",LVS_REPORT | 300 CONTROL "List1",IDC_ACL_LIST,"SysListView32",LVS_REPORT |
301 WS_BORDER | WS_TABSTOP,7,7,258,110 301 WS_BORDER | WS_TABSTOP,7,7,258,110
302 PUSHBUTTON "&Up",IDC_ACL_UP,273,7,20,30,BS_ICON | BS_CENTER | 302 PUSHBUTTON "&Up",IDC_ACL_UP,273,7,20,30,BS_ICON | BS_CENTER |
303 BS_VCENTER 303 BS_VCENTER
304 PUSHBUTTON "&Down",IDC_ACL_DOWN,273,87,20,30,BS_ICON | BS_CENTER | 304 PUSHBUTTON "&Down",IDC_ACL_DOWN,273,87,20,30,BS_ICON | BS_CENTER |
305 BS_VCENTER 305 BS_VCENTER
306 PUSHBUTTON "&Remove",IDC_ACL_REMOVE,273,47,20,30,BS_ICON | 306 PUSHBUTTON "&Remove",IDC_ACL_REMOVE,273,47,20,30,BS_ICON |
307 BS_CENTER | BS_VCENTER 307 BS_CENTER | BS_VCENTER
308 LTEXT "If",IDC_STATIC,13,128,8,8 308 LTEXT "If",IDC_STATIC,13,128,8,8
309 COMBOBOX IDC_ACL_XFER,21,125,48,67,CBS_DROPDOWNLIST | WS_VSCROLL | 309 COMBOBOX IDC_ACL_XFER,21,125,48,67,CBS_DROPDOWNLIST | WS_VSCROLL |
310 WS_TABSTOP 310 WS_TABSTOP
311 LTEXT "request comes from the address in the network", 311 LTEXT "request comes from the address in the network",
312 IDC_STATIC,71,128,122,8 312 IDC_STATIC,71,128,122,8
313 EDITTEXT IDC_ACL_ADDR,47,143,80,12,ES_AUTOHSCROLL 313 EDITTEXT IDC_ACL_ADDR,47,143,80,12,ES_AUTOHSCROLL
314 LTEXT "with netmask",IDC_STATIC,129,145,41,8 314 LTEXT "with netmask",IDC_STATIC,129,145,41,8
315 EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL 315 EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL
316 LTEXT "then",IDC_STATIC,124,160,15,8 316 LTEXT "then",IDC_STATIC,124,160,15,8
317 COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST | 317 COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST |
318 WS_VSCROLL | WS_TABSTOP 318 WS_VSCROLL | WS_TABSTOP
319 PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16 319 PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16
320 PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16 320 PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16
321END 321END
322 322
323 323
324#ifndef _MAC 324#ifndef _MAC
325///////////////////////////////////////////////////////////////////////////// 325/////////////////////////////////////////////////////////////////////////////
326// 326//
327// Version 327// Version
328// 328//
329 329
330VS_VERSION_INFO VERSIONINFO 330VS_VERSION_INFO VERSIONINFO
331 FILEVERSION 2,7,2,0 331 FILEVERSION 2,7,3,0
332 PRODUCTVERSION 2,7,2,0 332 PRODUCTVERSION 2,7,3,0
333 FILEFLAGSMASK 0x3fL 333 FILEFLAGSMASK 0x3fL
334#ifdef _DEBUG 334#ifdef _DEBUG
335 FILEFLAGS 0x1L 335 FILEFLAGS 0x1L
336#else 336#else
337 FILEFLAGS 0x0L 337 FILEFLAGS 0x0L
338#endif 338#endif
339 FILEOS 0x4L 339 FILEOS 0x4L
340 FILETYPE 0x1L 340 FILETYPE 0x1L
341 FILESUBTYPE 0x0L 341 FILESUBTYPE 0x0L
342BEGIN 342BEGIN
343 BLOCK "StringFileInfo" 343 BLOCK "StringFileInfo"
344 BEGIN 344 BEGIN
345 BLOCK "040904b0" 345 BLOCK "040904b0"
346 BEGIN 346 BEGIN
347 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 347 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
348 VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" 348 VALUE "FileDescription", "PumpKIN, tftp client/daemon\0"
349 VALUE "FileVersion", "2, 7, 2, 0\0" 349 VALUE "FileVersion", "2, 7, 3, 0\0"
350 VALUE "InternalName", "PUMPKIN\0" 350 VALUE "InternalName", "PUMPKIN\0"
351 VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net)\0" 351 VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net)\0"
352 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 352 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
353 VALUE "OriginalFilename", "PUMPKIN.EXE\0" 353 VALUE "OriginalFilename", "PUMPKIN.EXE\0"
354 VALUE "ProductName", "PumpKIN\0" 354 VALUE "ProductName", "PumpKIN\0"
355 VALUE "ProductVersion", "2, 7, 2, 0\0" 355 VALUE "ProductVersion", "2, 7, 3, 0\0"
356 END 356 END
357 END 357 END
358 BLOCK "VarFileInfo" 358 BLOCK "VarFileInfo"
359 BEGIN 359 BEGIN
360 VALUE "Translation", 0x409, 1200 360 VALUE "Translation", 0x409, 1200
361 END 361 END
362END 362END
363 363
364#endif // !_MAC 364#endif // !_MAC
365 365
366 366
367///////////////////////////////////////////////////////////////////////////// 367/////////////////////////////////////////////////////////////////////////////
368// 368//
369// DESIGNINFO 369// DESIGNINFO
370// 370//
371 371
372#ifdef APSTUDIO_INVOKED 372#ifdef APSTUDIO_INVOKED
373GUIDELINES DESIGNINFO DISCARDABLE 373GUIDELINES DESIGNINFO DISCARDABLE
374BEGIN 374BEGIN
375 IDD_ABOUTBOX, DIALOG 375 IDD_ABOUTBOX, DIALOG
376 BEGIN 376 BEGIN
377 LEFTMARGIN, 7 377 LEFTMARGIN, 7
378 RIGHTMARGIN, 210 378 RIGHTMARGIN, 210
379 TOPMARGIN, 7 379 TOPMARGIN, 7
380 BOTTOMMARGIN, 67 380 BOTTOMMARGIN, 67
381 END 381 END
382 382
383 IDD_PUMPKIN_DIALOG, DIALOG 383 IDD_PUMPKIN_DIALOG, DIALOG
384 BEGIN 384 BEGIN
385 LEFTMARGIN, 7 385 LEFTMARGIN, 7
386 RIGHTMARGIN, 355 386 RIGHTMARGIN, 355
387 TOPMARGIN, 7 387 TOPMARGIN, 7
388 BOTTOMMARGIN, 186 388 BOTTOMMARGIN, 186
389 HORZGUIDE, 115 389 HORZGUIDE, 115
390 END 390 END
391 391
392 IDD_PROPS_SERVER, DIALOG 392 IDD_PROPS_SERVER, DIALOG
393 BEGIN 393 BEGIN
394 LEFTMARGIN, 7 394 LEFTMARGIN, 7
395 RIGHTMARGIN, 293 395 RIGHTMARGIN, 293
396 TOPMARGIN, 7 396 TOPMARGIN, 7
397 BOTTOMMARGIN, 194 397 BOTTOMMARGIN, 194
398 END 398 END
399 399
400 IDD_PROPS_NETWORK, DIALOG 400 IDD_PROPS_NETWORK, DIALOG
401 BEGIN 401 BEGIN
402 LEFTMARGIN, 7 402 LEFTMARGIN, 7
403 RIGHTMARGIN, 293 403 RIGHTMARGIN, 293