[IronPython] IronPython 2.6 CodePlex Source Update

merllab at microsoft.com merllab at microsoft.com
Mon Aug 9 19:12:53 CEST 2010


This is an automated email letting you know that sources 
have recently been pushed out.  You can download these newer 
sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/75203.

ADDED SOURCES
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Wpf
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Wpf/IronPython.Wpf.csproj
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Wpf/wpf.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/CollectionUtils.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/CompilerServices
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugContext.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugContext.GeneratorLoopProc.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugFrame.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebuggableLambdaBuilder.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugGenerator.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugInfoRewriter.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugMode.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugSourceFile.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugSourceSpan.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugThread.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DefaultRuntimeVariablesImpl
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DelegateHelpers.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/ForceToGeneratorLoopException.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/FunctionInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/IDebugCallback.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/InvokeTargets.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/LambdaWalker.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/Microsoft.Scripting.Debugging.Generated.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/RuntimeOps.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/RuntimeVariablesSupport
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/ScopedRuntimeVariables.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/ThreadLocal.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TraceEventKind.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TracePipeline
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/VariableInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/CompilerServices/DebugLambdaInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/CompilerServices/IDebugCompilerSupport.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DefaultRuntimeVariablesImpl/DebugRuntimeVariables.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThread.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThreadFactory.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/RuntimeVariablesSupport/IDebugRuntimeVariables.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/RuntimeVariablesSupport/IDebugThreadFactory.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TracePipeline/ITraceCallback.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TracePipeline/ITracePipeline.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TracePipeline/TracePipeline.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/SimpleSrcLocation.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/SingleDict.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/IReferenceable.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/MemberReferences.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/RemoteEvaluation/AsyncAccess.cs

DELETED SOURCES
	$/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/IVariableDefContainer.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/RemoteEvaluation/AsyncAbort.cs

MODIFIED SOURCES
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Wpf/IronPython.Wpf.csproj
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Wpf/wpf.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/IronPython.csproj
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/Python.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonService.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/sys.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ClrModule.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonContext.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonBinder.cs
	$/IronPython/IronPython_Main/Languages/IronPython/Scripts/run_interactive.py
	$/IronPython/IronPython_Main/Languages/IronPython/Tests/test_cliclass.py
	$/IronPython/IronPython_Main/Languages/IronPython/Tests/test_dllsite.py
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/GlobalSuppressions.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/CollectionUtils.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugContext.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugContext.GeneratorLoopProc.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugFrame.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebuggableLambdaBuilder.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugGenerator.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugInfoRewriter.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugMode.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugSourceFile.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugSourceSpan.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DebugThread.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DelegateHelpers.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/ForceToGeneratorLoopException.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/FunctionInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/IDebugCallback.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/InvokeTargets.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/LambdaWalker.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/Microsoft.Scripting.Debugging.Generated.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/RuntimeOps.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/ScopedRuntimeVariables.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/ThreadLocal.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TraceEventKind.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/VariableInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/CompilerServices/DebugLambdaInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/CompilerServices/IDebugCompilerSupport.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DefaultRuntimeVariablesImpl/DebugRuntimeVariables.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThread.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThreadFactory.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/RuntimeVariablesSupport/IDebugRuntimeVariables.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/RuntimeVariablesSupport/IDebugThreadFactory.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TracePipeline/ITraceCallback.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TracePipeline/ITracePipeline.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Debugging/TracePipeline/TracePipeline.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DynamicXamlReader.cs
	$/IronPython/IronPython_Main/Solutions/IronPython.sln
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonTools/IronPythonTools.csproj
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonTools/IronPythonTools/Navigation/EditFilter.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonTools/IronPythonTools/Project/PythonStarter.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/IronPythonToolsCore.csproj
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/IronPythonToolsCore/PythonRuntimeHost.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/IronPythonToolsCore/Intellisense/PythonAnalyzer.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/IronPythonToolsCore/Repl/RemotePythonEvaluator.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/IAnalysisValue.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/IAnalysisVariable.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/ModuleAnalysis.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/ProjectEntry.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/ProjectState.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/SimpleSrcLocation.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/AnalysisUnit.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/DDG.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/ExpressionEvaluator.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/InterpreterScope.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/OverviewWalker.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/SingleDict.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/TypeUnion.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Interpreter/VariableDef.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/BuiltinClassInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/BuiltinEventInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/BuiltinInstanceInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/BuiltinModule.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/BuiltinNamespace.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/ClassInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/ConstantInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/DependencyInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/FunctionInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/InstanceInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/IReferenceable.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/MemberReferences.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/MethodInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/ModuleInfo.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/Namespace.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronPythonToolsCore/PyAnalysis/Values/ReflectedNamespace.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudio/IronStudio/Navigation/HierarchyListener.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudio/IronStudio/Repl/VsReplWindow.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore.csproj
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/DlrClassifier.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/Intellisense/XamlAnalysis.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/RemoteEvaluation/AsyncAccess.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/RemoteEvaluation/ExecutionQueue.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/RemoteEvaluation/RemoteProxy.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/RemoteEvaluation/RemoteScriptFactory.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/Repl/DlrEvaluator.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/Repl/ReplEvaluator.cs
	$/IronPython/IronPython_Main/Tools/IronStudio/IronStudioCore/IronStudioCore/Repl/ReplWindow.cs

CHECKIN COMMENTS
--------------------------------------------------------------------------------
Changeset Id: 1958770
Date: 8/5/2010 11:25:21 AM

Fixes the MSI so that IronPython Tools works again – the MSI now installs both IronPython Tools and IronStudio separately.

Updates go package to have a –toolsbin option which uses the IronPython Tools ipy/DLR binaries for producing the MSI.  This lets us have a simple batch file which generates a testable MSI (which is added into the IronStudio directory as IpyMsi).

Moves installer location code into IronPythonCore so the analysis engine can use it to find the DLLs directory (if it exists).

Move analysis of XAML files onto the analysis thread because it can trigger analysis of Python code.

Fix completions showing up when typing space (e.g. “x = “)

Add command dispatcher support to RemoteScriptFactory and wire it up to IronPython’s command dispatcher.  Also removes dependency on IronPython.dll.

Improve goto definitions distinction between assignments and definitions.  Only show values for local variables.  For other variables include all references to the type.

Fix goto def / find all refs on a method in a class by searching backwards.

Improve re-analysis between XAML and .py files.

Add support for wpf module – retarget where we look for LoadComponent and support searching the DLLs dir in general.

Always evaluate RHS of augmented assign even if LHS value is not known.

Add reference tracking back onto user defined objects, and track references when a value is looked up by name.  Now “x = SomeClass” shows up as a reference.

Improve memory usage of variable defs by optimizing for the single type assigned case.  Improve type tracking of variable defs by storing the dependency of a user defined into in the user defined’s declaring module.  Also we no longer propagate stale values.

Track references to built-ins.

Propagate types when calling a delegate type and passing in a function.

Display None value as None and not NoneType.

Reduce memory usage required to store references by not using SourceSpan.

Fix order of attribute lookup on an instance – look in class and then instance.

Fix result type of is and is not operators to always be bool.

Add support for analyzing XAML files in IronStudio.

Fix content menu, paste, and char type commands in REPL.

Fix bug in REPL where we weren’t noticing deletes because the overlap was empty.

Report line number information in XAML analysis for named elements.

Simplify DLR evaluator removing dead and otherwise useless code.

Fix REPL bug w/ clear screen where you could no longer type afterwards.




(Shelveset: ToolsGotoDefMsiAndBugs;REDMOND\dinov | SNAP CheckinId: 11238)
--------------------------------------------------------------------------------
Changeset Id: 1956311
Date: 8/4/2010 12:48:54 PM

Moves IronPython’s LoadComponent support to a new (optional) wpf module.  This enables it to depend upon WPF which fixes a bug where data binding isn’t working when we use the default XAML schema context.  The DLL is added to the DLLs directory and everything including the MSI is updated to include it.  Test_dllsite needed to be updated to deal w/ the presence of this directory.  Also re-orders the parameters to that the target object comes first in LoadComponent.

To keep the balance of DLLs the same this gets rid of Microsoft.Scripting.Debugging and folds that into  Microsoft.Dynamic.dll (this was planned anyway after Tomas added the metadata DLL).

The assembly load order has changed and this broke test_interactive – including the extensions causes us to do a LoadFile when we want a normal load.




(Shelveset: wpfdllsfinal;REDMOND\dinov | SNAP CheckinId: 11236)
--------------------------------------------------------------------------------
Changeset Id: 1953691
Date: 8/3/2010 11:50:02 AM

Updates the Python class:
	Python:
		Adds GetModuleFilenames so we can remove an IronStudio dependency on IronPython

	PythonService:
		Adds GetModuleFilenames implementation and DispatchCommand/GetSetCommandDispatcher/GetLocalCommandDispatcher for WPF repl support (this is basically existing functionality exposed to hosts)

Changed CommandDispatcher type to Action<Action> so it doesn’t need to be a Python specific type (which will fit  better into IronStudio).




(Shelveset: ServiceUpdates;REDMOND\dinov | SNAP CheckinId: 11232)



More information about the Ironpython-users mailing list