This fixes forum-9916 (error closing Sharp Development IDE after renaming a form).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4885 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
The name 'Content' could result in a hard to understand exception 'Specified element is already the logical child of another element. Disconnect it first.' when implementing IOptionPanel in a WPF UserControl. See forum-9233.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4018 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Added support for removing and replacing field declarations outside of the designer code file.
(Changes are identical to the patch I posted in the tracker.)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3790 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Adaptations to ParserService and ParseableFileContentEnumerator to make sure they always use the most recent version of the file content.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
TypeResolutionService now additionally keeps track of loaded assemblies on a per-instance basis to support this.
Use Assembly.CodeBase instead of Location for determining the assembly path when possible because Location may refer to a shadow copy.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3595 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
ResourceCodeGeneratorTool: Set BasePath so that relative file references inside ResX files work.
ParserService.GetParseableFileContent can now retrieve the file content from an OpenedFile if that exists.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3534 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Support "warm" reloading of designer (without full Unload/Load in view content). Happens automatically on language change -> removed own PropertyValueChanged handler.
Fixed the designer not reloading after a load error on the primary file.
Show a "please wait" label while loading.
Moved DefaultMemberRelationshipService to its own file.
Removed unused TypeDescriptorFilterService (that service is in the framework already).
Simplified IDEContainer and do actually add the grid to the container.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3508 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
This ensures that all code and designer views of the same form class are synchronized correctly.
Fixes SD2-1175: .Designer.cs file is saved even if user chooses not to save changes.
ActiveWindowStateConditionEvaluator now checks the dirty state of all view contents of the active window, not only the active view content. This makes the 'enabled' state of the save button consistent with its function.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3390 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Separated the resource storage management from the DesignerResourceService so that the ResourceStore is persistent for the lifetime of the view content, but the service can be deleted after unloading of the designer. Previously, the DesignerResourceService was automatically disposed on unloading, possibly deleting unsaved resources.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3332 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Documented missing services in DefaultServiceContainer.cs.
Use DesignSurfaceManager for managing multiple open designers and it provides an implementation of IDesignerEventService. Removed our own DesignerEventService which duplicated what is already there.
Add CodeDomProvider and UndoEngine to the service container as they are requested occasionally by the framework.
Improved disposing of the DesignerViewContent.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3327 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Allow unit testing of view contents by decoupling OpenedFile from FileService and Workbench.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2663 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
The forms designer now uses OpenedFile (SD2-1234) to allow sharing unsaved resource files between resource editor and forms designer.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2662 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61