-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
projectorganizer: Change the way symlinks are handled
Previously all file names and directories were resolved to real path using tm_get_real_path(). This caused some problems because Geany itself doesn't resolve things like base_path so when something in base_path is a symlink, geany path differs from path used by ProjectOrganizer. Additional problem is when symlink points somewhere outside base_path which causes that there are ".." entries in the project tree. Don't resolve symlinks and only resolve real path for cases when file identity has to be checked and also to avoid symlink cycles. Simplify relative path creation - we don't need the ".." relative paths any more.
- Loading branch information
Showing
4 changed files
with
40 additions
and
75 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
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