mono.git
20 years ago * DataColumn.cs: In Expression setter, set the expression member even if
Lluis Sanchez [Tue, 30 Mar 2004 14:35:28 +0000 (14:35 -0000)]
* DataColumn.cs: In Expression setter, set the expression member even if
  it is an empty string.
* DataSet.cs: Support serialization of byte[] columns.
* XmlDataLoader.cs: Support deserialization  of Guid columns.
  Set MappingType.Attribute to columns infered from attributes.

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

20 years ago2004-03-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 30 Mar 2004 13:06:10 +0000 (13:06 -0000)]
2004-03-30  Sebastien Pouliot  <sebastien@ximian.com>

* Reference.cs: Changed code to use CryptoConfig to create transforms.
This is "the" way to do it (e.g. to allow new transforms to be added)
but cause problems when using VS.NET for debugging. Old code is still
present, but commented, for that cause.

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

20 years ago2004-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Mar 2004 12:26:18 +0000 (12:26 -0000)]
2004-03-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
so we have to register the existing directories and add the new ones
that might be created.

* SearchPattern.cs: provide the pattern when it's wrong.

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

20 years ago * SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
Lluis Sanchez [Tue, 30 Mar 2004 11:14:36 +0000 (11:14 -0000)]
* SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
  XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
  Support deserialization of members of type XmlDocument. This fixes #56169.

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

20 years agouse gdi+ functions to get image details
Jordi Mas i Hernandez [Tue, 30 Mar 2004 10:43:01 +0000 (10:43 -0000)]
use gdi+ functions to get image details

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

20 years ago * synchronized.cs: Monitor.Exit does not throw an exception anymore if the
Lluis Sanchez [Tue, 30 Mar 2004 09:43:59 +0000 (09:43 -0000)]
* synchronized.cs: Monitor.Exit does not throw an exception anymore if the
lock is not owned by the current thread (see bug #56157). Modified test that
checked this.

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

20 years ago2004-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Mar 2004 09:42:11 +0000 (09:42 -0000)]
2004-03-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConfigurationSettings.cs: use FileSystemWatcher and really reload
configuration when the file is created or modified.

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

20 years agoAdded new test
Miguel de Icaza [Tue, 30 Mar 2004 04:59:20 +0000 (04:59 -0000)]
Added new test

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

20 years ago2004-03-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 30 Mar 2004 03:31:02 +0000 (03:31 -0000)]
2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* typemanager.cs: support for pinned variables.

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

20 years ago2004-03-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 30 Mar 2004 03:29:36 +0000 (03:29 -0000)]
2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* LocalBuilder.cs: pinned support.

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

20 years ago2004-03-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 30 Mar 2004 03:26:16 +0000 (03:26 -0000)]
2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* reflection.c, icall.c: add support for pinning variables.

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

20 years ago2004-03-29 Ben Maurer <bmaurer@users.sourceforge.net>
Miguel de Icaza [Tue, 30 Mar 2004 03:14:52 +0000 (03:14 -0000)]
2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* decl.cs, typemanager.cs: Avoid using an arraylist
as a buffer if there is only one result set.

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

20 years agoupdate
Miguel de Icaza [Tue, 30 Mar 2004 03:14:43 +0000 (03:14 -0000)]
update

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

20 years agomove along now
Ben Maurer [Tue, 30 Mar 2004 03:13:43 +0000 (03:13 -0000)]
move along now

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

20 years ago2004-03-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 30 Mar 2004 03:01:54 +0000 (03:01 -0000)]
2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* cs0176.cs: make this test better.

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

20 years ago2004-03-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 30 Mar 2004 02:55:35 +0000 (02:55 -0000)]
2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* decl.cs, typemanager.cs: Avoid using an arraylist
as a buffer if there is only one result set.

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

20 years agoget the right #
Ben Maurer [Tue, 30 Mar 2004 02:52:04 +0000 (02:52 -0000)]
get the right #

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

20 years ago2004-03-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 30 Mar 2004 02:49:32 +0000 (02:49 -0000)]
2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: Make sure you cant call a static method
with an instance expression, bug #52587.

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

20 years ago2004-03-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 30 Mar 2004 02:38:39 +0000 (02:38 -0000)]
2004-03-29  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Do not require whitespace when a ( or " will do
in preprocessor directives.

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

20 years agoImprove test
Miguel de Icaza [Tue, 30 Mar 2004 02:36:57 +0000 (02:36 -0000)]
Improve test

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

20 years ago2004-03-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 30 Mar 2004 02:19:09 +0000 (02:19 -0000)]
2004-03-29  Miguel de Icaza  <miguel@ximian.com>

* location.cs (LookupFile): Allow for the empty path.

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

20 years ago2004-03-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 30 Mar 2004 01:58:53 +0000 (01:58 -0000)]
2004-03-29  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (DefinePInvokeMethod): Fix 56148;  I would like a
better approach for some of that patch, but its failing with the
CharSet enumeration.  For now try/catch will do.

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

20 years ago2004-03-29 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 30 Mar 2004 01:44:17 +0000 (01:44 -0000)]
2004-03-29  Bernie Solomon  <bernard@ugsolutions.com>

* hppa/hppa-codegen.h:
fix displacements in FP instrs

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

20 years agoAdded some comments.
Martin Baulig [Tue, 30 Mar 2004 01:37:38 +0000 (01:37 -0000)]
Added some comments.

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

20 years ago2004-03-29 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 30 Mar 2004 01:25:08 +0000 (01:25 -0000)]
2004-03-29  Bernie Solomon  <bernard@ugsolutions.com>

* marshal.c (mono_marshal_get_managed_wrapper):
init bool local with zero rather than null.

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

20 years ago2004-03-29 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 30 Mar 2004 01:20:01 +0000 (01:20 -0000)]
2004-03-29  Bernie Solomon  <bernard@ugsolutions.com>

* interp.c interp.h: remove child from MonoInvocation
as it isn't used.

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

20 years ago2004-03-29 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 30 Mar 2004 01:18:11 +0000 (01:18 -0000)]
2004-03-29  Bernie Solomon  <bernard@ugsolutions.com>

* amd64/tramp.c:
* arm/tramp.c:
* hppa/tramp.c:
* ppc/tramp.c:
* s390/tramp.c:
* sparc/tramp.c:
* x86/tramp.c:
remove child from MonoInvocation as it isn't used.

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

20 years agoUse -unsafe instead of --unsafe in error messages
Miguel de Icaza [Tue, 30 Mar 2004 01:02:29 +0000 (01:02 -0000)]
Use -unsafe instead of --unsafe in error messages

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

20 years agoUpdated
Lluis Sanchez [Tue, 30 Mar 2004 01:00:14 +0000 (01:00 -0000)]
Updated

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 30 Mar 2004 00:56:19 +0000 (00:56 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* delegate.cs (Delegate.VerifyMethod): Infer type arguments.

* expression.cs (Invocation.InferTypeArguments): Added overloaded
public version which takes a `ParameterData pd' instead of an
`ArrayList args'.

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

20 years agoNew test.
Martin Baulig [Tue, 30 Mar 2004 00:54:29 +0000 (00:54 -0000)]
New test.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 30 Mar 2004 00:38:48 +0000 (00:38 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.IsGenericMethod): Take a MethodBase,
not a MethodInfo.

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

20 years agoUse Mono_IsInflatedMethod.
Martin Baulig [Tue, 30 Mar 2004 00:30:09 +0000 (00:30 -0000)]
Use Mono_IsInflatedMethod.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 30 Mar 2004 00:27:57 +0000 (00:27 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
virtual property.
(MethodBase.HasGenericParameters): Use the "official" behavior
here, ie. return false if we're not a generic method.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 30 Mar 2004 00:25:53 +0000 (00:25 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_MonoMethod_get_HasGenericParameters): Show
the "official" behavior here.
(ves_icall_MonoMethod_get_Mono_IsInflatedMethod): New interncall.

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

20 years agoReflect latest API changes.
Martin Baulig [Tue, 30 Mar 2004 00:13:34 +0000 (00:13 -0000)]
Reflect latest API changes.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 30 Mar 2004 00:13:12 +0000 (00:13 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* icall.c: Reflect latest API changes.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 30 Mar 2004 00:12:32 +0000 (00:12 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* MethodBase.cs: Moved the generics stuff here, made it virtual
where neccessary and use the correct API.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 22:35:09 +0000 (22:35 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* expression.cs (Argument.ResolveMethodGroup): If we're a
ConstructedType, call GetMemberAccess() on it.

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

20 years ago2004-03-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 29 Mar 2004 22:07:24 +0000 (22:07 -0000)]
2004-03-29  Miguel de Icaza  <miguel@ximian.com>

* Console.cs: If we fail to open stdin/stdout/stderr, create
readers with a NullStream.  This can happen if our caller does not
setup stdin/stoud/stderr file handles.  #56158 exposed this, but
it will happen elsewhere.

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

20 years agoNew test.
Martin Baulig [Mon, 29 Mar 2004 22:01:54 +0000 (22:01 -0000)]
New test.

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

20 years agoThe base type of a generic parameter is always TypeManager.object_type.
Martin Baulig [Mon, 29 Mar 2004 22:00:23 +0000 (22:00 -0000)]
The base type of a generic parameter is always TypeManager.object_type.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 21:59:13 +0000 (21:59 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* loader.c (mono_get_method_from_token): Also call
mono_metadata_load_generic_params () for abstract and interface
methods; replace the type arguments in the method signature with
the ones which are loaded from the metadata.

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

20 years ago2004-03-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 29 Mar 2004 21:41:46 +0000 (21:41 -0000)]
2004-03-29  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs: Do not crash if a struct does not have fields.
Fixes 56150.

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

20 years agoAdd new test
Miguel de Icaza [Mon, 29 Mar 2004 21:40:49 +0000 (21:40 -0000)]
Add new test

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 21:15:59 +0000 (21:15 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* class.cs (MethodBase.CheckGenericOverride): New abstract method.
(MethodCore.CheckGenericOverride): When overriding a generic
method, check whether the constraints match.

* support.cs (GenericConstraints): New public interface.
(ParameterData.GenericConstraints): New public method.

* parameter.cs (Parameter.Resolve): Check whether we're a generic
method parameter and compute our constraints if appropriate.
(Parameter.GenericConstraints): New public property.

* generic.cs (Constraints): Implement GenericConstraints.

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

20 years agoWe may get called to create the parent of a dynamic generic instance; in this
Martin Baulig [Mon, 29 Mar 2004 20:49:30 +0000 (20:49 -0000)]
We may get called to create the parent of a dynamic generic instance; in this
case, we're dynamic as well.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 18:23:28 +0000 (18:23 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.FindMemberToOverride): Use
`paramTypes [j].Equals (cmpAttrs [j])' instead of `=='.

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

20 years ago * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
Lluis Sanchez [Mon, 29 Mar 2004 17:59:33 +0000 (17:59 -0000)]
* CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
Created a new method GetSafeTypeName to support this.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:59:21 +0000 (17:59 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* generic.cs (GenericMethod.Define): Resolve our type parameters.

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

20 years ago* Executor.cs: Implemented.
Lluis Sanchez [Mon, 29 Mar 2004 17:56:19 +0000 (17:56 -0000)]
* Executor.cs: Implemented.

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

20 years agoDamn, no debugging code here.
Martin Baulig [Mon, 29 Mar 2004 17:47:34 +0000 (17:47 -0000)]
Damn, no debugging code here.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:47:18 +0000 (17:47 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* cs-parser.jay: Report CS0080 instead of -200 ("Constraints are
not allowed on non-generic declarations").

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:39:29 +0000 (17:39 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.ContainsGenericParameters): Implemented.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 17:16:47 +0000 (17:16 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.InferTypeArguments): Added overloaded
public version of this method.

* class.cs (MethodCore.IsDuplicateImplementation): Use
Invocation.InferTypeArguments() to check this.

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

20 years agoGenerics ...
Martin Baulig [Mon, 29 Mar 2004 17:12:25 +0000 (17:12 -0000)]
Generics ...

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

20 years agoOooops, forgot to add them.
Martin Baulig [Mon, 29 Mar 2004 17:12:09 +0000 (17:12 -0000)]
Oooops, forgot to add them.

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

20 years agoAdded testcase.
Martin Baulig [Mon, 29 Mar 2004 17:11:51 +0000 (17:11 -0000)]
Added testcase.

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

20 years ago2004-03-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 29 Mar 2004 16:46:08 +0000 (16:46 -0000)]
2004-03-29 Marek Safar <marek.safar@seznam.cz>
* cs0029-3.cs,
          cs0173-2.cs,
          cs0619-{2-26}.cs,
          cs0672.cs: 29 new error tests.

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

20 years ago * GuidTest.cs: Test constructor when the input string is in format "P"
Lluis Sanchez [Mon, 29 Mar 2004 16:07:59 +0000 (16:07 -0000)]
* GuidTest.cs: Test constructor when the input string is in format "P"
  or "N".

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

20 years ago * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue and
Lluis Sanchez [Mon, 29 Mar 2004 16:06:43 +0000 (16:06 -0000)]
* Convert.cs: In ToSingle(double), removed checks for Single.MaxValue and
  Single.MinValue. MS.NET don't do it. This fixes bug #56005.
* Guid.cs: Added support for guid strings in the "N" and "P" formats in
  the constructor. This fixes bug #54019.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 15:57:30 +0000 (15:57 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* convert.cs: Use TypeManager.IsDelegateType() instead of
comparing types correctly.

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 15:28:00 +0000 (15:28 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* convert.cs: Use TypeManager.IsSubclassOf() instead of comparing
types directly to make it work for generic instances.

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

20 years ago * main.c: Handle pinvoke info where there is not an impl_map
Jackson Harper [Mon, 29 Mar 2004 15:16:18 +0000 (15:16 -0000)]
    * main.c: Handle pinvoke info where there is not an impl_map
entry.

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

20 years agoNew test.
Martin Baulig [Mon, 29 Mar 2004 15:07:20 +0000 (15:07 -0000)]
New test.

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

20 years agoNew tests ...
Martin Baulig [Mon, 29 Mar 2004 15:07:11 +0000 (15:07 -0000)]
New tests ...

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

20 years ago2004-03-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 15:05:54 +0000 (15:05 -0000)]
2004-03-29  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.MayBecomeEqualGenericTypes): Added
support for arrays.

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

20 years ago2004-03-29 Umadevi S (sumadevi@novell.com)
Umadevi S [Mon, 29 Mar 2004 12:46:32 +0000 (12:46 -0000)]
2004-03-29 Umadevi S (sumadevi@novell.com)
- Removed TODO tags from Find methods since .NET also returns null

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

20 years ago * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
Lluis Sanchez [Mon, 29 Mar 2004 12:17:03 +0000 (12:17 -0000)]
* HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
the lock is released in case of exception (for example, a
ThreadAbortException). This also "fixes" bug #52417.
Beware, this requires a runtime update (due to a bug in Monitor.Exit).
* ServicePoint.cs: Changed method from internal to private, since it is not
called from outside the class.

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

20 years ago * monitor.c: In mono_monitor_exit(), don't throw an exception if the owner
Lluis Sanchez [Mon, 29 Mar 2004 12:03:10 +0000 (12:03 -0000)]
* monitor.c: In mono_monitor_exit(), don't throw an exception if the owner
of the lock is not the current thread. MS.NET don't do it, in spite of
what the documentation says. See bug #56157.

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

20 years agoadded missing methods and properties to a few classes and fixes
Jordi Mas i Hernandez [Mon, 29 Mar 2004 11:32:22 +0000 (11:32 -0000)]
added missing methods and properties to a few classes and fixes

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

20 years ago * CollectionBase.cs: Renamed internal arraylist member to match MS.NET
Lluis Sanchez [Mon, 29 Mar 2004 10:16:32 +0000 (10:16 -0000)]
* CollectionBase.cs: Renamed internal arraylist member to match MS.NET
  (to allow serialization interoperability).

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

20 years ago2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
Juraj Skripsky [Mon, 29 Mar 2004 07:56:47 +0000 (07:56 -0000)]
2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>

* System.Data.dll.sources : added classes in Mono.Data.SqlExpressions
* Makefile : add jay-target for Mono.Data.SqlExpressions/Parser.cs

* ExpressionElements.cs : remove
* DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
Integration of new Mono.Data.SqlExpressions classes used in
DataTable.{Select, Compute}.
Fixes bug #55503 and lots of failures in DataTableTest.cs.

* DataTableTest.cs : add test case for bug #55503,
comment out meaningless test cases.

* Initial implementation of Mono.Data.SqlExpressions.

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

20 years ago * ILParser.jay: Fix typo.
Jackson Harper [Mon, 29 Mar 2004 05:18:33 +0000 (05:18 -0000)]
    * ILParser.jay: Fix typo.

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

20 years agorevert -- breaks build
Ben Maurer [Mon, 29 Mar 2004 05:13:03 +0000 (05:13 -0000)]
revert -- breaks build

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

20 years agoNew test.
Martin Baulig [Mon, 29 Mar 2004 01:58:26 +0000 (01:58 -0000)]
New test.

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

20 years ago2004-03-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 29 Mar 2004 01:57:45 +0000 (01:57 -0000)]
2004-03-28  Martin Baulig  <martin@ximian.com>

* mini.c (mmono_method_to_ir): In CEE_STELEM, do a handle_stobj()
if neccessary.

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

20 years ago2004-03-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Mar 2004 01:35:41 +0000 (01:35 -0000)]
2004-03-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: cs0213, cant fix a fixed expression.
fixes 50231.

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

20 years agomore test
Ben Maurer [Mon, 29 Mar 2004 01:18:06 +0000 (01:18 -0000)]
more test

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

20 years ago2004-03-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Mar 2004 01:16:29 +0000 (01:16 -0000)]
2004-03-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* cs-parser.jay: detect invalid embeded statements gracefully.
bug #51113.

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

20 years agotest case
Ben Maurer [Mon, 29 Mar 2004 01:14:22 +0000 (01:14 -0000)]
test case

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

20 years ago2004-03-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 29 Mar 2004 01:09:06 +0000 (01:09 -0000)]
2004-03-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* ecore.cs, typemanager.cs: Correct impl of cs1540 check.
As a regex:
s/
the invocation type may not be a subclass of the tye of the item/
The type of the item must be a subclass of the invocation item.
/g

Fixes bug #50820.

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

20 years ago2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Mon, 29 Mar 2004 00:01:19 +0000 (00:01 -0000)]
2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
        * Npgsql/NpgsqlTransaction.cs: Fixed a bug where rollback was being called when disposing NpgsqlTransaction objects even when transaction was sucessfully commited. Fixes bug 725 in gborg. Thanks melkor (melkor@adinet.com.uy) for spotting that.

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

20 years ago * PeapiTypeRef.cs: Check for null bounds in bound arrays. Patch by
Jackson Harper [Sun, 28 Mar 2004 20:56:50 +0000 (20:56 -0000)]
      * PeapiTypeRef.cs: Check for null bounds in bound arrays. Patch by
Vladimir Vukicevic.
* ModifiablyType.cs: Set names properly for bound arrays.

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

20 years agoupdating mbas text a bit
Rafael Teixeira [Sun, 28 Mar 2004 19:43:01 +0000 (19:43 -0000)]
updating mbas text a bit

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

20 years agoBug fixes ....
Martin Baulig [Sun, 28 Mar 2004 19:28:13 +0000 (19:28 -0000)]
Bug fixes ....

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

20 years ago * ILParser.jay: Set true and false literals properly. Add instance
Jackson Harper [Sun, 28 Mar 2004 19:27:39 +0000 (19:27 -0000)]
    * ILParser.jay: Set true and false literals properly. Add instance
property attribute.

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

20 years ago2004-03-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 28 Mar 2004 19:26:40 +0000 (19:26 -0000)]
2004-03-28  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): Don't call init_properties() and
init_events() for generic instances; set `prop->parent' when
inflating properties.

* reflection.c (mono_generic_inst_get_object): Call
`mono_class_init (ginst->klass)'.
(mono_type_get_object): Only create a MonoGenericInst if your
generic type is a TypeBuilder.
(do_mono_reflection_bind_generic_parameters): Only set
`ginst->is_dynamic' if our generic type is a TypeBuilder.

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

20 years agoDon't crash here ;-)
Martin Baulig [Sun, 28 Mar 2004 19:24:50 +0000 (19:24 -0000)]
Don't crash here ;-)

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

20 years ago2004-02-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sun, 28 Mar 2004 19:20:34 +0000 (19:20 -0000)]
2004-02-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Utils.cs:
Spacing corrections

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

20 years ago * get.c (get_constant): output bool consts as bool(true) or
Jackson Harper [Sun, 28 Mar 2004 18:30:48 +0000 (18:30 -0000)]
    * get.c (get_constant): output bool consts as bool(true) or
       bool(false)  (to be same as ildasm, also what mono and ms
       ilasm expect). Patch by Vladimir Vukicevic.

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

20 years ago2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sun, 28 Mar 2004 18:27:08 +0000 (18:27 -0000)]
2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
        * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 17:16:54 +0000 (17:16 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_patch_code): Fix warnings.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 17:08:57 +0000 (17:08 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_output_basic_block): Fix CEE_MUL_OVF_UN if
dreg is not EAX. Thanks to Willibard Krenn for spotting this. Also
remove unused conv_u4 opcode.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 16:15:17 +0000 (16:15 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (unload_thread_main): Do not clear proxy_vtable_hash.
Fixes #56091.

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

20 years ago2004-03-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Mar 2004 16:12:42 +0000 (16:12 -0000)]
2004-03-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c: Remove valgrind workaround since it slows down things
even when mono is not run under valgrind.

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

20 years agoThis fixes bugs #56129 and #56014.
Juraj Skripsky [Sun, 28 Mar 2004 11:43:28 +0000 (11:43 -0000)]
This fixes bugs #56129 and #56014.

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

20 years agoRemove OpenModeTypes
Duncan Mak [Sun, 28 Mar 2004 06:06:31 +0000 (06:06 -0000)]
Remove OpenModeTypes

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 22:33:16 +0000 (22:33 -0000)]
2004-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* ScriptCompilerInfo.cs : #line directive now holds dummy filename
  when BaseURI for msxsl:script node is not available. This fixes
  bug #56070.
  Don't output line number in the error message, when it is 0.

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

20 years ago2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Mar 2004 22:14:43 +0000 (22:14 -0000)]
2004-03-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : ReadInnerXml() should progress reader when it is on
  an empty element. This fixes bug #56064.

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