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

22 years agoFixed Guid.Guid(string)
Duco Fijma [Thu, 21 Feb 2002 08:35:07 +0000 (08:35 -0000)]
Fixed Guid.Guid(string)

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

22 years ago- CultureInfo implements IFormatProvider
Daniel Stodden [Thu, 21 Feb 2002 06:56:17 +0000 (06:56 -0000)]
- CultureInfo implements IFormatProvider
- DateTime/NumberformatInfo _FomatInfo ecma-lamespec corrections
- integer type cleanup accordingly

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

22 years agoMention mono-bugs, and link to the bugzilla query for Mono bugs
Miguel de Icaza [Thu, 21 Feb 2002 02:45:10 +0000 (02:45 -0000)]
Mention mono-bugs, and link to the bugzilla query for Mono bugs

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

22 years agoRun all tests, not only the safe tests
Miguel de Icaza [Thu, 21 Feb 2002 02:37:14 +0000 (02:37 -0000)]
Run all tests, not only the safe tests

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

22 years agoAllow this to use the LGPL
Miguel de Icaza [Thu, 21 Feb 2002 02:37:01 +0000 (02:37 -0000)]
Allow this to use the LGPL

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

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

* expression.cs (MakeByteBlob): Removed the hacks we had in place
before we supported unsafe code.

* makefile: add --unsafe to the self compilation of mcs.

2002-02-20  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (PointerArithmetic): New class that is used to
perform pointer arithmetic.
(Binary.Resolve): Handle pointer arithmetic
Handle pointer comparission.
(ArrayPtr): Utility expression class that is used to take the
address of an array.

(ElementAccess): Implement array access for pointers

* statement.cs (Fixed): Implement fixed statement for arrays, we
are missing one more case before we are done.

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

22 years agoUpdate manual
Miguel de Icaza [Thu, 21 Feb 2002 02:34:18 +0000 (02:34 -0000)]
Update manual

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

22 years ago2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Thu, 21 Feb 2002 00:47:18 +0000 (00:47 -0000)]
2002-02-21      Gaurav Vaish <gvaish@iitk.ac.in>

* DataGrid.cs: Almost done. See ChangeLog

* DataGridItem.cs -- Dummy Implementation

* DataGridItemCollection.cs  -- Completed

* ChangeLog, TODO -- Updated with updates

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

22 years ago2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Thu, 21 Feb 2002 00:23:42 +0000 (00:23 -0000)]
2002-02-21   Gaurav Vaish <gvaish@iitk.ac.in>

* class.xml -- Updates for the latest in WebControls...

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

22 years agoAdd indirection support, it was missing.
Miguel de Icaza [Thu, 21 Feb 2002 00:10:13 +0000 (00:10 -0000)]
Add indirection support, it was missing.

2002-02-20  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Indirection): Implement EmitAssign and set the
ExprClass to Variable.  This allows pointer dereferences to be
treated as variables, and to have values assigned to them.

* ecore.cs (Expression.StoreFromPtr): New utility function to
store values dereferencing.

2002-02-20  Miguel de Icaza  <miguel@ximian.com>

* unsafe-1.cs: Extend test.

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

22 years ago2002-02-20 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 20 Feb 2002 23:03:57 +0000 (23:03 -0000)]
2002-02-20  Ravi Pratap  <ravi@ximian.com>

* decl.cs (CheckMethodAgainstBase): Do not allow overriding if
the parent implementation is sealed.

* ../errors/cs0239.cs : Add.

* attribute.cs (ApplyAttributes): Handle Modulebuilders too.

* typemanager.cs (unverifiable_code_type): Corresponds to
System.Security.UnverifiableCodeAttribute. We need to emit this for modules
which have unsafe code in them.

* rootcontext.cs (EmitCode): Emit the above attribute when we are in an
unsafe context.

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

22 years agoAdd
Ravi Pratap M [Wed, 20 Feb 2002 22:27:36 +0000 (22:27 -0000)]
Add

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

22 years ago2002-02-20 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 20 Feb 2002 21:43:10 +0000 (21:43 -0000)]
2002-02-20  Ravi Pratap  <ravi@ximian.com>

* expression.cs (Binary.ResolveOperator): Ensure that we are

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

22 years agoUpdated news
Miguel de Icaza [Wed, 20 Feb 2002 19:19:57 +0000 (19:19 -0000)]
Updated news

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

22 years agoMore tests.
Paolo Molaro [Wed, 20 Feb 2002 17:45:22 +0000 (17:45 -0000)]
More tests.

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

22 years agoWed Feb 20 22:30:49 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Feb 2002 17:44:02 +0000 (17:44 -0000)]
Wed Feb 20 22:30:49 CET 2002 Paolo Molaro <lupus@ximian.com>

* AssemblyBuilder.cs: upped compiled assembly size limit.
Implemented SetCustomAttribute () methods.
* CustomAttributeBuilder.cs: implemented the needed constructor
stuff.
* Cosntructorbuilder.cs, EnumBuilder.cs, FieldBuilder.cs,
MethodBuilder.cs, ModuleBuilder.cs, ParameterBuilder.cs,
PropertyBuilder.cs, TypeBuilder.cs: Implemented SetCustomAttribute () methods.

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

22 years agoWed Feb 20 22:20:29 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Feb 2002 17:44:02 +0000 (17:44 -0000)]
Wed Feb 20 22:20:29 CET 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: change getToken () and add custom attribute GetBlob()helper
method.
* reflection.h: add custom attrs array to the reflection builder structures.
* reflection.c: encode and emit custom attributes for all the relevant
reflection objects. Cache fieldref and methodref tokens. Change
mono_image_create_token() interface to take a MonoDynamicAssembly.
More complete custom attributes decoder. Load custom attributes for
Assembly, Field, Method and Constructor objects, too. Make the
returned array an Attribute[] one, not object[]. Added
mono_reflection_get_custom_attrs_blob() to encode the arguments of a
custom attribute constructor.

Wed Feb 20 22:18:40 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: more complete runtime_invoke () implementation.
Fixed castclass/isinst to work correctly with arrays.

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

22 years agoWed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Feb 2002 17:26:40 +0000 (17:26 -0000)]
Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>

* dump.c: fix the fix and more complete custom attribute decoder.

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

22 years agoFleshing out Hashtable tests. Testing exceptions.
David Brandt [Wed, 20 Feb 2002 17:19:47 +0000 (17:19 -0000)]
Fleshing out Hashtable tests.  Testing exceptions.

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

22 years agoUse go-mono.com instead of go-mono.org, default CVSROOT
Dick Porter [Wed, 20 Feb 2002 16:16:47 +0000 (16:16 -0000)]
Use go-mono.com instead of go-mono.org, default CVSROOT
to anoncvs.go-mono.com

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

22 years agoUpdated build instructions, and convenience scripts for Linux and Windows.
Dick Porter [Wed, 20 Feb 2002 16:02:26 +0000 (16:02 -0000)]
Updated build instructions, and convenience scripts for Linux and Windows.

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

22 years agoWed Feb 20 17:53:59 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Feb 2002 13:03:21 +0000 (13:03 -0000)]
Wed Feb 20 17:53:59 CET 2002 Paolo Molaro <lupus@ximian.com>

* monograph.c: added -i option to create a graph of the types
implementing an interface.

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

22 years ago2002-02-20 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 20 Feb 2002 12:04:17 +0000 (12:04 -0000)]
2002-02-20  Dick Porter  <dick@ximian.com>

        * acconfig.h:
        * configure.in: Always build without cygwin support on windows

2002-02-20  Dick Porter  <dick@ximian.com>

        * io-layer.h: Always build without cygwin support on windows

2002-02-20  Dick Porter  <dick@ximian.com>

        * icall.c:
        * rawbuffer.c:
        * socket-io.c: Windows portability fixes (sometimes just ifdeffing
        problem code out for now).

2002-02-20  Dick Porter  <dick@ximian.com>

        * Makefile.am:
        * wrapper.c: Windows portability fixes (sometimes just ifdeffing
        problem code out for now).

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

22 years agoWed Feb 20 14:54:01 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Feb 2002 10:03:21 +0000 (10:03 -0000)]
Wed Feb 20 14:54:01 CET 2002 Paolo Molaro <lupus@ximian.com>

* AssemblyBuilder.cs: add SetCustomAttribute () to keep the compiler
going.

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

22 years agonew option to print the vtable --print-vtable
Dietmar Maurer [Wed, 20 Feb 2002 06:29:54 +0000 (06:29 -0000)]
new option to print the vtable --print-vtable

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

22 years agofixed testjit target (set LD_LIBRARY_PATH)
Dietmar Maurer [Wed, 20 Feb 2002 05:33:16 +0000 (05:33 -0000)]
fixed testjit target (set LD_LIBRARY_PATH)

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

22 years ago2002-02-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 20 Feb 2002 01:09:21 +0000 (01:09 -0000)]
2002-02-19  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Add support for @"litreal strings"

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

22 years agoAdd a new test for the tokenizer bugs
Miguel de Icaza [Wed, 20 Feb 2002 01:00:05 +0000 (01:00 -0000)]
Add a new test for the tokenizer bugs

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

22 years ago2002-02-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 20 Feb 2002 00:52:52 +0000 (00:52 -0000)]
2002-02-19  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Make tokenizer accept pre-processor directives
on any column (remove the old C-like limitation).

* rootcontext.cs (EmitCode): Emit any global attributes.
(AddGlobalAttributes): Used to keep track of assembly attributes.

* attribute.cs (ApplyAttributes): Support AssemblyAttributes.

* cs-parser.jay: Add support for global attributes.

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

22 years ago2002-02-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 19 Feb 2002 22:03:58 +0000 (22:03 -0000)]
2002-02-20  Nick Drochak <ndrochak@gol.com>

* contributing: Add link to the testing page for getting
started.

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

22 years ago2002-02-19 Radek Doulik <rodo@ximian.com>
Radek Doulik [Tue, 19 Feb 2002 21:34:40 +0000 (21:34 -0000)]
2002-02-19  Radek Doulik  <rodo@ximian.com>

* object.c (mono_ldstr): use hash table to avoid multiple swapping

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

22 years agoAdd missing MonoTODO attribute
Duncan Mak [Tue, 19 Feb 2002 21:27:24 +0000 (21:27 -0000)]
Add missing MonoTODO attribute

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

22 years agoops, fix return value passing
Radek Doulik [Tue, 19 Feb 2002 20:57:29 +0000 (20:57 -0000)]
ops, fix return value passing

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

22 years agoadded more pinvoke test methods
Radek Doulik [Tue, 19 Feb 2002 20:53:40 +0000 (20:53 -0000)]
added more pinvoke test methods

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

22 years ago2002-02-19 Radek Doulik <rodo@ximian.com>
Radek Doulik [Tue, 19 Feb 2002 20:51:37 +0000 (20:51 -0000)]
2002-02-19  Radek Doulik  <rodo@ximian.com>

* mono/tests/libtest.c (mono_test_many_short_arguments): new test
method
(mono_test_many_byte_arguments): ditto

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

22 years ago added stack saving for most arguments
Radek Doulik [Tue, 19 Feb 2002 20:50:13 +0000 (20:50 -0000)]
added stack saving for most arguments

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

22 years agoUgh, I had the GPL here, its the LGPL
Miguel de Icaza [Tue, 19 Feb 2002 20:47:47 +0000 (20:47 -0000)]
Ugh, I had the GPL here, its the LGPL

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

22 years agofixed a typo.
Duncan Mak [Tue, 19 Feb 2002 20:23:57 +0000 (20:23 -0000)]
fixed a typo.

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

22 years ago2002-02-19 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 19 Feb 2002 20:19:39 +0000 (20:19 -0000)]
2002-02-19  Duncan Mak  <duncan@ximian.com>

* SurrogateSelector.cs: Implemented.

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

22 years ago2002-02-19 Radek Doulik <rodo@ximian.com>
Radek Doulik [Tue, 19 Feb 2002 19:49:10 +0000 (19:49 -0000)]
2002-02-19  Radek Doulik  <rodo@ximian.com>

* ppc/tramp.c (emit_save_parameters): don't start saving 64bit
values to
even registers

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

22 years ago2002-02-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 19 Feb 2002 17:14:03 +0000 (17:14 -0000)]
2002-02-17  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Indirection): New helper class.  Unary will
create Indirection classes to be able to implement the
IMemoryLocation interface on it.

2002-02-16  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay (fixed_statement): reference the right statement.

* statement.cs (Fixed.Emit): Finish implementing the fixed
statement for the &x case.

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

22 years agoTue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Feb 2002 15:46:58 +0000 (15:46 -0000)]
Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>

* Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
related methods.

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

22 years agoTue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Feb 2002 15:46:31 +0000 (15:46 -0000)]
Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoCustomAttrs.cs: hooks to get the custom attributes from the
runtime.
* MonoType.cs: Implemented custom attributes methods.

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

22 years agoTue Feb 19 20:23:11 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Feb 2002 15:41:30 +0000 (15:41 -0000)]
Tue Feb 19 20:23:11 CET 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: register the GetCustomAttributes method.
* object.c, object.h: add mono_string_new_len ().
* reflection.h, reflection.c: added mono_runtime_invoke(),
mono_install_runtime_invoke(). Added
mono_reflection_get_custom_attrs () to load custom attributes and
create the attribute objects.

Tue Feb 19 20:21:14 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: implement the runtime_invoke function.

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

22 years agoTue Feb 19 20:19:38 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Feb 2002 15:40:57 +0000 (15:40 -0000)]
Tue Feb 19 20:19:38 CET 2002 Paolo Molaro <lupus@ximian.com>

* x86/tramp.c: avoid pointer arthmetric (pointed out by Serge).

Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <lupus@ximian.com>

* dump.c: the prolog is before each arg in the custom attribute blob.

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

22 years agoAdd link to Lupus hack
Miguel de Icaza [Tue, 19 Feb 2002 15:27:36 +0000 (15:27 -0000)]
Add link to Lupus hack

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

22 years ago:Update AnonCVS requirements
Miguel de Icaza [Tue, 19 Feb 2002 14:13:11 +0000 (14:13 -0000)]
:Update AnonCVS requirements

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

22 years ago * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
Dietmar Maurer [Tue, 19 Feb 2002 14:09:56 +0000 (14:09 -0000)]
  * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()

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