mono.git
20 years ago * ReaderWriterLock.cs: Changed some methods to private.
Lluis Sanchez [Thu, 8 Apr 2004 11:37:30 +0000 (11:37 -0000)]
* ReaderWriterLock.cs: Changed some methods to private.
* WaitHandle.cs: In Wait methods, release the synchronization context when
  exitContext is true.

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

20 years ago * SystemInformation.cs: Fixed bad pointer arithmetic in _gethostname.
Lluis Sanchez [Thu, 8 Apr 2004 11:31:56 +0000 (11:31 -0000)]
* SystemInformation.cs: Fixed bad pointer arithmetic in _gethostname.
Fix by Carlos A. Barcenilla.

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

20 years ago2004-04-08 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 8 Apr 2004 09:57:19 +0000 (09:57 -0000)]
2004-04-08 Marek Safar <marek.safar@seznam.cz>

* cs1677.cs: Changed name from cs1667.cs

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

20 years ago2004-04-08 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 8 Apr 2004 08:14:56 +0000 (08:14 -0000)]
2004-04-08  Marek Safar  <marek.safar@seznam.cz>

* typemanager.cs (TypeManager.TypeToCoreType): Handle IntPtr too.
(TypeManager.ComputeNamespaces): Faster implementation for
Microsoft runtime.

* compiler.csproj: Updated AssemblyName to mcs.

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

20 years ago2004-04-08 Umadevi S (sumadevi@novell.com)
Umadevi S [Thu, 8 Apr 2004 07:34:38 +0000 (07:34 -0000)]
2004-04-08 Umadevi S (sumadevi@novell.com)
* DataRowCollection.cs - Find method - handled all error cases

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

20 years ago2004-04-08 Umadevi S (sumadevi@novell.com)
Umadevi S [Thu, 8 Apr 2004 06:47:31 +0000 (06:47 -0000)]
2004-04-08 Umadevi S (sumadevi@novell.com)
* Added a TestCase for additionalConstraint

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

20 years ago2004-04-08 Umadevi S (sumadevi@novell.com)
Umadevi S [Thu, 8 Apr 2004 06:43:46 +0000 (06:43 -0000)]
2004-04-08 Umadevi S (sumadevi@novell.com)
* Implemented TODO on DataColumn.Unique

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

20 years ago2004-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Apr 2004 04:30:13 +0000 (04:30 -0000)]
2004-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Timer.cs: call Abort on the Runner instance too.

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

20 years agolalala
Gonzalo Paniagua Javier [Thu, 8 Apr 2004 03:59:15 +0000 (03:59 -0000)]
lalala

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

20 years ago2004-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Apr 2004 03:56:18 +0000 (03:56 -0000)]
2004-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* object.h: synchronize MonoCompareInfo with CompareInfo class. Someone
owes me a beer.

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

20 years ago2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Apr 2004 23:38:12 +0000 (23:38 -0000)]
2004-04-08  Atsushi Enomoto  <atsushi@ximian.com>

* Nullable.cs : usingdecl should also be conditional.

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

20 years ago2004-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Apr 2004 23:21:25 +0000 (23:21 -0000)]
2004-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Assembly/AssemblyInfo.cs:
* System.Windows.Forms/AxHost.cs:
* System.Windows.Forms/ScrollableControl.cs:
* System.Windows.Forms/win32Enums.cs:
* System.Windows.Forms/win32Structs.cs: patch by Gert Driesen that makes
SWF CLS compliant.

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

20 years ago2004-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Apr 2004 23:06:04 +0000 (23:06 -0000)]
2004-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Win32Exception.cs: added 10024 (WSAEMFILE).

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

20 years agoMake this work for multiple constraints.
Martin Baulig [Wed, 7 Apr 2004 22:49:35 +0000 (22:49 -0000)]
Make this work for multiple constraints.

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

20 years agoOoooops, the conditional for this is `GENERICS', not `NET_1_2'.
Martin Baulig [Wed, 7 Apr 2004 22:42:36 +0000 (22:42 -0000)]
Ooooops, the conditional for this is `GENERICS', not `NET_1_2'.

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

20 years agoSmall fix.
Martin Baulig [Wed, 7 Apr 2004 21:20:47 +0000 (21:20 -0000)]
Small fix.

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

20 years agoThey're not CLS-compliant.
Martin Baulig [Wed, 7 Apr 2004 21:20:39 +0000 (21:20 -0000)]
They're not CLS-compliant.

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

20 years agoOk, I'm too stupid to merge things :-(
Martin Baulig [Wed, 7 Apr 2004 21:11:30 +0000 (21:11 -0000)]
Ok, I'm too stupid to merge things :-(

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

20 years ago**** Merged from mcs ****
Martin Baulig [Wed, 7 Apr 2004 21:06:57 +0000 (21:06 -0000)]
**** Merged from mcs ****

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

20 years ago*** Merged from mcs ****
Martin Baulig [Wed, 7 Apr 2004 21:05:51 +0000 (21:05 -0000)]
*** Merged from mcs ****

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

20 years agoThis is gone for a long time.
Martin Baulig [Wed, 7 Apr 2004 20:32:38 +0000 (20:32 -0000)]
This is gone for a long time.

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

20 years agoHmm, remove this for the moment.
Martin Baulig [Wed, 7 Apr 2004 20:29:28 +0000 (20:29 -0000)]
Hmm, remove this for the moment.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 20:20:07 +0000 (20:20 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* Nullable.cs: New file.

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

20 years agoSet TYPE_ATTRIBUTES_PUBLIC.
Martin Baulig [Wed, 7 Apr 2004 20:03:55 +0000 (20:03 -0000)]
Set TYPE_ATTRIBUTES_PUBLIC.

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

20 years agoType parameters are always public.
Martin Baulig [Wed, 7 Apr 2004 20:03:45 +0000 (20:03 -0000)]
Type parameters are always public.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 19:59:22 +0000 (19:59 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* expression.cs (Binary.ResolveOperator): Added special case for
Equality/Inequality between a type parameter and a null literal.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 19:44:48 +0000 (19:44 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_from_generic_parameter): Don't default
`klass->parent' to `mono_defaults.object_type'.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 19:42:11 +0000 (19:42 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_initialize_generic_parameter): Set
`param->pklass->reflection_info'.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 19:39:35 +0000 (19:39 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* convert.cs: Check null literal -> type parameter conversions.

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

20 years agoUse TypeManager.GetInterfaces().
Martin Baulig [Wed, 7 Apr 2004 19:01:10 +0000 (19:01 -0000)]
Use TypeManager.GetInterfaces().

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

20 years agoNew tests.
Martin Baulig [Wed, 7 Apr 2004 19:01:00 +0000 (19:01 -0000)]
New tests.

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

20 years ago * Thread.cs: Use new culture info method for constructing the
Jackson Harper [Wed, 7 Apr 2004 18:58:44 +0000 (18:58 -0000)]
    * Thread.cs: Use new culture info method for constructing the
current culture.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 18:55:30 +0000 (18:55 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* Type.cs (Type.GetGenericArguments): Make this abstract.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 18:54:34 +0000 (18:54 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_Type_GetGenericArguments): Moved this icall
from System.Type to System.MonoType.

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

20 years ago2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Apr 2004 18:49:26 +0000 (18:49 -0000)]
2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeTest.cs: enumerated the tests.

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

20 years ago * culture-info-tables.h: Fix date separator symbol.
Jackson Harper [Wed, 7 Apr 2004 18:47:10 +0000 (18:47 -0000)]
    * culture-info-tables.h: Fix date separator symbol.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 18:40:24 +0000 (18:40 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType.CheckConstraints): Enforce the
`class' and `struct' constraints.

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

20 years agoActually set the `class' and `struct' constraint on the GenericTypeParameterBuilder.
Martin Baulig [Wed, 7 Apr 2004 18:30:06 +0000 (18:30 -0000)]
Actually set the `class' and `struct' constraint on the GenericTypeParameterBuilder.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 18:29:42 +0000 (18:29 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* reflection.h
(MonoReflectionGenericParam): Added `has_reference_type' and
`has_value_type' fields.

* reflection.c (mono_image_get_generic_param_info): Encode the
correct flags if we have the `class' or `struct' constraint.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 18:28:29 +0000 (18:28 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* GenericTypeParameterBuilder.cs
(Mono_SetReferenceTypeConstraint): New public method.
(Mono_SetValueTypeConstraint): New public method.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 18:11:03 +0000 (18:11 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* generic.cs (SpecialConstraint): New public enum.
(Constraints.Resolve): Added support for the `class' and `struct'
constraints.

* cs-parser.jay (type_parameter_constraint): Added support for the
`class' and `struct' constraints.

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

20 years agoPut back support for the new () constraint.
Martin Baulig [Wed, 7 Apr 2004 17:32:42 +0000 (17:32 -0000)]
Put back support for the new () constraint.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 17:32:21 +0000 (17:32 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* GenericTypeParameterBuilder.cs
(Mono_SetConstructorConstraint): New public method.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 17:32:07 +0000 (17:32 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* reflection.h
(MonoReflectionGenericParam): Added `MonoBoolean has_ctor_constraint'.

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

20 years ago2004-04-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 7 Apr 2004 17:20:04 +0000 (17:20 -0000)]
2004-04-07  Bernie Solomon  <bernard@ugsolutions.com>

* MethodBuilder.cs, TypeBuilder.cs: always have
slot for generic_params for consistent offsets.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 17:18:53 +0000 (17:18 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* support.cs (GenericConstraints): Replaced `Types' by
`ClassConstraint' and `InterfaceConstraints'; added
`HasClassConstraint'.

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

20 years agoAdd
Miguel de Icaza [Wed, 7 Apr 2004 17:04:07 +0000 (17:04 -0000)]
Add

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

20 years agoAdd new errors
Miguel de Icaza [Wed, 7 Apr 2004 16:46:30 +0000 (16:46 -0000)]
Add new errors

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

20 years ago * appdomain.c: Revert extra patches, just wanted to bump the
Jackson Harper [Wed, 7 Apr 2004 16:42:25 +0000 (16:42 -0000)]
    * appdomain.c: Revert extra patches, just wanted to bump the
version number.

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

20 years ago * Environment.cs: Increase corlib version number.
Jackson Harper [Wed, 7 Apr 2004 16:22:52 +0000 (16:22 -0000)]
    * Environment.cs: Increase corlib version number.

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

20 years ago * CultureInfo.cs: Use new ICUless implementation in the runtime.
Jackson Harper [Wed, 7 Apr 2004 16:20:39 +0000 (16:20 -0000)]
    * CultureInfo.cs: Use new ICUless implementation in the runtime.
* CompareInfo.cs: Get ICU name from a cultureinfo object instead
of looking it up in the culture map.
* RegionInfo.cs: Dont check if the LCID is neutral unless its not
found in the switch. Avoids an icall.

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

20 years ago * Makefile.am: Add culture-info private headers.
Jackson Harper [Wed, 7 Apr 2004 16:17:26 +0000 (16:17 -0000)]
    * Makefile.am: Add culture-info private headers.
* icall.c: Add new icalls for contructing locales.
* locales.c: Construct CultureInfo objects from lookup tables instead of using ICU.
* locales.h: Declare new culture info construction methods.
* object.h: Add new fields used to avoid the CultureMap to
MonoCultureInfo.
* culture-info.h: Definition of structs used in the culture info
tables.
* culture-info-tables.h: Autogenerated tables that contain culture
info data. This file was generated with the locale-builder tool.
* appdomain.c: Incement corlib version number.

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

20 years ago2004-04-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 7 Apr 2004 15:42:44 +0000 (15:42 -0000)]
2004-04-07  Bernie Solomon  <bernard@ugsolutions.com>

* appdomain.c: (mono_runtime_init) move mono_thread_init
to before mono_object_new calls so critical sections
are initialized before use.

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

20 years ago2004-04-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 7 Apr 2004 15:14:08 +0000 (15:14 -0000)]
2004-04-07  Zoltan Varga  <vargaz@freemail.hu>

* configure.in Makefile.am ikvm-jni: Add IKVM JNI interface library.

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

20 years agocorrecting Dennis having erased Joerg copyright accidentaly
Rafael Teixeira [Wed, 7 Apr 2004 14:55:00 +0000 (14:55 -0000)]
correcting Dennis having erased Joerg copyright accidentaly

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

20 years ago2004-04-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 7 Apr 2004 14:21:39 +0000 (14:21 -0000)]
2004-04-07  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Only set bblock->real_offset when adding a new bblock, and
before each IL instruction.

* mini.c (CEE_BOX): Fix warnings.

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

20 years ago2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 7 Apr 2004 13:58:04 +0000 (13:58 -0000)]
2004/04/07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-tokenizer.cs : Better error message when dealing with date literals

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

20 years ago2004-04-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Apr 2004 13:44:37 +0000 (13:44 -0000)]
2004-04-07  Sebastien Pouliot  <sebastien@ximian.com>

* cs1606.pub: New file. ECMA key.
* cs1606.cs: New file. This is the same problem as cs1548-3.cs but CSC
report a different error number when the ECMA key is being used.

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

20 years ago2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Apr 2004 11:20:23 +0000 (11:20 -0000)]
2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System/Environment.cs:
(ExpandEnvironmentVariables): on windows, env. vars. are case
insensitive.

* Test/System/EnvironmentTest.cs: use uppercase for PATH. Added test
to check the expected substitutions.

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

20 years agoFix Build
Nick Drochak [Wed, 7 Apr 2004 11:16:18 +0000 (11:16 -0000)]
Fix Build

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

20 years ago * BaseValidator.cs: Store Display property in the correct ViewState
Lluis Sanchez [Wed, 7 Apr 2004 09:25:12 +0000 (09:25 -0000)]
* BaseValidator.cs: Store Display property in the correct ViewState
property. Don't render anything if Display is ValidatorDisplay.None.

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

20 years ago * Cache.cs, CacheEntry.cs, ExpiresBuckets.cs: The value to use to specify
Lluis Sanchez [Wed, 7 Apr 2004 09:24:25 +0000 (09:24 -0000)]
* Cache.cs, CacheEntry.cs, ExpiresBuckets.cs: The value to use to specify
infinite timeout in ReaderWriterLock is -1, not 0.

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

20 years ago* ReaderWriterLockTest.cs: Added one more test.
Lluis Sanchez [Wed, 7 Apr 2004 09:06:45 +0000 (09:06 -0000)]
* ReaderWriterLockTest.cs: Added one more test.

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

20 years ago * ReaderWriterLock.cs: When a thread holds a writer lock, a call to
Lluis Sanchez [Wed, 7 Apr 2004 09:04:57 +0000 (09:04 -0000)]
* ReaderWriterLock.cs: When a thread holds a writer lock, a call to
  AcquireReaderLock works like a call to AcquireWriterLock.

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

20 years ago*** empty log message ***
Martin Baulig [Wed, 7 Apr 2004 08:22:24 +0000 (08:22 -0000)]
*** empty log message ***

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 08:15:17 +0000 (08:15 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* generic.cs
(Constraints.InterfaceConstraints): New public property.
(Constraints.Types): Make this property public
(TypeParameter): Implement IMemberContainer.
(TypeParameter.Define): Take a `GenericTypeParameterBuilder'
instead of a TypeBuilder/MethodBuilder; pass the interface
constraints to TypeManager.AddTypeParameter().
(TypeParameter.DefineType): Just take an EmitContext and no
TypeBuilder/MethodBuilder.  Use the new public API.

* typemanager.cs (TypeManager.AddTypeParameter): Added
`TypeExpr[]' argument; add the interfaces to the
`builder_to_ifaces' hash.
(TypeManager.LookupMemberContainer): For
GenericTypeParameterBuilders, get the TypeParameter from the
`builder_to_type_param'.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 08:08:24 +0000 (08:08 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* icall.c
(ves_icall_TypeBuilder_define_generic_parameter): Removed.
(ves_icall_MethodBuilder_define_generic_parameter): Removed.
(ves_icall_MonoGenericParam_initialize): Removed.
(monogenericparam_icalls): Removed.
(generictypeparambuilder_icalls): Added new table for
System.Reflection.Emit.GenericTypeParameterBuilder.

* reflection.c
(mono_reflection_define_generic_parameter): Removed.
(mono_reflection_initialize_generic_parameter): This is now called
from GenericTypeParameterBuilder's .ctor.

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

20 years agoAdded GenericTypeParameterBuilder
Martin Baulig [Wed, 7 Apr 2004 08:01:56 +0000 (08:01 -0000)]
Added GenericTypeParameterBuilder

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 08:01:43 +0000 (08:01 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericParam): Removed.

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

20 years ago2004-04-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 08:01:01 +0000 (08:01 -0000)]
2004-04-01  Martin Baulig  <martin@ximian.com>

* OpCodes.cs (OpCodes.Constrained): New opcode.

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

20 years ago2004-04-07 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 7 Apr 2004 06:46:47 +0000 (06:46 -0000)]
2004-04-07  Marek Safar  <marek.safar@seznam.cz>

* Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.

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

20 years ago2004-04-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 7 Apr 2004 05:47:31 +0000 (05:47 -0000)]
2004-04-07  Miguel de Icaza  <miguel@ximian.com>

* rootcontext.cs: Add new types to the boot resolution.

* ecore.cs (TypeExpr.CanInheritFrom): Inheriting from
MulticastDelegate is not allowed.

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

20 years ago2004-04-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 7 Apr 2004 05:36:16 +0000 (05:36 -0000)]
2004-04-07  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs: Add new types to lookup: System.TypedReference
and ArgIterator.

* paramter.cs (Parameter.Resolve): if we are an out/ref parameter,
check for TypedReference or ArgIterator, they are not allowed.

* ecore.cs (BoxedCast): Set the eclass to ExprClass.Value, this
makes us properly catch 1510 in some conditions (see bug 56016 for
details).

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

20 years agoSmall patch from Gert to match MS
Gonzalo Paniagua Javier [Wed, 7 Apr 2004 04:54:21 +0000 (04:54 -0000)]
Small patch from Gert to match MS

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

20 years agoUse PNG instead of BMP.
Ravindra [Wed, 7 Apr 2004 04:34:51 +0000 (04:34 -0000)]
Use PNG instead of BMP.

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

20 years ago2004-04-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 04:06:48 +0000 (04:06 -0000)]
2004-04-06  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): Don't inflate nested classes in a
generic instance.
(mono_type_get_name_recurse): Include the generic arguments for
generic instances and generic type declarations.
(inflate_generic_type): Correctly inflate MONO_TYPE_SZARRAY.
(_mono_class_get_instantiation_name): Removed.
(mono_class_create_generic): Always use `gklass->name' as our name.

* class.h (MonoGenericInst): Removed `nested_in', and `nested'.

* icall.c (ves_icall_MonoGenericInst_GetDeclaringType): Removed.
(ves_icall_MonoGenericInst_GetNestedTypes): Removed.
(ves_icall_MonoMethod_GetGenericParameters): Renamed to
ves_icall_MonoMethod_GetGenericArguments() and correctly handle
closed generic methods here.

* reflection.c
(mono_reflection_generic_inst_get_nested_types): Removed.
(inflate_mono_method): Copy the generic parameters from the
MonoMethodHeader into out MonoGenericMethod.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 03:57:02 +0000 (03:57 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* MethodBase.cs
(MethodBase.GetGenericParameters): Renamed to GetGenericArguments().

* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
(MonoGenericInst.GetNestedTypes): Just call
`generic_type.GetNestedTypes (bf)' here.

* MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
include the type arguments.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 03:54:06 +0000 (03:54 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* class.cs
(MethodCore.GenericMethod): Moved this field here from Method.
(MethodCore.IsDuplicateImplementation): Take the number of type
parameters into account if we're a generic method.

* expression.cs (Invocation.InferTypeArguments): Don't return true
if `arguments' is null; we still need to check whether we actually
don't need to infer anything in this case.
(MemberAccess): Merged the functionality from GenericMemberAccess
into this class.

* generic.cs (GenericMemberAccess): Removed.

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

20 years agoTry this as well.
Duncan Mak [Wed, 7 Apr 2004 03:41:08 +0000 (03:41 -0000)]
Try this as well.

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

20 years agoAdded a case where the sweep angle is greater than 360
Duncan Mak [Wed, 7 Apr 2004 03:28:09 +0000 (03:28 -0000)]
Added a case where the sweep angle is greater than 360
degrees.

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

20 years ago* GraphicsPath.cs (GraphicsPath): Filled out the missing
Duncan Mak [Wed, 7 Apr 2004 02:19:42 +0000 (02:19 -0000)]
* GraphicsPath.cs (GraphicsPath): Filled out the missing
constructors.
(ConvertPoints): New helper function. Converts a Point array to a
PointF array.

* gdipFunctions.cs (GdipCreatePath2): Fixed signature.

* pie.cs: Save to PNG, instead of BMP.

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

20 years ago2004-04-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 6 Apr 2004 23:40:35 +0000 (23:40 -0000)]
2004-04-06  Martin Baulig  <martin@ximian.com>

* row-indexes.h
(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

* reflection.c (build_compressed_metadata): If we have any entries
in the GenericParam, MethodSpec or GenericParamConstraint tables,
set the header version to 1.1.

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

20 years ago2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Apr 2004 21:40:18 +0000 (21:40 -0000)]
2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini.c: removed a few unused vars and extra whitespace.

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

20 years ago2004-04-06 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 6 Apr 2004 21:35:06 +0000 (21:35 -0000)]
2004-04-06  Bernie Solomon  <bernard@ugsolutions.com>

* CryptoConvert.cs: update from corlib version
with endian fixes.

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

20 years ago2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Apr 2004 21:33:21 +0000 (21:33 -0000)]
2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.

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

20 years agoOoops.
Martin Baulig [Tue, 6 Apr 2004 21:32:28 +0000 (21:32 -0000)]
Ooops.

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

20 years ago2004-04-06 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 6 Apr 2004 21:30:46 +0000 (21:30 -0000)]
2004-04-06  Bernie Solomon  <bernard@ugsolutions.com>

* CryptoConvert.cs: Add private methods to always
handle data as little endian (GetBytesLE, ToInt32LE, ToUInt32LE).

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

20 years agoReverted the table change for the moment.
Martin Baulig [Tue, 6 Apr 2004 21:26:07 +0000 (21:26 -0000)]
Reverted the table change for the moment.

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

20 years agoadded files
Andreas N [Tue, 6 Apr 2004 20:20:53 +0000 (20:20 -0000)]
added files

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:20:39 +0000 (20:20 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added

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

20 years ago2004-04-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 6 Apr 2004 20:18:47 +0000 (20:18 -0000)]
2004-04-06  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): If we're a generic instance,
initialize our nested classes, too.
(_mono_class_get_instantiation_name): Deal with the new `!%d'
suffix.

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

20 years ago2004-04-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 6 Apr 2004 20:17:37 +0000 (20:17 -0000)]
2004-04-06  Martin Baulig  <martin@ximian.com>

* row-indexes.h
(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:11:24 +0000 (20:11 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added

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

20 years agoremoved
Andreas N [Tue, 6 Apr 2004 20:10:22 +0000 (20:10 -0000)]
removed

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

20 years agoadded files
Andreas N [Tue, 6 Apr 2004 20:09:58 +0000 (20:09 -0000)]
added files

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:06:44 +0000 (20:06 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.Management.dll.sources: Sorted, added assemblyinfos

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

20 years ago2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 20:02:33 +0000 (20:02 -0000)]
2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Added static to [ThreadStatic] _principal field.
Removed [ThreadStatic] for _principalPolicy (not required).

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:01:27 +0000 (20:01 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: also remove the fixme

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 19:13:42 +0000 (19:13 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* cs1548.pub: New file. Strongname file with only the public key.
* cs1548-3.cs: New file to test signing with a strongname containing
only the public key.

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

20 years ago * DiagnosticsConfigurationHandler.cs: If initializeData is provided, use the
Lluis Sanchez [Tue, 6 Apr 2004 19:05:13 +0000 (19:05 -0000)]
* DiagnosticsConfigurationHandler.cs: If initializeData is provided, use the
constructor that only takes one string as parameter to construct the
listener. The name is set using the Name property, not the constructor.

* TextWriterTraceListener.cs: In Write*, do nothing if no writer was
provided.

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