mono.git
22 years agoswitch back to HTML output method
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

22 years agohandle weird type exception in System.dll
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

22 years agofix loading of arbitrary reference types
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

22 years agohandle case of duplicate attributes in type info
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

22 years agocan now omit '-x' flag for default output file
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

22 years agoadd dummy rule for CorCompare.exe
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

22 years agoImplemented MoveToElement and MoveToFirstAttribute.
Jason Diamond [Sat, 9 Mar 2002 00:14:13 +0000 (00:14 -0000)]
Implemented MoveToElement and MoveToFirstAttribute.

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

22 years ago2002-03-08 Mike Kestner <mkestner@speakeasy.net>
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

22 years agoOoops, another bug. Correctly initialize Results1 and Results2.
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

22 years ago2002-03-09 Nick Drochak <ndrochak@gol.com>
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

22 years ago2002-03-09 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-09 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-08 Duncan Mak <duncan@ximian.com>
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

22 years ago2002-03-08 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-08 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-08 Martin Baulig <martin@gnome.org>
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

22 years ago * Hashtable.cs: Fixed ToPrime (). Removed ALLOC_GRAIN. Removed unused code. Changed...
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

22 years agoRemoved some enumerations that might have been in Beta2 but aren't visible anymore...
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

22 years ago2002-03-08 Martin Baulig <martin@gnome.org>
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

22 years agoFri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoFri Mar 8 17:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoReally commit the file this time.
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

22 years ago*** empty log message ***
Paolo Molaro [Fri, 8 Mar 2002 11:39:01 +0000 (11:39 -0000)]
*** empty log message ***

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

22 years ago2002-03-08 Nick Drochak <ndrochak@gol.com>
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

22 years agoFri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years ago2002-03-08 Dietmar Maurer <dietmar@ximian.com>
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

22 years agoetmar Maurer <dietmar@ximian.com>
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

22 years agoUpdated XmlAttribute so that it can have child nodes and refactored some of the child...
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

22 years agoXmlNodeListChildren implements XmlNodeList for XmlNode.ChildNodes
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

22 years agoStubbed out XPathExpression and XPathNavigator and everything else needed to get...
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

22 years ago2002/03/08 Nick Drochak <ndrochak@gol.com>
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

22 years ago2002/03/08 Nick Drochak <ndrochak@gol.com>
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

22 years ago2002-03-05 Ravi Pratap <ravi@ximian.com>
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

22 years ago2002-03-07 Ravi Pratap <ravi@ximian.com>
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

22 years agoRemoved stale comments from Object.cs
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

22 years ago2002-03-07 Duncan Mak <duncan@ximian.com>
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

22 years agoFlush
Miguel de Icaza [Thu, 7 Mar 2002 16:31:45 +0000 (16:31 -0000)]
Flush

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

22 years ago2002-03-07 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-07 Martin Baulig <martin@gnome.org>
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

22 years agoThu Mar 7 18:55:15 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoSmall patch of love to MIS
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

22 years agoTest for method overloading resolution.
Paolo Molaro [Thu, 7 Mar 2002 13:00:46 +0000 (13:00 -0000)]
Test for method overloading resolution.

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

22 years agoThu Mar 7 17:19:44 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoThu Mar 7 17:22:52 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoThu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoThu Mar 7 17:23:26 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoThu Mar 7 17:10:42 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoThu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoThu Mar 7 17:20:59 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years ago2002-03-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 7 Mar 2002 12:40:11 +0000 (12:40 -0000)]
2002-03-08  Nick Drochak  <ndrochak@gol.com>

* nunit.build: exclude all the obsolete stuff, and prevent csc from
linking any ms stuff to the dll and exe we are testing on Linux.

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

22 years ago2002-03-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 7 Mar 2002 12:20:53 +0000 (12:20 -0000)]
2002-03-07  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (SAVE_LFM): bug fix: patch the saved IP because we
realloc that code sometimes!

* emit-x86.c (mono_compute_branches): support several types of
jump infos

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

22 years agoSome doc fixes by Christophe
Dick Porter [Thu, 7 Mar 2002 12:04:28 +0000 (12:04 -0000)]
Some doc fixes by Christophe

Update the Linux build script to cope when pkg-config is missing but glib-2
is already installed

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

22 years agoUpdated.
Martin Baulig [Thu, 7 Mar 2002 09:24:59 +0000 (09:24 -0000)]
Updated.

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

22 years ago2002-03-07 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 7 Mar 2002 09:24:24 +0000 (09:24 -0000)]
2002-03-07  Martin Baulig  <martin@gnome.org>

* ArrayTest.cs: Fixed the FIXME in test #E05.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 7 Mar 2002 09:19:29 +0000 (09:19 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* Array.cs (Copy): Use FastCopy when appropriate and do correct
exception handling.

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

22 years ago2002-03-07 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 7 Mar 2002 09:07:26 +0000 (09:07 -0000)]
2002-03-07  Martin Baulig  <martin@gnome.org>

* icall.c (ves_icall_System_Array_FastCopy): Small fix.

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

22 years ago2002-03-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 7 Mar 2002 06:39:57 +0000 (06:39 -0000)]
2002-03-07  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_array_class_get): fix. for multi. dim. arrays

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

22 years ago2002/03/07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 7 Mar 2002 03:31:29 +0000 (03:31 -0000)]
2002/03/07  Nick Drochak <ndrochak@gol.com>

* StreamingContextStates.cs: Add missing value (CrossAppDomain) and
adjust All value accordingly.

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

22 years agoRemoved redundant code.
Jason Diamond [Thu, 7 Mar 2002 03:06:52 +0000 (03:06 -0000)]
Removed redundant code.

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

22 years agoDisable warning CS0679.
Jason Diamond [Thu, 7 Mar 2002 02:42:29 +0000 (02:42 -0000)]
Disable warning CS0679.

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

22 years agorewrote XmlNode with touchups to XmlDocument, XmlElement, and XmlLinkedNode
Kral Ferch [Thu, 7 Mar 2002 02:32:39 +0000 (02:32 -0000)]
rewrote XmlNode with touchups to XmlDocument, XmlElement, and XmlLinkedNode

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

22 years ago2002/03/07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 6 Mar 2002 21:42:58 +0000 (21:42 -0000)]
2002/03/07  Nick Drochak <ndrochak@gol.com>

* corlib_test.build: resolve chicken and egg problem. Only build and
execute test assemblies when 'make test' is specified. Need to do a
'make' first now before 'make test'.

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

22 years agoSmall bug fix
Miguel de Icaza [Wed, 6 Mar 2002 20:37:25 +0000 (20:37 -0000)]
Small bug fix

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

22 years agoCharEnumerator: stronger test, new failures, fixed them
Duco Fijma [Wed, 6 Mar 2002 16:09:59 +0000 (16:09 -0000)]
CharEnumerator: stronger test, new failures, fixed them

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

22 years ago2002-03-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 6 Mar 2002 15:58:25 +0000 (15:58 -0000)]
2002-03-06  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Add opt_semicolon to the interface declaration.

* expression.cs: Pass location information to
ConvertImplicitStandard.

* class.cs: Added debugging code to track return values from
interfaces.

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

22 years ago* x86.brg: impl. MUL_OVF_UN (reg, reg)
Dietmar Maurer [Wed, 6 Mar 2002 13:38:45 +0000 (13:38 -0000)]
* x86.brg: impl. MUL_OVF_UN (reg, reg)

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

22 years ago2002-03-06 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 6 Mar 2002 13:21:22 +0000 (13:21 -0000)]
2002-03-06  Dietmar Maurer  <dietmar@ximian.com>

* Int64.cs (Parse): bug fix for max. negative value.

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

22 years ago2002-03-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 6 Mar 2002 11:59:16 +0000 (11:59 -0000)]
2002-03-07  Nick Drochak  <ndrochak@gol.com>

* makefile: Change order of build so corlib is built before nunit since
Nunit needs corlib now.

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

22 years ago2002-03-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 6 Mar 2002 11:54:46 +0000 (11:54 -0000)]
2002-03-07  Nick Drochak  <ndrochak@gol.com>

* .cvsignore: ignore *.pdb files
* nunit.build: Build a version of NUnitCore.dll and NUnitConsole.exe
using mono's corlib. Use this to test on Linux under mint and mono.

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

22 years ago2002-03-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 6 Mar 2002 11:43:16 +0000 (11:43 -0000)]
2002-03-07  Nick Drochak  <ndrochak@gol.com>

* RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
I need to understand what the difference between the attribute and
the interface is.

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

22 years ago2002-03-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 6 Mar 2002 11:38:54 +0000 (11:38 -0000)]
2002-03-07  Nick Drochak  <ndrochak@gol.com>

* FileMode.cs: Docs don't say this should be explicitly derived from
int, so just make it a normal Enum.

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

22 years ago2002-03-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 6 Mar 2002 11:20:46 +0000 (11:20 -0000)]
2002-03-07  Nick Drochak  <ndrochak@gol.com>

* BindingFlags.cs: Add missing enum values.  Thanks CorCompare.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 6 Mar 2002 10:41:24 +0000 (10:41 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* ArrayTest.cs (TestSetValue4): Added testcases #M94-#M96 for Array.Copy.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 6 Mar 2002 10:40:05 +0000 (10:40 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
an InvalidCastException if the widening conversion failed. See
testcases #M94-#M96.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 6 Mar 2002 10:24:46 +0000 (10:24 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* ArrayTest.cs (TestCopyTo): Added testcases #F10-#F13 for arrays with
non-zero lower bounds.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 6 Mar 2002 10:23:33 +0000 (10:23 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* icall.c (ves_icall_System_Array_CreateInstanceImpl): Make this work with
non-zero lower bounds. See testcases #F10-#F13.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 6 Mar 2002 10:22:16 +0000 (10:22 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
arrays with non-zero lower bounds. Also adding testcases #F10-#F13
for this.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 6 Mar 2002 09:56:42 +0000 (09:56 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* ArrayTest.cs (TestCopyTo): Added test for copying an empty array
to an empty array.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 6 Mar 2002 09:55:42 +0000 (09:55 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* Array.cs (CopyTo): Reverted my last change, it was incorrect.
(Copy): Actually allow copying multi-dimensional arrays.

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

22 years ago2002-03-06 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 6 Mar 2002 09:42:20 +0000 (09:42 -0000)]
2002-03-06  Nick Drochak  <ndrochak@gol.com>

* nunit.build: Exclude obsolete class from build. Probably should
remove from cvs.

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

22 years agojit.c (mono_find_final_block): find correct finally handler.
Dietmar Maurer [Wed, 6 Mar 2002 08:55:39 +0000 (08:55 -0000)]
jit.c (mono_find_final_block): find correct finally handler.

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

22 years ago2002-03-06 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 6 Mar 2002 07:32:23 +0000 (07:32 -0000)]
2002-03-06  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (arch_create_jit_trampoline): bug fix: preserve
caller saved registers.

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

22 years ago2002-03-05 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 5 Mar 2002 22:42:24 +0000 (22:42 -0000)]
2002-03-05  Ravi Pratap  <ravi@ximian.com>

* test-81.cs : Add.

* makefile : Update accordingly as this test passes.

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

22 years agoFixed the build. Stupid typos.
Duncan Mak [Tue, 5 Mar 2002 22:11:23 +0000 (22:11 -0000)]
Fixed the build. Stupid typos.

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

22 years ago2002-03-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 5 Mar 2002 21:36:41 +0000 (21:36 -0000)]
2002-03-05  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Is.DoResolve): If either side of the `is' is an
interface, do not flag the warning.

* ecore.cs (ImplicitReferenceConversion): We need a separate test
for interfaces

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

22 years agoBug fixes and a couple of optimizations (used a nice profiler to find
Miguel de Icaza [Tue, 5 Mar 2002 21:28:50 +0000 (21:28 -0000)]
Bug fixes and a couple of optimizations (used a nice profiler to find
a few easy to fix hot spots):

2002-03-05  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (NoTypes): Move the definition for the empty Type
array here.

* class.cs (TypeContainer.FindMembers): Also look for methods defined by
properties.
(TypeContainer.DefineProxy): New function used to proxy to parent
implementations when implementing interfaces.
(TypeContainer.ParentImplements): used to lookup if our parent
implements a public function that is required by an interface.
(TypeContainer.VerifyPendingMethods): Hook this up.

* typemanager.cs (TypeManager, AddModule, AddAssembly): Make the
`modules' and `assemblies' arraylists into arrays.  We only grow
these are the very early start up of the program, so this improves
the speedof LookupType (nicely measured).

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

22 years ago2002-03-05 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 5 Mar 2002 21:21:15 +0000 (21:21 -0000)]
2002-03-05  Duncan Mak  <duncan@ximian.com>

* Convert.cs:
(DBNull) Added the missing field.
(IsDBNull) Fixed typo.
(ToByte (string, int)) Implemented.
(ToString (byte, int)) Implemented.
(ConvertToBase)
(BuildConvertedString) internal functions used for converting values to
a specific base.

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

22 years ago2002-03-05 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 5 Mar 2002 20:11:00 +0000 (20:11 -0000)]
2002-03-05  Duncan Mak  <duncan@ximian.com>

* Int16.cs:
* Int32.cs:
* Int64.cs:
* Single.cs:
* UInt16.cs:
* UInt32.cs: Implement the IConvertible interface.

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

22 years ago2002-03-05 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 5 Mar 2002 19:30:53 +0000 (19:30 -0000)]
2002-03-05  Duncan Mak  <duncan@ximian.com>

* CharEnumerator.cs: Renamed to variables to be clearer and
changed some of the tests to conform to the 1.0 spec.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 5 Mar 2002 19:18:53 +0000 (19:18 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* ArrayTest.cs: Use unique labels for all the tests.
(TestSetValue4): A big new testcase.

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

22 years ago2002-03-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 5 Mar 2002 19:14:24 +0000 (19:14 -0000)]
2002-03-06  Martin Baulig  <martin@gnome.org>

* Array.cs (Copy): Calculate absolute array position here and use
GetValueImpl() and SetValueImpl() with that position. We can now
copy multi-dimensional arrays.
(CopyTo): Small bug fix.

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

22 years ago2002-03-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 5 Mar 2002 19:00:35 +0000 (19:00 -0000)]
2002-03-05  Martin Baulig  <martin@gnome.org>

* exception.c (mono_get_exception_argument_out_of_range): New exception.

* icall.c (ves_icall_System_Array_GetValue): Moved actual implementation to
ves_icall_System_Array_GetValue(), only calculate the absolute array position
here.
(ves_icall_System_Array_SetValue): Likewise.
(ves_icall_System_Array_GetValueImpl): New interncall. Takes an array position
as argument and does the actual work. This function is used when copying a
multi-dimensional array.
(ves_icall_System_Array_SetValueImpl): Almost completely rewrote this. It can
now do all the widening conversions of value types.
(ves_icall_System_Array_CreateInstanceImpl): Implemented.

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

22 years agoFixes for System.CharEnumerator and System.Version
Duco Fijma [Tue, 5 Mar 2002 18:20:41 +0000 (18:20 -0000)]
Fixes for System.CharEnumerator and System.Version

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

22 years agoTue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Mar 2002 16:44:57 +0000 (16:44 -0000)]
Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>

* TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.

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

22 years agoUpdate news
Miguel de Icaza [Tue, 5 Mar 2002 16:08:47 +0000 (16:08 -0000)]
Update news

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

22 years agoUpdate index
Miguel de Icaza [Tue, 5 Mar 2002 16:06:08 +0000 (16:06 -0000)]
Update index

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

22 years agoSorry about that, differing times in machines made me commit this bug
Miguel de Icaza [Tue, 5 Mar 2002 14:40:08 +0000 (14:40 -0000)]
Sorry about that, differing times in machines made me commit this bug

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

22 years agoClass-status is an autogenerated file, remove
Miguel de Icaza [Tue, 5 Mar 2002 14:38:05 +0000 (14:38 -0000)]
Class-status is an autogenerated file, remove

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

22 years ago2002-03-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 5 Mar 2002 14:31:42 +0000 (14:31 -0000)]
2002-03-05  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (MakeByteBlob): Replaced unsafe code with
BitConverter, as suggested by Paolo.

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

22 years ago2002-03-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 5 Mar 2002 14:22:05 +0000 (14:22 -0000)]
2002-03-05  Miguel de Icaza  <miguel@ximian.com>

* cfold.cs (ConstantFold.Binary): Special case: perform constant
folding of string concatenation, but if either side is a string,
and the other is not, then return null, and let the runtime use
the concatenation on the string plus the object (using
`Object.ToString').

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