mono.git
21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 03:47:46 +0000 (03:47 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * NameObjectCollectionBase.cs: added iterator stubb to
                NameObjectCollectionBase.KeysCollection

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

21 years agoAdded missing using statements.
Duncan Mak [Tue, 23 Jul 2002 03:45:40 +0000 (03:45 -0000)]
Added missing using statements.

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 03:41:57 +0000 (03:41 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * ComponentCollection.cs: Added reference to
                ReadOnlyCollectionBase to make sure
                that we inherit the appropriate methods.
                Not sure why the Dispose() method is
                required, but left for now.

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

21 years ago2002-07-23 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 23 Jul 2002 03:33:14 +0000 (03:33 -0000)]
2002-07-23  Duncan Mak  <duncan@ximian.com>

* AccessedThroughPropertyAttribute.cs:
* CompilationRelaxationsAttribute.cs:
* CompilerGlobalScopeAttribute.cs:
* CustomConstantAttribute.cs:
* DateTimeConstantAttribute.cs:
* DecimalConstantAttribute.cs:
* DiscardableAttribute.cs:
* IDispatchConstantAttribute.cs:
* IUnknownConstantAttribute.cs:
* RequiredAttributeAttribute.cs: Added all the missing Attributes

* IsVolatile.cs: Added to CVS.

* MethodImplOptions.cs: Added the PreserveSig flag.

* IRemotingFormatter.cs: Added to CVS.

* IMethodMessage.cs: IMethodMessage inherits from IMessage.

* list:
* unix.args: Added new Attributes in System.Runtim.CompilerServices.

* System.Runtime.Remoting.Proxies/ProxyAttribute.cs: Added.

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 03:20:22 +0000 (03:20 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * TypeConverter.cs: Added new stubbs
        * BindableAttribute.cs: Added
        * BindableSupport.cs: Added
        * NotifyParentPropertyAttribute.cs: Added
        * ExpandableObjectConverter.cs: Added

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 03:18:36 +0000 (03:18 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * list.unix: Added files to the build for linux
                System.ComponentModel.BindableAttribute.cs,
                System.ComponentModel.BindableSupport.cs,
                System.ComponentModel.ExpandableObjectConverter.cs,
                System.ComponentModel.NotifyParentPropertyAttribute.cs,
                System.ComponentModel.ToolboxItemAttribute.cs,

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

21 years ago2002-07-20 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 02:37:40 +0000 (02:37 -0000)]
2002-07-20  Tim Coleman <tim@timcoleman.com>
        * list.unix: Added System.ComponentModel/DefaultEventAttribute.cs
                and System.ComponentModel.DefaultProperty.cs to build

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 02:31:05 +0000 (02:31 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * list:
        * unix.args:
                Added System.Security.Permission/ReflectionPermission.cs and
                System.Security.Permission/EnvironmentPermission.cs and

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 02:30:28 +0000 (02:30 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* ReflectionPermission.cs:
* EnvironmentPermission.cs:
bad place for an override keyword :(

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 02:22:13 +0000 (02:22 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* makefile.gnu: added instructions to build System.EnterpriseServices.dll
on linux

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 02:20:16 +0000 (02:20 -0000)]
2002-07-22 Tim Coleman  <tim@timcoleman.com>
* makefile.gnu: added to build on linux

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 02:04:44 +0000 (02:04 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * list:
                Added System.Security.Permission/ReflectionPermission.cs and
                System.Security.Permission/EnvironmentPermission.cs and

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 02:03:44 +0000 (02:03 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * ReflectionPermission.cs:
        * EnvironmentPermission.cs:
                Stubbs added because these are referenced
                in System.Web.

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

21 years ago2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 23 Jul 2002 01:17:39 +0000 (01:17 -0000)]
2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: added more page events to invoke automagically if some
methods are defined.

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

21 years ago2002-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 23 Jul 2002 01:04:32 +0000 (01:04 -0000)]
2002-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c:
(search_method): don't display debug message.

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 23 Jul 2002 01:00:50 +0000 (01:00 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* HttpUtility.cs: Cleanup of the code, implementation
of HtmlDecode/HtmlEncode functions

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

21 years ago2002-07-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 22 Jul 2002 23:39:43 +0000 (23:39 -0000)]
2002-07-22  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.AddMethod): Adding methods do not use IsValid,
but this is required to check for a method name being the same as
the containing class.

Handle this now.

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

21 years agoAdded a missing ;
Gonzalo Paniagua Javier [Mon, 22 Jul 2002 23:33:43 +0000 (23:33 -0000)]
Added a missing ;

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

21 years ago2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Jul 2002 23:31:14 +0000 (23:31 -0000)]
2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* interface.cs: initialize variable.

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 23:22:35 +0000 (23:22 -0000)]
2002-07-22 Tim Coleman <tim@timcoleman.com>
* WebServicesDescriptionAttribute.cs:
Added for build in System.Web.Services.Protocols

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 23:19:46 +0000 (23:19 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* SoapHeaderException.cs:
Fixed name error in constructor
* SoapUnknownHeader.cs:
Added reference to System.Xml.Serialization

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 22:53:25 +0000 (22:53 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
        * SoapHeaderException.cs:
                New file added

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 22:52:09 +0000 (22:52 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* AnyReturnReader.cs:
* HtmlFormParameterReader.cs :
* HtmlFormParameterWriter.cs :
* HttpGetClientProtocol.cs :
* HttpMethodAttribute.cs :
* HttpPostClientProtocol.cs :
* HttpSimpleClientProtocol.cs :
* HttpWebClientProtocol.cs :
* LogicalMethodInfo.cs :
* LogicalMethodTypes.cs :
* MatchAttribute.cs :
* MimeFormatter.cs :
* MimeParameterReader.cs :
* MimeParameterWriter.cs :
* MimeReturnReader.cs :
* NopReturnReader.cs :
* PatternMatcher.cs :
* SoapClientMessage.cs :
* SoapDocumentMethodAttribute.cs :
* SoapDocumentServiceAttribute.cs :
* SoapException.cs :
* SoapExtension.cs :
* SoapExtensionAttribute.cs :
* SoapHeader.cs :
* SoapHeaderAttribute.cs :
* SoapHeaderCollection.cs :
* SoapHeaderDirection.cs :
* SoapHttpClientProtocol.cs :
* SoapMessage.cs :
* SoapMessageStage.cs :
* SoapParameterStyle.cs :
* SoapRpcMethodAttribute.cs :
* SoapRpcServiceAttribute.cs :
* SoapServerMessage.cs :
* SoapServiceRoutingStyle.cs :
* SoapUnknownHeader.cs :
* TextReturnReader.cs :
* UrlEncodedParameterWriter.cs :
* UrlParameterReader.cs :
* UrlParameterWriter.cs :
* ValueCollectionParameterReader.cs :
* WebClientAsyncResult.cs :
* WebClientProtocol.cs :
* WebServiceHandlerFactory.cs :
* XmlReturnReader.cs :
Add missing methods and attributes to make as few missing
things as possible in this namespace.  This is from the
project status page.

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

21 years ago2002-07-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 22:42:53 +0000 (22:42 -0000)]
2002-07-23  Martin Baulig  <martin@gnome.org>

Implemented the IndexerName attribute in interfaces.

* class.cs (TypeContainer.DefineIndexers): Don't set the indexer
name if this is an explicit interface implementation.
(Indexer.InterfaceIndexerName): New public variable.  If we're
implementing an interface indexer, this is the IndexerName in that
interface.  Otherwise, it's the IndexerName.
(Indexer.DefineMethod): If we're implementing interface indexer,
set InterfaceIndexerName.  Use the new Pending.IsInterfaceIndexer
and Pending.ImplementIndexer methods.
(Indexer.Define): Also define the PropertyBuilder if we're
implementing an interface indexer and this is neither an explicit
interface implementation nor do the IndexerName match the one in
the interface.

* pending.cs (TypeAndMethods): Added `MethodInfo [] need_proxy'.
If a method is defined here, then we always need to create a proxy
for it.  This is used when implementing interface indexers.
(Pending.IsInterfaceIndexer): New public method.
(Pending.ImplementIndexer): New public method.
(Pending.InterfaceMethod): Added `MethodInfo need_proxy' argument.
This is used when implementing interface indexers to define a proxy
if necessary.
(Pending.VerifyPendingMethods): Look in the `need_proxy' array and
define a proxy if necessary.

* interface.cs (Interface.IndexerName): New public variable.
(Interface.PopulateIndexer): Set the IndexerName.
(Interface.DefineIndexers): New private method.  Populate all the
indexers and make sure their IndexerNames match.

* typemanager.cs (IndexerPropertyName): Added support for interface
indexers.

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

21 years ago2002-07-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 22:40:42 +0000 (22:40 -0000)]
2002-07-23  Martin Baulig  <martin@gnome.org>

* test-148.cs: New test.

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

21 years ago2002-07-22 Peter Williams <peterw@ximian.com>
Peter Williams [Mon, 22 Jul 2002 22:20:19 +0000 (22:20 -0000)]
2002-07-22  Peter Williams  <peterw@ximian.com>

* class/library.make: (clean): Robustify this rule a bit.

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

21 years ago2002-07-22 Peter Williams <peterw@ximian.com>
Peter Williams [Mon, 22 Jul 2002 21:30:12 +0000 (21:30 -0000)]
2002-07-22  Peter Williams  <peterw@ximian.com>

* class/library.make: Oops, the deps weren't right -- touching a .cs
file didn't cause the libraries to be rebuilt.

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

21 years ago2002-07-22 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 22 Jul 2002 19:45:01 +0000 (19:45 -0000)]
2002-07-22  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (arch_allocate_var): fix alignment bug

* x86.brg (X86_CALL_BEGIN): add argument padding before emitting a call

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

21 years ago * metadata.c (mono_type_stack_size): added temporary fix for new gcc
Dietmar Maurer [Mon, 22 Jul 2002 18:43:44 +0000 (18:43 -0000)]
* metadata.c (mono_type_stack_size): added temporary fix for new gcc

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

21 years agoLink to the spanish mono list
Miguel de Icaza [Mon, 22 Jul 2002 17:51:57 +0000 (17:51 -0000)]
Link to the spanish mono list

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 17:42:26 +0000 (17:42 -0000)]
2002-07-22 Tim Coleman <tim@timcoleman.com>
* Binding.cs:
* BindingCollection.cs:
* DocumentableItem.cs:
* FaultBinding.cs:
* FaultBindingCollection.cs:
* HttpAddressBinding.cs:
* HttpBinding.cs:
* HttpOperationBinding.cs:
* HttpUrlEncodedBinding.cs:
* HttpUrlReplacementBinding.cs:
* Import.cs:
* ImportCollection.cs:
* InputBinding.cs:
* Message.cs:
* MessageBinding.cs:
* MessageCollection.cs:
* MessagePart.cs:
* MessagePartCollection.cs:
* MimeContentBinding.cs:
* MimeMultipartRelatedBinding.cs:
* MimePart.cs:
* MimePartCollection.cs:
* MimeTextBinding.cs:
* MimeTextMatch.cs:
* MimeTextMatchCollection.cs:
* MimeXmlBinding.cs:
* Operation.cs:
* OperationBinding.cs:
* OperationBindingCollection.cs:
* OperationCollection.cs:
* OperationFaultCollection.cs:
* OperationFlow.cs:
* OperationMessage.cs:
* OperationMessageCollection.cs:
* OutputBinding.cs:
* Port.cs:
* PortCollection.cs:
* PortType.cs:
* PortTypeCollection.cs:
* ProtocolImporter.cs:
* Service.cs:
* ServiceCollection.cs:
* ServiceDescription.cs:
* ServiceDescriptionBaseCollection.cs:
* ServiceDescriptionCollection.cs:
* ServiceDescriptionFormatExtension.cs:
* ServiceDescriptionFormatExtensionCollection.cs:
* ServiceDescriptionImportWarnings.cs:
* SoapAddressBinding.cs:
* SoapBinding.cs:
* SoapBindingStyle.cs:
* SoapBindingUse.cs:
* SoapBodyBinding.cs:
* SoapExtensionImporter.cs:
* SoapExtensionReflector.cs:
* SoapFaultBinding.cs:
* SoapHeaderBinding.cs:
* SoapHeaderFaultBinding.cs:
* SoapOperationBinding.cs:
* SoapTransportImporter.cs:
* Types.cs:
1. Add missing attributes as determined by reflection
2. Fix protection levels where appropriate
3. Add missing items where appropriate
Basically, this was a change to remove all the X's from
the project status page for this namespace :)

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

21 years ago2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Jul 2002 17:34:46 +0000 (17:34 -0000)]
2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Int32.cs:
* Int64.cs:
* UInt32.cs:
* UInt64.cs: fixed bug #28050. May be a MS bug?

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

21 years ago2002-07-22 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 22 Jul 2002 17:19:13 +0000 (17:19 -0000)]
2002-07-22  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): s/k/k + 1/

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

21 years agoMon Jul 22 18:17:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Jul 2002 16:19:38 +0000 (16:19 -0000)]
Mon Jul 22 18:17:05 CEST 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.c: set the missing filename when throwing exception.

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

21 years ago2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Jul 2002 16:17:06 +0000 (16:17 -0000)]
2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs:
(SaveViewState): save state even when control is not visible.
(SaveViewStateRecursive):
(LoadViewStateRecursive): made internal.

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

21 years ago(mono_type_stack_size): removed some test code
Dietmar Maurer [Mon, 22 Jul 2002 15:42:50 +0000 (15:42 -0000)]
(mono_type_stack_size): removed some test code

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

21 years ago2002-07-22 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 22 Jul 2002 15:36:29 +0000 (15:36 -0000)]
2002-07-22  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_type_size): code cleanup

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 13:40:37 +0000 (13:40 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* codegen.cs (EmitContext.HasReturnLabel): New public variable.
(EmitContext.EmitTopBlock): Always mark the ReturnLabel and emit a
ret if HasReturnLabel.
(EmitContext.TryCatchLevel, LoopBeginTryCatchLevel): New public
variables.

* statement.cs (Do.Emit, While.Emit, For.Emit, Foreach.Emit): Save
and set the ec.LoopBeginTryCatchLevel.
(Try.Emit): Increment the ec.TryCatchLevel while emitting the block.
(Continue.Emit): If the ec.LoopBeginTryCatchLevel is smaller than
the current ec.TryCatchLevel, the branch goes out of an exception
block.  In this case, we need to use Leave and not Br.

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 13:36:36 +0000 (13:36 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* verify-2.cs: New test.

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

21 years ago2002-07-22 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 22 Jul 2002 13:35:10 +0000 (13:35 -0000)]
2002-07-22  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (LOCALLOC): align to MONO_FRAME_ALIGNMENT

* emit-x86.c (arch_get_argument_info): impl.

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 13:30:26 +0000 (13:30 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* System.Web.Services.build:
Added reference to new System.EnterpriseServices.dll
which is required for System.Web.Services.WebMethodAttribute

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 13:29:44 +0000 (13:29 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* WebMethodAttribute.cs:
Remove comments around TransactionOption bits
because I added that enum.
* WebServiceAttribute.cs:
* WebServiceBindingAttribute.cs:
Added "sealed" to protection level, which I missed
before.

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 13:21:22 +0000 (13:21 -0000)]
2002-07-22 Tim Coleman <tim@timcoleman.com>
* library.build: Add build for System.EnterpriseServices

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 13:20:21 +0000 (13:20 -0000)]
2002-07-22 Tim Coleman  <tim@timcoleman.com>
* TransactionOption.cs: New enum added as
required by System.Web.Services

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 13:19:26 +0000 (13:19 -0000)]
2002-07-22 Tim Coleman  <tim@timcoleman.com>
* System.EnterpriseServices: New namespace created
to provide enum needed by Web Services
* System.EnterpriseServices.build: New file
* list: New file

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

21 years ago2002-07-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Jul 2002 13:17:20 +0000 (13:17 -0000)]
2002-07-22  Tim Coleman <tim@timcoleman.com>
* list: Added new files from System.Web.Services.Protocols
and System.Web.Services.Configuration

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 12:18:19 +0000 (12:18 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* verify-1.cs: New test.  The verify-XXX.cs tests must be
compiled and then verified - either with `pedump --verify code'
or with PEverify.

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 12:16:24 +0000 (12:16 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* statement.cs (Try.Emit): Emit an explicit ret after the end of the
block unless the block does not always return or it is contained in
another try { ... } catch { ... } block.  Fixes bug #26506.
Added verify-1.cs to the test suite.

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

21 years agoFlush
Miguel de Icaza [Mon, 22 Jul 2002 06:04:06 +0000 (06:04 -0000)]
Flush

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

21 years ago2002-07-21 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Mon, 22 Jul 2002 03:46:51 +0000 (03:46 -0000)]
2002-07-21  Jeffrey Stedfast  <fejj@ximian.com>

* daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
these are needed for sendmsg() and also for struct msghdr (at
least on Solaris). Solaris still won't build because struct msghdr
doesn't have msg_flags, msg_control, or msg_controllen members.
(CMSG_SPACE): Define for systems that don't have it.
(CMSG_LEN): Same.

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

21 years ago2002-07-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 22 Jul 2002 03:31:25 +0000 (03:31 -0000)]
2002-07-21  Miguel de Icaza  <miguel@ximian.com>

* appdomain.c (ves_icall_System_Reflection_Assembly_LoadFrom): Use
mono_get_exception_file_not_found now.

* exception.c (mono_exception_from_name_two_strings): New version
that will call a constructor with two string arguments.
(mono_get_exception_file_not_found): New helper routine, used to
report file-not-found errors.

2002-07-21  Miguel de Icaza  <miguel@ximian.com>

* exception.c (arch_handle_exception): Memory leak fix.

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

21 years agoReverted my latest workaround in these files. The corresponding bug in MCS
Martin Baulig [Mon, 22 Jul 2002 01:04:31 +0000 (01:04 -0000)]
Reverted my latest workaround in these files.  The corresponding bug in MCS
is now fixed.

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 01:02:28 +0000 (01:02 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* statement.cs (Switch.TableSwitchEmit): If we don't have a default,
then we do not always return.  Fixes bug #24985.

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

21 years ago2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Jul 2002 00:27:51 +0000 (00:27 -0000)]
2002-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: improved event raising to allow client postback for a wider
variety of actions (clicking an hyperlink, ...).

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

21 years agoMore updates asp-net
Miguel de Icaza [Mon, 22 Jul 2002 00:13:05 +0000 (00:13 -0000)]
More updates asp-net

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 00:08:28 +0000 (00:08 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* makefile: test-29 now passes.

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 22 Jul 2002 00:07:31 +0000 (00:07 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* expression.cs (Invocation.OverloadedResolve): Do the BetterFunction()
lookup on a per-class level; ie. walk up the class hierarchy until we
found at least one applicable method, then choose the best among them.
Fixes bug #24463 and test-29.cs.

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 23:12:02 +0000 (23:12 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* test.147.cs: New test for the `new' modifier.

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

21 years ago2002-07-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 23:10:40 +0000 (23:10 -0000)]
2002-07-22  Martin Baulig  <martin@gnome.org>

* typemanager.cs (TypeManager.ArrayContainsMethod): Don't check the
return types of the methods.  The return type is not part of the
signature and we must not check it to make the `new' modifier work.
Fixes bug bug #27999, also added test-147.cs.
(TypeManager.TypeToCoreType): Added TypeManager.type_type.

* expression.cs (Invocation.DoResolve): Call TypeManager.TypeToCoreType()
on the method's return type.

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

21 years agoMore updates asp-net
Miguel de Icaza [Sun, 21 Jul 2002 23:06:40 +0000 (23:06 -0000)]
More updates asp-net

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

21 years agosample fix
Miguel de Icaza [Sun, 21 Jul 2002 21:50:27 +0000 (21:50 -0000)]
sample fix

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

21 years ago2002-07-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 21:38:35 +0000 (21:38 -0000)]
2002-07-21  Martin Baulig  <martin@gnome.org>

* test-38.cs: Added a few more test cases to this test.

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

21 years ago2002-07-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 21:37:56 +0000 (21:37 -0000)]
2002-07-21  Martin Baulig  <martin@gnome.org>

* makefile.gnu: Disable debugging, there's already the mcs-mono2.exe
target in the makefile for this.  The makefile.gnu is primarily intended
for end-users who don't want to debug the compiler.

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

21 years ago2002-07-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 21:37:35 +0000 (21:37 -0000)]
2002-07-21  Martin Baulig  <martin@gnome.org>

* assign.cs: Make this work if the rightmost source is a constant and
we need to do an implicit type conversion.  Also adding a few more tests
to test-38.cs which should have caught this.

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

21 years ago2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Jul 2002 20:07:10 +0000 (20:07 -0000)]
2002-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* index: close the anchor for first link in Jul 17th.

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

21 years ago2002-07-21 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 21 Jul 2002 05:17:56 +0000 (05:17 -0000)]
2002-07-21 Tim Coleman  <tim@timcoleman.com>
* ChangeLog:
* XmlFormatExtensionAttribute.cs:
* XmlFormatExtensionPointAttribute.cs:
* XmlFormatExtensionPrefixAttribute.cs:
New files added

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

21 years ago2002-07-21 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Sun, 21 Jul 2002 04:38:33 +0000 (04:38 -0000)]
2002-07-21  Jeffrey Stedfast  <fejj@ximian.com>

* daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
these are needed for sendmsg() and also for struct msghdr (at
least on Solaris). Solaris still won't build because struct msghdr
doesn't have msg_flags, msg_control, or msg_controllen members.

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

21 years ago2002-07-20 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 21 Jul 2002 03:47:36 +0000 (03:47 -0000)]
2002-07-20 Tim Coleman  <tim@timcoleman.com>
* AnyReturnReader.cs:
* HtmlFormParameterReader.cs:
* HtmlFormParameterWriter.cs:
* HttpGetClientProtocol.cs:
* HttpMethodAttribute.cs:
* HttpPostClientProtocol.cs:
* HttpSimpleClientProtocol.cs:
* HttpWebClientProtocol.cs:
* MatchAttribute.cs:
* MimeFormatter.cs:
* MimeParameterReader.cs:
* MimeParameterWriter.cs:
* MimeReturnReader.cs:
* NopReturnReader.cs:
* PatternMatcher.cs:
* SoapClientMessage.cs:
* SoapDocumentMethodAttribute.cs:
* SoapDocumentServiceAttribute.cs:
* SoapException.cs:
* SoapExtensionAttribute.cs:
* SoapExtension.cs:
* SoapHeaderAttribute.cs:
* SoapHeaderCollection.cs:
* SoapHeader.cs:
* SoapHeaderDirection.cs:
* SoapHttpClientProtocol.cs:
* SoapMessage.cs:
* SoapMessageStage.cs:
* SoapParameterStyle.cs:
* SoapRpcMethodAttribute.cs:
* SoapRpcServiceAttribute.cs:
* SoapServerMessage.cs:
* SoapServiceRoutingStyle.cs:
* SoapUnknownHeader.cs:
* TextReturnReader.cs:
* UrlEncodedParameterWriter.cs:
* UrlParameterReader.cs:
* UrlParameterWriter.cs:
* ValueCollectionParameterReader.cs:
* WebClientAsyncResult.cs:
* WebClientProtocol.cs:
* WebServiceHandlerFactory.cs:
* XmlReturnReader.cs:
Added new stubbs and some implementation
* LogicalMethodTypes.cs:
Added [Serializable] attribute which was missing.

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

21 years ago2002-07-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 01:27:40 +0000 (01:27 -0000)]
2002-07-20  Martin Baulig  <martin@gnome.org>

* class/makefile.gnu: Added System.Data.

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

21 years ago2002-07-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 01:26:20 +0000 (01:26 -0000)]
2002-07-20  Martin Baulig  <martin@gnome.org>

* test-38.cs: This test now passes with MCS.  Added a few more
test cases to it.

* test-52.cs: The order of the elements returned by
`IDictionary.Keys' is unspecified.

* makefile: The following tests fail under linux and have been
moved to TEST_NOPASS: 45, 53, 91, 106, 107, 122, 132, 133.
(test-compiler-mono): Compile all the TEST_NOPASS tests, but
don't run them.

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

21 years ago2002-07-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 21 Jul 2002 01:24:37 +0000 (01:24 -0000)]
2002-07-21  Martin Baulig  <martin@gnome.org>

* assign.cs: Improved the Assign class so it can now handle embedded
assignments (X = Y = Z = something).  As a side-effect this'll now also
consume less local variables.  test-38.cs now passes with MCS, added
a few new test cases to that test.

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

21 years agoFlush, include System.Web.Services
Miguel de Icaza [Sun, 21 Jul 2002 01:00:52 +0000 (01:00 -0000)]
Flush, include System.Web.Services

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

21 years ago2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Jul 2002 00:23:52 +0000 (00:23 -0000)]
2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UserControl.cs: implemented Load/SaveViewState.

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

21 years agoUpdate news
Miguel de Icaza [Sat, 20 Jul 2002 20:22:14 +0000 (20:22 -0000)]
Update news

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

21 years agoAdd useful macros
Miguel de Icaza [Sat, 20 Jul 2002 19:17:58 +0000 (19:17 -0000)]
Add useful macros

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

21 years agoInlcude WebSerices in the status display
Miguel de Icaza [Sat, 20 Jul 2002 18:52:50 +0000 (18:52 -0000)]
Inlcude WebSerices in the status display

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

21 years agoWeb: fixed the tutorial link (but didn't push the site)
Alp Toker [Sat, 20 Jul 2002 18:00:21 +0000 (18:00 -0000)]
Web: fixed the tutorial link (but didn't push the site)

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

21 years agoChangeLog update.
Alp Toker [Sat, 20 Jul 2002 16:28:14 +0000 (16:28 -0000)]
ChangeLog update.

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

21 years ago2002-07-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 20 Jul 2002 15:42:40 +0000 (15:42 -0000)]
2002-07-20  Martin Baulig  <martin@gnome.org>

* README.tests: Added (empty) list of all the test cases.
When you add any test cases, please add them to this file.

* test-146.cs: Added test for bug #27977 which is now fixed.

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

21 years ago2002-07-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 20 Jul 2002 15:39:59 +0000 (15:39 -0000)]
2002-07-20  Martin Baulig  <martin@gnome.org>

* expression.cs (Binary.EmitBranchable): Emit correct unsigned branch
instructions.  Fixes bug #27977, also added test-146.cs.

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

21 years agoimpl. mono_method_get_last_managed ()
Dietmar Maurer [Sat, 20 Jul 2002 14:52:34 +0000 (14:52 -0000)]
impl. mono_method_get_last_managed ()

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

21 years ago2002-07-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 20 Jul 2002 13:55:59 +0000 (13:55 -0000)]
2002-07-20  Martin Baulig  <martin@gnome.org>

* class/makefile.gnu: Added System.Data.

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

21 years ago2002-07-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 20 Jul 2002 13:41:36 +0000 (13:41 -0000)]
2002-07-20  Martin Baulig  <martin@gnome.org>

* class/library.make: Put $(MONO_PATH_PREFIX) in front of the MONO_PATH.

* class/*/makefile.gnu: Set MONO_PATH_PREFIX=../lib:

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

21 years ago*** empty log message ***
Martin Baulig [Sat, 20 Jul 2002 13:09:57 +0000 (13:09 -0000)]
*** empty log message ***

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

21 years ago2002-07-20 Dick Porter <dick@ximian.com>
Dick Porter [Sat, 20 Jul 2002 10:30:18 +0000 (10:30 -0000)]
2002-07-20  Dick Porter  <dick@ximian.com>

* Process.cs: Implement file handle redirection

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

* MonoIO.cs: Added icall to CreatePipe

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

* MonoIO.cs: Cut down copy of corlib/System.IO/MonoIO.cs, so it
can be used from the System assembly but still not be exposed to
users.

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

21 years ago2002-07-20 Dick Porter <dick@ximian.com>
Dick Porter [Sat, 20 Jul 2002 10:19:39 +0000 (10:19 -0000)]
2002-07-20  Dick Porter  <dick@ximian.com>

* wapi-private.h:
* io-private.h:
* io.h:
* io.c:
* handles.c: Implemented pipe handles

* handles.c:
* daemon.c: Fixed bug in handle closing.

* shared.c:
* daemon.c: Forked processes now close all open file descriptors.

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

* process.h:
* process.c: Pass file handles to CreateProcess

* icall.c:
* file-io.h:
* file-io.c: Implemented CreatePipe

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

21 years agoUpdated ignores for shared lib builds
Dick Porter [Sat, 20 Jul 2002 10:10:27 +0000 (10:10 -0000)]
Updated ignores for shared lib builds

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

21 years agoAdded missing files.
Paolo Molaro [Sat, 20 Jul 2002 09:01:48 +0000 (09:01 -0000)]
Added missing files.

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

21 years ago2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 20 Jul 2002 08:39:12 +0000 (08:39 -0000)]
2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MemberDescriptor.cs: implemented Attributes and Category.

* PropertyDescriptor.cs: implemented Converter. Declared GetValue ().

* PropertyDescriptorCollection.cs: fixed indexers declaration.

* ReadOnlyAttribute.cs: GetHashCoder (), Equals (), IsDefault () and
fixed value for Yes.

* ToolboxItemAttribute.cs: fixed declaration of IsDefaultAttribute.

* TypeConverter.cs: added SimplePropertyDescriptor class.

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

21 years agoUse Attributes in Style
Gonzalo Paniagua Javier [Sat, 20 Jul 2002 07:13:03 +0000 (07:13 -0000)]
Use Attributes in Style

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

21 years ago2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 20 Jul 2002 07:07:39 +0000 (07:07 -0000)]
2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/AttributeCollection.cs:
(Add): handle 'style' through styleCollection.

* System.Web.UI/CssStyleCollection.cs:
(fillStyle): renamed to FillStyle and made it internal.

* System.Web.UI/Page.cs:
(GetViewStateString): fixed, broken after other recent changes.
(ProcessPostData): allow a second try for postback data after OnLoad.
(ProcessRequest): clear controls collection, removed call to
UnloadRecursive.

* System.Web.UI.HtmlControls/HtmlControl.cs: the attributes must use
ViewState as its StateBag, if not style values are lost between
postbacks.

* System.Web.UI.WebControls/TextBox.cs: default for Wrap is true.
(OnPreRender): don't save Text if there are no listeners on TextChanged.

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

21 years ago2002-07-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 19 Jul 2002 21:26:49 +0000 (21:26 -0000)]
2002-07-19  Martin Baulig  <martin@gnome.org>

* test-145.cs: Added test for bug #25318 which is now fixed.

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

21 years ago2002-07-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 19 Jul 2002 21:20:14 +0000 (21:20 -0000)]
2002-07-19  Martin Baulig  <martin@gnome.org>

* makefile.gnu: Added makefile for self-hosting compile on GNU/Linux.
Don't add this to the top-level makefile.gnu, this must be run after
everything is compiled.

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

21 years agoCreate mcs first and then use the newly compiled mcs to compile the class libraries.
Martin Baulig [Fri, 19 Jul 2002 21:17:26 +0000 (21:17 -0000)]
Create mcs first and then use the newly compiled mcs to compile the class libraries.

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

21 years agoFile is obsolete.
Alp Toker [Fri, 19 Jul 2002 19:40:34 +0000 (19:40 -0000)]
File is obsolete.

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

21 years agoIt makes more sense to call mcs directly as wrapper shell scripts are soon to
Alp Toker [Fri, 19 Jul 2002 19:39:41 +0000 (19:39 -0000)]
It makes more sense to call mcs directly as wrapper shell scripts are soon to
be phased out anyway. NUnitConsole_mono.exe is now part of the build procedure
too. mcs-tool is gone.

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

21 years ago2002-07-19 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 19 Jul 2002 19:09:37 +0000 (19:09 -0000)]
2002-07-19  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): avoid recursive inlining

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

21 years agoUpdate man page
Miguel de Icaza [Fri, 19 Jul 2002 19:07:07 +0000 (19:07 -0000)]
Update man page

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

21 years ago2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Jul 2002 18:55:14 +0000 (18:55 -0000)]
2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Control.cs: uncommented Dispose.

* System.Web.UI/Page.cs:
(DeterminePostBackMode): more checkings.
(GetPostBackClientHyperLink): implemented.
(GetPostBackEventReference): added some comments with the HTML that MS
generates for that.
(ProcessRequest): fixed processing order. The page is unloaded after
a request and regenerated from view state on subsequents posts.

* System.Web.UI.WebControls/DropDownList.cs:
(ToolTip): fixed.

* System.Web.UI.WebControls/ListItem.cs:
(LoadViewState): fixed.

* System.Web.UI.WebControls/ListItemCollection.cs:
(TrackViewState): use items instead of 'this' in foreach.

* System.Web.UI.WebControls/Style.cs:
(LoadViewState): more checking of parameters.

* System.Web.UI.WebControls/WebControl.cs: implemented LoadViewState
and SaveViewState.

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

21 years agoUpdate man page
Miguel de Icaza [Fri, 19 Jul 2002 18:47:04 +0000 (18:47 -0000)]
Update man page

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