Gaurav Vaish [Sat, 16 Mar 2002 00:33:53 +0000 (00:33 -0000)]
2002-03-16 Gaurav Vaish <gvaish@iitk.ac.in>
* Stubbed some methods: FormatResourceString(...) in compliance with
several forms of String.Format(...) available.
svn path=/trunk/mcs/; revision=3137
Christopher Podurgiel [Fri, 15 Mar 2002 23:50:19 +0000 (23:50 -0000)]
Changed the Namespace on some Enums from mono.System.Data to System.Data
svn path=/trunk/mcs/; revision=3136
Miguel de Icaza [Fri, 15 Mar 2002 19:30:03 +0000 (19:30 -0000)]
2002-03-15 Miguel de Icaza <miguel@ximian.com>
* driver.cs: Add support for --resources.
* expression.cs: (FetchGetMethod, FetchAddressMethod, EmitAssign):
Make all types for the various array helper methods be integer.
* ecore.cs (Expression.ConvertNumericExplicit): Pass the
CheckState to ConvCast.
(ConvCast): Now it takes a `checked' state argument, to avoid
depending on the emit context for the conversion, and just using
the resolve time setting.
* expression.cs (ArrayCreation.EmitArrayArguments): New function,
instead of Invocation.EmitArguments. We do not emit the original
arguments, instead we emit those which have been converted to
unsigned int expressions.
svn path=/trunk/mcs/; revision=3135
Duncan Mak [Fri, 15 Mar 2002 19:29:58 +0000 (19:29 -0000)]
2002-03-15 Duncan Mak <duncan@ximian.com>
* XmlEntity.cs: Added to CVS. Need to implement BaseURI and
InnerText once I know what they do.
* XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
that we can properly chain constructors.
(CloneNode): implemented.
(WriteContentTo): Removed MonoTODO attribute as this method has no
effect in this class.
svn path=/trunk/mcs/; revision=3134
Miguel de Icaza [Fri, 15 Mar 2002 19:24:19 +0000 (19:24 -0000)]
Document --resource
svn path=/trunk/mono/; revision=3133
Duncan Mak [Fri, 15 Mar 2002 18:48:31 +0000 (18:48 -0000)]
2002-03-15 Duncan Mak <duncan@ximian.com>
* XmlProcessingInstruction.cs (Value): Added the missing Set
block.
(InnerText): Added in, but not implemented.
svn path=/trunk/mcs/; revision=3132
Martin Baulig [Fri, 15 Mar 2002 18:44:07 +0000 (18:44 -0000)]
2002-03-15 Martin Baulig <martin@gnome.org>
* debug.c (mono_debug_get_type): Recursively call this for all members
of a struct type.
* debug-dwarf.c: Added support for structs.
svn path=/trunk/mono/; revision=3131
Miguel de Icaza [Fri, 15 Mar 2002 18:12:48 +0000 (18:12 -0000)]
nice bug fixes.
2002-03-15 Miguel de Icaza <miguel@ximian.com>
* statement.cs (Block.EmitMeta): Drop tracking of indexes.
* codegen.cs: ditto.
* expression.cs (LocalVariableReference): Drop the use of the
Store function that depended on the variable index.
* statement.cs (VariableInfo): Drop the `Idx' property from this
class, as this is not taking into account the indexes for
temporaries tat we generate during the execution, getting the
indexes wrong.
* class.cs: First emit class initializers, then call the parent
constructor.
svn path=/trunk/mcs/; revision=3130
John Barnette [Fri, 15 Mar 2002 15:20:40 +0000 (15:20 -0000)]
Initial release.
svn path=/trunk/mono/; revision=3129
Dan Lewis [Fri, 15 Mar 2002 15:07:33 +0000 (15:07 -0000)]
Moved glob code into the corlib.
svn path=/trunk/mcs/; revision=3128
Nick Drochak [Fri, 15 Mar 2002 09:38:32 +0000 (09:38 -0000)]
2002-03-15 Nick Drochak <ndrochak@gol.com>
* Array.cs: Added IList and IEnumerable.
svn path=/trunk/mcs/; revision=3127
Dietmar Maurer [Fri, 15 Mar 2002 08:23:34 +0000 (08:23 -0000)]
documentation updates
svn path=/trunk/mono/; revision=3126
Dietmar Maurer [Fri, 15 Mar 2002 06:17:36 +0000 (06:17 -0000)]
2002-03-15 Dietmar Maurer <dietmar@ximian.com>
* emit-x86.c (arch_create_jit_trampoline): adapt save/restore LMF
to new MonoLMF layout
svn path=/trunk/mono/; revision=3125
Dietmar Maurer [Fri, 15 Mar 2002 04:09:44 +0000 (04:09 -0000)]
fixed section numbers
svn path=/trunk/mono/; revision=3124
Kral Ferch [Fri, 15 Mar 2002 03:21:50 +0000 (03:21 -0000)]
Implemented WriteCData and WriteComment.
svn path=/trunk/mcs/; revision=3123
Miguel de Icaza [Fri, 15 Mar 2002 02:33:41 +0000 (02:33 -0000)]
2002-03-15 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Binary): Fix opcode emision.
(UnaryMutator.EmitCode): Support checked code generation
svn path=/trunk/mcs/; revision=3122
Miguel de Icaza [Fri, 15 Mar 2002 01:53:28 +0000 (01:53 -0000)]
2002-03-15 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (MemberLookup): TypeManager.FindMembers will return
matches for events for both the Static and Instance scans,
pointing to the same element. Fix that.
svn path=/trunk/mcs/; revision=3121
Kral Ferch [Fri, 15 Mar 2002 01:48:10 +0000 (01:48 -0000)]
initial checkin.
svn path=/trunk/mcs/; revision=3120
Kral Ferch [Fri, 15 Mar 2002 01:47:10 +0000 (01:47 -0000)]
keeping solution up to date.
svn path=/trunk/mcs/; revision=3119
Nick Drochak [Fri, 15 Mar 2002 01:46:29 +0000 (01:46 -0000)]
2002/03/15 Nick Drochak <ndrochak@gol.com>
* DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
This code seemed to be copied from somewhere, and it was close,
but didn't match the docs. This was the last bit needed to get
NAnt to compile with our class libs.
svn path=/trunk/mcs/; revision=3118
Nick Drochak [Fri, 15 Mar 2002 01:43:33 +0000 (01:43 -0000)]
2002/03/15 Nick Drochak <ndrochak@gol.com>
* makefile: Compile a version of NAnt with Mono's libs. It only does
this if you 'make NAnt_mono.exe'. Of course, right now the resulting
exe probably is not going to work yet becuase of the immature class
libs.
svn path=/trunk/mcs/; revision=3117
Kral Ferch [Fri, 15 Mar 2002 01:41:17 +0000 (01:41 -0000)]
initial checkin.
svn path=/trunk/mcs/; revision=3116
Miguel de Icaza [Fri, 15 Mar 2002 01:19:55 +0000 (01:19 -0000)]
2002-03-14 Miguel de Icaza <miguel@ximian.com>
* rootcontext.cs (ResolveTree): Always set the
interface_resolve_order, because nested interfaces will be calling
into us.
* class.cs (GetInterfaceOrClass): Track the same resolution
process used by TypeManager.LookupType. This fixes the nested
type lookups in class declarations (separate path from
LookupType).
(TypeContainer.DefineType): Also define nested interfaces.
(TypeContainer.RegisterOrder): New public function used to
register the order in which child interfaces need to be closed.
Nested interfaces need to be closed after their parents have been
created.
* interface.cs (InterfaceAttr): Put all the logic for computing
the interface attribute here.
(DefineInterface): Register our interface order with the
RootContext or with the TypeContainer depending on the case.
New test as well.
svn path=/trunk/mcs/; revision=3115
Miguel de Icaza [Thu, 14 Mar 2002 22:59:03 +0000 (22:59 -0000)]
Remove dead code
svn path=/trunk/mono/; revision=3114
Duncan Mak [Thu, 14 Mar 2002 17:03:07 +0000 (17:03 -0000)]
2002-03-14 Duncan Mak <duncan@ximian.com>
* XmlDocument.cs: Moved the NodeChanged EventHandler to its own
file, and updated the callbacks to reflect the change.
(XmlDocument): Added the NameTable constructor.
(NameTable): Also the NameTable property.
svn path=/trunk/mcs/; revision=3113
Duncan Mak [Thu, 14 Mar 2002 16:55:21 +0000 (16:55 -0000)]
2002-03-14 Duncan Mak <duncan@ximian.com>
* XmlDocument.cs: Moved the NodeChanged EventHandler to its own
file, and updated the callbacks to reflect the change.
* XmlNodeChangedEventHandler.cs: Added, replacing the version that
was in XmlDocument.cs. It has two arguments now (object,
EventArgs) , instead of one (object).
svn path=/trunk/mcs/; revision=3112
Miguel de Icaza [Thu, 14 Mar 2002 16:53:24 +0000 (16:53 -0000)]
2002-03-14 Miguel de Icaza <miguel@ximian.com>
* UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
NonCLSCompliant.
svn path=/trunk/mcs/; revision=3111
Duncan Mak [Thu, 14 Mar 2002 16:35:20 +0000 (16:35 -0000)]
2002-03-14 Duncan Mak <duncan@ximian.com>
* Validation.cs: Removed, replaced by ValidationType.cs.
svn path=/trunk/mcs/; revision=3110
Dietmar Maurer [Thu, 14 Mar 2002 14:47:29 +0000 (14:47 -0000)]
more docu
svn path=/trunk/mono/; revision=3109
Dietmar Maurer [Thu, 14 Mar 2002 13:33:26 +0000 (13:33 -0000)]
made mono_jit_info_table domain dependent
svn path=/trunk/mono/; revision=3108
Dietmar Maurer [Thu, 14 Mar 2002 12:04:02 +0000 (12:04 -0000)]
* class.c (mono_class_init): removed hardcoded GHC_SLOT
svn path=/trunk/mono/; revision=3107
Dietmar Maurer [Thu, 14 Mar 2002 11:45:41 +0000 (11:45 -0000)]
remove wrong assertion
svn path=/trunk/mono/; revision=3106
Dietmar Maurer [Thu, 14 Mar 2002 11:37:10 +0000 (11:37 -0000)]
* emit-x86.c: (arch_create_native_wrapper): free allocated strings, bug fixes
svn path=/trunk/mono/; revision=3105
Nick Drochak [Thu, 14 Mar 2002 10:44:31 +0000 (10:44 -0000)]
2002-03-14 Nick Drochak <ndrochak@gol.com>
* ArrayList.cs (FixedSize(ArrayList)): should return an ArrayList. The
other FixedSize() methods returns an IList.
svn path=/trunk/mcs/; revision=3104
Dietmar Maurer [Thu, 14 Mar 2002 09:52:53 +0000 (09:52 -0000)]
2002-03-14 Dietmar Maurer <dietmar@ximian.com>
* emit-x86.c (arch_create_native_wrapper): new code to generate
wrappers for calling native functions.
* icall.c (ves_icall_InternalInvoke): impl.
svn path=/trunk/mono/; revision=3103
Dietmar Maurer [Thu, 14 Mar 2002 09:45:12 +0000 (09:45 -0000)]
2002-03-14 Dietmar Maurer <dietmar@ximian.com>
* Delegate.cs (Equals): also compare method_ptr
(GetHashCode): returm method_ptr as hash
* MonoMethod.cs (Invoke): call InternalInvoke
* MethodBase.cs (Invoke): call virtual invoke function
svn path=/trunk/mcs/; revision=3102
Kral Ferch [Thu, 14 Mar 2002 04:59:29 +0000 (04:59 -0000)]
start of XmlTextWriter
svn path=/trunk/mcs/; revision=3101
Duncan Mak [Thu, 14 Mar 2002 04:38:07 +0000 (04:38 -0000)]
2002-03-14 Duncan Mak <duncan@ximian.com>
* Validation.cs: Removed, replaced by ValidationType.cs.
svn path=/trunk/mcs/; revision=3100
Duncan Mak [Thu, 14 Mar 2002 02:46:48 +0000 (02:46 -0000)]
2002-03-14 Duncan Mak <duncan@ximian.com>
* Validation.cs: Removed, replaced by ValidationType.cs.
* ValidationType.cs: Added.
svn path=/trunk/mcs/; revision=3099
Duncan Mak [Thu, 14 Mar 2002 01:53:43 +0000 (01:53 -0000)]
2002-03-14 Duncan Mak <duncan@ximian.com>
* XmlNodeChangedEventHandler.cs: Added to CVS.
svn path=/trunk/mcs/; revision=3098
Duncan Mak [Thu, 14 Mar 2002 00:40:00 +0000 (00:40 -0000)]
2002-03-13 Duncan Mak <duncan@ximian.com>
* XmlException.cs: Made it [Serializable], implemented good ol'
GetObjectData, and the serialization constructor.
svn path=/trunk/mcs/; revision=3097
Duncan Mak [Thu, 14 Mar 2002 00:01:09 +0000 (00:01 -0000)]
2002-03-13 Duncan Mak <duncan@ximian.com>
* XmlNamedNodeMap.cs (SetNamedItem): Reverted (added back in)
the patch with the ReadOnly checks. "Don't doubt yourself, my
son... you were right!"
svn path=/trunk/mcs/; revision=3096
Duncan Mak [Wed, 13 Mar 2002 23:26:40 +0000 (23:26 -0000)]
2002-03-13 Duncan Mak <duncan@ximian.com>
* XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
svn path=/trunk/mcs/; revision=3095
Duncan Mak [Wed, 13 Mar 2002 22:55:01 +0000 (22:55 -0000)]
I mis-read the docs and implemented the method the wrong way.. ;-(
2002-03-13 Duncan Mak <duncan@ximian.com>
* XmlNamedNodeMap.cs (SetNamedItem): implemented.
svn path=/trunk/mcs/; revision=3094
Duncan Mak [Wed, 13 Mar 2002 22:31:55 +0000 (22:31 -0000)]
2002-03-13 Duncan Mak <duncan@ximian.com>
* XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
(GetNamedItem (string, string)): implemented.
(RemoveNamedItem): implemented.
(SetNamedItem): Added check for ReadOnly and matching OwnerDocuments.
svn path=/trunk/mcs/; revision=3093
Duncan Mak [Wed, 13 Mar 2002 20:20:21 +0000 (20:20 -0000)]
2002-03-13 Duncan Mak <duncan@ximian.com>
* ArrayList.cs (FixedSize): Changed the return type to IList if
the argument is an IList.
(Synchronized): Ditto here.
svn path=/trunk/mcs/; revision=3092
Martin Baulig [Wed, 13 Mar 2002 19:43:08 +0000 (19:43 -0000)]
Added a few words about DWARF 2.
svn path=/trunk/mono/; revision=3091
Martin Baulig [Wed, 13 Mar 2002 19:35:46 +0000 (19:35 -0000)]
2002-03-14 Martin Baulig <martin@gnome.org>
* debug.c (MonoDebugFormat): New public enums specifying which debugging
format to use.
(mono_debug_open_file): Added MonoDebugFormat argument.
(mono_debug_make_symbols): Don't take an argument to make it easier to call
this function from GDB. It's now safe to call this function multiple times;
it'll always write a complete debugging file.
* debug.c: Splitted this file into a general part which remains in this file
and the debugging format specific parts debug-stabs.c and debug-dwarf2.c.
All public functions now call a corresponding format specific function.
* debug.c: The following changes are private to debug.c:
(AssemblyDebugInfo, MonoDebugHandle): Moved declarations to debug-private.h.
(record_line_number, debug_generate_method_lines): New private functions.
(mono_debug_open_ass): Renamed to mono_debug_open_assembly; this function now
calls a debugging-format-specific function (mono_debug_open_assembly_stabs or
mono_debug_open_assembly_dwarf2).
(mono_debug_make_symbols): Calls mono_debug_write_assembly_stabs/dwarf2(). It's
now safe to call this function multiple times.
(mono_debug_get_type): New public function. This takes a `MonoClass *' and
returns an unique index for this type. It's used to ensure that we only write
each class once to the debugging file.
(mono_debug_add_method, mono_debug_add_type): Store all the data in an internal
data structure, but don't directly write to the debugging file. This is done
later from mono_debug_write_assembly().
* jit.c (main): Added "--dwarf" command line argument to generate DWARF 2
debugging output. Call mono_debug_close() on cleanup if necessary.
svn path=/trunk/mono/; revision=3090
Martin Baulig [Wed, 13 Mar 2002 19:19:50 +0000 (19:19 -0000)]
2002-03-14 Martin Baulig <martin@gnome.org>
* debug-private.h: New private header file.
* debug-stabs.c: Added the stabs type generation stuff which was
previously in debug.c.
* debug-dwarf.c: Started to implement type support. We're currently
only writing this most basic types to the dwarf file, but this will
change soon.
svn path=/trunk/mono/; revision=3089
Ravi Pratap M [Wed, 13 Mar 2002 17:36:11 +0000 (17:36 -0000)]
Update test-86 some more
svn path=/trunk/mcs/; revision=3088
Ravi Pratap M [Wed, 13 Mar 2002 17:30:04 +0000 (17:30 -0000)]
2002-03-13 Ravi Pratap <ravi@ximian.com>
* ecore.cs (StandardConversionExists): Modify to take an Expression
as the first parameter. Ensure we do null -> reference type conversion
checking.
* Everywhere : update calls accordingly, making use of MyEmptyExpr to store
temporary Expression objects.
svn path=/trunk/mcs/; revision=3087
Ravi Pratap M [Wed, 13 Mar 2002 17:29:10 +0000 (17:29 -0000)]
2002-03-13 Ravi Pratap <ravi@ximian.com>
* test-86.cs : Add. This is to check for correct overload resolution
with a null literal.
svn path=/trunk/mcs/; revision=3086
Paolo Molaro [Wed, 13 Mar 2002 07:44:38 +0000 (07:44 -0000)]
Wed Mar 13 12:32:40 CET 2002 Paolo Molaro <lupus@ximian.com>
* interface.cs: workaround bug in method overloading resolution
(there is already a bugzilla bug for it).
svn path=/trunk/mcs/; revision=3085
Paolo Molaro [Wed, 13 Mar 2002 07:32:21 +0000 (07:32 -0000)]
Fix mispelling in --with-gc help.
svn path=/trunk/mono/; revision=3084
Duco Fijma [Wed, 13 Mar 2002 06:32:29 +0000 (06:32 -0000)]
Removed custom format strings from System.TimeSpan, as these are not supported
by the current implementation of IntegerFormatter
svn path=/trunk/mcs/; revision=3083
Kral Ferch [Wed, 13 Mar 2002 01:02:58 +0000 (01:02 -0000)]
Finished XmlNodeListChildren
svn path=/trunk/mcs/; revision=3082
Duncan Mak [Wed, 13 Mar 2002 00:04:40 +0000 (00:04 -0000)]
2002-03-12 Duncan Mak <duncan@ximian.com>
* XmlCharacterData.cs: Reformatted the properties for better readability.
* XmlLinkedNode.cs: Removed the awful boxy comments.
* XmlNamedNodeMap.cs (Count):
(Item): Implemented. Tests will be coming.
* XmlEntityReference.cs:
* XmlSignificantWhitespace.cs: Implemented these classes except for
the Clone, WriteContentTo and WriteTo methods. Will have to
investigate into these later.
svn path=/trunk/mcs/; revision=3081
Paolo Molaro [Tue, 12 Mar 2002 19:38:39 +0000 (19:38 -0000)]
Wed Mar 13 00:26:29 CET 2002 Paolo Molaro <lupus@ximian.com>
* StringBuilder.cs: make ToString() return a interned string, this
seems to be required to make switch on string work.
svn path=/trunk/mcs/; revision=3079
Paolo Molaro [Tue, 12 Mar 2002 19:37:30 +0000 (19:37 -0000)]
Wed Mar 13 00:27:30 CET 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: output the interface map table, too.
svn path=/trunk/mono/; revision=3078
Martin Baulig [Tue, 12 Mar 2002 19:36:06 +0000 (19:36 -0000)]
2002-03-13 Martin Baulig <martin@gnome.org>
* debug-stabs.c, debug-dwarf2.c: New files containing my new
debugging code. They're now in CVS, but not yet used anywhere.
svn path=/trunk/mono/; revision=3077
Duncan Mak [Tue, 12 Mar 2002 19:25:34 +0000 (19:25 -0000)]
2002-03-12 Duncan Mak <duncan@ximian.com>
* EndOfStreamException.cs:
* FileLoadException.cs:
* FileNotFoundException.cs:
* PathTooLongException.cs: Changed the base classes to IOException
instead of SystemException.
* IOException.cs: Added missing constructors.
* MissingManifestResourceException.cs: This should inherit from
SystemException, not Exception.
* SiteIdentityPermissionAttribute.cs:
* UIPermissionAttribute.cs: These should inherit from
CodeAccessSecurityAttribute, not IsolatedStoragePermissionAttribute.
* SecurityException.cs: Inherit from SystemException, not Exception.
* FieldAccessException.cs:
* MethodAccessException.cs:
* PlatformNotSupportedException.cs: Inherit from
MemberAccessException, not SystemException.
svn path=/trunk/mcs/; revision=3076
Miguel de Icaza [Tue, 12 Mar 2002 18:48:19 +0000 (18:48 -0000)]
2002-03-12 Miguel de Icaza <miguel@ximian.com>
We could also solve this problem by having a separate path for
performing type lookups, instead of DoResolve, we could have a
ResolveType entry point, and only participating pieces of the
production (simplename, deref, array) would implement this.
* codegen.cs (EmitContext): New field OnlyLookupTypes used to
signal SimpleName to only resolve type names and not attempt to
resolve anything else.
* expression.cs (Cast): Set the flag.
* ecore.cs (SimpleName): Use the OnlyLookupTypes flag
* Everywhere: Use ec.DeclSpace on calls to LookupType, as this
makes the use more obvious of the DeclSpace. The
ec.TypeContainer.TypeBuilder is now only used to pull the
TypeBuilder for it.
My theory is that I can get rid of the TypeBuilder completely from
the EmitContext, and have typecasts where it is used (from
DeclSpace to where it matters).
The only pending problem is that the code that implements Aliases
is on TypeContainer, and probably should go in DeclSpace.
svn path=/trunk/mcs/; revision=3075
Duncan Mak [Tue, 12 Mar 2002 18:48:12 +0000 (18:48 -0000)]
2002-03-12 Duncan Mak <duncan@ximian.com>
* IFormatter.cs: Fix the return type of the Serialize method.
* ObsoleteAttribute.cs: Made Message and IsError properties
instead of fields.
svn path=/trunk/mcs/; revision=3074
Paolo Molaro [Tue, 12 Mar 2002 14:33:59 +0000 (14:33 -0000)]
Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
* GC.cs: make SuppressFinalize() a nop.
* Delegate.cs: fix == operator.
svn path=/trunk/mcs/; revision=3073
Paolo Molaro [Tue, 12 Mar 2002 14:32:13 +0000 (14:32 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=3072
Dan Lewis [Tue, 12 Mar 2002 14:28:39 +0000 (14:28 -0000)]
Dispose() tweaks.
svn path=/trunk/mcs/; revision=3071
Dan Lewis [Tue, 12 Mar 2002 14:13:22 +0000 (14:13 -0000)]
Added disposal/finalization code. Stream now flushes upon closure.
svn path=/trunk/mcs/; revision=3070
Dietmar Maurer [Tue, 12 Mar 2002 12:57:19 +0000 (12:57 -0000)]
added more documentation
svn path=/trunk/mono/; revision=3069
Nick Drochak [Tue, 12 Mar 2002 12:42:16 +0000 (12:42 -0000)]
2002-03-13 Nick Drochak <ndrochak@gol.com>
* Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
runtime that goes with this patch.
svn path=/trunk/mcs/; revision=3068
Dietmar Maurer [Tue, 12 Mar 2002 12:40:51 +0000 (12:40 -0000)]
2002-03-12 Dietmar Maurer <dietmar@ximian.com>
* class.c (class_compute_field_layout): separate computation of
static field layout
svn path=/trunk/mono/; revision=3067
Dan Lewis [Tue, 12 Mar 2002 11:02:21 +0000 (11:02 -0000)]
Removed unsafe modifiers from methods.
svn path=/trunk/mcs/; revision=3066
Nick Drochak [Tue, 12 Mar 2002 10:56:56 +0000 (10:56 -0000)]
2002-03-12 Nick Drochak <ndrochak@gol.com>
* ArrayTest.cs: Add tests for IList methods and for enumerator on
an array with non-zero lower bounds.
svn path=/trunk/mcs/; revision=3065
Dan Lewis [Tue, 12 Mar 2002 09:51:41 +0000 (09:51 -0000)]
Cleaned up buffer implementation.
svn path=/trunk/mono/; revision=3064
Dan Lewis [Tue, 12 Mar 2002 09:36:05 +0000 (09:36 -0000)]
Implmented System.Buffer. Added buffering to System.IO.FileStream.
svn path=/trunk/mcs/; revision=3063
Dan Lewis [Tue, 12 Mar 2002 09:34:32 +0000 (09:34 -0000)]
Added System.Buffer support. Moved file io calls to FileStream.
svn path=/trunk/mono/; revision=3062
Dietmar Maurer [Tue, 12 Mar 2002 05:51:01 +0000 (05:51 -0000)]
added obj_address again
svn path=/trunk/mono/; revision=3061
Dietmar Maurer [Tue, 12 Mar 2002 05:51:01 +0000 (05:51 -0000)]
added obj_address again
svn path=/trunk/mcs/; revision=3061
Dietmar Maurer [Tue, 12 Mar 2002 05:35:29 +0000 (05:35 -0000)]
imported delegate patches from Daniel, new GetHashCode icalls
svn path=/trunk/mono/; revision=3060
Dietmar Maurer [Tue, 12 Mar 2002 05:35:29 +0000 (05:35 -0000)]
imported delegate patches from Daniel, new GetHashCode icalls
svn path=/trunk/mcs/; revision=3060
Miguel de Icaza [Tue, 12 Mar 2002 02:41:25 +0000 (02:41 -0000)]
2002-03-12 Miguel de Icaza <miguel@ximian.com>
* class.cs: Only report 108 if there is no `new' modifier.
* cs-parser.jay: rework foreach statement to work with the new
changes to the policy on SimpleNames.
* report.cs: support Stacktrace on warnings as well.
* makefile: drop --unsafe and /unsafe from the compile.
2002-03-11 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (SimpleName.SimpleNameResolve): Perform local variable
lookups here, instead of doing that at parse time. This means
that our grammar will not introduce `LocalVariableReferences' as
expressions at this point. That solves the problem of code like
this:
class X {
static void Main ()
{ int X = 1;
{ X x = null }}}
This is only half the fix. The full fix requires parameters to
also be handled in this way.
Added test for the above new scenario, updated our foreach tests to try
the new changes.
svn path=/trunk/mcs/; revision=3059
Miguel de Icaza [Mon, 11 Mar 2002 17:41:59 +0000 (17:41 -0000)]
2002-03-11 Miguel de Icaza <miguel@ximian.com>
* class.cs (Property.DefineMethod): When implementing an interface
method, set newslot, when implementing an abstract method, do not
set the flag (before we tried never setting it, or always setting
it, which is the difference).
(Indexer.DefineMethod): same.
(Method.DefineMethod): same.
svn path=/trunk/mcs/; revision=3057
Miguel de Icaza [Mon, 11 Mar 2002 17:28:36 +0000 (17:28 -0000)]
Add new test
svn path=/trunk/mcs/; revision=3056
Miguel de Icaza [Mon, 11 Mar 2002 17:26:40 +0000 (17:26 -0000)]
2002-03-11 Miguel de Icaza <miguel@ximian.com>
* ecore.cs: Only set the status used flag if we get back a Field.
svn path=/trunk/mcs/; revision=3055
Miguel de Icaza [Mon, 11 Mar 2002 16:59:35 +0000 (16:59 -0000)]
Updates to doc
svn path=/trunk/mcs/; revision=3054
Miguel de Icaza [Mon, 11 Mar 2002 14:39:34 +0000 (14:39 -0000)]
Update Authors
svn path=/trunk/mcs/; revision=3053
Miguel de Icaza [Mon, 11 Mar 2002 13:24:46 +0000 (13:24 -0000)]
2002-03-11 Miguel de Icaza <miguel@ximian.com>
* attribute.cs: Temporary hack, so Paolo can keep working.
svn path=/trunk/mcs/; revision=3052
Paolo Molaro [Mon, 11 Mar 2002 11:24:33 +0000 (11:24 -0000)]
Mon Mar 11 16:14:29 CET 2002 Paolo Molaro <lupus@ximian.com>
* x86/x86-codegen.h: addex x86_clear_reg() and changed
x86_mov_reg_imm() to not check for imm == 0.
svn path=/trunk/mono/; revision=3051
Paolo Molaro [Mon, 11 Mar 2002 10:57:37 +0000 (10:57 -0000)]
Sigh, forgot to commit this file.
svn path=/trunk/mcs/; revision=3050
Paolo Molaro [Mon, 11 Mar 2002 09:58:01 +0000 (09:58 -0000)]
Mon Mar 11 14:47:21 CET 2002 Paolo Molaro <lupus@ximian.com>
* jit.c: verify that corlib and runtime are in sync.
svn path=/trunk/mono/; revision=3049
Paolo Molaro [Mon, 11 Mar 2002 09:57:42 +0000 (09:57 -0000)]
Mon Mar 11 14:48:07 CET 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: corlib consistency checls moved to libmetadata.
svn path=/trunk/mono/; revision=3048
Paolo Molaro [Mon, 11 Mar 2002 09:55:32 +0000 (09:55 -0000)]
Mon Mar 11 14:45:42 CET 2002 Paolo Molaro <lupus@ximian.com>
* verify.c, verify.h: moved here the corlib/runtime consistency checks.
svn path=/trunk/mono/; revision=3047
Paolo Molaro [Mon, 11 Mar 2002 07:08:33 +0000 (07:08 -0000)]
Mon Mar 11 11:58:27 CET 2002 Paolo Molaro <lupus@ximian.com>
* monograph.c: update --help output, Make error messages less
intimidating and more informative.
svn path=/trunk/mono/; revision=3046
Paolo Molaro [Mon, 11 Mar 2002 06:41:08 +0000 (06:41 -0000)]
Mon Mar 11 11:30:56 CET 2002 Paolo Molaro <lupus@ximian.com>
* emit-x86.c, jit.c: use the debug-helpers facilities to
describe and match a method when debugging.
svn path=/trunk/mono/; revision=3045
Paolo Molaro [Mon, 11 Mar 2002 06:38:26 +0000 (06:38 -0000)]
Mon Mar 11 11:27:27 CET 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: use the new facilities in debug-helpers to
disassemble CIL code and match method names to MonoMethods.
svn path=/trunk/mono/; revision=3044
Paolo Molaro [Mon, 11 Mar 2002 06:31:10 +0000 (06:31 -0000)]
Mon Mar 11 11:16:53 CET 2002 Paolo Molaro <lupus@ximian.com>
* monograph.c: removed method signature and searching helpers
that are now provided in libmetadata. Added --control-flow option to
create a control flow graph of a method, with basic blocks etc.
svn path=/trunk/mono/; revision=3043
Paolo Molaro [Mon, 11 Mar 2002 06:25:18 +0000 (06:25 -0000)]
Mon Mar 11 11:12:23 CET 2002 Paolo Molaro <lupus@ximian.com>
* debug-helpers.{c,h}: moved here from monograph some useful functions
to locate a method by name/signature in a class or image. Included
also a small and flexible IL disassembler.
svn path=/trunk/mono/; revision=3042
Duncan Mak [Mon, 11 Mar 2002 04:04:36 +0000 (04:04 -0000)]
2002-03-11 Duncan Mak <duncan@ximian.com>
* IHasXmlNode.cs: Added to CVS.
svn path=/trunk/mcs/; revision=3041
Jonathan Pryor [Sun, 10 Mar 2002 21:07:06 +0000 (21:07 -0000)]
Add NUnit test case for System.Diagnostics.Trace support
svn path=/trunk/mcs/; revision=3039
Jonathan Pryor [Sun, 10 Mar 2002 14:38:00 +0000 (14:38 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=3036
Ravi Pratap M [Sun, 10 Mar 2002 12:41:42 +0000 (12:41 -0000)]
2002-03-08 Ravi Pratap <ravi@ximian.com>
* attribute.cs (Attribute.UnmanagedType): This is to keep track of
the unmanaged type in the case we have a MarshalAs attribute.
(Resolve): Handle the case when we are parsing the special MarshalAs
attribute [we need to store the unmanaged type to use later]
* typemanager.cs (marshal_as_attr_type): Built in type for the
MarshalAs Attribute.
* attribute.cs (ApplyAttributes): Recognize the MarshalAs attribute
on parameters and accordingly set the marshalling info.
svn path=/trunk/mcs/; revision=3035