Rodrigo Moya [Thu, 8 Aug 2002 23:19:06 +0000 (23:19 -0000)]
2002-08-08 Franklin Wise <gracenote@earthlink.net>
* System.Data.IDbComand.cs: IDbCommand now inherits IDisposable
* System.Data.IDbConnection.cs: IDbConnection now inherits IDisposable
* System.Data.SqlTypes.SqlCompareOptions.cs: Enum now set to correct
values.
svn path=/trunk/mcs/; revision=6555
Martin Baulig [Thu, 8 Aug 2002 20:26:50 +0000 (20:26 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* driver.cs (Driver.MainDriver): Only report an error CS5001
if there were no compilation errors.
* codegen.cs (EmitContext.EmitContext): Use the DeclSpace's
`UnsafeContext' property to determine whether the parent is in
unsafe context rather than checking the parent's ModFlags:
classes nested in an unsafe class are unsafe as well.
svn path=/trunk/mcs/; revision=6553
Martin Baulig [Thu, 8 Aug 2002 20:24:52 +0000 (20:24 -0000)]
Ooops, removed debugging stuff.
svn path=/trunk/mcs/; revision=6552
Martin Baulig [Thu, 8 Aug 2002 20:05:37 +0000 (20:05 -0000)]
Added two more testcases to this test.
svn path=/trunk/mcs/; revision=6551
Martin Baulig [Thu, 8 Aug 2002 20:03:33 +0000 (20:03 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* statement.cs (UsageVector.MergeChildren): Distinguish between
`Breaks' and `Returns' everywhere, don't set `Breaks' anymore if
we return. Added test17() and test18() to test-154.cs.
svn path=/trunk/mcs/; revision=6550
Tim Coleman [Thu, 8 Aug 2002 18:55:48 +0000 (18:55 -0000)]
2002-08-08 Tim Coleman <tim@timcoleman.com>
* list: new files added to build.
svn path=/trunk/mcs/; revision=6549
Martin Baulig [Thu, 8 Aug 2002 18:39:00 +0000 (18:39 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* cs1540.cs: New test.
svn path=/trunk/mcs/; revision=6545
Martin Baulig [Thu, 8 Aug 2002 18:38:28 +0000 (18:38 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* typemanager.cs (TypeManager.FilterWithClosure): If we have
Family access, make sure the invoking type isn't a subclass of the
queried type (that'd be a CS1540).
* ecore.cs (Expression.MemberLookup): Added overloaded version of
this method which takes an additional `Type invocation_type'.
* expression.cs (BaseAccess.DoResolve): Use the base type as
invocation and query type.
(MemberAccess.DoResolve): If the lookup failed and we're about to
report a CS0122, try a lookup with the ec.ContainerType - if this
succeeds, we must report a CS1540.
svn path=/trunk/mcs/; revision=6544
Tim Coleman [Thu, 8 Aug 2002 17:47:46 +0000 (17:47 -0000)]
2002-08-08 Tim Coleman <tim@timcoleman.com>
* ISecurityCallContext.cs:
* ISecurityCallersColl.cs:
* ISecurityIdentityColl.cs:
* ISharedProperty.cs:
* ISharedPropertyGroup.cs:
* RegistrationHelperTx.cs:
* ResourcePool.cs:
* SecureMethodAttribute.cs:
* SecurityCallContext.cs:
* SecurityCallers.cs:
* SecurityIdentity.cs:
* SecurityRoleAttribute.cs:
* ServicedComponentException.cs:
* SharedProperty.cs:
* SharedPropertyGroup.cs:
* SharedPropertyGroupManager.cs:
* SynchronizationAttribute.cs:
* SynchronizationOption.cs:
* TransactionAttribute.cs:
* TransactionIsolationLevel.cs:
New files added.
* ContextUtil.cs:
New internal constructor added, methods added.
* IRemoteDispatch.cs:
AutoComplete attributes added to methods
* TODOAttribute.cs:
Namespace adjusted.
svn path=/trunk/mcs/; revision=6543
Dick Porter [Thu, 8 Aug 2002 15:09:58 +0000 (15:09 -0000)]
Shut cvs up
svn path=/trunk/mcs/; revision=6541
Martin Baulig [Thu, 8 Aug 2002 14:26:49 +0000 (14:26 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* ecore.cs (IMemberExpr): Added `bool IsInstance' property.
(MethodGroupExpr): Implement the IMemberExpr interface.
* expression (MemberAccess.ResolveMemberAccess): No need to have
any special code for MethodGroupExprs anymore, they're now
IMemberExprs.
svn path=/trunk/mcs/; revision=6540
Martin Baulig [Thu, 8 Aug 2002 14:04:28 +0000 (14:04 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* typemanager.cs (TypeManager.FilterWithClosure): Check Assembly,
Family, FamANDAssem and FamORAssem permissions.
(TypeManager.IsSubclassOrNestedChildOf): New public method.
svn path=/trunk/mcs/; revision=6539
Martin Baulig [Thu, 8 Aug 2002 12:08:58 +0000 (12:08 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* test-154.cs (test16): Added test for bug #28717.
svn path=/trunk/mcs/; revision=6538
Martin Baulig [Thu, 8 Aug 2002 11:57:12 +0000 (11:57 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* statement.cs (FlowBranchingType): Added LOOP_BLOCK.
(UsageVector.MergeChildren): `break' breaks unless we're in a switch
or loop block.
svn path=/trunk/mcs/; revision=6537
Gaurav Vaish [Thu, 8 Aug 2002 11:45:30 +0000 (11:45 -0000)]
2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
* DataGrid.cs - Added private method
CreatePagedDataSource
- Started work on
CreateControlHierarchy(bool)
* PagedDataSource.cs - Bug fixed.
CurrentPageIndex is writable.
svn path=/trunk/mcs/; revision=6536
Paolo Molaro [Thu, 8 Aug 2002 11:15:35 +0000 (11:15 -0000)]
Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
* Assembly.cs: implemented GetFile() and GetFiles().
svn path=/trunk/mcs/; revision=6535
Paolo Molaro [Thu, 8 Aug 2002 11:05:28 +0000 (11:05 -0000)]
Thu Aug 8 13:04:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
* icall.c: added icall to implement Assembly.GetFile*.
svn path=/trunk/mono/; revision=6534
Dietmar Maurer [Thu, 8 Aug 2002 10:46:52 +0000 (10:46 -0000)]
2002-08-08 Dietmar Maurer <dietmar@ximian.com>
* jit.c (mono_runtime_install_handlers): switch back to use
sigaction from libpthreads. As long as this does not make problems
we should use this instead of syscall.
svn path=/trunk/mono/; revision=6533
Dietmar Maurer [Thu, 8 Aug 2002 09:18:59 +0000 (09:18 -0000)]
added a comment about sigaction
svn path=/trunk/mono/; revision=6532
Paolo Molaro [Thu, 8 Aug 2002 08:31:10 +0000 (08:31 -0000)]
Thu Aug 8 10:28:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
* driver.cs: implemented /resource option to embed managed resources.
svn path=/trunk/mcs/; revision=6531
Paolo Molaro [Thu, 8 Aug 2002 08:26:54 +0000 (08:26 -0000)]
Thu Aug 8 10:25:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
* AssemblyBuilder.cs: added API to embed managed resources.
svn path=/trunk/mcs/; revision=6530
Paolo Molaro [Thu, 8 Aug 2002 08:25:05 +0000 (08:25 -0000)]
Thu Aug 8 10:18:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.h, reflection.c: code to embed managed resources.
svn path=/trunk/mono/; revision=6529
Jason Diamond [Thu, 8 Aug 2002 07:14:50 +0000 (07:14 -0000)]
Added Kral's new test classes.
svn path=/trunk/mcs/; revision=6528
Kral Ferch [Thu, 8 Aug 2002 06:33:43 +0000 (06:33 -0000)]
Added XmlDocument event firing code.
svn path=/trunk/mcs/; revision=6527
Dennis Hayes [Thu, 8 Aug 2002 01:53:30 +0000 (01:53 -0000)]
2002-8-7 DennisHayes <dennish@raytek.com>
Check in for Remco de Jong <rdj@rdj.cg.nu>
* HorizontalAlignment.cs
* ProgressBar.cs
* ScrollBars.cs
* TextBox.cs
* TextBoxBase.cs
* added new files with some functinality
svn path=/trunk/mcs/; revision=6525
Dennis Hayes [Thu, 8 Aug 2002 01:44:56 +0000 (01:44 -0000)]
2002-8-4 DennisHayes <dennish@raytek.com>
Checked in for John Sohn <jsohn@columbus.rr.com
* build.sh
* changelog
* monostart.c
* monostub.c
* monostub.exe.dbg.c
* monostub.exe.spec.c
* Test.cs
* test.sh
* Experiment to get first form working using WINELIB
svn path=/trunk/mcs/; revision=6524
Martin Baulig [Wed, 7 Aug 2002 23:06:06 +0000 (23:06 -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=6523
Martin Baulig [Wed, 7 Aug 2002 23:05:42 +0000 (23:05 -0000)]
2002-08-08 Martin Baulig <martin@gnome.org>
* test-161.cs: New test.
svn path=/trunk/mcs/; revision=6522
Martin Baulig [Wed, 7 Aug 2002 23:04:52 +0000 (23:04 -0000)]
2002-08-07 Martin Baulig <martin@gnome.org>
* class.cs (FieldBase.Initializer): Renamed to `init' and made private.
(FieldBase.HasFieldInitializer): New public property.
(FieldBase.GetInitializerExpression): New public method. Resolves and
returns the field initializer and makes sure it is only resolved once.
(TypeContainer.EmitFieldInitializers): Call
FieldBase.GetInitializerExpression to get the initializer, this ensures
that it isn't resolved multiple times.
* codegen.cs (EmitContext): Added `bool IsFieldInitialier'. This tells
the resolving process (SimpleName/MemberLookup) that we're currently
emitting a field initializer (which must not access any instance members,
this is an error CS0236).
* ecore.cs (SimpleName.Error_ObjectRefRequired): Added EmitContext
argument, if the `IsFieldInitializer' flag is set, we must report and
error CS0236 and not an error CS0120.
svn path=/trunk/mcs/; revision=6521
Tim Coleman [Wed, 7 Aug 2002 21:13:04 +0000 (21:13 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* list: new files added to build.
svn path=/trunk/mcs/; revision=6520
Tim Coleman [Wed, 7 Aug 2002 19:51:13 +0000 (19:51 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* CompensatorOptions.cs:
* LogRecordFlags.cs:
* TransactionState.cs:
Changed enum values to agree with .NET
* LogRecord.cs:
New stubs added
svn path=/trunk/mcs/; revision=6519
Martin Baulig [Wed, 7 Aug 2002 18:32:51 +0000 (18:32 -0000)]
2002-08-07 Martin Baulig <martin@gnome.org>
* test-160.cs: New test for bug #28176.
svn path=/trunk/mcs/; revision=6518
Martin Baulig [Wed, 7 Aug 2002 18:32:33 +0000 (18:32 -0000)]
Make this actually work.
svn path=/trunk/mcs/; revision=6517
Martin Baulig [Wed, 7 Aug 2002 18:25:55 +0000 (18:25 -0000)]
Updated this a bit.
svn path=/trunk/mcs/; revision=6516
Martin Baulig [Wed, 7 Aug 2002 18:24:00 +0000 (18:24 -0000)]
2002-08-07 Martin Baulig <martin@gnome.org>
* ecore.cs (IMemberExpr): New public interface.
(FieldExpr, PropertyExpr, EventExpr): Implement IMemberExpr.
(SimpleName.SimpleNameResolve): Call MemberAccess.ResolveMemberAccess
if the expression is an IMemberExpr.
* expression.cs (MemberAccess.ResolveMemberAccess): Allow `left'
to be null, implicitly default to `this' if we're non-static in
this case. Simplified the code a lot by using the new IMemberExpr
interface. Also fixed bug #28176 here.
svn path=/trunk/mcs/; revision=6515
Tim Coleman [Wed, 7 Aug 2002 17:34:43 +0000 (17:34 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* list: new files added to build.
svn path=/trunk/mcs/; revision=6514
Tim Coleman [Wed, 7 Aug 2002 17:33:47 +0000 (17:33 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* RegistrationErrorInfo.cs:
* RegistrationException.cs:
* RegistrationHelper.cs:
* ServicedComponent.cs:
New stubs added
svn path=/trunk/mcs/; revision=6513
Tim Coleman [Wed, 7 Aug 2002 16:41:53 +0000 (16:41 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* Add System.Web.Services to test and clean builds.
svn path=/trunk/mcs/; revision=6511
Tim Coleman [Wed, 7 Aug 2002 16:38:39 +0000 (16:38 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* System.Web.Services.build:
Added "test" target to build.
Added "clean" target to build.
* Test:
New test suites added.
svn path=/trunk/mcs/; revision=6510
Tim Coleman [Wed, 7 Aug 2002 16:37:52 +0000 (16:37 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* WebMethodAttribute.cs:
Remove FIXME and reorganize constructors to all
call this () with the big constructor.
* WebServiceAttribute.cs:
Remove FIXME.
* WebServiceBindingAttribute.cs:
Remove FIXME, and change ns to be String.Empty by
default (this is the MS implementation). Reorganize
constructors.
* WebServicesDescriptionAttribute.cs:
Code reformat.
* TODOAttribute.cs:
Changed namespace.
*** This namespace should now be complete. ***
svn path=/trunk/mcs/; revision=6509
Tim Coleman [Wed, 7 Aug 2002 16:25:17 +0000 (16:25 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* AllTests.cs:
* ChangeLog:
* System.Web.Services:
* System.Web.Services_test.build:
New files and directories added for test suite.
svn path=/trunk/mcs/; revision=6508
Tim Coleman [Wed, 7 Aug 2002 16:24:53 +0000 (16:24 -0000)]
2002-08-07 Tim Coleman <tim@timcoleman.com>
* AllTests.cs:
* ChangeLog:
* WebMethodAttributeTest.cs:
* WebServiceAttributeTest.cs:
New files and directories added for test suite.
svn path=/trunk/mcs/; revision=6507
Dietmar Maurer [Wed, 7 Aug 2002 15:57:20 +0000 (15:57 -0000)]
(mono_analyze_stack): special case Array::Address()
svn path=/trunk/mono/; revision=6506
Paolo Molaro [Wed, 7 Aug 2002 13:54:22 +0000 (13:54 -0000)]
Wed Aug 7 15:51:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
* monoresgen.cs: added the Mono implementation of resgen.
svn path=/trunk/mcs/; revision=6505
Paolo Molaro [Wed, 7 Aug 2002 11:28:59 +0000 (11:28 -0000)]
Moved to System.Windows.Forms.
svn path=/trunk/mcs/; revision=6504
Paolo Molaro [Wed, 7 Aug 2002 11:27:02 +0000 (11:27 -0000)]
Put in the correct assembly (well, correct as in the same ms uses,
because it makes no sense to have these classes here instead of
System or system.Xml).
svn path=/trunk/mcs/; revision=6503
Paolo Molaro [Wed, 7 Aug 2002 10:47:31 +0000 (10:47 -0000)]
Wed Aug 7 12:44:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
* ResXResourceReader.cs, ResXResourceWriter.cs: added stubs.
svn path=/trunk/mcs/; revision=6502
Gonzalo Paniagua Javier [Wed, 7 Aug 2002 10:40:36 +0000 (10:40 -0000)]
2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataGrid.cs: fixed typo.
* DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
svn path=/trunk/mcs/; revision=6501
Dietmar Maurer [Wed, 7 Aug 2002 09:55:52 +0000 (09:55 -0000)]
removed TODO attribute
svn path=/trunk/mcs/; revision=6500
Gaurav Vaish [Wed, 7 Aug 2002 09:31:59 +0000 (09:31 -0000)]
2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
* DataGridColumn.cs - Added internal methods to get the
various styles (needed in DataGrid.cs)
* DataGrid.cs - Completed the method
PrepareControlHierarchy()
svn path=/trunk/mcs/; revision=6499
Dietmar Maurer [Wed, 7 Aug 2002 09:27:38 +0000 (09:27 -0000)]
2002-08-07 Dietmar Maurer <dietmar@ximian.com>
* jit.c: removed the createdelegate icall
svn path=/trunk/mono/; revision=6498
Dietmar Maurer [Wed, 7 Aug 2002 09:26:31 +0000 (09:26 -0000)]
2002-08-07 Dietmar Maurer <dietmar@ximian.com>
* MonoType.cs: moved get_method icall to this class, we can
remove it as soon someone provides a full featured GetMethodImpl.
* Type.cs: use GetMethodImpl everywhere.
* Delegate.cs: new CreateDelegate implementations.
svn path=/trunk/mcs/; revision=6497
Dennis Hayes [Wed, 7 Aug 2002 02:35:00 +0000 (02:35 -0000)]
2002-8-4 DennisHayes <dennish@raytek.com>
* Started cheanglog
2002-8-4 DennisHayes <dennish@raytek.com>
* AnchorEditor.cs
* AxImporter.cs
* ComponentDocumentDesigner.cs
* ComponentEditorForm.cs
* Stubbed out
* ComponentTray.cs
* ControlDesigner.cs
* ComponentEditor.cs
* DocumentDesigner.cs
* EventsTab.cs
* FileNameEditor.cs
* IMenuEditorService.cs
* IUIService.cs
* IWindowsformsEditorService.cs
* MenusCommands.cs
* ParentControlDesigner.cs
* PropertyTab.cs
* ScrollableControlDesigner.cs
* SelectionRules.cs
* UITypeEditor.cs
* Class body defined only. No stubbs done.
* TODOAttribute.cs
* Used to mark unimplemented functions.
* System.Windows.Forms.Design.csproj
* System.Windows.Forms.Design.csproj.user
* AssemblyInfo.cs
* Needed for Visual Studio compile.
svn path=/trunk/mcs/; revision=6490
Dennis Hayes [Wed, 7 Aug 2002 02:28:06 +0000 (02:28 -0000)]
2002-8-6 DennisHayes <dennish@raytek.com>
* Checked in for Ginandrea Terzi (gterzi@lario.com)
* MeasureItemEventArgs.cs
* PropertyValueChangedEventArgs.cs
* ScrollEventArgs.cs
* ScrollEventType.cs
* SelectionMode.cs
* Shortcut.cs
* TickStyle.cs
* ToolBarButtonClickEventArgs.cs
* TreeViewAction.cs
* TriangleDirection.cs
* UICues.cs
* UICuesEventArgs.cs
* UpDownBase.cs
* UpDownEventHandler.cs
* Fixed syntax errors and verifier errors
svn path=/trunk/mcs/; revision=6489
Tim Coleman [Wed, 7 Aug 2002 02:24:20 +0000 (02:24 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* ServiceDescription.cs:
Add namespace definitions when serializing.
* HttpBinding.cs:
Change namespace definition (wsdl was spelt wsld)
svn path=/trunk/mcs/; revision=6488
Dennis Hayes [Wed, 7 Aug 2002 02:23:22 +0000 (02:23 -0000)]
2002-8-6 DennisHayes <dennish@raytek.com>
* PropertyTabChangedEventArgs.cs
* Minor sytax bug fixes.
* System.Windows.Forms.csproj
* System.Windows.Forms.csproj.user
* System.Windows.Forms.sln
* Added support for System.Windows.Forms.Design
* Builds two dlls instead of one.
* Allows compiling for now, but needs to be fixed
svn path=/trunk/mcs/; revision=6487
Tim Coleman [Wed, 7 Aug 2002 01:15:49 +0000 (01:15 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* IRegistrationHelper.cs:
* IRemoteDispatch.cs:
* IServicedComponentInfo.cs:
* ITransaction.cs:
Comment out Guid attribute for now
because it doesn't build with CSC unless
you supply a valid Guid.
svn path=/trunk/mcs/; revision=6486
Martin Baulig [Tue, 6 Aug 2002 22:12:19 +0000 (22:12 -0000)]
2002-08-07 Martin Baulig <martin@gnome.org>
* test-158.cs: New test for bug #22119.
svn path=/trunk/mcs/; revision=6485
Martin Baulig [Tue, 6 Aug 2002 22:07:42 +0000 (22:07 -0000)]
2002-08-06 Martin Baulig <martin@gnome.org>
* cs-parser.jay (SimpleLookup): Removed. We need to create
ParameterReferences during semantic analysis so that we can do a
type-only search when resolving Cast, TypeOf and SizeOf.
* class.cs (ConstructorInitializer): Added `Parameters parameters'
argument to the constructor.
(ConstructorInitializer.Resolve): Create a temporary implicit
block with the parameters.
* ecore.cs (SimpleName.SimpleNameResolve): Resolve parameter
references here if we aren't doing a type-only search.
* statement.cs (Block): Added constructor which takes a
`Parameters parameters' argument.
(Block.Parameters): New public property.
* support.cs (InternalParameters.Parameters): Renamed `parameters'
to `Parameters' and made it public readonly.
svn path=/trunk/mcs/; revision=6484
Tim Coleman [Tue, 6 Aug 2002 21:23:42 +0000 (21:23 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* ServiceDescription.cs:
Change the XmlElement name from "type" to "types" for
the Types object
svn path=/trunk/mcs/; revision=6482
Tim Coleman [Tue, 6 Aug 2002 21:15:39 +0000 (21:15 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* XmlSerializer.cs:
Some reformatting of code for readability.
Modify to correctly serialize ICollection objects
such as the BindingCollection of a ServiceDescription
for example.
svn path=/trunk/mcs/; revision=6481
Tim Coleman [Tue, 6 Aug 2002 17:46:33 +0000 (17:46 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* list: new files added to build.
* System.EnterpriseServices.CompensatingResourceManager:
New directory added
svn path=/trunk/mcs/; revision=6477
Tim Coleman [Tue, 6 Aug 2002 17:45:53 +0000 (17:45 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* ChangeLog.cs:
* CompensatorOptions.cs:
* LogRecordFlags.cs:
* TransactionState.cs:
New stubs added
svn path=/trunk/mcs/; revision=6476
Tim Coleman [Tue, 6 Aug 2002 17:32:16 +0000 (17:32 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* DescriptionAttribute.cs:
* EventClassAttribute.cs:
* EventTrackingEnabledAttribute.cs:
* ExceptionClassAttribute.cs:
* IISIntrinsicsAttribute.cs:
* IRegistrationHelper.cs:
* IRemoteDispatch.cs:
* IServicedComponentInfo.cs:
* ITransaction.cs:
* InstallationFlags.cs:
* InterfaceQueuingAttribute.cs:
* JustInTimeActivationAttribute.cs:
* LoadBalancingSupportedAttribute.cs:
* MustRunInClientContextAttribute.cs:
* ObjectPoolingAttribute.cs:
* PrivateComponentAttribute.cs:
* PropertyLockMode.cs:
* PropertyReleaseMode.cs:
* XACTTRANSINFO.cs:
New stubs added.
svn path=/trunk/mcs/; revision=6475
Dietmar Maurer [Tue, 6 Aug 2002 17:16:38 +0000 (17:16 -0000)]
(arch_jit_compile_cfg): use a mempool to store native code. This
improves locality of code.
svn path=/trunk/mono/; revision=6474
Tim Coleman [Tue, 6 Aug 2002 16:59:01 +0000 (16:59 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* MonoType.cs:
Fix bug #28582. Now checks parameters for properties
in GetPropertyImpl.
svn path=/trunk/mcs/; revision=6473
Dietmar Maurer [Tue, 6 Aug 2002 16:31:35 +0000 (16:31 -0000)]
(arch_jit_compile_cfg): do not waste memory
svn path=/trunk/mono/; revision=6472
Duncan Mak [Tue, 6 Aug 2002 16:25:07 +0000 (16:25 -0000)]
Add missing file to compilation list.
svn path=/trunk/mcs/; revision=6471
Paolo Molaro [Tue, 6 Aug 2002 16:01:18 +0000 (16:01 -0000)]
Tue Aug 6 17:59:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
* class.c: move all the type size stuff into
class_compute_field_layout().
svn path=/trunk/mono/; revision=6470
Dietmar Maurer [Tue, 6 Aug 2002 15:59:12 +0000 (15:59 -0000)]
2002-08-06 Dietmar Maurer <dietmar@ximian.com>
* emit-x86.c (arch_emit_prologue): make the call to
mono_get_lmf_addr relocatable.
svn path=/trunk/mono/; revision=6468
Martin Baulig [Tue, 6 Aug 2002 15:41:48 +0000 (15:41 -0000)]
2002-08-06 Martin Baulig <martin@gnome.org>
* ecore.cs (Expression.Warning): Made this public as well.
* report.cs (Report.Debug): Print the contents of collections.
svn path=/trunk/mcs/; revision=6466
Martin Baulig [Tue, 6 Aug 2002 15:11:40 +0000 (15:11 -0000)]
Ooops, fix the location check in Error and Warning.
svn path=/trunk/mcs/; revision=6465
Martin Baulig [Tue, 6 Aug 2002 14:16:30 +0000 (14:16 -0000)]
2002-08-06 Martin Baulig <martin@gnome.org>
* ecore.cs (Expression.ResolveFlags): New [Flags] enum. This is
used to tell Resolve() which kinds of expressions it may return.
(Expression.Resolve): Added overloaded version of this method which
takes a `ResolveFlags flags' argument. This can be used to tell
Resolve() which kinds of expressions it may return. Reports a
CS0118 on error.
(Expression.ResolveWithSimpleName): Removed, use Resolve() with
ResolveFlags.SimpleName.
(Expression.Error118): Added overloaded version of this method which
takes a `ResolveFlags flags' argument. It uses the flags to determine
which kinds of expressions are allowed.
* expression.cs (Argument.ResolveMethodGroup): New public method.
Resolves an argument, but allows a MethodGroup to be returned.
This is used when invoking a delegate.
* TODO: Updated a bit.
svn path=/trunk/mcs/; revision=6464
Rafael Teixeira [Tue, 6 Aug 2002 14:09:19 +0000 (14:09 -0000)]
2002-08-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* added "test" target to makefile
* merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs,
decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs,
pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync
svn path=/trunk/mcs/; revision=6463
Tim Coleman [Tue, 6 Aug 2002 13:51:12 +0000 (13:51 -0000)]
2002-08-06 Tim Coleman <tim@timcoleman.com>
* ServerProtocol.cs:
Add new class as implied by class statuc page.
SoapServerProtocol is derived from this.
* SoapServerProtocol.cs:
Change base class to ServerProtocol. Add some
properties shown by class status page.
* SoapClientMethod.cs:
This class should not be sealed. Add some
fields shown by the class status page.
svn path=/trunk/mcs/; revision=6462
Gaurav Vaish [Tue, 6 Aug 2002 12:43:43 +0000 (12:43 -0000)]
2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
* DataGrid.cs - Wokring on PrepareControlHierarchy()
- Added private method
PrepareControlHierarchyForItem()
svn path=/trunk/mcs/; revision=6461
Paolo Molaro [Tue, 6 Aug 2002 10:40:57 +0000 (10:40 -0000)]
Tue Aug 6 12:40:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
* main.c: use mono_image_get_entry_point ().
svn path=/trunk/mono/; revision=6460
Paolo Molaro [Tue, 6 Aug 2002 09:22:07 +0000 (09:22 -0000)]
Tue Aug 6 11:20:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
* class.c: ensure enums have always the correct instance size.
* unicode.c: remove wrong assert.
svn path=/trunk/mono/; revision=6459
Gonzalo Paniagua Javier [Tue, 6 Aug 2002 02:47:34 +0000 (02:47 -0000)]
2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Fixed compilation with csc.
* ecore.cs: Expression.Error made public. Is this correct? Should
Warning be made public too?
* expression.cs: use ea.Location instead of ea.loc.
[FIXME: Filed as bug #28607: MCS must report these errors.]
svn path=/trunk/mcs/; revision=6456
Gonzalo Paniagua Javier [Tue, 6 Aug 2002 01:39:32 +0000 (01:39 -0000)]
flushed
svn path=/trunk/mcs/; revision=6454
Gonzalo Paniagua Javier [Tue, 6 Aug 2002 01:34:59 +0000 (01:34 -0000)]
2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* OleDbConnection.cs: little fixes to make it work and don't show
a warning in Open.
* TestOleDb.cs: added Close.
svn path=/trunk/mcs/; revision=6453
Martin Baulig [Tue, 6 Aug 2002 01:20:36 +0000 (01:20 -0000)]
2002-08-06 Martin Baulig <martin@gnome.org>
* ecore.cs (Expression.loc): Moved the location here instead of
duplicating it in all derived classes.
(Expression.Location): New public property.
(Expression.Error, Expression.Warning): Made them non-static and
removed the location argument.
(Expression.Warning): Added overloaded version which takes an
`int level' argument.
(Expression.Error118): Make this non-static and removed the
expression and location arguments.
(TypeExpr): Added location argument to the constructor.
* expression.cs (StaticCallExpr): Added location argument to
the constructor.
(Indirection, PointerArithmetic): Likewise.
(CheckedExpr, UnCheckedExpr): Likewise.
(ArrayAccess, IndexerAccess, UserCast, ArrayPtr): Likewise.
(StringPtr): Likewise.
svn path=/trunk/mcs/; revision=6452
Rodrigo Moya [Tue, 6 Aug 2002 00:08:13 +0000 (00:08 -0000)]
2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.OleDb/OleDbConnection.cs (ConnectionString,
ConnectionTimeout, ServerVersion, GdaConnection):
corrected style.
(OleDbConnection): call libgda.gda_init on constructor.
* System.Data.OleDb/libgda.cs (libgda): removed static constructor,
which wasn't been called.
* System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
make some tests.
svn path=/trunk/mcs/; revision=6450
Rodrigo Moya [Mon, 5 Aug 2002 23:20:35 +0000 (23:20 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=6449
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
Rodrigo Moya [Mon, 5 Aug 2002 22:30:46 +0000 (22:30 -0000)]
Added more files
svn path=/trunk/mcs/; revision=6446
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
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
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
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
Martin Baulig [Mon, 5 Aug 2002 20:11:44 +0000 (20:11 -0000)]
Ooops, make this actually work.
svn path=/trunk/mcs/; revision=6441
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
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
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
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
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
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
Dietmar Maurer [Mon, 5 Aug 2002 16:45:03 +0000 (16:45 -0000)]
new test
svn path=/trunk/mono/; revision=6434
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
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