mono.git
18 years ago2006-01-10 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 10 Jan 2006 19:40:53 +0000 (19:40 -0000)]
2006-01-10  Chris Toshok  <toshok@ximian.com>

* Page.cs (ValidateCollection): in NET_2_0 if event validation is
off, return true.

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

18 years ago2006-01-10 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 10 Jan 2006 19:25:06 +0000 (19:25 -0000)]
2006-01-10  Chris Toshok  <toshok@ximian.com>

* MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
DecryptionKey192Bits): if the keys are null, generate them.  Fixes
Page.EnableViewStateMac support.

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

18 years ago2006-01-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Jan 2006 18:09:27 +0000 (18:09 -0000)]
2006-01-10  Martin Baulig  <martin@ximian.com>

* generic.cs
(TypeParameter.InflateConstraints): New public method.

* iterators.cs (Iterator.DefineNestedTypes): Also inflate the
constraints; fixes #77042.

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

18 years ago2006-01-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Jan 2006 18:04:28 +0000 (18:04 -0000)]
2006-01-10  Martin Baulig  <martin@ximian.com>

* anonymous.cs (ScopeInfo.EmitScopeType): Use the `CurrentType'
instead of the `TypeBuilder' for this "<>THIS" variable; fixes
#77061.

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

18 years ago2006-01-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jan 2006 17:10:28 +0000 (17:10 -0000)]
2006-01-10  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml_test.dll.sources : added XmlSchemaTypeTests.cs.

* XmlSchemaTypeTests.cs : new file. Test for TypeCode.
* XmlSchemaSetTests.cs : added more tests for Add() and marked one as
  NotWorking (we need info on how consistent this method is).

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

18 years ago2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 Jan 2006 16:44:50 +0000 (16:44 -0000)]
2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebResponse.cs: cope with malformed cookies with '=' as value.
Patch by Cyrille Colin. Fixes bug #77179.

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

18 years agoIn ilasm/parser:
Ankit Jain [Tue, 10 Jan 2006 16:38:08 +0000 (16:38 -0000)]
In ilasm/parser:

* ILParser.jay (type | BANG ..): Move !* and !!* rules to ..
(generic_class_ref): ..this, to allow using VAR/MVARs as class refs.
Eg. "extends !0"

In class/PEAPI:

* Metadata.cs (GenParam): Don't use GetTypeSpec to create typespec for GenParam.
Adding required methods directly to GenParam.
* PEAPI.cs (PEFile.AddGenericParam): Add it to the TypeSpec table directly.

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

18 years ago2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 Jan 2006 16:30:10 +0000 (16:30 -0000)]
2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: Modified file.

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

18 years agofixing references
Konstantin Triger [Tue, 10 Jan 2006 15:52:32 +0000 (15:52 -0000)]
fixing references

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

18 years agoIn ilasm/tests:
Ankit Jain [Tue, 10 Jan 2006 15:34:27 +0000 (15:34 -0000)]
In ilasm/tests:
* gen-nested.il: New. Test for a generic type nested in a non-generic
one.

In ilasm/codegen:
* TypeDef.cs (TypeDef.GetGenericParamNum): Return -1 if type has no
generic parameters.
* MethodDef.cs (MethodDef.GetGenericParamNum): Likewise.

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

18 years agoDistribute nunit-console.exe.net_2_0.config
Raja R Harinath [Tue, 10 Jan 2006 14:36:56 +0000 (14:36 -0000)]
Distribute nunit-console.exe.net_2_0.config

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

18 years ago * Catalog.cs: Don't use
Jonathan Pryor [Tue, 10 Jan 2006 14:36:17 +0000 (14:36 -0000)]
  * Catalog.cs: Don't use
    System.Runtime.InteropServices.Marshal.StringToHGlobalAuto(), use
    UnixMarshal.StringToHeap().  We require that the converted string be in
    UTF-8 format, but .NET's Marshal.StringToHGlobalAuto converts to the local
    code page, *not* UTF-8 (Mono's does UTF-8).  UnixMarshal.StringToHeap
    *always* does UTF-8, so use that instead.

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

18 years agoIn ilasm/codegen:
Ankit Jain [Tue, 10 Jan 2006 14:18:07 +0000 (14:18 -0000)]
In ilasm/codegen:
* MethodDef.cs (MethodDef.WriteCode): Resolve generic params for abstract
methods also.

In ilasm/tests:
* gen-meth3.il: New. Test for abstract generic method.

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

18 years ago* scripts/Makefile.am (scripts_2_0): Add nunit-console2.
Raja R Harinath [Tue, 10 Jan 2006 13:56:59 +0000 (13:56 -0000)]
* scripts/Makefile.am (scripts_2_0): Add nunit-console2.

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

18 years agoThis should fix #76928. This fix incorporates ideas from a patch
Raja R Harinath [Tue, 10 Jan 2006 13:55:51 +0000 (13:55 -0000)]
This should fix #76928.  This fix incorporates ideas from a patch
osted on that bugreport.
* Makefile [net_2_0 profile]: Don't build nunit-console.exe.  Copy
the executable from the 'default' profile, and use a slightly
customized nunit-console.exe.config.
* nunit-console.exe.net_2_0.config: New config file for the
net_2_0 profile.  Alter the list of 'supportedRuntime's to prefer
the 2.0 runtime.

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

18 years ago2006-01-10 Senganal T <tsenganal@novell.com>
Senganal T [Tue, 10 Jan 2006 13:06:43 +0000 (13:06 -0000)]
2006-01-10 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataViewTest2.cs
- Added testcase for bug #77188
* System.Data/DataRowCollection.cs
- Added ListChangedEvent to notify reset of the collection.
* System.Data/DataView.cs
- Subscribes to the ListChangedEvent of DataRowCollection
Fixes bug #77188

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

18 years ago2006-01-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jan 2006 12:57:37 +0000 (12:57 -0000)]
2006-01-10  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml_test.dll.sources : XmlSchemaDatatypeTests.cs was missing.
  collected sys.xml.schema lines.

* XmlSchemaDatatypeTests.cs : oops sys.col.generic is NET_2_0.

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

18 years ago2006-01-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jan 2006 12:54:26 +0000 (12:54 -0000)]
2006-01-10  Atsushi Enomoto <atsushi@ximian.com>

* XmlAtomicValue.cs : it won't be implemented since there is no way
  to test it inside sys.xml. Thus remarked MonoTODO.
* XmlSchemaDatatype.cs : implemented IsDerivedFrom(), which is however
  mostly useless.

* XmlSchemaDatatypeTests.cs : added test for 2.0 IsDerivedFrom().

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

18 years agoIn ilasm/tests:
Ankit Jain [Tue, 10 Jan 2006 12:27:56 +0000 (12:27 -0000)]
In ilasm/tests:

* gen-meth1.il: New. Test for use of VAR/MVAR by name (!!A)
* gen-meth2.il: New. Test for using VAR/MVAR as class ref.

In ilasm/codegen:

* TypeDef.cs (TypeDef.TypeParameters): New.
(TypeDef.ResolveGenParams): New. Resolve any gen param refs in
constraints, base class ref or implemented interfaces.
* MethodDef.cs (MethodDef.ResolveGenParams): Update to use new Resolve
overloads and ResolveConstraints for GenericParameters.

* GenericTypeInst.cs (GenericTypeInst.Resolve): Resolve generic args.
* GenericParamRef.cs (GenericParamRef.Resolve): Implement.
* GenericParameters.cs (GenericParameter.ResolveConstraints): New.
(GenericParameters.ResolveConstraints): New.
* GenericArguments.cs (GenericArguments.Resolve): New.

* TypeRef.cs (TypeRef.GetGenericTypeInst): Don't cache.
* ExternTypeRef.cs (ExternTypeRef.GetGenericTypeInst): Likewise.

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

18 years ago* Syscall.cs (sys_futimes): Remove buggy custom marshaller on 'fd' parameter.
Raja R Harinath [Tue, 10 Jan 2006 08:52:04 +0000 (08:52 -0000)]
* Syscall.cs (sys_futimes): Remove buggy custom marshaller on 'fd' parameter.

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

18 years ago2006-01-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jan 2006 07:35:46 +0000 (07:35 -0000)]
2006-01-10  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs :
  - Split memoization support things into MemoizationStore class.
  - Split single memo ArrayList into a couple of Hashtables and
    ArrayLists which memoize each kind of derivative results.
  - Introduced StartAttDeriv() and EndAttDeriv() to replace AttDeriv()
    and memoize results efficiently. It is textually written in the
    "derivative algorithm", but not formally specified.
  - Introduced IsTextValueDependent and EmptyTextDeriv() to
    differentiate those patterns which results differ depending on
    the text value and those which doesn't.
    Those EmptyTextDeriv results are memoized.

* RdpPatterns.cs :
  - Added StartAttDeriv(), EndAttDeriv() and IsTextValueDependent.
    (See corresponding changes in RelaxngValidatingReader.cs).
  - Added a bunch of derivative method overloads to receive
    MemoizationStore and memoize results efficiently.

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

18 years ago2006-01-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jan 2006 07:20:38 +0000 (07:20 -0000)]
2006-01-10  Atsushi Enomoto <atsushi@ximian.com>

* Misc.cs : NormalizeWhitespace() was creating extraneous char[] and
  it could be heavily called depending on patterns.
* RelaxngDefaultDatatypes.cs : avoid extraneous call to
  NormalizeWhitespace().

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

18 years ago2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Tue, 10 Jan 2006 04:48:44 +0000 (04:48 -0000)]
2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>

* Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.

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

18 years ago2006-1-10 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Tue, 10 Jan 2006 04:46:55 +0000 (04:46 -0000)]
2006-1-10  Jonathan Chambers  <jonathan.chambers@ansys.com>

* System.Windows.Forms.dll.sources: Add PrintPreviewDialog and PrintPreviewControl

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

18 years ago2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Tue, 10 Jan 2006 04:18:52 +0000 (04:18 -0000)]
2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>

* PrintControllerWithStatusDialog.cs: Update page number in dialog.

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

18 years ago2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Tue, 10 Jan 2006 04:07:59 +0000 (04:07 -0000)]
2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>

* PrintDialog.cs: Added attributes and set default property values.

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

18 years agoForgot ChangeLog
Jonathan Chambers [Tue, 10 Jan 2006 03:59:45 +0000 (03:59 -0000)]
Forgot ChangeLog

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

18 years agoAdded PrintControllerWithStatusDialog.
Jonathan Chambers [Tue, 10 Jan 2006 03:58:13 +0000 (03:58 -0000)]
Added PrintControllerWithStatusDialog.

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

18 years agouse the 1.x default for enableViewStateMac
Chris Toshok [Tue, 10 Jan 2006 01:36:45 +0000 (01:36 -0000)]
use the 1.x default for enableViewStateMac

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 10 Jan 2006 00:59:31 +0000 (00:59 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* Page.cs: fix a lot of indentation, and add the
EnableEventValidation .net 2.0 property.

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

18 years agothe dumper stuff was moved to System.Configuration/
Chris Toshok [Mon, 9 Jan 2006 23:23:08 +0000 (23:23 -0000)]
the dumper stuff was moved to System.Configuration/

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

18 years agocommit the reflection based configuration dumping utility
Chris Toshok [Mon, 9 Jan 2006 22:27:53 +0000 (22:27 -0000)]
commit the reflection based configuration dumping utility

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 22:21:53 +0000 (22:21 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* SoapEnvelopeProcessingElement.cs: fix dumper output.

* SoapExtensionTypeElement.cs: same.

* ProtocolElement.cs: same.

* WsiProfilesElement.cs: same.

* WebServicesSection.cs: same.

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

18 years agosome new tests
Chris Toshok [Mon, 9 Jan 2006 22:17:31 +0000 (22:17 -0000)]
some new tests

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 22:17:11 +0000 (22:17 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* RoleManagerSection.cs, SqlCacheDepencendySection.cs,
SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
dumper output.

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 22:09:19 +0000 (22:09 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* ConfigurationManager.cs (AppSettings): just return
AppSettingsSection.GetRuntimeObject() here.

* AppSettingsSection.cs: fix the "file" property to match dumper
output.
(GetRuntimeObject): this returns a KeyValueInternalCollection in
MS's implementation.

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 21:20:25 +0000 (21:20 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* ElementInformation.cs (Validator): if propertyInfo == null,
return a DefaultValidator instance.

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

18 years agoadd new test
Chris Toshok [Mon, 9 Jan 2006 21:19:32 +0000 (21:19 -0000)]
add new test

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

18 years ago2006-01-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 Jan 2006 21:10:46 +0000 (21:10 -0000)]
2006-01-09  Sebastien Pouliot  <sebastien@ximian.com>

* Path.cs: Fix c14n on Windows when the first separator after the root
isn't '\'. Fix problems for XSP with 1.1.13.

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

18 years ago2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Mon, 9 Jan 2006 20:50:46 +0000 (20:50 -0000)]
2006-01-9  Jonathan Chambers  <jonathan.chambers@ansys.com>

* XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.

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

18 years ago * Mono.Unix/FileTypes.cs: Remove [Flags] attribute -- these aren't bitfield
Jonathan Pryor [Mon, 9 Jan 2006 18:43:14 +0000 (18:43 -0000)]
  * Mono.Unix/FileTypes.cs: Remove [Flags] attribute -- these aren't bitfield
  values.
  * Mono.Unix/UnixFileSystemInfo.cs: Fix Is<<Type>> properties -- before it
  would erroneously say that a symlink was a character device.  (This is
  because device values are *not* [Flags] values, but code was assuming they
  were.)
  * Mono.Unix/UnixGroupInfo.cs: Clone the string[] returned from
  GetMemberNames().  We don't want callers to change the underlying list.

  * Mono.Unix.Native/NativeConvert.cs: s/IsType/IsSet/g: deal with
  UnixFileSystemInfo method name change.

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 18:37:40 +0000 (18:37 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* Makefile (LIB_MCS_FLAGS): if we're building net_2_0, define
CONFIGURATION_2_0 to use the new System.Configuration api.

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 18:37:18 +0000 (18:37 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* Makefile (OTHER_LIB_MCS_FLAGS): if we're building net_2_0,
define CONFIGURATION_2_0 to use the new System.Configuration api.

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 18:36:56 +0000 (18:36 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* Makefile (LIB_MCS_FLAGS): if we're building net_2_0, define
CONFIGURATION_2_0 to use the new System.Configuration api.

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 18:36:23 +0000 (18:36 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* data/net_2_0/machine.config: switch over to the 2.0
configuration sections for System.Web and System.Web.Services.
Also, add the configProtectedData stuff so we can encrypt config
sections.

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

18 years ago* CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile from /main/9
Vladimir Krasnov [Mon, 9 Jan 2006 18:01:59 +0000 (18:01 -0000)]
* CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile from /main/9
* HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage from /main/13
* HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
* HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
* StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest from /main/7

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 17:51:19 +0000 (17:51 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* ExpressionBuilderCollection.cs (.cctor): no need to create a
collection property here.  we're already in the collection.

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 17:44:50 +0000 (17:44 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* CompilationSection.cs: fix typo.

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

18 years ago* ObjectStateFormatter.cs: Merged TARGET_JVM parts in
Vladimir Krasnov [Mon, 9 Jan 2006 17:34:33 +0000 (17:34 -0000)]
* ObjectStateFormatter.cs: Merged TARGET_JVM parts in
TypeFormatter.Read, TypeFormatter.Write from /main/5

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

18 years ago2006-01-09 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 9 Jan 2006 17:24:10 +0000 (17:24 -0000)]
2006-01-09 Senganal T <tsenganal@novell.com>
* Mono.Data.SqlExpressions/Aggregation.cs
* Mono.Data.SqlExpressions/Expression.cs
* System.Data/RelatedDataView.cs
* System.Data/DataColumn.cs
- Resolving a name clash in IExpression

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

18 years ago2006-01-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Jan 2006 16:51:59 +0000 (16:51 -0000)]
2006-01-09  Chris Toshok  <toshok@ximian.com>

* AppSettingsSection.cs (.cctor): specify null for
validator/converter.

* ProtectedProviderSettings.cs (.cctor): specify null for
validator/converter.

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

18 years ago* GenericArguments.cs (GenericArguments.is_resolved): New.
Ankit Jain [Mon, 9 Jan 2006 16:37:26 +0000 (16:37 -0000)]
* GenericArguments.cs (GenericArguments.is_resolved): New.
(GenericArguments.p_type_list): New. Resolve only once and return this.

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

18 years ago* ILParser.jay (type_spec : class_ref): Remove.
Ankit Jain [Mon, 9 Jan 2006 16:22:33 +0000 (16:22 -0000)]
* ILParser.jay (type_spec : class_ref): Remove.

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

18 years agoIn ilasm/tests:
Ankit Jain [Mon, 9 Jan 2006 16:17:37 +0000 (16:17 -0000)]
In ilasm/tests:

* gen-recur.il: New. Test for a class implementing a generic interface
with the class itself as the argument.

In ilasm/codegen:
* TypeDef.cs (TypeDef.Define): Set is_defined to true as soon as the
Peapi type gets created.

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

18 years agoIn ilasm/codegen:
Ankit Jain [Mon, 9 Jan 2006 16:12:24 +0000 (16:12 -0000)]
In ilasm/codegen:

* GenericTypeRef.cs: Rename to ..
* GenericParamRef.cs: .. this.
(IGenericTypeRef): New.
(GenericParamRef): Implement IGenericTypeRef.
* GenericTypeInst.cs (GenericTypeInst): Implement IGenericTypeRef instead
of IClassRef.
(GenericTypeInst.ResolveOnly): Rename to ResolveNoTypeSpec to implement
IGenericTypeRef.ResolveNoTypeSpec .
* MethodDef.cs (MethodDef.ResolveGenParams): Update to use GenericParamRef.
* Local.cs (Local.GetPeapiLocal): Use IGenericTypeRef.

In ilasm:

        * ilasm.exe.sources: Replace GenericTypeRef.cs with GenericParamRef.cs

In ilasm/parser:

        * ILParser.jay: Update to use GenericParamRef instead of GenericTypeRef.

In class/PEAPI:

* PEAPI.cs (PEFile.AddGenricParam): New. Adds a GenParam to the TypeSpec
table.
* Metadata.cs (GenParam): Inherit from 'Class' instead of 'Type'.
(GenParam.name): Rename to param_name as it hides Class.name .
(GenParam.GetTypeSpec): Override to create TypeSpec for genparam.

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

18 years agoadding files for compilation
Konstantin Triger [Mon, 9 Jan 2006 16:06:17 +0000 (16:06 -0000)]
adding files for compilation

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

18 years agocorrect ifdef to TARGET_J2EE
Konstantin Triger [Mon, 9 Jan 2006 16:03:53 +0000 (16:03 -0000)]
correct ifdef to TARGET_J2EE

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

18 years agounder TARGET_JVM: merging /main/4
Konstantin Triger [Mon, 9 Jan 2006 16:02:35 +0000 (16:02 -0000)]
under TARGET_JVM: merging /main/4

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

18 years agomerging HttpSessionState.cs@@/main/19-24
Konstantin Triger [Mon, 9 Jan 2006 15:59:31 +0000 (15:59 -0000)]
merging HttpSessionState.cs@@/main/19-24

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

18 years agomake ProcessRequest virtual under TARGET_JVM
Konstantin Triger [Mon, 9 Jan 2006 15:55:45 +0000 (15:55 -0000)]
make ProcessRequest virtual under TARGET_JVM

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

18 years agomerging latest changes
Konstantin Triger [Mon, 9 Jan 2006 15:53:24 +0000 (15:53 -0000)]
merging latest changes

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

18 years agoMissed one more case.
Raja R Harinath [Mon, 9 Jan 2006 15:33:54 +0000 (15:33 -0000)]
Missed one more case.

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

18 years agoFix #75636.
Raja R Harinath [Mon, 9 Jan 2006 15:21:07 +0000 (15:21 -0000)]
Fix #75636.
* mcs/expression.cs (Invocation.OverloadResolve): Replace reflected
override methods with their base virtual methods, rather than
skipping over them.
* gmcs/expression.cs: Likewise.
* mcs/typemanager.cs (TypeManager.GetOverride): New.
* gmcs/typemanager.cs: Likewise.
* tests/Makefile (TEST_ILS): New list of CIL test libraries.
* tests/test-483-lib.il, tests/test-483.cs: New test from #75636.

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

18 years ago* HashMembershipConditionTest.cs (HashValue): Remove 1/256 chance
Raja R Harinath [Mon, 9 Jan 2006 15:13:01 +0000 (15:13 -0000)]
* HashMembershipConditionTest.cs (HashValue): Remove 1/256 chance
of false negative.

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

18 years ago2006-01-10 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Mon, 9 Jan 2006 15:06:49 +0000 (15:06 -0000)]
2006-01-10  Jonathan Chambers  <jonathan.chambers@ansys.com>

* ComboBox.cs: Fix crash when there is no selected item (due to last commit)

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

18 years agoFixing build.
Boris Kirzner [Mon, 9 Jan 2006 14:20:27 +0000 (14:20 -0000)]
Fixing build.

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

18 years ago*** merged revisions 54647 and 54704 from mcs
Raja R Harinath [Mon, 9 Jan 2006 11:01:18 +0000 (11:01 -0000)]
*** merged revisions 54647 and 54704 from mcs

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

18 years ago2006-01-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 9 Jan 2006 01:06:24 +0000 (01:06 -0000)]
2006-01-08  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs.cs: Add support for nostdlib, out, pkg and reference.

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

18 years ago2006-01-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 9 Jan 2006 01:03:33 +0000 (01:03 -0000)]
2006-01-08  Cesar Lopez Nataren  <cnataren@novell.com>

* SemanticAnalizer.cs, Import.cs: No longer use the Mono.CSharp
stuff; we lookup for the namespaces in our code (stolen from mcs
source code though :)

* Namespace.cs: Handle the namespace lookup here.

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

18 years ago2006-01-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 9 Jan 2006 01:02:47 +0000 (01:02 -0000)]
2006-01-08  Cesar Lopez Nataren  <cnataren@novell.com>

* Makefile: No longer reference the C# compiler for namespace
lookup.

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

18 years ago2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Sun, 8 Jan 2006 19:58:23 +0000 (19:58 -0000)]
2006-01-09  Jonathan Chambers  <jonathan.chambers@ansys.com>

* ComboBox.cs: Added KeyDown event handler for processing arrow keys
and PgUp/PgDown. Also, scroll to selected item upon dropdown.

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

18 years ago * MimeIcon.cs: Added internal class SVGUtil.
Alexander Olk [Sun, 8 Jan 2006 18:28:16 +0000 (18:28 -0000)]
* MimeIcon.cs: Added internal class SVGUtil.

2006-01-08  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago* XmlSchemaImporter.cs: Fixed line endings (to CRLF).
Gert Driesen [Sun, 8 Jan 2006 17:24:07 +0000 (17:24 -0000)]
* XmlSchemaImporter.cs: Fixed line endings (to CRLF).

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

18 years ago2006-01-08 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sun, 8 Jan 2006 15:12:19 +0000 (15:12 -0000)]
2006-01-08  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Don't crash if there are two files with the
  same name but different locations.

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

18 years agoTARGET_JVM: fixing compilation
Konstantin Triger [Sun, 8 Jan 2006 14:22:08 +0000 (14:22 -0000)]
TARGET_JVM: fixing compilation

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

18 years agoTARGET_JVM changes to let the compilation pass with csc 1.1
Konstantin Triger [Sun, 8 Jan 2006 13:24:11 +0000 (13:24 -0000)]
TARGET_JVM changes to let the compilation pass with csc 1.1

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

18 years agoTARGET_JVM changes to let the compilation pass with csc 1.1
Konstantin Triger [Sun, 8 Jan 2006 13:21:51 +0000 (13:21 -0000)]
TARGET_JVM changes to let the compilation pass with csc 1.1

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

18 years agoTARGET_JVM changes to let the compilation pass with csc 1.1
Konstantin Triger [Sun, 8 Jan 2006 13:18:54 +0000 (13:18 -0000)]
TARGET_JVM changes to let the compilation pass with csc 1.1

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

18 years ago TARGET_JVM changes to let the compilation pass with csc 1.1
Konstantin Triger [Sun, 8 Jan 2006 13:15:06 +0000 (13:15 -0000)]
 TARGET_JVM changes to let the compilation pass with csc 1.1

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

18 years ago* MonthCalendar.cs: Fixed annoying rendering bug when selecting
John BouAntoun [Sun, 8 Jan 2006 05:46:27 +0000 (05:46 -0000)]
* MonthCalendar.cs: Fixed annoying rendering bug when selecting
dates across multiple month grids. Used to not highlight entire
month, but does now.

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

18 years ago * UnixMarshal.cs: *Actually* put things in alphabetical order (like the
Jonathan Pryor [Sun, 8 Jan 2006 02:03:39 +0000 (02:03 -0000)]
  * UnixMarshal.cs: *Actually* put things in alphabetical order (like the
    comment says).  I can speak english, really I can.

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

18 years ago2005-12-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 8 Jan 2006 00:50:15 +0000 (00:50 -0000)]
2005-12-29  Robert Jordan  <robertj@gmx.net>

* mkbundle.cs, template.c, template_z.c: Added support for Windows.

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

18 years ago2006-01-08 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 8 Jan 2006 00:49:05 +0000 (00:49 -0000)]
2006-01-08  Robert Jordan  <robertj@gmx.net>

* man/mkbundle.1: Documented environment variables and Windows issues.

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

18 years agoIn ilasm/codegen:
Ankit Jain [Sat, 7 Jan 2006 20:24:33 +0000 (20:24 -0000)]
In ilasm/codegen:

* InstrTable.cs (inst_table): Add stelem.any, ldelem.any and
constrained. instructions.

In class/PEAPI:

* Metadata.cs (TypeOp): Add 'constrained' op.

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

18 years ago* ILParser.jay (constraint_decl): Remove. This syntax is no longer used.
Ankit Jain [Sat, 7 Jan 2006 19:53:07 +0000 (19:53 -0000)]
* ILParser.jay (constraint_decl): Remove. This syntax is no longer used.
(class_decl | constraint_decl): Remove.

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

18 years ago* TypeTranslator.cs: Fixed line endings.
Gert Driesen [Sat, 7 Jan 2006 19:04:55 +0000 (19:04 -0000)]
* TypeTranslator.cs: Fixed line endings.

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

18 years ago* XmlTypeMapping.cs: Fixed line endings.
Gert Driesen [Sat, 7 Jan 2006 18:55:35 +0000 (18:55 -0000)]
* XmlTypeMapping.cs: Fixed line endings.

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

18 years ago* System.Xml_test.dll.sources: Added SoapSchemaExporterTests.cs,
Gert Driesen [Sat, 7 Jan 2006 18:52:24 +0000 (18:52 -0000)]
* System.Xml_test.dll.sources: Added SoapSchemaExporterTests.cs,
SoapReflectionImporterTests.cs, XmlSchemaImporterTests.cs.
* XmlReflectionImporterTests.cs: Added numerous tests. No longer
derive from Assertion.
* SoapReflectionImporterTests.cs: Added numerous tests.
* XmlSchemaImporterTests.cs: Added numerous tests.
* XmlSchemaExporterTests.cs: Added numerous tests.
* SoapSchemaExporterTests.cs: Added numerous tests.

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

18 years ago2006-01-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Jan 2006 16:53:23 +0000 (16:53 -0000)]
2006-01-07  Zoltan Varga  <vargaz@gmail.com>

        * inssel-long.brg: Fix int->long ovf conversion rules. Fixes #77172.

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

18 years ago2006-01-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Jan 2006 16:17:04 +0000 (16:17 -0000)]
2006-01-07  Zoltan Varga  <vargaz@gmail.com>

* inssel-long.brg: Fix int->long ovf conversion rules. Fixes #77172.

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

18 years agoIn ilasm/tests:
Ankit Jain [Sat, 7 Jan 2006 14:33:20 +0000 (14:33 -0000)]
In ilasm/tests:

* gen-constraints1.il: New. Test for constraints on generic parameters.

In ilasm/codegen:

* GenericParameters.cs (GenericParameter): New.
(GenericParameters): Collection of Generic parameters.
* TypeDef.cs:
* CodeGen.cs:
* MethodDef.cs: Update to use the new GenericParameters class.

In ilasm:

* ilasm.exe.sources: Add GenericParameters.cs to the build.

In ilasm/parser:

* ILParser.jay: Update to use new GenericParameters class.
(generic_class_ref| K_CLASS class_ref typars_clause): New.
Update rules to use generic_class_ref instead of 'K_CLASS class_ref..'
(constraints_clause): New.
(constraints): New. Rules for constraints on generic parameters.
(formal_typar_attr): New. Generic param attributes (.ctor, valuetype, class).
(formal_typars): Update to use new constraints stuff.

In class/PEAPI:

* Metadata.cs (GenericParamAttributes): New.
(MetaDataElement.Row): Always set value.
(GenericParameter): Update to use GenericParameterAttributes.
(GenericParameterConstraint.SortKey): New. override to support sorting.
(ClassDef.AddGenericParameter):
(MethodDef.AddGenericParameter): New overloads for accepting attributes also.

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

18 years ago2006-01-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jan 2006 13:37:32 +0000 (13:37 -0000)]
2006-01-07  Miguel de Icaza  <miguel@novell.com>

* Path.cs (GetTempFilename): Append ".tmp" to the path, some
external application expect this extension.

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

18 years ago.Config extension is also forbidden. Fixes bug #77175
Gonzalo Paniagua Javier [Sat, 7 Jan 2006 07:20:38 +0000 (07:20 -0000)]
.Config extension is also forbidden. Fixes bug #77175

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

18 years ago2006-01-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jan 2006 22:10:45 +0000 (22:10 -0000)]
2006-01-06  Zoltan Varga  <vargaz@gmail.com>

* generics.2.cs: Reenable vtype tests.

* inssel-x86.brg: Remove an icorrect valuetype rule.

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

18 years ago* MonthCalendar.cs: Removed DoEvents call to prevent a running
Jackson Harper [Fri, 6 Jan 2006 20:39:38 +0000 (20:39 -0000)]
* MonthCalendar.cs: Removed DoEvents call to prevent a running
        message loop. Change timer intervals to numbers that seem more
        natural.

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

18 years ago * s390x-codegen.h: Add lpdbr instruction (OP_ABS).
Neale Ferguson [Fri, 6 Jan 2006 18:52:21 +0000 (18:52 -0000)]
    * s390x-codegen.h: Add lpdbr instruction (OP_ABS).

        * mini-s390x.c, inssel-s390x.brg, cpu-s390x.md: Fix ATOMIC_I8
        operations. Provide initial support for OP_ABS.

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

18 years agoMakefile: fix man path
Wade Berrier [Fri, 6 Jan 2006 18:42:04 +0000 (18:42 -0000)]
Makefile: fix man path

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

18 years ago * Mono.Unix/Catalog.cs: s/libintl/intl/g, since intl.dll is used by GTK+ on Windows,
Jonathan Pryor [Fri, 6 Jan 2006 16:58:31 +0000 (16:58 -0000)]
  * Mono.Unix/Catalog.cs: s/libintl/intl/g, since intl.dll is used by GTK+ on Windows,
    not libintl.dll (according to
    http://www.gimp.org/~tml/gimp/win32/downloads.html).

  * Mono.Posix/Catalog.cs: s/libintl/intl/g, since intl.dll is used by GTK+ on Windows,
    not libintl.dll (according to
    http://www.gimp.org/~tml/gimp/win32/downloads.html).

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

18 years ago * data/config.in: s/libintl/intl/g. Mono.Unix.Catalog DllImports "intl"
Jonathan Pryor [Fri, 6 Jan 2006 16:55:07 +0000 (16:55 -0000)]
  * data/config.in: s/libintl/intl/g.  Mono.Unix.Catalog DllImports "intl"
    now, as intl.dll is the file actually shipped/available on Windows.

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

18 years ago2006-01-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 6 Jan 2006 15:58:52 +0000 (15:58 -0000)]
2006-01-06  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSet.cs : Add() rollbacks IsCompiled to false.
  Global components are not added when Add() is called.

* XmlSchemaSetTests.cs : added AddRollbackIsCompiled(); Add() changes
  IsCompiled to false.

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