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
Daniel Grunwald
15a7ecb18e
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2741 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
996079f1d1
Fixed forum-6858: Bug in New Project/New File Dialog: LastSelectedCategory is not saved correctly for sub-categories.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2740 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8f2e284793
Allow choosing the target framework when creating a new project.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2739 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ab9754d4d8
Fixed SD2-1379: When opening files, compile errors are not highlighted
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2738 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cb61ffd0b7
Fixed rare deadlock between QuickClassBrowserPanel locking a CompoundClass and then doing SearchType requests on a project content; and the parser thread updating a project content and then locking a compound class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2737 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5fa0f7e1fa
Fixed tracking of current project: Improved finding of the first visible parent node of a project by not using lazy initialization for solution folder nodes. Do not set ProjectService.CurrentProject in SelectFile requests - when changing the active file, ProjectService.ActiveViewContentChanged already takes care of changing the current project.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2736 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
65820b499e
Disable code-completion inside string literals.
...
Fixed control size in HistoryViewDisplayBinding/InfoPanel.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2735 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e49d1e86ab
Improve code completion after the "new" keyword.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2734 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
1cd779e5b2
Go back to DockingWindow mode. This seems to solve the issue that text editor tooltips were sometimes not visible anymore after a layout change.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2733 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
65ba1bf91a
Prevent crash in DockPanel.FocusManager.Activate when active pane was removed (e.g. the pad that was active when SharpDevelop was closed does not exist anymore after an AddIn was removed manually or SharpDevelop was updated)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2732 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b6c95c8c87
Fixed code completion after string literals ("hello, world".Length), fixed code completion in object initializers that use binary operators in the value (new MyType { P1 = someValue + someOtherValue }).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2731 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
43ccda8109
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2730 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
44fcb45530
FxCop AddIn: allow suppressing assembly-wide messages (e.g. AssembliesShouldHaveValidStrongNames)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2729 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
25bc869822
Make project conversion from MSBuild 2.0 to 3.5 explicit using a button in the project options.
...
Remove .NET 1.x compilation support. Remove .NET CF 1.0 compilation support.
Newly created projects for start as MSBuild 3.5 projects.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2728 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5edf2f6842
Fixed bug in text editor drag+drop that could cause an undo group to stay open.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2727 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
834324ad1f
Update to Boo 0.8.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2726 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christoph Wille
da6aee9151
Updated setup for SHFB 1.6
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2725 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6bd9f43482
WinFormsUI/License.txt: disable Copy to Output Directory.
...
Fixed a bug that could cause a file to be registered multiple times in the project content, showing all class members twice in the "quick class browser".
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2724 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago