リビジョン | 38620345658c63e840fa77ceea3edbad7549e80f (tree) |
---|---|
日時 | 2008-05-08 19:01:49 |
作者 | eru <eru01@user...> |
コミッター | eru |
IM0027-4
@@ -570,7 +570,7 @@ int Channel::handshakeFetch() | ||
570 | 570 | if (http.isHeader(PCX_HS_POS)) |
571 | 571 | streamPos = atoi(arg); |
572 | 572 | else |
573 | - Servent::readICYHeader(http, info, NULL); | |
573 | + Servent::readICYHeader(http, info, NULL, 0); | |
574 | 574 | |
575 | 575 | LOG_CHANNEL("Channel fetch: %s",http.cmdLine); |
576 | 576 | } |
@@ -107,7 +107,7 @@ int HTTP::getArgInt() | ||
107 | 107 | return 0; |
108 | 108 | } |
109 | 109 | //----------------------------------------- |
110 | -void HTTP::getAuthUserPass(char *user, char *pass) | |
110 | +void HTTP::getAuthUserPass(char *user, char *pass, size_t szUser, size_t szPass) | |
111 | 111 | { |
112 | 112 | if (arg) |
113 | 113 | { |
@@ -125,9 +125,15 @@ void HTTP::getAuthUserPass(char *user, char *pass) | ||
125 | 125 | { |
126 | 126 | *s = 0; |
127 | 127 | if (user) |
128 | - strcpy(user,str.cstr()); | |
128 | + { | |
129 | + strncpy(user, str.cstr(), szUser); | |
130 | + user[szUser-1] = '\0'; | |
131 | + } | |
129 | 132 | if (pass) |
130 | - strcpy(pass,s+1); | |
133 | + { | |
134 | + strncpy(pass, s+1, szPass); | |
135 | + pass[szPass-1] = '\0'; | |
136 | + } | |
131 | 137 | } |
132 | 138 | } |
133 | 139 | } |
@@ -176,7 +176,7 @@ public: | ||
176 | 176 | char *getArgStr(); |
177 | 177 | int getArgInt(); |
178 | 178 | |
179 | - void getAuthUserPass(char *, char *); | |
179 | + void getAuthUserPass(char *, char *, size_t, size_t); | |
180 | 180 | |
181 | 181 | char cmdLine[8192],*arg; |
182 | 182 |
@@ -213,7 +213,7 @@ public: | ||
213 | 213 | void sendPCPChannel(); |
214 | 214 | void checkPCPComms(Channel *, AtomStream &); |
215 | 215 | |
216 | - static void readICYHeader(HTTP &, ChanInfo &, char *); | |
216 | + static void readICYHeader(HTTP &, ChanInfo &, char *, size_t); | |
217 | 217 | bool canStream(Channel *); |
218 | 218 | |
219 | 219 | bool isConnected() {return status == S_CONNECTED;} |
@@ -726,7 +726,7 @@ bool Servent::handshakeAuth(HTTP &http,const char *args,bool local) | ||
726 | 726 | { |
727 | 727 | case ServMgr::AUTH_HTTPBASIC: |
728 | 728 | if (http.isHeader("Authorization")) |
729 | - http.getAuthUserPass(user,pass); | |
729 | + http.getAuthUserPass(user, pass, sizeof(user), sizeof(pass)); | |
730 | 730 | break; |
731 | 731 | case ServMgr::AUTH_COOKIE: |
732 | 732 | if (http.isHeader("Cookie")) |
@@ -1708,7 +1708,7 @@ void Servent::handshakeXML() | ||
1708 | 1708 | |
1709 | 1709 | } |
1710 | 1710 | // ----------------------------------- |
1711 | -void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd) | |
1711 | +void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd, size_t szPwd) | |
1712 | 1712 | { |
1713 | 1713 | char *arg = http.getArgStr(); |
1714 | 1714 | if (!arg) return; |
@@ -1733,7 +1733,7 @@ void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd) | ||
1733 | 1733 | info.desc.convertTo(String::T_UNICODE); |
1734 | 1734 | |
1735 | 1735 | }else if (http.isHeader("Authorization")) |
1736 | - http.getAuthUserPass(NULL,pwd); | |
1736 | + http.getAuthUserPass(NULL, pwd, 0, sizeof(pwd)); | |
1737 | 1737 | else if (http.isHeader(PCX_HS_CHANNELID)) |
1738 | 1738 | info.id.fromStr(arg); |
1739 | 1739 | else if (http.isHeader("ice-password")) |
@@ -1804,7 +1804,7 @@ void Servent::handshakeICY(Channel::SRC_TYPE type, bool isHTTP) | ||
1804 | 1804 | while (http.nextHeader()) |
1805 | 1805 | { |
1806 | 1806 | LOG_DEBUG("ICY %s",http.cmdLine); |
1807 | - readICYHeader(http,info,loginPassword.cstr()); | |
1807 | + readICYHeader(http, info, loginPassword.cstr(), loginPassword.MAX_LEN); | |
1808 | 1808 | } |
1809 | 1809 | |
1810 | 1810 |
@@ -180,7 +180,7 @@ int URLSource::getSourceRate() | ||
180 | 180 | LOG_CHANNEL("Fetch HTTP: %s",http.cmdLine); |
181 | 181 | |
182 | 182 | ChanInfo tmpInfo = ch->info; |
183 | - Servent::readICYHeader(http,ch->info,NULL); | |
183 | + Servent::readICYHeader(http, ch->info, NULL, 0); | |
184 | 184 | |
185 | 185 | if (!tmpInfo.name.isEmpty()) |
186 | 186 | ch->info.name = tmpInfo.name; |
@@ -45,8 +45,8 @@ extern int version_ex; // PP | ||
45 | 45 | //#define VERSION_EX 1 |
46 | 46 | static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only |
47 | 47 | static const int PCP_CLIENT_VERSION_EX_NUMBER = 27; |
48 | -static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-3)"; | |
49 | -static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-3)"; | |
48 | +static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-4)"; | |
49 | +static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-4)"; | |
50 | 50 | #endif |
51 | 51 | |
52 | 52 | // ------------------------------------------------ |
@@ -1,13 +1,14 @@ | ||
1 | 1 | <?xml version="1.0" encoding="shift_jis"?> |
2 | 2 | <VisualStudioProject |
3 | 3 | ProjectType="Visual C++" |
4 | - Version="8.00" | |
4 | + Version="9.00" | |
5 | 5 | Name="corelib" |
6 | 6 | ProjectGUID="{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}" |
7 | 7 | RootNamespace="corelib" |
8 | 8 | SccProjectName=""$/PeerCast.root/PeerCast", JCAAAAAA" |
9 | 9 | SccLocalPath="..\..\.." |
10 | 10 | SccProvider="MSSCCI:Microsoft Visual SourceSafe" |
11 | + TargetFrameworkVersion="131072" | |
11 | 12 | > |
12 | 13 | <Platforms> |
13 | 14 | <Platform |
@@ -196,8 +197,10 @@ | ||
196 | 197 | <Tool |
197 | 198 | Name="VCCLCompilerTool" |
198 | 199 | Optimization="2" |
199 | - InlineFunctionExpansion="1" | |
200 | + InlineFunctionExpansion="2" | |
200 | 201 | EnableIntrinsicFunctions="true" |
202 | + FavorSizeOrSpeed="1" | |
203 | + EnableFiberSafeOptimizations="true" | |
201 | 204 | AdditionalIncludeDirectories="../../,../../common" |
202 | 205 | PreprocessorDefinitions="WIN32;NDEBUG;_LIB" |
203 | 206 | StringPooling="true" |
@@ -1,6 +1,11 @@ | ||
1 | 1 | |
2 | -Microsoft Visual Studio Solution File, Format Version 9.00 | |
3 | -# Visual Studio 2005 | |
2 | +Microsoft Visual Studio Solution File, Format Version 10.00 | |
3 | +# Visual Studio 2008 | |
4 | +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}" | |
5 | + ProjectSection(SolutionItems) = preProject | |
6 | + memo.txt = memo.txt | |
7 | + EndProjectSection | |
8 | +EndProject | |
4 | 9 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "corelib", "..\..\core\win32\lib\corelib.vcproj", "{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}" |
5 | 10 | EndProject |
6 | 11 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcproj", "{7D4833CE-1286-4587-9470-52E098B29C12}" |
@@ -8,11 +13,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcp | ||
8 | 13 | {7BCFE65B-8757-45F3-8DFB-1E7D683950D1} = {7BCFE65B-8757-45F3-8DFB-1E7D683950D1} |
9 | 14 | EndProjectSection |
10 | 15 | EndProject |
11 | -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}" | |
12 | - ProjectSection(SolutionItems) = preProject | |
13 | - memo.txt = memo.txt | |
14 | - EndProjectSection | |
15 | -EndProject | |
16 | 16 | Global |
17 | 17 | GlobalSection(SourceCodeControl) = preSolution |
18 | 18 | SccNumberOfProjects = 3 |
@@ -1,13 +1,14 @@ | ||
1 | 1 | <?xml version="1.0" encoding="shift_jis"?> |
2 | 2 | <VisualStudioProject |
3 | 3 | ProjectType="Visual C++" |
4 | - Version="8.00" | |
4 | + Version="9.00" | |
5 | 5 | Name="Simple" |
6 | 6 | ProjectGUID="{7D4833CE-1286-4587-9470-52E098B29C12}" |
7 | 7 | RootNamespace="Simple" |
8 | 8 | SccProjectName=""$/PeerCast.root/PeerCast", JCAAAAAA" |
9 | 9 | SccLocalPath="..\..\.." |
10 | 10 | SccProvider="MSSCCI:Microsoft Visual SourceSafe" |
11 | + TargetFrameworkVersion="131072" | |
11 | 12 | > |
12 | 13 | <Platforms> |
13 | 14 | <Platform |
@@ -85,6 +86,8 @@ | ||
85 | 86 | GenerateDebugInformation="true" |
86 | 87 | ProgramDatabaseFile=".\Simple___Win32_Private_Debug/PeerCast.pdb" |
87 | 88 | SubSystem="2" |
89 | + RandomizedBaseAddress="1" | |
90 | + DataExecutionPrevention="0" | |
88 | 91 | TargetMachine="1" |
89 | 92 | /> |
90 | 93 | <Tool |
@@ -108,9 +111,6 @@ | ||
108 | 111 | Name="VCAppVerifierTool" |
109 | 112 | /> |
110 | 113 | <Tool |
111 | - Name="VCWebDeploymentTool" | |
112 | - /> | |
113 | - <Tool | |
114 | 114 | Name="VCPostBuildEventTool" |
115 | 115 | Description="Copy exe to program files" |
116 | 116 | CommandLine="copy debug\peercast.exe "c:\program files\peercast"" |
@@ -154,6 +154,7 @@ | ||
154 | 154 | InlineFunctionExpansion="1" |
155 | 155 | EnableIntrinsicFunctions="true" |
156 | 156 | FavorSizeOrSpeed="0" |
157 | + EnableFiberSafeOptimizations="true" | |
157 | 158 | AdditionalIncludeDirectories="../../../core,../../../core/common" |
158 | 159 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" |
159 | 160 | StringPooling="true" |
@@ -187,6 +188,8 @@ | ||
187 | 188 | AdditionalLibraryDirectories=""C:\Visual Studio Projects\PeCa-IMAS7651\core\win32\lib\Release"" |
188 | 189 | ProgramDatabaseFile=".\Release/PeerCast.pdb" |
189 | 190 | SubSystem="2" |
191 | + RandomizedBaseAddress="1" | |
192 | + DataExecutionPrevention="0" | |
190 | 193 | TargetMachine="1" |
191 | 194 | /> |
192 | 195 | <Tool |
@@ -210,9 +213,6 @@ | ||
210 | 213 | Name="VCAppVerifierTool" |
211 | 214 | /> |
212 | 215 | <Tool |
213 | - Name="VCWebDeploymentTool" | |
214 | - /> | |
215 | - <Tool | |
216 | 216 | Name="VCPostBuildEventTool" |
217 | 217 | Description="Copy exe to pimp" |
218 | 218 | CommandLine="copy release\peercast.exe ..\pimp\
" |
@@ -285,6 +285,8 @@ | ||
285 | 285 | SuppressStartupBanner="true" |
286 | 286 | ProgramDatabaseFile=".\Simple___Win32_Private_Release/PeerCast.pdb" |
287 | 287 | SubSystem="2" |
288 | + RandomizedBaseAddress="1" | |
289 | + DataExecutionPrevention="0" | |
288 | 290 | TargetMachine="1" |
289 | 291 | /> |
290 | 292 | <Tool |
@@ -308,9 +310,6 @@ | ||
308 | 310 | Name="VCAppVerifierTool" |
309 | 311 | /> |
310 | 312 | <Tool |
311 | - Name="VCWebDeploymentTool" | |
312 | - /> | |
313 | - <Tool | |
314 | 313 | Name="VCPostBuildEventTool" |
315 | 314 | Description="Copy exe to pimp & program files" |
316 | 315 | CommandLine="copy release\peercast.exe "c:\program files\peercast"
copy release\peercast.exe ..\pimp\
" |
@@ -386,6 +385,8 @@ | ||
386 | 385 | ProgramDatabaseFile=".\Debug/PeerCast.pdb" |
387 | 386 | SubSystem="2" |
388 | 387 | HeapReserveSize="4194304" |
388 | + RandomizedBaseAddress="1" | |
389 | + DataExecutionPrevention="0" | |
389 | 390 | TargetMachine="1" |
390 | 391 | /> |
391 | 392 | <Tool |
@@ -409,9 +410,6 @@ | ||
409 | 410 | Name="VCAppVerifierTool" |
410 | 411 | /> |
411 | 412 | <Tool |
412 | - Name="VCWebDeploymentTool" | |
413 | - /> | |
414 | - <Tool | |
415 | 413 | Name="VCPostBuildEventTool" |
416 | 414 | Description="Copy exe to program files" |
417 | 415 | CommandLine="copy debug\peercast.exe "c:\program files\peercast"" |
@@ -570,7 +570,7 @@ int Channel::handshakeFetch() | ||
570 | 570 | if (http.isHeader(PCX_HS_POS)) |
571 | 571 | streamPos = atoi(arg); |
572 | 572 | else |
573 | - Servent::readICYHeader(http, info, NULL); | |
573 | + Servent::readICYHeader(http, info, NULL, 0); | |
574 | 574 | |
575 | 575 | LOG_CHANNEL("Channel fetch: %s",http.cmdLine); |
576 | 576 | } |
@@ -107,7 +107,7 @@ int HTTP::getArgInt() | ||
107 | 107 | return 0; |
108 | 108 | } |
109 | 109 | //----------------------------------------- |
110 | -void HTTP::getAuthUserPass(char *user, char *pass) | |
110 | +void HTTP::getAuthUserPass(char *user, char *pass, size_t szUser, size_t szPass) | |
111 | 111 | { |
112 | 112 | if (arg) |
113 | 113 | { |
@@ -125,9 +125,15 @@ void HTTP::getAuthUserPass(char *user, char *pass) | ||
125 | 125 | { |
126 | 126 | *s = 0; |
127 | 127 | if (user) |
128 | - strcpy(user,str.cstr()); | |
128 | + { | |
129 | + strncpy(user, str.cstr(), szUser); | |
130 | + user[szUser-1] = '\0'; | |
131 | + } | |
129 | 132 | if (pass) |
130 | - strcpy(pass,s+1); | |
133 | + { | |
134 | + strncpy(pass, s+1, szPass); | |
135 | + pass[szPass-1] = '\0'; | |
136 | + } | |
131 | 137 | } |
132 | 138 | } |
133 | 139 | } |
@@ -176,7 +176,7 @@ public: | ||
176 | 176 | char *getArgStr(); |
177 | 177 | int getArgInt(); |
178 | 178 | |
179 | - void getAuthUserPass(char *, char *); | |
179 | + void getAuthUserPass(char *, char *, size_t, size_t); | |
180 | 180 | |
181 | 181 | char cmdLine[8192],*arg; |
182 | 182 |
@@ -213,7 +213,7 @@ public: | ||
213 | 213 | void sendPCPChannel(); |
214 | 214 | void checkPCPComms(Channel *, AtomStream &); |
215 | 215 | |
216 | - static void readICYHeader(HTTP &, ChanInfo &, char *); | |
216 | + static void readICYHeader(HTTP &, ChanInfo &, char *, size_t); | |
217 | 217 | bool canStream(Channel *); |
218 | 218 | |
219 | 219 | bool isConnected() {return status == S_CONNECTED;} |
@@ -726,7 +726,7 @@ bool Servent::handshakeAuth(HTTP &http,const char *args,bool local) | ||
726 | 726 | { |
727 | 727 | case ServMgr::AUTH_HTTPBASIC: |
728 | 728 | if (http.isHeader("Authorization")) |
729 | - http.getAuthUserPass(user,pass); | |
729 | + http.getAuthUserPass(user, pass, sizeof(user), sizeof(pass)); | |
730 | 730 | break; |
731 | 731 | case ServMgr::AUTH_COOKIE: |
732 | 732 | if (http.isHeader("Cookie")) |
@@ -1708,7 +1708,7 @@ void Servent::handshakeXML() | ||
1708 | 1708 | |
1709 | 1709 | } |
1710 | 1710 | // ----------------------------------- |
1711 | -void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd) | |
1711 | +void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd, size_t szPwd) | |
1712 | 1712 | { |
1713 | 1713 | char *arg = http.getArgStr(); |
1714 | 1714 | if (!arg) return; |
@@ -1733,7 +1733,7 @@ void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd) | ||
1733 | 1733 | info.desc.convertTo(String::T_UNICODE); |
1734 | 1734 | |
1735 | 1735 | }else if (http.isHeader("Authorization")) |
1736 | - http.getAuthUserPass(NULL,pwd); | |
1736 | + http.getAuthUserPass(NULL, pwd, 0, sizeof(pwd)); | |
1737 | 1737 | else if (http.isHeader(PCX_HS_CHANNELID)) |
1738 | 1738 | info.id.fromStr(arg); |
1739 | 1739 | else if (http.isHeader("ice-password")) |
@@ -1804,7 +1804,7 @@ void Servent::handshakeICY(Channel::SRC_TYPE type, bool isHTTP) | ||
1804 | 1804 | while (http.nextHeader()) |
1805 | 1805 | { |
1806 | 1806 | LOG_DEBUG("ICY %s",http.cmdLine); |
1807 | - readICYHeader(http,info,loginPassword.cstr()); | |
1807 | + readICYHeader(http, info, loginPassword.cstr(), loginPassword.MAX_LEN); | |
1808 | 1808 | } |
1809 | 1809 | |
1810 | 1810 |
@@ -180,7 +180,7 @@ int URLSource::getSourceRate() | ||
180 | 180 | LOG_CHANNEL("Fetch HTTP: %s",http.cmdLine); |
181 | 181 | |
182 | 182 | ChanInfo tmpInfo = ch->info; |
183 | - Servent::readICYHeader(http,ch->info,NULL); | |
183 | + Servent::readICYHeader(http, ch->info, NULL, 0); | |
184 | 184 | |
185 | 185 | if (!tmpInfo.name.isEmpty()) |
186 | 186 | ch->info.name = tmpInfo.name; |
@@ -45,8 +45,8 @@ extern int version_ex; // PP | ||
45 | 45 | //#define VERSION_EX 1 |
46 | 46 | static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only |
47 | 47 | static const int PCP_CLIENT_VERSION_EX_NUMBER = 27; |
48 | -static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-3)"; | |
49 | -static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-3)"; | |
48 | +static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-4)"; | |
49 | +static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-4)"; | |
50 | 50 | #endif |
51 | 51 | |
52 | 52 | // ------------------------------------------------ |
@@ -1,13 +1,14 @@ | ||
1 | 1 | <?xml version="1.0" encoding="shift_jis"?> |
2 | 2 | <VisualStudioProject |
3 | 3 | ProjectType="Visual C++" |
4 | - Version="8.00" | |
4 | + Version="9.00" | |
5 | 5 | Name="corelib" |
6 | 6 | ProjectGUID="{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}" |
7 | 7 | RootNamespace="corelib" |
8 | 8 | SccProjectName=""$/PeerCast.root/PeerCast", JCAAAAAA" |
9 | 9 | SccLocalPath="..\..\.." |
10 | 10 | SccProvider="MSSCCI:Microsoft Visual SourceSafe" |
11 | + TargetFrameworkVersion="131072" | |
11 | 12 | > |
12 | 13 | <Platforms> |
13 | 14 | <Platform |
@@ -196,8 +197,10 @@ | ||
196 | 197 | <Tool |
197 | 198 | Name="VCCLCompilerTool" |
198 | 199 | Optimization="2" |
199 | - InlineFunctionExpansion="1" | |
200 | + InlineFunctionExpansion="2" | |
200 | 201 | EnableIntrinsicFunctions="true" |
202 | + FavorSizeOrSpeed="1" | |
203 | + EnableFiberSafeOptimizations="true" | |
201 | 204 | AdditionalIncludeDirectories="../../,../../common" |
202 | 205 | PreprocessorDefinitions="WIN32;NDEBUG;_LIB" |
203 | 206 | StringPooling="true" |
@@ -1,6 +1,11 @@ | ||
1 | 1 | |
2 | -Microsoft Visual Studio Solution File, Format Version 9.00 | |
3 | -# Visual Studio 2005 | |
2 | +Microsoft Visual Studio Solution File, Format Version 10.00 | |
3 | +# Visual Studio 2008 | |
4 | +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}" | |
5 | + ProjectSection(SolutionItems) = preProject | |
6 | + memo.txt = memo.txt | |
7 | + EndProjectSection | |
8 | +EndProject | |
4 | 9 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "corelib", "..\..\core\win32\lib\corelib.vcproj", "{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}" |
5 | 10 | EndProject |
6 | 11 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcproj", "{7D4833CE-1286-4587-9470-52E098B29C12}" |
@@ -8,11 +13,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcp | ||
8 | 13 | {7BCFE65B-8757-45F3-8DFB-1E7D683950D1} = {7BCFE65B-8757-45F3-8DFB-1E7D683950D1} |
9 | 14 | EndProjectSection |
10 | 15 | EndProject |
11 | -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}" | |
12 | - ProjectSection(SolutionItems) = preProject | |
13 | - memo.txt = memo.txt | |
14 | - EndProjectSection | |
15 | -EndProject | |
16 | 16 | Global |
17 | 17 | GlobalSection(SourceCodeControl) = preSolution |
18 | 18 | SccNumberOfProjects = 3 |
@@ -1,13 +1,14 @@ | ||
1 | 1 | <?xml version="1.0" encoding="shift_jis"?> |
2 | 2 | <VisualStudioProject |
3 | 3 | ProjectType="Visual C++" |
4 | - Version="8.00" | |
4 | + Version="9.00" | |
5 | 5 | Name="Simple" |
6 | 6 | ProjectGUID="{7D4833CE-1286-4587-9470-52E098B29C12}" |
7 | 7 | RootNamespace="Simple" |
8 | 8 | SccProjectName=""$/PeerCast.root/PeerCast", JCAAAAAA" |
9 | 9 | SccLocalPath="..\..\.." |
10 | 10 | SccProvider="MSSCCI:Microsoft Visual SourceSafe" |
11 | + TargetFrameworkVersion="131072" | |
11 | 12 | > |
12 | 13 | <Platforms> |
13 | 14 | <Platform |
@@ -85,6 +86,8 @@ | ||
85 | 86 | GenerateDebugInformation="true" |
86 | 87 | ProgramDatabaseFile=".\Simple___Win32_Private_Debug/PeerCast.pdb" |
87 | 88 | SubSystem="2" |
89 | + RandomizedBaseAddress="1" | |
90 | + DataExecutionPrevention="0" | |
88 | 91 | TargetMachine="1" |
89 | 92 | /> |
90 | 93 | <Tool |
@@ -108,9 +111,6 @@ | ||
108 | 111 | Name="VCAppVerifierTool" |
109 | 112 | /> |
110 | 113 | <Tool |
111 | - Name="VCWebDeploymentTool" | |
112 | - /> | |
113 | - <Tool | |
114 | 114 | Name="VCPostBuildEventTool" |
115 | 115 | Description="Copy exe to program files" |
116 | 116 | CommandLine="copy debug\peercast.exe "c:\program files\peercast"" |
@@ -154,6 +154,7 @@ | ||
154 | 154 | InlineFunctionExpansion="1" |
155 | 155 | EnableIntrinsicFunctions="true" |
156 | 156 | FavorSizeOrSpeed="0" |
157 | + EnableFiberSafeOptimizations="true" | |
157 | 158 | AdditionalIncludeDirectories="../../../core,../../../core/common" |
158 | 159 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" |
159 | 160 | StringPooling="true" |
@@ -187,6 +188,8 @@ | ||
187 | 188 | AdditionalLibraryDirectories=""C:\Visual Studio Projects\PeCa-IMAS7651\core\win32\lib\Release"" |
188 | 189 | ProgramDatabaseFile=".\Release/PeerCast.pdb" |
189 | 190 | SubSystem="2" |
191 | + RandomizedBaseAddress="1" | |
192 | + DataExecutionPrevention="0" | |
190 | 193 | TargetMachine="1" |
191 | 194 | /> |
192 | 195 | <Tool |
@@ -210,9 +213,6 @@ | ||
210 | 213 | Name="VCAppVerifierTool" |
211 | 214 | /> |
212 | 215 | <Tool |
213 | - Name="VCWebDeploymentTool" | |
214 | - /> | |
215 | - <Tool | |
216 | 216 | Name="VCPostBuildEventTool" |
217 | 217 | Description="Copy exe to pimp" |
218 | 218 | CommandLine="copy release\peercast.exe ..\pimp\
" |
@@ -285,6 +285,8 @@ | ||
285 | 285 | SuppressStartupBanner="true" |
286 | 286 | ProgramDatabaseFile=".\Simple___Win32_Private_Release/PeerCast.pdb" |
287 | 287 | SubSystem="2" |
288 | + RandomizedBaseAddress="1" | |
289 | + DataExecutionPrevention="0" | |
288 | 290 | TargetMachine="1" |
289 | 291 | /> |
290 | 292 | <Tool |
@@ -308,9 +310,6 @@ | ||
308 | 310 | Name="VCAppVerifierTool" |
309 | 311 | /> |
310 | 312 | <Tool |
311 | - Name="VCWebDeploymentTool" | |
312 | - /> | |
313 | - <Tool | |
314 | 313 | Name="VCPostBuildEventTool" |
315 | 314 | Description="Copy exe to pimp & program files" |
316 | 315 | CommandLine="copy release\peercast.exe "c:\program files\peercast"
copy release\peercast.exe ..\pimp\
" |
@@ -386,6 +385,8 @@ | ||
386 | 385 | ProgramDatabaseFile=".\Debug/PeerCast.pdb" |
387 | 386 | SubSystem="2" |
388 | 387 | HeapReserveSize="4194304" |
388 | + RandomizedBaseAddress="1" | |
389 | + DataExecutionPrevention="0" | |
389 | 390 | TargetMachine="1" |
390 | 391 | /> |
391 | 392 | <Tool |
@@ -409,9 +410,6 @@ | ||
409 | 410 | Name="VCAppVerifierTool" |
410 | 411 | /> |
411 | 412 | <Tool |
412 | - Name="VCWebDeploymentTool" | |
413 | - /> | |
414 | - <Tool | |
415 | 413 | Name="VCPostBuildEventTool" |
416 | 414 | Description="Copy exe to program files" |
417 | 415 | CommandLine="copy debug\peercast.exe "c:\program files\peercast"" |