From 46bd7a520b7f026765e1c3db9d0cbf0132407c97 Mon Sep 17 00:00:00 2001 From: Liny Date: Wed, 19 Jan 2011 13:49:50 -0800 Subject: [PATCH 01/15] Initial port of disabling TP/login/logout progress screens. Bugs: Chat history seems to want to open if login progress screen is disabled. (BSD) --- indra/newview/app_settings/settings.xml | 33 +++++++++++++++++++++++++ indra/newview/llappviewer.cpp | 4 +-- indra/newview/llstartup.cpp | 25 ++++++++++++++++--- indra/newview/llviewerdisplay.cpp | 14 ++++++++--- 4 files changed, 66 insertions(+), 10 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 8bf6699704..e60ae3bb63 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -12921,5 +12921,38 @@ Value 0 + PhoenixDisableLoginScreens + + Comment + Disable login screen progress bar + Persist + 1 + Type + Boolean + Value + 1 + + PhoenixDisableLogoutScreens + + Comment + Disable logout screen progress bar + Persist + 1 + Type + Boolean + Value + 1 + + PhoenixDisableTeleportScreens + + Comment + Disable teleport screens + Persist + 1 + Type + Boolean + Value + 1 + diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 47e27f822c..55a53d04d6 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -4106,7 +4106,7 @@ void LLAppViewer::idleShutdown() static S32 total_uploads = 0; // Sometimes total upload count can change during logout. total_uploads = llmax(total_uploads, pending_uploads); - gViewerWindow->setShowProgress(TRUE); + gViewerWindow->setShowProgress(!gSavedSettings.getBOOL("PhoenixDisableLogoutScreens")); S32 finished_uploads = total_uploads - pending_uploads; F32 percent = 100.f * finished_uploads / total_uploads; gViewerWindow->setProgressPercent(percent); @@ -4120,7 +4120,7 @@ void LLAppViewer::idleShutdown() sendLogoutRequest(); // Wait for a LogoutReply message - gViewerWindow->setShowProgress(TRUE); + gViewerWindow->setShowProgress(!gSavedSettings.getBOOL("PhoenixDisableLogoutScreens")); gViewerWindow->setProgressPercent(100.f); gViewerWindow->setProgressString(LLTrans::getString("LoggingOut")); return; diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 2dd7383b2b..0ffb6094b0 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -265,6 +265,7 @@ void trust_cert_done(const LLSD& notification, const LLSD& response); void apply_udp_blacklist(const std::string& csv); bool process_login_success_response(); void transition_back_to_login_panel(const std::string& emsg); +void cmdline_printchat(std::string message); void callback_cache_name(const LLUUID& id, const std::string& full_name, bool is_group) { @@ -949,7 +950,7 @@ bool idle_startup() } // Display the startup progress bar. - gViewerWindow->setShowProgress(TRUE); + gViewerWindow->setShowProgress(!gSavedSettings.getBOOL("PhoenixDisableLoginScreens")); gViewerWindow->setProgressCancelButtonVisible(TRUE, LLTrans::getString("Quit")); // Poke the VFS, which could potentially block for a while if @@ -2132,10 +2133,26 @@ bool first_run_dialog_callback(const LLSD& notification, const LLSD& response) void set_startup_status(const F32 frac, const std::string& string, const std::string& msg) { - gViewerWindow->setProgressPercent(frac*100); - gViewerWindow->setProgressString(string); + if(gSavedSettings.getBOOL("PhoenixDisableLoginScreens")) + { + static std::string last_d; + std::string new_d = string; + if(new_d != last_d) + { + last_d = new_d; + cmdline_printchat(new_d); + if(new_d == LLTrans::getString("LoginWaitingForRegionHandshake")) + { + cmdline_printchat(msg); + } + } + }else + { + gViewerWindow->setProgressPercent(frac*100); + gViewerWindow->setProgressString(string); - gViewerWindow->setProgressMessage(msg); + gViewerWindow->setProgressMessage(msg); + } } bool login_alert_status(const LLSD& notification, const LLSD& response) diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index a864ae09db..642a942745 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -380,8 +380,11 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot) // Transition to REQUESTED. Viewer has sent some kind // of TeleportRequest to the source simulator gTeleportDisplayTimer.reset(); - gViewerWindow->setShowProgress(TRUE); - gViewerWindow->setProgressPercent(0); + if(!gSavedSettings.getBOOL("PhoenixDisableTeleportScreens")) + { + gViewerWindow->setShowProgress(TRUE); + gViewerWindow->setProgressPercent(0); + } gAgent.setTeleportState( LLAgent::TELEPORT_REQUESTED ); gAgent.setTeleportMessage( LLAgent::sTeleportProgressMessages["requesting"]); @@ -408,14 +411,17 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot) gAgent.setTeleportMessage( LLAgent::sTeleportProgressMessages["arriving"]); gTextureList.mForceResetTextureStats = TRUE; - gAgentCamera.resetView(TRUE, TRUE); + if(!gSavedSettings.getBOOL("PhoenixDisableTeleportScreens")) + { + gAgentCamera.resetView(TRUE, TRUE); + } break; case LLAgent::TELEPORT_ARRIVING: // Make the user wait while content "pre-caches" { F32 arrival_fraction = (gTeleportArrivalTimer.getElapsedTimeF32() / TELEPORT_ARRIVAL_DELAY); - if( arrival_fraction > 1.f ) + if( arrival_fraction > 1.f || gSavedSettings.getBOOL("PhoenixDisableTeleportScreens") ) { arrival_fraction = 1.f; //LLFirstUse::useTeleport(); From 748cfa8cd8ca2b68a0f34ff53b85a6939bff7701 Mon Sep 17 00:00:00 2001 From: Arrehn Date: Sun, 23 Jan 2011 18:38:51 -0500 Subject: [PATCH 02/15] Branching for Preview Release #1 --HG-- branch : Firestorm_2.4.1 --- indra/Version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/Version b/indra/Version index f0f2bb5105..7a40912e47 100644 --- a/indra/Version +++ b/indra/Version @@ -1 +1 @@ -VERSION_VIEWER=2.4.0 +VERSION_VIEWER=2.4.1 From 2b7b9cd2d769f5069af2e8e9101603baf1f9a1be Mon Sep 17 00:00:00 2001 From: Arrehn Date: Mon, 24 Jan 2011 01:23:15 -0500 Subject: [PATCH 03/15] Tank_Master - V1 style chat should be the default --HG-- branch : Firestorm_2.4.1 --- indra/newview/app_settings/settings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 73428cb36e..1db273e75e 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -6620,7 +6620,7 @@ Type Boolean Value - 0 + 1 PluginInstancesLow From a32861fc6d938fdd45e77e02b72726dafc968513 Mon Sep 17 00:00:00 2001 From: Arrehn Date: Mon, 24 Jan 2011 01:26:28 -0500 Subject: [PATCH 04/15] More details / clarity for preference settings --HG-- branch : Firestorm_2.4.1 --- .../skins/default/xui/en/panel_preferences_advanced.xml | 6 +++--- .../newview/skins/default/xui/en/panel_preferences_chat.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml index 6ebabb6a4d..1a3eea5d05 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml @@ -47,7 +47,7 @@ control_name="AllowMultipleViewers" follows="top|left" height="15" - label="Allow Multiple Viewer" + label="Allow Multiple Viewers (May reduce stability and performance)" layout="topleft" left="30" name="allow_multiple_viewer_check" @@ -57,7 +57,7 @@ control_name="ForceShowGrid" follows="top|left" height="15" - label="Show Grid Selection at login" + label="Allow login to other grids (Not all grids will support Firestorm)" layout="topleft" left="30" name="show_grid_selection_check" @@ -67,7 +67,7 @@ control_name="UseDebugMenus" follows="top|left" height="15" - label="Show Advanced Menu" + label="Show Advanced Menu (Use at own risk!)" layout="topleft" left="30" name="show_advanced_menu_check" diff --git a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml index 693c33be55..3c72a282a2 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml @@ -81,7 +81,7 @@ control_name="ShowChatMiniIcons" height="16" initial_value="false" - label="Show avatar icons within chat history" + label="Show icons in chat headers" layout="topleft" left="30" name="ShowChatMiniIcons" @@ -99,7 +99,7 @@ Date: Mon, 24 Jan 2011 04:20:44 -0500 Subject: [PATCH 05/15] Updated Featuretable --HG-- branch : Firestorm_2.4.1 --- FIRESTORM-FEATURETABLE.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FIRESTORM-FEATURETABLE.txt b/FIRESTORM-FEATURETABLE.txt index 049e4a186b..cc36f70eb8 100644 --- a/FIRESTORM-FEATURETABLE.txt +++ b/FIRESTORM-FEATURETABLE.txt @@ -43,4 +43,8 @@ Hippos! LGPL V1_MouseCursors LGPL/Creative Commons Attribution-Share Alike 3.0 V1_Icons Creative Commons Attribution-Share Alike 3.0 AFK_ExtraControls LGPL -IgnoreFinishAnimation BSD/PD \ No newline at end of file +IgnoreFinishAnimation BSD/PD +Comm_Contacts_Tab LGPL +QuickAdditionalInv LGPL +UpdatedLibCURL Curl (MIT/X11) +UpdatedWebKit LGPL From 00d0f388202d6baab7eb79a12f11545009403f5a Mon Sep 17 00:00:00 2001 From: Arrehn Date: Mon, 24 Jan 2011 10:44:23 -0500 Subject: [PATCH 06/15] Bottom tray now pops up inventory sidepanel, inventory sidepanel has button for secondary floater --HG-- branch : Firestorm_2.4.1 --- indra/newview/llbottomtray.cpp | 6 ++ .../skins/default/xui/en/panel_bottomtray.xml | 63 ++++++++--- .../default/xui/en/panel_main_inventory.xml | 82 +++++++++----- .../skins/default/xui/en/panel_status_bar.xml | 1 + .../default/xui/en/sidepanel_inventory.xml | 2 +- .../firestorm/xui/en/panel_bottomtray.xml | 100 ++++++++++++------ .../metaharper/xui/en/panel_bottomtray.xml | 61 ++++++++--- .../xui/en/panel_main_inventory.xml | 82 +++++++++----- .../metaharper/xui/en/sidepanel_inventory.xml | 4 +- 9 files changed, 281 insertions(+), 120 deletions(-) diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index 4e69cf2d74..3ff8c705fc 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -577,6 +577,7 @@ BOOL LLBottomTray::postBuild() getChild("sidebar_people_btn")->setCommitCallback(boost::bind(&LLBottomTray::showSidebarPanel, this, "panel_people")); getChild("sidebar_places_btn")->setCommitCallback(boost::bind(&LLBottomTray::showSidebarPanel, this, "panel_places")); getChild("sidebar_appearance_btn")->setCommitCallback(boost::bind(&LLBottomTray::showSidebarPanel, this, "sidepanel_appearance")); + getChild("sidebar_inv_btn")->setCommitCallback(boost::bind(&LLBottomTray::showSidebarPanel, this, "sidepanel_inventory")); return TRUE; } @@ -887,6 +888,11 @@ void LLBottomTray::showSidebarPanel(const std::string& panel_name) tab_name = "sidebar_appearance"; btn = getChild("sidebar_appearance_btn"); } + else if (panel_name == "sidepanel_inventory") + { + tab_name = "sidebar_inventory"; + btn = getChild("sidebar_inv_btn"); + } // toggle minimization undocked LLFloater* floater_tab = LLFloaterReg::getInstance("side_bar_tab", tab_name); diff --git a/indra/newview/skins/default/xui/en/panel_bottomtray.xml b/indra/newview/skins/default/xui/en/panel_bottomtray.xml index 56b852c1ad..be2bbcb985 100644 --- a/indra/newview/skins/default/xui/en/panel_bottomtray.xml +++ b/indra/newview/skins/default/xui/en/panel_bottomtray.xml @@ -380,9 +380,7 @@ name="build_btn_panel" user_resize="false" width="40"> - + - - + + - + + + + + + Items: @@ -118,25 +118,25 @@ show_item_link_overlays="true" width="290" /> - - + - - + + + + width="183"> - - + + + width="32"> - - + + diff --git a/indra/newview/skins/default/xui/en/panel_status_bar.xml b/indra/newview/skins/default/xui/en/panel_status_bar.xml index e5d97dbf05..c71e35f0bb 100644 --- a/indra/newview/skins/default/xui/en/panel_status_bar.xml +++ b/indra/newview/skins/default/xui/en/panel_status_bar.xml @@ -222,6 +222,7 @@ - - - - - - + + + + + + + + Items: @@ -118,25 +118,25 @@ show_item_link_overlays="true" width="290" /> - - + - - + + + + width="183"> - - + + + width="32"> - - + + diff --git a/indra/newview/skins/metaharper/xui/en/sidepanel_inventory.xml b/indra/newview/skins/metaharper/xui/en/sidepanel_inventory.xml index f3c6895cee..29d73c0a65 100644 --- a/indra/newview/skins/metaharper/xui/en/sidepanel_inventory.xml +++ b/indra/newview/skins/metaharper/xui/en/sidepanel_inventory.xml @@ -102,11 +102,11 @@ user_resize="false" auto_resize="true" width="102"> -