Sebastien Pouliot [Sun, 3 Dec 2006 16:44:53 +0000 (16:44 -0000)]
Update icons to the ones already available in SVN. Added unit tests for SystemIcons to the build
svn path=/trunk/mcs/; revision=68899
Sebastien Pouliot [Sun, 3 Dec 2006 16:41:23 +0000 (16:41 -0000)]
2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
* SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
icons provided here behave differently than normal icons (can't be
disposed).
svn path=/trunk/mcs/; revision=68898
Sebastien Pouliot [Sun, 3 Dec 2006 16:38:31 +0000 (16:38 -0000)]
2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
* Icon.cs: Add a new ctor that returns undisposable Icon instances
(required when used from SystemIcons). Added a dispose check in
ToBitmap (many other are missing).
* SystemIcons.cs: Change icons to the one already in SVN.
svn path=/trunk/mcs/; revision=68897
Igor Zelmanovich [Sun, 3 Dec 2006 16:07:00 +0000 (16:07 -0000)]
2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
* FormsAuthenticationModule.cs:
set SkipAuthorization=true for WebResource.axd
svn path=/trunk/mcs/; revision=68896
Sebastien Pouliot [Sun, 3 Dec 2006 16:04:18 +0000 (16:04 -0000)]
2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
* Mono.ico: Add mono icon to be included in SystemIcons.
svn path=/trunk/mcs/; revision=68895
Gert Driesen [Sun, 3 Dec 2006 14:31:18 +0000 (14:31 -0000)]
* XmlSerializerTests.cs: Undo some of Hagit's code formatting changes.
svn path=/trunk/mcs/; revision=68890
Everaldo Canuto [Sun, 3 Dec 2006 14:28:23 +0000 (14:28 -0000)]
2006-11-01 Everaldo Canuto <everaldo@simios.org>
* Timer.cs: Tag property for 2.0 profile.
svn path=/trunk/mcs/; revision=68889
Gert Driesen [Sun, 3 Dec 2006 14:14:20 +0000 (14:14 -0000)]
* XmlSerializerTests.cs: Only compile generic tests on 2.0 profile.
Fixes build.
* DeserializeTests.cs: Same.
* XmlSerializerTestClasses.cs: Same.
svn path=/trunk/mcs/; revision=68888
Gert Driesen [Sun, 3 Dec 2006 13:51:16 +0000 (13:51 -0000)]
* XmlSchemaExporterTests.cs: Added tests for (part of) bug #78214.
* XmlSchemaExporter.cs: Emit xml name of enum-based default values.
Set XmlSchemaAttribute.Use to Required if no default value is defined,
and member is not an optional value type. Element should have minOccurs
1 if value type member has default value. Output flag enum type as
xsd list with restriction.
* XmlReflectionImporter.cs: Removed special casing of enums. Instead
of passing namespace of XmlAttribute to ImportTypeMapping, use the
default namespace for importing the member type.
svn path=/trunk/mcs/; revision=68887
Yoni Klain [Sun, 3 Dec 2006 12:28:23 +0000 (12:28 -0000)]
2006-12-03 Hagit Yidov <hagity@xmainsoft.com>
* XmlSerializerTests.cs : added tests for serialization of generic types.
* DeserializeTests.cs : added tests for deserialization of generic types.
* XmlSerializerTestClasses.cs : added classes for tests which use generic types.
svn path=/trunk/mcs/; revision=68886
Igor Zelmanovich [Sun, 3 Dec 2006 09:11:46 +0000 (09:11 -0000)]
2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
* HttpWriter.cs: reverted r38835.
svn path=/trunk/mcs/; revision=68885
Yoni Klain [Sun, 3 Dec 2006 08:32:33 +0000 (08:32 -0000)]
RadioButtonTest.cs: added new test for 2.0
svn path=/trunk/mcs/; revision=68884
Sebastien Pouliot [Sun, 3 Dec 2006 01:22:10 +0000 (01:22 -0000)]
Update Makefile to add icon resources for SystemIcons (some icons needs to be updated, they are all monkeys tonight ;-).
svn path=/trunk/mcs/; revision=68883
Sebastien Pouliot [Sun, 3 Dec 2006 01:20:30 +0000 (01:20 -0000)]
2006-12-02 Sebastien Pouliot <sebastien@ximian.com>
* FontConverter.cs: Add a comment why the empty finalizer is required.
* gdipFunctions.cs: Remove warning from build (unused variable).
* Icon.cs: Fix .ctor accepting a type - the type is to find the
assembly, not the type of the ressource.
* SystemIcons.cs: Load some icons from the assembly (all the same Mono
icon for tonight).
svn path=/trunk/mcs/; revision=68882
Andreia Gaita [Sat, 2 Dec 2006 18:13:29 +0000 (18:13 -0000)]
2006-12-02 Andreia Gaita <avidigal@novell.com>
* PrintingServicesUnix: Proper size structure use for 64 bit
support.
svn path=/trunk/mcs/; revision=68878
Gert Driesen [Sat, 2 Dec 2006 16:42:22 +0000 (16:42 -0000)]
* SerializationCodeGenerator.cs: Initialize out parameters if they
are value types. Fixed bug #79988.
* XmlSerializationReaderInterpreter.cs: Same.
svn path=/trunk/mcs/; revision=68877
Miguel de Icaza [Sat, 2 Dec 2006 05:27:35 +0000 (05:27 -0000)]
2006-12-02 Miguel de Icaza <miguel@novell.com>
* SafeHandle.cs: Implement this class.
2006-12-02 Miguel de Icaza <miguel@novell.com>
* SafeFileHandle.cs: Remove the IsInvalid method, as that is
present in the base class.
svn path=/trunk/mcs/; revision=68875
Duncan Mak [Sat, 2 Dec 2006 03:34:32 +0000 (03:34 -0000)]
Fix more buglets exposed by the MOMA tool.
2006-12-01 Duncan Mak <duncan@a-chinaman.com>
* ArgumentOutOfRangeException.cs (.ctor):
* NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
that takes a string and an inner Exception.
2006-12-01 Duncan Mak <duncan@a-chinaman.com>
* AddingNewEventArgs.cs:
* AddingNewEventHandler.cs: Added.
* ListChangedEventArgs.cs (.ctor): Uncomment the bit about
property descriptor now that there's an implementation of it.
(PropertyDescriptor): New 2.0 property.
svn path=/trunk/mcs/; revision=68874
Marek Habersack [Sat, 2 Dec 2006 00:40:36 +0000 (00:40 -0000)]
Throw appropriate exceptions
svn path=/trunk/mcs/; revision=68873
Andreia Gaita [Sat, 2 Dec 2006 00:08:11 +0000 (00:08 -0000)]
2006-12-01 Andreia Gaita <avidigal@novell.com>
* PrintingServicesUnix: *properly* check return value from
cupsGetDefault. If there are no default printers set,
check if there are installed printers, and use that.
Hopefully fixes #79835
svn path=/trunk/mcs/; revision=68872
Allan Hsu [Fri, 1 Dec 2006 23:59:22 +0000 (23:59 -0000)]
* configure.in: added -DUSE_MMAP and -DUSE_MUNMAP to CPPFLAGS for Darwin. -DUSE_MMAP is already set in libgc for Darwin, but I added it here to match CPPFLAGS for other platforms.
svn path=/trunk/mono/; revision=68870
Chris Toshok [Fri, 1 Dec 2006 22:50:43 +0000 (22:50 -0000)]
[ after removing all warning suppressions, this cleans up over 100 warnings. ]
* Win32DnD.cs: comment out some unused fields.
* XplatUIWin32.cs: comment out some unused pinvokes, and remove
some unused properties/methods.
* XplatUIX11.cs: fix MousePosition so we override the base class's
property instead of conflicting with it.
* PictureBox.cs: comment out some unused fields
* OSXStructs.cs: make some struct fields public.
* XplatUIOSX.cs: comment out some unused pinvokes, and fix
MousePosition so we override the base class's property instead of
conflicting with it.
* X11Dnd.cs: comment out some unused fields
* X11DesktopColors.cs: fix some struct field visibility to quiet
the compiler.
* X11Dnd.cs: remove some debug code.
* ThemeClearlooks.cs: comment out unused field.
* ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
* ThemeGtk.cs: comment out some unused pinvokes.
* Timer.cs: remove some unused fields.
* ThemeClearlooks.cs: comment out unused field.
* UpDownBase.cs: comment out unused field.
* DataObject.cs: comment out unused field.
* DataGridBoolColumn.cs: reomve unused field.
* DataGrid.cs: remove unused field.
* Cursor.cs: remove old ToBitmap code.
* ControlPaint.cs: remove unused method.
* ScrollBar.cs: remove unused fields.
* ComboBox.cs: remove unused field, and chain up to
AccessibleObject ctor.
* ListBox.cs: remove unused field.
* ButtonBase.cs: wrap a couple fields in NET_2_0.
* GridEntry.cs: remove unused fields.
* Binding.cs: remove unused fields.
* AxHost.cs: remove unused method.
* ContainerControl.cs: remove unused field.
* ScrollableControl.cs: remove unused fields.
2006-12-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=68867
Andreia Gaita [Fri, 1 Dec 2006 22:06:28 +0000 (22:06 -0000)]
Hopefully fixes #79835
* PrintingServicesUnix: check return value from cupsGetDefault.
2006-12-01 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=68864
Miguel de Icaza [Fri, 1 Dec 2006 22:01:39 +0000 (22:01 -0000)]
Copy the wparser.c to parser.c
svn path=/trunk/mono/; revision=68863
Chris Toshok [Fri, 1 Dec 2006 22:00:57 +0000 (22:00 -0000)]
2006-12-01 Chris Toshok <toshok@ximian.com>
* XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
the Where/WhereString stuff. it's easy enough to CWL
Environment.StackTrace.
* XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
unused private fields.
svn path=/trunk/mcs/; revision=68862
Miguel de Icaza [Fri, 1 Dec 2006 22:00:04 +0000 (22:00 -0000)]
Add the windows parser
svn path=/trunk/mono/; revision=68861
Jackson Harper [Fri, 1 Dec 2006 21:59:22 +0000 (21:59 -0000)]
* TextControl.cs: Do not update the view while inserting
* multiline
text. If we update the view we might wrap lines, before entering
the new lines, which causes the new line insertion calculations
to
be totally fubared.
- Remove an old TODO
- Make debug output a little nicer
svn path=/trunk/mcs/; revision=68860
Miguel de Icaza [Fri, 1 Dec 2006 21:59:05 +0000 (21:59 -0000)]
Will include the Windows version instead
svn path=/trunk/mono/; revision=68859
Chris Toshok [Fri, 1 Dec 2006 21:57:01 +0000 (21:57 -0000)]
* ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
2006-12-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=68858
Chris Toshok [Fri, 1 Dec 2006 21:56:14 +0000 (21:56 -0000)]
eh, open the floodgates. stop suppressing these warnings.
svn path=/trunk/mcs/; revision=68857
Miguel de Icaza [Fri, 1 Dec 2006 21:53:50 +0000 (21:53 -0000)]
2006-12-01 Miguel de Icaza <miguel@novell.com>
* parser.c: Added this file which is autogenerated by bison to the
repository, for a number of reasons:
1. I want to make the Visual Studio build on Windows easier,
removing the need for Cygwin.
2. Getting Bison/Yacc on Windows is an extra dependency, and there
are no light dependencies for it (short of shipping more binaries).
3. This file barely changes.
svn path=/trunk/mono/; revision=68856
Miguel de Icaza [Fri, 1 Dec 2006 21:47:31 +0000 (21:47 -0000)]
Add a step to run genmdesc from visual studio
svn path=/trunk/mono/; revision=68855
Chris Toshok [Fri, 1 Dec 2006 21:42:47 +0000 (21:42 -0000)]
stop suppressing the 108 warning. we're missing valuable info because of it. we still have 13 warnings to fix, but that's much better than the initial state of things
svn path=/trunk/mcs/; revision=68854
Miguel de Icaza [Fri, 1 Dec 2006 21:34:20 +0000 (21:34 -0000)]
Add a runburg command that will be executed after monoburg is built by visual studio, that will generate the files needed in mini (inssel.h and inssel.c).
svn path=/trunk/mono/; revision=68853
Chris Toshok [Fri, 1 Dec 2006 21:30:55 +0000 (21:30 -0000)]
In System.Windows.Forms:
[ fix the majority of the CS0108 warnings we've been suppressing ]
* TreeView.cs: mark BackgroundImageChanged as 'new'.
* ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
to "LayoutToolBar" to quiet mcs.
* TabControl.cs: mark our ControlCollection class as 'new'.
* TextBoxBase.cs: mark some events as 'new'.
* Splitter.cs: TabStop is 'new'.
* ControlBindingsCollection.cs: mark a few methods as new since
they change the visibility from protected to public.
* RadioButton.cs: DoubleClick -> base class, and remove unused
HaveDoubleClick.
* MonthCalendar.cs: ImeMode property -> base class, and mark many
events as new.
* NumericUpDown.cs: TextChanged -> base class.
* CheckedListBox.cs: mark our ObjectCollection class as new to
quiet mcs.
* FolderBrowserDialog.cs: make HelpRequest event new and have it
muck with the base class.
* StatusBar.cs: fix some mcs warnings about Update being the same
name as a base class method.
* RichTextBox.cs: mark some events as new, and make them do things
to the base class impl.
* UserControl.cs: mark TextChanged as new, and have it manipulate
base.TextChanged.
* UpDownBase.cs: mark some things new.
* CheckBox.cs: mark DoubleClick "new", and add some text about
what we need to look at.
* Panel.cs: make the events "new", and manipulate the base
version. these are just here for attributes.
* AccessibleObject.cs: make owner private.
* Control.cs: deal with AccessibleObject.owner being private.
cache our own copy if we need it.
* Button.cs: add "new" to the DoubleClickEvent.
* ListBox.cs: no need to track our own has_focus here. let
Control.has_focus do it for us. Also some other work to clear up
warnings about not overriding base class methods of the same name.
* ComboBox.cs: clear up some warnings about not override base
class methods of the same name.
2006-12-01 Chris Toshok <toshok@ximian.com>
In System.Windows.Forms.X11Internal:
2006-12-01 Chris Toshok <toshok@ximian.com>
* X11Hwnd.cs: need to mark queue as "new" to quiet mcs.
svn path=/trunk/mcs/; revision=68852
Jordi Mas i Hernandez [Fri, 1 Dec 2006 21:20:55 +0000 (21:20 -0000)]
2006-12-01 Jordi Mas i Hernandez <jordimash@gmail.com>
* PrintingServicesWin32.cs: Fixes paper sizes reading. The POINT
structure is 8 bytes long not 4. This fixes margins calculations
(based on the paper size) that were badly broken.
svn path=/trunk/mcs/; revision=68849
Miguel de Icaza [Fri, 1 Dec 2006 20:55:40 +0000 (20:55 -0000)]
Revert accidental commit
svn path=/trunk/mono/; revision=68848
Miguel de Icaza [Fri, 1 Dec 2006 20:53:25 +0000 (20:53 -0000)]
Add a pre-generated windows configuration file
svn path=/trunk/mono/; revision=68847
Marek Safar [Fri, 1 Dec 2006 19:18:42 +0000 (19:18 -0000)]
New test.
svn path=/trunk/mcs/; revision=68842
Marek Safar [Fri, 1 Dec 2006 19:18:04 +0000 (19:18 -0000)]
2006-12-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #80108
* ecore.cs (EventExpr.EmitAddOrRemove): Don't crash when right side is not
compatible.
svn path=/trunk/mcs/; revision=68841
Chris Toshok [Fri, 1 Dec 2006 19:00:17 +0000 (19:00 -0000)]
2006-12-01 Chris Toshok <toshok@ximian.com>
* Form.cs: flag a few things as "new" to quiet some of the mcs
warnings.
* AxHost.cs: same.
* PrintPreviewDialog.cs: same.
* DataGridView.cs: fix a ton of corcompare warnings. not all, but
now DGV isn't so horrible on the class status page. also, move
all events to using System.ComponentModel.EventHandlerList. my
wrists hurt.
svn path=/trunk/mcs/; revision=68840
Marek Safar [Fri, 1 Dec 2006 18:58:20 +0000 (18:58 -0000)]
Correctly reapplied my last changes
svn path=/trunk/mcs/; revision=68839
Marek Safar [Fri, 1 Dec 2006 18:56:09 +0000 (18:56 -0000)]
Correctly reapplied my last changes
svn path=/trunk/mcs/; revision=68838
Rolf Bjarne Kvinge [Fri, 1 Dec 2006 18:20:08 +0000 (18:20 -0000)]
2006-12-01 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiFormTest.cs: All current NotWorking tests are now
working, added a few more tests.
svn path=/trunk/mcs/; revision=68837
Rolf Bjarne Kvinge [Fri, 1 Dec 2006 18:05:04 +0000 (18:05 -0000)]
2006-12-01 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiWindowManager.cs:
- Set form to active mdi child if shown,
and update the active mdi child to the next
remaining child in the z-order if the form is hidden.
* Form.cs:
- Track if the form has been visible and if its
visibility is beeing changed, so that the MdiClient
can properly decide the ActiveMdiChild. The MdiClient
cannot track this since the form can change visibility
before MdiClient is created.
* MdiClient.cs:
- Don't activate anything of the parent form is changing
its visibility.
- Rework ActiveMdiChild to only return visible mdi
children and take into account several other corner
cases.
svn path=/trunk/mcs/; revision=68836
Gonzalo Paniagua Javier [Fri, 1 Dec 2006 17:57:49 +0000 (17:57 -0000)]
2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWriter.cs: remove unused WriteBytes method.
svn path=/trunk/mcs/; revision=68835
Gert Driesen [Fri, 1 Dec 2006 17:46:35 +0000 (17:46 -0000)]
* CurrencyManagerTest.cs: Added test for bug #80107.
svn path=/trunk/mcs/; revision=68834
Gert Driesen [Fri, 1 Dec 2006 17:24:24 +0000 (17:24 -0000)]
* DataGridTest.cs: Fixed build.
svn path=/trunk/mcs/; revision=68833
Chris Toshok [Fri, 1 Dec 2006 15:58:34 +0000 (15:58 -0000)]
In .:
2006-12-01 Chris Toshok <toshok@ximian.com>
* System.Windows.Forms.dll.sources: add IBindableComponent.cs
In System.Windows.Forms:
2006-12-01 Chris Toshok <toshok@ximian.com>
* IBindableComponent.cs: new 2.0 interface.
svn path=/trunk/mcs/; revision=68832
Miguel de Icaza [Fri, 1 Dec 2006 15:29:30 +0000 (15:29 -0000)]
Reapply Marek's patch after tagging 1-2-2
2006-11-30 Marek Safar <marek.safar@gmail.com>
Correct unary operators implementation (part I)
Also fixes #80026
* cfold.cs (Error_CompileTimeOverflow): Made internal
* const.cs (IConstant): Changed to use reference to constant and
not constant itself.
Updated IConstant implementations.
* constant.cs (CreateConstant): New factory method.
Updated IConstant implementation.
* convert.cs (ImplicitStandardConversionExists): Uses compiler Equals.
* ecore.cs: Updated to use CreateConstantReference.
* enum.cs: Reflects IConstant changes.
* expression.cs (Unary): Reimplemented +,-,~ to conform C# standard.
* literal.cs (NullConstant): Change to be independently usable.
svn path=/trunk/mcs/; revision=68831
Gert Driesen [Fri, 1 Dec 2006 14:31:49 +0000 (14:31 -0000)]
* DataGridTest.cs: Added tests for Font, CaptionFont and HeaderFont.
* DataGrid.cs: Font for caption area is bold by default.
svn path=/trunk/mcs/; revision=68830
Lluis Sanchez [Fri, 1 Dec 2006 13:34:00 +0000 (13:34 -0000)]
* ReturnMessage.cs: When creating an exception message, copy the call
context from the call message.
svn path=/trunk/mcs/; revision=68829
Lluis Sanchez [Fri, 1 Dec 2006 13:31:21 +0000 (13:31 -0000)]
* MessageFormatter.cs: Include the logical context in the message when
throwing an exception. Fixes a compatibility issue with MS.NET.
svn path=/trunk/mcs/; revision=68828
Sebastien Pouliot [Fri, 1 Dec 2006 13:28:46 +0000 (13:28 -0000)]
2006-12-01 Sebastien Pouliot <sebastien@ximian.com>
* SmtpClient.cs: Added MonoTODO for missing SSL/TLS support and
updated existing MonoTODO (or changed them to FIXME) to be clearer
for anyone using the API.
svn path=/trunk/mcs/; revision=68827
Raja R Harinath [Fri, 1 Dec 2006 11:13:02 +0000 (11:13 -0000)]
* test-541.cs, gtest-298.cs: New tests based on #79972.
delete empty files
svn path=/trunk/mcs/; revision=68826
Gert Driesen [Fri, 1 Dec 2006 10:26:00 +0000 (10:26 -0000)]
* DateTimeTest.cs: Added test for bug #80094. Remoted trailing tabs.
svn path=/trunk/mcs/; revision=68824
Everaldo Canuto [Fri, 1 Dec 2006 09:49:44 +0000 (09:49 -0000)]
In Test/System.Windows.Forms:
2006-11-01 Everaldo Canuto <everaldo@simios.org>
* MenuTest.cs: Tag property assert for 2.0 profile.
In System.Windows.Forms:
* Menu.cs: Tag property for 2.0.
2006-11-01 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=68819
Atsushi Eno [Fri, 1 Dec 2006 07:45:08 +0000 (07:45 -0000)]
2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs :
When comparing enumerations, two or more enumeration values might
match. Thus basically we should do complete matching, but right
now just do reverse order search since only numbered abbrev month
names matter (and full iteration is a mess). Fixed bug #80094.
svn path=/trunk/mcs/; revision=68813
Atsushi Eno [Fri, 1 Dec 2006 06:52:54 +0000 (06:52 -0000)]
2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs :
use new internal clone-less DateTimeFormatInfo members.
* DateTimeFormatInfo.cs : added some internal clone-less versions of
string[] properties and methods.
svn path=/trunk/mcs/; revision=68812
Everaldo Canuto [Fri, 1 Dec 2006 06:50:52 +0000 (06:50 -0000)]
2006-11-01 Everaldo Canuto <everaldo@simios.org>
* ThemeWin32Classic.cs: Adjust menu separator drawing.
svn path=/trunk/mcs/; revision=68811
Chris Toshok [Fri, 1 Dec 2006 06:31:01 +0000 (06:31 -0000)]
* TreeView.cs: doh, the Begin* events should be
TreeViewCancelEventHandler.
2006-12-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=68810
Chris Toshok [Fri, 1 Dec 2006 06:25:09 +0000 (06:25 -0000)]
* Form.cs: Form.ControlCollection already stores off the
form_owner field. don't access the base class's internal "owner"
field.
* Control.cs: make all the fields in Control.ControlCollection
private. there's no need for any internal fields here.
2006-12-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=68809
Chris Toshok [Fri, 1 Dec 2006 06:19:15 +0000 (06:19 -0000)]
* DataGrid.cs: call SetDataSource instead of CalcGridAreas in
OnHandleCreated. Fixes bug #80109.
2006-12-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=68808
Chris Toshok [Fri, 1 Dec 2006 06:16:09 +0000 (06:16 -0000)]
2006-12-01 Chris Toshok <toshok@ximian.com>
* Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
SplitContainer.cs, Control.cs, StatusStrip.cs,
DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
do most of the work to convert our code over to use
System.ComponentModel.Component.Events for
adding/removing/dispatching events.
svn path=/trunk/mcs/; revision=68807
Miguel de Icaza [Fri, 1 Dec 2006 04:36:20 +0000 (04:36 -0000)]
Set eol-style
svn path=/trunk/mcs/; revision=68794
Jonathan Pobst [Fri, 1 Dec 2006 02:16:13 +0000 (02:16 -0000)]
2006-11-30 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Fix an ArgumentNullException reported
twice today in IRC.
svn path=/trunk/mcs/; revision=68793
Atsushi Eno [Fri, 1 Dec 2006 01:44:17 +0000 (01:44 -0000)]
2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
* XmlReflectionImporter.cs : implemented several missing check and
support for XmlArrayAttribute. Fixed bug #78042.
* XmlSerializerTests.cs : added tests for XmlArrayAttribute support.
svn path=/trunk/mcs/; revision=68792
Miguel de Icaza [Fri, 1 Dec 2006 00:52:55 +0000 (00:52 -0000)]
Revert the recent fixes until 1-2-2 is branched
svn path=/trunk/mcs/; revision=68791
Miguel de Icaza [Fri, 1 Dec 2006 00:36:33 +0000 (00:36 -0000)]
Apply patch from Paolo:
2006-11-30 Paolo Molaro (lupus@ximian.com)
* metadata.c, marshal.c: locking fixes when writing to image->mempool.
svn path=/trunk/mono/; revision=68788
Marek Safar [Thu, 30 Nov 2006 23:34:44 +0000 (23:34 -0000)]
Updated
svn path=/trunk/mcs/; revision=68787
Marek Safar [Thu, 30 Nov 2006 23:34:12 +0000 (23:34 -0000)]
One more test case.
svn path=/trunk/mcs/; revision=68786
Marek Safar [Thu, 30 Nov 2006 23:33:07 +0000 (23:33 -0000)]
2006-11-30 Marek Safar <marek.safar@gmail.com>
Correct unary operators implementation (part I)
Also fixes #80026
* cfold.cs (Error_CompileTimeOverflow): Made internal
* const.cs (IConstant): Changed to use reference to constant and
not constant itself.
Updated IConstant implementations.
* constant.cs (CreateConstant): New factory method.
Updated IConstant implementation.
* convert.cs (ImplicitStandardConversionExists): Uses compiler Equals.
* ecore.cs: Updated to use CreateConstantReference.
* enum.cs: Reflects IConstant changes.
* expression.cs (Unary): Reimplemented +,-,~ to conform C# standard.
* literal.cs (NullConstant): Change to be independently usable.
Second try :-(
svn path=/trunk/mcs/; revision=68785
Marek Safar [Thu, 30 Nov 2006 22:52:54 +0000 (22:52 -0000)]
Reverted
svn path=/trunk/mcs/; revision=68783
Marek Safar [Thu, 30 Nov 2006 22:46:58 +0000 (22:46 -0000)]
Reverted
svn path=/trunk/mcs/; revision=68782
Marek Safar [Thu, 30 Nov 2006 22:46:13 +0000 (22:46 -0000)]
Reverted.
svn path=/trunk/mcs/; revision=68781
Gonzalo Paniagua Javier [Thu, 30 Nov 2006 20:39:00 +0000 (20:39 -0000)]
2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: physical path comes from GetFilePathTranslated to
avoid trimming in HttpRequest.MapPath.
svn path=/trunk/mcs/; revision=68776
Everaldo Canuto [Thu, 30 Nov 2006 20:30:53 +0000 (20:30 -0000)]
Remove NotWorking category from PropertyTest
svn path=/trunk/mcs/; revision=68775
Marek Safar [Thu, 30 Nov 2006 20:11:26 +0000 (20:11 -0000)]
New test.
svn path=/trunk/mcs/; revision=68774
Jonathan Pryor [Thu, 30 Nov 2006 19:38:31 +0000 (19:38 -0000)]
* map.c: _cnm_return_val_if_overflow() should be a no-op unless DEBUG is
defined. "Fixes" false positives pending further investigation.
svn path=/trunk/mono/; revision=68770
Mike Kestner [Thu, 30 Nov 2006 19:36:43 +0000 (19:36 -0000)]
2006-11-30 Mike Kestner <mkestner@novell.com>
* ComboBox.cs: fix the scrollbar mouse event forwarding in the
grabbed listbox. Fixes #80036 and #80101.
svn path=/trunk/mcs/; revision=68769
Marek Safar [Thu, 30 Nov 2006 19:33:28 +0000 (19:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=68767
Marek Safar [Thu, 30 Nov 2006 19:32:51 +0000 (19:32 -0000)]
New tests.
svn path=/trunk/mcs/; revision=68766
Marek Safar [Thu, 30 Nov 2006 19:32:07 +0000 (19:32 -0000)]
2006-11-30 Marek Safar <marek.safar@gmail.com>
Correct unary operators implementation (part I)
Also fixes #80026
* cfold.cs (Error_CompileTimeOverflow): Made internal
* const.cs (IConstant): Changed to use reference to constant and
not constant itself.
Updated IConstant implementations.
* constant.cs (CreateConstant): New factory method.
Updated IConstant implementation.
* convert.cs (ImplicitStandardConversionExists): Uses compiler Equals.
* ecore.cs: Updated to use CreateConstantReference.
* enum.cs: Reflects IConstant changes.
* expression.cs (Unary): Reimplemented +,-,~ to conform C# standard.
* literal.cs (NullConstant): Change to be independently usable.
svn path=/trunk/mcs/; revision=68765
Mike Kestner [Thu, 30 Nov 2006 19:30:08 +0000 (19:30 -0000)]
2006-11-30 Mike Kestner <mkestner@novell.com>
* ComboBox.cs: fix the scrollbar mouse event forwarding in the
grabbed listbox. Fixes #80036.
svn path=/trunk/mcs/; revision=68764
Jackson Harper [Thu, 30 Nov 2006 18:46:40 +0000 (18:46 -0000)]
Fix test
svn path=/trunk/mcs/; revision=68763
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 17:48:38 +0000 (17:48 -0000)]
Added the MessageTest test to the sources.
svn path=/trunk/mcs/; revision=68762
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 17:47:01 +0000 (17:47 -0000)]
2006-11-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MessageTest.cs: Added test for ToString.
svn path=/trunk/mcs/; revision=68761
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 17:32:40 +0000 (17:32 -0000)]
2006-11-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Message.cs: Changed ToString() to match MS.
svn path=/trunk/mcs/; revision=68760
Jackson Harper [Thu, 30 Nov 2006 16:56:41 +0000 (16:56 -0000)]
* TextControl.cs: Lower magic number for wrap calculations. This
lets text get closer to the right (far) edge.
svn path=/trunk/mcs/; revision=68759
Jackson Harper [Thu, 30 Nov 2006 16:52:47 +0000 (16:52 -0000)]
* TextBoxBase.cs: You can still change the selected text on a
* read
only textbox.
svn path=/trunk/mcs/; revision=68758
Yoni Klain [Thu, 30 Nov 2006 16:42:53 +0000 (16:42 -0000)]
svn path=/trunk/mcs/; revision=68757
Yoni Klain [Thu, 30 Nov 2006 16:42:07 +0000 (16:42 -0000)]
svn path=/trunk/mcs/; revision=68756
Jonathan Pobst [Thu, 30 Nov 2006 16:10:04 +0000 (16:10 -0000)]
2006-11-30 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Tweak 2.0 layout properties.
* Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
* TextRenderer.cs: Add a new overload.
* ToolStrip*: Huge amount of changes and new features.
svn path=/trunk/mcs/; revision=68754
Gert Driesen [Thu, 30 Nov 2006 15:35:53 +0000 (15:35 -0000)]
DataGridColumnStyleTest.cs: Set eol-style to native.
BindingMemberInfoTest.cs: Same.
DataGridCellTest.cs: Same.
LabelTest.cs: Same.
PropertyManagerTest.cs: Same.
ControlEventTest.cs: Same.
PictureBoxTest.cs: Same.
CurrencyManagerTest.cs: Same.
CheckBoxTest.cs: Same.
Common.cs: Same.
ProgressBarTest.cs: Same.
RadioButtonTest.cs: Same.
ToolTipTest.cs: Same.
DataGridViewBandTest.cs: Same.
RichTextBoxTest.cs: Same.
ApplicationTest.cs: Same.
ListViewCollectionsTest.cs: Same.
TreeNodeTest.cs: Same.
DataGridTableStyleTest.cs: Same.
StatusBarTest.cs: Same.
BindingTest.cs: Same.
PrintDialogTest.cs: Same.
ListControlTest.cs: Same.
DataGridViewAdvancedBorderStyleTest.cs: Same.
MonthCalendarTest.cs: Same.
FocusTest.cs: Same.
DataGridTest.cs: Same.
MenuItemTest.cs: Same.
ControlBindingsConverterTest.cs: Same.
StatusBarPanelTest.cs: Same.
TreeViewTest.cs: Same.
SystemInformationTest.cs: Same.
DataGridViewRowTest.cs: Same.
TestImageIndexConverter.cs: Same.
ApplicationContextTest.cs: Same.
ButtonTest.cs: Same.
GridTableStylesCollectionTest.cs: Same.
ScrollBarTest.cs: Same.
DataGridViewElementTest.cs: Same.
ListBoxTest.cs: Same.
TrackBarTest.cs: Same.
CommonDialogsTest.cs: Same.
ToolBarButtonTest.cs: Same.
ErrorProviderTest.cs: Same.
DataGridViewCellTest.cs: Same.
ControlPaintTest.cs: Same.
ImageListTest.cs: Same.
BindingContextTest.cs: Same.
ControlTest.cs: Same.
ContainerControlTest.cs: Same.
ListViewItemTest.cs: Same.
ListBoxEventTest.cs: Same.
CheckBoxEventTest.cs: Same.
CheckedListBoxTest.cs: Same.
DataGridViewCellStyleTest.cs: Same.
CheckedListBoxEventTest.cs: Same.
ToolBarTest.cs: Same.
FormTest.cs: Same.
MenuTest.cs: Same.
GroupBoxTest.cs: Same.
DataGridViewTest.cs: Same.
svn path=/trunk/mcs/; revision=68753
Gert Driesen [Thu, 30 Nov 2006 15:29:41 +0000 (15:29 -0000)]
* SplitContainerTests.cs: Set eol-style to CRLF.
* ComboBoxTests.cs: Same.
* EventArgsTest.cs: Same.
* FlowPanelTests.cs: Same.
* DockingTests.cs: Same.
svn path=/trunk/mcs/; revision=68752
Gert Driesen [Thu, 30 Nov 2006 15:25:23 +0000 (15:25 -0000)]
* DataGridTextBoxColumnTest.cs: Set eol-style to native.
* GridColumnStylesCollectionTest.cs: Same.
svn path=/trunk/mcs/; revision=68751
Gert Driesen [Thu, 30 Nov 2006 15:21:53 +0000 (15:21 -0000)]
* MdiFormTest.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=68750
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 15:16:53 +0000 (15:16 -0000)]
2006-11-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiFormTest.cs: Text_ChildClose is no longer NotWorking.
svn path=/trunk/mcs/; revision=68748
Mike Kestner [Thu, 30 Nov 2006 15:16:06 +0000 (15:16 -0000)]
2006-11-30 Mike Kestner <mkestner@novell.com>
* ComboBox.cs: fixes for LargeChange and Maximum to get the
scroll range correct. Fixes #79994.
svn path=/trunk/mcs/; revision=68747
Konstantin Triger [Thu, 30 Nov 2006 15:07:43 +0000 (15:07 -0000)]
remove redundand NotWorkings
svn path=/trunk/mcs/; revision=68746