mono.git
18 years ago* AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform matrix singul...
Vladimir Krasnov [Wed, 19 Oct 2005 16:03:51 +0000 (16:03 -0000)]
* AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform  matrix singularity added
* Font.jvm.cs: implemetated ISerializable
* Pen.jvm.cs: fixed DashPattern property, fixed GetNativeObject() dash pattern calculation

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

18 years ago2005-10-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 19 Oct 2005 15:24:12 +0000 (15:24 -0000)]
2005-10-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* VBCodeGenerator.cs: Generate MyBase.New() with parenthesis as mbas currently chokes without them

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

18 years ago* main.c (dis_method_list): Fix warning introduced by my last patch.
Ankit Jain [Wed, 19 Oct 2005 15:14:25 +0000 (15:14 -0000)]
* main.c (dis_method_list): Fix warning introduced by my last patch.

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

18 years ago*** Merged revisions from mcs: 51858, 51864
Raja R Harinath [Wed, 19 Oct 2005 15:10:45 +0000 (15:10 -0000)]
*** Merged revisions from mcs: 51858, 51864

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

18 years ago2005-10-19 Ankit Jain <jankit@novell.com>
Ankit Jain [Wed, 19 Oct 2005 15:05:50 +0000 (15:05 -0000)]
2005-10-19  Ankit Jain  <jankit@novell.com>

* main.c (dis_method_list): Use 'method_context' instead of 'container' for
  mono_metadata_parse_method_signature_full.

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

18 years ago*** Merged revisions from mcs: 51787
Raja R Harinath [Wed, 19 Oct 2005 13:55:37 +0000 (13:55 -0000)]
*** Merged revisions from mcs: 51787

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

18 years ago2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 19 Oct 2005 13:34:18 +0000 (13:34 -0000)]
2005-10-18  Jordi Mas i Hernandez <jordi@ximian.com>

* MenuAPI.cs: Returns after Hidding window
* XplatUIX11.cs: Added TODO found while debugging menu issues

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

18 years ago2005-10-19 Senganal T <tsenganal@novell.com>
Senganal T [Wed, 19 Oct 2005 13:12:58 +0000 (13:12 -0000)]
2005-10-19  Senganal T  <tsenganal@novell.com>

* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionParameter.cs :
- Added a class variable 'AttachDBFileName' to store the location
of the DB file.

* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs (Connect) :
- Modified to append the bytes corresponding to AttachDBFileName
into the Tds Packets.

* System.Data/System.Data.SqlClient/SqlConnection.cs (SetProperties) :
- Added support for AttachDBFileName

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

18 years ago2005-10-19 Senganal T <tsenganal@novell.com>
Senganal T [Wed, 19 Oct 2005 12:01:01 +0000 (12:01 -0000)]
2005-10-19  Senganal T  <tsenganal@novell.com>

* SqlException.cs (Constructor)
- Modified the constructor, so that the message parameter
of base class is not the same as that of the Exception message.
fixes bug #76468

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

18 years ago2005-10-19 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 19 Oct 2005 11:24:08 +0000 (11:24 -0000)]
2005-10-19  Dick Porter  <dick@ximian.com>

        * handles.c:
        * handles-private.h:
        * wapi-private.h:
        * processes.c:
        * mutexes.c:
        * collection.c (_wapi_handle_collect): Remove the shared handle
        indirection layer, and use locking instead.  Delete other
        complexity that is no longer needed.  Refcount shared handles and
        delete them when needed, but keep the timestamps so that orphaned
        handles will be cleaned up eventually.

        * shared.c (_wapi_shm_file): Add processor, OS and struct size
        info to the shared file names, to cope with dual-boot and 32/64bit
        size issues.  Fixes bug 75839.

        * wait.c (WaitForMultipleObjectsEx): No need to distinguish
        between shared handles and private, as the wait functions cope
        with both together now.

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

18 years ago*** Merged revisions from mcs: 51705, 51728
Raja R Harinath [Wed, 19 Oct 2005 10:22:34 +0000 (10:22 -0000)]
*** Merged revisions from mcs: 51705, 51728

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

18 years ago2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 19 Oct 2005 08:11:22 +0000 (08:11 -0000)]
2005-10-18  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Do not re-map the whole window when it's size
  becomes non-zero unless it's supposed to be actually visible

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

18 years ago2005-10-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 Oct 2005 06:34:44 +0000 (06:34 -0000)]
2005-10-19  Atsushi Enomoto  <atsushi@ximian.com>

* WebClient.cs : added net_2_0 DownloadString() and DownloadData()
  with HTTP method as well.

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

18 years ago2005-10-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 Oct 2005 06:21:29 +0000 (06:21 -0000)]
2005-10-19  Atsushi Enomoto  <atsushi@ximian.com>

* WebClient.cs : added UploadString() and Encoding (net_2_0). Added
  some new overloaded stuff that takes Uri instead of string address.

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

18 years ago * TreeView.cs: We don't need to keep a count anymore.
Jackson Harper [Wed, 19 Oct 2005 03:46:28 +0000 (03:46 -0000)]
* TreeView.cs: We don't need to keep a count anymore.
* TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
use the Grow method.

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

18 years ago * TreeNodeCollection.cs: Insert is not supported on arrays, so
Jackson Harper [Wed, 19 Oct 2005 03:03:04 +0000 (03:03 -0000)]
* TreeNodeCollection.cs: Insert is not supported on arrays, so
implement it manually here.

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

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

* HttpResponseStream.cs: when allocating a chunk larger than the
default chunk size, mark all the blocks as taken. Fixes bug
#76452.

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

18 years ago - Same goes for setting the image size. Just resize them all
Jackson Harper [Tue, 18 Oct 2005 21:26:57 +0000 (21:26 -0000)]
- Same goes for setting the image size. Just resize them all
instead of killing the list softly.

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

18 years ago2005-10-18 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 18 Oct 2005 21:17:10 +0000 (21:17 -0000)]
2005-10-18  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js: fix handling for validation_result so that
buttons that don't cause validation still work.  Fixes bug #76429.

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

18 years ago * ImageList.cs: Dont kill the list when the colour depth is
Jackson Harper [Tue, 18 Oct 2005 21:09:37 +0000 (21:09 -0000)]
* ImageList.cs: Dont kill the list when the colour depth is
changed, just change the colour depth of all the images.

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

18 years agofix for 76415 + tests
Gonzalo Paniagua Javier [Tue, 18 Oct 2005 19:47:30 +0000 (19:47 -0000)]
fix for 76415 + tests

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

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

* cpu-pentium.md: Remove unused opcodes.

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

18 years ago* HttpWebRequestElement.cs: Added missing properties and attributes.
Gert Driesen [Tue, 18 Oct 2005 19:24:59 +0000 (19:24 -0000)]
* HttpWebRequestElement.cs: Added missing properties and attributes.
* HttpWebRequestElementTest.cs: Added test for default values.
* System_test.dll.sources: Added HttpWebRequestElementTest.cs from
Test/System.Net.Configuration.

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

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

* ListViewCollectionsTest.cs: Add tests for the ListView Collections

2005-10-16  Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridBoolColumn.cs: fixes warning

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

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