2010-12-10  Miguel de Icaza  <miguel@gnome.org>

	[winforms] Use conditional attributes, not ifdefs to insert
	conditional code

2009-02-04  Jonathan Pobst  <monkey@jpobst.com>

	* FlowLayout.cs: When laying out ToolStripItems, they should be
	the height of the ToolStrip, not their preferred height.
	[Fixes bug #469196]

2008-11-07  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Apply patch from Jonathan Anderson that keeps
	undocked autosize controls from moving when resized.
	[Fixes bug #439479]

2008-11-06  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Apply patch from Jonathan Anderson that better
	handles AutoSize controls when docked.
	[Fixes bug #439443]

2008-10-13  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: My previous fix broke a test, tweak it a bit.

2008-10-08  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: If multiple controls are set to the same cell,
	flow the additional ones to other empty cells.  [Fixes bug #433531]

2008-09-12  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayoutSettingsTypeConverter.cs: Don't create an instance of 
	TableLayoutPanel in ConvertFrom.
	[Fixes bug #425647]

2008-07-28  Ivan N. Zlatev  <contact@i-nz.net>

	* TableLayout.cs: MS adds rows instead of columns even when 
	GrowStyle is AddColumns, but RowCount is 0.

2008-07-26  Ivan N. Zlatev  <contact@i-nz.net>

	* TableLayout.cs: Perform layout even if they are no child controls, so 
	that cell sizes are updated properly for the cell border painting.

2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>

	* TableLayout.cs: For newly created cells for controls without a 
	specifically assinged such enforce AddRows if ColumnCount == 0 else 
	AddColumns if RowCount == 0.
	[Fixes bug #412163]

2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>

	* TableLayout.cs: Automagically add the required number of columns/rows 
	if the control is added at non-existent such. Note that ColumnCount and 
	RowCount do not change in LayoutSettings.
	[Fixes bug #412161]

2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>

	* TableLayout.cs: Initialize columns and rows as empty array, so that we 
	can drop the null check when drawing and always draw the control border, 
	but void for the cell borders if there aren't any.
	[Fixes bug #411858]

2008-07-07  Ivan N. Zlatev  <contact@i-nz.net>

	* TableLayout.cs: Controls bounds should be taken into account regardless
	of their Dock and Anchor states.
	[Fixes bug #402651]

2008-06-10  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayoutSettingsTypeConverter.cs: Patch from Andy Hume to
	use InvariantCulture.

2008-06-10  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsInternal
	instead of SetBoundsCoreInternal.

2008-06-09  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsCoreInternal
	instead of SetBounds.

2008-06-09  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayoutSettingsTypeConverter.cs: Fix spelling of Columns.
	Accomadate .Net's use of culture separator.  [Fixes bug #398274]

2008-06-03  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: It appears that TableLayoutPanels are immune to
	AutoSizeMode and always ShrinkAndGrow.  [Fixes bug #396433]

2008-06-02  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Fix a c&p error so we correctly calculate row
	border heights.  [Fixes part of bug #396433]

2008-03-05  Jonathan Pobst  <monkey@jpobst.com>

	ArrangedElementCollection.cs: corcompare - fix parameter names.

2008-03-05  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Guard against an exception when a control's colspan
	or rowspan is greater than the number of columns or rows.
	[Fixes bug #367249]

2008-02-19  Jonathan Pobst  <monkey@jpobst.com>

	* FlowLayout.cs: Take padding into account when determining if there
	is still room left on a row.  [Fixes bug #361448]

2008-01-23  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Don't include Dock.Fill, multicolumn/multirow spanned
	controls when calculating column/row sizes.
	[Fixes bug #355408]

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Remove using the padding.  This is now included
	properly in the DisplayRectangle.  Fixes a broken test.

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: When we reset our current_pos back to the left
	beginning, make sure we take padding into account.
	[Fixes bug #354676]

2007-12-13  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Use ExplicitBounds so that we get the user requested
	size, not the AutoSize/Dock size.  Make CalculateControlPositions
	internal so that TableLayoutPanel can call it.
	[Fixes bug #346246]

2007-10-16  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Revert the last change to TableLayout.  It breaks
	other, more important things.

2007-10-15  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: If a control has an explicitly set col/row greater
	than the number of columns/rows in the panel, expand the table to
	accommodate the control.  [Fixes bug #332892]

2007-10-11  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: When calculating the size of AutoSize row/columns,
	don't take !Visible controls into account.  When laying out controls,
	start from the DisplayRectangle instead of (0,0) to account for
	a scrolled TableLayoutPanel where the start point is negative.
	[Fixes bug #332892]

2007-09-17  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Fix copy/paste error for dist_right.  Fixes
	reopened bug #325429.

2007-09-13  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Use control's PreferredSize when figuring up the
	size of an AutoSize row/column.

2007-09-12  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Apply AutoSize logic to the variable dimension 
	of Docked controls.

2007-09-11  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: When working with Anchor = none, and we move a
	control, we need to update its dist_right/dist_bottom.
	[Fixes bug #82762]

2007-09-06  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Only LayoutAutoSizeContainer if the container is
	a Form, others should be taken care of by their parent.
	* TableLayout.cs: If a control is AutoSize, default to its preferred
	size if possible.  [Fixes bug #82605]

2007-07-31  Jonathan Pobst  <monkey@jpobst.com>

	* ArrangedElementCollection.cs: Rename internal method RemoveAt
	so that subclasses can have a public version of it without hiding.

2007-07-23  Rolf Bjarne Kvinge <RKvinge@novell.com> 

	* ArrangedElementCollection.cs: Implement NotSupported behaviour
	  confirmed by tests.

2007-07-07  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Parenthesis out of place when centering control
	in a table cell.  [Fixes bug #81936]

2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: Take CellBorderStyle into account when laying
	stuff out.  [Fixes bug #81884]

2007-06-12  Jonathan Pobst  <monkey@jpobst.com>

	* TableLayout.cs: When we come across a Dock=Fill control, use the
	ExplicitSize to calculate an AutoSize row/column from.
	[Fixes bug #81843]

2007-06-07  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: When calculating autosize children, default to
	ExplicitSize.  After laying out a container's children, if the container
	is AutoSize, adjust its size if necessary.

2007-05-23  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Take parent's padding into account when docking
	children.

2007-05-07  Jonathan Pobst  <monkey@jpobst.com>
	Applying contributed patch from Stefan Noack.

	* DefaultLayout.cs: Implement AutoSize logic.	

2007-04-24  Andreia Gaita  <avidigal@novell.com>

	* TableLayoutSettingsTypeConverter.cs: Implemented the converters
	for TableLayoutSettings.

2007-04-22  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Use the parent's DisplayRectangle for laying
	out docked children.  [Fixes bug #81397]

2007-04-04  Jonathan Pobst  <monkey@jpobst.com>

	* FlowLayout.cs: Call SetBounds with BoundsSpecified.None instead of
	using Control Size, Location setters.

2007-03-24  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Call SetBounds with BoundsSpecified.None instead
	of using SetImplicitBounds.
	* TableLayout.cs: Call SetBounds with BoundsSpecified.None instead of
	modifying Control.Bounds.

2007-02-28  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Use ClientRectangle instead of DisplayRectangle
	to layout children because DisplayRectangle can be overridden.
	[Fixes bug #80917]

2007-02-14  Jonathan Pobst  <monkey@jpobst.com>

	* FlowLayout.cs: Add support for laying out ToolStrips, which
	use ToolStripItems instead of Controls.

2007-01-29  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: MdiClient should always be added last, it should
	never Dock:Fill under other controls.  [Fixes a part of bug #80223]

2007-01-20  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Remove special loop for Dock.Fill and handle
	it with the other docking code.  [Fixes bug #80227]

2007-01-09  Jonathan Pobst  <monkey@jpobst.com>

	* DefaultLayout.cs: Use PreferredSize for non-Anchor/Dock controls. (2.0)
	Change a SetBounds to SetImplicitBounds.

2007-01-07  Jonathan Pobst  <monkey@jpobst.com>

	* ArrangedElementCollection.cs: Make list internal.

2006-12-28  Chris Toshok  <toshok@ximian.com>

	* DefaultLayout.cs: split out the various parts (docking,
	anchoring) into separate methods.  make use of the
	Control.ControlLayoutType property, as well as
	Control.VisibleInternal (and fix a couple of unit tests which were
	broken due to use of Visible here.)

2006-12-25  Chris Toshok  <toshok@ximian.com>

	* DefaultLayout.cs: invert the tests for anchoring to make the
	code a little more compact.

2006-12-25  Chris Toshok  <toshok@ximian.com>

	* DefaultLayout.cs: remove references to dist_left and dist_top.
	just use left and top instead.

2006-12-23  Chris Toshok  <toshok@ximian.com>

	* TableLayoutSettingsTypeConverter.cs: new file, a skeleton.

2006-12-23  Chris Toshok  <toshok@ximian.com>

	* DefaultLayout.cs: include this in 1.1, and make use of
	SetImplicitBounds like the Control.PerformLayout code does.

2006-12-06  Chris Toshok  <toshok@ximian.com>

	* DefaultLayout.cs: make Control.child_controls private.  switch
	all uses over to Control.Controls.

2006-12-04  Chris Toshok  <toshok@ximian.com>

	* ArrangedElementCollection.cs: fix up corcompare for this file.
	we need to make all the interface methods explicit, not public,
	and add internal methods that can be called from the subclasses
	(we also call them from the explicit implementations.)

2006-11-30  Jonathan Pobst <monkey@jpobst.com>
	* ArrangedElementCollection.cs: Make constructor internal.
	* FlowLayout.cs: Make work with ToolStrip.

2006-10-02  Jonathan Pobst <monkey@jpobst.com>
	* ArrangedElementCollection.cs: Initial commit.

2006-09-15  Jonathan Pobst <monkey@jpobst.com>
	* DefaultLayout.cs, FlowLayout.cs: Initial commit.