Gaurav Vaish [Sun, 17 Mar 2002 04:44:47 +0000 (04:44 -0000)]
2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
* Yups! Another milestone reached. System.Web assembly build successfully.
svn path=/trunk/mcs/; revision=3156
Miguel de Icaza [Sun, 17 Mar 2002 02:57:01 +0000 (02:57 -0000)]
2002-03-17 Miguel de Icaza <miguel@ximian.com>
* class.cs (Invocation.EmitArguments): Fix to emit arguments for
empty param arrays.
* class.cs (Method.LabelParameters): Fix incorrect code path that
prevented the `ParamArrayAttribute' from being applied to the
params attribute.
svn path=/trunk/mcs/; revision=3155
Martin Baulig [Sat, 16 Mar 2002 22:52:03 +0000 (22:52 -0000)]
2002-03-17 Martin Baulig <martin@gnome.org>
* debug.c (mono_debug_open_assembly): Call mono_debug_get_type() on all
base types.
* debug-dwarf2.c: Added support for strings and arrays.
svn path=/trunk/mono/; revision=3154
Martin Baulig [Sat, 16 Mar 2002 19:19:35 +0000 (19:19 -0000)]
2002-03-17 Martin Baulig <martin@gnome.org>
* debug.c (mono_debug_get_type): Recursively call this for all function members
of a class type.
(mono_debug_add_method): Don't mangle function names, this must be done by the
debugger backend if the debugging format needs mangled names.
* debug-dwarf2.c: Improved support for classes, added member functions.
svn path=/trunk/mono/; revision=3153
Miguel de Icaza [Sat, 16 Mar 2002 17:39:05 +0000 (17:39 -0000)]
Add new test
svn path=/trunk/mcs/; revision=3152
Miguel de Icaza [Sat, 16 Mar 2002 16:22:43 +0000 (16:22 -0000)]
2002-03-16 Miguel de Icaza <miguel@ximian.com>
* typemanager.cs: Make the assemblies array always be non-null
(empty, but non-null)
* tree.cs (RecordDecl): New function that abstracts the recording
of names. This reports error 101, and provides a pointer to the
previous declaration. Fixes a crash in the compiler.
svn path=/trunk/mcs/; revision=3151
Martin Baulig [Sat, 16 Mar 2002 15:12:37 +0000 (15:12 -0000)]
2002-03-16 Martin Baulig <martin@gnome.org>
* debug.c (mono_debug_get_type): Recursively call this for all members and
parent classes of a class type.
* debug-dwarf2.c: Added basic support for classes. Set source language to C++
since GDB doesn't like Java very much.
svn path=/trunk/mono/; revision=3150
Miguel de Icaza [Sat, 16 Mar 2002 15:03:22 +0000 (15:03 -0000)]
2002-03-16 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay (constructor_declaration): Update to new grammar,
and provide a constructor_body that can be empty.
svn path=/trunk/mcs/; revision=3149
Paolo Molaro [Sat, 16 Mar 2002 14:58:17 +0000 (14:58 -0000)]
Use $(srcdir) in check.
svn path=/trunk/mono/; revision=3148
Miguel de Icaza [Sat, 16 Mar 2002 14:50:53 +0000 (14:50 -0000)]
Flush a set of pending changes:
2002-02-28 Miguel de Icaza <miguel@ximian.com>
* Stream.cs (NullStream): Do not track position, this beast does
nothing in practice.
2002-03-14 Miguel de Icaza <miguel@ximian.com>
* Array.cs: Add some extra debugging information.
svn path=/trunk/mcs/; revision=3147
Miguel de Icaza [Sat, 16 Mar 2002 14:49:05 +0000 (14:49 -0000)]
web site updates
svn path=/trunk/mono/; revision=3146
Paolo Molaro [Sat, 16 Mar 2002 14:39:43 +0000 (14:39 -0000)]
Sat Mar 16 19:18:38 CET 2002 Paolo Molaro <lupus@ximian.com>
* class.c, class.h: rename and export mono_ptr_class_get().
* metadata.c: support MONO_TYPE_ARRAY in MonoType compare.
* reflection.c, reflection.h, icall.c: better/saner type name
parsing and MonoType creation. Handle MONO_TYPE_ARRAY in
method signatures.
svn path=/trunk/mono/; revision=3145
Paolo Molaro [Sat, 16 Mar 2002 14:39:43 +0000 (14:39 -0000)]
Sat Mar 16 19:11:47 CET 2002 Paolo Molaro <lupus@ximian.com>
* ModuleBuilder.cs: handle modified types correctly.
svn path=/trunk/mcs/; revision=3144
Paolo Molaro [Sat, 16 Mar 2002 14:37:28 +0000 (14:37 -0000)]
Sat Mar 16 19:12:57 CET 2002 Paolo Molaro <lupus@ximian.com>
* x86/tramp.c: increase default allocated size for trampolines
and assert on overflow.
svn path=/trunk/mono/; revision=3143
Paolo Molaro [Sat, 16 Mar 2002 14:32:32 +0000 (14:32 -0000)]
Sat Mar 16 19:15:18 CET 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: restore frame on return from unmanaged calls.
Add support for continuing execution up to x IL insn.
Fix exception handling when an exception is raised in the catch
handler of the same method that issued the first one.
svn path=/trunk/mono/; revision=3142
Paolo Molaro [Sat, 16 Mar 2002 14:32:13 +0000 (14:32 -0000)]
Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <lupus@ximian.com>
* dump.c: handle TypeSpec token in memberref table dump.
svn path=/trunk/mono/; revision=3141
Martin Baulig [Sat, 16 Mar 2002 09:07:45 +0000 (09:07 -0000)]
2002-03-16 Martin Baulig <martin@gnome.org>
* debug-dwarf2.c: Added support for enums.
svn path=/trunk/mono/; revision=3140
Gaurav Vaish [Sat, 16 Mar 2002 00:59:22 +0000 (00:59 -0000)]
2002-03-16 Gaurav Vaish <gvaish@iitk.ac.in>
* Trying to go for a build... changes due to the same...
svn path=/trunk/mcs/; revision=3139
Gaurav Vaish [Sat, 16 Mar 2002 00:36:22 +0000 (00:36 -0000)]
2002-03-16 Gaurav Vaish <gvaish@iitk.ac.in>
* ChangeLog: Informed about HttpRuntime::FormatResourceString(...) stubs.
svn path=/trunk/mcs/; revision=3138
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