mono.git
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

22 years agoAdd new documentation file on the compiler
Miguel de Icaza [Tue, 5 Mar 2002 13:58:13 +0000 (13:58 -0000)]
Add new documentation file on the compiler

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

22 years agoRemove another confusing file
Miguel de Icaza [Tue, 5 Mar 2002 13:54:05 +0000 (13:54 -0000)]
Remove another confusing file

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

22 years agoRemove this file, it was confusing
Miguel de Icaza [Tue, 5 Mar 2002 13:52:39 +0000 (13:52 -0000)]
Remove this file, it was confusing

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

22 years agoFlush
Miguel de Icaza [Tue, 5 Mar 2002 13:29:21 +0000 (13:29 -0000)]
Flush

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

22 years agoTue Mar 5 18:12:40 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Mar 2002 13:27:52 +0000 (13:27 -0000)]
Tue Mar 5 18:12:40 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fix non-debug build and some more opcode work.

Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <lupus@ximian.com>

* dump.c: print index of the methodsemantics table.
* main.cs: print event information.

Tue Mar 5 18:14:01 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c: remove some magic numbers and use the smbolic names,
instead. Added init_events() to load event info at class init time.
* metadata.h, metadata.c: added mono_metadata_events_from_typedef()
and mono_metadata_methods_from_event().
* reflection.h, reflection.c: added support for writing out the evnets
related information.

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

22 years agoTue Mar 5 18:09:34 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Mar 2002 13:27:51 +0000 (13:27 -0000)]
Tue Mar 5 18:09:34 CET 2002 Paolo Molaro <lupus@ximian.com>

* EventBuilder.cs: implemented.
* TypeBuilder.cs: implemented DefineEvent() method and UnderlyingSystemType
property.

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

22 years agoTue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Mar 2002 12:45:42 +0000 (12:45 -0000)]
Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>

* SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
to do this dirty work, but someone has to do it (and I need it to pass
the "200 sample tests compiled on linux" mark).

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

22 years ago2002-03-06 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 5 Mar 2002 12:44:03 +0000 (12:44 -0000)]
2002-03-06  Nick Drochak  <ndrochak@gol.com>

* VersionTest.cs: Fix for mscorlib behavior vs. docs. CompareTo(null)
is legal.

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

22 years ago2002-03-06 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 5 Mar 2002 12:08:17 +0000 (12:08 -0000)]
2002-03-06  Nick Drochak  <ndrochak@gol.com>

* Attribute.cs
* DecimalFormatter.cs
* Delegate.cs
* Double.cs
* GC.cs
* Int16.cs
* Int32.cs
* MonoType.cs
* RuntimeMethodHandle.cs
* RuntimeTypeHandle.cs
* String.cs
* Type.cs:
Add [MonoTODO]'s to places where we currently throw a
NotImplementedException.

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

22 years ago2002-03-06 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 5 Mar 2002 12:00:34 +0000 (12:00 -0000)]
2002-03-06  Nick Drochak  <ndrochak@gol.com>

* UInt16Test.cs:
* UInt32Test.cs:
* UInt64Test.cs: Use NumberFormatInfo.InvariantInfo.CurrencySymbol
where "$" was used. Should help suppress false negatives on systems
where "$" is not the currency symbol.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 11:48:06 +0000 (11:48 -0000)]
2002-03-05    Gaurav Vaish <gvaish@iitk.ac.in>

* ChangeLog:  My frustration appears here.

------------------------------------------------------------------
------------------------------------------------------------------
I AM TOTALLY SCREWED UP. NO GUESSES WHATSOEVER ON WHAT TO DO NOW!!
------------------------------------------------------------------
------------------------------------------------------------------

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 11:46:49 +0000 (11:46 -0000)]
2002-03-05   Gaurav Vaish <gvaish@iitk.ac.in>

* I am screwed up. I will now go back and read some theory and develop
  some architecture before I proceed on.

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

22 years agoFix compilation, I did not finish upgrading a piece of the code
Miguel de Icaza [Tue, 5 Mar 2002 11:31:02 +0000 (11:31 -0000)]
Fix compilation, I did not finish upgrading a piece of the code

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 11:21:09 +0000 (11:21 -0000)]
2002-03-05    Gaurav Vaish <gvaish@iitk.ac.in>

* System.Web.build -- Keep Web.Security stuff away from build for the
   time being.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 11:17:46 +0000 (11:17 -0000)]
2002-03-05      Gaurav Vaish <gvaish@iitk.ac.in>

* *.cs -- *EventHandler.cs - Minor Corrections.

* Others -- Either complete, or first draft.

* ChangeLog, TODO -- Updated in accordance.

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

22 years ago x86.brg: use x86_widen_reg for CONV opcodes
Dietmar Maurer [Tue, 5 Mar 2002 07:51:05 +0000 (07:51 -0000)]
x86.brg: use x86_widen_reg for CONV opcodes

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

22 years ago2002-03-05 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 5 Mar 2002 05:59:56 +0000 (05:59 -0000)]
2002-03-05  Dietmar Maurer  <dietmar@ximian.com>

* Int16.cs (Parse): do not overflow on max negative value

* Int32.cs (Parse): do not overflow on max negative value

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

22 years agoAdd Constant Folder
Miguel de Icaza [Tue, 5 Mar 2002 03:07:35 +0000 (03:07 -0000)]
Add Constant Folder

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

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

Constant Folding has been implemented now.

* expression.cs (Unary.Reduce): Do not throw an exception, catch
the error instead on types that are not supported in one's
complement.

* constant.cs (Constant and all children): New set of functions to
perform implict and explicit conversions.

* ecore.cs (EnumConstant): Implement the new functions to perform
conversion by proxying to the child expression.

* codegen.cs: (ConstantCheckState): Constant evaluation has its
own separate setting that can not be turned off from the command
line using --unchecked or --checked and is only controlled using
the checked/unchecked statements and expressions.  This setting is
used by the constant folder to flag errors.

* expression.cs (CheckedExpr, UncheckedExpr): Set the
ConstantCheckState as well.

During Resolve, they also have to flag the state, because the
constant folder runs completely in the Resolve phase.

* statement.cs (Checked, Unchecked): Set the ConstantCheckState as
well.

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

* cfold.cs: New file, this file contains the constant folder.

* ecore.cs (IMemoryLocation.AddressOf): Now takes an extra
argument to track whether we are using the resulting address to
load or store a value and provide better error messages.

(FieldExpr.Emit, FieldExpr.EmitAssign, FieldExpr.AddressOf): Use
new AddressOf arguments.

* statement.cs (Foreach.EmitCollectionForeach): Update

* expression.cs (Argument.Emit): Call AddressOf with proper
arguments to track usage.

(New.DoEmit): Call AddressOf with new arguments.

(Unary.Emit): Adjust AddressOf call.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 01:59:20 +0000 (01:59 -0000)]
2002-03-05      Gaurav Vaish <gvaish@iitk.ac.in>

* ChangeLog: What I am upto. READ THIS.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 01:57:41 +0000 (01:57 -0000)]
2002-03-05     Gaurav Vaish <gvaish@iitk.ac.in>

* Don't bother much right now. I am busy making a build. Hopefully, I will
  succeed..

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

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

* ISymbolWriter.cs:
(DefineParameter) corrected typo in argument type.
(SetMethodSourceRange): Fixed typo in method name.

* ISymbolDocument.cs:
(CheckSumAlgorithmId) Fixed typo.

* ISymbolNamespace.cs:
(GetVariable) Added missing method.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 01:22:53 +0000 (01:22 -0000)]
2002-03-05    Gaurav Vaish <gvaish@iitk.ac.in>

* *.cs: First work, of delegates.

* ChangeLog, TODO: Details about the namespace.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 01:07:40 +0000 (01:07 -0000)]
2002-03-05    Gaurav Vaish <gvaish@iitk.ac.in>

* GenerateDelegate.cs -- Generate delegates at your whim. Quite useful tool.

* ChangeLog -- SHOULD NOT MISS IT. has description about the tool.

* makefile -- Makes it.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 5 Mar 2002 00:44:49 +0000 (00:44 -0000)]
2002-03-05    Gaurav Vaish <gvaish@iitk.ac.in>

* .cvsignore: Obviously, the first file to go into commit.

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

22 years ago2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 4 Mar 2002 23:58:44 +0000 (23:58 -0000)]
2002-03-05     Gaurav Vaish <gvaish@iitk.ac.in>

* ChangeLog: Added System.Web.Security

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

22 years agoremove 'ghost' types from tree
Piers Haken [Mon, 4 Mar 2002 16:23:32 +0000 (16:23 -0000)]
remove 'ghost' types from tree

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

22 years agoMon Mar 4 20:34:52 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 15:48:18 +0000 (15:48 -0000)]
Mon Mar 4 20:34:52 CET 2002 Paolo Molaro <lupus@ximian.com>

* ILGenerator.cs: make enough room in the byte array for string
tokens.
* TypeBuilder.cs: fixed GetInterfaces().

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

22 years agoMon Mar 4 20:32:43 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 15:47:41 +0000 (15:47 -0000)]
Mon Mar 4 20:32:43 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.h, icall.c: use a different method (GetInterfaces)
to gather interface info and add isbyref, isprimitive and
ispointer to the ves_icall_get_type_info() return value.

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

22 years agoMon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 15:47:37 +0000 (15:47 -0000)]
Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>

* Type.cs: fixed IsClass.
* MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
IsByRefImpl. Added GetInterfaces().
* IServiceProvider.cs: compilation fix.

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

22 years ago2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 4 Mar 2002 15:06:29 +0000 (15:06 -0000)]
2002-03-04   Gaurav Vaish <gvaish@iitk.ac.in>

* Repeater.cs -- 90% done.

* ChangeLog -- DON'T MISS THIS UPDATE. This reveals a lot about what is done,
 is being done and what is left out.

************************************************************
THIS COMPLETES MY TASK IN WebControls for the time being.
************************************************************

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

22 years ago2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 4 Mar 2002 15:05:13 +0000 (15:05 -0000)]
2002-03-04      Gaurav Vaish <gvaish@iitk.ac.in>

* class.xml: Updation about the last class: Repeater

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

22 years agoMon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 13:46:25 +0000 (13:46 -0000)]
Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>

* Array.cs: allow copying an empty array to an empty array.

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

22 years agoMon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 13:08:55 +0000 (13:08 -0000)]
Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>

* String.cs: fixed LastIndexOf (string) to do a bit of argument
checking.

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

22 years agoWe don't need the sample anymore. We've got the real thing.
Nick Drochak [Mon, 4 Mar 2002 12:40:09 +0000 (12:40 -0000)]
We don't need the sample anymore.  We've got the real thing.

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

22 years agoCreated tests for System.Version and fixed the bugs they revealed
Duco Fijma [Mon, 4 Mar 2002 11:59:36 +0000 (11:59 -0000)]
Created tests for System.Version and fixed the bugs they revealed

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

22 years ago2002-03-04 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 4 Mar 2002 10:15:30 +0000 (10:15 -0000)]
2002-03-04  Nick Drochak  <ndrochak@gol.com>

* IServiceProvider.cs: Add missing attribute: ComVisible(false)
* Attribute.cs: Add missing attributes: Serializable and
AttributeUsage(AttributeTargets.All)

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

22 years agoMon Mar 4 11:30:40 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 06:41:24 +0000 (06:41 -0000)]
Mon Mar 4 11:30:40 CET 2002 Paolo Molaro <lupus@ximian.com>

* TypeBuilder.cs: implemented GetConstructors(), GetFields(),
GetMethods(), GetProperties().

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

22 years agoMon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 06:41:02 +0000 (06:41 -0000)]
Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: implemented GetConstructors(), GetFields(),
GetMethods(), GetProperties().
* Object.cs: added debugging icall obj_address().
* Type.cs: fixed the binding flags for some Get* methods.
Implemented FindMembers() as calls to the specific GetMember
methods.

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

22 years agoMon Mar 4 11:21:44 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Mar 2002 06:41:00 +0000 (06:41 -0000)]
Mon Mar 4 11:21:44 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: print the address of 'this' in tracing mode.

Mon Mar 4 11:22:26 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.h: stared adding support for events.
* icall.c: split find_members implementation. Added debug icall to get
the address of an object.
* reflection.c: handle TypeBuilders in mono_type_get_object().

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

22 years ago2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 4 Mar 2002 06:03:56 +0000 (06:03 -0000)]
2002-03-04   Gaurav Vaish <gvaish@iitk.ac.in>

* class.xml: Latest updates about WebControls universe...

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

22 years ago*** empty log message ***
Gaurav Vaish [Mon, 4 Mar 2002 05:57:33 +0000 (05:57 -0000)]
*** empty log message ***

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

22 years ago*** empty log message ***
Gaurav Vaish [Mon, 4 Mar 2002 05:50:39 +0000 (05:50 -0000)]
*** empty log message ***

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

22 years ago2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 4 Mar 2002 05:43:49 +0000 (05:43 -0000)]
2002-03-04       Gaurav Vaish <gvaish@iitk.ac.in>

* *EventArgs.cs  -- Damn! I marked them "*" and forgot to even write them.

* ChangeLog -- Updated

* TODO -- I guess, nothing to do with this.

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

22 years ago2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 4 Mar 2002 05:05:37 +0000 (05:05 -0000)]
2002-03-03     Gaurav Vaish <gvaish@iitk.ac.in>

* Repeater.cs  -- File added to CVS. Will work on it sometime later. Feeling
 sleepy - at 2:30 in the afternoon. ;-)

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

22 years ago2002/03/04 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 4 Mar 2002 04:58:57 +0000 (04:58 -0000)]
2002/03/04  Nick Drochak  <ndrochak@gol.com>

* Header.cs: Change properties into fields where they should be.

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

22 years ago2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 4 Mar 2002 04:57:26 +0000 (04:57 -0000)]
2002-03-04     Gaurav Vaish <gvaish@iitk.ac.in>

* BaseValidator.cs -- Rejuvination.

* **.cs (Added)  -- Completed ones (I guess)

* ChangeLog -- DON'T MISS THIS

* TODO -- Updated in accordance..

NOW I HAVE ONLY ONE CLASS THAT REMAINS 0% implemented and that is Repeater.

I will start work on it soon.

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

22 years ago2002-03-04 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 3 Mar 2002 19:17:02 +0000 (19:17 -0000)]
2002-03-04  Nick Drochak  <ndrochak@gol.com>

* JulianCalendar.cs: JulianEra should be field, not a property.
Thanks CorCompare (and Piers).

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

22 years agoFixes for XmlComment, XmlProcessingInstruction, and XmlDocument courtesy of Kral...
Jason Diamond [Sun, 3 Mar 2002 17:23:46 +0000 (17:23 -0000)]
Fixes for XmlComment, XmlProcessingInstruction, and XmlDocument courtesy of Kral Ferch <kral_ferch@hotmail.com>.

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

22 years agoCompleted cases in CharEnumeratorTest.cs
Duco Fijma [Sun, 3 Mar 2002 17:10:57 +0000 (17:10 -0000)]
Completed cases in CharEnumeratorTest.cs

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

22 years agobase class for tree elements
Piers Haken [Sun, 3 Mar 2002 15:50:54 +0000 (15:50 -0000)]
base class for tree elements

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

22 years agoaesthetic changes
Piers Haken [Sun, 3 Mar 2002 15:48:53 +0000 (15:48 -0000)]
aesthetic changes

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

22 years agoupdated CorCompare.exe switches to reflect arbitrary assembly support
Piers Haken [Sun, 3 Mar 2002 15:44:34 +0000 (15:44 -0000)]
updated CorCompare.exe switches to reflect arbitrary assembly support

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

22 years agoadded support for:
Piers Haken [Sun, 3 Mar 2002 15:43:42 +0000 (15:43 -0000)]
added support for:
property accessors
hiding of property methods
attributes
arbitrary assemblies
fixed visibility

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

22 years agosupport for accessors, attributes.
Piers Haken [Sun, 3 Mar 2002 14:41:17 +0000 (14:41 -0000)]
support for accessors, attributes.
help fixes.

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

22 years agoimage for attRibutes
Piers Haken [Sun, 3 Mar 2002 14:39:55 +0000 (14:39 -0000)]
image for attRibutes

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

22 years agoForgot to check this in. Sorry.
Jason Diamond [Sun, 3 Mar 2002 14:32:54 +0000 (14:32 -0000)]
Forgot to check this in. Sorry.

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

22 years ago2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Sun, 3 Mar 2002 13:44:50 +0000 (13:44 -0000)]
2002-03-03     Gaurav Vaish <gvaish@iitk.ac.in>

* **.cs: Some completed, some left.

* ChangeLog, TODO: The best places to see what I do. Highly verbose.

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

22 years ago2002-03-03 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 3 Mar 2002 10:50:52 +0000 (10:50 -0000)]
2002-03-03  Nick Drochak  <ndrochak@gol.com>

* corlib.build: Exclude a bunch of interfaces from corlib_res.dll
that were preventing the tests from running on Windows.

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

22 years ago2002-03-03 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 3 Mar 2002 10:48:05 +0000 (10:48 -0000)]
2002-03-03  Nick Drochak  <ndrochak@gol.com>

* corlib_test.build: Turn on debug flag for complier so that...well...
debugging is easier.

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

22 years ago2002-03-03 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 3 Mar 2002 10:43:43 +0000 (10:43 -0000)]
2002-03-03  Nick Drochak  <ndrochak@gol.com>

* DateTimeTest.cs: make static member non-static -- wouldn't work on
Windows if it was static. Doesn't _need_ to be static anyway.

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

22 years agonew event image
Piers Haken [Sun, 3 Mar 2002 08:52:56 +0000 (08:52 -0000)]
new event image

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

22 years ago2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Sun, 3 Mar 2002 04:36:17 +0000 (04:36 -0000)]
2002-03-03     Gaurav Vaish <gvaish@iitk.ac.in>

* *Collection.cs -- Added, completed.

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

22 years ago2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Sun, 3 Mar 2002 04:34:14 +0000 (04:34 -0000)]
2002-03-03    Gaurav Vaish <gvaish@iitk.ac.in>

* RangeValidator.cs      -- Status tag in the comments, to mark it 100%

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

22 years ago2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Sun, 3 Mar 2002 04:33:21 +0000 (04:33 -0000)]
2002-03-03     Gaurav Vaish <gvaish@iitk.ac.in>

* *.cs: Completed.

* ChangeLog, TODO: Updated with latest status.

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

22 years agoImplemented all of the CreateElement and CreateAttribute methods.
Jason Diamond [Sun, 3 Mar 2002 03:06:50 +0000 (03:06 -0000)]
Implemented all of the CreateElement and CreateAttribute methods.

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

22 years agoGot attributes and text nodes working while loading a document.
Jason Diamond [Sun, 3 Mar 2002 00:35:09 +0000 (00:35 -0000)]
Got attributes and text nodes working while loading a document.

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

22 years agoIn Test:
Mike Kestner [Sat, 2 Mar 2002 23:05:24 +0000 (23:05 -0000)]
In Test:
2002-03-02  Mike Kestner <mkestner@speakeasy.net>

* XmlAttributeTests.cs : New test suite for attrs.
* AllTests.cs : Add the attr suite.

In System.Xml:
2002-03-02  Mike Kestner <mkestner@speakeasy.net>

* XmlAttribute.cs : Using fix.
* XmlDocument.cs (CreateAttribute(String)): Implement.

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

22 years agoCreated new tests for System.Attribute and System.CharEnumerator
Duco Fijma [Sat, 2 Mar 2002 19:16:11 +0000 (19:16 -0000)]
Created new tests for System.Attribute and System.CharEnumerator

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

22 years agoFixed off by one error in StringReader.Peek() and Read().
Jason Diamond [Sat, 2 Mar 2002 19:08:03 +0000 (19:08 -0000)]
Fixed off by one error in StringReader.Peek() and Read().

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

22 years agoXmlNamespaceManager now adds prefixes and namespaces to its name table.
Jason Diamond [Sat, 2 Mar 2002 17:52:27 +0000 (17:52 -0000)]
XmlNamespaceManager now adds prefixes and namespaces to its name table.

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

22 years ago2002-03-01 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sat, 2 Mar 2002 04:28:31 +0000 (04:28 -0000)]
2002-03-01  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (SimpleName.SimpleNameResolve): Perform a check on ec.TypeContainer.TypeBuilder
not being null.

* codegen.cs (EmitContext): The constructor now takes in an extra argument specifying the
DeclSpace as the distinction is important. We provide sane defaults as usually the TypeContainer
is the DeclSpace.

* Update code everywhere accordingly.

* ecore.cs : Change references to ec.TypeContainer to ec.DeclSpace where appropriate.

* cs-parser.jay (enum_declaration): Set the current namespace of the enum.

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

22 years agohelp links for interfaces
Piers Haken [Sat, 2 Mar 2002 01:30:16 +0000 (01:30 -0000)]
help links for interfaces

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

22 years agoWe only need one such file, let's keep it in class/doc/ ....
Martin Baulig [Fri, 1 Mar 2002 21:23:41 +0000 (21:23 -0000)]
We only need one such file, let's keep it in class/doc/ ....

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

22 years ago2002-03-01 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 1 Mar 2002 21:20:00 +0000 (21:20 -0000)]
2002-03-01  Ravi Pratap  <ravi@ximian.com>

* cs-parser.jay (member_access): Change the case for pre-defined types
to use a MemberAccess instead of a SimpleName. Thanks to Felix again for
this suggestion.

* class.cs (Operator::Emit): If we are abstract or extern, we don't have
a method body.

* attribute.cs (CheckAttribute, ApplyAttribute): Ensure that treat operators
essentially like methods and apply attributes like MethodImplOptions.

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

22 years ago2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
Christopher Podurgiel [Fri, 1 Mar 2002 20:57:10 +0000 (20:57 -0000)]
2002-03-01  Christopher Podurgiel <cpodurgiel@msn.com>

* DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
default name if the ColumnName is null.
* DataSet.cs : Added
* DataTable.cs : Added
* DataRelationCollection.cs : Added
* DataTableRelationCollection.cs : Added
* DataColumn : Added

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

22 years agoFix bug in BitConverter.ToString
Duco Fijma [Fri, 1 Mar 2002 18:13:33 +0000 (18:13 -0000)]
Fix bug in BitConverter.ToString

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

22 years agoUpdated.
Martin Baulig [Fri, 1 Mar 2002 17:59:11 +0000 (17:59 -0000)]
Updated.

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

22 years agoDisable ByteTest:TestParse.
Martin Baulig [Fri, 1 Mar 2002 17:58:23 +0000 (17:58 -0000)]
Disable ByteTest:TestParse.

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

22 years agoComment out TestGetEnumerator.
Martin Baulig [Fri, 1 Mar 2002 17:57:04 +0000 (17:57 -0000)]
Comment out TestGetEnumerator.

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

22 years ago2002-03-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 1 Mar 2002 17:53:39 +0000 (17:53 -0000)]
2002-03-01  Martin Baulig  <martin@gnome.org>

* Array.cs: More argument checking and bug fixing.

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

22 years ago2002-03-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 1 Mar 2002 17:47:56 +0000 (17:47 -0000)]
2002-03-01  Martin Baulig  <martin@gnome.org>

* icall.c (ves_icall_System_Array_GetLength): This must throw an
ArgumentOutOfRangeException(), not an ArgumentException().
(ves_icall_System_Array_GetLowerBound): Likewise.
(ves_icall_System_Array_GetValue): Improved argument checking.
(ves_icall_System_Array_SetValue): Improved argument checking.

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

22 years agoFlush
Miguel de Icaza [Fri, 1 Mar 2002 14:55:19 +0000 (14:55 -0000)]
Flush

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

22 years agoReplace scp for rsync, updating the web page was getting slow
Miguel de Icaza [Fri, 1 Mar 2002 14:52:52 +0000 (14:52 -0000)]
Replace scp for rsync, updating the web page was getting slow

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

22 years agoFlush
Miguel de Icaza [Fri, 1 Mar 2002 14:46:20 +0000 (14:46 -0000)]
Flush

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

22 years ago2002-03-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 1 Mar 2002 14:41:46 +0000 (14:41 -0000)]
2002-03-01  Miguel de Icaza  <miguel@ximian.com>

* BitConverter.cs: Indentation match

* AppDomain.cs: Added MonoTODOs to this too.

* Buffer.cs: Added MonoTODOs to this.

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

22 years agoUpdated.
Martin Baulig [Fri, 1 Mar 2002 14:32:15 +0000 (14:32 -0000)]
Updated.
Tests Run: 23, Failures: 7, Errors: 11

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

22 years agoUpdated.
Martin Baulig [Fri, 1 Mar 2002 14:18:21 +0000 (14:18 -0000)]
Updated.

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

22 years ago2002-03-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 1 Mar 2002 14:14:19 +0000 (14:14 -0000)]
2002-03-01  Martin Baulig  <martin@gnome.org>

* ArrayTest.cs: Commented out a few bits which are not yet implemented and
marked them with FIXME's.

* DecimalTest.cs, DecimalTest2.cs: Added zero-arg constructors.

* MartinTests.cs: Enabled ArrayTests.cs.

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

22 years ago2002-03-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 1 Mar 2002 14:06:13 +0000 (14:06 -0000)]
2002-03-01  Martin Baulig  <martin@gnome.org>

* Array.cs: Added argument checking to all methods where it was missing.

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

22 years ago2002-03-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 1 Mar 2002 14:01:17 +0000 (14:01 -0000)]
2002-03-01  Martin Baulig  <martin@gnome.org>

* icall.c (ves_icall_System_Array_GetValue): Raise an exception when
called with invalid arguments rather than just dying with g_assert().
(ves_icall_System_Array_SetValue): Likewise.
(ves_icall_System_Array_CreateInstanceImpl): Don't g_assert_not_reached(),
raise a NotImplementedException instead.
(ves_icall_System_Array_GetLength): Added argument checking.
(ves_icall_System_Array_GetLowerBound): Added argument checking.

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

22 years ago object.h (MONO_CHECK_ARG_NULL): check if argument name exists
Dietmar Maurer [Fri, 1 Mar 2002 13:47:14 +0000 (13:47 -0000)]
object.h (MONO_CHECK_ARG_NULL): check if argument name exists

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

22 years ago * jit.c (MAKE_SPILLED_BI_ALU): remove unnecessary assertions
Dietmar Maurer [Fri, 1 Mar 2002 13:30:45 +0000 (13:30 -0000)]
* jit.c (MAKE_SPILLED_BI_ALU): remove unnecessary assertions

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

22 years agoUpdated coding style guidelines
Miguel de Icaza [Fri, 1 Mar 2002 12:13:29 +0000 (12:13 -0000)]
Updated coding style guidelines

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

22 years agoCompleted BitConverterTest, fixed bugs found in BitConverter.ToString methods
Duco Fijma [Fri, 1 Mar 2002 12:02:03 +0000 (12:02 -0000)]
Completed BitConverterTest, fixed bugs found in BitConverter.ToString methods

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

22 years ago2002-02-28 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 1 Mar 2002 11:58:37 +0000 (11:58 -0000)]
2002-02-28  Ravi Pratap  <ravi@ximian.com>

* rootcontext.cs (LookupType): As we cycle through the chain of namespaces
try performing lookups against those instead of jumping straight into using
the 'using' clauses.

(ImplicitParent): Add. Thanks to Felix Arrese-Igor for this idea.

(LookupType): Perform lookups in implicit parents too.

* class.cs (GetInterfaceOrClass): Modify to perform the exact same lookup
sequence as RootContext.LookupType.

* rootcontext.cs (NamespaceLookup): Split out code from LookupType which tries
the various cases of namespace lookups into this method.

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

22 years agoUse mono instead of mint in script
Miguel de Icaza [Fri, 1 Mar 2002 11:52:13 +0000 (11:52 -0000)]
Use mono instead of mint in script

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