forked from NatronGitHub/Natron
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bugs and add support for UNC paths on Windows.
- Added code to detect network share paths on Windows and treat make them behave like drives. - Fixed a bug where paths typed in with lower case drive letters would cause an upper case drive AND a lower case drive entry to appear in the "My Computer" view. A similar thing would happen for network share hostnames. Added logic to upper case the drive letter and hostnames as part of the "path cleanup" logic. This causes the paths to map to single entries in the "My Computer" view. - Fixed an infinite loop during directory restore when a non-existant network share was specified in a previous Open File dialog instance. - Fixed "up" button so that it behaves more consistently and properly handles network share paths. - Fixed invalid memory access for files that start with a '.' - Fixed a few places where code was using a URL path instead of converting the URL to a local path string like the vast majority of the code. This made it possible to properly view the root directory of network shares. - Updated unit tests to reflect changes in path handling behaviour.
- Loading branch information
Showing
4 changed files
with
209 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.