[Pydev-cvs] org.python.pydev/src_completions/org/python/pydev/editor/codecompletion/revisited Proj
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-04-13 16:55:18
|
Update of /cvsroot/pydev/org.python.pydev/src_completions/org/python/pydev/editor/codecompletion/revisited In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13489/src_completions/org/python/pydev/editor/codecompletion/revisited Modified Files: ProjectModulesManager.java PythonPathHelper.java Log Message: Better error message when launch config is not valid. Index: PythonPathHelper.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src_completions/org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PythonPathHelper.java 13 Mar 2008 23:33:22 -0000 1.8 --- PythonPathHelper.java 13 Apr 2008 16:55:23 -0000 1.9 *************** *** 48,52 **** * @return a trimmed string with all the '\' converted to '/' */ ! public String getDefaultPathStr(String str) { //this check is no longer done... could result in other problems // if(acceptPoint == false && str.indexOf(".") == 0){ //cannot start with a dot --- 48,52 ---- * @return a trimmed string with all the '\' converted to '/' */ ! public static String getDefaultPathStr(String str) { //this check is no longer done... could result in other problems // if(acceptPoint == false && str.indexOf(".") == 0){ //cannot start with a dot *************** *** 419,423 **** * @param lPath OUT: this list is filled with the pythonpath. */ ! public void getPythonPathFromStr(String string, List<String> lPath) { String[] strings = string.split("\\|"); for (int i = 0; i < strings.length; i++) { --- 419,423 ---- * @param lPath OUT: this list is filled with the pythonpath. */ ! public static void getPythonPathFromStr(String string, List<String> lPath) { String[] strings = string.split("\\|"); for (int i = 0; i < strings.length; i++) { Index: ProjectModulesManager.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src_completions/org/python/pydev/editor/codecompletion/revisited/ProjectModulesManager.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ProjectModulesManager.java 14 Jan 2008 15:00:25 -0000 1.13 --- ProjectModulesManager.java 13 Apr 2008 16:55:23 -0000 1.14 *************** *** 420,424 **** ! private void getProjectsRecursively(IProject project, boolean referenced, HashSet<IProject> memo) { IProject[] projects = null; try { --- 420,429 ---- ! /** ! * @param project the project for which we wante references. ! * @param referenced whether we want to get the referenced projects or the ones referencing this one. ! * @param memo (out) this is the place where all the projects will e available. ! */ ! public static void getProjectsRecursively(IProject project, boolean referenced, HashSet<IProject> memo) { IProject[] projects = null; try { |