You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzFramework/AzFramework
lumberyard-employee-dm e638f27572
Fixed PathView `MakeRelativeTo` and `Append` functions path segment comparisons (#3628)
* Fixed PathView `MakeRelativeTo` and `Append` functions path segment
comparisons  when using the Windows path separator of '\'

The PathSegment comparisons were case-sensitive in both those functions
and now use `Internal::ComparePathSegments` function to perform the
appropriate case comparison based on the path separator value of the
Path class

Reverted the LocalFileIO::CheckInvalidWrite function back to not
lowercasing the assets alias and input path before invoking
`PathView::IsRelativeTo`

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Simplified the LocalFileIO::ConvertToAliasBuffer logic

Fix for the ArchiveTest
`IResourceList_Add_AbsolutePath_RemovesAndReplacesWithAlias` and
`TestArchiveViaFileIO` test

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added a PathIterable structure stores a non-heap container of normalized path segments of an input path.

Moved the PathParser logic to a PathParser.inl file

Removed dependency of the PathView::IsRelativeTo logic on FixedMaxPath
There is no longer a 1024 character limit when determining if a path is relative to a base
Added a GetNormalPathParts and AppendNormalPathParts to function and removed LexicallyNormalInplace to share the logic for creating a normalized path between IsRelativeTo and LexicallyNormal

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Clang PathIterable.inl build fix

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed Normalize and Relative Path functions initialize the result paths

With the correct path separator for the paths being transformed

Ported over the Custom Path Root Separator logic to the PathParser.inl

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated he Shader Preprocessor include path gather.

It now uses AZ::IO::Path for the path operations and checks if the path
exist before adding it to the list of include paths.

Finally the set logic has been removed for a simpler find_if check to
see if the include path already since in the project include paths

This fixes the Asset Processing issues with shader includes due to the
Path.inl changes

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed tail recursion call to AppendNormalPathParts to supply a PathView with the same path separator as the parent call

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Adding reference qualifier overloads to the Path class Native function

Removed the conversion operators from the Path class for converting to a
string_type&/const string_type&

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
5 years ago
..
API Miscellaneous fixes and PAL changes required for restricted platforms. (#4021) 5 years ago
Application Fix unused warnings release (#3677) 5 years ago
Archive Fixed PathView `MakeRelativeTo` and `Append` functions path segment comparisons (#3628) 5 years ago
Asset removes leftover of performance build 5 years ago
CommandLine Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Components Camera Component, Editor Viewport Widget refactoring. 5 years ago
Debug Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Dependency Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Entity Terrain/jjjoness/3172 axis aligned box shape component (#3981) 5 years ago
FileFunc Replaced AzFramework::FileFunc JSON utils API calls with AzCore::JsonUtils APIs that appear to have been duplicated. Also fixed up improper Project Configurator -> Project Manager comment replacements. 5 years ago
FileTag Code/Framework 5 years ago
Font Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Gem Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
IO Fixed PathView `MakeRelativeTo` and `Append` functions path segment comparisons (#3628) 5 years ago
InGameUI Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Input Modernization + AZStd::function compare fix. (#3680) 5 years ago
Logging fixes windows warnings 5 years ago
Math Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Metrics Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Network Fix unused warnings release (#3677) 5 years ago
Physics Modernization + AZStd::function compare fix. (#3680) 5 years ago
Platform Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Process Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ProjectManager Miscellaneous fixes and PAL changes required for restricted platforms. (#4021) 5 years ago
Render Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Scene Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Script Modernization + AZStd::function compare fix. (#3680) 5 years ago
Session Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Slice Minimal TypeInfo header/reduce std interdependencies. (#2688) 5 years ago
Spawnable Disabling RootSpawnable warning (#3427) 5 years ago
StreamingInstall Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
StringFunc Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
TargetManagement Modernization + AZStd::function compare fix. (#3680) 5 years ago
Terrain Build time reduction: AzStdOnDemandReflection (#3111) 5 years ago
Thermal Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UnitTest Fixed the emplace function implementations for stack and queue (#2657) 5 years ago
Viewport Camera orbit fix (#3963) 5 years ago
Visibility Remove extra/bad profile markers (#4031) 5 years ago
Windowing Support for refresh rate and sync interval (#2989) 5 years ago
AzFrameworkModule.cpp Add preliminary budget tracking system and remove driller integration 5 years ago
AzFrameworkModule.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
azframework_files.cmake Add preliminary budget tracking system and remove driller integration 5 years ago