mono.git
22 years agoTue Feb 26 11:43:34 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 26 Feb 2002 06:52:50 +0000 (06:52 -0000)]
Tue Feb 26 11:43:34 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: added profiling for object creation.

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

22 years agoNamespace declarations are now treated like attributes. Fixed bug in XmlNamespaceMana...
Jason Diamond [Tue, 26 Feb 2002 03:56:17 +0000 (03:56 -0000)]
Namespace declarations are now treated like attributes. Fixed bug in XmlNamespaceManager.HasNamespace. All tests now pass for both Mono and Microsoft.

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

22 years ago2002-02-26 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 26 Feb 2002 01:48:08 +0000 (01:48 -0000)]
2002-02-26  Duncan Mak  <duncan@ximian.com>

* XmlDocumentType.cs: Added a few hacks here and there to
temporarily fix the "I broke the build issue".

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

22 years ago2002-02-26 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 26 Feb 2002 01:31:14 +0000 (01:31 -0000)]
2002-02-26  Duncan Mak  <duncan@ximian.com>

* ImporterEventKind.cs: Added to CVS.

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

22 years ago2002-02-25 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 26 Feb 2002 00:37:40 +0000 (00:37 -0000)]
2002-02-25  Ravi Pratap  <ravi@ximian.com>

* parameter.cs (Parameter.ExternalType): Take in extra DeclSpace and
Location arguments. Ensure we use RootContext.LookupType to do our work
and not try to do a direct Type.GetType and ModuleBuilder.GetType

* interface.cs (PopulateMethod): Handle the type of the parameter being
null gracefully.

* expression.cs (Invocation.BetterFunction): Handle the case when we
have a params method with no fixed arguments and a call is made with no
arguments.

* More tomorrow - have to go home now and study :-)

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

22 years ago2002-02-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 25 Feb 2002 23:08:13 +0000 (23:08 -0000)]
2002-02-26  Martin Baulig  <martin@gnome.org>

* DateTimeTest.cs: New test.

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

22 years agoOoops, Miguel added this to the wrong directory.
Martin Baulig [Mon, 25 Feb 2002 23:06:44 +0000 (23:06 -0000)]
Ooops, Miguel added this to the wrong directory.

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

22 years agoRemoved a debugging statement and added myself to the authors list.
Martin Baulig [Mon, 25 Feb 2002 23:04:44 +0000 (23:04 -0000)]
Removed a debugging statement and added myself to the authors list.

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

22 years ago2002-02-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 25 Feb 2002 23:04:20 +0000 (23:04 -0000)]
2002-02-26  Martin Baulig  <martin@gnome.org>

* DateTime.cs: Miguel already committed this, but there was still a
ChangeLog entry for this missing ....
We're now reusing functionality from TimeSpan, printing dates is
fully implemented, currently working on parsing.

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

22 years ago2002-02-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 25 Feb 2002 22:51:13 +0000 (22:51 -0000)]
2002-02-26  Martin Baulig  <martin@gnome.org>

* TimeZoneTest.cs: New test.

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

22 years ago2002-02-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 25 Feb 2002 22:45:49 +0000 (22:45 -0000)]
2002-02-26  Martin Baulig  <martin@gnome.org>

* TimeZone.cs: Fully implemented this. There's a new InternCall in the
runtime for this.

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

22 years ago2002-02-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 25 Feb 2002 21:49:17 +0000 (21:49 -0000)]
2002-02-26  Martin Baulig  <martin@gnome.org>

* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData):
New icall to get the time zone data.

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

22 years ago2002-02-25 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 25 Feb 2002 21:29:11 +0000 (21:29 -0000)]
2002-02-25  Duncan Mak  <duncan@ximian.com>

* NameTable.cs: Implemented.

* XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.

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

22 years agoAdded simple test for XmlDocument. Made many fixes to existing code to get the test...
Jason Diamond [Mon, 25 Feb 2002 21:21:08 +0000 (21:21 -0000)]
Added simple test for XmlDocument. Made many fixes to existing code to get the test to pass.

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

22 years agoSmall bug fix
Miguel de Icaza [Mon, 25 Feb 2002 21:15:55 +0000 (21:15 -0000)]
Small bug fix

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

22 years ago2002-02-25 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 25 Feb 2002 21:10:55 +0000 (21:10 -0000)]
2002-02-25  Duncan Mak  <duncan@ximian.com>

* NameTable.cs: Implemented.

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

22 years agoAdd AllMembershipCondition from Ajay
Miguel de Icaza [Mon, 25 Feb 2002 20:53:08 +0000 (20:53 -0000)]
Add AllMembershipCondition from Ajay

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

22 years agoImprove tokenizer test
Miguel de Icaza [Mon, 25 Feb 2002 20:17:00 +0000 (20:17 -0000)]
Improve tokenizer test

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

22 years ago2002-02-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 25 Feb 2002 20:16:48 +0000 (20:16 -0000)]
2002-02-25  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Add support for the quote-escape-sequence in
the verbatim-string-literal

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

22 years agoAdd DateTime test from Martin
Miguel de Icaza [Mon, 25 Feb 2002 20:03:37 +0000 (20:03 -0000)]
Add DateTime test from Martin

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

22 years agoFurther updates from Martin
Miguel de Icaza [Mon, 25 Feb 2002 20:02:48 +0000 (20:02 -0000)]
Further updates from Martin

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

22 years agoAdded Bitmap.cs.
Christian Meyer [Mon, 25 Feb 2002 19:30:41 +0000 (19:30 -0000)]
Added Bitmap.cs.

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

22 years agoCompleted GuidTest.cs, created BitConverterTest.cs
Duco Fijma [Mon, 25 Feb 2002 17:15:28 +0000 (17:15 -0000)]
Completed GuidTest.cs, created BitConverterTest.cs

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

22 years agoAdd new test
Miguel de Icaza [Mon, 25 Feb 2002 16:06:01 +0000 (16:06 -0000)]
Add new test

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

22 years ago2002-02-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 25 Feb 2002 16:01:41 +0000 (16:01 -0000)]
2002-02-25  Miguel de Icaza  <miguel@ximian.com>

* support.cs (InternalParameters.ParameterModifier): handle null
fixed parameters.
(InternalParameters.ParameterType): ditto.

* parameter.cs (VerifyArgs): Also check if the fixed parameter is
duplicating the name of the variable parameter.
(GetParameterByName): Fix bug where we were not looking up array
paramters if they were the only present (thanks Paolo!).
(GetParameterInfo): We only have an empty set of types if both
fixed and array are set to null.
(GetParameterInfo-idx): Handle FixedParameter == null

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

22 years agoBug fixes and more implementation from Martin Baulig
Miguel de Icaza [Mon, 25 Feb 2002 15:28:10 +0000 (15:28 -0000)]
Bug fixes and more implementation from Martin Baulig

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

22 years ago2002-02-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 25 Feb 2002 14:46:43 +0000 (14:46 -0000)]
2002-02-25  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Handle the case where there is no catch
statements (missing null test).

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

22 years agoMon Feb 25 17:37:07 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Feb 2002 12:46:27 +0000 (12:46 -0000)]
Mon Feb 25 17:37:07 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: use correct value for guint64 max.

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

22 years ago2002-02-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 25 Feb 2002 11:23:03 +0000 (11:23 -0000)]
2002-02-25  Nick Drochak  <ndrochak@gol.com>

* One more note.

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

22 years agoMon Feb 25 15:51:51 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Feb 2002 11:01:46 +0000 (11:01 -0000)]
Mon Feb 25 15:51:51 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: set virtual and raw size of section correctly.
* threads.c: transfer domain information to newly created threads.

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

22 years ago2002-02-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 25 Feb 2002 10:38:38 +0000 (10:38 -0000)]
2002-02-25  Nick Drochak  <ndrochak@gol.com>

* TODO: added file.  Notes on what to do next.

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

22 years ago2002-02-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 25 Feb 2002 10:30:37 +0000 (10:30 -0000)]
2002-02-25  Nick Drochak  <ndrochak@gol.com>

* ToDoAssembly.cs: remove unused code
* ToDoNamespace.cs: using BindingFlags for GetMembers
* ToDoType.cs: throw exception if we encounter a member type
that we didn't expect. Also remove unused property.

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

22 years ago2002-02-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 25 Feb 2002 10:07:45 +0000 (10:07 -0000)]
2002-02-25  Nick Drochak  <ndrochak@gol.com>

* CorCompare.cs: remove old file.  Files are now in their own
sub directory.

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

22 years ago * ARM-related changes.
Sergey Chaban [Mon, 25 Feb 2002 09:18:58 +0000 (09:18 -0000)]
 * ARM-related changes.

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

22 years ago * ChangeLog: ARM-related log entry.
Sergey Chaban [Mon, 25 Feb 2002 08:58:43 +0000 (08:58 -0000)]
 * ChangeLog: ARM-related log entry.

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

22 years ago * Makefile.am: added arm to DIST_SUBDIRS.
Sergey Chaban [Mon, 25 Feb 2002 08:56:57 +0000 (08:56 -0000)]
 * Makefile.am: added arm to DIST_SUBDIRS.

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

22 years agoSome changes for Rijndael.
Mark Crichton [Mon, 25 Feb 2002 01:49:43 +0000 (01:49 -0000)]
Some changes for Rijndael.

Hopefully I did the Properties correctly (see the Rijndael constructor for
more info).

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

22 years ago2002-02-25 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 25 Feb 2002 01:27:59 +0000 (01:27 -0000)]
2002-02-25  Duncan Mak  <duncan@ximian.com>

    * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.

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

22 years ago2002-02-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 25 Feb 2002 01:24:51 +0000 (01:24 -0000)]
2002-02-24  Duncan Mak  <duncan@ximian.com>

    * XmlNodeOrder.cs: Added to CVS.

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

22 years ago* BooleanTest.cs: Use correct argument order in AssertEquals
Bob Doan [Sun, 24 Feb 2002 22:30:10 +0000 (22:30 -0000)]
* BooleanTest.cs: Use correct argument order in AssertEquals
* AllTests.cs: Added new Double test to suite.
* DoubleTest.cs: Add new test suite

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

22 years ago2002-02-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Feb 2002 21:05:59 +0000 (21:05 -0000)]
2002-02-24  Duncan Mak  <duncan@ximian.com>

    * XmlQualifiedName.cs: Fixed a warning from Equals ().

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

22 years ago (mono_create_method_pointer): implements delegates with parameters
Radek Doulik [Sun, 24 Feb 2002 20:46:13 +0000 (20:46 -0000)]
(mono_create_method_pointer): implements delegates with parameters
and return value

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

22 years ago2002-02-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Feb 2002 19:03:05 +0000 (19:03 -0000)]
2002-02-24  Duncan Mak  <duncan@ximian.com>

    * ICredentialLookup.cs: Added the GetCredential method to the
      interface. The interface is named "ICredentials", should this file
      be renamed?

    * NetworkCredential.cs: Added to CVS. Need to investigate on how
      GetCredential() works

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

22 years ago2002-02-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Feb 2002 18:50:34 +0000 (18:50 -0000)]
2002-02-24  Duncan Mak  <duncan@ximian.com>

        * XmlTokenizedType.cs: Added to CVS.

* XmlUrlResolver.cs: Added to CVS with one TODO task.

2002-02-23  Duncan Mak  <duncan@ximian.com>

* XmlQualifiedName.cs: Fixed ToString () and added the
operators (== and !=).

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

22 years ago * ARM support sources, initial check-in;
Sergey Chaban [Sun, 24 Feb 2002 17:44:55 +0000 (17:44 -0000)]
 * ARM support sources, initial check-in;

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

22 years agoSun Feb 24 13:58:34 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 24 Feb 2002 09:11:40 +0000 (09:11 -0000)]
Sun Feb 24 13:58:34 CET 2002 Paolo Molaro <lupus@ximian.com>

* jit.h, jit.c, emit-x86.c: Added a few statistics counters
and the --stats command line option to print them.
Fixed memory leak in arch_compile_method () when a method's code is
found in the cache. Fix magic trampoline to deal with static calls.

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

22 years ago2002-02-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 24 Feb 2002 05:03:11 +0000 (05:03 -0000)]
2002-02-24  Nick Drochak  <ndrochak@gol.com>

* Added other member types, refactored, and cleaned up a bit.
I think it's pretty much done.

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

22 years ago2002-02-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 24 Feb 2002 02:41:34 +0000 (02:41 -0000)]
2002-02-24 Nick Drochak  <ndrochak@gol.com>

* AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!

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

22 years ago2002-02-24 Radek Doulik <rodo@ximian.com>
Radek Doulik [Sun, 24 Feb 2002 01:40:17 +0000 (01:40 -0000)]
2002-02-24  Radek Doulik  <rodo@ximian.com>

* ppc/tramp.c (mono_create_method_pointer): basic delegates
implementation, it works for simple delegates now and I am already
pretty close to have it working for every delegates, but I am
going to sleep and finish it tomorrow?

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

22 years agoAdded support for namespaces on attributes.
Jason Diamond [Sat, 23 Feb 2002 19:32:22 +0000 (19:32 -0000)]
Added support for namespaces on attributes.

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

22 years agoInitial implementation of XmlNamespaceManager. Added support for NamespaceURI propert...
Jason Diamond [Sat, 23 Feb 2002 15:14:14 +0000 (15:14 -0000)]
Initial implementation of XmlNamespaceManager. Added support for NamespaceURI property to XmlTextReader for elements.

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

22 years ago2002-02-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 23 Feb 2002 12:45:01 +0000 (12:45 -0000)]
2002-02-24  Nick Drochak  <ndrochak@gol.com>

* Now it makes a decent looking status XML.  It only has methods
and properties, but they seem to be correct.  Not sure how
to handle the properties get_* set_* methods that show up. I'd
like to fold those into the properties, and remove them from
the methods. Next up is the rest of the Member Types.

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

22 years ago2002-02-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 23 Feb 2002 12:41:29 +0000 (12:41 -0000)]
2002-02-24  Nick Drochak  <ndrochak@gol.com>

* makefile: have 'clean' target remove the build directory

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

22 years ago2002-02-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 23 Feb 2002 10:24:14 +0000 (10:24 -0000)]
2002-02-23  Nick Drochak  <ndrochak@gol.com>

* System.XML.build: Change dll name to System.Xml.dll from
System.XML.dll (not easy to notice, btw)

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

22 years ago2002-02-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 23 Feb 2002 10:20:55 +0000 (10:20 -0000)]
2002-02-23  Nick Drochak <ndrochak@gol.com>

* TODOAttribute.cs: Added

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

22 years ago2002-02-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 23 Feb 2002 10:20:08 +0000 (10:20 -0000)]
2002-02-23  Nick Drochak <ndrochak@gol.com>

* ChangeLog: Add the change log to this directory

* XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
MonoTODO's

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

22 years ago2002-02-22 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 22 Feb 2002 21:56:35 +0000 (21:56 -0000)]
2002-02-22  Duncan Mak  <duncan@ximian.com>

    * System.Xml/XmlQualifiedName.cs: Implemented, but WTF is the
      Empty field? LameSpec?

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

22 years ago2002-02-22 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Fri, 22 Feb 2002 19:43:09 +0000 (19:43 -0000)]
2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>

* sparc/tramp.c (mono_create_trampoline): Much tinkering to get
the opcodes more correct. Still needs a lot of work.

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

22 years agoUpdate web site for 0.9
Miguel de Icaza [Fri, 22 Feb 2002 18:14:39 +0000 (18:14 -0000)]
Update web site for 0.9

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

22 years ago2002-02-22 Radek Doulik <rodo@ximian.com>
Radek Doulik [Fri, 22 Feb 2002 17:57:55 +0000 (17:57 -0000)]
2002-02-22  Radek Doulik  <rodo@ximian.com>

* interp.c: s/gulong/guint64 as it differs on ppc

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

22 years agoRemove System.Web and System.Drawing assemblies from the build
Miguel de Icaza [Fri, 22 Feb 2002 17:29:39 +0000 (17:29 -0000)]
Remove System.Web and System.Drawing assemblies from the build

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

22 years agoPrepare for 0.9
Miguel de Icaza [Fri, 22 Feb 2002 17:22:17 +0000 (17:22 -0000)]
Prepare for 0.9

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

22 years agoRemoved debugging message.
Paolo Molaro [Fri, 22 Feb 2002 16:16:09 +0000 (16:16 -0000)]
Removed debugging message.

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

22 years ago2002-02-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 22 Feb 2002 15:07:18 +0000 (15:07 -0000)]
2002-02-22  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (MainDriver):
Catch DirectoryNotFoundException when calling GetFiles.

(SplitPathAndPattern): Used to split the input specification into
a path and a pattern that we can feed to Directory.GetFiles.

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

22 years ago2002-02-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 22 Feb 2002 14:43:41 +0000 (14:43 -0000)]
2002-02-22  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Be conservative on our command line handling.

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

22 years agoIntroducing ObjectTest.
David Brandt [Fri, 22 Feb 2002 14:19:48 +0000 (14:19 -0000)]
Introducing ObjectTest.

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

22 years agoFri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 22 Feb 2002 14:11:44 +0000 (14:11 -0000)]
Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoField.cs: implement GetValue as an internalcall.
Implemented ToString().

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

22 years agoFri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 22 Feb 2002 14:11:17 +0000 (14:11 -0000)]
Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: disable constructor.
* Object.cs: make GetType() an internalcall.
* Type.cs: added correct bindingflags to GetMethods ().
All such calls should be reviewed to use the correct flags.

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

22 years agoFri Feb 22 18:55:57 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 22 Feb 2002 14:11:16 +0000 (14:11 -0000)]
Fri Feb 22 18:55:57 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c: when instancing a class in a domain, load the default
vaules for static fields from the constant table. Fix System.Enum to
not be an enum.
* icall.c: implement Object::GetType() internalcall. Implemented
MonoField::GetValue() internalcall. Avoid SEGV in search_method().
Fixed checking of binding flags in find_members().
* metadata.c, metadata.h: introduce mono_metadata_type_hash().
* reflection.c: handle enumerations when writing to the constant
table. Use a different object cache for types.

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

22 years ago1. Added EnumTest to AllTests
David Brandt [Fri, 22 Feb 2002 13:43:59 +0000 (13:43 -0000)]
1. Added EnumTest to AllTests
2. Cleaned up ConsoleTest, so it wasn't so greedy with stdout, etc.

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

22 years agoIntroducing EnumTest.
David Brandt [Fri, 22 Feb 2002 13:43:00 +0000 (13:43 -0000)]
Introducing EnumTest.

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

22 years ago2002-02-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 22 Feb 2002 12:26:53 +0000 (12:26 -0000)]
2002-02-23  Nick Drochak  <ndrochak@gol.com>

* Now shows some of the missing methods from the classes. It's
only showing one, so must be bug there somewhere. Need to
do other member types as well.

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

22 years ago2002-02-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 22 Feb 2002 12:19:36 +0000 (12:19 -0000)]
2002-02-23  Nick Drochak  <ndrochak@gol.com>

* SecurityElement.cs: fixed typo.  CorCompare helped me find this one
:)

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

22 years agoFri Feb 22 15:36:19 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 22 Feb 2002 10:45:18 +0000 (10:45 -0000)]
Fri Feb 22 15:36:19 CET 2002 Paolo Molaro <lupus@ximian.com>

* RuntimeHelpers.cs: added OffsetToStringData() property.

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

22 years agotest for vararg support
Dietmar Maurer [Fri, 22 Feb 2002 09:57:30 +0000 (09:57 -0000)]
test for vararg support

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

22 years ago2002-02-22 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 22 Feb 2002 09:33:44 +0000 (09:33 -0000)]
2002-02-22  Dietmar Maurer  <dietmar@ximian.com>

* object.c (mono_object_isinst): fix for arrays

* icall.c (ves_icall_type_is_subtype_of): fix for 2 interfaces

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

22 years agoDum de dum, forgot to commit.
Paolo Molaro [Fri, 22 Feb 2002 06:52:20 +0000 (06:52 -0000)]
Dum de dum, forgot to commit.

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

22 years agoFixed stupid typo. Test should now work.
Mark Crichton [Fri, 22 Feb 2002 00:25:29 +0000 (00:25 -0000)]
Fixed stupid typo.  Test should now work.

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

22 years ago2002-02-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 21 Feb 2002 21:17:26 +0000 (21:17 -0000)]
2002-02-21  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Fixed): Implement the last case of the Fixed
statement (string handling).

* expression.cs (StringPtr): New class used to return a char * to
a string;  Used by the Fixed statement.

* typemanager.cs: Add char_ptr_type.  Add get_OffsetToStringData method.

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

22 years ago2002-02-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 21 Feb 2002 18:58:38 +0000 (18:58 -0000)]
2002-02-21  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.ResolveOperator): Remove redundant
MemberLookup pn parent type.
Optimize union call, we do not need a union if the types are the same.
(Unary.ResolveOperator): REmove redundant MemberLookup on parent
type.

Specialize the use of MemberLookup everywhere, instead of using
the default settings.

(StackAlloc): Implement stackalloc keyword.

* cs-parser.jay: Add rule to parse stackalloc.

* driver.cs: Handle /h, /help, /?

Added two more tests, added an error test.

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

22 years agoTest for the RNGCryptoServiceProvider class. Hopefully it is correct...
Mark Crichton [Thu, 21 Feb 2002 18:52:44 +0000 (18:52 -0000)]
Test for the RNGCryptoServiceProvider class.  Hopefully it is correct...

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

22 years agoAdded contact info.
Mark Crichton [Thu, 21 Feb 2002 17:06:28 +0000 (17:06 -0000)]
Added contact info.

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

22 years agoFinish support for the System.Security.Cryptography.RNGCryptoServiceProvider
Mark Crichton [Thu, 21 Feb 2002 17:00:35 +0000 (17:00 -0000)]
Finish support for the System.Security.Cryptography.RNGCryptoServiceProvider
class.  Tests forthcoming.

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

22 years agoThu Feb 21 21:00:13 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Feb 2002 16:09:57 +0000 (16:09 -0000)]
Thu Feb 21 21:00:13 CET 2002 Paolo Molaro <lupus@ximian.com>

* object.c: don't use mprotect ()  and fix intern pool hash table
lookup for big endian systems.

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

22 years agoAdding ConsoleTest to AllTests
David Brandt [Thu, 21 Feb 2002 15:29:54 +0000 (15:29 -0000)]
Adding ConsoleTest to AllTests

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

22 years agoAdding tests for System.Console. Write (and WriteLine) are not exhautively tested.
David Brandt [Thu, 21 Feb 2002 15:29:30 +0000 (15:29 -0000)]
Adding tests for System.Console.  Write (and WriteLine) are not exhautively tested.

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

22 years agoThu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Feb 2002 14:39:58 +0000 (14:39 -0000)]
Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>

* Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
argument.

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

22 years agoThu Feb 21 19:30:29 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Feb 2002 14:39:54 +0000 (14:39 -0000)]
Thu Feb 21 19:30:29 CET 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: change type_is_subtype_of () signature.

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

22 years agoadded files from chris
Dietmar Maurer [Thu, 21 Feb 2002 14:32:45 +0000 (14:32 -0000)]
added files from chris

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

22 years agoLittle IsInterned test.
Paolo Molaro [Thu, 21 Feb 2002 14:24:30 +0000 (14:24 -0000)]
Little IsInterned test.

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

22 years agoOne of these days I'll remember how to use CVS. I swear.
Mark Crichton [Thu, 21 Feb 2002 13:35:02 +0000 (13:35 -0000)]
One of these days I'll remember how to use CVS.  I swear.

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

22 years agoCode for System.Security.Cryptography.RNGCryptoServiceProvider support.
Mark Crichton [Thu, 21 Feb 2002 12:15:28 +0000 (12:15 -0000)]
Code for System.Security.Cryptography.RNGCryptoServiceProvider support.

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

22 years agoThu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Feb 2002 12:05:49 +0000 (12:05 -0000)]
Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>

* Type.cs: implemented IsAssignableFrom.

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

22 years agoThu Feb 21 16:45:34 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Feb 2002 11:57:34 +0000 (11:57 -0000)]
Thu Feb 21 16:45:34 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c, icall.c, metadata.c: better support for pointer types.
Create a class for them as suggested by dietmar. Fix TYPE_ARRAY class.
* reflection.c: Add support for getting custom attrs for properties
and simplify some code.

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

22 years ago2002-02-22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 21 Feb 2002 11:35:41 +0000 (11:35 -0000)]
2002-02-22  Nick Drochak  <ndrochak@gol.com>

.cvsignore: new file.  ignore *.pdb and *.exe

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

22 years ago2002-02-22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 21 Feb 2002 11:31:58 +0000 (11:31 -0000)]
2002-02-22  Nick Drochak  <ndrochak@gol.com>

* makefile: move corcompare to it's own directory to hold multiple
class files.  still makes old corcompare for now.  will remove that
soon.

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

22 years ago2002-02-22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 21 Feb 2002 11:28:02 +0000 (11:28 -0000)]
2002-02-22  Nick Drochak  <ndrochak@gol.com>

* New corcompare directory. Split program into separate class
files and a driver. Creates XML file with missing and todo
classes.  Not quite done with all member types, and also
there's a bug where it adds a todo class more than once.
This is a disaster recovery checkin.

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

22 years agoMissing test.
Paolo Molaro [Thu, 21 Feb 2002 10:40:20 +0000 (10:40 -0000)]
Missing test.

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

22 years agoAdded Boolean Test Suite
Bob Doan [Thu, 21 Feb 2002 09:38:28 +0000 (09:38 -0000)]
Added Boolean Test Suite

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

22 years ago2002-02-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 21 Feb 2002 09:10:17 +0000 (09:10 -0000)]
2002-02-21  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: impl. SHR_UN for lreg, added new test, bug fix for BNE_UN

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