David Srbecký
4dfa334656
Updated TreeViewNode adapter to the new model.
...
The pad is progressively updated using the same method as before - Application.DoEvents() is called periodically so that repaint events are invoked. I still need to put is checks so that press of Stepping command terminates the update.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2792 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
365047db5d
Completely rewritten the variable model for Local Variables Pad and for the debugger tooltips.
...
Previously the nodes wrapped debugger values - any requests were redirected to the underling value.
The nodes are now based on Expressions and act as dum data storage. When node is created the expression is evaluated and the properties (Image, Name, Text, Type) are stored locally in the node. The node is immutable so its content can not be changed - the GUI need to create a fresh node. This implies that the expression is evaluated only once - when the node is created.
A node can have child nodes. The child nodes are created on-demand using enumerators. This is desirable since creation of node involves evaluation of expression. It also prevents infinite recursion.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2791 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
6c7f8e0378
Updated to NUnit 2.4.6. The Unit Testing addin now uses the nunit-console's new /run command line parameter introduced in NUnit 2.4.6. This can be used to execute a test method, class or namespace.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2790 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
bf2a0e0547
Initial implementation of expression evaluator
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2789 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
775f2fc891
Creation of expression does not evaluate the expression.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2788 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
7f5467d178
Support for array lower bounds
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2787 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
699b95545c
Added code for creating expressions
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2786 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
2dbc8bec00
Updated the WixBinding and SharpDevelop's installer to use WiX 3.0.3621.0
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2785 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
fc672f7a57
Rename Function to StackFrame
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2784 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
e2bfe8d436
Moved part of code from Function to MethodInfo
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2783 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
72d158f3e7
Tests for the last revision generic
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2782 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
9695680666
Create generic ICorDebugType from ICorDebugClass and type arguments.
...
We can not get DebugType for a Function
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2781 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
1a378ee7ba
Updated tests
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2780 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
bb13459617
Skeleton of the Expression classes
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2779 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
1983b5e8b2
Removed the delegate-based persistence framework (will be replaced by expressions)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2778 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
f0d97426ff
Bad idea - reverting last two revisions. At least for the time being.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2777 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
62bb8ba089
Preparing to remove ValueCollection
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2776 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
890bd0daae
Values have no names. Names will be part of higher level abstraction.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2775 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
a6ecb55469
Removed some unused references.
...
Removed/disabled all Expression code. It will return as higher level abstraction layer.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2774 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
c0db8bfbb9
Removed expiry propagation for Values.
...
It seems there were only two cases:
- Values expiring when stack frame exits
- Values expiring immediately when debuggee is resumed
These precisely correspond to these two cases: (respectively)
- Values that have closed expression
- Values that do not have closed expression
The new behaviour is that every value expires when debuggee is resumed.
Work in progress...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2773 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
cb3e8cc8fb
Removed the IMutable interface which propagated notifications about value changes.
...
It do not provide 100% guarantee of notification. For example:
- If the user obtained a reference to same value from two places (eg classA.someInt and classB.someInt where classA == classB) then change in one place did not trigger notification in the other.
- Changing of the backing value for a property would not change the property.
Idea for better system (if it is needed in the future):
Each value refers to some memory range (eg reference it is 4 byte pointer in memory; string is value on heap).
Whenever a debugger is resumed all bets are off and anything could have changed.
Other then that value changes if and only if its memory range is modified by the user.
Expression as a whole changes whenever any of the values involved changes; if method call or property is involved then the whole expression may change when any memory is modified.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2772 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
12f37461f5
Added 'Expressions' test
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2771 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
bd5484d113
Build compound expressions (eg "localVar.field[5]")
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2770 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
9a645660c7
Moved code to the Value class:
...
- Value.GetFieldValue
- Value.GetPropertyValue
- Value.SetPropertyValue
- Value.InvokeMethod
- Value.AsyncInvokeMethod
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2769 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
620177d103
Removed file Value.Common.cs
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2768 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
360acce034
Added specific Ast Expression so that more information can be preserved.
...
Renamed Testing attribute SummaryOnly to ToStringOnly
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2767 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
ea9e8e66a2
Update Debugger.Tests
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2766 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
775adac3ea
Removed classes ArrayElement, LocalVariable, MemberValue and MethodArgument. They added no functionality to the Value class except for specifying how the Value was created.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2765 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
e19ab146f9
Rename files (Value-*.cs => Value.*.cs)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2764 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
55d6dd3b46
Removed the NamedValue class. All values now have name.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2763 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
62bbea7ef0
Added an Expression class which will be used to store AST expression for each value
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2762 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Srbecký
7664b4981e
Re-enabled debugger
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2761 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
849b934739
XML editor now uses the text editor's CodeCompletionWindow instead of its own custom version.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2760 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
4fb6119ab3
Added pre-build event to run UpdateAssemblyInfo.exe to Python.Build.Tasks and ClassDiagram projects.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2759 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
d3f38a8ac9
Removed NAnt file template from installer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2758 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
faad66f44a
Added NAnt addin sample.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2757 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
b58eebe306
The SdiWorkspaceLayout now checks that the DefaultWorkbench ToolBars property is not null before adding controls to the toolbar panel. The ToolBars property is null if nothing is specified in the .addin file under the path /SharpDevelop/Workbench/ToolBar
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2756 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
4f8f2dc7db
Updated samples so they work with SharpDevelop 3.0
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2755 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
3e065a31bd
Moved Mono addin to samples and added support for Mono's new VB.NET compiler Vbnc.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2754 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
602dde82c5
Added IronPython addin with support for IronPython 1.1
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2753 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
7238969a59
Fixed problems with the XML Editor's XmlParser class preventing the XamlExpressionFinder from correctly identifying an attribute or element in a different namespace. The GetActiveElementStartPath, GetParentElementPath and GetQualifiedAttributeName all now correctly determine the namespace of the element or attribute if the xml has mixed namespaces.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2752 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
85d7e3ab6b
Layout configuration: Make "<Reset to defaults>" switch back to the Default layout.
...
Do not store active layout, always start with Default. (fixes SD2-1268)
Switch layout before starting the debugger (removes workaround for SD2-1325)
Add LINQ support to VBNetOutputVisitor (not tested to generate valid code, but better than "throw new NotImplementedException();")
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2751 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
de670165f9
The CodeCoverageMethod.GetChildNamespaces method now correctly identifies the child namespaces when there are two that start the same and match up to just before the dot character.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2750 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
a0437d75dc
Removed unused files from setup and code coverage addin.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2748 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
fd038e497d
Updated installer: Removed nunit-console components used to target .NET 1.1. Added log4net component for NUnit 2.4.5.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2747 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
831239dac5
Updated to NUnit 2.4.5. Removed support for running unit tests against .NET 1.1.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2746 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
35701c8bcd
Suppress warning message when SideBarConfig.xml does not exist (on first start after installation).
...
Disable Debugger AddIn: it is WAY too unstable to be useful.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2745 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
5b47018d7e
Changed CodeCoverage addin to use PartCover 2.2 instead of NCover.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2744 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f4d79bc951
Improved finding xml documentation (now supports redirections). Add support for compiling for Compact Framework 3.5.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2743 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
06e3f369e2
XmlView checks that the PrimaryFile is not null before MakeDirty is called in the DocumentChanged event handler. The text editor's filename is set to an empty string instead of null in the XslOutputView so the ParserService does not throw an ArgumentNullException when looking for a parser.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2742 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago