phoenix-firestorm/indra/test
Nat Goodspeed 5002bf5660 MAINT-8087: Use env vars from VMP for AppData\Roaming and Local.
On Windows, when logged in with a non-ASCII username, every one of the three
documented APIs -- SHGetSpecialFolderPath(), SHGetFolderPath() and
SHGetKnownFolderPath() -- fails to retrieve any pathname at all. We cannot
account for the fact that the oldest of these continues to work with the
release viewer and within a Python script (though not, curiously, from a
Python interactive session). With a non-ASCII username, they consistently fail
when called from an Alex Ivy viewer build: "The filename, directory name, or
volume label syntax is incorrect."

Empirically, with a non-ASCII username, the preset APPDATA and LOCALAPPDATA
environment variables are also useless, e.g. c:\Users\??????\AppData\Roaming
where those are, yup, actual question marks.

Empirically, the VMP is able to successfully call SHGetFolderPath() to
retrieve both AppData\Roaming and AppData\Local. Therefore, we make the VMP
set the APPDATA and LOCALAPPDATA environment variables to the UTF-8 encoded
correct pathnames. Instead of calling SHGetSomethingFolderPath() at all, make
LLDir_Win32 retrieve those environment variables.

Make LLFile::mkdir() treat "directory already exists" as a success case. Every
single call fell into one of two categories: either it didn't check success at
all, or it tested specially to exempt errno == EEXIST. Migrate that test into
mkdir(); eliminate it from call sites.

Make LLDir::append() and add() convenience functions accept variadic
arguments. Replace add(add()...) constructs, as well as clumsy concatenations
of directory names and getDirDelimiter(), with simple variadic add() calls.
2017-12-20 22:51:26 -05:00
..
CMakeLists.txt MAINT-8087: Use env vars from VMP for AppData\Roaming and Local. 2017-12-20 22:51:26 -05:00
blowfish.1.bin
blowfish.2.bin
blowfish.digits.txt remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
blowfish.pl
catch_and_store_what_in.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
debug.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
io.cpp merge with 4.0.3-release 2016-04-04 15:53:09 -04:00
llapp_tut.cpp DRTVWR-418: Unify control flow through LLAppViewer across platforms. 2016-06-30 16:51:50 -04:00
llassetuploadqueue_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llblowfish_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llbuffer_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lldatapacker_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lldoubledispatch_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llevents_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llhttpdate_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llhttpnode_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lliohttpserver_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llmessageconfig_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llmessagetemplateparser_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llpermissions_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llpipeutil.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llpipeutil.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llsaleinfo_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llsd_new_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llsdmessagebuilder_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llsdmessagereader_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llsdtraits.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llsdutil_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llservicebuilder_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llstreamtools_tut.cpp DRTVWR-418: Fix streamtools test. 2016-12-19 15:58:52 -05:00
lltemplatemessagebuilder_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lltimestampcache_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lltranscode_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lltut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lltut.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
lluserrelations_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
llxorcipher_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
message_tut.cpp Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2016-08-30 11:36:06 -04:00
mock_http_client.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
mock_http_client.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
namedtempfile.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
prim_linkability_tut.cpp remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
test.cpp MAINT-7758 Fixed freeze on loading lsl scripts from unicode named windows folder. 2017-08-30 19:57:02 +03:00
test.h remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
test_llmanifest.py