ide: tweak to resolve compiler config environment variable in project node paths...
authorRejean Loyer <redj@ecere.com>
Sat, 21 Nov 2015 15:12:51 +0000 (10:12 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sat, 16 Jul 2016 22:17:49 +0000 (18:17 -0400)
ide/src/debugger/Debugger.ec
ide/src/dialogs/FindInFilesDialog.ec
ide/src/project/ProjectNode.ec
ide/src/project/ProjectView.ec
ide/src/project/Workspace.ec

index abd326d..7096d75 100644 (file)
@@ -1805,7 +1805,7 @@ class Debugger
                            {
                               char path[MAX_LOCATION];
                               char relative[MAX_LOCATION];
-                              node.GetFullFilePath(path, false);
+                              node.GetFullFilePath(path, true);
                               bp.absoluteFilePath = path;
                               MakePathRelative(path, prj.topNode.path, relative);
                               bp.relativeFilePath = relative;
index f1266a8..1782d1e 100644 (file)
@@ -259,7 +259,7 @@ private:
                DataRow r = null;
                ProjectNode node = prj.topNode;
                char filePath[MAX_LOCATION];
-               prj.topNode.GetFullFilePath(filePath, false);
+               prj.topNode.GetFullFilePath(filePath, true);
                lastSelectionProject = CopyString(filePath);
                findWherePrjNode.Clear();
                ListProjectNodeFolders(node, null);
@@ -466,7 +466,7 @@ private:
                Project p = (Project)(intptr)row.tag;
                if(p)
                {
-                  p.topNode.GetFullFilePath(filePath, false);
+                  p.topNode.GetFullFilePath(filePath, true);
                   if(!fstrcmp(filePath, lastSelectionProject))
                      break;
                }
index 02f6e44..c6f3a15 100644 (file)
@@ -2453,7 +2453,7 @@ private:
             if(!strcmpi(extension, &h2s))
             {
                char filePath[MAX_LOCATION];
-               GetFullFilePath(filePath, false);
+               GetFullFilePath(filePath, true);
                OutputLog($"No compilation required for header file "); OutputLog(filePath); OutputLog("\n");
                ChangeExtension(moduleName, h2s, moduleName);
                if(prj.topNode.Find(moduleName, false))
index 8d446a2..19dcc8a 100644 (file)
@@ -2081,7 +2081,7 @@ class ProjectView : Window
          fileDialog.master = parent;
          while(node)
          {
-            node.GetFullFilePath(path, false);
+            node.GetFullFilePath(path, true);
             while(path[0])
             {
                StripLastDirectory(path, path);
index 4a980ba..e40da89 100644 (file)
@@ -385,7 +385,7 @@ public:
       }
       if(prj)
       {
-         node.GetFullFilePath(absolute, false);
+         node.GetFullFilePath(absolute, true);
          return CopyString(absolute);
       }