mono.git
18 years ago * Control.cs: Don't invalidate empty rectangles.
Jackson Harper [Tue, 18 Oct 2005 19:18:11 +0000 (19:18 -0000)]
* Control.cs: Don't invalidate empty rectangles.

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

18 years ago2005-10-18 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 18 Oct 2005 19:12:26 +0000 (19:12 -0000)]
2005-10-18  Geoff Norton  <gnorton@customerdna.com>

        * MacPack.cs: Support Application Icons that are referenced from
        something other than cwd.

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

18 years ago * ListViewItem.cs:
Jordi Mas i Hernandez [Tue, 18 Oct 2005 19:04:49 +0000 (19:04 -0000)]
* ListViewItem.cs:
  - Adds checked item to the Checked/Item lists (where empty before)
    - Do not add items to the Selected lists if they are already present
* ListView.cs:
    - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  - When deleting items make sure that we delete them for the Selected
  and Checked list also.

2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>

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

18 years ago2005-10-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 18 Oct 2005 18:00:48 +0000 (18:00 -0000)]
2005-10-18  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add tests for #75515.

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

18 years ago2005-10-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 18 Oct 2005 18:00:01 +0000 (18:00 -0000)]
2005-10-18  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_Type_GetField): Applied patch from Robert Jordan (robertj@gmx.net). Fixes #75515.

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

18 years ago2005-10-16 Michal Moskal <malekith@nemerle.org>
Michal Moskal [Tue, 18 Oct 2005 17:59:57 +0000 (17:59 -0000)]
2005-10-16  Michal Moskal  <malekith@nemerle.org>

       * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 Oct 2005 16:06:09 +0000 (16:06 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* TimerElapsedEventArgs.cs: Re-added [ComVisible (false)] attribute
before NET_2_0.

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 Oct 2005 15:49:22 +0000 (15:49 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* InstanceDescriptorCas.cs: Added more tests for LinkDemand as it just
occured to me that it looked like the LinkDemand was on the class (and
not only on the ctor).

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

18 years agoAdd System.UriTypeConverter (2.0) with unit/CAS tests, also add CAS/unit tests for...
Sebastien Pouliot [Tue, 18 Oct 2005 15:40:33 +0000 (15:40 -0000)]
Add System.UriTypeConverter (2.0) with unit/CAS tests, also add CAS/unit tests for System.ComponentModel.Design.Serialization.InstanceDescriptor

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 Oct 2005 15:37:42 +0000 (15:37 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* InstanceDescriptor.cs: Added CAS permissions (unrestricted at class
level).

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 Oct 2005 15:22:58 +0000 (15:22 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* UriTypeConverter.cs: New. Implemented (2.0).

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 Oct 2005 15:22:08 +0000 (15:22 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* UriTypeConverterCas.cs: New. CAS unit tests.
* UriTypeConverterTest.cs: New. Unit tests for UriTypeConverter.

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 Oct 2005 15:19:43 +0000 (15:19 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* InstanceDescriptor.cs: Fix Invoke method as there's no 'this' for ctors.

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 Oct 2005 15:17:53 +0000 (15:17 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* InstanceDescriptorCas.cs: New. CAS unit tests.
* InstanceDescriptorTest.cs: New. Unit tests for InstanceDescriptor
when using a ContructorInfo.

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

18 years agoworkaround parsing bug in compiler-tester
Raja R Harinath [Tue, 18 Oct 2005 14:14:45 +0000 (14:14 -0000)]
workaround parsing bug in compiler-tester

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

18 years agoIn mcs:
Raja R Harinath [Tue, 18 Oct 2005 14:03:20 +0000 (14:03 -0000)]
In mcs:
Fix #76371.
* class.cs (TypeContainer.DefineType): Move updating of
topological sort earlier in the code.
* decl.cs (DeclSpace.ResolveBaseTypeExpr): Don't use TypeBuilder.

In tests:
* test-463.cs: New test from #76371.

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

18 years ago2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 18 Oct 2005 13:52:23 +0000 (13:52 -0000)]
2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* NetConfigurationHandler.cs: new attribute 'useUnsafeHeaderParsing'.
It's value is ignored. Fixes bug #76442.

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

18 years ago2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 18 Oct 2005 11:26:32 +0000 (11:26 -0000)]
2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>

* Label.cs: Dispose objects no longer used
* ThemeWin32Classic.cs: Dispose objects no longer used

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

18 years ago2005-10-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 18 Oct 2005 10:21:58 +0000 (10:21 -0000)]
2005-10-18  Lluis Sanchez Gual  <lluis@novell.com>

* RemotingConfiguration.cs: The value for customErrors tag must be
case-insensitive. Fixes bug #76466 (patch by Robert Jordan).

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

18 years ago2005-10-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 18 Oct 2005 09:25:39 +0000 (09:25 -0000)]
2005-10-18  Marek Safar <marek.safar@seznam.cz>

* test-462.cs: Regression spotted by Miguel.

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

18 years agoupdate
Marek Safar [Tue, 18 Oct 2005 08:47:41 +0000 (08:47 -0000)]
update

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

18 years ago2005-10-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 18 Oct 2005 08:44:07 +0000 (08:44 -0000)]
2005-10-18  Marek Safar  <marek.safar@seznam.cz>

Fix #76273.
* cfold.cs (BinaryFold): Reduce constant in enum conversion.

* constant.cs (Constant.TryReduce): Moved from Cast class.
(Reduce): Made little bit more OO and fixed missing conversions.

* ecore.cs (Reduce): Implemented.
(Binary.EnumLiftUp): New method to upgrade values to enum values.

* literal.cs (Reduce): Implemented.

* class.cs: Reverted Miguel's wrong commit.

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

18 years ago * TabControl.cs: Don't refresh the whole control when the tabs are
Jackson Harper [Tue, 18 Oct 2005 08:14:37 +0000 (08:14 -0000)]
* TabControl.cs: Don't refresh the whole control when the tabs are
scrolled, we just need to refresh the tab area.

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

18 years ago2005-10-18 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Tue, 18 Oct 2005 07:57:49 +0000 (07:57 -0000)]
2005-10-18  Iain McCoy  <iain@mccoy.id.au>

* System.Windows.Serialization/XamlNodeType.cs: add forgotten file

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

18 years ago * XplatUIX11.cs: Compress code a little bit. Only calculate the
Jackson Harper [Tue, 18 Oct 2005 04:28:44 +0000 (04:28 -0000)]
* XplatUIX11.cs: Compress code a little bit. Only calculate the
after handle when we need it.

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

18 years ago2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 18 Oct 2005 04:25:49 +0000 (04:25 -0000)]
2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: When the parent size changes, recalculate anchor
  positions. Partial fix for #76462

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

18 years ago2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 18 Oct 2005 02:21:07 +0000 (02:21 -0000)]
2005-10-17  Peter Dennis Bartok  <pbartok@novell.com>

* ThemeWin32Classic.cs: Make sure the picturebox has it's background
  drawn. Fixes #76462

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

18 years ago * MonthCalendar.cs: Don't create the numeric up down until our
Jackson Harper [Tue, 18 Oct 2005 02:01:37 +0000 (02:01 -0000)]
* MonthCalendar.cs: Don't create the numeric up down until our
handle is created. Otherwise our handle is created in the
constructor and we don't know if we are a WS_CHILD or WS_POPUP
yet.

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

18 years agoDisable these tests until a fixed version of 51787 is reapplied
Miguel de Icaza [Tue, 18 Oct 2005 01:37:26 +0000 (01:37 -0000)]
Disable these tests until a fixed version of 51787 is reapplied

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

18 years agoAdd
Miguel de Icaza [Tue, 18 Oct 2005 01:34:53 +0000 (01:34 -0000)]
Add

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

18 years agoRevert this patch as it breaks mscorlib and System.Web's test compilation
Miguel de Icaza [Tue, 18 Oct 2005 01:32:46 +0000 (01:32 -0000)]
Revert this patch as it breaks mscorlib and System.Web's test compilation

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

18 years ago2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 18 Oct 2005 00:45:20 +0000 (00:45 -0000)]
2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: use HaveFilter instead of Filter.
* HttpResponseStream.cs: allocate chunks of the requested size
when it's > 32KB. Fixes bug #76460.

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

18 years agofix enum values
Sebastien Pouliot [Tue, 18 Oct 2005 00:37:12 +0000 (00:37 -0000)]
fix enum values

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

18 years ago2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 17 Oct 2005 23:58:16 +0000 (23:58 -0000)]
2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs: don't cache the 'Validate()' results.
IsValid retests the validators again.

* System.Web.UI.WebControls/BaseDataList.cs: Type.GetTypeCode
was fixed and now does not throw a nullref, so we have to do
it by ourselves here to make the test happy.

* System.Web.UI.WebControls/BaseValidator.cs: render the text of
the error message even if we set IsValid programatically. Don't
use 'valid' directly, as IsValid is virtual.

Fixes bug #76299.

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

18 years agoAdded IntranetZoneCredentialPolicy class and ICredentialPolicy interface. Added unit...
Sebastien Pouliot [Mon, 17 Oct 2005 23:57:33 +0000 (23:57 -0000)]
Added IntranetZoneCredentialPolicy class and ICredentialPolicy interface. Added unit tests and CAS tests for IntranetZoneCredentialPolicy.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 23:56:27 +0000 (23:56 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* IntranetZoneCredentialPolicy.cs: New. Implemented (2.0). This class
decide if the credentials should be sent if the sepcified uri is in
the intranet zone.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 23:53:51 +0000 (23:53 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* ICredentialPolicy.cs: New. Interface for 2.0.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 23:52:00 +0000 (23:52 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* IntranetZoneCredentialPolicyCas.cs: New. CAS unit tests.
* IntranetZoneCredentialPolicyTest.cs: New. Unit tests.

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

18 years ago2005-10-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Oct 2005 23:37:54 +0000 (23:37 -0000)]
2005-10-18  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.h (MonoLMF): Add rsp field.

* mini-amd64.c exceptions-amd64.c tramp-amd64.c: Save the sp reg into
the lmf too.

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

18 years agosvn path=/trunk/mcs/; revision=51832
Gonzalo Paniagua Javier [Mon, 17 Oct 2005 22:10:53 +0000 (22:10 -0000)]
svn path=/trunk/mcs/; revision=51832

18 years ago * signal.c: Don't build Syscall wrappers on Win32.
Jonathan Pryor [Mon, 17 Oct 2005 21:44:49 +0000 (21:44 -0000)]
* signal.c: Don't build Syscall wrappers on Win32.

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

18 years ago2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 17 Oct 2005 21:23:41 +0000 (21:23 -0000)]
2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CustomValidator.cs: an empty ControlToValidate is valid.

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

18 years ago2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 17 Oct 2005 21:22:14 +0000 (21:22 -0000)]
2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CustomValidatorTest.cs: an empty control name is valid.

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

18 years ago * Mono.Posix_test.dll.sources: Add Mono.Unix/UnixMarshalTest.cs.
Jonathan Pryor [Mon, 17 Oct 2005 20:33:07 +0000 (20:33 -0000)]
  * Mono.Posix_test.dll.sources: Add Mono.Unix/UnixMarshalTest.cs.
  * Test/Mono.Unix/UnixMarshalTest.cs: Added string marshaling tests for
    Mono.Unix.UnixMarshal.
  * Mono.Unix/UnixMarshal.cs: Fix GetIntXxBufferLength to require fewer
    Marshal.ReadIntXx() calls; Fix PtrToString so that
    ``"foo" == PtrToString (StringToAlloc("foo",enc),enc)'' is true for
    "random" encodings.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 20:15:26 +0000 (20:15 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* SessionSwitchReason.cs: Fixed start value of enum (no 0 item).
* TimerElapsedEventArgs.cs: Removed [ComVisible (false)] attribute.

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

18 years agoAdd some new classes/enums/delegates for 2.0 and some new CAS unit tests
Sebastien Pouliot [Mon, 17 Oct 2005 19:31:00 +0000 (19:31 -0000)]
Add some new classes/enums/delegates for 2.0 and some new CAS unit tests

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 19:30:04 +0000 (19:30 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Add a RequestMinimum security permission for
SkipVerification.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 19:28:27 +0000 (19:28 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* PowerModeChangedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* SessionEndingEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* SessionEndedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* SessionSwitchReason.cs: New. Enum for 2.0.
* SessionSwitchEventArgs.cs: New. Class for 2.0.
* SessionSwitchEventHandler.cs: New. Delegate for 2.0.
* SystemEvents.cs: Added a LinkDemand for FullTrust (i.e. Unrestricted
permission set) at the class level. Added new events
DisplaySettingsChanging and SessionSwitch (2.0). Added [Obsolete],
[Browsable] and [EditorBrowsable] on LowMemory event (2.0).
* TimerElapsedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* UserPreferenceCategory.cs: Added new VisualStyle value for 2.0.
* UserPreferenceChangedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* UserPreferenceChangingEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 19:21:43 +0000 (19:21 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* VBCodeProvider.cs: Added a LinkDemand and an InheritanceDemand
for FullTrust (i.e. Unrestricted permission set) at the class level.
Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0).
Stubbed new method GenerateCodeFromMember (2.0).

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 19:20:55 +0000 (19:20 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* CSharpCodeProvider.cs: Added a LinkDemand and an InheritanceDemand
for FullTrust (i.e. Unrestricted permission set) at the class level.
Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0).
Stubbed new method GenerateCodeFromMember (2.0).

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

18 years agoDisable DNS cas tests until I found a 'perfect' fix for CSC to compile System.dll
Sebastien Pouliot [Mon, 17 Oct 2005 19:16:23 +0000 (19:16 -0000)]
Disable DNS cas tests until I found a 'perfect' fix for CSC to compile System.dll

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 19:15:37 +0000 (19:15 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* UriBuilderCas.cs: New. CAS unit tests.
* UriBuilderTest.cs: Fixed tests to execute without failures under 2.0
* UriFormatExceptionCas.cs: New. CAS unit tests.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 19:14:04 +0000 (19:14 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* GenericUriParserOptions.cs: New. 2.0 enum.
* UriBuilder.cs: Port == -1 is valid (default) in 2.0. Default name
is "localhhost" (not loopback) in 2.0. Fixed case where the Password
property could be null (instead of String.Empty).
* UriComponents.cs: New. 2.0 enum.
* UriFormat.cs: New. 2.0 enum.
* UriFormatException.cs: Added comments about GetObjectData.
* UriKind.cs: New. 2.0 enum.
* UriPartial.cs: Added Query value for 2.0.

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

18 years ago * UnixFileSystemInfo.cs: Add OwnerUserId and OwnerGroupId properties.
Jonathan Pryor [Mon, 17 Oct 2005 19:10:33 +0000 (19:10 -0000)]
  * UnixFileSystemInfo.cs: Add OwnerUserId and OwnerGroupId properties.

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

18 years ago * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
Jackson Harper [Mon, 17 Oct 2005 18:42:02 +0000 (18:42 -0000)]
* TreeView.cs: Merge in patch by Rafael Teixeira to align strings
correctly.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 18:11:52 +0000 (18:11 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* PowerModeChangedEventArgsCas.cs: New. CAS unit tests.
* SessionEndedEventArgsCas.cs: New. CAS unit tests.
* SessionEndingEventArgsCas.cs: New. CAS unit tests.
* SessionSwitchEventArgsCas.cs: New. CAS unit tests.
* SystemEventsCas.cs: New. CAS unit tests.
* TimerElapsedEventArgsCas.cs: New. CAS unit tests.
* UserPreferenceChangedEventArgsCas.cs: New. CAS unit tests.
* UserPreferenceChangingEventArgsCas.cs: New. CAS unit tests.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 18:09:15 +0000 (18:09 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* VBCodeProviderCas.cs: New. CAS unit tests.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 18:08:19 +0000 (18:08 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* CSharpCodeProviderCas.cs: New. CAS unit tests.

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

18 years ago * UnixDriveInfo.cs, UnixEnvironment.cs, UnixFile.cs, UnixFileSystemInfo.cs,
Jonathan Pryor [Mon, 17 Oct 2005 17:46:31 +0000 (17:46 -0000)]
  * UnixDriveInfo.cs, UnixEnvironment.cs, UnixFile.cs, UnixFileSystemInfo.cs,
    UnixGroup.cs, UnixStream.cs, UnixUser.cs: Don't use SetLastError(), since
    it's use is (1) incorrect, and (2) will be going away with the move to
    Mono.Unix.Native.Syscall.  Instead use the Native.Syscall.* APIs which
    set errno sanely.

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

18 years ago * UnixGroup.cs, UnixGroupInfo.cs, UnixFile.cs, UnixFileSystemInfo.cs,
Jonathan Pryor [Mon, 17 Oct 2005 17:32:34 +0000 (17:32 -0000)]
  * UnixGroup.cs, UnixGroupInfo.cs, UnixFile.cs, UnixFileSystemInfo.cs,
    UnixStream.cs, UnixSymbolicLinkInfo.cs, UnixUser.cs, UnixUserInfo.cs:
    Start migrating uid/gid to long (from uint) for CLS compliance.
    (Full migration must wait 'til after the next release as this would
    require changes to existing members.)
  * UnixEnvironment.cs: Above, and add RealUserId/RealGroupId and
    EffectiveUserId/EffectiveGroupId.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 16:53:43 +0000 (16:53 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSet.cs: If the current permission set is unrestricted then
we must allow "permit only" for unrestricted (all other case are known
to be too restrictive).

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

18 years ago2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 17 Oct 2005 16:49:31 +0000 (16:49 -0000)]
2005-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* TreeNode.cs : small logical fix (was using local var instead of field)

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

18 years agoAdd CAS unit tests for System.Web.UI.WebControls.RequiredFieldValidator class
Sebastien Pouliot [Mon, 17 Oct 2005 14:15:12 +0000 (14:15 -0000)]
Add CAS unit tests for System.Web.UI.WebControls.RequiredFieldValidator class

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 14:14:28 +0000 (14:14 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* RequiredFieldValidatorCas.cs: New. CAS unit for
RequiredFieldValidator.

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

18 years ago2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Oct 2005 14:13:05 +0000 (14:13 -0000)]
2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>

* RequiredFieldValidator.cs: Added missing permissions.

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

18 years ago2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 17 Oct 2005 12:20:17 +0000 (12:20 -0000)]
2005-10-17  Lluis Sanchez Gual  <lluis@novell.com>

* ChannelServices.cs: RegisteredChannels should not include the
hidden cross app domain channel. Fixes bug #76454.

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

18 years ago2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 17 Oct 2005 11:49:48 +0000 (11:49 -0000)]
2005-10-17  Lluis Sanchez Gual  <lluis@novell.com>
* RemotingConfiguration.cs: Rethrow catched exceptions
in ReadConfigFile (patch by Robert Jordan). Fixes bug #76434.
Properly set the application name.

2005-08-18  Lluis Sanchez Gual  <lluis@novell.com>

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

18 years ago2005-10-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 17 Oct 2005 11:43:25 +0000 (11:43 -0000)]
2005-10-17  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (get_register_spilling): Fix some warnings.

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

18 years ago* Makefile (RESOURCES): Distribute newly added cursors.
Raja R Harinath [Mon, 17 Oct 2005 11:42:23 +0000 (11:42 -0000)]
* Makefile (RESOURCES): Distribute newly added cursors.

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

18 years agoGraphics.cs: Added FillMode tests
Vladimir Krasnov [Mon, 17 Oct 2005 10:43:53 +0000 (10:43 -0000)]
Graphics.cs: Added FillMode tests
Brush.cs:  Added TextureBrush tests

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

18 years ago2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 17 Oct 2005 10:39:40 +0000 (10:39 -0000)]
2005-10-17  Lluis Sanchez Gual  <lluis@novell.com>

* SerializationCodeGenerator.cs:
* XmlSerializationWriterInterpreter.cs: Arrays of XmlNode don't
need to be all XmlElments. Fix by Atsushi for bug #76288.

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

18 years ago2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 17 Oct 2005 10:38:08 +0000 (10:38 -0000)]
2005-10-17  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSchemaSerializer.cs: Arrays of XmlNode don't
need to be all XmlElments. Fix by Atsushi for bug #76288.

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

18 years ago * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
Jordi Mas i Hernandez [Mon, 17 Oct 2005 10:37:41 +0000 (10:37 -0000)]
* ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours

2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>

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

18 years agoupdate
Marek Safar [Mon, 17 Oct 2005 09:55:12 +0000 (09:55 -0000)]
update

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

18 years ago2005-10-17 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 17 Oct 2005 09:23:19 +0000 (09:23 -0000)]
2005-10-17  Senganal T  <tsenganal@novell.com>

* Test/ProviderTests/System.Data.SqlClient/SqlDataAdapterTest.cs :
- Added Testcase for bug #76433.

* In System.Data.Common/DbDataAdapter.cs :
- BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
as returned by database. Fixes bug#76433.

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

18 years ago2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 17 Oct 2005 09:13:01 +0000 (09:13 -0000)]
2005-10-17  Jordi Mas i Hernandez <jordi@ximian.com>

* ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons

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

18 years ago2005-10-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 17 Oct 2005 08:47:13 +0000 (08:47 -0000)]
2005-10-17  Marek Safar <marek.safar@seznam.cz>

* test-10.cs: More explicit conversion tests.

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

18 years agonew tests
Marek Safar [Mon, 17 Oct 2005 08:25:36 +0000 (08:25 -0000)]
new tests

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

18 years ago2005-10-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 17 Oct 2005 08:14:10 +0000 (08:14 -0000)]
2005-10-17  Marek Safar  <marek.safar@seznam.cz>

Fix #76273.
* cfold.cs (BinaryFold): Reduce constant in enum conversion.

* constant.cs (Constant.TryReduce): Moved from Cast class.
(Reduce): Made little bit more OO and fixed missing conversions.

* ecore.cs (Reduce): Implemented.
(Binary.EnumLiftUp): New method to upgrade values to enum values.

* literal.cs (Reduce): Implemented.

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

18 years agoFixed Miguel's regression.
Marek Safar [Mon, 17 Oct 2005 08:08:33 +0000 (08:08 -0000)]
Fixed Miguel's regression.

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

18 years agoAdded test case for TabControl
Ritvik Mayank [Mon, 17 Oct 2005 06:56:40 +0000 (06:56 -0000)]
Added test case for TabControl

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

18 years ago2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 17 Oct 2005 01:51:58 +0000 (01:51 -0000)]
2005-10-16  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - Re-implemented anchoring code. My first version was really broken.
    This fixes bug #76033. Unlike the previous implementation we will
    no longer have round errors since all numbers are calculated from
    scratch every time. Removed various anchor-related obsolete vars.
  - InitLayout no longer causes layout event firing and layout to be
    performed

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

18 years agoRevert this until I track it down
Miguel de Icaza [Mon, 17 Oct 2005 01:44:59 +0000 (01:44 -0000)]
Revert this until I track it down

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

18 years ago again
Jackson Harper [Sun, 16 Oct 2005 20:35:09 +0000 (20:35 -0000)]
again

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

18 years ago * Hwnd.cs: Compute invalid area correctly (fixes my last commit
Jackson Harper [Sun, 16 Oct 2005 20:26:52 +0000 (20:26 -0000)]
* Hwnd.cs: Compute invalid area correctly (fixes my last commit
which was broken).

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

18 years ago * TabControl.cs: Remove debug code.
Jackson Harper [Sun, 16 Oct 2005 19:07:39 +0000 (19:07 -0000)]
* TabControl.cs: Remove debug code.

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

18 years ago * XEventQueue.cs: Increase the default queue size (very simple
Jackson Harper [Sun, 16 Oct 2005 18:26:11 +0000 (18:26 -0000)]
* XEventQueue.cs: Increase the default queue size (very simple
apps needed to grow the queue).
* Hwnd.cs: No finalizer so we don't need to suppress
finalization. Compute the invalid area manually so a new rectangle
does not newto be created.
* ScrollableControl.cs: Don't set any params (otherwise visibility
isn't set correctly).
* MdiChildContext.cs: New constructor takes the mdi parent so it
doesn't have to be computed and avoids a crash on windows. Draw
the window icon properly, and allow the text to be seen.
* Form.cs: Use new MdiChildContext constructor. Make sure the
child context isn't null in wndproc.
* TabControl.cs: Don't set focus, this is muddling keyboard
behavoir. Expand the tab rows when a window size increase will
allow extra tabs to be seen. Don't allow tabs smaller than the
width of a window to be scrolled out of view.
* TreeNode.cs:
* TreeView.cs: Use measure string to calculate a nodes width, the
width is cached and only updated when the text or the font is
changed. Don't check for expand/collapse clicks on the first level
nodes if root lines are disabled.

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

18 years ago2005-10-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 16 Oct 2005 16:25:29 +0000 (16:25 -0000)]
2005-10-16  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.h mini-amd64.c exceptions-amd64.c: Add support for fp
elimination during exception handling. Enable fp elimination by
default.

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

18 years ago2005-10-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 16 Oct 2005 15:23:36 +0000 (15:23 -0000)]
2005-10-16  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.h mini-amd64.c: Add preliminary support for frame pointer
elimination.

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

18 years ago2005-10-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 16 Oct 2005 15:21:39 +0000 (15:21 -0000)]
2005-10-16  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h (AMD64_CALLEE_SAVED_REGS): Add %rbp.

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

18 years agoAdded test case for TrackBar
Ritvik Mayank [Sun, 16 Oct 2005 13:26:43 +0000 (13:26 -0000)]
Added test case for TrackBar

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

18 years ago* OracleException.cs: Pass message to base ctor, thereby avoiding
Gert Driesen [Sun, 16 Oct 2005 08:49:57 +0000 (08:49 -0000)]
* OracleException.cs: Pass message to base ctor, thereby avoiding
need to override Message property (and fixing API mismatch). Fixed
serialization by also adding code to si.
* OracleCommandBuilder.cs: Removed usage of DataSysDescription to
fix API mismatches.

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

18 years ago2005-10-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 16 Oct 2005 00:57:52 +0000 (00:57 -0000)]
2005-10-16  Martin Baulig  <martin@ximian.com>

* mini-exceptions.c
(mono_debugger_run_finally): New public method for the debugger.

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

18 years ago* CodeGeneratorTestBase.cs: Generate now returns code that was output,
Gert Driesen [Sat, 15 Oct 2005 16:41:32 +0000 (16:41 -0000)]
* CodeGeneratorTestBase.cs: Generate now returns code that was output,
and takes CodeGeneratorOptions instance in order to support testing
bracing style.
* CodeGeneratorFromCompileUnitTest.cs: Added tests for C bracing style.
* CodeGeneratorFromNamespaceTest.cs: Added tests for C bracing style.
* CodeGeneratorFromExpressionTest.cs: Clean up.
* CodeGeneratorFromTypeTest.cs: Added tests for C bracing style.
* CodeGeneratorTestBase.cs: No longer keep instance of StringWriter to
allow GenerateCodeFromType to be executed multiple times with relying
on user to reset writer. Allow CodeGeneratorOptions to be passed in,
in order to support bracing style tests.
* CodeGeneratorFromTypeTestBase.cs: Modify Generate* methods to take
CodeGeneratorOptions instance and pass it on to GenerateCodeFromType.
* CodeGeneratorFromTypeTest.cs: Reworked tests to pass
CodeGeneratorOptions to Generate* methods.
* CodeGeneratorTestBase.cs: Generate now returns code that was output,
and take CodeGeneratorOptions instance in order to support testing
bracing style.
* CodeGeneratorFromCompileUnitTest.cs: Added tests for C bracing style.
* CodeGeneratorFromNamespaceTest.cs: Added tests for C bracing style.
* CodeGeneratorFromExpressionTest.cs: Clean up.
* CodeGeneratorFromTypeTest.cs: Added tests for C bracing style.
* CSharpCodeGenerator.cs: Support C bracing style. Fixes bug #76286.

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

18 years ago2005-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 15 Oct 2005 13:14:31 +0000 (13:14 -0000)]
2005-10-15  Zoltan Varga  <vargaz@freemail.hu>

* Import 0.84 version of SharpZipLib and merge local changes. This is
needed by newer versions of IKVM.

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

18 years agoCopy 0.84 to trunk.
Zoltan Varga [Sat, 15 Oct 2005 13:09:10 +0000 (13:09 -0000)]
Copy 0.84 to trunk.

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

18 years ago2005-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 15 Oct 2005 13:06:58 +0000 (13:06 -0000)]
2005-10-15  Zoltan Varga  <vargaz@freemail.hu>

* ICSharpCode.SharpZipLib: Remove 0.6 version.

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

18 years agoTextBoxBase.cs: Fixes #76352
Ritvik Mayank [Sat, 15 Oct 2005 12:27:36 +0000 (12:27 -0000)]
TextBoxBase.cs: Fixes #76352

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

18 years ago2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 15 Oct 2005 10:38:59 +0000 (10:38 -0000)]
2004-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : (DeleteRange, ReplaceRange) so they are not
  likely to be implemented, thus MonoTODO.

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

18 years ago* TypeTest.cs: Added GetTypeCode test.
Gert Driesen [Sat, 15 Oct 2005 09:00:27 +0000 (09:00 -0000)]
* TypeTest.cs: Added GetTypeCode test.

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