Commit Graph

46565 Commits (d2294841b2df66f4e684b5eed1cae955cea21cf8)

Author SHA1 Message Date
Nat Goodspeed d2294841b2 SL-18837: Get buildscripts_support_functions from sling-buildscripts
and use these variants for GitHub builds.
2023-06-28 16:58:32 -04:00
Nat Goodspeed 853cf3928c SL-18837: Don't fetch (unmigrated) build-secrets, use GH secrets. 2023-06-28 16:44:03 -04:00
Nat Goodspeed ce3508613b SL-18837: Include actions-build-sh branch in build trigger pushes. 2023-06-28 09:36:25 -04:00
Nat Goodspeed 8a6247e34b SL-18837: Try doing necessary setup to run viewer's own build.sh. 2023-06-27 17:28:58 -04:00
Brad Linden 68a57566b7 SL-18837 fix win32 build warning about missing python-version setting 2023-06-07 17:35:13 -07:00
Brad Linden 3ffa57473d Revert "SL-18837: On Windows, try using py.exe Python stub."
This reverts commit 996ea03d87.
2023-06-07 14:48:24 -07:00
Brad Linden f57de07f73 Attempt to port some build.yaml improvements from DRTVWR-559 over to actions branch 2023-06-07 14:02:01 -07:00
Nat Goodspeed 8140dd050e SL-18837: Try to install llsd in the Python used by py.exe 2023-06-07 16:31:11 -04:00
Nat Goodspeed 104ae678a6 SL-18837: Tell py.exe to use Python 3.9 instead of 3.11 2023-06-07 14:54:56 -04:00
Nat Goodspeed da72e958fe SL-18837: Quote integers used for environment variables 2023-06-07 12:30:46 -04:00
Nat Goodspeed aa906a9b7f SL-18837: Try setting PY_PYTHON and PYLAUNCHER_DEBUG
which should only affect Windows unit tests, but should hopefully improve our
chances that Windows unit tests will succeed.
2023-06-07 12:17:15 -04:00
Nat Goodspeed 996ea03d87 SL-18837: On Windows, try using py.exe Python stub. 2023-06-07 09:31:10 -04:00
Nat Goodspeed 004150a530 SL-18837: Concat path part with / rather than +=.
Using concatenation appends the intended filename to the parent directory
name, instead of putting the filename in the parent directory.
2023-06-06 16:27:43 -04:00
Nat Goodspeed e63c571d13 SL-18837: On Windows, NamedTempFile must convert from wstring 2023-06-06 13:34:01 -04:00
Nat Goodspeed c4366378b6 SL-18837: Ditch Boost.Phoenix implicit lambda syntax.
It's cool to be able to write 'arg1 << "stuff" << var ...;' for a lambda
accepting a std::ostream reference, but cascading compile errors mean it's no
longer worth trying to make that work -- given actual C++ lambdas.

Also clean up a lingering BOOST_FOREACH() and a boost::bind() while at it.
2023-06-06 10:04:26 -04:00
Nat Goodspeed 1db7ac7139 SL-18837: Make NamedTempFile name template compatible with Python.
The recommended template uses hyphens; change to underscores to be valid
Python temp module names.
2023-06-06 10:02:57 -04:00
Nat Goodspeed 6516c9d07d SL-18837: NamedTempFile back to std::function, use boost::phoenix <<
It seems the problem addressed by aab769e wasn't some synergy between
Boost.Phoenix and Boost.Function, but rather the lack of a Phoenix header file
introducing operator<<().
2023-06-06 07:44:42 -04:00
Nat Goodspeed 26ca3e14d6 SL-18837: NamedTempFile must still disambiguate string literals. 2023-06-05 23:46:43 -04:00
Nat Goodspeed aab769e9d7 SL-18837: Make NamedTempFile revert to boost::function
from std::function, since some consumers still use (e.g.)
boost::phoenix::placeholders::arg1 to generate an inline callable.
2023-06-05 23:24:34 -04:00
Nat Goodspeed ca510f6c29 SL-18837: Try giving temp Python scripts a .py extension.
On GitHub Windows Actions runners, we're getting permissions errors trying to
tell the Python interpreter to run a NamedTempFile script. Try using
NamedExtTempFile to give each such script a .py extension.
2023-06-05 22:08:26 -04:00
Nat Goodspeed 6914ff6113 SL-18837: Use Boost.Filesystem for NamedTempFile, instead of APR. 2023-06-05 21:51:28 -04:00
Nat Goodspeed ddc6d21958 SL-18837: Followup to 19e9e8c: global Boost.Bind placeholders
do not need 'using' directive, given BOOST_BIND_GLOBAL_PLACEHOLDERS.
2023-06-05 21:47:52 -04:00
Nat Goodspeed 7a7af9a399 SL-18837: pip install llsd as well as autobuild.
The Python child processes used by llprocess_test.cpp and llleap_test.cpp need
the Python llsd module to communicate with the C++ parent process.

Also set LOGFAIL and BUGSPLAT_DB environment variables.
2023-06-05 14:35:10 -04:00
Nat Goodspeed 19e9e8cf41 SL-18837: Try to silence cascade of Boost.Bind warning messages. 2023-06-05 12:32:10 -04:00
Nat Goodspeed b5e1484c00 SL-18837: Windows APR 1.7.2 requires MS rpcrt4.dll. 2023-06-05 12:22:28 -04:00
Nat Goodspeed 045342ba29 SL-18837: Bump the granularity of WorkQueue timing tests.
On a low-powered GitHub Mac runner, the system doesn't wake up as soon as it
should, and we get spurious "too late" errors. Try a bigger time increment.
2023-06-05 11:28:41 -04:00
Nat Goodspeed 6503c0b2b8 SL-18837: Update apr_suite to release v1.7.2-4d6fcb2. 2023-06-05 10:53:14 -04:00
Nat Goodspeed 524f3b2af0 SL-18837: #include <array> in several sources that need it.
It seems we're no longer implicitly inheriting <array> from some other [set
of] header file[s]. Where we use std::array, bring it in explicitly.
2023-06-05 10:43:16 -04:00
Nat Goodspeed a4a68c4f5e SL-18837: We no longer build Windows apr-iconv -- don't reference.
With VS 2022 on Windows GitHub Actions runners, we can't build apr_suite at
all with the upstream .sln / .vcxproj files, so we had to switch to
"experimental" CMake support. However there's no CMakeLists.txt file for
apr-iconv, so the Windows package omits that library.
2023-06-05 10:39:34 -04:00
Nat Goodspeed 42c69448da SL-18837: Don't include a version-specific Boost.Regex header.
Let the umbrella <regex.hpp> header make that decision.
2023-06-02 17:32:31 -04:00
Nat Goodspeed 6d2d0c8ee5 SL-18837: Boost.Bind _1, _2 placeholders are no longer global.
This was a longstanding complaint: that Boost shouldn't dump the (somewhat
mysterious) _1, _2 et al. names into the global namespace. Recent Boost has
fixed that, requiring 'using namespace boost::placeholders;' if you want to
use them unqualified.
2023-06-02 17:27:57 -04:00
Nat Goodspeed 53c89d9723 SL-18837: Don't try to copy long, specific libnghttp2.14.19.0.dylib.
The package doesn't include that any more.
2023-06-02 16:30:28 -04:00
Nat Goodspeed 659af42ff8 SL-18837: Update apr_suite to release v1.7.2-fb873f5. 2023-06-02 16:05:36 -04:00
Nat Goodspeed 1d43352652 SL-18837: Update libxml2, minizip-ng, colladadom
Update libxml2 to release v2.9.4.7476681.
Update minizip-ng to release v3.0.2.3e9876e.
Update colladadom to release v2.3.d1ef72a.
2023-06-02 13:18:35 -04:00
Nat Goodspeed 3ff43893da SL-18837: Update boost, googlemock
Update boost to release v1.81-90bb2df.
Update googlemock to release v1.7.0.77bba00.
2023-05-19 17:08:35 -04:00
Nat Goodspeed ff995bbba4 SL-18837: Next batch of GitHub actions build updates 2023-05-19 15:08:23 -04:00
Nat Goodspeed 7efe727f26 DRTVWR-558: Merge branch 'main' of secondlife/viewer into actions 2023-05-19 10:43:14 -04:00
Nat Goodspeed ffca94c0b8 SL-18837: Update most packages with GitHub Actions builds.
Not colladadom: a GHA build of something upstream of it produced Mac link
errors seemingly related to zst.

Not xxhash: 3p-xxhash is a private repo, needing the 'public: false' switch in
its build.yaml.
2023-05-19 08:24:59 -04:00
Nat Goodspeed 5a70639b79 Increment viewer version to 6.6.13
following promotion of DRTVWR-577
2023-05-17 09:54:46 -04:00
Nat Goodspeed 8ccfd45d33 SL-18837: Update llphysicsextensions_source, fmodstudio, kdu, slvoice
Update llphysicsextensions_source to release v1.0.d3192c1.
Update fmodstudio to release v2.02.06.8f8fce1.
Update kdu to release v7.10.4.9e770ae.
Update slvoice to release v4.10.0000.32327.5fc3fe7c.399bd0e.
2023-05-15 17:39:32 -04:00
Nat Goodspeed 95fa0ae506 SL-18837: Update fmodstudio, kdu, slvoice
Update fmodstudio to release v2.02.06.c0dea14.
Update kdu to release v7.10.4.2dc3b89.
Update slvoice to release v4.10.0000.32327.5fc3fe7c.db0dc68.
2023-05-15 16:26:28 -04:00
Nat Goodspeed 72d303e765 SL-18837: Update havok-source to release v2012.1-2-b101b57. 2023-05-15 16:00:28 -04:00
Nat Goodspeed 1bdea0b46f SL-18837: AUTOBUILD_GITHUB_TOKEN to authenticate private packages. 2023-05-15 11:36:08 -04:00
Nat Goodspeed 1eb55b3d8e SL-18837: Update apr_suite to release v1.7.2.91ae6ee. 2023-05-15 09:19:19 -04:00
Andrey Kleshchev 250228af25 SL-19660 Updated contributions doc 2023-05-09 17:58:13 +03:00
akleshchev 6c4c57cb47
SL-19660 Merge pull request #199 from beqjanus/main
BUG-233797/233798 - fix blackout when u/w fog_density < 0
2023-05-09 17:55:00 +03:00
Andrey Lihatskiy 55e2d48941 Merge remote-tracking branch 'origin/zap-LLSDArray' into DRTVWR-577-maint-S 2023-05-04 16:09:50 +03:00
Nat Goodspeed e7c5b9fb0f SL-19647: Eliminate LLSDArray entirely.
Newer C++ compilers have different semantics around LLSDArray's special copy
constructor, which was essential to proper LLSD nesting. In short, we can no
longer trust LLSDArray to behave correctly. Now that we have variadic
functions, get rid of LLSDArray and replace every reference with llsd::array().
2023-05-03 17:38:30 -04:00
Nat Goodspeed 3c77c1b90f DRTVWR-575: Replace some LLSDArray() usage with llsd::array().
It seems newer compilers have a different interpretation of exactly when to
engage LLSDArray's copy constructor. In particular, this assignment:

some_LLSD_map[key] = LLSDArray(...)(...)...;

used to convert the LLSDArray object directly to LLSD; now it first calls the
custom copy constructor, which embeds the intended array within an outer array
before assigning it into the containing map.

The newer llsd::array() function avoids that problem because what it returns
is already an LLSD object.

Taking inventory of LLSDArray assignments of that form turned up a number of
workarounds like LLSD(LLSDArray(...)). Replacing those with llsd::array() is
both simpler and more readable.

Tip of the hat to Chorazinallen for surfacing this issue!

(cherry picked from commit bb718155bd)
2023-05-03 12:31:42 -04:00
Beq Janus 8254407854
Merge branch 'main' into main 2023-05-02 21:11:10 +01:00