mono.git
21 years agoRemove unused variable
Miguel de Icaza [Fri, 18 Apr 2003 20:38:39 +0000 (20:38 -0000)]
Remove unused variable

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 20:29:04 +0000 (20:29 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* RuntimeHelpers.cs: Back out these changes as they break the windows
build.

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

21 years agoAdded my Data And Fixed �The XML. (A <contributor> added himself after
Eduardo Garcia Cebollero [Fri, 18 Apr 2003 20:02:32 +0000 (20:02 -0000)]
Added my Data And Fixed �The XML. (A <contributor> added himself after
the end of the </contrinutors>

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

21 years agoA first batch of improvements.
Miguel de Icaza [Fri, 18 Apr 2003 19:31:46 +0000 (19:31 -0000)]
A first batch of improvements.

2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* report.cs: Negative error codes are now mapped to 8000 - code,
so that the display is render more nicely.

* typemanager.cs: Do not use try/catch, instead report a regular
error.

(GetPointerType, GetReferenceType): These methods provide
mechanisms to obtain the T* and T& from a T.  We had the code
previously scattered around the code base, and it also used
TypeManager.LookupType that would go through plenty of caches.
This one goes directly to the type source.

In some places we did the Type.GetType followed by
ModuleBuilder.GetType, but not in others, so this unifies the
processing as well.

* namespace.cs (VerifyUsing): Perform a non-lazy approach to using
statements now that we have namespace information.

* typemanager.cs (IsNamespace): New method, returns whether the
string presented is a namespace or not.

(ComputeNamespaces): New public entry point, computes the list of
available namespaces, using the GetNamespaces API call in Mono, or
the slower version in MS.NET.

Now before we start the semantic analysis phase, we have a
complete list of namespaces including everything that the user has
provided.

Deleted old code to cache namespaces in .nsc files.

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

21 years agoMore updates
Miguel de Icaza [Fri, 18 Apr 2003 18:29:48 +0000 (18:29 -0000)]
More updates

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

21 years agoWe are stricter every day
Miguel de Icaza [Fri, 18 Apr 2003 18:05:29 +0000 (18:05 -0000)]
We are stricter every day

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:53:34 +0000 (17:53 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* RuntimeHelpersTest.cs: Added tests for Equals() and GetHashCode ()
methods.

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:50:48 +0000 (17:50 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* RuntimeHelpers.cs: Implement Equals and GetHashCode methods from
NET 1.1.

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:47:53 +0000 (17:47 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* icall.c: Track name changes in Object and ValueType.

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:44:49 +0000 (17:44 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* Object.cs ValueType.cs: Make the Object::GetHashCode() and
ValueType::Equals() icalls static non-virtual, so they can be called
by the code in RuntimeHelpers.

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

21 years agoUpdate Gtk#
Miguel de Icaza [Fri, 18 Apr 2003 17:09:58 +0000 (17:09 -0000)]
Update Gtk#

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

21 years agoAdd more comments
Miguel de Icaza [Fri, 18 Apr 2003 16:42:33 +0000 (16:42 -0000)]
Add more comments

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

21 years agoAdd more comments
Miguel de Icaza [Fri, 18 Apr 2003 16:35:09 +0000 (16:35 -0000)]
Add more comments

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

21 years ago2003-04-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 14:07:33 +0000 (14:07 -0000)]
2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* Delegate.cs (operator ==): Do not crash if the second argument
is null.  Bug fix submitted by Juan Cri.

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

21 years ago2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
Eduardo Garcia Cebollero [Fri, 18 Apr 2003 14:04:45 +0000 (14:04 -0000)]
2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>

        * Array.cs: Deleted the exception in Array.Initialize(), it looks
        like the method do nothing for C#, is still a MonoTODO until
        we find a compiler that uses that.

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

21 years agoAdd two errors
Miguel de Icaza [Fri, 18 Apr 2003 13:51:39 +0000 (13:51 -0000)]
Add two errors

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

21 years ago2003-04-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 18 Apr 2003 09:56:37 +0000 (09:56 -0000)]
2003-04-18  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_type_stack_size): size should be a multiple of
sizeof (gpointer)

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

21 years ago * makefile: Add new types to build
Jackson Harper [Fri, 18 Apr 2003 06:38:09 +0000 (06:38 -0000)]
    * makefile: Add new types to build
* makefile.gnu: Add new types to build

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

21 years ago * MethodDef.cs: New file - definition of a method.
Jackson Harper [Fri, 18 Apr 2003 06:36:00 +0000 (06:36 -0000)]
    * MethodDef.cs: New file - definition of a method.
* ParamDef.cs: New file - definition of a parameter to a method
* TypeDef.cs: Add method definitions, set intransit flag to false
before defining members, so a false circular reference is not
created.
* CodeGen.cs: Add methods to add method definitions

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

21 years ago* ILParser.jay: Add external types to the extern type table.
Jackson Harper [Fri, 18 Apr 2003 04:53:19 +0000 (04:53 -0000)]
* ILParser.jay: Add external types to the extern type table.

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

21 years ago* ExternTypeRef.cs: external types are classrefs
Jackson Harper [Fri, 18 Apr 2003 04:45:37 +0000 (04:45 -0000)]
* ExternTypeRef.cs: external types are classrefs

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

21 years ago* AssemblyInfo.cs: Increase version number.
Jackson Harper [Fri, 18 Apr 2003 04:16:45 +0000 (04:16 -0000)]
* AssemblyInfo.cs: Increase version number.

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

21 years ago * PeapiTypeRef.cs: New file - base wrapper for type refs that are
Jackson Harper [Fri, 18 Apr 2003 04:11:00 +0000 (04:11 -0000)]
    * PeapiTypeRef.cs: New file - base wrapper for type refs that are
just peapi types.
* PrimitiveTypeRef.cs: New file - A primitive type (char, int, string)

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

21 years ago * Driver.cs: Call new codegen methods.
Jackson Harper [Fri, 18 Apr 2003 04:08:03 +0000 (04:08 -0000)]
    * Driver.cs: Call new codegen methods.
* makefile: Add new types to build
* makefile.gnu: Add new types to build

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

21 years ago * TypeRef.cs: Rewrite - Typerefs are now resolved after parsing.
Jackson Harper [Fri, 18 Apr 2003 04:05:31 +0000 (04:05 -0000)]
    * TypeRef.cs: Rewrite - Typerefs are now resolved after parsing.
* TypeManager.cs: Rewrite - Just a simple table for looking up
typedefs
* ExternTable.cs: Create ClassRef's instead of Classes
* Location.cs: Make compile
* CodeGen.cs: Use new tree system

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

21 years ago* ILParser.jay: Use new types and methods to build a tree.
Jackson Harper [Fri, 18 Apr 2003 04:04:18 +0000 (04:04 -0000)]
* ILParser.jay: Use new types and methods to build a tree.

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

21 years ago * ExternTypeRef.cs: New file - Represents a reference to a type in
Jackson Harper [Fri, 18 Apr 2003 03:52:17 +0000 (03:52 -0000)]
    * ExternTypeRef.cs: New file - Represents a reference to a type in
an external assembly
* FieldDef.cs: New file - Represents a field definition
* IClassRef.cs: New file - Interface that classrefs must
implement. This needs some more thought though because once a
classref has been modified it is no longer a classref.
* ITypeRef.cs: New file - Interface that references to types must
implement
* TypeDef.cs: New file - Represents the a class definition, and
will hold all of the classes members.

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

21 years agolittle tweak to prevent 2 seconds pause when no finalizers pending
Gonzalo Paniagua Javier [Fri, 18 Apr 2003 02:19:15 +0000 (02:19 -0000)]
little tweak to prevent 2 seconds pause when no finalizers pending

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

21 years agoRename for more appropriate naming
Miguel de Icaza [Fri, 18 Apr 2003 02:15:38 +0000 (02:15 -0000)]
Rename for more appropriate naming

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

21 years agoMissing Changelog entry
Miguel de Icaza [Fri, 18 Apr 2003 02:15:06 +0000 (02:15 -0000)]
Missing Changelog entry

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

21 years agomissing changelog entry
Miguel de Icaza [Fri, 18 Apr 2003 02:14:03 +0000 (02:14 -0000)]
missing changelog entry

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

21 years agoRemove these files
Duncan Mak [Fri, 18 Apr 2003 02:03:24 +0000 (02:03 -0000)]
Remove these files

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

21 years ago2003-04-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 01:52:51 +0000 (01:52 -0000)]
2003-04-17  Miguel de Icaza  <miguel@ximian.com>

* class.cs: (TypeContainer.DefineDefaultConstructor): Use the
class/struct location definition Location for the implicit
constructor location.

(Operator.Define): Use the location of the operator for the
implicit Method definition.

(Constructor.Emit): use the constructor location for the implicit
base initializer constructor.

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

21 years agoAdd small intro
Miguel de Icaza [Fri, 18 Apr 2003 00:28:31 +0000 (00:28 -0000)]
Add small intro

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

21 years agoUpdate mini-doc.txt
Miguel de Icaza [Fri, 18 Apr 2003 00:23:09 +0000 (00:23 -0000)]
Update mini-doc.txt

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

21 years agoUpdate with links to CORBA.Remoting
Miguel de Icaza [Thu, 17 Apr 2003 23:52:30 +0000 (23:52 -0000)]
Update with links to CORBA.Remoting

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

21 years ago2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
Eduardo Garcia Cebollero [Thu, 17 Apr 2003 23:02:55 +0000 (23:02 -0000)]
2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>

        * ArrayTest.cs: added a few more tests to test Array.Initialize()
        and added some [Test] atributes to the tests.

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

21 years ago2003-04-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 17 Apr 2003 22:19:07 +0000 (22:19 -0000)]
2003-04-17  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs: Remove ITypeExpression.  This interface is now gone,
and the Expression class now contains two new methods:

ResolveAsTypeStep and ResolveAsTypeTerminal.  This is used to
isolate type lookup from the rest of the resolution process.

Since we use Expressions to hold type definitions due to the way
we parse the input we have historically overloaded Resolve to
perform the Type lookups if a special flag is passed.  Now this is
eliminated and two methods take their place.

The differences in the two methods between xStep and xTerminal is
that xStep is involved in our current lookup system that uses
SimpleNames to compose a name, while xTerminal is used just to
catch the case where the simplename lookup failed.

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

21 years ago2003-04-17 Joel Basson <jstrike@mweb.co.za>
Joel Basson [Thu, 17 Apr 2003 21:33:13 +0000 (21:33 -0000)]
2003-04-17 Joel Basson  <jstrike@mweb.co.za>

* ComboBox.cs
* ColorDialog.cs
* Improved functionality in RadioBox.cs
* Fix some things that were broken with the update to gtk-sharp-0.8

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

21 years ago2003-04-17 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Thu, 17 Apr 2003 20:35:41 +0000 (20:35 -0000)]
2003-04-17  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Timer.cs: Change the position of two lines because they were
    before the "if" that ensures the integrity. After this, the first of
    that two lines was producing a NullReferenceException.

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

21 years ago2003-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 17 Apr 2003 19:38:23 +0000 (19:38 -0000)]
2003-04-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* jit/jit.c:
(mono_jit_cleanup): moved mono_runtime_cleanup call after the call to
mono_domain_finalize.

* mini/mini.c:
(mini_cleanup): moved mono_runtime_cleanup call after the call to
mono_domain_finalize.
(mini_method_compile): use mono_method_profile* if the the option is
enabled.

* metadata/gc.c:
(internal_domain_finalize): moved into mono_domain_finalize. No need
to create another thread because the finalizers will be run in the
finalizer thread.

(ves_icall_System_GC_WaitForPendingFinalizers): implemented.
(finalizer_notify): if shutting down, wait 2 seconds for the finalizers
to be run (MS does this too).

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

21 years agoAdded tests for the 'synchronized' method attribute.
Zoltan Varga [Thu, 17 Apr 2003 18:18:21 +0000 (18:18 -0000)]
Added tests for the 'synchronized' method attribute.

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

21 years ago2003-04-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 17 Apr 2003 18:14:54 +0000 (18:14 -0000)]
2003-04-17  Zoltan Varga  <vargaz@freemail.hu>

* tramp-x86.c (mono_arch_create_jit_trampoline): Subsitute synchronized
methods with their wrapper.

* tramp-ppc.c (mono_arch_create_jit_trampoline): Subsitute synchronized
methods with their wrapper.

* jit-icalls.c (mono_ldvirtfn): Subsitute synchronized methods with
their wrapper.

* mini.c (mono_method_to_ir): Subsitute synchronized methods with their
wrapper.

* mini.c (mono_method_check_inlining): Avoid inlining synchronized
methods.

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

21 years agoupdate pic, add pic
Miguel de Icaza [Thu, 17 Apr 2003 17:57:02 +0000 (17:57 -0000)]
update pic, add pic

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

21 years agoOops.
Zoltan Varga [Thu, 17 Apr 2003 16:18:29 +0000 (16:18 -0000)]
Oops.

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

21 years ago2003-04-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 17 Apr 2003 16:12:18 +0000 (16:12 -0000)]
2003-04-17  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_class_compute_gc_descriptor): Update comment.

* loader.h marshal.h marshal.c: Added synchronized method wrappers.

* image.h: Add synchronized wrapper cache.

* image.c (do_mono_image_open): Initialize cache.

* reflection.c (create_dynamic_mono_image): Initialize cache.

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

21 years ago * Control.cs : implementation of scale functions, bug-fix in ControlCollection.Add
Aleksey Ryabchuk [Thu, 17 Apr 2003 15:49:08 +0000 (15:49 -0000)]
* Control.cs : implementation of scale functions, bug-fix in ControlCollection.Add
* Form.cs    : implementation of ScaleCore method

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

21 years ago*** empty log message ***
Dietmar Maurer [Thu, 17 Apr 2003 15:33:14 +0000 (15:33 -0000)]
*** empty log message ***

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

21 years ago2003-04-17 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 17 Apr 2003 15:10:03 +0000 (15:10 -0000)]
2003-04-17  Tim Coleman <tim@timcoleman.com>
* team.xml:
* team/timc.png:
Added my lovely face.

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

21 years ago2003-04-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 17 Apr 2003 14:55:25 +0000 (14:55 -0000)]
2003-04-17  Zoltan Varga  <vargaz@freemail.hu>

* ILGenerator.cs: Implement EmitWriteLine methods.

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

21 years agoOops.
Nick Drochak [Thu, 17 Apr 2003 14:50:02 +0000 (14:50 -0000)]
Oops.

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

21 years ago2003-04-15 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 14:47:23 +0000 (14:47 -0000)]
2003-04-15 Nick Drochak <ndrochak@gol.com>

* makefile: Remove nunit version 1 from build

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

21 years ago2003-04-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 14:45:41 +0000 (14:45 -0000)]
2003-04-17  Nick Drochak  <ndrochak@gol.com>

* makefile.gnu: get the nunit dll from class/lib now.
* DateAndTimeTest.cs: Ignore test that hangs mono.

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

21 years ago2003-04-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 14:43:16 +0000 (14:43 -0000)]
2003-04-17  Nick Drochak  <ndrochak@gol.com>

* UserPreferenceCategory.cs: Fix typo.
* SystemEvents.cs: Fix inheritance.

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

21 years agoremoved writeline
Gonzalo Paniagua Javier [Thu, 17 Apr 2003 14:42:34 +0000 (14:42 -0000)]
removed writeline

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

21 years ago2003-04-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 14:38:58 +0000 (14:38 -0000)]
2003-04-17  Nick Drochak  <ndrochak@gol.com>

* makefile.gnu: The Test dir does not contain a unit test.

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

21 years ago2003-04-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 14:27:44 +0000 (14:27 -0000)]
2003-04-17  Nick Drochak  <ndrochak@gol.com>

* DoubleTest.cs: Output some more debug info.

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

21 years ago * ImageList.cs
Aleksey Ryabchuk [Thu, 17 Apr 2003 14:26:55 +0000 (14:26 -0000)]
* ImageList.cs
* ImageListStreamer.cs : started to implement
* Control.cs : changes in implementation of size-related functions
* Form.cs    : small modifications to reflect changes in Contol class

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

21 years ago2003-04-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 14:26:02 +0000 (14:26 -0000)]
2003-04-17  Nick Drochak  <ndrochak@gol.com>

* StackFrameTest.cs: Use nunit version 2 style.

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

21 years ago2003-04-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 14:24:09 +0000 (14:24 -0000)]
2003-04-17  Nick Drochak  <ndrochak@gol.com>

* DSATest.cs: Use nunit version 2 style to test throw.
* HMACSHA1Test.cs: Eliminate compiler warning.

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

21 years ago*** empty log message ***
Dietmar Maurer [Thu, 17 Apr 2003 11:59:33 +0000 (11:59 -0000)]
*** empty log message ***

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

21 years ago*** empty log message ***
Dietmar Maurer [Thu, 17 Apr 2003 11:53:56 +0000 (11:53 -0000)]
*** empty log message ***

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

21 years ago2003-04-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 17 Apr 2003 11:29:54 +0000 (11:29 -0000)]
2003-04-17  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs (CreateType): Avoid creating a default constructor
for the global type.

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

21 years agoanother test
Dietmar Maurer [Thu, 17 Apr 2003 09:52:06 +0000 (09:52 -0000)]
another test

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

21 years ago2003-04-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 17 Apr 2003 09:21:01 +0000 (09:21 -0000)]
2003-04-17  Dietmar Maurer  <dietmar@ximian.com>

* exceptions-x86.c (mono_arch_handle_exception): fix for bug 36252

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

21 years agoSmall fix
Miguel de Icaza [Thu, 17 Apr 2003 02:32:17 +0000 (02:32 -0000)]
Small fix

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

21 years ago2003-04-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 17 Apr 2003 02:13:36 +0000 (02:13 -0000)]
2003-04-16  Miguel de Icaza  <miguel@ximian.com>

* interface.cs (PopulateMethod): Do not lookup the types twice.
We were doing it once during SemanticAnalysis and once during
PopulateMethod.

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

21 years agoforgot this one too.
Nick Drochak [Thu, 17 Apr 2003 02:00:43 +0000 (02:00 -0000)]
forgot this one too.

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

21 years ago2003-04-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 17 Apr 2003 01:57:39 +0000 (01:57 -0000)]
2003-04-17  Nick Drochak  <ndrochak@gol.com>

* library.make: Only try to run the unit tests if there is a Test
directory.

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

21 years agoUpdate mini docs
Miguel de Icaza [Wed, 16 Apr 2003 23:26:42 +0000 (23:26 -0000)]
Update mini docs

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

21 years agoImprove test
Miguel de Icaza [Wed, 16 Apr 2003 22:09:29 +0000 (22:09 -0000)]
Improve test

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

21 years ago2003-04-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 16 Apr 2003 22:01:52 +0000 (22:01 -0000)]
2003-04-16  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Due to our hack in the grammar, things like A.B[]
in local variable type definitions, were being returned as a
SimpleName (we decomposed everything into a string), that is
because primary_expression was being used instead of a type in the
grammar (reduce/reduce conflicts).

The part that was wrong is that we converted the expression into a
string (an oversimplification in one hand, compounded with primary
expressions doing string concatenation).

So things like:

A.B.C [] x;

Would return "A.B.C[]" as a SimpleName.  This stopped things like
using clauses from working on this particular context.  And a type
was being matched directly against "A.B.C[]".

We now use the correct approach, and allow for ComposedCast to be
part of the unary expression.  So the "A.B.C []" become a composed
cast of "A.B.C" (as a nested group of MemberAccess with a
SimpleName at the end) plus the rank composition "[]".

Also fixes 35567

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

21 years agoAdd GC_DONT_GC to the docs
Miguel de Icaza [Wed, 16 Apr 2003 18:15:33 +0000 (18:15 -0000)]
Add GC_DONT_GC to the docs

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

21 years agome
Ville Palo [Wed, 16 Apr 2003 17:10:49 +0000 (17:10 -0000)]
me

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

21 years ago2003-04-16 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Wed, 16 Apr 2003 17:03:30 +0000 (17:03 -0000)]
2003-04-16  Ville Palo <vi64pa@kolumbus.fi>

* BufferedStreamTest.cs: new file

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

21 years agocode cleanup
Dietmar Maurer [Wed, 16 Apr 2003 16:00:11 +0000 (16:00 -0000)]
code cleanup

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

21 years ago2003-04-16 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 16 Apr 2003 15:08:39 +0000 (15:08 -0000)]
2003-04-16  Dietmar Maurer  <dietmar@ximian.com>

* mini.c (mono_compile_create_var): use g_malloc/g_realloc instead
of the mempool. This is slightly faster and uses less memory

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

21 years agoWed Apr 16 12:53:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Apr 2003 11:00:35 +0000 (11:00 -0000)]
Wed Apr 16 12:53:10 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: avoid O(n) allocation for variables.

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

21 years ago2003-04-16 Charles Iliya Krempeaux <charles@reptile.ca>
Charles Iliya Krempeaux [Wed, 16 Apr 2003 08:27:30 +0000 (08:27 -0000)]
2003-04-16  Charles Iliya Krempeaux  <charles@reptile.ca>

        * doc/web/team.xml : Added myself to it.

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

21 years ago2003-04-16 Gaurav Vaish
Gaurav Vaish [Wed, 16 Apr 2003 05:18:50 +0000 (05:18 -0000)]
2003-04-16  Gaurav Vaish

* gvaish.png: Heh! Adjusting brightness. ;-)

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

21 years ago2003-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 16 Apr 2003 02:18:52 +0000 (02:18 -0000)]
2003-04-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BufferTest.cs: added a few more tests for testing buffer length.
Patch by Jerome Laban <jlaban@wanadoo.fr>

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

21 years ago2003-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 16 Apr 2003 02:14:20 +0000 (02:14 -0000)]
2003-04-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: patch by Jerome Laban <jlaban@wanadoo.fr> that fixes
ves_icall_System_Buffer_ByteLengthInternal.

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

21 years ago2003-04-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 15 Apr 2003 22:11:38 +0000 (22:11 -0000)]
2003-04-15  Miguel de Icaza  <miguel@ximian.com>

* TypeBuilder.cs (DefineDefaultConstructor): Make it generate code
by default for a default constructor.  This is what the MS runtime
does.  The PythonNet code expected this.

(TypeBuilder.GetConstructorImpl): Implement this.

(TypeBuilder.CreateType): If there are no constructors defined, we
create one.

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

21 years agoTue Apr 15 19:13:41 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Apr 2003 17:21:12 +0000 (17:21 -0000)]
Tue Apr 15 19:13:41 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: handle items on the stack after inlining methods.

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

21 years agoAdded my picture.
Nick Drochak [Tue, 15 Apr 2003 14:55:00 +0000 (14:55 -0000)]
Added my picture.

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

21 years agoA face only a mother could love...
Nick Drochak [Tue, 15 Apr 2003 14:50:28 +0000 (14:50 -0000)]
A face only a mother could love...

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

21 years agoadded my *ahem* picture
Gonzalo Paniagua Javier [Tue, 15 Apr 2003 14:18:20 +0000 (14:18 -0000)]
added my *ahem* picture

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

21 years agoTue Apr 15 14:17:57 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Apr 2003 12:29:08 +0000 (12:29 -0000)]
Tue Apr 15 14:17:57 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: make the method->opcode optimization dependent
on MONO_OPT_INSTRINS and do it lazily.

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

21 years agoTue Apr 15 14:15:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Apr 2003 12:22:56 +0000 (12:22 -0000)]
Tue Apr 15 14:15:39 CEST 2003 Paolo Molaro <lupus@ximian.com>

* driver.c: print overall results at the end of regression run.

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

21 years agoTue Apr 15 13:56:55 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Apr 2003 12:04:40 +0000 (12:04 -0000)]
Tue Apr 15 13:56:55 CEST 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: setup klass->nested_in earlier. Allow
a dash in the assembly name.

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

21 years agoTue Apr 15 13:50:41 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Apr 2003 11:58:30 +0000 (11:58 -0000)]
Tue Apr 15 13:50:41 CEST 2003 Paolo Molaro <lupus@ximian.com>

* ModuleBuilder.cs, TypeBuilder.cs: set nesting_type before
calling setup_internal_class ().

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

21 years ago2003-04-15 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 15 Apr 2003 11:49:42 +0000 (11:49 -0000)]
2003-04-15  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_type_to_unmanaged): dont access
type->data.klass for MONO_TYPE_OBJECT
(mono_type_to_unmanaged): consider System.Delegate class

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

21 years agoFixed Mono Hispano url.
Alejandro Sánchez Acosta [Tue, 15 Apr 2003 11:10:31 +0000 (11:10 -0000)]
Fixed Mono Hispano url.

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

21 years agoFixed monohispano url.
Alejandro Sánchez Acosta [Tue, 15 Apr 2003 11:06:39 +0000 (11:06 -0000)]
Fixed monohispano url.

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

21 years agofixed monohispano url
Alejandro Sánchez Acosta [Tue, 15 Apr 2003 11:03:26 +0000 (11:03 -0000)]
fixed monohispano url

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

21 years agoAdded myself.
Alejandro Sánchez Acosta [Tue, 15 Apr 2003 10:30:31 +0000 (10:30 -0000)]
Added myself.

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

21 years ago*** empty log message ***
Aleksey Ryabchuk [Tue, 15 Apr 2003 09:49:23 +0000 (09:49 -0000)]
*** empty log message ***

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

21 years ago*** empty log message ***
Aleksey Ryabchuk [Tue, 15 Apr 2003 09:33:27 +0000 (09:33 -0000)]
*** empty log message ***

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

21 years agoTue Apr 15 11:18:46 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Apr 2003 09:26:27 +0000 (09:26 -0000)]
Tue Apr 15 11:18:46 CEST 2003 Paolo Molaro <lupus@ximian.com>

* inssel.brg: don't overwrite symbolic registers.

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

21 years agoTue Apr 15 11:16:05 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 15 Apr 2003 09:24:43 +0000 (09:24 -0000)]
Tue Apr 15 11:16:05 CEST 2003 Paolo Molaro <lupus@ximian.com>

* class.c: just setup supertypes in the proper place instead of
initializing the full element class for arrays.

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