mono.git
18 years ago2005-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 6 Nov 2005 21:30:57 +0000 (21:30 -0000)]
2005-11-06  Zoltan Varga  <vargaz@freemail.hu>

* Directory.cs: Add stub for net 2.0 GetFiles method.

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

18 years ago2005-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 6 Nov 2005 21:24:04 +0000 (21:24 -0000)]
2005-11-06  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Add System.IO/SearchOption.cs.

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

18 years ago2005-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 6 Nov 2005 21:23:30 +0000 (21:23 -0000)]
2005-11-06  Zoltan Varga  <vargaz@freemail.hu>

* SearchOption.cs: New file.

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

18 years ago2005-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 6 Nov 2005 20:44:52 +0000 (20:44 -0000)]
2005-11-06  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_ptr_to_struct): Do not treat the
explicit layout case the same as the blittable case. Fixes #76626.

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

18 years ago2005-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 6 Nov 2005 20:43:28 +0000 (20:43 -0000)]
2005-11-06  Zoltan Varga  <vargaz@freemail.hu>

* Label.cs: Add == and != operators.

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

18 years agocreate GSSCredential only once, cleanup
Konstantin Triger [Sun, 6 Nov 2005 17:20:34 +0000 (17:20 -0000)]
create GSSCredential only once, cleanup

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

18 years ago2005-11-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 6 Nov 2005 13:28:20 +0000 (13:28 -0000)]
2005-11-05  Robert Jordan  <robertj@gmx.net>

* System.Runtime.Remoting.dll.sources: Added Channels/IAuthorizeRemotingConnection.cs

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

18 years ago2005-11-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 6 Nov 2005 13:26:40 +0000 (13:26 -0000)]
2005-11-05  Robert Jordan  <robertj@gmx.net>

* IAuthorizeRemotingConnection.cs: Added.

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

18 years ago2005-11-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 6 Nov 2005 13:24:30 +0000 (13:24 -0000)]
2005-11-05  Robert Jordan  <robertj@gmx.net>

* corlib.dll.sources: Added System.Runtime.Remoting.Channels/ISecurableChannel.cs

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

18 years ago2005-11-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 6 Nov 2005 13:23:51 +0000 (13:23 -0000)]
2005-11-05  Robert Jordan  <robertj@gmx.net>

* ISecurableChannel.cs: Added.

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

18 years agoFix RemotingConfiguration.cs (ConfigHandler.OnEndElement) and ServerIdentity.cs ...
Svetlana Zholkovsky [Sun, 6 Nov 2005 11:48:12 +0000 (11:48 -0000)]
Fix RemotingConfiguration.cs (ConfigHandler.OnEndElement) and ServerIdentity.cs (DisposeServerObject)

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

18 years agoAdd System.Runtime.Remoting.vmwcsproj and System.Runtime.Remoting.sln; Some TARGET_JV...
Svetlana Zholkovsky [Sun, 6 Nov 2005 11:08:53 +0000 (11:08 -0000)]
Add System.Runtime.Remoting.vmwcsproj and System.Runtime.Remoting.sln; Some TARGET_JVM changes

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

18 years agoFix SoapCore.cs and BinaryCore.cs to create new dictionary object for Properties...
Svetlana Zholkovsky [Sun, 6 Nov 2005 10:51:54 +0000 (10:51 -0000)]
Fix SoapCore.cs and BinaryCore.cs to create new dictionary object for Properties during initialization

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

18 years agoFix HttpHandler, HttpHandlerFactory and HttpServerChannel to work properly with a...
Svetlana Zholkovsky [Sun, 6 Nov 2005 10:47:25 +0000 (10:47 -0000)]
Fix HttpHandler, HttpHandlerFactory and HttpServerChannel to work properly with a web server hosted applications; Add HttpHandlerFactory.jvm.cs

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

18 years agoUse app.config with TestConfiguration class for tests settings.
Boris Kirzner [Sun, 6 Nov 2005 09:39:13 +0000 (09:39 -0000)]
Use app.config with TestConfiguration class for tests settings.

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

18 years agoFixes for RefreshCache().
Boris Kirzner [Sun, 6 Nov 2005 09:20:55 +0000 (09:20 -0000)]
Fixes for RefreshCache().

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

18 years ago2005-11-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 5 Nov 2005 20:22:01 +0000 (20:22 -0000)]
2005-11-05  Atsushi Enomoto  <atsushi@ximian.com>

* WebClient: use POST for DownloadData(). Fixed bug #76631.

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

18 years agoCommit
Miguel de Icaza [Sat, 5 Nov 2005 16:15:00 +0000 (16:15 -0000)]
Commit

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

18 years agoConsts.cs.in: Removed obsolete using System.Runtime.InteropServices.
Kornél Pál [Sat, 5 Nov 2005 14:34:04 +0000 (14:34 -0000)]
Consts.cs.in: Removed obsolete using System.Runtime.InteropServices.

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

18 years agoUpdated runtime version to v2.0.50727 (2.0 RTM). Use Consts.MonoVersion, Consts.FxFil...
Kornél Pál [Sat, 5 Nov 2005 10:50:01 +0000 (10:50 -0000)]
Updated runtime version to v2.0.50727 (2.0 RTM). Use Consts.MonoVersion, Consts.FxFileVersion and Consts.VsFileVersion in assembly attributes. Use Consts.RuntimeVersion as Environment.Version that makes maintenance easier.

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

18 years ago2005-11-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sat, 5 Nov 2005 02:02:37 +0000 (02:02 -0000)]
2005-11-05  Robert Jordan  <robertj@gmx.net>

* System.Runtime.Remoting.dll.sources: Removed Ipc/IpcChannelFactory.cs

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

18 years ago2005-11-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sat, 5 Nov 2005 02:02:16 +0000 (02:02 -0000)]
2005-11-05  Robert Jordan  <robertj@gmx.net>

* IpcServerChannel.cs: Implemented missing GetChannelUri ().
  Ipc*.cs: Removed the reflective channel factory.

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

18 years ago2005-11-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sat, 5 Nov 2005 02:01:25 +0000 (02:01 -0000)]
2005-11-05  Robert Jordan  <robertj@gmx.net>

* IpcClientChannel.cs, IpcServerChannel.cs: Added missing ctors.

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

18 years ago2005-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 5 Nov 2005 01:13:01 +0000 (01:13 -0000)]
2005-11-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* gcs0281.cs: New test.
* CSFriendAssembly-lib.cs: New helper file.

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

18 years ago2005-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 5 Nov 2005 01:02:38 +0000 (01:02 -0000)]
2005-11-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* gtest-friend-[01-12].cs, gtest-friend-00-lib.cs,
gtest-friend-01-lib.cs, gtest-friend-02-lib.cs:
New tests for friend assembly access.
* InternalsVisibleTest.snk, InternalsVisibleTest2.snk:
Helper keys for our new friend access tests.

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

18 years ago2005-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 4 Nov 2005 22:46:51 +0000 (22:46 -0000)]
2005-11-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

Add friend assembly access support.
* typemanager.cs: assembly_internals_vis_attrs
cache for friend assembly access.
(TypeManager.IsFriendAssembly): New method for
checking friend assembly access.
(TypeManager.Error_FriendAccessNameNotMatching): New
helper method.
(TypeManager.CompareKeyTokens): Likewise.
(TypeManager.Filter): Handle friend accessible
members.

* namespace.cs (RootNamespace.GetTypeInAssembly): Return
friend accessible types.

* ecore.cs (Expression.IsAccessorAccessible): Handle
friend accessible properties.

* decl.cs (DeclSpace.CheckAccessLevel): Handle friend
accessible types.

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

18 years ago - Use dotted lines instead of dashed lines to match MS better.
Jackson Harper [Fri, 4 Nov 2005 22:34:21 +0000 (22:34 -0000)]
- Use dotted lines instead of dashed lines to match MS better.

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

18 years ago * TreeView.cs: When the tree is sorted null out the top_node so
Jackson Harper [Fri, 4 Nov 2005 22:22:07 +0000 (22:22 -0000)]
* TreeView.cs: When the tree is sorted null out the top_node so
that it is recalculated.

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

18 years ago * TreeNodeCollection.cs: Refresh when nodes are cleared from the
Jackson Harper [Fri, 4 Nov 2005 22:01:29 +0000 (22:01 -0000)]
* TreeNodeCollection.cs: Refresh when nodes are cleared from the
collection.

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

18 years ago2005-11-04 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 4 Nov 2005 21:50:22 +0000 (21:50 -0000)]
2005-11-04  Robert Jordan  <robertj@gmx.net>

* IpcChannelHelper.cs: Removed the colon from the invalid pipe name
chars, because it is a valid char on NT systems and some .NET IPC
channel samples contain a colon in their port names.

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 21:31:13 +0000 (21:31 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12.cs: It's now possible to add multiple keys of the same size
inside a pkcs12 file. Fix bug #76627.

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 21:30:47 +0000 (21:30 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12Test.cs: Added tests for adding multiple keys with the same
size inside a pkcs12 file. Fixed test when removing different keys
from the structure (removed only it the public key match).

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 20:48:50 +0000 (20:48 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12.cs: Added tests for MaximumPasswordLength property wrt to the
CryptoAPI limits on the password length (32 characters) when importing
and exporting PKCS #12 files.

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 20:45:56 +0000 (20:45 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12.cs: Added MaximumPasswordLength property to allow decoding
the password with a length limits like MS PFXImportCertStore does.
In this case you just have to assign the value CryptoApiPasswordLimit
to the new static property.

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

18 years agooops forgot to save the ChangeLog before committing...
Sebastien Pouliot [Fri, 4 Nov 2005 18:46:14 +0000 (18:46 -0000)]
oops forgot to save the ChangeLog before committing...

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

18 years agookay, add the System.Web.Profile stuff back to the build (hopefully it won't break...
Chris Toshok [Fri, 4 Nov 2005 18:17:13 +0000 (18:17 -0000)]
okay, add the System.Web.Profile stuff back to the build (hopefully it won't break it this time).

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

18 years ago2005-11-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 18:07:41 +0000 (18:07 -0000)]
2005-11-04  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add the S.W.C_2.0/HttpModule*.cs files,
and nuke S.W.C_2.0/InternalSection.cs.

* System.Web.Configuration_2.0/SystemWebSectionGroup.cs: enable
the HttpModules property.

* System.Web.Configuration_2.0/HttpHandlerActionCollection.cs:
reindent, and add MonoTODO's.

* System.Web.Configuration_2.0/HttpHandlerAction.cs: use
properties in the ctor, and remove the instance variables.

* System.Web.Configuration_2.0/InternalSection.cs: nuke.

* System.Web.Configuration_2.0/HttpModuleActionCollection.cs: new
stubs.

* System.Web.Configuration_2.0/HttpModuleAction.cs: new stubs.

* System.Web.Configuration_2.0/HttpModulesSection.cs: new stubs.

* System.Web.Configuration_2.0/CompilationSection.cs: inherit from
ConfigurationSection, not InternalSection.

* System.Web.Configuration_2.0/SiteMapSection.cs: same.

* System.Web.Configuration_2.0/PagesSection.cs: same.

* System.Web.Configuration_2.0/MembershipSection.cs: same.

* System.Web.Configuration_2.0/AnonymousIdentificationSection.cs:
same.

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

18 years ago2005-11-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 17:25:17 +0000 (17:25 -0000)]
2005-11-04  Chris Toshok  <toshok@ximian.com>

* SettingsProvider.cs, SettingsPropertyValueCollection.cs,
SettingValueElement.cs, SettingElement.cs,
SettingsPropertyValue.cs, ApplicationSettingsBase.cs,
SettingsPropertyCollection.cs, SettingsProviderCollection.cs,
SettingElementCollection.cs: Add XML_DEPS and CONFIGURATION_DEPS
to get this to bootstrap compile.  What a pain.

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

18 years ago2005-11-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 17:12:24 +0000 (17:12 -0000)]
2005-11-04  Chris Toshok  <toshok@ximian.com>

* ApplicationSettingsBase.cs: remove unnecessary using.

* SettingValueElement.cs: add XML_DEP's.

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

18 years agoActivate CAS unit tests for System.CodeDom.Compiler.CodeCompiler
Sebastien Pouliot [Fri, 4 Nov 2005 16:28:11 +0000 (16:28 -0000)]
Activate CAS unit tests for System.CodeDom.Compiler.CodeCompiler

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

18 years agosvn path=/trunk/mcs/; revision=52583
Sebastien Pouliot [Fri, 4 Nov 2005 16:27:15 +0000 (16:27 -0000)]
svn path=/trunk/mcs/; revision=52583

18 years agoDocument the optional 'size' arguments for -k (generate keypair) that was introduced...
Sebastien Pouliot [Fri, 4 Nov 2005 16:23:05 +0000 (16:23 -0000)]
Document the optional 'size' arguments for -k (generate keypair) that was introduced in 2.0

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 16:16:05 +0000 (16:16 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* sn.cs: Added optional keysize argument to -k (generate keypair).
This is required as 2.0 allows key length from 384 to 16384 bits (i.e.
which are the CryptoAPI limitations on RSA).

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 16:15:43 +0000 (16:15 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* StrongName.cs: Added new constructor to specify the strongname key
size (which can vary from 384 bits to 16384 bits in 2.0). Fixed
PublicKey property not to assume a 1024 bits public key. Verification
was *already* working for any key length (so *much* older version of
Mono can verify new assemblies signatures without problem :-).

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

18 years ago* System_test.dll.sources: Added CodeCastExpressionTest.cs,
Gert Driesen [Fri, 4 Nov 2005 16:09:59 +0000 (16:09 -0000)]
* System_test.dll.sources: Added CodeCastExpressionTest.cs,
CodeCatchClauseTest.cs, CodeChecksumPragmaTest.cs,
CodeConstructorTest.cs, CodeDefaultValueExpressionTest.cs;
CodeDelegateCreateExpressionTest.cs, CodeEventReferenceExpressionTest.cs
CodeGotoStatementTest.cs, CodeLabeledStatementTest.cs,
CodeLinePragmaTest.cs, CodeMemberMethodTest.cs,
CodeMethodInvokeExpressionTest.cs, CodeMethodReferenceExpressionTest.cs,
CodeNamespaceImportTest.cs, CodeNamespaceTest.cs,
CodeObjectCreateExpressionTest.cs,
CodeParameterDeclarationExpressionTest.cs,
CodePropertyReferenceExpressionTest.cs, CodeRegionDirectiveTest.cs,
CodeSnippetCompileUnitTest.cs, CodeSnippetExpressionTest.cs,
CodeSnippetStatementTest.cs, CodeSnippetTypeMemberTest.cs,
CodeStatementCollectionTest.cs, CodeTypeConstructorTest.cs,
CodeTypeParameterTest.cs, CodeTypeOfExpressionTest.cs,
CodeTypeReferenceExpressionTest.cs,
CodeVariableDeclarationStatementTest.cs,
CodeVariableReferenceExpressionTest.cs
* CSharpCodeGenerator.cs: Ignore ChecksumData of CodeChecksumPragma
if null.
* CodeTypeReferenceExpressionTest.cs: Added tests.
* CodeVariableDeclarationStatementTest.cs: Added tests.
* CodePropertyReferenceExpressionTest.cs: Added tests.
* CodeNamespaceImportTest.cs: Added tests.
* CodeTypeConstructorTest.cs: Added tests.
* CodeSnippetExpressionTest.cs: Added tests.
* CodeParameterDeclarationExpressionTest.cs: Added tests.
* CodeObjectCreateExpressionTest.cs: Added tests.
* CodeTypeDelegateTest.cs: Set eol-style to native.
* CodeLabeledStatementTest.cs: Added tests.
* CodeConstructorTest.cs: Added tests.
* CodeTypeOfExpressionTest.cs: Added tests.
* CodeGotoStatementTest.cs: Added tests.
* CodeCastExpressionTest.cs: Added tests.
* CodeMemberFieldTest.cs: Set eol-style to native.
* CodeMethodInvokeExpressionTest.cs: Added tests.
* CodeEventReferenceExpressionTest.cs: Added tests.
* CodeChecksumPragmaTest.cs: Added tests.
* CodeSnippetCompileUnitTest.cs: Added tests.
* CodeNamespaceTest.cs: Added tests.
* CodeSnippetStatementTest.cs: Added tests.
* CodeMemberMethodTest.cs: Added tests.
* CodeMemberPropertyTest.cs: Set eol-style to native.
* CodeCatchClauseTest.cs: Added tests.
* CodeStatementCollectionTest.cs: Added tests.
* CodeRegionDirectiveTest.cs: Added tests.
* CodeTypeParameterTest.cs: Added tests.
* CodeVariableReferenceExpressionTest.cs: Added tests.
* CodeDefaultValueExpressionTest.cs: Added tests.
* CodeSnippetTypeMemberTest.cs: Added tests.
* CodeDelegateCreateExpressionTest.cs: Added tests.
* CodeLinePragmaTest.cs: Added tests.
* CodeMethodReferenceExpressionTest.cs: Added tests.
* CodeEventReferenceExpression.cs: EventName now returns zero-length
string if underlying value is null.
* CodeParameterDeclarationExpressionCollection.cs: Fixed AddRange to
add each item to collection using Add method to ensure validation
is performed.
* CodeChecksumPragma.cs: FileName now returns zero-length string
if underlying value is null.
* CodeSnippetCompileUnit.cs: Value now returns zero-length string if
underlying value is null.
* CodeNamespace.cs: Name now returns zero-length string if underlying
value is null.
* CodeSnippetStatement.cs: Value now returns zero-length string if
underlying value is null.
* CodeMemberMethod.cs: code formatting change.
* CodeCatchClause.cs: CatchExceptionType now returns CodeTypeReference
instance for System.Exception if underlying value is null. LocalName
now returns zero-length string if underlying value is null.
* CodeStatementCollection.cs: Fixed AddRange to add each item to
collection using Add method to ensure validation is performed. Code
formatting changes.
* CodeRegionDirective.cs: RegionText now returns zero-length string
if underlying value is null.
* CodeTypeParameter.cs: Name now returns zero-length string if
underlying value is null.
* CodeVariableReferenceExpression.cs: VariableName now returns
zero-length string if underlying value is null.
* CodeDefaultValueExpression.cs: Type now returns CodeTypeReference
for void if underlying value is null.
* CodeExpressionCollection.cs: Fixed AddRange to add each item to
collection using Add method to ensure validation is performed.
* CodeSnippetTypeMember.cs: Text now returns zero-length string if
underlying value is null.
* CodeTypeReferenceCollection.cs: Fixed AddRange to add each item
to collection using Add method to ensure validation is performed.
* CodeDelegateCreateExpression.cs: DelegateType now returns
CodeTypeReference for void if underlying value is null. MethodName
now returns zero-length string if underlying value is null.
* CodeMethodReferenceExpression.cs: MethodName now returns
zero-length string if underlying value is null.
* CodeLinePragma.cs: FileName now returns zero-length string if
underlying value is null.
* CodeTypeReferenceExpression.cs: Type now return CodeTypeReference
for void if underlying value is null.
* CodeVariableDeclarationStatement.cs: Name now return zero-length
string if underlying value is null. Type returns CodeTypeReference
for void if underlying value is null.
* CodePropertyReferenceExpression.cs: PropertyName now returns
zero-length string if underlying value is null.
* CodeNamespaceImport.cs: Namespace now returns zero-length string
if underlying value is null.
* CodeTypeConstructor.cs: Name is fixed to ".cctor" to match MS.NET.
* CodeSnippetExpression.cs: Value now returns zero-length string if
underlying value is null.
* CodeParameterDeclarationExpression.cs: Name now returns zero-length
string if underlying value is null. Type now returns CodeTypeReference
for void if underlying value is null.
* CodeObjectCreateExpression.cs: CreateType now returns
CodeTypeReference for void if underlying value is null.
* CodeLabeledStatement.cs: Label returns zero-length string if
underlying value is null.
* CodeConstructor.cs: Name is fixed to ".ctor" to match MS.NET.
* CodeTypeOfExpression.cs: Type returns CodeTypeReference for void
if underlying value is null.
* CodeGotoStatement.cs: Only throw ArgumentNullException for null or
zero-length label on 2.0 profile.
* CodeCastExpression.cs: TargetType returns CodeTypeReference for void
if underlying value is null.
* CodeMethodInvokeExpression.cs: Method returns a default
CodeMethodReferenceExpression instance if the underlying value is
null.

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

18 years agonew test case
Marek Safar [Fri, 4 Nov 2005 15:19:18 +0000 (15:19 -0000)]
new test case

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

18 years ago2005-11-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 4 Nov 2005 15:06:29 +0000 (15:06 -0000)]
2005-11-04  Marek Safar  <marek.safar@seznam.cz>

    * statement.cs (Block.variables): Uses ListDictionary.

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

18 years ago2005-11-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Nov 2005 14:14:45 +0000 (14:14 -0000)]
2005-11-04  Dick Porter  <dick@ximian.com>

        * sockets.c (ioctlsocket): Use select instead of if to avoid a
        type promotion problem on 64bit freebsd.  Based on patch by Lou
        Kamenov <kamenovl@gmail.com>, fixes bug 76447.

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

18 years ago2005-11-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Nov 2005 14:07:57 +0000 (14:07 -0000)]
2005-11-04  Dick Porter  <dick@ximian.com>

        * io.c (file_write): Only do the file locking if
        MONO_STRICT_IO_EMULATION is set.

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

18 years agoFri Nov 4 12:34:15 GMT 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 4 Nov 2005 11:49:51 +0000 (11:49 -0000)]
Fri Nov 4 12:34:15 GMT 2005 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: fixed compatibility with the new
floating point emulator package for compares.

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

18 years ago2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Fri, 4 Nov 2005 11:21:06 +0000 (11:21 -0000)]
2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>

* ListView.cs:
  - Implements key search for items. Useful when browsing files with FileDialog
  - When changing view mode or when clear the items reset scrollbar positions

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

18 years ago * CurrencyManager.cs: Implement the MetaDataChanged event, the
Jackson Harper [Fri, 4 Nov 2005 08:54:27 +0000 (08:54 -0000)]
* CurrencyManager.cs: Implement the MetaDataChanged event, the
Reset method, and the CheckEmpty. CheckEmpty is just a total guess
as to what the method may do as there is no real way of creating a
derived CurrencyManager and calling the method.

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

18 years ago2005-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Nov 2005 08:36:27 +0000 (08:36 -0000)]
2005-11-04  Atsushi Enomoto  <atsushi@ximian.com>

* XmlElementAttribute.cs : gimme Order; it fixes 100 or more
  sys.xml.schema corcompare diffs.

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

18 years ago * CurrencyManager.cs: Implement the MetaDataChanged event.
Jackson Harper [Fri, 4 Nov 2005 08:20:45 +0000 (08:20 -0000)]
* CurrencyManager.cs: Implement the MetaDataChanged event.

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

18 years ago2005-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Nov 2005 07:17:10 +0000 (07:17 -0000)]
2005-11-04  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs : filter property ReservedMask out; they show
  useless diffs.

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

18 years agoadd lots of stubbed out System.Configuration classes
Chris Toshok [Fri, 4 Nov 2005 05:09:52 +0000 (05:09 -0000)]
add lots of stubbed out System.Configuration classes

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

18 years ago2005-11-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 05:07:44 +0000 (05:07 -0000)]
2005-11-03  Chris Toshok  <toshok@ximian.com>

* ConfigurationSettings.cs: add ObsoleteAttribute's.

* ConfigurationException.cs: add ObsoleteAttribute's.

* IConfigurationSystem.cs: add ComVisibleAttribute.

* ApplicationSettingsBase.cs: new stubs, with a broken/naive
implementation.

* SettingElementCollection.cs, IPersistComponentSettings.cs,
SettingElement.cs, LocalFileSettingsProvider.cs,
SettingValueElement.cs: new stubs.

* SettingAttribute.cs: fix typo.

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

18 years ago * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
Jackson Harper [Fri, 4 Nov 2005 03:39:12 +0000 (03:39 -0000)]
* ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
* TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
method which seems to just be used internally to refresh the
* tabs.

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

18 years ago * TabControl.cs: Implement the remove method. Fix some broken
Jackson Harper [Fri, 4 Nov 2005 02:26:16 +0000 (02:26 -0000)]
* TabControl.cs: Implement the remove method. Fix some broken
comments.

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 4 Nov 2005 00:51:46 +0000 (00:51 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* DateTimePicker.cs:
  - Added missing DateTimePickerAccessibleObject class
  - Added missing events
  - Added OnFontChanged method
* Form.cs: Added missing attributes
* TreeView.cs: Added missing attributes

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 4 Nov 2005 00:23:46 +0000 (00:23 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* GridItemCollection.cs: Fix signatures

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

18 years agoback out the Profile changes for the time being.
Chris Toshok [Thu, 3 Nov 2005 23:58:08 +0000 (23:58 -0000)]
back out the Profile changes for the time being.

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 3 Nov 2005 23:52:07 +0000 (23:52 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUI.cs: Updated build rev/date
* ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
* Application.cs: Trigger context-specific ExitThread events

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

18 years ago * Menu.cs:
Jackson Harper [Thu, 3 Nov 2005 23:40:08 +0000 (23:40 -0000)]
* Menu.cs:
* MainMenu.cs:
* GrigTableStylesCollection.cs:
* Timer.cs:
* TabPage.cs:
* HelpProvider.cs:
* StatusBar.cs:
* MonthCalendar.cs: Signature fixes

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

18 years ago * TreeNodeCollection.cs: Remove should not be virtual.
Jackson Harper [Thu, 3 Nov 2005 23:17:52 +0000 (23:17 -0000)]
* TreeNodeCollection.cs: Remove should not be virtual.

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

18 years ago opps debug code.
Jackson Harper [Thu, 3 Nov 2005 23:14:32 +0000 (23:14 -0000)]
opps debug code.

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

18 years agoadd all the stubbed out System.Web.Profile stuff.
Chris Toshok [Thu, 3 Nov 2005 23:10:35 +0000 (23:10 -0000)]
add all the stubbed out System.Web.Profile stuff.

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

18 years ago2005-11-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 3 Nov 2005 23:09:43 +0000 (23:09 -0000)]
2005-11-03  Chris Toshok  <toshok@ximian.com>

* ProfileEventArgs.cs, ProfileProviderCollection.cs,
ProfileAutoSaveEventArgs.cs, ProfileMigrateEventArgs.cs,
ProfileBase.cs, ProfileManager.cs,
SettingsAllowAnonymousAttribute.cs, ProfileProviderAttribute.cs,
ProfileEventHandler.cs, CustomProviderDataAttribute.cs,
DefaultProfile.cs, ProfileModule.cs,
ProfileAutoSaveEventHandler.cs, ProfileGroupBase.cs,
ProfileMigrateEventHandler.cs: 90% unimplemented skeletons.

* ProfileInfoCollection.cs: make serializable.

* ProfileAuthenticationOption.cs: fix ordering of enum elements.

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

18 years ago * TreeView.cs: Implement the last of the missing methods.
Jackson Harper [Thu, 3 Nov 2005 23:04:35 +0000 (23:04 -0000)]
* TreeView.cs: Implement the last of the missing methods.

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

18 years ago2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 3 Nov 2005 22:57:28 +0000 (22:57 -0000)]
2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: no need to allocate the buffer when all the content
is preloaded.

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 3 Nov 2005 22:40:00 +0000 (22:40 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* Font.cs:
  - Implemented serialization constructor
  - Implemented GetObjectData()

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

18 years ago * TreeNodeConverter.cs: Implement to get off my class-status
Jackson Harper [Thu, 3 Nov 2005 22:39:36 +0000 (22:39 -0000)]
* TreeNodeConverter.cs: Implement to get off my class-status
          back.

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

18 years ago2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 3 Nov 2005 21:32:14 +0000 (21:32 -0000)]
2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListBox.cs: render the 'onchange' attribute when AutoPostback is
enabled. Fixes bug #76608.

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

18 years ago2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 3 Nov 2005 21:26:49 +0000 (21:26 -0000)]
2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
the logic to Render and make it render the ID, which fixes bug #76596.

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

18 years ago2005-11-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 3 Nov 2005 21:02:01 +0000 (21:02 -0000)]
2005-11-03  Chris Toshok  <toshok@ximian.com>

* ProfileInfoCollection.cs: new implementation.

* ProfileProvider.cs: new implementation.

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

18 years agomore test cases
Marek Safar [Thu, 3 Nov 2005 20:12:09 +0000 (20:12 -0000)]
more test cases

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

18 years ago2005-11-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 3 Nov 2005 20:10:51 +0000 (20:10 -0000)]
2005-11-03  Marek Safar  <marek.safar@seznam.cz>

Fix #75969.
* class.cs (PartialContainer.EmitType): Customized to emit
security attributes.
(ClassPart.ApplyAttributeBuilder): Transform security attribute
for partial classes.

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

18 years ago * TreeView.cs: Hookup the bits for drag and drop.
Jackson Harper [Thu, 3 Nov 2005 20:08:05 +0000 (20:08 -0000)]
* TreeView.cs: Hookup the bits for drag and drop.

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

18 years ago * TreeNode.cs: Don't cache the tree_view or index anymore, now
Jackson Harper [Thu, 3 Nov 2005 20:03:37 +0000 (20:03 -0000)]
* TreeNode.cs: Don't cache the tree_view or index anymore, now
that nodes can be moved from tree to tree easily this just causes
all sorts of problems.
* TreeNodeCollection: Don't need to give treenodes an index and
treeview anymore when they are added, these are computed on the
fly. Also make sure to remove a node before its added.

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

18 years agoConsts.cs.in: Added FxFileVersion for use in assemblies instead of RuntimeVersion.
Kornél Pál [Thu, 3 Nov 2005 19:21:08 +0000 (19:21 -0000)]
Consts.cs.in: Added FxFileVersion for use in assemblies instead of RuntimeVersion.

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

18 years agoSmall fixes.
Boris Kirzner [Thu, 3 Nov 2005 16:36:54 +0000 (16:36 -0000)]
Small fixes.

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

18 years agoFix incorrect commit
Miguel de Icaza [Thu, 3 Nov 2005 15:52:19 +0000 (15:52 -0000)]
Fix incorrect commit

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

18 years agoFix incorrect commit
Miguel de Icaza [Thu, 3 Nov 2005 15:51:43 +0000 (15:51 -0000)]
Fix incorrect commit

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

18 years agonew test
Marek Safar [Thu, 3 Nov 2005 15:49:54 +0000 (15:49 -0000)]
new test

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

18 years ago2005-11-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 3 Nov 2005 15:48:50 +0000 (15:48 -0000)]
2005-11-03  Marek Safar  <marek.safar@seznam.cz>

Fix #76599.
* expression.cs (ElementAccess.DoResolveLValue): Fixed buffer
access has to be fixed.

* typemanager.cs (IsUnmanagedType): Wrong common field type.

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

18 years agofixed text
Marek Safar [Thu, 3 Nov 2005 15:33:08 +0000 (15:33 -0000)]
fixed text

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

18 years ago * FileTypes.cs, UnixFileSystemInfo.cs: s/FIFO/Fifo/ to follow .NET
Jonathan Pryor [Thu, 3 Nov 2005 12:14:52 +0000 (12:14 -0000)]
* FileTypes.cs, UnixFileSystemInfo.cs: s/FIFO/Fifo/ to follow .NET
  naming conventions (as reported by FxCop).

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

18 years ago2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Nov 2005 12:14:34 +0000 (12:14 -0000)]
2005-11-03  Atsushi Enomoto  <atsushi@ximian.com>

* marshal.c, icall.c : reverted sig->pinvoke changes which broke
  Windows build (r51396-51397).

* mini.c : reverted sig->pinvoke changes (r51396-51397).

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

18 years agoConsts.cs.in: Added VsFileVersion that is used by assemblies.
Kornél Pál [Thu, 3 Nov 2005 12:09:54 +0000 (12:09 -0000)]
Consts.cs.in: Added VsFileVersion that is used by assemblies.

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

18 years agofixes to work with IBM GSSAPI
Konstantin Triger [Thu, 3 Nov 2005 11:19:37 +0000 (11:19 -0000)]
fixes to work with IBM GSSAPI

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 3 Nov 2005 11:13:29 +0000 (11:13 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs:
  - Added CaretSelection enum
  - Added comparison methods to Marker struct, makes selection code
    more readable
  - Added SelectionStart and SelectionEnd as 'moveable' location for
    the CaretDirection enum and handler
  - Added selection_prev variable to track optimized invalidation for
    word and line selection
  - Added SelectionVisible property (returns true if there is a valid
    selection)
  - Switched CaretHasFocus to only display the caret if there is no
    visible selection
  - Avoiding StringBuilder.ToString to retrieve a single char, instead
    using the direct character index; should be much faster
  - Added various conditional debug statements
  - Fixed invalidation calculation for selection ranges
  - Added ExpandSelection() method to support word and line selection
  - Switched SetSelectionToCaret to use new Marker compare overloads
  - Added central IsWordSeparator() method to determine word
    separators/whitespace and FindWordSeparator() to streamline common
    usage of IsWordSeparator()
* TextBoxBase.cs:
  - Removed unneeded grabbed variable, it was just mirroring
    Control.Capture
  - No longer firing OnTextChanged event when Text setter is called,
    since the base will fire the event for us
  - Added handling of Ctrl-Up/Down selection
  - Added handling of Shift-Cursorkey selection
  - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
    words
  - Added handling of Shift and Ctrl-Shift-Home/End selection
  - Removed some debug output
  - Added handling for single/double/tripple-click to place caret/
    select word/select line respectively (Fixes bug #76031)
  - Added support for drag expansion of word/line selection
* RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  current selection

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

18 years agothrow an exception if failed
Konstantin Triger [Thu, 3 Nov 2005 11:12:30 +0000 (11:12 -0000)]
throw an exception if failed

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

18 years agoifdef the unsupported method
Konstantin Triger [Thu, 3 Nov 2005 11:09:40 +0000 (11:09 -0000)]
ifdef the unsupported method

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

18 years agoNew test for #76581.
Martin Baulig [Thu, 3 Nov 2005 07:35:08 +0000 (07:35 -0000)]
New test for #76581.

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

18 years ago2005-11-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 3 Nov 2005 07:33:25 +0000 (07:33 -0000)]
2005-11-03  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_setup_vtable_general): Also add generic
methods to the vtable; fixes #76581.

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

18 years ago * X11Dnd.cs: If the drag is going to and from a MWF window just
Jackson Harper [Thu, 3 Nov 2005 01:28:36 +0000 (01:28 -0000)]
* X11Dnd.cs: If the drag is going to and from a MWF window just
copy the data instead of sending it out through the X Selection
mechanism.

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

18 years ago2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 2 Nov 2005 23:52:17 +0000 (23:52 -0000)]
2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
redirect or transfer and that causes a TAE to be thrown. Fixes
bug #76573.

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

18 years agoConsts.cs.in: Added RuntimeVersion numbers for 1.0 and 1.1 as well.
Kornél Pál [Wed, 2 Nov 2005 23:43:36 +0000 (23:43 -0000)]
Consts.cs.in: Added RuntimeVersion numbers for 1.0 and 1.1 as well.

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

18 years ago * X11Dnd.cs:
Jackson Harper [Wed, 2 Nov 2005 22:52:01 +0000 (22:52 -0000)]
* X11Dnd.cs:
* XplatUIX11.cs: When in a drag we don't want motion notify
messages to get passed on to the other controls. This prevents
mouse move messages from showing up in the drag source.

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

18 years ago * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
Jackson Harper [Wed, 2 Nov 2005 22:28:11 +0000 (22:28 -0000)]
* X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
the correct button is release to end a drag.
* XplatUIX11.cs: Make the button state internal so the drag system
can access it.  Dragging needs to know about all button releases,
not just left button.

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