diff options
| author | Roxie Linden <roxie@lindenlab.com> | 2010-04-21 14:22:49 -0700 | 
|---|---|---|
| committer | Roxie Linden <roxie@lindenlab.com> | 2010-04-21 14:22:49 -0700 | 
| commit | c139e52a5bf1ca2273d4fd22f28f55b12ba8a2d7 (patch) | |
| tree | d18b60262d24c69cb8d12d795b5dd700f4384148 | |
| parent | 270d13388223b641b3746000209c2c55c5fb641d (diff) | |
Remove diamondware and rearrange login panel to be like it is in the default viewer 2 build
| -rw-r--r-- | indra/newview/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | indra/newview/app_settings/settings.xml | 4 | ||||
| -rw-r--r-- | indra/newview/llpanellogin.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/llvoiceclient.cpp | 7 | ||||
| -rw-r--r-- | indra/newview/llvoicevivox.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/panel_login.xml | 62 | ||||
| -rwxr-xr-x | indra/newview/viewer_manifest.py | 17 | 
7 files changed, 34 insertions, 64 deletions
| diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index a5cbaa7451..2b4bb13981 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -515,7 +515,6 @@ set(viewer_SOURCE_FILES      llvoground.cpp      llvoicechannel.cpp      llvoiceclient.cpp -    llvoicedw.cpp      llvoicevisualizer.cpp      llvoicevivox.cpp      llvoinventorylistener.cpp @@ -1019,7 +1018,6 @@ set(viewer_HEADER_FILES      llvoground.h      llvoicechannel.h      llvoiceclient.h -    llvoicedw.h      llvoicevisualizer.h      llvoicevivox.h      llvoinventorylistener.h diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 0b2e657fbb..480c0ffd03 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -3488,7 +3488,7 @@        <key>Type</key>        <string>Boolean</string>        <key>Value</key> -      <integer>1</integer> +      <integer>0</integer>      </map>      <key>ForceMandatoryUpdate</key>      <map> @@ -8579,7 +8579,7 @@        <key>Type</key>        <string>Boolean</string>        <key>Value</key> -      <integer>1</integer> +      <integer>0</integer>      </map>      <key>ShowTangentBasis</key>      <map> diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 2bd763c681..22fb70de73 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -715,7 +715,9 @@ void LLPanelLogin::updateLocationCombo( bool force_visible )  	sInstance->childSetVisible("start_location_combo", show_start);  	sInstance->childSetVisible("start_location_text", show_start); -	sInstance->childSetVisible("server_combo", TRUE); +	BOOL show_server = gSavedSettings.getBOOL("ForceShowGrid"); +	sInstance->childSetVisible("server_combo_text", show_server);	 +	sInstance->childSetVisible("server_combo", show_server);  }  // static diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index 9b311bbb81..250e366087 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -33,7 +33,6 @@  #include "llvoiceclient.h"  #include "llviewercontrol.h"  #include "llviewerwindow.h" -#include "llvoicedw.h"  #include "llvoicevivox.h"  #include "llviewernetwork.h"  #include "llhttpnode.h" @@ -101,11 +100,7 @@ void LLVoiceClient::userAuthorized(const std::string& user_id, const LLUUID &age  	// with a table lookup of sorts.  	std::string voice_server = gSavedSettings.getString("VoiceServerType");  	LL_DEBUGS("Voice") << "voice server type " << voice_server << LL_ENDL; -	if(voice_server == "diamondware") -	{ -		mVoiceModule = (LLVoiceModuleInterface *)LLDiamondwareVoiceClient::getInstance(); -	} -	else if(voice_server == "vivox") +	if(voice_server == "vivox")  	{  		mVoiceModule = (LLVoiceModuleInterface *)LLVivoxVoiceClient::getInstance();  	} diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index bb657841c4..dbecf11597 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -4797,7 +4797,7 @@ std::string LLVivoxVoiceClient::nameFromID(const LLUUID &uuid)  		LLStringUtil::replaceChar(result, '_', ' ');  		return result;  	} -	// Prepending this apparently prevents conflicts with reserved names inside the vivox and diamondware code. +	// Prepending this apparently prevents conflicts with reserved names inside the vivox code.  	result = "x";  	// Base64 encode and replace the pieces of base64 that are less compatible  diff --git a/indra/newview/skins/default/xui/en/panel_login.xml b/indra/newview/skins/default/xui/en/panel_login.xml index ce0a4dd5d0..982ff0fbac 100644 --- a/indra/newview/skins/default/xui/en/panel_login.xml +++ b/indra/newview/skins/default/xui/en/panel_login.xml @@ -48,8 +48,8 @@ auto_resize="false"  follows="left|bottom"  name="login"  layout="topleft" -width="850" -min_width="850" +width="695" +min_width="695"  user_resize="false"  height="80">  <text @@ -80,11 +80,12 @@ height="15"  left_pad="8"  name="password_text"  top="20" -    width="135"> +    width="150">         Password:  </text>  <line_editor  follows="left|bottom" +handle_edit_keys_directly="true"    height="22"    max_length="16"  name="password_edit" @@ -100,14 +101,26 @@ label="Remember password"    top_pad="3"    name="remember_check"   width="135" /> +<button +  follows="left|bottom" +  height="23" +  image_unselected="PushButton_On" +  image_selected="PushButton_On_Selected" +  label="Log In" +  label_color="White" +  layout="topleft" +  left_pad="10" +  name="connect_btn" +  top="35" +  width="90" />    <text    follows="left|bottom"    font="SansSerifSmall"    height="15" -  left_pad="10" +  left_pad="18"    name="start_location_text"  top="20" -  width="250"> +  width="130">         Start at:   </text>  <combo_box @@ -118,7 +131,7 @@ control_name="LoginLocation"  max_chars="128"  top_pad="0"  name="start_location_combo" -     width="250"> +     width="135">  <combo_box.item  label="My last location"  name="MyLastLocation" @@ -131,37 +144,16 @@ name="MyHome"  label="<Type region name>"  name="Typeregionname"   value="" />  </combo_box> -<button -  height="23" -  image_unselected="PushButton_On" -  image_selected="PushButton_On_Selected" -  label="Log In" -  label_color="White" -  layout="topleft" -  left_pad="10" -  name="connect_btn" -  top="35" -  width="90" /> -  <text -  follows="left|bottom" -  font="SansSerifSmall" -  height="15" -  left_pad="10" -  name="start_location_text" -top="20" -  width="150"> -       Grid Name: - </text>  <combo_box -follows="left|bottom"  allow_text_entry="true"  font="SansSerifSmall" -height="23" +   follows="left|right|bottom" +   height="23" +layout="topleft" +top_pad="2"  name="server_combo" -top_pad="0" -width="150" -max_chars="255" -visible="false" /> +width="135" +  visible="false" />  </layout_panel>  <layout_panel  follows="right|bottom" @@ -191,7 +183,7 @@ height="16"  name="forgot_password_text"  top_pad="12"  right="-10" -  width="215"> +  width="180">         Forgot your name or password?  </text>  <text @@ -203,7 +195,7 @@ height="16"  name="login_help"  top_pad="2"  right="-10" -    width="220"> +    width="180">         Need help logging in?   </text>  <!--  <text      follows="right|bottom" diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 659da31007..18ac10fe38 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -397,15 +397,6 @@ class WindowsManifest(ViewerManifest):          self.disable_manifest_check() -        # Diamondware Runtimes -        if self.prefix(src="diamondware-runtime/i686-win32", dst=""): -            self.path("SLVoice_dwTVC.exe") -            self.path("libcurl.dll") -            self.path("libeay32.dll") -            self.path("ssleay32.dll") -            self.path("zlib1.dll") -            self.end_prefix() -          # pull in the crash logger and updater from other projects          # tag:"crash-logger" here as a cue to the exporter          self.path(src='../win_crash_logger/%s/windows-crash-logger.exe' % self.args['configuration'], @@ -615,9 +606,6 @@ class DarwinManifest(ViewerManifest):                  self.path("vivox-runtime/universal-darwin/libvivoxsdk.dylib", "libvivoxsdk.dylib")                  self.path("vivox-runtime/universal-darwin/libvivoxplatform.dylib", "libvivoxplatform.dylib")                  self.path("vivox-runtime/universal-darwin/SLVoice", "SLVoice") -                # DiamondWare runtime                                            -                self.path("diamondware-runtime/universal-darwin/SLVoice_dwTVC","SLVoice_dwTVC") -                self.path("diamondware-runtime/universal-darwin/libfmodex.dylib", "libfmodex.dylib")                  libdir = "../../libraries/universal-darwin/lib_release"                  dylibs = {} @@ -913,11 +901,6 @@ class Linux_i686Manifest(LinuxManifest):                      pass              self.end_prefix("lib") -            # Diamondware runtimes -            if self.prefix(src="diamondware-runtime/i686-linux", dst="bin"): -                    self.path("SLVoice_dwTVC") -                    self.end_prefix() -              # Vivox runtimes              if self.prefix(src="vivox-runtime/i686-linux", dst="bin"):                      self.path("SLVoice") | 
