Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-14 | SL-10153: Introduce ll_convert, windows_message() templates. | Nat Goodspeed | |
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 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2018-12-13 | increment viewer version to 6.0.2 | Nat Goodspeed | |
2018-12-13 | Added tag 6.0.1-release for changeset 21b7604680ef | Nat Goodspeed | |
2018-12-13 | SL-10236 The "Attach To", "Attach To HUD", and "Wear" options aren't greyed out | andreykproductengine | |
2018-12-14 | SL-10233 FIXED 'Default' button doesn't work in 'Pick:Texture' floater for ↵ | maxim_productengine | |
multiple selections with different textures | |||
2018-12-14 | Merged in lindenlab/viewer-lynx | AndreyL ProductEngine | |
2018-12-13 | SL-10153: Update to viewer-manager build 522507 | Nat Goodspeed | |
2018-12-13 | SL-10229 FIXED Group icon doesn't display by default in the People and ↵ | maxim_productengine | |
Profile floaters after creating new group | |||
2018-12-13 | SL-1481 Time limit should be per object | andreykproductengine | |
2018-12-12 | SL-10231 Bug in texture cache size computation | andreykproductengine | |
2018-12-13 | SL-10228 FIXED HTTP/HTTPS URL in the object name is represented as a ↵ | maxim_productengine | |
hyperlink in message floater | |||
2018-12-11 | SL-10153: Fix OSMessageBoxWin32() to handle non-ASCII text. | Nat Goodspeed | |
2018-12-11 | SL-10153: Improve ll_convert_string_to_wide() and its converse. | Nat Goodspeed | |
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-12 | INTL-324 added support for TLS failure dialog localization | AndreyL ProductEngine | |
2018-12-12 | SL-9512 Move constant to common place | andreykproductengine | |
2018-12-11 | SL-10153: Validate APPDATA, LOCALAPPDATA by checking existence. | Nat Goodspeed | |
2018-12-11 | SL-10153: Update to viewer-manager build 522465 | Nat Goodspeed | |
2018-12-11 | SL-10176 - [Love Me Render] MacOS Quit / Shutdown crash | ruslantproductengine | |
2018-12-11 | SL-10153: Update to viewer-manager build 522443 | Nat Goodspeed | |
2018-12-10 | SL-10153: Use a degenerate singleton for PRELOG log file. | Nat Goodspeed | |
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 | INTL-318: Stop processing Danish and Polish language files. | Nat Goodspeed | |
2018-12-10 | SL-10092 Autoreplace Keyword was not working with non-English characters | andreykproductengine | |
2018-12-09 | SL-10001 Fixed scale | andreykproductengine | |
2018-12-08 | SL-10153: Add ole32 to WINDOWS_LIBRARIES so it's everywhere we need. | Nat Goodspeed | |
2018-12-08 | SL-10153: Need ole32 for new Windows call to CoTaskMemFree(). | Nat Goodspeed | |
2018-12-08 | SL-10153: Try to handle non-English non-ASCII Windows APPDATA. | Nat Goodspeed | |
2018-12-08 | SL-10153: Update to viewer-manager build 522407 | Nat Goodspeed | |
2018-12-06 | SL-10174: LOCALAPPDATA bad? Try SHGetFolderPath(CSIDL_LOCAL_APPDATA). | Nat Goodspeed | |
This logic is essentially copy-and-edited from the same suspenders-and-belt concerning APPDATA and CSIDL_APPDATA for SL-10153. | |||
2018-12-06 | SL-10172 Add a KB link to the TLS failure dialog | andreykproductengine | |
2018-12-07 | SL-10175 Update copyright year in application info | Mnikolenko ProductEngine | |
2018-12-05 | SL-10153: Update to viewer-manager build 522314 | Nat Goodspeed | |
2018-12-05 | SL-10153: If $APPDATA isn't already good, try SHGetFolderPath(). | Nat Goodspeed | |
In that case, also update $APPDATA for child processes. | |||
2018-12-05 | DRTVWR-447: Fix BugSplat init with non-ASCII chars in install path. | Nat Goodspeed | |
The whole remaining difference between llifstream and std::ifstream is that the former handles UTF-8 coded pathnames. Microsoft's implementation of the latter does not. | |||
2018-12-04 | Merged INTL-316 | AndreyL ProductEngine | |
2018-12-04 | SL-10153: Update to viewer-manager build 522260 | Nat Goodspeed | |
2018-12-04 | SL-1481 Don't predict region crossings over a second | andreykproductengine | |
2018-12-04 | Merged in lindenlab/viewer-lynx | AndreyL ProductEngine | |
2018-12-04 | mac build fix | AndreyL ProductEngine | |
2018-12-04 | SL-10149 FIXED 'Mute when minimized' checkbox is displayed without focus on ↵ | maxim_productengine | |
it after pressing on label in the "Preferences" floater | |||
2018-12-03 | FIX INTL-316 translate Viewer Set54 into 9 languages, for Animesh project ↵ | eli | |
Viewer (repository: axon) | |||
2018-12-03 | SL-10153: Update to viewer-manager build 522217 | Nat Goodspeed | |
2018-12-03 | SL-10153: Update to viewer-manager build 522199 | Nat Goodspeed | |
2018-12-03 | SL-10152 Uninstaller's offers to delete remaining files is problematic | andreykproductengine | |
2018-12-03 | SL-10080 clamp instead of llmax | andreykproductengine | |
2018-12-03 | SL-10150 'Preset in use' shows last used preset name after deleting it | maxim_productengine | |
2018-11-30 | SL-10147: Copy placeholder English text to supported NSIS languages. | Nat Goodspeed | |
2018-11-30 | SL-10145 Right clicking on unselected link in editor near selected text ↵ | andreykproductengine | |
shows wrong menu | |||
2018-11-29 | fix typo | Anchor | |
2018-11-29 | SL-10030: Update to viewer-manager build 522096 | Nat Goodspeed | |