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
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
Neale Ferguson [Thu, 8 Apr 2004 19:30:31 +0000 (19:30 -0000)]
S390 JIT
svn path=/trunk/mono/; revision=25228
Jackson Harper [Thu, 8 Apr 2004 19:20:10 +0000 (19:20 -0000)]
* ReaderWriterLock.cs: Fix tyop
svn path=/trunk/mcs/; revision=25227
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Thu, 8 Apr 2004 03:59:15 +0000 (03:59 -0000)]
lalala
svn path=/trunk/mcs/; revision=25205
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
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
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
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
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
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
Martin Baulig [Wed, 7 Apr 2004 21:20:47 +0000 (21:20 -0000)]
Small fix.
svn path=/trunk/mcs/; revision=25198
Martin Baulig [Wed, 7 Apr 2004 21:20:39 +0000 (21:20 -0000)]
They're not CLS-compliant.
svn path=/trunk/mcs/; revision=25197
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
Martin Baulig [Wed, 7 Apr 2004 21:06:57 +0000 (21:06 -0000)]
**** Merged from mcs ****
svn path=/trunk/mcs/; revision=25195
Martin Baulig [Wed, 7 Apr 2004 21:05:51 +0000 (21:05 -0000)]
*** Merged from mcs ****
svn path=/trunk/mcs/; revision=25194
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
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
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
Martin Baulig [Wed, 7 Apr 2004 20:03:55 +0000 (20:03 -0000)]
Set TYPE_ATTRIBUTES_PUBLIC.
svn path=/trunk/mono/; revision=25190
Martin Baulig [Wed, 7 Apr 2004 20:03:45 +0000 (20:03 -0000)]
Type parameters are always public.
svn path=/trunk/mcs/; revision=25189
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
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
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
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
Martin Baulig [Wed, 7 Apr 2004 19:01:10 +0000 (19:01 -0000)]
Use TypeManager.GetInterfaces().
svn path=/trunk/mcs/; revision=25183
Martin Baulig [Wed, 7 Apr 2004 19:01:00 +0000 (19:01 -0000)]
New tests.
svn path=/trunk/mcs/; revision=25182
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Wed, 7 Apr 2004 17:04:07 +0000 (17:04 -0000)]
Add
svn path=/trunk/mcs/; revision=25164
Miguel de Icaza [Wed, 7 Apr 2004 16:46:30 +0000 (16:46 -0000)]
Add new errors
svn path=/trunk/mcs/; revision=25163
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
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
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
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
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
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
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
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
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
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
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
Nick Drochak [Wed, 7 Apr 2004 11:16:18 +0000 (11:16 -0000)]
Fix Build
svn path=/trunk/mcs/; revision=25150
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
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
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
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
Martin Baulig [Wed, 7 Apr 2004 08:22:24 +0000 (08:22 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=25145
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
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
Martin Baulig [Wed, 7 Apr 2004 08:01:56 +0000 (08:01 -0000)]
Added GenericTypeParameterBuilder
svn path=/trunk/mcs/; revision=25142
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
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
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
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
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
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
Ravindra [Wed, 7 Apr 2004 04:34:51 +0000 (04:34 -0000)]
Use PNG instead of BMP.
svn path=/trunk/mcs/; revision=25133
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
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
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
Duncan Mak [Wed, 7 Apr 2004 03:41:08 +0000 (03:41 -0000)]
Try this as well.
svn path=/trunk/mcs/; revision=25127
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
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
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
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
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
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
Martin Baulig [Tue, 6 Apr 2004 21:32:28 +0000 (21:32 -0000)]
Ooops.
svn path=/trunk/mono/; revision=25119