mono.git
17 years ago2007-01-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Jan 2007 19:37:52 +0000 (19:37 -0000)]
2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiClient.cs: Add ActivatePreviousChild for
mdi child window navigation.
* Form.cs: Use MdiClient.ActivateNextChild/
ActivatePreviousChild instead of Form.SelectNextControl
to select the next/previous child since
SelectNextControl doesn't do it in the same order
as mdi children should do it.

svn path=/trunk/mcs/; revision=71169

17 years ago2007-01-16 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 16 Jan 2007 19:19:02 +0000 (19:19 -0000)]
2007-01-16  Chris Toshok  <toshok@ximian.com>

* Control.cs: remove container_selected field.

svn path=/trunk/mcs/; revision=71168

17 years agoTue Jan 16 20:01:01 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 19:01:45 +0000 (19:01 -0000)]
Tue Jan 16 20:01:01 CET 2007 Paolo Molaro <lupus@ximian.com>

* exceptions-ppc.c: execute fault handlers.

svn path=/trunk/mono/; revision=71165

17 years agoTue Jan 16 19:54:44 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 18:59:19 +0000 (18:59 -0000)]
Tue Jan 16 19:54:44 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: handle missing call locationss with FORCE_INDIR_CALL.

svn path=/trunk/mono/; revision=71164

17 years ago2007-01-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Jan 2007 18:45:40 +0000 (18:45 -0000)]
2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiClient.cs: Update main form's ActiveChild when
updating keyboard focus for the mdi child.

svn path=/trunk/mcs/; revision=71163

17 years ago2007-01-16 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 16 Jan 2007 18:41:40 +0000 (18:41 -0000)]
2007-01-16  Chris Toshok  <toshok@ximian.com>

* UpDownTest.cs: add UpDownActiveControlTest.

svn path=/trunk/mcs/; revision=71162

17 years ago* RoleManagerModule.cs: fixed OnPostAuthenticateRequest, CacheRolesInCookie not suppo...
Vladimir Krasnov [Tue, 16 Jan 2007 17:44:01 +0000 (17:44 -0000)]
* RoleManagerModule.cs: fixed OnPostAuthenticateRequest, CacheRolesInCookie not supported yet
* Roles.cs: fixed DeleteCookie, CacheRolesInCookie not supported yet

svn path=/trunk/mcs/; revision=71157

17 years ago2007-01-16 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Tue, 16 Jan 2007 17:22:15 +0000 (17:22 -0000)]
2007-01-16  Jonathan Pobst  <jpobst@novell.com>

* ControlPropertyEventsTest.cs: Enable PropertyMinimumSize test.

* ControlTest.cs: Move ControlCollection tests to ControlCollectionTest.cs.

* EventArgsTest.cs, FlowPanelTests.cs: Change namespace to match all other tests.

* FormTest.cs: Add tests for FormClosed event and Show (IWin32Window).

* MenuStripTest.cs: Add test for MDI.

* SplitContainerTest.cs: Change namespace, remove TestNotRelaventProperties.

* ToolStripMenuItemTest.cs: Add test for MDI.

* ToolStripTest.cs: Ignore ControlStyle, Un-Ignore PropertyAutoSize.

svn path=/trunk/mcs/; revision=71156

17 years agoIn Test/System.Windows.Forms:
Rolf Bjarne Kvinge [Tue, 16 Jan 2007 16:57:50 +0000 (16:57 -0000)]
In Test/System.Windows.Forms:
2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiFormTest.cs: Added tests for ActiveChild for mdi parents.

In System.Windows.Forms:
* MdiClient.cs: Update main form's ActiveChild when
activating a mdi child.

2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

svn path=/trunk/mcs/; revision=71152

17 years ago* HtmlLink.cs: fixed RenderAttributes, href should be resolved
Vladimir Krasnov [Tue, 16 Jan 2007 16:52:52 +0000 (16:52 -0000)]
* HtmlLink.cs: fixed RenderAttributes, href should be resolved

svn path=/trunk/mcs/; revision=71151

17 years ago2007-01-16 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Tue, 16 Jan 2007 16:41:52 +0000 (16:41 -0000)]
2007-01-16  Jonathan Pobst  <jpobst@novell.com>

* Control.cs: PreferredSize fix.

* Form.cs: Add several 2.0 events, properties, and methods.

svn path=/trunk/mcs/; revision=71150

17 years ago2007-01-16 Sergey P. Kondratyev <se@unicom.tomica.ru>
Miguel de Icaza [Tue, 16 Jan 2007 16:14:05 +0000 (16:14 -0000)]
2007-01-16  Sergey P. Kondratyev <se@unicom.tomica.ru>

* expression.cs (As.DoResolve): Use GenericConstraints instead of
Constraints, solves the problem where the compiler incorrectly
reported that a type parameter was not constrained to a class (Bug
80518)

2007-01-16  Sergey P. Kondratyev <se@unicom.tomica.ru>

* generic.cs (TypeParameter.FindMembers): Use the generic
constraints, not the constraints to check for methods (first fix
of 80518).

svn path=/trunk/mcs/; revision=71148

17 years ago2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 16 Jan 2007 16:08:58 +0000 (16:08 -0000)]
2007-01-16  Sebastien Pouliot  <sebastien@ximian.com>

* TestBitmap.cs: Added test case to create multiple bitmaps from a
single HBITMAP.
* TestIcon.cs: Added test cases to create multiple icons from a
single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.

svn path=/trunk/mcs/; revision=71147

17 years ago2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 16 Jan 2007 16:08:44 +0000 (16:08 -0000)]
2007-01-16  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Implement saving an icon from it's bitmap representation.
This allows roundtripped icons (Handle or HICON) to be saved.

svn path=/trunk/mcs/; revision=71146

17 years ago* Form.cs: Provide meaningful message when MdiParent is assigned a
Gert Driesen [Tue, 16 Jan 2007 16:02:58 +0000 (16:02 -0000)]
* Form.cs: Provide meaningful message when MdiParent is assigned a
Form that is not an MdiContainer.

svn path=/trunk/mcs/; revision=71145

17 years ago* TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
Vladimir Krasnov [Tue, 16 Jan 2007 15:20:18 +0000 (15:20 -0000)]
* TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
* Control.cs: moved TemplateSourceDirectory from TemplateControl for TARGET_JVM, fixed AppRelativeTemplateSourceDirectory

svn path=/trunk/mcs/; revision=71139

17 years agoif SP has dots - don't wrap
Konstantin Triger [Tue, 16 Jan 2007 14:52:55 +0000 (14:52 -0000)]
if SP has dots - don't wrap

svn path=/trunk/mcs/; revision=71136

17 years agoTue Jan 16 15:32:53 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 14:33:47 +0000 (14:33 -0000)]
Tue Jan 16 15:32:53 CET 2007 Paolo Molaro <lupus@ximian.com>

* icall.c: optimized InitializeArray() on bigendian.

svn path=/trunk/mono/; revision=71135

17 years ago2007-01-16 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 16 Jan 2007 13:45:22 +0000 (13:45 -0000)]
2007-01-16  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItem.cs (SetMetadata): Escape when we get virtual item or item
        from XML. (not to escape items that have parents twice).

svn path=/trunk/mcs/; revision=71133

17 years ago2007-01-16 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 16 Jan 2007 13:28:39 +0000 (13:28 -0000)]
2007-01-16  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemGroup.cs (AddNewItem): Add XML and mark project as dirty.
        (Project): Renamed to ParentProject.

        * BuildItem.cs (ctor)
        (CopyCustomMetadata): Add null check.

        * BuildPropertyGroup.cs (AddNewProperty): Reorganized.
        (RemoveProperty): Added null check.

        * TargetCollection.cs (RemoveTarget): Added null check.

        * Engine.cs (UnloadProject): Added null check.

        * GroupingCollection.cs (Remove): Check if removed group belongs to
        current project.

        * Project.cs (AddNewItem): Implemented.
        (RemoveItem): Reorganized.
        (SetProjectExtensions): Added null check.

svn path=/trunk/mcs/; revision=71132

17 years ago2007-01-16 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 16 Jan 2007 13:18:45 +0000 (13:18 -0000)]
2007-01-16  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemTest.cs, BuildPropertyGroupTest.cs,
        UsingTaskCollectionTest.cs, ImportCollectionTest.cs,
        BuildItemGroupTest.cs, BuildPropertyGroupCollectionTest.cs,
        TargetCollectionTest.cs, EngineTest.cs, ProjectTest.cs,
        BuildItemGroupCollectionTest.cs: Added more tests and replaced
        Ignores with Category ("NotDotNet")

svn path=/trunk/mcs/; revision=71131

17 years ago2007-01-16 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 16 Jan 2007 13:11:49 +0000 (13:11 -0000)]
2007-01-16  Nagappan A  <anagappan@novell.com>

* SqliteDataAdapterUnitTests.cs (GetSchemaTable): Type casted to
fix compiler error.

* SqliteDataReaderTest.cs (GetSchemaTableTest)
(TypeOfNullInResultTest): Type casted to fix compiler error.

svn path=/trunk/mcs/; revision=71130

17 years ago* ClientTargetSection.cs: refactoring.
Konstantin Triger [Tue, 16 Jan 2007 12:36:20 +0000 (12:36 -0000)]
* ClientTargetSection.cs: refactoring.
* ClientTargetCollection.cs: create ClientTarget with null parameters,
refactoring.

svn path=/trunk/mcs/; revision=71127

17 years agoignore properties with null or empty name
Konstantin Triger [Tue, 16 Jan 2007 12:21:52 +0000 (12:21 -0000)]
ignore properties with null or empty name

svn path=/trunk/mcs/; revision=71124

17 years agoTue Jan 16 13:18:51 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 12:19:26 +0000 (12:19 -0000)]
Tue Jan 16 13:18:51 CET 2007 Paolo Molaro <lupus@ximian.com>

* icall.c: fix for the broken ARM FPA double format.

svn path=/trunk/mono/; revision=71123

17 years agoTue Jan 16 13:14:31 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 12:18:33 +0000 (12:18 -0000)]
Tue Jan 16 13:14:31 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: handle also floating point values in initialize_array.

svn path=/trunk/mono/; revision=71122

17 years agoRemove spurious line in changelog.
Rolf Bjarne Kvinge [Tue, 16 Jan 2007 12:00:11 +0000 (12:00 -0000)]
Remove spurious line in changelog.

svn path=/trunk/mcs/; revision=71121

17 years ago2007-01-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Jan 2007 11:55:08 +0000 (11:55 -0000)]
2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiWindowManager.cs: Fix NRE when merging menus and main form
doesn't have a menu.

* Form.cs: Request NCRecalc after creating a mdi child window.
Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).

* MdiClient.cs: Add new method SendFocusToActiveChild that either
sends keyboard focus to the active child, or to the MdiClient
if there are no child forms.

*

svn path=/trunk/mcs/; revision=71120

17 years agoTue Jan 16 12:51:16 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 11:52:32 +0000 (11:52 -0000)]
Tue Jan 16 12:51:16 CET 2007 Paolo Molaro <lupus@ximian.com>

* icall.c: handle endian issues for r4 and r8 types, too, in
the InitializeArray() icall.

svn path=/trunk/mono/; revision=71119

17 years agoTue Jan 16 12:42:40 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 11:47:02 +0000 (11:47 -0000)]
Tue Jan 16 12:42:40 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c, aot-runtime.c, aot-compiler.c: enable aot compilation of
array initialization and make it conditional on the intrins option.

svn path=/trunk/mono/; revision=71118

17 years agoTue Jan 16 11:28:45 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 16 Jan 2007 10:30:18 +0000 (10:30 -0000)]
Tue Jan 16 11:28:45 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.h, patch-info.h, Makefile.am, aot-compiler.c: reduce
relocations and put the patch info names close to the enum definition.

svn path=/trunk/mono/; revision=71117

17 years ago* TemplateControl.jvm.cs: added 2.0 event names for wiring up
Vladimir Krasnov [Tue, 16 Jan 2007 10:01:50 +0000 (10:01 -0000)]
* TemplateControl.jvm.cs: added 2.0 event names for wiring up

svn path=/trunk/mcs/; revision=71115

17 years ago* ConfigurationElement.cs: Try to deserilalize an unrecognized element by
Konstantin Triger [Tue, 16 Jan 2007 09:17:42 +0000 (09:17 -0000)]
* ConfigurationElement.cs: Try to deserilalize an unrecognized element by
current element, and only if failed delegate to default collection.

svn path=/trunk/mcs/; revision=71113

17 years agorevert to crlf line endings, in order to see diff
Vladimir Krasnov [Tue, 16 Jan 2007 09:02:33 +0000 (09:02 -0000)]
revert to crlf line endings, in order to see diff

svn path=/trunk/mcs/; revision=71111

17 years ago* DetailsView.cs: fixed CreateChildControls, PageIndex should be less or equal to...
Vladimir Krasnov [Tue, 16 Jan 2007 08:53:52 +0000 (08:53 -0000)]
* DetailsView.cs: fixed CreateChildControls, PageIndex should be less or equal to PageCount

svn path=/trunk/mcs/; revision=71110

17 years ago2007-01-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Jan 2007 08:53:35 +0000 (08:53 -0000)]
2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* EnumBuilderTest.cs: Created test for #80396.

svn path=/trunk/mcs/; revision=71109

17 years ago2007-01-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 16 Jan 2007 08:50:43 +0000 (08:50 -0000)]
2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
* EnumBuilder.cs: value__ must have RTSpecialName flag set.
Fixes #80396

svn path=/trunk/mcs/; revision=71108

17 years agoadd interfaces to build
Raja R Harinath [Tue, 16 Jan 2007 07:30:58 +0000 (07:30 -0000)]
add interfaces to build

svn path=/trunk/mcs/; revision=71107

17 years ago2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 16 Jan 2007 05:10:01 +0000 (05:10 -0000)]
2007-01-16  Atsushi Enomoto  <atsushi@ximian.com>

        * TraceData.cs : page could be null. Fixed bug #80480.

svn path=/trunk/mcs/; revision=71106

17 years ago * ComboBox.cs: same.
Chris Toshok [Tue, 16 Jan 2007 04:19:01 +0000 (04:19 -0000)]
* ComboBox.cs: same.

svn path=/trunk/mcs/; revision=71105

17 years ago2007-01-15 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 16 Jan 2007 02:41:34 +0000 (02:41 -0000)]
2007-01-15  Everaldo Canuto  <everaldo@simios.org>
* MenuTest.cs: Add test for #80006, mainmenu merge operations.

2007-01-15  Everaldo Canuto  <everaldo@simios.org>

svn path=/trunk/mcs/; revision=71104

17 years ago2007-01-15 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 16 Jan 2007 02:04:30 +0000 (02:04 -0000)]
2007-01-15  Chris Toshok  <toshok@ximian.com>

* ListView.cs: drop the *Internal overrides, just do our work in
ItemControl's WndProc instead.

* UpDownBase.cs: a few large changes.  Fix up the Selectable state
of the various controls, and forward the events properly (in the
same manner as MS) from the textbox to the UpDown.  Also the
ActiveControl of the UpDownBase gets set properly now.  Finally,
we don't call UpdateEditText from the ctor.  Fixes bug #79957.

* NumericUpDown.cs: set Text in the ctor.

* DomainUpDown.cs: call UpdateEditText in the ctor.

* TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
so even a Selectable = false textbox can be focused if you click
in it.  Go figure.

* Control.cs: remove On{Got,Lost}FocusInternal.  Subclasses can
just add their handling in their respective WndProc's.  Also add
an explicit FocusInternal method that doesn't consult CanFocus
before calling Select(this).

* TextBoxBase.cs: deal with removal of the FocusInternal calls -
do our work in WndProc instead.

* TabControl.cs: same.

svn path=/trunk/mcs/; revision=71103

17 years ago2007-01-15 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 16 Jan 2007 01:51:52 +0000 (01:51 -0000)]
2007-01-15  Everaldo Canuto  <everaldo@simios.org>

* Menu.cs: implement MergeItems and Replace for MenuMerge method.
Fixes #80006.

svn path=/trunk/mcs/; revision=71102

17 years ago2007-01-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 16 Jan 2007 01:31:57 +0000 (01:31 -0000)]
2007-01-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs:
* ThemeWin32Classic.cs: Don't draw the item text outside
item bounds in Details view, as well as use trimming.
Fixes bug #80376.

svn path=/trunk/mcs/; revision=71101

17 years ago2007-01-15 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Mon, 15 Jan 2007 22:05:08 +0000 (22:05 -0000)]
2007-01-15  Jonathan Pobst  <jpobst@novell.com>

* Form.cs: Implement Form.ShowIcon.

* XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
null, which when combined with the DlgModalFrame window style removes
the icon from the title bar.

svn path=/trunk/mcs/; revision=71094

17 years agoFix a compilation issue
Marek Habersack [Mon, 15 Jan 2007 21:44:45 +0000 (21:44 -0000)]
Fix a compilation issue

svn path=/trunk/mcs/; revision=71092

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 21:23:01 +0000 (21:23 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
coexists in the same icon file.

svn path=/trunk/mcs/; revision=71089

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 21:21:57 +0000 (21:21 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Refactor Save code to allow saving a single icon size.
This allows ToBitmap to produce the right (sized) bitmap wrt the
selected icon size. Fix #80509 under UNIX.

svn path=/trunk/mcs/; revision=71088

17 years agoWsdl build provider added
Marek Habersack [Mon, 15 Jan 2007 21:02:18 +0000 (21:02 -0000)]
Wsdl build provider added

svn path=/trunk/mcs/; revision=71084

17 years agoAdd MonoTODO
Miguel de Icaza [Mon, 15 Jan 2007 20:50:01 +0000 (20:50 -0000)]
Add MonoTODO

svn path=/trunk/mcs/; revision=71083

17 years agoA few changes to the ADO.NET 2.0 support
Marek Habersack [Mon, 15 Jan 2007 20:45:44 +0000 (20:45 -0000)]
A few changes to the ADO.NET 2.0 support

svn path=/trunk/mcs/; revision=71082

17 years agoTypo
Sebastien Pouliot [Mon, 15 Jan 2007 20:42:21 +0000 (20:42 -0000)]
Typo

svn path=/trunk/mcs/; revision=71081

17 years ago2007-01-15 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Mon, 15 Jan 2007 20:30:37 +0000 (20:30 -0000)]
2007-01-15  Jonathan Pobst  <jpobst@novell.com>

* Control.cs: Call OnMouseClick after OnClick. (2.0)

svn path=/trunk/mcs/; revision=71080

17 years ago2007-01-15 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Mon, 15 Jan 2007 20:13:53 +0000 (20:13 -0000)]
2007-01-15  Everaldo Canuto  <everaldo@simios.org>

* MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
menu when mdi child windows theres a menu, uses insert to get icon
at first position. Partially fix #80006.

svn path=/trunk/mcs/; revision=71079

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 20:09:33 +0000 (20:09 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>
* TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
11x22, to test for non perfect match icon selection.
* TestImage.cs: Add test cases for locked/unlocked streams when using
GDI+ (e.g. Mono running on Windows).

svn path=/trunk/mcs/; revision=71078

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 20:09:08 +0000 (20:09 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>
* Bitmap.cs: Make sure we're not building bitmaps using stream that
can be disposed (as GDI+ may require access to them anytime);
* Image.cs: Track user versus internal streams in InitFromStream

svn path=/trunk/mcs/; revision=71077

17 years ago2007-01-15 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Mon, 15 Jan 2007 19:57:04 +0000 (19:57 -0000)]
2007-01-15  Jonathan Pobst  <jpobst@novell.com>

* Clipboard.cs: Implement 2.0 methods.

svn path=/trunk/mcs/; revision=71076

17 years ago* basic.cs, exceptions.cs: break up large tests to increase
Mark Mason [Mon, 15 Jan 2007 19:04:16 +0000 (19:04 -0000)]
* basic.cs, exceptions.cs: break up large tests to increase
debugability.

Signed-off-by: Mark Mason <mason@broadcom.com>
These changes submitted under the MIT/X11 license.

svn path=/trunk/mono/; revision=71074

17 years ago * atomic.h: add locking primitives for MIPS.
Mark Mason [Mon, 15 Jan 2007 18:49:27 +0000 (18:49 -0000)]
* atomic.h: add locking primitives for MIPS.

Signed-off-by: Mark Mason <mason@broadcom.com>
These changes submitted under the MIT/X11 license.

svn path=/trunk/mono/; revision=71073

17 years ago2007-01-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 15 Jan 2007 18:36:38 +0000 (18:36 -0000)]
2007-01-15  Miguel de Icaza  <miguel@novell.com>

* load-missing.il: Add test for missing assembly reference in
field reference;

Add test for missing type in newobj call.

Add test for missing type reference in a parameter.

Add test for missing assembly in method call.

svn path=/trunk/mono/; revision=71070

17 years agoIcon.cs: Change icon selection to match either width *or* height.
Sebastien Pouliot [Mon, 15 Jan 2007 18:36:10 +0000 (18:36 -0000)]
Icon.cs: Change icon selection to match either width *or* height.

svn path=/trunk/mcs/; revision=71069

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 18:34:46 +0000 (18:34 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test cases for non-standard size icons, 10x16 and 11x22,
to test for non perfect match icon selection.

svn path=/trunk/mcs/; revision=71068

17 years agoAdd new non-standard size icons, 10x16 and 11x22.
Sebastien Pouliot [Mon, 15 Jan 2007 18:34:21 +0000 (18:34 -0000)]
Add new non-standard size icons, 10x16 and 11x22.

svn path=/trunk/mcs/; revision=71067

17 years agoAdd new 32bpp icon with non-standard size, 10x16 and 11x22, to test for non perfect...
Sebastien Pouliot [Mon, 15 Jan 2007 18:31:33 +0000 (18:31 -0000)]
Add new 32bpp icon with non-standard size, 10x16 and 11x22, to test for non perfect match icon selection

svn path=/trunk/mcs/; revision=71066

17 years agoMon Jan 15 18:57:14 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Jan 2007 17:57:57 +0000 (17:57 -0000)]
Mon Jan 15 18:57:14 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: optimized RuntimeHelpers::InitializeArray () calls.

svn path=/trunk/mono/; revision=71065

17 years ago2007-01-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 15 Jan 2007 17:56:55 +0000 (17:56 -0000)]
2007-01-15  Miguel de Icaza  <miguel@novell.com>

* loader.c (mono_loader_error_prepare_exception): Clear the error
once we have extracted the information from it, do this before we
call into the JIT's class loading mechanisms.

* object.c (mono_class_create_runtime_vtable): Do not clear the
loader error before calling mono_class_get_exception_for_failure
as the loader error is needed inside
mono_class_get_exception_for_failure to throw the error (thinko).

Fixes #80521

svn path=/trunk/mono/; revision=71064

17 years ago* DerbyMembershipHelper.cs: fixed Users_DeleteUser, commented delete from Personaliza...
Vladimir Krasnov [Mon, 15 Jan 2007 16:59:24 +0000 (16:59 -0000)]
* DerbyMembershipHelper.cs: fixed Users_DeleteUser, commented delete from Personalization table

svn path=/trunk/mcs/; revision=71062

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 16:21:28 +0000 (16:21 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* IconCodecTest.cs: New test case to check 32bpp (XP) icons.

svn path=/trunk/mcs/; revision=71058

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 16:18:10 +0000 (16:18 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test cases for XP (32bpp) icons.

svn path=/trunk/mcs/; revision=71056

17 years agoMakefile: Add new test icon 32bpp.ico for newer, XP, ARGB icons.
Sebastien Pouliot [Mon, 15 Jan 2007 16:16:47 +0000 (16:16 -0000)]
Makefile: Add new test icon 32bpp.ico for newer, XP, ARGB icons.

svn path=/trunk/mcs/; revision=71055

17 years agoNew. Subset of /winforms/icon/test.ico with three 32bpp icons, 16x16, 32x32 and 48x48.
Sebastien Pouliot [Mon, 15 Jan 2007 16:15:01 +0000 (16:15 -0000)]
New. Subset of /winforms/icon/test.ico with three 32bpp icons, 16x16, 32x32 and 48x48.

svn path=/trunk/mcs/; revision=71054

17 years ago2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 15 Jan 2007 16:01:24 +0000 (16:01 -0000)]
2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.cs: added z-index attribute to popup div's.

svn path=/trunk/mcs/; revision=71048

17 years agofixed crlf
Vladimir Krasnov [Mon, 15 Jan 2007 15:43:35 +0000 (15:43 -0000)]
fixed crlf

svn path=/trunk/mcs/; revision=71045

17 years ago* SoapHttpClientProtocolTest.cs: Added test for bug #79988.
Gert Driesen [Mon, 15 Jan 2007 15:42:20 +0000 (15:42 -0000)]
* SoapHttpClientProtocolTest.cs: Added test for bug #79988.
* SocketResponder.cs: Utility class for emulating Web Service backend.
* System.Web.Services_test.dll.sources: added SocketResponder.cs and
SoapHttpClientProtocolTest.cs.

svn path=/trunk/mcs/; revision=71044

17 years ago* FileUpload.cs: fixed FileName property, should return filename without full path...
Vladimir Krasnov [Mon, 15 Jan 2007 15:34:59 +0000 (15:34 -0000)]
* FileUpload.cs: fixed FileName property, should return filename without full path on client side

svn path=/trunk/mcs/; revision=71041

17 years agoImplementation of ListControl.VerifyMultiSelect with method with proper overloading...
Ilya Kharmatsky [Mon, 15 Jan 2007 15:30:06 +0000 (15:30 -0000)]
Implementation of ListControl.VerifyMultiSelect with method with proper overloading in derived types.

svn path=/trunk/mcs/; revision=71038

17 years ago2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 15 Jan 2007 15:25:15 +0000 (15:25 -0000)]
2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>

* TreeNode.cs
considers INavigateUIData.NavigateUrl when bound.

svn path=/trunk/mcs/; revision=71036

17 years ago* Al.cs: Use DelaySign enum to capture whether a delaysign (+ or -)
Gert Driesen [Mon, 15 Jan 2007 14:27:26 +0000 (14:27 -0000)]
* Al.cs: Use DelaySign enum to capture whether a delaysign (+ or -)
option was specified, and what value was set. This was necessary to
make a distinction between leaving the default value (possibly
obtained from a template assembly), and explicitly turned delay signing
off. Removed unused IsStrongName method. Added support for absolute
paths for modules on unix (borrowed from mcs). Previously absolute
paths where reported as unrecognized command line options. Only add
AssemblyDelaySignAttribute, AssemblyKeyFileAttribute and
AssemblyKeyNameAttribute on 1.0 profile. Do not add an
AssemblyCultureAttribute if culture is specified, instead set the
culture on the AssemblyName. When template is not an absolute path,
then consider it to relative to the current directory. Removed unused
AddResource method. Do not require template to be strongly signed;
although MSDN states this, MS does not enforce this (and it should not).
Template option take a file name, not an assembly name. Fixed bug
#80440. When a template is set, use the keyfile specified in
AssemblyKeyFileAttribute of that template to sign the assembly (unless
overridden by /keyfile option). Same goes for AssemblyDelaySignAttribute
and AssemblyKeyNameAttribute.

svn path=/trunk/mcs/; revision=71034

17 years ago2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 15 Jan 2007 14:08:20 +0000 (14:08 -0000)]
2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>

* CompleteWizardStep.cs
* CreateUserWizard.cs
* CreateUserWizardStep.cs
* TemplatedWizardStep.cs
* Wizard.cs
make the design complied to .NET
build all possible controls at once and manage render by Visible property

svn path=/trunk/mcs/; revision=71032

17 years agoIn Test/System.Windows.Forms:
Everaldo Canuto [Mon, 15 Jan 2007 13:59:43 +0000 (13:59 -0000)]
In Test/System.Windows.Forms:
2006-12-04  Everaldo Canuto  <everaldo@simios.org>

* MenuItemTest.cs: Remove the "NotWorking" from MenuItemMerge test.

In System.Windows.Forms:
2007-01-15  Everaldo Canuto  <everaldo@simios.org>

* Menu.cs: Implement Insert method of MenuItemCollection class
to fix MenuMerge.

svn path=/trunk/mcs/; revision=71031

17 years ago* ServletWorkerRequest.jvm.cs: fixed ctor, welcome file in sub dir
Vladimir Krasnov [Mon, 15 Jan 2007 13:54:58 +0000 (13:54 -0000)]
* ServletWorkerRequest.jvm.cs: fixed ctor, welcome file in sub dir
* DerbyProfileHelper.cs: fixed GetUserId, return null if username is null
* DerbyDBSchema.cs: fixed GetSchemaVersion, return nullif DB does not exist

svn path=/trunk/mcs/; revision=71029

17 years agoForgotten commit
Marek Habersack [Mon, 15 Jan 2007 13:51:55 +0000 (13:51 -0000)]
Forgotten commit

svn path=/trunk/mcs/; revision=71028

17 years agobug fix (wrong nunit API usage)
Ilya Kharmatsky [Mon, 15 Jan 2007 13:47:59 +0000 (13:47 -0000)]
bug fix (wrong nunit API usage)

svn path=/trunk/mcs/; revision=71027

17 years agoFixes and test refactoring for - VirtualPathUtility.cs class and respective test.
Ilya Kharmatsky [Mon, 15 Jan 2007 13:13:19 +0000 (13:13 -0000)]
Fixes and test refactoring for - VirtualPathUtility.cs class and respective test.

svn path=/trunk/mcs/; revision=71026

17 years ago* SiteMapProvider.cs: fixed IsAccessibleToUser, true if SecurityTrimmingEnabled not...
Vladimir Krasnov [Mon, 15 Jan 2007 11:52:59 +0000 (11:52 -0000)]
* SiteMapProvider.cs: fixed IsAccessibleToUser, true if SecurityTrimmingEnabled not enabled, true if Roles exists on node and rolename is '*'

svn path=/trunk/mcs/; revision=71021

17 years agoBugs/implementations of Control's methods, reproduced by ControlTest from http:/...
Ilya Kharmatsky [Mon, 15 Jan 2007 11:27:54 +0000 (11:27 -0000)]
Bugs/implementations of Control's methods, reproduced by ControlTest from mono-project.com/ASPTests

svn path=/trunk/mcs/; revision=71020

17 years agoAdded mono-dl.{ch}.
Paolo Molaro [Mon, 15 Jan 2007 10:06:27 +0000 (10:06 -0000)]
Added mono-dl.{ch}.

svn path=/trunk/mono/; revision=71018

17 years agoMon Jan 15 10:27:31 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Jan 2007 09:29:01 +0000 (09:29 -0000)]
Mon Jan 15 10:27:31 CET 2007 Paolo Molaro <lupus@ximian.com>

* reflection.c: align fields rva data so it's faster to load at
runtime.

svn path=/trunk/mono/; revision=71015

17 years ago2007-01-15 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 15 Jan 2007 07:39:50 +0000 (07:39 -0000)]
2007-01-15  Alp Toker  <alp@atoker.com>

* Mono.Cairo/Surface.cs:
* Makefile: Disable CAIRO_1_2. Patches to make the 1.2 binding work
are being developed out-of-tree but not ready yet.

svn path=/trunk/mcs/; revision=71005

17 years agoavoid bad indexing
Konstantin Triger [Mon, 15 Jan 2007 07:39:23 +0000 (07:39 -0000)]
avoid bad indexing

svn path=/trunk/mcs/; revision=71004

17 years agosvn path=/trunk/mono/; revision=71003
Miguel de Icaza [Mon, 15 Jan 2007 07:27:16 +0000 (07:27 -0000)]
svn path=/trunk/mono/; revision=71003

17 years ago2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Jan 2007 05:43:59 +0000 (05:43 -0000)]
2007-01-15  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSerializerTests.cs : Fixed NotDotNet generic test which itself
  was wrong.

svn path=/trunk/mcs/; revision=71002

17 years ago2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Jan 2007 05:26:35 +0000 (05:26 -0000)]
2007-01-15  Atsushi Enomoto  <atsushi@ximian.com>

* TypeData.cs : reject generic type definitions.
* TypeTranslator.cs : Make generic type names in XML compatible with
  .net: foo_x0060_1 -> fooOfString.

* XmlSerializerTests.cs : most of generic tests are working now.
* XmlReflectionImporterTests.cs : test for rejecting generic type
  definition.

svn path=/trunk/mcs/; revision=71001

17 years agoADO.NET 2.0 support for Sqlite
Marek Habersack [Mon, 15 Jan 2007 02:24:42 +0000 (02:24 -0000)]
ADO.NET 2.0 support for Sqlite

svn path=/trunk/mcs/; revision=71000

17 years ago2007-01-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 15 Jan 2007 01:45:32 +0000 (01:45 -0000)]
2007-01-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Add tests for new 2.0 FindItemWithText methods.

svn path=/trunk/mcs/; revision=70999

17 years ago2007-01-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 15 Jan 2007 01:43:35 +0000 (01:43 -0000)]
2007-01-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 FindItemWithText method.

svn path=/trunk/mcs/; revision=70998

17 years ago2007-01-14 Jensen Somers <jensen.somers@gmail.com>
Miguel de Icaza [Sun, 14 Jan 2007 23:16:49 +0000 (23:16 -0000)]
2007-01-14  Jensen Somers <jensen.somers@gmail.com>

    * ArraySegment.cs: Added Equals() method, operator == and !=
    overloading and GetHashCode().

2007-01-14  Jensen Somers <jensen.somers@gmail.com>

    * ArraySegmentTest.cs: Add a test case for the ArraySegment.Equals
    functionality.

svn path=/trunk/mcs/; revision=70997

17 years agoFix the build
Robert Jordan [Sun, 14 Jan 2007 22:02:00 +0000 (22:02 -0000)]
Fix the build

svn path=/trunk/mcs/; revision=70996

17 years agoFix a compilation problem in the bootstrap phase
Marek Habersack [Sun, 14 Jan 2007 21:46:07 +0000 (21:46 -0000)]
Fix a compilation problem in the bootstrap phase

svn path=/trunk/mcs/; revision=70995

17 years ago2007-01-14 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 14 Jan 2007 21:38:50 +0000 (21:38 -0000)]
2007-01-14  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemGroup.cs (Detach): Added.
        (RemoveItem)
        (RemoveItemAt): Used Detach ().

        * BuildItem.cs: Made FromXml and HasParent internal and added
        ParentItem and ParentItemGroup properties (internal).
        (Detach): Added.

        * GroupingCollection.cs (Remove): Used Detach ().

        * Project.cs (ctor): Added PreserveWhitespace = false to get formatted
        text on Save ().
        (GetEvaluatedItemsByNameIgnoringCondition)
        (GetEvaluatedItemsByName)
        (GetEvaluatedProperty): Reevaluate if needed.
        (RemoveItem)
        (RemoveAllItemGroups)
        (RemoveAllPropertyGroups): Implemented.
        (DoLoad): Added closing of TextReader.

svn path=/trunk/mcs/; revision=70994