mono.git
20 years ago2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 8 Apr 2004 20:34:17 +0000 (20:34 -0000)]
2004-04-08  Bernie Solomon  <bernard@ugsolutions.com>

* corlib.dll.sources: Added Mono.Security/BitConverterLE.cs

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

20 years ago2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 8 Apr 2004 20:33:54 +0000 (20:33 -0000)]
2004-04-08  Bernie Solomon  <bernard@ugsolutions.com>

* BitConverterLE.cs: added which always does
little endian conversion
    * StrongName.cs: Use BitConverterLE
    * ASN1Convert.cs: Use BitConverterLE

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

20 years agoAdd JIT for s390
Neale Ferguson [Thu, 8 Apr 2004 20:07:42 +0000 (20:07 -0000)]
Add JIT for s390

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

20 years ago * CaseInsensitiveHashCodeProvider.cs: Use the CultureInfo of the calling
Lluis Sanchez [Thu, 8 Apr 2004 20:05:14 +0000 (20:05 -0000)]
* CaseInsensitiveHashCodeProvider.cs: Use the CultureInfo of the calling
thread, not the one of the thread that created the instance.
* Comparer.cs: Added DefaultInvariant property and missing constructor.
Use the specified culture info to compare strings.

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

20 years ago* ResourceSet.cs: Added minor null check.
Lluis Sanchez [Thu, 8 Apr 2004 19:57:47 +0000 (19:57 -0000)]
* ResourceSet.cs: Added minor null check.

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

20 years agoOops, fixed compilation issue.
Lluis Sanchez [Thu, 8 Apr 2004 19:53:17 +0000 (19:53 -0000)]
Oops, fixed compilation issue.

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

20 years ago* BufferedStreamTest.cs: Added test for Position.
Lluis Sanchez [Thu, 8 Apr 2004 19:50:30 +0000 (19:50 -0000)]
* BufferedStreamTest.cs: Added test for Position.

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

20 years ago * AmbientValueAttribute.cs, EnumConverter.cs, ListChangedEventArgs.cs:
Lluis Sanchez [Thu, 8 Apr 2004 19:49:21 +0000 (19:49 -0000)]
* AmbientValueAttribute.cs, EnumConverter.cs, ListChangedEventArgs.cs:
  Removed unneded TODOs.
* ComponentResourceManager.cs: Implemented ApplyResources.
* EventDescriptorCollection.cs: Implemented several missing methods.
* LicFileLicenseProvider.cs: Implemented.
* MemberDescriptor.cs: Implemented some missing methods. Handle correctly
  the creation of the Attribute list.
* TypeConverter.cs: Use null as default value for attribute array parameter.

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

20 years agoS390 JIT
Neale Ferguson [Thu, 8 Apr 2004 19:30:31 +0000 (19:30 -0000)]
S390 JIT

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

20 years ago * ReaderWriterLock.cs: Fix tyop
Jackson Harper [Thu, 8 Apr 2004 19:20:10 +0000 (19:20 -0000)]
    * ReaderWriterLock.cs: Fix tyop

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

20 years ago2004-04-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 8 Apr 2004 18:37:43 +0000 (18:37 -0000)]
2004-04-08  Zoltan Varga  <vargaz@freemail.hu>

* monosn.c: Add missing initialization calls.

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

20 years ago2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 8 Apr 2004 18:22:22 +0000 (18:22 -0000)]
2004-04-08  Bernie Solomon  <bernard@ugsolutions.com>

* locales.c:
ves_icall_System_Globalization_CultureInfo_construct_number_format
        Fix g_assert so it compiles on fussier compilers re int/ptr
mismatch

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

20 years ago2004-04-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 8 Apr 2004 18:15:31 +0000 (18:15 -0000)]
2004-04-06  Miguel de Icaza  <miguel@ximian.com>

* tramp-ppc.c (create_trampoline_code): Added
JUMP_TRAMPOLINE_SIZE.
(ppc_magic_trampoline): Follow the pattern from
x86_magic_trampoline: if code is set to zero, return.
(create_trampoline_code): Always pass MonoMethod to the jump
trampoline, before it was passing a null.
(mono_arch_create_jump_trampoline): Implement the jump stub, could
share the code with mono_arch_create_jit_trampoline.

* mini-ppc.c (mono_arch_output_basic_block): CEE_JMP opcode
implemented.
(mono_arch_patch_code): MONO_PATCH_INFO_METHOD_JUMP patch type
implemented.

* cpu-g4.md: Added length for jmp instruction, the worst case
scenario is 92 bytes (4 mandatory bytes, potential 19 registers
for save_lmf).

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

20 years ago2004-04-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 8 Apr 2004 18:01:12 +0000 (18:01 -0000)]
2004-04-08  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_compile_assembly): Add back unlink removed by mistake.

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

20 years agofixes region methods signature
Jordi Mas i Hernandez [Thu, 8 Apr 2004 17:51:09 +0000 (17:51 -0000)]
fixes region methods signature

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

20 years ago2004-04-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 8 Apr 2004 17:26:10 +0000 (17:26 -0000)]
2004-04-08  Sebastien Pouliot  <sebastien@ximian.com>

* codegen.cs: Fix another case where CS1548 must be reported (when
delay-sign isn't specified and no private is available #56564). Fix
loading the ECMA "key" to delay-sign an assembly. Report a CS1548
error when MCS is used on the MS runtime and we need to delay-sign
(which seems unsupported by AssemblyBuilder - see #56621).

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

20 years ago2004-04-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 8 Apr 2004 14:57:44 +0000 (14:57 -0000)]
2004-04-08  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* OptionDetails.cs: Implemented Jonathan Pryor request for multiplicity in boolean properties

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

20 years ago * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
Lluis Sanchez [Thu, 8 Apr 2004 14:10:11 +0000 (14:10 -0000)]
* CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
Made those serializable-compatible with MS.NET: modified fields names to
match MS.NET ones, and in CultureInfo added a flag to control when a
deserialized instance need to be initialized.

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

20 years ago2004-04-08 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 8 Apr 2004 11:56:14 +0000 (11:56 -0000)]
2004-04-08  Dick Porter  <dick@ximian.com>

* Socket.cs: Rearrange the internal calls so that the exceptions
are thrown from managed code

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

20 years ago2004-04-08 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 8 Apr 2004 11:55:44 +0000 (11:55 -0000)]
2004-04-08  Dick Porter  <dick@ximian.com>

* socket-io.h:
* socket-io.c: Don't set SO_REUSEADDR on windows.  Fixes bug
53992.  Also rearrange the code so that the internal calls return
an error value and exceptions are thrown from managed code.

* icall.c: Add type info to the socket icalls.

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

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