<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/test/namedtempfile.h, branch 26.3</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=26.3</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=26.3'/>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/'/>
<updated>2024-04-29T04:56:09Z</updated>
<entry>
<title>#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed</title>
<updated>2024-04-29T04:56:09Z</updated>
<author>
<name>Andrey Lihatskiy</name>
<email>alihatskiy@productengine.com</email>
</author>
<published>2024-04-29T04:43:28Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=1b68f71348ecf3983b76b40d7940da8377f049b7'/>
<id>urn:sha1:1b68f71348ecf3983b76b40d7940da8377f049b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-18837: Make llsdserialize_test debug output conditional.</title>
<updated>2023-09-08T18:14:09Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-09-08T18:14:09Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=c7546ea65e55143ff3d2d82d8c289bbac7fffe0f'/>
<id>urn:sha1:c7546ea65e55143ff3d2d82d8c289bbac7fffe0f</id>
<content type='text'>
Move hexdump() and hexmix() stream formatters to new hexdump.h for potential
use by other tests.

In toPythonUsing() helper function, add a temp file to receive Python script
debug output, and direct debug output to that file. On test failure, dump the
contents of that file to the log.

Give NamedTempFile::peep() an optional target std::ostream; refactor
implementation as peep_via() that accepts a callable to process each text
line. Add operator&lt;&lt;() to stream the contents of a NamedTempFile object to
ostream -- but don't use that with LL_DEBUGS(), as it flattens the file
contents into a single log line. Instead add peep_log(), which streams each
individual text line to LL_DEBUGS().
</content>
</entry>
<entry>
<title>SL-18837: NamedTempFile must be binary mode on Windows.</title>
<updated>2023-09-08T13:50:38Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-09-08T13:50:38Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=eb8458587537e06df23447db56b9910a0d4e451e'/>
<id>urn:sha1:eb8458587537e06df23447db56b9910a0d4e451e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-18837: Try to bypass Windows perm problem with Python indirection.</title>
<updated>2023-07-07T18:07:12Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-07-07T18:07:12Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=e933ace53b24b732d4111169e3c5964a8591a29e'/>
<id>urn:sha1:e933ace53b24b732d4111169e3c5964a8591a29e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-18837: Try putting generated Python scripts in RUNNER_TEMP dir.</title>
<updated>2023-07-07T14:06:02Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-07-07T14:06:02Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=f54c1215676f26480d88b4588bb0eeb9c05f50d9'/>
<id>urn:sha1:f54c1215676f26480d88b4588bb0eeb9c05f50d9</id>
<content type='text'>
The claim is that the Windows Python interpreter is integrated somehow with
the OS such that a command line that tries to run Python with a script that
"looks suspicious" (i.e. in a system temp directory) fails with "Access
denied" without even loading the interpreter. At least that theory would
explain the "Access denied" errors we've been getting trying to run Python
scripts generated into the system temp directory by our integration tests.

Our hope is that generating such scripts into the GitHub RUNNER_TEMP directory
will work better.

As this test is specific to Windows, don't even bother running Mac builds.
</content>
</entry>
<entry>
<title>SL-18837: Concat path part with / rather than +=.</title>
<updated>2023-06-06T20:27:43Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-06-06T20:27:43Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=004150a5305d0df06c52a51a0df3ac26dd4a63cd'/>
<id>urn:sha1:004150a5305d0df06c52a51a0df3ac26dd4a63cd</id>
<content type='text'>
Using concatenation appends the intended filename to the parent directory
name, instead of putting the filename in the parent directory.
</content>
</entry>
<entry>
<title>SL-18837: On Windows, NamedTempFile must convert from wstring</title>
<updated>2023-06-06T17:34:01Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-06-06T17:34:01Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=e63c571d1336e3c521e1fc3a5e27bb77fc667790'/>
<id>urn:sha1:e63c571d1336e3c521e1fc3a5e27bb77fc667790</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SL-18837: Make NamedTempFile name template compatible with Python.</title>
<updated>2023-06-06T14:02:57Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-06-06T14:02:57Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=1db7ac7139adf505be12308fd7ba2920f5beecde'/>
<id>urn:sha1:1db7ac7139adf505be12308fd7ba2920f5beecde</id>
<content type='text'>
The recommended template uses hyphens; change to underscores to be valid
Python temp module names.
</content>
</entry>
<entry>
<title>SL-18837: NamedTempFile back to std::function, use boost::phoenix &lt;&lt;</title>
<updated>2023-06-06T11:44:42Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-06-06T11:44:42Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=6516c9d07db42beba5ba9c0c41a33925794a249c'/>
<id>urn:sha1:6516c9d07db42beba5ba9c0c41a33925794a249c</id>
<content type='text'>
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&lt;&lt;().
</content>
</entry>
<entry>
<title>SL-18837: NamedTempFile must still disambiguate string literals.</title>
<updated>2023-06-06T03:46:43Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2023-06-06T03:46:43Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=26ca3e14d623e4094dde76ad88e3da2a209483b5'/>
<id>urn:sha1:26ca3e14d623e4094dde76ad88e3da2a209483b5</id>
<content type='text'>
</content>
</entry>
</feed>
