summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-03-01 19:30:41 -0600
committerDave Parks <davep@lindenlab.com>2010-03-01 19:30:41 -0600
commitb6512c511bdc5dba2cdad800cfd7ab831f432797 (patch)
tree87ea8e0b438529cd06935d57f62cdf3123bcc15c
parent99b0d17833a8a2efab9c08edf2ada3718736a5ba (diff)
parent01e26f5499b224994a720e417ae7d3fc48239f62 (diff)
Merge with viewer-2-0
-rwxr-xr-xindra/newview/linux_tools/wrapper.sh10
-rw-r--r--indra/newview/llviewercamera.cpp10
-rw-r--r--indra/newview/skins/default/xui/en/floater_event.xml106
-rw-r--r--indra/newview/skins/default/xui/en/panel_preferences_sound.xml4
-rw-r--r--indra/newview/skins/default/xui/fr/floater_snapshot.xml4
-rw-r--r--indra/newview/skins/default/xui/fr/panel_friends.xml2
-rw-r--r--indra/newview/skins/default/xui/fr/panel_notes.xml2
-rw-r--r--indra/newview/skins/default/xui/fr/panel_people.xml2
-rw-r--r--indra/newview/skins/default/xui/fr/panel_profile.xml2
9 files changed, 88 insertions, 54 deletions
diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh
index f84102e1fb..d2df968544 100755
--- a/indra/newview/linux_tools/wrapper.sh
+++ b/indra/newview/linux_tools/wrapper.sh
@@ -41,16 +41,8 @@
## driver bug, try enabling this option and report whether it helps:
#export LL_ATI_MOUSE_CURSOR_BUG=x
-## - If you experience crashes with streaming video and music, you can
-## disable these by enabling this option:
-#export LL_DISABLE_GSTREAMER=x
-
-## - GStreamer is automatically disabled - for now - on 64-bit systems due
-## to common fatal incompatibilities; remove/comment these lines if you want
-## to try anyway.
if [ "`uname -m`" = "x86_64" ]; then
- export LL_DISABLE_GSTREAMER=x
- echo '64-bit Linux detected: Disabling GStreamer (streaming video and music) by default; edit ./secondlife to re-enable.'
+ echo '64-bit Linux detected.'
fi
## Everything below this line is just for advanced troubleshooters.
diff --git a/indra/newview/llviewercamera.cpp b/indra/newview/llviewercamera.cpp
index bd4f172907..0051f46716 100644
--- a/indra/newview/llviewercamera.cpp
+++ b/indra/newview/llviewercamera.cpp
@@ -338,7 +338,12 @@ void LLViewerCamera::setPerspective(BOOL for_selection,
{
// make a tiny little viewport
// anything drawn into this viewport will be "selected"
- GLint* viewport = (GLint*) gGLViewport;
+
+ GLint viewport[4];
+ viewport[0] = gViewerWindow->getWorldViewRectRaw().mLeft;
+ viewport[1] = gViewerWindow->getWorldViewRectRaw().mBottom;
+ viewport[2] = gViewerWindow->getWorldViewRectRaw().getWidth();
+ viewport[3] = gViewerWindow->getWorldViewRectRaw().getHeight();
proj_mat = gl_pick_matrix(x+width/2.f, y_from_bot+height/2.f, (GLfloat) width, (GLfloat) height, viewport);
@@ -405,6 +410,9 @@ void LLViewerCamera::setPerspective(BOOL for_selection,
if (for_selection && (width > 1 || height > 1))
{
+ // NB: as of this writing, i believe the code below is broken (doesn't take into account the world view, assumes entire window)
+ // however, it is also unused (the GL matricies are used for selection, (see LLCamera::sphereInFrustum())) and so i'm not
+ // comfortable hacking on it.
calculateFrustumPlanesFromWindow((F32)(x - width / 2) / (F32)gViewerWindow->getWindowWidthScaled() - 0.5f,
(F32)(y_from_bot - height / 2) / (F32)gViewerWindow->getWindowHeightScaled() - 0.5f,
(F32)(x + width / 2) / (F32)gViewerWindow->getWindowWidthScaled() - 0.5f,
diff --git a/indra/newview/skins/default/xui/en/floater_event.xml b/indra/newview/skins/default/xui/en/floater_event.xml
index c2fab900e3..bcf15d7193 100644
--- a/indra/newview/skins/default/xui/en/floater_event.xml
+++ b/indra/newview/skins/default/xui/en/floater_event.xml
@@ -48,7 +48,7 @@
border_size="0">
<layout_panel
name="profile_stack"
- follows="all"
+ follows="top|left"
layout="topleft"
top="0"
left="0"
@@ -88,7 +88,7 @@
left="10"
top_pad="7"
name="event_runby_label"
- width="310">
+ width="90">
Run by:
</text>
<text
@@ -96,48 +96,79 @@
height="20"
initial_value="(retrieving)"
layout="topleft"
- left="10"
+ left_pad="0"
link="true"
name="event_runby"
- top_pad="2"
+ top_delta="0"
use_ellipses="true"
- width="310" />
+ width="240" />
+ <text
+ type="string"
+ length="1"
+ follows="top|left"
+ layout="topleft"
+ left="10"
+ top_pad="5"
+ name="event_date_label"
+ width="90">
+ Date:
+ </text>
<text
type="string"
length="1"
- left="10"
+ left_pad="0"
height="17"
- font="SansSerifMedium"
- text_color="EmphasisColor"
- top_pad="5"
+ top_delta="0"
follows="top|left"
layout="topleft"
name="event_date"
- width="310">
+ width="240">
10/10/2010
</text>
<text
type="string"
- height="14"
length="1"
+ follows="top|left"
+ layout="topleft"
left="10"
+ top_pad="5"
+ name="event_duration_label"
+ width="90">
+ Duration:
+ </text>
+ <text
+ type="string"
+ height="14"
+ length="1"
+ left_pad="0"
follows="top|left"
layout="topleft"
name="event_duration"
- width="310">
+ top_delta="0"
+ width="240">
1 hour
</text>
<text
- font="SansSerifMedium"
- text_color="EmphasisColor"
+ type="string"
+ length="1"
+ follows="top|left"
+ layout="topleft"
+ left="10"
+ top_pad="5"
+ name="event_covercharge_label"
+ width="90">
+ Cover charge:
+ </text>
+ <text
type="string"
follows="left|top"
height="16"
layout="topleft"
- left="10"
+ left_pad="0"
name="event_cover"
visible="true"
- width="310">
+ width="240"
+ top_delta="0">
Free
</text>
<text
@@ -147,20 +178,22 @@
layout="topleft"
left="10"
top_pad="5"
- name="event_location_label">
+ name="event_location_label"
+ width="90">
Location:
</text>
<text
type="string"
length="1"
height="20"
- left="10"
+ left_pad="0"
follows="top|left"
layout="topleft"
name="event_location"
use_ellipses="true"
+ top_delta="0"
value="SampleParcel, Name Long (145, 228, 26)"
- width="310" />
+ width="240" />
<icon
follows="top|left"
height="16"
@@ -195,33 +228,34 @@
name="rating_label"
top_delta="3"
value="Rating:"
- width="60" />
+ width="58" />
<text
follows="left|right|top"
height="16"
layout="topleft"
- left_pad="0"
+ left_pad="2"
name="rating_value"
top_delta="0"
value="unknown"
- width="200" />
+ width="240" />
<expandable_text
- follows="left|top|right"
- height="106"
- layout="topleft"
- left="6"
- name="event_desc"
- width="313" />
+ follows="left|top|right"
+ height="65"
+ layout="topleft"
+ left="6"
+ name="event_desc"
+ width="322">
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</expandable_text>
</layout_panel>
<layout_panel
- follows="left|right"
- height="24"
- layout="topleft"
- mouse_opaque="false"
- name="button_panel"
- top="0"
- left="0"
- user_resize="false">
+ follows="left|right"
+ height="24"
+ layout="topleft"
+ mouse_opaque="false"
+ name="button_panel"
+ top="0"
+ left="0"
+ user_resize="false">
<button
follows="left|top"
height="18"
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml
index a7cdd241c5..e03ecd8f04 100644
--- a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml
@@ -51,7 +51,7 @@
name="mute_when_minimized"
top_delta="3"
left_pad="5"
- width="215" />
+ width="235" />
<slider
control_name="AudioLevelUI"
disabled_control="MuteAudio"
@@ -329,7 +329,7 @@
left="80"
top_delta="16"
name="Listen from"
- width="80">
+ width="142">
Listen from:
</text>
<icon
diff --git a/indra/newview/skins/default/xui/fr/floater_snapshot.xml b/indra/newview/skins/default/xui/fr/floater_snapshot.xml
index 74738b7e31..f01d865f29 100644
--- a/indra/newview/skins/default/xui/fr/floater_snapshot.xml
+++ b/indra/newview/skins/default/xui/fr/floater_snapshot.xml
@@ -62,8 +62,8 @@
<check_box label="Interface" name="ui_check"/>
<check_box label="HUD" name="hud_check"/>
<check_box label="Garder ouvert après enregistrement" name="keep_open_check"/>
- <check_box label="Contraindre les proportions" name="keep_aspect_check"/>
- <check_box label="Arrêt sur image (plein écran)" name="freeze_frame_check"/>
+ <check_box label="Conserver les proportions" name="keep_aspect_check"/>
+ <check_box label="Figer l'image (plein écran)" name="freeze_frame_check"/>
<button label="Rafraîchir" name="new_snapshot_btn"/>
<check_box label="Rafraîchissement automatique" name="auto_snapshot_check"/>
<button label="Enregistrer ([AMOUNT] L$)" name="upload_btn" width="118"/>
diff --git a/indra/newview/skins/default/xui/fr/panel_friends.xml b/indra/newview/skins/default/xui/fr/panel_friends.xml
index 10ec952aa3..ad9e3daf3d 100644
--- a/indra/newview/skins/default/xui/fr/panel_friends.xml
+++ b/indra/newview/skins/default/xui/fr/panel_friends.xml
@@ -16,5 +16,5 @@
<button label="Téléporter" name="offer_teleport_btn" tool_tip="Proposez à cet ami d&apos;être téléporté là où vous êtes"/>
<button label="Payer" name="pay_btn" tool_tip="Donnez des L$ à cet ami"/>
<button label="Supprimer" name="remove_btn" tool_tip="Supprimez ce résident de votre liste d&apos;amis"/>
- <button label="Ajouter" name="add_btn" tool_tip="Proposer à ce résident de devenir votre ami"/>
+ <button label="Ajouter" name="add_btn" tool_tip="Proposer à un résident de devenir votre ami"/>
</panel>
diff --git a/indra/newview/skins/default/xui/fr/panel_notes.xml b/indra/newview/skins/default/xui/fr/panel_notes.xml
index ba052a0e07..f4e4f8a4ab 100644
--- a/indra/newview/skins/default/xui/fr/panel_notes.xml
+++ b/indra/newview/skins/default/xui/fr/panel_notes.xml
@@ -13,7 +13,7 @@
</scroll_container>
</layout_panel>
<layout_panel name="notes_buttons_panel">
- <button label="Devenir amis" name="add_friend" tool_tip="Proposer à ce résident de devenir votre ami"/>
+ <button label="Devenir amis" name="add_friend" tool_tip="Proposer à un résident de devenir votre ami"/>
<button label="IM" name="im" width="30" tool_tip="Ouvrir une session IM"/>
<button label="Appeler" name="call" width="60" tool_tip="Appeler ce résident"/>
<button label="Carte" name="show_on_map_btn" tool_tip="Afficher le résident sur la carte"/>
diff --git a/indra/newview/skins/default/xui/fr/panel_people.xml b/indra/newview/skins/default/xui/fr/panel_people.xml
index f129f56261..84749806ff 100644
--- a/indra/newview/skins/default/xui/fr/panel_people.xml
+++ b/indra/newview/skins/default/xui/fr/panel_people.xml
@@ -26,7 +26,7 @@ Si vous voulez rencontrer d&apos;autres résidents, ouvrez la [secondlife:///app
</text>
<panel label="bottom_panel" name="bottom_panel">
<button name="friends_viewsort_btn" tool_tip="Options"/>
- <button name="add_btn" tool_tip="Proposer à ce résident de devenir votre ami"/>
+ <button name="add_btn" tool_tip="Proposer à un résident de devenir votre ami"/>
<button name="del_btn" tool_tip="Supprimer le résident sélectionné de votre liste d&apos;amis"/>
</panel>
</panel>
diff --git a/indra/newview/skins/default/xui/fr/panel_profile.xml b/indra/newview/skins/default/xui/fr/panel_profile.xml
index 364426fed1..c439435d1a 100644
--- a/indra/newview/skins/default/xui/fr/panel_profile.xml
+++ b/indra/newview/skins/default/xui/fr/panel_profile.xml
@@ -41,7 +41,7 @@
</scroll_container>
</layout_panel>
<layout_panel name="profile_buttons_panel">
- <button label="Devenir amis" name="add_friend" tool_tip="Proposer à ce résident de devenir votre ami"/>
+ <button label="Devenir amis" name="add_friend" tool_tip="Proposer à un résident de devenir votre ami"/>
<button label="IM" name="im" tool_tip="Ouvrir une session IM" width="30"/>
<button label="Appeler" name="call" tool_tip="Appeler ce résident" width="60"/>
<button label="Carte" name="show_on_map_btn" tool_tip="Afficher le résident sur la carte"/>