mono.git
19 years ago2004-12-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 6 Dec 2004 08:43:22 +0000 (08:43 -0000)]
2004-12-06  Marek Safar  <marek.safar@seznam.cz>

Fixed #69195, #56821
* ecore.cs (ResolveBoolean): Tiny refactoring.

* expression.cs (Binary.DoResolve): Add warning 429 and skipping
of right expression resolving when left is false constant and
operator is LogicalAnd OR true constant and operator is LogicalOr.

* statement.cs (ResolveUnreachable): Always reports warning.

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

19 years ago2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Dec 2004 05:45:40 +0000 (05:45 -0000)]
2004-12-06  Atsushi Enomoto  <atsushi@ximian.com>

* corlib_test.dll.sources : added TextWriterTest.cs.

* TextWriterTest.cs : added.

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

19 years ago2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Dec 2004 04:43:04 +0000 (04:43 -0000)]
2004-12-06  Atsushi Enomoto  <atsushi@ximian.com>

* TextWriter.cs : create CoreNewLine in another .ctor().

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

19 years agoupdate
Miguel de Icaza [Mon, 6 Dec 2004 00:58:32 +0000 (00:58 -0000)]
update

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

19 years ago2004-12-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 Dec 2004 00:57:22 +0000 (00:57 -0000)]
2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* ILParser.jay(field_init): Explicit cast to the target type, this
is what ilasm does (0xFFFFFFFF) as an int gets translated

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

19 years ago2004-12-05 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 5 Dec 2004 23:53:20 +0000 (23:53 -0000)]
2004-12-05  Ben Maurer  <bmaurer@ximian.com>

* TextWriter.cs (WriteLine): Use CoreNewLine so that this does
not make a string out of the array every time it is called.

Thanks to Atsushi for the idea.

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

19 years agoUpdate
Miguel de Icaza [Sun, 5 Dec 2004 23:44:24 +0000 (23:44 -0000)]
Update

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

19 years agoupdated entry
Gonzalo Paniagua Javier [Sun, 5 Dec 2004 23:12:59 +0000 (23:12 -0000)]
updated entry

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

19 years ago2004-12-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 5 Dec 2004 23:07:35 +0000 (23:07 -0000)]
2004-12-05  Miguel de Icaza  <miguel@ximian.com>

* AutoResetEvent.cs (Set, Reset): If we are disposed, throw a
ObjectDisposedEvent, helped track the WebConnection destructor
issue.

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

19 years ago2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Dec 2004 23:00:58 +0000 (23:00 -0000)]
2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: set the event in Close so that if the queue is
empty, we won't block forever on next request.

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

19 years ago2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Sun, 5 Dec 2004 22:49:37 +0000 (22:49 -0000)]
2004-12-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>

        * Npgsql/NpgsqlCommand.cs: gborg 971 & 1068: Added support for ParameterDirection.Output and ParameterDirection.InputOutput parameters. Now you can usethese types of parameters to get results. Thanks Ivan (ivan-sun1 at mail dot ru) and (teste at aslls dot ss) for heads up.

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

19 years ago2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 5 Dec 2004 22:29:04 +0000 (22:29 -0000)]
2004-12-06  Atsushi Enomoto <atsushi@ximian.com>

* RdpPattern.cs : fixed setupTable(). Avoid boxing.

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

19 years ago2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 5 Dec 2004 22:17:14 +0000 (22:17 -0000)]
2004-12-06  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngException.cs : don't store debug string. It was so harmful
  for performance.

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

19 years ago2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 5 Dec 2004 22:14:54 +0000 (22:14 -0000)]
2004-12-06  Atsushi Enomoto <atsushi@ximian.com>

* Makefile : added relaxng.rng as a resource.

* relaxng.rng, copying.html : added. relaxng.rng is from Jing, so
  check copying.html for the details (it is MIT/X11 compatible).

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

19 years ago2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Dec 2004 21:31:58 +0000 (21:31 -0000)]
2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: readd prevStream. Caused regressions.

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

19 years ago2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 5 Dec 2004 19:23:12 +0000 (19:23 -0000)]
2004-12-05  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs :
  - Better way to expose API; use ExpectedElements and
    ExpectedAttributes of type ICollection. Now GetLabels is obsolete.
  - Implemented notAllowed check. It might be too heavy since it
    checks all the QNames returned by GetLabels. In such case, use
    RoughLabelCheck = true.
  - Added RoughLabelCheck of type bool that indicates to omit
    notAllowed check.

* RdpPattern.cs : RdpAttribute now omits value check when the argument
  value is null. It is useful to get labels.

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

19 years ago2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 5 Dec 2004 17:12:45 +0000 (17:12 -0000)]
2004-12-05  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs : no, it was very easy. But to avoid
  state-changeful property, it is now bool Emptiable().

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

19 years ago2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 5 Dec 2004 17:05:29 +0000 (17:05 -0000)]
2004-12-05  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs : reverted IsEmptiable. It was not ready.

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

19 years ago2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 5 Dec 2004 16:59:02 +0000 (16:59 -0000)]
2004-12-05  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngPattern.cs : added GetLabels() override to RdpUnresolvedRef.
* RelaxngValidatingReader.cs :
  Added GetLabels() that collects "allowed element names and
  attributes" at current state.
  Added IsEmptiable that indicates whether current reader can be
  closed by an end tag.

* RdpPattern.cs : added GetLabels().

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

19 years agoIgnore.
Martin Baulig [Sun, 5 Dec 2004 16:32:04 +0000 (16:32 -0000)]
Ignore.

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

19 years agoAdd to this list
Miguel de Icaza [Sun, 5 Dec 2004 05:53:44 +0000 (05:53 -0000)]
Add to this list

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

19 years ago2004-12-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 5 Dec 2004 05:36:10 +0000 (05:36 -0000)]
2004-12-05  Miguel de Icaza  <miguel@ximian.com>

* class.cs: Distinguish between 1721 and 1722 (just a little help
for the programmer).

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

19 years agoFix error reporting for cs1722/cs1721
Miguel de Icaza [Sun, 5 Dec 2004 05:35:47 +0000 (05:35 -0000)]
Fix error reporting for cs1722/cs1721

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

19 years agoIn Test/System.IO:
Ben Maurer [Sun, 5 Dec 2004 02:38:06 +0000 (02:38 -0000)]
In Test/System.IO:
2004-12-04  Ben Maurer  <bmaurer@ximian.com>

* DirectoryInfoTest.cs: Check for CreateSubdirectory with empty string.

In System.IO:
2004-12-04  Ben Maurer  <bmaurer@ximian.com>

* DirectoryInfo.cs (CreateSubDirectory): Check the input here.

* FileSystemInfo.cs (CheckPath): Empty paths are invalid.

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

19 years agoHmm, this breaks the build :-(
Martin Baulig [Sun, 5 Dec 2004 01:22:21 +0000 (01:22 -0000)]
Hmm, this breaks the build :-(

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

19 years ago2004-12-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 5 Dec 2004 00:09:38 +0000 (00:09 -0000)]
2004-12-05  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_inflate_generic_signature): Make this a
no-op if `context' is NULL or we don't have any type parameters;
also copy `sentinelpos'.

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

19 years agoOverride DocCommentHeader
Martin Baulig [Sat, 4 Dec 2004 23:53:36 +0000 (23:53 -0000)]
Override DocCommentHeader

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

19 years agoHasArrayParameter has been renamed to HasParams
Martin Baulig [Sat, 4 Dec 2004 23:53:26 +0000 (23:53 -0000)]
HasArrayParameter has been renamed to HasParams

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

19 years agoReflect latest IAlias changes.
Martin Baulig [Sat, 4 Dec 2004 23:49:37 +0000 (23:49 -0000)]
Reflect latest IAlias changes.

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

19 years agoMake this public again.
Martin Baulig [Sat, 4 Dec 2004 23:48:41 +0000 (23:48 -0000)]
Make this public again.

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

19 years agoGetPartialName() has been renamed to GetTypeName().
Martin Baulig [Sat, 4 Dec 2004 23:47:48 +0000 (23:47 -0000)]
GetPartialName() has been renamed to GetTypeName().

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

19 years agoAdded doc.cs.
Martin Baulig [Sat, 4 Dec 2004 23:47:27 +0000 (23:47 -0000)]
Added doc.cs.

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

19 years ago**** Merged r36988 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:40:17 +0000 (23:40 -0000)]
**** Merged r36988 from MCS ****

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

19 years ago**** Merged r36987 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:39:09 +0000 (23:39 -0000)]
**** Merged r36987 from MCS ****

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

19 years ago**** Merged r36979 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:38:00 +0000 (23:38 -0000)]
**** Merged r36979 from MCS ****

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

19 years ago**** Merged r36964 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:32:08 +0000 (23:32 -0000)]
**** Merged r36964 from MCS ****

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

19 years ago**** Merged r36954 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:29:44 +0000 (23:29 -0000)]
**** Merged r36954 from MCS ****

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

19 years ago**** Merged r36952 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:24:28 +0000 (23:24 -0000)]
**** Merged r36952 from MCS ****

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

19 years ago**** Merged r36915 and r36920 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:23:11 +0000 (23:23 -0000)]
**** Merged r36915 and r36920 from MCS ****

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

19 years ago**** Merged r36904 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:20:50 +0000 (23:20 -0000)]
**** Merged r36904 from MCS ****

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

19 years ago**** Merged r36893 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:19:06 +0000 (23:19 -0000)]
**** Merged r36893 from MCS ****

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

19 years ago**** Merged r36880-r36885 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:18:11 +0000 (23:18 -0000)]
**** Merged r36880-r36885 from MCS ****

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

19 years ago**** Merged r36766 and r36769 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:15:07 +0000 (23:15 -0000)]
**** Merged r36766 and r36769 from MCS ****

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

19 years ago**** Merged r36762 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:11:53 +0000 (23:11 -0000)]
**** Merged r36762 from MCS ****

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

19 years ago**** Merged r36644-r36669 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:09:36 +0000 (23:09 -0000)]
**** Merged r36644-r36669 from MCS ****

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

19 years ago**** Merged r36578 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:07:58 +0000 (23:07 -0000)]
**** Merged r36578 from MCS ****

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

19 years ago**** Merged r36575, r36576 and r36577 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 23:05:30 +0000 (23:05 -0000)]
**** Merged r36575, r36576 and r36577 from MCS ****

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

19 years ago**** Merged r36573 ****
Martin Baulig [Sat, 4 Dec 2004 23:01:29 +0000 (23:01 -0000)]
**** Merged r36573 ****

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

19 years ago**** Merged r36570 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:56:53 +0000 (22:56 -0000)]
**** Merged r36570 from MCS ****

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

19 years ago**** Merged r36526 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:53:04 +0000 (22:53 -0000)]
**** Merged r36526 from MCS ****

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

19 years ago**** Merged r36513 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:50:59 +0000 (22:50 -0000)]
**** Merged r36513 from MCS ****

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

19 years ago**** Merged r36502 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:45:49 +0000 (22:45 -0000)]
**** Merged r36502 from MCS ****

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

19 years ago**** Merged r36440, r36454 and r36471 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:39:06 +0000 (22:39 -0000)]
**** Merged r36440, r36454 and r36471 from MCS ****

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

19 years ago**** Merged r36411 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:34:16 +0000 (22:34 -0000)]
**** Merged r36411 from MCS ****

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

19 years ago**** Merged r36321, r36326, r36369 and r36373 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:26:53 +0000 (22:26 -0000)]
**** Merged r36321, r36326, r36369 and r36373 from MCS ****

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

19 years ago**** Merged r36279 from MCS ****
Martin Baulig [Sat, 4 Dec 2004 22:20:55 +0000 (22:20 -0000)]
**** Merged r36279 from MCS ****

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

19 years agoNew test.
Martin Baulig [Sat, 4 Dec 2004 21:48:47 +0000 (21:48 -0000)]
New test.

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

19 years ago2004-12-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Dec 2004 21:48:29 +0000 (21:48 -0000)]
2004-12-04  Martin Baulig  <martin@ximian.com>

* gen-116.cs: New test for #69781.

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

19 years ago2004-12-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Dec 2004 21:48:19 +0000 (21:48 -0000)]
2004-12-04  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.TypeParameter_to_Null): Use the constraints
to check whether the conversion is ok.

* typemanager.cs (TypeManager.GetTypeArguments): Just return
`Type.EmptyTypes' if we're not a generic TypeContainer.

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

19 years ago2004-12-03 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 4 Dec 2004 20:35:04 +0000 (20:35 -0000)]
2004-12-03  Miguel de Icaza  <miguel@ximian.com>

* delegate.cs: Only allow this on new versions of the language.

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

19 years ago2004-12-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 4 Dec 2004 19:32:53 +0000 (19:32 -0000)]
2004-12-02  Duncan Mak  <duncan@ximian.com>

* cs0122-7.cs:
        * cs0122-8.cs: Added test cases for events, from bug #70129.

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

19 years ago2004-12-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 4 Dec 2004 19:31:10 +0000 (19:31 -0000)]
2004-12-02  Duncan Mak  <duncan@ximian.com>

* ecore.cs (PropertyExpr.IsAccessorAccessible): Moved to
Expression class.
(Expression.IsAccessorAccessible): Moved from the PropertyExpr to
here as a static method. Take an additional bool out parameter
`must_do_cs1540_check' for signaling to InstanceResolve.
(PropertyExpr.InstanceResolve): Removed the `must_do_cs1540_check'
member field from PropertyExpr class and made it an argument of
the method instead.
(EventExpr.InstanceResolve): Copied from PropertyExpr, removed the
check for MarshalByRefObject, and report CS0122 instead of CS1540.
(EventExpr.DoResolve): Call IsAccessorAccessible on `add_accessor'
and `remove_accessor' as well as InstanceResolve: report CS0122
where applicable.

Fixes #70129.

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

19 years ago2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Dec 2004 19:25:02 +0000 (19:25 -0000)]
2004-12-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaObject.cs : added Parent.
* XmlSchema.cs,
  XmlSchemaElement.cs,
  XmlSchemaAttribute.cs,
  XmlSchemaAttributeGroup.cs,
  XmlSchemaGroup.cs,
  XmlSchemaComplexType.cs,
  XmlSchemaSequence.cs,
  XmlSchemaChoice.cs,
  XmlSchemaAll.cs,
  XmlSchemaIdentityConstraint.cs,
  XmlSchemaComplexContent.cs,
  XmlSchemaSimpleContent.cs,
  XmlSchemaSimpleContentExtension.cs,
  XmlSchemaSimpleContentRestriction.cs,
  XmlSchemaComplexContentExtension.cs,
  XmlSchemaComplexContentRestriction.cs,
  XmlSchemaSimpleType.cs,
  XmlSchemaSimpleTypeRestriction.cs,
  XmlSchemaSimpleTypeList.cs,
  XmlSchemaSimpleTypeUnion.cs : Fill Parent on Compilation.

* XmlSchemaException.cs,
  XmlSchemaInferenceException.cs,
  XmlSchemaValidationException.cs : added SecurityPermissionAttribute.

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

19 years ago2004-12-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Dec 2004 19:25:01 +0000 (19:25 -0000)]
2004-12-04  Zoltan Varga  <vargaz@freemail.hu>

* delegate.cs: Add test for unboxing and delegates.

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

19 years ago2004-12-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Dec 2004 19:21:03 +0000 (19:21 -0000)]
2004-12-04  Zoltan Varga  <vargaz@freemail.hu>

* image.c: Add unbox_wrapper_cache.

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

19 years ago2004-12-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Dec 2004 19:15:38 +0000 (19:15 -0000)]
2004-12-04  Zoltan Varga  <vargaz@freemail.hu>

* class-internals.h debug-helpers.c: Add MONO_WRAPPER_UNBOX.

* marshal.h marshal.c (mono_marshal_get_unbox_wrapper): New wrapper
function generator.

* object.c (mono_delegate_ctor): Call unbox wrapper if neccesary.
Fixes #70173.

* metadata-internals.h image.c: Add MonoImage->unbox_wrapper_cache.

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

19 years agoFix build, and make the tests have a uniform naming
Miguel de Icaza [Sat, 4 Dec 2004 19:13:15 +0000 (19:13 -0000)]
Fix build, and make the tests have a uniform naming

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

19 years ago2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Dec 2004 18:26:07 +0000 (18:26 -0000)]
2004-12-04  Atsushi Enomoto  <atsushi@ximian.com>

* library.make,
  profiles/default.make,
  profiles/basic.make : use PLATFORM_PATH_SEPARATOR.

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

19 years ago2004-12-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Dec 2004 17:55:24 +0000 (17:55 -0000)]
2004-12-04  Martin Baulig  <martin@ximian.com>

* hashing/HashTableTests.cs: Disabled some tests which make
assumptions about the ordering of elements in the hashtable.  They
also do not work on Windows.
* hashing/HashBagTests.cs: Likewise.
* hashing/HashDictionaryTests.cs: Likewise.

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

19 years ago2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Dec 2004 17:23:43 +0000 (17:23 -0000)]
2004-12-04  Atsushi Enomoto  <atsushi@ximian.com>

* XPathDocument.cs : switch to DTMXPathNavigator2 which fully
  eliminated string fields from struct.
  (When we switch from struct to class, revert this change to use
  DTMXPathNavigator, since class-based DTMXPathNavigator2 is rather
  wasting processing speed.)

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

19 years agoRemoved the last FIXME's.
Martin Baulig [Sat, 4 Dec 2004 16:55:25 +0000 (16:55 -0000)]
Removed the last FIXME's.

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

19 years agoNew test.
Martin Baulig [Sat, 4 Dec 2004 16:55:05 +0000 (16:55 -0000)]
New test.

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

19 years ago2004-12-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Dec 2004 16:53:38 +0000 (16:53 -0000)]
2004-12-04  Martin Baulig  <martin@ximian.com>

* mini.c (mono_method_to_ir): In CEE_CALLVIRT, use the new
mono_method_get_signature_full().

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

19 years ago2004-12-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Dec 2004 16:52:20 +0000 (16:52 -0000)]
2004-12-04  Martin Baulig  <martin@ximian.com>

* loader.c (mono_method_get_signature_full): New public function;
like mono_method_get_signature(), but with an additional
`MonoGenericContext *' argument.

* class.c (mono_class_inflate_generic_signature): Formerly known
as inflate_generic_signature(); make this public.

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

19 years ago2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Dec 2004 14:16:31 +0000 (14:16 -0000)]
2004-12-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaComplexType.cs : simplify Compile().

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

19 years ago2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Dec 2004 14:12:54 +0000 (14:12 -0000)]
2004-12-04  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : added DTMXPathDocument2.cs,
  DTMXPathDocumentBuilder2.cs, DTMXPathDocumentWriter2.cs,
  DTMXPathDocumentWriter2.cs and DTMXPathNode2.cs.

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

19 years ago2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Dec 2004 14:12:18 +0000 (14:12 -0000)]
2004-12-04  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathNavigator.cs : added more constant fields to utility class.

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

19 years ago2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 4 Dec 2004 14:05:50 +0000 (14:05 -0000)]
2004-12-04  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocument2.cs,
  DTMXPathNavigator2.cs,
  DTMXPathDocumentBuilder2.cs,
  DTMXPathDocumentWriter2.cs,
  DTMXPathNode2.cs : added new implementation that uses string pool
  and eliminates string field inside struct (IF we use struct).

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

19 years ago2004-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 4 Dec 2004 11:52:31 +0000 (11:52 -0000)]
2004-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: handle errors on chunked streams. Fixes bug #66858.
* ChunkStream.cs: added error checking all over.

* HttpWebRequest.cs: throw the exception received in SetResponseError
if we already have a response.
(SetRequestData): Don't nest the exception if it's a WebException.

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

19 years ago2004-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 4 Dec 2004 05:55:14 +0000 (05:55 -0000)]
2004-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* interp.c: fix the build. Dunno if it's correct.

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

19 years ago2004-12-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Dec 2004 00:04:00 +0000 (00:04 -0000)]
2004-12-04  Martin Baulig  <martin@ximian.com>

* metadata.c
(mono_metadata_parse_type_full): Take a `MonoGenericContext *'
instead of a `MonoGenericContainer *'.
(mono_metadata_parse_array_full): Likewise.
(mono_metadata_parse_signature_full): Likewise.
(mono_metadata_parse_method_signature_full): Likewise.
(mono_metadata_parse_generic_inst): Likewise.
(mono_metadata_parse_generic_param): Likewise.
(mono_metadata_parse_mh_full): Likewise.
(mono_type_create_from_typespec_full): Likewise.

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

19 years agoAdd compiler options
Miguel de Icaza [Fri, 3 Dec 2004 23:47:37 +0000 (23:47 -0000)]
Add compiler options

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

19 years agoAdd covariance tests from Carlos Alberto Cortez
Miguel de Icaza [Fri, 3 Dec 2004 23:46:38 +0000 (23:46 -0000)]
Add covariance tests from Carlos Alberto Cortez

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

19 years ago2004-12-02 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 3 Dec 2004 23:34:50 +0000 (23:34 -0000)]
2004-12-02  Bernie Solomon  <bernard@ugsolutions.com>

* mintops.def:
* transform.c:
* interp.c: cope with new thread interruption icall

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

19 years agoUpdated again.
Martin Baulig [Fri, 3 Dec 2004 23:09:03 +0000 (23:09 -0000)]
Updated again.

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

19 years agoUpdated.
Martin Baulig [Fri, 3 Dec 2004 22:22:06 +0000 (22:22 -0000)]
Updated.

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

19 years ago2004-12-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Dec 2004 22:19:36 +0000 (22:19 -0000)]
2004-12-03  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoGenericContainer): Replaced the
`MonoGenericContext * pointer with a `MonoGenericContext'
structure and made it the first element.

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

19 years agoUpdated.
Martin Baulig [Fri, 3 Dec 2004 21:23:01 +0000 (21:23 -0000)]
Updated.

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

19 years ago2004-12-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Dec 2004 21:15:28 +0000 (21:15 -0000)]
2004-12-03  Martin Baulig  <martin@ximian.com>

* class.c
(inflate_generic_type): Set the `context->container' when creating
a new MonoGenericContext.
(mono_class_inflate_generic_method): Likewise.
(mono_class_create_from_typespec): Just use `context->container'
to get the container.

* loader.c (method_from_methodspec): Set `context->parent' from
`context->container' - and if that's a method container, use its
parent.  Also set the `context->container' when creating a new
MonoGenericContext.
(mono_get_method_from_token): Use just `context->container' to get
the container.

* metadata.c (do_mono_metadata_parse_generic_class): Also set
`gclass->context->container'.

* reflection.c (do_mono_reflection_bind_generic_parameters): Set
the `context->container' when creating a new MonoGenericContext.

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

19 years ago2004-12-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 3 Dec 2004 20:14:50 +0000 (20:14 -0000)]
2004-12-03  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Fix issue #70169 in ModPow when modulus is a power of
two.

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

19 years ago2004-12-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 3 Dec 2004 20:13:54 +0000 (20:13 -0000)]
2004-12-03  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Fix issue #70169 in ModPow when modulus is a power of
two.

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

19 years ago2004-12-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 3 Dec 2004 20:03:11 +0000 (20:03 -0000)]
2004-12-03  Sebastien Pouliot  <sebastien@ximian.com>

* BigIntegerTest.cs: Added tests for ModPow when power is 0, for a
known case that was faling in classpath and when modulo is a power of
two (bug #70169).

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

19 years agoimplemented clipping, selection single and multiple, and bug fixing
Jordi Mas i Hernandez [Fri, 3 Dec 2004 19:15:56 +0000 (19:15 -0000)]
implemented clipping, selection single and multiple, and bug fixing

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

19 years ago * System.Web.dll.sources: Added new files:
Lluis Sanchez [Fri, 3 Dec 2004 19:11:50 +0000 (19:11 -0000)]
* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/Menu.cs
System.Web.UI.WebControls/MenuEventArgs.cs
System.Web.UI.WebControls/MenuEventHandler.cs
System.Web.UI.WebControls/MenuItem.cs
System.Web.UI.WebControls/MenuItemBinding.cs
System.Web.UI.WebControls/MenuItemBindingCollection.cs
System.Web.UI.WebControls/MenuItemCollection.cs
System.Web.UI.WebControls/MenuItemStyle.cs
System.Web.UI.WebControls/MenuItemStyleCollection.cs

2004-12-02  Lluis Sanchez Gual <lluis@novell.com>

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

19 years ago2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 3 Dec 2004 19:09:20 +0000 (19:09 -0000)]
2004-12-03 Lluis Sanchez Gual <lluis@novell.com>

* MenuEventArgs.cs: Changed to sealed.
* TreeView.cs: Minor fix.
* Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
MenuItemStyleCollection.cs: Initial Menu code.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 18:24:41 +0000 (18:24 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlResultVisitor.cs : ... was still broken.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 17:54:39 +0000 (17:54 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* xslttest.cs : improved. See "mono xslttest.exe -?" for details.
* Makefile : modified "make test" to "make run-test" and output
  results into TestResult.Xml that contains all results.
* README : updated as well.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 17:07:19 +0000 (17:07 -0000)]
2004-12-03  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentWriter.cs : Fix for DTM_CLASS switch that does not
  allow unadjusted arrays.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 16:38:42 +0000 (16:38 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlResultVisitor.cs : the last patch does not make sense ;-)

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

19 years ago2004-12-03 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 3 Dec 2004 16:11:54 +0000 (16:11 -0000)]
2004-12-03  Geoff Norton  <gnorton@customerdna.com>

        * System.IO/SearchPattern.cs:  Have IsMatch(string)
        call IsMatch(string, bool) to avoid setting a instance variable in a
        method that logically should not be changing it.

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