Commit Graph

39485 Commits (83d5c2b359bde28fec44fd8ef3d8cb1c55a2e8d1)

Author SHA1 Message Date
AndreyL ProductEngine 83d5c2b359 Merged in callum_linden/viewer-release-cve-2019-5786 2019-03-14 19:55:44 +02:00
callum@gmail.com 89f99f6ba4 Pull in Dullahan 1.1.1309 with fix for macOS version 2019-03-12 13:49:21 -07:00
callum_linden c2ff5a2878 Runtime files required by CEF changed in this version of CEF. We add them to the cef-bin and dullahan 3p packages but they were not copied to the right place - now they are 2019-03-08 21:29:32 -08:00
callum@gmail.com 9203140564 Pick up new version of Dullahan (1.1.1301) that doesn't crash because size change for browser surface was initiated too early 2019-03-08 19:12:19 -08:00
callum@gmail.com 9b93382047 pull in updated 3p-cef-bin package: CEF 3.3626.1895.g7001d56 (Chromium 72.0.3626.121) with fix for CVE-2019-5786 2019-03-08 12:48:10 -08:00
AndreyL ProductEngine e4f6e7d842 Merged in lindenlab/viewer-release and incremented viewer version to 6.2.0 2019-03-01 20:03:14 +02:00
Nat Goodspeed 03db2ddc9c increment viewer version to 6.1.1 2019-02-28 18:12:29 -05:00
Nat Goodspeed 1aa013f75b Added tag 6.1.0-release for changeset a3143db58a0f 2019-02-28 18:12:28 -05:00
Nat Goodspeed 765259b200 INTL-318: Fix syntax error in lang_tr.nsi. 2019-02-22 06:03:32 -10:00
Nat Goodspeed c505cf1914 INTL-318: Fix similar syntax error in lang_ru.nsi. 2019-02-22 05:20:09 -10:00
Nat Goodspeed f235317cb2 INTL-318: Fix syntax error in lang_es.nsi. 2019-02-21 20:45:18 -10:00
Nat Goodspeed df840bde0f INTL-318: Add translations for new Windows installer messages. 2019-02-21 19:45:09 -10:00
Nat Goodspeed 3e17a3c84b SL-10506: Try again to attain desired behavior. 2019-02-11 14:20:02 -05:00
Nat Goodspeed 1ff58087a9 SL-10506: Disregard any previous installation. Start from scratch. 2019-02-09 10:51:00 -05:00
AndreyL ProductEngine 3e0e141b76 SL-1036 Update estate access lists on the agent's access level change 2019-02-07 21:59:13 +02:00
Nat Goodspeed e449ad4544 Automated merge with ssh://bitbucket.org/lindenlab/vir-fixes 2019-02-06 15:53:14 -05:00
Nat Goodspeed 0d27cb37bf SL-10469: Update to viewer-manager build 524157 2019-02-06 13:20:26 -05:00
Nat Goodspeed 5196bab897 SL-10469: Remove old-shortcut cleanup cruft: only works for Admin.
The installer is (once again) running with Admin privilege elevation even for
a Standard Windows user, so it can't determine the underlying Standard user.
Therefore it can't clean up any per-user shortcuts left over for that Standard
user. Moved the kludge to SLVersionChecker.
2019-02-06 13:14:17 -05:00
Nat Goodspeed d779a03f0b SL-10469: Add diagnostic popup when trying to delete old shortcuts. 2019-02-06 09:17:06 -05:00
Brad Payne (Vir Linden) 2d3b805b94 SL-10471 - collision volume api 2019-02-06 13:44:54 +00:00
Brad Payne (Vir Linden) a77344516c SL-10471 - animation validation for constraints 2019-02-05 21:38:00 +00:00
Nat Goodspeed d588660db1 SL-10469: Remove any similar shortcuts for old per-user install. 2019-02-05 14:35:36 -05:00
Nat Goodspeed 35bc6df969 SL-9980: Update to viewer-manager build 524032 2019-02-04 13:15:22 -05:00
Nat Goodspeed 899cdb8a1b SL-9980: Update to viewer-manager 524014 to drop Admin for viewer.
But since that viewer-manager build depends on being able to read the
application name from build_data.json (to locate the shortcut), add an AppName
key to build_data.json.
2019-02-02 16:32:22 -05:00
Nat Goodspeed cfbe33d7c7 SL-10396: Disable per-user installs: require Admin for all-users. 2019-02-02 14:01:39 -05:00
Nat Goodspeed aabca008ad DRTVWR-447: Comment out Danish and Polish in one more file. 2019-02-02 13:53:57 -05:00
andreykproductengine 5b64f1939c SL-10153 bat file no longer should be in instal directory 2019-01-18 20:04:44 +02:00
Nat Goodspeed 7204f16636 SL-10153: Update to viewer-manager build 523332 2019-01-18 12:45:40 -05:00
AndreyL ProductEngine 7621b34273 SL-1942 Fixed the estate list change Confirmation messages to show agent names properly 2019-01-18 18:19:27 +02:00
Nat Goodspeed b44fa5b970 SL-10341: Fix Mojave mic permission problem - thanks Tonya Souther! 2019-01-16 14:56:37 -05:00
Nat Goodspeed 2448856c63 SL-10153: Update to viewer-manager build 523251 2019-01-16 14:47:19 -05:00
Nat Goodspeed 4b99e6a1f1 SL-10252: On Windows, use $SystemRoot again, not FOLDERID_Fonts. 2018-12-17 15:23:57 -05:00
Nat Goodspeed 11f23ca436 Automated merge with ssh://bitbucket.org/lindenlab/viewer-bugsplat 2018-12-16 13:51:52 -05:00
Nat Goodspeed f5f504b0f9 DRTVWR-447: Merge up to latest viewer-release 2018-12-16 13:51:15 -05:00
Nat Goodspeed 4a13657285 SL-10153: auto name{expression} declares an initializer_list
instead of a variable of type decltype(expression).

Using SHGetKnownFolderPath(FOLDERID_Fonts) in LLFontGL::getFontPathSystem()
requires new Windows #include files.

A variable with a constructor can't be declared within the braces of a switch
statement, even outside any of its case clauses.
2018-12-15 09:13:24 -05:00
AndreyL ProductEngine 71b3a97a09 increment viewer version to 6.1.0 2018-12-15 15:25:59 +02:00
AndreyL ProductEngine 82aefc8fa6 Merged in lindenlab/viewer-release 2018-12-15 15:24:16 +02:00
Nat Goodspeed 3c53f8abde SL-10153: VS 2013 isn't so fond of ?: involving std::string. 2018-12-14 16:00:09 -05:00
Nat Goodspeed c4096f670c SL-10153: Review and rationalize fetching paths from environment.
Use LLStringUtil::getenv() or getoptenv() whenever we fetch a string that will
be used as a pathname.

Use LLFile::tmpdir() instead of getenv("TEMP").

As an added extra-special bonus, finally clean up $TMP/llcontrol-test-zzzzzz
directories that have been accumulating every time we run a local build!
2018-12-14 15:38:13 -05:00
Nat Goodspeed 132e708fec SL-10153: Fix previous commit for non-Windows systems.
Move Windows-flavored llstring_getoptenv() to Windows-specific section of
llstring.cpp.

boost::optional type must be stated explicitly to initialize with a value.

On platforms where llwchar is the same as wchar_t, LLWString is the same as
std::wstring, so ll_convert specializations for std::wstring would duplicate
those for LLWString. Defend against that.

The compilers we use don't like 'return condition? { expr } : {}', in which we
hope to construct and return an instance of the declared return type without
having to restate the type. It works to use an explicit 'if' statement.
2018-12-14 12:01:51 -05:00
Nat Goodspeed 9ffcafb64b SL-10153: Introduce ll_convert, windows_message() templates.
Add ll_convert<TO, FROM> template, used as (e.g.):
ll_convert<std::string>(value_of_some_other_string_type);
There is no generic template implementation -- the template exists solely to
provide generic aliases for a bewildering family of llstring.h string-
conversion functions with highly-specific names. There's a generic
implementation, though, for the degenerate case where FROM and TO are
identical.

Add ll_convert<> specialization aliases for most of the string-conversion
functions declared in llstring.h, including the Windows-specific ones
involving llutf16string and std::wstring.

Add a mini-lecture in llstring.h about appropriate use of string types on
Windows.

Add LL_WCHAR_T_NATIVE llpreprocessor.h macro so we can detect whether to
provide separate conversions for llutf16string and std::wstring, or whether
those would collide because the types are identical.

Add inline ll_convert_wide_to_string(const std::wstring&) overloads so caller
isn't required to call arg.c_str(), which naturally permits an ll_convert
alias.

Add ll_convert_wide_to_wstring(), ll_convert_wstring_to_wide() as placeholders
for converting between Windows std::wstring and Linden LLWString, with
corresponding ll_convert aliases. We don't yet have library code to perform
such conversions officially; for now, just copy characters.

Add LLStringUtil::getenv(key) and getoptenv(key) functions. The latter returns
boost::optional<string_type> in case the caller needs to detect absence of a
given environment variable rather than simply accepting a default value.
Naturally getenv(), which accepts a default, is implemented using getoptenv().
getoptenv(), in turn, is implemented using an underlying llstring_getoptenv().

On Windows, llstring_getoptenv() returns boost::optional<std::wstring> (based
on GetEnvironmentVariableW()), whereas elsewhere, llstring_getoptenv() returns
boost::optional<std::string> (based on classic Posix getenv()).

The beauty of generic ll_convert is that the portable LLStringUtilBase<T>::
getoptenv() template can call the platform-specific llstring_getoptenv() and
transparently perform whatever conversion is necessary to return the desired
string_type.

Add windows_message<T>(error) template, with an overload that implicitly calls
GetLastError(). We provide a single concrete windows_message<std::wstring>()
implementation because that's what we get from Windows FormatMessageW() --
everything else is a generic conversion to the desired target string type.

This obviates llprocess.cpp's previous WindowsErrorString() implementation --
reimplement using windows_message<std::string>().
2018-12-14 10:48:43 -05:00
Nat Goodspeed a3b3ad727f increment viewer version to 6.0.2 2018-12-13 16:46:12 -05:00
Nat Goodspeed 1de96a0a85 Added tag 6.0.1-release for changeset 21b7604680ef 2018-12-13 16:46:11 -05:00
Nat Goodspeed cbf4295b63 SL-10153: Update to viewer-manager build 522507 2018-12-13 12:02:38 -05:00
Nat Goodspeed 02b9ac8d9a SL-10153: Fix OSMessageBoxWin32() to handle non-ASCII text. 2018-12-11 20:51:51 -05:00
Nat Goodspeed 4e894eb2a7 SL-10153: Improve ll_convert_string_to_wide() and its converse.
Instead of returning a wchar_t* and requiring the caller to delete it later,
return a std::basic_string<wchar_t> that's self-cleaning. If the caller wants
a wchar_t*, s/he can call c_str() on the returned string.

Default the code_page parameter to CP_UTF8, since we try to be really
consistent about using UTF-8 encoding for all our internal std::strings.
2018-12-11 20:48:20 -05:00
Nat Goodspeed bb4a649b9c SL-10153: Validate APPDATA, LOCALAPPDATA by checking existence. 2018-12-11 15:47:29 -05:00
Nat Goodspeed d72dd8a35d SL-10153: Update to viewer-manager build 522465 2018-12-11 15:47:17 -05:00
Nat Goodspeed 63d6016791 SL-10153: Update to viewer-manager build 522443 2018-12-11 09:06:41 -05:00
Nat Goodspeed 9479d422d4 SL-10153: Use a degenerate singleton for PRELOG log file.
The previous build declared a static std::ofstream; but the code that
determines the pathname for the log file is called so early that static
objects have not yet been constructed. Declare a pointer instead, and
instantiate it on demand.
2018-12-10 17:14:31 -05:00