Commit Graph

47399 Commits (819604d2cee6d4527cc436bebfacddf8642635ff)

Author SHA1 Message Date
Nat Goodspeed 819604d2ce SL-20546: Make dependency on build job explicit, not indirect.
The release job has been dependent on sign-and-package-windows and
sign-and-package-mac, each of which depends on build. But that indirect
dependency doesn't convey access to ${{ needs.build.outputs.xxx }}. Add the
build job to direct dependencies so release can access its outputs.
2023-11-15 09:44:38 -05:00
Nat Goodspeed d255c3dda8 DRTVWR-588: Try to fix sporadic llrand test failures.
With GitHub viewer builds, every few weeks we've seen test failures when
ll_frand() returns exactly 1.0. This is a problem for a function that's
supposed to return [0.0 .. 1.0).

Monty suggests that the problem is likely to be conversion of F32 to F64 to
pass to fmod(), and then truncation of fmod()'s F64 result back to F32. Moved
the clamping code to each size-specific ll_internal_random specialization.

Monty also noted that a stateful static random number engine isn't
thread-safe. Added a mutex lock.
2023-11-14 20:29:51 -05:00
Nat Goodspeed 6654ad14ee SL-20546: Add PyGithub to installed Python packages. 2023-11-14 14:30:44 -05:00
Nat Goodspeed 59eeaed118 SL-20546: Try harder to infer the branch corresponding to build tag. 2023-11-14 14:20:51 -05:00
Nat Goodspeed 9e99bb04a3 SL-20546: Append generated release notes body to our explicit body.
For a tag build that generates a release page, try to deduce the git branch to
which the tag we're building corresponds and add that to release notes.
2023-11-14 04:09:56 -05:00
Nat Goodspeed 5f1008ab6b DRTVWR-588: Enlarge default coroutine stack size.
On a Windows CI host, we got the dreaded rc 3221225725 aka c00000fd aka stack
overflow.
2023-10-31 12:05:07 -04:00
Nat Goodspeed 6fb9a4640b DRTVWR-588: Try to make threadsafequeue timing more robust.
The test was coded to push (what's intended to be) the third entry with
timestamp (now + 200ms), then (what's intended to be) the second entry with
timestamp (now + 100ms).

The trouble is that it was re-querying "now" each time. On a slow CI host, the
clock might have advanced by more than 100ms between the first push and the
second -- meaning that the second push would actually have a _later_
timestamp, and thus, even with the queue sorting properly, fail the test's
order validation.

Capture the timestamp once, then add both time deltas to the same time point
to get the relative order right regardless of elapsed real time.
2023-10-31 12:03:03 -04:00
Nat Goodspeed f71662225e SL-20546: Add viewer channel and full version to GitHub release page. 2023-10-31 10:50:39 -04:00
Andrey Lihatskiy 1891a43a26 Merge branch 'main' into DRTVWR-588-maint-W 2023-10-25 21:47:05 +03:00
Nat Goodspeed e4d6a08941 SL-18837: Build all branches on GitHub now. 2023-10-25 14:39:31 -04:00
Andrey Lihatskiy c130070f70 Merge branch 'main' into DRTVWR-588-maint-W 2023-10-25 21:37:23 +03:00
Nat Goodspeed 732fedbe8f Increment viewer version to 6.6.17
following promotion of DRTVWR-578
2023-10-25 14:31:48 -04:00
Andrey Lihatskiy 47d339aa10 Merge branch 'main' into DRTVWR-588-maint-W
# Conflicts:
#	autobuild.xml
2023-10-25 21:29:12 +03:00
Andrey Kleshchev 052be579b6 SL-20422 Unit test fix 2023-10-20 12:25:16 +02:00
Nat Goodspeed 2e8e96cfbc PIE-1057: viewer-build-util's azure branch has been merged to main. 2023-10-18 17:44:07 -04:00
Nat Goodspeed ce791fdc59 PIE-1057: Merge branch 'actions-azure' into actions
for new Windows code signing mechanism.
2023-10-18 17:41:52 -04:00
Nat Goodspeed 651353560b SL-20476: Don't let the compiler know we intend to crash.
clang has gotten smart enough to recognize an inline attempt to store to
address zero. Fool it by storing to an address passed as a parameter, and pass
nullptr from a different source file.
2023-10-17 14:56:10 -04:00
Nat Goodspeed 117f07e5a4 SL-18837: Avoid stuffing build number into 32-bit int.
Even though LLVersionInfo::getBuild() already returns a 64-bit int, various
consumers assumed it could fit into 32 bits. It was especially bad to pass it
to a classic C style varargs function. Only on a little-endian CPU, and only
because it was the last argument, the damage was limited to truncation --
instead of arbitrary undefined behavior.

Where the consumer doesn't support 64-bit ints, pass as string instead.
2023-10-17 06:33:05 -04:00
Nat Goodspeed 19f453fc20 SL-18837: Second Life Release.app=>Second Life Viewer.app in tarball 2023-10-16 19:46:37 -04:00
Nat Goodspeed 016023c780 SL-18837: Create Second Life Viewer.app, not Second Life Release.app 2023-10-16 19:04:23 -04:00
RunitaiLinden f635fe0870 SL-20473 Add GenericStreamingMessage and dummy handler to suppress packet loss and log spam noise when visiting GLTF enabled regions. 2023-10-16 16:25:23 -05:00
Nat Goodspeed f6d872a027 PIE-1057: Pass sign-pkg-windows@azure the Azure-related secrets. 2023-10-13 15:11:30 -04:00
Alexander Gavriliuk 8d27c7db42 SL-20422 Mac build fix 2023-10-13 19:20:09 +02:00
Nat Goodspeed 56911455e0 SL-18837: Update dullahan to v118.0.5993.54
This includes this week's CEF 118.
2023-10-13 09:32:53 -04:00
Alexander Gavriliuk cdbca65653 SL-20422 Unit-tests fix 2023-10-13 11:22:50 +02:00
Nat Goodspeed 549e56572b PIE-1057: Engage viewer-build-util azure branch. 2023-10-12 17:25:30 -04:00
Nat Goodspeed f5a34fd074 SL-18837: Unify all llrand_test.cpp in-range tests.
The header file documents that no llrand function should ever return a value
equal to the passed extent, so the one test in llrand_test.cpp that checked
less than or equal to the high end of the range was anomalous.

But changing that to an exclusive range means that we no longer need separate
exclusive range and inclusive range functions. Replace
ensure_in_range_using(), ensure_in_exc_range() and ensure_in_inc_range() with
a grand unified (simplified) ensure_in_range() function.
2023-10-12 16:55:04 -04:00
Nat Goodspeed be5a6e6179 SL-18837: Update openal to v1.23.1-18e315c 2023-10-12 13:32:50 -04:00
Alexander Gavriliuk 70988ede9e SL-20422 Clicking the 'Bring it back' link on Aditi displays a teleport alert 2023-10-12 18:32:43 +02:00
Nat Goodspeed 787ca67b5f SL-18837: Update llca to v202310121525.0-d22bd98 2023-10-12 11:32:25 -04:00
Alexander Gavriliuk b134e91d2a SL-20419 Receiving new objects or items, etc causes inventory to switch from recent to my inventory tab 2023-10-11 21:22:30 +02:00
Alexander Gavriliuk 3e4fd9a20c SL-20378 Add menu bar entry and keyboard shortcut to open Notifications floater 2023-10-11 16:00:45 +02:00
Alexander Gavriliuk 366d443999 SL-20370 Change PDT to SLT on menu bar 2023-10-11 15:21:42 +02:00
Alexander Gavriliuk ef2a7fee11 SL-20432 Minor polishing in LLWearableItemsList::updateChangedItems 2023-10-11 15:21:27 +02:00
Alexander Gavriliuk c6a82a44f8 SL-20432 Buildfix 2023-10-11 14:40:20 +02:00
Alexander Gavriliuk 45a1a94a35 SL-20432 Filtering My Outfits with big number of items freezes UI 2023-10-11 08:40:50 +02:00
Alexander Gavriliuk e9ffe7ee47 SL-20288 Lags in Appearance floater (code format in LLAccordionCtrl) 2023-10-10 23:29:51 +02:00
Andrey Lihatskiy fa5a705f6e DRTVWR-588 Update viewer-manager to 3.0-f48e635 2023-10-10 22:52:59 +03:00
Andrey Kleshchev dc2fc3488d Revert "SL-18721 Viewer shutdown order changes"
This reverts commit edf0874e06.
Reverted since it causes a significant uptick in shutdown freezes.
Can't repro those freezes, will seek an alternate solution.
2023-10-10 22:38:36 +03:00
Alexander Gavriliuk eb7ab13000 SL-20288 Lags in Appearance floater 2023-10-10 02:40:52 +02:00
Alexander Gavriliuk 393896be16 SL-20420 Emoji - Increase nearby chat history buffer size 2023-10-06 23:09:54 +02:00
Nat Goodspeed 6d3fa5f13f SL-18837: Update Tracy to 0.8.1-235e98f 2023-10-06 12:25:13 -04:00
Nat Goodspeed 909371d080 SL-18837: Remove 32-bit Windows package entries.
glext, which contains only header files, now builds only a single common
package instead of platform-specific ones. But as long as we retain the
platform-specific URLs, autobuild will continue to prefer those over the
common platform. Remove all platform-specific glext package entries.
2023-10-06 11:52:42 -04:00
Nat Goodspeed 093b6a1494 SL-18837: Update to Dullahan 1.14.0 with CEF 117 2023-10-06 06:55:34 -04:00
Nat Goodspeed 7648978397 SL-18837: Name the release for the build number to readily find it. 2023-10-05 15:25:54 -04:00
Andrey Kleshchev 4bff253101 SL-19311 Grey textures after teleport 2023-10-05 22:03:44 +03:00
Nat Goodspeed 7504b1c319 SL-18837: When llrand_test.cpp fails, display the failing value.
It's frustrating and unactionable to have a failing test report merely that
the random value was greater than the specified high end. Okay, so what was
the value? If it's supposed to be less than the high end, did it happen to be
equal? Or was it garbage? We can't reproduce the failure by rerunning!

The new ensure_in_exc_range(), ensure_in_inc_range() mechanism is somewhat
complex because exactly one test allows equality with the high end of the
expected range, where the rest mandate that the function return less than the
high end. If that's a bug in the test -- if every llrand function is supposed
to return less than the high end -- then we could simplify the test logic.
2023-10-05 10:17:09 -04:00
Nat Goodspeed 18b8a68c46 SL-18837: Merge branch 'actions-clean-manifest' into actions.
This branch cleans up crufty code in build.yaml, build.sh and
viewer_manifest.py that was packaging, signing and uploading installers before
the SL-19242 work.
2023-10-04 20:46:22 -04:00
Nat Goodspeed 1570153a84 SL-18837: build.sh shouldn't even check for an installer.
We no longer package the installer before this point, and we want to upload
symbol files even so.
2023-10-04 19:40:46 -04:00
Alexander Gavriliuk 45d11733e8 SL-20348 Focus should be in the chat bar when the Conversations floater is opened 2023-10-05 01:35:42 +02:00