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
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