mono.git
22 years agoCreated first test for System.Guid
Duco Fijma [Sun, 17 Feb 2002 12:10:54 +0000 (12:10 -0000)]
Created first test for System.Guid

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

22 years ago2002-02-17 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 17 Feb 2002 02:31:25 +0000 (02:31 -0000)]
2002-02-17  Duncan Mak  <duncan@ximian.com>

    * FileDialogPermissionAccess.cs: Add in namespace declaration, so
      that this one little unique enum wouldn't show up in the System
      namespace when we ildasm corlib.dll ;-) Oops, my bad.

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

22 years ago2002-02-17 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 17 Feb 2002 02:17:50 +0000 (02:17 -0000)]
2002-02-17  Duncan Mak  <duncan@ximian.com>

    * Convert.cs: Near-complete implementation of Convert.cs

      Added all the To* methods taking (object) and
      (object, IFormatProvider) as parameters.

      Added [CLSCompliant (false)] attributes to methods dealing with
      unsigned types.

      Added the missing section on converting to and from DateTime. Only
      6 missing methods, all marked with MonoTODOs. Will tackle them later.

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

22 years ago (ves_icall_System_Enum_ToObject): and likewise for s1 > s2
Radek Doulik [Sun, 17 Feb 2002 00:27:24 +0000 (00:27 -0000)]
(ves_icall_System_Enum_ToObject): and likewise for s1 > s2

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

22 years ago2002-02-16 Radek Doulik <rodo@ximian.com>
Radek Doulik [Sun, 17 Feb 2002 00:23:33 +0000 (00:23 -0000)]
2002-02-16  Radek Doulik  <rodo@ximian.com>

* icall.c (ves_icall_System_Enum_ToObject): in case of big endian
and s2 > s1, just copy lower bytes to be compatible with little
endian (i.e. 64bit value & 0xffffffff --> 32bit value)

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

22 years ago2002-02-16 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Sat, 16 Feb 2002 21:01:20 +0000 (21:01 -0000)]
2002-02-16  Jeffrey Stedfast  <fejj@ximian.com>

* wrapper.c (mono_wrapper_fstat): The MonoWrapperStat namespace is
mst_ now, so update this code. Also fix a copy/paste-o that
assigned st.st_ctime to buf->mst_mtime.
(mono_wrapper_stat): Same here.

* genwrapper.pl: Solaris does some nasty macro hadckery action for
st_[a,c,m]time and so lets namespace our wrapper members as
mst_[a,c,m]time to avoid namespace problems.

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

22 years agoForgot to change this too.
Duncan Mak [Sat, 16 Feb 2002 20:38:50 +0000 (20:38 -0000)]
Forgot to change this too.

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

22 years ago2002-02-16 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 16 Feb 2002 20:34:15 +0000 (20:34 -0000)]
2002-02-16  Duncan Mak  <duncan@ximian.com>

* TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
make IsDaylightSavingTime (DateTime) call
IsDaylightSavingTime (DateTime, DaylightTime).

Added internal class CurrentTimeZone from Ajay. It needs more work
to fill in the appropriate internal calls.

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

22 years agoremove checks for IP_ADD/DROP_MEMBERSHIP
Jeffrey Stedfast [Sat, 16 Feb 2002 19:44:06 +0000 (19:44 -0000)]
remove checks for IP_ADD/DROP_MEMBERSHIP

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

22 years agodon't bother wrapping IP_[ADD,DROP]_MEMBERSHIP with ifdefs since
Jeffrey Stedfast [Sat, 16 Feb 2002 19:42:48 +0000 (19:42 -0000)]
don't bother wrapping IP_[ADD,DROP]_MEMBERSHIP with ifdefs since
solaris does have these afterall.

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

22 years ago2002-02-16 Radek Doulik <rodo@ximian.com>
Radek Doulik [Sat, 16 Feb 2002 19:39:35 +0000 (19:39 -0000)]
2002-02-16  Radek Doulik  <rodo@ximian.com>

* unicode.c (ves_icall_iconv_new_encoder): decide on big_endian,
force big_endian to be 1 for big endian machines
(ves_icall_iconv_new_decoder): ditto

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

22 years ago2002-02-16 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Sat, 16 Feb 2002 19:37:58 +0000 (19:37 -0000)]
2002-02-16  Jeffrey Stedfast  <fejj@ximian.com>

* configure.in: Add checks for SOL_IP, SOL_TCP, IP_PKTINFO,
IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. Also check for struct
ip_mreqn.

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

22 years ago2002-02-16 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Sat, 16 Feb 2002 19:22:40 +0000 (19:22 -0000)]
2002-02-16  Jeffrey Stedfast  <fejj@ximian.com>

* socket-io.c (convert_sockopt_level_and_name): If the system
doesn't define SOL_IP or SOL_TCP, get them by hand using
getprotobyname() and caching the values (because this could be a
slow operation).
(ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal):
Don't attempt to add or drop memberships unless the system
supports it. Also use the appropriate struct when the system does
support it. Ie, not all systems have struct ip_mreqn so use struct
ip_mreq when appropriate.

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

22 years ago2002-02-16 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Sat, 16 Feb 2002 18:48:14 +0000 (18:48 -0000)]
2002-02-16  Jeffrey Stedfast  <fejj@ximian.com>

* socket-io.c (convert_sockopt_level_and_name): If the system
doesn't define SOL_IP or SOL_TCP, get them by hand using
getprotobyname() and caching the values (because this could be a
slow operation).
(ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal):
Don't attempt to add or drop memberships unless the system
supports it.

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

22 years ago2002-02-16 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Sat, 16 Feb 2002 18:47:38 +0000 (18:47 -0000)]
2002-02-16  Jeffrey Stedfast  <fejj@ximian.com>

* configure.in: Add checks for SOL_IP, SOL_TCP, IP_PKTINFO,
IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.

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

22 years ago2002-02-16 Radek Doulik <rodo@ximian.com>
Radek Doulik [Sat, 16 Feb 2002 18:21:33 +0000 (18:21 -0000)]
2002-02-16  Radek Doulik  <rodo@ximian.com>

* interp.c (ves_exec_method): test type of sp [-1] instead of sp
[0], because sp [-1] is the value going to be shifted, fixed in
CEE_SHL, CEE_SHR, CEE_UN opcodes)

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

22 years agoAdd missing makefile
Miguel de Icaza [Sat, 16 Feb 2002 12:13:28 +0000 (12:13 -0000)]
Add missing makefile

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

22 years agoSat Feb 16 16:27:42 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 16 Feb 2002 11:41:15 +0000 (11:41 -0000)]
Sat Feb 16 16:27:42 CET 2002 Paolo Molaro <lupus@ximian.com>

* emit-x86.c: handle unreachable code. Eliminate some unneeded
malloc() calls.
* jit.c: handle unreachable code. Move setting of mono_end_of_stack to
main(). Add --compile classname and --ncompile num command line
options to do performance evaluation of the jitter (and help
debugging).

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

22 years agoSat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 16 Feb 2002 07:50:34 +0000 (07:50 -0000)]
Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>

* Type.cs: fix IsClass.

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

22 years agoSat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 16 Feb 2002 07:10:54 +0000 (07:10 -0000)]
Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>

* String.cs: fix Trim().

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

22 years agoSat Feb 16 12:00:24 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 16 Feb 2002 07:09:22 +0000 (07:09 -0000)]
Sat Feb 16 12:00:24 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fixed cut&paste error for ldind.r4 and ldind.r8.

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

22 years ago2002-02-16 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 16 Feb 2002 01:19:32 +0000 (01:19 -0000)]
2002-02-16  Duncan Mak  <duncan@ximian.com>

    * SurrogateSelector.cs: Stubbed out. Gonna be working on this
      tomorrow.

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

22 years ago2002-02-15 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 15 Feb 2002 23:16:55 +0000 (23:16 -0000)]
2002-02-15  Duncan Mak  <duncan@ximian.com>

    * SerializationEntry.cs: Added internal constructor bits for
      SerializationInfoEnumerator.
    * SerializationInfo.cs: Completed.
    * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
      Hashtable's GetEnumerator method.

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

22 years agoAdd new sample error case, from Dan
Miguel de Icaza [Fri, 15 Feb 2002 21:28:18 +0000 (21:28 -0000)]
Add new sample error case, from Dan

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

22 years agoAdded StreamWriterTest to AllTests
David Brandt [Fri, 15 Feb 2002 18:55:45 +0000 (18:55 -0000)]
Added StreamWriterTest to AllTests

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

22 years agoAdding 'StreamWriterTest.cs' - mostly finished.
David Brandt [Fri, 15 Feb 2002 18:55:00 +0000 (18:55 -0000)]
Adding 'StreamWriterTest.cs' - mostly finished.

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

22 years agoFixing small incorrectness in test.
David Brandt [Fri, 15 Feb 2002 18:50:40 +0000 (18:50 -0000)]
Fixing small incorrectness in test.

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

22 years agoFri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 15 Feb 2002 16:11:35 +0000 (16:11 -0000)]
Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>

* String.cs: fix more off by one errors.

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

22 years agoAdding StreamReaderTest to AllTests
David Brandt [Fri, 15 Feb 2002 16:06:45 +0000 (16:06 -0000)]
Adding StreamReaderTest to AllTests

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

22 years agoAdding System.IO.StreamReaderTest. Only non-inherited methods are tested.
David Brandt [Fri, 15 Feb 2002 16:06:22 +0000 (16:06 -0000)]
Adding System.IO.StreamReaderTest.  Only non-inherited methods are tested.

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

22 years agoFri Feb 15 18:15:04 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 15 Feb 2002 13:24:40 +0000 (13:24 -0000)]
Fri Feb 15 18:15:04 CET 2002 Paolo Molaro <lupus@ximian.com>

* ILGenerator.cs: finally block support and fixes.

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

22 years agoFri Feb 15 18:15:44 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 15 Feb 2002 13:24:35 +0000 (13:24 -0000)]
Fri Feb 15 18:15:44 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: handle finally clauses.

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

22 years agoFri Feb 15 15:07:27 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 15 Feb 2002 10:16:57 +0000 (10:16 -0000)]
Fri Feb 15 15:07:27 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: use strrchr instead of rindex. use _isnan and _finite on
win32 systems.

Fri Feb 15 15:06:33 CET 2002 Paolo Molaro <lupus@ximian.com>

* socket-io.c: use g_snprintf() instead of snprintf.

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

22 years agoFix make distcheck.
Paolo Molaro [Fri, 15 Feb 2002 10:12:19 +0000 (10:12 -0000)]
Fix make distcheck.

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

22 years agoFri Feb 15 14:20:30 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 15 Feb 2002 09:29:30 +0000 (09:29 -0000)]
Fri Feb 15 14:20:30 CET 2002 Paolo Molaro <lupus@ximian.com>

* Makefile.am: avoid automake for build on host stuff.

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

22 years agobug fix in static delegate invoke
Dietmar Maurer [Fri, 15 Feb 2002 04:54:34 +0000 (04:54 -0000)]
bug fix in static delegate invoke

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 22:58:04 +0000 (22:58 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* interp.c (ves_exec_method): replace
'g_assert (sp->type = VAL_VALUETA)' with
'g_assert (sp->type == VAL_VALUETA)' otherwise
the assert always passes. FIXME: should the test have been !=?

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 22:23:12 +0000 (22:23 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* reflection.c (mono_param_get_objects): Cast second argument to
mono_method_get_param_names to a const char** to silence the
compiler warning.

* appdomain.c (mono_domain_assembly_open): Put parens around the
truth statement in the for-loop.

* unicode.c (iconv_convert): Got rid of a compiler warning about
int i being unused when the system has a new iconv.
(iconv_get_length): Same.

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 22:06:13 +0000 (22:06 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* image.c (load_class_names): Cast the second argument to
g_hash_table_insert() to char* to hush compiler warnings about the
arg being a const.
(mono_image_open): Same here.

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 21:22:40 +0000 (21:22 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* socket-io.c: Don't conditionally include sys/filio.h or
sys/sockio.h here anymore since we now get them from
io-layer/io-layer.h
(inet_pton): If the system doesn't support inet_aton, implement
using inet_addr and also #define INADDR_NONE if it isn't defined
by the system.

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 21:22:18 +0000 (21:22 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* io-layer.h: conditionally include sys/filio.h and sys/sockio.h
for FIONBIO, FIONREAD, and SIOCATMARK.

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

22 years agotouching up TODO
David Brandt [Thu, 14 Feb 2002 18:44:12 +0000 (18:44 -0000)]
touching up TODO

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

22 years agoAdding ArrayListTest to AllTests
David Brandt [Thu, 14 Feb 2002 18:41:46 +0000 (18:41 -0000)]
Adding ArrayListTest to AllTests

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

22 years agoIntroducing ArrayListTest
David Brandt [Thu, 14 Feb 2002 18:39:18 +0000 (18:39 -0000)]
Introducing ArrayListTest

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

22 years agoThu Feb 14 18:55:52 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2002 14:18:02 +0000 (14:18 -0000)]
Thu Feb 14 18:55:52 CET 2002 Paolo Molaro <lupus@ximian.com>

* FieldBuilder.cs: Add SetRVAData().
* ILGenerator.cs: speed up code array growth.
* TypeBuilder.cs: fix IsValueTypeImpl(). Add class_size member.
Implement DefineInitializedData().

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

22 years agoThu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2002 14:17:41 +0000 (14:17 -0000)]
Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>

* TypeAttributes.cs: update to latest spec.

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

22 years agoThu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2002 14:17:14 +0000 (14:17 -0000)]
Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: fix IsValueTypeImpl.
* Type.cs: fix IsEnum. Implement Equals methods.

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

22 years agoThu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2002 14:16:43 +0000 (14:16 -0000)]
Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>

* main.c: output pack and size info if needed.

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

22 years agoThu Feb 14 19:01:06 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2002 14:16:20 +0000 (14:16 -0000)]
Thu Feb 14 19:01:06 CET 2002 Paolo Molaro <lupus@ximian.com>

* metadata.c, metadata.h: added function to get packing and size info
of a typedef.
* reflection.h, reflection.c: handle field RVA data. Save info about
the table layout if needed. Assign typedef indexes to all the types
before dumping the info about them to avoid forward reference problems.

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

22 years ago2002-02-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 14 Feb 2002 13:25:40 +0000 (13:25 -0000)]
2002-02-14  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Property.Define, Method.Define): Remove newslot when
`implementing'.

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

22 years ago2002-02-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 14 Feb 2002 13:03:41 +0000 (13:03 -0000)]
2002-02-14  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (GetSystemDir): Use CodeBase instead of FullName for
locating our system dir.  Sorry about this.

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

22 years agoFlush changes from my NT partition
Miguel de Icaza [Thu, 14 Feb 2002 13:02:45 +0000 (13:02 -0000)]
Flush changes from my NT partition

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

22 years ago2002-02-15 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 14 Feb 2002 12:08:11 +0000 (12:08 -0000)]
2002-02-15  Nick Drochak  <ndrochak@gol.com>

* corcompare.cs: Adding stuff to collect all the missing and todo
information need to generate nice looking HTML pages.  Not quite
done and needs some re-org, but Duncan can take a look.

* sample.xml: an example of how the XML will look that corcompare
will generate.  Can be used to start working on the XSLT.

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

22 years ago2002-02-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 14 Feb 2002 10:15:32 +0000 (10:15 -0000)]
2002-02-14  Nick Drochak  <ndrochak@gol.com>

* makefile: Build mcs/doctools too when one does 'make'

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

22 years ago�2-02-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 14 Feb 2002 10:13:58 +0000 (10:13 -0000)]
�2-02-14  Nick Drochak  <ndrochak@gol.com>

* doctools.build: Fix build script so doctools will compile
(doesn't run yet though)

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

22 years ago2002-02-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 14 Feb 2002 07:59:40 +0000 (07:59 -0000)]
2002-02-14  Nick Drochak  <ndrochak@gol.com>

* FileCodeGroup.cs: Finish Equals()

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

22 years agofixed NEWOBJ and SIZEOF bugs
Dietmar Maurer [Thu, 14 Feb 2002 07:31:11 +0000 (07:31 -0000)]
fixed NEWOBJ and SIZEOF bugs

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

22 years agoThu Feb 14 11:49:30 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 14 Feb 2002 06:58:06 +0000 (06:58 -0000)]
Thu Feb 14 11:49:30 CET 2002 Paolo Molaro <lupus@ximian.com>

* opcode.c: use stddef.h to get NULL.

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

22 years agoAdd sparc to the configure
Miguel de Icaza [Thu, 14 Feb 2002 01:17:20 +0000 (01:17 -0000)]
Add sparc to the configure

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 01:06:46 +0000 (01:06 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* socket-io.c: conditionally include sys/filio.h and sys/sockio.h
for FIONBIO, FIONREAD and SIOCATMARK.
(ves_icall_System_Net_Dns_GetHostByAddr_internal): SunOS doesn't
define INADDR_NONE and besides, inet_addr() is deprecated and
should not be used. Use inet_pton() instead - it also has the
added bonus that it can easily handle IPv6 addresses as well.
(inet_pton): Implement using inet_aton() ifndef HAVE_INET_PTON.

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 01:05:24 +0000 (01:05 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* sockets.c: conditionally include sys/filio.h and sys/sockio.h
for FIONBIO, FIONREAD, and SIOCATMARK.

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

22 years ago2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Thu, 14 Feb 2002 01:04:34 +0000 (01:04 -0000)]
2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>

* configure.in: Add checks to see if we need to link to libsocket,
libnsl, and/or librt. Also check for inet_pton and inet_aton.

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

22 years ago2002-02-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 13 Feb 2002 23:28:34 +0000 (23:28 -0000)]
2002-02-13  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (GetSystemDir): Compute correctly the location of our
system assemblies.  I was using the compiler directory instead of
the library directory.

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

22 years agoInternal call tool, first revision. (mucho experimental)
Dan Lewis [Wed, 13 Feb 2002 22:40:49 +0000 (22:40 -0000)]
Internal call tool, first revision. (mucho experimental)

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

22 years ago2002-02-13 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 13 Feb 2002 20:06:03 +0000 (20:06 -0000)]
2002-02-13  Ravi Pratap  <ravi@ximian.com>

* expression.cs (BetterFunction): Put back in what Miguel commented out
since it is the correct fix. The problem is elsewhere ;-)

(IsParamsMethodApplicable): Fix bug where we were not checking that the fixed
parameters of the parms method are themselves compatible or not !

(StandardConversionExists): Fix very dangerous bug where we were forgetting
to check that a class implements an interface before saying that an implicit
conversion was allowed. Use ImplementsInterface to do the checking.

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

22 years agoFix the abstract bug that Paolo reported for running MCS under the JITer.
Miguel de Icaza [Wed, 13 Feb 2002 19:52:25 +0000 (19:52 -0000)]
Fix the abstract bug that Paolo reported for running MCS under the JITer.

The problem was with my understanding of the .override keyword.

2002-02-13  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Method.Define): Track whether we are an explicit
implementation or not.  And only call DefineMethodOverride if we
are an explicit implementation.

(Property.DefineMethod): Ditto.
(IndexerAccess.DefineMethod): ditto.

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

22 years agoRemoved Enum.cs from _cmp and _res builds. Fixes problem with reflection.
Dan Lewis [Wed, 13 Feb 2002 19:24:35 +0000 (19:24 -0000)]
Removed Enum.cs from _cmp and _res builds. Fixes problem with reflection.

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

22 years agoWed Feb 13 23:00:21 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Feb 2002 18:11:02 +0000 (18:11 -0000)]
Wed Feb 13 23:00:21 CET 2002 Paolo Molaro <lupus@ximian.com>

* decimal.c: remove _MSC_VER conditional.

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

22 years agoAdding ArrayTest to AllTests
David Brandt [Wed, 13 Feb 2002 18:09:05 +0000 (18:09 -0000)]
Adding ArrayTest to AllTests

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

22 years agoIntroducing ArrayTest
David Brandt [Wed, 13 Feb 2002 18:08:31 +0000 (18:08 -0000)]
Introducing ArrayTest

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

22 years agoUpdate
Miguel de Icaza [Wed, 13 Feb 2002 17:13:56 +0000 (17:13 -0000)]
Update

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

22 years ago2002-02-13 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 13 Feb 2002 17:01:21 +0000 (17:01 -0000)]
2002-02-13  Dick Porter  <dick@ximian.com>

* socket-io.c:
* icall.c: Internal calls for Blocking, Select, Shutdown,
GetSocketOption and SetSocketOption

2002-02-13  Dick Porter  <dick@ximian.com>

* sockets.c: Implement shutdown and select

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

22 years agoWed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Feb 2002 17:01:13 +0000 (17:01 -0000)]
Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>

* Int32.cs: implement IConvertible interface.

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

22 years agoWed Feb 13 21:51:30 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Feb 2002 17:00:45 +0000 (17:00 -0000)]
Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <lupus@ximian.com>

* Thread.cs: implement CurrentCulture property needed by
Convert.ChangeType() (used when compiling enums).

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

22 years ago2002-02-13 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 13 Feb 2002 17:00:10 +0000 (17:00 -0000)]
2002-02-13  Dick Porter  <dick@ximian.com>

* Socket.cs: Implemenent Select, Blocking, Connected,
GetSocketOption, Poll, SetSocketOption and Shutdown

* MulticastOption.cs:
* LingerOption.cs: Delete override methods that don't need to be
implemented

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

22 years agoModified and added stubs to allow corlib to compile without referencing mscorlib
Dan Lewis [Wed, 13 Feb 2002 16:24:18 +0000 (16:24 -0000)]
Modified and added stubs to allow corlib to compile without referencing mscorlib
or MS assemblies. (check the corlib.dll assembly metadata :)

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

22 years agos/pthread_mutex_t/mono_mutex_t in some header files too
Jeffrey Stedfast [Wed, 13 Feb 2002 15:33:44 +0000 (15:33 -0000)]
s/pthread_mutex_t/mono_mutex_t in some header files too

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

22 years ago * pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]
Jeffrey Stedfast [Wed, 13 Feb 2002 15:23:42 +0000 (15:23 -0000)]
* pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]

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

22 years ago2002-02-13 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Wed, 13 Feb 2002 15:22:35 +0000 (15:22 -0000)]
2002-02-13  Jeffrey Stedfast  <fejj@ximian.com>

* mono-mutex.[c,h]: New source files that thinly wrap all pthread
functions that take pthread_mutex_t and/or pthread_mutexattr_t
arguments for the sake of portability. Implements recursive
mutexes and pthread_mutex_timedlock.

* critical-sections.c:
* events.c:
* handles.c:
* mutexes.c:
* semaphores.c:
* threads.c:
* timed-thread.c:
* wait.c: Use the mono-mutex wrapper portability functions/macros.

* pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]

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

22 years ago2002-02-13 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Wed, 13 Feb 2002 15:21:33 +0000 (15:21 -0000)]
2002-02-13  Jeffrey Stedfast  <fejj@ximian.com>

* acconfig.h: #undef USE_MONO_MUTEX

* configure.in: If the system pthread implementation is lacking,
default to using mono-mutex.

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

22 years agoWed Feb 13 19:20:01 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Feb 2002 14:29:01 +0000 (14:29 -0000)]
Wed Feb 13 19:20:01 CET 2002 Paolo Molaro <lupus@ximian.com>

* assembly.cs: better resolver: use it instead of some kludgy code.

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

22 years agoWed Feb 13 18:25:55 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Feb 2002 13:35:52 +0000 (13:35 -0000)]
Wed Feb 13 18:25:55 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: the best way to speed-up the compiler is to avoid
infinite loops.

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

22 years agoadded some docu
Dietmar Maurer [Wed, 13 Feb 2002 12:22:52 +0000 (12:22 -0000)]
added some docu

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

22 years ago2002-02-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 13 Feb 2002 11:55:19 +0000 (11:55 -0000)]
2002-02-13  Miguel de Icaza  <miguel@ximian.com>

* jit.c (arch_allocate_var): Only assert that the alignment is
at least 32-bits aligned, not always 32-bits aligned (for I8 for example).

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

22 years agoWed Feb 13 16:17:38 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Feb 2002 11:28:47 +0000 (11:28 -0000)]
Wed Feb 13 16:17:38 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fixed newobj implementation for valuetypes bug found by
dietmar. sub.ovf dummy code.

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

22 years agoMore tests.
Paolo Molaro [Wed, 13 Feb 2002 11:25:24 +0000 (11:25 -0000)]
More tests.

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

22 years agorevert last change
Dietmar Maurer [Wed, 13 Feb 2002 09:45:11 +0000 (09:45 -0000)]
revert last change

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

22 years agobug fix in newobj
Dietmar Maurer [Wed, 13 Feb 2002 09:39:52 +0000 (09:39 -0000)]
bug fix in newobj

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

22 years ago�2-02-13 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 13 Feb 2002 08:49:48 +0000 (08:49 -0000)]
�2-02-13  Nick Drochak  <ndrochak@gol.com>

* makefile: 'clean' target now removes file generated by CorCompare

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

22 years agopass the domain to mono_string_new
Dietmar Maurer [Wed, 13 Feb 2002 08:29:02 +0000 (08:29 -0000)]
pass the domain to mono_string_new

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

22 years ago2002-02-13 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 13 Feb 2002 08:16:37 +0000 (08:16 -0000)]
2002-02-13  Nick Drochak <ndrochak@gol.com>

* pending-classes.in: this is generated by corcompare.

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

22 years agoupdate
Dietmar Maurer [Wed, 13 Feb 2002 07:55:01 +0000 (07:55 -0000)]
update

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

22 years agoobject layout change
Dietmar Maurer [Wed, 13 Feb 2002 07:44:59 +0000 (07:44 -0000)]
object layout change

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

22 years ago2002-02-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 12 Feb 2002 22:47:31 +0000 (22:47 -0000)]
2002-02-12  Duncan Mak  <duncan@ximian.com>

    * SerializationBinder.cs: Implemented.
    * SerializationEntry.cs: Implemented.
    * SerializationInfo.cs: Fixed the get portion of the AssemblyName
    property. Implemented the FullTypename property.

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

22 years agoAdd test that fails
Miguel de Icaza [Tue, 12 Feb 2002 22:40:32 +0000 (22:40 -0000)]
Add test that fails

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

22 years agoRevert Ravi's patch, as it breaks the build
Miguel de Icaza [Tue, 12 Feb 2002 22:04:09 +0000 (22:04 -0000)]
Revert Ravi's patch, as it breaks the build

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

22 years agoFixed a typo.
Duncan Mak [Tue, 12 Feb 2002 21:50:51 +0000 (21:50 -0000)]
Fixed a typo.

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

22 years ago2002-02-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 12 Feb 2002 21:48:08 +0000 (21:48 -0000)]
2002-02-12  Duncan Mak  <duncan@ximian.com>

    * CultureInfo.cs: Added the Calendar property to make the TimeZone
      class build. It's marked as MonoTODO.

2002-02-12  Duncan Mak  <duncan@ximian.com>

    * TimeZone.cs: Implemented and added to CVS.

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

22 years agoNew download page
Miguel de Icaza [Tue, 12 Feb 2002 20:21:08 +0000 (20:21 -0000)]
New download page

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

22 years agoAdded a comment
Dick Porter [Tue, 12 Feb 2002 18:07:33 +0000 (18:07 -0000)]
Added a comment

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