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

19 years ago * TreeView.cs: Resize the hbar as well as the vbar on resize.
Jackson Harper [Thu, 2 Dec 2004 07:43:33 +0000 (07:43 -0000)]
* TreeView.cs: Resize the hbar as well as the vbar on resize.

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

19 years agochange log
Jackson Harper [Thu, 2 Dec 2004 07:35:21 +0000 (07:35 -0000)]
change log

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

19 years ago * System.Windows.Forms.dll.sources: Add TreeNode love to the build.
Jackson Harper [Thu, 2 Dec 2004 07:34:50 +0000 (07:34 -0000)]
* System.Windows.Forms.dll.sources: Add TreeNode love to the build.

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

19 years agochange log
Jackson Harper [Thu, 2 Dec 2004 07:32:48 +0000 (07:32 -0000)]
change log

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

19 years ago Initial Implementation
Jackson Harper [Thu, 2 Dec 2004 07:32:11 +0000 (07:32 -0000)]
Initial Implementation

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

19 years agoRevert regression
Miguel de Icaza [Thu, 2 Dec 2004 02:35:52 +0000 (02:35 -0000)]
Revert regression

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

19 years agoeol
Gonzalo Paniagua Javier [Thu, 2 Dec 2004 00:02:36 +0000 (00:02 -0000)]
eol

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

19 years ago2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Dec 2004 23:27:23 +0000 (23:27 -0000)]
2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Test/System.Net/CookieContainerTest.cs: added tests for
CookieContainer.

* System.Net/CookieContainer.cs: style, fixed checks for properties,
implemented the MonoTODOs for the method that take an Uri. GetCookies
and GetCookieHeaders now really return only the cookies that are
requested filtering by the Uri parameter.

* System.Net/Cookie.cs: style, added default values for Comment, Domain
and Port.

* System_test.dll.sources: added CookieContainerTest.cs.

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

19 years ago2004-12-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 1 Dec 2004 22:37:10 +0000 (22:37 -0000)]
2004-12-01  Miguel de Icaza  <miguel@ximian.com>

* DataView.cs: Patch from Marc Haisenko that ensures that rowCache
is never null.

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

19 years ago2004-12-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 1 Dec 2004 22:09:34 +0000 (22:09 -0000)]
2004-12-01  Miguel de Icaza  <miguel@ximian.com>

* cfold.cs (ConstantFold.DoConstantNumericPromotions): After
unwrapping the enumeration values, chain to
DoConstantNumericPromotions again, so we can promote things to the
fundamental types (takes care of enums that are bytes, sbytes).

Fixes bug #62054.

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

19 years agoNew test for bug 62054
Miguel de Icaza [Wed, 1 Dec 2004 22:09:23 +0000 (22:09 -0000)]
New test for bug 62054

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

19 years agoImplement vararg support for s390. Minor fix to atomic operation for s390.
Neale Ferguson [Wed, 1 Dec 2004 21:30:57 +0000 (21:30 -0000)]
Implement vararg support for s390. Minor fix to atomic operation for s390.

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

19 years ago2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Dec 2004 18:20:23 +0000 (18:20 -0000)]
2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CookieCollection.cs: reformatted, fixed Add by adding a new method to
search across the arraylist, as list.IndexOf is not what we want.

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

19 years ago2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 1 Dec 2004 18:20:20 +0000 (18:20 -0000)]
2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Ooops small bits on:
* driver.cs: -q --quiet works, inclusive for the "Alpha" message
* Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable

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

19 years ago2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 1 Dec 2004 17:54:28 +0000 (17:54 -0000)]
2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs: it was "monostyled" and some extract method refactorings to make things clear
now -q --quiet works, inclusive for the "Alpha" message
* Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable

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

19 years ago2004-12-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 1 Dec 2004 14:34:26 +0000 (14:34 -0000)]
2004-12-01  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Use the remapped dll name in
the exception message. Fixes #70070.
(method_from_methodspec): Fix warnings.

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

19 years ago* attribute.cs (Attribute.CheckAttributeType): Remove complain flag.
Raja R Harinath [Wed, 1 Dec 2004 12:15:23 +0000 (12:15 -0000)]
* attribute.cs (Attribute.CheckAttributeType): Remove complain flag.
Fix long-standing bug in type-lookup.  Use FindType instead of
LookupType when ec.ResolvingTypeTree.
(Attribute.ResolveType, Attribute.Resolve)
(Attribute.DefinePInvokeMethod,GlobalAttribute.CheckAttributeType):
Update to changes.
(Attributes.Search): Remove internal version.  Update.
(Attributes.SearchMulti): Update.
(Attributes.GetClsCompliantAttribute): Remove.
(Attributes.GetIndexerNameAttribute): Remove.
* decl.cs (MemberCore.GetClsCompliantAttributeValue): Update to changes.
(DeclSpace.GetClsCompliantAttributeValue): Likewise.
* class.cs (Indexer.Define): Likewise.

Tested with a full mcs/ build, monodoc, gtk-sharp, tomboy, beagle.

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

19 years agoforgot this
Gonzalo Paniagua Javier [Wed, 1 Dec 2004 12:14:05 +0000 (12:14 -0000)]
forgot this

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

19 years ago2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Dec 2004 12:10:20 +0000 (12:10 -0000)]
2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* metadata/process.c: (complete_path) return the path quoted
* io-layer/processes.c: unquote the cmd path, allow for ' or " when
quoting and pass the quoted program name to the daemon, otherwise the
call to g_shell_unquote in the daemon will break things up.

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

19 years ago2004-12-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 1 Dec 2004 11:42:43 +0000 (11:42 -0000)]
2004-12-01  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoGenericInst): New structure.
(MonoGenericClass): Replaced `type_argc', `type_argv' and
`is_open' with `MonoGenericInst *inst'.
(MonoGenericMethod): Replaced `mtype_argc', `mtype_argv' and
`is_open' with `MonoGenericInst *inst'.

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

19 years ago2004-12-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 1 Dec 2004 11:42:03 +0000 (11:42 -0000)]
2004-12-01  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoGenericInst): New structure.
(MonoGenericClass): Replaced `type_argc', `type_argv' and
`is_open' with `MonoGenericInst *inst'.
(MonoGenericMethod): Replaced `mtype_argc', `mtype_argv' and
`is_open' with `MonoGenericInst *inst'.

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

19 years ago2004-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Dec 2004 10:57:55 +0000 (10:57 -0000)]
2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* IXPathChangeNavigable.cs,
  XmlChangeFilters.cs,
  XPathDocumentNodeChangedAction.cs : removed old files.
* System.Xml.dll.sources : removed old files.

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

19 years agosvn path=/trunk/mcs/; revision=36894
Marek Safar [Wed, 1 Dec 2004 10:44:42 +0000 (10:44 -0000)]
svn path=/trunk/mcs/; revision=36894

19 years ago2004-12-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 1 Dec 2004 10:34:48 +0000 (10:34 -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.

* report.cs: Print whole related error message.

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

19 years ago2004-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Dec 2004 10:23:11 +0000 (10:23 -0000)]
2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs : with related to the previous patch, many comments
  got making no sense. Thanks to Harinath.

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

19 years ago2004-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Dec 2004 10:08:37 +0000 (10:08 -0000)]
2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : XPathNavigatorNsm needed more love. Clone() does not
  make sense here.

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

19 years ago * ListView.cs (CalculateListView): Fixed scrolling related
Ravindra [Wed, 1 Dec 2004 10:07:51 +0000 (10:07 -0000)]
* ListView.cs (CalculateListView): Fixed scrolling related
calculations. Also, removed some debug statements from other
places.
* ListViewItem.cs: Changed access to 'selected' instance variable
from private to internal.
* ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.

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

19 years agofixes scrollbar problems and updates old theme code
Jordi Mas i Hernandez [Wed, 1 Dec 2004 09:57:25 +0000 (09:57 -0000)]
fixes scrollbar problems and updates old theme code

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

19 years ago2004-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Dec 2004 08:55:40 +0000 (08:55 -0000)]
2004-12-01  Atsushi Enomoto <atsushi@ximian.com>

* mcs.exe.config : eol-style testing.

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

19 years ago2004-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Dec 2004 08:36:02 +0000 (08:36 -0000)]
2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* cs0545.cs : testing eol-style.

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

19 years agoFix line endings
Raja R Harinath [Wed, 1 Dec 2004 08:04:03 +0000 (08:04 -0000)]
Fix line endings

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

19 years agochange more of the svn:eol-style:native=anonymous.cs to svn:eol-style=native
Raja R Harinath [Wed, 1 Dec 2004 08:00:01 +0000 (08:00 -0000)]
change more of the svn:eol-style:native=anonymous.cs to svn:eol-style=native
for files with unix line endings

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

19 years agochanged svn:eol-style:native=bug10.cs to svn:eol-style=native for
Raja R Harinath [Wed, 1 Dec 2004 07:46:08 +0000 (07:46 -0000)]
changed svn:eol-style:native=bug10.cs to svn:eol-style=native for
files with unix line endings (or those that could be trivially fixed
without munging editing history too much)
Also remove svn:eol-style:native from binary files

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

19 years agoreplace svn:eol-style:native=2test-10.cs properties with svn:eol-style=native
Raja R Harinath [Wed, 1 Dec 2004 07:12:32 +0000 (07:12 -0000)]
replace svn:eol-style:native=2test-10.cs properties with svn:eol-style=native
for those files that have unix line endings.

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

19 years ago2004-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Dec 2004 06:54:14 +0000 (06:54 -0000)]
2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs : actually I mean this patch.

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

19 years agoFix stray ^M in decl.cs.
Raja R Harinath [Wed, 1 Dec 2004 05:40:25 +0000 (05:40 -0000)]
Fix stray ^M in decl.cs.
Change svn:eol-style:native=anonymous.cs properties to svn:eol-style=native

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