diff options
author | Jacek Antonelli | 2008-09-06 18:27:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:27:41 -0500 |
commit | d78e22887482056e9e29cccf2b7a8a675035d040 (patch) | |
tree | a0e0fde1b1a8f91d66c3eb84871b0a3c34947419 /linden/indra/newview | |
parent | Second Life viewer sources 1.21.0-RC (diff) | |
download | meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.zip meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.gz meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.bz2 meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.xz |
Second Life viewer sources 1.21.1-RC
Diffstat (limited to '')
13 files changed, 38 insertions, 27 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml index c181ce8..f2653cd 100644 --- a/linden/indra/newview/app_settings/settings.xml +++ b/linden/indra/newview/app_settings/settings.xml | |||
@@ -5814,7 +5814,7 @@ | |||
5814 | <key>Type</key> | 5814 | <key>Type</key> |
5815 | <string>Boolean</string> | 5815 | <string>Boolean</string> |
5816 | <key>Value</key> | 5816 | <key>Value</key> |
5817 | <integer>1</integer> | 5817 | <integer>0</integer> |
5818 | </map> | 5818 | </map> |
5819 | <key>RenderDebugPipeline</key> | 5819 | <key>RenderDebugPipeline</key> |
5820 | <map> | 5820 | <map> |
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp index da23710..c9ad5a3 100644 --- a/linden/indra/newview/lltexturecache.cpp +++ b/linden/indra/newview/lltexturecache.cpp | |||
@@ -792,6 +792,14 @@ bool LLTextureCacheRemoteWorker::doWrite() | |||
792 | //virtual | 792 | //virtual |
793 | bool LLTextureCacheWorker::doWork(S32 param) | 793 | bool LLTextureCacheWorker::doWork(S32 param) |
794 | { | 794 | { |
795 | //allocate a new local apr_pool | ||
796 | LLAPRPool pool ; | ||
797 | |||
798 | //save the current mFileAPRPool to avoid breaking anything. | ||
799 | apr_pool_t* old_pool = mCache->getFileAPRPool() ; | ||
800 | //make mFileAPRPool to point to the local one | ||
801 | mCache->setFileAPRPool(pool.getAPRPool()) ; | ||
802 | |||
795 | bool res = false; | 803 | bool res = false; |
796 | if (param == 0) // read | 804 | if (param == 0) // read |
797 | { | 805 | { |
@@ -805,6 +813,10 @@ bool LLTextureCacheWorker::doWork(S32 param) | |||
805 | { | 813 | { |
806 | llassert_always(0); | 814 | llassert_always(0); |
807 | } | 815 | } |
816 | |||
817 | //set mFileAPRPool back, the local one will be released automatically. | ||
818 | mCache->setFileAPRPool(old_pool) ; | ||
819 | |||
808 | return res; | 820 | return res; |
809 | } | 821 | } |
810 | 822 | ||
diff --git a/linden/indra/newview/lltexturecache.h b/linden/indra/newview/lltexturecache.h index 14f44ba..4bac15c 100644 --- a/linden/indra/newview/lltexturecache.h +++ b/linden/indra/newview/lltexturecache.h | |||
@@ -114,6 +114,9 @@ protected: | |||
114 | std::string getTextureFileName(const LLUUID& id); | 114 | std::string getTextureFileName(const LLUUID& id); |
115 | void addCompleted(Responder* responder, bool success); | 115 | void addCompleted(Responder* responder, bool success); |
116 | 116 | ||
117 | protected: | ||
118 | void setFileAPRPool(apr_pool_t* pool) { mFileAPRPool = pool ; } | ||
119 | |||
117 | private: | 120 | private: |
118 | void setDirNames(ELLPath location); | 121 | void setDirNames(ELLPath location); |
119 | void readHeaderCache(apr_pool_t* poolp = NULL); | 122 | void readHeaderCache(apr_pool_t* poolp = NULL); |
diff --git a/linden/indra/newview/llviewerstats.cpp b/linden/indra/newview/llviewerstats.cpp index 32d7f63..9034634 100644 --- a/linden/indra/newview/llviewerstats.cpp +++ b/linden/indra/newview/llviewerstats.cpp | |||
@@ -757,7 +757,6 @@ void send_stats() | |||
757 | S32 window_height = gViewerWindow->getWindowDisplayHeight(); | 757 | S32 window_height = gViewerWindow->getWindowDisplayHeight(); |
758 | S32 window_size = (window_width * window_height) / 1024; | 758 | S32 window_size = (window_width * window_height) / 1024; |
759 | misc["string_1"] = llformat("%d", window_size); | 759 | misc["string_1"] = llformat("%d", window_size); |
760 | misc["string_1"] = llformat("%.dx%d", window_width, window_height); | ||
761 | // misc["string_2"] = | 760 | // misc["string_2"] = |
762 | // misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6 | 761 | // misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6 |
763 | // misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6 | 762 | // misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6 |
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index 1f5dd44..bd40796 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp | |||
@@ -1370,6 +1370,11 @@ BOOL LLViewerWindow::handleDeviceChange(LLWindow *window) | |||
1370 | return FALSE; | 1370 | return FALSE; |
1371 | } | 1371 | } |
1372 | 1372 | ||
1373 | void LLViewerWindow::handlePingWatchdog(LLWindow *window, const char * msg) | ||
1374 | { | ||
1375 | LLAppViewer::instance()->pingMainloopTimeout(msg); | ||
1376 | } | ||
1377 | |||
1373 | // | 1378 | // |
1374 | // Classes | 1379 | // Classes |
1375 | // | 1380 | // |
diff --git a/linden/indra/newview/llviewerwindow.h b/linden/indra/newview/llviewerwindow.h index 683d331..9262e61 100644 --- a/linden/indra/newview/llviewerwindow.h +++ b/linden/indra/newview/llviewerwindow.h | |||
@@ -174,7 +174,7 @@ public: | |||
174 | /*virtual*/ void handleDataCopy(LLWindow *window, S32 data_type, void *data); | 174 | /*virtual*/ void handleDataCopy(LLWindow *window, S32 data_type, void *data); |
175 | /*virtual*/ BOOL handleTimerEvent(LLWindow *window); | 175 | /*virtual*/ BOOL handleTimerEvent(LLWindow *window); |
176 | /*virtual*/ BOOL handleDeviceChange(LLWindow *window); | 176 | /*virtual*/ BOOL handleDeviceChange(LLWindow *window); |
177 | 177 | /*virtual*/ void handlePingWatchdog(LLWindow *window, const char * msg); | |
178 | 178 | ||
179 | 179 | ||
180 | // | 180 | // |
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp index d6c9e2f..a9ecf9d 100644 --- a/linden/indra/newview/llvoavatar.cpp +++ b/linden/indra/newview/llvoavatar.cpp | |||
@@ -6269,10 +6269,6 @@ void LLVOAvatar::sitOnObject(LLViewerObject *sit_object) | |||
6269 | mDrawable->mXform.setPosition(rel_pos); | 6269 | mDrawable->mXform.setPosition(rel_pos); |
6270 | mDrawable->mXform.setRotation(mDrawable->getWorldRotation() * inv_obj_rot); | 6270 | mDrawable->mXform.setRotation(mDrawable->getWorldRotation() * inv_obj_rot); |
6271 | 6271 | ||
6272 | //in case the viewerobject is not updated in time | ||
6273 | mDrawable->getVObj()->setPosition(sit_object->getWorldPosition()) ; | ||
6274 | mDrawable->getVObj()->setRotation(sit_object->getWorldRotation()) ; | ||
6275 | |||
6276 | gPipeline.markMoved(mDrawable, TRUE); | 6272 | gPipeline.markMoved(mDrawable, TRUE); |
6277 | mIsSitting = TRUE; | 6273 | mIsSitting = TRUE; |
6278 | mRoot.getXform()->setParent(&sit_object->mDrawable->mXform); // LLVOAvatar::sitOnObject | 6274 | mRoot.getXform()->setParent(&sit_object->mDrawable->mXform); // LLVOAvatar::sitOnObject |
@@ -6333,10 +6329,6 @@ void LLVOAvatar::getOffObject() | |||
6333 | mDrawable->mXform.setPosition(cur_position_world); | 6329 | mDrawable->mXform.setPosition(cur_position_world); |
6334 | mDrawable->mXform.setRotation(cur_rotation_world); | 6330 | mDrawable->mXform.setRotation(cur_rotation_world); |
6335 | 6331 | ||
6336 | //in case the viewerobject is not updated from sim in time | ||
6337 | mDrawable->getVObj()->setPosition(cur_position_world); | ||
6338 | mDrawable->getVObj()->setRotation(cur_rotation_world); | ||
6339 | |||
6340 | gPipeline.markMoved(mDrawable, TRUE); | 6332 | gPipeline.markMoved(mDrawable, TRUE); |
6341 | 6333 | ||
6342 | mIsSitting = FALSE; | 6334 | mIsSitting = FALSE; |
diff --git a/linden/indra/newview/skins/default/xui/en-us/alerts.xml b/linden/indra/newview/skins/default/xui/en-us/alerts.xml index 8b17754..57736b4 100644 --- a/linden/indra/newview/skins/default/xui/en-us/alerts.xml +++ b/linden/indra/newview/skins/default/xui/en-us/alerts.xml | |||
@@ -1041,7 +1041,7 @@ MINSPECS | |||
1041 | Do you wish to visit [_URL] for more information? | 1041 | Do you wish to visit [_URL] for more information? |
1042 | </message> | 1042 | </message> |
1043 | <ignore name="ignore"> | 1043 | <ignore name="ignore"> |
1044 | Ignore unsupported hardware | 1044 | When detecting unsupported hardware |
1045 | </ignore> | 1045 | </ignore> |
1046 | <option name="Yes"> | 1046 | <option name="Yes"> |
1047 | Yes | 1047 | Yes |
@@ -1088,7 +1088,7 @@ adjust your graphics settings to something more appropriate. | |||
1088 | (Edit menu > Preferences > Graphics). | 1088 | (Edit menu > Preferences > Graphics). |
1089 | </message> | 1089 | </message> |
1090 | <ignore name="ignore"> | 1090 | <ignore name="ignore"> |
1091 | Ignore unknown graphics card | 1091 | When detecting an unknown graphics card |
1092 | </ignore> | 1092 | </ignore> |
1093 | </alert> | 1093 | </alert> |
1094 | 1094 | ||
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_im.xml b/linden/indra/newview/skins/default/xui/en-us/floater_im.xml index e30438b..51953b05 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_im.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_im.xml | |||
@@ -36,7 +36,7 @@ | |||
36 | You are not a session moderator. | 36 | You are not a session moderator. |
37 | </string> | 37 | </string> |
38 | <string name="muted_error"> | 38 | <string name="muted_error"> |
39 | You have been muted. | 39 | A group moderator disabled your text chat. |
40 | </string> | 40 | </string> |
41 | <string name="add_session_event"> | 41 | <string name="add_session_event"> |
42 | adding agents to chat session with | 42 | adding agents to chat session with |
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message_group.xml b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message_group.xml index 31d80f6..be18c7e 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message_group.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message_group.xml | |||
@@ -32,7 +32,7 @@ | |||
32 | Starting session with [NAME], please wait. | 32 | Starting session with [NAME], please wait. |
33 | </string> | 33 | </string> |
34 | <string name="moderated_chat_label"> | 34 | <string name="moderated_chat_label"> |
35 | (Moderated) | 35 | (Moderated: Voices off by default) |
36 | </string> | 36 | </string> |
37 | <string name="default_text_label"> | 37 | <string name="default_text_label"> |
38 | Click here to instant message. | 38 | Click here to instant message. |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml index 279202a..d3174af 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml | |||
@@ -61,7 +61,7 @@ | |||
61 | width="237" /> | 61 | width="237" /> |
62 | <check_box bottom="-245" control_name="IMLogTimestamp" enabled="true" | 62 | <check_box bottom="-245" control_name="IMLogTimestamp" enabled="true" |
63 | follows="left|top" font="SansSerifSmall" height="16" | 63 | follows="left|top" font="SansSerifSmall" height="16" |
64 | initial_value="false" label="Show timestamps in IM Log" left="168" | 64 | initial_value="false" label="Show timestamps in IM log" left="168" |
65 | mouse_opaque="true" name="log_instant_messages_timestamp" radio_style="false" | 65 | mouse_opaque="true" name="log_instant_messages_timestamp" radio_style="false" |
66 | width="217" /> | 66 | width="217" /> |
67 | <check_box bottom="-265" control_name="LogShowHistory" enabled="true" follows="left|top" | 67 | <check_box bottom="-265" control_name="LogShowHistory" enabled="true" follows="left|top" |
@@ -76,14 +76,14 @@ | |||
76 | font="SansSerifSmall" height="16" initial_value="false" | 76 | font="SansSerifSmall" height="16" initial_value="false" |
77 | label="Show timestamps in Local Chat log" left="168" mouse_opaque="true" | 77 | label="Show timestamps in Local Chat log" left="168" mouse_opaque="true" |
78 | name="log_chat_timestamp" radio_style="false" width="217" /> | 78 | name="log_chat_timestamp" radio_style="false" width="217" /> |
79 | <check_box bottom="-325" control_name="LogTimestampDate" enabled="true" follows="left|top" | 79 | <check_box bottom="-325" control_name="LogChatIM" enabled="true" follows="left|top" |
80 | font="SansSerifSmall" height="16" initial_value="false" | ||
81 | label="Include date with timestamp" left="168" mouse_opaque="true" | ||
82 | name="log_date_timestamp" radio_style="false" width="217" /> | ||
83 | <check_box bottom="-345" control_name="LogChatIM" enabled="true" follows="left|top" | ||
84 | font="SansSerifSmall" height="16" initial_value="false" | 80 | font="SansSerifSmall" height="16" initial_value="false" |
85 | label="Show incoming IM in Local Chat log" left="168" mouse_opaque="true" | 81 | label="Show incoming IM in Local Chat log" left="168" mouse_opaque="true" |
86 | name="log_chat_IM" radio_style="false" width="217" /> | 82 | name="log_chat_IM" radio_style="false" width="217" /> |
83 | <check_box bottom="-345" control_name="LogTimestampDate" enabled="true" follows="left|top" | ||
84 | font="SansSerifSmall" height="16" initial_value="false" | ||
85 | label="Include date with timestamps" left="148" mouse_opaque="true" | ||
86 | name="log_date_timestamp" radio_style="false" width="237" /> | ||
87 | <button bottom="-367" follows="right|bottom" font="SansSerif" halign="center" | 87 | <button bottom="-367" follows="right|bottom" font="SansSerif" halign="center" |
88 | height="20" label="Change Path" label_selected="Change Path" left="170" | 88 | height="20" label="Change Path" label_selected="Change Path" left="170" |
89 | mouse_opaque="true" name="log_path_button" width="90" /> | 89 | mouse_opaque="true" name="log_path_button" width="90" /> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_speaker_controls.xml b/linden/indra/newview/skins/default/xui/en-us/panel_speaker_controls.xml index 1a9b6a8..f6c1887 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_speaker_controls.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_speaker_controls.xml | |||
@@ -12,10 +12,10 @@ | |||
12 | <combo_box bottom="0" follows="left|top|right|bottom" height="20" left="5" | 12 | <combo_box bottom="0" follows="left|top|right|bottom" height="20" left="5" |
13 | name="moderation_mode" width="130"> | 13 | name="moderation_mode" width="130"> |
14 | <combo_item name="OpenVoice" value="unmoderated"> | 14 | <combo_item name="OpenVoice" value="unmoderated"> |
15 | Open Voice (default) | 15 | Voices on by default |
16 | </combo_item> | 16 | </combo_item> |
17 | <combo_item name="ModeratedVoice" value="moderated"> | 17 | <combo_item name="ModeratedVoice" value="moderated"> |
18 | Moderated Voice | 18 | Voices off by default |
19 | </combo_item> | 19 | </combo_item> |
20 | </combo_box> | 20 | </combo_box> |
21 | </layout_panel> | 21 | </layout_panel> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/role_actions.xml b/linden/indra/newview/skins/default/xui/en-us/role_actions.xml index 58c6bcc..c7e8272 100644 --- a/linden/indra/newview/skins/default/xui/en-us/role_actions.xml +++ b/linden/indra/newview/skins/default/xui/en-us/role_actions.xml | |||
@@ -43,8 +43,8 @@ | |||
43 | description="These Abilities include powers to modify this group's identity, such as changing public visibility, charter, and insignia." | 43 | description="These Abilities include powers to modify this group's identity, such as changing public visibility, charter, and insignia." |
44 | name="Group Identity"> | 44 | name="Group Identity"> |
45 | <action | 45 | <action |
46 | description="Change Charter, Insignia, 'Publish on the Web', and which members are publicly visible in Group Information." | 46 | description="Change Charter, Insignia, 'Show in search', and which members are publicly visible in Group Information." |
47 | longdescription="Change Charter, Insignia, 'Publish on the Web', and which members are publicly visible in Group Information. This is done in the General tab." | 47 | longdescription="Change Charter, Insignia, 'Show in search', and which members are publicly visible in Group Information. This is done in the General tab." |
48 | name="group change identity" value="11" /> | 48 | name="group change identity" value="11" /> |
49 | </action_set> | 49 | </action_set> |
50 | <action_set | 50 | <action_set |
@@ -70,8 +70,8 @@ | |||
70 | longdescription="Toggle 'Show in Find Places' and setting a parcel's category in About Land > Options tab." | 70 | longdescription="Toggle 'Show in Find Places' and setting a parcel's category in About Land > Options tab." |
71 | name="land find places" value="17" /> | 71 | name="land find places" value="17" /> |
72 | <action | 72 | <action |
73 | description="Change parcel name, description, and 'Publish on the Web' settings" | 73 | description="Change parcel name, description, and 'Show in search' settings" |
74 | longdescription="Change parcel name, description, and 'Publish on the Web' settings. This is done in About Land > Options tab." | 74 | longdescription="Change parcel name, description, and 'Show in search' settings. This is done in About Land > Options tab." |
75 | name="land change identity" value="18" /> | 75 | name="land change identity" value="18" /> |
76 | <action description="Set landing point and set teleport routing" | 76 | <action description="Set landing point and set teleport routing" |
77 | longdescription="On a group-owned parcel, Members in a Role with this Ability can set a landing point to specify where incoming teleports arrive, and also set teleport routing for further control. This is done in About Land > Options tab." | 77 | longdescription="On a group-owned parcel, Members in a Role with this Ability can set a landing point to specify where incoming teleports arrive, and also set teleport routing for further control. This is done in About Land > Options tab." |