summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2018-06-28DRTVWR-447: Suppress BugSplat UI; auto-fill certain BugSplat data.Nat Goodspeed
Direct BugSplat to send crash reports without prompting, on both Windows and Mac. Add a mechanism by which code called after LL_ERRS() can retrieve the fatal log message string. (How did the crash logger extract that for Linden crash logging?) Add that fatal message to crash reports on Windows. But as BugsplatMac is engaged only on the run _after_ the crash, we no longer have that message in memory. Also add user name and region location to Windows crash reports. On Mac, (a) we don't have the information from the previous run and (b) BugsplatMac doesn't provide an API to attach that information to the crash report. Add Mac logging to indicate the success or failure of sending the crash report. Add Windows logging to indicate we're about to send.
2018-06-28MAINT-8797: Resurrect BugSplat crash reporting on Windows.Nat Goodspeed
The Breakpad symbol-file upload in the viewer's build.sh was failing on BugSplat builds since we weren't generating Breakpad symbol files. That upload was conditional on RELEASE_CRASH_REPORTING, so my first approach was to set RELEASE_CRASH_REPORTING=OFF for BugSplat builds. Unfortunately that symbol also propagates down into C++ compiles, and in llappviewerwin32.cpp, both Breakpad and BugSplat crash reporting is conditional on it. So that change inadvertently turned off the C++ logic to engage BugSplat. Stop forcing RELEASE_CRASH_REPORTING=OFF for BugSplat builds. Instead, make the Breakpad symbol-file upload check the BUGSPLAT_DB variable as well. Add #pragma messages to llappviewerwin32.cpp so we can detect whether it's being built for Breakpad or BugSplat or neither.
2018-06-21DRTVWR-447: Merge up to latest viewer-releaseNat Goodspeed
2018-06-21increment viewer version to 5.1.7Nat Goodspeed
2018-06-19SL-821: Send the SecondLife.log from the previous (crashed) run.Nat Goodspeed
Also clean up log messages.
2018-06-19SL-821: Another Objective-C++ magic incantation from BugSplat support.Nat Goodspeed
2018-06-19SL-821: Try again to override BugSplat Obj-C methods.Nat Goodspeed
2018-06-18SL-821: Add logging in the macOS BugSplat attachment override.Nat Goodspeed
2018-06-18SL-821: Fix BugSplat attachment method override per BugSplat support.Nat Goodspeed
The example code on the BugSplat documentation page https://www.bugsplat.com/docs/platforms/os-x#configuration omits certain essential Objective-C++ boilerplate incantations. Adding them at least compiles successfully.
2018-06-15SL-821: Fix up Objective-C++ syntax errors.Nat Goodspeed
2018-06-15SL-821: Try to add SecondLife.log file to Mac BugSplat crash report.Nat Goodspeed
Introduce new header file llappviewermacosx-for-objc.h to publish for llappdelegate-objc.mm and other Objective-C++ consumers the free functions in llappviewermacosx.cpp they consume. These were never before declared in any header file. Apparently, to date, we've been trusting to luck that Objective-C++ will infer the correct signature from calls -- and that the calls are correct with respect to the function definitions. :-P This gives us a place to introduce a new getLogFilePathname() function to query LLDir. (We don't simply #include "lldir.h" because of the pervasive use of BOOL in viewer headers; BOOL means something very different in Objective-C++.)
2018-06-15SL-820: Make bugsplat.cmake and its symbols conditional.Nat Goodspeed
2018-06-15SL-820: gDirUtilp is never nullptr.Nat Goodspeed
It might point to an uninitialized LLDir, but that's a whole separate problem, one that wouldn't be detected by checking for nullptr. If we hit that, time to change to an LLSingleton.
2018-06-14SL-821: Merge removal of VSTool.exe invocation from CMake.Nat Goodspeed
2018-06-14Automated merge with file:///Users/nat/linden/viewer-no-vstoolNat Goodspeed
2018-06-14SL-821: Remove VSTool invocation to unbreak Windows TeamCity builds.Nat Goodspeed
2018-06-14SL-821: Continue changing macOS executable to match channel name.Nat Goodspeed
Set our CMake 'product' variable to VIEWER_CHANNEL. This probably has far- reaching implications, but it seems the expedient way to keep everything self- consistent. Use ${product} in the DARWIN VIEWER_EXE_GLOBS used for Breakpad symbol dumping instead of hardcoding 'Second Life'. The Breakpad symbol dumping stanza was enclosed in nested (but not indented) conditions. To these we add another condition: don't bother if we're using BugSplat. Unify all three into a single horrendous outermost expression. Fix the MACOSX_BUNDLE_INFO_STRING, and hence CFBundleGetInfoString, to VIEWER_CHANNEL as well. Our CMake MACOSX_BUNDLE_SHORT_VERSION_STRING was never used before -- we were erroneously using MACOSX_BUNDLE_LONG_VERSION_STRING in the Info-SecondLife.plist template even for CFBundleShortVersionString. Looks like a classic copy/paste error. Fix that; also use four-part version number instead of three-part. With those two changes, we shouldn't need to patch the top-level Info.plist in viewer_manifest.py any more. viewer_manifest.py still needs to move the viewer executable(s) to the embedded viewer app bundle, but it no longer needs to rename the real executable to the channel name since we've already dealt with that in CMake land. This lets us unify the code that picks the biggest of those executables in the first and second viewer_manifest.py runs.
2018-06-14SL-821: Defend macOS packaging against multiple viewer_manifest runsNat Goodspeed
2018-06-14SL-821: Rename macOS Second Life executable to match the channel name.Nat Goodspeed
This requires fixing CFBundleExecutable as well.
2018-06-14SL-821: Avoid Breakpad (and signal handling in general) for BugSplat.Nat Goodspeed
Pass LL_BUGSPLAT into llapp.cpp compile to be able to detect that.
2018-06-14SL-821: Create macOS symbol-file archive while packaging.Nat Goodspeed
2018-06-06fix xcode buildAnchor Linden
2018-05-31merge changes for 5.1.5-releaseOz Linden
2018-05-31increment viewer version to 5.1.6Oz Linden
2018-05-30remove unused UNATTENDED cmake variable that generates warningsOz Linden
2018-05-30[MAINT-8693] - fix null checkAnchor Linden
2018-06-07MAINT-8689 Potential crash fixandreykproductengine
2018-06-02Merged in lindenlab/viewer-bearAndreyL ProductEngine
2018-06-01MAINT-8712 Crash on close in LLWindowWin32Andrey Kleshchev
2018-06-01MAINT-8714 Eliminate viewer duplicated ID nodesmaxim_productengine
2018-06-01merge from viewer-releaseandreykproductengine
2018-05-31MAINT-8702 FIXED Uploading any item results in opening previous Item Profile ↵maxim_productengine
instead of Inventory Floater
2018-05-31MAINT-8700 Remove obsolete code and update 'Save texture' file dialogmaxim_productengine
2018-05-30MAINT-8700 FIXED The File dialog disconnects the viewer if you do not choose ↵maxim_productengine
upload files within the first minute
2018-05-29MAINT-8586 Eliminate obsolete xui elementsandreykproductengine
2018-05-26Automated merge with ssh://bitbucket.org/lindenlab/viewer-bugsplatNat Goodspeed
2018-05-26SL-823: Fix typo in code that sets up BugSplat.Nat Goodspeed
2018-05-25SL-823: Fix minor compile errors in code to read build_data.json.Nat Goodspeed
2018-05-25MAINT-8693 Fixed crashes during login if you wear a BOM tattoo layerAndrey Kleshchev
2018-05-25SL-821: export BUGSPLAT_DB when loaded so child processes can detect.Nat Goodspeed
Produce CMake message when BugSplat is engaged so we can detect in build log. Don't try to copy BugSplat DLLs when NOT engaged.
2018-05-25SL-821, SL-826: Use BUGSPLAT_DB from environment on Windows and Mac.Nat Goodspeed
On TeamCity, set BUGSPLAT_DB from build-secrets. Use the presence of $BUGSPLAT_DB, rather than a new CMake BUGSPLAT option, to control whether CMake searches for BugSplat -- and passes LL_BUGSPLAT into C++. When BUGSPLAT_DB is present, make viewer_manifest.py set "BugSplat DB" in build_data.json, and "BugsplatServerURL" in Mac Info.plist. Make llappviewerwin32.cpp read "BugSplat DB" from build_data.json. Add placeholders for Mac hooks to suppress BugSplat prompt and send SecondLife.log.
2018-05-25MAINT-8459 Save favorite places and landmarks to Location Bar history listmaxim_productengine
2018-05-25MAINT-8674 Fixed logsandreykproductengine
2018-05-25MAINT-8674 Clean up already requested ids.Andrey Kleshchev
2018-05-25Merged in andreyl_productengine/viewer-neko-marchcat (pull request #613)Andrey Lihatskiy
MAINT-8325 Fixed The Save Local dialog disconnects the viewer if you do not choose the save directory files within the first minute Approved-by: Andrey Kleshchev <andreykproductengine@lindenlab.com>
2018-05-25MAINT-8694 FIXED Typo in loggingmaxim_productengine
2018-05-24Merged in nat_linden/maint-maint-8675AndreyL ProductEngine
2018-05-24Automated merge with ssh://bitbucket.org/nat_linden/maint-maint-8675Nat Goodspeed
2018-05-24MAINT-8675: In Darwin-specific CMake, use cp, not cmake -E copy.Nat Goodspeed
cmake -E copy does only one file at a time, and older CMake versions don't handle wildcards. But cmake -E copy is specifically for portability. When the copy operation itself is Darwin-only, we can count on having 'cp' available.
2018-05-24Merged in oz_linden/maint-8675AndreyL ProductEngine