pydev-cvs Mailing List for PyDev for Eclipse (Page 299)
Brought to you by:
fabioz
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(48) |
Apr
(56) |
May
(64) |
Jun
(27) |
Jul
(66) |
Aug
(81) |
Sep
(148) |
Oct
(194) |
Nov
(78) |
Dec
(46) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(125) |
Feb
(126) |
Mar
(163) |
Apr
(133) |
May
(115) |
Jun
(307) |
Jul
(387) |
Aug
(417) |
Sep
(283) |
Oct
(148) |
Nov
(45) |
Dec
(53) |
2006 |
Jan
(240) |
Feb
(200) |
Mar
(267) |
Apr
(231) |
May
(245) |
Jun
(361) |
Jul
(142) |
Aug
(12) |
Sep
(210) |
Oct
(99) |
Nov
(7) |
Dec
(30) |
2007 |
Jan
(161) |
Feb
(511) |
Mar
(265) |
Apr
(74) |
May
(147) |
Jun
(151) |
Jul
(94) |
Aug
(68) |
Sep
(98) |
Oct
(144) |
Nov
(26) |
Dec
(36) |
2008 |
Jan
(98) |
Feb
(107) |
Mar
(199) |
Apr
(113) |
May
(119) |
Jun
(112) |
Jul
(92) |
Aug
(71) |
Sep
(101) |
Oct
(16) |
Nov
|
Dec
|
From: Fabio Z. <fa...@us...> - 2004-10-08 16:44:43
|
Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/codecoverage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12592/src/org/python/pydev/debug/codecoverage Log Message: Directory /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/codecoverage added to the repository |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:43:56
|
Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12376/src/org/python/pydev/debug/core Modified Files: PydevDebugPlugin.java Log Message: Making code coverage. Index: PydevDebugPlugin.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/core/PydevDebugPlugin.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PydevDebugPlugin.java 23 Sep 2004 22:20:31 -0000 1.8 --- PydevDebugPlugin.java 8 Oct 2004 16:43:40 -0000 1.9 *************** *** 1,4 **** --- 1,8 ---- package org.python.pydev.debug.core; + import java.io.File; + import java.io.IOException; + import java.net.URL; + import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; *************** *** 8,11 **** --- 12,16 ---- import org.eclipse.core.resources.*; import org.eclipse.jface.dialogs.ErrorDialog; + import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; import org.python.pydev.ui.ImageCache; *************** *** 83,85 **** --- 88,143 ---- } + /** + * + * @return the script to get the variables. + * + * @throws CoreException + */ + public static File getScriptWithinPySrc(String targetExec) + throws CoreException { + + IPath relative = new Path("pysrc").addTrailingSeparator().append( + targetExec); + + Bundle bundle = getDefault().getBundle(); + + URL bundleURL = Platform.find(bundle, relative); + URL fileURL; + try { + fileURL = Platform.asLocalURL(bundleURL); + File f = new File(fileURL.getPath()); + + return f; + } catch (IOException e) { + throw new CoreException(makeStatus(IStatus.ERROR, + "Can't find python debug script", null)); + } + } + + /** + * + * @return the script to get the variables. + * + * @throws CoreException + */ + public static File getPySrcPath() + throws CoreException { + + IPath relative = new Path("pysrc"); + + Bundle bundle = getDefault().getBundle(); + + URL bundleURL = Platform.find(bundle, relative); + URL fileURL; + try { + fileURL = Platform.asLocalURL(bundleURL); + File f = new File(fileURL.getPath()); + + return f; + } catch (IOException e) { + throw new CoreException(makeStatus(IStatus.ERROR, + "Can't find python debug script", null)); + } + } + } |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:42:47
|
Update of /cvsroot/pydev/org.python.pydev.debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12121 Modified Files: plugin.xml Log Message: Making code coverage. Index: plugin.xml =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/plugin.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** plugin.xml 24 Sep 2004 00:39:21 -0000 1.17 --- plugin.xml 8 Oct 2004 16:42:36 -0000 1.18 *************** *** 35,39 **** name="Python" delegate="org.python.pydev.debug.ui.launching.PythonLaunchConfigurationDelegate" ! modes="run, debug" id="org.python.pydev.debug.launchConfigurationType"> </launchConfigurationType> --- 35,39 ---- name="Python" delegate="org.python.pydev.debug.ui.launching.PythonLaunchConfigurationDelegate" ! modes="run, debug, profile" id="org.python.pydev.debug.launchConfigurationType"> </launchConfigurationType> *************** *** 63,67 **** label="Python script" icon="icons/python.gif" ! modes="run, debug" class="org.python.pydev.debug.ui.launching.LaunchShortcut" id="org.python.pydev.debug.ui.launchShortcut"> --- 63,67 ---- label="Python script" icon="icons/python.gif" ! modes="run, debug, profile" class="org.python.pydev.debug.ui.launching.LaunchShortcut" id="org.python.pydev.debug.ui.launchShortcut"> *************** *** 101,104 **** --- 101,113 ---- id="org.python.pydev.debug.RunPythonAction"> </action> + <action + label="Coverage..." + icon="icons/python.gif" + tooltip="Make code coverage for a python script" + class="org.python.pydev.debug.ui.actions.PythonRunActionDelegate" + menubarPath="org.python.pydev.debug.WorkspaceMenu/group1" + enablesFor="1" + id="org.python.pydev.debug.CoveragePythonAction"> + </action> <action enablesFor="1" *************** *** 130,133 **** --- 139,150 ---- id="org.python.pydev.debug.run"> </launchGroup> + <launchGroup + label="Profile" + bannerImage="icons/python-big.gif" + category="org.python.pydev.debug" + image="icons/python.gif" + mode="profile" + id="org.python.pydev.debug.coverage"> + </launchGroup> </extension> <!--- console line tracking --> *************** *** 215,218 **** --- 232,248 ---- </extension> + <extension + point="org.eclipse.ui.views"> + <category + name="Pydev" + id="org.python.pydev.debug"/> + <view + class="org.python.pydev.debug.codecoverage.PyCodeCoverageView" + icon="icons/python.gif" + category="org.python.pydev" + name="Code Coverage Results View" + id="org.python.pydev.views.PyCodeCoverageView"/> + </extension> + </plugin> |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:39:24
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11038/src/org/python/pydev/editor/codecompletion Modified Files: PyTemplateCompletion.java PythonShell.java PyCodeCompletion.java Log Message: Index: PythonShell.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/PythonShell.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** PythonShell.java 5 Oct 2004 16:54:17 -0000 1.13 --- PythonShell.java 8 Oct 2004 16:38:41 -0000 1.14 *************** *** 100,104 **** */ public PythonShell() throws IOException, CoreException { ! this(PyCodeCompletion.getScriptWithinPySrc("pycompletionserver.py")); } --- 100,104 ---- */ public PythonShell() throws IOException, CoreException { ! this(PydevPlugin.getScriptWithinPySrc("pycompletionserver.py")); } Index: PyCodeCompletion.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/PyCodeCompletion.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** PyCodeCompletion.java 28 Sep 2004 18:19:17 -0000 1.12 --- PyCodeCompletion.java 8 Oct 2004 16:38:42 -0000 1.13 *************** *** 7,24 **** import java.io.File; - import java.io.IOException; - import java.net.URL; import java.util.ArrayList; import java.util.List; import org.eclipse.core.runtime.CoreException; - import org.eclipse.core.runtime.IPath; - import org.eclipse.core.runtime.IStatus; - import org.eclipse.core.runtime.Path; - import org.eclipse.core.runtime.Platform; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IRegion; - import org.osgi.framework.Bundle; import org.python.pydev.editor.PyEdit; import org.python.pydev.editor.model.AbstractNode; --- 7,17 ---- *************** *** 232,282 **** */ public static File getAutoCompleteScript() throws CoreException { ! return getScriptWithinPySrc("simpleTipper.py"); ! } ! ! /** ! * ! * @return the script to get the variables. ! * ! * @throws CoreException ! */ ! public static File getScriptWithinPySrc(String targetExec) ! throws CoreException { ! ! IPath relative = new Path("PySrc").addTrailingSeparator().append( ! targetExec); ! ! Bundle bundle = PydevPlugin.getDefault().getBundle(); ! ! URL bundleURL = Platform.find(bundle, relative); ! URL fileURL; ! try { ! fileURL = Platform.asLocalURL(bundleURL); ! File f = new File(fileURL.getPath()); ! ! return f; ! } catch (IOException e) { ! throw new CoreException(PydevPlugin.makeStatus(IStatus.ERROR, ! "Can't find python debug script", null)); ! } ! } ! ! public static File getImageWithinIcons(String icon) throws CoreException { ! ! IPath relative = new Path("icons").addTrailingSeparator().append(icon); ! ! Bundle bundle = PydevPlugin.getDefault().getBundle(); ! ! URL bundleURL = Platform.find(bundle, relative); ! URL fileURL; ! try { ! fileURL = Platform.asLocalURL(bundleURL); ! File f = new File(fileURL.getPath()); ! ! return f; ! } catch (IOException e) { ! throw new CoreException(PydevPlugin.makeStatus(IStatus.ERROR, ! "Can't find image", null)); ! } } --- 225,229 ---- */ public static File getAutoCompleteScript() throws CoreException { ! return PydevPlugin.getScriptWithinPySrc("simpleTipper.py"); } Index: PyTemplateCompletion.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/PyTemplateCompletion.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PyTemplateCompletion.java 13 Sep 2004 17:11:49 -0000 1.2 --- PyTemplateCompletion.java 8 Oct 2004 16:38:41 -0000 1.3 *************** *** 54,58 **** protected Image getImage(Template template) { try { ! File file = PyCodeCompletion.getImageWithinIcons("template.gif"); return new Image(null, file.getAbsolutePath()); } catch (CoreException e) { --- 54,58 ---- protected Image getImage(Template template) { try { ! File file = PydevPlugin.getImageWithinIcons("template.gif"); return new Image(null, file.getAbsolutePath()); } catch (CoreException e) { |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:39:24
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/refactoring In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11038/src/org/python/pydev/editor/refactoring Modified Files: PyRefactoring.java Log Message: Index: PyRefactoring.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/refactoring/PyRefactoring.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PyRefactoring.java 20 Sep 2004 19:08:43 -0000 1.5 --- PyRefactoring.java 8 Oct 2004 16:38:43 -0000 1.6 *************** *** 48,51 **** --- 48,53 ---- public static final int REFACTOR_RESULT = 1; + private Object lastRefactorResults; + public synchronized static PyRefactoring getPyRefactoring(){ *************** *** 207,216 **** List l = refactorResultAsList(string); ! for (Iterator iter = this.propChangeListeners.iterator(); iter.hasNext();) { IPropertyListener element = (IPropertyListener) iter.next(); ! element.propertyChanged(new Object[]{this, l}, REFACTOR_RESULT); } } --- 209,227 ---- List l = refactorResultAsList(string); ! ! Object o=null; ! for (Iterator iter = this.propChangeListeners.iterator(); iter.hasNext();) { IPropertyListener element = (IPropertyListener) iter.next(); ! o = new Object[]{this, l}; ! element.propertyChanged(o, REFACTOR_RESULT); } + + this.lastRefactorResults = o; } + + + + *************** *** 247,249 **** --- 258,274 ---- } + /** + * @param lastRefactorResults The lastRefactorResults to set. + */ + public void setLastRefactorResults(Object lastRefactorResults) { + this.lastRefactorResults = lastRefactorResults; + } + + /** + * @return Returns the lastRefactorResults. + */ + public Object getLastRefactorResults() { + return lastRefactorResults; + } + } |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:39:23
|
Update of /cvsroot/pydev/org.python.pydev/PySrc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11038/PySrc Modified Files: refactoring.py Removed Files: test_pyserver.py test_refactoring.py test_simpleTipper.py Log Message: --- test_simpleTipper.py DELETED --- --- test_refactoring.py DELETED --- --- test_pyserver.py DELETED --- Index: refactoring.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/PySrc/refactoring.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** refactoring.py 20 Sep 2004 19:08:41 -0000 1.6 --- refactoring.py 8 Oct 2004 16:38:42 -0000 1.7 *************** *** 7,10 **** --- 7,11 ---- import urllib + #kind of hack to get the bicicle repair man without having it in the pythonpath. sys.path.insert(1, os.path.join(os.path.dirname(sys.argv[0]), "ThirdParty", "brm")) |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:39:17
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11038/src/org/python/pydev/plugin Modified Files: PydevPlugin.java Log Message: Index: PydevPlugin.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin/PydevPlugin.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** PydevPlugin.java 25 Aug 2004 17:25:23 -0000 1.12 --- PydevPlugin.java 8 Oct 2004 16:39:01 -0000 1.13 *************** *** 1,5 **** --- 1,7 ---- package org.python.pydev.plugin; + import java.io.File; import java.io.IOException; + import java.net.URL; import java.util.MissingResourceException; import java.util.ResourceBundle; *************** *** 9,14 **** --- 11,19 ---- import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin; + import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IStatus; + import org.eclipse.core.runtime.Path; + import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Preferences; import org.eclipse.core.runtime.Status; *************** *** 26,29 **** --- 31,35 ---- import org.eclipse.ui.ide.IDE; import org.eclipse.ui.plugin.AbstractUIPlugin; + import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; import org.python.pydev.editor.codecompletion.PyCodeCompletionPreferencesPage; *************** *** 191,193 **** --- 197,245 ---- } + /** + * + * @return the script to get the variables. + * + * @throws CoreException + */ + public static File getScriptWithinPySrc(String targetExec) + throws CoreException { + + IPath relative = new Path("PySrc").addTrailingSeparator().append( + targetExec); + + Bundle bundle = getDefault().getBundle(); + + URL bundleURL = Platform.find(bundle, relative); + URL fileURL; + try { + fileURL = Platform.asLocalURL(bundleURL); + File f = new File(fileURL.getPath()); + + return f; + } catch (IOException e) { + throw new CoreException(makeStatus(IStatus.ERROR, + "Can't find python debug script", null)); + } + } + + public static File getImageWithinIcons(String icon) throws CoreException { + + IPath relative = new Path("icons").addTrailingSeparator().append(icon); + + Bundle bundle = getDefault().getBundle(); + + URL bundleURL = Platform.find(bundle, relative); + URL fileURL; + try { + fileURL = Platform.asLocalURL(bundleURL); + File f = new File(fileURL.getPath()); + + return f; + } catch (IOException e) { + throw new CoreException(makeStatus(IStatus.ERROR, + "Can't find image", null)); + } + } + } |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:39:16
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11038/src/org/python/pydev/editor/correctionassist Modified Files: PythonCorrectionProcessor.java Log Message: Index: PythonCorrectionProcessor.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/PythonCorrectionProcessor.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PythonCorrectionProcessor.java 24 Sep 2004 19:24:39 -0000 1.4 --- PythonCorrectionProcessor.java 8 Oct 2004 16:38:43 -0000 1.5 *************** *** 26,31 **** /** ! * /** This class should be used to give context help ! * - Help depending on context (Ctrl+1): * * class A: pass --- 26,32 ---- /** ! * This class should be used to give context help ! * ! * Help depending on context (Ctrl+1): * * class A: pass *************** *** 33,50 **** * class C: * ! * def __init__(self, param): self.newMethod() <- create new method on class C <- ! * assign result to new local variable <- assign result to new field a = A() ! * a.newMethod() <- create new method on class A <- assign result to new local ! * variable <- assign result to new field * ! * param. <- don't show anything. * ! * self.a1 = A() self.a1.newMethod() <- create new method on class A <- assign ! * result to new local variable <- assign result to new field * ! * def m(self): self.a1.newMethod() <- create new method on class A <- assign ! * result to new local variable <- assign result to new field * * * @author Fabio Zadrozny */ --- 34,63 ---- * class C: * ! * def __init__(self, param): ! * self.newMethod()<- create new method on class C (with params if needed) ! * <- assign result to new local variable ! * <- assign result to new field * ! * a = A() ! * a.newMethod() <- create new method on class A ! * <- assign result to new local variable ! * <- assign result to new field * ! * param.b() <- don't show anything. * ! * self.a1 = A() ! * self.a1.newMethod() <- create new method on class A (difficult part is discovering class) ! * <- assign result to new local variable ! * <- assign result to new field * + * def m(self): + * self.a1.newMethod() <- create new method on class A + * <- assign result to new local variable + * <- assign result to new field * + * import compiler <- move import to global context + * NewClass() <- Create class NewClass (Depends on new class wizard) + * + * * @author Fabio Zadrozny */ |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:39:16
|
Update of /cvsroot/pydev/org.python.pydev/PySrc/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11038/PySrc/tests Added Files: test_pyserver.py test_simpleTipper.py test_refactoring.py Log Message: --- NEW FILE: test_simpleTipper.py --- ''' @author Fabio Zadrozny ''' import os import sys #make it as if we were executing from the directory above this one (so that we can use pycompletionserver #without the need for it being in the pythonpath) sys.argv[0] = os.path.dirname(sys.argv[0]) #twice the dirname to get the previous level from this file. sys.path.insert(1, os.path.join( os.path.dirname( sys.argv[0] )) ) import unittest import simpleTipper import importsTipper class Test(unittest.TestCase): def setUp(self): unittest.TestCase.setUp(self) def tearDown(self): unittest.TestCase.tearDown(self) def getDoc1(self): s = \ ''' import math class C(object): \'\'\' CDescription \'\'\' def __init__(self): print dir(self) def a(self): \'\'\' ADescription \'\'\' pass def b(self): self ''' return s def testEnv1(self): comps = simpleTipper.GenerateTip(self.getDoc1(), None, True) import math, inspect checkedMath = False checkedC = False for tup in comps: if tup[0] == 'math': checkedMath = True self.assertEquals(inspect.getdoc(math),tup[1]) elif tup[0] == 'C': checkedC = True self.assert_('CDescription' in tup[1]) self.assert_(checkedC and checkedMath) def testEnv1CToken(self): comps = simpleTipper.GenerateTip(self.getDoc1(), 'C', True) checkedA = False for tup in comps: if tup[0] == 'a': checkedA = True self.assert_('ADescription' in tup[1]) self.assert_(checkedA) def getDoc2(self): s = \ ''' class C(object): def __init__(self): self.a = 1 self.b = 2 ''' return s def testEnv2(self): ''' Now, check completion for C - should return object methods, 'a' and 'b' ''' comps = simpleTipper.GenerateTip(self.getDoc2(), 'C', True) # print comps checkedA = False for tup in comps: if tup[0] == 'a': checkedA = True self.assert_(checkedA) def testImports(self): ''' You can print the results to check... ''' importsTipper.GenerateTip('inspect.') importsTipper.GenerateTip('compiler.') importsTipper.GenerateImportsTip(['scbr']) importsTipper.GenerateImportsTip([ ] ) importsTipper.GenerateImportsTip(['os']) importsTipper.GenerateImportsTip(['os','path']) importsTipper.GenerateImportsTip(['unittest']) importsTipper.GenerateImportsTip(['compiler', 'ast']) importsTipper.GenerateImportsTip(['compiler', 'ast', 'Node']) def testEnv3(self): comps = simpleTipper.GenerateTip(self.getDoc3(), None, False) def getDoc3(self): s= \ ''' import sys class TestLocals(object): sys.path ''' return s if __name__ == '__main__': unittest.main() --- NEW FILE: test_refactoring.py --- ''' Refactoring tests. ''' import os import sys #make it as if we were executing from the directory above this one (so that we can use pycompletionserver #without the need for it being in the pythonpath) sys.argv[0] = os.path.dirname(sys.argv[0]) #twice the dirname to get the previous level from this file. sys.path.insert(1, os.path.join( os.path.dirname( sys.argv[0] )) ) import unittest import refactoring #=============================================================================== # delete #=============================================================================== def delete(filename): '''Removes filename, or does nothing if the file doesn't exist. ''' try: os.remove(filename) except OSError: pass #================================================================================ # createFile #================================================================================ def createFile(filename, contents='', flag='w'): '''Creates the given filename with the given contents. ''' f = file(filename, flag) f.write(contents) f.close() FILE = 'temporary_file.py' def getInitialFile(): s = \ ''' class C: def a(self): a = 2 b = 3 c = a+b #this should be refactored. return c c = C() ''' return s def getRenameRefactored(): s = \ ''' class G: def a(self): a = 2 b = 3 c = a+b #this should be refactored. return c c = G() ''' return s class Test(unittest.TestCase): def getRefactoredFile(self): s = \ ''' class C: def a(self): a = 2 b = 3 c = self.plusMet(a, b) #this should be refactored. return c def plusMet(self, a, b): return a+b c = C() ''' return s def setUp(self): unittest.TestCase.setUp(self) createFile(FILE, getInitialFile()) def tearDown(self): unittest.TestCase.tearDown(self) delete(FILE) def testExtractMethod(self): r = refactoring.Refactoring() s = r.extractMethod(FILE, 5+1, 12, 5+1, 12+3, 'plusMet') f = file(FILE, 'r') contents = f.read() f.close() self.assertEquals(self.getRefactoredFile(), contents) def testRename(self): r = refactoring.Refactoring() s = r.renameByCoordinates(FILE, 1+1, 6, 'G') f = file(FILE, 'r') contents = f.read() f.close() self.assertEquals(getRenameRefactored(), contents) def testRename2(self): r = refactoring.Refactoring() s = r.renameByCoordinates(FILE, 7+1, 4, 'G') f = file(FILE, 'r') contents = f.read() f.close() self.assertEquals(getRenameRefactored(), contents) def testFind(self): r = refactoring.Refactoring() s = r.findDefinition(FILE, 7+1, 4) s = s.replace('[(','').replace(')]','').split(',') self.assert_( s[0].endswith('temporary_file.py')) self.assertEquals('2', s[1]) #line self.assertEquals('6', s[2]) #col self.assertEquals('100', s[3]) #accuracy createFile(FILE, getFindFile()) s = r.findDefinition(FILE, 5+1, 2) s1 = r.findDefinition(FILE, 5+1, 3) s2 = r.findDefinition(FILE, 5+1, 4) self.assert_(s == s1 == s2) def getFindFile(): s = \ ''' class C: def aaa(self): return 0 c = C() c.aaa() ''' return s if __name__ == '__main__': unittest.main() --- NEW FILE: test_pyserver.py --- ''' @author Fabio Zadrozny ''' import sys import os #make it as if we were executing from the directory above this one (so that we can use pycompletionserver #without the need for it being in the pythonpath) sys.argv[0] = os.path.dirname(sys.argv[0]) #twice the dirname to get the previous level from this file. sys.path.insert(1, os.path.join( os.path.dirname( sys.argv[0] )) ) import unittest import pycompletionserver import socket import urllib class Test(unittest.TestCase): def setUp(self): unittest.TestCase.setUp(self) def tearDown(self): unittest.TestCase.tearDown(self) def testMessage(self): t = pycompletionserver.T(0,0) l = [] l.append(('Def','description' )) l.append(('Def1','description1')) l.append(('Def2','description2')) msg = t.formatCompletionMessage(l) self.assertEquals('@@COMPLETIONS((Def,description),(Def1,description1),(Def2,description2))END@@', msg) l = [] l.append(('Def','desc,,r,,i()ption' )) l.append(('Def(1','descriptio(n1')) l.append(('De,f)2','de,s,c,ription2')) msg = t.formatCompletionMessage(l) self.assertEquals('@@COMPLETIONS((Def,desc%2C%2Cr%2C%2Ci%28%29ption),(Def%281,descriptio%28n1),(De%2Cf%292,de%2Cs%2Cc%2Cription2))END@@', msg) def createConnections(self, p1 = 50002,p2 = 50003): ''' Creates the connections needed for testing. ''' t = pycompletionserver.T(p1,p2) t.start() sToWrite = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sToWrite.connect((pycompletionserver.HOST, p1)) sToRead = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sToRead.bind((pycompletionserver.HOST, p2)) sToRead.listen(1) #socket to receive messages. connToRead, addr = sToRead.accept() return t, sToWrite, sToRead, connToRead, addr def readMsg(self): msg = '@@PROCESSING_END@@' while msg.startswith('@@PROCESSING'): msg = self.connToRead.recv(1024*4) if msg.startswith('@@PROCESSING:'): print 'Status msg:', msg return msg def testCompletionSocketsAndMessages(self): t, sToWrite, sToRead, self.connToRead, addr = self.createConnections() try: #now that we have the connections all set up, check the code completion messages. msg = urllib.quote_plus('import math\n') sToWrite.send('@@GLOBALS:%sEND@@'%msg) #only 1 global should be returned: math itself. completions = self.readMsg() msg = urllib.quote_plus('This module is always available. It provides access to the\n'\ 'mathematical functions defined by the C standard.') start = '@@COMPLETIONS((math,%s)'%msg self.assert_(completions.startswith(start), '%s DOESNT START WITH %s' % ( completions, start) ) #it returns math and builtins...just check for math. msg1 = urllib.quote_plus('math') msg2 = urllib.quote_plus('import math\n') #check token msg. sToWrite.send('@@TOKEN_GLOBALS(%s):%sEND@@' % (msg1, msg2)) completions = self.readMsg() self.assert_('@@COMPLETIONS' in completions) self.assert_('END@@' in completions) s = \ ''' class C(object): def __init__(self): print dir(self) def a(self): pass def b(self): self.c=1 pass ''' msg = urllib.quote_plus(s) sToWrite.send('@@TOKEN_GLOBALS(C):%s\nEND@@'%s) completions = self.readMsg() sToWrite.send('@@CLASS_GLOBALS(C):%s\nEND@@'%s) completions2 = self.readMsg() self.assert_(len(completions) != len(completions2)) #reload modules test # sToWrite.send('@@RELOAD_MODULES_END@@') # ok = self.readMsg() # self.assertEquals('@@MSG_OK_END@@' , ok) # this test is not executed because it breaks our current enviroment. #change dir test curr = os.getcwd( ) newDir = None if curr.find('/') != -1: newDir = curr[0:curr.rindex('/')] elif curr.find('\\') != -1: newDir = curr[0:curr.rindex('\\')] self.assert_(newDir != None) newDir = urllib.quote_plus(newDir) sToWrite.send('@@CHANGE_DIR:%sEND@@'%newDir) ok = self.readMsg() self.assertEquals('@@MSG_OK_END@@' , ok) msg1 = urllib.quote_plus('math.acos') #with point msg2 = urllib.quote_plus('import math\n') sToWrite.send('@@TOKEN_GLOBALS(%s):%sEND@@' %(msg1, msg2)) completions = self.readMsg() self.assert_('@@COMPLETIONS' in completions) self.assert_('END@@' in completions) msg1 = urllib.quote_plus('math acos') #with space msg2 = urllib.quote_plus('import math\n') sToWrite.send('@@TOKEN_GLOBALS(%s):%sEND@@' %(msg1, msg2)) completions2 = self.readMsg() self.assertEquals(completions, completions2) finally: try: self.sendKillMsg(sToWrite) while not hasattr(t, 'ended'): pass #wait until it receives the message and quits. sToRead.close() sToWrite.close() self.connToRead.close() except: pass def sendKillMsg(self, socket): socket.send(pycompletionserver.MSG_KILL_SERVER) def testRefactoringSocketsAndMessages(self): t, sToWrite, sToRead, self.connToRead, addr = self.createConnections(50002+2,50003+2) import refactoring from test_refactoring import delete, createFile, FILE, getInitialFile, getRenameRefactored createFile(FILE, getInitialFile()) sToWrite.send('@@BIKEfindDefinition %s %s %sEND@@'%(FILE, 7+1, 4)) result = self.readMsg() self.assert_('BIKE_OK:' in result) sToWrite.send('@@BIKErenameByCoordinates %s %s %s %sEND@@'%(FILE, 1+1, 6, 'G')) result = self.readMsg() self.assert_('BIKE_OK:' in result) self.sendKillMsg(sToWrite) while not hasattr(t, 'ended'): pass #wait until it receives the message and quits. sToRead.close() sToWrite.close() self.connToRead.close() if __name__ == '__main__': unittest.main() |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:38:43
|
Update of /cvsroot/pydev/org.python.pydev/PySrc/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11005/PySrc/tests Log Message: Directory /cvsroot/pydev/org.python.pydev/PySrc/tests added to the repository |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:37:52
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/views In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10767/src/org/python/pydev/views Modified Files: PyRefactorView.java Log Message: Index: PyRefactorView.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/views/PyRefactorView.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PyRefactorView.java 20 Sep 2004 19:08:43 -0000 1.1 --- PyRefactorView.java 8 Oct 2004 16:37:41 -0000 1.2 *************** *** 103,106 **** --- 103,110 ---- PyRefactoring.getPyRefactoring().addPropertyListener(this); + + //now try to load the last results. + this.propertyChanged(PyRefactoring.getPyRefactoring().getLastRefactorResults(), PyRefactoring.REFACTOR_RESULT); + this.refresh(); } *************** *** 134,138 **** --- 138,151 ---- public void propertyChanged(Object source, int propId) { + if (source == null){ + return; + } + Object[] sources = (Object[]) source; + + if(sources[0]== null || sources[1]== null){ + return; + } + if (sources[0] == PyRefactoring.getPyRefactoring() && propId == PyRefactoring.REFACTOR_RESULT) { |
From: Fabio Z. <fa...@us...> - 2004-10-08 16:36:35
|
Update of /cvsroot/pydev/org.python.pydev In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10437 Modified Files: plugin.xml Log Message: Index: plugin.xml =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/plugin.xml,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** plugin.xml 28 Sep 2004 19:44:45 -0000 1.46 --- plugin.xml 8 Oct 2004 16:36:21 -0000 1.47 *************** *** 4,8 **** id="org.python.pydev" name="Pydev - Python Development Environment" ! version="0.6.1" provider-name="AleksTotic" class="org.python.pydev.plugin.PydevPlugin"> --- 4,8 ---- id="org.python.pydev" name="Pydev - Python Development Environment" ! version="0.6.1.1c" provider-name="AleksTotic" class="org.python.pydev.plugin.PydevPlugin"> |
From: Fabio Z. <fa...@us...> - 2004-10-05 16:54:36
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16575/src/org/python/pydev/editor/codecompletion Modified Files: PythonShell.java Log Message: Corrected problem: when spawning the process, if the path to the file had a space, it would not work. Index: PythonShell.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/PythonShell.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** PythonShell.java 27 Sep 2004 18:39:49 -0000 1.12 --- PythonShell.java 5 Oct 2004 16:54:17 -0000 1.13 *************** *** 140,144 **** endIt(); String interpreter = getDefaultInterpreter(); ! String execMsg = interpreter+" "+serverFile.getAbsolutePath()+" "+pWrite+" "+pRead; process = Runtime.getRuntime().exec(execMsg); --- 140,144 ---- endIt(); String interpreter = getDefaultInterpreter(); ! String execMsg = interpreter+" \""+serverFile.getAbsolutePath()+"\" "+pWrite+" "+pRead; process = Runtime.getRuntime().exec(execMsg); |
From: Aleksandar T. <at...@us...> - 2004-09-28 20:01:09
|
Update of /cvsroot/pydev/org.python.pydev.help/pydev.sf.net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31799/pydev.sf.net Modified Files: index.html Added Files: main.css Log Message: 0.6.1 sync up Index: index.html =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.help/pydev.sf.net/index.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.html 25 Jul 2004 13:52:42 -0000 1.2 --- index.html 28 Sep 2004 20:00:23 -0000 1.3 *************** *** 2,6 **** <head> <title>pydev - python development environment for Eclipse</title> ! <link rel="stylesheet" href="http://www.totic.org/main.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> --- 2,6 ---- <head> <title>pydev - python development environment for Eclipse</title> ! <link rel="stylesheet" href="main.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> *************** *** 13,17 **** <legend>About</legend> <p>Pydev is a project to create a complete python development environment for eclipse: syntax highlighting, ! outline view, code navigation, debugger integration. The current release is 0.5.3. Both editor and debugger require Java 1.4.x. and Eclipse 3.0. If you are running Eclipse 2.1.x, use 0.4.2. Pydev consists of 3 plugins:</p> <p><b><a href="snap.gif">Editor</a></b> (org.python.pydev): </p> <li>syntax highlighting --- 13,17 ---- <legend>About</legend> <p>Pydev is a project to create a complete python development environment for eclipse: syntax highlighting, ! outline view, code navigation, debugger integration. The current release is 0.6. Both editor and debugger require Java 1.4.x. and Eclipse 3.0. If you are running Eclipse 2.1.x, use 0.4.2. Pydev consists of 3 plugins:</p> <p><b><a href="snap.gif">Editor</a></b> (org.python.pydev): </p> <li>syntax highlighting *************** *** 23,26 **** --- 23,28 ---- <li> hyperlinks over functions//import statements</li> <li>code folding </li> + <li>refactoring (Bicycle Repair Man integration</li> + <li>code completion</li> <p><b><a href="images/debugger.gif">Debugger</a></b> (org.python.pydev.debug)</p> <li>breakpoints</li> *************** *** 34,38 **** You can download the releases from there, or from an Eclipse update site <a href="http://pydev.sf.net/updates/">http://pydev.sf.net/updates/</a>. Developer issues are discussed at <a href="http://sourceforge.net/mailarchive/forum.php?forum_id=39082">pydev-code</a> mailing list. For support, try the <a href="http://sourceforge.net/forum/forum.php?forum_id=293649">users</a> bulletin board. I sometimes post tidbits about the development progress in the <a href="http://blogs.osafoundation.org/atotic/cat_work_log.html">weblog</a>. ! <p>Most of the pydev has been developed by Aleks Totic as a "getting to know Eclipse" project, with some wonderful help from Fabio "Foldin" Zadrozny. </fieldset> <fieldset> --- 36,43 ---- You can download the releases from there, or from an Eclipse update site <a href="http://pydev.sf.net/updates/">http://pydev.sf.net/updates/</a>. Developer issues are discussed at <a href="http://sourceforge.net/mailarchive/forum.php?forum_id=39082">pydev-code</a> mailing list. For support, try the <a href="http://sourceforge.net/forum/forum.php?forum_id=293649">users</a> bulletin board. I sometimes post tidbits about the development progress in the <a href="http://blogs.osafoundation.org/atotic/cat_work_log.html">weblog</a>. ! <p>Pydev has been developed by Aleks Totic as a "getting to know Eclipse" project, with some wonderful help from Fabio "Foldin" Zadrozny.</p> ! <p>Mentions in the press:</p> ! <li><a href='http://www-106.ibm.com/developerworks/library/os-ecant/?ca=drs-tp2604'>Python development with Eclipse and Ant</a> ! <li><a href='http://conferences.oreillynet.com/presentations/os2004/moore_python.pdf'>Pydev at OsCon</a> </fieldset> <fieldset> *************** *** 58,61 **** --- 63,68 ---- <legend>Development notes</legend> <pre> + <i>These notes are from June of 2004. For more recent activity, check out + <a href="http://sourceforge.net/mailarchive/forum.php?forum_id=39082">pydev-code</a> mailing list on sourceforge.</i> <b>History</b> In 2003, I was volunteering at OSAF. OSAF was developing Chandler in Python and wxWindows. *************** *** 142,145 **** --- 149,153 ---- </pre> </fieldset> + YeeeehaaaaaW! </body> </html> \ No newline at end of file --- NEW FILE: main.css --- body { font-family: "Times New Roman", Times, serif; font-size: medium; background-color: #FFFFE7; } p { line-height: normal; margin-top: 6px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px} a { color: #003399} form { margin-top: 0px; margin-right: 0px; margin-bottom: 4px; margin-left: 0px} h1 { margin-bottom: 6px} h3 { margin-top: 10px; margin-bottom: 4px} h2 { margin-top: 10px; margin-bottom: 4px} .shadeofgray { color: #CCCCCC} fieldset { border: black 1pt solid; padding-left : 1em; padding-bottom : 4px; border-color : #CCCCCC; } legend { border: black 1pt solid; padding-left: 1em; padding-right: 1em; background-color: Blue; color : White; font-weight : bold; font-family : Arial, Helvetica, sans-serif; } |
From: Aleksandar T. <at...@us...> - 2004-09-28 20:00:36
|
Update of /cvsroot/pydev/org.python.pydev.help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31799 Modified Files: toc_main.xml plugin.xml Added Files: .cvsignore Removed Files: build.xml Log Message: 0.6.1 sync up --- NEW FILE: .cvsignore --- *.jar Index: toc_main.xml =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.help/toc_main.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** toc_main.xml 12 Jul 2004 18:22:32 -0000 1.6 --- toc_main.xml 28 Sep 2004 20:00:22 -0000 1.7 *************** *** 1,4 **** --- 1,5 ---- <toc label="PyDev User Guide" topic="html/index.html"> <topic label="Editor" href="html/editor.html"> + <topic label="Undocumented" href="html/ed_undocumented.html"/> <topic label="Preferences" href="html/ed_prefs.html"/> </topic> --- build.xml DELETED --- Index: plugin.xml =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.help/plugin.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** plugin.xml 15 Sep 2004 17:51:25 -0000 1.5 --- plugin.xml 28 Sep 2004 20:00:22 -0000 1.6 *************** *** 4,8 **** id="org.python.pydev.help" name="Pydev Online Help" ! version="0.5.3" provider-name="Aleks Totic"> --- 4,8 ---- id="org.python.pydev.help" name="Pydev Online Help" ! version="0.6" provider-name="Aleks Totic"> |
From: Aleksandar T. <at...@us...> - 2004-09-28 20:00:35
|
Update of /cvsroot/pydev/org.python.pydev.help/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31799/html Added Files: ed_undocumented.html Log Message: 0.6.1 sync up --- NEW FILE: ed_undocumented.html --- <h2>Undocumented features</h2> <p>We've been slacking on documentation on code folding, refactoring, and code completion. All these great features have been implemented by fabioz. Instead of documentation, here are some of the emails where he explains what he has done:</p> <i>Fabio writes:</i> <xmp> Refactoring: Completed: - Bicycle repair man (BRM) integration (support for rename and extract method). - Added a view to show which files were affected by the last refactoring Missing: - Undo of the refactoring (it is supported by BRM but not integrated). - There are other refactorings that can be integrated. - Only appearing on right click menu... Some keybindings could be used also. Search: Using Bicycle repair man go to definition search on key F3. It is used because our search was only on the current buffer (and that was really annoying). Code completion: Basically, this was a rewrite from the python side of the code completion. I think there are better ways to do it, but time is never enough, so, code completion now works on: - import ... - from ... - from a import ... - self. - any other token that we are able to get on the module level, that is, variables initialized inside methods or other scopes are not gotten (they weren't earlier either, so, that's not a retrocess). So, missing for this feature is: - Work on inner scopes: this would require some good work with the python ast... - It still doesn't work on method parameters, but it could be added without too much effort (I will do it as soon as I can, but I still don't know when I will be able to do it - so, if anyone volunteers...). Well, I think that's it... The bad part is that I didn't put it in pydev help (if someone volunteers...) </xmp> And <i>Fabio writes some more:</i> <xmp> Refactor Examples (activates on right mouse click - there is usually a keyboard key that emulates that): On: class C: def a(self): a = 2 b = 3 c = a+b #this should be refactored. return c c = C() Marking 'a+b' and making an extract method refactor for a method called 'plusMet' should give you: class C: def a(self): a = 2 b = 3 c = self.plusMet(a, b) #this should be refactored. return c def plusMet(self, a, b): return a+b c = C() And with the same class, marking C (it must be the class definition) should give you: class G: def a(self): a = 2 b = 3 c = a+b #this should be refactored. return c c = G() Until now, extract method has given me no problems, but rename does not always work... It has to scan all the PYTHONPATH and does not always find all the references (and sometimes may have problems parsing some files too...) Methods or variables can be renamed too. And as a helper, a Refactor Results View has been contributed. After any refactoring it should show which files were changed, however, it only works correctly if it is opened (if you do a refactor and open it later it won't show the results - that's a bug). ----------------------------------------------------------------- Code completion examples: Imports completion goes for the sys.path, that is, if you go in python and: import sys print sys.path - those are the locations searched to get the imports tips. Directories if they contain an __init__.py Files: .py, .py, .pyo, .pyd, .dll So, if you go: (| Marks Ctrl+Space) import | a list of the imports that can be gotten should appear. import comp| completes imports that start with comp import compiler.| completes with compiler sub-modules and classes import compiler.ast.| completes with compiler.ast sub-modules and classes from compiler import | completes with compiler sub-modules and classes from compiler import ast.| completes with compiler.ast sub-modules and classes Now for other completions: If you have a file from compiler import * And just Ctrl+Space, it should appear all the globals, in this case all compiler submodules and classes. If you had just Import compiler Ctrl+Space would bring you '__builtins__' and 'compiler' suggestions For class code completion: Suppose you have: import compiler class C(compiler.visitor.ASTVisitor): def __init__(self): self.| would bring you all the code available from this class. compiler.| would bring all that is contained within the compiler module There is a catch in this completion: as I rely on our ModelUtils to know in which class I am, it only works correctly once it is parsed correctly (at least once) - if this doesn't happen, you're getting an error such as 'name self. Not defined', because as it can't determine it as a class in ModelUtils, it tries to complete as if it was a simple token - this could be worked with some kind of fast parser, just to determine in which class we are... Well, I think that's most of it... </xmp> <i>And even more Fabio</i>. I just asked him to fix a bug, and he implemented another feature. <xmp> I added one more feature for the release: a Ctrl+1 advisor, to help on assigning. E.g. If you have a call in the main module, let's say: C()| Ctrl+1 - bring a list of suggestions for assistants (it's still not very complete, but it has already proved very usable for me) Or if you have: Class C: def a(self): self.newMethod()| Ctrl+1 also brings some interesting assistants. It is not complete, but it works well for cases were it is well used...eheheheh </xmp> <i>Beyond Fabio, we have Grig working on pyUnit integration. <i> This is what he has to say about pyUnit menu item: <xmp> If you have a Python module that contains a TestCase subclass, it runs TextTestRunner on all the tests in that class and outputs the results on the console. The next version will ' have a view with a green/red bar, just as jUnit does. </xmp> |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:56:57
|
Update of /cvsroot/pydev/org.python.pydev.site/features In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30816/features Added Files: .cvsignore Log Message: --- NEW FILE: .cvsignore --- *.jar |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:56:57
|
Update of /cvsroot/pydev/org.python.pydev.site/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30816/plugins Added Files: .cvsignore Log Message: --- NEW FILE: .cvsignore --- *.jar |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:56:56
|
Update of /cvsroot/pydev/org.python.pydev.site/features In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30773/features Log Message: Directory /cvsroot/pydev/org.python.pydev.site/features added to the repository |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:56:56
|
Update of /cvsroot/pydev/org.python.pydev.site/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30773/plugins Log Message: Directory /cvsroot/pydev/org.python.pydev.site/plugins added to the repository |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:54:02
|
Update of /cvsroot/pydev/org.python.pydev.site/.sitebuild In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30093/.sitebuild Added Files: sitebuild.xml Log Message: --- NEW FILE: sitebuild.xml --- <?xml version="1.0" encoding="UTF-8"?> <site-build autobuild="false" scrub-output="false" use-console="true"> <feature id="org.python.pydev.feature" version="0.6.1"/> </site-build> |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:54:02
|
Update of /cvsroot/pydev/org.python.pydev.site In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30093 Added Files: .project site.xml Log Message: --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>org.python.pydev.site</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.pde.UpdateSiteBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.pde.UpdateSiteNature</nature> </natures> </projectDescription> --- NEW FILE: site.xml --- <?xml version="1.0" encoding="UTF-8"?> <site> <description url="http://pydev.sourceforge.net/"> The python development environment. </description> <feature url="features/org.python.pydev.feature_0.6.1.jar" id="org.python.pydev.feature" version="0.6.1"/> <feature url="features/org.python.pydev.feature_0.5.3.jar" id="org.python.pydev.feature" version="0.5.3"/> <feature url="features/org.python.pydev.feature_0.4.2.jar" id="org.python.pydev.feature" version="0.4.2"/> </site> |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:53:57
|
Update of /cvsroot/pydev/org.python.pydev.site/.sitebuild In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30070/.sitebuild Log Message: Directory /cvsroot/pydev/org.python.pydev.site/.sitebuild added to the repository |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:52:09
|
Update of /cvsroot/pydev/org.python.pydev.site In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29744/org.python.pydev.site Log Message: Directory /cvsroot/pydev/org.python.pydev.site added to the repository |
From: Aleksandar T. <at...@us...> - 2004-09-28 19:51:03
|
Update of /cvsroot/pydev/org.python.pydev.feature In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29525 Modified Files: feature.xml Log Message: 0.6.1 update Index: feature.xml =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.feature/feature.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** feature.xml 25 Jun 2004 00:05:23 -0000 1.3 --- feature.xml 28 Sep 2004 19:50:48 -0000 1.4 *************** *** 3,7 **** id="org.python.pydev.feature" label="org.python.pydev.feature" ! version="0.4.2" provider-name="Aleks Totic"> --- 3,7 ---- id="org.python.pydev.feature" label="org.python.pydev.feature" ! version="0.6.1" provider-name="Aleks Totic"> *************** *** 24,28 **** <url> <update label="Pydev update site" url="http://pydev.sourceforge.net/updates/"/> - <discovery label="Pydev discovery site" url="http://pydev.sourceforge.net/" type="web"/> </url> --- 24,27 ---- *************** *** 33,43 **** <import plugin="org.eclipse.ui.editors"/> <import plugin="org.eclipse.ui.views"/> <import plugin="org.eclipse.ui.workbench.texteditor"/> <import plugin="org.eclipse.jface.text"/> - <import plugin="org.eclipse.jdt.ui"/> <import plugin="org.eclipse.core.boot"/> <import plugin="org.eclipse.ui.externaltools"/> <import plugin="org.eclipse.debug.core"/> <import plugin="org.eclipse.debug.ui"/> </requires> --- 32,43 ---- <import plugin="org.eclipse.ui.editors"/> <import plugin="org.eclipse.ui.views"/> + <import plugin="org.eclipse.ui.ide"/> <import plugin="org.eclipse.ui.workbench.texteditor"/> <import plugin="org.eclipse.jface.text"/> <import plugin="org.eclipse.core.boot"/> <import plugin="org.eclipse.ui.externaltools"/> <import plugin="org.eclipse.debug.core"/> <import plugin="org.eclipse.debug.ui"/> + <import plugin="org.eclipse.core.variables"/> </requires> *************** *** 46,50 **** download-size="275" install-size="275" ! version="0.4.2"/> <plugin --- 46,50 ---- download-size="275" install-size="275" ! version="0.6.1"/> <plugin *************** *** 52,56 **** download-size="87" install-size="87" ! version="0.4.2"/> <plugin --- 52,56 ---- download-size="87" install-size="87" ! version="0.6"/> <plugin *************** *** 58,62 **** download-size="100" install-size="100" ! version="0.4.0"/> </feature> --- 58,62 ---- download-size="100" install-size="100" ! version="0.6"/> </feature> |