summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
AgeCommit message (Collapse)Author
2019-03-01Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2019-01-14SL-10291 Replace apr_mutex with standard C++11 functionalityandreykproductengine
2018-12-03SL-10080 clamp instead of llmaxandreykproductengine
2018-11-27SL-10080 Limit LOD factor to 4andreykproductengine
2018-11-26SL-10101 Remade most frequent setting calls to cached variantsandreykproductengine
2018-11-07SL-9952: updater.exe now renamed to SLVersionChecker.exeNat Goodspeed
thereby avoiding strange Windows requirement for elevated privilege.
2018-10-27DRTVWR-447: Stop passing UpdaterServiceURL to leap updater.Nat Goodspeed
In fact, mark UpdaterServiceURL as obsolete. (Consumers should consult build_data.json.)
2018-10-17DRTVWR-447: Merge Oz's logging changesNat Goodspeed
2018-10-17Automated merge with ssh://bitbucket.org/nat_linden/viewer-poseidonNat Goodspeed
2018-10-11Modify logging so that the in-viewer console and stderr do not escape line ↵Oz Linden
breaks Improve the implementation so that escaping is computed only once
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-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-26Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
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: Run the new updater in LEAP mode.Nat Goodspeed
2018-09-11DRTVWR-474: Remove nag about SL_Launcher.Nat Goodspeed
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-23DRTVWR-447: Add (some) metadata to Mac crash reports.Nat Goodspeed
This required reordering certain operations during Mac viewer startup. Split llappviewermacosx.cpp's initViewer() function into constructViewer() (which instantiates LLAppViewerMacOSX) and initViewer() (which calls LLAppViewerMacOSX::init()). llappdelegate-objc.mm's applicationDidFinishLaunching override now calls [BugsplatStartupManager start] between constructViewer() and initViewer(): we want constructViewer() to have set up the logging subsystem so we can log the actions of BugsplatStartupManagerDelegate override methods, but otherwise we want BugsplatStartupManager in place as early as possible to catch any early crashes. Besides, initViewer() ends up overwriting the static_debug_info.log on which we depend for the *previous* run's crash metadata. Move the code that initializes the pathname of the static_debug_info.log file from LLAppViewerMacOSX::init() to the LLAppViewerMacOSX() constructor, since BugsplatStartupManagerDelegate override methods need to read (the previous run's) file. Add code to applicationLogForBugsplatStartupManager override to set new BugsplatMac 1.0.6 properties userName and userEmail. Don't log empty fields from static_debug_info.log if we couldn't read it.
2018-08-22DRTVWR-447: Additional logging getting metadata for previous runNat Goodspeed
2018-08-21MAINT-8917: For BugSplat viewer, don't create dump-UUID directory.Nat Goodspeed
Just put the static_debug_info.log file in the parent logs directory. Also update that static_debug_info.log file with "FatalMessage" key taken from LL_ERRS() message string.
2018-07-04MAINT-8800 Vivox pointlesly stalls for 10 seconds waiting on shutdownandreykproductengine
2018-06-18MAINT-8759 FIXED [Win] Choosing new cache location will cause disconnect if ↵maxim_productengine
you do not choose desired path in File picker quickly
2018-06-08Merged in lindenlab/viewer-lynxAndreyL ProductEngine
2018-06-07MAINT-8724 fix crash in libc++abi demangling on OSX 10.14 MojaveGraham Linden
2018-06-07Better fix for OSX 10.14 libc++abi demangling crash on mem shenanigans.Graham Linden
Silence nagging about running launcher for non-release for download builds. Tweak newview CMake to use executable instead of SL_Launcher and re-enable debugging within Xcode.
2018-05-30MAINT-8686 Viewer should report active coroutines at the end of the sessionandreykproductengine
2018-05-09Merged in lindenlab/viewer-451AndreyL ProductEngine
2018-04-13Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
2018-04-12Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2018-03-23MAINT-8417 Don't run display or startup if window is not initializedandreykproductengine
2018-03-21MAINT-8417 Fixed startup crash in doFrame() after failing to access vfs cacheandreykproductengine
2018-02-28MAINT-8305: Point SLURLs to viewer, not launcher; suppress warning.Nat Goodspeed
Specifically, when the viewer is run with a URL target argument, suppress the "do not directly execute viewer, use the launcher instead" warning.
2018-02-27MAINT-8305: Clean up trailing whitespace in llappviewer.cpp.Nat Goodspeed
2018-02-14Automated merge with tip of viewer-releasecallum_linden
2018-02-13MAINT-8203 Use the ReadOfflineMsgs cap to fetch IMs after loginandreykproductengine
2018-02-22MAINT-8183 Fixed some exit issues and crashesandreykproductengine
2018-02-15Mark RenderNsightDebugSupport as requiring restart (because it does).Graham Linden graham@lindenlab.com
Remove nerfing of message to run SL_Launcher.
2018-02-15Add debug setting and code to allow nVidia nSight graphics debugging to ↵Graham Linden graham@lindenlab.com
capture SL frames. These changes are only enabled if RenderNsightDebugSupport is true and eliminate use of some OpenGL legacy functionality which is incompatible with nSight capture (mostly glReadPixels and other fixed-function pipe rendering calls).
2018-02-12Merged in lindenlab/viewer-bearAndreyL ProductEngine
2018-01-30MAINT-8180 Add the way to get default string despite of current localiztionmaxim_productengine
2018-01-30MAINT-8091 Removed deprecated and unused private memory poolingAndrey Kleshchev
2018-01-24MAINT-8180 Help > Report Bug does not include viewer bitnessmaxim_productengine
2018-01-17Fixes for 'MAINT-8196 Remove LLPluginCookieStore from the viewer' and ↵callum_linden
'MAINT-8194 Remove per-frame calls to updateJavascriptObject()'
2018-01-17merge 5.1.0-releaseOz Linden
2018-01-17MAINT-8154 Brought back the LLContinueError handlingAndreyL ProductEngine
2018-01-17Merged in lindenlab/viewer-bearAndreyL ProductEngine
2018-01-11Fix for MAINT-8177 Expose the full version of the matching Chromium/Chrome ↵callum_linden
build for CEF in the About box
2017-12-20MAINT-8087: Use env vars from VMP for AppData\Roaming and Local.Nat Goodspeed
On Windows, when logged in with a non-ASCII username, every one of the three documented APIs -- SHGetSpecialFolderPath(), SHGetFolderPath() and SHGetKnownFolderPath() -- fails to retrieve any pathname at all. We cannot account for the fact that the oldest of these continues to work with the release viewer and within a Python script (though not, curiously, from a Python interactive session). With a non-ASCII username, they consistently fail when called from an Alex Ivy viewer build: "The filename, directory name, or volume label syntax is incorrect." Empirically, with a non-ASCII username, the preset APPDATA and LOCALAPPDATA environment variables are also useless, e.g. c:\Users\??????\AppData\Roaming where those are, yup, actual question marks. Empirically, the VMP is able to successfully call SHGetFolderPath() to retrieve both AppData\Roaming and AppData\Local. Therefore, we make the VMP set the APPDATA and LOCALAPPDATA environment variables to the UTF-8 encoded correct pathnames. Instead of calling SHGetSomethingFolderPath() at all, make LLDir_Win32 retrieve those environment variables. Make LLFile::mkdir() treat "directory already exists" as a success case. Every single call fell into one of two categories: either it didn't check success at all, or it tested specially to exempt errno == EEXIST. Migrate that test into mkdir(); eliminate it from call sites. Make LLDir::append() and add() convenience functions accept variadic arguments. Replace add(add()...) constructs, as well as clumsy concatenations of directory names and getDirDelimiter(), with simple variadic add() calls.
2017-11-29DRTVWR-418: Merge from latest viewer-releaseNat Goodspeed