Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31519/src/org/python/pydev/plugin
Modified Files:
PydevPlugin.java
Log Message:
<li>Fixed NPE when creating editor with no interpreter configured</li>
<li>Hyperlink works in the same way that F3 (saves file before search)</li>
<li>Fixed problem while navigating pydev package explorer ( https://sourceforge.net/tracker/index.php?func=detail&aid=2008015&group_id=85796&atid=577329 )</li>
<li>Applied patch that fixes race condition in PythonNature (thanks to Radim Kubacki)</li>
<li><strong>Eclipse 3.4</strong>: Move / rename working</li>
Index: PydevPlugin.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin/PydevPlugin.java,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** PydevPlugin.java 30 Mar 2008 21:45:12 -0000 1.88
--- PydevPlugin.java 31 Jul 2008 01:47:36 -0000 1.89
***************
*** 190,217 ****
setJythonInterpreterManager(new JythonInterpreterManager(preferences));
! //restore the nature for all python projects
! new Job("PyDev: Restoring projects python nature"){
!
! protected IStatus run(IProgressMonitor monitor) {
! try{
!
! IProject[] projects = getWorkspace().getRoot().getProjects();
! for (int i = 0; i < projects.length; i++) {
! IProject project = projects[i];
! try {
! if (project.isOpen() && project.hasNature(PythonNature.PYTHON_NATURE_ID)) {
! PythonNature.addNature(project, monitor, null, null);
! }
! } catch (Exception e) {
! PydevPlugin.log(e);
! }
! }
! }catch(Throwable t){
! t.printStackTrace();
! }
! return Status.OK_STATUS;
! }
!
! }.schedule();
}
--- 190,217 ----
setJythonInterpreterManager(new JythonInterpreterManager(preferences));
! //restore the nature for all python projects -- that's done when the project is set now.
! // new Job("PyDev: Restoring projects python nature"){
! //
! // protected IStatus run(IProgressMonitor monitor) {
! // try{
! //
! // IProject[] projects = getWorkspace().getRoot().getProjects();
! // for (int i = 0; i < projects.length; i++) {
! // IProject project = projects[i];
! // try {
! // if (project.isOpen() && project.hasNature(PythonNature.PYTHON_NATURE_ID)) {
! // PythonNature.addNature(project, monitor, null, null);
! // }
! // } catch (Exception e) {
! // PydevPlugin.log(e);
! // }
! // }
! // }catch(Throwable t){
! // t.printStackTrace();
! // }
! // return Status.OK_STATUS;
! // }
! //
! // }.schedule();
}
|