mono.git
22 years agoexception fixes - unfortunately this does not work with mcs compiled binaries
Dietmar Maurer [Thu, 16 May 2002 04:40:21 +0000 (04:40 -0000)]
exception fixes - unfortunately this does not work with mcs compiled binaries

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

22 years ago2002-05-16 Radek Doulik <rodo@ximian.com>
Radek Doulik [Thu, 16 May 2002 03:05:26 +0000 (03:05 -0000)]
2002-05-16  Radek Doulik  <rodo@ximian.com>

* interp.c (ves_exec_method): use data.i instead of data.l in i32
case

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

22 years ago2002-05-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 02:34:45 +0000 (02:34 -0000)]
2002-05-16  Tim Coleman <tim@timcoleman.com>
        * System.Data.SqlClient/SqlDataReader.cs:
                Modify GetValues to use Array.Copy() to copy
                the results from fields to values, rather than
                an assignment, which results in loss of data.

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

22 years ago2002-05-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 16 May 2002 01:52:07 +0000 (01:52 -0000)]
2002-05-16  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataRow.cs:
                More implementation and documentation.  It should
                work more like expected, although there is no way
                to demonstrate this well yet.  DataTable requires
                more work.

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

22 years agoRemove test 120 from the MIcrosoft build
Miguel de Icaza [Wed, 15 May 2002 21:18:31 +0000 (21:18 -0000)]
Remove test 120 from the MIcrosoft build

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

22 years ago2002-05-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 15 May 2002 21:18:04 +0000 (21:18 -0000)]
2002-05-15  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs: Remove the hack to handle the CharSet property on
StructLayouts.

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

22 years agoops, unsaved entry
Radek Doulik [Wed, 15 May 2002 17:24:15 +0000 (17:24 -0000)]
ops, unsaved entry

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

22 years ago2002-05-15 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 15 May 2002 16:01:51 +0000 (16:01 -0000)]
2002-05-15  Tim Coleman <tim@timcoleman.com>
        * System.Data/DataRow.cs:
                Minor tweaks as I determine exactly how to
                implement this class.

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

22 years agoadded note about running mcs
Radek Doulik [Wed, 15 May 2002 14:23:37 +0000 (14:23 -0000)]
added note about running mcs

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

22 years ago2002-05-15 Radek Doulik <rodo@ximian.com>
Radek Doulik [Wed, 15 May 2002 14:22:06 +0000 (14:22 -0000)]
2002-05-15  Radek Doulik  <rodo@ximian.com>

* reflection.c: fixed endianess at many places

* icall.c (ves_icall_InitializeArray): comment out debug msg

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

22 years ago2002-05-15 Radek Doulik <rodo@ximian.com>
Radek Doulik [Wed, 15 May 2002 14:19:57 +0000 (14:19 -0000)]
2002-05-15  Radek Doulik  <rodo@ximian.com>

* interp.c (ves_runtime_method): moved stackval_from_data call
inside #else branch, consulted on irc with lupus

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

22 years agofixed delegates return values
Radek Doulik [Wed, 15 May 2002 14:19:24 +0000 (14:19 -0000)]
fixed delegates return values

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

22 years agoTidied up copyrights.
Dan Lewis [Wed, 15 May 2002 13:31:49 +0000 (13:31 -0000)]
Tidied up copyrights.

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

22 years agoadded original copyright notice
Dietmar Maurer [Wed, 15 May 2002 13:17:11 +0000 (13:17 -0000)]
added original copyright notice

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

22 years ago(mono_runtime_delegate_invoke): impl.
Dietmar Maurer [Wed, 15 May 2002 12:58:41 +0000 (12:58 -0000)]
(mono_runtime_delegate_invoke): impl.

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

22 years agoremoved exception9.cs because that test have to fail
Dietmar Maurer [Wed, 15 May 2002 12:30:39 +0000 (12:30 -0000)]
removed exception9.cs because that test have to fail

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

22 years ago2002-05-15 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 15 May 2002 12:23:20 +0000 (12:23 -0000)]
2002-05-15  Dietmar Maurer  <dietmar@ximian.com>

* object.c (mono_unhandled_exception): new function to handle
unhandled exceptions.
(mono_unhandled_exception): call the UnhandledException event.

i * interp.c (ves_exec_method): use new mono_unhandled_exception()

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

22 years agoanother test
Dietmar Maurer [Wed, 15 May 2002 11:11:17 +0000 (11:11 -0000)]
another test

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

22 years ago2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 May 2002 11:07:06 +0000 (11:07 -0000)]
2002-05-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ValidationPropertyAttribute.cs: a couple of fixes to make it compile.

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

22 years ago2002-05-15 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 15 May 2002 10:21:31 +0000 (10:21 -0000)]
2002-05-15  Dietmar Maurer  <dietmar@ximian.com>

* delegate.c: simplified the
code using new runtime_invoke feature.

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

22 years agoWed May 15 16:02:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 May 2002 10:16:21 +0000 (10:16 -0000)]
Wed May 15 16:02:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* main.c: output field RVA data.

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

22 years agoWed May 15 15:59:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 May 2002 10:14:56 +0000 (10:14 -0000)]
Wed May 15 15:59:55 CEST 2002 Paolo Molaro <lupus@ximian.com>

* metadata.h, metadata.c, class.c: mono_metadata_field_info ()
returns the RVA, not the direct pointer to the data. Handle the case
when the class size is fixed.

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

22 years ago2002-05-15 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 15 May 2002 09:53:28 +0000 (09:53 -0000)]
2002-05-15  Dick Porter  <dick@ximian.com>

* wait.c: Fix a deadlock in WaitForMultipleObjects

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

22 years agobetter comment
Dietmar Maurer [Wed, 15 May 2002 08:50:38 +0000 (08:50 -0000)]
better comment

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

22 years ago2002-05-15 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 15 May 2002 08:25:15 +0000 (08:25 -0000)]
2002-05-15  Dietmar Maurer  <dietmar@ximian.com>

* delegate.c (arch_end_invoke): fix bug #24653

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

22 years agoAdding references to Delta-Forth to the language page.
Duncan Mak [Wed, 15 May 2002 07:25:31 +0000 (07:25 -0000)]
Adding references to Delta-Forth to the language page.

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

22 years agoanother test
Dietmar Maurer [Wed, 15 May 2002 07:00:07 +0000 (07:00 -0000)]
another test

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

22 years ago(mono_thread_start_cb): set end_of_stack
Dietmar Maurer [Wed, 15 May 2002 06:58:13 +0000 (06:58 -0000)]
(mono_thread_start_cb): set end_of_stack

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

22 years agoWed May 15 12:22:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 May 2002 06:37:02 +0000 (06:37 -0000)]
Wed May 15 12:22:09 CEST 2002 Paolo Molaro <lupus@ximian.com>

* configure.in: search for pthread functions also in libc_r (patch
from Garrett Rooney <rooneg@electricjellyfish.net>).

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

22 years ago2002-05-15 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 15 May 2002 06:16:23 +0000 (06:16 -0000)]
2002-05-15  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_flow): try blocks are followed by handler
blocks, so we need to add all handler blocks as succesors.

* exception.c (arch_handle_exception): correctly save/restore caller
saved regs.

* emit-x86.c (arch_emit_prologue): correctly save/restore caller
saved regs.

* jit.c (mono_cfg_new): allocate space for caller saved registers.

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

22 years ago2002-05-14 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 14 May 2002 20:52:02 +0000 (20:52 -0000)]
2002-05-14  Duncan Mak  <duncan@ximian.com>

* ValidationPropertyAttribute.cs: Added to CVS.

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

22 years agoadded --noptr option
Radek Doulik [Tue, 14 May 2002 18:35:41 +0000 (18:35 -0000)]
added --noptr option

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

22 years ago2002-05-14 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 14 May 2002 18:16:59 +0000 (18:16 -0000)]
2002-05-14  Duncan Mak  <duncan@ximian.com>

* System.Data/DataTable.cs (NewRow): Added missing paren to fix build.

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

22 years agoAdd README file
Miguel de Icaza [Tue, 14 May 2002 18:03:48 +0000 (18:03 -0000)]
Add README file

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

22 years agoAdd System.Runtime.Serialization.Formatters.Soap from Jesus
Miguel de Icaza [Tue, 14 May 2002 18:02:26 +0000 (18:02 -0000)]
Add System.Runtime.Serialization.Formatters.Soap from Jesus

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

22 years ago2002-05-14 Tim Coleman
Tim Coleman [Tue, 14 May 2002 17:45:13 +0000 (17:45 -0000)]
2002-05-14  Tim Coleman
        * System.Data/DataRow.cs:
        * System.Data/DataRowBuilder.cs:
        * System.Data/DataTable.cs:
                More implementation of these classes.  DataRow
                can now (possibly) do some useful things.
                Still not sure what DataRowBuilder is all about,
                other than passing a DataTable in.

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

22 years agorecognize NULL when --noptr
Radek Doulik [Tue, 14 May 2002 16:14:09 +0000 (16:14 -0000)]
recognize NULL when --noptr

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

22 years agoadded --noptr to help
Radek Doulik [Tue, 14 May 2002 16:03:31 +0000 (16:03 -0000)]
added --noptr to help

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

22 years agoadd braces
Radek Doulik [Tue, 14 May 2002 15:53:51 +0000 (15:53 -0000)]
add braces

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

22 years ago2002-05-14 Radek Doulik <rodo@ximian.com>
Radek Doulik [Tue, 14 May 2002 15:51:15 +0000 (15:51 -0000)]
2002-05-14  Radek Doulik  <rodo@ximian.com>

* interp.c: introduced new --noptr option to suppres pointer
address printing. I find this useful for comparing trace outputs
while porting to ppc

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

22 years ago2002-05-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 14 May 2002 15:45:52 +0000 (15:45 -0000)]
2002-05-14  Miguel de Icaza  <miguel@ximian.com>

* Double.cs: Oops.  Also handle exponents without finding a dot.

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

22 years agoTue May 14 16:59:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 May 2002 14:07:47 +0000 (14:07 -0000)]
Tue May 14 16:59:44 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: fix some endianess issues.

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

22 years ago2002-05-14 Tim Coleman
Tim Coleman [Tue, 14 May 2002 12:08:55 +0000 (12:08 -0000)]
2002-05-14  Tim Coleman
        * System.Data/DataRowBuilder.cs:
                Add stubb for this internal class.

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

22 years ago2002-05-15 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 14 May 2002 11:49:25 +0000 (11:49 -0000)]
2002-05-15  Nick Drochak  <ndrochak@gol.com>

* StreamReaderTest.cs:
* StreamWriterTest.cs:
Make sure invalid file name has invalid characters in it.  These are
platform dependant.

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

22 years ago2002-05-15 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 14 May 2002 11:46:20 +0000 (11:46 -0000)]
2002-05-15  Nick Drochak  <ndrochak@gol.com>

* Path.cs (GetDirectoryName): Return String.Empty if there is no
directory

* StreamReader.cs: Add some parameter checking on file names.

* StreamWriter.cs: Add some parameter checking on file names.

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

22 years agoTue May 14 17:13:48 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 May 2002 11:27:15 +0000 (11:27 -0000)]
Tue May 14 17:13:48 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MethodBuilder.cs: revert change in accessibility of
GetILGenerator(int).

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

22 years agoTue May 14 16:37:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 May 2002 11:08:13 +0000 (11:08 -0000)]
Tue May 14 16:37:55 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: some finally handling fixes and compilation fixes for
changes in the runtime lib.

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

22 years agoTue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 May 2002 10:48:17 +0000 (10:48 -0000)]
Tue May 14 16:35:13 CEST 2002 Paolo Molaro <lupus@ximian.com>

* CharSet.cs: added missing None enum item.

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

22 years ago2002-05-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 14 May 2002 10:40:23 +0000 (10:40 -0000)]
2002-05-14 Nick Drochak  <ndrochak@gol.com>

* File.cs: Add parameter checks to most methods. Not completely done,
but all current unit tests pass.

* Path.cs: Implement GetTempFileName().

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

22 years ago2002-05-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 14 May 2002 10:32:13 +0000 (10:32 -0000)]
2002-05-14  Nick Drochak  <ndrochak@gol.com>

* StringTest.cs: A couple more tests

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

22 years ago2002-05-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 14 May 2002 10:31:33 +0000 (10:31 -0000)]
2002-05-14  Nick Drochak  <ndrochak@gol.com>

* FileTest.cs: Delete temporary files after each test method; Catch
unexpected exceptions and report them; Make some Assert messages
unique; Make sure temp files exist before trying Move and Delete, etc.

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

22 years ago2002-05-14 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 14 May 2002 10:08:21 +0000 (10:08 -0000)]
2002-05-14  Dietmar Maurer  <dietmar@ximian.com>

* object.c (mono_runtime_invoke): is now able to catch exceptions.

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

22 years agoTue May 14 13:31:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 May 2002 07:51:38 +0000 (07:51 -0000)]
Tue May 14 13:31:17 CEST 2002 Paolo Molaro <lupus@ximian.com>

* FieldBuilder.cs, ParameterBuilder.cs: more special-casing of
attributes.

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

22 years ago2002-05-14 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 14 May 2002 07:05:12 +0000 (07:05 -0000)]
2002-05-14  Dietmar Maurer  <dietmar@ximian.com>

* jit.c: only use one TLS slot to store jit data

* exception.c (arch_handle_exception): print function signature,
use thread relative end_of_stack

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

22 years ago2002-05-14 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Tue, 14 May 2002 06:25:42 +0000 (06:25 -0000)]
2002-05-14  Dan Lewis  <dihlewis@yahoo.co.uk>

* icall.c: make GetHashCode return non-negative values.

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

22 years ago2002-05-14 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Tue, 14 May 2002 05:55:25 +0000 (05:55 -0000)]
2002-05-14  Dan Lewis  <dihlewis@yahoo.co.uk>

* object.c, icall.c, gc.c: revert to address-based hashcode.

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

22 years agoRemove the false
Miguel de Icaza [Tue, 14 May 2002 03:41:55 +0000 (03:41 -0000)]
Remove the false

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

22 years ago2002-05-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 14 May 2002 03:38:49 +0000 (03:38 -0000)]
2002-05-14  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (DoResolve): More uglyness, we now only try to
resolve the attribute partially, to extract the CharSet
information (only if we are a StructLayout attribute).  Otherwise

(GetExtraTypeInfo): Add some code to conditionally kill in the
future this.   I am more and more convinced that the .NET
framework has special code to handle the attribute setting on
certain elements.

* expression.cs (IsParamsMethodApplicable): Revert my previous
foreach change here, it was wrong.

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

22 years agoAdd FreeBSD strtod
Miguel de Icaza [Mon, 13 May 2002 22:43:03 +0000 (22:43 -0000)]
Add FreeBSD strtod

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

22 years agoAdd another float test
Miguel de Icaza [Mon, 13 May 2002 22:34:51 +0000 (22:34 -0000)]
Add another float test

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

22 years ago2002-05-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 May 2002 22:33:37 +0000 (22:33 -0000)]
2002-05-13  Miguel de Icaza  <miguel@ximian.com>

* Double.cs (Parse): Reimplement by cleaning up the string first,
and then passing to strtof in the mono runtime.

* Single.cs (Parse): Use the Double implementation and cast to
float.

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

22 years ago2002-05-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 May 2002 22:32:46 +0000 (22:32 -0000)]
2002-05-13  Miguel de Icaza  <miguel@ximian.com>

* icall.c (mono_double_ParseImpl): Added ParseImpl method.

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

22 years ago2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 May 2002 22:13:58 +0000 (22:13 -0000)]
2002-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ChangeLog: removed empty entry at the top of the file.

* Int32.cs: made static functions used by Parse internal.

* Int64.cs:
* UInt32.cs:
* UInt64.cs: removed static fucntions used by Parse and use the ones
in Int32.cs

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

22 years ago * Dnstest.cs: added test for asynchronous methods
Lawrence Pit [Mon, 13 May 2002 20:04:19 +0000 (20:04 -0000)]
* Dnstest.cs: added test for asynchronous methods

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

22 years ago * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
Lawrence Pit [Mon, 13 May 2002 19:59:05 +0000 (19:59 -0000)]
* Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
relying on standard asynchronous delegate features. Added checks for
null strings.
* HttpWebResponse.cs: implemented properties
* FileWebResponse.cs: improved the way resources are disposed.
* FileWebRequest.cs: started implementation of asynchronous methods
* ServicePointManager.cs: implemented properties

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

22 years ago2002-05-14 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 13 May 2002 19:30:47 +0000 (19:30 -0000)]
2002-05-14  Dick Porter  <dick@ximian.com>

* io.c: Fix a cut&paste error, found by
Jaroslaw Kowalski <jarek@atm.com.pl>

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

22 years ago*** empty log message ***
Mike Gray [Mon, 13 May 2002 19:07:52 +0000 (19:07 -0000)]
*** empty log message ***

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

22 years ago2002-05-13 Radek Doulik <rodo@ximian.com>
Radek Doulik [Mon, 13 May 2002 19:00:42 +0000 (19:00 -0000)]
2002-05-13  Radek Doulik  <rodo@ximian.com>

* ppc/tramp.c (emit_save_parameters): fix I8 parameters

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

22 years agointroduced DEBUG, disabled by default
Radek Doulik [Mon, 13 May 2002 17:24:04 +0000 (17:24 -0000)]
introduced DEBUG, disabled by default

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

22 years ago2002-05-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 May 2002 17:17:46 +0000 (17:17 -0000)]
2002-05-13  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: (pp_primary): Eat the ')' at the end.
(pp_expr): do not abort on unknown input, just return.
(eval): abort if there are pending chars.

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

22 years agoImprove test
Miguel de Icaza [Mon, 13 May 2002 17:17:20 +0000 (17:17 -0000)]
Improve test

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

22 years ago2002-05-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 May 2002 17:07:39 +0000 (17:07 -0000)]
2002-05-13  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (Attribute.Resolve): Positional parameters are
optional.  Deal with that case.

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

22 years ago2002-05-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 May 2002 16:54:57 +0000 (16:54 -0000)]
2002-05-13  Miguel de Icaza  <miguel@ximian.com>

* class.cs (DefineType): Call Attribute.GetExtraTypeInfo to fetch
the Ansi/Unicode/Auto information for the type.

(TypeContainer.DefineType): instantiate the EmitContext here, as
we will be using it during the type definition (to resolve
attributes) and during the emit phase.

* attribute.cs (Attribute.GetExtraTypeInfo): This routine is used
to pull type information out of the attributes

(Attribute.Resolve): track the constructor builder, and allow for
multiple invocations (structs and classes will use this).

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

22 years agoAdd new tests
Miguel de Icaza [Mon, 13 May 2002 16:53:57 +0000 (16:53 -0000)]
Add new tests

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

22 years ago2002-05-13 Tim Coleman
Tim Coleman [Mon, 13 May 2002 15:00:09 +0000 (15:00 -0000)]
2002-05-13  Tim Coleman
        * System.Data.Common/DbDataAdapter.cs:
                The maxRecords check was not correct.

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

22 years agoDocumented MONO_PATH (partially from Magnus Runesson <mr-mono@linuxalert.org>).
Paolo Molaro [Mon, 13 May 2002 14:53:18 +0000 (14:53 -0000)]
Documented MONO_PATH (partially from Magnus Runesson <mr-mono@linuxalert.org>).

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

22 years ago2002-05-13 Tim Coleman
Tim Coleman [Mon, 13 May 2002 14:30:06 +0000 (14:30 -0000)]
2002-05-13  Tim Coleman
        * System.Data/DataTableCollection.cs:
                Fix an issue when adding a DataTable and size == 0.
                Now explicitly checks if size > 0 before doing Array.Copy ()
        * System.Data.Common/DbDataAdapter.cs:
                Move closer to a working implementation.
                Make the IDbCommand fields protected so that they can
                be inherited.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                This should inherit the IDbCommands instead of having its
                own.  An explicit cast is used to force conversion between
                IDbCommand and SqlCommand

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

22 years ago2002-05-13 Tim Coleman
Tim Coleman [Mon, 13 May 2002 12:27:32 +0000 (12:27 -0000)]
2002-05-13  Tim Coleman
        * System.Data.Common/DataTableMappingCollection.cs:
                Some implementation to allow progress with DbDataAdapter

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

22 years agoMon May 13 16:40:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 May 2002 10:53:32 +0000 (10:53 -0000)]
Mon May 13 16:40:30 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c, class.c: special case <Module>.

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

22 years ago2002-05-13 Tim Coleman
Tim Coleman [Mon, 13 May 2002 10:46:38 +0000 (10:46 -0000)]
2002-05-13  Tim Coleman
        * System.Data.Common/DbDataAdapter.cs:
                Modify to not break compile.

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

22 years ago2002-05-13 Tim Coleman
Tim Coleman [Mon, 13 May 2002 10:35:21 +0000 (10:35 -0000)]
2002-05-13  Tim Coleman
        * System.Data.build:
                include SqlDataAdapter, SqlRowUpdatedEventArgs,
                SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
                SqlRowUpdatingEventHandler in the build.

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

22 years ago2002-05-13 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 13 May 2002 09:24:39 +0000 (09:24 -0000)]
2002-05-13  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): we need to generate a temporary var for
SHL/SHR because the tree allocator can fail otherwise

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

22 years agodisable OPT_BOOL
Dietmar Maurer [Mon, 13 May 2002 08:32:06 +0000 (08:32 -0000)]
disable OPT_BOOL

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

22 years ago2002-05-13 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 13 May 2002 05:38:17 +0000 (05:38 -0000)]
2002-05-13  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (OPT_BOOL): new. opt. for boolean variables - we simply
store them as 32 bit integers.

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

22 years ago2002-05-13 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Mon, 13 May 2002 04:12:55 +0000 (04:12 -0000)]
2002-05-13  Dan Lewis  <dihlewis@yahoo.co.uk>

* icall.c: fix bug in GetNow().

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

22 years ago2002-05-13 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 13 May 2002 03:58:36 +0000 (03:58 -0000)]
2002-05-13  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (arch_handle_exception): EIP now points to the call
instruction, not to the instruction after the call. This fixes the
bug reported by Linus Upson (tests/exception8.cs)

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

22 years ago2002-05-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 May 2002 02:38:02 +0000 (02:38 -0000)]
2002-05-13  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (MemberLookupFinal): new version with all the
parameters customizable.

* expression.cs (New.DoResolve): Use MemberLookupFinal to locate
constructors.  Return if the result value is null (as the error
would have been flagged already by MemberLookupFinal)

Do not allow instances of abstract classes or interfaces to be
created.

(Method.Emit): If the method is marked abstract and has a body,
emit an error.

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

22 years ago2002-05-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 May 2002 02:16:40 +0000 (02:16 -0000)]
2002-05-13  Miguel de Icaza  <miguel@ximian.com>

* class.cs: (MethodSignature.InheritableMemberSignatureCompare):
We have to compare the assembly property here when dealing with
FamANDAssem and Assembly access modifiers, because we might be
creating an assembly from *modules* (that means that we are not
getting TypeBuilders for types defined in other modules that are
part of this assembly).

(TypeContainer.DefineMembers): If both the defined member and the
parent name match are methods, then do not emit any warnings: let
the Method.Define routine take care of flagging warnings.  But if
there is a mismatch (method overrides something else, or method is
overriwritten by something, then emit warning).

(MethodSignature.MemberSignatureCompare): If the sig.ret_type is
set to null, this means `do not check for the return type on the
signature'.

(Method.Define): set the return type for the method signature to
null, so that we get methods with the same name and parameters and
different return types.  This is used to flag warning 114 (you are
hiding a method, and you probably want to use the new/override
keywords instead).

* typemanager.cs (MemberLookup): Implemented proper access
control, closing a long standing set of bug reports.  The problem
was that the Framework only has two bits: Public and NonPublic,
and NonPublic includes private and protected methods, but we need
to enforce the FamANDAssem, FamOrAssem and Family.

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

22 years ago2002-05-13 Tim Coleman
Tim Coleman [Mon, 13 May 2002 01:49:15 +0000 (01:49 -0000)]
2002-05-13  Tim Coleman
        * System.Data.Common/DbDataAdapter.cs:
                More implementation.
        * System.Data.Common/DataAdapter.cs:
                Correction of some of the stubbing, as well as a
                little bit more implementation

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

22 years agoMore
Miguel de Icaza [Mon, 13 May 2002 00:20:41 +0000 (00:20 -0000)]
More

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

22 years agoSmall fixes, remove Gtk implicit reference
Miguel de Icaza [Mon, 13 May 2002 00:19:32 +0000 (00:19 -0000)]
Small fixes, remove Gtk implicit reference

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

22 years ago*** empty log message ***
Mike Gray [Sun, 12 May 2002 19:32:34 +0000 (19:32 -0000)]
*** empty log message ***

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

22 years agoAdded Microsoft.VisualBasic
Chris J. Breisch [Sun, 12 May 2002 17:38:21 +0000 (17:38 -0000)]
Added Microsoft.VisualBasic

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

22 years agoShould build Microsoft.VisualBasic and Test properly now.
Chris J. Breisch [Sun, 12 May 2002 17:24:07 +0000 (17:24 -0000)]
Should build Microsoft.VisualBasic and Test properly now.

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

22 years agoTest case suite for Collection class
Chris J. Breisch [Sun, 12 May 2002 17:22:38 +0000 (17:22 -0000)]
Test case suite for Collection class

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

22 years agoShouldn't have been in this directory.
Chris J. Breisch [Sun, 12 May 2002 17:20:54 +0000 (17:20 -0000)]
Shouldn't have been in this directory.

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

22 years agoChanged to conform to Mono standards for incomplete functionality.
Chris J. Breisch [Sun, 12 May 2002 17:18:57 +0000 (17:18 -0000)]
Changed to conform to Mono standards for incomplete functionality.

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

22 years agoFixed to conform to Mono standards for incomplete functionality.
Chris J. Breisch [Sun, 12 May 2002 17:16:37 +0000 (17:16 -0000)]
Fixed to conform to Mono standards for incomplete functionality.

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

22 years agoRemoved erroneous StructLayoutKindAttribute
Chris J. Breisch [Sun, 12 May 2002 17:15:42 +0000 (17:15 -0000)]
Removed erroneous StructLayoutKindAttribute

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

22 years agoRemoved erroneous StructLayoutKindAttribute.
Chris J. Breisch [Sun, 12 May 2002 17:11:03 +0000 (17:11 -0000)]
Removed erroneous StructLayoutKindAttribute.

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