From 07e27045f6aebea27f504a79955a7b871a299b6f Mon Sep 17 00:00:00 2001 From: Lis Pardi Date: Tue, 27 Oct 2009 18:47:27 -0400 Subject: ext-1925 dig Push to talk out of 1.23 and reinstate in viewer 2 --- .../default/xui/en/panel_preferences_advanced.xml | 105 ++++++++++++++------- 1 file changed, 69 insertions(+), 36 deletions(-) (limited to 'indra') 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 f42bab14de..258e63ae76 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml @@ -20,8 +20,9 @@ - - - - Aspect Ratio + Aspect ratio - Camera: @@ -128,7 +115,7 @@ Camera: can_edit_text="true" control_name="CameraAngle" decimal_digits="2" - top_pad="10" + top_pad="5" follows="left|top" height="16" increment="0.025" @@ -159,56 +146,62 @@ Camera: name="camera_offset_scale" show_text="false" width="240" - top_pad="10"/> + top_pad="5"/> + width="270" + top_pad="5"> Automatic positioning for: + top_pad="5" /> - Avatars: + top_pad="0"/> + top_pad="5"/> - - + + + @@ -367,7 +359,6 @@ function="MediaCtrl.CommitURL" /> is_toggle="true" layout="topleft" scale_image="false" - picture_style="true" tool_tip="Mute This Media" top_delta="22" min_width="24" @@ -391,7 +382,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_scrollup.png" layout="topleft" tool_tip="Volume up" - picture_style="true" scale_image="true" min_width="20" width="20" > @@ -414,7 +404,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_scrolldown.png" layout="topleft" tool_tip="Volume down" - picture_style="true" scale_image="true" min_width="20" width="20"> @@ -446,7 +435,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_scrollup.png" layout="topleft" tool_tip="Scroll up" - picture_style="true" scale_image="false" left="12" top_delta="4" @@ -460,7 +448,6 @@ function="MediaCtrl.CommitURL" /> layout="topleft" left="3" tool_tip="Scroll left" - picture_style="true" scale_image="false" top="12" min_width="8" @@ -473,7 +460,6 @@ function="MediaCtrl.CommitURL" /> layout="topleft" left_pad="9" tool_tip="Scroll right" - picture_style="true" scale_image="false" top_delta="0" min_width="8" @@ -486,7 +472,6 @@ function="MediaCtrl.CommitURL" /> layout="topleft" left="12" tool_tip="Scroll down" - picture_style="true" scale_image="false" top="20" min_width="8" @@ -506,7 +491,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_optimalzoom.png" layout="topleft" tool_tip="Zoom" - picture_style="true" min_width="22" width="22"> image_unselected="media_btn_newwindow.png" layout="topleft" tool_tip = "Open URL in browser" - picture_style="true" top_delta="-3" min_width="24" width="24" > @@ -579,7 +562,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_done.png" layout="topleft" tool_tip ="Close media control" - picture_style="true" top_delta="-4" width="21" > diff --git a/indra/newview/skins/default/xui/en/panel_scrolling_param.xml b/indra/newview/skins/default/xui/en/panel_scrolling_param.xml index 21ecd01839..44afadf65a 100644 --- a/indra/newview/skins/default/xui/en/panel_scrolling_param.xml +++ b/indra/newview/skins/default/xui/en/panel_scrolling_param.xml @@ -56,7 +56,6 @@ layout="topleft" left="2" name="less" - picture_style="true" tab_stop="false" top="0" width="132" /> @@ -70,7 +69,6 @@ layout="topleft" left_pad="2" name="more" - picture_style="true" tab_stop="false" top_delta="0" width="132" /> diff --git a/indra/newview/skins/default/xui/en/panel_teleport_history.xml b/indra/newview/skins/default/xui/en/panel_teleport_history.xml index 4169c6245b..bbfffe7bab 100644 --- a/indra/newview/skins/default/xui/en/panel_teleport_history.xml +++ b/indra/newview/skins/default/xui/en/panel_teleport_history.xml @@ -176,7 +176,6 @@ layout="topleft" left="10" name="gear_btn" - picture_style="true" top="5" width="18" /> diff --git a/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml b/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml index 73a7d95ff4..289daee7c2 100644 --- a/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml +++ b/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml @@ -56,7 +56,6 @@ left_pad="3" right="-31" name="info_btn" - picture_style="true" top_delta="-2" width="16" /> + + + + + + + + + + + + + + + + + + + The Mighty Moose of mooseville soundvillemoose + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/indra/newview/skins/default/xui/en/panel_places.xml b/indra/newview/skins/default/xui/en/panel_places.xml index 5aa53ab46b..87ac5be74a 100644 --- a/indra/newview/skins/default/xui/en/panel_places.xml +++ b/indra/newview/skins/default/xui/en/panel_places.xml @@ -40,14 +40,26 @@ background_visible="true" top_pad="10" width="313" /> + diff --git a/indra/newview/skins/default/xui/en/panel_profile.xml b/indra/newview/skins/default/xui/en/panel_profile.xml index 5af7d7d674..c3a92f9d9a 100644 --- a/indra/newview/skins/default/xui/en/panel_profile.xml +++ b/indra/newview/skins/default/xui/en/panel_profile.xml @@ -157,7 +157,7 @@ value="http://librarianavengers.org" width="280" word_wrap="false" - use_elipsis="true" + use_ellipses="true" /> + image_unselected="PushButton_Off" + image_selected="PushButton_Selected" + image_disabled="PushButton_Disabled" + image_disabled_selected="PushButton_Selected_Disabled" /> + + + + + + + -- cgit v1.2.3 From dc365be4d23d8070a4f9e670918dbe8ccbe8cc79 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Wed, 4 Nov 2009 18:03:04 -0500 Subject: For EXT-1985: Clothing previously taken off is re-worn when creating a new clothing item in appearance mode. General problem with failing to update the COF when clothing items were removed. Added hook in removeWearableFinal, which should guarantee that we're always removing clothing links when we need to. --- indra/newview/llagentwearables.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra') diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 4b3d27767c..7d215b5778 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1393,6 +1393,7 @@ void LLAgentWearables::removeWearableFinal(const EWearableType type, bool do_rem const LLUUID &item_id = getWearableItemID(type,i); popWearable(type,i); gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); + LLAppearanceManager::removeItemLinks(item_id,false); //queryWearableCache(); // moved below if (old_wearable) @@ -1409,6 +1410,7 @@ void LLAgentWearables::removeWearableFinal(const EWearableType type, bool do_rem const LLUUID &item_id = getWearableItemID(type,index); popWearable(type, index); gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); + LLAppearanceManager::removeItemLinks(item_id,false); //queryWearableCache(); // moved below -- cgit v1.2.3 From 0520ad677a380e81f6d166bfbcbed23333533b77 Mon Sep 17 00:00:00 2001 From: Leyla Farazha Date: Wed, 4 Nov 2009 15:06:56 -0800 Subject: EXT-1739 Preferences > Sounds > Device settings -- Input/Output controls don't work EXT-2073 Need ability to change font style of tab headers EXT-1505 Kill text drop shadow on Menu and Tabs reviewed by Richard --- indra/llui/llmenugl.cpp | 24 ++++---------- indra/llui/lltabcontainer.cpp | 4 ++- indra/newview/llfloatervoicedevicesettings.cpp | 17 ++++++++++ indra/newview/llfloatervoicedevicesettings.h | 2 ++ .../default/xui/en/panel_preferences_sound.xml | 37 ++++++++++++++-------- .../skins/default/xui/en/widgets/tab_container.xml | 1 + 6 files changed, 52 insertions(+), 33 deletions(-) (limited to 'indra') diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 91e7e46195..36d8e5ed71 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -459,12 +459,6 @@ void LLMenuItemGL::draw( void ) LLColor4 color; - LLFontGL::ShadowType shadow_style = LLFontGL::NO_SHADOW; - if (getEnabled() && !mDrawTextDisabled ) - { - shadow_style = LLFontGL::DROP_SHADOW_SOFT; - } - if ( getEnabled() && getHighlight() ) { color = mHighlightForeground.get(); @@ -482,26 +476,26 @@ void LLMenuItemGL::draw( void ) if (mBriefItem) { mFont->render( mLabel, 0, BRIEF_PAD_PIXELS / 2, 0, color, - LLFontGL::LEFT, LLFontGL::BOTTOM, LLFontGL::NORMAL, shadow_style ); + LLFontGL::LEFT, LLFontGL::BOTTOM, LLFontGL::NORMAL); } else { if( !mDrawBoolLabel.empty() ) { mFont->render( mDrawBoolLabel.getWString(), 0, (F32)LEFT_PAD_PIXELS, ((F32)MENU_ITEM_PADDING / 2.f) + 1.f, color, - LLFontGL::LEFT, LLFontGL::BOTTOM, LLFontGL::NORMAL, shadow_style, S32_MAX, S32_MAX, NULL, FALSE ); + LLFontGL::LEFT, LLFontGL::BOTTOM, LLFontGL::NORMAL, LLFontGL::NO_SHADOW, S32_MAX, S32_MAX, NULL, FALSE ); } mFont->render( mLabel.getWString(), 0, (F32)LEFT_PLAIN_PIXELS, ((F32)MENU_ITEM_PADDING / 2.f) + 1.f, color, - LLFontGL::LEFT, LLFontGL::BOTTOM, LLFontGL::NORMAL, shadow_style, S32_MAX, S32_MAX, NULL, FALSE ); + LLFontGL::LEFT, LLFontGL::BOTTOM, LLFontGL::NORMAL, LLFontGL::NO_SHADOW, S32_MAX, S32_MAX, NULL, FALSE ); if( !mDrawAccelLabel.empty() ) { mFont->render( mDrawAccelLabel.getWString(), 0, (F32)getRect().mRight - (F32)RIGHT_PLAIN_PIXELS, ((F32)MENU_ITEM_PADDING / 2.f) + 1.f, color, - LLFontGL::RIGHT, LLFontGL::BOTTOM, LLFontGL::NORMAL, shadow_style, S32_MAX, S32_MAX, NULL, FALSE ); + LLFontGL::RIGHT, LLFontGL::BOTTOM, LLFontGL::NORMAL, LLFontGL::NO_SHADOW, S32_MAX, S32_MAX, NULL, FALSE ); } if( !mDrawBranchLabel.empty() ) { mFont->render( mDrawBranchLabel.getWString(), 0, (F32)getRect().mRight - (F32)RIGHT_PAD_PIXELS, ((F32)MENU_ITEM_PADDING / 2.f) + 1.f, color, - LLFontGL::RIGHT, LLFontGL::BOTTOM, LLFontGL::NORMAL, shadow_style, S32_MAX, S32_MAX, NULL, FALSE ); + LLFontGL::RIGHT, LLFontGL::BOTTOM, LLFontGL::NORMAL, LLFontGL::NO_SHADOW, S32_MAX, S32_MAX, NULL, FALSE ); } } @@ -1460,12 +1454,6 @@ void LLMenuItemBranchDownGL::draw( void ) gl_rect_2d( 0, getRect().getHeight(), getRect().getWidth(), 0 ); } - LLFontGL::ShadowType shadow_style = LLFontGL::NO_SHADOW; - if (getEnabled() && !getDrawTextDisabled() ) - { - shadow_style = LLFontGL::DROP_SHADOW_SOFT; - } - LLColor4 color; if (getHighlight()) { @@ -1480,7 +1468,7 @@ void LLMenuItemBranchDownGL::draw( void ) color = mDisabledColor.get(); } getFont()->render( mLabel.getWString(), 0, (F32)getRect().getWidth() / 2.f, (F32)LABEL_BOTTOM_PAD_PIXELS, color, - LLFontGL::HCENTER, LLFontGL::BOTTOM, LLFontGL::NORMAL, shadow_style ); + LLFontGL::HCENTER, LLFontGL::BOTTOM, LLFontGL::NORMAL); // underline navigation key only when keyboard navigation has been initiated diff --git a/indra/llui/lltabcontainer.cpp b/indra/llui/lltabcontainer.cpp index cde4c75518..04c57dcb4e 100644 --- a/indra/llui/lltabcontainer.cpp +++ b/indra/llui/lltabcontainer.cpp @@ -155,7 +155,7 @@ LLTabContainer::LLTabContainer(const LLTabContainer::Params& p) mTotalTabWidth(0), mTabPosition(p.tab_position), mFontHalign(p.font_halign), - mFont(p.font.isProvided() ? p.font() : (mIsVertical ? LLFontGL::getFontSansSerif() : LLFontGL::getFontSansSerifSmall())), + mFont(p.font), mFirstTabParams(p.first_tab), mMiddleTabParams(p.middle_tab), mLastTabParams(p.last_tab) @@ -946,6 +946,7 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel) p.scale_image(true); p.font_halign = mFontHalign; p.tab_stop(false); + p.label_shadow(false); if (indent) { p.pad_left(indent); @@ -965,6 +966,7 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel) p.image_unselected(tab_img); p.image_selected(tab_selected_img); p.tab_stop(false); + p.label_shadow(false); // Try to squeeze in a bit more text p.pad_left(4); p.pad_right(2); diff --git a/indra/newview/llfloatervoicedevicesettings.cpp b/indra/newview/llfloatervoicedevicesettings.cpp index aca9198f59..bbeb287171 100644 --- a/indra/newview/llfloatervoicedevicesettings.cpp +++ b/indra/newview/llfloatervoicedevicesettings.cpp @@ -49,6 +49,9 @@ #include "lluictrlfactory.h" +static LLRegisterPanelClassWrapper t_panel_group_general("panel_voice_device_settings"); + + LLPanelVoiceDeviceSettings::LLPanelVoiceDeviceSettings() : LLPanel() { @@ -82,8 +85,22 @@ BOOL LLPanelVoiceDeviceSettings::postBuild() return TRUE; } +// virtual +void LLPanelVoiceDeviceSettings::handleVisibilityChange ( BOOL new_visibility ) +{ + if (new_visibility) + { + initialize(); + } + else + { + cleanup(); + } +} void LLPanelVoiceDeviceSettings::draw() { + refresh(); + // let user know that volume indicator is not yet available bool is_in_tuning_mode = gVoiceClient->inTuningMode(); childSetVisible("wait_text", !is_in_tuning_mode); diff --git a/indra/newview/llfloatervoicedevicesettings.h b/indra/newview/llfloatervoicedevicesettings.h index f1603dc414..d67283d0a2 100644 --- a/indra/newview/llfloatervoicedevicesettings.h +++ b/indra/newview/llfloatervoicedevicesettings.h @@ -50,6 +50,8 @@ public: void initialize(); void cleanup(); + /*virtual*/ void handleVisibilityChange ( BOOL new_visibility ); + protected: static void onCommitInputDevice(LLUICtrl* ctrl, void* user_data); static void onCommitOutputDevice(LLUICtrl* ctrl, void* user_data); diff --git a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml index 832c9775ce..c1df7bd501 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml @@ -336,19 +336,20 @@ top_delta="19" width="200" /> - + + Default + My volume: - Date: Wed, 4 Nov 2009 18:58:27 -0500 Subject: Small cleanup in LLAgentWearables.cpp --- indra/newview/llagentwearables.cpp | 6 +-- indra/newview/llagentwearables.h | 6 +-- indra/newview/llviewermenu.cpp | 102 ++++--------------------------------- 3 files changed, 15 insertions(+), 99 deletions(-) (limited to 'indra') diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 7d215b5778..d8aca860d5 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1724,10 +1724,8 @@ void LLAgentWearables::queryWearableCache() // MULTI_WEARABLE: need a way to specify by wearable rather than by type. // User has picked "remove from avatar" from a menu. // static -void LLAgentWearables::userRemoveWearable(void* userdata) +void LLAgentWearables::userRemoveWearable(EWearableType& type) { - EWearableType type = (EWearableType)(intptr_t)userdata; - if (!(type==WT_SHAPE || type==WT_SKIN || type==WT_HAIR)) //&& //!((!gAgent.isTeen()) && (type==WT_UNDERPANTS || type==WT_UNDERSHIRT))) { @@ -1737,7 +1735,7 @@ void LLAgentWearables::userRemoveWearable(void* userdata) } // static -void LLAgentWearables::userRemoveAllClothes(void* userdata) +void LLAgentWearables::userRemoveAllClothes() { // We have to do this up front to avoid having to deal with the case of multiple wearables being dirty. if (gFloaterCustomize) diff --git a/indra/newview/llagentwearables.h b/indra/newview/llagentwearables.h index 97de785c87..317f4a7e4f 100644 --- a/indra/newview/llagentwearables.h +++ b/indra/newview/llagentwearables.h @@ -191,9 +191,9 @@ public: //-------------------------------------------------------------------- public: // MULTI-WEARABLE: assuming one wearable per type. Need upstream changes. - static void userRemoveWearable(void* userdata); // userdata is EWearableType - static void userRemoveAllClothes(void* userdata); // userdata is NULL - + static void userRemoveWearable(EWearableType& type); + static void userRemoveAllClothes(); + typedef std::vector llvo_vec_t; static void userUpdateAttachments(LLInventoryModel::item_array_t& obj_item_array); diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 23ceb1e72d..c85ed46cd6 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -7461,52 +7461,10 @@ class LLEditEnableTakeOff : public view_listener_t bool handleEvent(const LLSD& userdata) { std::string clothing = userdata.asString(); - bool new_value = false; - if (clothing == "shirt") - { - new_value = LLAgentWearables::selfHasWearable(WT_SHIRT); - } - if (clothing == "pants") - { - new_value = LLAgentWearables::selfHasWearable(WT_PANTS); - } - if (clothing == "shoes") - { - new_value = LLAgentWearables::selfHasWearable(WT_SHOES); - } - if (clothing == "socks") - { - new_value = LLAgentWearables::selfHasWearable(WT_SOCKS); - } - if (clothing == "jacket") - { - new_value = LLAgentWearables::selfHasWearable(WT_JACKET); - } - if (clothing == "gloves") - { - new_value = LLAgentWearables::selfHasWearable(WT_GLOVES); - } - if (clothing == "undershirt") - { - new_value = LLAgentWearables::selfHasWearable(WT_UNDERSHIRT); - } - if (clothing == "underpants") - { - new_value = LLAgentWearables::selfHasWearable(WT_UNDERPANTS); - } - if (clothing == "skirt") - { - new_value = LLAgentWearables::selfHasWearable(WT_SKIRT); - } - if (clothing == "alpha") - { - new_value = LLAgentWearables::selfHasWearable(WT_ALPHA); - } - if (clothing == "tattoo") - { - new_value = LLAgentWearables::selfHasWearable(WT_TATTOO); - } - return new_value; + EWearableType type = LLWearableDictionary::typeNameToType(clothing); + if (type >= WT_SHAPE && type < WT_COUNT) + return LLAgentWearables::selfHasWearable(type); + return false; } }; @@ -7515,53 +7473,13 @@ class LLEditTakeOff : public view_listener_t bool handleEvent(const LLSD& userdata) { std::string clothing = userdata.asString(); - if (clothing == "shirt") - { - LLAgentWearables::userRemoveWearable((void*)WT_SHIRT); - } - else if (clothing == "pants") - { - LLAgentWearables::userRemoveWearable((void*)WT_PANTS); - } - else if (clothing == "shoes") - { - LLAgentWearables::userRemoveWearable((void*)WT_SHOES); - } - else if (clothing == "socks") - { - LLAgentWearables::userRemoveWearable((void*)WT_SOCKS); - } - else if (clothing == "jacket") - { - LLAgentWearables::userRemoveWearable((void*)WT_JACKET); - } - else if (clothing == "gloves") - { - LLAgentWearables::userRemoveWearable((void*)WT_GLOVES); - } - else if (clothing == "undershirt") - { - LLAgentWearables::userRemoveWearable((void*)WT_UNDERSHIRT); - } - else if (clothing == "underpants") - { - LLAgentWearables::userRemoveWearable((void*)WT_UNDERPANTS); - } - else if (clothing == "skirt") - { - LLAgentWearables::userRemoveWearable((void*)WT_SKIRT); - } - else if (clothing == "alpha") - { - LLAgentWearables::userRemoveWearable((void*)WT_ALPHA); - } - else if (clothing == "tattoo") - { - LLAgentWearables::userRemoveWearable((void*)WT_TATTOO); - } - else if (clothing == "all") + if (clothing == "all") + LLAgentWearables::userRemoveAllClothes(); + else { - LLAgentWearables::userRemoveAllClothes(NULL); + EWearableType type = LLWearableDictionary::typeNameToType(clothing); + if (type >= WT_SHAPE && type < WT_COUNT) + LLAgentWearables::userRemoveWearable(type); } return true; } -- cgit v1.2.3 From 0bd2567bf5648808a95c7826581199bb371597cb Mon Sep 17 00:00:00 2001 From: Monroe Linden Date: Wed, 4 Nov 2009 15:59:04 -0800 Subject: Fix for DEV-42076 (media controls should not fade out while mouse is hovered over them). Updated LLPanelPrimMediaControls::isMouseOver() to do the right thing with the new structure of the panel. --- indra/newview/llpanelprimmediacontrols.cpp | 33 ++++++++++++++++++------------ 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpanelprimmediacontrols.cpp b/indra/newview/llpanelprimmediacontrols.cpp index 58ca481b77..0b2a7e8756 100644 --- a/indra/newview/llpanelprimmediacontrols.cpp +++ b/indra/newview/llpanelprimmediacontrols.cpp @@ -691,24 +691,31 @@ bool LLPanelPrimMediaControls::isMouseOver() getWindow()->getCursorPosition(&cursor_pos_window); getWindow()->convertCoords(cursor_pos_window, &cursor_pos_gl); - LLPanel* controls_panel = NULL; - controls_panel = getChild("media_hover_controls"); - if(controls_panel && !controls_panel->getVisible()) - { - // The hover controls aren't visible -- use the focused controls instead. - controls_panel = getChild("media_focused_controls"); - } + LLView* controls_view = NULL; + controls_view = getChild("media_controls"); - if(controls_panel && controls_panel->getVisible()) + if(controls_view && controls_view->getVisible()) { - controls_panel->screenPointToLocal(cursor_pos_gl.mX, cursor_pos_gl.mY, &x, &y); + controls_view->screenPointToLocal(cursor_pos_gl.mX, cursor_pos_gl.mY, &x, &y); - LLView *hit_child = controls_panel->childFromPoint(x, y); - if(hit_child) + LLView *hit_child = controls_view->childFromPoint(x, y); + if(hit_child && hit_child->getVisible()) { // This was useful for debugging both coordinate translation and view hieararchy problems... -// llinfos << "mouse coords: " << x << ", " << y << " hit child " << hit_child->getName() << llendl; - result = true; + // llinfos << "mouse coords: " << x << ", " << y << " hit child " << hit_child->getName() << llendl; + + // This will be a direct child of the LLLayoutStack, which should be a layout_panel. + // These may not shown/hidden by the logic in updateShape(), so we need to do another hit test on the children of the layout panel, + // which are the actual controls. + hit_child->screenPointToLocal(cursor_pos_gl.mX, cursor_pos_gl.mY, &x, &y); + + LLView *hit_child_2 = hit_child->childFromPoint(x, y); + if(hit_child_2 && hit_child_2->getVisible()) + { + // This was useful for debugging both coordinate translation and view hieararchy problems... + // llinfos << " mouse coords: " << x << ", " << y << " hit child 2 " << hit_child_2->getName() << llendl; + result = true; + } } } } -- cgit v1.2.3 From 33eac5dc0a1dfc0624dcfc75bec35155fbb9c917 Mon Sep 17 00:00:00 2001 From: Rick Pasetto Date: Wed, 4 Nov 2009 16:11:39 -0800 Subject: Fix typo in XUI file that broke media controls --- indra/newview/skins/default/xui/en/panel_prim_media_controls.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml b/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml index 7b34e2931e..d384abf038 100644 --- a/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml +++ b/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml @@ -254,7 +254,7 @@ image_selected="button_anim_pause.tga" image_unselected="button_anim_pause.tga" layout="topleft" - tool_tip = "Pause media" + tool_tip = "Pause media"> -- cgit v1.2.3 From c527ade45beb1db2e1801646945812344a520ed0 Mon Sep 17 00:00:00 2001 From: "Eric M. Tulla (BigPapi)" Date: Wed, 4 Nov 2009 19:27:00 -0500 Subject: Fix for DEV-32672 / VWR-13349. Prim move grid display wasn't mipmapping properly. --- indra/newview/llmaniptranslate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp index 2153f77336..f1b3a37677 100644 --- a/indra/newview/llmaniptranslate.cpp +++ b/indra/newview/llmaniptranslate.cpp @@ -163,7 +163,7 @@ void LLManipTranslate::restoreGL() GLuint* d = new GLuint[rez*rez]; - gGL.getTexUnit(0)->bindManual(LLTexUnit::TT_TEXTURE, sGridTex->getTexName()); + gGL.getTexUnit(0)->bindManual(LLTexUnit::TT_TEXTURE, sGridTex->getTexName(), true); gGL.getTexUnit(0)->setTextureFilteringOption(LLTexUnit::TFO_TRILINEAR); while (rez >= 1) -- cgit v1.2.3 From 1f0848969c6464648c6c60b771037f7a9eb98cad Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 4 Nov 2009 16:33:08 -0800 Subject: converted all floater titles to uppercase --- indra/newview/skins/default/xui/da/floater_about.xml | 2 +- indra/newview/skins/default/xui/da/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/da/floater_auction.xml | 2 +- indra/newview/skins/default/xui/da/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/da/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/da/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/da/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/da/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/da/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/da/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/da/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/da/floater_customize.xml | 2 +- indra/newview/skins/default/xui/da/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/da/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/da/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/da/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/da/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/da/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/da/floater_hud.xml | 2 +- indra/newview/skins/default/xui/da/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/da/floater_inventory.xml | 2 +- .../skins/default/xui/da/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/da/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/da/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/da/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/da/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/da/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/da/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/da/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/da/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/da/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/da/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/da/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/da/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/da/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/da/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/da/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/da/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/da/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/da/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/da/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/da/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/da/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/da/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/da/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/da/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/da/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/da/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/da/floater_tools.xml | 2 +- indra/newview/skins/default/xui/da/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/da/floater_water.xml | 2 +- indra/newview/skins/default/xui/da/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/da/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/de/floater_about.xml | 2 +- indra/newview/skins/default/xui/de/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/de/floater_auction.xml | 2 +- indra/newview/skins/default/xui/de/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/de/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/de/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/de/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/de/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/de/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/de/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/de/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/de/floater_customize.xml | 2 +- indra/newview/skins/default/xui/de/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/de/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/de/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/de/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/de/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/de/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/de/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/de/floater_hud.xml | 2 +- indra/newview/skins/default/xui/de/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/de/floater_inventory.xml | 2 +- .../skins/default/xui/de/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/de/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/de/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/de/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/de/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/de/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/de/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/de/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/de/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/de/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/de/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/de/floater_notification.xml | 2 +- indra/newview/skins/default/xui/de/floater_notifications_console.xml | 2 +- indra/newview/skins/default/xui/de/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/de/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/de/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/de/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/de/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/de/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/de/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/de/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/de/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/de/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/de/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/de/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/de/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/de/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/de/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/de/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/de/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/de/floater_tools.xml | 2 +- indra/newview/skins/default/xui/de/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/de/floater_water.xml | 2 +- indra/newview/skins/default/xui/de/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/de/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/en/floater_aaa.xml | 2 +- indra/newview/skins/default/xui/en/floater_about.xml | 2 +- indra/newview/skins/default/xui/en/floater_about_land.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_activeim.xml | 2 +- indra/newview/skins/default/xui/en/floater_auction.xml | 2 +- indra/newview/skins/default/xui/en/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/en/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/en/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/en/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/en/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/en/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/en/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/en/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/en/floater_customize.xml | 2 +- indra/newview/skins/default/xui/en/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/en/floater_device_settings.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/en/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/en/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/en/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/en/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/en/floater_help_browser.xml | 2 +- indra/newview/skins/default/xui/en/floater_hud.xml | 2 +- indra/newview/skins/default/xui/en/floater_incoming_call.xml | 2 +- indra/newview/skins/default/xui/en/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/en/floater_inventory.xml | 2 +- .../skins/default/xui/en/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/en/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/en/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/en/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/en/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/en/floater_live_lsleditor.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/en/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/en/floater_media_settings.xml | 2 +- indra/newview/skins/default/xui/en/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/en/floater_mute_object.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/en/floater_nearby_chat.xml | 2 +- indra/newview/skins/default/xui/en/floater_notification.xml | 2 +- indra/newview/skins/default/xui/en/floater_notifications_console.xml | 2 +- indra/newview/skins/default/xui/en/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/en/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/en/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/en/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/en/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/en/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/en/floater_preview_event.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_preview_gesture_info.xml | 4 ++-- .../newview/skins/default/xui/en/floater_preview_gesture_shortcut.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_preview_gesture_steps.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/en/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/en/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/en/floater_script_debug_panel.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/en/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/en/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/en/floater_search.xml | 2 +- indra/newview/skins/default/xui/en/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/en/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/en/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/en/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/en/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/en/floater_stats.xml | 2 +- indra/newview/skins/default/xui/en/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/en/floater_test_inspectors.xml | 2 +- indra/newview/skins/default/xui/en/floater_test_widgets.xml | 2 +- indra/newview/skins/default/xui/en/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/en/floater_tools.xml | 2 +- indra/newview/skins/default/xui/en/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/en/floater_ui_preview.xml | 2 +- indra/newview/skins/default/xui/en/floater_water.xml | 2 +- indra/newview/skins/default/xui/en/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/en/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/es/floater_about.xml | 2 +- indra/newview/skins/default/xui/es/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/es/floater_auction.xml | 2 +- indra/newview/skins/default/xui/es/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/es/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/es/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/es/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/es/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/es/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/es/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/es/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/es/floater_customize.xml | 2 +- indra/newview/skins/default/xui/es/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/es/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/es/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/es/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/es/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/es/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/es/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/es/floater_hud.xml | 2 +- indra/newview/skins/default/xui/es/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/es/floater_inventory.xml | 2 +- .../skins/default/xui/es/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/es/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/es/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/es/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/es/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/es/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/es/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/es/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/es/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/es/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/es/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/es/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/es/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/es/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/es/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/es/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/es/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/es/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/es/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/es/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/es/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/es/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/es/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/es/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/es/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/es/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/es/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/es/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/es/floater_tools.xml | 2 +- indra/newview/skins/default/xui/es/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/es/floater_water.xml | 2 +- indra/newview/skins/default/xui/es/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/es/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/fr/floater_about.xml | 2 +- indra/newview/skins/default/xui/fr/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/fr/floater_auction.xml | 2 +- indra/newview/skins/default/xui/fr/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/fr/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/fr/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/fr/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/fr/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/fr/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/fr/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/fr/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/fr/floater_customize.xml | 2 +- indra/newview/skins/default/xui/fr/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/fr/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/fr/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/fr/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/fr/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_hud.xml | 2 +- indra/newview/skins/default/xui/fr/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/fr/floater_inventory.xml | 2 +- .../skins/default/xui/fr/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/fr/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/fr/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/fr/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/fr/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/fr/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/fr/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/fr/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/fr/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/fr/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/fr/floater_notification.xml | 2 +- indra/newview/skins/default/xui/fr/floater_notifications_console.xml | 2 +- indra/newview/skins/default/xui/fr/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/fr/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/fr/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/fr/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/fr/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/fr/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/fr/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/fr/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/fr/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/fr/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/fr/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/fr/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/fr/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/fr/floater_tools.xml | 2 +- indra/newview/skins/default/xui/fr/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/fr/floater_water.xml | 2 +- indra/newview/skins/default/xui/fr/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/fr/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/it/floater_about.xml | 2 +- indra/newview/skins/default/xui/it/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/it/floater_auction.xml | 2 +- indra/newview/skins/default/xui/it/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/it/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/it/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/it/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/it/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/it/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/it/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/it/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/it/floater_customize.xml | 2 +- indra/newview/skins/default/xui/it/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/it/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/it/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/it/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/it/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/it/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/it/floater_hud.xml | 2 +- indra/newview/skins/default/xui/it/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/it/floater_inventory.xml | 2 +- .../skins/default/xui/it/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/it/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/it/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/it/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/it/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/it/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/it/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/it/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/it/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/it/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/it/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/it/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/it/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/it/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/it/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/it/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/it/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/it/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/it/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/it/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/it/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/it/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/it/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/it/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/it/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/it/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/it/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/it/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/it/floater_tools.xml | 2 +- indra/newview/skins/default/xui/it/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/it/floater_water.xml | 2 +- indra/newview/skins/default/xui/it/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/it/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/ja/floater_about.xml | 2 +- indra/newview/skins/default/xui/ja/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/ja/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/ja/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/ja/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/ja/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/nl/floater_about.xml | 2 +- indra/newview/skins/default/xui/nl/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/nl/floater_auction.xml | 2 +- indra/newview/skins/default/xui/nl/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/nl/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/nl/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/nl/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/nl/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/nl/floater_customize.xml | 2 +- indra/newview/skins/default/xui/nl/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/nl/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/nl/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/nl/floater_hud.xml | 2 +- indra/newview/skins/default/xui/nl/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/nl/floater_inventory.xml | 2 +- indra/newview/skins/default/xui/nl/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/nl/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/nl/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/nl/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/nl/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/nl/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/nl/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/nl/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/nl/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/nl/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/nl/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/nl/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/nl/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/nl/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/nl/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/nl/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/nl/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/nl/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/nl/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/nl/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/nl/floater_tools.xml | 2 +- indra/newview/skins/default/xui/nl/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/nl/floater_water.xml | 2 +- indra/newview/skins/default/xui/nl/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/pl/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/pl/floater_auction.xml | 2 +- indra/newview/skins/default/xui/pl/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/pl/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/pl/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/pl/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/pl/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/pl/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/pl/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/pl/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/pl/floater_customize.xml | 2 +- indra/newview/skins/default/xui/pl/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/pl/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/pl/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/pl/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/pl/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_hud.xml | 2 +- indra/newview/skins/default/xui/pl/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/pl/floater_inventory.xml | 2 +- .../skins/default/xui/pl/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/pl/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/pl/floater_joystick.xml | 4 ++-- indra/newview/skins/default/xui/pl/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/pl/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/pl/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/pl/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/pl/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/pl/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/pl/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/pl/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/pl/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/pl/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/pl/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/pl/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/pl/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/pl/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/pl/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/pl/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/pl/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/pl/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/pl/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/pl/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/pl/floater_tools.xml | 2 +- indra/newview/skins/default/xui/pl/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/pl/floater_water.xml | 2 +- indra/newview/skins/default/xui/pl/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/pl/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/pt/floater_about.xml | 2 +- indra/newview/skins/default/xui/pt/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/pt/floater_auction.xml | 2 +- indra/newview/skins/default/xui/pt/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/pt/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/pt/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/pt/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/pt/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/pt/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/pt/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/pt/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/pt/floater_customize.xml | 2 +- indra/newview/skins/default/xui/pt/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/pt/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/pt/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/pt/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/pt/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_hud.xml | 2 +- indra/newview/skins/default/xui/pt/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/pt/floater_inventory.xml | 2 +- .../skins/default/xui/pt/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/pt/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/pt/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/pt/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/pt/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/pt/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/pt/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/pt/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/pt/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/pt/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/pt/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/pt/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/pt/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/pt/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/pt/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/pt/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/pt/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/pt/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/pt/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/pt/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/pt/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/pt/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/pt/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/pt/floater_tools.xml | 2 +- indra/newview/skins/default/xui/pt/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/pt/floater_water.xml | 2 +- indra/newview/skins/default/xui/pt/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/pt/floater_world_map.xml | 2 +- 569 files changed, 579 insertions(+), 579 deletions(-) (limited to 'indra') diff --git a/indra/newview/skins/default/xui/da/floater_about.xml b/indra/newview/skins/default/xui/da/floater_about.xml index 81d4d3fdfd..f0c9c45d04 100644 --- a/indra/newview/skins/default/xui/da/floater_about.xml +++ b/indra/newview/skins/default/xui/da/floater_about.xml @@ -1,5 +1,5 @@ - + diff --git a/indra/newview/skins/default/xui/da/floater_about_land.xml b/indra/newview/skins/default/xui/da/floater_about_land.xml index c4cf722159..cb5d618dde 100644 --- a/indra/newview/skins/default/xui/da/floater_about_land.xml +++ b/indra/newview/skins/default/xui/da/floater_about_land.xml @@ -1,5 +1,5 @@ - + diff --git a/indra/newview/skins/default/xui/da/floater_auction.xml b/indra/newview/skins/default/xui/da/floater_auction.xml index f981242f8a..8f793557be 100644 --- a/indra/newview/skins/default/xui/da/floater_auction.xml +++ b/indra/newview/skins/default/xui/da/floater_auction.xml @@ -1,5 +1,5 @@ - + + Date: Thu, 5 Nov 2009 15:16:27 -0500 Subject: Updated TimeTextColor. http://jira.secondlife.com/browse/EXT-2138 --- indra/newview/skins/default/colors.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/skins/default/colors.xml b/indra/newview/skins/default/colors.xml index 1e0da13162..572a4cf9e9 100644 --- a/indra/newview/skins/default/colors.xml +++ b/indra/newview/skins/default/colors.xml @@ -651,7 +651,7 @@ value="0 0 0 .33" /> + reference="LtGray" /> -- cgit v1.2.3 From 6ce9f3b047084a9b947f66d041645238feb4b09b Mon Sep 17 00:00:00 2001 From: Erica Date: Thu, 5 Nov 2009 12:53:41 -0800 Subject: EXT-2160 texture picker cancel button should be on the right, General texture and color picker cleanup --- .../skins/default/xui/en/floater_color_picker.xml | 22 +++-- .../skins/default/xui/en/floater_texture_ctrl.xml | 105 +++++++++++---------- 2 files changed, 67 insertions(+), 60 deletions(-) (limited to 'indra') diff --git a/indra/newview/skins/default/xui/en/floater_color_picker.xml b/indra/newview/skins/default/xui/en/floater_color_picker.xml index e4b9d3f6bc..4380ff8f4b 100644 --- a/indra/newview/skins/default/xui/en/floater_color_picker.xml +++ b/indra/newview/skins/default/xui/en/floater_color_picker.xml @@ -168,26 +168,29 @@ - + + + - - - Date: Fri, 6 Nov 2009 16:11:42 -0500 Subject: Changed "Support" tab to "Info". http://jira.secondlife.com/browse/EXT-2177 --- indra/newview/skins/default/xui/en/floater_about.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/skins/default/xui/en/floater_about.xml b/indra/newview/skins/default/xui/en/floater_about.xml index c74b1929b4..2ff99dcf5a 100644 --- a/indra/newview/skins/default/xui/en/floater_about.xml +++ b/indra/newview/skins/default/xui/en/floater_about.xml @@ -69,7 +69,7 @@ Packets Lost: [PACKETS_LOST,number,0]/[PACKETS_IN,number,0] ([PACKETS_PCT,number tab_position="top"> Date: Fri, 6 Nov 2009 16:30:35 -0500 Subject: Changed llwarns on spurious InventoryPanel::buildNewViews debug mesage to lldebugs. --HG-- branch : avatar-pipeline --- indra/newview/llinventorypanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 36d9455fa2..f13651f7f9 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -457,8 +457,8 @@ void LLInventoryPanel::buildNewViews(const LLUUID& id) if (objectp->getType() <= LLAssetType::AT_NONE || objectp->getType() >= LLAssetType::AT_COUNT) { - llwarns << "LLInventoryPanel::buildNewViews called with invalid objectp->mType : " << - ((S32) objectp->getType()) << llendl; + lldebugs << "LLInventoryPanel::buildNewViews called with invalid objectp->mType : " << + ((S32) objectp->getType()) << " name " << objectp->getName() << " UUID " << objectp->getUUID() << llendl; return; } -- cgit v1.2.3 From 0b3bbf8cfc2b3c2afcb9cc79a8c74677d8645b92 Mon Sep 17 00:00:00 2001 From: James Cook Date: Fri, 6 Nov 2009 13:51:16 -0800 Subject: EXT-1501 Menu fonts now configurable in XUI, set size to SansSerifSmall --- indra/llui/llmenugl.cpp | 23 ++++++++++++++++++++++ indra/llui/llmenugl.h | 21 +------------------- .../skins/default/xui/en/widgets/menu_item.xml | 6 ++++++ 3 files changed, 30 insertions(+), 20 deletions(-) create mode 100644 indra/newview/skins/default/xui/en/widgets/menu_item.xml (limited to 'indra') diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 956e843987..c6a38c7ca7 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -118,6 +118,7 @@ const F32 PIE_SHRINK_TIME = 0.2f; // time of transition between unbounded and bo const F32 ACTIVATE_HIGHLIGHT_TIME = 0.3f; +static MenuRegistry::Register register_menu_item("menu_item"); static MenuRegistry::Register register_separator("menu_item_separator"); static MenuRegistry::Register register_menu_item_call("menu_item_call"); static MenuRegistry::Register register_menu_item_check("menu_item_check"); @@ -132,6 +133,28 @@ static LLDefaultChildRegistry::Register register_menu_default("menu"); ///============================================================================ /// Class LLMenuItemGL ///============================================================================ + +LLMenuItemGL::Params::Params() +: shortcut("shortcut"), + jump_key("jump_key", KEY_NONE), + use_mac_ctrl("use_mac_ctrl", false), + rect("rect"), + left("left"), + top("top"), + right("right"), + bottom("bottom"), + width("width"), + height("height"), + bottom_delta("bottom_delta"), + left_delta("left_delta"), + enabled_color("enabled_color"), + disabled_color("disabled_color"), + highlight_bg_color("highlight_bg_color"), + highlight_fg_color("highlight_fg_color") +{ + mouse_opaque = true; +} + // Default constructor LLMenuItemGL::LLMenuItemGL(const LLMenuItemGL::Params& p) : LLUICtrl(p), diff --git a/indra/llui/llmenugl.h b/indra/llui/llmenugl.h index 09d9e407c7..dc8ed3b3fd 100644 --- a/indra/llui/llmenugl.h +++ b/indra/llui/llmenugl.h @@ -79,26 +79,7 @@ public: highlight_fg_color; - Params() - : shortcut("shortcut"), - jump_key("jump_key", KEY_NONE), - use_mac_ctrl("use_mac_ctrl", false), - rect("rect"), - left("left"), - top("top"), - right("right"), - bottom("bottom"), - width("width"), - height("height"), - bottom_delta("bottom_delta"), - left_delta("left_delta"), - enabled_color("enabled_color"), - disabled_color("disabled_color"), - highlight_bg_color("highlight_bg_color"), - highlight_fg_color("highlight_fg_color") - { - mouse_opaque = true; - } + Params(); }; protected: diff --git a/indra/newview/skins/default/xui/en/widgets/menu_item.xml b/indra/newview/skins/default/xui/en/widgets/menu_item.xml new file mode 100644 index 0000000000..c98e9cb6b8 --- /dev/null +++ b/indra/newview/skins/default/xui/en/widgets/menu_item.xml @@ -0,0 +1,6 @@ + + + + -- cgit v1.2.3 From 2aa981ac23bbdf2fd609e04434179be0cfec79ce Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Fri, 6 Nov 2009 17:35:05 -0500 Subject: EXT-2278 : "Save Texture As" for bottom panel EXT-2310 : "Save Texture As" for inventory right-click menu "Save Texture As" now works properly and brings up the texture preview while saving. Also added "Save Texture As" to the right-click inventory context menu. --HG-- branch : avatar-pipeline --- indra/newview/llinventorybridge.cpp | 45 ++++++++++++++++++- indra/newview/llinventorybridge.h | 2 + indra/newview/llpanellandmarks.cpp | 2 +- indra/newview/llpanellandmarks.h | 2 +- indra/newview/llpanelmaininventory.cpp | 51 +++------------------- indra/newview/llpreviewtexture.cpp | 24 ++++++++-- indra/newview/llpreviewtexture.h | 12 ++--- .../skins/default/xui/en/menu_inventory.xml | 10 +++++ 8 files changed, 92 insertions(+), 56 deletions(-) (limited to 'indra') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index f46bbbe188..9c7be2fcf5 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -3086,6 +3086,49 @@ void LLTextureBridge::openItem() } } +void LLTextureBridge::buildContextMenu(LLMenuGL& menu, U32 flags) +{ + lldebugs << "LLTextureBridge::buildContextMenu()" << llendl; + std::vector items; + std::vector disabled_items; + if(isInTrash()) + { + items.push_back(std::string("Purge Item")); + if (!isItemRemovable()) + { + disabled_items.push_back(std::string("Purge Item")); + } + + items.push_back(std::string("Restore Item")); + } + else + { + items.push_back(std::string("Open")); + items.push_back(std::string("Properties")); + + getClipboardEntries(true, items, disabled_items, flags); + + items.push_back(std::string("Texture Separator")); + items.push_back(std::string("Save As")); + } + hide_context_entries(menu, items, disabled_items); +} + +// virtual +void LLTextureBridge::performAction(LLFolderView* folder, LLInventoryModel* model, std::string action) +{ + if ("save_as" == action) + { + LLFloaterReg::showInstance("preview_texture", LLSD(mUUID), TAKE_FOCUS_YES); + LLPreviewTexture* preview_texture = LLFloaterReg::findTypedInstance("preview_texture", mUUID); + if (preview_texture) + { + preview_texture->openToSave(); + } + } + else LLItemBridge::performAction(folder, model, action); +} + // +=================================================+ // | LLSoundBridge | // +=================================================+ @@ -3134,7 +3177,7 @@ void LLSoundBridge::openSoundPreview(void* which) void LLSoundBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - lldebugs << "LLTextureBridge::buildContextMenu()" << llendl; + lldebugs << "LLSoundBridge::buildContextMenu()" << llendl; std::vector items; std::vector disabled_items; diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index 3f3513a665..cce06813b7 100644 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -383,6 +383,8 @@ class LLTextureBridge : public LLItemBridge public: virtual LLUIImagePtr getIcon() const; virtual void openItem(); + virtual void buildContextMenu(LLMenuGL& menu, U32 flags); + virtual void performAction(LLFolderView* folder, LLInventoryModel* model, std::string action); protected: LLTextureBridge(LLInventoryPanel* inventory, const LLUUID& uuid, LLInventoryType::EType type) : diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index 91e1590dc3..cb5f471837 100644 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -265,7 +265,7 @@ LLLandmark* LLLandmarksPanel::getCurSelectedLandmark() const return NULL; } -LLFolderViewItem* LLLandmarksPanel::getCurSelectedItem () const +LLFolderViewItem* LLLandmarksPanel::getCurSelectedItem() const { return mCurrentSelectedList ? mCurrentSelectedList->getRootFolder()->getCurSelectedItem() : NULL; } diff --git a/indra/newview/llpanellandmarks.h b/indra/newview/llpanellandmarks.h index 0e7abb4865..6498f2c778 100644 --- a/indra/newview/llpanellandmarks.h +++ b/indra/newview/llpanellandmarks.h @@ -69,7 +69,7 @@ protected: bool isLandmarkSelected() const; bool isReceivedFolderSelected() const; LLLandmark* getCurSelectedLandmark() const; - LLFolderViewItem* getCurSelectedItem () const; + LLFolderViewItem* getCurSelectedItem() const; void updateSortOrder(LLInventoryPanel* panel, bool byDate); //LLRemoteParcelInfoObserver interface diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index bdfff9b2ab..f4c88b9f82 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -41,6 +41,7 @@ #include "llinventorypanel.h" #include "llfiltereditor.h" #include "llfloaterreg.h" +#include "llpreviewtexture.h" #include "llscrollcontainer.h" #include "llsdserialize.h" #include "llspinctrl.h" @@ -965,18 +966,11 @@ void LLPanelMainInventory::onCustomAction(const LLSD& userdata) } const LLUUID& item_id = current_item->getListener()->getUUID(); - LLFilePicker& file_picker = LLFilePicker::instance(); - const LLInventoryItem* item = gInventory.getItem(item_id); - if( !file_picker.getSaveFile( LLFilePicker::FFSAVE_TGA, item ? LLDir::getScrubbedFileName(item->getName()) : LLStringUtil::null) ) + LLPreviewTexture* preview_texture = LLFloaterReg::showTypedInstance("preview_texture", LLSD(item_id), TAKE_FOCUS_YES); + if (preview_texture) { - // User canceled or we failed to acquire save file. - return; + preview_texture->openToSave(); } - // remember the user-approved/edited file name. - const LLUUID& asset_id = item->getAssetUUID(); - LLPointer image = LLViewerTextureManager::getFetchedTexture(asset_id, MIPMAP_TRUE, FALSE, LLViewerTexture::LOD_TEXTURE); - image->setLoadedCallback( on_file_loaded_for_save, - 0, TRUE, FALSE, new std::string(file_picker.getFirstFile()) ); } } @@ -1002,6 +996,7 @@ BOOL LLPanelMainInventory::isActionEnabled(const LLSD& userdata) } return can_delete; } + return FALSE; } if (command_name == "save_texture") { @@ -1010,8 +1005,9 @@ BOOL LLPanelMainInventory::isActionEnabled(const LLSD& userdata) { return (current_item->getListener()->getInventoryType() == LLInventoryType::IT_TEXTURE); } + return FALSE; } - return FALSE; + return TRUE; } bool LLPanelMainInventory::handleDragAndDropToTrash(BOOL drop, EDragAndDropType cargo_type, EAcceptance* accept) @@ -1027,36 +1023,3 @@ bool LLPanelMainInventory::handleDragAndDropToTrash(BOOL drop, EDragAndDropType } return true; } - -void on_file_loaded_for_save(BOOL success, - LLViewerFetchedTexture *src_vi, - LLImageRaw* src, - LLImageRaw* aux_src, - S32 discard_level, - BOOL final, - void* userdata) -{ - std::string *filename = (std::string*) userdata; - - if (final && success) - { - LLPointer image_tga = new LLImageTGA; - if( !image_tga->encode( src ) ) - { - LLSD args; - args["FILE"] = *filename; - LLNotifications::instance().add("CannotEncodeFile", args); - } - else if( !image_tga->save( *filename ) ) - { - LLSD args; - args["FILE"] = *filename; - LLNotifications::instance().add("CannotWriteFile", args); - } - } - - if(!success ) - { - LLNotifications::instance().add("CannotDownloadFile"); - } -} diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp index 9c21faa3be..6324b0adf9 100644 --- a/indra/newview/llpreviewtexture.cpp +++ b/indra/newview/llpreviewtexture.cpp @@ -48,6 +48,7 @@ #include "lltextbox.h" #include "lltextureview.h" #include "llui.h" +#include "llviewerinventory.h" #include "llviewertexture.h" #include "llviewertexturelist.h" #include "lluictrlfactory.h" @@ -63,7 +64,7 @@ const F32 PREVIEW_TEXTURE_MIN_ASPECT = 0.005f; LLPreviewTexture::LLPreviewTexture(const LLSD& key) - : LLPreview( key ), + : LLPreview(key), mLoadingFullImage( FALSE ), mShowKeepDiscard(FALSE), mCopyToInv(FALSE), @@ -71,7 +72,8 @@ LLPreviewTexture::LLPreviewTexture(const LLSD& key) mUpdateDimensions(TRUE), mLastHeight(0), mLastWidth(0), - mAspectRatio(0.f) + mAspectRatio(0.f), + mPreviewToSave(FALSE) { const LLInventoryItem *item = getItem(); if(item) @@ -104,6 +106,10 @@ LLPreviewTexture::LLPreviewTexture(const LLSD& key) mIsCopyable = TRUE; } + if (key.has("save_as")) + { + mPreviewToSave = TRUE; + } //Called from floater reg: LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_texture.xml", FALSE); } @@ -181,6 +187,12 @@ void LLPreviewTexture::draw() if ( mImage.notNull() ) { + // Automatically bring up SaveAs dialog if we opened this to save the texture. + if (mPreviewToSave) + { + mPreviewToSave = FALSE; + saveAs(); + } // Draw the texture glColor3f( 1.f, 1.f, 1.f ); gl_draw_scaled_image(interior.mLeft, @@ -209,7 +221,7 @@ void LLPreviewTexture::draw() if( mLoadingFullImage ) { - LLFontGL::getFontSansSerif()->renderUTF8(LLTrans::getString("Receiving:"), 0, + LLFontGL::getFontSansSerif()->renderUTF8(LLTrans::getString("Receiving"), 0, interior.mLeft + 4, interior.mBottom + 4, LLColor4::white, LLFontGL::LEFT, LLFontGL::BOTTOM, @@ -304,6 +316,11 @@ void LLPreviewTexture::onFocusReceived() LLPreview::onFocusReceived(); } +void LLPreviewTexture::openToSave() +{ + mPreviewToSave = TRUE; +} + // static void LLPreviewTexture::onFileLoadedForSave(BOOL success, LLViewerFetchedTexture *src_vi, @@ -356,6 +373,7 @@ void LLPreviewTexture::onFileLoadedForSave(BOOL success, { LLNotifications::instance().add("CannotDownloadFile"); } + } diff --git a/indra/newview/llpreviewtexture.h b/indra/newview/llpreviewtexture.h index 520626b49f..9b3c91d831 100644 --- a/indra/newview/llpreviewtexture.h +++ b/indra/newview/llpreviewtexture.h @@ -67,8 +67,7 @@ public: S32 discard_level, BOOL final, void* userdata ); - - + void openToSave(); protected: void init(); /* virtual */ BOOL postBuild(); @@ -77,14 +76,17 @@ protected: private: void updateDimensions(); - LLUUID mImageID; + LLUUID mImageID; LLPointer mImage; BOOL mLoadingFullImage; std::string mSaveFileName; LLFrameTimer mSavedFileTimer; BOOL mShowKeepDiscard; BOOL mCopyToInv; - + + // Save the image once it's loaded. + BOOL mPreviewToSave; + // This is stored off in a member variable, because the save-as // button and drag and drop functionality need to know. BOOL mIsCopyable; @@ -94,6 +96,4 @@ private: F32 mAspectRatio; BOOL mUpdateDimensions; }; - - #endif // LL_LLPREVIEWTEXTURE_H diff --git a/indra/newview/skins/default/xui/en/menu_inventory.xml b/indra/newview/skins/default/xui/en/menu_inventory.xml index 62940b87dc..8b6ab4e4d8 100644 --- a/indra/newview/skins/default/xui/en/menu_inventory.xml +++ b/indra/newview/skins/default/xui/en/menu_inventory.xml @@ -550,6 +550,16 @@ function="Inventory.DoToSelected" parameter="deactivate" /> + + + + Date: Fri, 6 Nov 2009 14:36:16 -0800 Subject: DEV-42272 - viewer crash on startup in LLCurlRequest::process --- indra/llcommon/llqueuedthread.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/llcommon/llqueuedthread.cpp b/indra/llcommon/llqueuedthread.cpp index 395d298887..e7ad571a90 100644 --- a/indra/llcommon/llqueuedthread.cpp +++ b/indra/llcommon/llqueuedthread.cpp @@ -113,8 +113,11 @@ S32 LLQueuedThread::update(U32 max_time_ms) { if (!mStarted) { - startThread(); - mStarted = TRUE; + if (!mThreaded) + { + startThread(); + mStarted = TRUE; + } } return updateQueue(max_time_ms); } -- cgit v1.2.3 From 3fa1e785a6964d672682b9e5c3fcbdda0fa1f8df Mon Sep 17 00:00:00 2001 From: Leyla Farazha Date: Fri, 6 Nov 2009 15:16:40 -0800 Subject: EXT-1576 "Zoom In" menu option should be disabled when the person is not in range EXT-2306 Default voice input/output pref panel to closed --- indra/newview/llfloatervoicedevicesettings.cpp | 3 +++ indra/newview/llinspectavatar.cpp | 9 +++++++++ .../skins/default/xui/en/menu_inspect_avatar_gear.xml | 2 ++ .../skins/default/xui/en/panel_preferences_sound.xml | 13 ------------- 4 files changed, 14 insertions(+), 13 deletions(-) (limited to 'indra') diff --git a/indra/newview/llfloatervoicedevicesettings.cpp b/indra/newview/llfloatervoicedevicesettings.cpp index bbeb287171..43024a4bd0 100644 --- a/indra/newview/llfloatervoicedevicesettings.cpp +++ b/indra/newview/llfloatervoicedevicesettings.cpp @@ -95,6 +95,9 @@ void LLPanelVoiceDeviceSettings::handleVisibilityChange ( BOOL new_visibility ) else { cleanup(); + // when closing this window, turn of visiblity control so that + // next time preferences is opened we don't suspend voice + gSavedSettings.setBOOL("ShowDeviceSettings", FALSE); } } void LLPanelVoiceDeviceSettings::draw() diff --git a/indra/newview/llinspectavatar.cpp b/indra/newview/llinspectavatar.cpp index bfad2b1624..0329e740af 100644 --- a/indra/newview/llinspectavatar.cpp +++ b/indra/newview/llinspectavatar.cpp @@ -47,6 +47,7 @@ #include "llstartup.h" #include "llviewermenu.h" #include "llvoiceclient.h" +#include "llviewerobjectlist.h" // Linden libraries #include "llfloater.h" @@ -113,6 +114,7 @@ private: void onClickFindOnMap(); bool onVisibleFindOnMap(); bool onVisibleFreezeEject(); + bool onVisibleZoomIn(); void onClickMuteVolume(); void onVolumeChange(const LLSD& data); @@ -203,6 +205,8 @@ LLInspectAvatar::LLInspectAvatar(const LLSD& sd) mVisibleCallbackRegistrar.add("InspectAvatar.VisibleFindOnMap", boost::bind(&LLInspectAvatar::onVisibleFindOnMap, this)); mVisibleCallbackRegistrar.add("InspectAvatar.VisibleFreezeEject", boost::bind(&LLInspectAvatar::onVisibleFreezeEject, this)); + mVisibleCallbackRegistrar.add("InspectAvatar.VisibleZoomIn", + boost::bind(&LLInspectAvatar::onVisibleZoomIn, this)); // can't make the properties request until the widgets are constructed // as it might return immediately, so do it in postBuild. @@ -464,6 +468,11 @@ bool LLInspectAvatar::onVisibleFreezeEject() return enable_freeze_eject( LLSD(mAvatarID) ); } +bool LLInspectAvatar::onVisibleZoomIn() +{ + return gObjectList.findObject(mAvatarID); +} + void LLInspectAvatar::onClickIM() { LLAvatarActions::startIM(mAvatarID); diff --git a/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml b/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml index 6049476a43..db2c9ea0fb 100644 --- a/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml +++ b/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml @@ -101,6 +101,8 @@ name="zoom_in"> + - - - - + width="18" /> + + + + + + + + + + + + + + + + + + + + + + Date: Sat, 7 Nov 2009 12:49:07 -0500 Subject: DEV-42215: Don't zap valid g(First|Last)name with empty strings. In the --autologin case, gFirstname, gLastname were validly set from gSavedSettings, but at the last minute were overwritten with empty strings from gLoginHandler. Only perform those assignments if gLoginHandler has non-empty strings to contribute. --- indra/newview/llstartup.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 4c322810d5..2c1f468f77 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -744,6 +744,7 @@ bool idle_startup() // We have at least some login information on a SLURL gFirstname = gLoginHandler.getFirstName(); gLastname = gLoginHandler.getLastName(); + LL_DEBUGS("LLStartup") << "STATE_FIRST: setting gFirstname, gLastname from gLoginHandler: '" << gFirstname << "' '" << gLastname << "'" << LL_ENDL; // Show the login screen if we don't have everything show_connect_box = @@ -754,6 +755,7 @@ bool idle_startup() LLSD cmd_line_login = gSavedSettings.getLLSD("UserLoginInfo"); gFirstname = cmd_line_login[0].asString(); gLastname = cmd_line_login[1].asString(); + LL_DEBUGS("LLStartup") << "Setting gFirstname, gLastname from gSavedSettings(\"UserLoginInfo\"): '" << gFirstname << "' '" << gLastname << "'" << LL_ENDL; LLMD5 pass((unsigned char*)cmd_line_login[2].asString().c_str()); char md5pass[33]; /* Flawfinder: ignore */ @@ -771,6 +773,7 @@ bool idle_startup() { gFirstname = gSavedSettings.getString("FirstName"); gLastname = gSavedSettings.getString("LastName"); + LL_DEBUGS("LLStartup") << "AutoLogin: setting gFirstname, gLastname from gSavedSettings(\"First|LastName\"): '" << gFirstname << "' '" << gLastname << "'" << LL_ENDL; gPassword = LLStartUp::loadPasswordFromDisk(); gSavedSettings.setBOOL("RememberPassword", TRUE); @@ -786,6 +789,7 @@ bool idle_startup() // a valid grid is selected gFirstname = gSavedSettings.getString("FirstName"); gLastname = gSavedSettings.getString("LastName"); + LL_DEBUGS("LLStartup") << "normal login: setting gFirstname, gLastname from gSavedSettings(\"First|LastName\"): '" << gFirstname << "' '" << gLastname << "'" << LL_ENDL; gPassword = LLStartUp::loadPasswordFromDisk(); show_connect_box = true; } @@ -896,8 +900,15 @@ bool idle_startup() gViewerWindow->moveProgressViewToFront(); //reset the values that could have come in from a slurl - gFirstname = gLoginHandler.getFirstName(); - gLastname = gLoginHandler.getLastName(); + // DEV-42215: Make sure they're not empty -- gFirstname and gLastname + // might already have been set from gSavedSettings, and it's too bad + // to overwrite valid values with empty strings. + if (! gLoginHandler.getFirstName().empty() && ! gLoginHandler.getLastName().empty()) + { + gFirstname = gLoginHandler.getFirstName(); + gLastname = gLoginHandler.getLastName(); + LL_DEBUGS("LLStartup") << "STATE_LOGIN_CLEANUP: setting gFirstname, gLastname from gLoginHandler: '" << gFirstname << "' '" << gLastname << "'" << LL_ENDL; + } if (show_connect_box) { -- cgit v1.2.3 From 7cabb9de683cd3177f9ddbe2e7af873f0c9155c9 Mon Sep 17 00:00:00 2001 From: Lynx Linden Date: Sun, 8 Nov 2009 17:24:08 +0000 Subject: EXT-332: Added support for local currency estimates to the Buy L$ and Buy Land floaters. We now check for a new estimatedLocalCost key from the XML-RPC server, which provides the estimated cost in the user's local currency, e.g., "US$ 10.00" or "10.00 Euros". Note: the server is not currently sending this information. The previous codepath still exists and should be unaffected. That is, we will continue to check for an estimatedCost key from the server with a value specified in US cents. We give precedence to estimatedLocalCost though and may want to remove this code once the international billing server changes go live. HG: branch 'default' HG: changed indra/newview/llcurrencyuimanager.cpp HG: changed indra/newview/llcurrencyuimanager.h HG: changed indra/newview/llfloaterbuyland.cpp HG: changed indra/newview/skins/default/xui/en/floater_buy_land.xml --- indra/newview/llcurrencyuimanager.cpp | 121 ++++++++++++++++----- indra/newview/llcurrencyuimanager.h | 9 +- indra/newview/llfloaterbuyland.cpp | 16 ++- .../skins/default/xui/en/floater_buy_land.xml | 8 +- 4 files changed, 116 insertions(+), 38 deletions(-) (limited to 'indra') diff --git a/indra/newview/llcurrencyuimanager.cpp b/indra/newview/llcurrencyuimanager.cpp index c4bfd71999..319cbf8209 100644 --- a/indra/newview/llcurrencyuimanager.cpp +++ b/indra/newview/llcurrencyuimanager.cpp @@ -76,8 +76,15 @@ public: bool mUserEnteredCurrencyBuy; // from website - bool mSiteCurrencyEstimated; - S32 mSiteCurrencyEstimatedCost; + + // pre-viewer 2.0, the server returned estimates as an + // integer US cents value, e.g., "1000" for $10.00 + // post-viewer 2.0, the server may also return estimates + // as a string with currency embedded, e.g., "10.00 Euros" + bool mUSDCurrencyEstimated; + S32 mUSDCurrencyEstimatedCost; + bool mLocalCurrencyEstimated; + std::string mLocalCurrencyEstimatedCost; std::string mSiteConfirm; bool mBought; @@ -101,6 +108,10 @@ public: void startCurrencyBuy(const std::string& password); void finishCurrencyBuy(); + + void clearEstimate(); + bool hasEstimate() const; + std::string getLocalEstimate() const; void startTransaction(TransactionType type, const char* method, LLXMLRPCValue params); @@ -126,12 +137,11 @@ LLCurrencyUIManager::Impl::Impl(LLPanel& dialog) mError(false), mUserCurrencyBuy(2000), // note, this is a default, real value set in llfloaterbuycurrency.cpp mUserEnteredCurrencyBuy(false), - mSiteCurrencyEstimated(false), - mSiteCurrencyEstimatedCost(0), mBought(false), mTransactionType(TransactionNone), mTransaction(0), mCurrencyChanged(false) { + clearEstimate(); } LLCurrencyUIManager::Impl::~Impl() @@ -141,14 +151,13 @@ LLCurrencyUIManager::Impl::~Impl() void LLCurrencyUIManager::Impl::updateCurrencyInfo() { - mSiteCurrencyEstimated = false; - mSiteCurrencyEstimatedCost = 0; + clearEstimate(); mBought = false; mCurrencyChanged = false; if (mUserCurrencyBuy == 0) { - mSiteCurrencyEstimated = true; + mLocalCurrencyEstimated = true; return; } @@ -185,9 +194,21 @@ void LLCurrencyUIManager::Impl::finishCurrencyInfo() } LLXMLRPCValue currency = result["currency"]; - mSiteCurrencyEstimated = true; - mSiteCurrencyEstimatedCost = currency["estimatedCost"].asInt(); - + + // old XML-RPC server: estimatedCost = value in US cents + mUSDCurrencyEstimated = currency["estimatedCost"].isValid(); + if (mUSDCurrencyEstimated) + { + mUSDCurrencyEstimatedCost = currency["estimatedCost"].asInt(); + } + + // newer XML-RPC server: estimatedLocalCost = local currency string + mLocalCurrencyEstimated = currency["estimatedLocalCost"].isValid(); + if (mLocalCurrencyEstimated) + { + mLocalCurrencyEstimatedCost = currency["estimatedLocalCost"].asString(); + } + S32 newCurrencyBuy = currency["currencyBuy"].asInt(); if (newCurrencyBuy != mUserCurrencyBuy) { @@ -200,17 +221,20 @@ void LLCurrencyUIManager::Impl::finishCurrencyInfo() void LLCurrencyUIManager::Impl::startCurrencyBuy(const std::string& password) { - mSiteCurrencyEstimated = false; - mSiteCurrencyEstimatedCost = 0; - mCurrencyChanged = false; - LLXMLRPCValue keywordArgs = LLXMLRPCValue::createStruct(); keywordArgs.appendString("agentId", gAgent.getID().asString()); keywordArgs.appendString( "secureSessionId", gAgent.getSecureSessionID().asString()); keywordArgs.appendInt("currencyBuy", mUserCurrencyBuy); - keywordArgs.appendInt("estimatedCost", mSiteCurrencyEstimatedCost); + if (mUSDCurrencyEstimated) + { + keywordArgs.appendInt("estimatedCost", mUSDCurrencyEstimatedCost); + } + if (mLocalCurrencyEstimated) + { + keywordArgs.appendString("estimatedLocalCost", mLocalCurrencyEstimatedCost); + } keywordArgs.appendString("confirm", mSiteConfirm); if (!password.empty()) { @@ -226,6 +250,9 @@ void LLCurrencyUIManager::Impl::startCurrencyBuy(const std::string& password) params.append(keywordArgs); startTransaction(TransactionBuy, "buyCurrency", params); + + clearEstimate(); + mCurrencyChanged = false; } void LLCurrencyUIManager::Impl::finishCurrencyBuy() @@ -270,6 +297,34 @@ void LLCurrencyUIManager::Impl::startTransaction(TransactionType type, clearError(); } +void LLCurrencyUIManager::Impl::clearEstimate() +{ + mUSDCurrencyEstimated = false; + mUSDCurrencyEstimatedCost = 0; + mLocalCurrencyEstimated = false; + mLocalCurrencyEstimatedCost = "0"; +} + +bool LLCurrencyUIManager::Impl::hasEstimate() const +{ + return (mUSDCurrencyEstimated || mLocalCurrencyEstimated); +} + +std::string LLCurrencyUIManager::Impl::getLocalEstimate() const +{ + if (mLocalCurrencyEstimated) + { + // we have the new-style local currency string + return mLocalCurrencyEstimatedCost; + } + if (mUSDCurrencyEstimated) + { + // we have the old-style USD-specific value + return "US$ " + llformat("%#.2f", mUSDCurrencyEstimatedCost / 100.0); + } + return ""; +} + bool LLCurrencyUIManager::Impl::checkTransaction() { if (!mTransaction) @@ -342,8 +397,8 @@ void LLCurrencyUIManager::Impl::currencyKey(S32 value) mUserCurrencyBuy = value; - if (mSiteCurrencyEstimated) { - mSiteCurrencyEstimated = false; + if (hasEstimate()) { + clearEstimate(); //cannot just simply refresh the whole UI, as the edit field will // get reset and the cursor will change... @@ -406,8 +461,8 @@ void LLCurrencyUIManager::Impl::updateUI() } } - mPanel.childSetTextArg("currency_est", "[LOCALAMOUNT]", "US$ " + llformat("%#.2f", mSiteCurrencyEstimatedCost / 100.0)); - mPanel.childSetVisible("currency_est", mSiteCurrencyEstimated && mUserCurrencyBuy > 0); + mPanel.childSetTextArg("currency_est", "[LOCALAMOUNT]", getLocalEstimate()); + mPanel.childSetVisible("currency_est", hasEstimate() && mUserCurrencyBuy > 0); if (mPanel.childIsEnabled("buy_btn") ||mPanel.childIsVisible("currency_est") @@ -448,18 +503,32 @@ void LLCurrencyUIManager::setZeroMessage(const std::string& message) impl.mZeroMessage = message; } -void LLCurrencyUIManager::setEstimate(int amount) +void LLCurrencyUIManager::setUSDEstimate(int amount) +{ + impl.mUSDCurrencyEstimatedCost = amount; + impl.mUSDCurrencyEstimated = true; + impl.updateUI(); + + impl.mCurrencyChanged = false; +} + +int LLCurrencyUIManager::getUSDEstimate() +{ + return impl.mUSDCurrencyEstimated ? impl.mUSDCurrencyEstimatedCost : 0; +} + +void LLCurrencyUIManager::setLocalEstimate(const std::string &amount) { - impl.mSiteCurrencyEstimatedCost = amount; - impl.mSiteCurrencyEstimated = true; + impl.mLocalCurrencyEstimatedCost = amount; + impl.mLocalCurrencyEstimated = true; impl.updateUI(); impl.mCurrencyChanged = false; } -int LLCurrencyUIManager::getEstimate() +std::string LLCurrencyUIManager::getLocalEstimate() const { - return impl.mSiteCurrencyEstimated ? impl.mSiteCurrencyEstimatedCost : 0; + return impl.getLocalEstimate(); } void LLCurrencyUIManager::prepare() @@ -490,7 +559,7 @@ void LLCurrencyUIManager::buy(const std::string& buy_msg) LLUIString msg = buy_msg; msg.setArg("[LINDENS]", llformat("%d", impl.mUserCurrencyBuy)); - msg.setArg("[LOCALAMOUNT]", "US$ " + llformat("%#.2f", impl.mSiteCurrencyEstimatedCost / 100.0)); + msg.setArg("[LOCALAMOUNT]", getLocalEstimate()); LLConfirmationManager::confirm(impl.mSiteConfirm, msg, impl, @@ -511,7 +580,7 @@ bool LLCurrencyUIManager::canCancel() bool LLCurrencyUIManager::canBuy() { return impl.mTransactionType == Impl::TransactionNone - && impl.mSiteCurrencyEstimated + && impl.hasEstimate() && impl.mUserCurrencyBuy > 0; } diff --git a/indra/newview/llcurrencyuimanager.h b/indra/newview/llcurrencyuimanager.h index 93427aed7f..dfe027098d 100644 --- a/indra/newview/llcurrencyuimanager.h +++ b/indra/newview/llcurrencyuimanager.h @@ -57,11 +57,16 @@ public: void setZeroMessage(const std::string& message); // sets the gray message to show when zero - void setEstimate(int); - int getEstimate(); + void setUSDEstimate(int); // deprecated in 2.0 + int getUSDEstimate(); // deprecated in 2.0 // the amount in US$ * 100 (in otherwords, in cents) // use set when you get this information from elsewhere + void setLocalEstimate(const std::string &local_est); + std::string getLocalEstimate() const; + // the estimated cost in the user's local currency + // for example, "US$ 10.00" or "10.00 Euros" + void prepare(); // call once after dialog is built, from postBuild() void updateUI(bool show = true); diff --git a/indra/newview/llfloaterbuyland.cpp b/indra/newview/llfloaterbuyland.cpp index 36f0315790..467796b4a3 100644 --- a/indra/newview/llfloaterbuyland.cpp +++ b/indra/newview/llfloaterbuyland.cpp @@ -685,7 +685,14 @@ void LLFloaterBuyLandUI::finishWebSiteInfo() mSiteLandUseAction = landUse["action"].asString(); LLXMLRPCValue currency = result["currency"]; - mCurrency.setEstimate(currency["estimatedCost"].asInt()); + if (currency["estimatedCost"].isValid()) + { + mCurrency.setUSDEstimate(currency["estimatedCost"].asInt()); + } + if (currency["estimatedLocalCost"].isValid()) + { + mCurrency.setLocalEstimate(currency["estimatedLocalCost"].asString()); + } mSiteConfirm = result["confirm"].asString(); } @@ -733,7 +740,8 @@ void LLFloaterBuyLandUI::runWebSitePrep(const std::string& password) keywordArgs.appendInt("billableArea", mIsForGroup ? 0 : mParcelBillableArea); keywordArgs.appendInt("currencyBuy", mCurrency.getAmount()); - keywordArgs.appendInt("estimatedCost", mCurrency.getEstimate()); + keywordArgs.appendInt("estimatedCost", mCurrency.getUSDEstimate()); + keywordArgs.appendString("estimatedLocalCost", mCurrency.getLocalEstimate()); keywordArgs.appendString("confirm", mSiteConfirm); if (!password.empty()) { @@ -1217,7 +1225,7 @@ void LLFloaterBuyLandUI::refreshUI() childSetText("currency_reason", getString("not_enough_lindens", string_args)); - childSetTextArg("currency_est", "[AMOUNT2]", llformat("%#.2f", mCurrency.getEstimate() / 100.0)); + childSetTextArg("currency_est", "[LOCAL_AMOUNT]", mCurrency.getLocalEstimate()); } if (willHaveEnough) @@ -1297,7 +1305,7 @@ void LLFloaterBuyLandUI::startBuyPreConfirm() { LLStringUtil::format_map_t string_args; string_args["[AMOUNT]"] = llformat("%d", mCurrency.getAmount()); - string_args["[AMOUNT2]"] = llformat("%#.2f", mCurrency.getEstimate() / 100.0); + string_args["[LOCAL_AMOUNT]"] = mCurrency.getLocalEstimate(); action += getString("buy_for_US", string_args); } diff --git a/indra/newview/skins/default/xui/en/floater_buy_land.xml b/indra/newview/skins/default/xui/en/floater_buy_land.xml index 0f710a8047..6e0c3dfe54 100644 --- a/indra/newview/skins/default/xui/en/floater_buy_land.xml +++ b/indra/newview/skins/default/xui/en/floater_buy_land.xml @@ -115,7 +115,7 @@ Try selecting a smaller area. - Buy L$ [AMOUNT] for approx. US$ [AMOUNT2], + Buy L$ [AMOUNT] for approx. [LOCAL_AMOUNT], @@ -172,10 +172,6 @@ supports [AMOUNT2] objects name="no_parcel_selected"> (no parcel selected) - - Buy L$ [LINDENS] for approx. US$ [USD] - - for approx. US$ [AMOUNT2] + for approx. [LOCAL_AMOUNT] Date: Sun, 8 Nov 2009 19:38:21 +0000 Subject: DEV-38840: Fix the Pay Resident floater. It was failing to open due to an unknown string and the L$5 button was labelled incorrectly (it said L$1). --- indra/newview/skins/default/xui/en/floater_pay.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'indra') diff --git a/indra/newview/skins/default/xui/en/floater_pay.xml b/indra/newview/skins/default/xui/en/floater_pay.xml index b4becfa022..509cffe490 100644 --- a/indra/newview/skins/default/xui/en/floater_pay.xml +++ b/indra/newview/skins/default/xui/en/floater_pay.xml @@ -2,22 +2,29 @@ + + Pay Group + + + Pay Resident + Pay: @@ -45,7 +52,6 @@