summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
2018-10-04DRTVWR-474: Make login coroutine sync with updater process on failure.Nat Goodspeed
Specifically, introduce an LLEventMailDrop("LoginSync"). When the updater detects that an update is required, it will post to that rendezvous point. When login.cgi responds with login failure, make the login coroutine wait (a few seconds) for that ping from the updater. If we receive that ping and if it contains a "reply" key, make the fail.login listener respond to the updater with an indication of whether to proceed with update. If both login.cgi and the updater concur that an update is required, produce a new confirmation message for the user and then (once user responds) tell the updater to proceed. Otherwise, produce the usual login-failure message and tell the updater never mind. Introduce LLCoro::OverrideConsuming to provide temporary save/restore of the set_consuming() / get_consuming() flag. It's a good idea to set the consuming flag when retrieving data from an LLEventMailDrop.
2018-10-03DRTVWR-474: Do NOT autokill updater process on viewer termination.Nat Goodspeed
The updater is required to survive beyond termination of the viewer that launched it so it can launch the next installer, or a replacement viewer. Having the old viewer forcibly terminate it on shutdown would be counter- productive. Introduce a third LLLeap::create() overload taking LLProcess::Params, which gives access to autokill, cwd and other options previously unsupported by LLLeap. Reimplement the existing create() overloads in terms of this new one, since LLLeapImpl::LLLeapImpl() is already based on LLProcess::Params anyway. Use LLProcess::Params in LLAppViewer::init() to specify the updater process, setting autokill=false. Refactoring LLLeapImpl() apparently involved engaging an LLInitParam::Block feature never before used: had to drag operator() into Multiple from its base class TypedParam (as has been done in other TypedParam subclasses).
2018-09-28DRTVWR-474: Make SkipBenchmark a Persistent settingNat Goodspeed
2018-09-27DRTVWR-474: Pass the leap updater the parameters it requires.Nat Goodspeed
2018-09-26Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
2018-09-26increment viewer version to 5.1.10Nat Goodspeed
2018-09-24DRTVWR-474: Remove Python autobuild packages and references to them.Nat Goodspeed
We expect the viewer-manager package to be self-contained: we expect it to bring with it any Python packages it requires. We no longer force developers to wrap third-party Python packages as autobuild packages.
2018-09-13DRTVWR-474: Pass updater cmd to LLLeap::create() as vector<string>.Nat Goodspeed
This avoids having to tokenize a single string, avoiding swallowing backslashes in Windows pathnames in the mistaken belief they're escape characters. Alternatively, it avoids us having to double-escape them or convert them to forward slashes or whatever.
2018-09-13DRTVWR-474: Fix path2basename("secondlife.ico") call.Nat Goodspeed
2018-09-13DRTVWR-474: Run the new updater in LEAP mode.Nat Goodspeed
2018-09-13DRTVWR-474: Copy updater and its icons into Mac app's Resources.Nat Goodspeed
2018-09-13DRTVWR-474: Make NSIS installer invoke updater precheck subcommand.Nat Goodspeed
2018-09-13DRTVWR-474: Clean up use of LLDir::getAppRODataDir(), esp. on Mac.Nat Goodspeed
Clearly it's not obvious to maintainers that on the Mac, getAppRODataDir() returns the app's Resources directory: in a number of places the code starts with the executable directory and appends "../Resources" to find that.
2018-09-12DRTVWR-474: $VIEWER_EXE, rather than plain VIEWER_EXENat Goodspeed
2018-09-12DRTVWR-474: Make NSIS run new updater.exe after install.Nat Goodspeed
But change shortcuts and registry entries and everything else back to the real viewer executable, so that every subsequent run directly launches the viewer. Eliminate SL_Launcher references from viewer_manifest.py.
2018-09-11DRTVWR-474, MAINT-9047: Set viewer name in Info.plist, not launcher.Nat Goodspeed
2018-09-11DRTVWR-474: Remove nag about SL_Launcher.Nat Goodspeed
2018-09-11DRTVWR-474, MAINT-9047: Display top-level app bundle in sparseimage.Nat Goodspeed
codesign claims to succeed, but spctl says: /Volumes/Second Life Installer/Second Life Test.app: rejected (the code is valid but does not seem to be an app) Why not? Display what's in Second Life.app/Contents on the mounted sparseimage: show Info.plist, list Frameworks, MacOS, Resources.
2018-09-11DRTVWR-474, MAINT-9047: Make failing spctl command more verbose.Nat Goodspeed
2018-09-11DRTVWR-474, MAINT-9047: Must copy CMake-built viewer for EDU.Nat Goodspeed
2018-09-10DRTVWR-474, MAINT-9047: Try *not* copying the viewer built by CMake.Nat Goodspeed
The start of viewer_manifest.DarwinManifest.construct() is a path() call to copy the whole viewer tree from where CMake constructs it. The comment is: "(this is a no-op if run within the xcode script)." Unfortunately, for unclear reasons, this has recently started nesting Second Life.app within the Second Life.app directory, and even to multiple levels. When that happens, copying the outermost .app directory to the sparseimage in order to convert to dmg runs out of room because we're trying to pack multiple copies of the whole viewer tree into the fixed-size sparseimage. But if it works to simply skip that entire initial copy operation, so much the better.
2018-09-10DRTVWR-474, MAINT-9047: Back out changeset 2ed01671b974.Nat Goodspeed
We'll try to address the Mac app bundle name discrepancy a different way.
2018-09-09DRTVWR-474, MAINT-9047: Make viewer_manifest use same bundle name.Nat Goodspeed
2018-09-08DRTVWR-474, MAINT-9047: Restore viewer to top-level Mac app.Nat Goodspeed
The relationship to MAINT-9047 is that we hope this will improve the behavior of Mac code signing.
2018-08-31Merged in MAINT-6291andreykproductengine
2018-08-30MAINT-6291 A bit more loggingandreykproductengine
2018-08-29SL-967 simplify viewer log file field syntaxOz Linden
MAINT-8991: only escape log message characters once, add unit test remove extra log line created by LL_ERRS document that tags may not contain spaces
2018-08-29MAINT-6291 Fixed Scripted teleports have a higher rate of failure than ↵andreykproductengine
user-initiated teleports. Sim apparently sends finish and start messages simultaneously in case of scripted or experience teleports
2018-08-29MAINT-9044 Update Aditi helper_uri to ↵AndreyL ProductEngine
https://secondlife.aditi.lindenlab.com/helpers/
2018-08-27line endings fixmaxim_productengine
2018-08-22MAINT-8926 Don't allow overwritting default presetandreykproductengine
2018-08-23MAINT-8997 Add "Sort by recent arrival" to viewer People / Nearby map and listmaxim_productengine
2018-08-21increment viewer version to 5.1.9Nat Goodspeed
2018-08-20MAINT-8977 32bit viewer should have stricter image size capandreykproductengine
2018-08-22MAINT-8985 FIXED User is able to send friendship request to a friend from ↵maxim_productengine
the group menu
2018-08-22Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2018-08-15MAINT-8993 FIXED Crash in LLTeleportHistory::updateCurrentLocation(..)maxim_productengine
2018-08-15mac build fixMnikolenko ProductEngine
2018-08-14MAINT-8930 FIXED Using "Reset all to recommended settings" still shows the ↵maxim_productengine
last active preset as "Preset in use" in the UI
2018-08-10MAINT-8926 Don't allow overwritting default presetandreykproductengine
2018-08-10VOICE-50 VOICE-58: recover from SLVoice process exit automaticallyOz Linden
2018-08-09MAINT-8974 Reduce default settings for intel GPUs in case of failed benchmarkandreykproductengine
2018-08-08Merged in andreyl_productengine/viewer-neko-marchcat (pull request #671)Andrey Lihatskiy
MAINT-8856 Fixed URL behavior in group call popups Approved-by: Andrey Kleshchev <andreykproductengine@lindenlab.com>
2018-08-08MAINT-8856 Fixed URL behavior in group call popupsAndreyL ProductEngine
2018-08-07MAINT-8959 Fixed some pointers not being resetandreykproductengine
2018-08-06MAINT-8197 Compliment benchmark crash processing with SEH handlingandreykproductengine
2018-08-03Merged in MAINT-8803Andrey Kleshchev
2018-08-02merge changes for 5.1.7-releaseOz Linden
2018-08-02Merged in lindenlab/viewer-lynxAndreyL ProductEngine
2018-08-02increment viewer version to 5.1.8Nat Goodspeed