Commit Graph

108 Commits (8a13530ce4eeb481ee467fd3ec54f1ed7e9f632a)

Author SHA1 Message Date
AndreyL ProductEngine 8c67f588da Merged in lindenlab/viewer-release 2018-04-12 21:22:22 +03:00
maxim_productengine 73ea789127 MAINT-8343 FIXED [MAC] Viewer Media Browser doubles entered Cyrillic capital letters. 2018-03-16 16:45:25 +02:00
callum_linden 6b4f4e53dd Pull in latest version of Dullahan (1.1.1072) and tweak media plugin code to match change in API 2018-03-15 16:12:52 -07:00
callum_linden 278382abd7 Now CEF supports setting default page background if specifier missing from HTML, set default background color to the Linden default grey (#282828) 2018-03-01 09:34:25 -08:00
Andrey Kleshchev 2714ff8f25 MAINT-8276 Arrows 'Navigate back' and 'Navigate forward' have wrong state 2018-02-12 19:27:09 +00:00
callum_linden 8b09a997c5 Fixes for: MAINT-8244 Text in CEF cannot be selected with the mouse. MAINT-8245 Expose CEF log file and logging severity to viewer and MAINT-8246 Expose the CEF remote debugging system to the viewer 2018-01-26 17:06:19 -08:00
callum_linden 8ee332fb10 Bring in the very latest version of Dullahan (1.1.1024) that matches the most recent canonical Dullahan and also bump the CEF plugin version in preparation for the RC build 2018-01-22 13:30:03 -08:00
callum_linden d3f544d39d Fixes for 'MAINT-8196 Remove LLPluginCookieStore from the viewer' and 'MAINT-8194 Remove per-frame calls to updateJavascriptObject()' 2018-01-17 16:13:19 -08:00
callum_linden 8f214ad00b Fix for MAINT-7886 Resizing internal web browser window causes video playback to stop 2018-01-08 14:51:32 -08:00
callum_linden 5989dd1673 Bump CEF Plugin version so it can be identified as different 2018-01-08 11:22:02 -08:00
callum_linden 6ced87c027 Pull in Dullahan 1.1.930 with improved fix for maint-8095 (target='_blank' links) as well as an improvement for maint-8100 (no error message for invalid hostname / url) 2017-12-15 16:11:29 -08:00
callum_linden 6166ab28dd Pull in Dullahan 1.1.929 (multiple file picking support) and update plugin code accordingly 2017-12-14 14:27:49 -08:00
callum_linden 0b97c76dbb Pull in Dullahan 1.1.925 with fix for onFileDialogCallback(..) handling that fixes MAINT-8083 2017-12-13 13:55:33 -08:00
callum_linden 05eba5d7b8 Pull in CEF 3203 (Dullanan 1.1.888) Chrome 62 build and re-enable WebGL 2017-11-20 16:08:15 -08:00
Nat Goodspeed 0c7bc67814 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2017-10-11 14:35:49 -04:00
callum_linden cdba690ec9 Fix for MAINT-7787: [Alex Ivy] RC Viewers in 5.1.0 range show black background for CONTENT_TYPE_HTML. (The color we pass to CEF has 4 compontents red, blue, green and alpha. We were only passing 3 and setting the color and not the alpha. At somepoint in CEF's history the default value must have changed. Passing 0xFF for alpha too - i.e. fully opaque - fixes this) 2017-09-21 14:01:20 -07:00
callum_linden 934d09e814 Hopeful fix for MAINT-7654 Ivy] Japanese can't input in CEF 2017-09-01 17:03:31 -07:00
daianakproductengine 9831f7fb3a MAINT-6080 Fixed YouTube videos in In-Game Browser persist after closing browser window 2017-08-29 18:47:08 +03:00
callum@lindenlab.com 0c9758820c Add NULL macOs implementation for 'MAINT-6950 Shared media a great distance away (different region even) sometimes plays at maximum volume when entering a region or moving camera slightly.' - until we can understand how to make real mac_volume_catcher work 2017-04-28 13:48:36 -07:00
Callum Prentice 8f95d9ad6e FIX for MAINT-6950 Shared media a great distance away (different region even) sometimes plays at maximum volume when entering a region or moving camera slightly. 2017-04-27 18:04:00 -07:00
Callum Prentice c49eeb9a62 Add back the missing pieces and updated code for the example plugin. It was useful during testing SLPlugin changes. Not shipped with release versions of viewer 2017-04-19 15:59:29 -07:00
Callum Prentice 45f67f4ed7 Hopeful fix for MAINT-7220 Windows Error Message 'SLPlugin.exe has stopped working ' appears. 2017-04-19 13:22:32 -07:00
Callum Prentice 2acc472e1e Fix for MAINT-7227 Drop down lists do not close after use in internal web browser. (Surprisingly large amount of changes and new version of Dullahan to support this fix) 2017-04-05 14:34:14 -07:00
Callum Prentice f0b5a263c1 Fixed for MAINT-7201, MAINT-7202, MAINT-7203 (viewer-embeddedd browser scheme handler was broken) 2017-03-14 15:28:56 -07:00
Callum Prentice 884a59a2fb Second part of fix for SL-646 Fix 'LINK : warning LNK4075: ignoring /INCREMENTAL due to '/LTCG' specification' in LibVLC, JPEGLIB etc. 2017-03-09 14:08:09 -08:00
Callum Prentice 7d1942a2b6 Remove OSX headers added for testing purposes and also some unused vars 2017-03-03 17:45:09 -08:00
callum@lindenlab.com 398c351371 First pass at osx/macos keyboard events - simple case like google homepage is working 2017-03-03 15:32:47 -08:00
callum@lindenlab.com f49033efcf Fix up slight change to Dullahan interface where we call out the platform for native keyboard injection to match OSX version 2017-03-01 16:43:15 -08:00
callum@lindenlab.com 08940da90e First round of changes to make the macOS 64 build work 2017-02-24 15:44:36 -08:00
callum@lindenlab.com bff83a7f41 Whoopps. Apologies for leaving Windows debug spam in code :( 2017-02-23 10:26:46 -08:00
callum@lindenlab.com f04bfdd70e Update media plugin CEF code to match new Dullahan 2017-02-23 10:17:52 -08:00
Callum Prentice 2c8299d643 reenable support for copy/cut/paste to/from a web page 2017-02-22 19:21:55 -08:00
Callum Prentice 5534ab4e18 First round of changes to replace LLCEFLib with Dullahan. Mostly Windows changes in this batch since I'm working on Windows box but some speculative macOS ones too although they are quite untested 2017-02-21 15:06:21 -08:00
Nat Goodspeed 37974a2fa2 Automated merge with ssh://bitbucket.org/lindenlab/viewer64 2017-02-03 20:14:32 -05:00
Nat Goodspeed 434f0e161a Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2017-02-03 09:54:52 -05:00
Callum Linden f13c2a6d31 First set of changes to build (tests off) to build correctly against Xcode 8 and SDK 10.12 2017-01-19 14:19:46 -08:00
Oz Linden 2d8ad89f33 suppress VS linker warning about unfound pdb files in media plugin 2016-12-05 17:32:38 -05:00
Callum Prentice 3d37848d01 Remove winmmshim 'hack' from project and set volume directly from CEF media plugin using Windows system call. WinMMShim was only needed for XP systems and since we no longer support XP, it is not required. 2016-12-02 16:19:34 -08:00
Nat Goodspeed 8a461c00f4 DRTVWR-418: Until we figure out how to say FIXED:NO to linker, don't.
The present CMake logic wants to pass FIXED:NO to the linker for 64-bit
builds, which on the face of it seems like a Good Thing: it permits code to be
relocated in memory, preventing collisions if two libraries happen to want to
load into overlapping address ranges.

However the way it's being specified is wrong and harmful. Passing /FIXED:NO
to the compiler command line engages /FI (Forced Include!) of a nonexistent
file XED:NO -- producing lots of baffling fatal compile errors.

Thanks Callum for diagnosing this!
2016-12-01 08:50:10 -05:00
Nat Goodspeed fc4564c415 DRTVWR-418: Work around missing LLCEFLibSettings::page_zoom_factor. 2016-11-23 12:08:53 -05:00
Nat Goodspeed 934b94e74a DRTVWR-418: pull in new viewer-release via viewer64 2016-11-16 10:56:05 -05:00
Nat Goodspeed 6c7a972861 DRTVWR-418: Fold windows64 into windows platform with new autobuild.
autobuild 1.1 now supports expanding $variables within a config file --
support that was explicitly added to address this very problem. So now the
windows platform in autobuild.xml uses $AUTOBUILD_ADDRSIZE,
$AUTOBUILD_WIN_VSPLATFORM and $AUTOBUILD_WIN_CMAKE_GEN, which should handle
most of the deltas between the windows platform and windows64.

This permits removing the windows64 platform definition from autobuild.xml.

The one remaining delta between the windows64 and windows platform definitions
was -DLL_64BIT_BUILD=TRUE. But we can handle that instead by checking
ADDRESS_SIZE. Change all existing references to WORD_SIZE to ADDRESS_SIZE
instead, and set ADDRESS_SIZE to $AUTOBUILD_ADDRSIZE. Change the one existing
LL_64BIT_BUILD reference to test (ADDRESS_SIZE EQUAL 64) instead.
2016-11-15 15:53:24 -05:00
pavelkproductengine 07e78807a8 MAINT-6810 win10, 4k monitor and UI scale of 2.0 makes most web content too small to read 2016-10-27 19:48:59 +03:00
AndreyL ProductEngine 7fceb3a63f Merged in lindenlab/viewer-cleanup 2016-11-14 22:04:37 +02:00
Nat Goodspeed 704c53b3c5 MAINT-5232: Merge up to VLC viewer from viewer-release 2016-10-11 10:59:17 -04:00
Nat Goodspeed d2c3c2f9fe MAINT-5232: Normalize LLSingleton subclasses.
A shocking number of LLSingleton subclasses had public constructors -- and in
several instances, were being explicitly instantiated independently of the
LLSingleton machinery. This breaks the new LLSingleton dependency-tracking
machinery. It seems only fair that if you say you want an LLSingleton, there
should only be ONE INSTANCE!

Introduce LLSINGLETON() and LLSINGLETON_EMPTY_CTOR() macros. These handle the
friend class LLSingleton<whatevah>;
and explicitly declare a private nullary constructor.

To try to enforce the LLSINGLETON() convention, introduce a new pure virtual
LLSingleton method you_must_use_LLSINGLETON_macro() which is, as you might
suspect, defined by the macro. If you declare an LLSingleton subclass without
using LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() in the class body, you can't
instantiate the subclass for lack of a you_must_use_LLSINGLETON_macro()
implementation -- which will hopefully remind the coder.

Trawl through ALL LLSingleton subclass definitions, sprinkling in
LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() as appropriate. Remove all explicit
constructor declarations, public or private, along with relevant 'friend class
LLSingleton<myself>' declarations. Where destructors are declared, move them
into private section as well. Where the constructor was inline but nontrivial,
move out of class body.

Fix several LLSingleton abuses revealed by making ctors/dtors private:

LLGlobalEconomy was both an LLSingleton and the base class for
LLRegionEconomy, a non-LLSingleton. (Therefore every LLRegionEconomy instance
contained another instance of the LLGlobalEconomy "singleton.") Extract
LLBaseEconomy; LLGlobalEconomy is now a trivial subclass of that.
LLRegionEconomy, as you might suspect, now derives from LLBaseEconomy.

LLToolGrab, an LLSingleton, was also explicitly instantiated by
LLToolCompGun's constructor. Extract LLToolGrabBase, explicitly instantiated,
with trivial subclass LLToolGrab, the LLSingleton instance.

(WARNING: LLToolGrabBase methods have an unnerving tendency to go after
LLToolGrab::getInstance(). I DO NOT KNOW what should be the relationship
between the instance in LLToolCompGun and the LLToolGrab singleton instance.)

LLGridManager declared a variant constructor accepting (const std::string&),
with the comment:
// initialize with an explicity grid file for testing.
As there is no evidence of this being called from anywhere, delete it.

LLChicletBar's constructor accepted an optional (const LLSD&). As the LLSD
parameter wasn't used, and as there is no evidence of it being passed from
anywhere, delete the parameter.

LLViewerWindow::shutdownViews() was checking LLNavigationBar::
instanceExists(), then deleting its getInstance() pointer -- leaving a
dangling LLSingleton instance pointer, a land mine if any subsequent code
should attempt to reference it. Use deleteSingleton() instead.

~LLAppViewer() was calling LLViewerEventRecorder::instance() and then
explicitly calling ~LLViewerEventRecorder() on that instance -- leaving the
LLSingleton instance pointer pointing to an allocated-but-destroyed instance.
Use deleteSingleton() instead.
2016-09-15 20:18:12 -04:00
Callum Linden 8a25489591 MAINT-6578 Broken texture batching - fixed along with misc LibVLC plugin additions (status, titles, looping) 2016-07-20 19:54:54 -07:00
callum_linden 53cc5ba225 FIX MAINT-6748 content looks correct but page links are flipped vertically 2016-06-02 18:24:15 -07:00
Nicky ccfb18948d - Make popup appear on the right screen coordinates (this was broken after the flipy switch)
- Make sure the popup stays until it is dismissed (no need to hold the mouse button to scroll through eg a listbox) [This needs a CEF change.)
2016-05-27 00:27:10 +02:00
callum_linden f0e9566b90 pull in unflipped version of LLCEFLib 2016-05-13 13:09:12 -07:00