ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 495dd6ae274aed37168d99ddfb463600b4216596..19c329eabce89e7ac2ba6b0597aadf5e85552ba5 100644 (file)
@@ -1,3 +1,140 @@
+2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
+
+       * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
+
+2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
+
+       * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
+
+2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
+
+       * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
+
+2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
+       * GridItem.cs: Fixed TODOs
+       * GridItemCollection.cs: Added ICollection interface
+
+2005-09-30  Kornél Pál  <kornelpal@hotmail.com>
+
+       * ImageList.cs: Resize icons when needed.
+
+2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * ListViewItem.cs
+               - Fixes GetBounds and returns on screen rects
+       * ListView.cs:
+               - Fixes vertical and horzintal scrolling of items
+       * ThemeWin32Classic.cs:
+               - Fixes drawing
+               
+2005-09-29  Raja R Harinath  <harinath@gmail.com>
+
+       * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
+
+2005-09-29  Kornél Pál  <kornelpal@hotmail.com>
+
+       * ImageList.cs: Added comments about handle creation. Moved Handle,
+         HandleCreated and OnRecreateHandle implementations to ImageCollection.
+         Handle is created in Add methods.
+
+2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
+        
+       * DataGridDrawingLogic.cs: 
+               - Takes rows into account on Colum calculations
+               - Returns the column when clickig
+       * DataGrid.cs:
+               - Fixes default HitTestInfo values
+               - Fixes HitTestInfo.ToString
+               - Fixes ResetBackColor          
+       
+2005-09-28  Jackson Harper  <jackson@ximian.com>
+
+       * MdiChildContext.cs: Obey rules for fixed sized windows (no
+       sizing or cursor changes). Also added some temp code to draw the
+       titlebars text (Makes dev a little easier).
+
+2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
+
+       * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
+
+2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>
+        
+       * ListBox.cs: Fixes bug 76253
+
+2005-09-28  Kornél Pál  <kornelpal@hotmail.com>
+
+       * ImageList.cs: Added comments about the current implementation. Added
+         ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
+         Format32bppArgb to preserve transparency and can use Graphics.FromImage
+         while using the specified ColorDepth. ReduceColorDepth uses unsafe code
+         with Bitmap.LockBits for better performance. Revised the whole file to
+         match MS.NET behaviour and provide better performance. Non-public
+         interface members are calling public members even when they throw
+         NotSupportedException for better maintainability. Moved ColorDepth,
+         ImageSize, ImageStream and TransparentColor implementations to
+         ImageCollection for better performance as these properties are not used
+         by ImageList.
+       * ImageListStreamer.cs: Added a new internal constructor that takes an
+         ImageList.ImageCollection and serializes Images based on
+         ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
+         match ImageList property name.
+
+2005-09-28  Kazuki Oikawa <kazuki@panicode.com>
+
+       * ListBox.cs: Fixes IndexFromPoint for last item
+
+2005-09-27  Jackson Harper  <jackson@ximian.com>
+
+       * Form.cs: Set the position of new mdi children correctly.
+
+2005-09-27  Jackson Harper  <jackson@ximian.com>
+
+       * MdiClient.cs: New mdi children need to be added to the back of
+       the controls collection so the zorder is set correctly. Also add a
+       count of all the child windows that have been created.
+
+2005-09-27  Jackson Harper  <jackson@ximian.com>
+
+       * Form.cs (CreateParams): Setup MDI forms correctly.
+
+2005-09-27  Jackson Harper  <jackson@ximian.com>
+
+       * MdiChildContext.cs:
+       * MonthCalendar.cs:
+       * UpDownBase.cs:
+       * ListBox.cs:
+       * ListView.cs:
+       * TextBoxBase.cs:
+       * TreeView.cs:
+       * ScrollableControl.cs:
+       * ComboBox.cs: Add implicit controls using the new implict control
+       functionality in ControlCollection. Also try to block multiple
+       control add in a suspend/resume layout to save some cycles.
+       
+2005-09-27  Jackson Harper  <jackson@ximian.com>
+
+       * Control.cs: Add functionality to the controls collection to add
+       'implicit controls' these are controls that are created by the
+       containing control but should not be exposed to the user. Such as
+       scrollbars in the treeview.
+       * Form.cs: The list var of the ControlsCollection is no longer
+       available because of the potential of implicit controls getting
+       ignored by someone accessing the list directly.
+
+2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>
+
+       * Control.cs: Fixed SetChildIndex; it no longer causes a child to
+         loose it's parent. (Fixed bug introduced in r49103 when we added
+         setting the child parent to null on Remove)
+
+2005-09-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
+       * Splitter.cs: Added missing attributes for BorderStyle property.
+       * TextBoxBase.cs: Marked Calculate* methods internal.
+       * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
+       MS.NET.
+
 2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>
         
        * ListBox.cs: Fixes navigation to the last item in multicolumn lists