Martin Baulig [Mon, 7 Mar 2005 05:55:39 +0000 (05:55 -0000)]
2005-03-07 Martin Baulig <martin@ximian.com>
* generic.cs (Nullable.Unwrap): Implement IMemoryLocation and make
it work if `expr' is not an IMemoryLocation.
(Nullable.Lifted): Implement IMemoryLocation.
(Nullable.LiftedConversion.ResolveUnderlying): Use the correct
target type.
svn path=/trunk/mcs/; revision=41500
Atsushi Eno [Mon, 7 Mar 2005 05:31:56 +0000 (05:31 -0000)]
2005-03-07 Atsushi Enomoto <atsushi@ximian.com>
* README :
more description.
* NvdlBuiltInValidationProvider.cs :
When it is "allow", it should not always return false.
* NvdlFilteredXmlReader.cs :
Added support for PlanAtt validation.
* NvdlConfig.cs :
Removed unused code.
* NvdlSimplified.cs :
Attribute default rule is "attach", not "allow". Removed unused
code. Added attribute validation support.
* NvdlValidationProvider.cs :
Extended MIME type check to "*/*-xml" (not only text/xml).
Added CreateAttributeValidator() method for "schema rewriting for
attribute sections" support (FCD spec 8.7.3).
svn path=/trunk/mcs/; revision=41499
Satya Sudha K [Mon, 7 Mar 2005 04:17:44 +0000 (04:17 -0000)]
* mb-parser.jay : Support for shift operators
* assign.cs : Calling 'RuntimeHelpers.GetObjectValue' during new Object creation (to make it consistent with vbc)
* ecore.cs : Implicit constant conversions - rounding the float/double values before
converting to Integer types
* expression.cs :
Unary class :
* Corrected the opertor names
* Allowing unary plus and minus on strings (by converting to double)
* Allowing 'Not' operator on all numeric/string types
(float/double/decimal/strings are converted to long)
* In case of short/byte operations, changing the end result back to short/byte
Exponentiation class :
* Disallowing '^' operator on dates/char/ reference types
Binary class :
* Corrected operator names
* And-ing the right operand with appropriate mask in case of shift operators
* In case of short/byte operations, changing the end result back to short/byte
* Re-organised the code of the 'ResolveOperator' method:
* code organised according to expression types
* Performing the required conversions before 'OverloadResolve'
* Did the following fixes :
* Fixed string/bool behaviour with logical/shift operators
* Disallow arithmatic operators on char and dates
* Fixed DateTime comparisons
* Using methods of 'System.Decimal' for all Decimal operations
* Supporting all operators with enum types
* Allowing arithmatic/relational/shift/logical operators on type 'object'
svn path=/trunk/mcs/; revision=41498
Zoltan Varga [Sun, 6 Mar 2005 22:50:47 +0000 (22:50 -0000)]
2005-03-07 Zoltan Varga <vargaz@freemail.hu>
* cpu-amd64.md (load_membase): Fix more max lengths.
svn path=/trunk/mono/; revision=41494
Zoltan Varga [Sun, 6 Mar 2005 22:15:51 +0000 (22:15 -0000)]
2005-03-06 Zoltan Varga <vargaz@freemail.hu>
* cpu-amd64.md (load_membase): Fix max length.
svn path=/trunk/mono/; revision=41493
Zoltan Varga [Sun, 6 Mar 2005 21:28:08 +0000 (21:28 -0000)]
2005-03-06 Zoltan Varga <vargaz@freemail.hu>
* mini-ops.h: Add OP_F<xx>_MEMBASE opcodes.
* inssel.brg: Add MONO_EMIT_BIALU_MEMBASE macro.
* cpu-amd64.md inssel-amd64.brg mini-amd64.h mini-amd64.brg: Finish SSE2
support and enable it by default. Also add OP_F<xxx>_MEMBASE opcodes.
svn path=/trunk/mono/; revision=41492
Zoltan Varga [Sun, 6 Mar 2005 21:25:22 +0000 (21:25 -0000)]
2005-03-06 Zoltan Varga <vargaz@freemail.hu>
* amd64/amd64-codegen.h: Add some SSE2 instructions.
svn path=/trunk/mono/; revision=41491
Zoltan Varga [Sun, 6 Mar 2005 19:15:51 +0000 (19:15 -0000)]
2005-03-06 Zoltan Varga <vargaz@freemail.hu>
* basic-float.cs: Add rounding regression test.
svn path=/trunk/mono/; revision=41488
Zoltan Varga [Sun, 6 Mar 2005 19:15:16 +0000 (19:15 -0000)]
2005-03-06 Zoltan Varga <vargaz@freemail.hu>
* rounding.cs: Remove this, this is now in the JIT regression tests.
svn path=/trunk/mono/; revision=41487
Zoltan Varga [Sun, 6 Mar 2005 18:17:20 +0000 (18:17 -0000)]
2005-03-06 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (INST_IGNORES_CFLAGS): Add more instructions.
svn path=/trunk/mono/; revision=41484
Zoltan Varga [Sun, 6 Mar 2005 18:13:10 +0000 (18:13 -0000)]
2005-03-06 Zoltan Varga <vargaz@freemail.hu>
* delegate4.cs: Remove this, this is already tested in pinvoke3.cs.
svn path=/trunk/mono/; revision=41483
Nick Drochak [Sun, 6 Mar 2005 13:47:13 +0000 (13:47 -0000)]
2005-03-06 Nick Drochak <ndrochak@ieee.org>
* TcpClientTest.cs: Choose a different port so test will pass on MS.NET
* TcpListenerTest.cs: Ignore test that doesn't play well on MS.NET
svn path=/trunk/mcs/; revision=41482
Daniel Morgan [Sun, 6 Mar 2005 11:38:45 +0000 (11:38 -0000)]
2005-03-06 Daniel Morgan <danielmorgan@verizon.net>
- Applied patch by Hubert FONGARNAND
<informatique.internet@fiducial.fr>
- Had to re-format according to mono style
and remove Console.WriteLines
- Made sure maxPoolSize and minPoolSize can be specified
via the connection string, and that pooling can be disabled
- if the next opened connection surpasses the max pool size, it waits
for a specified time in milliseconds, if it did not
get another connection from the connection pool,
throw an InvalidOperationException for timeout expired
* System.Data.OracleClient.dll.sources: add
OracleConnectionPool.cs to the build
* System.Data.OracleClient/OracleConnection.cs: modified
- add connection pooling to OracleClient
- GetNlsInfo () was not using the passed handle, it was always
a session handle
* System.Data.OracleClient/OracleConnectionPoolManager.cs
* System.Data.OracleClient/OracleConnectionPool.cs: added
new file for connection pooling in OracleClient
* System.Data.OracleClient/Test/TestOracleClient.cs: added tests
for OracleClient connection pooling
svn path=/trunk/mcs/; revision=41480
Atsushi Eno [Sun, 6 Mar 2005 07:08:30 +0000 (07:08 -0000)]
2005-03-06 Atsushi Enomoto <atsushi@ximian.com>
* NvdlFilteredXmlReader.cs : code refactory.
* NvdlCompileContext.cs, NvdlConfig.cs, NvdlSimplified.cs,
NvdlValidatingReader.cs : Simplified objects are now all internal.
* NvdlValidator.cs : don't output debug.
svn path=/trunk/mcs/; revision=41479
Atsushi Eno [Sun, 6 Mar 2005 06:44:06 +0000 (06:44 -0000)]
2005-03-06 Atsushi Enomoto <atsushi@ximian.com>
* Commons.Xml.Relaxng.dll.sources : added NvdlFilteredXmlReader.
* NvdlFilteredXmlReader.cs : New file. Supports createPlaceHolder()
and attBubble[I].
* NvdlValidator.cs : support for attachPlaceHolder.
* NvdlSimplified.cs,
NvdlStructures.cs,
NvdlBuiltInValidationProvider.cs : renamed namespace const.
* NvdlValidationProvider.cs : removed extraneous debug.
svn path=/trunk/mcs/; revision=41478
Gonzalo Paniagua Javier [Sat, 5 Mar 2005 21:25:52 +0000 (21:25 -0000)]
2005-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UriTest2.cs: added test from bug #73316.
svn path=/trunk/mcs/; revision=41473
Gonzalo Paniagua Javier [Sat, 5 Mar 2005 21:12:15 +0000 (21:12 -0000)]
2005-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Uri.cs: when unescaping in stages, handle the case when the next
substring is not a escaped sequence or the string ends. Fixes bug
#73316.
svn path=/trunk/mcs/; revision=41471
Martin Baulig [Sat, 5 Mar 2005 18:00:51 +0000 (18:00 -0000)]
2005-03-05 Martin Baulig <martin@ximian.com>
* generic.cs (Nullable.Unwrap, Wrap): New protected classes.
(Nullable.Lifted): New abstract class; rewrote the lifted conversions.
(Nullable): Added support for lifted unary and binary operators.
* expression.cs (Unary.DoResolve): Added support for nullable types.
(Binary.DoResolve): Likewise.
(Conditional.DoResolve): Likewise.
svn path=/trunk/mcs/; revision=41467
Neale Ferguson [Fri, 4 Mar 2005 19:59:54 +0000 (19:59 -0000)]
Add support for passing/returning small structures in registers for pinvoke wrappers.
svn path=/trunk/mono/; revision=41462
Jackson Harper [Fri, 4 Mar 2005 19:22:48 +0000 (19:22 -0000)]
* Binding.cs: Implement data type parsing and converting on pulled
data. TODO: Are there more ways the data can be converted?
svn path=/trunk/mcs/; revision=41461
Lluis Sanchez [Fri, 4 Mar 2005 18:13:03 +0000 (18:13 -0000)]
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* ReflectionHelper.cs: Avoid endless loop.
* XmlSchemas.cs: Added null check. Patches from MainSoft.
svn path=/trunk/mcs/; revision=41458
Lluis Sanchez [Fri, 4 Mar 2005 18:10:29 +0000 (18:10 -0000)]
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* SerializationTest.cs: Improved test.
svn path=/trunk/mcs/; revision=41457
Lluis Sanchez [Fri, 4 Mar 2005 18:06:14 +0000 (18:06 -0000)]
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: Added more files to the build:
System.Web.UI.WebControls/ChildTable.cs
System.Web.UI.WebControls/DataKey.cs
System.Web.UI.WebControls/DataKeyArray.cs
System.Web.UI.WebControls/GridViewCommandEventArgs.cs
System.Web.UI.WebControls/GridViewCommandEventHandler.cs
System.Web.UI.WebControls/GridViewRowEventArgs.cs
System.Web.UI.WebControls/GridViewRowEventHandler.cs
System.Web.UI.WebControls/StringArrayConverter.cs
svn path=/trunk/mcs/; revision=41456
Lluis Sanchez [Fri, 4 Mar 2005 18:05:31 +0000 (18:05 -0000)]
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* DataKey.cs: Implemented.
* XmlDataSourceView.cs: Implemented support for row pagging.
* Table.cs: Fixed attribute value.
* DataControlField.cs: Added support for sorting headers.
* ChildTable.cs: Created.
* ListControl.cs: Delay selection assignment, since control state
is now loaded before view state.
* GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
several missing properties.
* PagerSettings.cs: Fully implemented.
* BaseDataList.cs: Added null check.
* GridView.cs: Implemented more functionality.
* BoundField.cs: Added support for cell editing.
* StringArrayConverter.cs: Implemented.
* DataKeyArray.cs: Implemented.
* BaseDataBoundControl.cs: Reset the requires binding flag before
executing the query. This avoids recursive query calls.
* GridViewRow.cs: Handler commands raised from row childs.
svn path=/trunk/mcs/; revision=41455
Lluis Sanchez [Fri, 4 Mar 2005 18:05:03 +0000 (18:05 -0000)]
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Load control state before loading view state, and the
same for saving.
* DataSourceSelectArguments.cs: Fix recursive property call.
svn path=/trunk/mcs/; revision=41454
Lluis Sanchez [Fri, 4 Mar 2005 18:04:18 +0000 (18:04 -0000)]
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* System.dll.sources: Added OrderedDictionary.cs.
svn path=/trunk/mcs/; revision=41453
Lluis Sanchez [Fri, 4 Mar 2005 18:03:56 +0000 (18:03 -0000)]
2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
* OrderedDictionary.cs: Implemented.
svn path=/trunk/mcs/; revision=41452
Atsushi Eno [Fri, 4 Mar 2005 17:23:07 +0000 (17:23 -0000)]
2005-03-04 Atsushi Enomoto <atsushi@ximian.com>
* BUGS-MS.txt : more bug info.
* ignore.lst : still more ignored cases.
svn path=/trunk/mcs/; revision=41451
Zoltan Varga [Fri, 4 Mar 2005 16:30:49 +0000 (16:30 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* remoting1.cs: Add new regression test.
svn path=/trunk/mono/; revision=41450
Atsushi Eno [Fri, 4 Mar 2005 16:18:51 +0000 (16:18 -0000)]
2005-03-04 Atsushi Enomoto <atsushi@ximian.com>
* XslTemplateContent.cs : inside template, fallback is ignored.
svn path=/trunk/mcs/; revision=41448
Zoltan Varga [Fri, 4 Mar 2005 16:12:10 +0000 (16:12 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* object.c (mono_load_remote_field_new): Fix returning uninitialized
memory when the remoting callback does not sets the out arguments.
Fixes #73007.
svn path=/trunk/mono/; revision=41447
Atsushi Eno [Fri, 4 Mar 2005 16:00:33 +0000 (16:00 -0000)]
2005-03-04 Atsushi Enomoto <atsushi@ximian.com>
* XslNotSupportedOperation.cs : Added xsl:fallback support.
svn path=/trunk/mcs/; revision=41445
Atsushi Eno [Fri, 4 Mar 2005 15:29:21 +0000 (15:29 -0000)]
2005-03-04 Atsushi Enomoto <atsushi@ximian.com>
* XslNotSupportedOperation.cs : added not-supported template content
type. Such elements should be rejected only run-time (since there
could be future-version-only template content).
* XslCompiledElement.cs : added XslCompiledElementBase type, for
not invoking Compile() in base .ctor() (in some types this design
forces us to add extraneous protected fields to the base type).
* XslTemplateContent.cs : added "sort" element check (except for
xsl:for-each, it should be skipped).
* Compiler.cs : added another CompileTemplateContent() which is
requred in xsl:for-each. Commented out unused method.
* System.Xml.dll.sources : Added XslNotSupportedOperation.cs.
svn path=/trunk/mcs/; revision=41444
Marek Safar [Fri, 4 Mar 2005 15:08:09 +0000 (15:08 -0000)]
more tests + update
svn path=/trunk/mcs/; revision=41443
Marek Safar [Fri, 4 Mar 2005 15:03:31 +0000 (15:03 -0000)]
2005-03-04 Marek Safar <marek.safar@seznam.cz>
* cs-tokenizer.cs (PreProcessPragma): Add warning 1633, 1635.
* report.cs (warning_ignore_table): Made public.
svn path=/trunk/mcs/; revision=41442
Zoltan Varga [Fri, 4 Mar 2005 14:14:10 +0000 (14:14 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* StringTest.cs: Add some unsafe ctor tests.
svn path=/trunk/mcs/; revision=41441
Zoltan Varga [Fri, 4 Mar 2005 14:09:30 +0000 (14:09 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_delegate_free_ftnptr): Remove debug array checked in
by mistake.
svn path=/trunk/mono/; revision=41440
Zoltan Varga [Fri, 4 Mar 2005 14:08:11 +0000 (14:08 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* string-icalls.c: Return String.Empty where needed. Fixes #73310.
svn path=/trunk/mono/; revision=41439
Zoltan Varga [Fri, 4 Mar 2005 13:55:37 +0000 (13:55 -0000)]
2005-03-02 Zoltan Varga <vargaz@freemail.hu>
* docs/aot-compiler.txt: Add some more documentation.
svn path=/trunk/mono/; revision=41438
Zoltan Varga [Fri, 4 Mar 2005 13:54:32 +0000 (13:54 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* get.c (dis_stringify_marshal_spec): Fix this after recent runtime
changes.
svn path=/trunk/mono/; revision=41437
Zoltan Varga [Fri, 4 Mar 2005 13:06:05 +0000 (13:06 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (ves_icall_get_trace): Return wrapper info as well.
svn path=/trunk/mono/; revision=41436
Zoltan Varga [Fri, 4 Mar 2005 13:03:43 +0000 (13:03 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* object-internals.h (MonoStackFrame): Sync with managed object layout.
* appdomain.c: Bump corlib version.
svn path=/trunk/mono/; revision=41435
Zoltan Varga [Fri, 4 Mar 2005 13:02:40 +0000 (13:02 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump corlib version.
* Exception.cs (StackTrace): Return the wrapper info as well.
svn path=/trunk/mcs/; revision=41434
Zoltan Varga [Fri, 4 Mar 2005 13:02:01 +0000 (13:02 -0000)]
2005-03-04 Zoltan Varga <vargaz@freemail.hu>
* StackFrame.cs: Add an internalMethodName field to return info about
the various runtime wrappers.
svn path=/trunk/mcs/; revision=41433
Manjula GHM [Fri, 4 Mar 2005 10:48:44 +0000 (10:48 -0000)]
Support Mid Assignment Statement
svn path=/trunk/mcs/; revision=41432
Jackson Harper [Fri, 4 Mar 2005 10:32:17 +0000 (10:32 -0000)]
* Binding.cs: Support <Property>IsNull checks. Also bind to the
controls Validating method so we can repull the data when the
control loses focus.
svn path=/trunk/mcs/; revision=41431
Raja R Harinath [Fri, 4 Mar 2005 08:52:39 +0000 (08:52 -0000)]
* Makefile (TEST_HARNESS_EXTRAS): Add test-353-2.cs.
* test-353.cs: Don't use ../ to refer to test-353-2.cs.
* test-354.cs: New test from #73282.
svn path=/trunk/mcs/; revision=41430
Raja R Harinath [Fri, 4 Mar 2005 08:41:36 +0000 (08:41 -0000)]
Fix #73282.
* class.cs (MethodData.Emit): Pass 'container' to
container.GetObsoleteAttribute instead of 'container.Parent'.
svn path=/trunk/mcs/; revision=41429
Manjula GHM [Fri, 4 Mar 2005 07:16:34 +0000 (07:16 -0000)]
Assigned value to destination in string manipulation to achieve required functionality
svn path=/trunk/mcs/; revision=41428
Atsushi Eno [Fri, 4 Mar 2005 07:05:22 +0000 (07:05 -0000)]
2004-03-04 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : Significant whitespace nodes must be returned in
text() NodeTypeTest.
svn path=/trunk/mcs/; revision=41427
Kazuki Oikawa [Fri, 4 Mar 2005 06:43:23 +0000 (06:43 -0000)]
2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
* IBindCtx.cs:
* IEnumVARIANT.cs:
* ComDefaultInterfaceAttribute.cs:
* CriticalHandle.cs:
* DefaultCharSetAttribute.cs:
* ExposeAsClassToComAttribute.cs: Fixed attributes.
svn path=/trunk/mcs/; revision=41426
Atsushi Eno [Fri, 4 Mar 2005 05:41:14 +0000 (05:41 -0000)]
2005-03-03 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocument.cs : In ReadNode(), on EntityReference node, when
XmlReader can resolve entity, it expands entity and apppend
children into the entity reference. Patch by Konstantin Triger.
svn path=/trunk/mcs/; revision=41425
Ritvik Mayank [Fri, 4 Mar 2005 05:12:26 +0000 (05:12 -0000)]
Made correction in the Test case
svn path=/trunk/mcs/; revision=41424
Kazuki Oikawa [Fri, 4 Mar 2005 02:37:23 +0000 (02:37 -0000)]
2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
* CER.cs:
* Consistency.cs:
* PrePrepareMethodAttribute.cs:
* ReliabilityContractAttribute.cs: Added missing attributes.
svn path=/trunk/mcs/; revision=41423
Kazuki Oikawa [Fri, 4 Mar 2005 02:35:54 +0000 (02:35 -0000)]
2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
* PrePrepareMethodAttribute.cs:
* ReliabilityContractAttribute.cs: Fixed attributes.
svn path=/trunk/mcs/; revision=41422
Kazuki Oikawa [Fri, 4 Mar 2005 02:29:18 +0000 (02:29 -0000)]
2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
* _Exception.cs
* BIND_OPTS.cs
* BINDPTR.cs
* CALLCONV.cs
* ComDefaultInterfaceAttribute.cs
* ComObjectInUseException.cs
* ComSourceInterfacesAttribute.cs
* CONNECTDATA.cs
* CriticalHandle.cs
* DefaultCharSetAttribute.cs
* DESCKIND.cs
* DISPPARAMS.cs
* ELEMDESC.cs
* EXCEPINFO.cs
* ExposeAsClassToComAttribute.cs
* FILETIME.cs
* FUNCDESC.cs
* FUNCFLAGS.cs
* FUNCKIND.cs
* GCHandle.cs
* ICustomAdapter.cs
* IDLDESC.cs
* IDLFLAG.cs
* IMPLTYPEFLAGS.cs
* INVOKEKIND.cs
* ITypeLibConverter.cs
* ITypeLibExporterNameProvider.cs
* ITypeLibExporterNotifySink.cs
* LIBFLAGS.cs
* PARAMDESC.cs
* PARAMFLAG.cs
* PrimaryInteropAssemblyAttribute.cs
* STATSTG.cs
* SYSKIND.cs
* TYPEATTR.cs
* TYPEDESC.cs
* TYPEFLAGS.cs
* TYPEKIND.cs
* TYPELIBATTR.cs
* TypeLibExporterFlags.cs
* TypeLibImporterFlags.cs
* UCOMIBindCtx.cs
* UCOMIConnectionPoint.cs
* UCOMIConnectionPointContainer.cs
* UCOMIEnumConnectionPoints.cs
* UCOMIEnumConnections.cs
* UCOMIEnumMoniker.cs
* UCOMIEnumString.cs
* UCOMIEnumVARIANT.cs
* UCOMIMoniker.cs
* UCOMIPersistFile.cs
* UCOMIRunningObjectTable.cs
* UCOMIStream.cs
* UCOMITypeComp.cs
* UCOMITypeInfo.cs
* UCOMITypeLib.cs
* UnmanagedFunctionPointerAttribute.cs
* VARDESC.cs
* VARFLAGS.cs
* VariantWrapper.cs: Added missing attributes.
svn path=/trunk/mcs/; revision=41421
Kazuki Oikawa [Fri, 4 Mar 2005 02:26:46 +0000 (02:26 -0000)]
2005-03-04 Kazuki Oikawa <kazuki@panicode.com>
* IBindCtx.cs
* IEnumConnectionPoints.cs
* IEnumMoniker.cs
* IEnumString.cs
* IEnumVARIANT.cs
* IMoniker.cs
* IRunningObjectTable.cs: Added missing attributes and corrected the wrong declarations.
svn path=/trunk/mcs/; revision=41420
Gonzalo Paniagua Javier [Thu, 3 Mar 2005 23:51:50 +0000 (23:51 -0000)]
2005-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnicodeEncoding.cs: same fix (\uFEFF) but for Unicode. Patch by
Svetlana Zholkovsky.
svn path=/trunk/mcs/; revision=41418
Gonzalo Paniagua Javier [Thu, 3 Mar 2005 22:04:44 +0000 (22:04 -0000)]
2005-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UTF7Encoding.cs: fix for characters encoded as a shifted sequence
whose length is greater than 3. Patch by Svetlana Zhokolsky.
svn path=/trunk/mcs/; revision=41414
Zoltan Varga [Thu, 3 Mar 2005 21:17:51 +0000 (21:17 -0000)]
2005-03-03 Zoltan Varga <vargaz@freemail.hu>
* mini.h mini.c mini-x86.c: Pass the domain of the native->managed
wrapper to mono_jit_thread_attach.
svn path=/trunk/mono/; revision=41412
Zoltan Varga [Thu, 3 Mar 2005 21:15:56 +0000 (21:15 -0000)]
2005-03-03 Zoltan Varga <vargaz@freemail.hu>
* gc-internal.h boehm-gc.c null-gc.c: Add mono_gc_is_gc_thread () API
function.
* threads.c (mono_thread_attach): Detect threads which are not started
by the GC pthread wrappers.
svn path=/trunk/mono/; revision=41411
Zoltan Varga [Thu, 3 Mar 2005 21:09:34 +0000 (21:09 -0000)]
2005-03-03 Zoltan Varga <vargaz@freemail.hu>
* include/gc.h pthread_support.c win32_threads.: Add
GC_thread_is_registered API function.
svn path=/trunk/mono/; revision=41410
Lluis Sanchez [Thu, 3 Mar 2005 17:05:26 +0000 (17:05 -0000)]
2005-03-01 Lluis Sanchez Gual <lluis@ximian.com>
* BinaryCommon.cs: Found the meaning of two unknown binary elements.
* CodeGenerator.cs: Derive generated classes from ClrTypeMetadata
instead of TypeMetadata. Added writeTypes parameter to WriteTypeData().
* ObjectWriter.cs: Use type and assembly names as keys for the type and
assembly caches. This is needed since ISerializable types can provide
fake type names (which are mapped to real types by a binder on
deserialization).
Implemented support for BinaryFormatter.TypeFormat.
* BinaryFormatter.cs, MessageFormatter.cs: Implemented support for
TypeFormat property.
* ObjectReader.cs: Added support for objects serialized without
member type information. This fixes bug #73114.
If a binder return null, use the default way of loading the type.
svn path=/trunk/mcs/; revision=41404
Sebastien Pouliot [Thu, 3 Mar 2005 16:43:30 +0000 (16:43 -0000)]
2005-03-03 Sebastien Pouliot <sebastien@ximian.com>
* RNGCryptoServiceProvider.cs: Added a new call in the static ctor
to check if we're using a global handle. In that case we lock before
calling the RNG.
svn path=/trunk/mcs/; revision=41403
Sebastien Pouliot [Thu, 3 Mar 2005 16:43:22 +0000 (16:43 -0000)]
2005-03-03 Sebastien Pouliot <sebastien@ximian.com>
* icall.c: Added new icall for RNG.
* rand.c|h: Added new icall to open the RNG. This allows to share a
single handle on Linux to access /dev/urandom and fix #73183.
svn path=/trunk/mono/; revision=41402
Paolo Molaro [Thu, 3 Mar 2005 16:33:26 +0000 (16:33 -0000)]
Thu Mar 3 17:53:17 CET 2005 Paolo Molaro <lupus@ximian.com>
* object.c: setting the new vtable in a transparent proxy object must
not change the GC descriptor.
svn path=/trunk/mono/; revision=41401
Zoltan Varga [Thu, 3 Mar 2005 16:28:44 +0000 (16:28 -0000)]
2005-03-03 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mini_jit_thread_attach): New jit icall.
* mini-x86.c (mono_arch_emit_prolog): Attach to the VM in
native->managed wrappers.
svn path=/trunk/mono/; revision=41400
Marek Safar [Thu, 3 Mar 2005 16:26:48 +0000 (16:26 -0000)]
2005-03-03 Marek Safar <marek.safar@seznam.cz>
* cs-parser.jay: Add 1534 error test.
* iterators.cs (Yield.CheckContext): Add error 1629.
(Iterator.ctor): Save unsafe modifier.
(MoveNextMethod.DoEmit): Restore unsafe context.
* namespace.cs (UsingAlias): Better error message.
svn path=/trunk/mcs/; revision=41399
Zoltan Varga [Thu, 3 Mar 2005 15:31:20 +0000 (15:31 -0000)]
2005-03-03 Zoltan Varga <vargaz@freemail.hu>
* exceptions.cs: Add new regression test.
* mini.c (optimize_branches): Check regions in the cbranch to throw
block case as well. Fixes #73242.
svn path=/trunk/mono/; revision=41398
Dan Winship [Thu, 3 Mar 2005 15:07:41 +0000 (15:07 -0000)]
* convert.cs (Error_CannotImplicitConversion): fix two bugs in
the warning message [#73219]
svn path=/trunk/mcs/; revision=41397
Jordi Mas i Hernandez [Thu, 3 Mar 2005 12:40:09 +0000 (12:40 -0000)]
2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
* ColumnHeader.cs:
- Fixes null string format
* ListView.cs:
- Adds enum type checks
- Fixes redrawing and recalc need after changing some properties
- Fixes on focus_item set after the event
- Fixes adding columns after the control has been created
* ThemeWin32Classic.cs:
- Fixes CheckBox focus rectangle
- Fixes ColumnHeader drawing
svn path=/trunk/mcs/; revision=41396
Ritvik Mayank [Thu, 3 Mar 2005 12:06:33 +0000 (12:06 -0000)]
Made some correction in ConversionWithAndOperatorNumC.vb
svn path=/trunk/mcs/; revision=41395
Kazuki Oikawa [Thu, 3 Mar 2005 11:27:20 +0000 (11:27 -0000)]
2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
* IBindCtx.cs
* IConnectionPoint.cs
* IConnectionPointContainer.cs
* IEnumConnectionPoints.cs
* IEnumConnections.cs
* IEnumMoniker.cs
* IEnumString.cs
* IEnumVARIANT.cs
* IMoniker.cs
* IPersistFile.cs
* IRunningObjectTable.cs
* IStream.cs
* ITypeComp.cs
* ITypeInfo.cs
* ITypeInfo2.cs
* ITypeLib.cs
* ITypeLib2.cs
* EXCEPINFO.cs
* IDLDESC.cs
* TYPELIBATTR.cs
* VARDESC.cs
* INVOKEKIND.cs
* SYSKIND.cs: Added missing attributes and corrected wrong declaration.
svn path=/trunk/mcs/; revision=41394
Raja R Harinath [Thu, 3 Mar 2005 11:11:47 +0000 (11:11 -0000)]
Fix compile with MCS 1.0.0.0.
* cs-tokenizer.cs (PreProcessPragma): Simplify w_disable and
w_restore to not depend on string constant folding.
svn path=/trunk/mcs/; revision=41393
Kazuki Oikawa [Thu, 3 Mar 2005 10:53:58 +0000 (10:53 -0000)]
2005-03-03 Kazuki Oikawa <kazuki@panicode.com>
* _ConstructorInfo.cs
* _EventInfo.cs
* _FieldInfo.cs
* _MemberInfo.cs
* _MethodBase.cs
* _MethodInfo.cs
* _PropertyInfo.cs
* _Type.cs
* BStrWrapper.cs
* ComDefaultInterfaceAttribute.cs
* ComObjectInUseException.cs
* CriticalHandle.cs
* DefaultCharSetAttribute.cs
* ExposeAsClassToComAttribute.cs
* RegistrationClassContext.cs
* RegistrationConnectionType.cs: Add
* corlib.dll.sources: Added _ConstructorInfo, _EventInfo,
_FieldInfo, _MemberInfo, _MethodBase, _MethodInfo, _PropertyInfo,
_Type, BStrWrapper, ComDefaultInterfaceAttribute, ComObjectInUseException,
CriticalHandle, DefaultCharSetAttribute, ExposeAsClassToComAttribute,
RegistrationClassContext, RegistrationConnectionType
svn path=/trunk/mcs/; revision=41392
Paolo Molaro [Thu, 3 Mar 2005 10:52:25 +0000 (10:52 -0000)]
Thu Mar 3 12:11:46 CET 2005 Paolo Molaro <lupus@ximian.com>
* object.c: fixed compilation without GCJ support.
* reflection.c: for runtime-created types ensure klass->has_references
is correct (bug #73215).
svn path=/trunk/mono/; revision=41391
Atsushi Eno [Thu, 3 Mar 2005 10:25:58 +0000 (10:25 -0000)]
2005-03-03 Atsushi Enomoto <atsushi@ximian.com>
* XslStylesheet.cs, XslTransformProcessor.cs : exclude-element-prefix
in stylesheet should be considered in TryElementNamespacesOutput().
ParseQNameListAttribute() is not properly working for filling
namespaces.
svn path=/trunk/mcs/; revision=41390
Jackson Harper [Thu, 3 Mar 2005 10:19:14 +0000 (10:19 -0000)]
* Binding.cs: Bind to <Property>Changed events so we can detect
when properties are changed and update the data.
svn path=/trunk/mcs/; revision=41389
Jackson Harper [Thu, 3 Mar 2005 10:08:57 +0000 (10:08 -0000)]
* ReflectionEventDescriptor.cs: Bind handlers to the actual event so that
the delegates get invoked when the methods are.
svn path=/trunk/mcs/; revision=41388
Atsushi Eno [Thu, 3 Mar 2005 09:25:16 +0000 (09:25 -0000)]
2005-03-03 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : For duplicating namespace mapping, it should
create another prefix without throwing an exception.
* XmlTextWriterTests.cs : added testcase for duplicating namespace
mapping processing (should create another prefix, not exception).
svn path=/trunk/mcs/; revision=41387
Raja R Harinath [Thu, 3 Mar 2005 08:41:58 +0000 (08:41 -0000)]
* decl.cs (DeclSpace.LookupType): Remove 'silent' argument. Move
CS0246 check to users who passed 'silent = false'.
* ecore.cs (TypeLookupExpression.DoResolveAsTypeStep): Add CS0246
check.
(SimpleName.SimpleNameResolve): Update.
* expression.cs (ComposedCast.DoResolveAsTypeStep): Add CS0246 check.
(MemberAccess.IdenticalNameAndTypeName): Update.
* doc.cs (FindDocumentedTypeNonArray): Update.
svn path=/trunk/mcs/; revision=41386
Atsushi Eno [Thu, 3 Mar 2005 08:19:31 +0000 (08:19 -0000)]
2005-03-03 Atsushi Enomoto <atsushi@ximian.com>
* XslElement.cs : reject incorrectly qualified name attribute.
svn path=/trunk/mcs/; revision=41385
Jackson Harper [Thu, 3 Mar 2005 07:27:07 +0000 (07:27 -0000)]
* EventDescriptorCollection.cs: Handle null in the constructor properly.
svn path=/trunk/mcs/; revision=41384
Raja R Harinath [Thu, 3 Mar 2005 06:38:35 +0000 (06:38 -0000)]
* codegen.cs (EmitContext): Remove ResolvingTypeTree.
* parameters.cs (ComputeAndDefineParameters): Remove.
* decl.cs (ResolveBaseTypeExpr): Don't set ResolvingTypeTree.
* delegate.cs (Define): Don't invoke ComputeAndDefineParameters.
Use GetParameterInfo.
svn path=/trunk/mcs/; revision=41383
Sureshkumar T [Thu, 3 Mar 2005 04:30:14 +0000 (04:30 -0000)]
In System.Data.ProviderBase:
2005-03-02 Sureshkumar T <tsureshkumar@novell.com>
* DbConnectionBase.cs: CreateDbCommand: assign connection to the
created command.
In .:
2005-03-02 Sureshkumar T <tsureshkumar@novell.com>
* System.Data.dll.sources: Added
System.Data.SqlClient/SqlConnectionFactory.cs.
In System.Data.SqlClient:
2005-03-03 Sureshkumar T <tsureshkumar@novell.com>
* SqlClientFactory.cs: While creating command, create using
DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
have a connection factory.
* SqlConnection.cs: Added an internal constructor which takes
DbConnectionFactory.
* SqlConnectionFactory.cs: Added. Concrete class for abstract
factory DbConnectionFactory.
svn path=/trunk/mcs/; revision=41382
Chris Toshok [Thu, 3 Mar 2005 04:27:41 +0000 (04:27 -0000)]
2005-03-02 Chris Toshok <toshok@ximian.com>
* corlib.dll.sources: add DebuggerBrowsableState,
DebuggerBrowsableAttribute, DebuggerDisplayAttribute, and
DebuggerTypeProxyAttribute.
svn path=/trunk/mcs/; revision=41381
Chris Toshok [Thu, 3 Mar 2005 04:24:32 +0000 (04:24 -0000)]
2005-03-02 Chris Toshok <toshok@ximian.com>
* DebuggerTypeProxyAttribute.cs, DebuggerBrowsableState.cs,
DebuggerDisplayAttribute.cs, DebuggerBrowsableAttribute: first cut
at 3/4 of the .net 2.0 debugger attributes.
svn path=/trunk/mcs/; revision=41380
Sebastien Pouliot [Wed, 2 Mar 2005 21:33:12 +0000 (21:33 -0000)]
2005-03-03 Sebastien Pouliot <sebastien@ximian.com>
* cas4-5.cs: Removed. Replaced by new refcas#.cs tests.
* refcas1-5.cs: New. CAS test cases for reflection.
* Makefile: Update to build/execute new tests.
* README: Updated with new tests descriptions.
svn path=/trunk/mono/; revision=41376
Sebastien Pouliot [Wed, 2 Mar 2005 21:29:56 +0000 (21:29 -0000)]
svn path=/trunk/mono/; revision=41375
Gonzalo Paniagua Javier [Wed, 2 Mar 2005 20:20:16 +0000 (20:20 -0000)]
2005-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SessionStateModule.cs:
* SessionId.cs: share the same RNG for all the instances of
SessionStateModule.
svn path=/trunk/mcs/; revision=41373
Atsushi Eno [Wed, 2 Mar 2005 19:02:39 +0000 (19:02 -0000)]
2005-03-02 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : LookupPrefix() should not return those prefix
that is overriden by another xmlns declaration.
* XmlTextWriterTests.cs : Added test for LookupPrefix() for
overriden prefix.
svn path=/trunk/mcs/; revision=41372
Atsushi Eno [Wed, 2 Mar 2005 17:46:17 +0000 (17:46 -0000)]
2005-03-02 Atsushi Enomoto <atsushi@ximian.com>
* XslElement.cs : name should be splitted regardless of "namespace"
attribute existence. Removed XPathNavigatorNsm dependency.
svn path=/trunk/mcs/; revision=41371
Atsushi Eno [Wed, 2 Mar 2005 17:32:36 +0000 (17:32 -0000)]
2005-03-02 Atsushi Enomoto <atsushi@ximian.com>
* XslElement.cs : We throw exception when element name is resolved as
invalid cname, so it should not ignore such name like ":foo".
Fixed ambiguous error message. Removed unused code.
svn path=/trunk/mcs/; revision=41370
Atsushi Eno [Wed, 2 Mar 2005 17:13:55 +0000 (17:13 -0000)]
2005-03-02 Atsushi Enomoto <atsushi@ximian.com>
* XslStylesheet.cs : included stylesheet could be literal result
element as stylesheet (see the spec 2.6.1).
svn path=/trunk/mcs/; revision=41369
Atsushi Eno [Wed, 2 Mar 2005 16:32:36 +0000 (16:32 -0000)]
2005-03-02 Atsushi Enomoto <atsushi@ximian.com>
* GenericOutputter.cs : On WriteStartElement(), prefix should be an
empty string when nsURI is empty.
* HtmlEmitter.cs : non-HTML elements in default namespace are treated
unlike xml but like span, as written in the spec 16.2.
svn path=/trunk/mcs/; revision=41367
Martin Baulig [Wed, 2 Mar 2005 16:31:04 +0000 (16:31 -0000)]
New test for #73023.
svn path=/trunk/mcs/; revision=41366
Martin Baulig [Wed, 2 Mar 2005 16:30:29 +0000 (16:30 -0000)]
2005-03-02 Martin Baulig <martin@ximian.com>
* decl.cs (DeclSpace.SetParameterInfo): Make this virtual.
* class.cs (ClassPart.SetParameterInfo): Override this.
(PartialContainer.SetParameterInfo): Override this.
(TypeContainer.CheckConstraints): New protected method.
(PartialContainer.CheckConstraints): Override this and check
whether the same contraints were specified in all parts of a
partial generic type definition.
(PartialContainer.UpdateConstraints): New public method.
* generic.cs (TypeParameter.UpdateConstraints): New public method.
svn path=/trunk/mcs/; revision=41365
Marek Safar [Wed, 2 Mar 2005 16:25:00 +0000 (16:25 -0000)]
2005-03-02 Marek Safar <marek.safar@seznam.cz>
* report.cs (StaticClass.DefineContainerMembers): Add warning 628.
svn path=/trunk/mcs/; revision=41364
Atsushi Eno [Wed, 2 Mar 2005 16:22:58 +0000 (16:22 -0000)]
2005-03-02 Atsushi Enomoto <atsushi@ximian.com>
* XslCompiledContext.cs, XslTransformProcessor.cs,
XslElement.cs, XslCopyOf.cs, XslLiteralElement.cs, XslCopy.cs :
According to errata E25, those namespaces 1) that has the same
name as current element's prefix, or an empty name when current
element's namespace URI is empty, are not written to output.
So added current element information to XPathContext and added
prefix parameter to PushElementState(), added xsl:copy check to
TryElementNamespacesOutput().
http://www.w3.org/1999/11/REC-xslt-
19991116-errata/
svn path=/trunk/mcs/; revision=41363
Sureshkumar T [Wed, 2 Mar 2005 15:47:08 +0000 (15:47 -0000)]
added XML_DEP for ConnectionStrings property.
svn path=/trunk/mcs/; revision=41362