author | Michael Krelin <hacker@klever.net> | 2011-04-27 16:24:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2011-04-27 16:24:42 (UTC) |
commit | 6e7e413ca364d79673e523c09767c18e7cff1bec (patch) (unidiff) | |
tree | 5b2b0e9131a27043573107bf42d8ca7641ba511a | |
parent | c3b240e06bae3b663505e2b1c52eb67c34ddd3ea (diff) | |
download | pumpkin-master.zip pumpkin-master.tar.gz pumpkin-master.tar.bz2 |
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | help/pumpkin.xml | 6 | ||||
-rw-r--r-- | install/install.cpp | 2 | ||||
-rw-r--r-- | install/install.rc | 10 | ||||
-rwxr-xr-x | pumpkin.rc | 14 |
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,43 +1,47 @@ | |||
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> |
diff --git a/install/install.cpp b/install/install.cpp index 58ed997..ea27a2c 100644 --- a/install/install.cpp +++ b/install/install.cpp | |||
@@ -1,36 +1,36 @@ | |||
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 | ||
8 | BOOL Install(void) | 8 | BOOL Install(void) |
9 | { | 9 | { |
10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); | 10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); |
11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); | 11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); |
12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); | 12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); |
13 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); | 13 | STRING 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 |
18 | STRING sysDir(_MAX_PATH); | 18 | STRING 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); |
24 | STRING shortPath = GET_SHORT_PATH(path); | 24 | STRING 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; |
diff --git a/install/install.rc b/install/install.rc index 6967799..2dce211 100644 --- a/install/install.rc +++ b/install/install.rc | |||
@@ -102,81 +102,81 @@ BEGIN | |||
102 | END | 102 | END |
103 | 103 | ||
104 | 2 TEXTINCLUDE DISCARDABLE | 104 | 2 TEXTINCLUDE DISCARDABLE |
105 | BEGIN | 105 | BEGIN |
106 | "#include ""afxres.h""\r\n" | 106 | "#include ""afxres.h""\r\n" |
107 | "\0" | 107 | "\0" |
108 | END | 108 | END |
109 | 109 | ||
110 | 3 TEXTINCLUDE DISCARDABLE | 110 | 3 TEXTINCLUDE DISCARDABLE |
111 | BEGIN | 111 | BEGIN |
112 | "#include ""custom.rch""\0" | 112 | "#include ""custom.rch""\0" |
113 | END | 113 | END |
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. |
125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" | 125 | IDI_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 | ||
133 | VS_VERSION_INFO VERSIONINFO | 133 | VS_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 |
145 | BEGIN | 145 | BEGIN |
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 |
165 | END | 165 | END |
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 | ||
@@ -56,67 +56,67 @@ BEGIN | |||
56 | END | 56 | END |
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. |
68 | IDI_RRQ ICON DISCARDABLE "res\\wrq.ico" | 68 | IDI_RRQ ICON DISCARDABLE "res\\wrq.ico" |
69 | IDI_WRQ ICON DISCARDABLE "res\\rrq.ico" | 69 | IDI_WRQ ICON DISCARDABLE "res\\rrq.ico" |
70 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" | 70 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" |
71 | IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" | 71 | IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" |
72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" | 72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" |
73 | IDI_UP ICON DISCARDABLE "res\\up.ico" | 73 | IDI_UP ICON DISCARDABLE "res\\up.ico" |
74 | IDI_DOWN ICON DISCARDABLE "res\\down.ico" | 74 | IDI_DOWN ICON DISCARDABLE "res\\down.ico" |
75 | IDI_REMOVE ICON DISCARDABLE "res\\remove.ico" | 75 | IDI_REMOVE ICON DISCARDABLE "res\\remove.ico" |
76 | 76 | ||
77 | ///////////////////////////////////////////////////////////////////////////// | 77 | ///////////////////////////////////////////////////////////////////////////// |
78 | // | 78 | // |
79 | // Dialog | 79 | // Dialog |
80 | // | 80 | // |
81 | 81 | ||
82 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 | 82 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 |
83 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 83 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU |
84 | CAPTION "About PumpKIN" | 84 | CAPTION "About PumpKIN" |
85 | FONT 8, "MS Sans Serif" | 85 | FONT 8, "MS Sans Serif" |
86 | BEGIN | 86 | BEGIN |
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 |
94 | END | 94 | END |
95 | 95 | ||
96 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193 | 96 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193 |
97 | STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | 97 | STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME |
98 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW | 98 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW |
99 | CAPTION " PumpKIN" | 99 | CAPTION " PumpKIN" |
100 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 100 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
101 | BEGIN | 101 | BEGIN |
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 |
122 | END | 122 | END |
@@ -299,89 +299,89 @@ FONT 8, "MS Sans Serif" | |||
299 | BEGIN | 299 | BEGIN |
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 |
321 | END | 321 | END |
322 | 322 | ||
323 | 323 | ||
324 | #ifndef _MAC | 324 | #ifndef _MAC |
325 | ///////////////////////////////////////////////////////////////////////////// | 325 | ///////////////////////////////////////////////////////////////////////////// |
326 | // | 326 | // |
327 | // Version | 327 | // Version |
328 | // | 328 | // |
329 | 329 | ||
330 | VS_VERSION_INFO VERSIONINFO | 330 | VS_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 |
342 | BEGIN | 342 | BEGIN |
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 |
362 | END | 362 | END |
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 |
373 | GUIDELINES DESIGNINFO DISCARDABLE | 373 | GUIDELINES DESIGNINFO DISCARDABLE |
374 | BEGIN | 374 | BEGIN |
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 |