aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/app_settings/logcontrol.xml16
-rw-r--r--linden/indra/newview/llmediactrl.cpp7
-rw-r--r--linden/indra/newview/llpanellogin.cpp1
3 files changed, 16 insertions, 8 deletions
diff --git a/linden/indra/newview/app_settings/logcontrol.xml b/linden/indra/newview/app_settings/logcontrol.xml
index cdc837d..b7bc07b 100644
--- a/linden/indra/newview/app_settings/logcontrol.xml
+++ b/linden/indra/newview/app_settings/logcontrol.xml
@@ -57,7 +57,7 @@
57 <!--<string>Inventory</string>--> 57 <!--<string>Inventory</string>-->
58 <!--<string>HUDEffect</string>--> 58 <!--<string>HUDEffect</string>-->
59 <!--<string>MarkerFile</string>--> 59 <!--<string>MarkerFile</string>-->
60 <!--<string>MediaImpl</string>--> 60 <!--<string>Media</string>-->
61 <!--<string>MediaInfo</string>--> 61 <!--<string>MediaInfo</string>-->
62 <!--<string>MediaCallback</string>--> 62 <!--<string>MediaCallback</string>-->
63 <!--<string>MediaBuffering</string>--> 63 <!--<string>MediaBuffering</string>-->
@@ -65,15 +65,17 @@
65 <!--<string>MediaState</string>--> 65 <!--<string>MediaState</string>-->
66 66
67 <!--<string>Messaging</string>--> 67 <!--<string>Messaging</string>-->
68
69 <string>NewsBar</string>
68 <!--<string>Notifications</string>--> 70 <!--<string>Notifications</string>-->
69 <string>Plugin</string> 71<!-- <string>Plugin</string> -->
70 <string>PluginClassMedia</string> 72 <string>PluginClassMedia</string>
71 <string>PluginInstance</string> 73<!-- <string>PluginInstance</string> -->
72 <string>PluginPipe</string> 74<!-- <string>PluginPipe</string> -->
73 <string>PluginChild</string> 75<!-- <string>PluginChild</string> -->
74 <!--<string>PluginSpam</string>--> 76 <!--<string>PluginSpam</string>-->
75 <string>PluginParent</string> 77<!-- <string>PluginParent</string> -->
76 <string>PluginViewerMedia</string> 78<!-- <string>PluginViewerMedia</string> -->
77 79
78 <!--<string>Radar</string>--> 80 <!--<string>Radar</string>-->
79 <!--<string>ShaderLoading</string>--> 81 <!--<string>ShaderLoading</string>-->
diff --git a/linden/indra/newview/llmediactrl.cpp b/linden/indra/newview/llmediactrl.cpp
index 8b60326..ff7ba22 100644
--- a/linden/indra/newview/llmediactrl.cpp
+++ b/linden/indra/newview/llmediactrl.cpp
@@ -37,6 +37,7 @@
37 37
38// viewer includes 38// viewer includes
39#include "llfloaterhtml.h" 39#include "llfloaterhtml.h"
40#include "llfloatermediabrowser.h"
40#include "llfloaterworldmap.h" 41#include "llfloaterworldmap.h"
41#include "lluictrlfactory.h" 42#include "lluictrlfactory.h"
42#include "llurldispatcher.h" 43#include "llurldispatcher.h"
@@ -746,7 +747,7 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event)
746 747
747 case MEDIA_EVENT_CURSOR_CHANGED: 748 case MEDIA_EVENT_CURSOR_CHANGED:
748 { 749 {
749 LL_INFOS("Media") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << self->getCursorName() << LL_ENDL; 750 LL_DEBUGS("MediaEventCursor") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << self->getCursorName() << LL_ENDL;
750 751
751 std::string cursor = self->getCursorName(); 752 std::string cursor = self->getCursorName();
752 753
@@ -865,6 +866,7 @@ void LLMediaCtrl::onClickLinkHref( LLPluginClassMedia* self )
865 const std::string protocol2( "https://" ); 866 const std::string protocol2( "https://" );
866 if( mOpenLinksInExternalBrowser ) 867 if( mOpenLinksInExternalBrowser )
867 { 868 {
869 LL_DEBUGS("Media") << "OpenLinksInExternalBrowser" << LL_ENDL;
868 if ( !url.empty() ) 870 if ( !url.empty() )
869 { 871 {
870 if ( LLStringUtil::compareInsensitive( url.substr( 0, protocol1.length() ), protocol1 ) == 0 || 872 if ( LLStringUtil::compareInsensitive( url.substr( 0, protocol1.length() ), protocol1 ) == 0 ||
@@ -877,6 +879,7 @@ void LLMediaCtrl::onClickLinkHref( LLPluginClassMedia* self )
877 else 879 else
878 if( mOpenLinksInInternalBrowser ) 880 if( mOpenLinksInInternalBrowser )
879 { 881 {
882 LL_DEBUGS("Media") << "OpenLinksInInternalBrowser" << LL_ENDL;
880 if ( !url.empty() ) 883 if ( !url.empty() )
881 { 884 {
882 if ( LLStringUtil::compareInsensitive( url.substr( 0, protocol1.length() ), protocol1 ) == 0 || 885 if ( LLStringUtil::compareInsensitive( url.substr( 0, protocol1.length() ), protocol1 ) == 0 ||
@@ -891,6 +894,8 @@ void LLMediaCtrl::onClickLinkHref( LLPluginClassMedia* self )
891// "Second Life Browser", 894// "Second Life Browser",
892// open_links_externally, 895// open_links_externally,
893// mTrusted); 896// mTrusted);
897
898 LLFloaterMediaBrowser::getInstance()->openMedia(url);
894 } 899 }
895 } 900 }
896 } 901 }
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 4fe0624..e67f336 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -1216,6 +1216,7 @@ bool LLPanelLogin::loadNewsBar()
1216 curl_free(curl_version); 1216 curl_free(curl_version);
1217 curl_free(curl_skin); 1217 curl_free(curl_skin);
1218 1218
1219 LL_DEBUGS("NewsBar")<< "news bar setup to navigate to: " << full_url.str() << LL_ENDL;
1219 news_bar->navigateTo( full_url.str() ); 1220 news_bar->navigateTo( full_url.str() );
1220 1221
1221 1222