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
Martin Baulig [Sun, 10 Mar 2002 09:35:02 +0000 (09:35 -0000)]
2002-03-10 Martin Baulig <martin@gnome.org>
* Int32.cs (Parse): Correctly parse negative numbers.
svn path=/trunk/mcs/; revision=3034
Martin Baulig [Sun, 10 Mar 2002 09:00:20 +0000 (09:00 -0000)]
2002-03-10 Martin Baulig <martin@gnome.org>
* emit-x86.c (arch_compile_method): When emitting stabs debugging
output, put a nop instruction at the start of all functions so that
the adresses won't change when using --debug.
* debug.c (mono_debug_add_method): `tree->cli_addr' is an offset into
the bytecode area, stabs needs a line number in the .il file. Use the
new info->moffsets to get the line number.
(AssemblyDebugInfo): Added `total_lines' and `moffsets' fields.
`moffsets' is an array of `total_lines' fields (total number of lines
in the .il file); for each line in the .il field, this array contains
the bytecode offset if it's an "IL_xxxx" line, -1 if it's the last line
of a method and 0 otherwise.
(debug_load_method_lines): Read the whole .il file and initialize the
info->moffsets field.
svn path=/trunk/mono/; revision=3033
Martin Baulig [Sun, 10 Mar 2002 08:56:27 +0000 (08:56 -0000)]
2002-03-09 Martin Baulig <martin@gnome.org>
* x86.brg (DIV_UN): Clear EDX before performing the division and remove
the unnecessary CDQ instruction.
svn path=/trunk/mono/; revision=3032
Miguel de Icaza [Sat, 9 Mar 2002 18:11:22 +0000 (18:11 -0000)]
2002-03-09 Miguel de Icaza <miguel@ximian.com>
* class.cs: Optimizing slightly by removing redundant code after
we switched to the `NoTypes' return value.
(Property.DefineMethod): use NoTypes here too.
This fixes the bug I introduced in my last batch of changes.
svn path=/trunk/mcs/; revision=3029
Jason Diamond [Sat, 9 Mar 2002 15:36:08 +0000 (15:36 -0000)]
Added missing members to XmlParserContext and started using it from XmlTextReader.
svn path=/trunk/mcs/; revision=3023
Piers Haken [Sat, 9 Mar 2002 09:12:22 +0000 (09:12 -0000)]
new text describint features & where to find the assemblies (in the menu)
svn path=/trunk/mono/; revision=3022
Piers Haken [Sat, 9 Mar 2002 09:08:55 +0000 (09:08 -0000)]
added rules for building assembly pages
now uses 'pull' dependancies instead of shell scripts
svn path=/trunk/mono/; revision=3021
Piers Haken [Sat, 9 Mar 2002 09:07:35 +0000 (09:07 -0000)]
support for arbitrary nesting in menu
svn path=/trunk/mono/; revision=3020
Piers Haken [Sat, 9 Mar 2002 09:06:35 +0000 (09:06 -0000)]
added new rules for assemblies. support for sub-sub-items
svn path=/trunk/mono/; revision=3019
Piers Haken [Sat, 9 Mar 2002 09:03:20 +0000 (09:03 -0000)]
use web/makefile to build class-status, etc...
svn path=/trunk/mono/; revision=3018
Piers Haken [Sat, 9 Mar 2002 08:55:32 +0000 (08:55 -0000)]
added support for CVS browsing (CTRL-click)
svn path=/trunk/mono/; revision=3017
Piers Haken [Sat, 9 Mar 2002 08:51:54 +0000 (08:51 -0000)]
switch back to HTML output method
svn path=/trunk/mcs/; revision=3016
Piers Haken [Sat, 9 Mar 2002 08:49:15 +0000 (08:49 -0000)]
handle weird type exception in System.dll
svn path=/trunk/mcs/; revision=3015
Piers Haken [Sat, 9 Mar 2002 08:48:44 +0000 (08:48 -0000)]
fix loading of arbitrary reference types
svn path=/trunk/mcs/; revision=3014
Piers Haken [Sat, 9 Mar 2002 08:47:11 +0000 (08:47 -0000)]
handle case of duplicate attributes in type info
svn path=/trunk/mcs/; revision=3013
Piers Haken [Sat, 9 Mar 2002 08:46:39 +0000 (08:46 -0000)]
can now omit '-x' flag for default output file
svn path=/trunk/mcs/; revision=3012
Piers Haken [Sat, 9 Mar 2002 08:45:36 +0000 (08:45 -0000)]
add dummy rule for CorCompare.exe
don't build XML here anymore (it's now done in the /mono/doc/web directory)
svn path=/trunk/mcs/; revision=3011
Jason Diamond [Sat, 9 Mar 2002 00:14:13 +0000 (00:14 -0000)]
Implemented MoveToElement and MoveToFirstAttribute.
svn path=/trunk/mcs/; revision=3010
Mike Kestner [Fri, 8 Mar 2002 23:43:05 +0000 (23:43 -0000)]
2002-03-08 Mike Kestner <mkestner@speakeasy.net>
* XmlNode.cs (Item): Implemented both indexers.
svn path=/trunk/mcs/; revision=3009
Martin Baulig [Fri, 8 Mar 2002 21:51:59 +0000 (21:51 -0000)]
Ooops, another bug. Correctly initialize Results1 and Results2.
svn path=/trunk/mcs/; revision=3007
Nick Drochak [Fri, 8 Mar 2002 21:23:04 +0000 (21:23 -0000)]
2002-03-09 Nick Drochak <ndrochak@gol.com>
* ArrayTest.cs: Enable the enumerator test and include test for
Multi-dimensional array enumerator. Also include test for
mutation _not_ invalidating the enumerator.
svn path=/trunk/mcs/; revision=3006
Martin Baulig [Fri, 8 Mar 2002 20:34:20 +0000 (20:34 -0000)]
2002-03-09 Martin Baulig <martin@gnome.org>
* Int16Test.cs, Int32Tests.cs, UInt16Tests.cs: Use "en-US" culture and
don't let the user override.
* Int32Tests.cs: Cleanup. Use unique names in Assert()s, use AssertEquals()
where appropriate etc.
svn path=/trunk/mcs/; revision=3005
Martin Baulig [Fri, 8 Mar 2002 20:30:53 +0000 (20:30 -0000)]
2002-03-09 Martin Baulig <martin@gnome.org>
* DumpCultureInfo.cs: New tool to dump culture info. Incomplete,
we need to get unicode support working before we can use this.
svn path=/trunk/mcs/; revision=3004
Duncan Mak [Fri, 8 Mar 2002 19:23:05 +0000 (19:23 -0000)]
2002-03-08 Duncan Mak <duncan@ximian.com>
* XPathNamespaceScope.cs:
* XPathNodeType.cs:
* XPathResultType.cs:
* XmlDataType.cs:
* XmlSortOrder.cs: Used EnumCheck and realigned elements to be compatible with MS
implementation. XPathResultType is interesting as EnumCheck does
not show the Navigator element, but shows the String element twice.
svn path=/trunk/mcs/; revision=3003
Martin Baulig [Fri, 8 Mar 2002 15:48:21 +0000 (15:48 -0000)]
2002-03-08 Martin Baulig <martin@gnome.org>
* StringTest.cs: More String.Split tests.
svn path=/trunk/mcs/; revision=3002
Martin Baulig [Fri, 8 Mar 2002 15:45:42 +0000 (15:45 -0000)]
2002-03-08 Martin Baulig <martin@gnome.org>
* String.cs (Split): Really fix it this time. Also adding several new
testcase to the testsuite.
svn path=/trunk/mcs/; revision=3001
Martin Baulig [Fri, 8 Mar 2002 15:40:29 +0000 (15:40 -0000)]
2002-03-08 Martin Baulig <martin@gnome.org>
* Array.cs (Copy): Optimized: removed duplicate null check, removed
two duplicate GetLowerBound() calls and one duplicate IsValueType.
svn path=/trunk/mcs/; revision=3000
Sergey Chaban [Fri, 8 Mar 2002 14:57:15 +0000 (14:57 -0000)]
* Hashtable.cs: Fixed ToPrime (). Removed ALLOC_GRAIN. Removed unused code. Changed GetObjectData () to use modificationCount as Version.
svn path=/trunk/mcs/; revision=2999
Jason Diamond [Fri, 8 Mar 2002 14:34:13 +0000 (14:34 -0000)]
Removed some enumerations that might have been in Beta2 but aren't visible anymore. Moved some enumerations from the System.Xml namespace to System.Xml.XPath because that's where they belong (now?).
svn path=/trunk/mcs/; revision=2998
Martin Baulig [Fri, 8 Mar 2002 14:30:18 +0000 (14:30 -0000)]
2002-03-08 Martin Baulig <martin@gnome.org>
* Array.cs (Copy): Optimized: removed duplicate null check, removed
two duplicate GetLowerBound() calls and one duplicate IsValueType.
svn path=/trunk/mcs/; revision=2997
Paolo Molaro [Fri, 8 Mar 2002 14:00:40 +0000 (14:00 -0000)]
Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
* Object.cs: commit my hacked GetHashCode(): it's good enough for now.
* String.cs: use the dumb code for IndexOf(string): this is worth
15-20 % speedup in mcs compile with mint.
svn path=/trunk/mcs/; revision=2996
Paolo Molaro [Fri, 8 Mar 2002 12:39:39 +0000 (12:39 -0000)]
Fri Mar 8 17:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
* StringBuilder.cs: make Append(char) do the smart thing.
svn path=/trunk/mcs/; revision=2995
Paolo Molaro [Fri, 8 Mar 2002 11:40:14 +0000 (11:40 -0000)]
Really commit the file this time.
Fri Mar 8 16:29:29 CET 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: fixup tokens in methods with small header size, too.
svn path=/trunk/mono/; revision=2994
Paolo Molaro [Fri, 8 Mar 2002 11:39:01 +0000 (11:39 -0000)]
*** empty log message ***
svn path=/trunk/mono/; revision=2993
Nick Drochak [Fri, 8 Mar 2002 09:13:02 +0000 (09:13 -0000)]
2002-03-08 Nick Drochak <ndrochak@gol.com>
* monodis.1: Add info about new parameter
* main.c: Add flag to remember if user wants to us mscorlib for
non-corilb assembly names
* get.c(get_typedef): use mscorlib for assembly name only
if user specifies it with a command line parameter. Default
behavior is now to use actual assembly name.
svn path=/trunk/mono/; revision=2992
Paolo Molaro [Fri, 8 Mar 2002 07:56:09 +0000 (07:56 -0000)]
Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
* String.cs: revert change to Split() that broke the compiler (hi martin!:-).
svn path=/trunk/mcs/; revision=2991
Dietmar Maurer [Fri, 8 Mar 2002 07:02:28 +0000 (07:02 -0000)]
2002-03-08 Dietmar Maurer <dietmar@ximian.com>
* object.c (mono_string_to_utf8): remove assert(!error), instead
print a warning.
svn path=/trunk/mono/; revision=2990
Dietmar Maurer [Fri, 8 Mar 2002 06:08:46 +0000 (06:08 -0000)]
etmar Maurer <dietmar@ximian.com>
* jit.c (mono_analyze_stack): only load addresses of value types
on the runtime stack.
svn path=/trunk/mono/; revision=2989
Jason Diamond [Fri, 8 Mar 2002 06:06:22 +0000 (06:06 -0000)]
Updated XmlAttribute so that it can have child nodes and refactored some of the child node code in XmlDocument and XmlElement into XmlNode.
svn path=/trunk/mcs/; revision=2988
Kral Ferch [Fri, 8 Mar 2002 04:45:30 +0000 (04:45 -0000)]
XmlNodeListChildren implements XmlNodeList for XmlNode.ChildNodes
svn path=/trunk/mcs/; revision=2987
Jason Diamond [Fri, 8 Mar 2002 02:35:52 +0000 (02:35 -0000)]
Stubbed out XPathExpression and XPathNavigator and everything else needed to get it to compile.
svn path=/trunk/mcs/; revision=2986
Nick Drochak [Fri, 8 Mar 2002 01:39:18 +0000 (01:39 -0000)]
2002/03/08 Nick Drochak <ndrochak@gol.com>
* System.XML_test.build: Don't build test dll by default. Only build
it when 'make test' is specified.
svn path=/trunk/mcs/; revision=2985
Nick Drochak [Fri, 8 Mar 2002 01:37:43 +0000 (01:37 -0000)]
2002/03/08 Nick Drochak <ndrochak@gol.com>
* System_test.build: Don't build test dll by default. Only build
it when 'make test' is specified.
svn path=/trunk/mcs/; revision=2984
Ravi Pratap M [Thu, 7 Mar 2002 23:56:25 +0000 (23:56 -0000)]
2002-03-05 Ravi Pratap <ravi@ximian.com>
* tree.cs (RecordEnum): Add. We now keep track of enums too.
* class.cs (LookupInterfaceOrClass): Check against the list of recorded
Enums since those are types too.
* cs-parser.jay (enum_declaration): Record enums as we parse them.
* enum.cs (DefineEnum): Return if the TypeBuilder has already been defined
thanks to a call during the lookup process.
svn path=/trunk/mcs/; revision=2983
Ravi Pratap M [Thu, 7 Mar 2002 23:55:32 +0000 (23:55 -0000)]
2002-03-07 Ravi Pratap <ravi@ximian.com>
* test-82.cs : Add.
svn path=/trunk/mcs/; revision=2982
Miguel de Icaza [Thu, 7 Mar 2002 22:59:52 +0000 (22:59 -0000)]
Removed stale comments from Object.cs
Lots of bug fixes today, including a major bugfix/upgrade to `foreach'.
2002-03-07 Miguel de Icaza <miguel@ximian.com>
* statement.cs (Foreach): Lots of work to accomodate a particular
kind of foreach statement that I had not kept in mind. It is
possible to have foreachs on classes that provide a GetEnumerator
method that return objects that implement the "pattern" for using
a foreach, there is no need to support GetEnumerator
specifically.
This is needed to compile nant.
* decl.cs: Only report 114 if the member is not `Finalize' and if
the warning level is at least 2.
* class.cs: Moved the compare function from Method to
MethodSignature.
(MethodSignature.InheritableMemberSignatureCompare): Add new
filter function that is used to extract inheritable methods from a
class.
(Method.Define): Use the new `inheritable_method_signature_filter'
delegate
* cs-tokenizer.cs (get_cmd_arg): Do not add white space to the
command.
svn path=/trunk/mcs/; revision=2981
Duncan Mak [Thu, 7 Mar 2002 19:08:11 +0000 (19:08 -0000)]
2002-03-07 Duncan Mak <duncan@ximian.com>
* Makefile.am: A small patch fixing errors in vpath-based builds (make clean
failing to rerun monoburg due to BUILT_SOURCES usage), committed
for Daniel Stodden <stodden@in.tum.de>.
svn path=/trunk/mono/; revision=2980
Miguel de Icaza [Thu, 7 Mar 2002 16:31:45 +0000 (16:31 -0000)]
Flush
svn path=/trunk/mono/; revision=2979
Martin Baulig [Thu, 7 Mar 2002 14:45:27 +0000 (14:45 -0000)]
2002-03-07 Martin Baulig <martin@gnome.org>
* StringTest.cs: Added a few more tests for the bug fixes I just
committed to String.cs.
svn path=/trunk/mcs/; revision=2978
Martin Baulig [Thu, 7 Mar 2002 14:44:09 +0000 (14:44 -0000)]
2002-03-07 Martin Baulig <martin@gnome.org>
* String.cs (Join): Throw an ArgumentNullException.
(LastIndexOf (string,int,int)): This method does a backwards search,
so startIndex points to the end of value, not to its beginning. Don't
throw an exception if startIndex equals this.Length. Always return -1
if startIndex is smaller than the length of value.
(Replace (string,string)): Replace all occurences of oldValue.
If newValue is null, all occurences of oldValue are to be removed.
(Split (char[],int)): Return an empty array if maxCount is zero, throw
an ArgumentOutOfRangeException if it's less than zero. Return maxValue
elements, not maxValue+1.
svn path=/trunk/mcs/; revision=2977
Paolo Molaro [Thu, 7 Mar 2002 14:04:48 +0000 (14:04 -0000)]
Thu Mar 7 18:55:15 CET 2002 Paolo Molaro <lupus@ximian.com>
* icall.c: update to the new mono_Array_class_get interface.
svn path=/trunk/mono/; revision=2976
Miguel de Icaza [Thu, 7 Mar 2002 13:53:20 +0000 (13:53 -0000)]
Small patch of love to MIS
svn path=/trunk/mono/; revision=2975
Paolo Molaro [Thu, 7 Mar 2002 13:00:46 +0000 (13:00 -0000)]
Test for method overloading resolution.
svn path=/trunk/mono/; revision=2973
Paolo Molaro [Thu, 7 Mar 2002 12:43:10 +0000 (12:43 -0000)]
Thu Mar 7 17:19:44 CET 2002 Paolo Molaro <lupus@ximian.com>
* configure.in: detect Boehm GC libs and add --with-gc switch.
Boehm GC needs to be explicitly enabled since the JIT currently fails
in some cases with it.
svn path=/trunk/mono/; revision=2972
Paolo Molaro [Thu, 7 Mar 2002 12:42:25 +0000 (12:42 -0000)]
Thu Mar 7 17:22:52 CET 2002 Paolo Molaro <lupus@ximian.com>
* jit.c: Boehm-GC enable.
svn path=/trunk/mono/; revision=2971
Paolo Molaro [Thu, 7 Mar 2002 12:42:17 +0000 (12:42 -0000)]
Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
* MonoType.cs: make GetEvents() an internal call.
* MulticastDelegate.cs: copy the passed in array.
svn path=/trunk/mcs/; revision=2970
Paolo Molaro [Thu, 7 Mar 2002 12:41:42 +0000 (12:41 -0000)]
Thu Mar 7 17:23:26 CET 2002 Paolo Molaro <lupus@ximian.com>
* appdomain.c, object.c: Boehm-GC enable.
* icall.c: make get_data_chunk() support split data requests.
Ensure a class is initialized in more cases. Return only the first
property found in GetProperties() or the compiler gets confused.
Implemented GetEvents(). Temporary fix to GetType(), needs rewriting.
* reflection.h, reflection.c: add fixup mechanism for field and method
tokens. Initialize assembly->typeref in a single place. Output
properties after events. Support custom attributes for events, too.
Typo fix for paramter custom attrs.
svn path=/trunk/mono/; revision=2969
Paolo Molaro [Thu, 7 Mar 2002 12:41:37 +0000 (12:41 -0000)]
Thu Mar 7 17:10:42 CET 2002 Paolo Molaro <lupus@ximian.com>
* AssemblyBuilder.cs: allow saving bigger assemblies.
* ILGenerator.cs: add fixup table for fields and methods, since
at the end of the compile they may end up with a different table
index.
* ModuleBuilder.cs: add cache for type names to speed up the type
lookups from the compiler.
* TypeBuilder.cs: GetInterfaces () returns only interfaces in the
current type, not in parents (the docs are wrong).
svn path=/trunk/mcs/; revision=2968
Paolo Molaro [Thu, 7 Mar 2002 12:40:45 +0000 (12:40 -0000)]
Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
* EventInfo.cs: add compiler needed methods.
* MonoMethod.cs: make ToString() return the return type name, too.
svn path=/trunk/mcs/; revision=2967
Paolo Molaro [Thu, 7 Mar 2002 12:40:24 +0000 (12:40 -0000)]
Thu Mar 7 17:20:59 CET 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: Boehm-GC enable. Fix some overflow opcodes.
Thu Mar 7 17:21:52 CET 2002 Paolo Molaro <lupus@ximian.com>
* threads.c, timed-thread.c, wait.c: Boehm-GC anable.
svn path=/trunk/mono/; revision=2966