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
Raja R Harinath [Wed, 2 Mar 2005 15:31:50 +0000 (15:31 -0000)]
Unify DeclSpace.LookupType and DeclSpace.FindType.
* decl.cs (DeclSpace.FindNestedType): New virtual function. This
is in charge of defining nested types on demand.
(DeclSpace.LookupType): Use it when the current_type is a
TypeBuilder. Use LookupTypeDirect for reflected types.
(DeclSpace.FindType): Remove.
(DeclSpace.LookupInterfaceOrClass): Likewise.
(DeclSpace.DefineTypeAndParents): Likewise.
* ecore.cs (SimpleName.ResolveAsTypeStep): Just call
DeclSpace.LookupType.
* doc.cs (FindDocumentedTypeNonArray): Use DeclSpace.LookupType.
* typemanager.cs (LookupType): Simplify.
(AddUserType): Remove type from negative_hits.
* namespace.cs (Namespace.Lookup): Use TypeManager.LookupTypeDirect.
* class.cs (TypeContainer.FindMembers): Move handling of nested
types ...
(TypeContainer.FindMembers_NestedTypes): ... here.
(TypeContainer.FindNestedType): Implement override.
(ClassPart.FindNestedType): Delegate to PartialContainer.
(ClassPart.PartFindNestedType): Looks up the nested types of the
part alone.
Here's the memory savings when compiling corlib:
w/o patch: 124938 KB
with patch: 119036 KB
svn path=/trunk/mcs/; revision=41361
Jordi Mas i Hernandez [Wed, 2 Mar 2005 14:58:49 +0000 (14:58 -0000)]
2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
* ImageList.cs
- Changes 32-bit pixel format to Format32bppArgb to allow transparency
- Fixes ImageList constructor with ImageList container
- Fixes image scaling (wrong parameters at DrawImage)
svn path=/trunk/mcs/; revision=41360
Sureshkumar T [Wed, 2 Mar 2005 14:39:48 +0000 (14:39 -0000)]
2005-03-02 Sureshkumar T <tsureshkumar@novell.com>
* ConfigurationSettings.cs: Implemented ConnectionStrings
property.
svn path=/trunk/mcs/; revision=41359
Sebastien Pouliot [Wed, 2 Mar 2005 13:51:18 +0000 (13:51 -0000)]
2005-03-02 Sebastien Pouliot <sebastien@ximian.com>
* CodeAccessPermission.cs,
* PermissionSet.cs: Don't throw NotSupportedException if the security
manager (SecurityManager.SecurityEnabled) is off.
svn path=/trunk/mcs/; revision=41358
Raja R Harinath [Wed, 2 Mar 2005 12:17:46 +0000 (12:17 -0000)]
* FileStreamTest.cs (Constructor_InvalidFileHandle): Fix to work
on 64-bit platforms.
svn path=/trunk/mcs/; revision=41357
Jackson Harper [Wed, 2 Mar 2005 07:45:44 +0000 (07:45 -0000)]
* Binding.cs: Make property searches case-insensitive. Eliminate
some duplicated code.
svn path=/trunk/mcs/; revision=41356
Martin Baulig [Wed, 2 Mar 2005 03:00:42 +0000 (03:00 -0000)]
2005-03-02 Martin Baulig <martin@ximian.com>
Committing a patch from Carlos Alberto Cortez to fix #72887.
* convert.cs (Convert.ExplicitReferenceConversionExists): Allow
casts from `T []' to `int []'.
svn path=/trunk/mcs/; revision=41354
Martin Baulig [Wed, 2 Mar 2005 01:55:48 +0000 (01:55 -0000)]
2005-03-02 Martin Baulig <martin@ximian.com>
* class.c (mono_class_is_assignable_from): Make this work if
`oklass' is a generic instance; fixes #72831.
svn path=/trunk/mono/; revision=41353
Martin Baulig [Wed, 2 Mar 2005 01:53:12 +0000 (01:53 -0000)]
New test for #72831.
svn path=/trunk/mcs/; revision=41352
Martin Baulig [Wed, 2 Mar 2005 00:56:25 +0000 (00:56 -0000)]
New test for #71866.
svn path=/trunk/mcs/; revision=41351
Martin Baulig [Wed, 2 Mar 2005 00:55:18 +0000 (00:55 -0000)]
2005-03-02 Martin Baulig <martin@ximian.com>
* generic.cs (TypeManager.IsEqual): Make this symmetric.
* expression.cs (Binary.ResolveOperator): When resolving a
BinaryDelegate, use `TypeManager.IsEqual (l, r)' rather than just
`=='. Fixes #71866. See gen-127.cs.
svn path=/trunk/mcs/; revision=41350
Martin Baulig [Wed, 2 Mar 2005 00:52:05 +0000 (00:52 -0000)]
2005-03-02 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DoDefineMembers): We also need a default
static constructor in static classes.
svn path=/trunk/mcs/; revision=41349
Martin Baulig [Wed, 2 Mar 2005 00:51:33 +0000 (00:51 -0000)]
2005-03-02 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DoDefineMembers): We also need a default
static constructor in static classes.
svn path=/trunk/mcs/; revision=41348
Kazuki Oikawa [Wed, 2 Mar 2005 00:50:08 +0000 (00:50 -0000)]
2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
* NumberFormatter.cs: Some internal classes was converted to structs,
and improved some points.
svn path=/trunk/mcs/; revision=41347
Gonzalo Paniagua Javier [Tue, 1 Mar 2005 22:55:31 +0000 (22:55 -0000)]
2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sockets.c: translate EINPROGRESS to EWOULDBLOCK in connect. This is
the expected error code showed by the test case in bug #73053.
svn path=/trunk/mono/; revision=41344
Martin Baulig [Tue, 1 Mar 2005 22:54:43 +0000 (22:54 -0000)]
Updated.
svn path=/trunk/mcs/; revision=41343
Martin Baulig [Tue, 1 Mar 2005 22:54:30 +0000 (22:54 -0000)]
2005-03-02 Martin Baulig <martin@ximian.com>
* generic.cs
(NullableType.Name, NullableType.FullName): Add a "?" to the name.
(Nullable.LiftedConversion): Added support for user-defined
conversions.
* cs-tokenizer.cs (Tokenizer.PutbackCloseParens): New public method.
* cs-parser.jay: Use ComposedCast everywhere instead of
NullableType, so we don't need to check for NullableType
everywhere.
(conditional_expression): Added `INTERR CLOSE_PARENS' rule for the
case where we'll be resolved into a `parenthesized_expression_0'
afterwards.
* convert.cs
(Convert.UserDefinedConversion): Added nullable conversions.
svn path=/trunk/mcs/; revision=41342
Gonzalo Paniagua Javier [Tue, 1 Mar 2005 22:51:32 +0000 (22:51 -0000)]
2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs: don't Poll/block in Connect aither.
svn path=/trunk/mcs/; revision=41340
Gonzalo Paniagua Javier [Tue, 1 Mar 2005 22:32:37 +0000 (22:32 -0000)]
2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebHeaderCollection.cs: handle commas inside quotes when splitting
a multi-value header. Fixes bug #73151.
svn path=/trunk/mcs/; revision=41338