Commit Graph

42649 Commits (dccce87fdd0be1706ad87cb5d31d0eef8d372822)

Author SHA1 Message Date
Kitty Barnett dccce87fdd Remove the remaining "pdb was not found" warnings 2020-08-14 20:58:35 +02:00
Kitty Barnett 8fbf3b431d Add ASan as a build option now that Visual Studio supports it 2020-08-14 20:58:14 +02:00
Kitty Barnett c750a5ac87 Don't normalize line endings in llimprocessing.cpp as a temporary hack until LL sorts it out
-> this is unfortunately far better than normalizing them in viewer/build and propagate a change in that file to every single branch we have
2020-07-25 18:36:21 +02:00
Kitty Barnett 9d36022d62 Add support for Catznip's fork of autobuild 2020-07-25 18:23:18 +02:00
Kitty Barnett de50b2e02f Code review for viewer/build branch 2020-07-25 18:20:04 +02:00
Kitty Barnett 1c002e7c22 Pass address size to CMake via the platform parameter (see corresponding change in our autobuild) 2020-07-21 23:38:44 +02:00
Kitty Barnett d11fee37b3 Merge branch 'lindenlab/release' into viewer/build 2020-07-21 23:34:11 +02:00
Nat Goodspeed 87da08b1f4 DRTVWR-476, SL-13555: Don't crash if user closes viewer during login.
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-07 14:48:36 -04:00
Nat Goodspeed 5ab0ff486b DRTVWR-476, SL-11430: Merge branch 'SL-9756' into d476 2020-07-02 13:24:29 -04:00
Andrey Kleshchev bf5585c0ec SL-13540 Offline scripted inventory offers not shown on non drtsim-451 2020-07-02 19:05:12 +03:00
Rider Linden 766b21a0a6 SL-13533: Use the old name for from_agent_name
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-02 19:05:12 +03:00
Nat Goodspeed 01128f9f94 DRTVWR-476, SL-13528: Use freopen_s() instead of assigning stderr.
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-01 16:29:59 -04:00
Nat Goodspeed d8649dbb8a SL-13361: Enable color processing on Windows 10 debug console.
(cherry picked from commit 0b61150e69)
2020-07-01 13:38:05 -04:00
Nat Goodspeed 4708662091 SL-13361: Distill redundant create_console() code to set_stream().
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 13b78a0c5a)
2020-07-01 13:33:29 -04:00
Nat Goodspeed a075a73920 DRTVWR-476: Merge branch 'SL-9756' into d476. 2020-06-30 16:59:17 -04:00
Rider Linden 01f2308c85 SL-9756: Get the LLSD names right. 2020-06-30 23:13:05 +03:00
Rider Linden f72759c16d SL-9756: IM_TASK_INVENTORY_OFFERED bucket offline format conforms to the online format. 2020-06-30 23:13:05 +03:00
Rider Linden f8e53adce7 SL-9756: Get session_id/transaction id from aux if session is missing. 2020-06-30 23:13:04 +03:00
Rider Linden c8b7466c19 SL-11430, SL-9756: Take transaction-id from offline messages. Correct LLSD names. Use offline flag rather than implicit tests of session_id and aux_id. 2020-06-30 23:13:04 +03:00
Rider Linden e2dd15397c SL-9756: Take the "session_id" from the offline message that was passed. 2020-06-30 23:13:04 +03:00
Kitty Barnett cb4b95b87b Merge branch 'lindenlab/release' into viewer/build 2020-06-27 11:11:00 +02:00
Nat Goodspeed 75b5f72e69 DRTVWR-476, SL-13512: Fix flawed fix for former failure.
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-26 14:40:07 -04:00
Nat Goodspeed e7d3b7cc93 DRTVWR-476: On Windows, request 64-bit compiler
to avoid TeamCity build failures due to 32-bit compiler running out of virtual
memory for precompiled headers.
2020-06-26 11:16:38 -04:00
Nat Goodspeed 1231cb4585 DRTVWR-476, SL-13512: Make suspendUntilTimeout() notice shutdown.
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-25 20:59:04 -04:00
Nat Goodspeed e83613157b DRTVWR-476: Update to dullahan build 544091 2020-06-24 12:03:28 -04:00
Nat Goodspeed b594b05b0a DRTVWR-476: Update to dullahan build 544081 2020-06-24 09:16:00 -04:00
Nat Goodspeed 80ef11de71 DRTVWR-476: Update to dullahan build 544068 2020-06-23 22:06:21 -04:00
Nat Goodspeed 77cf4588df DRTVWR-476: Merge branch 'master' of lindenlab/viewer into d476
following release of D512.
2020-06-23 22:03:43 -04:00
Nat Goodspeed c0087286e7 Increment viewer version to 6.4.5
following promotion of DRTVWR-512
2020-06-23 16:52:36 -04:00
Nat Goodspeed f627140cf1 DRTVWR-476, SL-13467: Make LLTrace::BlockTimerStatHandle keys unique.
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-19 12:33:15 -04:00
Kitty Barnett 3bc3233a0b Merge branch 'viewer/build' into viewer/build 2020-06-09 15:34:00 +02:00
Kitty Barnett 1bc3d1a186 Merge branch 'lindenlab/release' into viewer/build 2020-06-09 15:33:40 +02:00
Kitty Barnett 2fa3ad363a Merge branch 'viewer/build' into viewer/build 2020-06-09 15:29:37 +02:00
Callum Prentice b532f6316b Pull in new version of Dullahan that has a (trivial) fix for SL-13139 chat field on Youtube live is empty. 2020-06-02 13:59:45 -07:00
Callum Prentice d4a38abdf5 Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-512 2020-06-02 13:13:53 -07:00
Nat Goodspeed 50a8c2e41a DRTVWR-476: Merge branch 'master' of bitbucket.org:lindenlab/viewer into d476. 2020-06-02 16:05:56 -04:00
Nat Goodspeed 1702a65665 Increment viewer version to 6.4.4
following promotion of DRTVWR-508
2020-06-02 15:26:22 -04:00
Andrey Kleshchev 4c710e2878 SL-13329 Misalligned checkboxes in inventory filters 2020-05-28 23:25:21 +03:00
Andrey Kleshchev 952ec4bcda SL-12607 Bar color to blue 2020-05-28 20:50:11 +03:00
Andrey Kleshchev 1fe92a9df9 SL-13340 Restored status display for login 2020-05-28 18:22:17 +03:00
Andrey Kleshchev 2e238f0ba8 SL-12665 Readjusted all logos 2020-05-28 17:17:54 +03:00
Andrey Kleshchev 36c27bf5ec SL-12664 readjusted logo #2 2020-05-28 15:34:56 +03:00
Andrey Kleshchev 205546730e SL-12664 readjusted logo 2020-05-28 12:09:08 +03:00
Andrey Kleshchev c47516c442 SL-12607 Reverted to original logos 2020-05-28 11:25:04 +03:00
Nat Goodspeed 1d8cbec4c8 DRTVWR-476: LLMainThreadTask cross-thread test hangs. Skip. 2020-05-27 12:44:18 -04:00
Nat Goodspeed 1f4fbc8d11 DRTVWR-476, VOICE-88, SL-13025: Use a new port every SLVoice launch.
The observed failure is that SLVoice, on relaunch, produces an error that
bind() returned EADDRINUSE and terminates. Using a different port every time
we relaunch avoids that collision.
2020-05-27 12:36:59 -04:00
Nat Goodspeed 095630411c DRTVWR-476: Add "Socket" debug log output for socket operations.
Enable the body of the existing ll_debug_socket() function (on Mac as well as
Linux), but using tag "Socket" so you can turn on its log messages without
emitting *all* debug messages.
2020-05-27 10:42:49 -04:00
Nat Goodspeed a0356e977d DRTVWR-476: Make LLVivoxVoiceClient::logoutOfVivox() wait for logout.
It can happen that we arrive at logoutOfVivox() with some other message
queued on the LLEventMailDrop in question. If logoutOfVivox() assumes that
other message is logout and exits, then subsequent code gets confused.
Introduce a loop to wait (with the existing timeout) for the real logout
message.
2020-05-27 10:39:20 -04:00
Andrey Kleshchev a01f297612 SL-13148 Implemented wheel support for inworld media 2020-05-27 00:30:52 +03:00
Callum Prentice ad1a46affa Fix (has a TOOD) for SL-13203: Parcel media auto-play works when turned off 2020-05-22 13:16:38 -07:00