aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-15 17:49:06 +0200
committerAleric Inglewood2010-10-15 17:49:06 +0200
commit67f55bad571044535f1d8c3b3c3afb5078249fd3 (patch)
treed5e9f43ed6b44837faed947a09b13648d55087ba /linden/indra/newview
parentRevert "port of LL renderpipeline/Kirstens S19 pipeline for bridging to Viewe... (diff)
downloadmeta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.zip
meta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.tar.gz
meta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.tar.bz2
meta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.tar.xz
RED-595: Manual merge with weekly-webkit.
Plus some white space fixes (TABs --> spaces) in install.xml.
Diffstat (limited to 'linden/indra/newview')
-rwxr-xr-xlinden/indra/newview/linux_tools/wrapper.sh13
-rw-r--r--linden/indra/newview/llfloaterhtmlhelp.cpp2
-rw-r--r--linden/indra/newview/llmediactrl.cpp3
-rw-r--r--linden/indra/newview/llstartup.cpp4
-rw-r--r--linden/indra/newview/secondlife-i686.supp44
-rw-r--r--linden/indra/newview/skins/default/xui/zh/mime_types.xml9
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py6
7 files changed, 10 insertions, 71 deletions
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh
index 8c47434..a43ebd5 100755
--- a/linden/indra/newview/linux_tools/wrapper.sh
+++ b/linden/indra/newview/linux_tools/wrapper.sh
@@ -106,17 +106,16 @@ if [ -n "$LL_TCMALLOC" ]; then
106 fi 106 fi
107 fi 107 fi
108fi 108fi
109BINARY_SYSTEM=$(expr match "$(file -b /bin/uname)" '\(.*executable\)')
110BINARY_VIEWER=$(expr match "$(file -b ${RUN_PATH}/bin/do-not-directly-run-imprudence-bin)" '\(.*executable\)')
111echo "viewer: $BINARY_VIEWER system: $BINARY_SYSTEM"
112if ( [ "$BINARY_SYSTEM" == "ELF 64-bit LSB executable" ] && [ "$BINARY_VIEWER" == "ELF 64-bit LSB executable" ] ); then
113 109
114 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' 110export VIEWER_BINARY='do-not-directly-run-imprudence-bin'
111BINARY_TYPE=$(expr match "$(file -b bin/$VIEWER_BINARY)" '\(.*executable\)')
112if [ "${BINARY_TYPE}" == "ELF 64-bit LSB executable" ]; then
113 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"${LD_LIBRARY_PATH}"'
115else 114else
116 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' 115 export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"${LD_LIBRARY_PATH}"'
117fi 116fi
118 117
119export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' 118export SL_CMD='$LL_WRAPPER bin/$VIEWER_BINARY'
120export SL_OPT="`cat gridargs.dat` $@" 119export SL_OPT="`cat gridargs.dat` $@"
121 120
122# Run the program 121# Run the program
diff --git a/linden/indra/newview/llfloaterhtmlhelp.cpp b/linden/indra/newview/llfloaterhtmlhelp.cpp
index 1777403..1ec964b 100644
--- a/linden/indra/newview/llfloaterhtmlhelp.cpp
+++ b/linden/indra/newview/llfloaterhtmlhelp.cpp
@@ -534,7 +534,7 @@ void LLFloaterHtmlHelp::onStatusTextChange( const EventType& eventIn )
534// 534//
535void LLFloaterHtmlHelp::onLocationChange( const EventType& eventIn ) 535void LLFloaterHtmlHelp::onLocationChange( const EventType& eventIn )
536{ 536{
537 llinfos << "MOZ> Location changed to " << eventIn.getStringValue() << llendl; 537 llinfos << "WEB> Location changed to " << eventIn.getStringValue() << llendl;
538 mCurrentUrl = std::string( eventIn.getStringValue() ); 538 mCurrentUrl = std::string( eventIn.getStringValue() );
539} 539}
540 540
diff --git a/linden/indra/newview/llmediactrl.cpp b/linden/indra/newview/llmediactrl.cpp
index 1530598..c3bcf85 100644
--- a/linden/indra/newview/llmediactrl.cpp
+++ b/linden/indra/newview/llmediactrl.cpp
@@ -199,8 +199,9 @@ BOOL LLMediaCtrl::handleMouseUp( S32 x, S32 y, MASK mask )
199 { 199 {
200 mMediaSource->mouseUp(x, y); 200 mMediaSource->mouseUp(x, y);
201 201
202 // *HACK: LLMediaImplLLMozLib automatically takes focus on mouseup, 202 // *HACK: media_plugin_webkit automatically takes focus on mouseup,
203 // in addition to the onFocusReceived() call below. Undo this. JC 203 // in addition to the onFocusReceived() call below. Undo this. JC
204 // RED-595: Is this really still the case for webkit?
204 if (!mTakeFocusOnClick) 205 if (!mTakeFocusOnClick)
205 { 206 {
206 mMediaSource->focus(false); 207 mMediaSource->focus(false);
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index bd22772..7bd5fff 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -199,10 +199,6 @@
199#include <Security/Security.h> 199#include <Security/Security.h>
200#endif 200#endif
201 201
202#if LL_LIBXUL_ENABLED
203#include "llmozlib.h"
204#endif // LL_LIBXUL_ENABLED
205
206#if LL_WINDOWS 202#if LL_WINDOWS
207#include "llwindebug.h" 203#include "llwindebug.h"
208#include "lldxhardware.h" 204#include "lldxhardware.h"
diff --git a/linden/indra/newview/secondlife-i686.supp b/linden/indra/newview/secondlife-i686.supp
index 43d4483..d70cda3 100644
--- a/linden/indra/newview/secondlife-i686.supp
+++ b/linden/indra/newview/secondlife-i686.supp
@@ -41,50 +41,6 @@
41# - After you build the viewer, replace the stripped 41# - After you build the viewer, replace the stripped
42# do-not-directly-run-secondlife-bin binary with an unstripped copy. 42# do-not-directly-run-secondlife-bin binary with an unstripped copy.
43 43
44# Mozilla noise.
45
46{
47 Cond:mozilla-runtime/*.so
48 Memcheck:Cond
49 obj:*/mozilla-runtime-*/*.so
50}
51
52{
53 Value4:mozilla-runtime/*.so
54 Memcheck:Value4
55 obj:*/mozilla-runtime-*/*.so
56}
57
58{
59 Cond:mozilla-runtime/*/*.so
60 Memcheck:Cond
61 obj:*/mozilla-runtime-*/*/*.so
62}
63
64{
65 Value4:mozilla-runtime/*/*.so
66 Memcheck:Value4
67 obj:*/mozilla-runtime-*/*/*.so
68}
69
70{
71 Cond:mozilla-runtime/libmozjs.so
72 Memcheck:Cond
73 obj:*/libmozjs.so
74}
75
76{
77 Cond:mozilla-runtime/libxul
78 Memcheck:Cond
79 obj:*/libxul.so
80}
81
82{
83 Value4:mozilla-runtime/libxul
84 Memcheck:Value4
85 obj:*/libxul.so
86}
87
88# libcurl badness. 44# libcurl badness.
89 45
90{ 46{
diff --git a/linden/indra/newview/skins/default/xui/zh/mime_types.xml b/linden/indra/newview/skins/default/xui/zh/mime_types.xml
index fc5fae4..0cc6f2f 100644
--- a/linden/indra/newview/skins/default/xui/zh/mime_types.xml
+++ b/linden/indra/newview/skins/default/xui/zh/mime_types.xml
@@ -1,14 +1,5 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?> 1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2<mimetypes name="default"> 2<mimetypes name="default">
3 <defaultlabel>
4 (未知)
5 </defaultlabel>
6 <defaultwidget>
7
8 </defaultwidget>
9 <defaultimpl>
10 LLMediaImplLLMozLib
11 </defaultimpl>
12 <widgetset name="web"> 3 <widgetset name="web">
13 <label name="web_label"> 4 <label name="web_label">
14 网页内容 5 网页内容
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index 314cb65..143d946 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -949,7 +949,6 @@ class Linux_i686Manifest(LinuxManifest):
949 super(Linux_i686Manifest, self).construct() 949 super(Linux_i686Manifest, self).construct()
950 self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin") 950 self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin")
951 951
952
953 if (not self.standalone()) and self.prefix("../../libraries/i686-linux/lib_release_client", dst="lib"): 952 if (not self.standalone()) and self.prefix("../../libraries/i686-linux/lib_release_client", dst="lib"):
954 self.path("libapr-1.so.0") 953 self.path("libapr-1.so.0")
955 self.path("libaprutil-1.so.0") 954 self.path("libaprutil-1.so.0")
@@ -1076,9 +1075,6 @@ class Linux_x86_64Manifest(LinuxManifest):
1076 self.path("featuretable_linux.txt") 1075 self.path("featuretable_linux.txt")
1077 #self.path("secondlife-x86_64.supp") 1076 #self.path("secondlife-x86_64.supp")
1078 1077
1079 if not self.standalone():
1080 self.path("app_settings/mozilla-runtime-linux-x86_64")
1081
1082 if (not self.standalone()) and self.prefix("../../libraries/x86_64-linux/lib_release_client", dst="lib64"): 1078 if (not self.standalone()) and self.prefix("../../libraries/x86_64-linux/lib_release_client", dst="lib64"):
1083 self.path("libapr-1.so.0") 1079 self.path("libapr-1.so.0")
1084 self.path("libaprutil-1.so.0") 1080 self.path("libaprutil-1.so.0")
@@ -1090,7 +1086,7 @@ class Linux_x86_64Manifest(LinuxManifest):
1090 self.path("libuuid.so", "libuuid.so.1") 1086 self.path("libuuid.so", "libuuid.so.1")
1091 self.path("libSDL-1.2.so.0") 1087 self.path("libSDL-1.2.so.0")
1092 self.path("libELFIO.so") 1088 self.path("libELFIO.so")
1093 self.path("libjpeg.so.7") 1089 self.path("libjpeg.so.62")
1094 self.path("libpng12.so.0") 1090 self.path("libpng12.so.0")
1095 self.path("libopenjpeg.so.2") 1091 self.path("libopenjpeg.so.2")
1096 self.path("libxml2.so.2") 1092 self.path("libxml2.so.2")