Atsushi Eno [Tue, 22 Nov 2005 04:18:35 +0000 (04:18 -0000)]
2005-11-22 Atsushi Enomoto <atsushi@ximian.com>
* XslCompiledTransform.cs : added non-compiler transformer (aka. stub).
* System.Xml.dll.sources : added dummy XslCompiledTransform.cs.
svn path=/trunk/mcs/; revision=53337
Alexandre Rocha Lima e Marcondes [Tue, 22 Nov 2005 04:18:32 +0000 (04:18 -0000)]
2005-11-18 Jelmer Vernooij <jelmer@samba.org>
* mb-tokenizer.cs: add fix so the tokenizer no longer parses
label names at the start of continuation lines
svn path=/trunk/mcs/; revision=53336
César Natarén [Tue, 22 Nov 2005 01:56:30 +0000 (01:56 -0000)]
2005-11-21 Cesar Lopez Nataren <cnataren@novell.com>
* Statement.cs (class Switch): Preserve the value of
EmitContext.LoopEnd as can be overriden in nested blocks, for
example in a switch statement inside a for-loop.
svn path=/trunk/mcs/; revision=53334
Alexandre Rocha Lima e Marcondes [Tue, 22 Nov 2005 01:34:43 +0000 (01:34 -0000)]
2005-11-16 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* mb-parser.jay: Do not create a set_block with ReadOnly Properties.
* typemanager.cs: Search for correct DefaultPropName and the class
Type that contains the Default Property.
* expression.cs: Send the correct Type for porperties search;
Fix Error with uses of default properties without a Default Property
definition.
svn path=/trunk/mcs/; revision=53333
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 21:34:42 +0000 (21:34 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspParser.cs: don't change case for verbatim IDs.
Fixes bug #76657.
svn path=/trunk/mcs/; revision=53325
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 20:45:14 +0000 (20:45 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CheckBox.cs: use the NameAttribute property for setting 'name'.
* RadioButton.cs: get a UniqueID based identifier for 'name'.
Fixes bug #76710.
svn path=/trunk/mcs/; revision=53323
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 20:43:26 +0000 (20:43 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RadioButtonTest.cs: more tests for the 'name' attribute.
svn path=/trunk/mcs/; revision=53322
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 19:12:16 +0000 (19:12 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebROCollection.cs: override ToString and generate a query string from
the key/value pairs. Fixes bug #76779.
svn path=/trunk/mcs/; revision=53317
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 18:41:45 +0000 (18:41 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlInputButton.cs: render the onclick attribute only when the
button is a 'submit' and no validators or when the button is a
'button' and there's a registered ServerClick event. Fixes bug #76781.
svn path=/trunk/mcs/; revision=53316
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 18:39:12 +0000 (18:39 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlInputButtonTest.cs: more tests for 'onclick'.
svn path=/trunk/mcs/; revision=53315
Sebastien Pouliot [Mon, 21 Nov 2005 18:37:44 +0000 (18:37 -0000)]
Add CAS/unit tests for System.Text.RegularExpressions
svn path=/trunk/mcs/; revision=53314
Sebastien Pouliot [Mon, 21 Nov 2005 18:37:01 +0000 (18:37 -0000)]
2005-11-21 Sebastien Pouliot <sebastien@ximian.com>
* CaptureCas.cs: New. CAS tests.
* CaptureCollectionCas.cs: New. CAS tests.
* GroupCas.cs: New. CAS tests.
* GroupCollectionCas.cs: New. CAS tests.
* GroupTest.cs: New. Unit tests.
* MatchCas.cs: New. CAS tests.
* MatchCollectionCas.cs: New. CAS tests.
* MatchTest.cs: New. Unit tests.
* RegexCas.cs: New. CAS tests.
* RegexCompilationInfoCas.cs: New. CAS tests.
* RegexCompilationInfoTest.cs: New. Unit tests.
* RegexRunnerCas.cs: New. CAS tests.
* RegexRunnerFactoryCas.cs: New. CAS tests.
* RegexTest.cs: Added test cases for new (2.0) CacheSize property.
svn path=/trunk/mcs/; revision=53313
Sebastien Pouliot [Mon, 21 Nov 2005 18:33:35 +0000 (18:33 -0000)]
2005-11-21 Sebastien Pouliot <sebastien@ximian.com>
* CaptureCollection.cs: Fixed length check.
* Group.cs: Added missing validation for Synchronized method.
* Match.cs: Added missing validation for Synchronized and Result
methods.
* MatchEvaluator.cs: Added [Serializable] for 2.0 profile.
* RegexCompilationInfo.cs: Added missing property validation.
* Regex.cs: Implemented UseOptionC and UseOptionR protected methods
(now documented). Fixed API for 2.0 profile.
* RegexRunner.cs: Stubbed CharInClass for 2.0 profile.
svn path=/trunk/mcs/; revision=53312
Senganal T [Mon, 21 Nov 2005 14:44:27 +0000 (14:44 -0000)]
2005-11-21 Senganal T <tsenganal@novell.com>
* OracleCommandBuilder.cs :
- ApplyParameterInfo - modified the args list
- GetParameterName (string) - added
Changes for ado.net 2.0 api compatibility
svn path=/trunk/mcs/; revision=53306
Martin Baulig [Mon, 21 Nov 2005 14:23:03 +0000 (14:23 -0000)]
2005-11-21 Martin Baulig <martin@ximian.com>
* class-internals.h
(MonoMethod): Moved the `generic_container' here from
`MonoMethodNormal' since we now also need it for
`MonoMethodPInvoke';
(MonoMethodNormal): Moved the `generic_container' to `MonoMethod'.
(MonoMethodInflated): Replaced the `MonoMethodNormal nmethod' with
an union containing both `MonoMethodNormal' and
`MonoMethodPInvoke'.
* loader.c
(mono_get_method_from_token): Allow implementing generic methods
as interncalls.
* threads.c
(ves_icall_System_Threading_Interlocked_CompareExchange_T): New
icall.
svn path=/trunk/mono/; revision=53305
Ankit Jain [Mon, 21 Nov 2005 14:04:10 +0000 (14:04 -0000)]
* Metadata.cs (MetaData.WriteCodedIndex): Fix indentation.
svn path=/trunk/mcs/; revision=53304
Ankit Jain [Mon, 21 Nov 2005 13:50:50 +0000 (13:50 -0000)]
* Metadata.cs (GenericParameter.SortKey2): New. Use index as the secondary key.
(GenericParameter.Size): Set size correctly.
(GenericParameter.Write): Use StringsIndex to write the index.
(MetaData.WriteTildeStream): Emit 2,0 as version for NET_2_0 profile.
(MetaData.version): Use 'v2.0.50727' for NET_2_0 profile.
(MetaData.BuildMetaData): Build and sort GenericParam, MethodSpec and
GenericParamConstraint tables only for NET_2_0 profile.
svn path=/trunk/mcs/; revision=53303
Senganal T [Mon, 21 Nov 2005 13:50:02 +0000 (13:50 -0000)]
2005-11-21 Senganal T <tsenganal@novell.com>
* Dns.cs : corrected a mistake in GetHostEntry ()
svn path=/trunk/mcs/; revision=53302
Senganal T [Mon, 21 Nov 2005 13:08:48 +0000 (13:08 -0000)]
2005-11-21 Senganal T <tsenganal@novell.com>
* System/System.Net/Dns.cs : added GetHostEntry() method for 2.0 api conformance
* System.Data/System.Data.ProviderBase/DbParameterCollectionBase.cs
- Marked CheckName method as virtual
* System.Data/System.Data.ProviderBase/DbParameterBase.cs
- Marked Offset property and CopyTo method as virtual
* System.Data/System.Data.Common/DbMetaDataCollectionNames.cs (new file)
- Added DbMetaDataCollectionNames Enumeration
* System.Data/System.Data.dll.sources:
- Added System.Data/ConflictOption.cs : Source file for ConflictOption
enumeration.
* System.Data/System.Data/ConflictOption.cs (new file)
- Added ConflictOption Enumeration
* System.Data/System.Data/DataTableReader.cs
* System.Data/System.Data/IDataRecord2.cs
- GetProviderSpecificFieldType : Corrected the method name
* System.Data/System.Data.Common/DbDataAdapter.cs
* System.Data/System.Data.Common/DbParameter.cs
* System.Data/System.Data.Common/DbTransaction.cs
* System.Data/System.Data.Common/DbTable.cs
* System.Data/System.Data.Common/DbProviderFactories.cs
* System.Data/System.Data.Common/DbException.cs
* System.Data/System.Data.Common/DbProviderFactory.cs
* System.Data/System.Data.Common/DbCommandBuilder.cs
* System.Data/System.Data.Common/DbDataReader.cs
* System.Data/System.Data.Common/DbParameterCollection.cs
* System.Data/System.Data.SqlClient/SqlClientFactory.cs
* System.Data/System.Data.SqlClient/SqlCommandBuilder.cs
* System.Data/System.Data.SqlClient/SqlParameterCollection.cs
* System.Data/System.Data.SqlClient/SqlDataReader.cs
* System.Data/System.Data.SqlClient/SqlDataAdapter.cs
* System.Data/System.Data.SqlClient/SqlParameter.cs
* System.Data/System.Data.SqlClient/SqlTransaction.cs
* System.Data/System.Data.Odbc/OdbcTransaction.cs
* System.Data/System.Data.Odbc/OdbcCommandBuilder.cs
* System.Data/System.Data.Odbc/OdbcParameterCollection.cs
* System.Data/System.Data.Odbc/OdbcDataReader.cs
* System.Data/System.Data.Odbc/OdbcFactory.cs
* System.Data/System.Data.Odbc/OdbcDataAdapter.cs
* System.Data/System.Data.Odbc/OdbcParameter.cs
Added stubs and other changes for ADO.NET 2.0 compatibility
svn path=/trunk/mcs/; revision=53301
Raja R Harinath [Mon, 21 Nov 2005 09:04:17 +0000 (09:04 -0000)]
* scripts/Makefile.am (bin_SCRIPTS): Move 'gmcs' to ...
(scripts_2_0): ... here.
(gmcs): Remove special-case rule.
svn path=/trunk/mono/; revision=53299
Raja R Harinath [Mon, 21 Nov 2005 09:03:18 +0000 (09:03 -0000)]
* Makefile (net_2_0_bootstrap_SUBDIRS): Add ilasm.
(net_2_0_SUBDIRS): Likewise.
* class/Makefile (net_2_0_bootstrap_SUBDIRS): Add PEAPI.
(net_1_1_java_SUBDIRS): New. Don't use 'ifeq ($(PROFILE))' to
define SUBDIRS.
* class/Microsoft.VisualBasic/Makefile (bootstrap_profile): New. Defines
the bootstrap profile associated with the current profile.
(ilasm, ILASM): Use it.
($(the_il)): Don't be too eager to delete temporary files.
svn path=/trunk/mcs/; revision=53298
Marek Safar [Mon, 21 Nov 2005 08:02:45 +0000 (08:02 -0000)]
2005-11-21 Marek Safar <marek.safar@seznam.cz>
Fix #76761.
* parameter.cs (Parameter.ApplyAttributeBuilder): Fixed `ref' detection.
svn path=/trunk/mcs/; revision=53297
Gonzalo Paniagua Javier [Mon, 21 Nov 2005 07:26:50 +0000 (07:26 -0000)]
2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpServerUtility.cs: prevent possible nullref in GetLastError().
svn path=/trunk/mcs/; revision=53296
Raja R Harinath [Mon, 21 Nov 2005 06:05:42 +0000 (06:05 -0000)]
Make line-endings uniform
svn path=/trunk/mcs/; revision=53295
Atsushi Eno [Sun, 20 Nov 2005 23:12:39 +0000 (23:12 -0000)]
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
* CP949.cs : UHC level 2 base number is wrong.
Fixed bug #76760 Patch by Hye-Shik Chang.
svn path=/trunk/mcs/; revision=53294
Gert Driesen [Sun, 20 Nov 2005 18:46:58 +0000 (18:46 -0000)]
* CodeParameterDeclarationExpressionCollection.cs: Use CollectionBase
implementation of IList.Remove to handle removal of item from
collection.
* CodeCatchClauseCollection.cs: Same.
* CodeStatementCollection.cs: Same.
* CodeAttributeDeclarationCollection.cs: Same.
* CodeTypeMemberCollection.cs: Same.
* CodeDirectiveCollection.cs: Same.
* CodeTypeDeclarationCollection.cs: Same.
* CodeNamespaceCollection.cs: Same.
* CodeExpressionCollection.cs: Same.
* CodeTypeReferenceCollection.cs: Same.
* CodeTypeParameterCollection.cs: Same.
* CodeCommentStatementCollection.cs: Same.
* CodeAttributeArgumentCollection.cs: Same.
* CodeTypeParameterCollectionTest.cs: Improve coverage of AddRange
test. Added Remove tests.
* CodeParameterDeclarationExpressionCollectionTest.cs: Same.
* CodeCatchClauseCollectionTest.cs: Same.
* CodeStatementCollectionTest.cs: Same.
* CodeTypeMemberCollectionTest.cs: Same.
* CodeExpressionCollectionTest.cs: Same.
* CodeTypeReferenceCollectionTest.cs: Same.
* CodeCommentStatementCollectionTest.cs: Same.
* CodeAttributeArgumentCollectionTest.cs: Same.
* CodeAttributeDeclarationCollectionTest.cs: Same.
* CodeDirectiveCollectionTest.cs: Same.
* CodeTypeDeclarationCollectionTest.cs: Same.
* CodeNamespaceCollectionTest.cs: Same.
svn path=/trunk/mcs/; revision=53293
Zoltan Varga [Sun, 20 Nov 2005 18:34:30 +0000 (18:34 -0000)]
2005-11-20 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c exceptions-ia64.c: Simplify the way filters/finally
handlers are called.
svn path=/trunk/mono/; revision=53292
Gert Driesen [Sun, 20 Nov 2005 17:38:12 +0000 (17:38 -0000)]
* CodeEventReferenceExpression.cs: Set eol-style to native.
* CodeArgumentReferenceExpression.cs: Set eol-style to native.
* CodeParameterDeclarationExpressionCollection.cs: Set eol-style to native.
* CodeRegionMode.cs: Set eol-style to native.
* FieldDirection.cs: Set eol-style to native.
* CodeChecksumPragma.cs: Set eol-style to native.
* CodeCatchClauseCollection.cs: Set eol-style to native.
* CodeAttachEventStatement.cs: Set eol-style to native.
* CodeSnippetCompileUnit.cs: Set eol-style to native.
* CodeNamespace.cs: Set eol-style to native.
* CodePropertySetValueReferenceExpression.cs: Set eol-style to native.
* CodeTypeReference.cs: Set eol-style to native.
* CodeDirectionExpression.cs: Set eol-style to native.
* CodeThisReferenceExpression.cs: Set eol-style to native.
* CodeSnippetStatement.cs: Set eol-style to native.
* CodeMemberMethod.cs: Set eol-style to native.
* CodeMemberProperty.cs: Set eol-style to native.
* CodeEntryPointMethod.cs: Set eol-style to native.
* CodeTypeReferenceOptions.cs: Set eol-style to native.
* CodeIndexerExpression.cs: Set eol-style to native.
* CodeCatchClause.cs: Set eol-style to native.
* CodeStatementCollection.cs: Set eol-style to native.
* CodeRegionDirective.cs: Set eol-style to native.
* CodeTypeParameter.cs: Set eol-style to native.
* CodeIterationStatement.cs: Set eol-style to native.
* CodeRemoveEventStatement.cs: Set eol-style to native.
* CodeVariableReferenceExpression.cs: Set eol-style to native.
* CodeAttributeDeclarationCollection.cs: Set eol-style to native.
* CodeTryCatchFinallyStatement.cs: Set eol-style to native.
* CodeTypeMemberCollection.cs: Set eol-style to native.
* CodeCompileUnit.cs: Set eol-style to native.
* CodePrimitiveExpression.cs: Set eol-style to native.
* CodeDirectiveCollection.cs: Fixed line endings. Set eol-style to native.
* CodeTypeDeclarationCollection.cs: Set eol-style to native.
* CodeNamespaceImportCollection.cs: Set eol-style to native.
* CodeNamespaceCollection.cs: Set eol-style to native.
* CodeTypeMember.cs: Set eol-style to native.
* CodeAttributeDeclaration.cs: Set eol-style to native.
* CodeConditionStatement.cs: Set eol-style to native.
* CodeExpressionCollection.cs: Set eol-style to native.
* CodeTypeReferenceCollection.cs: Set eol-style to native.
* CodeSnippetTypeMember.cs: Set eol-style to native.
* CodeDelegateCreateExpression.cs: Set eol-style to native.
* CodeLinePragma.cs: Set eol-style to native.
* CodeMethodReferenceExpression.cs: Set eol-style to native.
* CodeVariableDeclarationStatement.cs: Set eol-style to native.
* CodeTypeReferenceExpression.cs: Set eol-style to native.
* CodeArrayCreateExpression.cs: Set eol-style to native.
* CodeFieldReferenceExpression.cs: Set eol-style to native.
* CodePropertyReferenceExpression.cs: Set eol-style to native.
* CodeTypeDeclaration.cs: Set eol-style to native.
* CodeTypeConstructor.cs: Set eol-style to native.
* CodeNamespaceImport.cs: Set eol-style to native.
* CodeTypeParameterCollection.cs: Use for loop instead of foreach to add
elements in AddRange method. Fixed line endings. Set eol-style to native.
* CodeTypeParameterCollection.cs: Set eol-style to native.
* CodeExpression.cs: Set eol-style to native.
* CodeBinaryOperatorType.cs: Set eol-style to native.
* CodeSnippetExpression.cs: Set eol-style to native.
* CodeCommentStatementCollection.cs: Set eol-style to native.
* CodeMethodReturnStatement.cs: Set eol-style to native.
* CodeObject.cs: Set eol-style to native.
* CodeParameterDeclarationExpression.cs: Set eol-style to native.
* CodeDelegateInvokeExpression.cs: Set eol-style to native.
* CodeThrowExceptionStatement.cs: Set eol-style to native.
* CodeObjectCreateExpression.cs: Set eol-style to native.
* CodeTypeDelegate.cs: Set eol-style to native.
* CodeLabeledStatement.cs: Set eol-style to native.
* CodeArrayIndexerExpression.cs: Set eol-style to native.
* CodeBinaryOperatorExpression.cs: Set eol-style to native.
* CodeAttributeArgumentCollection.cs: Set eol-style to native.
* MemberAttributes.cs: Set eol-style to native.
* CodeExpressionStatement.cs: Set eol-style to native.
* CodeConstructor.cs: Set eol-style to native.
* CodeTypeOfExpression.cs: Set eol-style to native.
* CodeCommentStatement.cs: Set eol-style to native.
* CodeGotoStatement.cs: Set eol-style to native.
* CodeComment.cs: Set eol-style to native.
* CodeStatement.cs: Set eol-style to native.
* CodeMemberEvent.cs: Set eol-style to native.
* CodeBaseReferenceExpression.cs: Set eol-style to native.
* CodeAssignStatement.cs: Set eol-style to native.
* CodeCastExpression.cs: Set eol-style to native.
* CodeMemberField.cs: Set eol-style to native.
* CodeMethodInvokeExpression.cs: Set eol-style to native.
* CodeDirective.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=53289
Gert Driesen [Sun, 20 Nov 2005 17:21:40 +0000 (17:21 -0000)]
* CodeTypeParameterCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCatchClauseCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeStatementCollectionTest.cs: Added AddRange test for null item.
* CodeTypeMemberCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCommentStatementCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeAttributeArgumentCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeAttributeDeclarationCollectionTest.cs: Added tests for ctors,
and Add/AddRange/Insert methods.
* CodeDirectiveCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeTypeDeclarationCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeNamespaceImportCollectionTest.cs: Added tests for ctor, Add and
AddRange methods.
* CodeNamespaceCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCatchClauseCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeAttributeDeclarationCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeTypeMemberCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeTypeDeclarationCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeNamespaceImportCollection.cs: Added null check to Add and perform
case-insensitive check on namespace to avoid duplicate namespace
imports. Added null check to AddRange method.
* CodeNamespaceCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeCommentStatementCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeAttributeArgumentCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeDirectiveCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeTypeParameterCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* System_test.dll.sources: Added CodeNamespaceImportCollectionTest.cs,
CodeNamespaceCollectionTest.cs, CodeTypeDeclarationCollectionTest.cs,
CodeTypeMemberCollectionTest.cs, CodeTypeParameterCollectionTest.cs,
CodeAttributeArgumentCollectionTest.cs, CodeDirectiveCollectionTest.cs,
CodeAttributeDeclarationCollectionTest.cs,
CodeCatchClauseCollectionTest.cs,
CodeCommentStatementCollectionTest.cs.
svn path=/trunk/mcs/; revision=53288
Zoltan Varga [Sun, 20 Nov 2005 15:14:39 +0000 (15:14 -0000)]
2005-11-20 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c (mono_arch_emit_exceptions): Optimize size of exception
throwing code.
* mini-ia64.c: Add support for the throw->branch exception
optimization.
svn path=/trunk/mono/; revision=53287
Zoltan Varga [Sun, 20 Nov 2005 14:04:56 +0000 (14:04 -0000)]
2005-11-20 Zoltan Varga <vargaz@gmail.com>
* driver.c (DEFAULT_OPTIMIZATIONS): Add MONO_OPT_EXCEPTION.
svn path=/trunk/mono/; revision=53286
Jackson Harper [Sat, 19 Nov 2005 21:18:50 +0000 (21:18 -0000)]
* XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
(just like on windows).
svn path=/trunk/mcs/; revision=53282
Zoltan Varga [Sat, 19 Nov 2005 18:43:56 +0000 (18:43 -0000)]
2005-11-19 Zoltan Varga <vargaz@gmail.com>
* ArrayTest.cs: Reenable some previously not-working 2.0 tests.
svn path=/trunk/mcs/; revision=53278
Zoltan Varga [Sat, 19 Nov 2005 18:42:06 +0000 (18:42 -0000)]
2005-11-19 Zoltan Varga <vargaz@gmail.com>
* KeyNotFoundException.cs: Add default message.
svn path=/trunk/mcs/; revision=53277
Zoltan Varga [Sat, 19 Nov 2005 18:41:18 +0000 (18:41 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* Interlocked.cs: Add generic CompareExchange and Exchange methods.
svn path=/trunk/mcs/; revision=53276
Zoltan Varga [Sat, 19 Nov 2005 18:39:24 +0000 (18:39 -0000)]
2005-11-19 Zoltan Varga <vargaz@gmail.com>
* AssemblyBuilder.cs: Add support for setting FileVersion unmanaged
resource. Fixes #64427.
svn path=/trunk/mcs/; revision=53275
Zoltan Varga [Sat, 19 Nov 2005 18:37:36 +0000 (18:37 -0000)]
2005-11-19 Zoltan Varga <vargaz@gmail.com>
* Win32Resources.cs: Add a new 'FileVersion' property.
svn path=/trunk/mcs/; revision=53274
Zoltan Varga [Sat, 19 Nov 2005 16:34:46 +0000 (16:34 -0000)]
2005-11-19 Zoltan Varga <vargaz@gmail.com>
* TypeDescriptor.cs: Small changes to make this more compliant with
MSDN docs and actual MS behaviour.
svn path=/trunk/mcs/; revision=53272
Jackson Harper [Sat, 19 Nov 2005 08:23:56 +0000 (08:23 -0000)]
remove debug code.
svn path=/trunk/mcs/; revision=53270
Jackson Harper [Sat, 19 Nov 2005 08:14:52 +0000 (08:14 -0000)]
* MdiChildContext.cs: Handle all the buttons ourselves. We can't
use real buttons anymore because they are in non client area. The
one TODO here is that I need to somehow invalidate a section of
the non client area.
svn path=/trunk/mcs/; revision=53269
Chris Toshok [Sat, 19 Nov 2005 07:03:55 +0000 (07:03 -0000)]
2005-11-19 Chris Toshok <toshok@ximian.com>
* CompilationConfigurationHandler.cs (ReadCompilers): call
CompilerCollection.Add in the 2.0 case, as it doesn't expose a
setter indexer.
* CompilationConfiguration.cs: need this to keep things compiling,
even though CompilationConfiguration doesn't need to be used in
the 2.0 case.
svn path=/trunk/mcs/; revision=53268
Chris Toshok [Sat, 19 Nov 2005 06:56:05 +0000 (06:56 -0000)]
2005-11-19 Chris Toshok <toshok@ximian.com>
* Compiler.cs: wrap in #if !NET_2_0 and remove a lot of stubs that
now exist in System.Web.Configuration_2.0.
svn path=/trunk/mcs/; revision=53267
Chris Toshok [Sat, 19 Nov 2005 05:38:47 +0000 (05:38 -0000)]
add System.Web.Configuration_2.0/Compiler{Collection}.cs
svn path=/trunk/mcs/; revision=53266
Chris Toshok [Sat, 19 Nov 2005 05:33:23 +0000 (05:33 -0000)]
2005-11-18 Chris Toshok <toshok@ximian.com>
* CompilerCollection.cs: wrap in #if !NET_2_0, and remove a lot of
stubs that now exist in System.Web.Configuration_2.0.
svn path=/trunk/mcs/; revision=53265
Chris Toshok [Sat, 19 Nov 2005 04:10:50 +0000 (04:10 -0000)]
back out change
svn path=/trunk/mcs/; revision=53264
Jackson Harper [Sat, 19 Nov 2005 03:43:50 +0000 (03:43 -0000)]
- Get the move start position before adjusting for the titlebar
height, this fixes the windows "skipping" when they are first
moved.
svn path=/trunk/mcs/; revision=53263
Jackson Harper [Sat, 19 Nov 2005 03:37:19 +0000 (03:37 -0000)]
* Control.cs: Put the enum check back in now that MDI doesnt have
to use this to set border styles.
* Form.cs: Only set mdi child windows borders if the handle has
been created.
* MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
this directly on to the driver.
svn path=/trunk/mcs/; revision=53262
Chris Toshok [Sat, 19 Nov 2005 01:39:42 +0000 (01:39 -0000)]
2005-11-18 Chris Toshok <toshok@ximian.com>
* HostingEnvironmentSection.cs (.cctor): add validators.
* CompilationSection.cs (.cctor): fix defaultvalue of
urlLinePragmas.
svn path=/trunk/mcs/; revision=53261
Chris Toshok [Sat, 19 Nov 2005 00:50:57 +0000 (00:50 -0000)]
2005-11-18 Chris Toshok <toshok@ximian.com>
* ProfileModule.cs: hook up saving of the request's profile.
* ProfileBase.cs (Save): call base.Save instead of throwing NIE.
svn path=/trunk/mcs/; revision=53260
Chris Toshok [Sat, 19 Nov 2005 00:47:09 +0000 (00:47 -0000)]
2005-11-18 Chris Toshok <toshok@ximian.com>
* SystemWebSectionGroup.cs: enable a whole slew of properties.
* RegexWorker.cs: stub this out.
* HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
of the other partial files.
* CompilationSection.cs: fix this up.
* PagesSection.cs: fix some types and add a comment to
DeserializeSection.
* CompilerCollection.cs (Add): new internal method.
* ProvidersHelper.cs: put the using System.Configuration.Provider
inside the NET_2_0 block.
* CacheSection.cs: add validators.
svn path=/trunk/mcs/; revision=53259
Jackson Harper [Fri, 18 Nov 2005 23:37:20 +0000 (23:37 -0000)]
* XplatUIX11.cs: Just compute the mdi borders separately as they
don't totally match up with normal form borders.
svn path=/trunk/mcs/; revision=53258
Chris Toshok [Fri, 18 Nov 2005 23:28:52 +0000 (23:28 -0000)]
2005-11-18 Chris Toshok <toshok@ximian.com>
* GlobalizationSectionTest.cs, HostingEnvironmentSectionTest.cs,
CacheSectionTest.cs, CustomErrorsSectionTest.cs,
HealthMonitoringSectionTest.cs, CompilationSectionTest.cs,
DeploymentSectionTest.cs, ClientTargetSectionTest.cs: new tests.
svn path=/trunk/mcs/; revision=53257
Jackson Harper [Fri, 18 Nov 2005 23:04:36 +0000 (23:04 -0000)]
* Control.cs: Set WS_ styles for borders, so that the driver does
not have to retrieve the control instance to figure out what kind
of borders it should have.
* Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
driver can know its an mdi child easily.
* XplatUIX11.cs: Get the border styles and whether the window is
MDI from the Styles and ExStyles params instead of having to get a
control. This prevents a chicken and egg problem.
svn path=/trunk/mcs/; revision=53256
Jackson Harper [Fri, 18 Nov 2005 22:07:14 +0000 (22:07 -0000)]
* MdiClient.cs: Fix typo so scrollbars show up correctly.
svn path=/trunk/mcs/; revision=53253
Zoltan Varga [Fri, 18 Nov 2005 21:14:21 +0000 (21:14 -0000)]
2005-11-18 Zoltan Varga <vargaz@gmail.com>
* ParameterBuilder.cs (SetCustomAttribute): Handle DefaultParameterValueAttribute as well.
* CustomAttributeBuilder.cs: Add support for decoding more types of
constructor parameters.
svn path=/trunk/mcs/; revision=53249
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 20:37:47 +0000 (20:37 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LinkButton.cs: don't output any javascript when the linkbutton is
disabled. Fixes bug #76713.
svn path=/trunk/mcs/; revision=53246
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 19:59:16 +0000 (19:59 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
UseAccesibleHeader property is true. Patch by Robert Jordan.
svn path=/trunk/mcs/; revision=53244
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 19:40:45 +0000 (19:40 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseValidator.cs: 'controltovalidate' must be the ClientID of the
control to validate. Fixes bug #76641.
svn path=/trunk/mcs/; revision=53243
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 19:14:23 +0000 (19:14 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BoundColumn.cs: when the column is readonly and we're in edit mode,
keep it as a TextBox. Fixes bug #76714.
svn path=/trunk/mcs/; revision=53242
Marek Safar [Fri, 18 Nov 2005 16:30:44 +0000 (16:30 -0000)]
2005-11-18 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (AreParametersCompliant): Moved to Parameter.
* class.cs (MethodCore): Parameter clean up.
(IMethodData): Added ParameterInfo.
(MethodData): Parameter clean up.
(Indexer.Define): Parameter clean up.
* anonymous.cs,
* codegen.cs,
* cs-parser.jay,
* decl.cs,
* doc.cs,
* ecore.cs,
* flowanalysis.cs,
* iterators.cs,
* pending.cs,
* statement.cs,
* typemanager.cs: Parameter clean up.
* delegate.cs (Define): Get rid of duplicated code.
* expression.cs (ParameterReference): Removed useless parameters
and simplified.
(Invocation): Ditto.
* parameter.cs (ParamsParameter): New class, params specialization.
(ArglistParameter): Attemp to separate arglist.
(Parameter): Refactored to be reusable and faster.
(Parameter.Modifier): Made understandable.
(Parameters): Changed to be used as a class for `this' assembly
parameters. Refactored to use new specialized classes.
* support.cs (ParameterData): Added Types property.
(InternalParameters): Deleted.
svn path=/trunk/mcs/; revision=53239
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 16:16:00 +0000 (16:16 -0000)]
patch by Michael Hutchinson to use the environment variable http_proxy
svn path=/trunk/mono/; revision=53237
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 16:14:18 +0000 (16:14 -0000)]
patch by Michael Hutchinson to use the environment variable http_proxy
svn path=/trunk/mcs/; revision=53236
Massimiliano Mantione [Fri, 18 Nov 2005 15:32:32 +0000 (15:32 -0000)]
2005-11-18 Massimiliano Mantione <massi@ximian.com>
* mini.c: Enabled "fastpath" deadce :-)
svn path=/trunk/mono/; revision=53231
Sebastien Pouliot [Fri, 18 Nov 2005 14:17:11 +0000 (14:17 -0000)]
2005-11-18 Sebastien Pouliot <sebastien@ximian.com>
* X509Extension.cs: Keep in sync with Mono.Security.dll.
svn path=/trunk/mcs/; revision=53230
Sebastien Pouliot [Fri, 18 Nov 2005 14:13:38 +0000 (14:13 -0000)]
2005-11-18 Sebastien Pouliot <sebastien@ximian.com>
* X509Extension.cs: Changed default ctor to protected to help
extensibility outside of Mono.Security.dll (fix bug #76742).
svn path=/trunk/mcs/; revision=53229
Massimiliano Mantione [Fri, 18 Nov 2005 12:49:21 +0000 (12:49 -0000)]
2005-11-18 Massimiliano Mantione <massi@ximian.com>
* mini.c: Added "fastpath" deadce (deadce without SSA), and a simple
alias analysis pass to support it.
* mini.h: Likewise.
* ssa.c: Likewise.
* liveness.c: Likewise (liveness computation can use aliasing
information to be more accurate).
* driver.c: Added an "ssa" option go tell the JIT to use SSA, and
moreover made so that "--compile-all" uses the given optimization
flags and not the default ones.
* aliasing.c: Alias analysis (new file).
* aliasing.h: Likewise.
* Makefile.am: added "aliasing.c" and "aliasing.h".
svn path=/trunk/mono/; revision=53226
Jackson Harper [Fri, 18 Nov 2005 11:17:32 +0000 (11:17 -0000)]
- No height for FormBorderStyle.None
svn path=/trunk/mcs/; revision=53225
Jackson Harper [Fri, 18 Nov 2005 11:13:11 +0000 (11:13 -0000)]
* MdiChildContext.cs: Adjust the y position to take the titlebar
into account.
svn path=/trunk/mcs/; revision=53224
Jackson Harper [Fri, 18 Nov 2005 10:54:24 +0000 (10:54 -0000)]
* MdiClient.cs: Calculate when to add and remove scrollbars
correctly.
svn path=/trunk/mcs/; revision=53223
Jackson Harper [Fri, 18 Nov 2005 10:17:41 +0000 (10:17 -0000)]
* Control.cs: Allow non enum values to be used for
InternalBorderStyle. MDI does this to set a special border style.
- New utility methods for converting points to/from client coords
- Add the newly created control to the Controls collection before
updating its style. This way UpdateStyle can walk the control
heirarchy to find the control if needed.
so I don't need to create a new Point object all the time.
* Form.cs: Let MDI windows handle their border styles.
- Set styles on MDI windows so the correct title style is derived.
* MdiChildContext.cs: Move all the painting and window handling
into the non client area.
- Use correct sizing and put correct buttons on frames based on
the FormBorderStyle.
- Notify the mdi client about scrolling
- Need to handle the buttons ourselves now, because they are all
in non client areas and we can't add controls there.
* MdiClient.cs: Halfway to scrolling, this implementation is
somewhat broken though, we need to check to make sure other
windows aren't causing scrolling before removing the bars. Also
the bars need to be drawn on top, maybe I can switch implicit
controls to be on top.
* Hwnd.cs: caption_height and tool_caption_height are now
properties of an hwnd, this way they can be set by the driver
based on the type of window they are. In X11 the window manager
handles the decorations so caption_height is zero unless its an
MDI window.
- Add 3 pixel borders for MDI windows (0xFFFF).
- Get rid of some code duplication, have DefaultClientRectanle
just call GetClientRectangle.
* XplatUIX11.cs: Pass caption_height and tool_caption_height to
Hwnd now.
- Set border styles differently for mdi windows.
* XplatUIOSX.cs: Pass caption_height and tool_caption_height to
Hwnd now.
svn path=/trunk/mcs/; revision=53222
Gonzalo Paniagua Javier [Fri, 18 Nov 2005 06:14:59 +0000 (06:14 -0000)]
2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequestHeader.cs: add missing values.
svn path=/trunk/mcs/; revision=53221
Atsushi Eno [Fri, 18 Nov 2005 04:10:25 +0000 (04:10 -0000)]
2005-11-18 Atsushi Enomoto <atsushi@ximian.com>
* template.html.in : let's turn onLoad() off by default; I think
most of people usually rather mind browsers' response time than
filtered attributes.
svn path=/trunk/mono/; revision=53219
Atsushi Eno [Fri, 18 Nov 2005 04:08:10 +0000 (04:08 -0000)]
2005-11-18 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.js : reflecting the HTML output changes from mon-api.xsl.
It now updates the count depending on the checkboxes.
svn path=/trunk/mono/; revision=53218
Atsushi Eno [Fri, 18 Nov 2005 04:06:44 +0000 (04:06 -0000)]
2005-11-18 Atsushi Enomoto <atsushi@ximian.com>
* mono-api.xsl : filtered attributes are customizable now (but pretty
slow!)
svn path=/trunk/mcs/; revision=53216
Zoltan Varga [Thu, 17 Nov 2005 22:53:59 +0000 (22:53 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* Interlocked.cs: Add generic CompareExchange and Exchange methods.
svn path=/trunk/mcs/; revision=53213
Zoltan Varga [Thu, 17 Nov 2005 22:23:06 +0000 (22:23 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* DefaultParameterValueAttribute.cs: New file.
svn path=/trunk/mcs/; revision=53212
Zoltan Varga [Thu, 17 Nov 2005 22:22:33 +0000 (22:22 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System.Runtime.InteropServices.DefaultParameterValueAttribute.cs.
svn path=/trunk/mcs/; revision=53211
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 22:07:17 +0000 (22:07 -0000)]
2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerPrefixCollection.cs:
* HttpWebResponse.cs:
* Dns.cs:
* HttpListenerRequest.cs:
* HttpWebRequest.cs:
* HttpListenerResponse.cs: a few signature fixes for 2.0.
svn path=/trunk/mcs/; revision=53210
Zoltan Varga [Thu, 17 Nov 2005 20:57:56 +0000 (20:57 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Add missing OP_I opcodes so it is in synch with the
OP_L opcodes.
svn path=/trunk/mono/; revision=53209
Sebastien Pouliot [Thu, 17 Nov 2005 20:24:47 +0000 (20:24 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* MatchCollection.cs: Add missing virtual to indexer property.
svn path=/trunk/mcs/; revision=53208
Sebastien Pouliot [Thu, 17 Nov 2005 20:20:13 +0000 (20:20 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* Match.cs: Removed the ": base ()" on the private ctor as it is
unrequired and cause an extra public ctor to added (bug #76736).
svn path=/trunk/mcs/; revision=53207
Vladimir Krasnov [Thu, 17 Nov 2005 18:06:58 +0000 (18:06 -0000)]
Image.jvm.cs: fixed Save, flush output stream
ImageCodec.jvm.cs: fixed WriteImage, removed flush of native output
svn path=/trunk/mcs/; revision=53204
Martin Baulig [Thu, 17 Nov 2005 17:59:14 +0000 (17:59 -0000)]
2005-11-17 Martin Baulig <martin@ximian.com>
* expression.cs (Indexers.GetIndexersForType): Added support for
generic parameters; fixes #76587.
svn path=/trunk/mcs/; revision=53203
Martin Baulig [Thu, 17 Nov 2005 17:58:22 +0000 (17:58 -0000)]
New test.
svn path=/trunk/mcs/; revision=53202
Martin Baulig [Thu, 17 Nov 2005 17:57:40 +0000 (17:57 -0000)]
New test.
svn path=/trunk/mcs/; revision=53201
Dick Porter [Thu, 17 Nov 2005 17:36:36 +0000 (17:36 -0000)]
2005-11-17 Dick Porter <dick@ximian.com>
* Process.cs: Split Start_common into Start_shell and
Start_noshell, which call ShellExecuteEx and CreateProcess
respectively. Fixes bug 76670.
2005-11-17 Dick Porter <dick@ximian.com>
* Environment.cs: Incremented corlib version
svn path=/trunk/mcs/; revision=53199
Dick Porter [Thu, 17 Nov 2005 17:35:45 +0000 (17:35 -0000)]
2005-11-17 Dick Porter <dick@ximian.com>
* icall.c:
* process.h:
* process.c: Split the Process Start_internal icall into
ShellExecuteEx_internal and CreateProcess_internal, which are
called depending on whether UseShellExecute is true. Fixes bug
76670.
* appdomain.c (MONO_CORLIB_VERSION): Incremented
2005-11-17 Dick Porter <dick@ximian.com>
* processes.h:
* processes.c: Implement ShellExecuteEx as a wrapper around
CreateProcess.
svn path=/trunk/mono/; revision=53198
Martin Baulig [Thu, 17 Nov 2005 17:31:26 +0000 (17:31 -0000)]
2005-08-20 Martin Baulig <martin@ximian.com>
Merging this patch from GMCS to fix #75867.
* anonymous.cs (CaptureContext.CaptureThis): Create the topmost
scope if we don't already have it.
svn path=/trunk/mcs/; revision=53197
Konstantin Triger [Thu, 17 Nov 2005 16:42:00 +0000 (16:42 -0000)]
performance - use BasicStroke when possible.
svn path=/trunk/mcs/; revision=53193
Atsushi Eno [Thu, 17 Nov 2005 16:09:59 +0000 (16:09 -0000)]
2005-11-17 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XslTransformTests.cs : added WhitespaceHandling ().
* 91834.xml, 91834a.xml, 91834.xsl : I ended up to add new files here.
svn path=/trunk/mcs/; revision=53192
Vladimir Krasnov [Thu, 17 Nov 2005 15:47:22 +0000 (15:47 -0000)]
* ColorConverter.cs: added test cases for ConvertFrom and three digit notaion color.
svn path=/trunk/mcs/; revision=53188
Martin Baulig [Thu, 17 Nov 2005 15:43:58 +0000 (15:43 -0000)]
2005-11-17 Martin Baulig <martin@ximian.com>
* anonymous.cs
(CaptureContext.EmitMethodHostInstance): Use `Ldarg_0' if we
inherit the scope from our parent. Fixes #76653.
svn path=/trunk/mcs/; revision=53187
Martin Baulig [Thu, 17 Nov 2005 15:42:33 +0000 (15:42 -0000)]
New test.
svn path=/trunk/mcs/; revision=53186
Martin Baulig [Thu, 17 Nov 2005 15:42:13 +0000 (15:42 -0000)]
2005-11-17 Martin Baulig <martin@ximian.com>
* anonymous.cs
(CaptureContext.EmitMethodHostInstance): Use `Ldarg_0' if we
inherit the scope from our parent. Fixes #76653.
svn path=/trunk/mcs/; revision=53185
Atsushi Eno [Thu, 17 Nov 2005 15:38:46 +0000 (15:38 -0000)]
2005-11-17 Atsushi Enomoto <atsushi@ximian.com>
* XslCompiledContext.cs : since XsltContextInfo is struct, having
an array of this type and setting fields of each struct didn't
make sense. It thus blocked expected PreserveWhitespace behavior.
svn path=/trunk/mcs/; revision=53184
Sebastien Pouliot [Thu, 17 Nov 2005 15:13:46 +0000 (15:13 -0000)]
Fix API (corcompare)
svn path=/trunk/mcs/; revision=53183
Vladimir Krasnov [Thu, 17 Nov 2005 15:12:14 +0000 (15:12 -0000)]
* ColorConverter.cs: fixed ConvertFrom, to be able to convert from three digit notation color (#abc)
svn path=/trunk/mcs/; revision=53182
Vladimir Krasnov [Thu, 17 Nov 2005 15:09:06 +0000 (15:09 -0000)]
XmlSerializationReaderInterpreter.cs: fixed ReadEnumElement method, ReadEndElement should check XmlNodeType.
XmlTypeMapping.cs: fixed GetXmlName method, it should not write zero as default enum value.
svn path=/trunk/mcs/; revision=53181
Vladimir Krasnov [Thu, 17 Nov 2005 14:57:06 +0000 (14:57 -0000)]
XmlInputStream.cs: fixed Initialize method to be able to read unicode file without BOM. TARGET_JVM only.
svn path=/trunk/mcs/; revision=53180
Sebastien Pouliot [Thu, 17 Nov 2005 13:41:12 +0000 (13:41 -0000)]
Add unit/CAS tests (and some code) for System.Threading
svn path=/trunk/mcs/; revision=53179