Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7013/src/org/python/pydev/debug/model
Modified Files:
AbstractDebugTarget.java PyDebugTarget.java
PySourceLocator.java
Log Message:
<li><strong>Pydev debugger</strong>Workaround for python bug when filenames don't have absolute paths correctly generated</li>
<li><strong>Pydev code-completion</strong>Wild import will only show tokens defined in __all__ (if it's available)</li>
<li><strong>Interactive console</strong>: Fixed problem when more attempts to connect were needed</li>
<li><strong>Interactive console</strong>Fixed console integration problem with other plugins because of interfaces not properly implemented</li>
<li><strong>Code Formatter</strong>: Exponentials handled correctly</li>
<li><strong>Launching</strong>: Unit-test and code-coverage may launch multiple folders/files at once</li>
<li><strong>Code coverage</strong>: Number format exception no longer given when trying to show lines not executed in the editor and all lines are executed</li>
Index: AbstractDebugTarget.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/AbstractDebugTarget.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** AbstractDebugTarget.java 13 Aug 2008 21:12:24 -0000 1.16
--- AbstractDebugTarget.java 17 Aug 2008 00:26:56 -0000 1.17
***************
*** 48,51 ****
--- 48,52 ----
import org.python.pydev.debug.model.remote.ThreadListCommand;
import org.python.pydev.debug.model.remote.VersionCommand;
+ import org.python.pydev.debug.ui.launching.PythonRunnerConfig;
import org.python.pydev.plugin.PydevPlugin;
***************
*** 60,64 ****
* Path pointing to the file that started the debug (e.g.: file with __name__ == '__main__')
*/
! protected IPath file;
/**
--- 61,65 ----
* Path pointing to the file that started the debug (e.g.: file with __name__ == '__main__')
*/
! protected IPath[] file;
/**
***************
*** 127,131 ****
public String getName() throws DebugException {
if (file != null)
! return file.lastSegment();
else
return "unknown";
--- 128,132 ----
public String getName() throws DebugException {
if (file != null)
! return PythonRunnerConfig.getRunningName(file);
else
return "unknown";
***************
*** 619,623 ****
// used by Variable ContextManager, and Project:Properties menu item
if( file!=null ) {
! IFile[] files = ResourcesPlugin.getWorkspace().getRoot().findFilesForLocation(file);
if (files != null && files.length > 0){
--- 620,624 ----
// used by Variable ContextManager, and Project:Properties menu item
if( file!=null ) {
! IFile[] files = ResourcesPlugin.getWorkspace().getRoot().findFilesForLocation(file[0]);
if (files != null && files.length > 0){
Index: PySourceLocator.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/PySourceLocator.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PySourceLocator.java 6 Aug 2008 16:23:11 -0000 1.9
--- PySourceLocator.java 17 Aug 2008 00:26:56 -0000 1.10
***************
*** 13,17 ****
import org.python.pydev.editor.PyEdit;
import org.python.pydev.editorinput.PySourceLocatorBase;
- import org.python.pydev.plugin.PydevPlugin;
/**
--- 13,16 ----
Index: PyDebugTarget.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/PyDebugTarget.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** PyDebugTarget.java 24 Jun 2006 01:45:53 -0000 1.19
--- PyDebugTarget.java 17 Aug 2008 00:26:56 -0000 1.20
***************
*** 24,28 ****
private IProcess process;
! public PyDebugTarget(ILaunch launch, IProcess process, IPath file, RemoteDebugger debugger) {
this.launch = launch;
this.process = process;
--- 24,28 ----
private IProcess process;
! public PyDebugTarget(ILaunch launch, IProcess process, IPath[] file, RemoteDebugger debugger) {
this.launch = launch;
this.process = process;
|