summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
AgeCommit message (Collapse)Author
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.
2019-05-07SL-10423 Detect potentially bad installandreykproductengine
2019-04-30Merged in default (pull request #87)Andrey Lihatskiy
SL-11049: Try harder to honor command-line --grid switch. Approved-by: Andrey Lihatskiy Approved-by: Andrey Kleshchev
2019-04-26Automated merge with file:///Users/nat/linden/viewer-gridselectNat Goodspeed
2019-04-25Reorder logic in LLAppViewer::initConfiguration(); remove dup code.Nat Goodspeed
There were two nearly-identical copies of a stanza that calls sendURLToOtherInstance(). Remove one. It's possible that the reason no one noticed the duplication was because the two copies were 70 lines apart. Move setSkinFolder(), setUseSpellCheck() and setSecondaryDictionaries() stanzas to consolidate SLURL-handling code more closely. Also move logic for NextLoginLocation and CmdLineLoginLocation. Remove a couple unnecessary std::ostringstream instances. Streaming a single string literal to std::ostringstream and retrieving its str() is the same as simply converting the literal to std::string, only slower. OSMessageBox() accepts const std::string&. Given that you have a std::string in hand, passing its c_str() to OSMessageBox() is not only unnecessary but wasteful: it requires silently converting the const char* back to a different std::string instance. Calling a class method from another method of the same class does not require ClassName:: qualification. Calling a singleton subclass method from another non-static method of the same subclass does not require going through ClassName::instance() or sInstance or whatever.
2019-04-26Merged in lindenlab/viewer-bearAndreyL ProductEngine
2019-04-10Don't crash Test Viewer due to missing version checkerandreykproductengine
2019-04-10Don't crash Test Viewer due to missing version checkerandreykproductengine
2019-04-04SL-10881 Add HiDPI status to Help - About Second Life reportmaxim_productengine
2019-04-02Merged in lindenlab/viewer-bearAndreyL ProductEngine
2018-08-02mergeBrad Payne (Vir Linden)
2018-08-02Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2018-07-04MAINT-8800 Vivox pointlesly stalls for 10 seconds waiting on shutdownandreykproductengine
2018-06-28Replace cache hit info in tex fetch debug display.Graham Linden
Silence launcher warning for devs. Work-around path gen deciding to gen NaNs for some flexi prims.
2018-06-21merge fix - omit SL_Launcher check if beingDebugged()Brad Payne (Vir Linden)
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