Gaurav Vaish [Fri, 18 Jan 2002 13:41:58 +0000 (13:41 -0000)]
2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
* TableCellCollection.cs, TableRowCollection.cs,
TableHeaderCell.cs, TableRow.cs -- Completed
* TODO -- Updated. Added a note on "Attributes" to be added to the classes.
svn path=/trunk/mcs/; revision=2046
Nick Drochak [Fri, 18 Jan 2002 10:55:56 +0000 (10:55 -0000)]
don't generate xml from corcompare for now. it throws an error on v1.0 of .NET
svn path=/trunk/mcs/; revision=2045
Nick Drochak [Fri, 18 Jan 2002 10:53:10 +0000 (10:53 -0000)]
2002-01-18 Nick Drochak <ndrochak@gol.com>
* makefile: remove path to beta2 csc.exe. path to csc.exe must be in PATH instead.
svn path=/trunk/mcs/; revision=2044
Miguel de Icaza [Fri, 18 Jan 2002 02:27:23 +0000 (02:27 -0000)]
Flush
svn path=/trunk/mcs/; revision=2043
Miguel de Icaza [Fri, 18 Jan 2002 02:17:45 +0000 (02:17 -0000)]
2002-01-17 Miguel de Icaza <miguel@ximian.com>
* interface.cs (Interface.GetInterfaceTypeByName): Only lookup the
hashtable if there are classes or structs defined.
* expression.cs (LocalVariableReference.DoResolve): Simplify this
code, as the constant resolution moved.
* statement.cs (Block.EmitMeta): Resolve all constants as we emit
the metadata, so we can flag error 133.
svn path=/trunk/mcs/; revision=2042
Miguel de Icaza [Fri, 18 Jan 2002 02:10:10 +0000 (02:10 -0000)]
Add new error
svn path=/trunk/mcs/; revision=2041
Miguel de Icaza [Fri, 18 Jan 2002 02:09:53 +0000 (02:09 -0000)]
Improved tests
svn path=/trunk/mcs/; revision=2040
Duncan Mak [Fri, 18 Jan 2002 01:44:30 +0000 (01:44 -0000)]
2002-01-18 Duncan Mak <duncan@ximian.com>
* EnvironmentPermissionAttribute.cs:
* FileDialogPermissionAttribute.cs:
* FileIOPermissionAttribute.cs:
* IsolatedStorageAttribute.cs:
* IsolatedStorageFilePermissionAttribute.cs:
* PermissionSetAttribute.cs:
* PrinciplePermissionAttribute.cs:
* ReflectionPermissionAttribute.cs:
* RegistryPermissionAttribute.cs:
* SiteIdentityPermissionAttribute.cs:
* StrongNamePermissionAttribute.cs:
* UIPermissionAttribute.cs:
* UrlIdentityPermissionAttribute.cs:
* ZoneIdentityPermissionAttribute.cs: New files. Stubbed out with MonoTODOs
* Note: These are all the Attributes in the System.Security.Permissions
namespace. The only missing one is PublishIdentityPermissionAttribute.cs because
we don't have anything for the X509Certificate class.
svn path=/trunk/mcs/; revision=2039
Duncan Mak [Fri, 18 Jan 2002 01:34:44 +0000 (01:34 -0000)]
2002-1-18 Duncan Mak <duncan@ximian.com>
* Environment.cs: Commented out references to
EnvironmentPermissionAttribute, because they're just
stubbed out right now and has no implementation.
svn path=/trunk/mcs/; revision=2038
Andrei Zmievski [Fri, 18 Jan 2002 01:01:06 +0000 (01:01 -0000)]
Forgot to commit ChangeLog.
svn path=/trunk/mcs/; revision=2037
Duncan Mak [Fri, 18 Jan 2002 00:57:49 +0000 (00:57 -0000)]
Some more minor fixes
svn path=/trunk/mcs/; revision=2036
Duncan Mak [Fri, 18 Jan 2002 00:43:18 +0000 (00:43 -0000)]
Minor fixes
svn path=/trunk/mcs/; revision=2035
Miguel de Icaza [Fri, 18 Jan 2002 00:31:21 +0000 (00:31 -0000)]
Fix errors, so the compiler can focus on reporting the right error
svn path=/trunk/mcs/; revision=2034
Duncan Mak [Fri, 18 Jan 2002 00:17:59 +0000 (00:17 -0000)]
indentation fix
svn path=/trunk/mcs/; revision=2033
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
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
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
Miguel de Icaza [Thu, 17 Jan 2002 21:15:47 +0000 (21:15 -0000)]
Fix
svn path=/trunk/mcs/; revision=2028
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
Miguel de Icaza [Thu, 17 Jan 2002 19:55:07 +0000 (19:55 -0000)]
Add missing file
svn path=/trunk/mcs/; revision=2026
Miguel de Icaza [Thu, 17 Jan 2002 19:54:27 +0000 (19:54 -0000)]
Improve error reporting
svn path=/trunk/mcs/; revision=2025
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
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
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
Miguel de Icaza [Thu, 17 Jan 2002 17:06:17 +0000 (17:06 -0000)]
oops
svn path=/trunk/mcs/; revision=2021
Miguel de Icaza [Thu, 17 Jan 2002 17:03:29 +0000 (17:03 -0000)]
Add .cvsignore
svn path=/trunk/mcs/; revision=2020
Miguel de Icaza [Thu, 17 Jan 2002 17:03:09 +0000 (17:03 -0000)]
Flush
svn path=/trunk/mcs/; revision=2019
Miguel de Icaza [Thu, 17 Jan 2002 16:47:20 +0000 (16:47 -0000)]
Add documentatin from Nant
svn path=/trunk/mcs/; revision=2018
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
Miguel de Icaza [Thu, 17 Jan 2002 14:10:45 +0000 (14:10 -0000)]
Flush
svn path=/trunk/mono/; revision=2016
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
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
Andrei Zmievski [Thu, 17 Jan 2002 00:28:40 +0000 (00:28 -0000)]
* Boolean.cs: implemented IConvertible interface
svn path=/trunk/mcs/; revision=2013
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
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
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
Miguel de Icaza [Wed, 16 Jan 2002 20:57:28 +0000 (20:57 -0000)]
Small fixes for Duncan
svn path=/trunk/mcs/; revision=2009
Miguel de Icaza [Wed, 16 Jan 2002 20:15:56 +0000 (20:15 -0000)]
Flush
svn path=/trunk/mono/; revision=2008
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
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
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
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
Miguel de Icaza [Wed, 16 Jan 2002 18:52:44 +0000 (18:52 -0000)]
add new bug
svn path=/trunk/mcs/; revision=2003
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
John Barnette [Tue, 15 Jan 2002 00:00:55 +0000 (00:00 -0000)]
Useless enum removed.
svn path=/trunk/mcs/; revision=1985
John Barnette [Mon, 14 Jan 2002 23:59:55 +0000 (23:59 -0000)]
Removed useless enum.
svn path=/trunk/mcs/; revision=1984
Miguel de Icaza [Mon, 14 Jan 2002 18:57:56 +0000 (18:57 -0000)]
Back out my change
svn path=/trunk/mcs/; revision=1983
Miguel de Icaza [Mon, 14 Jan 2002 14:45:38 +0000 (14:45 -0000)]
Flush csproj
svn path=/trunk/mcs/; revision=1982
Miguel de Icaza [Mon, 14 Jan 2002 14:40:29 +0000 (14:40 -0000)]
fix build
svn path=/trunk/mcs/; revision=1981
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
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
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
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
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
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
Dietmar Maurer [Mon, 14 Jan 2002 09:11:45 +0000 (09:11 -0000)]
added exception6.cs
svn path=/trunk/mono/; revision=1974
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
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
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
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
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
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
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
Ravi Pratap M [Sun, 13 Jan 2002 01:22:48 +0000 (01:22 -0000)]
Revert last patch
svn path=/trunk/mcs/; revision=1966
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
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
Miguel de Icaza [Sun, 13 Jan 2002 00:35:59 +0000 (00:35 -0000)]
Add error
svn path=/trunk/mcs/; revision=1963
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
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
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
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
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
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
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
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
Ravi Pratap M [Fri, 11 Jan 2002 02:37:24 +0000 (02:37 -0000)]
Add.
svn path=/trunk/mcs/; revision=1953
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
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
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
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
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
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
Dick Porter [Thu, 10 Jan 2002 11:03:10 +0000 (11:03 -0000)]
Fix memory leak
svn path=/trunk/mono/; revision=1945
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