mono.git
18 years ago2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Dec 2005 18:16:07 +0000 (18:16 -0000)]
2005-12-09  Atsushi Enomoto  <atsushi@ximian.com>

* cs-tokenizer.cs : reverted the latest change: it somehow broke
  Mono.C5.

* known-issues-mcs : test-476 is broken (since the corresponding
  patch is reverted.)

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

18 years ago2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Dec 2005 16:37:22 +0000 (16:37 -0000)]
2005-12-09  Atsushi Enomoto <atsushi@ximian.com>

* XmlInputStream.cs :
  Added Encoding property on NonBlockingStreamReader
* XmlTextReader.cs :
  set Encoding property when it proceeds to xml declaration.

* XmlTextReaderTests.cs : added test for Encoding property.

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

18 years ago* MethodDef.cs (MethodDef.GenParamCount): typar_list can be null.
Ankit Jain [Fri, 9 Dec 2005 13:33:36 +0000 (13:33 -0000)]
* MethodDef.cs (MethodDef.GenParamCount): typar_list can be null.

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

18 years ago2005-12-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Dec 2005 13:17:53 +0000 (13:17 -0000)]
2005-12-09  Zoltan Varga  <vargaz@gmail.com>

* objects.cs: Add tests for JIT intrinsic.

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

18 years ago2005-12-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 9 Dec 2005 13:13:36 +0000 (13:13 -0000)]
2005-12-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    Npgsql/NpgsqlError.cs,
    Npgsql/NpgsqlParameter.cs,
    Npgsql/NpgsqlConnectionString.cs,
    Npgsql/NpgsqlConnection.cs,
    Npgsql/NpgsqlSchema.cs,
    Npgsql/NpgsqlClosedState.cs,
    Npgsql/NpgsqlCommand.cs,
    Npgsql/NpgsqlState.cs,
    Npgsql/NpgsqlAsciiRow.cs,
    Npgsql/NpgsqlConnectorPool.cs,
    Npgsql/NpgsqlConnector.cs,
    Npgsql/NpgsqlQuery.cs,
    Npgsql/NpgsqlRowDescription.cs,
    Npgsql/NpgsqlCommandBuilder.cs,
    Npgsql/NpgsqlDataReader.cs,
    Npgsql/NpgsqlException.cs,
    Npgsql/NpgsqlMediator.cs,
    Npgsql/NpgsqlReadyState.cs,
    Npgsql/NpgsqlEventLog.cs,
    Npgsql.dll.resources,
    NpgsqlTypes/NpgsqlTypeConverters.cs,
    NpgsqlTypes/NpgsqlTypesHelper.cs,
    Makefile: Updated to 1.0beta1

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

18 years agoIn ilasm/codegen:
Ankit Jain [Fri, 9 Dec 2005 13:02:33 +0000 (13:02 -0000)]
In ilasm/codegen:
2005-12-09  Ankit Jain  <jankit@novell.com>

* ITypeRef.cs (ITypeRef.GetMethodRef): Add 'gen_param_count' param.
* Sentinel.cs (Sentinel.GetMethodRef): Update.
* GlobalMethodRef.cs (GlobalMethodRef.ctor): Add 'gen_param_count' param.
(GlobalMethodRef.Resolve): Update usage of MethodDef.CreateSignature .
* TypeDef.cs (TypeDef.GetGenericParamNum): New.
(TypeDef.DefineContents): Update usage of ITypeRef.GetMethodRef .
* ExternTypeRefInst.cs (ExternTypeRefInst.ctor): Add parameter for list of type
parameters (type_list).
(ExternTypeRefInst.Clone): Clone type_list also.
(ExternTypeRefInst.Resolve): Resolve the list of type parameters, and create
instance of PEAPI.GenericTypeInst instead of PEAPI.ClassRefInst .
(ExternTypeRefInst.GetMethodRef): Update.
* GenericTypeInst.cs (GenericTypeInst.GetMethodRef): Update signature. Update
usage of TypeSpecMethodRef.ctor .
* MethodRef.cs (MethodRef.ctor): Add 'gen_param_count' param.
(MethodRef.Resolve): Throw exception for non-existant owner. Update usage of
MethodDef.CreateSignature .
* ExternMethodRef.cs (ExternMethodRef.ctor): Add 'gen_param_count' param.
(ExternMethodRef.Resolve): Update usage of PEFile.AddMethodToTypeSpec and .AddMethod
* GenericMethodRef.cs (GenericMethodRef.PeapiMethod): Return PEAPI.Method obtained in
.Resolve .
* GenericTypeRef.cs (GenericTypeRef.GetMethodRef): Update.
* MethodPointerTypeRef.cs (MethodPointerTypeRef.GetMethodRef): Likewise.
* TypeSpecMethodRef.cs (TypeSpecMethodRef.ctor): Add 'gen_param_count' param.
(TypeSpecMethodRef.Resolve): Update usage of PEFile.AddMethodToTypeSpec .
* MethodDef.cs (MethodDef.ctor): Add 'typars_list' param.
(MethodDef.AddGenericParam): Replace ..
(MethodDef.AddGenericParams): .. with this.
(MethodDef.GenParamCount): New.
(MethodDef.GetGenericParamNum): New. Returns index for a given method type parameter name.
(MethodDef.ResolveGenParams): Resolves type parameter names in the parameter
list to their corresponding indices.
(MethodDef.ResolveGenParam): Resolves a give type parameter to its corresponding
index.
(MethodDef.CreateSignature): Add 'gen_param_count' param.
* TypeRef.cs (TypeRef.GetMethodRef): Update.
* ExternTypeRef.cs (ExternTypeRef.GetMethodRef): Likewise.
* PrimitiveTypeRef.cs (PrimitiveTypeRef.GetMethodRef): Likewise.

In ilasm/parser:
2005-12-09  Ankit Jain  <jankit@novell.com>

* ILParser.jay (class_decl | D_OVERRIDE ..): Update usage of ITypeRef.GetMethodRef
and MethodDef.CreateSignature .
(method_head | D_METHOD ..): Update usage of MethodDef.ctor .
Use MethodDef.ResolveGenParams to resolve VARs/MVARs in parameter list.
(type | K_CLASS slashed_name ..): Remove redundant rule.
(type | BANG id): New. Generic type parameter.
(type | BANG BANG id): New. Generic method type parameter.
(instr | INSTR_FIELD type ..): Resolve generic param for 'type'.
(method_ref | call_conv ..): Set MethodRef's GenParamCount.
(method_ref | call_conv type ..): Update usage of TypeSpecMethodRef.ctor and GetMethodRef.
(method_ref | call_conv type ..): New. Rule for global generic method refs.
(custom_type | call_conv ..): Update usage of GlobalMethodRef.ctor .

In class/PEAPI:
2005-12-09  Ankit Jain  <jankit@novell.com>

* Metadata.cs (Method.ctor): Remove rType parameter.
(Method.GetRetType): Remove.
(Method.AddCallConv): Make it abstract.
(Method.GetSigIx): Likewise.
(MethodDef): Override and implement abstract methods from Method class.
(MethodRef): Likewise.
(MethodSpec): Change base class from MetaDataElement to Method. Override
abstract methods from Method but throw Exception as they are not meant to be used here.
(MethodDef.TypeSig): Write gen_param_count before num of params.
(ClassRef.AddMethod): New overload with an extra gen_param_count param.
* PEAPI.cs (PEFile.AddMethodToTypeSpec): New overload with an extra gen_param_count
param.
(PEFile.AddMethodSpec): Change return type from void to Method.

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

18 years ago* anonymous.cs (AnonymousMethod.Compatible): Use IsGenericType
Raja R Harinath [Fri, 9 Dec 2005 12:48:52 +0000 (12:48 -0000)]
* anonymous.cs (AnonymousMethod.Compatible): Use IsGenericType
instead of IsGenericInstance.
* generic.cs (TypeManager.IsEqual): Likewise.  Delete redundant
code that's now covered by the more general test.
* typemanager.cs (TypeManager.IsPrivateAccessible): Likewise.

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

18 years ago2005-12-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Dec 2005 11:54:57 +0000 (11:54 -0000)]
2005-12-09  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_get_inst_for_method): Resurrect the array Rank/Length
optimizations lost by a mistake.

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

18 years ago* generic.cs (DropGenericTypeArguments): New. Captures the common
Raja R Harinath [Fri, 9 Dec 2005 11:23:51 +0000 (11:23 -0000)]
* generic.cs (DropGenericTypeArguments): New.  Captures the common
pattern: if (t.IsGenericInstance) t = t.GetGenericTypeDefinition ();
* attribute.cs, class.cs, decl.cs, ecore.cs: Use it.
* generic.cs, report.cs, typemanager.cs: Likewise.

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

18 years ago* TypeTest.cs (TypeParameterIsNotGeneric): New. Test invariants
Raja R Harinath [Fri, 9 Dec 2005 11:17:30 +0000 (11:17 -0000)]
* TypeTest.cs (TypeParameterIsNotGeneric): New.  Test invariants
listed in MSDN docs.

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

18 years ago* class.c (mono_class_from_generic_parameter): Don't set
Raja R Harinath [Fri, 9 Dec 2005 10:56:37 +0000 (10:56 -0000)]
* class.c (mono_class_from_generic_parameter): Don't set
klass->generic_container.
(my_mono_class_from_generic_parameter): Likewise.

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

18 years ago2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Dec 2005 10:55:25 +0000 (10:55 -0000)]
2005-12-09  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : so it turned out that we cannot skip override check for
  interface members. Fixed bug #76954.

* test-xml-050-ref.xml, test-xml-050.cs : new test for bug #76954.
* known-issues-gmcs : fixed filename and removed test-60.cs.

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

18 years ago2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Dec 2005 10:24:45 +0000 (10:24 -0000)]
2005-12-09  Atsushi Enomoto  <atsushi@ximian.com>

* cs-tokenizer.cs : fixed bug #75984:
  - #warning and #error should not be handled when the source line
    is disabled.
  - #line is not checked strictly when the source line is disabled.
  - #define and #undef is on the other hand checked strictly at any
    state.

* test-476.cs : test for bug #75984.
* test-60.cs : unrecognized directive should be handled as an error
  even in a disable line (the behavior has changed in 2.0).
* known-issues-gmcs : added above cases.

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

18 years ago2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Dec 2005 07:52:09 +0000 (07:52 -0000)]
2005-12-09  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : ReadToDescendant() should work when its ReadState is
  Initial.

* XmlReaderCommonTests.cs : added tests for ReadToDescendant() and
  ReadToFollowing().

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

18 years ago2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Dec 2005 06:43:34 +0000 (06:43 -0000)]
2005-12-09  Atsushi Enomoto <atsushi@ximian.com>

* XmlChar.cs : removed incorrect comment.
* XmlReader.cs : Create() clones XmlReaderSettings (if supplied).
  For wrapped XmlReader, check ConformanceLevel to be consistent.
* XmlTextReader.cs, XmlTextReader2.cs : added get_Conformance for
  internal use. Removed unused fields.
* XmlInputStream.cs : updated NonBlockingStreamReader to the latest
  StreamReader (it is almost a copy).

* XmlReaderSettingsTests.cs : added some ConformanceLevel tests.
  Added CreateClonesSettings() to make sure XmlReader.Create() clones
  XmlReaderSettings.

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

18 years ago2005-12-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 9 Dec 2005 02:14:10 +0000 (02:14 -0000)]
2005-12-08  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests: Disable  js1_4/Regress/function-001.js because
it causes hangs.

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

18 years agoAdd System.Globalization.DaylightTime and System.Runtime.Remoting.Contexts.Synchroniz...
Sebastien Pouliot [Fri, 9 Dec 2005 02:09:43 +0000 (02:09 -0000)]
Add System.Globalization.DaylightTime and System.Runtime.Remoting.Contexts.SynchronizationAttribute unit tests to the build

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

18 years ago2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Dec 2005 01:31:59 +0000 (01:31 -0000)]
2005-12-08  Sebastien Pouliot  <sebastien@ximian.com>

* SynchronizationAttributeTest.cs: New. Serialization interop test cases.

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

18 years ago2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Dec 2005 01:31:36 +0000 (01:31 -0000)]
2005-12-08  Sebastien Pouliot  <sebastien@ximian.com>

* Context.cs: ContextProperties property is virtual.
* CrossContextDelegate.cs: Removed [Serializable] from 2.0 build.
* SynchronizationAttribute.cs: Fixed serialization to be compatible
with MS FX. Removed old TODO.

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

18 years ago2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Dec 2005 01:27:46 +0000 (01:27 -0000)]
2005-12-08  Sebastien Pouliot  <sebastien@ximian.com>

* DaylightTimeTest.cs: New. Serialization interop test cases.

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

18 years ago2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Dec 2005 01:26:08 +0000 (01:26 -0000)]
2005-12-08  Sebastien Pouliot  <sebastien@ximian.com>

* DaylightTime.cs: Fixed serialization to be compatible with MS FX.
Pre-requisite to fix bug #76094.

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

18 years ago2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Dec 2005 01:21:13 +0000 (01:21 -0000)]
2005-12-08  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomainSetupTest.cs: Adapted tests to work on both Mono/MS and
both 1.1/2.0. Most of the previously "NonWorking" test cases were
really path issues (valid on Linux, invalid on Windows).

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

18 years ago2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 9 Dec 2005 01:21:13 +0000 (01:21 -0000)]
2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs: Removed commented out code

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

18 years ago- Removed todo
Peter Dennis Bartok [Fri, 9 Dec 2005 01:18:46 +0000 (01:18 -0000)]
- Removed todo

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

18 years ago2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Dec 2005 01:18:46 +0000 (01:18 -0000)]
2005-12-08  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomainSetup.cs: ApplicationBase throw exception on get (not on
set). New behaviour is more like MS - but most issues (unit tests)
were really path issues. Fix bug #71291.
* DateTime.cs: Add more information when throwing an exception in
ctor(long). Useful for debugging.

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

18 years ago2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 9 Dec 2005 01:17:53 +0000 (01:17 -0000)]
2005-12-08  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - Added internal version of Invoke, with additional argument
    indicating if we're calling it from a Dispose() handler. That
    way we can avoid BeginInvoke throwing an exception if we're
    calling for an already destroyed window.
  - Added a dispose argument to BeginInvokeInternal, and made the
    check if a valid window handle chain exists conditional on
    it not being a dispose call
  - Removed code in DestroyHandle to destroy our children. Since we
    now handle the WM_DESTROY message we will catch all our children
    being destroyed.
  - Now calling OnHandleDestroyed from our new WM_DESTROY handler
* Form.cs:
  - Added a field to track the application context of the form.
  - No need to set closing variable as response to WM_CLOSE, instead
    we destroy the window. We also call PostQuitMessage if the form
    has an application context (which makes it the main app form,
    which, when closed terminates the app)
* XplatUI.cs:
  - Dropped Exit() method, it's naming was confusing
  - Added PostQuitMessage() which causes GetMessage to return false
    once the message queue is empty
* XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  PostQuitMessage()
* XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  no longer a valid XplatUI method, but left it in since it's used
  internally. Added empty PostQuitMessage() method.
* MenuAPI.cs: Replaced call to Exit() with call to
  PostQuitMessage, even though this is probably no longer needed.
* Hwnd.cs: Added 'pretty' ToString() to support debugging.
* X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
* Application.cs:
  - Replaced call to XplatUI.Exit() with PostQuitMessage()
  - Removed old debug code that would call XplatUI for exception
    display, enabled standard exception handling (Still not enabled
    though, until NativeWindow's ExternalExceptionHandler define
    is removed
* NativeWindow.cs:
  - Added internal method to allow control to update NativeWindow
    after a window has been destroyed
  - Added handling of already destroyed windows when calling i
    DestroyWindow
  - Added removal of handle from list on ReleaseHandle
* XplatUIX11.cs:
  - Dropped GetMessageResult var and related code
  - Added PostQuitState to field to track if PostQuitMessage has been
    called
  - Dropped Exit() method
  - Added PostQuitMessage() method
  - GetMessage now will return false if PostQuitState is set and no
    more messages are in the queue.
  - Expose handler will no longer generate WM_PAINT messages if we are
    in PostQuitState since it's very likely any windows have already
    been destroyed, and since Hwnd won't get updated until we have
    processed the DestroyNotify we'd be causing X errors.

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

18 years agoBetter yet. Thanks to Gert for watching.
Gonzalo Paniagua Javier [Thu, 8 Dec 2005 23:20:52 +0000 (23:20 -0000)]
Better yet. Thanks to Gert for watching.

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

18 years ago2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Dec 2005 21:36:13 +0000 (21:36 -0000)]
2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequestTest.cs: ignore test.

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

18 years ago2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Dec 2005 21:28:02 +0000 (21:28 -0000)]
2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.

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

18 years ago2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Dec 2005 18:17:48 +0000 (18:17 -0000)]
2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebResponse.cs: don't loop forever when no name or value between
semicolons. Fixes bug #76943.

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

18 years ago2005-12-08 Robert Jordan <robertj@gmx.net>
Gonzalo Paniagua Javier [Thu, 8 Dec 2005 18:06:28 +0000 (18:06 -0000)]
2005-12-08 Robert Jordan  <robertj@gmx.net>

* MimeTypes.cs: added entry for "jpg".

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 17:51:19 +0000 (17:51 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : avoid Char.IsSurrogate() and do it inside
  PeekChar(), which improves notable performance.

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

18 years agoNew CS1547 test case.
Martin Baulig [Thu, 8 Dec 2005 17:11:21 +0000 (17:11 -0000)]
New CS1547 test case.

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

18 years agoUpdated error messages.
Martin Baulig [Thu, 8 Dec 2005 17:11:03 +0000 (17:11 -0000)]
Updated error messages.

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

18 years ago2005-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 8 Dec 2005 17:06:56 +0000 (17:06 -0000)]
2005-12-08  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeArguments.Resolve): Added CS1547 check.

* typemanager.cs (TypeManager.CSharpSignature): Include type
arguments in the signature of a generic method.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 12:51:32 +0000 (12:51 -0000)]
2005-12-08  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : (GetChars) let ABCREM work effectively.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 11:59:32 +0000 (11:59 -0000)]
2005-12-08  Atsushi Enomoto  <atsushi@ximian.com>

* Encoding.cs : now under 2.0 GetBytes(string,...) dispatches to
  byte*-based GetBytes().
* UTF8Encoding.cs : avoid extraneous DecoderFallbackBuffer creation
  which came to happen after introducing fallback buffer.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 09:48:38 +0000 (09:48 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderSettings.cs : Schemas will be created only when it is
  required.

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

18 years agoupdate GH project, delete TARGET_JVM from IXmlNamespaceResolver
Andrew Skiba [Thu, 8 Dec 2005 09:32:16 +0000 (09:32 -0000)]
update GH project, delete TARGET_JVM from IXmlNamespaceResolver

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 08:43:34 +0000 (08:43 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* Driver.cs, Profiler.cs, XmlQualifiedNameTable.cs :
  removed old code.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 08:40:59 +0000 (08:40 -0000)]
2005-12-08  Atsushi Enomoto  <atsushi@ximian.com>

* XPathDocument2.cs, XPathDocument2Editable.cs,
  XPathDocument2Navigator.cs : garbage cleanup.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 08:38:05 +0000 (08:38 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XPathDocument.cs : garbage cleanup.

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

18 years ago2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Dec 2005 08:17:29 +0000 (08:17 -0000)]
2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: use _controls instead of the property wherever possible.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 08:15:30 +0000 (08:15 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSet.cs :
  Turned out that it also has set_CompilationSettings.
* XmlSchemaComplexType. : thus CompilationSettings is nullable, we
  have to check its existence.

* XmlSchemaSetTests.cs : added set_CompilationSettings tests.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 07:29:54 +0000 (07:29 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : Compile() are obsoleted in 2.0.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 07:27:53 +0000 (07:27 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaDatatype.cs : TypeCode is virtual in 2.0 RTM.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 07:11:03 +0000 (07:11 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidationException.cs :
  oops, there is SourceObject other than SourceSchemaObject.
* XmlSchemaCompilationSettings.cs : oops, actually XmlSchemaSet is
  also used in 1.x profile (internally)
* XmlSchemaSimpleTypeList.cs : added set_BaseItemType bogus (just to
  fill API compatibility).

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 06:56:12 +0000 (06:56 -0000)]
2005-12-08  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : added XmlSchemaCompilationSettings.cs

* XmlReaderSettings.cs : thanks to idiotic MS design,
  AllowXmlAttributes is turned on by default.

* XmlSchemaCompilationSettings.cs : new file.
* XmlSchemaSet.cs : added CompilationSettings property.
* XmlSchemaComplexType.cs : support for EnableUpaCheck.

* XmlReaderSettingsTests.cs : (DefaultValue)
  Added assertion label everywhere.
* XmlWriterTests.cs : WriteNodeError is broken under MS.NET 2.0 (it
  should cause an error).

* XmlSchemaSetTests.cs : added CompilationSettings tests.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 05:53:02 +0000 (05:53 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderSettings.cs :
  set_Schemas() is fixed in 2.0 RTM (it just works).
* XmlResolver.cs : throw ArgumentNullException instead of
  ArgumentException when both base and relative urls are null.

* XmlReaderSettingsTests.cs : SetSchemas() should not cause an error.
  Added SetSchemasNull() as well.
* XmlUrlResolverTests.cs : (ResolveUriWithNullArgs)
  expect ArgumentNullException instead of ArgumentException.
  This is a fix in .NET 2.0.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 04:38:01 +0000 (04:38 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidationException.cs : added SetSourceObject() which
  is just for API compat (it does nothing on MS.NET).
  Removed #if NET_2_0 inside #if NET_2_0.

* XsdParticleValidationTests.cs : ValidateRootElementOnlyInvalid()
  does not throw validation exception under MS 2.0, this NotDotNet.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 04:34:01 +0000 (04:34 -0000)]
2005-12-08  Atsushi Enomoto  <atsushi@ximian.com>

* cs-tokenizer.cs : missing Location (actually, filename) in one of
  CS1027 report.

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

18 years ago2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Dec 2005 04:06:22 +0000 (04:06 -0000)]
2005-12-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderSettings.cs : ProhibitDtd is set as default.
* XmlWriterSettings.cs : no set_OutputMethod.

* XmlReaderCommonTests.cs : use ProhibitDtd=false in CreateSimple()
  and added CreateSimpleProhibitDtd().

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

18 years ago2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 8 Dec 2005 03:14:21 +0000 (03:14 -0000)]
2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  Thanks to Mike for pointing out the err of my ways.

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

18 years ago * Control.cs(PreProcessMessage): Moved menu handling back, but
Peter Dennis Bartok [Thu, 8 Dec 2005 00:53:44 +0000 (00:53 -0000)]
* Control.cs(PreProcessMessage): Moved menu handling back, but
  after all other key handling, to match MS (who handles Menu in
  DefWndProc)
* Menu.cs (WndProc): Removed my brainfart

2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>

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

18 years ago2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 7 Dec 2005 23:53:48 +0000 (23:53 -0000)]
2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs(PreProcessMessage): Removed special menu handling
* Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.

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

18 years ago2005-12-07 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 7 Dec 2005 22:44:34 +0000 (22:44 -0000)]
2005-12-07  Mike Kestner  <mkestner@novell.com>

* Control.cs : special case SYSKEYUP so that we can adjust keynav
state according in tracker.
* Menu.cs : promote tracker field to base class and provide a tracker
lookup capability.  Add/Remove shortcuts dynamically if the top menu
has a tracker. Unparent items that are removed from the collection.
* MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
* Theme*.cs: add always_show_hotkeys field to support configurability
of mnemonic display.  win32 doesn't show mnemonics until Alt is
pressed.

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

18 years ago2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Dec 2005 22:37:31 +0000 (22:37 -0000)]
2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: only read up to content-length when provided. Patch
by Peter Teichman.

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 21:34:37 +0000 (21:34 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Remove obsolete System.Runtime.InteropServices/NewConstraintAttribute.cs.

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 21:33:59 +0000 (21:33 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* NewConstraintAttribute.cs: Removed.

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 21:29:20 +0000 (21:29 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (load_public_key): Fix a warning.
(method_encode_code): Fix unaligned accesses.

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

18 years agoNew test.
Martin Baulig [Wed, 7 Dec 2005 21:24:18 +0000 (21:24 -0000)]
New test.

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

18 years ago2005-12-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Dec 2005 21:23:52 +0000 (21:23 -0000)]
2005-12-07  Martin Baulig  <martin@ximian.com>

Add support for custom attributes on type parameters.

* cs-parser.jay (type_arguments): Added `opt_attributes'.

* generic.cs (TypeParameterName): New public class; we use this
instead of a `string' to store the name of a type parameter, so we
can also have `Attributes'.
(TypeArguments.GetDeclarations): Return a `TypeParameterName[]'
array instead of a `string[]' array.
(TypeParameter.ctor): We now also take an `Attributes' argument.
(TypeParameter.EmitAttributes): New public method; emit our
`OptAttributes' here.
(GenericMethod.EmitAttributes): New public method; emit the custom
attributes on all our type parameters.

* class.cs (TypeContainer.EmitType): Call EmitAttributes() on all
our type parameters.
(MethodData.Define): If we're a generic method, call
EmitAttributes() on it.

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

18 years ago2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Dec 2005 21:20:05 +0000 (21:20 -0000)]
2005-12-07  Sebastien Pouliot  <sebastien@ximian.com>

* SortedTestList.cs: Added more test for the constructor accepting an
IComparer and to avoid regression of bug #76750.

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

18 years ago2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Dec 2005 21:19:54 +0000 (21:19 -0000)]
2005-12-07  Sebastien Pouliot  <sebastien@ximian.com>

* SortedList.cs: Removed check for IComparable in ctor (fixed bug
#76750). Removed unused private method. Added more useful info (the
duplicate key) to an exception.

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

18 years ago2005-12-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Dec 2005 21:19:06 +0000 (21:19 -0000)]
2005-12-07  Martin Baulig  <martin@ximian.com>

* GenericTypeParameterBuilder.cs: Add support for custom attributes.
(GenericTypeParameterBuilder.cattrs): New field.
(GenericTypeParameterBuilder.SetCustomAttribute): Implement this.

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

18 years ago2005-12-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Dec 2005 21:18:37 +0000 (21:18 -0000)]
2005-12-07  Martin Baulig  <martin@ximian.com>

* object-internals.h (MonoReflectionGenericParam): Added `cattrs'.

* reflection.c
(write_generic_param_entry): Encode our custom attrs.

* appdomain.c (MONO_CORLIB_VERSION): Bump to 45.

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

18 years ago * MdiChildContext.cs: Use Control.ResetCursor.
Jackson Harper [Wed, 7 Dec 2005 20:47:01 +0000 (20:47 -0000)]
* MdiChildContext.cs: Use Control.ResetCursor.
* Control.cs: ResetCursor needs to set the property so that the
correct XplatUI call gets made.

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

18 years ago2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 7 Dec 2005 20:32:54 +0000 (20:32 -0000)]
2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: More fixes to make our key events match MS. We
  were not setting the modifier state on KeyData, and we were
  not generating any events when Alt was pressed with a key
  since handling of WM_SYSxxx was missing for the OnKey methods.

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

18 years ago * MdiChildContext.cs: reenable the sizing code.
Jackson Harper [Wed, 7 Dec 2005 20:07:16 +0000 (20:07 -0000)]
* MdiChildContext.cs: reenable the sizing code.
- When the mouse leaves a window reset its cursor.

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

18 years ago2005-12-07 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 7 Dec 2005 19:46:11 +0000 (19:46 -0000)]
2005-12-07  Alexander Olk  <alex.olk@googlemail.com>

* ThemeClearlooks.cs: Reflect latest Hwnd changes

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

18 years ago2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 7 Dec 2005 19:11:17 +0000 (19:11 -0000)]
2005-12-07  Peter Dennis Bartok  <pbartok@novell.com>

* Hwnd.cs: Now using the theme 3d bordersize to calculate
  widths of Fixed3D borders

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

18 years ago * MdiClient.cs: Fix warnings. Earn Mike's love.
Jackson Harper [Wed, 7 Dec 2005 19:07:57 +0000 (19:07 -0000)]
* MdiClient.cs: Fix warnings. Earn Mike's love.

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

18 years ago * Mono.Unix/UnixMarshal.cs: Add PtrToStringUnix() -- specialized PtrToString
Jonathan Pryor [Wed, 7 Dec 2005 18:42:14 +0000 (18:42 -0000)]
  * Mono.Unix/UnixMarshal.cs: Add PtrToStringUnix() -- specialized PtrToString
    method which is significantly faster than
    PtrToString(p, UnixEncoding.Instance).
    Use System.String..ctor(sbyte*, int, int, Encoding) to avoid the byte[]
    intermediate copy -- much faster.  Fix PtrToString() so that it will
    accept an IntPtr containing 0 characters, and don't duplicate strings
    unless necessary.

  * Mono.Unix.Native/FileNameMarshaler.cs: Use UnixMarshal.PtrToStringUnix --
    it's faster.

  * Test/Mono.Unix/UnixMarshalTest.cs: Make test public so that it's actually
    executed by NUnit; NUnit doesn't like private Test* methods -- rename; test
    UnixMarshal.PtrToString for a string containing 0 characters (this used to
    cause an ArgumentOutOfRangeException due to a bug).

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

18 years agoOoops, small fix.
Martin Baulig [Wed, 7 Dec 2005 18:18:28 +0000 (18:18 -0000)]
Ooops, small fix.

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

18 years ago2005-12-07 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 7 Dec 2005 18:06:09 +0000 (18:06 -0000)]
2005-12-07  Alexander Olk  <alex.olk@googlemail.com>

* ThemeClearlooks.cs:
  - Adjusted mouse over button color
  - Added first parts of CheckBox drawing
  - Added correct color for selected text background
  - Fixed ComboBox drawing
  - Added CPDrawBorder3D and CPDrawBorder

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

18 years agoAdd flags for Release config (enable optimization).
Eyal Alalouf [Wed, 7 Dec 2005 17:14:48 +0000 (17:14 -0000)]
Add flags for Release config (enable optimization).

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 17:09:52 +0000 (17:09 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* basic-long.cs: Remove a test moved to objects.cs.

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 17:07:17 +0000 (17:07 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* arrays.cs: Add more array tests.

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

18 years agoIn System/System.Net.Sockets:
Robert Jordan [Wed, 7 Dec 2005 16:57:58 +0000 (16:57 -0000)]
In System/System.Net.Sockets:
2005-12-07  Robert Jordan  <robertj@gmx.net>

* SocketError.cs: Added.
* SocketException: Implemented SocketErrorCode. Fixes bug #76915.

In System:
2005-12-07  Robert Jordan  <robertj@gmx.net>

* System.dll.sources: Added System.Net.Sockets/SocketError.cs.

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

18 years agoAdd partial CAS/unit tests for System.Runtime.Serialization.Formatters.Binary.BinaryF...
Sebastien Pouliot [Wed, 7 Dec 2005 16:30:19 +0000 (16:30 -0000)]
Add partial CAS/unit tests for System.Runtime.Serialization.Formatters.Binary.BinaryFormatter

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

18 years ago2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Dec 2005 16:29:29 +0000 (16:29 -0000)]
2005-12-07  Sebastien Pouliot  <sebastien@ximian.com>

* BinaryFormatterCas.cs: New. Partial CAS tests for BinaryFormatter.
Added to test UnsafeDeserialization.
* BinaryFormatterTest.cs: New. Partial Unit tests for BinaryFormatter.
Added to test UnsafeDeserialization.

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

18 years ago2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Dec 2005 16:29:19 +0000 (16:29 -0000)]
2005-12-07  Sebastien Pouliot  <sebastien@ximian.com>

* BinaryFormatter.cs: Implemented UnsafeDeserialize and
UnsafeDeserializeMethodResponse methods. Fixes last TODO in this
namespace (for both 1.1 and 2.0 profiles).

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

18 years ago2005-12-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Dec 2005 16:22:01 +0000 (16:22 -0000)]
2005-12-07  Martin Baulig  <martin@ximian.com>

* generic.cs
(ConstraintChecker): New public abstract class; move the
constraint checking here from `ConstructedType' and also do
constraint checking for generic methods here.

* expression.cs (Invocation.OverloadResolve): Use
ConstraintChecker.CheckConstraints() if we resolved to a generic
method.  Fix #76806.

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

18 years ago2005-12-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 7 Dec 2005 15:42:54 +0000 (15:42 -0000)]
2005-12-07  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSerializationReaderInterpreter.cs: When deserializing a "flat"
collection, don't create a new collection if the property already has a
collection instance.
* SerializationCodeGenerator.cs: same as above. Also return an empty
string for flag enum default values.

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

18 years ago2005-12-07 Senganal T <tsenganal@novell.com>
Senganal T [Wed, 7 Dec 2005 15:31:33 +0000 (15:31 -0000)]
2005-12-07  Senganal T  <tsenganal@novell.com>

* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds50.cs :
- IsValidRowCount () : Find out if a row count is valid.
Fixes bug #76280
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs :
- ProcessEndToken (): Removed some redundant code.
* Mono.Data.SybaseClient/SybaseConnection.cs
- fixed ExecuteNonQuery to return the no of rows
affected for Insert/Update/Delete Stmts.
Fixes bug #76280

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

18 years ago2005-12-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 7 Dec 2005 14:52:57 +0000 (14:52 -0000)]
2005-12-07  Lluis Sanchez Gual <lluis@novell.com>

* ProtocolImporter.cs: nullify message fields before processing a
new method.
* SoapProtocolImporter.cs: Only use the wrapped format if both the
input and output messages specify that format. If one of them is not,
then use bare format. This partially fixes bug #75019.

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 14:16:43 +0000 (14:16 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* Directory.cs: Fix a warning.

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 14:16:22 +0000 (14:16 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* SimpleCollator.cs: Fix a warning.

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

18 years ago** merged revision 53922 from mcs
Raja R Harinath [Wed, 7 Dec 2005 14:08:22 +0000 (14:08 -0000)]
** merged revision 53922 from mcs

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

18 years ago2005-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Dec 2005 14:07:26 +0000 (14:07 -0000)]
2005-12-07  Zoltan Varga  <vargaz@gmail.com>

* Single.cs Double.cs: Fix warnings.

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

18 years ago** merged revisions 53910-53917 from mcs
Raja R Harinath [Wed, 7 Dec 2005 13:34:53 +0000 (13:34 -0000)]
** merged revisions 53910-53917 from mcs

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

18 years ago * Graphics.cs: Add new deephs support to CopyFromScreen
Jordi Mas i Hernandez [Wed, 7 Dec 2005 13:27:17 +0000 (13:27 -0000)]
* Graphics.cs: Add new deephs support to CopyFromScreen

2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>

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

18 years ago** merged revision 53896 from mcs
Raja R Harinath [Wed, 7 Dec 2005 13:23:07 +0000 (13:23 -0000)]
** merged revision 53896 from mcs

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

18 years ago* VBCodeCompiler.cs: Set eol-style to native.
Gert Driesen [Wed, 7 Dec 2005 13:21:17 +0000 (13:21 -0000)]
* VBCodeCompiler.cs: Set eol-style to native.
* VBCodeGenerator.cs: Set eol-style to native.
* VBCodeProvider.cs: Set eol-style to native.

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

18 years ago* CodeGeneratorFromExpressionTest.cs: Added tests for
Gert Driesen [Wed, 7 Dec 2005 13:16:31 +0000 (13:16 -0000)]
* CodeGeneratorFromExpressionTest.cs: Added tests for
CodePrimitiveExpression.
* CSharpCodeGenerator.cs: Override GeneratePrimitiveExpression to
match .NET 1.x and 2.0 for float, decimal, char, ushort, uint, ulong
and sbyte.
* CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw
ArgumentException for sbyte value, use GenerateSingleFloatValue for
float, GenerateDecimalValue for decimal and GenerateDoubleValue for
double. Modified exception message for non-primitive types to match
MS.NET.
* ICodeCompiler.cs: Set eol-style to native.
* CodeCompiler.cs: Set eol-style to native.
* CodeDomConfigurationHandler.cs: Set eol-style to native.
* CodeDomProvider.cs: Set eol-style to native.
* CodeGeneratorOptions.cs: Set eol-style to native.
* CodeParser.cs: Set eol-style to native.
* CompilerError.cs: Set eol-style to native.
* CompilerErrorCollection.cs: Set eol-style to native.
* CompilerInfo.cs: Set eol-style to native.
* CompilerParameters.cs: Set eol-style to native.
* CompilerResults.cs: Set eol-style to native.
* Executor.cs: Set eol-style to native.
* GeneratorSupport.cs: Set eol-style to native.
* ICodeGenerator.cs: Set eol-style to native.
* ICodeParser.cs: Set eol-style to native.
* LanguageOptions.cs: Set eol-style to native.
* TempFileCollection.cs: Set eol-style to native.
* VBCodeGenerator.cs: Modified GeneratePrimitiveExpression to match
.NET 1.x and 2.0 for char, float, ushort, uint, ulong and sbyte.

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

18 years ago*** merged revisions from mcs: 53694-53833
Raja R Harinath [Wed, 7 Dec 2005 13:11:34 +0000 (13:11 -0000)]
*** merged revisions from mcs: 53694-53833

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

18 years ago2005-12-07 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 7 Dec 2005 12:47:08 +0000 (12:47 -0000)]
2005-12-07  Lluis Sanchez Gual  <lluis@ximian.com>

* ObjectReader.cs: Added null check in GetDeserializationType.
Patch by Ben Maurer. Fixes bug #69666.

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

18 years ago2005-12-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Dec 2005 12:21:03 +0000 (12:21 -0000)]
2005-12-07  Martin Baulig  <martin@ximian.com>

* reflection.c (encode_new_constraint): Removed; we don't use the
`NewConstraintAttribute' anymore.

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

18 years agoIn System.Drawing.Printing:
Jordi Mas i Hernandez [Wed, 7 Dec 2005 12:19:45 +0000 (12:19 -0000)]
In System.Drawing.Printing:
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>

* PrinterResolutionKind.cs: Fixes signature for .Net 2.0
* PaperKind.cs: Fixes signature for .Net 2.0
* PaperSource.cs: Fixes signature for .Net 2.0
* Margins.cs: Fixes signature for .Net 2.0
* PrinterResolution.cs: Fixes signature for .Net 2.0
* PrintEventArgs.cs: Fixes signature for .Net 2.0
* PrintAction.cs: New enum in .Net 2.0
* PageSettings.cs:  Fixes signature for .Net 2.0
* PaperSourceKind.cs:  Fixes signature for .Net 2.0
* PrintController.cs: Fixes signature for .Net 2.0
* Duplex.cs: Fixes signature for .Net 2.0
* PaperSize.cs: Fixes signature for .Net 2.0
* PreviewPrintController.cs: Fixes signature for .Net 2.0
* PrinterSettings.cs: Fixes signature for .Net 2.0
* PrintRange.cs: Fixes signature for .Net 2.0

In System.Drawing:
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>

* BufferedGraphicsManager.cs: Fixes signature

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

18 years agoAdded solution and
Boris Kirzner [Wed, 7 Dec 2005 09:56:22 +0000 (09:56 -0000)]
Added solution and
project files for TARGET_JVM.

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