2006-12-07 Alexander Olk <alex.olk@googlemail.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ChangeLog
index 3747c39dd64d5d16dd61c7153a88074ae887ec69..66b53f714332bf89cf56dd481beb9e61d10a21eb 100644 (file)
@@ -1,3 +1,153 @@
+2006-12-07  Alexander Olk  <alex.olk@googlemail.com>
+
+       * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
+         not libgdk (though it makes me wonder why I didn't have any
+         problems)
+
+2006-12-07  Chris Toshok  <toshok@ximian.com>
+
+       [ you had to know this was coming after that last commit...]
+       
+       * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
+       XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
+       DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
+       XCopyArea).
+
+2006-12-07  Chris Toshok  <toshok@ximian.com>
+
+       * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
+       DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
+       all the behavior we need for double buffering.
+
+       * XplatUIDriver.cs: implement the 3 double buffer methods using a
+       client side Bitmap, just like the old Control-based double buffer
+       code did.  The methods are virtual, so each XplatUI driver
+       subclass can replace the implementation to use a faster, platform
+       specific approach.
+
+       * Control.cs: make use of the 3 Offscreen XplatUI calls in the
+       double buffer code, and clean things up a bit in the process.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: reindent WndProc.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       [ I wanna be like BenM when I grow up ]
+       
+       * Hwnd.cs: create a single static Graphics object on the static
+       Bitmap we create.  use this for our text measurements.
+
+       * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
+       This was causing us to allocate a backbuffer for every control,
+       even when it wasn't flagged as double buffered.  Instead use the
+       single graphics instance.  This might have implications for
+       multithreaded applications.  If we run into problems we can switch
+       to creating 1 Graphics per control, on the static Hwnd bitmap.
+
+       this change nets us a 7M savings in private dirty mappings when
+       running FormsTest.exe.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ToolTip.cs: use Visible instead of is_visible.
+
+       * TreeView.cs: same.
+
+       * ListBox.cs: same.
+
+       * ListView.cs: same.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ListView.cs: the BackgroundImage override is just to set
+       attributes.  chain up to base.BackgroundImage.
+
+       * RichTextBox.cs: same.
+
+       * ToolBar.cs: same, but we need to also redraw the toolbar when it
+       changes, so instead a handler for BackgroundImageChanged.
+       
+       * Control.cs: make background_image private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ScrollBar.cs: change the assignment of cursor to Cursor.  not
+       sure we even need this assignment, but roll with it for now.
+
+       * Control.cs: make the cursor field private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Form.cs: we don't need to explicitly set ImeMode to
+       ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
+       behavior in the face of ImeMode.Inherit.
+
+       * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
+       change the ctor's assignment to use ImeMode instead of ime_mode.
+
+       * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
+       ImeModeInherit.  Only check for the parent's imemode (and return
+       NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
+       This fixes the button unit test, which sets both ImeMode and
+       DefaultImeMode to ImeMode.Disable.
+
+       also make the ime_mode field private.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: make control_style private.
+
+       * TextBoxBase.cs: fix the HandleClick override.  it was explicitly
+       setting the styles to true, then setting them to false instead of
+       reverting to their previous values.
+
+       also, call SetStyle on the scrollbars instead of using
+       control_style directly.
+
+2006-12-06  Jonathan Pobst  <monkey@jpobst.com>
+
+       * FormCollection.cs: Implement. [2.0]
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * Control.cs: make tab_stop private.
+
+       * Label.cs: set TabStop, not tab_stop.  reformat some event
+       add/remove methods to make them more compact.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * RadioButton.cs: fix TabStop handling.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * TextBox.cs: remove the explicit assignments to has_focus.
+       Control does that.
+
+       * ButtonBase.cs: remove the assignment to has_focus.  Control will
+       manage that.
+       
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ButtonBase.cs: remove all uses of is_enabled from this code.
+       it's always true when any of the code containing the checks is
+       executed.
+
+2006-12-06  Chris Toshok  <toshok@ximian.com>
+
+       * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
+       with different semantics (some are present in both 1.1 and 2.0
+       profiles) so that we match MS's behavior in our unit tests.
+
+2006-12-06  Jackson Harper  <jackson@ximian.com>
+
+       * TextControl.cs: Make this operation undoable.
+       * TextBoxBase.cs: Factor the border width into the preferred
+       height.
+       - implement Modified as per the spec.
+
 2006-12-06  Chris Toshok  <toshok@ximian.com>
 
        * Timer.cs, Control.cs, Menu.cs: make control_tag private.