svnno****@sourc*****
svnno****@sourc*****
2011年 7月 27日 (水) 00:07:33 JST
Revision: 4533 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4533 Author: yutakapon Date: 2011-07-27 00:07:33 +0900 (Wed, 27 Jul 2011) Log Message: ----------- TTSSHã®ãã¼ã¸ã§ã³ãã¤ã¢ãã°ã«ãPuTTYãã¼ã¸ã§ã³ã表è¨ããããã«ããã Modified Paths: -------------- trunk/ttssh2/ttssh.sln trunk/ttssh2/ttxssh/resource.h trunk/ttssh2/ttxssh/ttxssh.c trunk/ttssh2/ttxssh/ttxssh.rc trunk/ttssh2/ttxssh/ttxssh.vcproj Added Paths: ----------- trunk/ttssh2/puttyrev/ trunk/ttssh2/puttyrev/ReadMe.txt trunk/ttssh2/puttyrev/Resource.h trunk/ttssh2/puttyrev/puttyrev.cpp trunk/ttssh2/puttyrev/puttyrev.h trunk/ttssh2/puttyrev/puttyrev.rc trunk/ttssh2/puttyrev/puttyrev.vcproj trunk/ttssh2/puttyrev/stdafx.cpp trunk/ttssh2/puttyrev/stdafx.h -------------- next part -------------- Added: trunk/ttssh2/puttyrev/ReadMe.txt =================================================================== --- trunk/ttssh2/puttyrev/ReadMe.txt (rev 0) +++ trunk/ttssh2/puttyrev/ReadMe.txt 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,51 @@ +======================================================================== + R\[ AvP[V : puttyrev vWFNgÌTv +======================================================================== + +±Ì puttyrev AvP[VÍAAppWizard ÉæÁÄ쬳êܵ½B + +±Ìt@CÉÍAputtyrev AvP[Vð\¬·éet@CÌ +àeÌTªªLq³êĢܷB + + +puttyrev.vcproj + ±êÍAAvP[V EBU[hŶ¬³êé VC++ vWFNgÌCÌ + vWFNg t@CÅ·B + t@C𶬵½ Visual C++ Ìo[WîñÆAAvP[V + EBU[hÅIðµ½vbgtH[A\¬A¨æÑvWFNgÌ@\ÉÖ·é + îñªLq³êĢܷB + +puttyrev.cpp + ±êÍACÌAvP[V \[X t@CÅ·B + +///////////////////////////////////////////////////////////////////////////// +AppWizard ÉæÁÄAÌ\[Xªì¬³êܵ½B + +puttyrev.rc + ±êÍAvOÅgp·é Microsoft Windows ÌS\[XÌêÅ·B + RES TufBNgÉÛ¶³êéACRArbg}bvAJ[\ÈǪ + ÜÜêÜ·B±Ìt@CÍAMicrosoft Visual C++ żÚÒWÅ«Ü·B + +Resource.h + ±êÍAVµ¢\[X ID ðè`·éWÌwb_[ t@CÅ·B + ±Ìt@CÌÇÝݨæÑXVÍAMicrosoft Visual C++ Ås¢Ü·B + +///////////////////////////////////////////////////////////////////////////// +»Ì¼ÌWt@C : + +StdAfx.h, StdAfx.cpp + ±êçÌt@CÍARpCÏÝwb_[ (PCH) t@C + puttyrev.pch ÆvRpCÏÝ^t@C StdAfx.obj ð + rh·é½ßÉgpµÜ·B + +///////////////////////////////////////////////////////////////////////////// +»Ì¼Ì : + +AppWizard ÅÍ "TODO:" RgðgpµÄA[U[ªÇÁܽÍJX^}CY·é +\[Xªð¦µÜ·B + +///////////////////////////////////////////////////////////////////////////// + + + + Added: trunk/ttssh2/puttyrev/Resource.h =================================================================== --- trunk/ttssh2/puttyrev/Resource.h (rev 0) +++ trunk/ttssh2/puttyrev/Resource.h 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,17 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by puttyrev.rc +// + +#define IDS_APP_TITLE 103 + +// Vµ¢IuWFNgÌÌùèl +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif Added: trunk/ttssh2/puttyrev/puttyrev.cpp =================================================================== --- trunk/ttssh2/puttyrev/puttyrev.cpp (rev 0) +++ trunk/ttssh2/puttyrev/puttyrev.cpp 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,113 @@ +// puttyrev.cpp : R\[ AvP[VÌGg |Cgðè`µÜ·B +// + +#include "stdafx.h" +#include "puttyrev.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#endif + + +// BêÌAvP[V IuWFNgÅ·B + +CWinApp theApp; + +using namespace std; + +void write_putty_version(char *path) +{ + BOOL ret; + CStdioFile csf; + char *keywords[] = { + //"AppVerName", + "AppVersion", + "VersionInfoTextVersion", + NULL, + }; + int i; + CString filename, buf, cs; + char revision[64] = {0}; + + // PuTTYÌo[Wðæ¾·éB + filename = path; + filename += "\\libs\\putty\\windows\\putty.iss"; + + ret = csf.Open(filename, CFile::modeRead); + if (ret == FALSE) { + goto write; + } + + while (csf.ReadString(cs) != NULL) { + CString tmp; + for (i = 0 ; keywords[i] ; i++) { + tmp = keywords[i]; + tmp += "=%[^\n]s"; + ret = sscanf_s(cs, tmp, revision, sizeof(revision)); + if (ret != 1) + continue; + printf("%s\n", revision); + goto close; + } + } + +close: + csf.Close(); + +write: + // o[Wðwb_É«ÞB + filename = path; + filename += "\\ttssh2\\ttxssh\\puttyversion.h"; + + ret = csf.Open(filename, CFile::modeWrite | CFile::modeCreate); + if (ret == FALSE) { + goto end; + } + + if (revision[0] != '\0') { + cs.Format("#define PUTTYVERSION \"%s\"\n", revision); + csf.WriteString(cs); + } + else { + cs.Format("#undef PUTTYVERSION\n"); + csf.WriteString(cs); + } + + csf.Close(); + +end:; +} + +int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) +{ + int nRetCode = 0; + char path[MAX_PATH * 2]; + int i, len; + + // MFC ðú»µÄAG[ÌêÍÊðóüµÜ·B + if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0)) + { + // TODO: KvɶÄG[ R[hðÏXµÄ¾³¢B + _tprintf(_T("v½IÈG[: MFC Ìú»ªÅ«Ü¹ñŵ½B\n")); + nRetCode = 1; + } + else + { + // TODO: AvP[VÌ®ìðLq·éR[hð±±É}üµÄ¾³¢B + GetModuleFileName(::GetModuleHandle(NULL), path, sizeof(path)); + len = (int)strlen(path); + for (i=len; i>=0; i--) { + if (path[i] == '\\') { + break; + } + path[i] = '\0'; + } + SetCurrentDirectory(path); // teraterm\debug or teraterm\release + SetCurrentDirectory("..\\..\\..\\"); // top of source tree + GetCurrentDirectory(sizeof(path), path); + + write_putty_version(path); + } + + return nRetCode; +} Added: trunk/ttssh2/puttyrev/puttyrev.h =================================================================== --- trunk/ttssh2/puttyrev/puttyrev.h (rev 0) +++ trunk/ttssh2/puttyrev/puttyrev.h 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,3 @@ +#pragma once + +#include "resource.h" Added: trunk/ttssh2/puttyrev/puttyrev.rc =================================================================== --- trunk/ttssh2/puttyrev/puttyrev.rc (rev 0) +++ trunk/ttssh2/puttyrev/puttyrev.rc 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,69 @@ +//Microsoft Visual C++ Ŷ¬³ê½\[X XNvgÅ·B +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE 2 \[X©ç¶¬³êܵ½B +// +#include "afxres.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN) +LANGUAGE 17, 1 +#pragma code_page(932) + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// XgO e[u +// + +STRINGTABLE +BEGIN + IDS_APP_TITLE "puttyrev" +END + +#endif +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE 3 \[X©ç¶¬³êܵ½B +// +#ifndef _AFXDLL +#include "afxres.rc" +#endif + +///////////////////////////////////////////////////////////////////////////// +#endif // APSTUDIO_INVOKED ÅÈ¢ê Added: trunk/ttssh2/puttyrev/puttyrev.vcproj =================================================================== --- trunk/ttssh2/puttyrev/puttyrev.vcproj (rev 0) +++ trunk/ttssh2/puttyrev/puttyrev.vcproj 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,239 @@ +<?xml version="1.0" encoding="shift_jis"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="puttyrev" + ProjectGUID="{61EB955F-2794-4607-860F-0AA296FA58BD}" + RootNamespace="puttyrev" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="$(SolutionDir)ttxssh\$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="1" + UseOfMFC="2" + CharacterSet="0" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + UsePrecompiledHeader="2" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="2" + GenerateDebugInformation="true" + SubSystem="1" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="$(SolutionDir)ttxssh\$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="1" + UseOfMFC="2" + CharacterSet="0" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + UsePrecompiledHeader="2" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="1" + GenerateDebugInformation="true" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="\[X t@C" + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" + > + <File + RelativePath=".\puttyrev.cpp" + > + </File> + <File + RelativePath=".\stdafx.cpp" + > + <FileConfiguration + Name="Debug|Win32" + > + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1" + /> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32" + > + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1" + /> + </FileConfiguration> + </File> + </Filter> + <Filter + Name="wb_[ t@C" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + <File + RelativePath=".\puttyrev.h" + > + </File> + <File + RelativePath=".\Resource.h" + > + </File> + <File + RelativePath=".\stdafx.h" + > + </File> + </Filter> + <Filter + Name="\[X t@C" + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" + > + <File + RelativePath=".\puttyrev.rc" + > + </File> + </Filter> + <File + RelativePath=".\ReadMe.txt" + > + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> Added: trunk/ttssh2/puttyrev/stdafx.cpp =================================================================== --- trunk/ttssh2/puttyrev/stdafx.cpp (rev 0) +++ trunk/ttssh2/puttyrev/stdafx.cpp 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,8 @@ +// stdafx.cpp : WCN[h puttyrev.pch ÌÝð +// ÜÞ\[X t@CÍAvRpCÏÝwb_[ÉÈèÜ·B +// stdafx.obj ÉÍvRpCÏÝ^îñªÜÜêÜ·B + +#include "stdafx.h" + +// TODO: ±Ìt@CÅÍÈASTDAFX.H ÅKvÈ +// ÇÁwb_[ðQƵľ³¢B Added: trunk/ttssh2/puttyrev/stdafx.h =================================================================== --- trunk/ttssh2/puttyrev/stdafx.h (rev 0) +++ trunk/ttssh2/puttyrev/stdafx.h 2011-07-26 15:07:33 UTC (rev 4533) @@ -0,0 +1,48 @@ +// stdafx.h : WÌVXe CN[h t@CÌCN[h t@CAÜ½Í +// QÆñª½A©Â ÜèÏX³êÈ¢AvWFNgêpÌCN[h t@C +// ðLqµÜ·B +// + +#pragma once + +// ºÅwè³ê½è`ÌOÉÎÛvbgtH[ðwèµÈ¯êÎÈçÈ¢êAȺÌè`ðÏXµÄ¾³¢B +// ÙÈévbgtH[ÉηélÉÖ·éÅVîñÉ¢ÄÍAMSDN ðQƵľ³¢B +#ifndef WINVER // Windows XP È~Ìo[WÉÅLÌ@\ÌgpðµܷB +#define WINVER 0x0501 // ±êð Windows ̼Ìo[Wü¯ÉKØÈlÉÏXµÄ¾³¢B +#endif + +#ifndef _WIN32_WINNT // Windows XP È~Ìo[WÉÅLÌ@\ÌgpðµܷB +#define _WIN32_WINNT 0x0501 // ±êð Windows ̼Ìo[Wü¯ÉKØÈlÉÏXµÄ¾³¢B +#endif + +#ifndef _WIN32_WINDOWS // Windows 98 È~Ìo[WÉÅLÌ@\ÌgpðµܷB +#define _WIN32_WINDOWS 0x0410 // ±êð Windows Me ܽͻêÈ~Ìo[Wü¯ÉKØÈlÉÏXµÄ¾³¢B +#endif + +#ifndef _WIN32_IE // IE 6.0 È~Ìo[WÉÅLÌ@\ÌgpðµܷB +#define _WIN32_IE 0x0600 // ±êð IE. ̼Ìo[Wü¯ÉKØÈlÉÏXµÄ¾³¢B +#endif + +#include <stdio.h> +#include <tchar.h> +#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // êÌ CString RXgN^;¦IÅ·B + +#ifndef VC_EXTRALEAN +#define VC_EXTRALEAN // Windows wb_[©çgp³êĢȢªðOµÜ·B +#endif + +#include <afx.h> +#include <afxwin.h> // MFC ÌRA¨æÑWR|[lg +#include <afxext.h> // MFC Ìg£ª +#ifndef _AFX_NO_OLE_SUPPORT +#include <afxdtctl.h> // MFC Ì Internet Explorer 4 R Rg[ T|[g +#endif +#ifndef _AFX_NO_AFXCMN_SUPPORT +#include <afxcmn.h> // MFC Ì Windows R Rg[ T|[g +#endif // _AFX_NO_AFXCMN_SUPPORT + +#include <iostream> + + + +// TODO: vOÉKvÈÇÁwb_[ð±±ÅQƵľ³¢B Modified: trunk/ttssh2/ttssh.sln =================================================================== --- trunk/ttssh2/ttssh.sln 2011-07-26 14:59:34 UTC (rev 4532) +++ trunk/ttssh2/ttssh.sln 2011-07-26 15:07:33 UTC (rev 4533) @@ -6,11 +6,14 @@ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ttxssh", "ttxssh\ttxssh.vcproj", "{5638BB89-44E3-4D55-BA98-A01142B4223E}" ProjectSection(ProjectDependencies) = postProject + {61EB955F-2794-4607-860F-0AA296FA58BD} = {61EB955F-2794-4607-860F-0AA296FA58BD} {98CA1284-8F6C-4791-BF57-7E5FAD33744E} = {98CA1284-8F6C-4791-BF57-7E5FAD33744E} EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "putty", "putty\putty.vcproj", "{98CA1284-8F6C-4791-BF57-7E5FAD33744E}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "puttyrev", "puttyrev\puttyrev.vcproj", "{61EB955F-2794-4607-860F-0AA296FA58BD}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -33,6 +36,10 @@ {98CA1284-8F6C-4791-BF57-7E5FAD33744E}.Debug|Win32.Build.0 = Debug|Win32 {98CA1284-8F6C-4791-BF57-7E5FAD33744E}.Release|Win32.ActiveCfg = Release|Win32 {98CA1284-8F6C-4791-BF57-7E5FAD33744E}.Release|Win32.Build.0 = Release|Win32 + {61EB955F-2794-4607-860F-0AA296FA58BD}.Debug|Win32.ActiveCfg = Debug|Win32 + {61EB955F-2794-4607-860F-0AA296FA58BD}.Debug|Win32.Build.0 = Debug|Win32 + {61EB955F-2794-4607-860F-0AA296FA58BD}.Release|Win32.ActiveCfg = Release|Win32 + {61EB955F-2794-4607-860F-0AA296FA58BD}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE Modified: trunk/ttssh2/ttxssh/resource.h =================================================================== --- trunk/ttssh2/ttxssh/resource.h 2011-07-26 14:59:34 UTC (rev 4532) +++ trunk/ttssh2/ttxssh/resource.h 2011-07-26 15:07:33 UTC (rev 4533) @@ -188,6 +188,7 @@ #define IDC_REMEMBERPASSWORD 1207 #define IDC_EDIT2 1208 #define IDC_NEW_PASSWD 1208 +#define IDC_PUTTY_VERSION 1209 // Next default values for new objects // @@ -195,7 +196,7 @@ #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 109 #define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1209 +#define _APS_NEXT_CONTROL_VALUE 1210 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif Modified: trunk/ttssh2/ttxssh/ttxssh.c =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.c 2011-07-26 14:59:34 UTC (rev 4532) +++ trunk/ttssh2/ttxssh/ttxssh.c 2011-07-26 15:07:33 UTC (rev 4533) @@ -82,6 +82,8 @@ #include "compat_w95.h" +#include "puttyversion.h" + #define MATCH_STR(s, o) strncmp((s), (o), NUM_ELEM(o) - 1) #define MATCH_STR_I(s, o) _strnicmp((s), (o), NUM_ELEM(o) - 1) @@ -2375,6 +2377,13 @@ #endif SendMessage(GetDlgItem(dlg, IDC_ZLIB_VERSION), WM_SETTEXT, 0, (LPARAM)buf); + // PuTTYÌo[WðÝè·é (2011.7.26 yutaka) +#ifdef PUTTYVERSION + _snprintf_s(buf, sizeof(buf), _TRUNCATE, "PuTTY %s", PUTTYVERSION); +#else + _snprintf(buf, sizeof(buf), "PuTTY Unknown"); +#endif + SendMessage(GetDlgItem(dlg, IDC_PUTTY_VERSION), WM_SETTEXT, 0, (LPARAM)buf); // TTSSH_CAOÉ\¦·éSSHÉÖ·éîñ (2004.10.30 yutaka) if (pvar->socket != INVALID_SOCKET) { Modified: trunk/ttssh2/ttxssh/ttxssh.rc =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.rc 2011-07-26 14:59:34 UTC (rev 4532) +++ trunk/ttssh2/ttxssh/ttxssh.rc 2011-07-26 15:07:33 UTC (rev 4533) @@ -52,22 +52,23 @@ // Dialog // -IDD_ABOUTDIALOG DIALOGEX 0, 0, 263, 276 +IDD_ABOUTDIALOG DIALOGEX 0, 0, 263, 285 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "About TTSSH" FONT 8, "Tahoma", 0, 0, 0x0 BEGIN - LTEXT "This extension uses OpenSSH code by OpenBSD Project. Thanks also to Ian Goldberg for his Pilot SSH code, which was a very handy reference. Special thanks to Takashi Teranishi for his cooperation.",IDC_CREDIT,6,132,248,27 - DEFPUSHBUTTON "OK",IDOK,106,254,50,14 + LTEXT "This extension uses OpenSSH code by OpenBSD Project. Thanks also to Ian Goldberg for his Pilot SSH code, which was a very handy reference. Special thanks to Takashi Teranishi for his cooperation.",IDC_CREDIT,6,140,248,27 + DEFPUSHBUTTON "OK",IDOK,106,263,50,14 LTEXT "Includes:\r\nTTSSH 1.5.4 (Robert O'Callahan roc+t****@cs*****), 1998-1999\r\nIPv6 extention version 0.81 (kato****@win6*****), 2000-2003\r\nSSH2 support (Tera Term Project), 2004-2011",IDC_INCLUDES,6,36,248,34 - LTEXT "THIS EXTENSION INCORPORATES STRONG CRYPTOGRAPHY. POSESSION, USE, AND/OR EXPORT OF THIS EXTENSION MAY BE ILLEGAL IN YOUR COUNTRY.",IDC_CRYPTOGRAPHY,6,106,248,26 - ICON "",IDC_TTSSH_ICON,234,7,20,20 - EDITTEXT IDC_ABOUTTEXT,6,161,248,87,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY - LTEXT "Tera Term Project: http://ttssh2.sourceforge.jp/",IDC_WEBSITES,6,88,248,13,SS_SUNKEN + LTEXT "THIS EXTENSION INCORPORATES STRONG CRYPTOGRAPHY. POSESSION, USE, AND/OR EXPORT OF THIS EXTENSION MAY BE ILLEGAL IN YOUR COUNTRY.",IDC_CRYPTOGRAPHY,6,116,248,26 + ICON "",IDC_TTSSH_ICON,234,7,21,20 + EDITTEXT IDC_ABOUTTEXT,6,171,248,87,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY + LTEXT "Tera Term Project: http://ttssh2.sourceforge.jp/",IDC_WEBSITES,6,99,248,13,SS_SUNKEN LTEXT "OpenSSL:",IDC_OPENSSL_VERSION,6,69,175,8 LTEXT "Compatible with SSH protocol version 1.5 and 2.0",IDC_SSHVERSIONS,6,23,206,11 LTEXT "Tera Term Secure Shell extension, ",IDC_TTSSH_VERSION,6,7,220,15 LTEXT "zlib:",IDC_ZLIB_VERSION,6,78,181,8 + LTEXT "PuTTY:",IDC_PUTTY_VERSION,6,88,207,8 END IDD_SSHAUTH DIALOGEX 0, 0, 309, 262 @@ -412,7 +413,7 @@ LEFTMARGIN, 6 RIGHTMARGIN, 254 TOPMARGIN, 7 - BOTTOMMARGIN, 268 + BOTTOMMARGIN, 277 END IDD_SSHAUTH, DIALOG Modified: trunk/ttssh2/ttxssh/ttxssh.vcproj =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.vcproj 2011-07-26 14:59:34 UTC (rev 4532) +++ trunk/ttssh2/ttxssh/ttxssh.vcproj 2011-07-26 15:07:33 UTC (rev 4533) @@ -25,6 +25,7 @@ > <Tool Name="VCPreBuildEventTool" + CommandLine="$(OutDir)\puttyrev.exe" /> <Tool Name="VCCustomBuildTool" @@ -83,8 +84,8 @@ LinkIncremental="2" SuppressStartupBanner="true" AdditionalLibraryDirectories="..\..\libs\openssl\out32.dbg;..\..\libs\zlib;..\..\teraterm\Debug" + ModuleDefinitionFile="ttxssh.def" DelayLoadDLLs="dnsapi.dll" - ModuleDefinitionFile="ttxssh.def" GenerateDebugInformation="true" ProgramDatabaseFile=".\Debug/ttxssh.pdb" GenerateMapFile="true" @@ -129,6 +130,7 @@ > <Tool Name="VCPreBuildEventTool" + CommandLine="$(OutDir)\puttyrev.exe" /> <Tool Name="VCCustomBuildTool" @@ -188,8 +190,8 @@ LinkIncremental="1" SuppressStartupBanner="true" AdditionalLibraryDirectories="..\..\libs\openssl\out32;..\..\libs\zlib;..\..\teraterm\Release" + ModuleDefinitionFile="ttxssh.def" DelayLoadDLLs="dnsapi.dll" - ModuleDefinitionFile="ttxssh.def" GenerateDebugInformation="true" ProgramDatabaseFile=".\Release/ttxssh.pdb" SubSystem="2"