aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/English.lproj/InfoPlist.strings4
-rw-r--r--linden/indra/newview/Info-SecondLife.plist2
-rw-r--r--linden/indra/newview/llstartup.cpp5
-rw-r--r--linden/indra/newview/releasenotes.txt9
-rw-r--r--linden/indra/newview/res/newViewRes.rc8
-rw-r--r--linden/indra/newview/viewer.cpp24
6 files changed, 33 insertions, 19 deletions
diff --git a/linden/indra/newview/English.lproj/InfoPlist.strings b/linden/indra/newview/English.lproj/InfoPlist.strings
index 1b9fdbe..e86b0d2 100644
--- a/linden/indra/newview/English.lproj/InfoPlist.strings
+++ b/linden/indra/newview/English.lproj/InfoPlist.strings
@@ -1,5 +1,5 @@
1/* Localized versions of Info.plist keys */ 1/* Localized versions of Info.plist keys */
2 2
3CFBundleName = "Second Life"; 3CFBundleName = "Second Life";
4CFBundleShortVersionString = "Second Life version 1.18.2.0"; 4CFBundleShortVersionString = "Second Life version 1.18.2.1";
5CFBundleGetInfoString = "Second Life version 1.18.2.0, Copyright 2004-2007 Linden Research, Inc."; 5CFBundleGetInfoString = "Second Life version 1.18.2.1, Copyright 2004-2007 Linden Research, Inc.";
diff --git a/linden/indra/newview/Info-SecondLife.plist b/linden/indra/newview/Info-SecondLife.plist
index 87087f7..b897a67 100644
--- a/linden/indra/newview/Info-SecondLife.plist
+++ b/linden/indra/newview/Info-SecondLife.plist
@@ -32,7 +32,7 @@
32 </dict> 32 </dict>
33 </array> 33 </array>
34 <key>CFBundleVersion</key> 34 <key>CFBundleVersion</key>
35 <string>1.18.2.0</string> 35 <string>1.18.2.1</string>
36 <key>CSResourcesFileMapped</key> 36 <key>CSResourcesFileMapped</key>
37 <true/> 37 <true/>
38</dict> 38</dict>
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 208bb7c..7c76634 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -565,7 +565,10 @@ BOOL idle_startup()
565#endif // LL_LINUX 565#endif // LL_LINUX
566 566
567 std::ostringstream codec; 567 std::ostringstream codec;
568 codec << "[Second Life " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD << "]"; 568 codec << "[Second Life ";
569 codec << "(" << gChannelName << ")";
570 codec << " - " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD;
571 codec << "]";
569 LLMozLib::getInstance()->setBrowserAgentId( codec.str() ); 572 LLMozLib::getInstance()->setBrowserAgentId( codec.str() );
570 #endif 573 #endif
571 574
diff --git a/linden/indra/newview/releasenotes.txt b/linden/indra/newview/releasenotes.txt
index 9ce0bfd..86f8c6d 100644
--- a/linden/indra/newview/releasenotes.txt
+++ b/linden/indra/newview/releasenotes.txt
@@ -1,3 +1,12 @@
1Release Notes for Second Life 1.18.2(1) September 19, 2007
2=====================================
3
4Changes:
5* Fix URL handler exploit described here: http://blog.secondlife.com/2007/09/18/second-life-url-handler-exploit/
6* Update voice components to improve quality and address VWR-1532
7* Add name of viewer release channel to embedded browser agent ID string
8
9
1Release Notes for Second Life 1.18.2(0) August 10, 2007 10Release Notes for Second Life 1.18.2(0) August 10, 2007
2===================================== 11=====================================
3 12
diff --git a/linden/indra/newview/res/newViewRes.rc b/linden/indra/newview/res/newViewRes.rc
index 20e568e..e5f4f5d 100644
--- a/linden/indra/newview/res/newViewRes.rc
+++ b/linden/indra/newview/res/newViewRes.rc
@@ -227,8 +227,8 @@ TOOLPIPETTE CURSOR "toolpipette.cur"
227// 227//
228 228
229VS_VERSION_INFO VERSIONINFO 229VS_VERSION_INFO VERSIONINFO
230 FILEVERSION 1,18,2,0 230 FILEVERSION 1,18,2,1
231 PRODUCTVERSION 1,18,2,0 231 PRODUCTVERSION 1,18,2,1
232 FILEFLAGSMASK 0x3fL 232 FILEFLAGSMASK 0x3fL
233#ifdef _DEBUG 233#ifdef _DEBUG
234 FILEFLAGS 0x1L 234 FILEFLAGS 0x1L
@@ -245,12 +245,12 @@ BEGIN
245 BEGIN 245 BEGIN
246 VALUE "CompanyName", "Linden Lab" 246 VALUE "CompanyName", "Linden Lab"
247 VALUE "FileDescription", "Second Life" 247 VALUE "FileDescription", "Second Life"
248 VALUE "FileVersion", "1.18.2.0" 248 VALUE "FileVersion", "1.18.2.1"
249 VALUE "InternalName", "Second Life" 249 VALUE "InternalName", "Second Life"
250 VALUE "LegalCopyright", "Copyright © 2001-2007, Linden Research, Inc." 250 VALUE "LegalCopyright", "Copyright © 2001-2007, Linden Research, Inc."
251 VALUE "OriginalFilename", "SecondLife.exe" 251 VALUE "OriginalFilename", "SecondLife.exe"
252 VALUE "ProductName", "Second Life" 252 VALUE "ProductName", "Second Life"
253 VALUE "ProductVersion", "1.18.2.0" 253 VALUE "ProductVersion", "1.18.2.1"
254 END 254 END
255 END 255 END
256 BLOCK "VarFileInfo" 256 BLOCK "VarFileInfo"
diff --git a/linden/indra/newview/viewer.cpp b/linden/indra/newview/viewer.cpp
index 2890269..69e98f4 100644
--- a/linden/indra/newview/viewer.cpp
+++ b/linden/indra/newview/viewer.cpp
@@ -944,11 +944,6 @@ int main( int argc, char **argv )
944 // May need to know this early also 944 // May need to know this early also
945 gDisableVoice = TRUE; 945 gDisableVoice = TRUE;
946 } 946 }
947 else if (!strcmp(argv[j], "-url") && (++j < argc))
948 {
949 LLURLSimString::setString(argv[j]);
950 gConnectToSomething = TRUE;
951 }
952 } 947 }
953 948
954 if (!strcmp(gUserServerName, gUserServerDomainName[USERSERVER_AGNI].mName)) 949 if (!strcmp(gUserServerName, gUserServerDomainName[USERSERVER_AGNI].mName))
@@ -5346,18 +5341,13 @@ int parse_args(int argc, char **argv)
5346 // Sometimes IP addresses passed in on the command line have leading 5341 // Sometimes IP addresses passed in on the command line have leading
5347 // or trailing white space. Use LLString to clean that up. 5342 // or trailing white space. Use LLString to clean that up.
5348 LLString ip_string; 5343 LLString ip_string;
5349
5350 S32 j; 5344 S32 j;
5351 // agent_sim_host holds the settings for connecting to the first simulator.
5352 5345
5353 for (j = 1; j < argc; j++) 5346 for (j = 1; j < argc; j++)
5354 { 5347 {
5355 gArgs += argv[j]; 5348 gArgs += argv[j];
5356 gArgs += " "; 5349 gArgs += " ";
5357 }
5358 5350
5359 for (j = 1; j < argc; j++)
5360 {
5361 LLString argument = argv[j]; 5351 LLString argument = argv[j];
5362 if ((!strcmp(argv[j], "-port")) && (++j < argc)) 5352 if ((!strcmp(argv[j], "-port")) && (++j < argc))
5363 { 5353 {
@@ -5631,13 +5621,25 @@ int parse_args(int argc, char **argv)
5631 // so this allows us to parse the URL straight off the command line without a "-url" paramater 5621 // so this allows us to parse the URL straight off the command line without a "-url" paramater
5632 else if (!argument.compare(0, std::string( "secondlife://" ).length(), std::string("secondlife://"))) 5622 else if (!argument.compare(0, std::string( "secondlife://" ).length(), std::string("secondlife://")))
5633 { 5623 {
5624 // *NOTE: After setting the url, bail. What can happen is
5625 // that someone can use IE (or potentially other browsers)
5626 // and do the rough equivalent of command injection and
5627 // steal passwords. Phoenix. SL-55321
5634 LLURLSimString::setString(argv[j]); 5628 LLURLSimString::setString(argv[j]);
5635 gConnectToSomething = TRUE; 5629 gConnectToSomething = TRUE;
5630 gArgs += argv[j];
5631 return 0;
5636 } 5632 }
5637 else if (!strcmp(argv[j], "-url") && (++j < argc)) 5633 else if (!strcmp(argv[j], "-url") && (++j < argc))
5638 { 5634 {
5635 // *NOTE: After setting the url, bail. What can happen is
5636 // that someone can use IE (or potentially other browsers)
5637 // and do the rough equivalent of command injection and
5638 // steal passwords. Phoenix. SL-55321
5639 LLURLSimString::setString(argv[j]); 5639 LLURLSimString::setString(argv[j]);
5640 gConnectToSomething = TRUE; 5640 gConnectToSomething = TRUE;
5641 gArgs += argv[j];
5642 return 0;
5641 } 5643 }
5642 else if (!strcmp(argv[j], "-ignorepixeldepth")) 5644 else if (!strcmp(argv[j], "-ignorepixeldepth"))
5643 { 5645 {