* System.Design.dll.sources: Added StringValueConverter.cs.
* System.Design_test.dll.sources: Added StringValueConverterTest.cs.
* StringValueConverter.cs: Implemented internal class used as
TypeConverter for several properties.
svn path=/trunk/mcs/; revision=108653
* DesignerActionMethodItem.cs: Fix typo where the action_list
field was self-assigned (instead of taking the ctor value).
[Found using Gendarme ReviewSelfAssignmentRule]
svn path=/trunk/mcs/; revision=107328
* CodeDomDesignerLoader.cs: Add the supplied TypeResolutionService
to the service container if one isn't present already.
svn path=/trunk/mcs/; revision=106834
* ControlBindingsConverter.cs: Implementated just enough to avoid
the circular dependency in the MWF PropertyGrid.
svn path=/trunk/mcs/; revision=104566
* CollectionEditor.cs: The display name of an object in the
list is not static. It can dynamically change when the object
get's modified.
[Fixes bug #375786]
svn path=/trunk/mcs/; revision=99772
* DesignModeSite.cs: Do not return the site specific service
container if GetService is asked for IServiceContainer.
svn path=/trunk/mcs/; revision=98083
* ControlDesigner.cs: Ignore the first WM_MOUSEMOVE after
WM_MOUSEDOWN as it is sent just after it.
* ParentControlDesigner.cs: Monitor Component Remove events
and fire ComponentChanging/ed events for the Parent of the removed
Control. Helps the UndoEngine to serialize parent changes.
* ControlDesigner.cs: Set the Control.Text to be the component name.
* FormDocumentDesigner.cs: Added.
* PanelDesigner.cs: Added.
* UISelectionService.cs: Set Parent through the TypeDescriptor, so
that component change notifications get fired.
* DefaultMenuCommands.cs: Implement Cut, Copy, Paste
* DocumentDesigner:
- Drop Form specific code.
- Add menu commands.
svn path=/trunk/mcs/; revision=97105
* MenuCommandService.cs: implemeneted
* DesignerHost.cs: Do not fire ComponentChanging/ed events
when removing a component.
* DesignModeSite: Naming fixes.
* UndoEngine.cs: A lot of bugfixes.
* SelectionService: Set root component as selected if the
last remaining component from the current selection has been
removed.
svn path=/trunk/mcs/; revision=97103
* CodeDomSerializerBase.cs, PropertyCodeDomSerializer.cs:
PropertySerializer shouldn't check for serialization visibility
as its duty is to serialize properies if invoked directly.
CodeDomSerializerBase.SerializeProperties should check the
visibility.
* CodeDomSerializer.cs: Fix deserialize to deserialize all
statements.
* CodeDomDesignerLoader.cs: Implement IDesignerSerializationService
using the ComponentSerializationService instead of calling
ourselves recursive.
* CodeDomComponentSerializationService.cs: A lot of bugfixes.
* DesignerSerializationManager.cs:
- Verify that we are not in session before creating a new one.
- Do not check whether we should
preserve names in GetInstance. This is only for CreateInstance.
- Fix a NRE if serialization providers are not initialized.
* CodeDomSerializationProvider.cs, CodeDomDesignerLoader.cs:
Refactor the codedom provider to a singleton, so that
CodeDomComponentSerializationService and others can share the
instance.
* SerializeAbsoluteContext.cs: ShouldSerialize should check if
the absolute context is of the same member not the opposite.
svn path=/trunk/mcs/; revision=97101
* StringCollectionEditor.cs:
- Split the lines not based on Environment.NewLine as this is
not what is used by MWF on Windows.
- Ignore last empty line.
[Fixes bug #365948]
svn path=/trunk/mcs/; revision=97014
* DateTimeEditor.cs: Set the calendar to the currently edited
date. Patch by Andy Hume. Code is contributed under
MIT/X11 license.
[Fixes#362749]
svn path=/trunk/mcs/; revision=96557
* DataFieldConverter.cs, DataMemberConverter.cs, DataSourceConverter.cs:
Use 'is' instead of 'as' and a null check. Found using Gendarme new
UseIsOperator rule.
svn path=/trunk/mcs/; revision=95398
* DockEditor.cs: ITypeDescriptorContext.Instance doesn't
contain the current value. It could contain the owner.
Use the initial value parameter.
svn path=/trunk/mcs/; revision=93756
* CodeDomComponentSerializationService.cs: implemented.
* ComponentCodeDomSerializer.cs, CollectionCodeDomSerializer.cs,
CodeDomSerializerBase.cs, CodeDomSerializer.cs,
EventCodeDomSerializer.cs, RootCodeDomSerializer.cs,
PropertyCodeDomSerializer.cs:
- Change the serialization process logic not to require an
ExpressionContext for full serialization of a component/instance.
- Provide statement ordering hints for the RootCodeDomSerializer.
* DesignerSerializationManager.cs: try-catch around
* CreateInstance just in case.
svn path=/trunk/mcs/; revision=92221
* CodeDomSerializerBase.cs: Check for a public ctor with no
* params
before returning a CodeCreateObject.
* CodeDomSerializer.cs: Handle null return value
from SerializeCreationExpression
svn path=/trunk/mcs/; revision=91861