mono.git
19 years ago2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 3 Dec 2004 19:09:20 +0000 (19:09 -0000)]
2004-12-03 Lluis Sanchez Gual <lluis@novell.com>

* MenuEventArgs.cs: Changed to sealed.
* TreeView.cs: Minor fix.
* Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
MenuItemStyleCollection.cs: Initial Menu code.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 18:24:41 +0000 (18:24 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlResultVisitor.cs : ... was still broken.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 17:54:39 +0000 (17:54 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* xslttest.cs : improved. See "mono xslttest.exe -?" for details.
* Makefile : modified "make test" to "make run-test" and output
  results into TestResult.Xml that contains all results.
* README : updated as well.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 17:07:19 +0000 (17:07 -0000)]
2004-12-03  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentWriter.cs : Fix for DTM_CLASS switch that does not
  allow unadjusted arrays.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 16:38:42 +0000 (16:38 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlResultVisitor.cs : the last patch does not make sense ;-)

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

19 years ago2004-12-03 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 3 Dec 2004 16:11:54 +0000 (16:11 -0000)]
2004-12-03  Geoff Norton  <gnorton@customerdna.com>

        * System.IO/SearchPattern.cs:  Have IsMatch(string)
        call IsMatch(string, bool) to avoid setting a instance variable in a
        method that logically should not be changing it.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 16:10:57 +0000 (16:10 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlResultVisitor.cs : Local fix - don't use WriteCData() which
  cannot escape invalid characters. It broke VB unit test. See also:
  http://sourceforge.net/tracker/?group_id=10749&atid=110749&func=detail&aid=1073539

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

19 years agoI forgot to save at the right time :-( Now the file is complete!
Massimiliano Mantione [Fri, 3 Dec 2004 16:06:58 +0000 (16:06 -0000)]
I forgot to save at the right time :-( Now the file is complete!

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

19 years agoIn mcs:
Raja R Harinath [Fri, 3 Dec 2004 15:29:42 +0000 (15:29 -0000)]
In mcs:
Fix test-327.cs, test-328.cs, and put in early infrastructure
for eventually fixing #52697.
* namespace.cs (NamespaceEntry.LookupForUsing): New method.
(NamespaceEntry.LookupNamespaceOrType): New method, refactored
from other methods.
(NamespaceEntry.Lookup): Remove 'ignore_using' flag.
(AliasEntry.Resolve, UsingEntry.Resolve): Use 'LookupForUsing'.
(VerifyUsing, error246): Update.
* rootcontext.cs (RootContext.NamespaceLookup): Just use
'NamespaceEntry.LookupNamespaceOrType'.

In tests:
* Makefile (NEW_TEST_SOURCES_common): Add test-327 and test-328.

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

19 years ago2004-12-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 3 Dec 2004 15:20:11 +0000 (15:20 -0000)]
2004-12-03  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (compare_genericparam): Sort params with identical
owner by their number. Fixes gen-111 on sparc.

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

19 years ago* configure.in (ENABLE_NUNIT_TESTS): New.
Raja R Harinath [Fri, 3 Dec 2004 15:14:37 +0000 (15:14 -0000)]
* configure.in (ENABLE_NUNIT_TESTS): New.
* runtime/Makefile.am (check-local): Use it to disable nunit
tests.  Ensure that the test dlls are always built, however.

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

19 years agoIn Test:
Raja R Harinath [Fri, 3 Dec 2004 15:11:36 +0000 (15:11 -0000)]
In Test:
* System.IO.Compression/GzipStreamTest.cs: Fix compile errors.
* System.IO.Compression/GzipStreamTest.cs: Likewise.

In System.IO.Compression:
* DeflateStream.cs, GzipStream.cs, CompressionMode.cs: Make class public.

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

19 years agoOops, formatting.
Ravindra [Fri, 3 Dec 2004 14:57:12 +0000 (14:57 -0000)]
Oops, formatting.

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

19 years ago * ListView.cs (ListView_KeyDown):
Ravindra [Fri, 3 Dec 2004 14:55:26 +0000 (14:55 -0000)]
* ListView.cs (ListView_KeyDown):
* ListView.cs (ListView_KeyUp): Fixed multiple selection handling
when CTRL key is pressed.
* ListViewItem.cs (Selected): Fixed setting the property.

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

19 years ago2004-12-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Dec 2004 14:47:29 +0000 (14:47 -0000)]
2004-12-03  Martin Baulig  <martin@ximian.com>

* arrays/SortedArrayTests.cs: Removed the exception message from
the [ExpectedException(typeof(ArgumentOutOfRangeException))].

* trees/RedBlackTreeSetTests.cs: Likewise.
* trees/Bag.cs: Likewise.

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

19 years agoFixed more FIXME's.
Martin Baulig [Fri, 3 Dec 2004 14:30:19 +0000 (14:30 -0000)]
Fixed more FIXME's.

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

19 years ago2004-12-03 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 3 Dec 2004 14:27:19 +0000 (14:27 -0000)]
2004-12-03  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcParameter.cs: Fixed a null reference exception when a
parameter is created and its value is not set. #68750.

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

19 years agoKill more FIXME's.
Martin Baulig [Fri, 3 Dec 2004 14:24:06 +0000 (14:24 -0000)]
Kill more FIXME's.

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

19 years ago* profiles/basic.make (MCS): Run the INTERNAL_MCS.
Raja R Harinath [Fri, 3 Dec 2004 14:23:07 +0000 (14:23 -0000)]
* profiles/basic.make (MCS): Run the INTERNAL_MCS.
(USE_BOOT_COMPILE): Remove.

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

19 years agoRevert parts of r37007.
Raja R Harinath [Fri, 3 Dec 2004 14:22:44 +0000 (14:22 -0000)]
Revert parts of r37007.

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

19 years ago**** Merged r36569 from MCS ****
Martin Baulig [Fri, 3 Dec 2004 14:21:49 +0000 (14:21 -0000)]
**** Merged r36569 from MCS ****
2004-11-25  Miguel de Icaza  <miguel@ximian.com>

* convert.cs (ImplicitReferenceConversionExists): A surprisingly
old bug: when converting from the null literal to a pointer,
return an EmptyCast, not the NullLiteral.

This fixes #69921, the recent null_type changes probably made this
bug more prominent.

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

19 years agoOoops.
Martin Baulig [Fri, 3 Dec 2004 14:21:36 +0000 (14:21 -0000)]
Ooops.

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

19 years agoOoops.
Martin Baulig [Fri, 3 Dec 2004 14:21:17 +0000 (14:21 -0000)]
Ooops.

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

19 years agoNew test.
Martin Baulig [Fri, 3 Dec 2004 14:17:34 +0000 (14:17 -0000)]
New test.

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

19 years ago2004-12-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Dec 2004 14:17:09 +0000 (14:17 -0000)]
2004-12-03  Martin Baulig  <martin@ximian.com>

* delegate.cs (NewDelegate.DoResolve): If we have an anonymous
method as our child, call AnonymousMethod.Compatible() on it.

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

19 years ago2004-12-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Dec 2004 14:16:40 +0000 (14:16 -0000)]
2004-12-03  Martin Baulig  <martin@ximian.com>

* delegate.cs (NewDelegate.DoResolve): If we have an anonymous
method as our child, call AnonymousMethod.Compatible() on it.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 13:51:09 +0000 (13:51 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* monop.cs : csc build fix. See bug #70185 for details.

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

19 years ago**** Merged r36976 from MCS ****
Martin Baulig [Fri, 3 Dec 2004 13:44:34 +0000 (13:44 -0000)]
**** Merged r36976 from MCS ****
2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* class.cs (FieldBase): Use an unused bit field from the field to
encode the `has_offset' property from the FieldMember.  This saves
a couple of Ks on bootstrap compilation.

* delegate.cs (NewDelegate.DoResolve): If we have an anonymous
method as our child, return the AnonymousMethod resolved
expression.

* expression.cs (New.DoResolve): Allow return values from
NewDelegate to also include AnonymousMethods.

Fixes #70150.

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

19 years agoremove stray ^Ms, and try to ensure it doesn't happen again
Raja R Harinath [Fri, 3 Dec 2004 13:35:34 +0000 (13:35 -0000)]
remove stray ^Ms, and try to ensure it doesn't happen again

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

19 years agoSome old versions of mono/mcs (e.g., mono-core-1.1.2-1.ximian.8.1)
Raja R Harinath [Fri, 3 Dec 2004 13:19:59 +0000 (13:19 -0000)]
Some old versions of mono/mcs (e.g., mono-core-1.1.2-1.ximian.8.1)
have trouble building System.Xml, with errors like:

  Could not load class from token 0x1000074 in /usr/lib/mono/1.0/System.dll

In mcs:
Disable XML documentation support in 'basic' profile.
* decl.cs, class.cs [BOOTSTRAP_WITH_OLDLIB]: Don't import System.Xml.
Redirect XmlElement to System.Object.
* driver.cs, enum.cs, rootcontext.cs: Don't reference System.Xml.
* doc.cs [BOOTSTRAP_WITH_OLDLIB]: Disable compile.
* mcs.exe.sources: Add doc-bootstrap.cs.
* doc-bootstrap.cs: New file.  Contains empty stub implementation
of doc.cs.

In class/System.XML:
* Makefile: Remove support for being in bootstrap build.

In class:
System.Xml.dll is no longer built in the 'basic' profile.
* Makefile (basic_SUBDIRS): Don't mention System.XML.
(basic_files): Remove System.Xml.dll.

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

19 years ago* test-326.cs (Main): Set return type to int, not void.
Raja R Harinath [Fri, 3 Dec 2004 12:25:11 +0000 (12:25 -0000)]
* test-326.cs (Main): Set return type to int, not void.

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

19 years ago2004-12-03 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Fri, 3 Dec 2004 11:42:12 +0000 (11:42 -0000)]
2004-12-03  Massimiliano Mantione  <massi@ximian.com>

* mini.c: Added removal of critical edges (prerequisite for SSAPRE),
and some utility functions (always for SSAPRE), integrated SSAPRE.
* mini.h: Likewise.
* driver.c: Added ssapre option.
* ssa.c: Small fix on OP_ARG handling.
* ssapre.c, ssapre.h: Added files containing SSAPRE implementation.
* Makefile.am: Likewise.
* ../docs/ssapre.txt: Added SSAPRE documentation.

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

19 years ago2004-12-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 3 Dec 2004 11:30:17 +0000 (11:30 -0000)]
2004-12-03  Marek Safar  <marek.safar@seznam.cz>

* Application.cs (OnThreadException): Use ThreadExceptionDialog.

* Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
MinimizeBox, ShowInTaskbar, TopMost properties.

* ThreadExceptionDialog.cs: Implemented (disabled TextBox until
will be implemented).

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

19 years ago2004-12-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 3 Dec 2004 10:04:21 +0000 (10:04 -0000)]
2004-12-03  Marek Safar  <marek.safar@seznam.cz>

* Makefile: Added System.Drawing.dll deps for tests.

* System.Windows.Forms_test.dll.sources: New test files.

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

19 years agonew test file
Marek Safar [Fri, 3 Dec 2004 09:58:07 +0000 (09:58 -0000)]
new test file

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

19 years agoImproved tests
Marek Safar [Fri, 3 Dec 2004 09:56:05 +0000 (09:56 -0000)]
Improved tests

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

19 years ago2004-12-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 3 Dec 2004 09:55:02 +0000 (09:55 -0000)]
2004-12-03  Marek Safar  <marek.safar@seznam.cz>

* OwnerDrawPropertyBag.cs: New internal parameterless ctor.

* TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
tests.

* TreeNodeCollection.cs: Add exception throwing for Add,AddRange.

* TreeView.cs: BackColor is Colors.Window.

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

19 years ago2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Dec 2004 09:54:10 +0000 (09:54 -0000)]
2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SoapHttpClientProtocol.cs: dispose the StreamReader that wraps the
response stream.

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

19 years ago* VBCodeProviderTest.cs: Change namespace to
Raja R Harinath [Fri, 3 Dec 2004 09:30:16 +0000 (09:30 -0000)]
* VBCodeProviderTest.cs: Change namespace to
MonoTests.Microsoft.VisualBasic.

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

19 years ago* Makefile (basic_SUBDIRS): Add second-pass System, too.
Raja R Harinath [Fri, 3 Dec 2004 09:29:45 +0000 (09:29 -0000)]
* Makefile (basic_SUBDIRS): Add second-pass System, too.
(basic_files): Add System.Xml.dll.

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

19 years ago2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Dec 2004 08:37:45 +0000 (08:37 -0000)]
2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlTextReader.cs: don't use \0 as buffer terminator.
* XmlInputStream.cs: s/Array.Copy/Buffer.BlockCopy/.

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

19 years ago2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Dec 2004 07:37:32 +0000 (07:37 -0000)]
2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: remove prevStream and don't set busy to false in
HandleError. prevStream is not needed any more and setting 'busy' so
early might let a request skip the queue.

* WebConnectionGroup.cs: decrement the indexer when removing a dead
reference from the arraylist.

* WebConnectionStream.cs:
(ReadAll): call NextRead if it has not been called before even when
we have completed the request. Reuse the read buffer when reading a
response of unknown size. Increase the buffer to 8kB.
(BeginRead): increase pendingReads earlier and even when reading from
the internal buffer.
(EndRead): decrease pendingReads later and always.

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

19 years ago* Makefile.am (dist-hook): Ensure we use the 'default' profile.
Raja R Harinath [Fri, 3 Dec 2004 06:51:50 +0000 (06:51 -0000)]
* Makefile.am (dist-hook): Ensure we use the 'default' profile.
* mono/Makefile.am (HANDLES): New.  Disable 'handles' dir on Win32.
(SUBDIRS): Use it.  Move 'cil' before 'metadata'.
* runtime/Makefile.am (install-exec): Pass
RUNTIME_HAS_CONSISTENT_GACDIR to the mcs/ build.

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

19 years ago* library.make (gacdir_flag): New. Disable /gacdir flag if
Raja R Harinath [Fri, 3 Dec 2004 06:46:36 +0000 (06:46 -0000)]
* library.make (gacdir_flag): New.  Disable /gacdir flag if
RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
(install-local): Use it.

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

19 years ago2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Dec 2004 06:24:59 +0000 (06:24 -0000)]
2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* NetworkStream.cs: Write should ensure that writes all the contents
of the buffer. Fixes bug #70123. Besos para Miguelito.

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

19 years ago2004-12-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Dec 2004 05:58:33 +0000 (05:58 -0000)]
2004-12-03  Atsushi Enomoto  <atsushi@ximian.com>

* cs-tokenizer.cs : Only '////' is rejected. Other non-whitespace
  comments are allowed.

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

19 years ago2004-12-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Dec 2004 05:38:30 +0000 (05:38 -0000)]
2004-12-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* delegate.cs: Add checks for subtypes in paramaters and return values
in VerifyMethod () to add support for Covariance/Contravariance
in delegates.

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

19 years ago * TreeView.cs: When resizing the tree if the user is making it
Jackson Harper [Fri, 3 Dec 2004 04:40:33 +0000 (04:40 -0000)]
* TreeView.cs: When resizing the tree if the user is making it
smaller we don't get expose events, so we need to handle adding
the horizontal scrollbar in the size changed handler as well as
the expose handler.

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

19 years ago * ExternTypeRefInst.cs: When converting to arrays we loose our valuetypedness.
Jackson Harper [Fri, 3 Dec 2004 04:11:55 +0000 (04:11 -0000)]
* ExternTypeRefInst.cs: When converting to arrays we loose our valuetypedness.

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

19 years ago * MethodDef.cs: Abstract methods don't get bodies. Even if there
Jackson Harper [Fri, 3 Dec 2004 03:33:14 +0000 (03:33 -0000)]
* MethodDef.cs: Abstract methods don't get bodies. Even if there
are bodies there.

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

19 years ago- Updated
Peter Dennis Bartok [Fri, 3 Dec 2004 01:28:07 +0000 (01:28 -0000)]
- Updated

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

19 years ago- Added Jackson's fresly minted TreeView files to build list
Peter Dennis Bartok [Fri, 3 Dec 2004 01:27:11 +0000 (01:27 -0000)]
- Added Jackson's fresly minted TreeView files to build list

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

19 years agofix up $ type stuff that got left over from cvs2svn. This will not come back again
Ben Maurer [Fri, 3 Dec 2004 01:08:33 +0000 (01:08 -0000)]
fix up $ type stuff that got left over from cvs2svn. This will not come back again

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

19 years ago2004-12-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 3 Dec 2004 00:03:12 +0000 (00:03 -0000)]
2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* report.cs: Remove extra closing parenthesis.

* convert.cs (Error_CannotImplicitConversion): If the name of the
types are the same, provide some extra information.

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

19 years ago * MethodDef.cs: If the type is an interface auto set fields to
Jackson Harper [Thu, 2 Dec 2004 22:36:49 +0000 (22:36 -0000)]
* MethodDef.cs: If the type is an interface auto set fields to
static (and give a warning if they are not static), and set
methods to abstract virtual (and give warning if they were not already).
* FieldDef.cs:
* TypeDef.cs: Accessors and convience properties for getting and
setting the method/field attributes.

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

19 years ago2004-12-02 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 2 Dec 2004 22:19:49 +0000 (22:19 -0000)]
2004-12-02  Geoff Norton  <gnorton@customerdna.com>

        * System.IO/KeventWatcher.cs: Add IDisposable to our kevent struct
        so the disposer gets called.  Fixes a small memory leak.  Dont monitor
        LastAccessedTime for changed files, as this will cause AppUnloading in XSP
        when global.asax is accessed after creation.  Use a case-insensitive IsMatch        to deal with OSX Case-aware/Case-insensitive filesystem.
        * System.IO/SearchPattern.cs: Add a overload to IsMatch to explicitly set
        the ignore field for OSX case-aware yet case-insensitive filesystem.  This
        allows monitoring of global.asax to happen properly.

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

19 years ago2004-12-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 2 Dec 2004 21:42:02 +0000 (21:42 -0000)]
2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* class.cs (FieldBase): Use an unused bit field from the field to
encode the `has_offset' property from the FieldMember.  This saves
a couple of Ks on bootstrap compilation.

* delegate.cs (NewDelegate.DoResolve): If we have an anonymous
method as our child, return the AnonymousMethod resolved
expression.

* expression.cs (New.DoResolve): Allow return values from
NewDelegate to also include AnonymousMethods.

Fixes #70150.

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

19 years agoAdd new test for bug 70150
Miguel de Icaza [Thu, 2 Dec 2004 21:38:57 +0000 (21:38 -0000)]
Add new test for bug 70150

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

19 years ago * FieldDef.cs: Set the underlying type for bytearray data constants. This
Jackson Harper [Thu, 2 Dec 2004 21:33:03 +0000 (21:33 -0000)]
* FieldDef.cs: Set the underlying type for bytearray data constants. This
fixes bug #70153 and #70154 which my previous fix caused.

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

19 years ago * PEAPI.cs: Allow underlying types of ByteArrConsts to be set when
Jackson Harper [Thu, 2 Dec 2004 21:31:22 +0000 (21:31 -0000)]
* PEAPI.cs: Allow underlying types of ByteArrConsts to be set when
they are used as field init data.

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

19 years ago * FieldDef.cs: Set the underlying type for data constants. This
Jackson Harper [Thu, 2 Dec 2004 21:00:13 +0000 (21:00 -0000)]
* FieldDef.cs: Set the underlying type for data constants. This
fixes bug #70153.

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

19 years ago * PEAPI.cs: Allow DataConstants underlying type to be set.
Jackson Harper [Thu, 2 Dec 2004 20:58:02 +0000 (20:58 -0000)]
* PEAPI.cs: Allow DataConstants underlying type to be set.

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

19 years ago2004-12-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 2 Dec 2004 19:37:26 +0000 (19:37 -0000)]
2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* CodeGen.cs: Correctly compute the name of a nested class,
currently it was ignoring anything above level 1.

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

19 years agoKilled more FIXME's.
Martin Baulig [Thu, 2 Dec 2004 19:25:50 +0000 (19:25 -0000)]
Killed more FIXME's.

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

19 years ago2004-12-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Dec 2004 19:24:12 +0000 (19:24 -0000)]
2004-12-02  Martin Baulig  <martin@ximian.com>

* metadata-internals.h (MonoImage): Removed `generic_class_cache'.

* metadata.c (generic_class_cache): New static hashtable.
(mono_metadata_lookup_generic_class): New public method.

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

19 years agoUse CSC command line option
Miguel de Icaza [Thu, 2 Dec 2004 18:55:07 +0000 (18:55 -0000)]
Use CSC command line option

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

19 years ago2004-12-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 2 Dec 2004 18:49:37 +0000 (18:49 -0000)]
2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* main.c: Rename compilercontrolled to privatescope

* get.c (get_class_name): Correct implementation that correctly
handles nested classes.

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

19 years ago2004-12-02 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 2 Dec 2004 18:48:02 +0000 (18:48 -0000)]
2004-12-02  Marek Safar <marek.safar@seznam.cz>

* test-325.cs: New test for #70102.

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

19 years ago2004-12-02 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 2 Dec 2004 18:45:48 +0000 (18:45 -0000)]
2004-12-02  Marek Safar  <marek.safar@seznam.cz>

Fix bug #70102
* attribute.cs (Resolve): Improved implementation of params
        attribute arguments.

* support.cs (ParameterData): Add HasParams to be faster.

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 18:27:10 +0000 (18:27 -0000)]
2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>

* xml-025.inc : was missing.

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

19 years ago2004-12-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 2 Dec 2004 18:21:15 +0000 (18:21 -0000)]
2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* ILTable.cs: Add new .stackreserve token.

2004-12-02  Miguel de Icaza  <miguel@ximian.com>

* ILParser.jay: Added D_STACKRESERVE token.

(prop_head, event_head): Allow it to take a compound name (for explicit
interface implementations of properties).

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 17:41:09 +0000 (17:41 -0000)]
2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : now we need System.Xml.dll for basic bootstrapping.

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

19 years ago2004-12-02 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 2 Dec 2004 17:40:38 +0000 (17:40 -0000)]
2004-12-02  Marek Safar <marek.safar@seznam.cz>

* test-324.cs: New test

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 17:34:25 +0000 (17:34 -0000)]
2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : added lines for /doc test files.
* harness.nk : added xmldoc test lines.
* xmldocdiff.cs : small test tool for verifying /doc output.
* xml-001.cs, xml-001-ref.xml, xml-002.cs, xml-002-ref.xml,
  xml-003.cs, xml-003-ref.xml, xml-004.cs, xml-004-ref.xml,
  xml-005.cs, xml-005-ref.xml, xml-006.cs, xml-006-ref.xml,
  xml-007.cs, xml-007-ref.xml, xml-008.cs, xml-008-ref.xml,
  xml-009.cs, xml-009-ref.xml, xml-010.cs, xml-010-ref.xml,
  xml-011.cs, xml-011-ref.xml, xml-012.cs, xml-012-ref.xml,
  xml-013.cs, xml-013-ref.xml, xml-014.cs, xml-014-ref.xml,
  xml-015.cs, xml-015-ref.xml, xml-016.cs, xml-016-ref.xml,
  xml-017.cs, xml-017-ref.xml, xml-018.cs, xml-018-ref.xml,
  xml-019.cs, xml-019-ref.xml, xml-020.cs, xml-020-ref.xml,
  xml-021.cs, xml-021-ref.xml, xml-022.cs, xml-022-ref.xml,
  xml-023.cs, xml-023-ref.xml, xml-024.cs, xml-024-ref.xml,
  xml-025.cs, xml-025-ref.xml, xml-026.cs, xml-026-ref.xml,
  xml-027.cs, xml-027-ref.xml, xml-028.cs, xml-028-ref.xml,
  xml-029.cs, xml-029-ref.xml, xml-030.cs, xml-030-ref.xml,
  xml-031.cs, xml-031-ref.xml, xml-032.cs, xml-032-ref.xml :
  tests for /doc feature.

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 17:25:59 +0000 (17:25 -0000)]
2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>

* cs1589.inc : plus one.
* Makefile : remove dummy.xml (in case of error test failures)

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 17:22:55 +0000 (17:22 -0000)]
2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>

* cs1570.cs, cs1570-2.cs, cs1570-3.cs, cs1570-4.cs, cs1570-5.cs,
  cs1570-6.cs, cs1570-7.cs, cs1570-8.cs, cs1570-9.cs, cs1570-10.cs,
  cs1570-11.cs, cs1571.cs, cs1572.cs, cs1573.cs, cs1574.cs,
  cs1574-2.cs, cs1574-3.cs, cs1574-4.cs, cs1574-5.cs, cs1580.cs,
  cs1580-2.cs, cs1581.cs, cs1581-2.cs, cs1584.cs, cs1584-2.cs,
  cs1584-3.cs, cs1584-4.cs, cs1587.cs, cs1587-2.cs, cs1587-3.cs,
  cs1587-4.cs, cs1587-5.cs, cs1587-6.cs, cs1587-7.cs, cs1587-8.cs,
  cs1587-9.cs, cs1587-10.cs, cs1587-11.cs, cs1587-12.cs, cs1587-13.cs,
  cs1587-14.cs, cs1587-15.cs, cs1587-16.cs, cs1587-17.cs, cs1587-18.cs,
  cs1587-19.cs, cs1587-20.cs, cs1587-21.cs, cs1587-22.cs, cs1587-23.cs,
  cs1587-24.cs, cs1587-25.cs, cs1587-26.cs, cs1587-27.cs, cs1587-28.cs,
  cs1589.cs, cs1590.cs, cs1590-2.cs, cs1590-3.cs, cs1591.cs,
  cs1591-2.cs, cs1591-3.cs, cs1591-4.cs, cs1591-5.cs, cs1591-6.cs,
  cs1591-7.cs, cs1591-8.cs, cs1591-9.cs, cs1591-10.cs, cs1591-11.cs,
  cs1591-12.cs, cs1591-13.cs, cs1591-14.cs, cs1591-15.cs, cs1591-16.cs,
  cs1591-17.cs, cs1591-18.cs, cs1592.cs : added tests for /doc feature.

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 17:15:27 +0000 (17:15 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* appdomain-unload.cs: Add tests for unloading an appdomain from inside
the appdomain.

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 17:13:00 +0000 (17:13 -0000)]
2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>

all things are for /doc support:

* doc.cs: new file that supports XML documentation generation.
* mcs.exe.sources: added doc.cs.
* driver.cs:
  Handle /doc command line option.
  Report error 2006 instead of 5 for missing file name for /doc.
  Generate XML documentation when required, after type resolution.
* cs-tokenizer.cs:
  Added support for picking up documentation (/// and /** ... */),
  including a new XmlCommentState enumeration.
* cs-parser.jay:
  Added lines to fill Documentation element for field, constant,
  property, indexer, method, constructor, destructor, operator, event
  and class, struct, interface, delegate, enum.
  Added lines to warn incorrect comment.
* rootcontext.cs :
  Added Documentation field (passed only when /doc was specified).
* decl.cs:
  Added DocComment, DocCommentHeader, GenerateDocComment() and
  OnGenerateDocComment() and some supporting private members for
  /doc feature to MemberCore.
* class.cs:
  Added GenerateDocComment() on TypeContainer, MethodCore and Operator.
* delegate.cs:
  Added overriden DocCommentHeader.
* enum.cs:
  Added overriden DocCommentHeader and GenerateDocComment().

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 17:06:08 +0000 (17:06 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* threadpool.c (async_invoke_thread): Call push/pop_appdomain_ref
around the domain changes.

* appdomain.c (mono_domain_unload): Handle the case when the thread
calling Unload is itself being aborted during unloading. Fixes #70022.

* appdomain.h: Add prototype for mono_install_runtime_cleanup.

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

19 years ago2004-12-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 2 Dec 2004 17:02:13 +0000 (17:02 -0000)]
2004-12-01  Marek Safar  <marek.safar@seznam.cz>

Fix bug #68790
* ecore.cs: CheckMarshallByRefAccess new virtual method for testing
MarshallByReference members access.

* expression.cs: Use CheckMarshallByRefAccess;
Better error CS0197 message.

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 16:57:49 +0000 (16:57 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_thread_interrupt_checkpoint_call): Call
checkpoint_func as an icall so it gets a wrapper.
(mono_marshal_get_xappdomain_invoke): Call push/pop_appdomain_ref ()
in the cross-appdomain wrappers too.

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 16:55:22 +0000 (16:55 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (mono_thread_has_appdomain_ref): Make this public.

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

19 years ago flush
Jackson Harper [Thu, 2 Dec 2004 16:33:20 +0000 (16:33 -0000)]
flush

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

19 years ago2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Dec 2004 16:02:54 +0000 (16:02 -0000)]
2004-12-02  Lluis Sanchez Gual <lluis@novell.com>

* Makefile: Added more TreeView resources.

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

19 years ago2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Dec 2004 16:02:36 +0000 (16:02 -0000)]
2004-12-02 Lluis Sanchez Gual <lluis@novell.com>

* TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
Implemented SetDirtyObject.
* Style.cs: Implemented SetDirty().
* TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
* TreeNode.cs: Added missing attributes added support for
PopulateOnDemand. Added some missing property bindings.
* TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
to newly added elements to make sure al new data is saved.
* TreeView.js: Implemented support for client population of nodes.
* TreeNodeStyle.cs: Added missing attributes.
* TreeView.cs: Implemented support for PopulateNodesFromClient and
PopulateOnDemand. Improved rendering.

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

19 years ago2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Dec 2004 16:02:02 +0000 (16:02 -0000)]
2004-12-02 Lluis Sanchez Gual <lluis@novell.com>

* Page.cs: Added support for callback events. Moved theform variable
outside the __doPostBack function, so it can be used by other
scripts.
* StateBag.cs: Implemented SetDirty().

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 16:01:25 +0000 (16:01 -0000)]
2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs : when PredicateIterator has a numeric predicate, it
  will never be true twice. So just break up the iteration on true.
* XPathNavigator.cs : implemented LookupPrefix().
* Expression.cs : ExprParens.Optimize() could just return the content
  expression.

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

19 years ago2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Dec 2004 16:00:18 +0000 (16:00 -0000)]
2004-12-02  Lluis Sanchez Gual <lluis@novell.com>

* callback.js: Added callback script.

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

19 years ago2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Dec 2004 16:00:03 +0000 (16:00 -0000)]
2004-12-02  Lluis Sanchez Gual <lluis@novell.com>

* AssemblyInfo.cs: Added more resource attributes.

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 15:33:21 +0000 (15:33 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c (mono_assembly_open_from_bundle): Fix warning.

* reflection.c: Fix some memory leaks.

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 15:27:33 +0000 (15:27 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* tramp-x86.c (mono_arch_create_jit_trampoline): Remove code which is
now in the xp code.

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 15:24:54 +0000 (15:24 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mini_init): Register mono_thread_force_interruption_checkpoint
icall.

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

19 years ago2004-12-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 2 Dec 2004 14:56:46 +0000 (14:56 -0000)]
2004-12-02  Martin Baulig  <martin@ximian.com>

* metadata.c (generic_inst_cache): New static hashtable.
(mono_metadata_lookup_generic_inst): New public function.
(mono_metadata_inflate_generic_inst): New public function.
(mono_metadata_parse_generic_inst): New public function.
(do_mono_metadata_parse_generic_class): Use the new
mono_metadata_parse_generic_inst() for parsing the `gclass->inst'
since this'll also use the cache.

* reflection.c (mono_reflection_bind_generic_method_parameters):
Use mono_metadata_lookup_generic_inst() to use the new cache.

* class.c (inflate_mono_type): Use
mono_metadata_inflate_generic_inst() to inflate a generic
instance; this'll also use the new cache.

* loader.c (method_from_methodspec): Use
mono_metadata_parse_generic_inst() and
mono_metadata_inflate_generic_inst() rather than parsing it
manually, so we can use the new cache.

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

19 years ago2004-12-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Dec 2004 13:59:28 +0000 (13:59 -0000)]
2004-12-02  Atsushi Enomoto <atsushi@ximian.com>

* books : Added Mono: A Developer's Notebook ;-)

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 13:39:31 +0000 (13:39 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (wait_for_tids): Do not incorrectly free threads when
the wait times out.

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

19 years ago2004-12-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Dec 2004 13:36:55 +0000 (13:36 -0000)]
2004-12-02  Zoltan Varga  <vargaz@freemail.hu>

* appdomain-unload.cs: Stop the foreground thread created by one of the
tests.

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

19 years ago* Makefile (EXTRA_DISTFILES): Distribute wsdl2.exe.sources.
Raja R Harinath [Thu, 2 Dec 2004 13:12:12 +0000 (13:12 -0000)]
* Makefile (EXTRA_DISTFILES): Distribute wsdl2.exe.sources.

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

19 years agofixes wrong enum values
Jordi Mas i Hernandez [Thu, 2 Dec 2004 11:39:49 +0000 (11:39 -0000)]
fixes wrong enum values

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

19 years agoupdate real status
Jordi Mas i Hernandez [Thu, 2 Dec 2004 09:58:21 +0000 (09:58 -0000)]
update real status

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

19 years agochange log....again
Jackson Harper [Thu, 2 Dec 2004 07:44:30 +0000 (07:44 -0000)]
change log....again

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