mono.git
22 years agoindentation fix
Duncan Mak [Fri, 18 Jan 2002 00:17:59 +0000 (00:17 -0000)]
indentation fix

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

22 years ago2002-1-17 Duncan Mak <duncan@duncan@ximian.com>
Duncan Mak [Fri, 18 Jan 2002 00:17:08 +0000 (00:17 -0000)]
2002-1-17  Duncan Mak  <duncan@duncan@ximian.com>

       * *.cs: convert to Miguel's brace style.

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

22 years agoThis file tracks the bugs in the compiler with regard to the bugs in
Miguel de Icaza [Fri, 18 Jan 2002 00:11:32 +0000 (00:11 -0000)]
This file tracks the bugs in the compiler with regard to the bugs in
this `errors' directory.

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

22 years ago2002-1-17 Duncan Mak <duncan@192.168.10-120.masq>
Duncan Mak [Thu, 17 Jan 2002 22:56:28 +0000 (22:56 -0000)]
2002-1-17  Duncan Mak  <duncan@192.168.10-120.masq>

   * ResourceSet.cs: Implemented GetObject (string, bool) and GetString
     (string, bool). ResourceSet has no more MonoTODOs! Also added in the
     Serializable attribute.

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

22 years agoFix
Miguel de Icaza [Thu, 17 Jan 2002 21:15:47 +0000 (21:15 -0000)]
Fix

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

22 years agoSmall fixes to report 117
Miguel de Icaza [Thu, 17 Jan 2002 21:15:03 +0000 (21:15 -0000)]
Small fixes to report 117

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

22 years agoAdd missing file
Miguel de Icaza [Thu, 17 Jan 2002 19:55:07 +0000 (19:55 -0000)]
Add missing file

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

22 years agoImprove error reporting
Miguel de Icaza [Thu, 17 Jan 2002 19:54:27 +0000 (19:54 -0000)]
Improve error reporting

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

22 years ago2002-01-17 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 17 Jan 2002 18:51:34 +0000 (18:51 -0000)]
2002-01-17  Duncan Mak  <duncan@ximian.com>

    * ResourceManager.cs: Fixed GetNeutralResourcesLanguage () and added
      new attributes documented in 1.0 SDK.

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

22 years agoMostly changes to get System.dll compiling again. Removes a bunch
Miguel de Icaza [Thu, 17 Jan 2002 18:51:01 +0000 (18:51 -0000)]
Mostly changes to get System.dll compiling again.  Removes a bunch
of excludes, and now we actually build things.

2002-01-17  Miguel de Icaza  <miguel@ximian.com>

* Win32Exception.cs: Add.

2002-01-17  Miguel de Icaza  <miguel@ximian.com>

* TraceListenerCollection.cs: Remove Warnings.

2002-01-17  Miguel de Icaza  <miguel@ximian.com>

* Dns.cs: Updated to API changes.

* IPAddress.cs: Updated API.  Much left to implement.

* Dns.cs: Remove IPToString method

2002-01-17  Miguel de Icaza  <miguel@ximian.com>

* SocketException.cs: Reimplemented.

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

22 years ago2002-01-17 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 17 Jan 2002 18:46:09 +0000 (18:46 -0000)]
2002-01-17  Duncan Mak  <duncan@ximian.com>

    * ResourceWriter.cs: Added MonoTODO decorations.

    * SatelliteContractVersionAttribute.cs: added new attributes in 1.0 SDK.

    * NeutralResoucesLanguageAttribute.cs: added new attributes in 1.0 SDK

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

22 years agooops
Miguel de Icaza [Thu, 17 Jan 2002 17:06:17 +0000 (17:06 -0000)]
oops

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

22 years agoAdd .cvsignore
Miguel de Icaza [Thu, 17 Jan 2002 17:03:29 +0000 (17:03 -0000)]
Add .cvsignore

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

22 years agoFlush
Miguel de Icaza [Thu, 17 Jan 2002 17:03:09 +0000 (17:03 -0000)]
Flush

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

22 years agoAdd documentatin from Nant
Miguel de Icaza [Thu, 17 Jan 2002 16:47:20 +0000 (16:47 -0000)]
Add documentatin from Nant

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

22 years agoIntegrate Nant sources into the mcs code base to simplify the build.
Miguel de Icaza [Thu, 17 Jan 2002 16:45:39 +0000 (16:45 -0000)]
Integrate Nant sources into the mcs code base to simplify the build.

Also, make Resources compile.

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

22 years agoFlush
Miguel de Icaza [Thu, 17 Jan 2002 14:10:45 +0000 (14:10 -0000)]
Flush

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

22 years ago2002-01-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 17 Jan 2002 10:08:43 +0000 (10:08 -0000)]
2002-01-17  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_type_stack_size): impl.

* class.c (mono_class_get_field): impl. memberref token

* jit.c (mono_analyze_stack): use LDIND_REF/STIND_REF

* jit.c (main): install the trampoline before we start to create
objects.

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

22 years ago2002-01-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 17 Jan 2002 02:22:50 +0000 (02:22 -0000)]
2002-01-17  Miguel de Icaza  <miguel@ximian.com>

* const.cs: Allow `unsafe'

* interface.cs: (PopulateMethod): Check for pointers being defined
only if the unsafe context is active.
(PopulateProperty): ditto.
(PopulateIndexer): ditto.

* class.cs (Method, Method.Define): Allow `unsafe' modifier to be
specified.  If pointers are present, make sure that they are
present in an unsafe context.
(Constructor, Constructor.Define): ditto.
(Field, Field.Define): ditto.
(Property, Property.Define): ditto.
(Event, Event.Define): ditto.

* decl.cs (MemberCore.UnsafeOK): New function to test that a
pointer is being declared in an unsafe context.

2002-01-16  Miguel de Icaza  <miguel@ximian.com>

* modifiers.cs (Modifiers.Check): Require a Location argument.
Report error 227 for Unsafe use.

* typemanager.cs: Remove IsPointerType, we should be using Type.IsPointer

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

22 years ago * Boolean.cs: implemented IConvertible interface
Andrei Zmievski [Thu, 17 Jan 2002 00:28:40 +0000 (00:28 -0000)]
* Boolean.cs: implemented IConvertible interface

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

22 years ago2002-01-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 16 Jan 2002 22:26:59 +0000 (22:26 -0000)]
2002-01-16  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (For.Emit): If the test is null, then report that
we do `return', as we wont reach anything afterwards.

(Switch.SwitchGoverningType): Track the expression that matched
the conversion.

* driver.cs: Allow negative numbers as an error code to flag.

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

22 years ago2002-01-16 Veronica De Santis <veron78@@interfree.it>
Veronica De Santis [Wed, 16 Jan 2002 21:08:04 +0000 (21:08 -0000)]
2002-01-16 Veronica De Santis <veron78@@interfree.it>

        * icall.h : Added the internal calls mapping for CreateMutex_internal
       and ReleaseMutex_internal.

* threads.h : Added the prototype of mutexes internal calls.

* threads.c : Added the implementations of mutexes internal calls.

* WaitHandle.cs : Renamed handle to os_handle and make it protected
                  instead of private.
        * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
                    and the ReleaseMutex)

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

22 years ago2002-01-16 Veronica De Santis <veron78@@interfree.it>
Veronica De Santis [Wed, 16 Jan 2002 21:08:04 +0000 (21:08 -0000)]
2002-01-16 Veronica De Santis <veron78@@interfree.it>

        * icall.h : Added the internal calls mapping for CreateMutex_internal
       and ReleaseMutex_internal.

* threads.h : Added the prototype of mutexes internal calls.

* threads.c : Added the implementations of mutexes internal calls.

* WaitHandle.cs : Renamed handle to os_handle and make it protected
                  instead of private.
        * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
                    and the ReleaseMutex)

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

22 years agoSmall fixes for Duncan
Miguel de Icaza [Wed, 16 Jan 2002 20:57:28 +0000 (20:57 -0000)]
Small fixes for Duncan

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

22 years agoFlush
Miguel de Icaza [Wed, 16 Jan 2002 20:15:56 +0000 (20:15 -0000)]
Flush

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

22 years ago2002-01-16 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 16 Jan 2002 20:11:32 +0000 (20:11 -0000)]
2002-01-16  Duncan Mak  <duncan@ximian.com>

      * ResourceManager.cs: Removed MonoTODO from GetNeutralResourcesLanguage (Assembly)
      because Miguel just implemented the whole class, including the constructor that
      I needed (CultureInfo (string)).

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

22 years ago2002-01-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 16 Jan 2002 20:08:35 +0000 (20:08 -0000)]
2002-01-16  Miguel de Icaza  <miguel@ximian.com>

* CultureInfo.cs: Completed the tables.   Now we need to actually
fill it in.

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

22 years ago2002-01-16 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 16 Jan 2002 19:18:45 +0000 (19:18 -0000)]
2002-01-16  Duncan Mak  <duncan@ximian.com>

    * ResourceManager.cs: After reading the tutorial from the SDK,
      finished all the ResourceManager constructors and removed those
      MonoTODO tags. Updated fields after reading the new docs from the
      final SDK.

    * ResXFileRef.cs, ResXResourceReader.cs: Removed. They are part of
      Windows.Forms and require System.Xml, which we don't have access to.

2002-01-13  Duncan Mak  <duncan@ximian.com>

    * ResourceManager.cs: Added more MonoTODOs and cleaned up some
      indenting.

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

22 years ago2002-01-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 16 Jan 2002 18:53:16 +0000 (18:53 -0000)]
2002-01-16  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Allow negative numbers as an error code to flag.

* cs-parser.jay: Handle 1551.

* namespace.cs: Add 1537 checking (repeated using alias namespaces).

2002-01-15  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Report 1518 (type declaration can only contain
class, struct, interface, enum or delegate)

(switch_label): Report 1523 (keywords `case' or `default' must
preced code)

(opt_switch_sections): Report 1522 (empty switch)

* driver.cs: Report 1515 (response file specified multiple times)
Report 1516 (Source file specified multiple times).

* expression.cs (Argument.Resolve): Signal 1510

(BaseAccess.Resolve, BaseIndexer.Resolve): Signal 1511 (base
access not allowed in static code)

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

22 years agoadd new bug
Miguel de Icaza [Wed, 16 Jan 2002 18:52:44 +0000 (18:52 -0000)]
add new bug

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

22 years ago2002-01-17 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Wed, 16 Jan 2002 17:13:32 +0000 (17:13 -0000)]
2002-01-17    Gaurav Vaish <gvaish@iitk.ac.in>

* Button.cs  -- Bug fix for CommandName { set; } , thanks to Alex.

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

22 years agoBuild new tool for linux target too.
Nick Drochak [Wed, 16 Jan 2002 12:18:14 +0000 (12:18 -0000)]
Build new tool for linux target too.

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

22 years ago2002-01-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 16 Jan 2002 12:16:07 +0000 (12:16 -0000)]
2002-01-17  Nick Drochak  <ndrochak@gol.com>

* IFaceDisco.cs, XMLUtil.cs: Added new files for interface discovery tool.
* makefile: added target for IFaceDisco.exe and added to clean target for same

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

22 years ago2002-01-16 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 16 Jan 2002 09:05:25 +0000 (09:05 -0000)]
2002-01-16  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (main): install the trampoline before we start to create
objects.

* x86.brg: impl. CLT_UN, CGT_UN

* emit-x86.c (leave_method): added check for null object
(enter_method): consider byref arguments

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

22 years ago2002-01-11 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 16 Jan 2002 02:30:46 +0000 (02:30 -0000)]
2002-01-11  Ravi Pratap  <ravi@ximian.com>

* typemanager.cs (IsPointerType): Utility method which we are going
to need a lot.

* ecore.cs (ImplicitReferenceConversion): A pointer type cannot be cast to
the object type, so we take care of that.

* expression.cs (FullMethodDesc): Also include the return type in descriptions.

* support.cs (ParameterDesc): Fix minor bug which was causing params tags to be
added to non-params parameters :-)

* typemanager.cs (CSharpName): Include 'void' type too.

(void_ptr_type): Include in the set of core types.

* ecore.cs (ConvertImplicit): Make use of ConvertImplicitStandard instead of
duplicating code.

(ConvertImplicitStandard): Handle standard implicit pointer conversions when we have
an unsafe context.

* cs-parser.jay (local_variable_pointer_type): Add support for 'void *' as I had
completely forgotten about it.

2002-01-10  Ravi Pratap  <ravi@ximian.com>

* cs-parser.jay (pointer_type): Add. This begins our implementation
of parsing rules for unsafe code.

(unsafe_statement): Implement.

(embedded_statement): Modify to include the above.

* statement.cs (Unsafe): Implement new class for unsafe blocks.

* codegen.cs (EmitContext.InUnsafe): Add. This determines
if the current context is an unsafe one.

* cs-parser.jay (local_variable_pointer_type): Since local variable types
are handled differently, we need separate rules for them.

(local_variable_declaration): Update to use local_variable_pointer_type
to allow variable declarations of unmanaged pointer types.

* expression.cs (Unary.ResolveOperator): Ensure that the '&' operator is used only
in unsafe contexts.

* ../errors/cs0214.cs : Add.

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

22 years agoAdd more errors that we handle now
Miguel de Icaza [Wed, 16 Jan 2002 01:38:39 +0000 (01:38 -0000)]
Add more errors that we handle now

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

22 years ago2002-01-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 16 Jan 2002 00:43:43 +0000 (00:43 -0000)]
2002-01-16  Nick Drochak  <ndrochak@gol.com>

* makefile: remove 'response' file when cleaning.

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

22 years ago2002-01-15 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 15 Jan 2002 18:35:28 +0000 (18:35 -0000)]
2002-01-15  Duncan Mak  <duncan@ximian.com>

    * CultureInfo.cs: Convert it to unix text.

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

22 years ago2002-01-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 15 Jan 2002 18:06:08 +0000 (18:06 -0000)]
2002-01-15  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Report 1524.

2002-01-14  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (RegisterMethod): drop checking if we have

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

22 years agoTue Jan 15 22:47:57 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Jan 2002 18:03:25 +0000 (18:03 -0000)]
Tue Jan 15 22:47:57 CET 2002 Paolo Molaro <lupus@ximian.com>

* metaparse.h: removed unused file.
* reflection.c, reflection.h: added stream_data_align () function
to align data in streams and keep stream aligned. Add support for
exception support in method headers.

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

22 years agoTue Jan 15 22:46:21 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Jan 2002 18:03:21 +0000 (18:03 -0000)]
Tue Jan 15 22:46:21 CET 2002 Paolo Molaro <lupus@ximian.com>

* ILGenerator.cs: implement some of the exception support methods.

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

22 years agoTue Jan 15 19:42:50 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Jan 2002 14:54:08 +0000 (14:54 -0000)]
Tue Jan 15 19:42:50 CET 2002 Paolo Molaro <lupus@ximian.com>

* unicode.c: make iconv_convert () return the number of bytess written
in the output buffer.

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

22 years ago2002-01-15 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 15 Jan 2002 13:28:41 +0000 (13:28 -0000)]
2002-01-15  Dick Porter  <dick@ximian.com>

* WaitHandle.cs:
* Thread.cs: Make the runtime's idea of infinite timeouts coincide
with the class library's

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

22 years ago2002-01-15 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 15 Jan 2002 13:26:57 +0000 (13:26 -0000)]
2002-01-15  Dick Porter  <dick@ximian.com>

* threads.c: Make the runtime's idea of infinite timeouts coincide
with the class library's

Fix a particularly egregious bug in mono_thread_cleanup(). That
code was so utterly bogus it must have been written on a Monday.

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

22 years ago2002-01-15 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 15 Jan 2002 11:17:54 +0000 (11:17 -0000)]
2002-01-15  Nick Drochak  <ndrochak@gol.com>

* ResolveEventArgs.cs: class should derive from EventArgs.

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

22 years agoAdded initial build file, which is most likely broken.
John Barnette [Tue, 15 Jan 2002 00:15:55 +0000 (00:15 -0000)]
Added initial build file, which is most likely broken.

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

22 years agoBroke status XML generation into a functional class and a driver.
John Barnette [Tue, 15 Jan 2002 00:04:19 +0000 (00:04 -0000)]
Broke status XML generation into a functional class and a driver.

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

22 years agoUseless enum removed.
John Barnette [Tue, 15 Jan 2002 00:00:55 +0000 (00:00 -0000)]
Useless enum removed.

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

22 years agoRemoved useless enum.
John Barnette [Mon, 14 Jan 2002 23:59:55 +0000 (23:59 -0000)]
Removed useless enum.

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

22 years agoBack out my change
Miguel de Icaza [Mon, 14 Jan 2002 18:57:56 +0000 (18:57 -0000)]
Back out my change

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

22 years agoFlush csproj
Miguel de Icaza [Mon, 14 Jan 2002 14:45:38 +0000 (14:45 -0000)]
Flush csproj

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

22 years agofix build
Miguel de Icaza [Mon, 14 Jan 2002 14:40:29 +0000 (14:40 -0000)]
fix build

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

22 years ago2002-01-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 14 Jan 2002 13:58:48 +0000 (13:58 -0000)]
2002-01-14  Miguel de Icaza  <miguel@ximian.com>

* String.cs (System): Use DefaultMemberName for the String class.

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

22 years agoMake each test return a different error code.
Paolo Molaro [Mon, 14 Jan 2002 12:24:34 +0000 (12:24 -0000)]
Make each test return a different error code.

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

22 years agoMon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 14 Jan 2002 12:19:11 +0000 (12:19 -0000)]
Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>

* dump.c: more info in method table dump.

Mon Jan 14 17:01:03 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.h: add subtypes field to TypeBuilder.
* reflection.c: encode constants for literal fields.
Handle subtypes. Fix user string token (and add a zero byte)
at the end.

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

22 years agoMon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 14 Jan 2002 12:19:11 +0000 (12:19 -0000)]
Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>

* String.cs: use IndexerName in index char accessor.

Mon Jan 14 17:07:32 CET 2002 Paolo Molaro <lupus@ximian.com>

* ModulerBuilder.cs: search also for subtypes in GetTypes().
* TypeBuilder.cs: bugfix in FullName. Implemented DefineNestedType().

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

22 years ago* x86.brg (EMIT_COND_EXCEPTION): added signed flag, impl. more _OVF opcodes
Dietmar Maurer [Mon, 14 Jan 2002 11:33:27 +0000 (11:33 -0000)]
* x86.brg (EMIT_COND_EXCEPTION): added signed flag, impl. more _OVF opcodes

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

22 years ago* mono/tests/exception6.cs: added tests for SUB_OVF, SUB_OVF_UN
Dietmar Maurer [Mon, 14 Jan 2002 10:06:05 +0000 (10:06 -0000)]
* mono/tests/exception6.cs: added tests for SUB_OVF, SUB_OVF_UN
* x86.brg: impl. ADD_OVF_UN, SUB_OVF, SUB_OVF_UN

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

22 years agoadded exception6.cs
Dietmar Maurer [Mon, 14 Jan 2002 09:11:45 +0000 (09:11 -0000)]
added exception6.cs

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

22 years ago2002-01-14 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 14 Jan 2002 09:10:09 +0000 (09:10 -0000)]
2002-01-14  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: bug fix in CONV_OVF_I1_UN
impl. ADD_OVF, MUL_OVF

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

22 years ago2002-01-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 14 Jan 2002 08:32:43 +0000 (08:32 -0000)]
2002-01-14  Nick Drochak  <ndrochak@gol.com>

* class.xml: Added classes I implemented.

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

22 years ago2002-01-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 14 Jan 2002 08:29:09 +0000 (08:29 -0000)]
2002-01-14  Nick Drochak  <ndrochak@gol.com>

* FileIOPermission.cs: New file.  Implemented.

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

22 years ago2002-01-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 14 Jan 2002 08:27:34 +0000 (08:27 -0000)]
2002-01-14  Nick Drochak  <ndrochak@gol.com>

* FileIOPermissionTest.cs: New File.
* AllTests.cs: New File.

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

22 years ago2002-01-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 14 Jan 2002 08:26:19 +0000 (08:26 -0000)]
2002-01-14  Nick Drochak  <ndrochak@gol.com>

* AllTests.cs: Add System.Security.Permissions.AllTests.Suite

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

22 years agoMon Jan 14 11:50:16 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 14 Jan 2002 07:00:24 +0000 (07:00 -0000)]
Mon Jan 14 11:50:16 CET 2002 Paolo Molaro <lupus@ximian.com>

* x86/x86-codegen.c: added overflow condition code and some aliases
for the other ccs.

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

22 years ago2002-01-14 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 14 Jan 2002 05:48:45 +0000 (05:48 -0000)]
2002-01-14  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_init): bug fix: assign slot numbers for
abstract methods.

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

22 years agoRevert last patch
Ravi Pratap M [Sun, 13 Jan 2002 01:22:48 +0000 (01:22 -0000)]
Revert last patch

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

22 years ago2002-01-11 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 13 Jan 2002 01:19:10 +0000 (01:19 -0000)]
2002-01-11  Ravi Pratap  <ravi@ximian.com>

* typemanager.cs (IsPointerType): Utility method which we are going
to need a lot.

* ecore.cs (ImplicitReferenceConversion): A pointer type cannot be cast to
the object type, so we take care of that.

* expression.cs (FullMethodDesc): Also include the return type in descriptions.

* support.cs (ParameterDesc): Fix minor bug which was causing params tags to be
added to non-params parameters :-)

* typemanager.cs (CSharpName): Include 'void' type too.

(void_ptr_type): Include in the set of core types.

* ecore.cs (ConvertImplicit): Make use of ConvertImplicitStandard instead of
duplicating code.

(ConvertImplicitStandard): Handle standard implicit pointer conversions when we have
an unsafe context.

* cs-parser.jay (local_variable_pointer_type): Add support for 'void *' as I had
completely forgotten about it.

2002-01-10  Ravi Pratap  <ravi@ximian.com>

* cs-parser.jay (pointer_type): Add. This begins our implementation
of parsing rules for unsafe code.

(unsafe_statement): Implement.

(embedded_statement): Modify to include the above.

* statement.cs (Unsafe): Implement new class for unsafe blocks.

* codegen.cs (EmitContext.InUnsafe): Add. This determines
if the current context is an unsafe one.

* cs-parser.jay (local_variable_pointer_type): Since local variable types
are handled differently, we need separate rules for them.

(local_variable_declaration): Update to use local_variable_pointer_type
to allow variable declarations of unmanaged pointer types.

* expression.cs (Unary.ResolveOperator): Ensure that the '&' operator is used only
in unsafe contexts.

* ../errors/cs0214.cs : Add.

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

22 years ago2002-01-13 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 13 Jan 2002 01:16:51 +0000 (01:16 -0000)]
2002-01-13  Ravi Pratap  <ravi@ximian.com>

* test-58.cs : Since it was a duplicate, replace with unsafe
code testing.

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

22 years agoAdd error
Miguel de Icaza [Sun, 13 Jan 2002 00:35:59 +0000 (00:35 -0000)]
Add error

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

22 years ago2002-01-12 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 12 Jan 2002 14:40:31 +0000 (14:40 -0000)]
2002-01-12  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Method.EmitDestructor): Implement calling our base
destructor.

* statement.cs (Try.Emit): Fix to reset the InFinally to the old
value of InFinally.

* codegen.cs (EmitContext.EmitTopBlock): Destructors will call
this routine and will wrap the call in a try/catch block.  Deal
with the case.

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

22 years agoRenamed TESTS var so make distcheck works with the new automake.
Paolo Molaro [Sat, 12 Jan 2002 11:05:29 +0000 (11:05 -0000)]
Renamed TESTS var so make distcheck works with the new automake.

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

22 years ago2002-01-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 11 Jan 2002 18:57:07 +0000 (18:57 -0000)]
2002-01-11  Miguel de Icaza  <miguel@ximian.com>

(FieldExpr): Added partial support for volatile fields.  This does
not work for volatile fields exposed from assemblies, as I can not
figure out how to extract the modreq from it.

Updated all the source files to use this.

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

22 years agoFri Jan 11 20:06:22 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 11 Jan 2002 15:16:31 +0000 (15:16 -0000)]
Fri Jan 11 20:06:22 CET 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: implement stloc, ldloc, ldloca.

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

22 years agoFri Jan 11 18:54:42 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 11 Jan 2002 14:13:13 +0000 (14:13 -0000)]
Fri Jan 11 18:54:42 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: don't try to output a code RVA for abstract methods.
Small fixes for method header format. Output parameter info to the
ParamDef table. Save method overriding info to MethodImpl table.
Fix property support. Allow typedef.extends to be a type in the
building assembly.
* verify.c: fix off-by-one error.

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

22 years agoFri Jan 11 19:00:29 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 11 Jan 2002 14:12:54 +0000 (14:12 -0000)]
Fri Jan 11 19:00:29 CET 2002 Paolo Molaro <lupus@ximian.com>

* MethodBuilder.cs, ConstructorBuilder.cs: save parameter info.

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

22 years ago2002-01-11 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 11 Jan 2002 10:19:48 +0000 (10:19 -0000)]
2002-01-11  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): fixed calculation of last_instr

* x86.brg
(RET, RET_VOID, RET_OBJ, ...): fixed jump to epilog

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

22 years ago2002-01-11 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 11 Jan 2002 07:22:53 +0000 (07:22 -0000)]
2002-01-11  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (LDLEN): emit null_reference exception
(BLE_UN): bug fix.

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

22 years agoAdd.
Ravi Pratap M [Fri, 11 Jan 2002 02:37:24 +0000 (02:37 -0000)]
Add.

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

22 years ago2002-01-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 11 Jan 2002 02:29:59 +0000 (02:29 -0000)]
2002-01-11  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (Expression.MemberLookup): instead of taking a
parameter `same_type' that was used to tell whether we could
access private members we compute our containing type from the
EmitContext.

Updated all the source files to use this.

* codegen.cs (EmitContext): Compute ContainerType ahead of time,
because it is referenced by MemberLookup very often.

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

22 years agoThu Jan 10 21:07:54 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Jan 2002 16:17:53 +0000 (16:17 -0000)]
Thu Jan 10 21:07:54 CET 2002 Paolo Molaro <lupus@ximian.com>

* ILGenerator.cs: handle type tokens (used for box opcode).

Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
* String.c: eliminate 64k+ method calls in search.
* Type.cs: handle byref and array types in ToString ().

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

22 years agoThu Jan 10 19:36:27 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Jan 2002 16:13:26 +0000 (16:13 -0000)]
Thu Jan 10 19:36:27 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c: fix mono_class_from_mono_type () for szarray types.
Remove unused cache check in mono_class_from_type_spec().
* icall.c: *type_from_name () functions handle simple arrays and byref.
* reflection.c: handle byref and szarray types. Handle methods without
body (gets P/Invoke compilation working). Handle types and fields in
get_token ().
* reflection.h: add rank to MonoTypeInfo.

Thu Jan 10 20:59:59 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c, interp.h: add a flag to mono_create_trampoline ()
to handle runtime methods.

Thu Jan 10 21:01:08 CET 2002 Paolo Molaro <lupus@ximian.com>

* x86/tramp.c: mono_create_trampoline (): the runtime argument is
needed to handle correctly delegates, the previous change in handling
the string return type broke them.

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

22 years agoThu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
Matt Kimball [Thu, 10 Jan 2002 15:16:17 +0000 (15:16 -0000)]
Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>

* BufferedStream.cs: Initial implemenation.  The synchronous
methods for both reading and writing are implemented.  I'll do the
asynchronous methods in a bit.

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

22 years ago2002-01-10 Aaron Weber <aaron@ximian.com>
Aaron Weber [Thu, 10 Jan 2002 14:02:40 +0000 (14:02 -0000)]
2002-01-10  Aaron Weber  <aaron@ximian.com>

* doc/rationale: corrected linkrot: new link to bonobo whitepaper
at developer.ximian.com

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

22 years ago2002-01-10 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Thu, 10 Jan 2002 13:41:08 +0000 (13:41 -0000)]
2002-01-10   Gaurav Vaish <gvaish@iitk.ac.in>

* HyperLinkControlBuilder.cs, Table.cs, TableCell.cs, TableCellControlBuilder.cs, TableRowCollection.cs, TableCellCollection.cs --- Completed all except one. Don't recall which one. See TODO for details.

* HyperLinkColumn.cs, ButtonColumn.cs -- *Columns and *ControlBuilder are proving to be rather simple classes to be implemented. :))

* TODO  -- Updated

* ChangeLog -- Oops! Not here.. Will update it :(

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

22 years agoFix memory leak
Dick Porter [Thu, 10 Jan 2002 11:03:10 +0000 (11:03 -0000)]
Fix memory leak

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

22 years ago2002-01-10 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 10 Jan 2002 11:00:19 +0000 (11:00 -0000)]
2002-01-10  Dick Porter  <dick@ximian.com>

* threads.c: Implemented WaitAll(), WaitAny() and WaitOne()
internal calls

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

22 years ago2002-01-10 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 10 Jan 2002 10:59:44 +0000 (10:59 -0000)]
2002-01-10  Dick Porter  <dick@ximian.com>

* WaitHandle.cs: Added checks for too many handles and null
handles in WaitAll() and WaitAny

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

22 years ago*** empty log message ***
Dietmar Maurer [Thu, 10 Jan 2002 09:21:21 +0000 (09:21 -0000)]
*** empty log message ***

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

22 years ago2002-01-04 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 10 Jan 2002 09:20:09 +0000 (09:20 -0000)]
2002-01-04  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: bug fix in CASTCLASS

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

22 years ago small bug fix
Dietmar Maurer [Thu, 10 Jan 2002 08:51:48 +0000 (08:51 -0000)]
 small bug fix

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

22 years ago2002-01-09 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 10 Jan 2002 03:27:51 +0000 (03:27 -0000)]
2002-01-09  Ravi Pratap  <ravi@ximian.com>

* typemanager.cs (IndexerPropertyName): If we have a TypeBuilder, use
TypeBuilder.GetCustomAttributes to retrieve what we need.

Get rid of redundant default_member_attr_type as this is the same as
default_member_type which already exists.

* interface.cs, attribute.cs : Update accordingly.

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

22 years agoUpdate errors
Miguel de Icaza [Wed, 9 Jan 2002 21:50:06 +0000 (21:50 -0000)]
Update errors

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

22 years agoUpdate
Miguel de Icaza [Wed, 9 Jan 2002 21:46:22 +0000 (21:46 -0000)]
Update

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

22 years agoAdded MonoTODO to InternalGetResourceSet(). I forgot to save before my last
Duncan Mak [Wed, 9 Jan 2002 20:18:10 +0000 (20:18 -0000)]
Added MonoTODO to InternalGetResourceSet(). I forgot to save before my last
commit.

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

22 years ago * ResourceManager.cs: Removed MonoTODO attribute on GetString
Duncan Mak [Wed, 9 Jan 2002 20:16:23 +0000 (20:16 -0000)]
* ResourceManager.cs: Removed MonoTODO attribute on GetString
  (string), as I believe it's correct. However, GetString
  (string, CultureInfo) is definitely broken, so I'm marking it with
  MonoTODO there. I also added MonoTODO to IntenalGetResourceSet().

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

22 years ago2002-01-09 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 9 Jan 2002 20:02:45 +0000 (20:02 -0000)]
2002-01-09  Duncan Mak  <duncan@ximian.com>

    * ResourceManager.cs: Fixed the GetSatelliteContractVersion()
      method. It was missing a cast before. Removed MonoTODO
      attribute. ;-) It was tested by John Barn, so this shouldn't
      break the build.

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

22 years agoWed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
Matt Kimball [Wed, 9 Jan 2002 19:13:42 +0000 (19:13 -0000)]
Wed Jan  9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>

* BinaryWriter.cs: Initial implementation.  And it's all there.

* BinaryReader.cs: The constructor now uses the passed in encoding,
not UTF8 always.

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

22 years agoCreated Guid.cs
Duco Fijma [Wed, 9 Jan 2002 19:02:59 +0000 (19:02 -0000)]
Created Guid.cs

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

22 years agoWed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
Matt Kimball [Wed, 9 Jan 2002 17:03:08 +0000 (17:03 -0000)]
Wed Jan  9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>

* BinaryReader.cs: Initial implementation.  I think it's complete.

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