Commit Graph

40429 Commits (bd008a170898e69beeb8bc0481b4bfd94de86c55)

Author SHA1 Message Date
Graham Linden 50f6504d75 MAINT-9046 honor alpha mode none even when texture has alpha channel when checking state in avatar attachment shadow passes 2018-08-25 00:26:26 +01:00
Brad Payne (Vir Linden) 9c6678b5e7 SL-944 - logcontrol options to control which log recorders get used. This can be useful for performance reasons when especially verbose debug logging is needed. 2018-08-24 21:55:07 +01:00
Nat Goodspeed c2178bb6ac DRTVWR-447: Introduce explicit CMake BUGSPLAT_DB variable.
Define the CMake cache variable, with empty string as its default.

Make build.sh pass the BUGSPLAT_DB environment variable as a CMake
command-line variable assignment.

Change CMake 'if (DEFINED ENV{BUGSPLAT_DB})' to plain 'if (BUGSPLAT_DB)'.

Make CMake pass new --bugsplat switch to every one of SIX different
invocations of viewer_manifest.py.

Give llmanifest.main() function an argument to allow supplementing the base
set of command-line switches with additional application-specific switches.

In viewer_manifest.py, define new --bugsplat command-line switch and pass to
llmanifest.main(). Instead of consulting os.environ['BUGSPLAT_DB'], consult
self.args['bugsplat'].
2018-08-24 09:56:56 -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 afbf243f1a DRTVWR-447: Update to bugsplat build 518982 2018-08-23 10:27:31 -04:00
Nat Goodspeed 8d4e6b6df0 DRTVWR-447: Additional logging getting metadata for previous run 2018-08-22 16:16:26 -04:00
Nat Goodspeed 787053ffeb DRTVWR-447: Add logging to BugsplatMac override methods. 2018-08-22 13:26:19 -04:00
andreykproductengine a1e6383b5f MAINT-8926 Don't allow overwritting default preset 2018-08-22 19:32:50 +03:00
maxim_productengine c24f638088 MAINT-8997 Add "Sort by recent arrival" to viewer People / Nearby map and list 2018-08-23 15:38:04 +03:00
maxim_productengine cdef4175d4 MAINT-8985 Added missed initialization 2018-08-23 14:53:46 +03:00
Brad Payne (Vir Linden) d133838470 merge 2018-08-22 16:32:50 +01:00
Nat Goodspeed 7dc014474d DRTVWR-447: Attempt to post BugSplat metadata with Mac crash reports.
Introduce CrashMetadata, an LLSingleton in llappviewermacosx.cpp, declared in
llappviewermacosx-for-objc.h and accessed by the various
BugsplatStartupManagerDelegate override methods. CrashMetadata is populated by
reading the previous (presumably crashed) run's static_debug_info.log file.

This replaces the previous getOldLogFilePathname(), getFatalMessage() and
getAgentFullname() functions. To extend that suite for additional metadata,
not only would we have to keep adding new free functions, but we'd have to
keep rereading the static_debug_info.log file.

Override the new applicationKeyForBugsplatStartupManager,
defaultUserNameForBugsplatStartupManager,
defaultUserEmailForBugsplatStartupManager methods to extract relevant fields
from CrashMetadata. Change applicationLogForBugsplatStartupManager and
attachmentForBugsplatStartupManager to do the same.

Enhance llviewerregion.cpp to update the static_debug_info.log file every
time we enter a new region.
2018-08-22 10:48:29 -04:00
AndreyL ProductEngine a50e4c3aee Merged in lindenlab/viewer-release 2018-08-22 03:12:47 +03:00
Nat Goodspeed 302052700b DRTVWR-447: Add static_debug_info.log file to Windows crash report.
Also use the LLOSInfo information for platform rather than simply Windows32 or
Windows64.
2018-08-21 19:28:19 -04: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
Nat Goodspeed db970c1a5f Don't compare rbegin() iterators, use LLStringUtil::endsWith().
I think the intention of (sDumpDir.rbegin() == mDirDelimiter.rbegin()) was to
test whether sDumpDir endsWith(mDirDelimiter). But those iterators will never
be equal. Instead, use LLStringUtil::endsWith().
2018-08-21 19:23:33 -04:00
Nat Goodspeed 6a61145686 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2018-08-21 19:15:16 -04:00
Nat Goodspeed 6f54add8a8 increment viewer version to 5.1.9 2018-08-21 19:03:01 -04:00
Nat Goodspeed c1d5bafdb7 Added tag 5.1.8-release for changeset 23ea0fe36fad 2018-08-21 19:01:30 -04:00
andreykproductengine c032bab9df MAINT-5651 LLTrace issues on exit 2018-08-21 20:30:24 +03:00
Graham Linden b066310231 MAINT-9024 MAINT-9025 fix shadow render of materials objects to use alpha and don't draw MATERIAL_ALPHA content twice in shadow pass 2018-08-21 18:24:08 +01:00
Nat Goodspeed 7b83e8cdf7 SL-824: Update to bugsplat build 518876 2018-08-21 09:51:28 -04:00
andreykproductengine ae1e9ca0a4 MAINT-8977 32bit viewer should have stricter image size cap 2018-08-20 16:43:54 +03:00
maxim_productengine 36594400a2 MAINT-8985 FIXED User is able to send friendship request to a friend from the group menu 2018-08-22 18:02:31 +03:00
AndreyL ProductEngine e041ffc5ff Merged in lindenlab/viewer-release 2018-08-22 03:02:59 +03:00
AndreyL ProductEngine 714e89d55a Merged in lindenlab/viewer-bear 2018-08-22 03:00:23 +03:00
AndreyL ProductEngine e3260d783a MAINT-9014 Updated Viewer Manager to 1.0.518840 2018-08-20 20:27:43 +03:00
AndreyL ProductEngine 3536353b1e Merged in lindenlab/viewer-bear 2018-08-20 18:50:44 +03:00
Nat Goodspeed c50df8c4d9 SL-824: Update to bugsplat build 518831 2018-08-18 12:03:57 -04:00
Nat Goodspeed de88537d38 Backed out changeset 599911002a5e: revert to bugsplat build 518798. 2018-08-18 09:37:07 -04:00
Nat Goodspeed 9be834b334 SL-824: Update to bugsplat build 518806 2018-08-17 16:06:14 -04:00
andreykproductengine 50453b47fe MAINT-5651 Froce-quit crash 2018-08-17 21:48:40 +03:00
Nat Goodspeed 466a72da47 SL-824: Update to bugsplat build 518798 2018-08-17 14:40:12 -04:00
Nat Goodspeed 52fe357370 DRTVWR-447: Use os.path.split(path) instead of path.split(os.sep).
On Windows, where 'path' might be separated either with '/' or '\', the latter
breaks unless all path separators are in fact the os.sep character '\'. While
it would be possible to code something fancy with os.sep and os.altsep,
testing the latter for None, much simpler to let os.path.split() handle it.
2018-08-17 14:39:32 -04:00
Nat Goodspeed 64034e8394 SL-824: Update to bugsplat build 518791 2018-08-17 12:25:36 -04:00
maxim_productengine 7aaaabdea7 MAINT-8991 Escape newlines in log entries 2018-08-17 16:14:03 +03:00
callum_linden 8ebd4c7b4d Pull in @Nat's changes to make teleports work correctly 2018-08-16 18:26:53 -07:00
maxim_productengine 5cc7483508 SL-11157 FIXED All 'About Land' tabs German translations overlap buttons and other UI 2019-05-14 16:32:13 +03:00
andreykproductengine c384904675 SL-11153 Remake of SL-9414 2019-05-13 19:47:23 +03:00
andreykproductengine 493cf89fd5 SL-6306 Viewer freeze and crash on octree 2019-05-13 18:53:11 +03:00
maxim_productengine f46969fec7 SL-11139 FIXED LLFontGL::getStringFromStyle() never return "NORMAL" 2019-05-13 18:17:16 +03:00
AndreyL ProductEngine 7fa0e18892 Merged in lindenlab/viewer-bear 2019-05-11 04:18:24 +03:00
maxim_productengine 4af78ca09e SL-11121 FIXED Viewer crashes after clicking the 'Edit' button in the notecard floater 2019-05-09 15:19:37 +03:00
maxim_productengine b41ebb7bea SL-1579 Don't put an object to 'Received Items' after taking it back into inventory 2019-05-08 17:33:52 +03:00
andreykproductengine 098f6399fb SL-10954 Unit test escapePathAndData 2019-05-07 20:36:19 +03:00
maxim_productengine 8925fbaf61 SL-10850 FIXED The "Mini-Inspector" button in the access tab is displaying over the Snapshot floater 2019-05-08 10:56:33 +03:00
AndreyL ProductEngine b588e4d845 MAINT-8868 Updated Viewer Maager to 1.0.518760 2018-08-16 22:34:11 +03:00
AndreyL ProductEngine 7bb2faac0f mac build fix 2018-08-16 21:09:45 +03:00
Ruslan Teliuk ac2a2dc67e Merged lindenlab/viewer-cougar into default 2018-08-16 18:37:45 +03:00
ruslantproductengine 8a352faeae MAINT-8937 - Selection Outline Odd Behavior When Panning Around
Fixed.
2018-08-16 18:32:34 +03:00