mono.git
19 years ago2005-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 23 Mar 2005 20:09:12 +0000 (20:09 -0000)]
2005-03-23  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Remove fixme.

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

19 years ago2005-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 23 Mar 2005 19:47:40 +0000 (19:47 -0000)]
2005-03-23  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Remove debugging output.

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

19 years ago2005-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 23 Mar 2005 19:43:38 +0000 (19:43 -0000)]
2005-03-23  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Add support for the modopt(CallConvCdecl).

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

19 years ago2005-03-23 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 23 Mar 2005 19:14:21 +0000 (19:14 -0000)]
2005-03-23  Lluis Sanchez Gual  <lluis@ximian.com>

* corlib_test.dll.sources: Added new serialization test.

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

19 years ago2005-03-23 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 23 Mar 2005 19:13:44 +0000 (19:13 -0000)]
2005-03-23  Lluis Sanchez Gual  <lluis@ximian.com>

* ArraySerializationTest.cs: New serialization tests.

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

19 years ago2005-03-23 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 23 Mar 2005 19:11:05 +0000 (19:11 -0000)]
2005-03-23  Lluis Sanchez Gual  <lluis@ximian.com>

* BinaryCommon.cs: Added helper method for swapping bytes.
* ObjectReader.cs:
* ObjectWriter.cs: Implemented serialization of arrays of primitive
types using Buffer.BlockCopy to create byffers of data that is written/
read in a single call. It's much faster now.

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

19 years ago * TabControl.cs: Fix typo, emilinates an unneeded expose event.
Jackson Harper [Wed, 23 Mar 2005 18:50:29 +0000 (18:50 -0000)]
* TabControl.cs: Fix typo, emilinates an unneeded expose event.

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

19 years ago* runtime/Makefile.am (wrapper-config): Remove temporary file.
Raja R Harinath [Wed, 23 Mar 2005 18:40:14 +0000 (18:40 -0000)]
* runtime/Makefile.am (wrapper-config): Remove temporary file.

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

19 years ago2005-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 23 Mar 2005 18:00:44 +0000 (18:00 -0000)]
2005-03-23  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilderTest.cs: Fix this up after the last change.

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

19 years ago2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 23 Mar 2005 17:26:15 +0000 (17:26 -0000)]
2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>

* BinaryReader.cs, BinaryWriter.cs: Read/write dobules, floats and
decimals in little endian format.

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

19 years ago2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 23 Mar 2005 17:23:27 +0000 (17:23 -0000)]
2005-03-23  Lluis Sanchez Gual <lluis@novell.com>

* OrderedDictionary.cs: Fix bug in item setter.

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

19 years ago2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 23 Mar 2005 17:21:52 +0000 (17:21 -0000)]
2005-03-23  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/AutoGeneratedField.cs
System.Web.UI.WebControls/AutoGeneratedFieldProperties.cs

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

19 years ago2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 23 Mar 2005 17:21:26 +0000 (17:21 -0000)]
2005-03-23  Lluis Sanchez Gual <lluis@novell.com>

* Control.cs: Added a new internal property: HasRenderMethodDelegate.
* HtmlTextWriterAttribute.cs: Replaced wrong enum value.
* HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes

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

19 years ago2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 23 Mar 2005 17:20:57 +0000 (17:20 -0000)]
2005-03-23  Lluis Sanchez Gual <lluis@novell.com>

* DataControlField.cs: Added missing InsertVisible property.
* AutoGeneratedFieldProperties.cs: Implemented.
* PagerSettings.cs: Minor fix.
* GridView.cs: Implemented support for autogenerated fields, templates,
accessible headers. Implemented paging using PagedDataSource.
Implemented missing overridable methods.
* AutoGeneratedField.cs: Initial implementation.
* BoundField.cs: Added ReadOnly property.
* PagedDataSource.cs: Implemented 2.0 api.
* DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
cell class to be used by accessible headers.
* TableCell.cs: Removed unneded constructor. If the cell is bound to
a template, call the default RenderContents method.

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

19 years agoMD 0.6 Makefile-based solution
Rafael Teixeira [Wed, 23 Mar 2005 17:07:26 +0000 (17:07 -0000)]
MD 0.6 Makefile-based solution

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

19 years ago2005-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Mar 2005 17:03:36 +0000 (17:03 -0000)]
2005-03-23  Atsushi Enomoto <atsushi@ximian.com>

* RncParser.jay : fixed some cast error. Supply type name for "data".
* RncTokenizer.cs : don't reject '-' for NCName.
  Don't regard documentation token as a valid token for parser.

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

19 years ago2005-23-03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 23 Mar 2005 17:01:44 +0000 (17:01 -0000)]
2005-23-03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* AssemblyInfo.cs: Some more diligent authors
* ecore.cs, cfold.cs, delegate.cs: remove warnings-causing code

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

19 years ago2005-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 23 Mar 2005 16:06:42 +0000 (16:06 -0000)]
2005-03-23  Zoltan Varga  <vargaz@freemail.hu>

* class-internals.h object-internals.h class.c reflection.c: Extend the
mono_lookup_dynamic_token () function to return the class of the
token as well.

* class.c (mono_ldtoken): Handle MEMBERREFS in the dynamic case as
well. Fixes #73848.

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

19 years agoReverted everything back till revision 41946, that was the last one
Martin Baulig [Wed, 23 Mar 2005 15:59:33 +0000 (15:59 -0000)]
Reverted everything back till revision 41946, that was the last one
before the merging.

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

19 years agoFix bug introduced by martin's change.
Paolo Molaro [Wed, 23 Mar 2005 15:56:14 +0000 (15:56 -0000)]
Fix bug introduced by martin's change.

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

19 years ago2005-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 23 Mar 2005 15:50:55 +0000 (15:50 -0000)]
2005-03-23  Zoltan Varga  <vargaz@freemail.hu>

* cpu-amd64.md (sin): Fix up maximum lengths of some opcodes.

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

19 years ago2005-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Mar 2005 14:13:39 +0000 (14:13 -0000)]
2005-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* XslTransformTests.cs : added test that examines if XSLT rejects
  xsl:import incorrectly placed after other contents.

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

19 years ago2005-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Mar 2005 14:08:32 +0000 (14:08 -0000)]
2005-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* XslStylesheet.cs :
  Variables are stored per stylesheet and added to compiler after
  all of the contents are processed (handle import precedence).
  Imports are now processed in prior to other contents (incorrect
  imports are now rejected). After imports, process includes to
  process nested imports. In-process included stylesheets are
  temporarily stored in including stylesheet.
  Handle keys like variables are handled.
  Added Compile() that is splitted from .ctor().
* Compiler.cs :
  Store keys in compiler and compiled stylesheet.
  Duplicate variables in imports are now overriden as expected.
* XsltCompiledContext.cs : use CompiledStylesheet.ResolveKey().

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

19 years ago2005-03-23 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Wed, 23 Mar 2005 13:30:10 +0000 (13:30 -0000)]
2005-03-23 Ritvik Mayank <mritvik@novell.com>
* Removed executable attribute and eol control-char from all the files
* Removed some unwanted tests.

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

19 years ago2005-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Mar 2005 13:16:47 +0000 (13:16 -0000)]
2005-03-23  Sebastien Pouliot  <sebastien@ximian.com>
* declsec.c: Skip linkdemand checks for intra-corlib calls. This skips
a lot of checks and (anyway) permissions cannot work until corlib is
loaded.

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

19 years ago2005-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Mar 2005 13:14:41 +0000 (13:14 -0000)]
2005-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* security-manager.c: Skip inheritance checks for intra-corlib
class inheritance and method overrides. This skips a lot of checks
and (anyway) permissions cannot work until corlib is loaded.

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

19 years agoWed Mar 23 14:29:49 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 23 Mar 2005 13:05:05 +0000 (13:05 -0000)]
Wed Mar 23 14:29:49 CET 2005 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: fixed ABI issue on sysv/ppc.

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

19 years agoAllow testing of System.Drawing with a libgdiplus snapshot.
Raja R Harinath [Wed, 23 Mar 2005 12:26:26 +0000 (12:26 -0000)]
Allow testing of System.Drawing with a libgdiplus snapshot.
* configure.in (libgdiplus): New --with-libgdiplus option.  Allow
the location of libgdiplus to be overridden.
* runtime/Makefile.am (wrapper-config): Override location of
libgdiplus if requested.

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

19 years ago2005-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Mar 2005 11:53:06 +0000 (11:53 -0000)]
2005-03-23  Martin Baulig  <martin@ximian.com>

* TypeBuilderTest.cs (TestIsAssignableTo_NotDotNet): Put this
whole method into the "NotWorking" category.

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

19 years ago2005-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Mar 2005 10:46:20 +0000 (10:46 -0000)]
2005-03-23  Martin Baulig  <martin@ximian.com>

* marshal.c (mono_marshal_get_stfld_wrapper): Add support for
MONO_TYPE_GENERICINST.

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

19 years ago2005-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Mar 2005 10:21:35 +0000 (10:21 -0000)]
2005-03-23  Martin Baulig  <martin@ximian.com>

* TypeBuilderTest.cs: Disable last test again since the bug report
is reopened.

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

19 years agoremove debug console
Jordi Mas i Hernandez [Wed, 23 Mar 2005 10:01:36 +0000 (10:01 -0000)]
remove debug console

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

19 years ago2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 23 Mar 2005 09:55:26 +0000 (09:55 -0000)]
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
* PaperKind.cs: fixes wrong enum values

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

19 years agoIn System.Drawing.Imaging:
Jordi Mas i Hernandez [Wed, 23 Mar 2005 09:40:43 +0000 (09:40 -0000)]
In System.Drawing.Imaging:
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>

* ColorPalette.cs: fixes ColorPalette marshaling

In System.Drawing:
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>

* gdipFunctions.cs: fixes GdipGetImagePalette signature
* Image.cs: Implements Palette property using gdiplus

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

19 years ago2005-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Mar 2005 08:19:41 +0000 (08:19 -0000)]
2005-03-23  Martin Baulig  <martin@ximian.com>

* metadata.c (mono_type_to_unmanaged): Add MONO_TYPE_GENERICINST.

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

19 years ago2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Mar 2005 03:22:49 +0000 (03:22 -0000)]
2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ResourceManager.cs: use culture.Equals in InternalGetResourceSet().

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 22:03:57 +0000 (22:03 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* expression.cs (ComposedCast.DoResolveAsTypeStep): Put the old
code back; this method has been completely rewritten in MCS, so
the new changes will get in anyways when I merge the rest.

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

19 years agoEnable gmcs again.
Martin Baulig [Tue, 22 Mar 2005 21:15:18 +0000 (21:15 -0000)]
Enable gmcs again.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 21:04:37 +0000 (21:04 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetField): Add support for generic
instances.

* attribute.cs, typemanager.cs: Removed the `#if NET_2_0'
conditionals.

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 20:55:22 +0000 (20:55 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentWriter2.cs : use index for string pool.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 20:08:30 +0000 (20:08 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.DeepCopy): Manually copy the entries and
clear the `BindingFlags.DeclaredOnly'.
(MemberCache.AddMethods): Add `BindingFlags.DeclaredOnly'.

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

19 years agoMerged with GMCS trunk 42056
Jambunathan K [Tue, 22 Mar 2005 18:39:43 +0000 (18:39 -0000)]
Merged with GMCS trunk 42056

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

19 years agoTue Mar 22 19:03:17 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 17:38:51 +0000 (17:38 -0000)]
Tue Mar 22 19:03:17 CET 2005 Paolo Molaro <lupus@ximian.com>

* tramp-ppc.c, exceptions-ppc.c: added missing icache flush
calls (fixes bug#72824).

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

19 years agoactive clone tests now that is fixed
Jordi Mas i Hernandez [Tue, 22 Mar 2005 16:25:59 +0000 (16:25 -0000)]
active clone tests now that is fixed

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 15:46:22 +0000 (15:46 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlValidatingReader.cs : create schema set on demand.

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

19 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 15:44:41 +0000 (15:44 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : EvaluateBoolean() for RTF should check return true
  for empty elements. Fixed static analysis for RTF.

* XslTransformTests.cs : added test 1)that examines pattern sanity and
  2)that examines if empty element RTF is evaluated as true for bool.

--his line, and those below, will be ignored--

M    System.Xml.XPath/ChangeLog
M    System.Xml.XPath/Expression.cs
M    Test/System.Xml.Xsl/ChangeLog
M    Test/System.Xml.Xsl/XslTransformTests.cs
M    Test/System.Xml.Xsl/standalone_tests/Makefile

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

19 years agoTue Mar 22 16:57:01 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:41:00 +0000 (15:41 -0000)]
Tue Mar 22 16:57:01 CET 2005 Paolo Molaro <lupus@ximian.com>

* class.c: added locking comments to some functions.
Cache the interface offsets arrays (saves about 20 KB
of runtime memory in a typical app).
Reduce the time overhead in mono_class_setup_supertypes ().

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 15:32:20 +0000 (15:32 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.AddMethods): Reverted Hari's change from
r40402 in this method: in the generics-land, we cannot compare the
MethodInfo.MethodHandle's since we may be dealing with
instantiated method.

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

19 years agoOoops, this was wrong.
Martin Baulig [Tue, 22 Mar 2005 15:28:38 +0000 (15:28 -0000)]
Ooops, this was wrong.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 15:28:05 +0000 (15:28 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* delegate.cs (Delegate.VerifyMethod): Call
TypeManager.GetParameterData() after method inference, not before.

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

19 years agoDisable gmcs for now, revert this when it builds again
Dick Porter [Tue, 22 Mar 2005 15:26:51 +0000 (15:26 -0000)]
Disable gmcs for now, revert this when it builds again

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

19 years agoSmall fix.
Martin Baulig [Tue, 22 Mar 2005 15:26:40 +0000 (15:26 -0000)]
Small fix.

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

19 years agoTue Mar 22 16:35:57 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:11:23 +0000 (15:11 -0000)]
Tue Mar 22 16:35:57 CET 2005 Paolo Molaro <lupus@ximian.com>

* icall.c: speedup and fix leaks in GetMethodsByName and
GetPropertiesByName.

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

19 years agoTue Mar 22 16:34:29 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:09:40 +0000 (15:09 -0000)]
Tue Mar 22 16:34:29 CET 2005 Paolo Molaro <lupus@ximian.com>

* reflection.c: some locking fixes.

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

19 years agoTue Mar 22 16:28:48 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:05:01 +0000 (15:05 -0000)]
Tue Mar 22 16:28:48 CET 2005 Paolo Molaro <lupus@ximian.com>

* mini.c: fix tail recursion elimination (see test in bug#73936).

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

19 years agoTue Mar 22 15:13:54 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 13:50:05 +0000 (13:50 -0000)]
Tue Mar 22 15:13:54 CET 2005 Paolo Molaro <lupus@ximian.com>

* metadata.c: added missing break in case statement.

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

19 years agoAdded files I forgot to commit.
Jonathan Chambers [Tue, 22 Mar 2005 13:40:25 +0000 (13:40 -0000)]
Added files I forgot to commit.

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

19 years agoAdded items needed for PropertyGrid; CategoryGridEntry.cs, PropertyGridEntry.cs,...
Jonathan Chambers [Tue, 22 Mar 2005 13:29:53 +0000 (13:29 -0000)]
Added items needed for PropertyGrid; CategoryGridEntry.cs, PropertyGridEntry.cs, and PropertyGridTextBox.cs

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

19 years agoUpdated PropertyGrid and related items.
Jonathan Chambers [Tue, 22 Mar 2005 13:28:24 +0000 (13:28 -0000)]
Updated PropertyGrid and related items.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 12:52:07 +0000 (12:52 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.LookupMemberCache): Add support for
generic instances.

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

19 years ago2004-03-22 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 22 Mar 2005 12:38:52 +0000 (12:38 -0000)]
2004-03-22  Jordi Mas i Hernandez <jordi@ximian.com>

* TestColorMatrix.cs: added test case
* TestImageAttributes.cs: added test case

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

19 years agofixes System.Drawing tests
Jordi Mas i Hernandez [Tue, 22 Mar 2005 12:34:47 +0000 (12:34 -0000)]
fixes System.Drawing tests

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 12:32:31 +0000 (12:32 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* IdPattern.cs, LocationPathPattern.cs :
  Use XsltCompiledContext.GetNavCache() that returns reusable
  navigator cache for each pattern, to avoid Clone() and not to leave
  reference to already-done instance navigator.

* XslTransformProcessor.cs : now it looks safe to remove SetContext()
  from each EvaluateXXX() methods.
* MsxslScriptManager.cs : not to leave reference to stylesheet
  navigator, pass current node to Compile().
* XslCompiledContext.cs : Added GetNavCache() that returns reusable
  navigator cache for each pattern, to avoid Clone() and not to leave
  reference to already-done instance navigator.

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

19 years agoFix for 'MyClass' instance expression
Satya Sudha K [Tue, 22 Mar 2005 11:11:12 +0000 (11:11 -0000)]
Fix for 'MyClass' instance expression

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

19 years ago * RowUpdatedEventArgs.cs: if custom error is not set, throw a
Sureshkumar T [Tue, 22 Mar 2005 11:09:19 +0000 (11:09 -0000)]
* RowUpdatedEventArgs.cs: if custom error is not set, throw a
default error.

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

19 years agonew error tests
Marek Safar [Tue, 22 Mar 2005 11:01:33 +0000 (11:01 -0000)]
new error tests

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

19 years ago2005-03-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 22 Mar 2005 10:59:21 +0000 (10:59 -0000)]
2005-03-22  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (Assign.DoResolve): Check for CS1717 when
source and target are same (uses Equals).

* expression.cs (LocalVariableReference, ParameterReference,
This): Implemented Equals, GetHashCode.

* statement.cs (Block.GetParameterReference): Removed useless
local variable.

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

19 years ago2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 22 Mar 2005 10:58:48 +0000 (10:58 -0000)]
2005-03-22  Sureshkumar T  <tsureshkumar@novell.com>

* DbDataAdapter.cs: Update (): update the rows based on the
UpdateRowSource property. Process further based on the
RowUpdatedEvent handler argument's Status property.

Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
bug report and patch.

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

19 years agoOooops, typo.
Martin Baulig [Tue, 22 Mar 2005 10:58:31 +0000 (10:58 -0000)]
Oooops, typo.

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

19 years agoAdded System.Runtime.CompilerServices.FixedBufferAttribute.
Martin Baulig [Tue, 22 Mar 2005 10:57:35 +0000 (10:57 -0000)]
Added System.Runtime.CompilerServices.FixedBufferAttribute.

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

19 years agoAdd System.Runtime.CompilerServices.CompilerGeneratedAttribute.
Martin Baulig [Tue, 22 Mar 2005 10:55:41 +0000 (10:55 -0000)]
Add System.Runtime.CompilerServices.CompilerGeneratedAttribute.

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

19 years agoFix cs0128.cs
Raja R Harinath [Tue, 22 Mar 2005 10:36:42 +0000 (10:36 -0000)]
Fix cs0128.cs
* statement.cs (Block.AddVariable): Ensure that we skip implicit
blocks before deciding whether the error is cs0136 or cs0128.

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

19 years ago* cs-parser.jay: Pass MemberName to RootContext.Tree.RecordDecl.
Raja R Harinath [Tue, 22 Mar 2005 10:30:18 +0000 (10:30 -0000)]
* cs-parser.jay: Pass MemberName to RootContext.Tree.RecordDecl.
(using_alias_directive, using_namespace_directive): Pass
MemberName, not an expression to Namespace.UsingAlias and
Namespace.Using.
(MakeName): Use the MemberName of the namespace.
* namespace.cs (Namespace.MemberName): New.
(UsingEntry.UsingEntry): Take a MemberName, not an expression.
(AliasEntry.AliasEntry, Namespace.Using, Namespace.UsingAlias):
Likewise.
* decl.cs (MemberName.Name): Make readonly.
(MemberName.FromDotted): New "constructor".
(MemberName.Equals, MemberName.GetHashCode): Implement overrides.
(MemberCore.Name): Compute from MemberName on demand.
(MemberCore.SetMemberName): Provide a way to change the
MemberName.
(MemberCore.AddToContainer): Don't take a fullname parameter.
* class.cs (TypeContainer.AddToMemberContainer): Don't add the
fully qualified name of the container to the member name.
(TypeContainer.AddToTypeContainer): Use a fully qualified name
only if the type is a member of the root container.
(TypeContainer.AddMethod, TypeContainer.AddProperty): Use
MemberName.Left rather than searching for an embedded ".".
(PartialContainer.CreatePart): Update to changes in RootContext.
(MemberBase.ShortName): Turn into a property.  Use
MemberCore.SetMemberName.
(MemberBase.ExplicitInterfaceName): Remove.
(MemberBase.UpdateMemberName): Remove.
(AbstractPropertyEventMethod.UpdateName): Use SetMemberName.
(PropertyBase.SetMemberName): New override.
* tree.cs (Tree.RecordDecl): Take a MemberName and use it as hash key.
(Tree.GetDecl): New.
(Tree.AllDecls): Rename from Decls.
* attribute.cs, enum.cs, report.cs: Update to changes.
* driver.cs (MainDriver): Use MemberName.FromDotted on
RootContext.MainClass.

This patch uses MemberName more pervasively, and avoids allocating a
lot of memory to string concats.

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

19 years ago**** Merged r41134-r41268 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:27:54 +0000 (10:27 -0000)]
**** Merged r41134-r41268 from MCS ****

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

19 years ago2005-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 22 Mar 2005 10:27:14 +0000 (10:27 -0000)]
2005-03-22  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_runtime_invoke): Add support for
typedbyref return values. Fixes #73941.

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

19 years ago**** Merged r41091-41093 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:26:40 +0000 (10:26 -0000)]
**** Merged r41091-41093 from MCS ****

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

19 years ago**** Merged r40984-r41087 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:22:36 +0000 (10:22 -0000)]
**** Merged r40984-r41087 from MCS ****

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

19 years ago**** Merged r40973-r40980 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:20:50 +0000 (10:20 -0000)]
**** Merged r40973-r40980 from MCS ****

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

19 years ago**** Merged r40971 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:18:00 +0000 (10:18 -0000)]
**** Merged r40971 from MCS ****

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

19 years ago**** Merged r40732-r40872 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:12:21 +0000 (10:12 -0000)]
**** Merged r40732-r40872 from MCS ****

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

19 years ago**** Merged r40699 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:10:27 +0000 (10:10 -0000)]
**** Merged r40699 from MCS ****

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

19 years ago**** Merged r40625 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:07:30 +0000 (10:07 -0000)]
**** Merged r40625 from MCS ****

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

19 years ago**** Merged r40511-r40612 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:05:55 +0000 (10:05 -0000)]
**** Merged r40511-r40612 from MCS ****

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

19 years agoColorMatrix usage sample
Jordi Mas i Hernandez [Tue, 22 Mar 2005 10:03:03 +0000 (10:03 -0000)]
ColorMatrix usage sample

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

19 years ago**** Merged r40464 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:01:15 +0000 (10:01 -0000)]
**** Merged r40464 from MCS ****

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

19 years ago**** Merged r40457-r40460 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 09:59:34 +0000 (09:59 -0000)]
**** Merged r40457-r40460 from MCS ****

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

19 years ago**** Merged r40402-r40410 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 09:58:37 +0000 (09:58 -0000)]
**** Merged r40402-r40410 from MCS ****

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

19 years ago**** Merged r40327 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 09:54:25 +0000 (09:54 -0000)]
**** Merged r40327 from MCS ****

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

19 years agoPatch for reducing conflicts in grammar - by Sudharsan V
Satya Sudha K [Tue, 22 Mar 2005 09:51:00 +0000 (09:51 -0000)]
Patch for reducing conflicts in grammar - by Sudharsan V

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

19 years ago2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 22 Mar 2005 09:19:13 +0000 (09:19 -0000)]
2005-03-22  Sureshkumar T  <tsureshkumar@novell.com>
            Appsamy <appasamy@rediffmail.com>

* libodbc.cs (System.Data.Odbc): Added enum FieldIdentifier. Added
library functions SQLPrimaryKeys, SQLBindCol and SQLColAttribute.

* OdbcDataReader.cs: Implemented GetPrimaryKeys to get the primary
keys associated with resultset using SQLPrimaryKeys.

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

19 years agomark internal for SQL_C_TYPE
Sureshkumar T [Tue, 22 Mar 2005 09:12:02 +0000 (09:12 -0000)]
mark internal for SQL_C_TYPE

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

19 years agoDirectorySearcher.cs :
Boris Kirzner [Tue, 22 Mar 2005 07:44:20 +0000 (07:44 -0000)]
DirectorySearcher.cs :
- ClientTimeout and ServerPageTimeLimit initialized to 1 second.
- SizeLimit initialized to 0.
- Setting SizeLimit to negative value throws an exception.
- Added private variable for ServerTime Limit.
- Avoid infinite loop in CacheResults.
- Removed emptycol, search result lazy evaluated intead of this.
- If the search did not return results, FindOne() should returns null.
- ADsPath property always loaded, or created from DN.

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:42:14 +0000 (07:42 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* xslttest.cs, alltest.cs : Now that xsl:key got improved, there is
  no need to skip those tests.

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

19 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:39:29 +0000 (07:39 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : Now it holds XPath parser and XSLT pattern parser.
* XslKey.cs : Use XSLT pattern parser for match.
  UsePattern is now "Use" (it is not a pattern).
  Reimplemented Evaluate() to make full use of index table.
  Added Matches() to handle shorter match evaluation. For const value
  for key (e.g. key patterns), it could avoid Evaluate().
* XsltCompiledContext.cs : Added MatchesKey() that just delegates to
  new KeyIndexTable.Matches().
* XslFunctions.cs : Added PatternMatches() that just delegates to new
  XsltCompiledContext.MatchesKey().

* Pattern.cs : Pattern.Compile() now uses XSLT pattern parser instead
  of XPath parser.
* KeyPattern.cs : Matches() now just delegates to XsltKey.MatchesKey().

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

19 years agoWhen adding new entry, do not set "objectclass" property to include schemaClassName...
Boris Kirzner [Tue, 22 Mar 2005 07:31:48 +0000 (07:31 -0000)]
When adding new entry, do not set "objectclass" property to include schemaClassName value

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

19 years agoMade correction in few test-cases
Ritvik Mayank [Tue, 22 Mar 2005 07:29:11 +0000 (07:29 -0000)]
Made correction in few test-cases

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:27:59 +0000 (07:27 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* GenericOutputter.cs : commented out warned fields.

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

19 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:26:41 +0000 (07:26 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : now it creates XSLT pattern parser files from
  Parser.jay and Tokenizer.cs in System.Xml.XPath.

* Parser.jay, Tokenizer.cs : Now they are used as common code base for
  XPath parser and XSLT pattern parser. Makefile now creates two
  set of sources of them. (This change takes effect on the next change).

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:15:52 +0000 (07:15 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* XslTransform.cs : commented out warned code.

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:10:40 +0000 (07:10 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaChoice.cs : commented out warned code.
* XmlSchemaCollection.cs : removed warned code (now it all depends on
  XmlSchemaSet).

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