diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 4a65879f8..08989e628 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -2490,6 +2490,10 @@ BOOL LLTextEditor::handleSpecialKey(const KEY key, const MASK mask, BOOL* return { removeWord(false); } + else + { + handled = false; + } break; case KEY_RETURN: diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 54f0eef85..4b4a622d3 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -717,7 +717,7 @@ Type Boolean Value - 0 + 1 LiruLegacyOutfitStoreObjChanges diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp index 6d2a2ae3e..a8f27731b 100644 --- a/indra/newview/llfloaterwebcontent.cpp +++ b/indra/newview/llfloaterwebcontent.cpp @@ -43,6 +43,7 @@ LLFloaterWebContent::_Params::_Params() : url("url"), target("target"), + initial_mime_type("initial_mime_type", "text/html"), id("id"), window_class("window_class", "web_content"), show_chrome("show_chrome", true), @@ -283,9 +284,9 @@ void LLFloaterWebContent::open_media(const Params& p) { // Specifying a mime type of text/html here causes the plugin system to skip the MIME type probe and just open a browser plugin. LLViewerMedia::proxyWindowOpened(p.target(), p.id()); - mWebBrowser->setHomePageUrl(p.url, "text/html"); + mWebBrowser->setHomePageUrl(p.url, p.initial_mime_type); mWebBrowser->setTarget(p.target); - mWebBrowser->navigateTo(p.url, "text/html"); + mWebBrowser->navigateTo(p.url, p.initial_mime_type); set_current_url(p.url); diff --git a/indra/newview/llfloaterwebcontent.h b/indra/newview/llfloaterwebcontent.h index 9fabe42ac..8dbca1d24 100644 --- a/indra/newview/llfloaterwebcontent.h +++ b/indra/newview/llfloaterwebcontent.h @@ -50,6 +50,7 @@ public: { Optional url, target, + initial_mime_type, window_class, id; Optional show_chrome, diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index ed0fff564..efdafd28e 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -487,8 +487,8 @@ BOOL LLFloaterIMPanel::postBuild() if (LLUICtrl* ctrl = findChild("history_btn")) ctrl->setCommitCallback(boost::bind(&LLFloaterIMPanel::onClickHistory, this)); - getChild("start_call_btn")->setCommitCallback(boost::bind(&LLIMMgr::startCall, gIMMgr, mSessionUUID, LLVoiceChannel::OUTGOING_CALL)); - getChild("end_call_btn")->setCommitCallback(boost::bind(&LLIMMgr::endCall, gIMMgr, mSessionUUID)); + getChild("start_call_btn")->setCommitCallback(boost::bind(&LLIMMgr::startCall, gIMMgr, boost::ref(mSessionUUID), LLVoiceChannel::OUTGOING_CALL)); + getChild("end_call_btn")->setCommitCallback(boost::bind(&LLIMMgr::endCall, gIMMgr, boost::ref(mSessionUUID))); getChild("send_btn")->setCommitCallback(boost::bind(&LLFloaterIMPanel::onSendMsg,this)); if (LLButton* btn = findChild("toggle_active_speakers_btn")) btn->setCommitCallback(boost::bind(&LLFloaterIMPanel::onClickToggleActiveSpeakers, this, _2)); @@ -506,7 +506,7 @@ BOOL LLFloaterIMPanel::postBuild() mSpeakerPanel->refreshSpeakers(); } - if (mDialog == IM_NOTHING_SPECIAL) + if (mSessionType == P2P_SESSION) { getChild("mute_btn")->setCommitCallback(boost::bind(&LLFloaterIMPanel::onClickMuteVoice, this)); getChild("speaker_volume")->setCommitCallback(boost::bind(&LLVoiceClient::setUserVolume, LLVoiceClient::getInstance(), mOtherParticipantUUID, _2)); @@ -995,11 +995,13 @@ void LLFloaterIMPanel::onFlyoutCommit(LLComboBox* flyout, const LLSD& value) void show_log_browser(const std::string& name, const std::string& id) { +#if LL_WINDOWS // Singu TODO: Other platforms? if (gSavedSettings.getBOOL("LiruLegacyLogLaunch")) { gViewerWindow->getWindow()->ShellEx("\"" + LLLogChat::makeLogFileName(name) + "\""); return; } +#endif LLFloaterWebContent::Params p; p.url("file:///" + LLLogChat::makeLogFileName(name)); p.id(id); @@ -1143,7 +1145,7 @@ bool convert_roleplay_text(std::string& text); // Returns true if text is an act void LLFloaterIMPanel::onSendMsg() { if (!gAgent.isGodlike() - && (mDialog == IM_NOTHING_SPECIAL) + && (mSessionType == P2P_SESSION) && mOtherParticipantUUID.isNull()) { llinfos << "Cannot send IM to everyone unless you're a god." << llendl; @@ -1256,7 +1258,7 @@ void LLFloaterIMPanel::onSendMsg() } // local echo - if((mDialog == IM_NOTHING_SPECIAL) && + if((mSessionType == P2P_SESSION) && (mOtherParticipantUUID.notNull())) { std::string name; @@ -1388,7 +1390,7 @@ void LLFloaterIMPanel::sendTypingState(bool typing) return; // Don't want to send typing indicators to multiple people, potentially too // much network traffic. Only send in person-to-person IMs. - if (mDialog != IM_NOTHING_SPECIAL) return; + if (mSessionType == P2P_SESSION) return; std::string name; gAgent.buildFullname(name); diff --git a/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/indra/newview/skins/default/xui/en-us/menu_viewer.xml index cc86cd35f..e136cbc1f 100644 --- a/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en-us/menu_viewer.xml @@ -946,7 +946,7 @@ + userdata="WebLaunchSinguIssue,http://links.singularityviewer.org/?to=issues" /> diff --git a/indra/newview/skins/default/xui/fr/floater_media_browser.xml b/indra/newview/skins/default/xui/fr/floater_media_browser.xml deleted file mode 100644 index 3559ec984..000000000 --- a/indra/newview/skins/default/xui/fr/floater_media_browser.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - -