mono.git
22 years ago2002-02-18 Radek Doulik <rodo@ximian.com>
Radek Doulik [Mon, 18 Feb 2002 22:57:38 +0000 (22:57 -0000)]
2002-02-18  Radek Doulik  <rodo@ximian.com>

* mono/tests/Makefile.am: added small test library for pinvoke
testing

* mono/tests/libtest.c (mono_test_many_int_arguments): new file,
new function to test pinvoke

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

22 years agoops
Radek Doulik [Mon, 18 Feb 2002 22:55:16 +0000 (22:55 -0000)]
ops

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

22 years agoadded pinvoked method with 10 int arguments
Radek Doulik [Mon, 18 Feb 2002 22:53:53 +0000 (22:53 -0000)]
added pinvoked method with 10 int arguments

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

22 years ago2002-02-18 Radek Doulik <rodo@ximian.com>
Radek Doulik [Mon, 18 Feb 2002 20:11:32 +0000 (20:11 -0000)]
2002-02-18  Radek Doulik  <rodo@ximian.com>

* mono/tests/Makefile.am: display # of passing tests too

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

22 years agoImplementation for Guid.Guid(string) (including test cases)
Duco Fijma [Mon, 18 Feb 2002 18:50:47 +0000 (18:50 -0000)]
Implementation for Guid.Guid(string) (including test cases)

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

22 years ago2002-02-18 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 18 Feb 2002 16:00:03 +0000 (16:00 -0000)]
2002-02-18  Duncan Mak  <duncan@ximian.com>

        * Convert.cs: Changed from using Type.GetType (string) to just
        typeof (). Probably will speed things up a bit?

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

22 years agoRemoved System.Exception from cmp and res builds. Was causing NUnit troubles.
Dan Lewis [Mon, 18 Feb 2002 15:49:36 +0000 (15:49 -0000)]
Removed System.Exception from cmp and res builds. Was causing NUnit troubles.

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

22 years agonew test
Dietmar Maurer [Mon, 18 Feb 2002 14:47:41 +0000 (14:47 -0000)]
new test

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

22 years ago*** empty log message ***
Dietmar Maurer [Mon, 18 Feb 2002 12:57:06 +0000 (12:57 -0000)]
*** empty log message ***

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

22 years ago2002-02-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 18 Feb 2002 12:52:32 +0000 (12:52 -0000)]
2002-02-18  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): optimize LDSFLD/STSFLD for domain
specific code.
(mono_analyze_stack): use MB_TERM_LDELEMA to perform bound check

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

22 years ago2002-02-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 18 Feb 2002 12:18:59 +0000 (12:18 -0000)]
2002-02-18  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: do not encode exception objects into the instruction
stream, because they are domain dependend. Use
arch_get_throw_exception_by_name() instead;
* jit.c (mono_analyze_stack): imp. LDSTR for shared code

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

22 years ago2002-02-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 18 Feb 2002 11:58:10 +0000 (11:58 -0000)]
2002-02-19  Nick Drochak  <ndrochak@gol.com>

* corcompare.cs: Reorganized into collaberating classes to analyze
and generate reports.  Still needs to find the MonoTODO's, and
has a little more prototype code in there, but it's almost done.

* makefile: output XML file in the tools directory for now.

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

22 years agoMon Feb 18 15:50:59 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Feb 2002 11:03:30 +0000 (11:03 -0000)]
Mon Feb 18 15:50:59 CET 2002 Paolo Molaro <lupus@ximian.com>

* sockets.c: #undef DEBUG.

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

22 years agoMon Feb 18 15:49:20 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Feb 2002 11:03:16 +0000 (11:03 -0000)]
Mon Feb 18 15:49:20 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fix alignment code. Make sure to init classes
in more cases. Command-line arguments are interned.

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

22 years agoMon Feb 18 15:51:40 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Feb 2002 11:02:59 +0000 (11:02 -0000)]
Mon Feb 18 15:51:40 CET 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: intern command line arguments.

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

22 years agoMon Feb 18 15:52:20 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Feb 2002 11:02:37 +0000 (11:02 -0000)]
Mon Feb 18 15:52:20 CET 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.c, object.c: fix intern pool implementation.
* class.c: fix alignment code.

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

22 years agoMon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Feb 2002 11:02:20 +0000 (11:02 -0000)]
Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>

* get.c: include last param.

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

22 years agoMon Feb 18 14:28:10 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Feb 2002 09:37:09 +0000 (09:37 -0000)]
Mon Feb 18 14:28:10 CET 2002 Paolo Molaro <lupus@ximian.com>

* Makefile.am: fix compatibility problem with automake 1.4.

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

22 years agocommitted patch from Ajay
Dietmar Maurer [Mon, 18 Feb 2002 09:36:18 +0000 (09:36 -0000)]
committed patch from Ajay

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

22 years agodont compile methods more than once gives better performance ;-)
Dietmar Maurer [Mon, 18 Feb 2002 08:54:46 +0000 (08:54 -0000)]
dont compile methods more than once gives better performance ;-)

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

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

        * TimeZone.cs: Applied the rest of Ajay's patch for
        IsDaylightSavingTime. Thanks a lot for the nice explanation of how
        it works!

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

22 years ago2002-02-17 Radek Doulik <rodo@ximian.com>
Radek Doulik [Sun, 17 Feb 2002 21:46:58 +0000 (21:46 -0000)]
2002-02-17  Radek Doulik  <rodo@ximian.com>

* mono/tests/Makefile.am (test): display # of failed tests

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

22 years agola la la, ChangeLog entries
Radek Doulik [Sun, 17 Feb 2002 21:10:29 +0000 (21:10 -0000)]
la la la, ChangeLog entries

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

22 years ago (mono_string_new_wrapper): new helper function, cut&pasted from
Radek Doulik [Sun, 17 Feb 2002 20:02:39 +0000 (20:02 -0000)]
(mono_string_new_wrapper): new helper function, cut&pasted from
x86, modified to check for NULL text to avoid branching in
generated code
(calculate_sizes): updated for string retval changes
(emit_call_and_store_retval): updated for string retval

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

22 years ago2002-02-17 Radek Doulik <rodo@ximian.com>
Radek Doulik [Sun, 17 Feb 2002 19:41:12 +0000 (19:41 -0000)]
2002-02-17  Radek Doulik  <rodo@ximian.com>

* ppc/tramp.c: fixed minimal stack size, fixed string parameters,
fix byte and half word parameters

* ppc/ppc-codegen.h (ppc_mr): added lhz, lbz, sth

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

22 years ago2002-02-18 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 17 Feb 2002 18:40:22 +0000 (18:40 -0000)]
2002-02-18  Nick Drochak  <ndrochak@gol.com>

* GuidTest.cs: Fix compile error.  Needed to cast the null in the call to
constructor to avoid ambiguity.

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

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