diff options
author | McCabe Maxsted | 2012-02-18 00:21:02 -0700 |
---|---|---|
committer | McCabe Maxsted | 2012-02-18 00:21:02 -0700 |
commit | 584112aff112409e17c13e8d59ff483431696fcf (patch) | |
tree | c3cbb9fedfb8366c17375609ea2a6b4b7c3780b3 /linden/indra | |
parent | Fixed tons of 'LLXMLTree invalid token' warnings spamming the log and made th... (diff) | |
parent | disable voice if ParcelVoiceInfoRequest response is malformed. (diff) | |
download | meta-impy-584112aff112409e17c13e8d59ff483431696fcf.zip meta-impy-584112aff112409e17c13e8d59ff483431696fcf.tar.gz meta-impy-584112aff112409e17c13e8d59ff483431696fcf.tar.bz2 meta-impy-584112aff112409e17c13e8d59ff483431696fcf.tar.xz |
Merge remote-tracking branch 'armin/next' into next
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 12 | ||||
-rw-r--r-- | linden/indra/cmake/GStreamer010Plugin.cmake | 23 | ||||
-rw-r--r-- | linden/indra/cmake/Variables.cmake | 26 | ||||
-rw-r--r-- | linden/indra/cmake/ViewerMiscLibs.cmake | 6 | ||||
-rw-r--r-- | linden/indra/cmake/WebKitLibPlugin.cmake | 7 | ||||
-rw-r--r-- | linden/indra/cmake/ZLIB.cmake | 6 | ||||
-rwxr-xr-x | linden/indra/develop.py | 20 | ||||
-rw-r--r-- | linden/indra/llui/llctrlselectioninterface.cpp | 4 | ||||
-rw-r--r-- | linden/indra/llui/llctrlselectioninterface.h | 4 | ||||
-rw-r--r-- | linden/indra/llxml/llxmlnode.cpp | 5 | ||||
-rw-r--r-- | linden/indra/llxml/llxmlnode.h | 2 | ||||
-rwxr-xr-x | linden/indra/media_plugins/webkit/media_plugin_webkit.cpp | 3 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterabout.cpp | 5 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterregioninfo.cpp | 11 | ||||
-rw-r--r-- | linden/indra/newview/llvoiceclient.cpp | 31 | ||||
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 89 |
16 files changed, 150 insertions, 104 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 7d50f25..81bfbdf 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -195,7 +195,8 @@ if (LINUX) | |||
195 | # This rather needs to be done elsewhere | 195 | # This rather needs to be done elsewhere |
196 | # anyway these are the flags for the 64bit releases: | 196 | # anyway these are the flags for the 64bit releases: |
197 | add_definitions(-DLINUX64=1 -pipe) | 197 | add_definitions(-DLINUX64=1 -pipe) |
198 | set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fomit-frame-pointer -mmmx -msse -mfpmath=sse -msse2 -ffast-math -ftree-vectorize -fweb -fexpensive-optimizations -frename-registers") | 198 | # with -ffast-math lloctree crashes teleporting to mega regions, and it didn't do much for us anyway |
199 | set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fomit-frame-pointer -mmmx -msse -mfpmath=sse -msse2 -ftree-vectorize -fweb -fexpensive-optimizations -frename-registers") | ||
199 | endif (${ARCH} STREQUAL "x86_64") | 200 | endif (${ARCH} STREQUAL "x86_64") |
200 | set(CMAKE_CXX_FLAGS_RELEASESSE2 "${CMAKE_CXX_FLAGS_RELEASESSE2} -mfpmath=sse2 -msse2") | 201 | set(CMAKE_CXX_FLAGS_RELEASESSE2 "${CMAKE_CXX_FLAGS_RELEASESSE2} -mfpmath=sse2 -msse2") |
201 | endif (VIEWER) | 202 | endif (VIEWER) |
@@ -232,6 +233,15 @@ if (LINUX OR DARWIN) | |||
232 | 233 | ||
233 | set(CMAKE_C_FLAGS "${GCC_WARNINGS} ${CMAKE_C_FLAGS}") | 234 | set(CMAKE_C_FLAGS "${GCC_WARNINGS} ${CMAKE_C_FLAGS}") |
234 | set(CMAKE_CXX_FLAGS "${GCC_CXX_WARNINGS} ${CMAKE_CXX_FLAGS}") | 235 | set(CMAKE_CXX_FLAGS "${GCC_CXX_WARNINGS} ${CMAKE_CXX_FLAGS}") |
236 | |||
237 | if (WORD_SIZE EQUAL 32) | ||
238 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32") | ||
239 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32") | ||
240 | elseif (WORD_SIZE EQUAL 64) | ||
241 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64") | ||
242 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64") | ||
243 | endif (WORD_SIZE EQUAL 32) | ||
244 | |||
235 | endif (LINUX OR DARWIN) | 245 | endif (LINUX OR DARWIN) |
236 | 246 | ||
237 | 247 | ||
diff --git a/linden/indra/cmake/GStreamer010Plugin.cmake b/linden/indra/cmake/GStreamer010Plugin.cmake index 9d2c553..d05cb9c 100644 --- a/linden/indra/cmake/GStreamer010Plugin.cmake +++ b/linden/indra/cmake/GStreamer010Plugin.cmake | |||
@@ -21,13 +21,22 @@ else (STANDALONE) | |||
21 | ${LIBS_PREBUILT_DIR}/include/libxml2 | 21 | ${LIBS_PREBUILT_DIR}/include/libxml2 |
22 | ) | 22 | ) |
23 | else (WINDOWS) | 23 | else (WINDOWS) |
24 | use_prebuilt_binary(glib) # gstreamer needs glib | 24 | use_prebuilt_binary(glib) # gstreamer needs glib |
25 | use_prebuilt_binary(libxml) | 25 | if (DARWIN) |
26 | set(GSTREAMER010_INCLUDE_DIRS | 26 | |
27 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/gstreamer-0.10 | 27 | use_prebuilt_binary(libxml) |
28 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0 | 28 | set(GSTREAMER010_INCLUDE_DIRS |
29 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2 | 29 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/gstreamer-0.10 |
30 | ) | 30 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0 |
31 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/libxml2 | ||
32 | ) | ||
33 | else (DARWIN) | ||
34 | add_definitions(-DGST_DISABLE_XML -DGST_DISABLE_LOADSAVE) | ||
35 | set(GSTREAMER010_INCLUDE_DIRS | ||
36 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/gstreamer-0.10 | ||
37 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib-2.0 | ||
38 | ) | ||
39 | endif (DARWIN) | ||
31 | endif (WINDOWS) | 40 | endif (WINDOWS) |
32 | 41 | ||
33 | endif (STANDALONE) | 42 | endif (STANDALONE) |
diff --git a/linden/indra/cmake/Variables.cmake b/linden/indra/cmake/Variables.cmake index eb9c004..6b7ded3 100644 --- a/linden/indra/cmake/Variables.cmake +++ b/linden/indra/cmake/Variables.cmake | |||
@@ -50,8 +50,30 @@ endif (${CMAKE_SYSTEM_NAME} MATCHES "Windows") | |||
50 | 50 | ||
51 | if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") | 51 | if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
52 | set(LINUX ON BOOl FORCE) | 52 | set(LINUX ON BOOl FORCE) |
53 | execute_process(COMMAND uname -m COMMAND sed s/i.86/i686/ | 53 | |
54 | OUTPUT_VARIABLE ARCH OUTPUT_STRIP_TRAILING_WHITESPACE) | 54 | # If someone has specified a word size, use that to determine the |
55 | # architecture. Otherwise, let the architecture specify the word size. | ||
56 | |||
57 | if ("$ENV{WORD_SIZE}" MATCHES "32") | ||
58 | set(WORD_SIZE 32) | ||
59 | elseif ("$ENV{WORD_SIZE}" MATCHES "64") | ||
60 | set(WORD_SIZE 64) | ||
61 | endif () | ||
62 | |||
63 | if (WORD_SIZE EQUAL 32) | ||
64 | set(ARCH i686) | ||
65 | elseif (WORD_SIZE EQUAL 64) | ||
66 | set(ARCH x86_64) | ||
67 | else (WORD_SIZE EQUAL 32) | ||
68 | execute_process(COMMAND uname -m COMMAND sed s/i.86/i686/ | ||
69 | OUTPUT_VARIABLE ARCH OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
70 | if (ARCH STREQUAL x86_64) | ||
71 | set(WORD_SIZE 64) | ||
72 | else (ARCH STREQUAL x86_64) | ||
73 | set(WORD_SIZE 32) | ||
74 | endif (ARCH STREQUAL x86_64) | ||
75 | endif (WORD_SIZE EQUAL 32) | ||
76 | |||
55 | set(LL_ARCH ${ARCH}_linux) | 77 | set(LL_ARCH ${ARCH}_linux) |
56 | set(LL_ARCH_DIR ${ARCH}-linux) | 78 | set(LL_ARCH_DIR ${ARCH}-linux) |
57 | endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") | 79 | endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
diff --git a/linden/indra/cmake/ViewerMiscLibs.cmake b/linden/indra/cmake/ViewerMiscLibs.cmake index 38d0444..bf33490 100644 --- a/linden/indra/cmake/ViewerMiscLibs.cmake +++ b/linden/indra/cmake/ViewerMiscLibs.cmake | |||
@@ -5,18 +5,12 @@ if (NOT STANDALONE) | |||
5 | use_prebuilt_binary(libuuid) | 5 | use_prebuilt_binary(libuuid) |
6 | use_prebuilt_binary(vivox) | 6 | use_prebuilt_binary(vivox) |
7 | if(LINUX) | 7 | if(LINUX) |
8 | if (${ARCH} STREQUAL "x86_64") | ||
9 | use_prebuilt_binary(32bitcompatibilitylibs) | ||
10 | endif (${ARCH} STREQUAL "x86_64") | ||
11 | use_prebuilt_binary(fontconfig) | 8 | use_prebuilt_binary(fontconfig) |
12 | endif(LINUX) | 9 | endif(LINUX) |
13 | else (NOT STANDALONE) | 10 | else (NOT STANDALONE) |
14 | # Download there even when using standalone. | 11 | # Download there even when using standalone. |
15 | set(STANDALONE OFF) | 12 | set(STANDALONE OFF) |
16 | use_prebuilt_binary(vivox) | 13 | use_prebuilt_binary(vivox) |
17 | if(LINUX AND ${ARCH} STREQUAL "x86_64") | ||
18 | use_prebuilt_binary(32bitcompatibilitylibs) | ||
19 | endif(LINUX AND ${ARCH} STREQUAL "x86_64") | ||
20 | set(STANDALONE ON) | 14 | set(STANDALONE ON) |
21 | endif(NOT STANDALONE) | 15 | endif(NOT STANDALONE) |
22 | 16 | ||
diff --git a/linden/indra/cmake/WebKitLibPlugin.cmake b/linden/indra/cmake/WebKitLibPlugin.cmake index a4befa4..034eed5 100644 --- a/linden/indra/cmake/WebKitLibPlugin.cmake +++ b/linden/indra/cmake/WebKitLibPlugin.cmake | |||
@@ -29,6 +29,9 @@ if (STANDALONE) | |||
29 | set(WEBKITLIBPLUGIN OFF CACHE BOOL | 29 | set(WEBKITLIBPLUGIN OFF CACHE BOOL |
30 | "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.") | 30 | "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.") |
31 | else (STANDALONE) | 31 | else (STANDALONE) |
32 | if(LINUX) | ||
33 | use_prebuilt_binary(kokua-qt) | ||
34 | endif(LINUX) | ||
32 | use_prebuilt_binary(llqtwebkit) | 35 | use_prebuilt_binary(llqtwebkit) |
33 | set(WEBKITLIBPLUGIN ON CACHE BOOL | 36 | set(WEBKITLIBPLUGIN ON CACHE BOOL |
34 | "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.") | 37 | "WEBKITLIBPLUGIN support for the llplugin/llmedia test apps.") |
@@ -62,8 +65,6 @@ elseif (LINUX) | |||
62 | else (STANDALONE) | 65 | else (STANDALONE) |
63 | set(WEBKIT_PLUGIN_LIBRARIES | 66 | set(WEBKIT_PLUGIN_LIBRARIES |
64 | llqtwebkit | 67 | llqtwebkit |
65 | qgif | ||
66 | qjpeg | ||
67 | QtWebKit | 68 | QtWebKit |
68 | QtOpenGL | 69 | QtOpenGL |
69 | QtNetwork | 70 | QtNetwork |
@@ -74,6 +75,8 @@ elseif (LINUX) | |||
74 | X11 | 75 | X11 |
75 | Xrender | 76 | Xrender |
76 | GL | 77 | GL |
78 | jscore | ||
77 | ) | 79 | ) |
80 | |||
78 | endif (STANDALONE) | 81 | endif (STANDALONE) |
79 | endif (WINDOWS) | 82 | endif (WINDOWS) |
diff --git a/linden/indra/cmake/ZLIB.cmake b/linden/indra/cmake/ZLIB.cmake index 48e5130..8a16a0e 100644 --- a/linden/indra/cmake/ZLIB.cmake +++ b/linden/indra/cmake/ZLIB.cmake | |||
@@ -17,6 +17,10 @@ else (STANDALONE) | |||
17 | set(ZLIB_LIBRARIES z) | 17 | set(ZLIB_LIBRARIES z) |
18 | endif (WINDOWS) | 18 | endif (WINDOWS) |
19 | if (WINDOWS OR LINUX) | 19 | if (WINDOWS OR LINUX) |
20 | set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/zlib) | 20 | if(LINUX AND ${ARCH} STREQUAL "x86_64") |
21 | set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include) | ||
22 | else(LINUX AND ${ARCH} STREQUAL "x86_64") | ||
23 | set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/zlib) | ||
24 | endif(LINUX AND ${ARCH} STREQUAL "x86_64") | ||
21 | endif (WINDOWS OR LINUX) | 25 | endif (WINDOWS OR LINUX) |
22 | endif (STANDALONE) | 26 | endif (STANDALONE) |
diff --git a/linden/indra/develop.py b/linden/indra/develop.py index 8b23b1d..2f07e9e 100755 --- a/linden/indra/develop.py +++ b/linden/indra/develop.py | |||
@@ -223,14 +223,26 @@ class UnixSetup(PlatformSetup): | |||
223 | 223 | ||
224 | def arch(self): | 224 | def arch(self): |
225 | cpu = os.uname()[-1] | 225 | cpu = os.uname()[-1] |
226 | word_size = os.environ.get('WORD_SIZE') | ||
226 | if cpu.endswith('386'): | 227 | if cpu.endswith('386'): |
227 | cpu = 'i386' | 228 | cpu = 'i386' |
229 | if word_size == '64': | ||
230 | cpu = 'x86_64' | ||
228 | elif cpu.endswith('86'): | 231 | elif cpu.endswith('86'): |
229 | cpu = 'i686' | 232 | if word_size == '64': |
233 | cpu = 'x86_64' | ||
234 | else: | ||
235 | cpu = 'i686' | ||
230 | elif cpu in ('x86_64'): | 236 | elif cpu in ('x86_64'): |
231 | cpu = 'x86_64' | 237 | if word_size == '32': |
232 | elif cpu in ('athlon',): | 238 | cpu = 'i686' |
233 | cpu = 'i686' | 239 | else: |
240 | cpu = 'x86_64' | ||
241 | elif cpu in ('athlon',): | ||
242 | if word_size == '64': | ||
243 | cpu = 'x86_64' | ||
244 | else: | ||
245 | cpu = 'i686' | ||
234 | elif cpu == 'Power Macintosh': | 246 | elif cpu == 'Power Macintosh': |
235 | cpu = 'ppc' | 247 | cpu = 'ppc' |
236 | return cpu | 248 | return cpu |
diff --git a/linden/indra/llui/llctrlselectioninterface.cpp b/linden/indra/llui/llctrlselectioninterface.cpp index dac0939..1111b9d 100644 --- a/linden/indra/llui/llctrlselectioninterface.cpp +++ b/linden/indra/llui/llctrlselectioninterface.cpp | |||
@@ -39,12 +39,12 @@ | |||
39 | LLCtrlSelectionInterface::~LLCtrlSelectionInterface() | 39 | LLCtrlSelectionInterface::~LLCtrlSelectionInterface() |
40 | { } | 40 | { } |
41 | 41 | ||
42 | BOOL LLCtrlSelectionInterface::selectByValue(LLSD value) | 42 | BOOL LLCtrlSelectionInterface::selectByValue(const LLSD& value) |
43 | { | 43 | { |
44 | return setSelectedByValue(value, TRUE); | 44 | return setSelectedByValue(value, TRUE); |
45 | } | 45 | } |
46 | 46 | ||
47 | BOOL LLCtrlSelectionInterface::deselectByValue(LLSD value) | 47 | BOOL LLCtrlSelectionInterface::deselectByValue(const LLSD& value) |
48 | { | 48 | { |
49 | return setSelectedByValue(value, FALSE); | 49 | return setSelectedByValue(value, FALSE); |
50 | } | 50 | } |
diff --git a/linden/indra/llui/llctrlselectioninterface.h b/linden/indra/llui/llctrlselectioninterface.h index 45727d6..7b5cd66 100644 --- a/linden/indra/llui/llctrlselectioninterface.h +++ b/linden/indra/llui/llctrlselectioninterface.h | |||
@@ -67,8 +67,8 @@ public: | |||
67 | virtual BOOL setCurrentByID( const LLUUID& id ) = 0; | 67 | virtual BOOL setCurrentByID( const LLUUID& id ) = 0; |
68 | virtual LLUUID getCurrentID() const = 0; | 68 | virtual LLUUID getCurrentID() const = 0; |
69 | 69 | ||
70 | BOOL selectByValue(const LLSD value); | 70 | BOOL selectByValue(const LLSD& value); |
71 | BOOL deselectByValue(const LLSD value); | 71 | BOOL deselectByValue(const LLSD& value); |
72 | virtual BOOL setSelectedByValue(const LLSD& value, BOOL selected) = 0; | 72 | virtual BOOL setSelectedByValue(const LLSD& value, BOOL selected) = 0; |
73 | virtual LLSD getSelectedValue() = 0; | 73 | virtual LLSD getSelectedValue() = 0; |
74 | 74 | ||
diff --git a/linden/indra/llxml/llxmlnode.cpp b/linden/indra/llxml/llxmlnode.cpp index 5bb5012..0e2f9a2 100644 --- a/linden/indra/llxml/llxmlnode.cpp +++ b/linden/indra/llxml/llxmlnode.cpp | |||
@@ -499,10 +499,7 @@ void XMLCALL StartXMLNode(void *userData, | |||
499 | pos += 2; | 499 | pos += 2; |
500 | } | 500 | } |
501 | 501 | ||
502 | if (parent) | 502 | parent->addChild(new_node); |
503 | { | ||
504 | parent->addChild(new_node); | ||
505 | } | ||
506 | } | 503 | } |
507 | 504 | ||
508 | void XMLCALL EndXMLNode(void *userData, | 505 | void XMLCALL EndXMLNode(void *userData, |
diff --git a/linden/indra/llxml/llxmlnode.h b/linden/indra/llxml/llxmlnode.h index ab1a772..d71a221 100644 --- a/linden/indra/llxml/llxmlnode.h +++ b/linden/indra/llxml/llxmlnode.h | |||
@@ -245,7 +245,7 @@ public: | |||
245 | void setFloatValue(const F32 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setFloatValue(1, &value, encoding); } | 245 | void setFloatValue(const F32 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setFloatValue(1, &value, encoding); } |
246 | void setDoubleValue(const F64 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setDoubleValue(1, &value, encoding); } | 246 | void setDoubleValue(const F64 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setDoubleValue(1, &value, encoding); } |
247 | void setStringValue(const std::string& value) { setStringValue(1, &value); } | 247 | void setStringValue(const std::string& value) { setStringValue(1, &value); } |
248 | void setUUIDValue(const LLUUID value) { setUUIDValue(1, &value); } | 248 | void setUUIDValue(const LLUUID& value) { setUUIDValue(1, &value); } |
249 | void setNodeRefValue(const LLXMLNode *value) { setNodeRefValue(1, &value); } | 249 | void setNodeRefValue(const LLXMLNode *value) { setNodeRefValue(1, &value); } |
250 | 250 | ||
251 | void setBoolValue(U32 length, const BOOL *array); | 251 | void setBoolValue(U32 length, const BOOL *array); |
diff --git a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp index 4a00557..2cae8d2 100755 --- a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp +++ b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp | |||
@@ -81,6 +81,7 @@ extern "C" { | |||
81 | #ifdef LL_STANDALONE | 81 | #ifdef LL_STANDALONE |
82 | #include <qglobal.h> | 82 | #include <qglobal.h> |
83 | #elif defined(LL_LINUX) | 83 | #elif defined(LL_LINUX) |
84 | |||
84 | // We don't provide Qt headers for non-standalone, therefore define this here. | 85 | // We don't provide Qt headers for non-standalone, therefore define this here. |
85 | // Our prebuilt is built with QT_NAMESPACE undefined. | 86 | // Our prebuilt is built with QT_NAMESPACE undefined. |
86 | #define QT_MANGLE_NAMESPACE(name) name | 87 | #define QT_MANGLE_NAMESPACE(name) name |
@@ -1156,7 +1157,9 @@ void MediaPluginWebKit::receiveMessage(const char *message_string) | |||
1156 | std::string url = message_in.getValue("url"); | 1157 | std::string url = message_in.getValue("url"); |
1157 | if ( 404 == code ) // browser lib only supports 404 right now | 1158 | if ( 404 == code ) // browser lib only supports 404 right now |
1158 | { | 1159 | { |
1160 | #if LLQTWEBKIT_API_VERSION < 8 | ||
1159 | LLQtWebKit::getInstance()->set404RedirectUrl( mBrowserWindowId, url ); | 1161 | LLQtWebKit::getInstance()->set404RedirectUrl( mBrowserWindowId, url ); |
1162 | #endif | ||
1160 | }; | 1163 | }; |
1161 | } | 1164 | } |
1162 | else if(message_name == "set_user_agent") | 1165 | else if(message_name == "set_user_agent") |
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp index 13795e5..06bee7d 100644 --- a/linden/indra/newview/llfloaterabout.cpp +++ b/linden/indra/newview/llfloaterabout.cpp | |||
@@ -261,8 +261,11 @@ LLFloaterAbout::LLFloaterAbout() | |||
261 | support.append("\n"); | 261 | support.append("\n"); |
262 | 262 | ||
263 | // TODO: Implement media plugin version query | 263 | // TODO: Implement media plugin version query |
264 | 264 | #if LL_LINUX | |
265 | support.append("Qt Webkit Version: 4.7.4 (version number hard-coded)"); | ||
266 | #else | ||
265 | support.append("Qt Webkit Version: 4.6 (version number hard-coded)"); | 267 | support.append("Qt Webkit Version: 4.6 (version number hard-coded)"); |
268 | #endif | ||
266 | support.append("\n"); | 269 | support.append("\n"); |
267 | 270 | ||
268 | if (gPacketsIn > 0) | 271 | if (gPacketsIn > 0) |
diff --git a/linden/indra/newview/llfloaterregioninfo.cpp b/linden/indra/newview/llfloaterregioninfo.cpp index 60bdfcd..505f8e6 100644 --- a/linden/indra/newview/llfloaterregioninfo.cpp +++ b/linden/indra/newview/llfloaterregioninfo.cpp | |||
@@ -1739,11 +1739,7 @@ void LLPanelEstateInfo::onClickRemoveEstateManager(void* user_data) | |||
1739 | //--------------------------------------------------------------------------- | 1739 | //--------------------------------------------------------------------------- |
1740 | // Kick from estate methods | 1740 | // Kick from estate methods |
1741 | //--------------------------------------------------------------------------- | 1741 | //--------------------------------------------------------------------------- |
1742 | struct LLKickFromEstateInfo | 1742 | |
1743 | { | ||
1744 | LLPanelEstateInfo *mEstatePanelp; | ||
1745 | LLUUID mAgentID; | ||
1746 | }; | ||
1747 | 1743 | ||
1748 | void LLPanelEstateInfo::onClickKickUser(void *user_data) | 1744 | void LLPanelEstateInfo::onClickKickUser(void *user_data) |
1749 | { | 1745 | { |
@@ -1770,10 +1766,7 @@ void LLPanelEstateInfo::onKickUserCommit(const std::vector<std::string>& names, | |||
1770 | LLPanelEstateInfo* self = (LLPanelEstateInfo*)userdata; | 1766 | LLPanelEstateInfo* self = (LLPanelEstateInfo*)userdata; |
1771 | if(!self) return; | 1767 | if(!self) return; |
1772 | 1768 | ||
1773 | //keep track of what user they want to kick and other misc info | 1769 | |
1774 | LLKickFromEstateInfo *kick_info = new LLKickFromEstateInfo(); | ||
1775 | kick_info->mEstatePanelp = self; | ||
1776 | kick_info->mAgentID = ids[0]; | ||
1777 | 1770 | ||
1778 | //Bring up a confirmation dialog | 1771 | //Bring up a confirmation dialog |
1779 | LLSD args; | 1772 | LLSD args; |
diff --git a/linden/indra/newview/llvoiceclient.cpp b/linden/indra/newview/llvoiceclient.cpp index 7761605..2035b62 100644 --- a/linden/indra/newview/llvoiceclient.cpp +++ b/linden/indra/newview/llvoiceclient.cpp | |||
@@ -1054,6 +1054,11 @@ void LLVoiceClientCapResponder::result(const LLSD& content) | |||
1054 | 1054 | ||
1055 | gVoiceClient->setSpatialChannel(uri, credentials, mResponseID); | 1055 | gVoiceClient->setSpatialChannel(uri, credentials, mResponseID); |
1056 | } | 1056 | } |
1057 | else | ||
1058 | { | ||
1059 | llwarns << "ParcelVoiceInfoRequest response malformed, disabling voice." << llendl; | ||
1060 | gVoiceClient->close(); | ||
1061 | } | ||
1057 | } | 1062 | } |
1058 | 1063 | ||
1059 | 1064 | ||
@@ -1212,13 +1217,22 @@ void LLVoiceClient::terminate() | |||
1212 | // ms_sleep(2000); | 1217 | // ms_sleep(2000); |
1213 | gVoiceClient->connectorShutdown(); | 1218 | gVoiceClient->connectorShutdown(); |
1214 | gVoiceClient->closeSocket(); // Need to do this now -- bad things happen if the destructor does it later. | 1219 | gVoiceClient->closeSocket(); // Need to do this now -- bad things happen if the destructor does it later. |
1215 | 1220 | ||
1216 | // This will do unpleasant things on windows. | 1221 | LL_DEBUGS("IdleCallbacks") << "IdleCallbacks deleteFunction " |
1217 | // killGateway(); | 1222 | << "called from LLVoiceClient" << LL_ENDL; |
1218 | 1223 | gIdleCallbacks.deleteFunction(idle, gVoiceClient); | |
1224 | |||
1225 | if (isGatewayRunning()) | ||
1226 | { | ||
1227 | // This will do unpleasant things on windows. | ||
1228 | // AW: no unpleasant things observed on windows, | ||
1229 | // guess they came from sloppy cleanup. | ||
1230 | killGateway(); | ||
1231 | } | ||
1232 | |||
1219 | // Don't do this anymore -- LLSingleton will take care of deleting the object. | 1233 | // Don't do this anymore -- LLSingleton will take care of deleting the object. |
1220 | // delete gVoiceClient; | 1234 | // delete gVoiceClient; |
1221 | 1235 | ||
1222 | // Hint to other code not to access the voice client anymore. | 1236 | // Hint to other code not to access the voice client anymore. |
1223 | gVoiceClient = NULL; | 1237 | gVoiceClient = NULL; |
1224 | } | 1238 | } |
@@ -1765,11 +1779,13 @@ void LLVoiceClient::close() | |||
1765 | { | 1779 | { |
1766 | LL_DEBUGS("VoiceSession") << "Cancel Session: LLVoiceClient::close() called." | 1780 | LL_DEBUGS("VoiceSession") << "Cancel Session: LLVoiceClient::close() called." |
1767 | << llendl; | 1781 | << llendl; |
1782 | mAccountActive = false; | ||
1768 | setState(stateDisableCleanup); | 1783 | setState(stateDisableCleanup); |
1769 | } | 1784 | } |
1770 | 1785 | ||
1771 | void LLVoiceClient::start() | 1786 | void LLVoiceClient::start() |
1772 | { | 1787 | { |
1788 | mAccountActive = true; | ||
1773 | setState(stateStart); | 1789 | setState(stateStart); |
1774 | } | 1790 | } |
1775 | 1791 | ||
@@ -7210,6 +7226,11 @@ class LLViewerParcelVoiceInfo : public LLHTTPNode | |||
7210 | gVoiceClient->setPIRCapResponseID(response_id); | 7226 | gVoiceClient->setPIRCapResponseID(response_id); |
7211 | gVoiceClient->setSpatialChannel(uri, credentials, response_id); | 7227 | gVoiceClient->setSpatialChannel(uri, credentials, response_id); |
7212 | } | 7228 | } |
7229 | else | ||
7230 | { | ||
7231 | llwarns << "ParcelVoiceInfoRequest response malformed, disabling voice." << llendl; | ||
7232 | gVoiceClient->close(); | ||
7233 | } | ||
7213 | } | 7234 | } |
7214 | } | 7235 | } |
7215 | }; | 7236 | }; |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index a0b9d77..c13cf1a 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -933,13 +933,16 @@ class Linux_i686Manifest(LinuxManifest): | |||
933 | self.path("libSDL-1.2.so.0") | 933 | self.path("libSDL-1.2.so.0") |
934 | self.path("libELFIO.so") | 934 | self.path("libELFIO.so") |
935 | self.path("libopenjpeg.so.2") | 935 | self.path("libopenjpeg.so.2") |
936 | self.path("libxml2.so.2") | ||
937 | self.path("libz.so") | 936 | self.path("libz.so") |
938 | self.path("libz.so.1") | 937 | self.path("libz.so.1") |
939 | 938 | ||
940 | # OpenAL | 939 | # OpenAL |
941 | self.path("libopenal.so.1.12.854", "libopenal.so.1") | 940 | self.path("libalut.so") |
942 | self.path("libalut.so.0.1.0", "libalut.so.0") | 941 | self.path("libalut.so.0") |
942 | self.path("libalut.so.0.0.0") | ||
943 | self.path("libopenal.so") | ||
944 | self.path("libopenal.so.1") | ||
945 | self.path("libopenal.so.1.13.0") | ||
943 | 946 | ||
944 | # GTK+ and dependencies | 947 | # GTK+ and dependencies |
945 | ## Lets just use the system libraries for all of these: | 948 | ## Lets just use the system libraries for all of these: |
@@ -1028,7 +1031,6 @@ class Linux_i686Manifest(LinuxManifest): | |||
1028 | self.end_prefix("bin") | 1031 | self.end_prefix("bin") |
1029 | 1032 | ||
1030 | if self.prefix(src="vivox-runtime/i686-linux", dst="lib"): | 1033 | if self.prefix(src="vivox-runtime/i686-linux", dst="lib"): |
1031 | self.path("libalut.so") | ||
1032 | self.path("libortp.so") | 1034 | self.path("libortp.so") |
1033 | self.path("libvivoxsdk.so") | 1035 | self.path("libvivoxsdk.so") |
1034 | self.end_prefix("lib") | 1036 | self.end_prefix("lib") |
@@ -1057,22 +1059,37 @@ class Linux_x86_64Manifest(LinuxManifest): | |||
1057 | self.path("libapr-1.so.0") | 1059 | self.path("libapr-1.so.0") |
1058 | self.path("libaprutil-1.so.0") | 1060 | self.path("libaprutil-1.so.0") |
1059 | self.path("libdb-4.2.so") | 1061 | self.path("libdb-4.2.so") |
1060 | self.path("libcrypto.so.0.9.8") | 1062 | self.path("libcrypto.so") |
1063 | self.path("libcrypto.so.1.0.0") | ||
1061 | self.path("libexpat.so.1") | 1064 | self.path("libexpat.so.1") |
1062 | self.path("libhunspell-1.2.so.0.0.0", "libhunspell-1.2.so.0") | 1065 | self.path("libhunspell-1.2.so.0.0.0", "libhunspell-1.2.so.0") |
1063 | self.path("libssl.so.0.9.8") | 1066 | self.path("libssl.so") |
1067 | self.path("libssl.so.1.0.0") | ||
1064 | self.path("libuuid.so", "libuuid.so.1") | 1068 | self.path("libuuid.so", "libuuid.so.1") |
1065 | self.path("libSDL-1.2.so.0") | 1069 | self.path("libSDL-1.2.so.0") |
1066 | self.path("libELFIO.so") | 1070 | self.path("libELFIO.so") |
1067 | self.path("libjpeg.so.7") | 1071 | self.path("libjpeg.so.7") |
1068 | self.path("libpng12.so.0") | 1072 | self.path("libpng12.so.0") |
1069 | self.path("libopenjpeg.so.2") | 1073 | self.path("libopenjpeg.so.2") |
1070 | self.path("libxml2.so.2") | ||
1071 | #self.path("libz.so.1") #not needed | ||
1072 | 1074 | ||
1075 | self.path("libcares.so") | ||
1076 | self.path("libcares.so.2") | ||
1077 | self.path("libcares.so.2.0.0") | ||
1078 | self.path("libcurl.so") | ||
1079 | self.path("libcurl.so.4") | ||
1080 | self.path("libcurl.so.4.2.0") | ||
1081 | self.path("libz.so.1.2.5") | ||
1082 | self.path("libz.so.1") | ||
1083 | self.path("libz.so") | ||
1073 | # OpenAL | 1084 | # OpenAL |
1074 | self.path("libopenal.so.1.12.854", "libopenal.so.1") | 1085 | |
1075 | self.path("libalut.so.0.1.0", "libalut.so.0") | 1086 | self.path("libopenal.so") |
1087 | self.path("libopenal.so.1") | ||
1088 | self.path("libopenal.so.1.13.0") | ||
1089 | self.path("libalut.so") | ||
1090 | self.path("libalut.so.0") | ||
1091 | self.path("libalut.so.0.0.0") | ||
1092 | |||
1076 | # GTK+ and dependencies | 1093 | # GTK+ and dependencies |
1077 | ## Lets just use the system libraries for all of these: | 1094 | ## Lets just use the system libraries for all of these: |
1078 | ##self.path("libatk-1.0.so.0") | 1095 | ##self.path("libatk-1.0.so.0") |
@@ -1106,54 +1123,9 @@ class Linux_x86_64Manifest(LinuxManifest): | |||
1106 | #self.path("libgsttag-0.10.so.0") | 1123 | #self.path("libgsttag-0.10.so.0") |
1107 | #self.path("libgstvideo-0.10.so.0") | 1124 | #self.path("libgstvideo-0.10.so.0") |
1108 | 1125 | ||
1109 | ## Gstreamer plugin dependencies | ||
1110 | #self.path("libfaad.so.0") | ||
1111 | #self.path("libogg.so.0") | ||
1112 | #self.path("libtheora.so.0") | ||
1113 | #self.path("libvorbis.so.0") | ||
1114 | #self.path("libvorbisenc.so.2") | ||
1115 | #self.path("liboil-0.3.so.0") | ||
1116 | 1126 | ||
1117 | ## Gstreamer plugins | ||
1118 | #if self.prefix("gstreamer-plugins"): | ||
1119 | #self.path("libgstalsa.so") | ||
1120 | #self.path("libgstasf.so") | ||
1121 | #self.path("libgstaudioconvert.so") | ||
1122 | #self.path("libgstaudioresample.so") | ||
1123 | #self.path("libgstautodetect.so") | ||
1124 | #self.path("libgstavi.so") | ||
1125 | #self.path("libgstcoreelements.so") | ||
1126 | #self.path("libgstcoreindexers.so") | ||
1127 | #self.path("libgstdecodebin2.so") | ||
1128 | #self.path("libgstdecodebin.so") | ||
1129 | #self.path("libgstesd.so") | ||
1130 | #self.path("libgstfaad.so") | ||
1131 | #self.path("libgstffmpeg.so") | ||
1132 | #self.path("libgstffmpegcolorspace.so") | ||
1133 | #self.path("libgstgnomevfs.so") | ||
1134 | #self.path("libgsticydemux.so") | ||
1135 | #self.path("libgstid3demux.so") | ||
1136 | #self.path("libgstmpegdemux.so") | ||
1137 | #self.path("libgstmultifile.so") | ||
1138 | #self.path("libgstmultipart.so") | ||
1139 | #self.path("libgstogg.so") | ||
1140 | #self.path("libgstossaudio.so") | ||
1141 | #self.path("libgstplaybin.so") | ||
1142 | #self.path("libgstpulse.so") | ||
1143 | #self.path("libgstqtdemux.so") | ||
1144 | #self.path("libgstqueue2.so") | ||
1145 | #self.path("libgsttcp.so") | ||
1146 | #self.path("libgsttheora.so") | ||
1147 | #self.path("libgsttypefindfunctions.so") | ||
1148 | #self.path("libgstudp.so") | ||
1149 | #self.path("libgstvideoscale.so") | ||
1150 | #self.path("libgstvolume.so") | ||
1151 | #self.path("libgstvorbis.so") | ||
1152 | #self.path("libgstwavparse.so") | ||
1153 | |||
1154 | #self.end_prefix("gstreamer-plugins") | ||
1155 | self.end_prefix("lib64") | 1127 | self.end_prefix("lib64") |
1156 | 1128 | ||
1157 | 1129 | ||
1158 | # Vivox runtimes and libs | 1130 | # Vivox runtimes and libs |
1159 | if self.prefix(src="vivox-runtime/i686-linux", dst="bin"): | 1131 | if self.prefix(src="vivox-runtime/i686-linux", dst="bin"): |
@@ -1169,9 +1141,12 @@ class Linux_x86_64Manifest(LinuxManifest): | |||
1169 | # 32bit libs needed for voice | 1141 | # 32bit libs needed for voice |
1170 | if self.prefix("../../libraries/x86_64-linux/lib_release_client/32bit-compat", dst="lib32"): | 1142 | if self.prefix("../../libraries/x86_64-linux/lib_release_client/32bit-compat", dst="lib32"): |
1171 | self.path("libalut.so") | 1143 | self.path("libalut.so") |
1144 | self.path("libalut.so.0") | ||
1145 | self.path("libalut.so.0.0.0") | ||
1172 | self.path("libidn.so.11") | 1146 | self.path("libidn.so.11") |
1147 | self.path("libopenal.so") | ||
1173 | self.path("libopenal.so.1") | 1148 | self.path("libopenal.so.1") |
1174 | # self.path("libortp.so") | 1149 | self.path("libopenal.so.1.13.0") |
1175 | self.path("libuuid.so.1") | 1150 | self.path("libuuid.so.1") |
1176 | self.end_prefix("lib32") | 1151 | self.end_prefix("lib32") |
1177 | 1152 | ||