Commit Graph

2103 Commits (ee34ea1f4b9e9c68b671ff3274ec8a640f72da89)

Author SHA1 Message Date
Ansariel ee34ea1f4b Merge viewer-bugsplat 2018-10-27 00:50:58 +02:00
Nat Goodspeed 082ef0c74d DRTVWR-447: Merge Oz's logging changes 2018-10-17 16:45:01 -04:00
Nat Goodspeed 036c52fcdf Automated merge with ssh://bitbucket.org/nat_linden/viewer-poseidon 2018-10-17 10:31:59 -04:00
Oz Linden d87cc1859f Modify logging so that the in-viewer console and stderr do not escape line breaks
Improve the implementation so that escaping is computed only once
2018-10-11 14:17:52 -04:00
Ansariel a27321fa51 Merge Firestorm LGPL 2018-10-04 01:38:36 +02:00
Nat Goodspeed b1955d4247 DRTVWR-474: Do NOT autokill updater process on viewer termination.
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-10-03 14:00:05 -04:00
Nat Goodspeed 182a091ad9 DRTVWR-474: Pass the leap updater the parameters it requires. 2018-09-27 17:41:26 -04:00
Ansariel fcbbd2b6ca Set version in VIEWER_GENERATION default substitute automatically based on major version number 2018-09-27 14:12:12 +02:00
Ansariel 0d04687377 Merge viewer-bugsplat 2018-09-27 00:21:50 +02:00
Nat Goodspeed 1e8851c4df Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2018-09-26 16:39:16 -04:00
Nat Goodspeed 82bdb300fe Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2018-09-26 16:32:15 -04:00
Nat Goodspeed 807992adca DRTVWR-474: Pass updater cmd to LLLeap::create() as vector<string>.
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-13 20:55:05 -04:00
Nat Goodspeed a6e2201d2c DRTVWR-474: Run the new updater in LEAP mode. 2018-09-13 16:24:53 -04:00
Ansariel d93b92ec1d Merge viewer-bear 2018-09-12 20:13:12 +02:00
Nat Goodspeed e3d16dcb70 DRTVWR-474: Remove nag about SL_Launcher. 2018-09-11 19:57:42 -04:00
Ansariel 6bd724e65a Merge viewer-bugsplat 2018-08-31 09:17:34 +02:00
Oz Linden f1d4e788e7 SL-967 simplify viewer log file field syntax
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-29 16:43:45 -04:00
Nat Goodspeed e674f11757 DRTVWR-447: Add (some) metadata to Mac crash reports.
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-23 12:31:54 -04:00
Nat Goodspeed 8d4e6b6df0 DRTVWR-447: Additional logging getting metadata for previous run 2018-08-22 16:16:26 -04:00
Ansariel 23473b4585 Merge viewer-bugsplat 2018-08-22 14:22:22 +02:00
Nat Goodspeed 87763d964a MAINT-8917: For BugSplat viewer, don't create dump-UUID directory.
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-08-21 19:26:07 -04:00
Ansariel 3a99b5e9de Merge viewer-lynx 2018-07-15 14:00:44 +02:00
andreykproductengine c895f8c062 MAINT-8800 Vivox pointlesly stalls for 10 seconds waiting on shutdown 2018-07-04 16:18:08 +03:00
Ansariel 4c4b76ab37 Merge viewer-neko 2018-06-22 22:22:26 +02:00
maxim_productengine bbc49ea0b6 MAINT-8759 FIXED [Win] Choosing new cache location will cause disconnect if you do not choose desired path in File picker quickly 2018-06-18 17:49:49 +03:00
Ansariel 106d34da3a Merge viewer-neko 2018-06-12 21:54:15 +02:00
AndreyL ProductEngine 2761c1c7c2 Merged in lindenlab/viewer-lynx 2018-06-08 20:02:13 +03:00
Graham Linden 3b6bf06ee1 MAINT-8724 fix crash in libc++abi demangling on OSX 10.14 Mojave 2018-06-07 23:06:43 +01:00
Graham Linden 88da45148e Better fix for OSX 10.14 libc++abi demangling crash on mem shenanigans.
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-06-07 22:14:46 +01:00
Ansariel f2243eb6f3 Merge Firestorm LGPL 2018-05-30 19:46:11 +02:00
andreykproductengine 8348e50c7f MAINT-8686 Viewer should report active coroutines at the end of the session 2018-05-30 16:44:14 +03:00
Ansariel 491ff2245b Make RLVa version string localizable 2018-05-29 16:23:38 +02:00
Ansariel f0bb6a5ca8 Merge viewer-bear 2018-05-09 23:53:01 +02:00
AndreyL ProductEngine 33cf1492bc Merged in lindenlab/viewer-451 2018-05-09 21:36:21 +03:00
Ansariel 31a1ba1701 Merge Firestorm LGPL 2018-05-08 18:31:13 +02:00
Ansariel 8c914c8c48 Merge Firestorm LGPL 2018-05-01 16:43:38 +02:00
Nicky 89b4e0b251 Merge. 2018-04-15 17:36:54 +02:00
Liny 0512a03b6f Make statistics bar not revert on closing it and add not needing a restart to change the setting. 2018-04-15 01:36:15 -07:00
Ansariel f19e736235 Merge Firestorm LGPL 2018-04-14 11:52:41 +02:00
Liny b81da74240 Remove debug line. 2018-04-14 01:39:29 -07:00
Liny 5352f923c7 Add option to make the statistics bar ignore focus requests from closing other floaters with ctrl-w.
Prevents it from being able to steal keyboard focus from movement.
2018-04-14 01:24:15 -07:00
Nat Goodspeed cca83567f1 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2018-04-13 15:30:22 -04:00
Ansariel dfaea5c018 Merge Firestorm LGPL 2018-04-12 21:55:46 +02:00
AndreyL ProductEngine 8c67f588da Merged in lindenlab/viewer-release 2018-04-12 21:22:22 +03:00
Nicky 7cc408a5cd Merge. 2018-04-10 12:33:45 +02:00
Ansariel 9409fbae4a Merge Firestorm LGPL 2018-04-07 14:59:44 +02:00
Ansariel 6a8272cfa8 Merge Firestorm LGPL 2018-04-07 11:54:06 +02:00
Nicky ef20e3f523 Replace ARP Mutex and Condition with std::mutx and std::conditional_variable 2018-04-05 12:02:12 +02:00
Nicky ebcc41f861 Merge 2018-03-26 11:09:06 +02:00
Nicky 26a54deac5 Typo fix. 2018-03-26 00:27:20 +02:00