From 53aecb2d4bf0e74e162f2a033e7bfb38d7a5bfed Mon Sep 17 00:00:00 2001 From: Northspring Date: Tue, 21 Oct 2014 21:06:45 +0200 Subject: [PATCH 001/229] Minor Polish translation adjustment --- indra/newview/skins/default/xui/pl/menu_url_objectim.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/skins/default/xui/pl/menu_url_objectim.xml b/indra/newview/skins/default/xui/pl/menu_url_objectim.xml index be59908498..bc2b4f4c6f 100755 --- a/indra/newview/skins/default/xui/pl/menu_url_objectim.xml +++ b/indra/newview/skins/default/xui/pl/menu_url_objectim.xml @@ -3,7 +3,7 @@ - + From 64f6a0bff5b65c998e8cb90e8ffa8850943d4fc5 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 23 Oct 2014 00:25:55 +0200 Subject: [PATCH 002/229] Fix line-endings --- indra/newview/lldrawpoolavatar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 77e1ed7f31..20c1c4952c 100755 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -1681,11 +1681,11 @@ void LLDrawPoolAvatar::updateRiggedFaceVertexBuffer(LLVOAvatar* avatar, LLFace* { LLPointer cur_buffer = facep->getVertexBuffer(); const LLVolumeFace& cur_vol_face = volume->getVolumeFace(i); - if( cur_vol_face.mNumVertices > 0x10000 || cur_vol_face.mNumVertices < 0 || cur_vol_face.mNumIndices < 0 ) - { - LL_WARNS() << "Skipping face " << i - << " vertices " << cur_vol_face.mNumVertices << " indices " << cur_vol_face.mNumIndices - << " face is possibly corrupted" + if( cur_vol_face.mNumVertices > 0x10000 || cur_vol_face.mNumVertices < 0 || cur_vol_face.mNumIndices < 0 ) + { + LL_WARNS() << "Skipping face " << i + << " vertices " << cur_vol_face.mNumVertices << " indices " << cur_vol_face.mNumIndices + << " face is possibly corrupted" << LL_ENDL; continue; } From 3da094da09d3056c8882f44f605f3a0a92baa797 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 23 Oct 2014 00:27:09 +0200 Subject: [PATCH 003/229] FIRE-14835: Backout f24928e9e070 (FIRE-7937) as it allows rigging to attachment spots instead of joints and can cause unpredictable behavior in the viewer --- indra/newview/llfloatermodelpreview.cpp | 26 ------------------------- 1 file changed, 26 deletions(-) diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index ee5df1688e..2477612780 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -1434,32 +1434,6 @@ LLModelLoader::LLModelLoader( std::string filename, S32 lod, LLModelPreview* pre mJointMap["lShin"] = "mKneeLeft"; mJointMap["lFoot"] = "mFootLeft"; -// FIRE-7937 : Patch from Magus Freston - allows ALL bones including all attachment points to be weighted to mesh and animated - mJointMap["Right_Ear"] = "Right Ear"; - mJointMap["Left_Ear"] = "Left Ear"; - mJointMap["Right_Eyeball"] = "Right Eyeball"; - mJointMap["Left_Eyeball"] = "Left Eyeball"; - mJointMap["Right_Shoulder"] = "Right Shoulder"; - mJointMap["Left_Shoulder"] = "Left Shoulder"; - mJointMap["R_Upper_Arm"] = "R Upper Arm"; - mJointMap["L_Upper_Arm"] = "L Upper Arm"; - mJointMap["R_Forearm"] = "R Forearm"; - mJointMap["L_Forearm"] = "L Forearm"; - mJointMap["Right_Hand"] = "Right Hand"; - mJointMap["Left_Hand"] = "Left Hand"; - mJointMap["Right_Pec"] = "Right Pec"; - mJointMap["Left_Pec"] = "Left Pec"; - mJointMap["Avatar_Center"] = "Avatar Center"; - mJointMap["Right_Hip"] = "Right Hip"; - mJointMap["Left_Hip"] = "Left Hip"; - mJointMap["R_Upper_Leg"] = "R Upper Leg"; - mJointMap["L_Upper_Leg"] = "L Upper Leg"; - mJointMap["R_Lower_Leg"] = "R Lower Leg"; - mJointMap["R_Lower_Leg"] = "R Lower Leg"; - mJointMap["Right_Foot"] = "Right Foot"; - mJointMap["Left_Foot"] = "Left Foot"; -// FIRE-7937 end - if (mPreview) { //only try to load from slm if viewer is configured to do so and this is the From bf708b6deabc58b19d1c0a5c246e3f2be82c190b Mon Sep 17 00:00:00 2001 From: Nicky Date: Thu, 23 Oct 2014 11:12:39 +0200 Subject: [PATCH 004/229] FIRE-14801; (Windows x86/Linux x86/Mac x86) Update lltqwebkit. --- autobuild.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autobuild.xml b/autobuild.xml index 87a03c8de7..f35ea233bf 100755 --- a/autobuild.xml +++ b/autobuild.xml @@ -1872,9 +1872,9 @@ archive hash - 4a98d727561cd1f4ac5ee02907411df1 + 3c2b6be4c78b2479c3fae612e1053d37 url - http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llqtwebkit/rev/250147/arch/Darwin/installer/llqtwebkit-4.7.1-darwin-20120228.tar.bz2 + http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/canonical_3p-llqtwebkit2/rev/295522/arch/Darwin/installer/llqtwebkit-4.7.1-darwin-20141015.tar.bz2 name darwin @@ -1884,9 +1884,9 @@ archive hash - f50e5f0cc880c55b3f0f7e67dc8f7221 + d31358176b9ba8c676458cc061767c0b url - http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llqtwebkit/rev/250147/arch/Linux/installer/llqtwebkit-4.7.1-linux-20120228.tar.bz2 + http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/canonical_3p-llqtwebkit2/rev/295522/arch/Linux/installer/llqtwebkit-4.7.1-linux-20141015.tar.bz2 name linux @@ -1908,9 +1908,9 @@ archive hash - 5e3cd6af397e853a963a6de40d440ff4 + bb4e8c8006c8a7aef6d3e3c36a8cebbf url - http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llqtwebkit/rev/250147/arch/CYGWIN/installer/llqtwebkit-4.7.1-windows-20120228.tar.bz2 + http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/canonical_3p-llqtwebkit2/rev/295522/arch/CYGWIN/installer/llqtwebkit-4.7.1-windows-20141015.tar.bz2 name windows From 6252c817752543850db0bbd03a366c08ec00b6e8 Mon Sep 17 00:00:00 2001 From: Nicky Date: Thu, 23 Oct 2014 12:23:33 +0200 Subject: [PATCH 005/229] FIRE-14801; (Windows x64) Update lltqwebkit. --- package_override.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_override.ini b/package_override.ini index 5d4ea8635b..67c95f4a56 100644 --- a/package_override.ini +++ b/package_override.ini @@ -84,7 +84,7 @@ windows = http://downloads.phoenixviewer.com/google_breakpad-0.0.0-rev1099-windo windows = http://downloads.phoenixviewer.com/gntp_growl-1.0-windows-x64-20130802.tar.bz2|e10481fb350646db17597728b6e23fa5 [slplugin_x86] -windows = http://downloads.phoenixviewer.com/slplugin_x86-1.2-windows-x64-20140819.tar.bz2|3cab2257ddd232a802091c41daae3f2c +windows = http://downloads.phoenixviewer.com/slplugin_x86-1.2-windows-20141023.tar.bz2|c9fea1399b836323d9379e022f13e488 [wix] windows = http://downloads.phoenixviewer.com/wix-3.7-windows-x64-20130804.tar.bz2|2c932229c34ae59f567d7c938d181455 From 3c3d74e487146dfa2f1b6b7f868c40bc9bb2ea8f Mon Sep 17 00:00:00 2001 From: Cinder Date: Thu, 23 Oct 2014 12:45:05 -0600 Subject: [PATCH 006/229] STORM-2081 - Guard against null gWindowImplementation when fullscreen (crashes OS X Yosemite) --- indra/llwindow/llwindowmacosx.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index 9f2bcacbf5..6d4ca3dc78 100755 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -238,7 +238,10 @@ void callFocus() void callFocusLost() { - gWindowImplementation->getCallbacks()->handleFocusLost(gWindowImplementation); + if (gWindowImplementation) + { + gWindowImplementation->getCallbacks()->handleFocusLost(gWindowImplementation); + } } void callRightMouseDown(float *pos, MASK mask) From 0d3eb8eef7169d42f030b03148e33bc657115e34 Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Thu, 20 Mar 2014 11:37:20 +0200 Subject: [PATCH 007/229] MAINT-1190 FIXED Update visual param list when changing sex. --- indra/newview/llpaneleditwearable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp index 34cff61827..7d0061895e 100755 --- a/indra/newview/llpaneleditwearable.cpp +++ b/indra/newview/llpaneleditwearable.cpp @@ -956,7 +956,7 @@ void LLPanelEditWearable::onCommitSexChange() gAgentAvatarp->updateSexDependentLayerSets( FALSE ); gAgentAvatarp->updateVisualParams(); - + showWearable(mWearablePtr, TRUE, TRUE); updateScrollingPanelUI(); } From c3c1dd55e465b3d70a018ab4326aa13a987cb27b Mon Sep 17 00:00:00 2001 From: Nicky Date: Fri, 24 Oct 2014 11:20:30 +0200 Subject: [PATCH 008/229] Version 4.7.0 for default branch. --- indra/Version | 2 +- indra/newview/VIEWER_VERSION.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/Version b/indra/Version index 4cfc99d299..53e12f7c5c 100644 --- a/indra/Version +++ b/indra/Version @@ -1 +1 @@ -VERSION_VIEWER=4.6.8 +VERSION_VIEWER=4.7.0 diff --git a/indra/newview/VIEWER_VERSION.txt b/indra/newview/VIEWER_VERSION.txt index d3acad0593..f6cdf40983 100644 --- a/indra/newview/VIEWER_VERSION.txt +++ b/indra/newview/VIEWER_VERSION.txt @@ -1 +1 @@ -4.6.8 +4.7.0 From 8012d781c1c5b54e01ba7bfbc81bf977a8650829 Mon Sep 17 00:00:00 2001 From: Nicky Date: Fri, 24 Oct 2014 12:11:48 +0200 Subject: [PATCH 009/229] Don't link against jscore with latest webkit. --- indra/cmake/WebKitLibPlugin.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/cmake/WebKitLibPlugin.cmake b/indra/cmake/WebKitLibPlugin.cmake index 02c8f388ea..58e7704612 100755 --- a/indra/cmake/WebKitLibPlugin.cmake +++ b/indra/cmake/WebKitLibPlugin.cmake @@ -74,7 +74,7 @@ elseif (LINUX) QtGui QtCore jpeg - jscore +# jscore fontconfig X11 Xrender From c08db1f35d86b9ef638d031344498f5c4e8ca269 Mon Sep 17 00:00:00 2001 From: Whirly Date: Sat, 25 Oct 2014 01:36:43 +0100 Subject: [PATCH 010/229] FIRE-14708 : Menu search box added to Starlight and Starlight CUI skins - by Hitomi Tiponi --- .../starlight/xui/en/panel_status_bar.xml | 43 +++++++++++++++++++ .../starlightcui/xui/en/panel_status_bar.xml | 42 ++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/indra/newview/skins/starlight/xui/en/panel_status_bar.xml b/indra/newview/skins/starlight/xui/en/panel_status_bar.xml index b0ee03d064..4117592ad3 100644 --- a/indra/newview/skins/starlight/xui/en/panel_status_bar.xml +++ b/indra/newview/skins/starlight/xui/en/panel_status_bar.xml @@ -215,6 +215,49 @@ name="buycurrencylabel"> L$ [AMT] + + + + + + + + L$ [AMT] + + + + + + + + Date: Sat, 25 Oct 2014 02:04:59 +0100 Subject: [PATCH 011/229] FIRE-14708 : Pixel bumping to fix cut off label --- indra/newview/skins/starlight/xui/en/panel_status_bar.xml | 2 +- indra/newview/skins/starlightcui/xui/en/panel_status_bar.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/skins/starlight/xui/en/panel_status_bar.xml b/indra/newview/skins/starlight/xui/en/panel_status_bar.xml index 4117592ad3..b6a34373a8 100644 --- a/indra/newview/skins/starlight/xui/en/panel_status_bar.xml +++ b/indra/newview/skins/starlight/xui/en/panel_status_bar.xml @@ -220,7 +220,7 @@ height="18" left_pad="12" top="1" - width="100" + width="110" follows="right|top" name="menu_search_panel" background_opaque="true" diff --git a/indra/newview/skins/starlightcui/xui/en/panel_status_bar.xml b/indra/newview/skins/starlightcui/xui/en/panel_status_bar.xml index c38b36a0a9..1a3926f2bd 100644 --- a/indra/newview/skins/starlightcui/xui/en/panel_status_bar.xml +++ b/indra/newview/skins/starlightcui/xui/en/panel_status_bar.xml @@ -219,7 +219,7 @@ height="18" left_pad="12" top="1" - width="100" + width="110" follows="right|top" name="menu_search_panel" background_opaque="false" From 3e7f44c912f254c144acc7a88859be7fab04b4b7 Mon Sep 17 00:00:00 2001 From: Northspring Date: Sat, 25 Oct 2014 21:02:08 +0200 Subject: [PATCH 012/229] Updated Polish translation --- .../xui/pl/floater_animation_bvh_preview.xml | 45 +++++++++---------- .../default/xui/pl/floater_edit_day_cycle.xml | 1 + .../default/xui/pl/floater_fast_timers.xml | 2 - .../default/xui/pl/floater_import_collada.xml | 1 - .../xui/pl/floater_merchant_outbox.xml | 1 - .../default/xui/pl/floater_model_preview.xml | 15 +++---- .../default/xui/pl/floater_perm_prefs.xml | 1 - .../xui/pl/floater_preferences_proxy.xml | 1 - .../xui/pl/floater_translation_settings.xml | 5 +-- .../default/xui/pl/panel_sound_devices.xml | 4 +- 10 files changed, 32 insertions(+), 44 deletions(-) diff --git a/indra/newview/skins/default/xui/pl/floater_animation_bvh_preview.xml b/indra/newview/skins/default/xui/pl/floater_animation_bvh_preview.xml index 954eede9f4..9a7ef95b9d 100644 --- a/indra/newview/skins/default/xui/pl/floater_animation_bvh_preview.xml +++ b/indra/newview/skins/default/xui/pl/floater_animation_bvh_preview.xml @@ -136,34 +136,33 @@ Maksymalna długość pliku animacji wynosi [MAX_LENGTH] sekund. Ekspresja - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + Podgląd gdy: - - - - + + + + diff --git a/indra/newview/skins/default/xui/pl/floater_edit_day_cycle.xml b/indra/newview/skins/default/xui/pl/floater_edit_day_cycle.xml index bf6c66f1a4..5c96601c71 100644 --- a/indra/newview/skins/default/xui/pl/floater_edit_day_cycle.xml +++ b/indra/newview/skins/default/xui/pl/floater_edit_day_cycle.xml @@ -54,6 +54,7 @@ Niebo: + Czas: diff --git a/indra/newview/skins/default/xui/pl/floater_fast_timers.xml b/indra/newview/skins/default/xui/pl/floater_fast_timers.xml index f41fe33e48..a526e0a0bb 100644 --- a/indra/newview/skins/default/xui/pl/floater_fast_timers.xml +++ b/indra/newview/skins/default/xui/pl/floater_fast_timers.xml @@ -6,12 +6,10 @@ - - + + diff --git a/indra/newview/skins/default/xui/en/menu_toolbars.xml b/indra/newview/skins/default/xui/en/menu_toolbars.xml index 6e4f115569..468976ca3b 100755 --- a/indra/newview/skins/default/xui/en/menu_toolbars.xml +++ b/indra/newview/skins/default/xui/en/menu_toolbars.xml @@ -8,10 +8,11 @@ visible="false"> - + @@ -35,4 +36,12 @@ + + + + + diff --git a/indra/newview/skins/default/xui/en/menu_toolbars_horizontal.xml b/indra/newview/skins/default/xui/en/menu_toolbars_horizontal.xml index 24d29cdc28..336e7bae8d 100644 --- a/indra/newview/skins/default/xui/en/menu_toolbars_horizontal.xml +++ b/indra/newview/skins/default/xui/en/menu_toolbars_horizontal.xml @@ -6,10 +6,11 @@ visible="false"> - + @@ -91,4 +92,12 @@ + + + + + diff --git a/indra/newview/skins/default/xui/en/menu_toolbars_vertical.xml b/indra/newview/skins/default/xui/en/menu_toolbars_vertical.xml index 90c420d0e8..48b10f1b1a 100644 --- a/indra/newview/skins/default/xui/en/menu_toolbars_vertical.xml +++ b/indra/newview/skins/default/xui/en/menu_toolbars_vertical.xml @@ -6,10 +6,11 @@ visible="false"> - + @@ -66,4 +67,12 @@ + + + + + From ed465c616b840439cba1973e8111f22bf0b6a2a6 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 30 Oct 2014 23:46:46 +0100 Subject: [PATCH 037/229] Updated German translation --- indra/newview/skins/default/xui/de/floater_toybox.xml | 1 + indra/newview/skins/default/xui/de/menu_toolbars.xml | 1 + indra/newview/skins/default/xui/de/menu_toolbars_horizontal.xml | 1 + indra/newview/skins/default/xui/de/menu_toolbars_vertical.xml | 1 + 4 files changed, 4 insertions(+) diff --git a/indra/newview/skins/default/xui/de/floater_toybox.xml b/indra/newview/skins/default/xui/de/floater_toybox.xml index 4a91f4a941..c9ea85f0f8 100755 --- a/indra/newview/skins/default/xui/de/floater_toybox.xml +++ b/indra/newview/skins/default/xui/de/floater_toybox.xml @@ -8,4 +8,5 @@ @@ -605,7 +605,7 @@ image_unselected="SplitButtonRight_Off" > @@ -623,7 +623,7 @@ image_overlay="phoenix_18" > From f3ae6723113069909f2b7ab7cd3c38d95474e704 Mon Sep 17 00:00:00 2001 From: "kadah.coba@gmail.com" Date: Sun, 2 Nov 2014 03:42:11 -0800 Subject: [PATCH 048/229] Fix: Search resetting to homepage upon clicking the "Search" toolbar button when the floater its minimized (eg. after TPing via it) --- indra/newview/app_settings/commands.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/app_settings/commands.xml b/indra/newview/app_settings/commands.xml index 9d75719c72..3ba6d2ef7b 100755 --- a/indra/newview/app_settings/commands.xml +++ b/indra/newview/app_settings/commands.xml @@ -209,7 +209,7 @@ icon="Command_Search_Icon" label_ref="Command_Search_Label" tooltip_ref="Command_Search_Tooltip" - execute_function="Floater.Toggle" + execute_function="Floater.ToggleOrBringToFront" execute_parameters="search" is_running_function="Floater.IsOpen" is_running_parameters="search" From fbf0fce33ada44b0acc193ac976159873c283992 Mon Sep 17 00:00:00 2001 From: "kadah.coba@gmail.com" Date: Sun, 2 Nov 2014 04:48:57 -0800 Subject: [PATCH 049/229] Feature: Added option to log filenames of snapshots to local chat history Main purpose: give feedback on the quick "Snapshot to Disk" shortcut Secondary purpose: Add context to snapshots and chat history --- indra/newview/app_settings/settings.xml | 11 +++++++++++ indra/newview/app_settings/settings_latency.xml | 12 +++++++++++- indra/newview/llviewerwindow.cpp | 14 ++++++++++++++ .../default/xui/en/panel_preferences_alerts.xml | 9 +++++++++ indra/newview/skins/default/xui/en/strings.xml | 1 + 5 files changed, 46 insertions(+), 1 deletion(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 576bd7a2b4..c055fae15d 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -22798,6 +22798,17 @@ Change of this parameter will affect the layout of buttons in notification toast Value 1 + FSLogSnapshotsToLocal + + Comment + Log filename of saved snapshots in to chat history + Persist + 1 + Type + Boolean + Value + 0 + diff --git a/indra/newview/app_settings/settings_latency.xml b/indra/newview/app_settings/settings_latency.xml index 67689cdc57..12ccbb46a5 100644 --- a/indra/newview/app_settings/settings_latency.xml +++ b/indra/newview/app_settings/settings_latency.xml @@ -723,7 +723,17 @@ 2 - + FSFlashOnMessage + + Persist + 1 + Comment + Flash/Bounce the app icon when a new message is recieved and Firestorm is not in focus + Type + Boolean + Value + 1 + diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 18a0800887..90647e2a6f 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -47,6 +47,7 @@ #include "llpanellogin.h" #include "llviewerkeyboard.h" #include "llviewermenu.h" +#include "fsfloaternearbychat.h" // #include "llviewquery.h" #include "llxmltree.h" @@ -4710,6 +4711,19 @@ BOOL LLViewerWindow::saveImageNumbered(LLImageFormatted *image, bool force_picke while( -1 != err ); // search until the file is not found (i.e., stat() gives an error). LL_INFOS() << "Saving snapshot to " << filepath << LL_ENDL; + // Log snapshot filename to local chat history + FSFloaterNearbyChat* nearby_chat = FSFloaterNearbyChat::getInstance(); + if(nearby_chat && gSavedSettings.getBOOL("FSLogSnapshotsToLocal")) + { + LLUIString notice(LLTrans::getString("SnapshotSavedToDisk")); + notice.setArg("[FILENAME]", filepath); + LLChat chat_msg(notice.getString()); + chat_msg.mFromName = SYSTEM_FROM; + chat_msg.mFromID = LLUUID::null; + chat_msg.mSourceType = CHAT_SOURCE_SYSTEM; + nearby_chat->addMessage(chat_msg); + } + // return image->save(filepath); } diff --git a/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml b/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml index a2198b2e12..332b7f2921 100755 --- a/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml @@ -297,6 +297,15 @@ name="AutoQueryGridStatus" top_pad="2" width="160"/> + Teleport you Manage your estates silently Change your default animations + 'Snapshot saved: [FILENAME]. Join an experience Suppress alerts when managing estate access lists From db4528c8de1249d00954173861e44a481c049e36 Mon Sep 17 00:00:00 2001 From: "kadah.coba@gmail.com" Date: Sun, 2 Nov 2014 05:11:52 -0800 Subject: [PATCH 050/229] Cleaned up previous commit --- indra/newview/llviewerwindow.cpp | 13 +++---------- indra/newview/skins/default/xui/en/strings.xml | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 90647e2a6f..36ba7e5e49 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -47,7 +47,6 @@ #include "llpanellogin.h" #include "llviewerkeyboard.h" #include "llviewermenu.h" -#include "fsfloaternearbychat.h" // #include "llviewquery.h" #include "llxmltree.h" @@ -85,6 +84,7 @@ #include "raytrace.h" // newview includes +#include "fscommon.h" #include "llagent.h" #include "llbox.h" #include "llchicletbar.h" @@ -4712,16 +4712,9 @@ BOOL LLViewerWindow::saveImageNumbered(LLImageFormatted *image, bool force_picke LL_INFOS() << "Saving snapshot to " << filepath << LL_ENDL; // Log snapshot filename to local chat history - FSFloaterNearbyChat* nearby_chat = FSFloaterNearbyChat::getInstance(); - if(nearby_chat && gSavedSettings.getBOOL("FSLogSnapshotsToLocal")) + if (gSavedSettings.getBOOL("FSLogSnapshotsToLocal")) { - LLUIString notice(LLTrans::getString("SnapshotSavedToDisk")); - notice.setArg("[FILENAME]", filepath); - LLChat chat_msg(notice.getString()); - chat_msg.mFromName = SYSTEM_FROM; - chat_msg.mFromID = LLUUID::null; - chat_msg.mSourceType = CHAT_SOURCE_SYSTEM; - nearby_chat->addMessage(chat_msg); + reportToNearbyChat(LLTrans::getString("SnapshotSavedToDisk") + filepath); } // return image->save(filepath); diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index d5c0b4cd70..f053315822 100755 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -496,7 +496,7 @@ Please try logging in again in a minute. Teleport you Manage your estates silently Change your default animations - 'Snapshot saved: [FILENAME]. + Snapshot saved: Join an experience Suppress alerts when managing estate access lists From 3eb1e34bb847b44e8a1cc74e68fc68864ae12798 Mon Sep 17 00:00:00 2001 From: "kadah.coba@gmail.com" Date: Sun, 2 Nov 2014 05:18:20 -0800 Subject: [PATCH 051/229] Fix to previous commit due to string.xml leading and trailing trims --- indra/newview/llviewerwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 36ba7e5e49..ff41f176cf 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -4714,7 +4714,7 @@ BOOL LLViewerWindow::saveImageNumbered(LLImageFormatted *image, bool force_picke // Log snapshot filename to local chat history if (gSavedSettings.getBOOL("FSLogSnapshotsToLocal")) { - reportToNearbyChat(LLTrans::getString("SnapshotSavedToDisk") + filepath); + reportToNearbyChat(LLTrans::getString("SnapshotSavedToDisk") + " " + filepath); } // return image->save(filepath); From 470e6a7e5ec568d916766fdeb8104803ffa42b37 Mon Sep 17 00:00:00 2001 From: Northspring Date: Sun, 2 Nov 2014 14:43:34 +0100 Subject: [PATCH 052/229] Updated Polish translation (ed125023f2af, c0b91b6e0616 and 3e6e9da91a50) --- .../newview/skins/default/xui/pl/panel_preferences_alerts.xml | 1 + indra/newview/skins/default/xui/pl/strings.xml | 3 +++ indra/newview/skins/starlight/xui/pl/panel_status_bar.xml | 3 +++ indra/newview/skins/starlightcui/xui/pl/panel_status_bar.xml | 3 +++ 4 files changed, 10 insertions(+) diff --git a/indra/newview/skins/default/xui/pl/panel_preferences_alerts.xml b/indra/newview/skins/default/xui/pl/panel_preferences_alerts.xml index 631e87b51e..a9de785393 100755 --- a/indra/newview/skins/default/xui/pl/panel_preferences_alerts.xml +++ b/indra/newview/skins/default/xui/pl/panel_preferences_alerts.xml @@ -35,6 +35,7 @@ + diff --git a/indra/newview/skins/default/xui/pl/strings.xml b/indra/newview/skins/default/xui/pl/strings.xml index 8c1233d393..7c48bccc0d 100755 --- a/indra/newview/skins/default/xui/pl/strings.xml +++ b/indra/newview/skins/default/xui/pl/strings.xml @@ -1041,6 +1041,9 @@ Spróbuj zalogować się ponownie za minutę. Zmieniać Twoje domyślne animacje + + Zdjęcie zapisane: + Rozpocznij przygodę diff --git a/indra/newview/skins/starlight/xui/pl/panel_status_bar.xml b/indra/newview/skins/starlight/xui/pl/panel_status_bar.xml index d80f8f24fa..8e5d4b0fb2 100644 --- a/indra/newview/skins/starlight/xui/pl/panel_status_bar.xml +++ b/indra/newview/skins/starlight/xui/pl/panel_status_bar.xml @@ -17,6 +17,9 @@ [AMT] L$ + + + + + Use Keyboard Shortcuts: + + + + diff --git a/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml b/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml index 31427e67be..691f183742 100755 --- a/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml +++ b/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml @@ -26,7 +26,6 @@ - @@ -265,6 +264,12 @@ + diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index 4868a0b65e..4728816925 100755 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -3287,6 +3287,13 @@ function="ToggleControl" parameter="DebugShowTextureInfo" /> + + + From 0c5678814e39fb6f0146ee4126f4a370c076e60a Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 7 Jan 2015 13:23:22 +0100 Subject: [PATCH 223/229] FIRE-3234 / FIRE-3832: Add silent agent inventory offer actions to legacy accept messages & separate show <-> accept This commit addresses several issues with inventory offers: 1. When enabling legacy accept messages, the notification now allows to perform silent actions without notifying the sender. This has been implemented only for legacy style accept messages, because the V3-way will notify the sender automatically if the offer is received, so that it doesn't make any sense to add this feature here. 2. Inventory offers from agents now allows to choose between either accepting the offer OR accepting and showing. This is independent from the ShowNewInventory debug setting ("Automatically show new notecards, textures, landmarks after accepting"). However, due to the way inventory offers from groups or inworld objects work, there is no separation and accepting offers from these sources will still either open automatically or not, depending on the ShowNewInventory setting. 3. The debug setting ShowOfferedInventory that was exposed nowhere and therefore always TRUE has been made obsolete. Since ShowOfferedInventory is tied to inventory offers from agents, there is no need for this setting anymore, as inventory offers from agents now show separate options for showing or just accepting. If an inventory offers is shown depends on either the user's choice per agent inventory offer or the ShowNewInventory debug setting. 4. Removed the check for ShowNewInventory in check_offer_throttle() as it will be called by open_inventory_offer(). Instead, check for ShowNewInventory before actually trying to open an inventory offer. 5. Fix the inventory panel still jumping to the new item despite the debug setting ShowInInventory has been set to FALSE. The new item will now only be shown in inventory, if ShowInInventory is TRUE. If the inventory panel is closed, it will be opened. --- indra/newview/llviewerinventory.cpp | 12 +++- indra/newview/llviewermessage.cpp | 72 +++++++++++++++---- indra/newview/llviewermessage.h | 7 +- .../skins/default/xui/da/notifications.xml | 14 ++++ .../skins/default/xui/de/notifications.xml | 16 ++++- .../skins/default/xui/en/notifications.xml | 46 ++++++++++++ .../skins/default/xui/es/notifications.xml | 14 ++++ .../skins/default/xui/fr/notifications.xml | 14 ++++ .../skins/default/xui/it/notifications.xml | 14 ++++ .../skins/default/xui/ja/notifications.xml | 14 ++++ .../skins/default/xui/pl/notifications.xml | 15 ++++ .../skins/default/xui/pt/notifications.xml | 14 ++++ .../skins/default/xui/ru/notifications.xml | 14 ++++ .../skins/default/xui/tr/notifications.xml | 14 ++++ .../skins/default/xui/zh/notifications.xml | 14 ++++ 15 files changed, 278 insertions(+), 16 deletions(-) diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index 6e8e10ed95..27b66fd9d6 100755 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -247,7 +247,17 @@ public: uuid_vec_t items_to_open; items_to_open.push_back(inventory_id); //inventory_handler is just a stub, because we don't know from who this offer - open_inventory_offer(items_to_open, "inventory_handler"); + // Moved check out of check_offer_throttle + //open_inventory_offer(items_to_open, "inventory_handler"); + if (gSavedSettings.getBOOL("ShowNewInventory")) + { + open_inventory_offer(items_to_open, "inventory_handler"); + } + else if (!items_to_open.empty() && gSavedSettings.getBOOL("ShowInInventory")) + { + LLInventoryPanel::openInventoryPanelAndSetSelection(TRUE, items_to_open.back()); + } + // return true; } diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 63c212980d..6cd12a30d2 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -853,6 +853,9 @@ public: } /*virtual*/ void done() { + // FIRE-3234: Don't need a check for ShowNewInventory here; + // This only gets called if the user explicity clicks "Show" or + // AutoAcceptNewInventory and ShowNewInventory are TRUE. open_inventory_offer(mComplete, mFromName); gInventory.removeObserver(this); delete this; @@ -1089,7 +1092,17 @@ protected: else ++it; } - open_inventory_offer(mAdded, ""); + // Moved check out of check_offer_throttle + //open_inventory_offer(mAdded, ""); + if (gSavedSettings.getBOOL("ShowNewInventory")) + { + open_inventory_offer(mAdded, ""); + } + else if (!mAdded.empty() && gSavedSettings.getBOOL("ShowInInventory")) + { + LLInventoryPanel::openInventoryPanelAndSetSelection(TRUE, mAdded.back()); + } + // mAdded.clear(); } }; @@ -1099,7 +1112,17 @@ class LLOpenTaskGroupOffer : public LLInventoryAddedObserver protected: /*virtual*/ void done() { - open_inventory_offer(mAdded, "group_offer"); + // Moved check out of check_offer_throttle + //open_inventory_offer(mAdded, "group_offer"); + if (gSavedSettings.getBOOL("ShowNewInventory")) + { + open_inventory_offer(mAdded, "group_offer"); + } + else if (!mAdded.empty() && gSavedSettings.getBOOL("ShowInInventory")) + { + LLInventoryPanel::openInventoryPanelAndSetSelection(TRUE, mAdded.back()); + } + // mAdded.clear(); gInventory.removeObserver(this); delete this; @@ -1184,12 +1207,10 @@ bool check_offer_throttle(const std::string& from_name, bool check_only) LLChat chat; std::string log_message; - // gSavedSettings to LLCachedControl - // if (!gSavedSettings.getBOOL("ShowNewInventory")) - static LLCachedControl showNewInventory(gSavedSettings, "ShowNewInventory"); - if (!showNewInventory) - // - return false; + // This controls if items should be opened in open_inventory_offer()??? No way! + //if (!gSavedSettings.getBOOL("ShowNewInventory")) + // return false; + // if (check_only) { @@ -1412,6 +1433,8 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam const BOOL auto_open = gSavedSettings.getBOOL("ShowInInventory"); // AO: don't open if showininventory is false, otherwise ignore from_name. //gSavedSettings.getBOOL("ShowInInventory") && // don't open if showininventory is false //!from_name.empty(); // don't open if it's not from anyone. + // Don't mess with open inventory panels when ShowInInventory is FALSE + if (auto_open) LLInventoryPanel::openInventoryPanelAndSetSelection(auto_open, obj_id); } } @@ -1466,6 +1489,7 @@ void inventory_offer_mute_callback(const LLUUID& blocked_id, { if(notification->getName() == "ObjectGiveItem" || notification->getName() == "OwnObjectGiveItem" + || notification->getName() == "UserGiveItemLegacy" // FIRE-3832: Silent accept/decline of inventory offers || notification->getName() == "UserGiveItem") { return (notification->getPayload()["from_id"].asUUID() == blocked_id); @@ -1678,6 +1702,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& switch(button) { case IOR_SHOW: + case IOR_SHOW_SILENT: // FIRE-3832: Silent accept/decline of inventory offers // we will want to open this item when it comes back. LL_DEBUGS("Messaging") << "Initializing an opener for tid: " << mTransactionID << LL_ENDL; @@ -1700,7 +1725,10 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& } // [/RLVa:KB] - if (gSavedSettings.getBOOL("ShowOfferedInventory")) + // FIRE-3234: Ask if items should be previewed; + // ShowOfferedInventory is always true anyway - instead there is + // ShowNewInventory that is actually changable by the user! + //if (gSavedSettings.getBOOL("ShowOfferedInventory")) { LLOpenAgentOffer* open_agent_offer = new LLOpenAgentOffer(mObjectID, from_string); open_agent_offer->startFetch(); @@ -1715,7 +1743,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& } // Optional V1-like inventory accept messages - if (gSavedSettings.getBOOL("FSUseLegacyInventoryAcceptMessages")) + if (gSavedSettings.getBOOL("FSUseLegacyInventoryAcceptMessages") && button == IOR_SHOW) { send_auto_receive_response(); } @@ -1746,6 +1774,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& // end switch (mIM) case IOR_ACCEPT: + case IOR_ACCEPT_SILENT: // FIRE-3832: Silent accept/decline of inventory offers //don't spam them if they are getting flooded if (check_offer_throttle(mFromName, true)) { @@ -1755,6 +1784,17 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& LLNotificationsUtil::add("SystemMessageTip", args); } + // FIRE-3832: Silent accept/decline of inventory offers + if (gSavedSettings.getBOOL("FSUseLegacyInventoryAcceptMessages") && button == IOR_ACCEPT) + { + send_auto_receive_response(); + } + if (gSavedSettings.getBOOL("ShowInInventory")) + { + LLInventoryPanel::openInventoryPanelAndSetSelection(TRUE, mObjectID); + } + // + break; case IOR_MUTE: @@ -1764,6 +1804,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& } // MUTE falls through to decline case IOR_DECLINE: + case IOR_DECLINE_SILENT: // FIRE-3832: Silent accept/decline of inventory offers { { LLStringUtil::format_map_t log_message_args; @@ -1793,7 +1834,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& } // Optional V1-like inventory accept messages - if (gSavedSettings.getBOOL("FSUseLegacyInventoryAcceptMessages")) + if (gSavedSettings.getBOOL("FSUseLegacyInventoryAcceptMessages") && button == IOR_DECLINE) { send_decline_response(); } @@ -2086,6 +2127,8 @@ void LLOfferInfo::initRespondFunctionMap() mRespondFunctions["ObjectGiveItem"] = boost::bind(&LLOfferInfo::inventory_task_offer_callback, this, _1, _2); mRespondFunctions["OwnObjectGiveItem"] = boost::bind(&LLOfferInfo::inventory_task_offer_callback, this, _1, _2); mRespondFunctions["UserGiveItem"] = boost::bind(&LLOfferInfo::inventory_offer_callback, this, _1, _2); + // FIRE-3832: Silent accept/decline of inventory offers + mRespondFunctions["UserGiveItemLegacy"] = boost::bind(&LLOfferInfo::inventory_offer_callback, this, _1, _2); } } @@ -2233,7 +2276,10 @@ void inventory_offer_handler(LLOfferInfo* info) // closes viewer(without responding the notification) p.substitutions(args).payload(payload).functor.responder(LLNotificationResponderPtr(info)); info->mPersist = true; - p.name = "UserGiveItem"; + // FIRE-3832: Silent accept/decline of inventory offers + //p.name = "UserGiveItem"; + p.name = (gSavedSettings.getBOOL("FSUseLegacyInventoryAcceptMessages") ? "UserGiveItemLegacy" : "UserGiveItem"); + // p.offer_from_agent = true; // Prefetch the item into your local inventory. @@ -2272,7 +2318,7 @@ void inventory_offer_handler(LLOfferInfo* info) } // Show offered inventory also if auto-accept is enabled (FIRE-5101) - if (bAutoAccept && gSavedSettings.getBOOL("ShowOfferedInventory")) + if (bAutoAccept && gSavedSettings.getBOOL("ShowNewInventory")) { LLViewerInventoryCategory* catp = NULL; catp = (LLViewerInventoryCategory*)gInventory.getCategory(info->mObjectID); diff --git a/indra/newview/llviewermessage.h b/indra/newview/llviewermessage.h index 719c10b42f..680d4b13e8 100755 --- a/indra/newview/llviewermessage.h +++ b/indra/newview/llviewermessage.h @@ -60,7 +60,12 @@ enum InventoryOfferResponse IOR_ACCEPT, IOR_DECLINE, IOR_MUTE, - IOR_SHOW + IOR_SHOW, + // FIRE-3832: Silent accept/decline of inventory offers + IOR_ACCEPT_SILENT, + IOR_DECLINE_SILENT, + IOR_SHOW_SILENT + // }; BOOL can_afford_transaction(S32 cost); diff --git a/indra/newview/skins/default/xui/da/notifications.xml b/indra/newview/skins/default/xui/da/notifications.xml index 72817c6106..f231420431 100755 --- a/indra/newview/skins/default/xui/da/notifications.xml +++ b/indra/newview/skins/default/xui/da/notifications.xml @@ -1346,10 +1346,24 @@ Prøv igen om lidt. [ITEM_SLURL]