[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms.Layout / ChangeLog
1 2009-02-04  Jonathan Pobst  <monkey@jpobst.com>
2
3         * FlowLayout.cs: When laying out ToolStripItems, they should be
4         the height of the ToolStrip, not their preferred height.
5         [Fixes bug #469196]
6
7 2008-11-07  Jonathan Pobst  <monkey@jpobst.com>
8
9         * DefaultLayout.cs: Apply patch from Jonathan Anderson that keeps
10         undocked autosize controls from moving when resized.
11         [Fixes bug #439479]
12
13 2008-11-06  Jonathan Pobst  <monkey@jpobst.com>
14
15         * DefaultLayout.cs: Apply patch from Jonathan Anderson that better
16         handles AutoSize controls when docked.
17         [Fixes bug #439443]
18
19 2008-10-13  Jonathan Pobst  <monkey@jpobst.com>
20
21         * TableLayout.cs: My previous fix broke a test, tweak it a bit.
22
23 2008-10-08  Jonathan Pobst  <monkey@jpobst.com>
24
25         * TableLayout.cs: If multiple controls are set to the same cell,
26         flow the additional ones to other empty cells.  [Fixes bug #433531]
27
28 2008-09-12  Jonathan Pobst  <monkey@jpobst.com>
29
30         * TableLayoutSettingsTypeConverter.cs: Don't create an instance of 
31         TableLayoutPanel in ConvertFrom.
32         [Fixes bug #425647]
33
34 2008-07-28  Ivan N. Zlatev  <contact@i-nz.net>
35
36         * TableLayout.cs: MS adds rows instead of columns even when 
37         GrowStyle is AddColumns, but RowCount is 0.
38
39 2008-07-26  Ivan N. Zlatev  <contact@i-nz.net>
40
41         * TableLayout.cs: Perform layout even if they are no child controls, so 
42         that cell sizes are updated properly for the cell border painting.
43
44 2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>
45
46         * TableLayout.cs: For newly created cells for controls without a 
47         specifically assinged such enforce AddRows if ColumnCount == 0 else 
48         AddColumns if RowCount == 0.
49         [Fixes bug #412163]
50
51 2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>
52
53         * TableLayout.cs: Automagically add the required number of columns/rows 
54         if the control is added at non-existent such. Note that ColumnCount and 
55         RowCount do not change in LayoutSettings.
56         [Fixes bug #412161]
57
58 2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>
59
60         * TableLayout.cs: Initialize columns and rows as empty array, so that we 
61         can drop the null check when drawing and always draw the control border, 
62         but void for the cell borders if there aren't any.
63         [Fixes bug #411858]
64
65 2008-07-07  Ivan N. Zlatev  <contact@i-nz.net>
66
67         * TableLayout.cs: Controls bounds should be taken into account regardless
68         of their Dock and Anchor states.
69         [Fixes bug #402651]
70
71 2008-06-10  Jonathan Pobst  <monkey@jpobst.com>
72
73         * TableLayoutSettingsTypeConverter.cs: Patch from Andy Hume to
74         use InvariantCulture.
75
76 2008-06-10  Jonathan Pobst  <monkey@jpobst.com>
77
78         * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsInternal
79         instead of SetBoundsCoreInternal.
80
81 2008-06-09  Jonathan Pobst  <monkey@jpobst.com>
82
83         * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsCoreInternal
84         instead of SetBounds.
85
86 2008-06-09  Jonathan Pobst  <monkey@jpobst.com>
87
88         * TableLayoutSettingsTypeConverter.cs: Fix spelling of Columns.
89         Accomadate .Net's use of culture separator.  [Fixes bug #398274]
90
91 2008-06-03  Jonathan Pobst  <monkey@jpobst.com>
92
93         * DefaultLayout.cs: It appears that TableLayoutPanels are immune to
94         AutoSizeMode and always ShrinkAndGrow.  [Fixes bug #396433]
95
96 2008-06-02  Jonathan Pobst  <monkey@jpobst.com>
97
98         * TableLayout.cs: Fix a c&p error so we correctly calculate row
99         border heights.  [Fixes part of bug #396433]
100
101 2008-03-05  Jonathan Pobst  <monkey@jpobst.com>
102
103         ArrangedElementCollection.cs: corcompare - fix parameter names.
104
105 2008-03-05  Jonathan Pobst  <monkey@jpobst.com>
106
107         * TableLayout.cs: Guard against an exception when a control's colspan
108         or rowspan is greater than the number of columns or rows.
109         [Fixes bug #367249]
110
111 2008-02-19  Jonathan Pobst  <monkey@jpobst.com>
112
113         * FlowLayout.cs: Take padding into account when determining if there
114         is still room left on a row.  [Fixes bug #361448]
115
116 2008-01-23  Jonathan Pobst  <monkey@jpobst.com>
117
118         * TableLayout.cs: Don't include Dock.Fill, multicolumn/multirow spanned
119         controls when calculating column/row sizes.
120         [Fixes bug #355408]
121
122 2008-01-22  Jonathan Pobst  <monkey@jpobst.com>
123
124         * DefaultLayout.cs: Remove using the padding.  This is now included
125         properly in the DisplayRectangle.  Fixes a broken test.
126
127 2008-01-22  Jonathan Pobst  <monkey@jpobst.com>
128
129         * TableLayout.cs: When we reset our current_pos back to the left
130         beginning, make sure we take padding into account.
131         [Fixes bug #354676]
132
133 2007-12-13  Jonathan Pobst  <monkey@jpobst.com>
134
135         * TableLayout.cs: Use ExplicitBounds so that we get the user requested
136         size, not the AutoSize/Dock size.  Make CalculateControlPositions
137         internal so that TableLayoutPanel can call it.
138         [Fixes bug #346246]
139
140 2007-10-16  Jonathan Pobst  <monkey@jpobst.com>
141
142         * TableLayout.cs: Revert the last change to TableLayout.  It breaks
143         other, more important things.
144
145 2007-10-15  Jonathan Pobst  <monkey@jpobst.com>
146
147         * TableLayout.cs: If a control has an explicitly set col/row greater
148         than the number of columns/rows in the panel, expand the table to
149         accommodate the control.  [Fixes bug #332892]
150
151 2007-10-11  Jonathan Pobst  <monkey@jpobst.com>
152
153         * TableLayout.cs: When calculating the size of AutoSize row/columns,
154         don't take !Visible controls into account.  When laying out controls,
155         start from the DisplayRectangle instead of (0,0) to account for
156         a scrolled TableLayoutPanel where the start point is negative.
157         [Fixes bug #332892]
158
159 2007-09-17  Jonathan Pobst  <monkey@jpobst.com>
160
161         * DefaultLayout.cs: Fix copy/paste error for dist_right.  Fixes
162         reopened bug #325429.
163
164 2007-09-13  Jonathan Pobst  <monkey@jpobst.com>
165
166         * TableLayout.cs: Use control's PreferredSize when figuring up the
167         size of an AutoSize row/column.
168
169 2007-09-12  Jonathan Pobst  <monkey@jpobst.com>
170
171         * DefaultLayout.cs: Apply AutoSize logic to the variable dimension 
172         of Docked controls.
173
174 2007-09-11  Jonathan Pobst  <monkey@jpobst.com>
175
176         * DefaultLayout.cs: When working with Anchor = none, and we move a
177         control, we need to update its dist_right/dist_bottom.
178         [Fixes bug #82762]
179
180 2007-09-06  Jonathan Pobst  <monkey@jpobst.com>
181
182         * DefaultLayout.cs: Only LayoutAutoSizeContainer if the container is
183         a Form, others should be taken care of by their parent.
184         * TableLayout.cs: If a control is AutoSize, default to its preferred
185         size if possible.  [Fixes bug #82605]
186
187 2007-07-31  Jonathan Pobst  <monkey@jpobst.com>
188
189         * ArrangedElementCollection.cs: Rename internal method RemoveAt
190         so that subclasses can have a public version of it without hiding.
191
192 2007-07-23  Rolf Bjarne Kvinge <RKvinge@novell.com> 
193
194         * ArrangedElementCollection.cs: Implement NotSupported behaviour
195           confirmed by tests.
196
197 2007-07-07  Jonathan Pobst  <monkey@jpobst.com>
198
199         * TableLayout.cs: Parenthesis out of place when centering control
200         in a table cell.  [Fixes bug #81936]
201
202 2007-06-21  Jonathan Pobst  <monkey@jpobst.com>
203
204         * TableLayout.cs: Take CellBorderStyle into account when laying
205         stuff out.  [Fixes bug #81884]
206
207 2007-06-12  Jonathan Pobst  <monkey@jpobst.com>
208
209         * TableLayout.cs: When we come across a Dock=Fill control, use the
210         ExplicitSize to calculate an AutoSize row/column from.
211         [Fixes bug #81843]
212
213 2007-06-07  Jonathan Pobst  <monkey@jpobst.com>
214
215         * DefaultLayout.cs: When calculating autosize children, default to
216         ExplicitSize.  After laying out a container's children, if the container
217         is AutoSize, adjust its size if necessary.
218
219 2007-05-23  Jonathan Pobst  <monkey@jpobst.com>
220
221         * DefaultLayout.cs: Take parent's padding into account when docking
222         children.
223
224 2007-05-07  Jonathan Pobst  <monkey@jpobst.com>
225         Applying contributed patch from Stefan Noack.
226
227         * DefaultLayout.cs: Implement AutoSize logic.   
228
229 2007-04-24  Andreia Gaita  <avidigal@novell.com>
230
231         * TableLayoutSettingsTypeConverter.cs: Implemented the converters
232         for TableLayoutSettings.
233
234 2007-04-22  Jonathan Pobst  <monkey@jpobst.com>
235
236         * DefaultLayout.cs: Use the parent's DisplayRectangle for laying
237         out docked children.  [Fixes bug #81397]
238
239 2007-04-04  Jonathan Pobst  <monkey@jpobst.com>
240
241         * FlowLayout.cs: Call SetBounds with BoundsSpecified.None instead of
242         using Control Size, Location setters.
243
244 2007-03-24  Jonathan Pobst  <monkey@jpobst.com>
245
246         * DefaultLayout.cs: Call SetBounds with BoundsSpecified.None instead
247         of using SetImplicitBounds.
248         * TableLayout.cs: Call SetBounds with BoundsSpecified.None instead of
249         modifying Control.Bounds.
250
251 2007-02-28  Jonathan Pobst  <monkey@jpobst.com>
252
253         * DefaultLayout.cs: Use ClientRectangle instead of DisplayRectangle
254         to layout children because DisplayRectangle can be overridden.
255         [Fixes bug #80917]
256
257 2007-02-14  Jonathan Pobst  <monkey@jpobst.com>
258
259         * FlowLayout.cs: Add support for laying out ToolStrips, which
260         use ToolStripItems instead of Controls.
261
262 2007-01-29  Jonathan Pobst  <monkey@jpobst.com>
263
264         * DefaultLayout.cs: MdiClient should always be added last, it should
265         never Dock:Fill under other controls.  [Fixes a part of bug #80223]
266
267 2007-01-20  Jonathan Pobst  <monkey@jpobst.com>
268
269         * DefaultLayout.cs: Remove special loop for Dock.Fill and handle
270         it with the other docking code.  [Fixes bug #80227]
271
272 2007-01-09  Jonathan Pobst  <monkey@jpobst.com>
273
274         * DefaultLayout.cs: Use PreferredSize for non-Anchor/Dock controls. (2.0)
275         Change a SetBounds to SetImplicitBounds.
276
277 2007-01-07  Jonathan Pobst  <monkey@jpobst.com>
278
279         * ArrangedElementCollection.cs: Make list internal.
280
281 2006-12-28  Chris Toshok  <toshok@ximian.com>
282
283         * DefaultLayout.cs: split out the various parts (docking,
284         anchoring) into separate methods.  make use of the
285         Control.ControlLayoutType property, as well as
286         Control.VisibleInternal (and fix a couple of unit tests which were
287         broken due to use of Visible here.)
288
289 2006-12-25  Chris Toshok  <toshok@ximian.com>
290
291         * DefaultLayout.cs: invert the tests for anchoring to make the
292         code a little more compact.
293
294 2006-12-25  Chris Toshok  <toshok@ximian.com>
295
296         * DefaultLayout.cs: remove references to dist_left and dist_top.
297         just use left and top instead.
298
299 2006-12-23  Chris Toshok  <toshok@ximian.com>
300
301         * TableLayoutSettingsTypeConverter.cs: new file, a skeleton.
302
303 2006-12-23  Chris Toshok  <toshok@ximian.com>
304
305         * DefaultLayout.cs: include this in 1.1, and make use of
306         SetImplicitBounds like the Control.PerformLayout code does.
307
308 2006-12-06  Chris Toshok  <toshok@ximian.com>
309
310         * DefaultLayout.cs: make Control.child_controls private.  switch
311         all uses over to Control.Controls.
312
313 2006-12-04  Chris Toshok  <toshok@ximian.com>
314
315         * ArrangedElementCollection.cs: fix up corcompare for this file.
316         we need to make all the interface methods explicit, not public,
317         and add internal methods that can be called from the subclasses
318         (we also call them from the explicit implementations.)
319
320 2006-11-30  Jonathan Pobst <monkey@jpobst.com>
321         * ArrangedElementCollection.cs: Make constructor internal.
322         * FlowLayout.cs: Make work with ToolStrip.
323
324 2006-10-02  Jonathan Pobst <monkey@jpobst.com>
325         * ArrangedElementCollection.cs: Initial commit.
326
327 2006-09-15  Jonathan Pobst <monkey@jpobst.com>
328         * DefaultLayout.cs, FlowLayout.cs: Initial commit.