57 Commits
Author SHA1 Message Date
Alexander Köplinger 9f1983da90 [System.Design] Rename method parameters to match .NET contract 2017-03-16 13:02:09 +01:00
Marek Safar 47a6f56439 [bcl] Clean up some warnings 2016-11-29 19:16:02 +01:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Ivan Zlatev e15dd9b4fd 2009-09-10 Ivan N. Zlatev <[email protected]>
* DocumentDesigner.cs: Changing the ISelectionService at run time was a
	bad idea, so wrap it inside the extended UISelectionService instead.

svn path=/trunk/mcs/; revision=141679
2009-09-10 14:03:55 +00:00
Ivan Zlatev 041c3c5ee4 2009-09-10 Ivan N. Zlatev <[email protected]>
* DesignSurface.cs: Provide the default implementation of the
	ISelectionService in the DesignSurface service container.
	* DocumentDesigner.cs: If there is already a ISelectionService registered
	in the ServiceContainer but it's not an IUISelectionService (WinForms
	specific) then replace it with one.
	[Fixes bug #538037]

svn path=/trunk/mcs/; revision=141677
2009-09-10 13:35:22 +00:00
Ivan Zlatev 56a55f7302 2009-09-09 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs, ControlDesigner.cs, UISelectionService.cs,
	IUISelectionService.cs: Support IToolboxService control creation via
	point-(resize)-click.
	[Fixes part of bug #537604]

svn path=/trunk/mcs/; revision=141612
2009-09-09 14:35:50 +00:00
Ivan Zlatev 9bff8a5b68 2008-10-15 Ivan N. Zlatev <[email protected]>
* StringCollectionEditor.cs: Minor fixes.
	Patch by Andy Hume.

svn path=/trunk/mcs/; revision=115901
2008-10-15 17:48:16 +00:00
Ivan Zlatev 52a36effe0 2008-09-01 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: Be nice with Components that are no
	Controls in CreateToolCore.

svn path=/trunk/mcs/; revision=112023
2008-09-01 13:31:27 +00:00
Ivan Zlatev 76c01db81b 2008-05-30 Ivan N. Zlatev <[email protected]>
* ControlBindingsConverter.cs: Fix 1.1 build.


svn path=/trunk/mcs/; revision=104567
2008-05-30 21:38:06 +00:00
Ivan Zlatev d50c3363d7 2008-05-30 Ivan N. Zlatev <[email protected]>
* ControlBindingsConverter.cs: Implementated just enough to avoid 
	the circular dependency in the MWF PropertyGrid.


svn path=/trunk/mcs/; revision=104566
2008-05-30 20:44:50 +00:00
Ivan Zlatev 9b699e9268 2008-05-12 Ivan N. Zlatev <[email protected]>
* StringCollectionEditor.cs: Handle String.Empty as a valid 
	edited value.
	[Fixes bug #389268]


svn path=/trunk/mcs/; revision=103007
2008-05-12 14:53:39 +00:00
Ivan Zlatev 119cd70eb2 2008-03-01 Ivan N. Zlatev <[email protected]>
* 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
2008-03-01 23:19:43 +00:00
Ivan Zlatev 23227c0a0e 2008-02-29 Ivan N. Zlatev <[email protected]>
* 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
2008-02-29 20:36:06 +00:00
Ivan Zlatev 5858f29d4d 2008-02-11 Ivan N. Zlatev <[email protected]>
* AnchorEditor.cs: More sensible default width.


svn path=/trunk/mcs/; revision=95446
2008-02-11 16:28:45 +00:00
Ivan Zlatev 9bf6254a49 2008-01-24 Ivan N. Zlatev <[email protected]>
* 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
2008-01-24 01:16:04 +00:00
Ivan Zlatev c52643ff1d 2008-01-04 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: Create a Transaction when adding a
        component.


svn path=/trunk/mcs/; revision=92216
2008-01-03 23:36:07 +00:00
Ivan Zlatev feed353065 2007-12-18 Ivan N. Zlatev <[email protected]>
* ControlCodeDomSerializer.cs: Add. Handles Resume/Suspend
        layout serialization.
        * ControlCollectionCodeDomSerializer.cs: Add.
        * DesignerSerializationManager.cs: DesignerSerializerAttribute
        should have higher precedence than the serializer providers.


svn path=/trunk/mcs/; revision=91575
2007-12-18 19:53:39 +00:00
Atsushi Eno a931c4111b 2007-10-09 Atsushi Enomoto <[email protected]>
* BorderSidesEditor.cs, DesignerOptions.cs,
	  ImageListCodeDomSerializer.cs, ImageListImageEditor.cs,
	  MaskDescriptor.cs, ShortcutKeysEditor.cs,
	  WindowsFormsDesignerOptionService.cs : new stubs.
	* AxImporter.cs, ComponentTray.cs, ControlDesigner.cs,
	  DocumentDesigner.cs, MenuCommands.cs, ParentControlDesigner.cs:
	  2.0 updates.

	* MenuCommandsTest.cs : new test.

	* System.Design.dll.sources : more .NET 2.0 types.
	* System.Design_test.dll.sources :
	  added Test/Sys.Win.Forms.Design/MenuCommandsTest.cs


svn path=/trunk/mcs/; revision=87187
2007-10-09 16:19:51 +00:00
Atsushi Eno b096b143a4 2007-10-02 Atsushi Enomoto <[email protected]>
* System.Design.dll.sources : more .NET 2.0 types.

	* CodeDomLocalizationProvider.cs, CodeDomLocalizationModel.cs :
	  new files.
	* CodeDomSerializerException.cs, CodeDomSerializerBase.cs,
	  TypeCodeDomSerializer.cs : cosmetic 2.0 API fixes.

	* Adorner.cs, Behavior.cs, BehaviorDragDropEventArgs.cs,
	  BehaviorDragDropEventHandler.cs, BehaviorService.cs,
	  BehaviorServiceAdornerCollection.cs,
	  BehaviorServiceAdornerCollectionEnumerator.cs,
	  ComponentGlyph.cs, ControlBodyGlyph.cs, Glyph.cs,
	  GlyphCollection.cs, GlyphSelectionType.cs, SnapLine.cs,
	  SnapLinePriority.cs, SnapLineType.cs : new files.

	* ControlDesigner.cs : added BehaviorService.


svn path=/trunk/mcs/; revision=86741
2007-10-02 12:42:35 +00:00
Ivan Zlatev 0191892957 2007-09-15 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: Binary compatibility fixes.
        * SplitContainerDesigner.cs: Binary compatibility fixes.
        * DocumentDesigner.cs: Binary compatibility fixes.
        * ControlDataObject.cs: Binary compatibility fixes.
        * ControlDesigner.cs: Binary compatibility fixes.
        * CodeDomSerializerBase.cs: Binary compatibility fixes.
        * CodeDomSerializer.cs: Binary compatibility fixes.
        * DesignSurface.cs: Binary compatibility fixes.
        * ComponentDesigner.cs: Binary compatibility fixes.
        * EventBindingService.cs: Binary compatibility fixes.
        * DesignSurfaceCollection.cs: Binary compatibility fixes.


svn path=/trunk/mcs/; revision=85848
2007-09-14 20:57:47 +00:00
Ivan Zlatev 03db1d8407 2007-08-29 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: implemented.
	* IUISelectionService.cs: implemented.
	* WndProcRouter.cs: implemented.
	* SelectionFrame.cs: implemented.
	* ControlDesigner.cs: implemented.
	* ControlDataObject.cs: implemented.
	* ComponentTray.cs: implemented.
	* ScrollableControlDesigner.cs: implemented.
	* UISelectionService.cs: implemented.
	* SplitContainerDesigner.cs: implemented.
	* IMessageReceiver.cs: implemented.
	* Native.cs: implemented.
	* DocumentDesigner.cs: implemented.
	* DefaultSerializationProviderAttribute.cs: implemented.
	* ComponentSerializationService.cs: implemented.
	* MemberRelationship.cs: implemented.
        * SerializationStore.cs: implemented.
	* DesignSurfaceManager.cs: implemented.
	* DesignerEventService.cs: implemented.
	* ComponentDesigner.cs: implemented.
	* ActiveDesignSurfaceChangedEventHandler.cs: implemented.
	* LoadedEventHandler.cs: implemented.
	* DesignSurfaceCollection.cs: implemented.
	* DesignerHost.cs: implemented.
	* ExtenderService.cs: implemented.
	* DesignModeSite.cs: implemented.
	* SelectionService.cs: implemented.
	* DesignSurfaceServiceContainer.cs: implemented.
	* DesignerActionListCollection.cs: implemented.
	* ActiveDesignSurfaceChangedEventArgs.cs: implemented.
	* LoadedEventArgs.cs: implemented.
	* TypeDescriptorFilterService.cs: implemented.
	* ReferenceService.cs: implemented.
	* DesignSurface.cs: implemented.
	* DesignSurfaceEventHandler.cs: implemented.
	* DesignModeNestedContainer.cs: implemented.
	* EventBindingService.cs: implemented.
	* DesignSurfaceEventArgs.cs: implemented.
	* DesignerOptionService.cs: implemented.
	* ITreeDesigner.cs: implemented.
	* CodeDomComponentSerializationService.cs: implemented.
	* CollectionCodeDomSerializer.cs: implemented.
	* CodeDomDesignerLoader.cs: implemented.
	* CodeDomSerializationProvider.cs: implemented.
	* ComponentCodeDomSerializer.cs: implemented.
	* RootContext.cs: implemented.
	* BasicDesignerLoader.cs: implemented.
	* DesignerSerializationManager.cs: implemented.
	* EnumCodeDomSerializer.cs: implemented.
	* SerializeAbsoluteContext.cs: implemented.
	* MemberCodeDomSerializer.cs: implemented.
	* PrimitiveCodeDomSerializer.cs: implemented.
	* CodeDomSerializerBase.cs: implemented.
	* CodeDomSerializer.cs: implemented.
	* ExpressionContext.cs: implemented.
	* EventCodeDomSerializer.cs: implemented.
	* TypeCodeDomSerializer.cs: implemented.
	* ObjectStatementCollection.cs: implemented.
	* RootCodeDomSerializer.cs: implemented.
	* PropertyCodeDomSerializer.cs: implemented.
	* StatementContext.cs: implemented.


svn path=/trunk/mcs/; revision=85023
2007-08-29 19:19:04 +00:00
Ivan Zlatev e26fa19a21 2007-08-27 Ivan N. Zlatev <[email protected]>
* DataMemberFieldEditor.cs: stubbed.
        * DataMemberListEditor.cs: stubbed.
        * FormatStringEditor.cs: stubbed.
        * StringCollectionEditor.cs: implemented.
        * StringArrayEditor.cs: implemented.
        * TabPageCollectionEditor.cs: implemented.
        * ListControlStringCollectionEditor.cs: implemented.


svn path=/trunk/mcs/; revision=84940
2007-08-28 11:12:52 +00:00
Ivan Zlatev 481a80ea54 2007-08-15 Ivan N. Zlatev <[email protected]>
* ImageIndexEditor.cs: empty class to prevent propertygrid crash.


svn path=/trunk/mcs/; revision=84142
2007-08-15 10:49:27 +00:00
Raja R Harinath d63fc35a28 make line-endings uniform. Set svn:eol-style native on files without CRs.
svn path=/trunk/mcs/; revision=70154
2006-12-28 05:30:33 +00:00
Raja R Harinath b0cbcf5f67 * ControlDesigner.cs: Merge with Miguel's version.
svn path=/trunk/mcs/; revision=70152
2006-12-28 05:22:48 +00:00
Chris Toshok dc2a60c51b fix typo
svn path=/trunk/mcs/; revision=69761
2006-12-19 17:28:46 +00:00
Chris Toshok ce3848edb2 In .:
* System.Design.dll.sources: add DataSourceConverter.cs and
	DataMemberFieldConverter.
In System.Windows.Forms.Design:
	* DataMemberFieldConverter.cs: another empty stub class.


svn path=/trunk/mcs/; revision=69760
2006-12-19 17:28:39 +00:00
Chris Toshok 44bd013a08 In .:
2006-12-19  Chris Toshok  <[email protected]>

	* System.Design.dll.sources: add DataSourceConverter.cs

In System.Windows.Forms.Design:
2006-12-19  Chris Toshok  <[email protected]>

	* DataSourceConverter.cs: new empty stub class to keep
	ControlInspector from crashing.


svn path=/trunk/mcs/; revision=69759
2006-12-19 17:25:03 +00:00
Chris Toshok e89362a405 In .:
2006-12-06  Chris Toshok  <[email protected]>

	* System.Design.dll.sources: add
	System.Windows.Forms.Design/ImageCollectionEditor.cs

In System.Windows.Forms.Design:
2006-12-06  Chris Toshok  <[email protected]>

	* ImageCollectionEditor.cs: new file, stubbed just to get it so we
	can make an ImageList the selected object in a propertygrid.


svn path=/trunk/mcs/; revision=69128
2006-12-06 18:36:53 +00:00
Jonathan Chambers 7100af6b65 2005-06-29 Jonathan Chambers <[email protected]>
* ControlBindingsConverter.cs: Fix namespace 

svn path=/trunk/mcs/; revision=60085
2006-04-29 20:59:03 +00:00
Peter Dennis Bartok c12bb37038 2006-04-28 Peter Dennis Bartok <[email protected]>
* System.Design.dll.sources: Added ControlBindingsConverter.cs
	* ControlBindingsConverter.cs: Added 


svn path=/trunk/mcs/; revision=60073
2006-04-29 02:30:23 +00:00
Miguel de Icaza c966b1987e Manual tune up, so it looks better until I figure out how the Propertygrid works
svn path=/trunk/mcs/; revision=59905
2006-04-26 01:31:17 +00:00
Miguel de Icaza 435fa53890 2006-04-25 Miguel de Icaza <[email protected]>
* AnchorEditor.cs: Implement the anchor editor.   

	Two thoughts: I love the "Walkthrough" to implement UI editors
	from the documentation.

	And Visual Studio 2005 was really nice to use to write this code.


svn path=/trunk/mcs/; revision=59903
2006-04-26 01:22:47 +00:00
Jonathan Chambers 1c0096730f Use context information passed to editor.
svn path=/trunk/mcs/; revision=46341
2005-06-22 03:27:32 +00:00
Jonathan Chambers 95181da702 Implemented DockEditor class
svn path=/trunk/mcs/; revision=46186
2005-06-18 13:15:18 +00:00
Ben Maurer 47876a3539 more copy and paste reuse going away
svn path=/trunk/mcs/; revision=45988
2005-06-14 19:21:45 +00:00
Duncan Mak bab786ade5 Add licensing info
svn path=/trunk/mcs/; revision=30348
2004-06-24 21:38:17 +00:00
Gert Driesen efa16e80cc * ComponentEditorForm.cs: CRLF to LF
* ControlDesigner.cs: API signature fix
* DocumentDesigner.cs: API signature fixes, CRLF to LF

svn path=/trunk/mcs/; revision=29309
2004-06-11 10:28:40 +00:00
Gert Driesen d80645f689 * AxParameterData.cs: stubbed
* AxWrapperGen.cs: stubbed
* DockEditor.cs: stubbed
* EventHandlerService.cs: stubbed

svn path=/trunk/mcs/; revision=29307
2004-06-11 10:12:38 +00:00
Gert Driesen bc9d9fc161 * ChangeLog: added, and move entries from changelog in System.Design here
* AxParameterData.cs: stubbed
* AxWrapperGen.cs: stubbed
* DockEditor.cs: stubbed
* EventHandlerService.cs: stubbed

svn path=/trunk/mcs/; revision=29306
2004-06-11 10:06:15 +00:00
Gonzalo Paniagua Javier 590c7733ba 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* Cscompmgd/Microsoft.CSharp/TODOAttribute.cs:
	* Microsoft.JScript/Microsoft.JScript/TODOAttribute.cs:
	* Microsoft.Web.Services/Microsoft.Web.Services/TODOAttribute.cs:
	* Mono.Data.MySql/Mono.Data.MySql/TODOAttribute.cs:
	* Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/TODOAttribute.cs:
	* Mono.Data.SybaseClient/Mono.Data.SybaseClient/TODOAttribute.cs:
	* Mono.Data.SybaseClient/Mono.Data.SybaseTypes/TODOAttribute.cs:
	* Mono.Data.Tds/Mono.Data.Tds.Protocol/TODOAttribute.cs:
	* Mono.Data.TdsClient/Mono.Data.TdsClient/TODOAttribute.cs:
	* Mono.Data.TdsClient/Mono.Data.TdsTypes/TODOAttribute.cs:
	* System/Microsoft.Win32/TODOAttribute.cs:
	* System/System/TODOAttribute.cs:
	* System.Data/System.Data/TODOAttribute.cs:
	* System.Data.OracleClient/System.Data.OracleClient/TODOAttribute.cs:
	* System.Design/System.Design/TODOAttribute.cs:
	* System.Design/System.Web.UI.Design.WebControls/TODOAttribute.cs:
	* System.Design/System.Windows.Forms.Design/TODOAttribute.cs:
	* System.DirectoryServices/System.DirectoryServices/TODOAttribute.cs:
	* System.Drawing.Design/Assembly/TODOAttribute.cs:
	* System.Messaging/System.Messaging/MonoTODO.cs:
	* System.Web/System.Web/TODOAttribute.cs:
	* System.Web.Mobile/System.Web.Mobile/TODOAttribute.cs:
	* System.Web.Services/System.Web.Services/TODOAttribute.cs:
	* System.Windows.Forms/System.Resources/ResXResourceReader.cs:
	* System.Windows.Forms/System.Windows.Forms/TODOAttribute.cs:
	* System.Windows.Forms/WINELib/TODOAttribute.cs:
	* System.XML/System.Xml/TODOAttribute.cs:
	Added Comment property.

svn path=/trunk/mcs/; revision=28778
2004-06-03 18:25:00 +00:00
Gert Driesen 5dbd25316b * System.Windows.Forms.Design/IMenuEditorService.cs:
fixed signature

svn path=/trunk/mcs/; revision=27487
2004-05-16 16:22:12 +00:00
Gert Driesen 23e32ce3cc * System.Windows.Forms.Design/DocumentDesigner.cs:
stubbed
* System.Windows.Forms.Design/ParentControlDesigner.cs:
stubbed
* System.Windows.Forms.Design/ScrollableControlDesigner.cs:
stubbed

svn path=/trunk/mcs/; revision=27486
2004-05-16 16:14:11 +00:00
Gert Driesen 20ab038e49 * System.Windows.Forms.Design/ControlDesigner.cs:
stubbed

svn path=/trunk/mcs/; revision=27485
2004-05-16 15:25:23 +00:00
Gert Driesen cf47d2d76a * System.Design.dll.sources: added ISelectionUIHandler
* System.Windows.Forms.Design/ISelectionUIHandler.cs:
added
* System.Windows.Forms.Design/ComponentTray.cs: stubbed

svn path=/trunk/mcs/; revision=27477
2004-05-16 12:46:33 +00:00
Gert Driesen 18c12c1052 * System.Design.dll.sources: added IOleDragClient
* System.ComponentModel.Design/ComponentDesigner.cs: fixed public API
* System.Web.UI.Design/ControlDesigner.cs: fixed public API
* System.Web.UI.Design/HtmlControlDesigner: fixed public API
* System.Windows.Forms.Design/AnchorEditor.cs: fixed public API,
converted to unix linefeeds
* System.Windows.Forms.Design/AxImporter.cs: fixed public API,
converted to unix linefeeds
* System.Windows.Forms.Design/ComponentDocumentDesigner.cs: fixed
public API, converted to unix linefeeds
* System.Windows.Forms.Design/SelectionRules.cs: implementation

svn path=/trunk/mcs/; revision=27445
2004-05-15 13:48:12 +00:00
Gert Driesen f523bd044e * System.Windows.Forms.Design/FileNameEditor.cs: code formatting
* System.Windows.Forms.Design/FolderNameEditor.cs: code formatting
* System.Windows.Forms.Design/MenuCommands.cs: code formatting

svn path=/trunk/mcs/; revision=27444
2004-05-15 13:45:15 +00:00