aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-11-07 11:32:57 -0700
committerMcCabe Maxsted2010-11-07 11:32:57 -0700
commita6f08b61c9303325687be756e1e980245f9d17cc (patch)
tree8c5a4e1436f6381808ce6bf711d663f03f9175c7 /linden
parentUse the LGPL version of the quicktime media plugin. This allows us to use qui... (diff)
downloadmeta-impy-a6f08b61c9303325687be756e1e980245f9d17cc.zip
meta-impy-a6f08b61c9303325687be756e1e980245f9d17cc.tar.gz
meta-impy-a6f08b61c9303325687be756e1e980245f9d17cc.tar.bz2
meta-impy-a6f08b61c9303325687be756e1e980245f9d17cc.tar.xz
Ported media_plugin_webkit changes from Snowglobe2, which are identical to SL2.3. This includes a more stable version of llqtwebkit for Windows
Diffstat (limited to 'linden')
-rwxr-xr-xlinden/indra/media_plugins/webkit/media_plugin_webkit.cpp10
-rwxr-xr-xlinden/install.xml4
2 files changed, 10 insertions, 4 deletions
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 }
diff --git a/linden/install.xml b/linden/install.xml
index fbb269a..ec57a7b 100755
--- a/linden/install.xml
+++ b/linden/install.xml
@@ -1057,9 +1057,9 @@ Portions copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura
1057 <key>windows</key> 1057 <key>windows</key>
1058 <map> 1058 <map>
1059 <key>md5sum</key> 1059 <key>md5sum</key>
1060 <string>4b8412833c00f8cdaba26808f0ddb404</string> 1060 <string>df1bdd683128e060d60e435f65d8f7e8</string>
1061 <key>url</key> 1061 <key>url</key>
1062 <uri>http://viewer-source-downloads.s3.amazonaws.com/install_pkgs/llqtwebkit-windows-qt4.6-20100916.tar.bz2</uri> 1062 <uri>http://viewer-source-downloads.s3.amazonaws.com/install_pkgs/llqtwebkit-windows-qt4.6-20100617.tar.bz2</uri>
1063 </map> 1063 </map>
1064 </map> 1064 </map>
1065 </map> 1065 </map>