Gert Driesen [Mon, 12 Apr 2004 09:19:24 +0000 (09:19 -0000)]
* FileSystemInfo.cs: Implemented ISerializable.
svn path=/trunk/mcs/; revision=25354
Atsushi Eno [Mon, 12 Apr 2004 08:52:07 +0000 (08:52 -0000)]
2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
* SqlDateTimeTest.cs : ToStringTest() is locale dependent.
svn path=/trunk/mcs/; revision=25353
Atsushi Eno [Mon, 12 Apr 2004 08:42:40 +0000 (08:42 -0000)]
2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
* SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
in conversion.
* SqlString.cs : CompareOption should not be None.
svn path=/trunk/mcs/; revision=25352
Atsushi Eno [Mon, 12 Apr 2004 08:41:35 +0000 (08:41 -0000)]
2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
* SqlStringTest.cs : Removed locale-dependent test.
* SqlDecimalTest.cs : Removed runtime-dependent test.
svn path=/trunk/mcs/; revision=25351
Atsushi Eno [Mon, 12 Apr 2004 08:38:43 +0000 (08:38 -0000)]
2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
* DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
It might be "\r\n" or else.
svn path=/trunk/mcs/; revision=25350
Ravindra [Mon, 12 Apr 2004 03:36:05 +0000 (03:36 -0000)]
Added TestSystemBrushes.cs to the test sources list.
svn path=/trunk/mcs/; revision=25345
Ravindra [Mon, 12 Apr 2004 03:32:51 +0000 (03:32 -0000)]
Adding TestSystemBrushes.cs
svn path=/trunk/mcs/; revision=25344
Peter Dennis Bartok [Mon, 12 Apr 2004 02:13:01 +0000 (02:13 -0000)]
- Removed several hacks that are no longer needed with the latest
System.Drawing and libgdiplus
- Fixed up Button
svn path=/trunk/mcs/; revision=25339
Peter Dennis Bartok [Mon, 12 Apr 2004 01:52:52 +0000 (01:52 -0000)]
- Implemented Font.ToHfont method
svn path=/trunk/mcs/; revision=25337
Gonzalo Paniagua Javier [Sun, 11 Apr 2004 21:02:28 +0000 (21:02 -0000)]
Oops. This is for the ChangeLog entry on day 2004-03-27. Fixes bug #56080.
svn path=/trunk/mcs/; revision=25335
Lluis Sanchez [Sun, 11 Apr 2004 14:17:06 +0000 (14:17 -0000)]
* LockQueue.cs: Moved lockCount change inside the rwlock lock. Removed
lock(this) when entering the rwlock to avoid a deadlock.
* ReaderWriterLock.cs: In AcquireWriterLock, queue the thread if the queue
is not empty (even if state==0).
svn path=/trunk/mcs/; revision=25332
Miguel de Icaza [Sun, 11 Apr 2004 05:02:19 +0000 (05:02 -0000)]
2004-04-11 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Argument.Resolve): Check if fields passed as ref
or out are contained in a MarshalByRefObject.
* typemanager.cs, rootcontext.cs: Add System.Marshalbyrefobject as
another compiler type.
svn path=/trunk/mcs/; revision=25331
Miguel de Icaza [Sun, 11 Apr 2004 04:47:55 +0000 (04:47 -0000)]
Fix
svn path=/trunk/mcs/; revision=25330
Vladimir Vukicevic [Sun, 11 Apr 2004 04:26:19 +0000 (04:26 -0000)]
* Image.cs: Save should use encoder.FormatID, not Clsid
svn path=/trunk/mcs/; revision=25329
Miguel de Icaza [Sun, 11 Apr 2004 03:26:55 +0000 (03:26 -0000)]
Flush
svn path=/trunk/mono/; revision=25328
Atsushi Eno [Sun, 11 Apr 2004 01:28:20 +0000 (01:28 -0000)]
2004-04-11 Atsushi Enomoto <atsushi@ximian.com>
* NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
internal array. Return clone as MS.NET does.
There still looks somewhere breaking CurrentInfo.
svn path=/trunk/mcs/; revision=25326
Daniel Morgan [Sun, 11 Apr 2004 00:26:21 +0000 (00:26 -0000)]
2004-04-10 Daniel Morgan <danielmorgan@verizon.net>
* ado-net
* sqlclient
* oracle
* postgresql
* mysql: clean up Mono ADO.NET web pages
* makefile: remove building of obsolete web page tds-providers
svn path=/trunk/mono/; revision=25325
Miguel de Icaza [Sat, 10 Apr 2004 23:20:26 +0000 (23:20 -0000)]
Flush
svn path=/trunk/mono/; revision=25320
Bernie Solomon [Sat, 10 Apr 2004 22:55:37 +0000 (22:55 -0000)]
2004-04-10 Bernie Solomon <bernard@ugsolutions.com>
* libtest.c: declare SetLastError on Windows
svn path=/trunk/mono/; revision=25319
Ben Maurer [Sat, 10 Apr 2004 18:59:59 +0000 (18:59 -0000)]
2004-04-10 Ben Maurer <bmaurer@users.sourceforge.net>
* test-12.cs: test for concat inside array.
svn path=/trunk/mcs/; revision=25309
Miguel de Icaza [Sat, 10 Apr 2004 18:58:44 +0000 (18:58 -0000)]
errors
svn path=/trunk/mcs/; revision=25308
Miguel de Icaza [Sat, 10 Apr 2004 18:56:55 +0000 (18:56 -0000)]
2004-04-06 Ben Maurer <bmaurer@users.sourceforge.net>
* class.cs (Indexer.Define): use the new name checking method.
Also, return false on an error.
* cs-tokenizer.cs (IsValidIdentifier): Checks for a valid identifier.
(is_identifier_[start/part]_character): make static.
svn path=/trunk/mcs/; revision=25307
Miguel de Icaza [Sat, 10 Apr 2004 18:54:28 +0000 (18:54 -0000)]
2004-04-10 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Binary.ResolveOperator): Do no append strings
twice: since we can be invoked more than once (array evaluation)
on the same concatenation, take care of this here. Based on a fix
from Ben (bug #56454)
svn path=/trunk/mcs/; revision=25306
Atsushi Eno [Sat, 10 Apr 2004 15:03:35 +0000 (15:03 -0000)]
2004-04-10 Atsushi Enomoto <atsushi@ximian.com>
* UTF7Encoding.cs : GetMaxByteCount() was based on incorrect formula.
svn path=/trunk/mcs/; revision=25305
Gert Driesen [Sat, 10 Apr 2004 14:05:28 +0000 (14:05 -0000)]
explicit implementation of IDisposable to match MS corlib
svn path=/trunk/mcs/; revision=25303
Vladimir Vukicevic [Sat, 10 Apr 2004 10:09:04 +0000 (10:09 -0000)]
* TimeoutManager.cs: Swap the order of initialization of contexts
and the Timer, to avoid race condition of CheckTimeouts being called
before contexts gets initialized.
svn path=/trunk/mcs/; revision=25301
Gonzalo Paniagua Javier [Sat, 10 Apr 2004 05:24:24 +0000 (05:24 -0000)]
2004-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* OciDefineHandle.cs: added support for basic RAW data type. Patch by
Eduard Nesiba.
svn path=/trunk/mcs/; revision=25269
Atsushi Eno [Sat, 10 Apr 2004 01:46:06 +0000 (01:46 -0000)]
2004-04-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlParserContext.cs : Fixed .ctor() not to reference null namespace
manager. This fixes bug #56770.
svn path=/trunk/mcs/; revision=25268
David Sheldon [Fri, 9 Apr 2004 17:39:44 +0000 (17:39 -0000)]
2004-04-09 David Sheldon <dave-mono@earth.li>
Fixes for bug 56744
* System/Convert.cs: Allow + signs in strings for ToInt32, and
- if it is base 10.
* ConvertTest.cs: Tests for Convert.ToInt32(string, base), with
signs on the strings.
svn path=/trunk/mcs/; revision=25254
Sebastien Pouliot [Fri, 9 Apr 2004 17:14:38 +0000 (17:14 -0000)]
2004-04-09 Sebastien Pouliot <sebastien@ximian.com>
* chktrust.1: Added some details and documented the CAB format
restriction (not supported).
* makecert.1: Added missing options, details for existing options and
removed duplicate options.
* setreg.1: Minor changes.
* signcode.1: Added some details and documented the CAB format
restriction (not supported). Also added a warning when using both a
strongname and an Authenticode signature on a assembly.
svn path=/trunk/mono/; revision=25253
Francisco Figueiredo Jr. [Fri, 9 Apr 2004 15:07:10 +0000 (15:07 -0000)]
2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlDataAdapter.cs: Fixed DataAdapter to raise the RowUpdatin
g and RowUpdated events. This also fixes some issues in gborg 710 bug. This modi
fication may have broken CommandBuilder support. Working on that.
svn path=/trunk/mcs/; revision=25251
Sebastien Pouliot [Fri, 9 Apr 2004 14:10:13 +0000 (14:10 -0000)]
2004-04-09 Sebastien Pouliot <sebastien@ximian.com>
* certmgr.1: Update the man file to specifiy the current location and
format of the certificate files. Also added a WARNING that this info
can change anytime and that the only safe way to manipulate the stores
are by using the certmgr tool.
svn path=/trunk/mono/; revision=25249
Zoltan Varga [Fri, 9 Apr 2004 13:17:41 +0000 (13:17 -0000)]
2004-04-09 Zoltan Varga <vargaz@freemail.hu>
* corlib_test.dll.sources: Added System.Threading/TimerTest.cs.
svn path=/trunk/mcs/; revision=25247
Zoltan Varga [Fri, 9 Apr 2004 13:16:16 +0000 (13:16 -0000)]
2004-04-09 Zoltan Varga <vargaz@freemail.hu>
* TimerTest.cs: Beginnings of regression tests for the Timer class.
svn path=/trunk/mcs/; revision=25246
Zoltan Varga [Fri, 9 Apr 2004 13:15:21 +0000 (13:15 -0000)]
2004-04-09 Zoltan Varga <vargaz@freemail.hu>
* Timer.cs: Call the callback immediately if dueTime is 0. Fixes
#56728.
svn path=/trunk/mcs/; revision=25245
Zoltan Varga [Fri, 9 Apr 2004 12:19:52 +0000 (12:19 -0000)]
2004-04-09 Zoltan Varga <vargaz@freemail.hu>
* assembly.c (mono_assembly_load_references): Make this thread safe.
Fixes #56327.
svn path=/trunk/mono/; revision=25244
Atsushi Eno [Fri, 9 Apr 2004 08:17:10 +0000 (08:17 -0000)]
2004-04-09 Atsushi Enomoto <atsushi@ximian.com>
* DataColumnTest.cs,
DataRowTest.cs,
DataTableTest.cs : build fix: csc does not allow
System.Type inside namespace MonoTests.System.Data.
* DataSetTest.cs : path fix.
* DataRelationTest.cs : path fix. Don't test error message: It should
vary by message translations. Split tests and use ExpectedException.
svn path=/trunk/mcs/; revision=25242
Bernie Solomon [Thu, 8 Apr 2004 22:06:45 +0000 (22:06 -0000)]
2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
* DSA.cs: Use Mono.Security.BitConverterLE
svn path=/trunk/mcs/; revision=25241
Bernie Solomon [Thu, 8 Apr 2004 20:38:46 +0000 (20:38 -0000)]
2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
* AuthenticodeBase.cs: Use BitConverterLE
svn path=/trunk/mcs/; revision=25238
Bernie Solomon [Thu, 8 Apr 2004 20:36:03 +0000 (20:36 -0000)]
2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
* PKCS1.cs: Use BitConverterLE
svn path=/trunk/mcs/; revision=25237
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
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
Neale Ferguson [Thu, 8 Apr 2004 20:07:42 +0000 (20:07 -0000)]
Add JIT for s390
svn path=/trunk/mono/; revision=25234
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
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
Lluis Sanchez [Thu, 8 Apr 2004 19:53:17 +0000 (19:53 -0000)]
Oops, fixed compilation issue.
svn path=/trunk/mcs/; revision=25231
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