Paolo Molaro [Fri, 19 Nov 2004 12:34:01 +0000 (12:34 -0000)]
Fri Nov 19 14:54:07 CET 2004 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: adjust initial prolog size (bug #69691).
svn path=/trunk/mono/; revision=36308
Dick Porter [Fri, 19 Nov 2004 12:13:46 +0000 (12:13 -0000)]
2004-11-19 Dick Porter <dick@ximian.com>
* MonoIOError.cs:
* MonoIO.cs: Add a proper message for sharing violation
svn path=/trunk/mcs/; revision=36306
Jordi Mas i Hernandez [Fri, 19 Nov 2004 11:39:49 +0000 (11:39 -0000)]
initial listbox work
svn path=/trunk/mcs/; revision=36305
Sanja Gupta [Fri, 19 Nov 2004 10:05:07 +0000 (10:05 -0000)]
ChangeLog: Updated.
SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
SqlDataSourceView.cs: Updated constructor.
svn path=/trunk/mcs/; revision=36304
Sanja Gupta [Fri, 19 Nov 2004 10:00:03 +0000 (10:00 -0000)]
ChangeLog: Updated.
System.Web.dll.sources: Added new file:
System.Web.UI.WebControls/AccessDataSourceView.cs.
svn path=/trunk/mcs/; revision=36303
Sanja Gupta [Fri, 19 Nov 2004 09:58:47 +0000 (09:58 -0000)]
ChangeLog: Updated.
AccessDataSourceView.cs: Added new class.
svn path=/trunk/mcs/; revision=36302
Sanja Gupta [Fri, 19 Nov 2004 08:38:26 +0000 (08:38 -0000)]
ChangeLog: Updated.
SqlDataSourceView.cs: Corrected exception handling in ExecuteSelect method.
svn path=/trunk/mcs/; revision=36301
Gonzalo Paniagua Javier [Fri, 19 Nov 2004 07:09:16 +0000 (07:09 -0000)]
2004-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebConnection.cs: check for FIN or RST on the socket before reusing.
Fixes bug #69388.
svn path=/trunk/mcs/; revision=36298
Raja R Harinath [Fri, 19 Nov 2004 06:58:07 +0000 (06:58 -0000)]
Don't run test-318 with gmcs.
svn path=/trunk/mcs/; revision=36297
Atsushi Eno [Fri, 19 Nov 2004 00:03:27 +0000 (00:03 -0000)]
2004-11-19 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : changed to be compatible with that is
contained in Mono.Xml.Ext.dll.
svn path=/trunk/mcs/; revision=36296
Atsushi Eno [Fri, 19 Nov 2004 00:01:07 +0000 (00:01 -0000)]
2004-11-19 Atsushi Enomoto <atsushi@ximian.com>
added XPathNavigatorReader.cs.
svn path=/trunk/mcs/; revision=36295
Zoltan Varga [Thu, 18 Nov 2004 21:09:05 +0000 (21:09 -0000)]
2004-11-18 Zoltan Varga <vargaz@freemail.hu>
* cpu-pentium.md (localloc): Increase max instruction len. Fixes
#69664.
svn path=/trunk/mono/; revision=36285
Patrik Torstensson [Thu, 18 Nov 2004 18:44:57 +0000 (18:44 -0000)]
2004-11-16 Patrik Torstensson <patrik.torstensson@gmail.com>
* x86/x86-codegen.h: added opcodes for xadd instructions
svn path=/trunk/mono/; revision=36283
Geoff Norton [Thu, 18 Nov 2004 18:38:02 +0000 (18:38 -0000)]
2004-11-18 Geoff Norton <gnorton@customerdna.com>
* ProviderSettingsCollection.cs: Add XML_DEP because this inherits
ConfigurationElementCollection which has XML_DEP. Fixes bootstrap
svn path=/trunk/mcs/; revision=36282
Marek Safar [Thu, 18 Nov 2004 15:35:52 +0000 (15:35 -0000)]
2004-11-18 Marek Safar <marek.safar@seznam.cz>
* test-318.cs: New test for wrong warning.
svn path=/trunk/mcs/; revision=36280
Marek Safar [Thu, 18 Nov 2004 15:32:22 +0000 (15:32 -0000)]
2004-11-18 Marek Safar <marek.safar@seznam.cz>
* expression.cs (DoResolveBase): Fixed wrong warning for out
variables.
svn path=/trunk/mcs/; revision=36279
Jonathan Pryor [Thu, 18 Nov 2004 14:49:53 +0000 (14:49 -0000)]
* stdio.c: Add fread(3) and fwrite(3) wrappers.
svn path=/trunk/mono/; revision=36278
Paolo Molaro [Thu, 18 Nov 2004 14:45:09 +0000 (14:45 -0000)]
Thu Nov 18 17:10:32 CET 2004 Paolo Molaro <lupus@ximian.com>
* reflection.c: allow getting attributes from ModuleBuilder
(used by ikvm).
svn path=/trunk/mono/; revision=36277
Lluis Sanchez [Thu, 18 Nov 2004 14:37:36 +0000 (14:37 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: Added new files:
System.Web.Security/ActiveDirectoryMembershipProvider.cs
System.Web.Security/MembershipProvider.cs
System.Web.Security/RoleProvider.cs
System.Web.UI.WebControls/SiteMapDataSource.cs
System.Web.UI.WebControls/SiteMapHierarchicalDataSourceView.cs
System.Web/ParserError.cs
System.Web/ParserErrorCollection.cs
System.Web/SiteMapResolveEventArgs.cs
svn path=/trunk/mcs/; revision=36276
Lluis Sanchez [Thu, 18 Nov 2004 14:35:04 +0000 (14:35 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
* SiteMapDataSourceView.cs: Minor fix.
svn path=/trunk/mcs/; revision=36275
Lluis Sanchez [Thu, 18 Nov 2004 14:32:06 +0000 (14:32 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* RoleProvider.cs, Roles.cs, SqlRoleProvider.cs, RoleProviderCollection.cs,
AccessRoleProvider.cs: IRoleProvider has been renamed to ProviderBase.
* IMembershipProvider.cs: Deleted.
* MembershipProvider.cs, AccessMembershipProvider.cs, MembershipUser.cs,
Membership.cs, ADMembershipProvider.cs, SqlMembershipProvider.cs
MembershipProviderCollection.cs: MembershipProvider has been deleted
and replaced by the abstract class MembershipProvider.
* MembershipProviderCollection.cs: Minor fixes.
* ADMembershipProvider.cs: Renamed to ActiveDirectoryMembershipProvider.cs.
svn path=/trunk/mcs/; revision=36274
Lluis Sanchez [Thu, 18 Nov 2004 14:31:36 +0000 (14:31 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* AnonymousIdentificationSection.cs, AuthenticationSection.cs,
AssemblyInfo.cs: Initialize property collection.
* SiteMapSection.cs, SiteMapHierarchicalDataSourceView.cs,
SiteMapDataSource.cs: New file.
* SiteMapDataSourceView.cs: Minor fixes.
svn path=/trunk/mcs/; revision=36273
Lluis Sanchez [Thu, 18 Nov 2004 14:31:11 +0000 (14:31 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* SiteMapNodeCollection.cs: Added missing properties.
* HttpParseException.cs: Added 2.0 methods and properties.
* SiteMapNode.cs: Added missing methods and properties.
* SiteMapProvider.cs, XmlSiteMapProvider.cs,
SiteMapProviderCollection.cs: IProvider does not exist any
more, it is now ProviderBase.
* ISiteMapProvider.cs: Deleted.
* ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
Implemented.
* SiteMap.cs: Minor fixes.
svn path=/trunk/mcs/; revision=36272
Jonathan Pryor [Thu, 18 Nov 2004 14:30:05 +0000 (14:30 -0000)]
Remove unnecessary Console.WriteLines, comment the class.
svn path=/trunk/mcs/; revision=36271
Lluis Sanchez [Thu, 18 Nov 2004 14:29:33 +0000 (14:29 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* System.dll.sources: Added new files:
System.Configuration/ProviderSettings.cs
System.Configuration/ProviderSettingsCollection.cs
System.Configuration.Provider/ProviderBase.cs
svn path=/trunk/mcs/; revision=36270
Lluis Sanchez [Thu, 18 Nov 2004 14:28:09 +0000 (14:28 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* IProvider.cs, ProviderCollection.cs: IProvider has been Replaced by
ProviderBase.
svn path=/trunk/mcs/; revision=36269
Lluis Sanchez [Thu, 18 Nov 2004 14:27:29 +0000 (14:27 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
* Configuration.cs: Implemented GetSection() and GetSectionGroup().
* AppSettingsSection.cs: Better null check in Reset().
svn path=/trunk/mcs/; revision=36268
Zoltan Varga [Thu, 18 Nov 2004 13:33:11 +0000 (13:33 -0000)]
2004-11-18 Zoltan Varga <vargaz@freemail.hu>
* MonoType.cs (UnderlyingSystemType): Make this return this as in
MS.NET. Fixes #56245.
svn path=/trunk/mcs/; revision=36267
Zoltan Varga [Thu, 18 Nov 2004 12:48:26 +0000 (12:48 -0000)]
2004-11-18 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Disable static linking of mono if --disable-static is
given. Fixes #69466.
svn path=/trunk/mono/; revision=36266
Sanja Gupta [Thu, 18 Nov 2004 12:42:22 +0000 (12:42 -0000)]
ChangeLog: Updated.
SqlDataSourceView.cs: Updated ExecuteSelect method.
svn path=/trunk/mcs/; revision=36265
Jonathan Pryor [Thu, 18 Nov 2004 12:27:42 +0000 (12:27 -0000)]
* Mono.Posix.dll.sources: Add Mono.Unix/CdeclFunction.cs to the build.
* Mono.Unix/CdeclFunction.cs: Added.
* Mono.Unix/Stdlib.cs: Re-add printf(3) and fprintf(3). They may not be
portable (the jury is still out on that; the AMD64 SysV ABI looks like it
should be portable to AMD64 to my eyes), but they will work on *some*
platforms, so we should permit it. The new implementation takes a page out
of cocoa-sharp: use System.Reflection.Emit to generate a P/Invoke method at
runtime to invoke printf(3) or fprintf(3). This way, we can export a
params signature to C# code, permitting natural usage such as:
Stdlib.printf ("Hello, %s world! (%i)\n", "silly", 42);
* Mono.Unix/Syscall.cs: Mark which headers are complete, which functions
still need wrapping (for headers which have anything done to them), add
#region blocks for each header;
export mkfifo(3), fexecve(), getppid(2), setlogin(); fix sleep(3) export.
* Mono.Unix/UnixEnvironment.cs: Export a friendly getppid(2) wrapper.
GetParentProcessId isn't in UnixProcess as there's no way (that I know of)
to get the Parent's Parent, so it can't be a class member, and exposing it
as a static member of UnixProcess doesn't make sense to me, as it isn't
general. Added GetUserShells().
* Mono.Unix/UnixProcess.cs: Change constructor to internal, so it can be
used from UnixEnvironment.
svn path=/trunk/mcs/; revision=36264
Martin Baulig [Thu, 18 Nov 2004 12:24:22 +0000 (12:24 -0000)]
Reverted Marek's latest commit since it breaks the build.
svn path=/trunk/mcs/; revision=36263
Sanja Gupta [Thu, 18 Nov 2004 12:23:22 +0000 (12:23 -0000)]
ChangeLog: Updated
SqlDataSource.cs: Corrected Select method.
svn path=/trunk/mcs/; revision=36262
Ravindra [Thu, 18 Nov 2004 11:43:34 +0000 (11:43 -0000)]
Removed .so extension from a DllImport.
svn path=/trunk/mcs/; revision=36261
Atsushi Eno [Thu, 18 Nov 2004 11:43:14 +0000 (11:43 -0000)]
2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
* library.make: Reverted the last fix. It broke windows build (that
should be fixed though).
svn path=/trunk/mcs/; revision=36260
Atsushi Eno [Thu, 18 Nov 2004 11:35:13 +0000 (11:35 -0000)]
2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
* XmlParserContext.cs : the fix was not checked in :(
svn path=/trunk/mcs/; revision=36259
Atsushi Eno [Thu, 18 Nov 2004 10:16:09 +0000 (10:16 -0000)]
2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
* library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
svn path=/trunk/mcs/; revision=36258
Sanja Gupta [Thu, 18 Nov 2004 08:35:38 +0000 (08:35 -0000)]
ChangeLog: Updated.
SqlDataSource.cs: Updated Select method definition.
SqlDataSourceStatusEventArgs.cs: Updated class.
svn path=/trunk/mcs/; revision=36257
Raja R Harinath [Thu, 18 Nov 2004 08:20:45 +0000 (08:20 -0000)]
2004-11-18 Raja R Harinath <rharinath@novell.com>
* Makefile (TEST_ORDERING): New. Lists multi-file tests that are
not handled by the %-exe/%-dll pattern.
(test-harness-run): Add test-ordering dependencies to
generated Makefile.
* harness.mk (%.res): Fix quoting error.
(test-ordering): Remove.
* conv-dll.cs, conv-exe.cs: Rename from conv-lib.cs, conv-main.cs.
* vararg-dll.cs: Rename from vararg-lib.cs.
* mtest-2-dll.cs, mtest-2-exe.cs: Rename from dll-1.cs and
prog-1.cs.
* mtest-3-dll.cs, mtest-3-exe.cs: Rename from dll-2.cs and
prog-2.cs.
* mtest-4-dll.cs, mtest-4-exe.cs: Rename from ns0.cs and ns.cs.
* mtest-5-dll.cs, mtest-5-exe.cs: Rename from pover-a.cs and
pover-b.cs.
* gen-98-dll.cs, gen-98-exe.cs: Rename from gen-98.cs and gen-99.cs.
svn path=/trunk/mcs/; revision=36256
Marek Safar [Thu, 18 Nov 2004 06:58:19 +0000 (06:58 -0000)]
2004-11-18 Marek Safar <marek.safar@seznam.cz>
* cs0657-19.cs: Bug#69462
svn path=/trunk/mcs/; revision=36255
Marek Safar [Thu, 18 Nov 2004 06:55:46 +0000 (06:55 -0000)]
2004-11-18 Marek Safar <marek.safar@seznam.cz>
Fix #69462
* attribute.cs (Attributable): Removed CheckTargets.
(Attributes.Emit): Explicit attribute targets are tested here.
* class.cs (EventField.ValidAttributeTargets): Explicit target "field" is
not enabled for interfaces.
* codegen.cs (CommonAssemblyModulClass.AddAttributes): Removed CheckTargets.
svn path=/trunk/mcs/; revision=36254
Martin Baulig [Thu, 18 Nov 2004 06:48:05 +0000 (06:48 -0000)]
Merged to GMCS.
svn path=/trunk/mcs/; revision=36253
Martin Baulig [Thu, 18 Nov 2004 06:46:35 +0000 (06:46 -0000)]
**** Merged r36211 from MCS ****
2004-11-17 Raja R Harinath <rharinath@novell.com>
* typemanager.cs (TypeHandle.GetTypeHandle): Make private.
(TypeHandle.GetMemberCache): New.
(TypeHandle.TypeHandle): Update.
(TypeManager.LookupMemberCache): Rewritten from LookupMemberContainer.
(TypeManager.LookupParentInterfacesCache):
Rename from LookupInterfaceCache. Optimize slightly.
(TypeManager.MemberLookup_FindMembers): Update.
* decl.cs (MemberCache.MemberCache): Set Container to null in the
multi-type variant.
(AddCacheContents): Rename from AddHashtable.
* class.cs (TypeContainer.parent_container): Remove.
(TypeContainer.VerifyClsCompliance): Don't use parent_container.
(TypeContainer.DoDefineMembers): Don't initialize it.
Update to name changes.
svn path=/trunk/mcs/; revision=36252
Martin Baulig [Thu, 18 Nov 2004 06:42:08 +0000 (06:42 -0000)]
**** Merged r36192 from MCS ****
2004-11-17 Miguel de Icaza <miguel@ximian.com>
* class.cs (MethodCore.CheckAccessModifiers): New helper routine
that factors the code to check access modifiers on override.
(PropertyBase): Use the code here.
Patch from Lluis S'anchez, fixes bug #69361.
svn path=/trunk/mcs/; revision=36251
Martin Baulig [Thu, 18 Nov 2004 06:40:39 +0000 (06:40 -0000)]
**** Merged r36189 from MCS ****
2004-11-15 Miguel de Icaza <miguel@ximian.com>
* anonymous.cs (AnonymousMethod.Error_AddressOfCapturedVar): New
routine that is used to report the use of a captured variable
whose address has been taken.
There are two checks: one when variables are being captured and
the other check is when the address of a variable is taken.
(because an anonymous methods might be resolved before *or* after
the address has been taken) and
* expression.cs (Conditional.DoResolve): Remove the special
casing that Martin added to trueExpr and falseExpr being both
NullLiteral. We get the right behavior now just by introducing
the null_type into the compiler.
* convert.cs (ExplicitConversion): Change the code to use
null_type instead of testing `expr is NullLiteral'.
(ImplicitConversionStandard): use null_type too.
(ImplicitReferenceConversionExists): use null_type too.
(ImplicitReferenceConversion): use null_type too.
* literal.cs: The type of `NullLiteral' is now null_type instead
of object_type.
(Resolve): Set the type here.
* typemanager.cs: Introduce null_type.
svn path=/trunk/mcs/; revision=36250
Martin Baulig [Thu, 18 Nov 2004 06:18:05 +0000 (06:18 -0000)]
2004-11-18 Martin Baulig <martin@ximian.com>
* rootcontext.cs
(RootContext.LookupType): Return a `Type', not a `TypeExpr'.
svn path=/trunk/mcs/; revision=36249
Martin Baulig [Thu, 18 Nov 2004 06:04:41 +0000 (06:04 -0000)]
2004-11-18 Martin Baulig <martin@ximian.com>
* ecore.cs (TypeExpr.DoResolveAsTypeStep): Make this protected.
svn path=/trunk/mcs/; revision=36247
Martin Baulig [Thu, 18 Nov 2004 06:00:32 +0000 (06:00 -0000)]
New test.
svn path=/trunk/mcs/; revision=36246
Martin Baulig [Thu, 18 Nov 2004 05:58:47 +0000 (05:58 -0000)]
2004-11-18 Martin Baulig <martin@ximian.com>
* generic.cs (Constraints.Resolve): Take an `EmitContext' instead
of a `DeclSpace'. If one of our constraints is a `ConstructedType',
call ResolveConstructedType() on it to resolve it without checking
constraints.
(Constraints.ResolveTypes): Check them here.
(ConstructedType.DoResolveAsTypeStep): Fully resolve ourselves,
but don't check constraints.
(ConstructedType.ResolveAsTypeTerminal): Override this and also
check constraints here.
(ConstructedType.ResolveConstructedType): New public method. This
is called from DoResolveAsTypeStep() and Constraints.Resolve() to
resolve ourselves without checking constraints.
* ecore.cs (Expression.ResolveAsTypeTerminal): Make this virtual.
svn path=/trunk/mcs/; revision=36245
Martin Baulig [Thu, 18 Nov 2004 05:18:50 +0000 (05:18 -0000)]
2004-11-18 Martin Baulig <martin@ximian.com>
* decl.cs
(DeclSpace.CurrentType): Changed type from `TypeExpr' to `Type'.
* delegate.cs (Delegate.DefineType): Always create the EmitContext.
svn path=/trunk/mcs/; revision=36244
Martin Baulig [Thu, 18 Nov 2004 05:04:05 +0000 (05:04 -0000)]
Added gen-98.
svn path=/trunk/mcs/; revision=36243
Martin Baulig [Thu, 18 Nov 2004 05:01:10 +0000 (05:01 -0000)]
2004-11-18 Martin Baulig <martin@ximian.com>
* ecore.cs (TypeExpr.ResolveType): Removed.
(Expression.ResolveAsTypeTerminal): We always return a fully
resolved `TypeExpr', so we can just access its `Type'.
* class.cs (TypeContainer.DefineType): Resolve `CurrentType' here.
svn path=/trunk/mcs/; revision=36242
Martin Baulig [Thu, 18 Nov 2004 04:27:27 +0000 (04:27 -0000)]
Fixme, fixme, fixme.
svn path=/trunk/mcs/; revision=36241
Carlos Alberto Cortez [Thu, 18 Nov 2004 03:55:51 +0000 (03:55 -0000)]
2004-11-17 Carlos Alberto Cortez Guevara <carlos@unixmexico.org>
* Collections.cs: Avoid the call to Array.Clear () in RemoveItem (),
now we only assign the last element (the deleted one) to its default
value.
svn path=/trunk/mcs/; revision=36240
Atsushi Eno [Wed, 17 Nov 2004 23:47:11 +0000 (23:47 -0000)]
2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaException.cs : added .ctor(string).
* XmlSchemaInferenceException.cs : use base.ctor(string).
* XmlSchemaValidationException.cs : It is 2.0 class. Added some .ctor()
svn path=/trunk/mcs/; revision=36239
Atsushi Eno [Wed, 17 Nov 2004 23:38:43 +0000 (23:38 -0000)]
2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaCollection.cs : obsolete.
* XmlSchemaInference.cs :
Fixed typo in enum. It is still MonoTODO. Reformatted code a bit.
svn path=/trunk/mcs/; revision=36238
Peter Dennis Bartok [Wed, 17 Nov 2004 21:53:52 +0000 (21:53 -0000)]
- Added handling of click-count to MouseDown/ MouseUp events.
- Added handling of middle and right mouse buttons
- Removed old debug code
svn path=/trunk/mcs/; revision=36237
Peter Dennis Bartok [Wed, 17 Nov 2004 21:53:26 +0000 (21:53 -0000)]
- Added double-click events to the class style
svn path=/trunk/mcs/; revision=36236
Peter Dennis Bartok [Wed, 17 Nov 2004 21:52:45 +0000 (21:52 -0000)]
- Updated
svn path=/trunk/mcs/; revision=36235
Carlos Alberto Cortez [Wed, 17 Nov 2004 21:37:57 +0000 (21:37 -0000)]
2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
* INullable.cs: New interface added.
* Nullable.cs: Methods added. Also a static Nullable class
containing static methods.
svn path=/trunk/mcs/; revision=36234
Jackson Harper [Wed, 17 Nov 2004 21:00:27 +0000 (21:00 -0000)]
* XplatUIX11.cs: Use the new Mono.Unix namespace.
svn path=/trunk/mcs/; revision=36233
Geoff Norton [Wed, 17 Nov 2004 20:49:01 +0000 (20:49 -0000)]
2004-11-17 Geoff Norton <gnorton@customerdna.com>
* Mono.Data.SqliteClient/Sqlite.cs:
Mono.Data.SqliteClient/SqliteCommand.cs:
Remove sqlite3Free as this doesn't exist and isn't used by sqlite3.
svn path=/trunk/mcs/; revision=36232
Marek Safar [Wed, 17 Nov 2004 17:13:47 +0000 (17:13 -0000)]
refresh
svn path=/trunk/mcs/; revision=36226
Marek Safar [Wed, 17 Nov 2004 17:07:46 +0000 (17:07 -0000)]
missing unsafe
svn path=/trunk/mcs/; revision=36225
Jambunathan K [Wed, 17 Nov 2004 16:26:21 +0000 (16:26 -0000)]
* attribute.cs: Temporarily made Attribute.UnManagedType public.
* class.cs: Removed the instance method MethodCore.LabelParameters()
and moved it's functionality to the new instance methods
Parameters.LabelParameters() and Parameter.DefineParameter().
* parameter.cs: Introduced new instance methods
Parameters.LabelParameters() and Parameter.DefineParameter() and
slightly improved Parameter.ApplyAttributeBuilder().
svn path=/trunk/mcs/; revision=36223
Martin Baulig [Wed, 17 Nov 2004 13:10:04 +0000 (13:10 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* ecore.cs (IAlias.Type): Replaced with ResolveAsType() to make
sure we don't return any unresolved TypeExpr's.
(TypeAliasExpression): The .ctor now takes an `IAlias' instead of
a `TypeExpr'.
(Expression.ResolveAsTypeTerminal): Make sure `te.Type != null'.
* expression.cs (MemberAccess.ResolveAsTypeStep): Don't return any
unresolved `ConstructedType's.
svn path=/trunk/mcs/; revision=36214
Atsushi Eno [Wed, 17 Nov 2004 13:01:36 +0000 (13:01 -0000)]
2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources, System.Xml.Query/XQueryConvert.cs,
System.Xml/XQueryConvert.cs : moved XQueryConvert.cs.
svn path=/trunk/mcs/; revision=36213
Jambunathan K [Wed, 17 Nov 2004 11:50:39 +0000 (11:50 -0000)]
* mb-parser.jay: During multi-file compilation, global
* attributes were not getting parsed properly. Fixed the same.
svn path=/trunk/mcs/; revision=36212
Raja R Harinath [Wed, 17 Nov 2004 11:45:45 +0000 (11:45 -0000)]
2004-11-17 Raja R Harinath <rharinath@novell.com>
* typemanager.cs (TypeHandle.GetTypeHandle): Make private.
(TypeHandle.GetMemberCache): New.
(TypeHandle.TypeHandle): Update.
(TypeManager.LookupMemberCache): Rewritten from LookupMemberContainer.
(TypeManager.LookupParentInterfacesCache):
Rename from LookupInterfaceCache. Optimize slightly.
(TypeManager.MemberLookup_FindMembers): Update.
* decl.cs (MemberCache.MemberCache): Set Container to null in the
multi-type variant.
(AddCacheContents): Rename from AddHashtable.
* class.cs (TypeContainer.parent_container): Remove.
(TypeContainer.VerifyClsCompliance): Don't use parent_container.
(TypeContainer.DoDefineMembers): Don't initialize it.
Update to name changes.
svn path=/trunk/mcs/; revision=36211
Ravindra [Wed, 17 Nov 2004 11:36:23 +0000 (11:36 -0000)]
Formatting VS.NET's formatting mess.
svn path=/trunk/mcs/; revision=36210
Ravindra [Wed, 17 Nov 2004 11:20:22 +0000 (11:20 -0000)]
Missed in last checkin.
svn path=/trunk/mcs/; revision=36209
Ravindra [Wed, 17 Nov 2004 11:19:03 +0000 (11:19 -0000)]
Mouse event handling support in ListView.
svn path=/trunk/mcs/; revision=36208
Raja R Harinath [Wed, 17 Nov 2004 11:17:41 +0000 (11:17 -0000)]
2004-11-17 Raja R Harinath <rharinath@novell.com>
* harness.mk: Add the pover-a and pover-b multi-file test.
svn path=/trunk/mcs/; revision=36207
Martin Baulig [Wed, 17 Nov 2004 11:07:31 +0000 (11:07 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* ecore.cs (TypeExpr.ResolveType): Don't make this virtual.
svn path=/trunk/mcs/; revision=36206
Jordi Mas i Hernandez [Wed, 17 Nov 2004 11:07:08 +0000 (11:07 -0000)]
fixes signature
svn path=/trunk/mcs/; revision=36205
Martin Baulig [Wed, 17 Nov 2004 11:05:44 +0000 (11:05 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* ecore.cs
(Expression.ResolveAsTypeTerminal): Removed the `bool silent' argument.
* decl.cs (DeclSpace.ResolveType): Removed.
(DeclSpace.ResolveTypeExpr): Removed the `bool silent' argument.
svn path=/trunk/mcs/; revision=36204
Atsushi Eno [Wed, 17 Nov 2004 09:08:23 +0000 (09:08 -0000)]
2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaSet.cs : don't set TargetNamespace = "".
svn path=/trunk/mcs/; revision=36203
Atsushi Eno [Wed, 17 Nov 2004 08:54:16 +0000 (08:54 -0000)]
2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaInferenceDesign.txt : added (incomplete though.)
svn path=/trunk/mcs/; revision=36202
Atsushi Eno [Wed, 17 Nov 2004 08:49:21 +0000 (08:49 -0000)]
2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources : added XmlSchemaInference.cs,
XmlSchemaInferenceException.cs and XmlSchemaValidationException.cs.
* XmlSchemaValidationException.cs : added.
svn path=/trunk/mcs/; revision=36201
Atsushi Eno [Wed, 17 Nov 2004 08:46:21 +0000 (08:46 -0000)]
2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaInference.cs,
XmlSchemaInferenceException.cs : added.
svn path=/trunk/mcs/; revision=36200
Martin Baulig [Wed, 17 Nov 2004 08:45:48 +0000 (08:45 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* Makefile: Enable test-315 and gen-95.
svn path=/trunk/mcs/; revision=36199
Atsushi Eno [Wed, 17 Nov 2004 08:45:06 +0000 (08:45 -0000)]
2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaException.cs : removed get_Message in 2.0 profile (all done
in .ctor()).
svn path=/trunk/mcs/; revision=36198
Martin Baulig [Wed, 17 Nov 2004 08:44:02 +0000 (08:44 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* Makefile: Enable test-315 and gen-95.
svn path=/trunk/mcs/; revision=36197
Martin Baulig [Wed, 17 Nov 2004 08:09:42 +0000 (08:09 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* class.c (mono_class_create_from_typedef): If a type parameter is
inherited from an outer class, set its owner to that class.
svn path=/trunk/mono/; revision=36196
Raja R Harinath [Wed, 17 Nov 2004 05:49:38 +0000 (05:49 -0000)]
2004-11-17 Raja R Harinath <rharinath@novell.com>
* Makefile.am (clean-local): Rename from 'clean'.
svn path=/trunk/mono/; revision=36195
Raja R Harinath [Wed, 17 Nov 2004 05:40:20 +0000 (05:40 -0000)]
* executable.make: Improve support for building executable into a
different directory.
svn path=/trunk/mcs/; revision=36194
Miguel de Icaza [Wed, 17 Nov 2004 04:48:26 +0000 (04:48 -0000)]
2004-11-17 Miguel de Icaza <miguel@ximian.com>
* class.cs (MethodCore.CheckAccessModifiers): New helper routine
that factors the code to check access modifiers on override.
(PropertyBase): Use the code here.
Patch from Lluis S'anchez, fixes bug #69361.
svn path=/trunk/mcs/; revision=36192
Miguel de Icaza [Wed, 17 Nov 2004 04:45:23 +0000 (04:45 -0000)]
Add new test from for bug #69361
svn path=/trunk/mcs/; revision=36191
Miguel de Icaza [Wed, 17 Nov 2004 03:29:00 +0000 (03:29 -0000)]
Update helper errors to use the -pkg syntax when needed, patch from iain@mccoy.id.au (Iain McCoy)
svn path=/trunk/mcs/; revision=36189
Neale Ferguson [Wed, 17 Nov 2004 03:05:28 +0000 (03:05 -0000)]
Add support for siginfo_t as a parameter to mono_arch_is_int_overflow. Support this
routine in s390.
svn path=/trunk/mono/; revision=36188
Martin Baulig [Wed, 17 Nov 2004 03:00:19 +0000 (03:00 -0000)]
Updated.
svn path=/trunk/mcs/; revision=36187
Martin Baulig [Wed, 17 Nov 2004 02:57:04 +0000 (02:57 -0000)]
Removed workaround for #69546.
svn path=/trunk/mcs/; revision=36186
Martin Baulig [Wed, 17 Nov 2004 02:50:56 +0000 (02:50 -0000)]
Enable gen-99.
svn path=/trunk/mcs/; revision=36185
Martin Baulig [Wed, 17 Nov 2004 02:48:39 +0000 (02:48 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* Makefile: Enable test-315 and gen-95.
svn path=/trunk/mcs/; revision=36184
Martin Baulig [Wed, 17 Nov 2004 02:45:52 +0000 (02:45 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=36183
Martin Baulig [Wed, 17 Nov 2004 02:44:11 +0000 (02:44 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* decl.cs (MemberCache.AddHashtable): Add entries in the opposite
direction, like FindMembers() does. Fixes #69546, testcase is in
test-315.cs.
svn path=/trunk/mcs/; revision=36182
Martin Baulig [Wed, 17 Nov 2004 02:43:24 +0000 (02:43 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* decl.cs (MemberCache.AddHashtable): Add entries in the opposite
direction, like FindMembers() does. Fixes #69546, testcase is in
test-315.cs.
svn path=/trunk/mcs/; revision=36181
Atsushi Eno [Wed, 17 Nov 2004 01:32:27 +0000 (01:32 -0000)]
2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
* reflection.c: (mono_image_create_pefile): Don't use NULL argument
for (int*) written size. This fixes bug #69592.
svn path=/trunk/mono/; revision=36180
Peter Dennis Bartok [Tue, 16 Nov 2004 21:53:19 +0000 (21:53 -0000)]
- Implemented generation of double click mouse messages
svn path=/trunk/mcs/; revision=36179
Jonathan Pryor [Tue, 16 Nov 2004 19:58:03 +0000 (19:58 -0000)]
* Stdlib.cs: Remove printf(3) and fprintf(3). These are vararg/CDECL
functions, and it's not portable to call them in this manner.
(It's not portable because some architectures, such as AMD64, use a
"cookie" as part of the vararg calling sequence to help reduce buffer
overflow exploits. Trying to call vararg functions as if they were an
overloaded function will not properly set this hardware cookie, resulting
in a hardware exception. Talk to lupus for more information.)
svn path=/trunk/mcs/; revision=36178