Permalink
Commits on Nov 10, 2004
  1. This commit was manufactured by cvs2svn to create tag

    'GENERICS_BASE_MERGE_POINT'.
    
    svn path=/tags/GENERICS_BASE_MERGE_POINT/mcs/; revision=35950
    nobody committed Nov 10, 2004
  2. Merged everything into GMCS.

    svn path=/trunk/mcs/; revision=35949
    Martin Baulig committed Nov 10, 2004
  3. **** Merged from MCS ****

    svn path=/trunk/mcs/; revision=35947
    Martin Baulig committed Nov 10, 2004
  4. **** Merged from MCS ****

    svn path=/trunk/mcs/; revision=35946
    Martin Baulig committed Nov 10, 2004
  5. **** Merged from MCS ****

    svn path=/trunk/mcs/; revision=35943
    Martin Baulig committed Nov 10, 2004
  6. 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
    gonzalop committed Nov 10, 2004
  7. * 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
    Jackson Harper committed Nov 10, 2004
  8. Enable the new generic tests.

    svn path=/trunk/mcs/; revision=35936
    Martin Baulig committed Nov 10, 2004
  9. Forgot this

    svn path=/trunk/mcs/; revision=35935
    gonzalop committed Nov 10, 2004
  10. 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
    gonzalop committed Nov 10, 2004
Commits on Nov 9, 2004
  1. 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 committed Nov 9, 2004
  2. 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 committed Nov 9, 2004
  3. 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 committed Nov 9, 2004
  4. 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 committed Nov 9, 2004
  5. Added a null check and removed a debugging statement.

    svn path=/trunk/mcs/; revision=35929
    Martin Baulig committed Nov 9, 2004
  6. 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 committed Nov 9, 2004
  7. Ooops.

    svn path=/trunk/mcs/; revision=35927
    Martin Baulig committed Nov 9, 2004
  8. 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 committed Nov 9, 2004
  9. 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
    Martin Baulig committed Nov 9, 2004
  10. OP_RETHROW support; Fix global register allocations

    svn path=/trunk/mono/; revision=35924
    Neale Ferguson committed Nov 9, 2004
  11. Put the merging back.

    svn path=/trunk/mcs/; revision=35921
    Martin Baulig committed Nov 9, 2004
  12. 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 committed Nov 9, 2004
  13. 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
    Martin Baulig committed Nov 9, 2004
  14. * 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
    Jackson Harper committed Nov 9, 2004
  15. 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
    Martin Baulig committed Nov 9, 2004
  16. grrrrr

    svn path=/trunk/mcs/; revision=35911
    Duncan Mak committed Nov 9, 2004
  17. Add XML_DEP, this should fix the build.

    svn path=/trunk/mcs/; revision=35910
    Duncan Mak committed Nov 9, 2004
  18. Ooops, gen-65 is broken, not test-65.

    svn path=/trunk/mcs/; revision=35909
    Martin Baulig committed Nov 9, 2004
  19. * System.dll.sources: Added new files:

    		System.Configuration/NonEmptyStringConfigurationProperty.cs
    		System.Configuration/NonEmptyStringFlags.cs
    
    svn path=/trunk/mcs/; revision=35904
    slluis committed Nov 9, 2004
  20. * 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
    slluis committed Nov 9, 2004
  21. 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
    vargaz committed Nov 9, 2004
  22. 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
    vargaz committed Nov 9, 2004
  23. 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
    gonzalop committed Nov 9, 2004
  24. A little bird whispered in my ear that gen-65.cs is broken ....

    svn path=/trunk/mcs/; revision=35899
    Martin Baulig committed Nov 9, 2004
  25. 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 committed Nov 9, 2004