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
Atsushi Eno [Fri, 8 Oct 2004 19:50:19 +0000 (19:50 -0000)]
2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlNamespaceManager.cs : GetNamespacesInScope() caused
IndexOutOfRangeException (miscounted indexes).
svn path=/trunk/mcs/; revision=34827
Atsushi Eno [Fri, 8 Oct 2004 18:16:22 +0000 (18:16 -0000)]
2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
* XQueryCliFunction.cs : native method invokation was still crashing.
svn path=/trunk/mcs/; revision=34826
Zoltan Varga [Fri, 8 Oct 2004 17:41:16 +0000 (17:41 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* Module.cs: Handle the case when the global type does not exists.
svn path=/trunk/mcs/; revision=34822
Zoltan Varga [Fri, 8 Oct 2004 17:32:18 +0000 (17:32 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* ModuleBuilder.cs: Create global type after creation.
svn path=/trunk/mcs/; revision=34821
Zoltan Varga [Fri, 8 Oct 2004 17:28:28 +0000 (17:28 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Module_GetGlobalType): Special
case initial images of dynamic assemblies.
* reflection.c (mono_image_basic_init): Set 'initial_image' field.
* metadata-internals.h (MonoDynamicImage): Add 'initial_image' field.
svn path=/trunk/mono/; revision=34820
Zoltan Varga [Fri, 8 Oct 2004 16:44:29 +0000 (16:44 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_reflection_event_builder_get_event_info): Fix
length of event->other array.
(typebuilder_setup_events): Ditto.
svn path=/trunk/mono/; revision=34819
Zoltan Varga [Fri, 8 Oct 2004 16:06:54 +0000 (16:06 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* support/Makefile.am (libMonoPosixHelper_la_SOURCES): Do not build
zlib_macros if zlib.h is not found.
* configure.in: Add check for zlib.h.
svn path=/trunk/mono/; revision=34818
Zoltan Varga [Fri, 8 Oct 2004 15:45:07 +0000 (15:45 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* inssel-long32.brg (OP_LCONV_TO_OVF_I2): Fix CONV_I1 -> CONV_I2.
* basic-long.cs: Add test for checked i8->i2 cast.
svn path=/trunk/mono/; revision=34817
Zoltan Varga [Fri, 8 Oct 2004 15:22:56 +0000 (15:22 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* Convert.cs (ToType): Throw an exception when converting null to a
valuetype. Fixes #67780.
svn path=/trunk/mcs/; revision=34812
Zoltan Varga [Fri, 8 Oct 2004 15:17:00 +0000 (15:17 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* ConvertTest.cs: Add test for bug #67780.
svn path=/trunk/mcs/; revision=34811
Zoltan Varga [Fri, 8 Oct 2004 14:32:08 +0000 (14:32 -0000)]
2004-10-08 Zoltan Varga <vargaz@freemail.hu>
* domain-internals.h (MonoDomain): Rename 'assemblies' hash table to
'assembly_by_name' and add an 'assemblies' list.
* assembly.h assembly.c: Add a new search hook for determining whenever
an assembly is already loaded. Use this instead of searching in the
loaded_assemblies list.
* domain.c appdomain.c: Implement the new search hook so loaded
assemblies are now scoped by appdomain. Fixes #67727.
svn path=/trunk/mono/; revision=34810
Rafael Teixeira [Fri, 8 Oct 2004 14:30:07 +0000 (14:30 -0000)]
2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* typemanager.cs: Changing StandardModule to use less memory, by doing string
concatenation only once. It was wasting 1 MB on the test case.
svn path=/trunk/mcs/; revision=34809
Ravindra [Fri, 8 Oct 2004 13:37:17 +0000 (13:37 -0000)]
* BitmapData.cs: Synchronized the class with BitmapData struct in
libgdiplus.
svn path=/trunk/mcs/; revision=34807
Ravindra [Fri, 8 Oct 2004 13:34:16 +0000 (13:34 -0000)]
Image.cs: Suppress finalization in Dispose () method.
svn path=/trunk/mcs/; revision=34806
Sanja Gupta [Fri, 8 Oct 2004 12:34:27 +0000 (12:34 -0000)]
TestControlIDConverter.cs: Test needs to be executed only with profile NET_2_0.
svn path=/trunk/mcs/; revision=34805
Sanja Gupta [Fri, 8 Oct 2004 12:28:03 +0000 (12:28 -0000)]
ChangeLog: Updated ChangeLog.
System.Web_test.dll.sources: Added new file.
svn path=/trunk/mcs/; revision=34804
Sanja Gupta [Fri, 8 Oct 2004 12:26:03 +0000 (12:26 -0000)]
ChangeLog: Created new file.
TestControlIDConverter.cs: Initial implementation of test cases for
ControlIDConverter class.
svn path=/trunk/mcs/; revision=34803
Atsushi Eno [Fri, 8 Oct 2004 11:29:28 +0000 (11:29 -0000)]
2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
* XPathSequence.cs :
missed last checkin.
Added WrapperIterator, RemovalIterator for fn:remove(),
InsertingIterator for fn:insertBefore() and DistinctValueIterator
for fn:distinct-values().
* XQueryCliFunction.cs :
Improved error message. Handle null argument as empty sequence.
* XQueryFunction.cs :
Fixed incorrect function name fn:zero-or-more -> fn:zero-or-one.
* XQueryFunctionCliImpl.cs :
Implemented some functions. Fixed some function signatures.
svn path=/trunk/mcs/; revision=34801
Sanja Gupta [Fri, 8 Oct 2004 10:05:04 +0000 (10:05 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new classes in System.Web.UI.WebControls.
svn path=/trunk/mcs/; revision=34800
Jordi Mas i Hernandez [Fri, 8 Oct 2004 08:50:29 +0000 (08:50 -0000)]
more menu work
svn path=/trunk/mcs/; revision=34799
Raja R Harinath [Fri, 8 Oct 2004 08:38:21 +0000 (08:38 -0000)]
(GetHashCode): When culture
is not invariant, avoid an icall on every character.
(This chopped off 15s on a testcase that 'mbas' originally took 1m35s.)
svn path=/trunk/mcs/; revision=34798
Sanja Gupta [Fri, 8 Oct 2004 06:44:37 +0000 (06:44 -0000)]
ChangeLog: Updated and corrected ChangeLog.
ValidatedControlConverter.cs: Updated.
svn path=/trunk/mcs/; revision=34797
Sanja Gupta [Fri, 8 Oct 2004 06:42:10 +0000 (06:42 -0000)]
ChangeLog: Updated ChangeLog.
AssociatedIDConverter.cs: Implemented.
svn path=/trunk/mcs/; revision=34796
Sanja Gupta [Fri, 8 Oct 2004 06:40:45 +0000 (06:40 -0000)]
ChangeLog: Updated ChangeLog
ControlIDConverter.cs: Initial implementation.
svn path=/trunk/mcs/; revision=34795
Atsushi Eno [Thu, 7 Oct 2004 22:17:00 +0000 (22:17 -0000)]
2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs :
- When AllowDBNull is false on attribute DataColumn, its schema
should contain use="required". This fixes bug #66792.
- If MaxLength is set on attribute DataColumn, the mapped schema
type should contain maxLength facet. This fixes bug #66793.
svn path=/trunk/mcs/; revision=34792
Atsushi Eno [Thu, 7 Oct 2004 17:06:53 +0000 (17:06 -0000)]
2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources:
added System.Xml.Query/XQueryFunctionContextAttribute.cs.
svn path=/trunk/mcs/; revision=34789
Atsushi Eno [Thu, 7 Oct 2004 17:06:35 +0000 (17:06 -0000)]
2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
* XPath2Expression.cs, XPathSequence.cs :
Changed ListIterator.ctor() signature not to demand current sequence.
* XQueryCliFunction.cs, XQueryFunctionCliImpl.cs :
Now, to represent a sequence, IEnumerable is not used anymore (it is
confusing because System.String is also IEnumerable). So those native
functions should just require XPathSequence (for user functions?
not idea how MS will solve the "problem").
If a native function method has [XQueryFunctionContext] attribute,
then it means that the function requires current sequence, so fill
it before invoking the method.
* XQueryFunctionContextAttribute.cs : added, to mark "it needs
current sequence" for fn:position() and fn:count().
svn path=/trunk/mcs/; revision=34788
Zoltan Varga [Thu, 7 Oct 2004 17:01:21 +0000 (17:01 -0000)]
2004-10-07 Zoltan Varga <vargaz@freemail.hu>
* threads.c (mono_thread_attach): Initialize synch_lock field so
mono_thread_detach works again.
svn path=/trunk/mono/; revision=34787
Atsushi Eno [Thu, 7 Oct 2004 15:20:55 +0000 (15:20 -0000)]
2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : Performance fix. ParseExact() implementation should
avoid s = s.Substring(1).
svn path=/trunk/mcs/; revision=34782
Atsushi Eno [Thu, 7 Oct 2004 15:14:21 +0000 (15:14 -0000)]
2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
of m/s/t/z. This fixes bug 66723.
svn path=/trunk/mcs/; revision=34780
Jordi Mas i Hernandez [Thu, 7 Oct 2004 14:56:51 +0000 (14:56 -0000)]
Removes deletion of cached brushes
svn path=/trunk/mcs/; revision=34779
Zoltan Varga [Thu, 7 Oct 2004 13:13:31 +0000 (13:13 -0000)]
2004-10-07 Zoltan Varga <vargaz@freemail.hu>
* pinvoke2.cs: Add test for prefixing 'lib' to dll names.
svn path=/trunk/mono/; revision=34778
Zoltan Varga [Thu, 7 Oct 2004 13:10:25 +0000 (13:10 -0000)]
2004-10-07 Zoltan Varga <vargaz@freemail.hu>
* loader.c (mono_lookup_pinvoke_call): Try the dllname prefixed with
'lib' too. Fixes #63130.
svn path=/trunk/mono/; revision=34776
Raja R Harinath [Thu, 7 Oct 2004 07:35:26 +0000 (07:35 -0000)]
* mcs-ignore-tests: Empty.
* Makefile (run-mcs-tests): Save log of output to
$(TEST_PROFILE).log.
(run-generics-tests): Likewise.
Report from K Sathyasudha <ksathyasudha@novell.com>.
svn path=/trunk/mcs/; revision=34775
Raja R Harinath [Thu, 7 Oct 2004 07:34:56 +0000 (07:34 -0000)]
* Makefile (TEST_TAG): Rename back to 'mcs' and 'gmcs' to keep in
sync with errors/Makefile.
Reported by K Sathyasudha <ksathyasudha@novell.com>.
Testcases for type-resolution.
* test-300.cs: Add tests for local declarations and 'foreach'.
* test-301.cs: New testcase: several 'unsafe' related keywords.
* test-302.cs: New testcase: 'catch' clause parameters.
* test-303.cs: New testcase: 'using' keyword.
* test-304.cs, test-305.cs, test-306.cs, test-307.cs: New.
Variants that use namespace aliases.
* Makefile (NEW_TEST_SOURCES_common): Add new testcases.
svn path=/trunk/mcs/; revision=34774
Raja R Harinath [Thu, 7 Oct 2004 07:34:27 +0000 (07:34 -0000)]
More DeclSpace.ResolveType avoidance.
* decl.cs (MemberCore.InUnsafe): New property.
* class.cs (MemberBase.DoDefine): Use ResolveAsTypeTerminal
with newly created EmitContext.
(FieldMember.Define): Likewise.
* delegate.cs (Delegate.Define): Likewise.
* ecore.cs (SimpleName.ResolveAsTypeStep): Lookup with alias
only if normal name-lookup fails.
(TypeExpr.DoResolve): Enable error-checking.
* expression.cs (ArrayCreation.DoResolve): Use ResolveAsTypeTerminal.
(SizeOf.DoResolve): Likewise.
(ComposedCast.DoResolveAsTypeStep): Likewise.
(StackAlloc.DoResolve): Likewise.
* statement.cs (Block.Flags): Add new flag 'Unsafe'.
(Block.Unsafe): New property.
(Block.EmitMeta): Set ec.InUnsafe as appropriate.
(Unsafe): Set 'unsafe' flag of contained block.
(LocalInfo.Resolve): Use ResolveAsTypeTerminal.
(Fixed.Resolve): Likewise.
(Catch.Resolve): Likewise.
(Using.ResolveLocalVariableDecls): Likewise.
(Foreach.Resolve): Likewise.
svn path=/trunk/mcs/; revision=34773
Jackson Harper [Thu, 7 Oct 2004 03:54:49 +0000 (03:54 -0000)]
* culture-info-tables.h: regenerated.
svn path=/trunk/mono/; revision=34772
Jackson Harper [Thu, 7 Oct 2004 03:51:07 +0000 (03:51 -0000)]
* pt.xml: We need a space after R$. Is there a better way to do
this? I should know...
* pt_BR.xml: Fix currency format.
svn path=/trunk/mono/; revision=34771
Gonzalo Paniagua Javier [Thu, 7 Oct 2004 00:44:12 +0000 (00:44 -0000)]
2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultWatcher.cs: if the file is removed between reading the
directory and filling the file info, catch the exception and ignore the
file. Fixes bug #59482.
svn path=/trunk/mcs/; revision=34767
Gonzalo Paniagua Javier [Thu, 7 Oct 2004 00:29:30 +0000 (00:29 -0000)]
2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
pattern has no wildcards. Fixes bug #67447.
svn path=/trunk/mcs/; revision=34765
John Luke [Wed, 6 Oct 2004 17:25:26 +0000 (17:25 -0000)]
2004-10-05 John Luke <john.luke@gmail.com>
* cs-parser.jay: add location to error CS0175
svn path=/trunk/mcs/; revision=34764
Zoltan Varga [Wed, 6 Oct 2004 14:35:24 +0000 (14:35 -0000)]
2004-10-06 Zoltan Varga <vargaz@freemail.hu>
* TypeTest.cs: Add tests for GetInterfaces ().
svn path=/trunk/mcs/; revision=34762
Zoltan Varga [Wed, 6 Oct 2004 14:33:09 +0000 (14:33 -0000)]
2004-10-06 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_Type_GetInterfaces): Include interfaces
implemented by other interfaces in the result. Fixes #65764.
svn path=/trunk/mono/; revision=34761
Sanja Gupta [Wed, 6 Oct 2004 12:57:24 +0000 (12:57 -0000)]
ChangeLog: Updated ChangeLog.
IButtonControl.cs: Corrected property name.
svn path=/trunk/mcs/; revision=34760
Jordi Mas i Hernandez [Wed, 6 Oct 2004 09:59:05 +0000 (09:59 -0000)]
removes warnings from compilation
svn path=/trunk/mcs/; revision=34758
Paolo Molaro [Wed, 6 Oct 2004 09:25:03 +0000 (09:25 -0000)]
Wed Oct 6 12:40:28 CEST 2004 Paolo Molaro <lupus@ximian.com>
* inssel-ppc.brg: added a couple of speedup rules.
svn path=/trunk/mono/; revision=34757
Paolo Molaro [Wed, 6 Oct 2004 09:22:06 +0000 (09:22 -0000)]
Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
* String.cs: make GetHashCode() managed.
svn path=/trunk/mcs/; revision=34756
Anirban Bhattacharjee [Wed, 6 Oct 2004 09:15:26 +0000 (09:15 -0000)]
2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
* mb-parser.jay: Added support for Call keyword in invocation statement
svn path=/trunk/mcs/; revision=34755
Jordi Mas i Hernandez [Wed, 6 Oct 2004 08:43:37 +0000 (08:43 -0000)]
insert line break
svn path=/trunk/mcs/; revision=34754
Zoltan Varga [Wed, 6 Oct 2004 08:19:49 +0000 (08:19 -0000)]
2004-10-06 Zoltan Varga <vargaz@freemail.hu>
* ModuleBuilder.cs (GetTypes): Fix length of returned array. Fixes
#65931.
svn path=/trunk/mcs/; revision=34752
Gonzalo Paniagua Javier [Wed, 6 Oct 2004 05:46:02 +0000 (05:46 -0000)]
2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TraceHandler.cs: error code is 403 and the message different when
trace is enabled but not for remote clients.
svn path=/trunk/mcs/; revision=34750