diff options
author | Jacek Antonelli | 2008-08-15 23:44:49 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:49 -0500 |
commit | c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd (patch) | |
tree | 49f225d319b111f30f113c4cf7728565afa52132 /linden/indra/newview | |
parent | Second Life viewer sources 1.13.2.15 (diff) | |
download | meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.zip meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.gz meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.bz2 meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.xz |
Second Life viewer sources 1.13.3.2
Diffstat (limited to '')
20 files changed, 130 insertions, 182 deletions
diff --git a/linden/indra/newview/English.lproj/InfoPlist.strings b/linden/indra/newview/English.lproj/InfoPlist.strings index 2f68a02..6ef64e4 100644 --- a/linden/indra/newview/English.lproj/InfoPlist.strings +++ b/linden/indra/newview/English.lproj/InfoPlist.strings | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Localized versions of Info.plist keys */ | 1 | /* Localized versions of Info.plist keys */ |
2 | 2 | ||
3 | CFBundleName = "Second Life"; | 3 | CFBundleName = "Second Life"; |
4 | CFBundleShortVersionString = "Second Life version 1.13.2.15"; | 4 | CFBundleShortVersionString = "Second Life version 1.13.3.2"; |
5 | CFBundleGetInfoString = "Second Life version 1.13.2.15, Copyright 2004-2006 Linden Research, Inc."; | 5 | CFBundleGetInfoString = "Second Life version 1.13.3.2, Copyright 2004-2006 Linden Research, Inc."; |
diff --git a/linden/indra/newview/Info-SecondLife.plist b/linden/indra/newview/Info-SecondLife.plist index 3e6c65e..6e1de8b 100644 --- a/linden/indra/newview/Info-SecondLife.plist +++ b/linden/indra/newview/Info-SecondLife.plist | |||
@@ -32,7 +32,7 @@ | |||
32 | </dict> | 32 | </dict> |
33 | </array> | 33 | </array> |
34 | <key>CFBundleVersion</key> | 34 | <key>CFBundleVersion</key> |
35 | <string>1.13.2.15</string> | 35 | <string>1.13.3.2</string> |
36 | <key>CSResourcesFileMapped</key> | 36 | <key>CSResourcesFileMapped</key> |
37 | <true/> | 37 | <true/> |
38 | </dict> | 38 | </dict> |
diff --git a/linden/indra/newview/llfloateravatarinfo.cpp b/linden/indra/newview/llfloateravatarinfo.cpp index a429cc2..959967a 100644 --- a/linden/indra/newview/llfloateravatarinfo.cpp +++ b/linden/indra/newview/llfloateravatarinfo.cpp | |||
@@ -121,7 +121,7 @@ BOOL LLFloaterAvatarInfo::postBuild() | |||
121 | LLFloaterAvatarInfo::LLFloaterAvatarInfo(const std::string& name, const LLRect &rect, const LLUUID &avatar_id) | 121 | LLFloaterAvatarInfo::LLFloaterAvatarInfo(const std::string& name, const LLRect &rect, const LLUUID &avatar_id) |
122 | : LLPreview(name, rect, FLOATER_TITLE, LLUUID::null, LLUUID::null), | 122 | : LLPreview(name, rect, FLOATER_TITLE, LLUUID::null, LLUUID::null), |
123 | mAvatarID( avatar_id ), | 123 | mAvatarID( avatar_id ), |
124 | mSuggestedOnlineStatus(ONLINE_STATUS_UNKNOWN) | 124 | mSuggestedOnlineStatus(ONLINE_STATUS_NO) |
125 | { | 125 | { |
126 | mAutoFocus = TRUE; | 126 | mAutoFocus = TRUE; |
127 | 127 | ||
@@ -182,7 +182,7 @@ void LLFloaterAvatarInfo::showFromObject(const LLUUID &avatar_id, std::string ta | |||
182 | floater = new LLFloaterAvatarInfo("avatarinfo", FAI_RECT, | 182 | floater = new LLFloaterAvatarInfo("avatarinfo", FAI_RECT, |
183 | avatar_id); | 183 | avatar_id); |
184 | floater->center(); | 184 | floater->center(); |
185 | floater->mPanelAvatarp->setAvatarID(avatar_id, "", ONLINE_STATUS_UNKNOWN); | 185 | floater->mPanelAvatarp->setAvatarID(avatar_id, "", ONLINE_STATUS_NO); |
186 | 186 | ||
187 | } | 187 | } |
188 | 188 | ||
@@ -210,7 +210,7 @@ void LLFloaterAvatarInfo::showFromDirectory(const LLUUID &avatar_id) | |||
210 | floater = new LLFloaterAvatarInfo("avatarinfo", FAI_RECT, | 210 | floater = new LLFloaterAvatarInfo("avatarinfo", FAI_RECT, |
211 | avatar_id); | 211 | avatar_id); |
212 | floater->center(); | 212 | floater->center(); |
213 | floater->mPanelAvatarp->setAvatarID(avatar_id, "", ONLINE_STATUS_UNKNOWN); | 213 | floater->mPanelAvatarp->setAvatarID(avatar_id, "", ONLINE_STATUS_NO); |
214 | floater->open(); | 214 | floater->open(); |
215 | } | 215 | } |
216 | if(floater) | 216 | if(floater) |
diff --git a/linden/indra/newview/llfloaterland.cpp b/linden/indra/newview/llfloaterland.cpp index 22686fb..f19baa9 100644 --- a/linden/indra/newview/llfloaterland.cpp +++ b/linden/indra/newview/llfloaterland.cpp | |||
@@ -1018,8 +1018,8 @@ void LLPanelLandGeneral::onCommitAny(LLUICtrl *ctrl, void *userdata) | |||
1018 | } | 1018 | } |
1019 | 1019 | ||
1020 | // Extract data from UI | 1020 | // Extract data from UI |
1021 | std::string name = panelp->mEditName->getText(); | 1021 | std::string name = panelp->mEditName->getText(); |
1022 | std::string desc = panelp->mEditDesc->getText(); | 1022 | std::string desc = panelp->mEditDesc->getText(); |
1023 | 1023 | ||
1024 | // Valid data from UI | 1024 | // Valid data from UI |
1025 | 1025 | ||
@@ -1123,7 +1123,7 @@ BOOL LLPanelLandObjects::postBuild() | |||
1123 | 1123 | ||
1124 | mCleanOtherObjectsTime = LLUICtrlFactory::getLineEditorByName(this, "clean other time"); | 1124 | mCleanOtherObjectsTime = LLUICtrlFactory::getLineEditorByName(this, "clean other time"); |
1125 | mCleanOtherObjectsTime->setFocusLostCallback(onLostFocus); | 1125 | mCleanOtherObjectsTime->setFocusLostCallback(onLostFocus); |
1126 | childSetPrevalidate("clean other time", LLLineEditor::prevalidatePrintableNotPipe); | 1126 | childSetPrevalidate("clean other time", LLLineEditor::prevalidateNonNegativeS32); |
1127 | childSetUserData("clean other time", this); | 1127 | childSetUserData("clean other time", this); |
1128 | 1128 | ||
1129 | mOwnerListText = LLUICtrlFactory::getTextBoxByName(this, "Object Owners:"); | 1129 | mOwnerListText = LLUICtrlFactory::getTextBoxByName(this, "Object Owners:"); |
diff --git a/linden/indra/newview/llfloaterproperties.cpp b/linden/indra/newview/llfloaterproperties.cpp index abae955..8be2ce5 100644 --- a/linden/indra/newview/llfloaterproperties.cpp +++ b/linden/indra/newview/llfloaterproperties.cpp | |||
@@ -164,6 +164,7 @@ LLFloaterProperties::LLFloaterProperties(const std::string& name, const LLRect& | |||
164 | childSetPrevalidate("LabelItemName",&LLLineEditor::prevalidatePrintableNotPipe); | 164 | childSetPrevalidate("LabelItemName",&LLLineEditor::prevalidatePrintableNotPipe); |
165 | childSetCommitCallback("LabelItemName",onCommitName,this); | 165 | childSetCommitCallback("LabelItemName",onCommitName,this); |
166 | childSetPrevalidate("LabelItemDesc",&LLLineEditor::prevalidatePrintableNotPipe); | 166 | childSetPrevalidate("LabelItemDesc",&LLLineEditor::prevalidatePrintableNotPipe); |
167 | childSetCommitCallback("LabelItemDesc", onCommitDescription, this); | ||
167 | // Creator information | 168 | // Creator information |
168 | childSetAction("BtnCreator",onClickCreator,this); | 169 | childSetAction("BtnCreator",onClickCreator,this); |
169 | // owner information | 170 | // owner information |
diff --git a/linden/indra/newview/llgivemoney.cpp b/linden/indra/newview/llgivemoney.cpp index ce8cc06..d3c7598 100644 --- a/linden/indra/newview/llgivemoney.cpp +++ b/linden/indra/newview/llgivemoney.cpp | |||
@@ -153,7 +153,7 @@ LLFloaterPay::LLFloaterPay(const std::string& name, | |||
153 | 153 | ||
154 | childSetKeystrokeCallback("amount", &LLFloaterPay::onKeystroke, this); | 154 | childSetKeystrokeCallback("amount", &LLFloaterPay::onKeystroke, this); |
155 | childSetText("amount", last_amount); | 155 | childSetText("amount", last_amount); |
156 | childSetPrevalidate("desc", LLLineEditor::prevalidatePositiveS32); | 156 | childSetPrevalidate("amount", LLLineEditor::prevalidatePositiveS32); |
157 | 157 | ||
158 | info = new LLGiveMoneyInfo(this, 0); | 158 | info = new LLGiveMoneyInfo(this, 0); |
159 | mCallbackData.push_back(info); | 159 | mCallbackData.push_back(info); |
@@ -344,7 +344,7 @@ void LLFloaterPay::payDirectly(money_callback callback, | |||
344 | { | 344 | { |
345 | LLFloaterPay *floater = new LLFloaterPay("Give Money", callback, target_id, FALSE); | 345 | LLFloaterPay *floater = new LLFloaterPay("Give Money", callback, target_id, FALSE); |
346 | if (!floater) return; | 346 | if (!floater) return; |
347 | 347 | ||
348 | floater->childSetVisible("amount", TRUE); | 348 | floater->childSetVisible("amount", TRUE); |
349 | floater->childSetVisible("pay btn", TRUE); | 349 | floater->childSetVisible("pay btn", TRUE); |
350 | floater->childSetVisible("amount text", TRUE); | 350 | floater->childSetVisible("amount text", TRUE); |
diff --git a/linden/indra/newview/llhudeffect.cpp b/linden/indra/newview/llhudeffect.cpp index 6343dc3..090895e 100644 --- a/linden/indra/newview/llhudeffect.cpp +++ b/linden/indra/newview/llhudeffect.cpp | |||
@@ -57,6 +57,7 @@ LLHUDEffect::~LLHUDEffect() | |||
57 | void LLHUDEffect::packData(LLMessageSystem *mesgsys) | 57 | void LLHUDEffect::packData(LLMessageSystem *mesgsys) |
58 | { | 58 | { |
59 | mesgsys->addUUIDFast(_PREHASH_ID, mID); | 59 | mesgsys->addUUIDFast(_PREHASH_ID, mID); |
60 | mesgsys->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); | ||
60 | mesgsys->addU8Fast(_PREHASH_Type, mType); | 61 | mesgsys->addU8Fast(_PREHASH_Type, mType); |
61 | mesgsys->addF32Fast(_PREHASH_Duration, mDuration); | 62 | mesgsys->addF32Fast(_PREHASH_Duration, mDuration); |
62 | mesgsys->addBinaryData(_PREHASH_Color, mColor.mV, 4); | 63 | mesgsys->addBinaryData(_PREHASH_Color, mColor.mV, 4); |
diff --git a/linden/indra/newview/llhudmanager.cpp b/linden/indra/newview/llhudmanager.cpp index 2afdac0..bb1c2da 100644 --- a/linden/indra/newview/llhudmanager.cpp +++ b/linden/indra/newview/llhudmanager.cpp | |||
@@ -195,9 +195,13 @@ void LLHUDManager::sendEffects() | |||
195 | } | 195 | } |
196 | if (hep->getNeedsSendToSim() && hep->getOriginatedHere()) | 196 | if (hep->getNeedsSendToSim() && hep->getOriginatedHere()) |
197 | { | 197 | { |
198 | gMessageSystem->newMessageFast(_PREHASH_ViewerEffect); | 198 | LLMessageSystem* msg = gMessageSystem; |
199 | gMessageSystem->nextBlockFast(_PREHASH_Effect); | 199 | msg->newMessageFast(_PREHASH_ViewerEffect); |
200 | hep->packData(gMessageSystem); | 200 | msg->nextBlockFast(_PREHASH_AgentData); |
201 | msg->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); | ||
202 | msg->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID()); | ||
203 | msg->nextBlockFast(_PREHASH_Effect); | ||
204 | hep->packData(msg); | ||
201 | hep->setNeedsSendToSim(FALSE); | 205 | hep->setNeedsSendToSim(FALSE); |
202 | gAgent.sendMessage(); | 206 | gAgent.sendMessage(); |
203 | } | 207 | } |
diff --git a/linden/indra/newview/llpanelavatar.cpp b/linden/indra/newview/llpanelavatar.cpp index 8ba33a9..c7019e0 100644 --- a/linden/indra/newview/llpanelavatar.cpp +++ b/linden/indra/newview/llpanelavatar.cpp | |||
@@ -419,8 +419,11 @@ BOOL LLPanelAvatarSecondLife::postBuild(void) | |||
419 | childSetVisible("allow_publish",LLPanelAvatar::sAllowFirstLife); | 419 | childSetVisible("allow_publish",LLPanelAvatar::sAllowFirstLife); |
420 | childSetVisible("?",LLPanelAvatar::sAllowFirstLife); | 420 | childSetVisible("?",LLPanelAvatar::sAllowFirstLife); |
421 | 421 | ||
422 | childSetVisible("online_unknown",TRUE); | ||
423 | childSetVisible("online_yes",FALSE); | 422 | childSetVisible("online_yes",FALSE); |
423 | |||
424 | // These are cruft but may still exist in some xml files | ||
425 | // TODO: remove the following 2 lines once translators grab these changes | ||
426 | childSetVisible("online_unknown",FALSE); | ||
424 | childSetVisible("online_no",FALSE); | 427 | childSetVisible("online_no",FALSE); |
425 | 428 | ||
426 | childSetAction("Show on Map", LLPanelAvatar::onClickTrack, mPanelAvatar); | 429 | childSetAction("Show on Map", LLPanelAvatar::onClickTrack, mPanelAvatar); |
@@ -1298,6 +1301,19 @@ void LLPanelAvatar::setAvatar(LLViewerObject *avatarp) | |||
1298 | setAvatarID(avatarp->getID(), name, ONLINE_STATUS_YES); | 1301 | setAvatarID(avatarp->getID(), name, ONLINE_STATUS_YES); |
1299 | } | 1302 | } |
1300 | 1303 | ||
1304 | void LLPanelAvatar::setOnlineStatus(EOnlineStatus online_status) | ||
1305 | { | ||
1306 | // Online status NO could be because they are hidden | ||
1307 | // If they are a friend, we may know the truth! | ||
1308 | if ((ONLINE_STATUS_YES != online_status) | ||
1309 | && mIsFriend | ||
1310 | && (LLAvatarTracker::instance().isBuddyOnline( mAvatarID ))) | ||
1311 | { | ||
1312 | online_status = ONLINE_STATUS_YES; | ||
1313 | } | ||
1314 | |||
1315 | mPanelSecondLife->childSetVisible("online_yes", (online_status == ONLINE_STATUS_YES)); | ||
1316 | } | ||
1301 | 1317 | ||
1302 | void LLPanelAvatar::setAvatarID(const LLUUID &avatar_id, const LLString &name, | 1318 | void LLPanelAvatar::setAvatarID(const LLUUID &avatar_id, const LLString &name, |
1303 | EOnlineStatus online_status) | 1319 | EOnlineStatus online_status) |
@@ -1314,50 +1330,8 @@ void LLPanelAvatar::setAvatarID(const LLUUID &avatar_id, const LLString &name, | |||
1314 | // Determine if we have their calling card. | 1330 | // Determine if we have their calling card. |
1315 | mIsFriend = is_agent_friend(mAvatarID); | 1331 | mIsFriend = is_agent_friend(mAvatarID); |
1316 | 1332 | ||
1317 | if (ONLINE_STATUS_UNKNOWN == online_status) | 1333 | // setOnlineStatus uses mIsFriend |
1318 | { | 1334 | setOnlineStatus(online_status); |
1319 | // Determine if we know that they are online. If we can see them, | ||
1320 | // we know they're online. Likewise, if we have a calling card, | ||
1321 | // we know. Otherwise we don't. | ||
1322 | LLViewerObject* object = gObjectList.findObject( mAvatarID ); | ||
1323 | if (object && !object->isDead()) | ||
1324 | { | ||
1325 | online_status = ONLINE_STATUS_YES; | ||
1326 | } | ||
1327 | else if (mIsFriend) | ||
1328 | { | ||
1329 | if (LLAvatarTracker::instance().isBuddyOnline( mAvatarID )) | ||
1330 | { | ||
1331 | online_status = ONLINE_STATUS_YES; | ||
1332 | } | ||
1333 | else | ||
1334 | { | ||
1335 | online_status = ONLINE_STATUS_NO; | ||
1336 | } | ||
1337 | } | ||
1338 | else | ||
1339 | { | ||
1340 | // Don't actually know if they are online. | ||
1341 | } | ||
1342 | } | ||
1343 | |||
1344 | mPanelSecondLife->childSetVisible("online_unknown",FALSE); | ||
1345 | mPanelSecondLife->childSetVisible("online_yes",FALSE); | ||
1346 | mPanelSecondLife->childSetVisible("online_no",FALSE); | ||
1347 | |||
1348 | switch(online_status) | ||
1349 | { | ||
1350 | case ONLINE_STATUS_YES: | ||
1351 | mPanelSecondLife->childSetVisible("online_yes",TRUE); | ||
1352 | break; | ||
1353 | case ONLINE_STATUS_NO: | ||
1354 | mPanelSecondLife->childSetVisible("online_no",TRUE); | ||
1355 | break; | ||
1356 | case ONLINE_STATUS_UNKNOWN: | ||
1357 | default: | ||
1358 | mPanelSecondLife->childSetVisible("online_unknown",TRUE); | ||
1359 | break; | ||
1360 | } | ||
1361 | 1335 | ||
1362 | BOOL own_avatar = (mAvatarID == gAgent.getID() ); | 1336 | BOOL own_avatar = (mAvatarID == gAgent.getID() ); |
1363 | 1337 | ||
@@ -1755,8 +1729,11 @@ void LLPanelAvatar::processAvatarPropertiesReply(LLMessageSystem *msg, void**) | |||
1755 | //BOOL mature = FALSE; | 1729 | //BOOL mature = FALSE; |
1756 | BOOL identified = FALSE; | 1730 | BOOL identified = FALSE; |
1757 | BOOL transacted = FALSE; | 1731 | BOOL transacted = FALSE; |
1732 | BOOL online = FALSE; | ||
1758 | char profile_url[DB_USER_PROFILE_URL_BUF_SIZE]; | 1733 | char profile_url[DB_USER_PROFILE_URL_BUF_SIZE]; |
1759 | 1734 | ||
1735 | U32 flags = 0x0; | ||
1736 | |||
1760 | //llinfos << "properties packet size " << msg->getReceiveSize() << llendl; | 1737 | //llinfos << "properties packet size " << msg->getReceiveSize() << llendl; |
1761 | 1738 | ||
1762 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id); | 1739 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id); |
@@ -1776,7 +1753,6 @@ void LLPanelAvatar::processAvatarPropertiesReply(LLMessageSystem *msg, void**) | |||
1776 | { | 1753 | { |
1777 | self->childSetEnabled("Rate...",TRUE); | 1754 | self->childSetEnabled("Rate...",TRUE); |
1778 | } | 1755 | } |
1779 | lldebugs << "!!!!!!!!!!!!!!!!!!!!!!Enabling drop target" << llendl; | ||
1780 | self->childSetEnabled("drop target",TRUE); | 1756 | self->childSetEnabled("drop target",TRUE); |
1781 | 1757 | ||
1782 | self->mHaveProperties = TRUE; | 1758 | self->mHaveProperties = TRUE; |
@@ -1788,9 +1764,17 @@ void LLPanelAvatar::processAvatarPropertiesReply(LLMessageSystem *msg, void**) | |||
1788 | msg->getStringFast(_PREHASH_PropertiesData, _PREHASH_AboutText, DB_USER_ABOUT_BUF_SIZE, about_text ); | 1764 | msg->getStringFast(_PREHASH_PropertiesData, _PREHASH_AboutText, DB_USER_ABOUT_BUF_SIZE, about_text ); |
1789 | msg->getStringFast(_PREHASH_PropertiesData, _PREHASH_FLAboutText, DB_USER_FL_ABOUT_BUF_SIZE, fl_about_text ); | 1765 | msg->getStringFast(_PREHASH_PropertiesData, _PREHASH_FLAboutText, DB_USER_FL_ABOUT_BUF_SIZE, fl_about_text ); |
1790 | msg->getStringFast(_PREHASH_PropertiesData, _PREHASH_BornOn, DB_BORN_BUF_SIZE, born_on); | 1766 | msg->getStringFast(_PREHASH_PropertiesData, _PREHASH_BornOn, DB_BORN_BUF_SIZE, born_on); |
1791 | msg->getBOOLFast(_PREHASH_PropertiesData, _PREHASH_Identified, identified); | ||
1792 | msg->getBOOLFast(_PREHASH_PropertiesData, _PREHASH_Transacted, transacted); | ||
1793 | msg->getString("PropertiesData","ProfileURL", DB_USER_PROFILE_URL_BUF_SIZE, profile_url); | 1767 | msg->getString("PropertiesData","ProfileURL", DB_USER_PROFILE_URL_BUF_SIZE, profile_url); |
1768 | msg->getU32Fast(_PREHASH_PropertiesData, _PREHASH_Flags, flags); | ||
1769 | |||
1770 | identified = (flags & AVATAR_IDENTIFIED); | ||
1771 | transacted = (flags & AVATAR_TRANSACTED); | ||
1772 | allow_publish = (flags & AVATAR_ALLOW_PUBLISH); | ||
1773 | online = (flags & AVATAR_ONLINE); | ||
1774 | |||
1775 | EOnlineStatus online_status = (online) ? ONLINE_STATUS_YES : ONLINE_STATUS_NO; | ||
1776 | |||
1777 | self->setOnlineStatus(online_status); | ||
1794 | 1778 | ||
1795 | self->mPanelWeb->setWebURL(std::string(profile_url)); | 1779 | self->mPanelWeb->setWebURL(std::string(profile_url)); |
1796 | U8 caption_index = 0; | 1780 | U8 caption_index = 0; |
@@ -1868,7 +1852,6 @@ void LLPanelAvatar::processAvatarPropertiesReply(LLMessageSystem *msg, void**) | |||
1868 | { | 1852 | { |
1869 | image_ctrl->setImageAssetID(fl_image_id); | 1853 | image_ctrl->setImageAssetID(fl_image_id); |
1870 | } | 1854 | } |
1871 | msg->getBOOL("PropertiesData", "AllowPublish", allow_publish); | ||
1872 | 1855 | ||
1873 | self->mPanelSecondLife->childSetValue("allow_publish", allow_publish); | 1856 | self->mPanelSecondLife->childSetValue("allow_publish", allow_publish); |
1874 | 1857 | ||
diff --git a/linden/indra/newview/llpanelavatar.h b/linden/indra/newview/llpanelavatar.h index ab08ffb..81cfe02 100644 --- a/linden/indra/newview/llpanelavatar.h +++ b/linden/indra/newview/llpanelavatar.h | |||
@@ -55,7 +55,6 @@ class LLWebBrowserCtrl; | |||
55 | 55 | ||
56 | enum EOnlineStatus | 56 | enum EOnlineStatus |
57 | { | 57 | { |
58 | ONLINE_STATUS_UNKNOWN = -1, | ||
59 | ONLINE_STATUS_NO = 0, | 58 | ONLINE_STATUS_NO = 0, |
60 | ONLINE_STATUS_YES = 1 | 59 | ONLINE_STATUS_YES = 1 |
61 | }; | 60 | }; |
@@ -262,6 +261,8 @@ public: | |||
262 | // Pass one of the ONLINE_STATUS_foo constants above. | 261 | // Pass one of the ONLINE_STATUS_foo constants above. |
263 | void setAvatarID(const LLUUID &avatar_id, const LLString &name, EOnlineStatus online_status); | 262 | void setAvatarID(const LLUUID &avatar_id, const LLString &name, EOnlineStatus online_status); |
264 | 263 | ||
264 | void setOnlineStatus(EOnlineStatus online_status); | ||
265 | |||
265 | const LLUUID& getAvatarID() const { return mAvatarID; } | 266 | const LLUUID& getAvatarID() const { return mAvatarID; } |
266 | 267 | ||
267 | void disableRate(); | 268 | void disableRate(); |
diff --git a/linden/indra/newview/llpaneldirbrowser.cpp b/linden/indra/newview/llpaneldirbrowser.cpp index a7a3895..f701bf4 100644 --- a/linden/indra/newview/llpaneldirbrowser.cpp +++ b/linden/indra/newview/llpaneldirbrowser.cpp | |||
@@ -316,14 +316,8 @@ void LLPanelDirBrowser::onCommitList(LLUICtrl* ctrl, void* data) | |||
316 | 316 | ||
317 | switch(type) | 317 | switch(type) |
318 | { | 318 | { |
319 | // These are both people searches. Let the panel decide if they are online or offline. | ||
319 | case ONLINE_CODE: | 320 | case ONLINE_CODE: |
320 | if (self->mFloaterDirectory && self->mFloaterDirectory->mPanelAvatarp) | ||
321 | { | ||
322 | self->mFloaterDirectory->mPanelAvatarp->setVisible(TRUE); | ||
323 | self->mFloaterDirectory->mPanelAvatarp->setAvatarID(id, name, ONLINE_STATUS_YES); | ||
324 | self->mFloaterDirectory->mPanelAvatarp->disableRate(); | ||
325 | } | ||
326 | break; | ||
327 | case OFFLINE_CODE: | 321 | case OFFLINE_CODE: |
328 | if (self->mFloaterDirectory && self->mFloaterDirectory->mPanelAvatarp) | 322 | if (self->mFloaterDirectory && self->mFloaterDirectory->mPanelAvatarp) |
329 | { | 323 | { |
@@ -409,7 +403,6 @@ void LLPanelDirBrowser::processDirPeopleReply(LLMessageSystem *msg, void**) | |||
409 | char first_name[DB_FIRST_NAME_BUF_SIZE]; | 403 | char first_name[DB_FIRST_NAME_BUF_SIZE]; |
410 | char last_name[DB_LAST_NAME_BUF_SIZE]; | 404 | char last_name[DB_LAST_NAME_BUF_SIZE]; |
411 | LLUUID agent_id; | 405 | LLUUID agent_id; |
412 | U8 online; | ||
413 | 406 | ||
414 | msg->getUUIDFast(_PREHASH_QueryData,_PREHASH_QueryID, query_id); | 407 | msg->getUUIDFast(_PREHASH_QueryData,_PREHASH_QueryID, query_id); |
415 | 408 | ||
@@ -445,7 +438,7 @@ void LLPanelDirBrowser::processDirPeopleReply(LLMessageSystem *msg, void**) | |||
445 | msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_FirstName, DB_FIRST_NAME_BUF_SIZE, first_name, i); | 438 | msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_FirstName, DB_FIRST_NAME_BUF_SIZE, first_name, i); |
446 | msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_LastName, DB_LAST_NAME_BUF_SIZE, last_name, i); | 439 | msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_LastName, DB_LAST_NAME_BUF_SIZE, last_name, i); |
447 | msg->getUUIDFast( _PREHASH_QueryReplies,_PREHASH_AgentID, agent_id, i); | 440 | msg->getUUIDFast( _PREHASH_QueryReplies,_PREHASH_AgentID, agent_id, i); |
448 | msg->getU8Fast( _PREHASH_QueryReplies,_PREHASH_Online, online, i); | 441 | // msg->getU8Fast( _PREHASH_QueryReplies,_PREHASH_Online, online, i); |
449 | // unused | 442 | // unused |
450 | // msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_Group, DB_GROUP_NAME_BUF_SIZE, group, i); | 443 | // msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_Group, DB_GROUP_NAME_BUF_SIZE, group, i); |
451 | // msg->getS32Fast( _PREHASH_QueryReplies,_PREHASH_Reputation, reputation, i); | 444 | // msg->getS32Fast( _PREHASH_QueryReplies,_PREHASH_Reputation, reputation, i); |
@@ -461,24 +454,14 @@ void LLPanelDirBrowser::processDirPeopleReply(LLMessageSystem *msg, void**) | |||
461 | row["id"] = agent_id; | 454 | row["id"] = agent_id; |
462 | 455 | ||
463 | LLUUID image_id; | 456 | LLUUID image_id; |
464 | if (online) | 457 | // We don't show online status in the finder anymore, |
465 | { | 458 | // so just use the 'offline' icon as the generic 'person' icon |
466 | image_id.set( gViewerArt.getString("icon_avatar_online.tga") ); | 459 | image_id.set( gViewerArt.getString("icon_avatar_offline.tga") ); |
467 | row["columns"][0]["column"] = "icon"; | 460 | row["columns"][0]["column"] = "icon"; |
468 | row["columns"][0]["type"] = "icon"; | 461 | row["columns"][0]["type"] = "icon"; |
469 | row["columns"][0]["value"] = image_id; | 462 | row["columns"][0]["value"] = image_id; |
470 | |||
471 | content["type"] = ONLINE_CODE; | ||
472 | } | ||
473 | else | ||
474 | { | ||
475 | image_id.set( gViewerArt.getString("icon_avatar_offline.tga") ); | ||
476 | row["columns"][0]["column"] = "icon"; | ||
477 | row["columns"][0]["type"] = "icon"; | ||
478 | row["columns"][0]["value"] = image_id; | ||
479 | 463 | ||
480 | content["type"] = OFFLINE_CODE; | 464 | content["type"] = OFFLINE_CODE; |
481 | } | ||
482 | 465 | ||
483 | LLString fullname = LLString(first_name) + " " + LLString(last_name); | 466 | LLString fullname = LLString(first_name) + " " + LLString(last_name); |
484 | row["columns"][1]["column"] = "name"; | 467 | row["columns"][1]["column"] = "name"; |
@@ -487,19 +470,6 @@ void LLPanelDirBrowser::processDirPeopleReply(LLMessageSystem *msg, void**) | |||
487 | 470 | ||
488 | content["name"] = fullname; | 471 | content["name"] = fullname; |
489 | 472 | ||
490 | if (online) | ||
491 | { | ||
492 | row["columns"][2]["column"] = "online"; | ||
493 | row["columns"][2]["value"] = "yes"; | ||
494 | row["columns"][2]["font"] = "SANSSERIFSMALL"; | ||
495 | } | ||
496 | else | ||
497 | { | ||
498 | row["columns"][2]["column"] = "online"; | ||
499 | row["columns"][2]["value"] = "no"; | ||
500 | row["columns"][2]["font"] = "SANSSERIFSMALL"; | ||
501 | } | ||
502 | |||
503 | list->addElement(row); | 473 | list->addElement(row); |
504 | 474 | ||
505 | LLString id_str = agent_id.getString(); | 475 | LLString id_str = agent_id.getString(); |
diff --git a/linden/indra/newview/llpaneldirpeople.cpp b/linden/indra/newview/llpaneldirpeople.cpp index 87b3582..1fe1570 100644 --- a/linden/indra/newview/llpaneldirpeople.cpp +++ b/linden/indra/newview/llpaneldirpeople.cpp | |||
@@ -71,11 +71,6 @@ void LLPanelDirPeople::performQuery() | |||
71 | setupNewSearch(); | 71 | setupNewSearch(); |
72 | 72 | ||
73 | U32 scope = DFQ_PEOPLE; | 73 | U32 scope = DFQ_PEOPLE; |
74 | if (childGetValue("online check").asBoolean()) | ||
75 | { | ||
76 | llinfos << "Online only people search." << llendl; | ||
77 | scope |= DFQ_ONLINE; | ||
78 | } | ||
79 | 74 | ||
80 | // send the message | 75 | // send the message |
81 | sendDirFindQuery( | 76 | sendDirFindQuery( |
diff --git a/linden/indra/newview/llprefsim.cpp b/linden/indra/newview/llprefsim.cpp index 12ca0b1..383fe76 100644 --- a/linden/indra/newview/llprefsim.cpp +++ b/linden/indra/newview/llprefsim.cpp | |||
@@ -34,7 +34,7 @@ | |||
34 | #include "llcheckboxctrl.h" | 34 | #include "llcheckboxctrl.h" |
35 | #include "llstring.h" | 35 | #include "llstring.h" |
36 | #include "lltexteditor.h" | 36 | #include "lltexteditor.h" |
37 | 37 | #include "llavatarconstants.h" | |
38 | #include "llagent.h" | 38 | #include "llagent.h" |
39 | #include "llviewercontrol.h" | 39 | #include "llviewercontrol.h" |
40 | #include "llviewernetwork.h" | 40 | #include "llviewernetwork.h" |
@@ -42,9 +42,6 @@ | |||
42 | 42 | ||
43 | #include "lldirpicker.h" | 43 | #include "lldirpicker.h" |
44 | 44 | ||
45 | static const std::string VISIBILITY_DEFAULT("default"); | ||
46 | static const std::string VISIBILITY_HIDDEN("hidden"); | ||
47 | |||
48 | class LLPrefsIMImpl : public LLPanel | 45 | class LLPrefsIMImpl : public LLPanel |
49 | { | 46 | { |
50 | public: | 47 | public: |
@@ -77,7 +74,7 @@ protected: | |||
77 | bool mOriginalIMViaEmail; | 74 | bool mOriginalIMViaEmail; |
78 | 75 | ||
79 | // online status info | 76 | // online status info |
80 | bool mOriginalShowOnline; | 77 | bool mOriginalHideOnlineStatus; |
81 | std::string mDirectoryVisibility; | 78 | std::string mDirectoryVisibility; |
82 | }; | 79 | }; |
83 | 80 | ||
@@ -112,7 +109,7 @@ void LLPrefsIMImpl::cancel() | |||
112 | 109 | ||
113 | BOOL LLPrefsIMImpl::postBuild() | 110 | BOOL LLPrefsIMImpl::postBuild() |
114 | { | 111 | { |
115 | requires("directory_visibility"); | 112 | requires("online_visibility"); |
116 | requires("send_im_to_email"); | 113 | requires("send_im_to_email"); |
117 | if (!checkRequirements()) | 114 | if (!checkRequirements()) |
118 | { | 115 | { |
@@ -121,11 +118,11 @@ BOOL LLPrefsIMImpl::postBuild() | |||
121 | 118 | ||
122 | mGotPersonalInfo = false; | 119 | mGotPersonalInfo = false; |
123 | mOriginalIMViaEmail = false; | 120 | mOriginalIMViaEmail = false; |
124 | mOriginalShowOnline = false; | 121 | mOriginalHideOnlineStatus = true; |
125 | childSetLabelArg("send_im_to_email", "[EMAIL]", childGetText("log_in_to_change")); | 122 | childSetLabelArg("send_im_to_email", "[EMAIL]", childGetText("log_in_to_change")); |
126 | 123 | ||
127 | // Don't enable this until we get personal data | 124 | // Don't enable this until we get personal data |
128 | childDisable("directory_visibility"); | 125 | childDisable("online_visibility"); |
129 | childDisable("send_im_to_email"); | 126 | childDisable("send_im_to_email"); |
130 | childDisable("log_instant_messages"); | 127 | childDisable("log_instant_messages"); |
131 | childDisable("log_chat"); | 128 | childDisable("log_chat"); |
@@ -189,10 +186,10 @@ void LLPrefsIMImpl::apply() | |||
189 | LLFile::mkdir(gDirUtilp->getPerAccountChatLogsDir().c_str()); | 186 | LLFile::mkdir(gDirUtilp->getPerAccountChatLogsDir().c_str()); |
190 | 187 | ||
191 | bool new_im_via_email = childGetValue("send_im_to_email").asBoolean(); | 188 | bool new_im_via_email = childGetValue("send_im_to_email").asBoolean(); |
192 | bool new_show_online = childGetValue("directory_visibility").asBoolean(); | 189 | bool new_hide_online = childGetValue("online_visibility").asBoolean(); |
193 | 190 | ||
194 | if((new_im_via_email != mOriginalIMViaEmail) | 191 | if((new_im_via_email != mOriginalIMViaEmail) |
195 | ||(new_show_online != mOriginalShowOnline)) | 192 | ||(new_hide_online != mOriginalHideOnlineStatus)) |
196 | { | 193 | { |
197 | LLMessageSystem* msg = gMessageSystem; | 194 | LLMessageSystem* msg = gMessageSystem; |
198 | msg->newMessageFast(_PREHASH_UpdateUserInfo); | 195 | msg->newMessageFast(_PREHASH_UpdateUserInfo); |
@@ -206,12 +203,12 @@ void LLPrefsIMImpl::apply() | |||
206 | // can only select between 2 values, we represent it as a | 203 | // can only select between 2 values, we represent it as a |
207 | // checkbox. This breaks down a little bit for liaisons, but | 204 | // checkbox. This breaks down a little bit for liaisons, but |
208 | // works out in the end. | 205 | // works out in the end. |
209 | if(new_show_online != mOriginalShowOnline) | 206 | if(new_hide_online != mOriginalHideOnlineStatus) |
210 | { | 207 | { |
211 | if(new_show_online) mDirectoryVisibility = VISIBILITY_DEFAULT; | 208 | if(new_hide_online) mDirectoryVisibility = VISIBILITY_HIDDEN; |
212 | else mDirectoryVisibility = VISIBILITY_HIDDEN; | 209 | else mDirectoryVisibility = VISIBILITY_DEFAULT; |
213 | //Update showonline value, otherwise multiple applys won't work | 210 | //Update showonline value, otherwise multiple applys won't work |
214 | mOriginalShowOnline = new_show_online; | 211 | mOriginalHideOnlineStatus = new_hide_online; |
215 | } | 212 | } |
216 | msg->addString("DirectoryVisibility", mDirectoryVisibility); | 213 | msg->addString("DirectoryVisibility", mDirectoryVisibility); |
217 | gAgent.sendReliableMessage(); | 214 | gAgent.sendReliableMessage(); |
@@ -229,20 +226,20 @@ void LLPrefsIMImpl::setPersonalInfo( | |||
229 | mDirectoryVisibility = visibility; | 226 | mDirectoryVisibility = visibility; |
230 | if(visibility == VISIBILITY_DEFAULT) | 227 | if(visibility == VISIBILITY_DEFAULT) |
231 | { | 228 | { |
232 | mOriginalShowOnline = true; | 229 | mOriginalHideOnlineStatus = false; |
233 | childEnable("directory_visibility"); | 230 | childEnable("online_visibility"); |
234 | } | 231 | } |
235 | else if(visibility == VISIBILITY_HIDDEN) | 232 | else if(visibility == VISIBILITY_HIDDEN) |
236 | { | 233 | { |
237 | mOriginalShowOnline = false; | 234 | mOriginalHideOnlineStatus = true; |
238 | childEnable("directory_visibility"); | 235 | childEnable("online_visibility"); |
239 | } | 236 | } |
240 | else | 237 | else |
241 | { | 238 | { |
242 | mOriginalShowOnline = false; | 239 | mOriginalHideOnlineStatus = true; |
243 | } | 240 | } |
244 | childSetValue("directory_visibility", mOriginalShowOnline); | 241 | childSetValue("online_visibility", mOriginalHideOnlineStatus); |
245 | childSetLabelArg("directory_visibility", "[DIR_VIS]", mDirectoryVisibility); | 242 | childSetLabelArg("online_visibility", "[DIR_VIS]", mDirectoryVisibility); |
246 | childEnable("send_im_to_email"); | 243 | childEnable("send_im_to_email"); |
247 | childSetValue("send_im_to_email", im_via_email); | 244 | childSetValue("send_im_to_email", im_via_email); |
248 | childEnable("log_instant_messages"); | 245 | childEnable("log_instant_messages"); |
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 3e5063e..ab400de 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -581,21 +581,21 @@ void init_menus() | |||
581 | // flash when an item is triggered (the flash occurs in the holder) | 581 | // flash when an item is triggered (the flash occurs in the holder) |
582 | gViewerWindow->getRootView()->addChild(gMenuHolder); | 582 | gViewerWindow->getRootView()->addChild(gMenuHolder); |
583 | 583 | ||
584 | gMenuHolder->childSetLabelArg("Upload Image", "[COST]", "10"); | 584 | gMenuHolder->childSetLabelArg("Upload Image", "[COST]", "10"); |
585 | gMenuHolder->childSetLabelArg("Upload Sound", "[COST]", "10"); | 585 | gMenuHolder->childSetLabelArg("Upload Sound", "[COST]", "10"); |
586 | gMenuHolder->childSetLabelArg("Upload Animation", "[COST]", "10"); | 586 | gMenuHolder->childSetLabelArg("Upload Animation", "[COST]", "10"); |
587 | gMenuHolder->childSetLabelArg("Bulk Upload", "[COST]", "10"); | 587 | gMenuHolder->childSetLabelArg("Bulk Upload", "[COST]", "10"); |
588 | 588 | ||
589 | gAFKMenu = (LLMenuItemCallGL*)gMenuBarView->getChildByName("Set Away", TRUE); | 589 | gAFKMenu = (LLMenuItemCallGL*)gMenuBarView->getChildByName("Set Away", TRUE); |
590 | gBusyMenu = (LLMenuItemCallGL*)gMenuBarView->getChildByName("Set Busy", TRUE); | 590 | gBusyMenu = (LLMenuItemCallGL*)gMenuBarView->getChildByName("Set Busy", TRUE); |
591 | gAttachSubMenu = gMenuBarView->getChildMenuByName("Attach Object", TRUE); | 591 | gAttachSubMenu = gMenuBarView->getChildMenuByName("Attach Object", TRUE); |
592 | gDetachSubMenu = gMenuBarView->getChildMenuByName("Detach Object", TRUE); | 592 | gDetachSubMenu = gMenuBarView->getChildMenuByName("Detach Object", TRUE); |
593 | 593 | ||
594 | if (gAgent.mAccess < SIM_ACCESS_MATURE) | 594 | if (gAgent.mAccess < SIM_ACCESS_MATURE) |
595 | { | 595 | { |
596 | gMenuBarView->getChildByName("Menu Underpants", TRUE)->setVisible(FALSE); | 596 | gMenuBarView->getChildByName("Menu Underpants", TRUE)->setVisible(FALSE); |
597 | gMenuBarView->getChildByName("Menu Undershirt", TRUE)->setVisible(FALSE); | 597 | gMenuBarView->getChildByName("Menu Undershirt", TRUE)->setVisible(FALSE); |
598 | } | 598 | } |
599 | 599 | ||
600 | // TomY TODO convert these two | 600 | // TomY TODO convert these two |
601 | LLMenuGL*menu; | 601 | LLMenuGL*menu; |
@@ -626,23 +626,23 @@ void init_menus() | |||
626 | /// | 626 | /// |
627 | gPieSelf = gUICtrlFactory->buildPieMenu("menu_pie_self.xml", gMenuHolder); | 627 | gPieSelf = gUICtrlFactory->buildPieMenu("menu_pie_self.xml", gMenuHolder); |
628 | 628 | ||
629 | // TomY TODO: what shall we do about these? | 629 | // TomY TODO: what shall we do about these? |
630 | gDetachScreenPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Detach HUD", true); | 630 | gDetachScreenPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Detach HUD", true); |
631 | gDetachPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Detach", true); | 631 | gDetachPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Detach", true); |
632 | 632 | ||
633 | if (gAgent.mAccess < SIM_ACCESS_MATURE) | 633 | if (gAgent.mAccess < SIM_ACCESS_MATURE) |
634 | { | 634 | { |
635 | gMenuHolder->getChildByName("Self Underpants", TRUE)->setVisible(FALSE); | 635 | gMenuHolder->getChildByName("Self Underpants", TRUE)->setVisible(FALSE); |
636 | gMenuHolder->getChildByName("Self Undershirt", TRUE)->setVisible(FALSE); | 636 | gMenuHolder->getChildByName("Self Undershirt", TRUE)->setVisible(FALSE); |
637 | } | 637 | } |
638 | 638 | ||
639 | gPieAvatar = gUICtrlFactory->buildPieMenu("menu_pie_avatar.xml", gMenuHolder); | 639 | gPieAvatar = gUICtrlFactory->buildPieMenu("menu_pie_avatar.xml", gMenuHolder); |
640 | 640 | ||
641 | gPieObject = gUICtrlFactory->buildPieMenu("menu_pie_object.xml", gMenuHolder); | 641 | gPieObject = gUICtrlFactory->buildPieMenu("menu_pie_object.xml", gMenuHolder); |
642 | 642 | ||
643 | gAttachScreenPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Attach HUD", true); | 643 | gAttachScreenPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Attach HUD", true); |
644 | gAttachPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Attach", true); | 644 | gAttachPieMenu = (LLPieMenu*)gMenuHolder->getChildByName("Object Attach", true); |
645 | gPieRate = (LLPieMenu*)gMenuHolder->getChildByName("Rate Menu", true); | 645 | gPieRate = (LLPieMenu*)gMenuHolder->getChildByName("Rate Menu", true); |
646 | 646 | ||
647 | gPieAttachment = gUICtrlFactory->buildPieMenu("menu_pie_attachment.xml", gMenuHolder); | 647 | gPieAttachment = gUICtrlFactory->buildPieMenu("menu_pie_attachment.xml", gMenuHolder); |
648 | 648 | ||
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 124ae13..1b91f9d 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -3906,7 +3906,7 @@ void process_alert_core(const char* buffer, BOOL modal) | |||
3906 | { | 3906 | { |
3907 | //XUI:translate | 3907 | //XUI:translate |
3908 | LLString::format_map_t args; | 3908 | LLString::format_map_t args; |
3909 | args["[BUFFER]"] = buffer; | 3909 | args["[ERROR_MESSAGE]"] = buffer; |
3910 | gViewerWindow->alertXml("ErrorMessage", args); | 3910 | gViewerWindow->alertXml("ErrorMessage", args); |
3911 | } | 3911 | } |
3912 | else | 3912 | else |
diff --git a/linden/indra/newview/releasenotes.txt b/linden/indra/newview/releasenotes.txt index 4cce794..01f16b3 100644 --- a/linden/indra/newview/releasenotes.txt +++ b/linden/indra/newview/releasenotes.txt | |||
@@ -1,3 +1,15 @@ | |||
1 | Release Notes for Second Life 1.13.3(2) January 30, 2007 | ||
2 | ===================================== | ||
3 | Changes: | ||
4 | * It is no longer possible to only search for online residents | ||
5 | * Online status is no longer indicated in the Search -> People results list | ||
6 | ** The online status inside the profile shows 'Currently Online' or remains blank | ||
7 | *** Friends can see your Online status if you give permission via the Friends list | ||
8 | *** Anyone can see your Online status if 'Make my online status visible only to my Friends' is unchecked | ||
9 | |||
10 | Bug fixes: | ||
11 | * Fixed script email across simulators | ||
12 | |||
1 | Release Notes for Second Life 1.13.2(15) January 25, 2007 | 13 | Release Notes for Second Life 1.13.2(15) January 25, 2007 |
2 | ===================================== | 14 | ===================================== |
3 | Changes: | 15 | Changes: |
diff --git a/linden/indra/newview/res/newViewRes.rc b/linden/indra/newview/res/newViewRes.rc index cf7b935..41c2af1 100644 --- a/linden/indra/newview/res/newViewRes.rc +++ b/linden/indra/newview/res/newViewRes.rc | |||
@@ -227,8 +227,8 @@ TOOLPIPETTE CURSOR "toolpipette.cur" | |||
227 | // | 227 | // |
228 | 228 | ||
229 | VS_VERSION_INFO VERSIONINFO | 229 | VS_VERSION_INFO VERSIONINFO |
230 | FILEVERSION 1,13,2,15 | 230 | FILEVERSION 1,13,3,2 |
231 | PRODUCTVERSION 1,13,2,0 | 231 | PRODUCTVERSION 1,13,3,2 |
232 | FILEFLAGSMASK 0x3fL | 232 | FILEFLAGSMASK 0x3fL |
233 | #ifdef _DEBUG | 233 | #ifdef _DEBUG |
234 | FILEFLAGS 0x1L | 234 | FILEFLAGS 0x1L |
@@ -245,12 +245,12 @@ BEGIN | |||
245 | BEGIN | 245 | BEGIN |
246 | VALUE "CompanyName", "Linden Lab" | 246 | VALUE "CompanyName", "Linden Lab" |
247 | VALUE "FileDescription", "Second Life" | 247 | VALUE "FileDescription", "Second Life" |
248 | VALUE "FileVersion", "1.13.2.15" | 248 | VALUE "FileVersion", "1.13.3.57442" |
249 | VALUE "InternalName", "Second Life" | 249 | VALUE "InternalName", "Second Life" |
250 | VALUE "LegalCopyright", "Copyright © 2001-2006, Linden Research, Inc." | 250 | VALUE "LegalCopyright", "Copyright © 2001-2006, Linden Research, Inc." |
251 | VALUE "OriginalFilename", "SecondLife.exe" | 251 | VALUE "OriginalFilename", "SecondLife.exe" |
252 | VALUE "ProductName", "Second Life" | 252 | VALUE "ProductName", "Second Life" |
253 | VALUE "ProductVersion", "1.13.2.0" | 253 | VALUE "ProductVersion", "1.13.3.57442" |
254 | END | 254 | END |
255 | END | 255 | END |
256 | BLOCK "VarFileInfo" | 256 | BLOCK "VarFileInfo" |
diff --git a/linden/indra/newview/skins/xui/en-us/floater_directory.xml b/linden/indra/newview/skins/xui/en-us/floater_directory.xml index 8056aa9..8184fdb 100644 --- a/linden/indra/newview/skins/xui/en-us/floater_directory.xml +++ b/linden/indra/newview/skins/xui/en-us/floater_directory.xml | |||
@@ -464,12 +464,9 @@ To buy direct, visit the land and click on the place name in the title bar. | |||
464 | </text> | 464 | </text> |
465 | <line_editor bevel_style="in" border_style="line" border_thickness="1" bottom="-24" | 465 | <line_editor bevel_style="in" border_style="line" border_thickness="1" bottom="-24" |
466 | follows="left|top" font="SansSerif" height="18" left_delta="38" | 466 | follows="left|top" font="SansSerif" height="18" left_delta="38" |
467 | max_length="63" mouse_opaque="true" name="name" width="128" /> | 467 | max_length="63" mouse_opaque="true" name="name" width="200" /> |
468 | <check_box bottom="-24" control_name="FindPeopleOnline" follows="left|top" | ||
469 | font="SansSerifSmall" height="18" initial_value="true" label="Online" | ||
470 | left_delta="136" mouse_opaque="true" name="online check" width="70" /> | ||
471 | <button bottom="-26" follows="left|top" font="SansSerif" halign="center" height="20" | 468 | <button bottom="-26" follows="left|top" font="SansSerif" halign="center" height="20" |
472 | label="Search" label_selected="Search" left_delta="78" mouse_opaque="true" | 469 | label="Search" label_selected="Search" left_delta="210" mouse_opaque="true" |
473 | name="Search" width="70" /> | 470 | name="Search" width="70" /> |
474 | <scroll_list background_visible="false" bottom="-513" column_padding="0" draw_border="true" | 471 | <scroll_list background_visible="false" bottom="-513" column_padding="0" draw_border="true" |
475 | draw_heading="true" fg_disable_color="1, 1, 1, 1" | 472 | draw_heading="true" fg_disable_color="1, 1, 1, 1" |
@@ -478,8 +475,7 @@ To buy direct, visit the land and click on the place name in the title bar. | |||
478 | multi_select="false" name="results" search_column="2" width="326"> | 475 | multi_select="false" name="results" search_column="2" width="326"> |
479 | <column label="" name="icon" width="24" /> | 476 | <column label="" name="icon" width="24" /> |
480 | <column label="" name="type" width="-1" /> | 477 | <column label="" name="type" width="-1" /> |
481 | <column label="Name" name="name" width="174" /> | 478 | <column label="Name" name="name" width="274" /> |
482 | <column label="Online" name="online" width="100" /> | ||
483 | </scroll_list> | 479 | </scroll_list> |
484 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 480 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
485 | bottom_delta="-20" drop_shadow_visible="true" follows="left|bottom" | 481 | bottom_delta="-20" drop_shadow_visible="true" follows="left|bottom" |
diff --git a/linden/indra/newview/skins/xui/en-us/panel_avatar.xml b/linden/indra/newview/skins/xui/en-us/panel_avatar.xml index f285008..1cc6f54 100644 --- a/linden/indra/newview/skins/xui/en-us/panel_avatar.xml +++ b/linden/indra/newview/skins/xui/en-us/panel_avatar.xml | |||
@@ -42,21 +42,9 @@ | |||
42 | text_readonly_color="1, 1, 1, 1" width="180" /> | 42 | text_readonly_color="1, 1, 1, 1" width="180" /> |
43 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 43 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
44 | bottom="-24" drop_shadow_visible="true" follows="left|top" | 44 | bottom="-24" drop_shadow_visible="true" follows="left|top" |
45 | font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="200" | 45 | font="SansSerifsmall" h_pad="0" halign="left" height="16" left_delta="200" |
46 | mouse_opaque="true" name="online_yes" v_pad="0" width="130"> | 46 | mouse_opaque="true" name="online_yes" v_pad="0" width="130"> |
47 | Online: Yes | 47 | Currently Online |
48 | </text> | ||
49 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | ||
50 | bottom="-24" drop_shadow_visible="true" follows="left|top" | ||
51 | font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="0" | ||
52 | mouse_opaque="true" name="online_no" v_pad="0" width="130"> | ||
53 | Online: No | ||
54 | </text> | ||
55 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | ||
56 | bottom="-24" drop_shadow_visible="true" follows="left|top" | ||
57 | font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="0" | ||
58 | mouse_opaque="true" name="online_unknown" v_pad="0" width="130"> | ||
59 | Online: Unknown | ||
60 | </text> | 48 | </text> |
61 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 49 | <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
62 | bottom_delta="-20" drop_shadow_visible="true" follows="left|top" | 50 | bottom_delta="-20" drop_shadow_visible="true" follows="left|top" |
diff --git a/linden/indra/newview/skins/xui/en-us/panel_preferences_im.xml b/linden/indra/newview/skins/xui/en-us/panel_preferences_im.xml index 5214ece..e787d2a 100644 --- a/linden/indra/newview/skins/xui/en-us/panel_preferences_im.xml +++ b/linden/indra/newview/skins/xui/en-us/panel_preferences_im.xml | |||
@@ -6,12 +6,12 @@ | |||
6 | bottom="-20" drop_shadow_visible="true" enabled="true" follows="left|top" | 6 | bottom="-20" drop_shadow_visible="true" enabled="true" follows="left|top" |
7 | font="SansSerifSmall" h_pad="0" halign="left" height="10" hidden="false" | 7 | font="SansSerifSmall" h_pad="0" halign="left" height="10" hidden="false" |
8 | left="12" mouse_opaque="false" name="text_box" v_pad="0" width="128"> | 8 | left="12" mouse_opaque="false" name="text_box" v_pad="0" width="128"> |
9 | Online Status in Search: | 9 | Profile Online Status: |
10 | </text> | 10 | </text> |
11 | <check_box bottom="-25" enabled="true" follows="left|top" font="SansSerifSmall" | 11 | <check_box bottom="-25" enabled="true" follows="left|top" font="SansSerifSmall" |
12 | height="16" hidden="false" initial_value="false" | 12 | height="16" hidden="false" initial_value="false" |
13 | label="Make my online status visible in Search" left="148" mouse_opaque="true" | 13 | label="Make my online status visible only to my Friends" left="148" mouse_opaque="true" |
14 | name="directory_visibility" radio_style="false" width="350" /> | 14 | name="online_visibility" radio_style="false" width="350" /> |
15 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 15 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
16 | bottom="-40" drop_shadow_visible="true" enabled="true" follows="left|top" | 16 | bottom="-40" drop_shadow_visible="true" enabled="true" follows="left|top" |
17 | font="SansSerifSmall" h_pad="0" halign="left" height="10" hidden="false" | 17 | font="SansSerifSmall" h_pad="0" halign="left" height="10" hidden="false" |