aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorAleric Inglewood2010-11-09 16:06:12 +0100
committerAleric Inglewood2010-11-09 16:06:12 +0100
commit2f088795d249b1b240e34b697ed4d5dfa501f187 (patch)
treee639cd9eb86bd3928717a072d7401115eaf9c3f9 /linden/indra
parentMerge remote branch 'robin/SNOW-713' into SNOW-713 (diff)
parentAs we currently do not build the gstreamer plugin for windows, do not try to ... (diff)
downloadmeta-impy-2f088795d249b1b240e34b697ed4d5dfa501f187.zip
meta-impy-2f088795d249b1b240e34b697ed4d5dfa501f187.tar.gz
meta-impy-2f088795d249b1b240e34b697ed4d5dfa501f187.tar.bz2
meta-impy-2f088795d249b1b240e34b697ed4d5dfa501f187.tar.xz
IMP-692: SNOW-713: Merge branch 'weekly' into SNOW-713
Conflicts: linden/indra/newview/viewer_manifest.py Trivial proximity collision. Resolved.
Diffstat (limited to 'linden/indra')
-rwxr-xr-xlinden/indra/media_plugins/quicktime/media_plugin_quicktime.cpp37
-rwxr-xr-xlinden/indra/media_plugins/webkit/media_plugin_webkit.cpp10
2 files changed, 23 insertions, 24 deletions
diff --git a/linden/indra/media_plugins/quicktime/media_plugin_quicktime.cpp b/linden/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
index 68b9679..999f754 100755
--- a/linden/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
+++ b/linden/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
@@ -3,33 +3,26 @@
3 * @brief QuickTime plugin for LLMedia API plugin system 3 * @brief QuickTime plugin for LLMedia API plugin system
4 * 4 *
5 * @cond 5 * @cond
6 * $LicenseInfo:firstyear=2008&license=viewergpl$ 6 * $LicenseInfo:firstyear=2008&license=viewerlgpl$
7 *
8 * Copyright (c) 2008-2010, Linden Research, Inc.
9 *
10 * Second Life Viewer Source Code 7 * Second Life Viewer Source Code
11 * The source code in this file ("Source Code") is provided by Linden Lab 8 * Copyright (C) 2010, Linden Research, Inc.
12 * to you under the terms of the GNU General Public License, version 2.0
13 * ("GPL"), unless you have obtained a separate licensing agreement
14 * ("Other License"), formally executed by you and Linden Lab. Terms of
15 * the GPL can be found in doc/GPL-license.txt in this distribution, or
16 * online at http://secondlife.com/developers/opensource/gplv2
17 * 9 *
18 * There are special exceptions to the terms and conditions of the GPL as 10 * This library is free software; you can redistribute it and/or
19 * it is applied to this Source Code. View the full text of the exception 11 * modify it under the terms of the GNU Lesser General Public
20 * in the file doc/FLOSS-exception.txt in this software distribution, or 12 * License as published by the Free Software Foundation;
21 * online at 13 * version 2.1 of the License only.
22 * http://secondlife.com/developers/opensource/flossexception
23 * 14 *
24 * By copying, modifying or distributing this software, you acknowledge 15 * This library is distributed in the hope that it will be useful,
25 * that you have read and understood your obligations described above, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * and agree to abide by those obligations. 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
27 * 19 *
28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 20 * You should have received a copy of the GNU Lesser General Public
29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 21 * License along with this library; if not, write to the Free Software
30 * COMPLETENESS OR PERFORMANCE. 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
31 * $/LicenseInfo$
32 * 23 *
24 * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
25 * $/LicenseInfo$
33 * @endcond 26 * @endcond
34 */ 27 */
35 28
diff --git a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
index eed59a2..4a00557 100755
--- a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
+++ b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
@@ -37,7 +37,6 @@
37 37
38#include "linden_common.h" 38#include "linden_common.h"
39#include "indra_constants.h" // for indra keyboard codes 39#include "indra_constants.h" // for indra keyboard codes
40#include <iomanip>
41 40
42#include "llgl.h" 41#include "llgl.h"
43 42
@@ -45,10 +44,10 @@
45#include "llpluginmessage.h" 44#include "llpluginmessage.h"
46#include "llpluginmessageclasses.h" 45#include "llpluginmessageclasses.h"
47#include "media_plugin_base.h" 46#include "media_plugin_base.h"
47#include <iomanip>
48 48
49// set to 1 if you're using the version of llqtwebkit that's QPixmap-ified 49// set to 1 if you're using the version of llqtwebkit that's QPixmap-ified
50#if LL_LINUX 50#if LL_LINUX
51# include <iomanip>
52# define LL_QTWEBKIT_USES_PIXMAPS 0 51# define LL_QTWEBKIT_USES_PIXMAPS 0
53extern "C" { 52extern "C" {
54# include <glib.h> 53# include <glib.h>
@@ -341,6 +340,12 @@ private:
341 // append details to agent string 340 // append details to agent string
342 LLQtWebKit::getInstance()->setBrowserAgentId( mUserAgent ); 341 LLQtWebKit::getInstance()->setBrowserAgentId( mUserAgent );
343 342
343// Viewer 2+ -- MC
344#if LL_WINDOWS
345 // Set up window open behavior
346 LLQtWebKit::getInstance()->setWindowOpenBehavior(mBrowserWindowId, LLQtWebKit::WOB_SIMULATE_BLANK_HREF_CLICK);
347#endif
348
344#if !LL_QTWEBKIT_USES_PIXMAPS 349#if !LL_QTWEBKIT_USES_PIXMAPS
345 // don't flip bitmap 350 // don't flip bitmap
346 LLQtWebKit::getInstance()->flipWindow( mBrowserWindowId, true ); 351 LLQtWebKit::getInstance()->flipWindow( mBrowserWindowId, true );
@@ -539,6 +544,7 @@ private:
539 // This will work as long as we don't need "uuid", which will be needed for MoaP. 544 // This will work as long as we don't need "uuid", which will be needed for MoaP.
540 message.setValue("uri", event.getStringValue()); 545 message.setValue("uri", event.getStringValue());
541 message.setValue("target", event.getStringValue2()); 546 message.setValue("target", event.getStringValue2());
547 message.setValueU32("target_type", event.getLinkType());
542#endif 548#endif
543 sendMessage(message); 549 sendMessage(message);
544 } 550 }