mono.git
17 years ago* scripts/mono-find-provides.in: Remove support for only scanning files in the gac.
Wade Berrier [Wed, 19 Jul 2006 17:54:34 +0000 (17:54 -0000)]
* scripts/mono-find-provides.in: Remove support for only scanning files in the gac.
The problem is that mono apps are often broken up into subpackages, and deps can only
be resolved if the assemblies are in the gac, even when they sometimes shouldn't be.
(See https://bugzilla.novell.com/show_bug.cgi?id=144655)

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 17:52:25 +0000 (17:52 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Clear ins_flag at the end of CEE_CALL. Fixes
#78826.

* mini.c (mono_patch_info_dup_mp): New helper function.

* aot-compiler.c (compile_method): Fix some of the memory allocated during
compilation. Fixes #78827.

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

17 years ago2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 Jul 2006 17:25:58 +0000 (17:25 -0000)]
2006-07-19  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : In Create(), support validation flags for DTD.
* DTDValidatingReader2.cs : when NET_2_0 and ProcessIdentityConstraints
  is false, skip ID validation.

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

17 years ago2006-07-19 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 19 Jul 2006 15:31:55 +0000 (15:31 -0000)]
2006-07-19  Mike Kestner  <mkestner@novell.com>

* ListBox.cs: Sort on collection changes even if the handle
isn't created yet.  Fixes #78813.

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

17 years agoadd #if NET_2_0 and [Category ("NotWorking")] where appropriate
Andrew Skiba [Wed, 19 Jul 2006 14:54:15 +0000 (14:54 -0000)]
add #if NET_2_0 and [Category ("NotWorking")] where appropriate

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

17 years ago* TableStyleTest.cs: add a test for BackImageUrl rendering
Andrew Skiba [Wed, 19 Jul 2006 14:39:44 +0000 (14:39 -0000)]
* TableStyleTest.cs: add a test for BackImageUrl rendering

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

17 years agoThe following tests were added:
Merav Sudri [Wed, 19 Jul 2006 14:32:45 +0000 (14:32 -0000)]
The following tests were added:
FormViewTest (Updated)
FormViewRowTest
DetailsViewRowTest
DetailsViewRowCollectionTest

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:10:43 +0000 (12:10 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h: Fix amd64_mov_mem_reg.

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:09:09 +0000 (12:09 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* alpha/alpha-codegen.h alpha/test.c alpha/tramp.c: Applied patch from
Sergey Tikhonov <tsv@solvo.ru>. Updates to alpha support.

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:07:26 +0000 (12:07 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Beginning
of alpha support.

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:07:18 +0000 (12:07 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Beginning
of alpha support.

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

17 years ago2006-07-19 Senganal T <tsenganal@novell.com>
Senganal T [Wed, 19 Jul 2006 11:57:04 +0000 (11:57 -0000)]
2006-07-19  Senganal T  <tsenganal@novell.com>

* Test/System.Data.SqlTypes/SqlDecimalTest.cs :
- ArithmeticOperators, ConvertPrecToScale,
ArithmeticMethods, LessThanOrEqualOperators :
Removed for NotWorking Category and added more tests
* System.Data.SqlTypes/SqlDecimal.cs :
- Ctr : Throw OverflowException is value oveflows
- AdjustScale : Support values greater than Decimal.MaxValue.
Throw SqlTruncateException if scale cannot be adjusted.
- ConvertToPrecScale : Fix the precision
- Sign : use IsPositive to check for sign
- ToString : Do not append extrs '0'
- operator + , -, * : Support values greater than
decimal.maxvalue. Fix for infinite loop when '-' is
invoked for some cases.
- operators >,<,>=.<=,==,!= : Fix operations on negative numbers

Thanks to Harish Kumar Singh for the patch

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

17 years agoStringTest.cs: Added some more TestSbytePtrConstructorNegative tests and TestSbytePtr...
Kornél Pál [Wed, 19 Jul 2006 11:48:29 +0000 (11:48 -0000)]
StringTest.cs: Added some more TestSbytePtrConstructorNegative tests and TestSbytePtrConstructorOverflow tests.

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

17 years agoString.cs: Improve CreateString () performance when length is zero.
Kornél Pál [Wed, 19 Jul 2006 11:46:44 +0000 (11:46 -0000)]
String.cs: Improve CreateString () performance when length is zero.

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

17 years agoadd DetailsViewPagerRow.cs to the sources list
Andrew Skiba [Wed, 19 Jul 2006 11:26:39 +0000 (11:26 -0000)]
add DetailsViewPagerRow.cs to the sources list

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

17 years agosvn path=/trunk/mcs/; revision=62738
Merav Sudri [Wed, 19 Jul 2006 11:13:36 +0000 (11:13 -0000)]
svn path=/trunk/mcs/; revision=62738

17 years agosvn path=/trunk/mcs/; revision=62737
Merav Sudri [Wed, 19 Jul 2006 11:05:14 +0000 (11:05 -0000)]
svn path=/trunk/mcs/; revision=62737

17 years agosvn path=/trunk/mcs/; revision=62736
Merav Sudri [Wed, 19 Jul 2006 10:57:56 +0000 (10:57 -0000)]
svn path=/trunk/mcs/; revision=62736

17 years ago* DetailsView.cs: throw ArgumentOutOfRangeException for compatibility with
Andrew Skiba [Wed, 19 Jul 2006 09:34:12 +0000 (09:34 -0000)]
* DetailsView.cs: throw ArgumentOutOfRangeException for compatibility with
.Net; don't throw NotImplemented when base class implementation is available.

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

17 years agoDetailsViewTest was added with the following resources:
Merav Sudri [Wed, 19 Jul 2006 09:31:51 +0000 (09:31 -0000)]
DetailsViewTest was added with the following resources:
1.FooterTemplateTest.aspx
2.DetailsViewTemplates.aspx
3.DetailsViewDataActions.aspx
4.DetailsViewProperties1.aspx

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

17 years agoadd a stub for DetailsViewPagerRow
Andrew Skiba [Wed, 19 Jul 2006 07:25:59 +0000 (07:25 -0000)]
add a stub for DetailsViewPagerRow

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

17 years ago2006-07-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 19 Jul 2006 05:38:51 +0000 (05:38 -0000)]
2006-07-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.Windows.Forms_test.dll.sources: Added ListControlTest.cs

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

17 years ago2006-07-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 19 Jul 2006 05:31:21 +0000 (05:31 -0000)]
2006-07-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControlTest.cs: Added.

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

17 years ago2006-07-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 19 Jul 2006 05:19:14 +0000 (05:19 -0000)]
2006-07-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: DisplayMember should never be null,
and now we assign String.Empty when null is passed to it (this
is the .Net way).

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

17 years agoInspired by a patch from Alexander Concha, do not crash if we do not find the resource
Miguel de Icaza [Tue, 18 Jul 2006 18:04:01 +0000 (18:04 -0000)]
Inspired by a patch from Alexander Concha, do not crash if we do not find the resource

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

17 years agoStringTest.cs: Added several tests for constructors that take sbyte* as an argument...
Kornél Pál [Tue, 18 Jul 2006 18:03:41 +0000 (18:03 -0000)]
StringTest.cs: Added several tests for constructors that take sbyte* as an argument. This covers bug #78703 as well. Renamed TestUnsafeConstructors to TestCharPtrConstructors and removed sbyte* tests from that test.

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

17 years agoString.cs: Some fixes to recently added CreateString () methods.
Kornél Pál [Tue, 18 Jul 2006 17:54:01 +0000 (17:54 -0000)]
String.cs: Some fixes to recently added CreateString () methods.

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

17 years ago2006-07-17 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 18 Jul 2006 16:36:32 +0000 (16:36 -0000)]
2006-07-17  Mike Kestner  <mkestner@novell.com>

* ListViewItem.cs: restructure Font and subitem Font handling
to hold a specific font and refer back to owner on null.
Fixes #78761.

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

17 years agoRedirect certain string constructors to CreateString () methods with matching signatu...
Kornél Pál [Tue, 18 Jul 2006 15:06:12 +0000 (15:06 -0000)]
Redirect certain string constructors to CreateString () methods with matching signature that improves performance.

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

17 years agoString.cs: Added CreateString () methods. Constructors with matching argument list...
Kornél Pál [Tue, 18 Jul 2006 14:53:50 +0000 (14:53 -0000)]
String.cs: Added CreateString () methods. Constructors with matching argument list are redirected to these methods that improves performance as well as fixes bug #78703.

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

17 years agoASCIIEncodingTest.cs: Added TestGetString3 test.
Kornél Pál [Tue, 18 Jul 2006 14:44:07 +0000 (14:44 -0000)]
ASCIIEncodingTest.cs: Added TestGetString3 test.

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

17 years agoASCIIEncoding.cs: Fixed GetString () methods to use ASCII rather than new string...
Kornél Pál [Tue, 18 Jul 2006 14:30:38 +0000 (14:30 -0000)]
ASCIIEncoding.cs: Fixed GetString () methods to use ASCII rather than new string (sbyte*, int, int) that uses Encoding.Default.; Latin1Encoding.cs: Fixed GetString () methods to use Latin 1 rather than new string (sbyte*, int, int) that uses Encoding.Default.

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

17 years ago* GridView: fixed DataKeyNames property, moved to ControlState
Vladimir Krasnov [Tue, 18 Jul 2006 11:44:41 +0000 (11:44 -0000)]
* GridView: fixed DataKeyNames property, moved to ControlState
fixed PageCount property, initial PageCount ahould be zero
fixed SelectedDataKey, should throw exception if not initialized
fixed CreateColumns, wrong order of columns
fixed CreateControlStyle,
fixed InitializePager, no columnspan attrib on only one column
fixed LoadControlState, SaveControlState added DataKeyNames
fixed Render, RenderGrid should render within div tag
implemented GetPostBackOptions
* DataControlButton.cs: fixed Render, fixed style for img button

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

17 years ago* GridViewTest.cs: removed NotWorking attributes, added tests
Vladimir Krasnov [Tue, 18 Jul 2006 11:24:05 +0000 (11:24 -0000)]
* GridViewTest.cs: removed NotWorking attributes, added tests

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

17 years ago* CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit mode
Vladimir Krasnov [Tue, 18 Jul 2006 07:56:33 +0000 (07:56 -0000)]
* CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit mode

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

17 years ago Test the container controls override of Select (bool, bool), and
Jackson Harper [Tue, 18 Jul 2006 00:02:24 +0000 (00:02 -0000)]
    Test the container controls override of Select (bool, bool), and
test to make sure that's used by SelectNextControl.

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

17 years ago* scripts/mono-find-requires.in: Change rpm requires to >= 1.0.3300.0 instead of
Wade Berrier [Mon, 17 Jul 2006 19:34:28 +0000 (19:34 -0000)]
* scripts/mono-find-requires.in: Change rpm requires to >= 1.0.3300.0 instead of
=, since we don't explicitly provide 1.0.3300.0 versions.

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

17 years ago2006-07-17 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 17 Jul 2006 18:11:18 +0000 (18:11 -0000)]
2006-07-17  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ManagedCompiler.cs: TargetType.Get: added null check.

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

17 years ago2006-07-17 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 17 Jul 2006 18:03:09 +0000 (18:03 -0000)]
2006-07-17  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Csc/Csc.csproj: Moved to 1.csproj and 2.csproj.

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

17 years ago2006-07-17 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 17 Jul 2006 16:30:28 +0000 (16:30 -0000)]
2006-07-17  Mike Kestner  <mkestner@novell.com>

* ToolBar.cs: bandaid for side-effect of previous patch which was
discarding explicit heights for non-AutoSize toolbars.  Need to
extend my format tester to deal with AutoSize=false. Fixes #78864.

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

17 years ago2006-07-17 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 17 Jul 2006 16:26:24 +0000 (16:26 -0000)]
2006-07-17  Dick Porter  <dick@ximian.com>

        * processes.c (CreateProcess): Don't change directory unless a new
        one has been specified.  Fixes bug 78751.

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

17 years agotest and fix for CommandField.ValidateSupportsCallback
Andrew Skiba [Mon, 17 Jul 2006 15:41:25 +0000 (15:41 -0000)]
test and fix for CommandField.ValidateSupportsCallback

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

17 years agoSiteMapPathTest.cs : add new tests
Yoni Klain [Mon, 17 Jul 2006 15:10:37 +0000 (15:10 -0000)]
SiteMapPathTest.cs : add new tests

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

17 years agofix the test (delete unneccessary using WebParts and Data)
Andrew Skiba [Mon, 17 Jul 2006 14:48:15 +0000 (14:48 -0000)]
fix the test (delete unneccessary using WebParts and Data)

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

17 years agoPrepare to use HttpBrowserCapabilities. Does not affect the flow yet.
Andrew Skiba [Mon, 17 Jul 2006 14:25:38 +0000 (14:25 -0000)]
Prepare to use HttpBrowserCapabilities. Does not affect the flow yet.

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

17 years agofixes for SiteMapPathTest.Render_xxx tests
Andrew Skiba [Mon, 17 Jul 2006 14:19:22 +0000 (14:19 -0000)]
fixes for SiteMapPathTest.Render_xxx tests

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

17 years agotest and fix for rendering display:inline-block style in WebControl
Andrew Skiba [Mon, 17 Jul 2006 13:39:06 +0000 (13:39 -0000)]
test and fix for rendering display:inline-block style in WebControl

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

17 years ago2006-07-17 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 17 Jul 2006 11:58:10 +0000 (11:58 -0000)]
2006-07-17  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataViewTest2.cs :
- Tests for ToTable overloads
- Test for Equals method
- Tests to check for the Sort, RowFilter values when
DataView is created and when Table is set.
* Test/System.Data/DataViewTest_IBindingList.cs :
- Ensure tests do not depend on the order of
execution.
* Test/System.Data/DataViewTest_IBindingListView.cs : New
- Tests for IBindingListView interface methods
* System.Data.Common/Index.cs :
- GetAllRows : Added. Returns all the rows in the current
index.
- GetDistinctRows :Added. Returns all the distinct rows (based
in Key Columns) in the index.
* System.Data.dll.sources:
- Added to build :
Test/System.Data/DataViewTest_IBindingListView.cs
* System.Data/DataView.cs :
- ToTable : Implemented all the overloads
- Equals : Implemented
- IBindingListView : Implemented the interface

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

17 years ago* GridViewTest.cs: added new test
Vladimir Krasnov [Mon, 17 Jul 2006 10:57:07 +0000 (10:57 -0000)]
* GridViewTest.cs: added new test

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

17 years ago2006-07-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 16 Jul 2006 21:16:16 +0000 (21:16 -0000)]
2006-07-16  Marek Safar  <marek.safar@seznam.cz>

A fix for #70506
* driver.cs (MainDriver): When a file extension is missing,
use a default one.

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

17 years ago* SharpCodeCompiler.cs: find mono.exe in mono/mini; fixes #78731
Andrew Skiba [Sun, 16 Jul 2006 16:25:25 +0000 (16:25 -0000)]
* SharpCodeCompiler.cs: find mono.exe in mono/mini; fixes #78731
* Process.cs: throw FileNotFoundException earlier; give more diagnostics.

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

17 years ago* fixed delegate access modifier
Vladimir Krasnov [Sun, 16 Jul 2006 15:56:19 +0000 (15:56 -0000)]
* fixed delegate access modifier

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

17 years ago* CommandField.cs: fixed InitializeCell, wrong order of command buttons
Vladimir Krasnov [Sun, 16 Jul 2006 15:44:22 +0000 (15:44 -0000)]
* CommandField.cs: fixed InitializeCell, wrong order of command buttons
* ImageField.cs: image field with null src and ConvertEmptyStringToNull should be rendered as label
* BoundField.cs: empty null value should be rendered as nbsp
* GridViewRowCollection.cs: fixed SyncRoot

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

17 years ago* BoundFieldTest.cs: added new test
Vladimir Krasnov [Sun, 16 Jul 2006 14:19:21 +0000 (14:19 -0000)]
* BoundFieldTest.cs: added new test

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

17 years ago* NunitWebTest.cs: fixed AssertAreEqual, order of actual and expected
Vladimir Krasnov [Sun, 16 Jul 2006 14:13:03 +0000 (14:13 -0000)]
* NunitWebTest.cs: fixed AssertAreEqual, order of actual and expected

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

17 years ago* SiteMapPath.cs: create Literal instead of Label according to the MSDN and test...
Andrew Skiba [Sun, 16 Jul 2006 14:11:24 +0000 (14:11 -0000)]
* SiteMapPath.cs: create Literal instead of Label according to the MSDN and test SiteMapPath_InitializeItem.

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

17 years ago* Style.cs: BorderStyle should be added if BorderWidth greater than 0
Vladimir Krasnov [Sun, 16 Jul 2006 13:12:48 +0000 (13:12 -0000)]
* Style.cs: BorderStyle should be added if BorderWidth greater than 0
* Image.cs: in 2.0 there is no border attribute, but border-width style attribute

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

17 years agofix expected results for dotnet in 3 tests; add 2 new asserts for InitializeItem
Andrew Skiba [Sun, 16 Jul 2006 12:42:57 +0000 (12:42 -0000)]
fix expected results for dotnet in 3 tests; add 2 new asserts for InitializeItem

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

17 years ago* BulletedListTest.cs: removed NotWorking attributes
Vladimir Krasnov [Sun, 16 Jul 2006 11:57:30 +0000 (11:57 -0000)]
* BulletedListTest.cs: removed NotWorking attributes

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

17 years agoAdd embedded resource to wizardStepBase test
Yoni Klain [Sun, 16 Jul 2006 11:49:51 +0000 (11:49 -0000)]
Add embedded resource to wizardStepBase test

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

17 years agoAdded free new tests foe wizard subclasses : WizardStepTest.cs; WizardStepCollection...
Yoni Klain [Sun, 16 Jul 2006 11:46:44 +0000 (11:46 -0000)]
Added free new tests foe wizard subclasses :  WizardStepTest.cs; WizardStepCollectionTest.cs; WizardStepBaseTest.cs
WizardStepBase including embedded resource WizardTest.skin

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

17 years agoadd TODO and FAQ
Andrew Skiba [Sun, 16 Jul 2006 09:05:39 +0000 (09:05 -0000)]
add TODO and FAQ

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

17 years ago - Use the client rectangle when setting the trees scrollbars, so
Jackson Harper [Sat, 15 Jul 2006 22:23:39 +0000 (22:23 -0000)]
    - Use the client rectangle when setting the trees scrollbars, so
        border style is taken into account.

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

17 years ago Add my focus tests.
Jackson Harper [Sat, 15 Jul 2006 20:14:15 +0000 (20:14 -0000)]
    Add my focus tests.

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

17 years ago2006-07-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 15 Jul 2006 20:06:12 +0000 (20:06 -0000)]
2006-07-15  Marek Safar  <marek.safar@seznam.cz>

* annonymous.cs (AnonymousMethod.CreateScopeType): Fixed nested type
modifiers.
* rootcontext.cs (Reset): Add helper_classes.

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

17 years ago * LabelEditTextBox.cs:
Jackson Harper [Sat, 15 Jul 2006 20:01:22 +0000 (20:01 -0000)]
    * LabelEditTextBox.cs:
        * TreeView.cs: Use a new LabelEdit class for node editing, this
        class automatically 'closes' itself when it gets the enter key
or
        loses focus.

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

17 years agoApply fix from Sebastian Dröge, bug #78762
Miguel de Icaza [Sat, 15 Jul 2006 19:59:13 +0000 (19:59 -0000)]
Apply fix from Sebastian Dröge, bug #78762

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

17 years ago2006-07-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 15 Jul 2006 13:14:35 +0000 (13:14 -0000)]
2006-07-15  Jonathan Chambers  <joncham@gmail.com>

Begin implementing COM Interop.

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

17 years ago2006-07-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 15 Jul 2006 13:13:55 +0000 (13:13 -0000)]
2006-07-15  Jonathan Chambers  <joncham@gmail.com>

Begin implementing COM Interop.

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

17 years ago2006-07-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 15 Jul 2006 11:21:55 +0000 (11:21 -0000)]
2006-07-15  Marek Safar  <marek.safar@seznam.cz>

A fix for #78860
* statement.cs (Switch.SimpleSwitchEmit): Handle case null at any position
correctly.

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

17 years agonew test
Marek Safar [Sat, 15 Jul 2006 09:39:48 +0000 (09:39 -0000)]
new test

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

17 years ago2006-07-15 Senganal T <tsenganal@novell.com>
Senganal T [Sat, 15 Jul 2006 08:47:51 +0000 (08:47 -0000)]
2006-07-15  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataTableCollection.cs : Tests for IndexOf, Contains,
Add, Remove methods
* System.Data/DataTableCollection.cs :
- Contain,IndexOf,Remove,Add,Indexer : support for table
namespace. Remove redundant checks in Remove/Add.

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

17 years ago * TreeNode.cs:
Jackson Harper [Sat, 15 Jul 2006 04:52:36 +0000 (04:52 -0000)]
    * TreeNode.cs:
        * TreeView.cs: Make the editing work similar to MSs, firing the
        events correctly and ending edits correctly.

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

17 years ago2006-07-14 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 14 Jul 2006 23:03:51 +0000 (23:03 -0000)]
2006-07-14  Mike Kestner  <mkestner@novell.com>

* ToolBarButton.cs:
* ToolBar.cs: layout restructuring and redraw enhancements to support
formatting changes gracefully, like setting TextAlign, ImageList,
ButtonSize, and Appearance.  Handles explicit button sizing quirks
of the MS controls.  Things like flat toolbars ignoring button size
but becoming constant sized at the largest button's size.  Normal
toolbars with an image set cannot be shrunk smaller than the image,
but text can be clipped/ignored.
* ThemeWin32Classic.cs: don't draw text if text_rect height or width
is zero.  Seems like DrawString should be smart enough to not put
anything on screen though. Also trim labels and ellipsize at the char
boundary, not word.
Fixes #78711 and #78483.

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

17 years ago2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 14 Jul 2006 21:10:20 +0000 (21:10 -0000)]
2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Button.cs: always render the 'name' attribute. Fixes bug #78746.

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

17 years ago2006-07-14 Senganal T <tsenganal@novell.com>
Senganal T [Fri, 14 Jul 2006 20:18:46 +0000 (20:18 -0000)]
2006-07-14  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataColumnTest2.cs : Test for SetOrdinal
* System.Data/DataColumn.cs :
- SetOrdinal : Implemented
- Ordinal : added internal set
* System.Data/DataColumnCollection.cs :
- Add : Set the column ordinals
- MoveColumn : Changes the position of column in the
collection

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

17 years ago * FolderBrowserDialog.cs: Disable "New Folder" button and
Alexander Olk [Fri, 14 Jul 2006 19:09:32 +0000 (19:09 -0000)]
* FolderBrowserDialog.cs: Disable "New Folder" button and
  "New Folder" contextmenu menuitem if a folder like "My Computer"
  is selected.

2006-07-14  Alexander Olk  <alex.olk@googlemail.com>

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

17 years ago2006-07-14 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 14 Jul 2006 18:29:47 +0000 (18:29 -0000)]
2006-07-14  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Don't create a new folder in "MyComputer" folder.
* FolderBrowserDialog.cs:
  - Use MWFConfig to store and read size and position settings
  - Added code to create a new folder (button or context menu).
    Use TreeView labeledit to change the name of the new folder.

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

17 years ago * TreeView.cs: Raise the OnAfterLabelEdit event correctly.
Jackson Harper [Fri, 14 Jul 2006 18:13:33 +0000 (18:13 -0000)]
    * TreeView.cs: Raise the OnAfterLabelEdit event correctly.
        * Also,
        when the tree is scrolled we end editing.

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

17 years ago2006-07-14 Senganal T <tsenganal@novell.com>
Senganal T [Fri, 14 Jul 2006 17:47:40 +0000 (17:47 -0000)]
2006-07-14  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataRelationTest2.cs
* Test/System.Data/ForeignKeyConstraintTest2.cs
* Test/System.Data/DataColumnTest2.cs
Tests for DateTimeMode property
* Test/System.Data/DataTableTest2.cs
Tests for Merge Methods
* System.Data/DataTable.cs :
- Merge - Implement the merge methods
- Clone - Ensure column's DateTimeMode property is also copied
* System.Data/DataColumn.cs :
- DateTimeMode : Implemement
- DataTypeMatches : Added. In 2.0 profile, test DateTime
property when verifying column types.
* System.Data/DataRelation.cs :
- ctr :  For DateTime columns, check DateTimeMode property
* System.Data/ForeignKeyConstraint.cs :
- _validateColumns : For DateTime columns, check DateTimeMode
property
* System.Data/MergeManager :
- Merge : Added. Overload to merge two tables
- ResolveColumns : Change the method to use a table instead of
a DataSet
- Renamed AdjustSchema to AdjustSchemaRelations

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

17 years ago2006-07-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 14 Jul 2006 16:24:29 +0000 (16:24 -0000)]
2006-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added new 2.0 event handlers
* System.Windows.Forms_test.dll.sources: Added EventArgsTest.cs

2006-07-14  Jonathan Pobst  <monkey@ipobst.com>

* EventArgsTest.cs: Added

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

17 years ago2006-07-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 14 Jul 2006 16:18:49 +0000 (16:18 -0000)]
2006-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* System.dll.sources: Added System.ComponentModel/MaskedTextResultHint.cs

2006-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* MaskedTextResultHint.cs: Added

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

17 years ago2006-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 14 Jul 2006 16:11:27 +0000 (16:11 -0000)]
2006-07-14  Zoltan Varga  <vargaz@gmail.com>

* ConstructorBuilder.cs (GetILGenerator): Avoid creating a new ILGenerator each time
this is called. Fixes #78859.

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

17 years ago2006-07-14 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 14 Jul 2006 16:05:23 +0000 (16:05 -0000)]
2006-07-14  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  Down arrows

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

17 years ago2006-07-14 Jonathan Pobst <monkey@ipobst.com>
Peter Dennis Bartok [Fri, 14 Jul 2006 15:52:39 +0000 (15:52 -0000)]
2006-07-14  Jonathan Pobst  <monkey@ipobst.com>

WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
FormClosedEventHandler.cs, FormClosingEventArgs.cs,
FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
ListViewItemSelectionChangedEventHandler.cs,
ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
WebBrowserNavigatingEventHandler.cs,
WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers

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

17 years ago2006-07-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 14 Jul 2006 15:46:51 +0000 (15:46 -0000)]
2006-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added new 2.0 Enums

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

17 years ago2006-07-14 Jonathan Pobst <monkey@ipobst.com>
Peter Dennis Bartok [Fri, 14 Jul 2006 15:45:44 +0000 (15:45 -0000)]
2006-07-14  Jonathan Pobst  <monkey@ipobst.com>

MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
ListViewItemStates.cs, MaskFormat.cs: Added

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

17 years ago2006-07-14 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 14 Jul 2006 13:55:25 +0000 (13:55 -0000)]
2006-07-14  Dick Porter  <dick@ximian.com>

        * object.c (mono_type_initialization_cleanup): Fix a race
        condition by temporarily commenting out the critical section
        deletion.

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

17 years ago2006-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 14 Jul 2006 11:54:20 +0000 (11:54 -0000)]
2006-07-14  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (create_custom_attr): Fix some warnings.
(create_custom_attr_data): Ditto.
(typebuilder_setup_properties): Save custom attrs for properties in dynamic
types. Fixes #78855.

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

17 years ago2006-07-14 Senganal T <tsenganal@novell.com>
Senganal T [Fri, 14 Jul 2006 09:35:43 +0000 (09:35 -0000)]
2006-07-14  Senganal T  <tsenganal@novell.com>

* OraclePermission.cs : 2.0 Api fixes.

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

17 years ago* Makefile (net_2_0_dirs): Move System.Transactions ...
Raja R Harinath [Fri, 14 Jul 2006 08:57:51 +0000 (08:57 -0000)]
* Makefile (net_2_0_dirs): Move System.Transactions ...
(common_dirs): ... here, before System.Data, which depends on it
in the net_2_0 profile.

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

17 years ago2006-07-13 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 14 Jul 2006 00:55:40 +0000 (00:55 -0000)]
2006-07-13  Jonathan Chambers  <joncham@gmail.com>

* PropertyGridView.cs: Fix keyboard navigation of drop down.
Patch from eno for bug 78558.

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

17 years ago2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 13 Jul 2006 22:16:49 +0000 (22:16 -0000)]
2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataList.cs: correctly initialize editable items when there's an
EditItemTemplate. Patch by Jarosław Pawlak.

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

17 years ago2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 13 Jul 2006 22:15:22 +0000 (22:15 -0000)]
2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataListTest.cs: new test for templated items. Patch by Jarosław
Pawlak.

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

17 years ago2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 13 Jul 2006 21:44:46 +0000 (21:44 -0000)]
2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: make password work again.

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

17 years ago2006-07-13 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Thu, 13 Jul 2006 21:04:51 +0000 (21:04 -0000)]
2006-07-13  Juraj Skripsky <js@hotfeet.ch>

* CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
unchanged.

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

17 years ago * TreeView.cs: When an edit is finished make sure that the
Jackson Harper [Thu, 13 Jul 2006 20:58:57 +0000 (20:58 -0000)]
    * TreeView.cs: When an edit is finished make sure that the
        selected node is visible.
        - When setting the top/bottom use the scrollbars is_visible, so
        everything will be set correctly even if the tree isn't visible
        yet.

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

17 years agoUpdate docs
Miguel de Icaza [Thu, 13 Jul 2006 19:22:29 +0000 (19:22 -0000)]
Update docs

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

17 years ago * TreeView.cs: Use LostFocus instead of Leave for
Jackson Harper [Thu, 13 Jul 2006 19:01:34 +0000 (19:01 -0000)]
            * TreeView.cs: Use LostFocus instead of Leave for
                * detecting when
        the edit box has lost focus (duh).
        - Just make the edit box not visible when we get return, that
          will
        take the focus, which will call EndEdit
        * TreeNode.cs When we start editing, notify the treeview.

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

17 years ago * ComboBox.cs: Revert the item->index part of my previous patch.
Jackson Harper [Thu, 13 Jul 2006 18:33:11 +0000 (18:33 -0000)]
    * ComboBox.cs: Revert the item->index part of my previous patch.

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