summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2020-07-22Remove redundant LL_EXSTAT_ from enums.Nicky Dasmijn
2020-07-22Put hash for boost namespace properly into that by using namespace boostNicky Dasmijn
2020-07-22LLExtStat had been a S32, this wasn't right, as some of the constants lead ↵Nicky Dasmijn
to integer overflow: const LLExtStat LL_EXSTAT_RES_RESULT = 2L<<30; const LLExtStat LL_EXSTAT_VFS_RESULT = 3L<<30; This shifts into the sign bit and clang gets (rightfully) upset about this. LLExtStatus needs to be at least of type U32 to remedy this problem, but while at it it makes sense to turn it into what it is: An enum. Turning it into a class enum has the added benefit we get type safety for mostly free. Which incidentally turned up a problem right away: A call to removeAndCallbackPendingDownloads had status and extstatus reversed and thus was wrong.
2020-07-22There was an idiom to test with LL_DARWIN if the compiler used is clang. ↵Nicky Dasmijn
This is not correct, as clang is available on all 3 platforms. The correct way to check for this is via __clang__ (https://clang.llvm.org/docs/LanguageExtensions.html#builtin-macros)
2020-07-22Linux needs strcmp , include <string.h> so we get access to that function.Nicky Dasmijn
2020-07-20Merge branch 'master' into DRTVWR-501-maintAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/newview/llimprocessing.cpp
2020-07-20Increment viewer version to 6.4.6Nat Goodspeed
following promotion of DRTVWR-476
2020-07-14Fixed -Wstring-plus-int related errors for compatibility with Xcode-11.4Brad Kittenbrink
2020-07-09SL-13579 Parcel media cannot be played if Media auto-play is set to No.Andrey Kleshchev
2020-07-07DRTVWR-476, SL-13555: Don't crash if user closes viewer during login.Nat Goodspeed
Ever since February 2010, the body of the login coroutine function has been enclosed in try/catch (...), with an llerrs message to try to crash more informatively than the runtime's unhandled-exception termination. Over the years this evolved to LL_ERRS and then to CRASH_ON_UNHANDLED_EXCEPTION. This persisted despite the August 2016 addition of generic catch clauses in the LLCoros::toplevel() function to serve the same purpose, and despite the subsequent introduction of the LLCoros::Stop family of exceptions to deliberately throw into waiting coroutines on viewer shutdown. That's exactly what was happening. When the user closed the viewer while waiting for the response from login.cgi, the waiting operation threw LLCoros::Stopping, which was caught by that CRASH_ON_UNHANDLED_EXCEPTION, which crashed the viewer with LL_ERRS rather than propagating up to the toplevel() and cleanly terminating the coroutine. Change CRASH_ON_UNHANDLED_EXCEPTION() to LOG_UNHANDLED_EXCEPTION() and re-throw so toplevel() can handle.
2020-07-06SL-13540 Fix line endingsAndrey Kleshchev
2020-07-02DRTVWR-476, SL-11430: Merge branch 'SL-9756' into d476Nat Goodspeed
2020-07-02SL-13540 Offline scripted inventory offers not shown on non drtsim-451Andrey Kleshchev
2020-07-02SL-13533: Use the old name for from_agent_nameRider Linden
SL-13540: Do not fail if binary bucket is too large, attempt to extract the asset type from the old style bucket. Notification still not shown.
2020-07-02SL-13540 Offline scripted inventory offers not shown on non drtsim-451Andrey Kleshchev
2020-07-02SL-13533: Use the old name for from_agent_nameRider Linden
SL-13540: Do not fail if binary bucket is too large, attempt to extract the asset type from the old style bucket. Notification still not shown.
2020-07-01DRTVWR-476, SL-13528: Use freopen_s() instead of assigning stderr.Nat Goodspeed
The llappviewerwin32.cpp create_console() function called by LLAppViewerWin32::initConsole() used to assign *stderr = *(new FILE* value), and so forth for stdout and stdin. That dubious tactic no longer works with the new Windows CRT introduced with VS 2015. freopen_s() works much better.
2020-07-01SL-13361: Enable color processing on Windows 10 debug console.Nat Goodspeed
(cherry picked from commit 0b61150e698537a7e42a4cdae02496da500399d9)
2020-07-01SL-13361: Distill redundant create_console() code to set_stream().Nat Goodspeed
There are separate stanzas in llappviewerwin32.cpp's create_console() function for each of STD_INPUT_HANDLE, STD_OUTPUT_HANDLE and STD_ERROR_HANDLE. SL-13361 wants to add more code to each. Factor out new local set_stream() function and make create_console() call it three times. (cherry picked from commit 13b78a0c5a788c617866e3530c65dae616e6520f)
2020-06-30DRTVWR-476: Merge branch 'SL-9756' into d476.Nat Goodspeed
2020-06-30SL-12085 Way to debug window message processing with logcontrolAndrey Kleshchev
2020-06-30SL-9756: Get the LLSD names right.Rider Linden
2020-06-30SL-9756: IM_TASK_INVENTORY_OFFERED bucket offline format conforms to the ↵Rider Linden
online format.
2020-06-30SL-9756: Get session_id/transaction id from aux if session is missing.Rider Linden
2020-06-30SL-11430, SL-9756: Take transaction-id from offline messages. Correct LLSD ↵Rider Linden
names. Use offline flag rather than implicit tests of session_id and aux_id.
2020-06-30SL-9756: Take the "session_id" from the offline message that was passed.Rider Linden
2020-06-30SL-9756: Get the LLSD names right.Rider Linden
2020-06-30SL-9756: IM_TASK_INVENTORY_OFFERED bucket offline format conforms to the ↵Rider Linden
online format.
2020-06-30SL-9756: Get session_id/transaction id from aux if session is missing.Rider Linden
2020-06-30SL-11430, SL-9756: Take transaction-id from offline messages. Correct LLSD ↵Rider Linden
names. Use offline flag rather than implicit tests of session_id and aux_id.
2020-06-30SL-9756: Take the "session_id" from the offline message that was passed.Rider Linden
2020-06-29SL-13467 Make LLTrace::BlockTimerStatHandle keys uniqueAndrey Lihatskiy
Original commit in Nat's repo: https://bitbucket.org/lindenlab/viewer-vs2017-git/commits/f627140cf11232bab11fdfaf66c78544cf44f3e8
2020-06-26DRTVWR-476, SL-13512: Fix flawed fix for former failure.Nat Goodspeed
Specifically, llcoro::suspendUntilTimeout() is definitely called concurrently by multiple coroutines. New code that instantiates a local LLEventStream must allow the name to be tweaked for uniqueness.
2020-06-26DRTVWR-476: On Windows, request 64-bit compilerNat Goodspeed
to avoid TeamCity build failures due to 32-bit compiler running out of virtual memory for precompiled headers.
2020-06-25DRTVWR-476, SL-13512: Make suspendUntilTimeout() notice shutdown.Nat Goodspeed
Specifically, the shutdown crash reported in SL-13512 was due to LLExperienceCache::idleCoro() looping on suspendUntilTimeout(), failing to notice in its slumbers that the viewer was shutting down around it. Make suspendUntilTimeout() internally call suspendUntilEventOnWithTimeout(), which already listens for "LLApp" state-change events and throws Stopping when LLApp enters its shutdown sequence.
2020-06-23DRTVWR-476: Merge branch 'master' of lindenlab/viewer into d476Nat Goodspeed
following release of D512.
2020-06-23Merge branch 'master' into DRTVWR-501-maintAndrey Lihatskiy
2020-06-23Increment viewer version to 6.4.5Nat Goodspeed
following promotion of DRTVWR-512
2020-06-23Reverted SL-6109 keybinding changesAndrey Kleshchev
Changes were moved to DRTVWR-514
2020-06-19DRTVWR-476, SL-13467: Make LLTrace::BlockTimerStatHandle keys unique.Nat Goodspeed
There are duplicate LLTrace::BlockTimerStatHandle key strings declared in llsettingsdaycycle.cpp and llsettingswater.cpp -- the only instances of duplicate BlockTimerStatHandle keys in the viewer code base. SL-13467 tracks intentional crashes due to duplicate LLInstanceTracker subclass instances with one of those keys. The simplest experiment to try to eliminate those crashes is to ensure that every BlockTimerStatHandle in the code base is unique.
2020-06-18SL-13481 Fixed mouselook teleport not having up to date dataAndrey Kleshchev
2020-06-17SL-13469 Fixed use of wrong clear functionAndrey Kleshchev
2020-06-17SL-13418 Restored original default value for DoubleClickTeleportAndrey Kleshchev
2020-06-17SL-12085 Debug log for show() and PeekMessageAndrey Kleshchev
User's viewer freezes right after setStartupState( STATE_LOGIN_CLEANUP ) and these places are primary suspects
2020-06-16SL-13418 Move and view panel now applies changes on the goAndrey Kleshchev
2020-06-15SL-13418 Restored previously removed 'click on land' controls from 'move & view'Andrey Kleshchev
According to UX UI engineer. Also adapted it to new system, but it needs a better solution.
2020-06-15SL-12085 Debug-log window positionAndrey Kleshchev
2020-06-15SL-13418 Added converter from old mouse binding settings to new onesAndrey Kleshchev
2020-06-12SL-13421 Separated some sitting-exclusive controlsAndrey Kleshchev
2020-06-12SL-13421 Removed camera control keybindings from mouselookAndrey Kleshchev