Atsushi Eno [Wed, 13 Oct 2004 21:16:47 +0000 (21:16 -0000)]
2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : clear UnhandledAttributes ArrayList before generating
next element column schema. This fixes bug #68256.
svn path=/trunk/mcs/; revision=34959
Peter Dennis Bartok [Wed, 13 Oct 2004 20:18:41 +0000 (20:18 -0000)]
- Added code to destroy the X window
svn path=/trunk/mcs/; revision=34957
Peter Dennis Bartok [Wed, 13 Oct 2004 20:18:21 +0000 (20:18 -0000)]
- Added code to destroy a window
svn path=/trunk/mcs/; revision=34956
Peter Dennis Bartok [Wed, 13 Oct 2004 20:12:47 +0000 (20:12 -0000)]
- Added the Redraw on Resize that got dropped in the last rev
svn path=/trunk/mcs/; revision=34955
Peter Dennis Bartok [Wed, 13 Oct 2004 15:06:37 +0000 (15:06 -0000)]
- Path from John BouAntoun:
* Fix check rendering (centre correctly for normal style, offset
correctly for FlatStyle).
* Fix border color usage (use backcolor) for FlatStyle.Popup
* Use checkbox.Capture instead of checkbox.is_pressed when rendering
flatstyle states.
svn path=/trunk/mcs/; revision=34952
Peter Dennis Bartok [Wed, 13 Oct 2004 14:14:43 +0000 (14:14 -0000)]
- Patch by joel.reed@ddiworld.com (joel) to handle CDATA sections.
svn path=/trunk/mcs/; revision=34951
Paolo Molaro [Wed, 13 Oct 2004 11:55:40 +0000 (11:55 -0000)]
Wed Oct 13 15:12:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
* System.Resources/ResXResourceReader.cs: patch by
joel.reed@ddiworld.com (joel) to handle CDATA sections.
svn path=/trunk/mcs/; revision=34949
Jambunathan K [Wed, 13 Oct 2004 10:26:18 +0000 (10:26 -0000)]
Oops !
svn path=/trunk/mcs/; revision=34948
Jambunathan K [Wed, 13 Oct 2004 10:24:39 +0000 (10:24 -0000)]
Added LineNo, ExpectedError and ErrorMessage to all negative test case
files that emit just a single compile time error. All these files have
multiple errors. Each of these files need to be broken in to multiple
files so that no more than one error gets reported by a test case.
svn path=/trunk/mcs/; revision=34947
Raja R Harinath [Wed, 13 Oct 2004 09:08:39 +0000 (09:08 -0000)]
* test-309.cs: Testcase from #65816.
* Makefile (NEW_TEST_SOURCES_common): Add test-309.
Moved test-259 here, since it requires a merge to gmcs.
svn path=/trunk/mcs/; revision=34946
Raja R Harinath [Wed, 13 Oct 2004 09:06:16 +0000 (09:06 -0000)]
Fix #65816.
* class.cs (TypeContainer.EmitContext): New property.
(DefineNestedTypes): Create an emitcontext for each part.
(MethodCore.DoDefineParameters): Use container's emitcontext.
Pass type array to InternalParameters.
(MemberBase.DoDefine): Use container's emitcontext.
(FieldMember.Define): Likewise.
(Event.Define): Likewise.
(SetMethod.GetParameterInfo): Change argument to EmitContext.
Pass type array to InternalParameters.
(SetIndexerMethod.GetParameterInfo): Likewise.
(SetMethod.Define): Pass emitcontext to GetParameterInfo.
* delegate.cs (Define): Pass emitcontext to
ComputeAndDefineParameterTypes and GetParameterInfo. Pass type
array to InternalParameters.
* expression.cs (ParameterReference.DoResolveBase): Pass
emitcontext to GetParameterInfo.
(ComposedCast.DoResolveAsTypeStep): Remove check on
ec.ResolvingTypeTree.
* parameter.cs (Parameter.Resolve): Change argument to
EmitContext. Use ResolveAsTypeTerminal.
(Parameter.GetSignature): Change argument to EmitContext.
(Parameters.ComputeSignature): Likewise.
(Parameters.ComputeParameterTypes): Likewise.
(Parameters.GetParameterInfo): Likewise.
(Parameters.ComputeAndDefineParameterTypes): Likewise.
Re-use ComputeParameterTypes. Set ec.ResolvingTypeTree.
* support.cs (InternalParameters..ctor): Remove variant that takes
a DeclSpace.
* typemanager.cs (system_intptr_expr): New.
(InitExpressionTypes): Initialize it.
(this has been tested with a full mono bootstrap, and has been used
to build gtk-sharp, dbus, monodoc, tomboy, and monodevelop)
svn path=/trunk/mcs/; revision=34945
Ravindra [Wed, 13 Oct 2004 07:30:06 +0000 (07:30 -0000)]
Cosmetic changes.
svn path=/trunk/mcs/; revision=34944
Ravindra [Wed, 13 Oct 2004 07:27:42 +0000 (07:27 -0000)]
* Graphics.cs: Moved the initialization of 'use_x_drawable'
member out of private constructor to class initialization.
So that, we get it right even if Graphics is not instantiated.
This fixes the problem we face (otherwise) when we make first
call to Graphics.FromHwnd () method.
svn path=/trunk/mcs/; revision=34943
Peter Dennis Bartok [Wed, 13 Oct 2004 03:48:15 +0000 (03:48 -0000)]
- Removed all occurences of SystemColors and replaced them with the
matching theme color
svn path=/trunk/mcs/; revision=34942
Peter Dennis Bartok [Wed, 13 Oct 2004 03:41:45 +0000 (03:41 -0000)]
- From John BouAntoun: Added an overload to CPDrawBorder3D to allow him
using the function for flatstyle drawing
- Changed functions to use the new version of CPDrawBorder3D
svn path=/trunk/mcs/; revision=34941
Peter Dennis Bartok [Wed, 13 Oct 2004 03:15:16 +0000 (03:15 -0000)]
- Fixed Dark(), DarkDark(), Light() and LightLight() methods to match MS
documentation. They need to return defined colors if the passed
color matches the configured control color. Thanks to John BouAntoun for
pointing this out.
svn path=/trunk/mcs/; revision=34940
Peter Dennis Bartok [Wed, 13 Oct 2004 02:57:36 +0000 (02:57 -0000)]
- Fix from John BouAntoun: Raise ForeColorChanged event when text color is
changed
svn path=/trunk/mcs/; revision=34939
Peter Dennis Bartok [Wed, 13 Oct 2004 02:46:22 +0000 (02:46 -0000)]
- Fix from John BouAntoun: Now properly sets the Appearance property
svn path=/trunk/mcs/; revision=34938
Peter Dennis Bartok [Wed, 13 Oct 2004 02:45:21 +0000 (02:45 -0000)]
- Fixes from John BouAntoun: now handles forecolors and backcolors for
flatstyle rendered controls much better; It also fixes normal checkbox
rendering when pushed or disabled.
svn path=/trunk/mcs/; revision=34937
Martin Baulig [Wed, 13 Oct 2004 01:19:54 +0000 (01:19 -0000)]
New test.
svn path=/trunk/mcs/; revision=34936
Martin Baulig [Tue, 12 Oct 2004 23:09:52 +0000 (23:09 -0000)]
The more relaxed check is gone, we're now doing a real check here.
svn path=/trunk/mcs/; revision=34935
Martin Baulig [Tue, 12 Oct 2004 23:07:30 +0000 (23:07 -0000)]
Add more stuff to gen-79 and enable it.
svn path=/trunk/mcs/; revision=34934
Martin Baulig [Tue, 12 Oct 2004 23:06:38 +0000 (23:06 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* expression.cs (MemberAccess.DoResolve): If we're a SimpleName
and have type arguments, create and resolve a ConstructedType.
svn path=/trunk/mcs/; revision=34933
Chris Toshok [Tue, 12 Oct 2004 23:00:29 +0000 (23:00 -0000)]
2004-10-12 Chris Toshok <toshok@ximian.com>
* cs-parser.jay: fix location for try_statement and catch_clause.
svn path=/trunk/mcs/; revision=34932
Martin Baulig [Tue, 12 Oct 2004 20:08:22 +0000 (20:08 -0000)]
New test.
svn path=/trunk/mcs/; revision=34930
Martin Baulig [Tue, 12 Oct 2004 20:08:08 +0000 (20:08 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* expression.cs (MemberAccess.DoResolve): If we're a SimpleName
and have type arguments, create and resolve a ConstructedType.
svn path=/trunk/mcs/; revision=34929
Rafael Teixeira [Tue, 12 Oct 2004 19:14:52 +0000 (19:14 -0000)]
2004-10-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* every *.cs: moved to namespace-based subdirectories as is the norm in Mono
* Mono.GetOptions.dll.sources: adjusted to new sources locations
svn path=/trunk/mcs/; revision=34924
Martin Baulig [Tue, 12 Oct 2004 19:13:06 +0000 (19:13 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* generic.cs (Constraints.CheckInterfaceMethod): Do a more relaxed
checking for type parameter constraints.
svn path=/trunk/mcs/; revision=34923
Martin Baulig [Tue, 12 Oct 2004 19:11:18 +0000 (19:11 -0000)]
New test.
svn path=/trunk/mcs/; revision=34922
Martin Baulig [Tue, 12 Oct 2004 19:02:05 +0000 (19:02 -0000)]
Don't crash here.
svn path=/trunk/mcs/; revision=34920
Martin Baulig [Tue, 12 Oct 2004 18:26:31 +0000 (18:26 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* reflection.c (mono_reflection_bind_generic_parameters): Small
fix, correctly retrieve our parent from a generic instance.
svn path=/trunk/mono/; revision=34919
Martin Baulig [Tue, 12 Oct 2004 18:25:01 +0000 (18:25 -0000)]
New test.
svn path=/trunk/mcs/; revision=34918
Atsushi Eno [Tue, 12 Oct 2004 14:56:25 +0000 (14:56 -0000)]
wrote incorrect filename also here :(
svn path=/trunk/mcs/; revision=34916
Atsushi Eno [Tue, 12 Oct 2004 14:55:48 +0000 (14:55 -0000)]
wrote incorrect changelog :(
svn path=/trunk/mcs/; revision=34915
Atsushi Eno [Tue, 12 Oct 2004 14:52:30 +0000 (14:52 -0000)]
2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
* DataSetTest.cs : now xs:schema contains xmlns="".
svn path=/trunk/mcs/; revision=34911
Atsushi Eno [Tue, 12 Oct 2004 14:51:26 +0000 (14:51 -0000)]
2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
* DataSetTest.cs : now xs:schema contains xmlns="".
This fixes bug #68008.
svn path=/trunk/mcs/; revision=34910
Neale Ferguson [Tue, 12 Oct 2004 13:30:55 +0000 (13:30 -0000)]
Add my details
svn path=/trunk/mono/; revision=34909
Atsushi Eno [Tue, 12 Oct 2004 13:27:23 +0000 (13:27 -0000)]
2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : DBNull attribute column should not be written as
empty attribute. This fixes bug #68007.
svn path=/trunk/mcs/; revision=34907
Atsushi Eno [Tue, 12 Oct 2004 13:10:33 +0000 (13:10 -0000)]
2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
DataColumn.ReadOnly was not handled. This fixes bug #68005.
Attribute defaultValue was not handled too.
svn path=/trunk/mcs/; revision=34905
Rafael Teixeira [Tue, 12 Oct 2004 12:10:06 +0000 (12:10 -0000)]
2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.
svn path=/trunk/mcs/; revision=34904
Sanja Gupta [Tue, 12 Oct 2004 12:00:55 +0000 (12:00 -0000)]
ChangeLog: Updated.
System.Web_test.dll.sources: Added new test case source file.
svn path=/trunk/mcs/; revision=34903
Sanja Gupta [Tue, 12 Oct 2004 11:58:16 +0000 (11:58 -0000)]
ChangeLog: Updated.
UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
svn path=/trunk/mcs/; revision=34902
Sanja Gupta [Tue, 12 Oct 2004 11:55:10 +0000 (11:55 -0000)]
ChangeLog: Added ChangeLog.
TestUrlPropertyAttribute.cs: Added UrlPropertyAttribute test cases.
svn path=/trunk/mcs/; revision=34901
Sanja Gupta [Tue, 12 Oct 2004 11:13:50 +0000 (11:13 -0000)]
ChangeLog: Updated ChangeLog.
UrlTypes.cs: Updated.
svn path=/trunk/mcs/; revision=34900
Sanja Gupta [Tue, 12 Oct 2004 10:12:45 +0000 (10:12 -0000)]
ChangeLog: Updated ChangeLog.
AccessDataSource.cs: Updated.
svn path=/trunk/mcs/; revision=34899
Jambunathan K [Tue, 12 Oct 2004 09:06:43 +0000 (09:06 -0000)]
InheritanceK.vb: Yet another test case
svn path=/trunk/mcs/; revision=34898
Sanja Gupta [Tue, 12 Oct 2004 08:44:26 +0000 (08:44 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new class in System.Web.UI.
svn path=/trunk/mcs/; revision=34897
Sanja Gupta [Tue, 12 Oct 2004 08:41:43 +0000 (08:41 -0000)]
ChangeLog: Updated ChangeLog.
UrlPropertyAttribute.cs: Added new file.
svn path=/trunk/mcs/; revision=34896
Jambunathan K [Tue, 12 Oct 2004 08:30:52 +0000 (08:30 -0000)]
Perl driver for regressing mbas - first cut
svn path=/trunk/mcs/; revision=34895
Martin Baulig [Tue, 12 Oct 2004 03:38:35 +0000 (03:38 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* decl.cs (MemberCache.FindMemberToOverride): Use
TypeManager.IsEqual() to compare the parameters and Type.Equals()
to compare the invocationType.
svn path=/trunk/mcs/; revision=34894
Martin Baulig [Tue, 12 Oct 2004 03:36:38 +0000 (03:36 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.IsEqual): Added support for arrays.
When comparing two type parameters, only do the signature-only
comparision for method type parameters.
svn path=/trunk/mcs/; revision=34893
Martin Baulig [Tue, 12 Oct 2004 03:27:20 +0000 (03:27 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs (MonoGenericInst): Call initialize() just
before calling the *_internal() methods.
svn path=/trunk/mcs/; revision=34892
Martin Baulig [Tue, 12 Oct 2004 03:25:02 +0000 (03:25 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* TypeBuilder.cs (TypeBuilder.setup_generic_class): Renamed to
create_generic_class() and added a new setup_generic_class().
(TypeBuilder.DefineGenericParameters): Call setup_generic_class()
before creating the type parameters.
svn path=/trunk/mcs/; revision=34891
Martin Baulig [Tue, 12 Oct 2004 03:11:32 +0000 (03:11 -0000)]
2004-10-12 Martin Baulig <martin@ximian.com>
* metadata.c (mono_metadata_generic_param_equal): We always have
an owner.
* class.c
(mono_class_from_generic_parameter): We need to have an owner.
(my_mono_class_from_generic_parameter): Likewise.
* reflection.c (mono_reflection_setup_generic_class): Renamed to
mono_reflection_create_generic_class() and added a new
mono_reflection_setup_generic_class().
(mono_reflection_initialize_generic_param): If we're a nested
generic type and inherited from the containing class, set our
owner to the outer class.
svn path=/trunk/mono/; revision=34890
César Natarén [Mon, 11 Oct 2004 23:35:52 +0000 (23:35 -0000)]
Added TypeManager.cs to the build
svn path=/trunk/mcs/; revision=34889
César Natarén [Mon, 11 Oct 2004 23:31:57 +0000 (23:31 -0000)]
2004-10-11 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Microsoft.JScript.dll.sources: add TypeMananger.cs
svn path=/trunk/mcs/; revision=34888
Zoltan Varga [Mon, 11 Oct 2004 22:00:49 +0000 (22:00 -0000)]
2004-10-12 Zoltan Varga <vargaz@freemail.hu>
* MethodBody.cs: Implement this.
svn path=/trunk/mcs/; revision=34887
Zoltan Varga [Mon, 11 Oct 2004 20:32:32 +0000 (20:32 -0000)]
2004-10-11 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_MethodBase_GetMethodBodyInternal): New icall.
* reflection.c (mono_method_body_get_object): New function to create
a MethodBody object.
* object-internals.h object.h: Add MonoReflectionMethodBody structure.
svn path=/trunk/mono/; revision=34886
Miguel de Icaza [Mon, 11 Oct 2004 20:28:02 +0000 (20:28 -0000)]
Style fix
svn path=/trunk/mcs/; revision=34885
Martin Baulig [Mon, 11 Oct 2004 20:17:36 +0000 (20:17 -0000)]
Fix, fix, fix.
svn path=/trunk/mcs/; revision=34884
Duncan Mak [Mon, 11 Oct 2004 20:05:07 +0000 (20:05 -0000)]
2004-10-11 Duncan Mak <duncan@ximian.com>
* Makefile: Move Microsoft.VisualBasic.dll to be built after
System.Windows.Forms.dll is built, because VB now requires SWF. This
fixes the build.
svn path=/trunk/mcs/; revision=34883
Martin Baulig [Mon, 11 Oct 2004 19:52:26 +0000 (19:52 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* metadata.c (_mono_metadata_type_equal): Renamed to
do_mono_metadata_type_equal() and made static.
svn path=/trunk/mono/; revision=34882
Martin Baulig [Mon, 11 Oct 2004 19:50:03 +0000 (19:50 -0000)]
Reverted the _mono_metadata_type_equal() hack.
svn path=/trunk/mono/; revision=34881
Martin Baulig [Mon, 11 Oct 2004 19:05:27 +0000 (19:05 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* report.cs: Don't make --fatal abort on warnings, we have
-warnaserror for that.
svn path=/trunk/mcs/; revision=34880
Martin Baulig [Mon, 11 Oct 2004 19:02:47 +0000 (19:02 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* typemanager.cs
(TypeManager.IsEqualGenericType): Removed, use IsEqual() instead.
(TypeManager.IsEqual): Call ourself recursively instead of using
Type.IsEqual().
svn path=/trunk/mcs/; revision=34879
Martin Baulig [Mon, 11 Oct 2004 18:59:22 +0000 (18:59 -0000)]
New testcase.
svn path=/trunk/mcs/; revision=34878
Martin Baulig [Mon, 11 Oct 2004 17:28:19 +0000 (17:28 -0000)]
Removed the Real_IsEqual() hack and renamed it to IsEqual().
svn path=/trunk/mcs/; revision=34873
César Natarén [Mon, 11 Oct 2004 16:21:48 +0000 (16:21 -0000)]
2004-10-11 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* GlobalObject.cs: ported encodeURI, encodeURIComponent,
decodeURI, decodeURIComponent from Rhino's codebase. Added methods encode and decode.
svn path=/trunk/mcs/; revision=34872
César Natarén [Mon, 11 Oct 2004 16:09:33 +0000 (16:09 -0000)]
2004-10-11 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* expression.cs (Call.Emit): implement IsConstructorProperty.
svn path=/trunk/mcs/; revision=34870
Rafael Teixeira [Mon, 11 Oct 2004 15:56:58 +0000 (15:56 -0000)]
2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Makefile: Added reference to System.Windows.Forms as interface Microsoft.VisualBasic.CompilerServices.IVbHost needs it.
svn path=/trunk/mcs/; revision=34869
Rafael Teixeira [Mon, 11 Oct 2004 15:55:47 +0000 (15:55 -0000)]
2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* IVbHost.cs: Completed API (needed to reference SWF for that).
svn path=/trunk/mcs/; revision=34868
Rafael Teixeira [Mon, 11 Oct 2004 15:39:56 +0000 (15:39 -0000)]
2004-10-11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* FileSystem.cs: Adjusting exposed API according to class status page ('ref' instead of 'out').
Commented out an additional API.
svn path=/trunk/mcs/; revision=34867
Martin Baulig [Mon, 11 Oct 2004 15:38:57 +0000 (15:38 -0000)]
Disable gen-79 for the moment, add gen-81.
svn path=/trunk/mcs/; revision=34866
Martin Baulig [Mon, 11 Oct 2004 15:18:14 +0000 (15:18 -0000)]
Slightly modified version of gen-79.cs.
svn path=/trunk/mcs/; revision=34865
Anirban Bhattacharjee [Mon, 11 Oct 2004 13:16:40 +0000 (13:16 -0000)]
2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
* mb-parser.jay: More improvement in 'IF' statement
svn path=/trunk/mcs/; revision=34864
Jambunathan K [Mon, 11 Oct 2004 12:22:47 +0000 (12:22 -0000)]
Added LineNo, ExpectedError and ErrorMessage to all negative test case
files that emit just a single compile time error
svn path=/trunk/mcs/; revision=34863
Sanja Gupta [Mon, 11 Oct 2004 11:48:56 +0000 (11:48 -0000)]
ChangeLog: Updated ChangeLog.
makefile: Added flag to build System.Web_test.dll.
svn path=/trunk/mcs/; revision=34862
Anirban Bhattacharjee [Mon, 11 Oct 2004 11:47:48 +0000 (11:47 -0000)]
2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
* mb-parser.jay: If statement is enabled to parse
following type of statement
If <condition> Then <statement> else <statement>
svn path=/trunk/mcs/; revision=34861
Martin Baulig [Mon, 11 Oct 2004 00:26:02 +0000 (00:26 -0000)]
Updated.
svn path=/trunk/mcs/; revision=34856
Martin Baulig [Mon, 11 Oct 2004 00:24:54 +0000 (00:24 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* Makefile (test-generics, test-generics-2): New targets.
(new_TEST_SOURCES_common): Disabled test-308.cs.
(TEST_SOURCES_net_2_0): Enable gen-79.cs.
svn path=/trunk/mcs/; revision=34855
Martin Baulig [Mon, 11 Oct 2004 00:23:21 +0000 (00:23 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineType): Only call TypeParameter.Define()
on our own type parameters, not on the ones we inherit from a containing
class.
* expression.cs (Invocation.InferType): Use `==', not `Equals()' for
the comparision.
* generic.cs (TypeParameter.Define): We may only be called once.
* pending.cs (Pending.InterfaceMethod): Call TypeManager.Real_IsEqual()
instead of TypeManager.IsEqual().
* typemanager.cs (TypeManager.Real_IsEqual): New method; this'll
soon be renamed to IsEqual() and thus replace the old IsEqual().
svn path=/trunk/mcs/; revision=34854
Martin Baulig [Mon, 11 Oct 2004 00:14:50 +0000 (00:14 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* Environment.cs: Bump corlib version to 28.
svn path=/trunk/mcs/; revision=34853
Martin Baulig [Mon, 11 Oct 2004 00:14:03 +0000 (00:14 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* TypeBuilder.cs (TypeBuilder.generic_container): New private field.
* MethodBuilder.cs (MethodBuilder.generic_container): New private field.
* GenericTypeParameterBuilder.cs
(GenericTypeParameterBuilder.GetGenericTypeParameterConstraints):
Return `Type.EmptyTypes' instead of an array of `typeof (object)'.
svn path=/trunk/mcs/; revision=34852
Martin Baulig [Mon, 11 Oct 2004 00:11:47 +0000 (00:11 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* appdomain.c: Bump corlib version number to 28.
svn path=/trunk/mono/; revision=34851
Martin Baulig [Mon, 11 Oct 2004 00:09:11 +0000 (00:09 -0000)]
2004-10-11 Martin Baulig <martin@ximian.com>
* mini.c (mono_method_to_ir): If we're a generic method, get the
MonoGenericContainer from our MonoMethodNormal and create a
MonoGenericContext from it.
svn path=/trunk/mono/; revision=34850
Martin Baulig [Mon, 11 Oct 2004 00:06:40 +0000 (00:06 -0000)]
2004-10-10 Martin Baulig <martin@ximian.com>
* class-internals.h
(MonoGenericInst): Added `MonoGenericContainer *container'.
(MonoGenericMethod): Likewise.
(MonoGenericContext): Likewise.
(MonoGenericParam): Added `MonoGenericContainer *owner'.
* metadata.c
(do_mono_metadata_parse_type): Added a `MonoGenericContainer *' argument.
(do_mono_metadata_parse_generic_inst): Likewise.
(mono_metadata_parse_type_full): New public method. This is the actual
mono_metadata_parse_type() implementation - with an additional
`MonoGenericContainer *' argument.
(mono_metadata_parse_array_full): Likewise.
(mono_metadata_parse_signature_full): Likewise.
(mono_metadata_parse_method_signature_full): Likewise.
(mono_metadata_parse_mh_full): Likewise.
(mono_type_create_from_typespec): Likewise.
(mono_metadata_interfaces_from_typedef_full): New public method;
this is similar to the other _full() methods, but we take a
`MonoGenericContext *' since we have to pass it to mono_class_get_full().
(mono_metadata_parse_generic_param): Take an additional
`MonoGenericContainer *' argument and lookup the MonoGenericParam
from that container.
(mono_metadata_generic_param_equal): New static method to compare
two type parameters.
(_mono_metadata_type_equal): New static method; takes an
additional `gboolean signature_only' argument - if true, we don't
compare the owners of generic parameters.
(mono_metadata_signature_equal): Call _mono_metadata_type_equal()
with a TRUE argument - do a signature-only comparision.
* loader.c: Use the new _full() methods and pass the
MonoGenericContainer to them.
* object-internals.h (MonoReflectionTypeBuilder): Added
`MonoGenericContainer *generic_container' field.
(MonoReflectionMethodBuilder): Likewise.
* icall.c (ves_icall_type_Equals): Use _mono_metadata_type_equal()
and do a signature-only comparision.
svn path=/trunk/mono/; revision=34849
David Sheldon [Sun, 10 Oct 2004 21:24:04 +0000 (21:24 -0000)]
2004-10-10 David Sheldon <dave-mono@earth.li>
* HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.
svn path=/trunk/mcs/; revision=34848
David Sheldon [Sun, 10 Oct 2004 17:31:01 +0000 (17:31 -0000)]
2004-10-10 David Sheldon <dave-mono@earth.li>
* DnsTest.cs: Updated IP for www.go-mono.com.
svn path=/trunk/mcs/; revision=34847
Zoltan Varga [Sun, 10 Oct 2004 16:00:51 +0000 (16:00 -0000)]
2004-10-10 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Add some checks for cygwin weirdness.
svn path=/trunk/mono/; revision=34845
Miguel de Icaza [Sun, 10 Oct 2004 15:13:48 +0000 (15:13 -0000)]
Revert my patch to constants, they broke corlib and System
svn path=/trunk/mcs/; revision=34844
Miguel de Icaza [Sun, 10 Oct 2004 14:27:44 +0000 (14:27 -0000)]
2004-10-10 Miguel de Icaza <miguel@ximian.com>
* expression.cs (MemberAccess.ResolveMemberAccess): When looking
up a constant, do not use the "Const" object after LookupConstant,
instead use the result that is returned in the `out' parameter
that already has the GetValue done. Fixes the corlib regression,
and removes duplicated code.
svn path=/trunk/mcs/; revision=34843
Gonzalo Paniagua Javier [Sun, 10 Oct 2004 13:34:58 +0000 (13:34 -0000)]
2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/TraceContext.cs: don't cast to Page is the handler it's
not a page.
* System.Web.Configuration/WebConfigurationSettings.cs: use
CurrentExecutionFilePath instead of FilePath. Fixes bug #67982.
svn path=/trunk/mcs/; revision=34841
Atsushi Eno [Sat, 9 Oct 2004 19:39:29 +0000 (19:39 -0000)]
2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
* XPathAtomicValue.cs : Init(string, XmlSchemaType) is private.
svn path=/trunk/mcs/; revision=34840
Atsushi Eno [Sat, 9 Oct 2004 19:27:49 +0000 (19:27 -0000)]
2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
* XsltException.cs : Message is incorrectly regarded only after 2.0
(while it *disappeared* in 2.0).
svn path=/trunk/mcs/; revision=34839
Atsushi Eno [Sat, 9 Oct 2004 19:25:11 +0000 (19:25 -0000)]
2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlNodeReader.cs : LookupPrefix() was only after 2.0.
svn path=/trunk/mcs/; revision=34838
Miguel de Icaza [Sat, 9 Oct 2004 18:20:44 +0000 (18:20 -0000)]
Add new test 308
svn path=/trunk/mcs/; revision=34837
Miguel de Icaza [Sat, 9 Oct 2004 18:18:50 +0000 (18:18 -0000)]
2004-10-09 Miguel de Icaza <miguel@ximian.com>
* const.cs (ConvertExpressionToConstant): Refactor code that does
the Expression to Constant checking. This can be used in other
places in the compiler that need to go from an Expression that
wraps a Constant (like the casts) to a Constant.
* ecore.cs (Expression.ConvertIntLiteral): If we got enumerations,
unfold those into the underlying types before testing for the
ImplicitConversions, as that code wont cope with casts from
enumerations to constants.
* statement.cs (SwitchLabel.ResolveAndReduce): Reuse
ConvertExpressionToConstant.
svn path=/trunk/mcs/; revision=34836
Atsushi Eno [Sat, 9 Oct 2004 11:24:25 +0000 (11:24 -0000)]
2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : should be NET_2_0.
svn path=/trunk/mcs/; revision=34834
Atsushi Eno [Fri, 8 Oct 2004 19:58:55 +0000 (19:58 -0000)]
2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
* XQueryParser.jay : I was mixing XPath1 class and XPath2.
svn path=/trunk/mcs/; revision=34829
Atsushi Eno [Fri, 8 Oct 2004 19:52:14 +0000 (19:52 -0000)]
2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : IsDefault considers IXmlSchemaInfo
(it is anyways not implemented as yet.)
svn path=/trunk/mcs/; revision=34828