Remove diamondware and rearrange login panel to be like it is in the default viewer 2 build

meow-7.2.2
Roxie Linden 2010-04-21 14:22:49 -07:00
parent 270d133882
commit c139e52a5b
7 changed files with 44 additions and 74 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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();
}

View File

@ -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

View File

@ -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,38 +101,8 @@ label="Remember password"
top_pad="3"
name="remember_check"
width="135" />
<text
follows="left|bottom"
font="SansSerifSmall"
height="15"
left_pad="10"
name="start_location_text"
top="20"
width="250">
Start at:
</text>
<combo_box
allow_text_entry="true"
control_name="LoginLocation"
follows="left|bottom"
height="23"
max_chars="128"
top_pad="0"
name="start_location_combo"
width="250">
<combo_box.item
label="My last location"
name="MyLastLocation"
value="last" />
<combo_box.item
label="My home"
name="MyHome"
value="home" />
<combo_box.item
label="&lt;Type region name&gt;"
name="Typeregionname" value="" />
</combo_box>
<button
follows="left|bottom"
height="23"
image_unselected="PushButton_On"
image_selected="PushButton_On_Selected"
@ -146,22 +117,43 @@ name="Typeregionname" value="" />
follows="left|bottom"
font="SansSerifSmall"
height="15"
left_pad="10"
left_pad="18"
name="start_location_text"
top="20"
width="150">
Grid Name:
width="130">
Start at:
</text>
<combo_box
follows="left|bottom"
allow_text_entry="true"
control_name="LoginLocation"
follows="left|bottom"
height="23"
max_chars="128"
top_pad="0"
name="start_location_combo"
width="135">
<combo_box.item
label="My last location"
name="MyLastLocation"
value="last" />
<combo_box.item
label="My home"
name="MyHome"
value="home" />
<combo_box.item
label="&lt;Type region name&gt;"
name="Typeregionname" value="" />
</combo_box>
<combo_box
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"

View File

@ -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")