<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tools/slang-test/unit-test-path.cpp, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2021-09-24T18:33:44+00:00</updated>
<entry>
<title>Move existing unit tests to a standalone dll. (#1945)</title>
<updated>2021-09-24T18:33:44+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2021-09-24T18:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=bec8e6aec85b6e3f875c58bdd59eb15613978358'/>
<id>urn:sha1:bec8e6aec85b6e3f875c58bdd59eb15613978358</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support for escaped paths in tools (#1823)</title>
<updated>2021-04-29T13:01:46+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2021-04-29T13:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=972bd3c4c24b06501c52127416afb763a066b8ad'/>
<id>urn:sha1:972bd3c4c24b06501c52127416afb763a066b8ad</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Split out StringEscapeUtil.

* Added StringEscapeUtil.

* Fix typo in unix quoting type.

* Small comment improvements.

* Try to fix linux linking issue.

* Fix typo.

* Attempt to fix linux link issue.

* Update VS proj even though nothing really changed.

* Fix another typo issue.

* Fix for windows issue.
Fixed bug.

* Make separate Utils for escaping.

* Fix typo.

* Split out into StringEscapeHandler.

* Windows shell does handle removing quotes (so remove code to remove them).

* Handle unescaping if not initiating using the shell.

* Slight improvement around shell like decoding.

* Simplify command extraction.

* Add shared-library category type.

* Fix bug in command extraction.

* Typo in transcendental category.

* Enable unit-test on in smoke test category.

* Make parsing failing output as a failing test.

* Fixes for transcendental tests. Disable tests that do not work.

* Changed category parsing.

* Removed the TestResult parameter from _gatherTestsForFile.
Made testsList only output.

* Remove testing if all tests were disabled.

* Fix typo.

* Disable path canonical test on linux because CI issue.</content>
</entry>
<entry>
<title>Fix for TC problem with Path unit test (#1621)</title>
<updated>2020-12-02T13:45:08+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2020-12-02T13:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=e631a2599babac42d3032adc0c6d17fa7d342e80'/>
<id>urn:sha1:e631a2599babac42d3032adc0c6d17fa7d342e80</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Hopefully fix for TC issue where canonical path causes problems - perhaps because on test machines visibility of paths outside the build environment is limited.</content>
</entry>
<entry>
<title>Fixed building on CygWin with clang gcc (#953)</title>
<updated>2019-04-25T12:51:12+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-04-25T12:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=c84e7c0fa526de51f380227a6667f723af36aea2'/>
<id>urn:sha1:c84e7c0fa526de51f380227a6667f723af36aea2</id>
<content type='text'>
* * Make Path:: use lowerCamel method names as per coding standard
* Small improvements to make closer to standard
* GetDirectoryName -&gt; getParentDirectory - previous method name's action was somewhat unclear, hopefully this is better

* * Can build on clang and gcc on CygWin
* Fix problem on cygwin loading shared libraries
* Renamed Path::isRelative to ::hasRelativeElement because isRelative implies the path is 'relative to the current path' and which isn't quite what it does
* Documented how to build for CygWin

* * Fix small bug creating platform shared library name.
* Small typo fixes in building.md
</content>
</entry>
<entry>
<title>* Make Path:: use lowerCamel method names as per coding standard (#952)</title>
<updated>2019-04-24T15:18:58+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-04-24T15:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1004f50bd7d0032411a564ad4625055e982902ea'/>
<id>urn:sha1:1004f50bd7d0032411a564ad4625055e982902ea</id>
<content type='text'>
* Small improvements to make closer to standard
* GetDirectoryName -&gt; getParentDirectory - previous method name's action was somewhat unclear, hopefully this is better</content>
</entry>
<entry>
<title>Path simplification/hash mode, plus bug fixes (#788)</title>
<updated>2019-01-21T20:33:59+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-01-21T20:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=0a3ef7b4ae02983ea3f986ba8211e7c6af9d254b'/>
<id>urn:sha1:0a3ef7b4ae02983ea3f986ba8211e7c6af9d254b</id>
<content type='text'>
* * Fix memory bug around expanding va_args - needed buffer to have space for terminating 0
* Fix problem with FileWriter defaults being globals, as memory they allocate, will only be freed after return from main - work around by making StdWriters RefObject derived, and kept in scope such the writers are destroyed before checks for leaks is found
* Added SimplifyPathAndHash mode for CacheFileSystem - will simplify the path and see if simplified path is in cache before reading file (limiting amout of underlying file requests)

* * Added calcReplaceChar
* Renamed DefaultFileSystem to OSFileSystem
* Made OSFileSystem convert windows \ to / on linux

* Simplified logic for caching in CacheFileSystem.

* Added pragma-once-c to add extra test, but also so there is an 'include' directory in preprocessor tests.

* Small fixes in pragma once test.

* Simplified cache handling path, so that paths/simplified paths area always added.

* Improve naming of methods for different caches.
</content>
</entry>
<entry>
<title>Feature/file system cache (#692)</title>
<updated>2018-10-26T12:16:54+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2018-10-26T12:16:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=cb9d679a3a93c65c44904bf77811b9d74e431e23'/>
<id>urn:sha1:cb9d679a3a93c65c44904bf77811b9d74e431e23</id>
<content type='text'>
* First pass at caching file system.

* default-file-system -&gt; slang-file-system
fix problem with location("build.linux") confusing windows build for now.

* Added CompressedResult
Fix problem in Result construction with it being unsigned

* Add support for Path simplification.

* Testing for Path::Simplify.

* Refactored CacheFileSystem - automatically handles ISlangFileSystem or ISlangFileSystemExt appropriately.
Removed WrapFileSystem - because wasn't possible to emulate some of the behavior if just loadFile is implemented.
Split out StringBlob - so that no need to convert between ISlangBlob and String repeatidly.

* Remove unwanted code in ~CompileRequest
</content>
</entry>
<entry>
<title>Feature/include refactor (#675)</title>
<updated>2018-10-16T22:49:11+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2018-10-16T22:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=3e74d39f24fdfaa547ce900be177863e2bfe2dea'/>
<id>urn:sha1:3e74d39f24fdfaa547ce900be177863e2bfe2dea</id>
<content type='text'>
* Refactor of path handling.
* Added PathInfo
* Changed ISlangFileSystem - such that has separate concepts of reading a file, getting a relative path and getting a canonical path
* Added support for getting a canonical path for windows/linux
* Made maps/testing around canonicalPaths
* User output remains around 'foundPath' - which is the same as before

* Small improvements around PathInfo
* Added a type and make constructors to make clear the different 'path' uses
* Fixed bug in findViewRecursively

* Checking and reporting for ignored #pragma once.

* Removed SLANG_PATH_TYPE_NONE as doesn't serve any useful purpose.

* Improve comments in slang.h aroung ISlangFileSystem

* Remove the need for &lt;windows.h&gt; in slang-io.cpp

* Ran premake5.

* Improvements and fixes around PathInfo.

* Fix typo on linix GetCanonical

* Make the ISlangFileSystem the same as before, and ISlangFileSystem contain the new methods.
Internally it always uses the ISlangFileSystemExt, and will wrap a ISlangFileSystem with WrapFileSystem, if it is determined (via queryInterface) that it doesn't implement the full interface.
</content>
</entry>
</feed>
