Commit Graph
226 Commits
Author SHA1 Message Date
Miguel de Icaza 38253abf8c Add solution files 2011-02-12 22:09:49 -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
Marek Habersack 9e77bd65ba 2010-01-21 Marek Habersack <[email protected]>
* HierarchicalDataBoundControlDesigner.cs: added

svn path=/trunk/mcs/; revision=150004
2010-01-21 18:46:28 +00:00
Ivan Zlatev 493615634c 2009-09-14 Ivan Zlatev <[email protected]>
* DesignSurface.cs: Prevent a NRE in Flush by cheching if the
	designer loader is null.
	[Fixes bug #538929]

svn path=/trunk/mcs/; revision=141888
2009-09-14 12:22:33 +00:00
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 a2bb9365be 2009-09-07 Ivan N. Zlatev <[email protected]>
* DesignSurface.cs: Don't be so strict and allow for the users
	to get the View even if the DesignSurface wasn't properly initialized
	with a DesignerLoader. MS compatibility.
	[Fixes bug #537131]

svn path=/trunk/mcs/; revision=141406
2009-09-07 08:01:33 +00:00
Raja R Harinath 1c79419713 * Makefile ($(build_lib)): Move cyclic dependencies onto this.
svn path=/trunk/mcs/; revision=139040
2009-07-30 09:02:30 +00:00
Veerapuram Varadhan 9f93422191 * Implementation of System.Data.Design.TypedDataSetGenerator::Generate methods that generate TableAdapter code
svn path=/trunk/mcs/; revision=138437
2009-07-22 18:26:17 +00:00
Marek Safar 6f667408d9 Add handling of new net_4_0 profile
svn path=/trunk/mcs/; revision=135326
2009-06-03 17:46:12 +00:00
Marek Habersack 9cb8f88de9 2009-05-26 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: added
	System.Web.UI/ScriptReferenceBase.cs

2009-05-26  Marek Habersack  <[email protected]>

	* ScriptReferenceBase.cs: implemented (3.5 SP1)

	* ScriptReference.cs: now inherits from the ScriptReferenceBase
	class. Implemented all the required methods, removed some
	properties which now live in the base class.

	* ScriptManager.cs: code refactoring - moved parts of script
	registration code to ScriptReference

2009-05-26  Marek Habersack  <[email protected]>

	* ListControlDesigner.cs: updated to match MSDN specs, added 2.0
	methods. Used in the latest AjaxControlToolkit.

2009-05-26  Marek Habersack  <[email protected]>

	* System.Design.dll.sources: added
	System.Web.UI.Design.WebControls/ListControlDesigner.cs

svn path=/trunk/mcs/; revision=134754
2009-05-26 12:16:56 +00:00
Jonathan Pryor c2efa83efe Migrating from monodoc/class/System.Design to mcs/class/System.Design/Documentation...
svn path=/trunk/mcs/; revision=116209
2008-10-17 14:11:46 +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 386d216110 2008-07-27 Ivan N. Zlatev <[email protected]>
* RootCodeDomSerializer.cs: Clear the fields as well.

svn path=/trunk/mcs/; revision=108961
2008-07-27 19:18:49 +00:00
Zoltan Varga 9d1f48b738 2008-07-24 Zoltan Varga <[email protected]>
* System.Design_test.dll.sources: Fix CRLFs.

svn path=/trunk/mcs/; revision=108665
2008-07-24 16:12:59 +00:00
Gert Driesen 6e8e5d0b2f * StringValueConverterTest.cs: Added test for StringValueConverter.
* 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
2008-07-24 15:24:17 +00:00
Ivan Zlatev 8dfcf367fd 2008-07-21 Ivan N. Zlatev <[email protected]>
* CodeDomComponentSerializationService.cs: Remove redundant assignment.

svn path=/trunk/mcs/; revision=108350
2008-07-21 14:33:57 +00:00
Sebastien Pouliot 094df8ba9f 2008-07-06 Sebastien Pouliot <[email protected]>
* 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
2008-07-06 15:34:45 +00:00
Ivan Zlatev d2f96e53f0 2008-06-28 Ivan N. Zlatev <[email protected]>
* CodeDomDesignerLoader.cs: Add the supplied TypeResolutionService
	to the service container if one isn't present already.


svn path=/trunk/mcs/; revision=106834
2008-06-28 17:19:54 +00:00
Ivan Zlatev b32ba3825e 2008-06-28 Ivan N. Zlatev <[email protected]>
* DesignSurfaceManager.cs: Set the ActiveSurface only if it 
	differs from the current one.


svn path=/trunk/mcs/; revision=106832
2008-06-28 17:19:17 +00:00
Ivan Zlatev 06cf7ced9b 2008-06-28 Ivan N. Zlatev <[email protected]>
* DesignerHost.cs: Surpress remove events when unloading.


svn path=/trunk/mcs/; revision=106830
2008-06-28 17:18:01 +00:00
Ivan Zlatev add8646553 2008-06-18 Ivan N. Zlatev <[email protected]>
* ExtenderService.cs: Do not throw a NRE.


svn path=/trunk/mcs/; revision=106174
2008-06-18 22:57:38 +00:00
Ivan Zlatev 4f28d477f8 2008-06-18 Ivan N. Zlatev <[email protected]>
* SelectionService.cs: Handle removal of the root component 
	properly.


svn path=/trunk/mcs/; revision=106157
2008-06-18 20:01:23 +00:00
Noam Lampert 47b51f4931 CompositeControlDesigner.cs: Add stubs
svn path=/trunk/mcs/; revision=105864
2008-06-15 12:47:15 +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
Marek Habersack d3b0309146 2008-05-14 Marek Habersack <[email protected]>
* DataSourceIDConverter.cs: added

svn path=/trunk/mcs/; revision=103148
2008-05-13 23:25:48 +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
Jb Evain 28afe8f588 avoid creation of arrays
svn path=/trunk/mcs/; revision=101953
2008-04-26 20:36:36 +00:00
Andreas N 95110d82df small fix
svn path=/trunk/mcs/; revision=101652
2008-04-24 07:32:18 +00:00
Andreas N 7d57e7ea21 fix build
svn path=/trunk/mcs/; revision=101516
2008-04-23 09:56:28 +00:00
Andreas N 2e9e56c1a4 2008-04-23 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added missing attributes

svn path=/trunk/mcs/; revision=101510
2008-04-23 09:09:10 +00:00
Ivan Zlatev d3e0f4e97b 2008-04-18 Ivan N. Zlatev <[email protected]>
* CollectionEditor.cs: Select the next item after the one
	removed, not the one before.
	[Fixes bug #375788]

svn path=/trunk/mcs/; revision=101166
2008-04-18 20:55:33 +00:00
Ivan Zlatev 069442e010 2008-04-03 Ivan N. Zlatev <[email protected]>
* CollectionEditor.cs:
	  - Handle removing multiple items at once.
	  - Select the previous item after removal of other(s).

svn path=/trunk/mcs/; revision=99788
2008-04-03 18:34:54 +00:00
Ivan Zlatev db46ee7a65 2008-04-03 Ivan N. Zlatev <[email protected]>
* 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
2008-04-03 16:39:18 +00:00
Ivan Zlatev 74aeac06b8 2008-03-28 Ivan N. Zlatev <[email protected]>
* CollectionEditor.cs: Fix multiple bugs.


svn path=/trunk/mcs/; revision=99253
2008-03-28 22:51:16 +00:00
Ivan Zlatev ba267ef252 2008-03-19 Ivan N. Zlatev <[email protected]>
* MultilineStringEditor.cs: Handle null value by forcing an 
	empty string to be edited.
	[Fixes bug #372264]


svn path=/trunk/mcs/; revision=98640
2008-03-19 22:38:53 +00:00
Ivan Zlatev 285d18f819 2008-03-10 Ivan N. Zlatev <[email protected]>
* DesignModeSite.cs: Do not return the site specific service 
        container if GetService is asked for IServiceContainer.


svn path=/trunk/mcs/; revision=98083
2008-03-12 19:35:41 +00:00
Ivan Zlatev dc25e4a0a9 2008-03-06 Ivan N. Zlatev <[email protected]>
* CodeDomSerializerBase.cs: Fix deserialization of 
	CodeFieldReference to handle static fields. This fixes enum 
	references.


svn path=/trunk/mcs/; revision=97622
2008-03-06 19:50:51 +00:00
Ivan Zlatev 8bf92daaa7 2008-03-02 Ivan N. Zlatev <[email protected]>
* DesignModeSite.cs: Fix Name setter to actually set the name.


svn path=/trunk/mcs/; revision=97138
2008-03-02 18:16:41 +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 ca222a1f70 2008-03-01 Ivan N. Zlatev <[email protected]>
* 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
2008-03-01 23:16:18 +00:00
Ivan Zlatev ffad8df117 2008-03-01 Ivan N. Zlatev <[email protected]>
* 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
2008-03-01 23:12:56 +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 6929014791 2008-02-25 Ivan N. Zlatev <[email protected]>
* 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
2008-02-25 14:49:35 +00:00
Ivan Zlatev 40ec3cdb44 2008-02-16 Ivan N. Zlatev <[email protected]>
* CollectionEditor.cs: Handle null collection.
	[Part of fix for bugs #360666 and #358332]


svn path=/trunk/mcs/; revision=95877
2008-02-16 14:37:53 +00:00
Ivan Zlatev e31efc56b0 2008-02-12 Ivan N. Zlatev <[email protected]>
* DateTimeEditor.cs: Set edit value only if the user sets it
	in the editor.
	[Fixes #359159]


svn path=/trunk/mcs/; revision=95530
2008-02-12 17:21:16 +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