Neale Ferguson [Wed, 10 Nov 2004 17:51:51 +0000 (17:51 -0000)]
Minor correction.
svn path=/trunk/mono/; revision=35983
Sebastien Pouliot [Wed, 10 Nov 2004 16:50:09 +0000 (16:50 -0000)]
2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
* CipherSuiteFactory.cs: Activated RSA_WITH_AES_256_CBC_SHA as it is
supported by some browsers.
* ContentType.cs: Removed ClientHelloV2 from the enum as it is not a
"true" content type (it just looks so where we're processing it).
* Context.cs: Added support to switch protocol (e.g. SSL2->SSL3 or
SSL2->TLS1). Contributed by Carlos Guzman Alvarez.
* RecordProtocol.cs: Added support for ClientHelloV2 message
(contributed by Carlos Guzman Alvarez). This is a Handshake message
so it must be MACed. Also fixed the challenge length because some
browsers implementation don't interpret "This value must be 32." as
having 32 bytes.
svn path=/trunk/mcs/; revision=35978
Zoltan Varga [Wed, 10 Nov 2004 15:23:11 +0000 (15:23 -0000)]
2004-11-10 Zoltan Varga <vargaz@freemail.hu>
* object.c (mono_array_full_copy): Fix warning.
svn path=/trunk/mono/; revision=35977
César Natarén [Wed, 10 Nov 2004 15:19:29 +0000 (15:19 -0000)]
2004-11-10 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* expression.cs (emit_late_call): Pop after Call or CallValue when
needed. (New.Emit) add emit_create_instance.
svn path=/trunk/mcs/; revision=35976
Sebastien Pouliot [Wed, 10 Nov 2004 13:12:25 +0000 (13:12 -0000)]
2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
* RC4.cs: Fixed RC4 for compatibility with .NET 2.0. The algorithm is
OK but the check for IV, unused for stream ciphers, has changed.
svn path=/trunk/mcs/; revision=35974
Sebastien Pouliot [Wed, 10 Nov 2004 12:53:09 +0000 (12:53 -0000)]
2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
* TlsClientFinished.cs: ProcessAsTls1 - get out of the loop if PRF are
different.
svn path=/trunk/mcs/; revision=35972
Rafael Teixeira [Wed, 10 Nov 2004 12:20:12 +0000 (12:20 -0000)]
2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-parser.jay : correcting global attributes handling, because it was
issuing wrong warnings for trivial files like testmbas/WriteOK.vb.
* Makefile : adding testmbas/AssemblyInfo.vb to some test compilations
svn path=/trunk/mcs/; revision=35971
Jordi Mas i Hernandez [Wed, 10 Nov 2004 12:06:56 +0000 (12:06 -0000)]
fixes dispose of non-used resouces
svn path=/trunk/mcs/; revision=35970
Lluis Sanchez [Wed, 10 Nov 2004 12:04:38 +0000 (12:04 -0000)]
* cross-domain.cs: New tests for cross-domain calls.
svn path=/trunk/mono/; revision=35969
Lluis Sanchez [Wed, 10 Nov 2004 12:02:50 +0000 (12:02 -0000)]
Added information about the cross-app domain optimizations in the remoting doc.
svn path=/trunk/mono/; revision=35968
Lluis Sanchez [Wed, 10 Nov 2004 12:02:05 +0000 (12:02 -0000)]
* interp.c: Added MonoRemotingTarget parameter to signature
interp_create_remoting_trampoline.
svn path=/trunk/mono/; revision=35967
Lluis Sanchez [Wed, 10 Nov 2004 12:01:09 +0000 (12:01 -0000)]
* exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
mini-exceptions.c: handle the new wrapper types.
* mini.c: The CEE_ISINST and CEE_CASTCLASS opcodes now take the
token value as a MonoClass* when compiling a wrapper.
mono_jit_create_remoting_trampoline now takes an additional
MonoRemotingTarget parameter.
svn path=/trunk/mono/; revision=35966
Lluis Sanchez [Wed, 10 Nov 2004 11:59:32 +0000 (11:59 -0000)]
* appdomain.c: Removed look_for_method_by_name(). Use the new method
mono_class_get_method_from_name() instead.
* class-internals.h: Added two new types of wrappers.
Added MonoRemotingTarget enum. Added new trampoline function type, which
takes an additional MonoRemotingTarget value as parameter, so it is
possible to request a trampoline for a specific target.
* class.c: Added new mono_class_get_method_from_name() method.
* class.h: In MonoRemoteClass, we can have now to vtables, one for
general remoting sinks and one specific for cross domain calls.
* debug-helpers.c: Added new wrapper names.
* icall.c: Use the new method mono_remote_class_vtable() to get the vtable
of a remote class.
* image.c: Porperly delete value objects form the remoting invoke hashtable.
* marshal.c: Added mono_marshal_get_xappdomain_invoke(), which together
with several other methods (mono_marshal_get_xappdomain_dispatch,
mono_marshal_get_xappdomain_target, mono_marshal_get_serialize_exception,
and others) can generate a fast remoting wrapper for cross domain calls.
More information can be found in docs/remoting.
Other changes: Removed mono_find_method_by_name, and used
mono_class_get_method_from_name instead.
Remoting wrappers are now stored in a MonoRemotingMethods struct, which
is stored in the remoting invoke hashtable.
* marshal.h: published the new method for getting the xdomain wrapper,
and also added a method for getting the adequate wrapper for a given
method and target.
* object-internals.h, object.c: Added a couple of methods for capying and
cloning arrays.
Modified mono_install_remoting_trampoline, which takes the new remoting
trampoline that has a remoting target as parameter.
mono_class_proxy_vtable now also takes a remoting target as parameter, and
will return the most suitable vtable for the target.
Added mono_remote_class_vtable, which returns the vtable of a remote class
(which can be the normal remoting vtable or the xdomain vtable).
* threads.c: the xdomain invoke and dispatch wrappers must also be
protected against interruptions.
svn path=/trunk/mono/; revision=35965
Lluis Sanchez [Wed, 10 Nov 2004 11:52:55 +0000 (11:52 -0000)]
* RemotingServices.cs: Added several serialization methods needed by
the cross app domain wrappers.
In GetOrCreateClientIdentity(), set the domain of the proxy if it
references an object in another domain.
svn path=/trunk/mcs/; revision=35964
Lluis Sanchez [Wed, 10 Nov 2004 11:52:21 +0000 (11:52 -0000)]
* CallContext.cs: In CreateLogicalCallContext, added parameter which
specifies if an empty LogicalCallContext needs to be created if there are
no context values.
svn path=/trunk/mcs/; revision=35963
Lluis Sanchez [Wed, 10 Nov 2004 11:51:30 +0000 (11:51 -0000)]
* Context.cs: Added NeedsContextSink property, which returns TRUE if
the current context has sinks that need to be executed when switching to
another context.
svn path=/trunk/mcs/; revision=35962
Lluis Sanchez [Wed, 10 Nov 2004 11:50:45 +0000 (11:50 -0000)]
* CrossAppDomainChannel.cs: Added getter for the target domain Id.
svn path=/trunk/mcs/; revision=35961
Lluis Sanchez [Wed, 10 Nov 2004 11:49:50 +0000 (11:49 -0000)]
* RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
used by the new xdomain wrappers. Added GetAppDomainTarget() method,
which returns the remote object referenced by the proxy.
* RemotingProxy.cs: Moved _targetUri to RealProxy.
svn path=/trunk/mcs/; revision=35960
Lluis Sanchez [Wed, 10 Nov 2004 11:48:34 +0000 (11:48 -0000)]
* Exception.cs: Added setter for StackTrace.
svn path=/trunk/mcs/; revision=35959
Atsushi Eno [Wed, 10 Nov 2004 09:11:37 +0000 (09:11 -0000)]
2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
* CustomDataClassGenerator.cs : generated foreign key constraint
construction code was creating empty child columns and thus it
was invalid. This fixes bug #69276 (patch by Martin Voelkle).
svn path=/trunk/mcs/; revision=35957
Atsushi Eno [Wed, 10 Nov 2004 08:21:50 +0000 (08:21 -0000)]
2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlParserContext.cs : PushScope() was accessing list out of range.
svn path=/trunk/mcs/; revision=35956
Martin Baulig [Wed, 10 Nov 2004 07:10:00 +0000 (07:10 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* System.Data.Sql/ISqlCommand.cs,
System.Data.Sql/ISqlConnection.cs,
System.Data.Sql/ISqlExecutionContext.cs,
System.Data.Sql/ISqlParameterCollection.cs,
System.Data.Sql/ISqlTransaction.cs: Added `new' modifiers where needed.
svn path=/trunk/mcs/; revision=35955
Raja R Harinath [Wed, 10 Nov 2004 07:03:08 +0000 (07:03 -0000)]
(Select): Add 'override' to make it compile.
svn path=/trunk/mcs/; revision=35954
Martin Baulig [Wed, 10 Nov 2004 06:50:33 +0000 (06:50 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* IDictionary.cs (IDictionary): `IsReadOnly' and `Clear' are
inherited from ICollection.
svn path=/trunk/mcs/; revision=35953
Martin Baulig [Wed, 10 Nov 2004 06:49:43 +0000 (06:49 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=35952
Martin Baulig [Wed, 10 Nov 2004 06:48:55 +0000 (06:48 -0000)]
2004-11-10 Martin Baulig <martin@localhost>
* DeflateStream.cs, GzipStream.cs: `System.IO.Stream.Length' doesn't
have any setter.
svn path=/trunk/mcs/; revision=35951
Martin Baulig [Wed, 10 Nov 2004 06:19:57 +0000 (06:19 -0000)]
Merged everything into GMCS.
svn path=/trunk/mcs/; revision=35949
Martin Baulig [Wed, 10 Nov 2004 06:18:26 +0000 (06:18 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=35947
Martin Baulig [Wed, 10 Nov 2004 05:43:58 +0000 (05:43 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=35946
Martin Baulig [Wed, 10 Nov 2004 04:49:53 +0000 (04:49 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=35943
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 02:49:10 +0000 (02:49 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* icall.c: use memmove in BlockCopyInternal when the source and
destination arrays are the same.
svn path=/trunk/mono/; revision=35939
Jackson Harper [Wed, 10 Nov 2004 01:04:28 +0000 (01:04 -0000)]
* TabControl.cs (CalcXPos): New helper method so we can determine
the proper place to start drawing vertical tabs.
* ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
svn path=/trunk/mcs/; revision=35937
Martin Baulig [Wed, 10 Nov 2004 00:43:24 +0000 (00:43 -0000)]
Enable the new generic tests.
svn path=/trunk/mcs/; revision=35936
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 00:33:06 +0000 (00:33 -0000)]
Forgot this
svn path=/trunk/mcs/; revision=35935
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 00:26:30 +0000 (00:26 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ChunkStream.cs: simplified condition for WantMore property.
* WebConnection.cs: in Connect(), finish any pending reads we might
have for chunked data. Ignore possible blank lines at the very
beginning of the server response. Honor user set KeepAlive in
HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
his suggestions and code.
svn path=/trunk/mcs/; revision=35934
Martin Baulig [Tue, 9 Nov 2004 23:56:53 +0000 (23:56 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* expression.cs (Invocation.BetterFunction): If two methods have
equal parameter types, but only one of them is generic, the
non-generic one wins.
(New.DoResolve): Don't set `is_struct' to false if we're a generic
instance; just use `Type.IsValueType' to determine whether
something is a struct or not.
(MemberAccess.DoResolveAsTypeStep): Don't modify the `args' field,
so we can be called multiple times.
svn path=/trunk/mcs/; revision=35933
Martin Baulig [Tue, 9 Nov 2004 23:35:27 +0000 (23:35 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* generic.cs (TypeParameter.DefineConstraints): New public method.
(TypeParameter.CheckAccessLevel): Override this and return true.
(ConstructedType.ResolveType): Renamed to DoResolveType(), don't
override ResolveType() anymore.
(ConstructedType.DoResolveAsTypeStep): Call DoResolveType() here.
svn path=/trunk/mcs/; revision=35932
Martin Baulig [Tue, 9 Nov 2004 23:27:28 +0000 (23:27 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* rootcontext.cs (RootContext.LookupType): If we're a nested type,
call DeclSpace.ResolveNestedType() on it.
svn path=/trunk/mcs/; revision=35931
Martin Baulig [Tue, 9 Nov 2004 23:24:20 +0000 (23:24 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* support.cs (ReflectionParameters.ParameterModifier): If `gpd' is
non-null, call ParameterModifier() on it.
svn path=/trunk/mcs/; revision=35930
Martin Baulig [Tue, 9 Nov 2004 23:24:05 +0000 (23:24 -0000)]
Added a null check and removed a debugging statement.
svn path=/trunk/mcs/; revision=35929
Martin Baulig [Tue, 9 Nov 2004 23:20:22 +0000 (23:20 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* iterators.cs
(Iterators): Added `current_type' and `this_type' fields.
(Iterators.DefineIterator): Create a new EmitContext and store it
in `ec'; compute `this_type'.
svn path=/trunk/mcs/; revision=35928
Martin Baulig [Tue, 9 Nov 2004 23:15:10 +0000 (23:15 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=35927
Martin Baulig [Tue, 9 Nov 2004 23:13:17 +0000 (23:13 -0000)]
2004-11-10 Martin Baulig <martin@localhost>
* typemanager.cs
(TypeManager.IsPrivateAccessible): New public method.
(Closure.Filter): Use IsPrivateAccessible() instead of IsEqual().
svn path=/trunk/mcs/; revision=35926
Martin Baulig [Tue, 9 Nov 2004 23:08:35 +0000 (23:08 -0000)]
2004-11-10 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineType): Call
TypeBuilder.DefineGenericParameters() before resolving the type
parameters.
(MethodData.parent_method): New protected field.
(MethodData..ctor): Added `MethodInfo parent_method' argument.
(MethodData.Define): Compute `parent_method'.
* decl.cs
(MemberCore.GetObsoleteAttribute): Don't create a new EmitContext.
(MemberCore.GetClsCompliantAttributeValue): Likewise.
(DeclSpace.ec): New protected field; store the EmitContext here.
(DeclSpace.EmitContext): New public property.
(DeclSpace.ResolveType): Un-comment from the [Obsolte] attribute.
(DeclSpace.ResolveNestedType): New public method.
(DeclSpace.ResolveTypeExpr): Just call ResolveAsTypeTerminal() here.
(DeclSpace.NestedAccessible): Added `Type tb' argument.
(DeclSpace.FamilyAccessible): Likewise.
(DeclSpace.FindType): Call ResolveNestedType() for nested types.
(DeclSpace.GetClsCompliantAttributeValue): Don't create a new
EmitContext.
* delegate.cs (Delegate.Define): Store the EmitContext in the `ec'
field.
* enum.cs (Enum.Define): Store the EmitContext in the `ec' field.
(Enum.Emit): Don't create a new EmitContext.
svn path=/trunk/mcs/; revision=35925
Neale Ferguson [Tue, 9 Nov 2004 23:02:35 +0000 (23:02 -0000)]
OP_RETHROW support; Fix global register allocations
svn path=/trunk/mono/; revision=35924
Martin Baulig [Tue, 9 Nov 2004 22:32:25 +0000 (22:32 -0000)]
Put the merging back.
svn path=/trunk/mcs/; revision=35921
Martin Baulig [Tue, 9 Nov 2004 22:03:51 +0000 (22:03 -0000)]
2004-11-10 Martin Baulig <martin@localhost>
* mini.c (mono_method_to_ir): Use `generic_container->context'
rather than creating a new one.
svn path=/trunk/mono/; revision=35916
Martin Baulig [Tue, 9 Nov 2004 21:47:58 +0000 (21:47 -0000)]
2004-11-09 Martin Baulig <martin@ximian.com>
* class-internals.h (MonoGenericContainer): Removed `method' and
`signature', replaced them with `is_method' and `is_signature'
flags. Added `context'.
* loader.c (method_from_methodspec): Take a `MonoGenericContext *'
instead of a `MonoGenericContainer *'.
* metadata.c (mono_metadata_generic_param_equal): Removed the hack
for dynamic type parameters.
(mono_metadata_load_generic_params): Setup `container->context'.
* reflection.c (mono_reflection_setup_generic_class): Setup
`tb->generic_container->context'.
(do_mono_reflection_bind_generic_parameters): Use
mono_class_inflate_generic_type() to correctly inflate types,
rather than using our own hack just for MONO_TYPE_VAR.
svn path=/trunk/mono/; revision=35915
Jackson Harper [Tue, 9 Nov 2004 21:44:54 +0000 (21:44 -0000)]
* TabControl.cs: Calculate sizing and rects for left aligned tabs.
* ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
and Bottom, left and right are illegal values for this and
multiline is enabled when the alignment is set to left or right.
(DrawTab): Each alignment block should draw the text itself now
because Left requires special love. Also add rendering for Left
aligned tabs.
svn path=/trunk/mcs/; revision=35914
Martin Baulig [Tue, 9 Nov 2004 21:31:28 +0000 (21:31 -0000)]
2004-11-09 Martin Baulig <martin@ximian.com>
* class.c (mono_class_inflate_generic_method): Small fix; don't
crash here.
* icall.c
(ves_icall_MonoType_GetGenericArguments): Don't ignore `byref' types.
(ves_icall_Type_get_IsGenericTypeDefinition): Likewise.
(ves_icall_Type_GetGenericTypeDefinition_impl): Likewise.
(ves_icall_Type_BindGenericParameters): Likewise.
(ves_icall_Type_get_IsGenericInstance): Likewise.
(ves_icall_Type_GetGenericParameterPosition): Likewise.
(ves_icall_MonoType_get_HasGenericArguments): Likewise.
(ves_icall_MonoType_get_IsGenericParameter): Likewise.
(ves_icall_MonoType_get_DeclaringMethod): Likewise.
svn path=/trunk/mono/; revision=35913
Duncan Mak [Tue, 9 Nov 2004 20:23:50 +0000 (20:23 -0000)]
grrrrr
svn path=/trunk/mcs/; revision=35911
Duncan Mak [Tue, 9 Nov 2004 20:18:06 +0000 (20:18 -0000)]
Add XML_DEP, this should fix the build.
svn path=/trunk/mcs/; revision=35910
Martin Baulig [Tue, 9 Nov 2004 20:05:50 +0000 (20:05 -0000)]
Ooops, gen-65 is broken, not test-65.
svn path=/trunk/mcs/; revision=35909
Lluis Sanchez [Tue, 9 Nov 2004 17:43:20 +0000 (17:43 -0000)]
* System.dll.sources: Added new files:
System.Configuration/NonEmptyStringConfigurationProperty.cs
System.Configuration/NonEmptyStringFlags.cs
svn path=/trunk/mcs/; revision=35904
Lluis Sanchez [Tue, 9 Nov 2004 17:42:55 +0000 (17:42 -0000)]
* ConfigurationElement.cs: Implemented Equals and GetHashCode.
Only reflect properties from type's members if the type does not
override Properties.
* ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
Other minor fixes.
* ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
* NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
Implemented.
svn path=/trunk/mcs/; revision=35903
Zoltan Varga [Tue, 9 Nov 2004 17:19:29 +0000 (17:19 -0000)]
2004-11-09 Zoltan Varga <vargaz@freemail.hu>
* assembly.c (mono_assembly_names_equal): Reenable the comparison of
assembly versions and public key tokens. Fixes #69113.
svn path=/trunk/mono/; revision=35902
Zoltan Varga [Tue, 9 Nov 2004 17:09:58 +0000 (17:09 -0000)]
2004-11-09 Zoltan Varga <vargaz@freemail.hu>
* aot.c (mono_aot_init): Add MONO_AOT_CACHE env variable to turn on
the experimental aot cache stuff.
svn path=/trunk/mono/; revision=35901
Gonzalo Paniagua Javier [Tue, 9 Nov 2004 17:03:26 +0000 (17:03 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: unified a few bool fields into an int one.
* ControlCollection.cs: use an array internally instead of always
allocating an arraylist. Also added our own enumerator.
* EmptyControlCollection.cs: there's no 'special' ctor now in the base
class.
svn path=/trunk/mcs/; revision=35900
Martin Baulig [Tue, 9 Nov 2004 16:35:44 +0000 (16:35 -0000)]
A little bird whispered in my ear that gen-65.cs is broken ....
svn path=/trunk/mcs/; revision=35899
Martin Baulig [Tue, 9 Nov 2004 16:30:14 +0000 (16:30 -0000)]
2004-11-09 Martin Baulig <martin@ximian.com>
* gen-86.cs, gen-87.cs, gen-88.cs, gen-89.cs, gen-90.cs,
gen-91.cs, gen-92.cs, gen-93.cs, gen-94.cs, gen-96.cs: New tests.
svn path=/trunk/mcs/; revision=35898
Martin Baulig [Tue, 9 Nov 2004 16:27:58 +0000 (16:27 -0000)]
2004-11-09 Martin Baulig <martin@ximian.com>
* test-315.cs: New test.
svn path=/trunk/mcs/; revision=35897
Jordi Mas i Hernandez [Tue, 9 Nov 2004 15:47:20 +0000 (15:47 -0000)]
fixes menu navigation, fixes popups, etc
svn path=/trunk/mcs/; revision=35895
Paolo Molaro [Tue, 9 Nov 2004 15:12:39 +0000 (15:12 -0000)]
Tue Nov 9 17:34:05 CET 2004 Paolo Molaro <lupus@ximian.com>
* metadata.c: fix bug introduced with the type cache changes
on 2004-11-06.
svn path=/trunk/mono/; revision=35894
Paolo Molaro [Tue, 9 Nov 2004 15:08:48 +0000 (15:08 -0000)]
Tue Nov 9 17:30:20 CET 2004 Paolo Molaro <lupus@ximian.com>
* aot.c, mini.c, exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
mini-exceptions.c: update to exception clause structure changes.
svn path=/trunk/mono/; revision=35893
Paolo Molaro [Tue, 9 Nov 2004 15:08:37 +0000 (15:08 -0000)]
Tue Nov 9 17:28:48 CET 2004 Paolo Molaro <lupus@ximian.com>
* interp.c: update to exception clause structure changes.
svn path=/trunk/mono/; revision=35892
Paolo Molaro [Tue, 9 Nov 2004 15:08:13 +0000 (15:08 -0000)]
Tue Nov 9 17:26:29 CET 2004 Paolo Molaro <lupus@ximian.com>
* metadata.h, metadata.c, domain-internals.h, marshal.c: include
the MonoClass pointer instead of the token in exception clauses.
* reflection.c: updates for the above and make the code not depend
on the structure of MonoExceptionClause.
svn path=/trunk/mono/; revision=35891
Paolo Molaro [Tue, 9 Nov 2004 15:08:11 +0000 (15:08 -0000)]
Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>
* dis-cil.c, get.c, get.h: update to exception clause structure changes.
svn path=/trunk/mono/; revision=35890
Sebastien Pouliot [Tue, 9 Nov 2004 14:24:34 +0000 (14:24 -0000)]
2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
* PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
bug that will be fixed in 2.0 beta 2.
svn path=/trunk/mcs/; revision=35888
Lluis Sanchez [Tue, 9 Nov 2004 12:31:33 +0000 (12:31 -0000)]
* AppSettingsSection.cs: Mostly implemented (missing support for
file attribute).
* ConfigHelper.cs: GetNameValueCollection now returns a
ConfigNameValueCollection instance which is a NameValueCollection with a
modification flag.
* ConfigInfo.cs: Added XPath property.
* Configuration.cs: Implemented AppSettings property. Set the Path property
of sections and groups.
* ConfigurationElement.cs: Support key serialization. Properly reset
nested elements.
* ConfigurationElementCollection.cs: Initial implementation.
* ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
* ConfigurationSectionGroup.cs: Implemented Path.
* SectionGroupInfo.cs: Little fix.
svn path=/trunk/mcs/; revision=35884
Atsushi Eno [Tue, 9 Nov 2004 12:29:25 +0000 (12:29 -0000)]
2004-11-09 Atsushi Enomoto <atsushi@ximian.com>
* parser.cs : cast.
svn path=/trunk/mcs/; revision=35883
John BouAntoun [Tue, 9 Nov 2004 11:06:21 +0000 (11:06 -0000)]
- (DrawButtonBase): Fix verticle text rect clipping in windows
- (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
rendering and incorrect text rect clipping
- (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
rendering and incorrect text rect clipping
svn path=/trunk/mcs/; revision=35882
Raja R Harinath [Tue, 9 Nov 2004 10:38:52 +0000 (10:38 -0000)]
(basic_SUBDIRS): New.
svn path=/trunk/mcs/; revision=35881
Jambunathan K [Tue, 9 Nov 2004 10:34:03 +0000 (10:34 -0000)]
* attribute.cs: 1) Replaced the static method
Attribute.GetValidPlaces() with an equivalent instance method
Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
() and Attribute.Emit(). 3) Migrated functionality of
ApplyAttributes to ApplyAttributeBuilder of respective classes.
* class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
Implemented ApplyAttributeBuilder() in the following classes:
TypeContainer, Constructor, Field, Property, Event, DeclSpace,
AssemblyClass, ModuleClass, Const, Method, Parameter.
* codegen.cs: Implemented Emit() in the following classes:
AssemblyClass and ModuleClass.
svn path=/trunk/mcs/; revision=35880
Raja R Harinath [Tue, 9 Nov 2004 04:56:06 +0000 (04:56 -0000)]
* profiles/basic.make: New.
* profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
* profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
svn path=/trunk/mcs/; revision=35878
Raja R Harinath [Tue, 9 Nov 2004 04:42:05 +0000 (04:42 -0000)]
placeholders for new profile directories
svn path=/trunk/mcs/; revision=35877
Raja R Harinath [Tue, 9 Nov 2004 04:38:03 +0000 (04:38 -0000)]
(DISTFILES): Comment out a few missing files.
svn path=/trunk/mcs/; revision=35875
César Natarén [Tue, 9 Nov 2004 03:37:06 +0000 (03:37 -0000)]
2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* expression.cs (class New): add new operator support. Add
emit_args, implemented Emit.
svn path=/trunk/mcs/; revision=35874
Jackson Harper [Tue, 9 Nov 2004 03:12:34 +0000 (03:12 -0000)]
flush
svn path=/trunk/mcs/; revision=35873
Jackson Harper [Tue, 9 Nov 2004 03:12:00 +0000 (03:12 -0000)]
* ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
bottom when they are bottom aligned so the bottoms of the tabs get
displayed.
* TabControl.cs (DropRow): Move rows up instead of down when the
tab control is bottom aligned.
svn path=/trunk/mcs/; revision=35872
Atsushi Eno [Tue, 9 Nov 2004 02:38:30 +0000 (02:38 -0000)]
2004-11-09 Atsushi Enomoto <atsushi@ximian.com>
* DTDValidatingReader.cs, XmlTextReader.cs :
needed more changes wrt XmlException.
svn path=/trunk/mcs/; revision=35871
Ben Maurer [Tue, 9 Nov 2004 01:27:09 +0000 (01:27 -0000)]
2004-11-08 Ben Maurer <bmaurer@ximian.com>
* replace.cs, parser.cs: Use stringbuilder for allocation sanity.
svn path=/trunk/mcs/; revision=35869
César Natarén [Mon, 8 Nov 2004 23:33:28 +0000 (23:33 -0000)]
2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* expression.cs: emit unary operator code.
* TypeOf.cs: back to Microsoft.JScript namespace. fix typo.
* Literal.cs: constrain more the case of negative numeric literal.
svn path=/trunk/mcs/; revision=35868
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 22:36:42 +0000 (22:36 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CacheEntry.cs: convert the external DateTime to GMT, as everything
else uses that timezone. Fixes bug #69194.
svn path=/trunk/mcs/; revision=35865
Peter Dennis Bartok [Mon, 8 Nov 2004 21:31:40 +0000 (21:31 -0000)]
- Updated
svn path=/trunk/mcs/; revision=35864
Ben Maurer [Mon, 8 Nov 2004 21:30:06 +0000 (21:30 -0000)]
2004-11-08 Ben Maurer <bmaurer@ximian.com>
* outline.cs: If a type is in the namespace that we
are looking at right now, dont print out the fullname
this cuts down on verbosity
svn path=/trunk/mcs/; revision=35862
Peter Dennis Bartok [Mon, 8 Nov 2004 21:29:51 +0000 (21:29 -0000)]
- Initial Checkin
svn path=/trunk/mcs/; revision=35861
Peter Dennis Bartok [Mon, 8 Nov 2004 21:28:24 +0000 (21:28 -0000)]
- BenM's Fix for bug 68260
svn path=/trunk/mcs/; revision=35860
Ben Maurer [Mon, 8 Nov 2004 21:23:39 +0000 (21:23 -0000)]
2004-11-08 Ben Maurer <bmaurer@ximian.com>
* outline.cs: Cut the extra whitespace.
svn path=/trunk/mcs/; revision=35858
Ben Maurer [Mon, 8 Nov 2004 21:14:21 +0000 (21:14 -0000)]
add static, thansk mig
svn path=/trunk/mcs/; revision=35856
Ben Maurer [Mon, 8 Nov 2004 21:04:20 +0000 (21:04 -0000)]
2004-11-08 Ben Maurer <bmaurer@ximian.com>
* outline.cs: Report sealed and abstract
svn path=/trunk/mcs/; revision=35854
Peter Dennis Bartok [Mon, 8 Nov 2004 20:59:30 +0000 (20:59 -0000)]
- Added handling for various window styles
- Added handling for popup windows
- Added SetTopmost handling
svn path=/trunk/mcs/; revision=35853
Peter Dennis Bartok [Mon, 8 Nov 2004 20:55:33 +0000 (20:55 -0000)]
- Added argument to SetTopmost method
- Fixed broken ClientToScreen function
svn path=/trunk/mcs/; revision=35852
Peter Dennis Bartok [Mon, 8 Nov 2004 20:53:48 +0000 (20:53 -0000)]
- Added missing WS_EX styles
svn path=/trunk/mcs/; revision=35851
Peter Dennis Bartok [Mon, 8 Nov 2004 20:53:17 +0000 (20:53 -0000)]
- Added argument to SetTopmost
svn path=/trunk/mcs/; revision=35850
Peter Dennis Bartok [Mon, 8 Nov 2004 20:52:15 +0000 (20:52 -0000)]
- Added XSetWindowAttributes structure
- Improved XWindowAttributes structure
- Added SetWindowValuemask enum
- Added window creation arguments enum
- Added gravity enum
- Added Motif hints structure
- Added various Motif flags and enums
- Added PropertyMode enum for property functions
svn path=/trunk/mcs/; revision=35849
Peter Dennis Bartok [Mon, 8 Nov 2004 20:50:29 +0000 (20:50 -0000)]
- Fixed arguments for updated SetTopmost method
svn path=/trunk/mcs/; revision=35848
Peter Dennis Bartok [Mon, 8 Nov 2004 20:49:35 +0000 (20:49 -0000)]
- Fixed arguments for updated SetTopmost function
- Fixed usage of PointToClient
svn path=/trunk/mcs/; revision=35847
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 20:44:32 +0000 (20:44 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SiteMap.cs: don't lock on Type.
* CapabilitiesLoader.cs: avoid 2 locks when loading data.
svn path=/trunk/mcs/; revision=35846
Peter Dennis Bartok [Mon, 8 Nov 2004 20:44:00 +0000 (20:44 -0000)]
- Added Clipping of children and siblings
svn path=/trunk/mcs/; revision=35845
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 20:42:43 +0000 (20:42 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
presence of rewriting.
svn path=/trunk/mcs/; revision=35844