mono.git
21 years ago*** empty log message ***
Rodrigo Moya [Mon, 5 Aug 2002 23:20:35 +0000 (23:20 -0000)]
*** empty log message ***

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

21 years ago2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Mon, 5 Aug 2002 23:19:38 +0000 (23:19 -0000)]
2002-08-04  Rodrigo Moya <rodrigo@ximian.com>

* list: added missing System.Data.OleDb and
System.Data.Common files.

* System.Data.OleDb/ChangeLog: removed and merged with
System.Data's ChangeLog.

* System.Data.OleDb/OleDbDataAdapter.cs:
* System.Data.OleDb/OleDbPermission.cs: compilation fixes.

        * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
make some tests.

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

21 years agoAdded more files
Rodrigo Moya [Mon, 5 Aug 2002 22:30:46 +0000 (22:30 -0000)]
Added more files

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

21 years ago2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Mon, 5 Aug 2002 22:30:17 +0000 (22:30 -0000)]
2002-08-05  Rodrigo Moya <rodrigo@ximian.com>

* ChannelServices.cs:
* ChannelDataStore.cs:
* ClientChannelSinkStack.cs: new classes with some implementation.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 20:44:26 +0000 (20:44 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* expression.cs (BaseAccess.DoResolve): Actually report errors.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 20:31:19 +0000 (20:31 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* assign.cs (Assign.DoResolve): Check whether the source
expression is a value or variable.

* statement.cs (Try.Resolve): Set ec.InTry/InCatch/InFinally
while resolving the corresponding blocks.

* interface.cs (Interface.GetInterfaceTypeByName): Actually report
an error, don't silently return null.

* statement.cs (Block.AddVariable): Do the error reporting here
and distinguish between CS0128 and CS0136.
(Block.DoResolve): Report all unused labels (warning CS0164).
(LabeledStatement): Pass the location to the constructor.
(LabeledStatement.HasBeenReferenced): New property.
(LabeledStatement.Resolve): Set it to true here.

* statement.cs (Return.Emit): Return success even after reporting
a type mismatch error (CS0126 or CS0127), this is what csc does and
it avoids confusing the users with any consecutive errors.

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

21 years agoMake these tests actually work, they contained other syntax errors than the
Martin Baulig [Mon, 5 Aug 2002 20:14:00 +0000 (20:14 -0000)]
Make these tests actually work, they contained other syntax errors than the
ones they were supposed to produce.

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

21 years agoOoops, make this actually work.
Martin Baulig [Mon, 5 Aug 2002 20:11:44 +0000 (20:11 -0000)]
Ooops, make this actually work.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 19:39:35 +0000 (19:39 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* statement.cs (Block.AddVariable): Do the error reporting here
and distinguish between CS0128 and CS0136.
(Block.DoResolve): Report all unused labels (warning CS0164).
(LabeledStatement): Pass the location to the constructor.
(LabeledStatement.HasBeenReferenced): New property.
(LabeledStatement.Resolve): Set it to true here.

* statement.cs (Return.Emit): Return success even after reporting
a type mismatch error (CS0126 or CS0127), this is what csc does and
it avoids confusing the users with any consecutive errors.

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

21 years agoMon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 5 Aug 2002 19:21:10 +0000 (19:21 -0000)]
Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Assembly.cs: implemented EntryPoint and a few
resource related methods.

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

21 years agoMon Aug 5 19:30:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 5 Aug 2002 17:35:25 +0000 (17:35 -0000)]
Mon Aug 5 19:30:04 CEST 2002 Paolo Molaro <lupus@ximian.com>

* assembly.c: fix mem corruption issue.
* image.h, image.c: added mono_image_get_resource () to access
managed resources.
* icall.c: implemented Assembly.EntryPoint property and some
Managed Resources related internalcalls.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 17:34:52 +0000 (17:34 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* statement.cs (Return.Emit): Return success even after reporting
a type mismatch error (CS0126 or CS0127), this is what csc does and
it avoids confusing the users with any consecutive errors.

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

21 years agoMon Aug 5 19:21:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 5 Aug 2002 17:28:10 +0000 (17:28 -0000)]
Mon Aug 5 19:21:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* x86/tramp.c: fix random memory read in mono_create_method_pointer.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 16:49:16 +0000 (16:49 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* enum.cs (Enum.LookupEnumValue): Catch circular definitions.

* const.cs (Const.LookupConstantValue): Catch circular definitions.

* expression.cs (MemberAccess.DoResolve): Silently return if an
error has already been reported.

* ecore.cs (Expression.MemberLookupFinal): Silently return if an
error has already been reported.

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

21 years agonew test
Dietmar Maurer [Mon, 5 Aug 2002 16:45:03 +0000 (16:45 -0000)]
new test

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

21 years agox86-codegen.h: fixed bug in x86_memindex_emit, for basereg == EBP && disp == imm32;
Sergey Chaban [Mon, 5 Aug 2002 16:43:06 +0000 (16:43 -0000)]
x86-codegen.h: fixed bug in x86_memindex_emit, for basereg == EBP && disp == imm32;

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

21 years agoMon Aug 5 18:18:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 5 Aug 2002 16:19:46 +0000 (16:19 -0000)]
Mon Aug 5 18:18:03 CEST 2002 Paolo Molaro <lupus@ximian.com>

* image.c, image.h: impemented mono_image_get_entry_point ().
* appdomain.c: use mono_image_get_entry_point.

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

21 years agochanged CR/LF by CR and added GlobalizationConfiguration.cs
Gonzalo Paniagua Javier [Mon, 5 Aug 2002 16:14:41 +0000 (16:14 -0000)]
changed CR/LF by CR and added GlobalizationConfiguration.cs

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

21 years agoFixed typo
Gonzalo Paniagua Javier [Mon, 5 Aug 2002 15:57:34 +0000 (15:57 -0000)]
Fixed typo

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

21 years ago2002-08-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 5 Aug 2002 15:33:59 +0000 (15:33 -0000)]
2002-08-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AppDomainFactory.cs: implemented.
* ApplicationHost.cs: implemented.
* SimpleWorkerRequest.cs: a few little fixes and reformatted. It's now
fully implemented.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 15:23:30 +0000 (15:23 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* test-157.cs: Formerly known as ../errors/cs-20.cs

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

21 years agoSmall fix... :-)
Patrik Torstensson [Mon, 5 Aug 2002 15:22:41 +0000 (15:22 -0000)]
Small fix... :-)

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

21 years ago2002-07-24 Tim Coleman <tim@timcoleman.com>
Patrik Torstensson [Mon, 5 Aug 2002 15:16:56 +0000 (15:16 -0000)]
2002-07-24  Tim Coleman <tim@timcoleman.com>
* list:
Add System.Web/ApplicationFactory.cs
Add System.Web/HttpAsyncResult.cs
Add System.Web.Configuration/GlobalizationConfiguration.cs
Add System.Web.Configuration/HandlerFactoryConfiguration.cs
Add System.Web.Configuration/HandlerFactoryProxy.cs
Add System.Web.Configuration/HandlerItem.cs
Add System.Web.Configuration/ModuleItem.cs
Add System.Web.Configuration/ModulesConfiguration.cs

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

21 years ago2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
Patrik Torstensson [Mon, 5 Aug 2002 15:15:31 +0000 (15:15 -0000)]
2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>

* HttpApplication.cs: Implemented a state machine to allow handling of HttpModules
 and HttpHandlers. Implementation of async handlers.

* HttpApplicationFactory.cs: Factory for creating HttpApplication instances, including caching.

* HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a application instance to
 execute requests in and implementation of request execution (still no request queue).

* HttpAsyncResult.cs: New file to handle async module results.

* HttpRequest.cs: Change signature of Dispose
* HttpResponse.cs: new internal method allowing filtering to happen during the request flow in the
           state machine.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 15:10:03 +0000 (15:10 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* error-1.cs, error-2.cs: Moved to ../errors.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 15:09:13 +0000 (15:09 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* runtest.pl: This is a perl script which runs a testcase, parses the
MCS output and checks whether all errors are reported.

* error-1.cs, error-2.cs: Moved here from ../tests/.

* README.tests: Added (empty) list of all test cases.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 15:07:46 +0000 (15:07 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* statement.cs (UsageVector): Only initialize the `parameters'
vector if we actually have any "out" parameters.

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

21 years ago*** empty log message ***
Gonzalo Paniagua Javier [Mon, 5 Aug 2002 14:45:16 +0000 (14:45 -0000)]
*** empty log message ***

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

21 years agohead -8 ChangeLog
Patrik Torstensson [Mon, 5 Aug 2002 14:34:31 +0000 (14:34 -0000)]
head -8 ChangeLog

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

21 years ago2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
Patrik Torstensson [Mon, 5 Aug 2002 14:31:22 +0000 (14:31 -0000)]
2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>

This is a simple test program for the new HttpRuntime execution system.

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

21 years agomissing.
Paolo Molaro [Mon, 5 Aug 2002 13:42:32 +0000 (13:42 -0000)]
missing.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 13:40:32 +0000 (13:40 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* expression.cs (Binary.ResolveOperator): When combining delegates,
they must have the same type.

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

21 years agoAdded new files
Rodrigo Moya [Mon, 5 Aug 2002 12:48:50 +0000 (12:48 -0000)]
Added new files

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

21 years ago2002-08-03 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Mon, 5 Aug 2002 12:48:28 +0000 (12:48 -0000)]
2002-08-03  Rodrigo Moya <rodrigo@ximian.com>

* BinaryServerFormatterSinkProvider.cs:
* BinaryClientFormatterSinkProvider.cs: new stubs.

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

21 years ago2002-08-05 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 5 Aug 2002 12:45:56 +0000 (12:45 -0000)]
2002-08-05  Martin Baulig  <martin@gnome.org>

* typemanager.cs (TypeManager.GetArgumentTypes): Don't call
PropertyInfo.GetIndexParameters() on dynamic types, this doesn't
work with the ms runtime and we also don't need it: if we're a
PropertyBuilder and not in the `indexer_arguments' hash, then we
are a property and not an indexer.

* class.cs (TypeContainer.AsAccessible): Use Type.IsArray,
Type.IsPointer and Type.IsByRef instead of Type.HasElementType
since the latter one doesn't work with the ms runtime.

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

21 years agoAdded documentation for the flow analysis code.
Martin Baulig [Mon, 5 Aug 2002 12:11:47 +0000 (12:11 -0000)]
Added documentation for the flow analysis code.

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

21 years ago2002-08-05 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 5 Aug 2002 11:25:03 +0000 (11:25 -0000)]
2002-08-05  Dietmar Maurer  <dietmar@ximian.com>

* threads.c: use fast spinlocks by default

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

21 years agoMon Aug 5 13:08:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 5 Aug 2002 11:09:35 +0000 (11:09 -0000)]
Mon Aug 5 13:08:15 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: support the object type argument when loading
custom attributes.

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

21 years agoNew test.
Paolo Molaro [Mon, 5 Aug 2002 11:08:07 +0000 (11:08 -0000)]
New test.

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

21 years ago2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
Gaurav Vaish [Mon, 5 Aug 2002 10:21:36 +0000 (10:21 -0000)]
2002-08-05      Gaurav Vaish <gvaish_mono@lycos.com>

* DataGrid.cs                 - Completed method
                     OnBubbleEvent(object, EventArgs)

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

21 years ago2002-08-05 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 5 Aug 2002 09:53:43 +0000 (09:53 -0000)]
2002-08-05  Dietmar Maurer  <dietmar@ximian.com>

* x86/tramp.c (mono_create_trampoline): fixed stack_size bug

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

21 years agoCommit to fix compilation.
Paolo Molaro [Mon, 5 Aug 2002 08:59:42 +0000 (08:59 -0000)]
Commit to fix compilation.

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

21 years ago*** empty log message ***
Dietmar Maurer [Mon, 5 Aug 2002 08:45:47 +0000 (08:45 -0000)]
*** empty log message ***

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

21 years ago2002-08-05 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 5 Aug 2002 08:19:51 +0000 (08:19 -0000)]
2002-08-05  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_managed_wrapper): add suppport for
String as return type.

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

21 years agoo Added atributes and some basic implementation
Dave Bettin [Mon, 5 Aug 2002 06:10:27 +0000 (06:10 -0000)]
o Added atributes and some basic implementation

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

21 years ago2002-08-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 5 Aug 2002 05:52:55 +0000 (05:52 -0000)]
2002-08-03  Tim Coleman <tim@timcoleman.com>
        * DiscoveryDocument.cs:
                Added XmlIgnore attribute to References property
        * DiscoveryDocumentReference.cs:
                Implemented Ref/Url properties and added XmlIgnore
                attributes.

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

21 years ago2002-08-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 5 Aug 2002 05:40:55 +0000 (05:40 -0000)]
2002-08-03  Tim Coleman <tim@timcoleman.com>
        * SoapProtocolReflector.cs:
                Removed SoapBinding property and made the class
                not sealed to agree with class reference page.

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

21 years ago2002-08-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 5 Aug 2002 05:19:50 +0000 (05:19 -0000)]
2002-08-03  Tim Coleman <tim@timcoleman.com>
        * list: new files added to build list.

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

21 years ago2002-08-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 5 Aug 2002 05:18:54 +0000 (05:18 -0000)]
2002-08-03  Tim Coleman <tim@timcoleman.com>
        * AccessChecksLevelOption.cs:
        * ActivationOption.cs:
        * ApplicationAccessControlAttribute.cs:
        * ApplicationActivationAttribute.cs:
        * ApplicationIDAttribute.cs:
        * ApplicationNameAttribute.cs:
        * ApplicationQueuingAttribute.cs:
        * AuthenticationOption.cs:
        * AutoCompleteAttribute.cs:
        * BOID.cs:
        * BYOT.cs:
        * COMTIIntrinsicsAttribute.cs:
        * ComponentAccessControlAttribute.cs:
        * ConstructionEnabledAttribute.cs:
        * ContextUtil.cs:
        * ImpersonationLevelOption.cs:
        * TransactionVote.cs:
                New stubs added

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

21 years ago2002-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 4 Aug 2002 14:58:25 +0000 (14:58 -0000)]
2002-08-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* makefile.gnu: make it use the freshly built mcs.

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

21 years agoMore fixes from new CorCompare output.
Duncan Mak [Sun, 4 Aug 2002 08:08:02 +0000 (08:08 -0000)]
More fixes from new CorCompare output.

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

21 years agoReturn Encoding.Unicode from StringWriter.Encoding. XmlTextWriter relies on all write...
Jason Diamond [Sun, 4 Aug 2002 01:32:03 +0000 (01:32 -0000)]
Return Encoding.Unicode from StringWriter.Encoding. XmlTextWriter relies on all writers having that property.

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

21 years ago2002-08-04 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 3 Aug 2002 23:51:53 +0000 (23:51 -0000)]
2002-08-04  Nick Drochak  <ndrochak@gol.com>

* Buffer.cs: Throw correct exception in GetByte() and SetByte().

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

21 years agoFixed another bug to help get the System.XML tests running on Linux (no more assertio...
Jason Diamond [Sat, 3 Aug 2002 22:32:10 +0000 (22:32 -0000)]
Fixed another bug to help get the System.XML tests running on Linux (no more assertions). Added a makefile to build the System.XML tests on Linux.

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

21 years ago2002-08-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 3 Aug 2002 21:09:28 +0000 (21:09 -0000)]
2002-08-03  Tim Coleman <tim@timcoleman.com>
        * XmlSerializer.cs:
                Changed Implements() to check based on name rather
                than FullName.  FullName was never working correctly.

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

21 years agoPush
Miguel de Icaza [Sat, 3 Aug 2002 19:29:25 +0000 (19:29 -0000)]
Push

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

21 years ago2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 3 Aug 2002 18:25:22 +0000 (18:25 -0000)]
2002-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StringBuilder.cs: added IndexerName to indexer.

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

21 years ago2002-08-03 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 3 Aug 2002 18:09:01 +0000 (18:09 -0000)]
2002-08-03  Martin Baulig  <martin@gnome.org>

Fixed bugs #27998 and #22735.

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

21 years agoOoops, this file had duplicate methods in it.
Martin Baulig [Sat, 3 Aug 2002 18:06:09 +0000 (18:06 -0000)]
Ooops, this file had duplicate methods in it.

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

21 years ago2002-08-03 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 3 Aug 2002 18:05:05 +0000 (18:05 -0000)]
2002-08-03  Martin Baulig  <martin@gnome.org>

* class.cs (Method.IsOperator): New public field.
(Method.CheckBase): Report CS0111 if there's already a method
with the same parameters in the current class.  Report CS0508 when
attempting to change the return type of an inherited method.
(MethodData.Emit): Report CS0179 if a method doesn't have a body
and it's not marked abstract or extern.
(PropertyBase): New abstract base class for Property and Indexer.
(PropertyBase.CheckBase): Moved here from Property and made it work
for indexers.
(PropertyBase.Emit): Moved here from Property.Emit, Indexer.Emit is
the same so we can reuse it there.
(Property, Indexer): Derive from PropertyBase.
(MethodSignature.inheritable_property_signature_filter): New delegate
to find properties and indexers.

* decl.cs (MemberCore.CheckMethodAgainstBase): Added `string name'
argument and improved error reporting.

* parameter.cs (Parameters.GetEmptyReadOnlyParameters): Renamed to
EmptyReadOnlyParameters and made it a property.

* typemanager.cs (TypeManager.GetArgumentTypes): Added overloaded
version of this method which takes a `PropertyInfo indexer'.
(TypeManager.RegisterIndexer): New method.

* class.cs: Added myself as author of this file :-)

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

21 years ago2002-08-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 3 Aug 2002 17:19:27 +0000 (17:19 -0000)]
2002-08-03  Tim Coleman <tim@timcoleman.com>
        * ServiceDescriptionBaseCollection.cs:
                Removed some NotImplementedException()'s so that
                it runs.

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

21 years ago2002-08-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 3 Aug 2002 17:17:05 +0000 (17:17 -0000)]
2002-08-03  Tim Coleman <tim@timcoleman.com>
        * XmlNamespaceManager.cs:
                .Net allows the empty namespace to be redefined
                at a later point, but the current implementation
                did not.  This fixes a hashtable conflict.

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

21 years ago2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 3 Aug 2002 03:20:37 +0000 (03:20 -0000)]
2002-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* class.cs: fixed compilation on windoze.

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

21 years ago2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 3 Aug 2002 02:31:02 +0000 (02:31 -0000)]
2002-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ZoneIdentityPermission.cs: New file. Implemented.

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

21 years ago2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 3 Aug 2002 02:27:10 +0000 (02:27 -0000)]
2002-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IBuiltInEvidence.cs: New file.
* Zone.cs: New file. Implemented.

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

21 years ago2002-08-03 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 3 Aug 2002 02:23:22 +0000 (02:23 -0000)]
2002-08-03  Martin Baulig  <martin@gnome.org>

* TypeBuilder.cs (TypeBuilder.DeclaringType): Implemented.

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

21 years ago2002-08-03 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 3 Aug 2002 02:22:17 +0000 (02:22 -0000)]
2002-08-03  Martin Baulig  <martin@gnome.org>

* test-156.cs, error-2.cs: New tests.

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

21 years agoImproved error handling when the accessibility checks fail.
Martin Baulig [Sat, 3 Aug 2002 02:19:04 +0000 (02:19 -0000)]
Improved error handling when the accessibility checks fail.

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

21 years ago2002-08-03 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 3 Aug 2002 01:40:29 +0000 (01:40 -0000)]
2002-08-03  Martin Baulig  <martin@gnome.org>

* class.cs (TypeContainer.GetClassBases): Check whether base types
are at least as accessible than the current type.
(TypeContainer.AsAccessible): Implemented and made non-static.
(MemberBase.CheckParameters): Report a CS0051 if
TypeContainer.AsAccessible returns false.

* delegate.cs (Delegate.Delegate): The default visibility is
internal for top-level types and private for nested types.

* enum.cs (Enum.Enum): The default visibility is internal for
top-level types and private for nested types.
(Enum.DefineType): Compute the correct visibility.

* modifiers.cs (Modifiers.TypeAttr): Added a version of this
function which takes a `bool is_toplevel' instead of a TypeContainer.

* typemanager.cs (TypeManager.IsBuiltinType): `void' is also a
builtin type.

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

21 years agoOoops.
Martin Baulig [Sat, 3 Aug 2002 01:39:45 +0000 (01:39 -0000)]
Ooops.

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

21 years agoUpdate man page
Miguel de Icaza [Fri, 2 Aug 2002 21:21:10 +0000 (21:21 -0000)]
Update man page

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

21 years agoFurther updates
Miguel de Icaza [Fri, 2 Aug 2002 20:32:48 +0000 (20:32 -0000)]
Further updates

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

21 years agoUpdate TODO to reflect all the new improvements
Miguel de Icaza [Fri, 2 Aug 2002 20:31:03 +0000 (20:31 -0000)]
Update TODO to reflect all the new improvements

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

21 years ago2002-8-2 DennisHayes <dennish@raytek.com>
Dennis Hayes [Fri, 2 Aug 2002 20:04:18 +0000 (20:04 -0000)]
2002-8-2  DennisHayes <dennish@raytek.com>
* Checked in for Ginandrea Terzi (gterzi@lario.com)

* AssemblyInfo.cs
* ColumnClickEventArgs.cs
* ContentsResizedEventArgs.cs
* ControlEventArgs.cs
* ConvertEventArgs.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DragEventArgs.cs
* DrawItemEventArgs.cs
* GiveFeedbackEventArgs.cs
* HelpEventArgs.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangingEventArgs.cs
* InvalidateEventArgs.cs
* ItemChangedEventArgs.cs
* ItemCheckEventArgs.cs
* ItemDragEventArgs.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* LabelEditEventArgs.cs
* LayoutEventArgs.cs
* LinkClickedEventArgs.cs
* LinkLabelLinkClickedEventArgs.cs
* logfile.txt
* MeasureItemEventArgs.cs
* MouseEventArgs.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* PaintEventArgs.cs
* PropertyTabChangedEventArgs.cs
* PropertyValueChangedEventArgs.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SplitterEventArgs.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanelClickEventArgs.cs
* ToolBarButtonClickEventArgs.cs
* TreeViewCancelEventArgs.cs
* UICuesEventArgs.cs
* UpDownEventArgs.cs
* Improved ToString functions
* Completed the rest of the *.args classes

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

21 years agoFri Aug 2 21:15:42 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 19:18:45 +0000 (19:18 -0000)]
Fri Aug 2 21:15:42 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: fix encoding of named args for custom attrs to match
the ms implementation. Read them back when instantiating custom
attributes.

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

21 years agoseparated .il and .cs tests
Radek Doulik [Fri, 2 Aug 2002 18:49:12 +0000 (18:49 -0000)]
separated .il and .cs tests

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

21 years agomore WIP
Radek Doulik [Fri, 2 Aug 2002 18:34:20 +0000 (18:34 -0000)]
more WIP

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

21 years agoFlush web page
Miguel de Icaza [Fri, 2 Aug 2002 18:32:28 +0000 (18:32 -0000)]
Flush web page

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

21 years ago2002-08-03 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 2 Aug 2002 18:30:58 +0000 (18:30 -0000)]
2002-08-03  Duncan Mak  <duncan@ximian.com>

* BinaryClientFormatterSink.cs:
* IClientChannelSink.cs: Fixed signature for AsyncProcessResponse.

* MethodCall.cs:
* MethodResponse.cs: More visibility fixes. Hopefully this is the
last of it.

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

21 years agomore surgery
Radek Doulik [Fri, 2 Aug 2002 18:13:59 +0000 (18:13 -0000)]
more surgery

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

21 years agodid quick surgery to update for Dietmar's new code
Radek Doulik [Fri, 2 Aug 2002 17:55:44 +0000 (17:55 -0000)]
did quick surgery to update for Dietmar's new code

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

21 years ago2002-08-02 Radek Doulik <rodo@ximian.com>
Radek Doulik [Fri, 2 Aug 2002 17:55:17 +0000 (17:55 -0000)]
2002-08-02  Radek Doulik  <rodo@ximian.com>

* marshal.c (mono_mb_add_data): convert ret value to LE, suggested
by Dietmar as quick fix
(mono_marshal_get_delegate_begin_invoke): use sig->param_count +
16 as stack size, used on more places as quick fix before Dietmar
will fix it properly

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

21 years ago2002-08-02 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 2 Aug 2002 16:28:09 +0000 (16:28 -0000)]
2002-08-02  Dick Porter  <dick@ximian.com>

* io.c (GetStdHandle): Add a handle reference when returning a
duplicate console handle.  This fixes the unref_handle errors in
NUnit.

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

21 years agoFri Aug 2 17:48:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 15:49:32 +0000 (15:49 -0000)]
Fri Aug 2 17:48:17 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.h, object.c: added accessors for fields and properties.

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

21 years agoFri Aug 2 17:45:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 15:46:55 +0000 (15:46 -0000)]
Fri Aug 2 17:45:15 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: made mono_class_get_field_from_name ()
loop on parent types.
Added mono_class_get_property_from_name ().

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

21 years agosome docu about LDFLD/STFLD for transparent proxies
Dietmar Maurer [Fri, 2 Aug 2002 15:27:26 +0000 (15:27 -0000)]
some docu about LDFLD/STFLD for transparent proxies

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

21 years ago2002-08-02 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 2 Aug 2002 14:16:21 +0000 (14:16 -0000)]
2002-08-02  Dietmar Maurer  <dietmar@ximian.com>

* interp.c (get_virtual_method): support proxies
(ves_exec_method): impl. LDFLD/STFLD for proxies.

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

21 years agoRemove duplicate property.
Paolo Molaro [Fri, 2 Aug 2002 11:34:44 +0000 (11:34 -0000)]
Remove duplicate property.

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

21 years agoFri Aug 2 13:00:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 11:02:35 +0000 (11:02 -0000)]
Fri Aug 2 13:00:41 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c, interp.h: implemented exception trap for runtime_invoke
and handle exceptions across managed/unmanaged boundaries.

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

21 years agoFri Aug 2 11:40:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 09:44:40 +0000 (09:44 -0000)]
Fri Aug 2 11:40:32 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: move the code to setup the type vtable in its own
function so that it can be reused also for types created at runtime.
Eliminate the "class" identifier from the header file.
* reflection.c: setup the vtable for enums so that we can create
objects for use in SetConstant ().

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

21 years agoFixes to the correct links in Mono Hispano - acs
Alvaro del Castillo [Fri, 2 Aug 2002 08:08:13 +0000 (08:08 -0000)]
Fixes to the correct links in Mono Hispano - acs

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

21 years ago2002-08-02 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 2 Aug 2002 07:13:54 +0000 (07:13 -0000)]
2002-08-02  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_delegate_to_ftnptr): pass delegate->target
instead of the delegate itself as this pointer (bug #28383)

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

21 years ago2002/08/02 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 2 Aug 2002 01:54:42 +0000 (01:54 -0000)]
2002/08/02  Nick Drochak <ndrochak@gol.com>

* ConvertTest.cs (TestGetTypeCode): Find out which test is failing on
linux.

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

21 years agoUse GetByteCount instead of GetMaxByteCount (which doesn't seem to be implemented...
Jason Diamond [Fri, 2 Aug 2002 01:05:20 +0000 (01:05 -0000)]
Use GetByteCount instead of GetMaxByteCount (which doesn't seem to be implemented correctly for UnicodeEncoding and doesn't make sense anyways--wouldn't you want your byte array to be the correct length?) when converting chars to bytes. This was causing the System.XML tests to crash with an assertion on Linux.

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

21 years ago2002-08-02 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 2 Aug 2002 01:02:23 +0000 (01:02 -0000)]
2002-08-02  Martin Baulig  <martin@gnome.org>

* expression.cs (LocalVariableReferenc): Added constructor which
takes additional `VariableInfo vi' and `bool is_readonly' arguments.
(LocalVariableReference.IsReadOnly): New property.
(LocalVariableReference.DoResolveLValue): Report a CS1604 if the
variable is readonly, use our own readonly flag to do this; you can
use the new constructor to get a writable reference to a read-only
variable.

* cs-parser.jay (foreach_statement, using_statement): Get a writable
reference to the local variable.

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

21 years ago2002-08-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 Aug 2002 23:50:10 +0000 (23:50 -0000)]
2002-08-01  Miguel de Icaza  <miguel@ximian.com>

* rootcontext.cs (ResolveCore): Also include System.Exception

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

21 years ago2002-08-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 Aug 2002 23:37:24 +0000 (23:37 -0000)]
2002-08-01  Miguel de Icaza  <miguel@ximian.com>

* statement.cs
(Catch.DoResolve, Throw.DoResolve): Throwing the System.Exception
is also fine.

* expression.cs:  use brtrue/brfalse directly and avoid compares to null.

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

21 years ago2002-08-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 Aug 2002 23:01:09 +0000 (23:01 -0000)]
2002-08-01  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Block.Emit): Do not emit the dead-code warnings if
we reach an EmptyStatement.

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

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

* expression.cs (Binary.ResolveOperator): Check error result in
two places.

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

21 years ago2002-08-02 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 1 Aug 2002 22:46:01 +0000 (22:46 -0000)]
2002-08-02  Nick Drochak  <ndrochak@gol.com>

* BufferTest.cs (TestBlockCopy): BlockCopy uses the number of bytes,
so hard-code some of that info into the test since sizeof() is a very
unsafe thing to do.

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