Martin Baulig [Thu, 16 Feb 2006 02:59:45 +0000 (02:59 -0000)]
Mono_GetGenericFieldDefinition() doesn't exist anymore.
svn path=/trunk/mcs/; revision=56915
Martin Baulig [Thu, 16 Feb 2006 00:31:16 +0000 (00:31 -0000)]
2006-02-16 Martin Baulig <martin@ximian.com>
* FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
svn path=/trunk/mcs/; revision=56907
Martin Baulig [Thu, 16 Feb 2006 00:30:14 +0000 (00:30 -0000)]
2006-02-16 Martin Baulig <martin@ximian.com>
* reflection.c (mono_reflection_get_token): Add support for fields
in instantiated generic types.
* icall.c
(ves_icall_MonoField_Mono_GetGenericFieldDefinition): Removed.
svn path=/trunk/mono/; revision=56906
Martin Baulig [Thu, 16 Feb 2006 00:24:15 +0000 (00:24 -0000)]
2006-02-16 Martin Baulig <martin@ximian.com>
* generic.cs
(TypeManager.GetGenericFieldDefinition): New public method; use it
instead of the `FieldInfo.Mono_GetGenericFieldDefinition()' icall.
svn path=/trunk/mcs/; revision=56905
Gonzalo Paniagua Javier [Wed, 15 Feb 2006 23:22:25 +0000 (23:22 -0000)]
added a few more extensions to the forbidden list
svn path=/trunk/mono/; revision=56904
Gonzalo Paniagua Javier [Wed, 15 Feb 2006 21:52:29 +0000 (21:52 -0000)]
generate a mono-service2 script
svn path=/trunk/mono/; revision=56902
Jackson Harper [Wed, 15 Feb 2006 21:34:25 +0000 (21:34 -0000)]
* XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
is a real MDI window
svn path=/trunk/mcs/; revision=56901
Martin Baulig [Wed, 15 Feb 2006 19:51:51 +0000 (19:51 -0000)]
Reflect latest reflection API changes.
svn path=/trunk/mcs/; revision=56900
Martin Baulig [Wed, 15 Feb 2006 19:51:36 +0000 (19:51 -0000)]
2006-02-15 Martin Baulig <martin@ximian.com>
* Type.cs (Type.IsGenericInstance): Removed.
svn path=/trunk/mcs/; revision=56899
Martin Baulig [Wed, 15 Feb 2006 19:51:19 +0000 (19:51 -0000)]
2006-02-15 Martin Baulig <martin@ximian.com>
* TypeBuilder.cs (TypeBuilder.DefineMethod): Also enable the
2-argument version in the `BOOTSTRAP_NET_2_0' profile.
(TypeBuilder.DefineGenericMethod): Removed.
svn path=/trunk/mcs/; revision=56898
Martin Baulig [Wed, 15 Feb 2006 19:51:04 +0000 (19:51 -0000)]
2006-02-15 Martin Baulig <martin@ximian.com>
* MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
(MethodBase.Mono_IsInflatedMethod): Removed.
(MethodBase.HasGenericParameters): Removed.
* MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
here from MethodBase.
* MonoMethod.cs
(MonoMethod.IsGenericMethodDefinition): This is now an icall.
(MonoMethod.IsGenericMethod): Likewise.
svn path=/trunk/mcs/; revision=56897
Martin Baulig [Wed, 15 Feb 2006 19:50:47 +0000 (19:50 -0000)]
2006-02-15 Martin Baulig <martin@ximian.com>
* icall.c
(ves_icall_MonoMethod_get_HasGenericParameters): Removed.
(ves_icall_MonoMethod_get_Mono_IsInflatedMethod): Removed.
(ves_icall_MonoMethod_get_IsGenericMethod): New icall.
(ves_icall_MonoMethod_get_IsGenericMethodDefinition): New icall.
svn path=/trunk/mono/; revision=56896
Vladimir Krasnov [Wed, 15 Feb 2006 16:27:11 +0000 (16:27 -0000)]
mainsoft System.Web testsuite
svn path=/trunk/mcs/; revision=56893
Paolo Molaro [Wed, 15 Feb 2006 15:50:09 +0000 (15:50 -0000)]
Missing brace.
svn path=/trunk/mono/; revision=56892
Paolo Molaro [Wed, 15 Feb 2006 15:25:23 +0000 (15:25 -0000)]
Wed Feb 15 16:23:17 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-s390x.c, mini-s390.c, mini.c, mini-amd64.c, mini-arm.c,
mini-ia64.c, mini-sparc.c, mini-x86.c, mini-ppc.c: fixed
handling of instantiated generic valuetypes.
svn path=/trunk/mono/; revision=56891
Paolo Molaro [Wed, 15 Feb 2006 15:25:05 +0000 (15:25 -0000)]
Wed Feb 15 16:19:24 CET 2006 Paolo Molaro <lupus@ximian.com>
* class.c, metadata.c, metadata.h, object.c, icall.c,
marshal.c: changed mono_type_get_underlying_type () to do
the sensible thing and introduced mono_type_generic_inst_is_valuetype().
Fixed handling of instantiated generic valuetypes (bug #75479).
svn path=/trunk/mono/; revision=56890
Raja R Harinath [Wed, 15 Feb 2006 11:33:02 +0000 (11:33 -0000)]
* metadata.c (mono_metadata_decode_signed_value): Simplify.
Delegate to mono_metadata_decode_value, and work on the returned value.
* icall.c (ves_icall_MonoType_GetGenericArguments):
Add consistency check here too.
svn path=/trunk/mono/; revision=56889
Raja R Harinath [Wed, 15 Feb 2006 11:29:58 +0000 (11:29 -0000)]
* Metadata.cs (BoundArray.CompressSignedNum): Document the
transformation. Avoid a few casts.
svn path=/trunk/mcs/; revision=56888
Raja R Harinath [Wed, 15 Feb 2006 10:09:29 +0000 (10:09 -0000)]
List newly added files: System.IO.Ports/{Handshake,Parity,StopBits}.cs
svn path=/trunk/mcs/; revision=56886
Carlos Alberto Cortez [Wed, 15 Feb 2006 08:05:29 +0000 (08:05 -0000)]
2006-02-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs: Little work on default values and
exception report.
* Parity.cs:
* Handshake.cs:
* StopBits.cs: New enum files (taken outside SerialPort
and with the right values now).
svn path=/trunk/mcs/; revision=56885
Ankit Jain [Wed, 15 Feb 2006 07:31:00 +0000 (07:31 -0000)]
* metadata.cs (mono_metadata_decode_signed_value): Use gint* instead of
char/short etc.
svn path=/trunk/mono/; revision=56884
Ankit Jain [Wed, 15 Feb 2006 07:15:30 +0000 (07:15 -0000)]
In mono/dis:
* get.c (get_array_shape): Use mono_metadata_decode_signed_value to get
lower bounds.
In mono/metadata:
* metadata.c (mono_metadata_decode_signed_value): New function to decode
signed values, used only for representing lower bounds of arrays.
(mono_metadata_parse_array_full): Use new
mono_metadata_decode_signed_value to decode lower bounds.
svn path=/trunk/mono/; revision=56883
Ankit Jain [Wed, 15 Feb 2006 07:11:23 +0000 (07:11 -0000)]
* Metadata.cs (BoundArray.CompressSignedNum): New. Encode signed values,
used only for encoding lower bounds of arrays.
(BoundArray.TypeSig): Use new CompressSignedNum to encode lower bounds.
svn path=/trunk/mcs/; revision=56882
Gonzalo Paniagua Javier [Tue, 14 Feb 2006 22:02:15 +0000 (22:02 -0000)]
2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/WebHandlerParser.cs:
* System.Web.UI/WebServiceParser.cs:
* System.Web.UI/UserControlParser.cs:
* System.Web.UI/PageParser.cs: added new ctor that uses a TextReader
as input.
* System.Web.UI/TemplateControlParser.cs: new Reader property.
* System.Web.UI/SimpleWebHandlerParser.cs: new Reader property and
ctor.
* System.Web.dll.sources: added new files.
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/TemplateControlCompiler.cs: CreateMethods is
now internal.
* System.Web.Compilation/WebServiceBuildProvider.cs:
* System.Web.Compilation/PageBuildProvider.cs:
* System.Web.Compilation/UserControlBuildProvider.cs:
* System.Web.Compilation/WebHandlerBuildProvider.cs: new build
providers.
* System.Web.Compilation/BuildProvider.cs: add assemblies.
* System.Web.Compilation/BaseCompiler.cs: expose the provider and the
compile unit through properties.
svn path=/trunk/mcs/; revision=56878
Alexander Olk [Tue, 14 Feb 2006 21:51:54 +0000 (21:51 -0000)]
2006-02-14 Alexander Olk <alex.olk@googlemail.com>
* X11DesktopColors.cs: Instead of checking the desktop session
string for "KDE" check if it starts with "KDE"
svn path=/trunk/mcs/; revision=56877
Martin Baulig [Tue, 14 Feb 2006 21:13:45 +0000 (21:13 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* *.cs: Use `Type.IsGenericType' instead of `Type.IsGenericInstance'.
svn path=/trunk/mcs/; revision=56869
Martin Baulig [Tue, 14 Feb 2006 20:53:25 +0000 (20:53 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* generic.cs
(TypeManager.DropGenericMethodArguments): New public method; don't
use GetGenericMethodDefinition() on something which is not a
generic method.
svn path=/trunk/mcs/; revision=56868
Martin Baulig [Tue, 14 Feb 2006 20:45:16 +0000 (20:45 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* reflection.c
(mono_reflection_get_token): Support "MonoGenericMethod" and
"MonoGenericCMethod" and allow generic instances / methods.
svn path=/trunk/mono/; revision=56867
Atsushi Eno [Tue, 14 Feb 2006 18:20:07 +0000 (18:20 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : implemented op_Equality and op_Inequality.
svn path=/trunk/mcs/; revision=56866
Martin Baulig [Tue, 14 Feb 2006 18:00:28 +0000 (18:00 -0000)]
Kill Mono_IsInflatedMethod here, too.
svn path=/trunk/mcs/; revision=56864
Martin Baulig [Tue, 14 Feb 2006 17:33:56 +0000 (17:33 -0000)]
Small fix.
svn path=/trunk/mcs/; revision=56862
Martin Baulig [Tue, 14 Feb 2006 17:33:48 +0000 (17:33 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* generic.cs
(TypeManager.DropGenericMethodArguments): New public method.
(TypeManager.IsInstantiatedMethod): New public method. Use this
instead of `Mono_IsInflatedMethod'.
svn path=/trunk/mcs/; revision=56861
Martin Baulig [Tue, 14 Feb 2006 16:16:01 +0000 (16:16 -0000)]
Updated.
svn path=/trunk/mcs/; revision=56858
Martin Baulig [Tue, 14 Feb 2006 16:13:50 +0000 (16:13 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* generic.cs
(ConstraintChecker.CheckConstraints): If a type parameter has the
`struct' constraint, the type must be a non-nullable valuetype.
svn path=/trunk/mcs/; revision=56857
Martin Baulig [Tue, 14 Feb 2006 15:41:13 +0000 (15:41 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* ConstructorBuilder.cs
(ConstructorBuilder.IsGenericMethod): Override this and return
false; the MS runtime doesn't throw an exception here.
(ConstructorBuilder.IsGenericMethodDefinition): Likewise.
* MethodBuilder.cs
(MethodBuilder.IsGenericMethod): Implement this.
(MethodBuilder.IsGenericMethodDefinition): Likewise.
svn path=/trunk/mcs/; revision=56856
Martin Baulig [Tue, 14 Feb 2006 15:39:59 +0000 (15:39 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* MonoMethod.cs
(MonoCMethod.IsGenericMethod): Override this and return false; the
MS runtime doesn't throw an exception here.
svn path=/trunk/mcs/; revision=56855
Martin Baulig [Tue, 14 Feb 2006 15:29:46 +0000 (15:29 -0000)]
2006-02-14 Martin Baulig <martin@ximian.com>
* known-issues-gmcs: Add test-473.cs.
* gtest-130.cs, gtest-136.cs: Make these tests actually work.
svn path=/trunk/mcs/; revision=56854
Ankit Jain [Tue, 14 Feb 2006 15:01:02 +0000 (15:01 -0000)]
* Uri.cs (Uri.EnsureAbsoluteUri): New. Throws exception if its not an
absolute uri.
(Uri.Parse): Set isAbsoluteUri to false, if the address is not absolute.
All properties other than OriginalString, IsAbsoluteUri & UserEscaped
throw exception for relative address.
svn path=/trunk/mcs/; revision=56853
Ankit Jain [Tue, 14 Feb 2006 14:08:09 +0000 (14:08 -0000)]
In corlib:
Oops, forgot to commit this earlier!
* corlib_test.dll.sources: Add ArraySegmentTest.cs
In corlib/Test/System:
* ArraySegmentTest.cs: Fix a misplaced #endif.
svn path=/trunk/mcs/; revision=56852
Atsushi Eno [Tue, 14 Feb 2006 13:09:35 +0000 (13:09 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : tiny message fix (thanks to alp).
svn path=/trunk/mcs/; revision=56851
Ankit Jain [Tue, 14 Feb 2006 12:18:14 +0000 (12:18 -0000)]
In System:
* ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
'count'.
In Test/System:
* ArraySegmentTest.cs: New.
svn path=/trunk/mcs/; revision=56850
Rafael Teixeira [Tue, 14 Feb 2006 11:15:03 +0000 (11:15 -0000)]
2006-02-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* VBCodeCompiler.cs:
use mbas.exe from 1.0 or 2.0, depending on NET_2_0
BuildArgs()
copy options.CompilerOptions to the resulting command line (as pointed by Arnhoffer Károly)
use Append instead of AppendFormat when possible
svn path=/trunk/mcs/; revision=56849
Atsushi Eno [Tue, 14 Feb 2006 10:31:51 +0000 (10:31 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* UTF8Encoding.cs : Fallback was indicating incorrect index.
Fixed bug #77550.
* UTF8EncodingTest.cs : test for bug #77550.
svn path=/trunk/mcs/; revision=56848
Carlos Alberto Cortez [Tue, 14 Feb 2006 07:13:36 +0000 (07:13 -0000)]
2006-02-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs: Work on Encoding property and use it
in Write methods.
svn path=/trunk/mcs/; revision=56847
Daniel Morgan [Tue, 14 Feb 2006 06:40:38 +0000 (06:40 -0000)]
2006-02-13 Daniel Morgan <danielmorgan@verizon.net>
* ProviderSectionHandler.cs
* Provider.cs: add support
for parameter prefix and command builder
* app.config: updated the sample app.config file
to include parameterprefix and commandbuilder on
some providers
svn path=/trunk/mcs/; revision=56846
Atsushi Eno [Tue, 14 Feb 2006 04:34:43 +0000 (04:34 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : When "Significant" is assigned to
WhitespaceHandling, it should ignore non-significant whitespaces.
* XmlTextReaderTests.cs : added WhitespaceHandling tests.
svn path=/trunk/mcs/; revision=56845
Atsushi Eno [Tue, 14 Feb 2006 04:17:29 +0000 (04:17 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriter.cs : (WriteElementString and WriteAttributeString)
Skip empty string output.
svn path=/trunk/mcs/; revision=56844
Atsushi Eno [Tue, 14 Feb 2006 03:45:44 +0000 (03:45 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriterTests.cs : tiny test name fix, as it does not actually
test WriteString().
svn path=/trunk/mcs/; revision=56843
Atsushi Eno [Tue, 14 Feb 2006 03:44:18 +0000 (03:44 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : WriteRaw("") is not simply ignored but process
state check and closes open tag.
* XmlTextWriterTests.cs : added test WriteRaw("") closes open tag.
svn path=/trunk/mcs/; revision=56842
Daniel Morgan [Tue, 14 Feb 2006 03:30:07 +0000 (03:30 -0000)]
2006-02-13 Daniel Morgan <danielmorgan@verizon.net>
Patches from Brad Langhorst <brad@langhorst.com>
* ProviderSectionHandler.cs
* ProviderFactory
* ProviderCollection.cs
* DataTools.cs
* Provider.cs: catch invalid args,
allow non-qualified assembly loading,
warn about empty providers
svn path=/trunk/mcs/; revision=56841
Atsushi Eno [Tue, 14 Feb 2006 03:23:14 +0000 (03:23 -0000)]
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriterTests.cs : numbered some tests and added some comments.
svn path=/trunk/mcs/; revision=56840
Senganal T [Mon, 13 Feb 2006 06:48:38 +0000 (06:48 -0000)]
2006-02-13 Senganal T <tsenganal@novell.com>
* Test/ProviderTests/System.Data.SqlClient/SqlAdapterTest.cs : Added testcases for #77480
* System.Data.Common/DbDataAdapter.cs :
- FillSchema :
- Add table to schema only if MissingSchemaAction is not Ignore
Add schema to table if MissingSchemaAction is set to either of
Add or AddWithKey
- BuildSchema :
- Set the Schema values only if MissingSchemaAction is set to
AddWithKey
svn path=/trunk/mcs/; revision=56830
César Natarén [Sun, 12 Feb 2006 21:57:45 +0000 (21:57 -0000)]
2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
* System.Web.dll.sources: Added XhtmlTextWriter.
* System.Web_test.dll.sources: Added System.Web.UI/XhtmlTextWriterTest.cs.
svn path=/trunk/mcs/; revision=56819
César Natarén [Sun, 12 Feb 2006 21:54:05 +0000 (21:54 -0000)]
2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
* HtmlTextWriterTest.cs: Added test for WriteBreak.
svn path=/trunk/mcs/; revision=56818
César Natarén [Sun, 12 Feb 2006 21:52:45 +0000 (21:52 -0000)]
2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
* HtmlTextWriter.cs: Implemented IsValidFormAttribute and
WriterBreak for the .NET 2.0 profile.
svn path=/trunk/mcs/; revision=56817
Marek Safar [Sun, 12 Feb 2006 20:12:40 +0000 (20:12 -0000)]
Fixed bug number of my last commit
svn path=/trunk/mcs/; revision=56816
Vladimir Krasnov [Sun, 12 Feb 2006 13:30:19 +0000 (13:30 -0000)]
System.Web.vmwcsproj: fixed grasshopper project file
svn path=/trunk/mcs/; revision=56813
Marek Safar [Sat, 11 Feb 2006 22:07:23 +0000 (22:07 -0000)]
Forget to update
svn path=/trunk/mcs/; revision=56812
Marek Safar [Sat, 11 Feb 2006 22:06:42 +0000 (22:06 -0000)]
2006-02-11 Marek Safar <marek.safar@seznam.cz>
* test-491.cs: Test for bug #77485.
svn path=/trunk/mcs/; revision=56811
Marek Safar [Sat, 11 Feb 2006 22:04:17 +0000 (22:04 -0000)]
2006-02-11 Marek Safar <marek.safar@seznam.cz>
A fix for #76957
* class.cs (TypeContainer.DefineType): Cannot use ResolveType because it
contains obsolete attribute check which can in some cases look for base
type of current class which is not initialized yet.
(TypeContainer.BaseType): Replacement of ptype.
* decl.cs (MemberCore.CheckObsoleteType): Reuse existing code.
svn path=/trunk/mcs/; revision=56810
Zoltan Varga [Sat, 11 Feb 2006 21:40:41 +0000 (21:40 -0000)]
2006-02-11 Zoltan Varga <vargaz@gmail.com>
* TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
friends.
svn path=/trunk/mcs/; revision=56809
Zoltan Varga [Sat, 11 Feb 2006 20:35:51 +0000 (20:35 -0000)]
2006-02-11 Zoltan Varga <vargaz@gmail.com>
* TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
size using an icall.
(GetCursorPosition): Convert the row and column to 0 based indexing.
Also fix reading of large values.
(CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
svn path=/trunk/mcs/; revision=56808
Zoltan Varga [Sat, 11 Feb 2006 20:22:25 +0000 (20:22 -0000)]
2006-02-11 Zoltan Varga <vargaz@gmail.com>
* console-io.c (ves_icall_System_ConsoleDriver_GetTtySize): New icall
to obtain the terminal size using an ioctl.
svn path=/trunk/mono/; revision=56807
Atsushi Eno [Sat, 11 Feb 2006 19:21:23 +0000 (19:21 -0000)]
2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : now we can depend on Alejandro's System.Query.dll.
* XElementSequence.cs : implemented (not sure if it works).
* XName.cs : strict null comparison.
* XIterators.cs : (XFilterIterator) check attribute XName as well.
* System.Xml.XLinq.cs : solved FIXMEs.
svn path=/trunk/mcs/; revision=56806
Gert Driesen [Sat, 11 Feb 2006 16:45:52 +0000 (16:45 -0000)]
* SoapAttributeAttribute.cs: Set eol-style to CRLF.
* SoapElementAttribute.cs: Same.
* SoapEnumAttribute.cs: Same.
* SoapIncludeAttribute.cs: Same.
* SoapSchemaMember.cs: Same.
* SoapTypeAttribute.cs: Same.
* XmlArrayAttribute.cs: Same.
* XmlAttributeAttribute.cs: Same.
* XmlChoiceIdentifierAttribute.cs: Same.
* XmlElementAttribute.cs: Same.
* XmlEnumAttribute.cs: Same.
* XmlRootAttribute.cs: Same.
* XmlSchemaImporter.cs: Same.
* XmlTextAttribute.cs: Same.
* XmlTypeAttribute.cs: Same.
* XmlTypeMapping.cs: Same.
* SoapAttributeOverrides.cs: Fixed line endings. Set eol-style to CRLF.
* CodeIdentifiers.cs: Same.
* SoapCodeExporter.cs: Same.
* SoapAttributes.cs: Same.
* SoapIgnoreAttribute.cs: Same.
* SoapSchemaImporter.cs: Same.
* TypeMember.cs: Same.
* UnreferencedObjectEventArgs.cs: Same.
* XmlAnyAttributeAttribute.cs: Same.
* XmlAnyElementAttributes.cs: Same.
* XmlArrayItemAttributes.cs: Same.
* XmlAttributeEventArgs.cs: Same.
* XmlCodeExporter.cs: Same.
* XmlElementAttributes.cs: Same.
* XmlElementEventArgs.cs: Same.
* XmlIgnoreAttribute.cs: Same.
* XmlNamespaceDeclarationsAttribute.cs: Same.
* XmlNodeEventArgs.cs: Same.
* XmlReflectionMember.cs: Same.
* XmlSchemas.cs: Same.
* XmlSerializerNamespaces.cs: Same.
* XmlTypeMapMemberElement.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=56805
Marek Safar [Sat, 11 Feb 2006 16:44:39 +0000 (16:44 -0000)]
Add one more enum test.
svn path=/trunk/mcs/; revision=56804
Marek Safar [Sat, 11 Feb 2006 16:43:25 +0000 (16:43 -0000)]
Update of ignored tests.
svn path=/trunk/mcs/; revision=56803
Marek Safar [Sat, 11 Feb 2006 16:31:12 +0000 (16:31 -0000)]
2006-02-11 Marek Safar <marek.safar@seznam.cz>
First of prerequisites for new partial classs implemention.
* attribute.cs (Attributable): Extended by ResolveContext;
Attributes finally have correct context for resolving in all cases.
(AttachTo): Attribute owner is assigned here.
* codegen.cs (IResolveContext): Introduce new interface to hold
all information needed in resolving phase.
(EmitContext): Implements IResolveContext; more clean-up needed here.
* decl.cs (MemberCore): Implemented IResolveContext.
* anonymous.cs, attribute.cs, class.cs, codegen.cs, const.cs,
decl.cs, ecore.cs, enum.cs, expression.cs, iterators.cs, namespace.cs,
parameter.cs, statement.cs, tree.cs, typemanager.cs:
Refactored to use new IResolveContext instead of EmitContext; clean-up
svn path=/trunk/mcs/; revision=56802
Gert Driesen [Sat, 11 Feb 2006 15:39:17 +0000 (15:39 -0000)]
* XmlRootAttributeTests.cs: Set eol-style to CRLF.
* SoapTypeAttributeTests.cs: Same.
* XmlIncludeAttributeTests.cs: Same.
* XmlTextAttributeTests.cs: Same.
* XmlSerializerTests.cs: Same.
* SoapIncludeAttributeTests.cs: Same.
* XmlSerializationWriterTests.cs: Same.
* XmlElementAttributeTests.cs: Same.
* ComplexDataStructure.cs: Same.
* DeserializerTests.cs: Same.
* SoapElementAttributeTests.cs: Same.
* XmlChoiceIdentifierAttributeTests.cs: Same.
* XmlArrayItemAttributeTests.cs: Same.
* XmlAnyElementAttributeTests.cs: Same.
* XmlAttributesTests.cs: Same.
* XmlAttributeAttributeTests.cs: Same.
* XmlEnumAttributeTests.cs: Same.
* SoapAttributeAttributeTests.cs: Same.
* SoapEnumAttributeTests.cs: Same.
* SoapSchemaMemberTests.cs: Same.
* XmlArrayAttributeTests.cs: Same.
* XmlSerializerTestClasses.cs: Same.
* XmlSchemaImporterTests.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=56801
Gert Driesen [Sat, 11 Feb 2006 14:16:27 +0000 (14:16 -0000)]
* XmlReflectionImporterTests.cs: Added test for IDictionary import. Set eol
style to CRLF.
* SoapReflectionImporterTests.cs: Added test for IDictionary import.
svn path=/trunk/mcs/; revision=56800
Gert Driesen [Sat, 11 Feb 2006 13:50:03 +0000 (13:50 -0000)]
* XmlSerializerTestClasses.cs: Fixed line endings (sigh).
svn path=/trunk/mcs/; revision=56799
Gert Driesen [Sat, 11 Feb 2006 12:52:46 +0000 (12:52 -0000)]
* CodeExporter.cs: Set eol-style to native.
* CodeGenerationOptions.cs: Same.
* CodeIdentifier.cs: Same.
* ImportContext.cs: Same.
* IXmlSerializable.cs: Same.
* IXmlSerializerImplementation.cs: Same.
* IXmlTextParser.cs: Same.
* MapCodeGenerator.cs: Same.
* ReflectionHelper.cs: Same. Fixed line endings.
* SchemaImporter.cs: Same.
* SchemaImporterExtensionCollection.cs: Same.
* SchemaImporterExtension.cs: Same.
* SchemaTypes.cs: Same.
* SerializationCodeGeneratorConfiguration.cs: Same.
* SerializationCodeGenerator.cs: Same.
* SerializationSource.cs: Same.
* SoapReflectionImporter.cs: Same.
* SoapSchemaExporter.cs: Same.
* TypeData.cs: Same.
* TypeTranslator.cs: Same.
* UnreferencedObjectEventHandler.cs: Same.
* XmlAnyElementAttribute.cs: Same.
* XmlArrayItemAttribute.cs: Same.
* XmlAttributeEventHandler.cs: Same.
* XmlAttributeOverrides.cs: Same.
* XmlAttributes.cs: Same.
* XmlDeserializationEvents.cs: Same.
* XmlElementEventHandler.cs: Same.
* XmlIncludeAttribute.cs: Same.
* XmlMapping.cs: Same.
* XmlMemberMapping.cs: Same.
* XmlMembersMapping.cs: Same.
* XmlNodeEventHandler.cs: Same.
* XmlReflectionImporter.cs: Same.
* XmlSchemaExporter.cs: Same.
* XmlSchemaProviderAttribute.cs: Same.
* XmlSerializationCollectionFixupCallback.cs: Same.
* XmlSerialiationFixupCallback.cs: Same.
* XmlSerializationGeneratedCode.cs: Same.
* XmlSerializationReadCallback.cs: Same.
* XmlSerializationReader.cs: Same.
* XmlSerializationReaderInterpreter.cs: Same.
* XmlSerializationWriteCallback.cs: Same.
* XmlSerializationWriterInterpreter.cs: Same.
* XmlSerializerAssemblyAttribute.cs: Same.
* XmlSerializer.cs: Same.
* XmlSerializerFactory.cs: Same.
* XmlSerializerVersionAttribute.cs: Same.
* XmlTypeMapElementInfo.cs: Same.
* XmlTypeMapMemberAttribute.cs: Same.
* XmlTypeMapMember.cs: Same.
* XmlTypeMapMemberNamespaces.cs: Same.
svn path=/trunk/mcs/; revision=56798
Zoltan Varga [Sat, 11 Feb 2006 12:50:25 +0000 (12:50 -0000)]
2006-02-11 Zoltan Varga <vargaz@gmail.com>
* FieldInfoTest.cs: Revert nullable reftype tests.
svn path=/trunk/mcs/; revision=56797
Zoltan Varga [Sat, 11 Feb 2006 12:47:12 +0000 (12:47 -0000)]
2006-02-11 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c mini-x86.h mini-x86.c: Get rid of
MONO_INIT_CONTEXT_FROM_CALLER, and use MONO_INIT_CONTEXT_FROM_FUNC
instead.
svn path=/trunk/mono/; revision=56795
Zoltan Varga [Sat, 11 Feb 2006 12:36:25 +0000 (12:36 -0000)]
2006-02-11 Zoltan Varga <vargaz@gmail.com>
* generics.2.cs: Revert the nullable reftypes tests.
svn path=/trunk/mono/; revision=56794
Zoltan Varga [Sat, 11 Feb 2006 12:35:07 +0000 (12:35 -0000)]
2006-02-11 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_nullable_init): Revert this as nullable reference
types are not valid.
(mono_nullable_box): Ditto.
svn path=/trunk/mono/; revision=56793
Senganal T [Sat, 11 Feb 2006 08:11:30 +0000 (08:11 -0000)]
2006-02-11 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataTableTest.cs : Check AllowDBNull is set to false for PrimaryKey cols.
* Test/System.Data/DataTableTest2.cs : added testcases for bug #77404
* System.Data/UniqueConstraint.cs :
- PostAddRange : Check PrimaryKey is not already set for the table
* System.Data/DataTable.cs :
- PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
- Add new priamry key only when EndInit is called.
- Incase of an error, retain old primarykey
- EndInit :
- Add Constraints after columns are added.
- If both PrimaryKey Property and PrimaryKey Constraint are set,
then the Constraint takes precedence.
fixes bug #77404
svn path=/trunk/mcs/; revision=56786
Jackson Harper [Sat, 11 Feb 2006 00:01:59 +0000 (00:01 -0000)]
* XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
systems).
svn path=/trunk/mcs/; revision=56782
Gonzalo Paniagua Javier [Fri, 10 Feb 2006 23:43:09 +0000 (23:43 -0000)]
2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.Configuration_2.0/Compiler.cs:
* System.Web.Configuration_2.0/CompilerCollection.cs: removed
compatibility code.
* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
GetProviderForExtension().
* System.Web.UI/IThemeResolutionService.cs: this is now added to the
sources file, but some other stuff does not compile yet as the
interface changed after the beta.
* System.Web.UI/ObjectConverter.cs: removed extra attribute.
* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.
* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
commented the 'good' stuff out, since other files need to be fixed
too.
* System.Web.dll.sources: add new files.
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs: only
compile these for pre-2.0 assemblies.
* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
comments/TODO.
* System.Web.Hosting/HostingEnvironment.cs: initialize the
default value for VirtualPathProvider.
* System.Web.Compilation/CompilerType.cs: implemented.
* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.
* System.Web.Compilation/WebServiceCompiler.cs:
* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
instance creation code.
* System.Web.Compilation/ClientBuildManager.cs: implemented some of
its methods. Not yet ready.
* System.Web.Compilation/BuildManager.cs: the more interesting methods
are implemented now.
* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
in case of error.
* System.Web.Compilation/BuildProvider.cs: implemented the
Get*Compiler* protected methods.
svn path=/trunk/mcs/; revision=56781
Zoltan Varga [Fri, 10 Feb 2006 21:32:51 +0000 (21:32 -0000)]
2006-02-10 Zoltan Varga <vargaz@gmail.com>
* Nullable.cs: Add T: struct constraint and fix constructor.
* Array.cs: Fix some methods which previously returned Nullable<T>.
svn path=/trunk/mcs/; revision=56778
Alexander Olk [Fri, 10 Feb 2006 20:40:19 +0000 (20:40 -0000)]
* FileDialog.cs: Added Refresh to RunDialog to fix some drawing
errors
svn path=/trunk/mcs/; revision=56775
Alexander Olk [Fri, 10 Feb 2006 20:38:54 +0000 (20:38 -0000)]
2006-02-10 Alexander Olk <alex.olk@googlemail.com>
* ColorDialog.cs:
- Got rid of the panel. All controls are now directly added to
the dialog form
- Changed to mono coding style
svn path=/trunk/mcs/; revision=56774
Jackson Harper [Fri, 10 Feb 2006 20:24:48 +0000 (20:24 -0000)]
* InternalWindowManager.cs: We don't need the set visibility to
false hack anymore now that peter has written beautiful shutdown
code.
svn path=/trunk/mcs/; revision=56772
Peter Dennis Bartok [Fri, 10 Feb 2006 20:19:37 +0000 (20:19 -0000)]
2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Ignore DestroyNotify messages for windows that
where already explicitly destroyed
svn path=/trunk/mcs/; revision=56771
Jackson Harper [Fri, 10 Feb 2006 19:35:31 +0000 (19:35 -0000)]
* MdiClient.cs: Handle the case where windows are too high or to
the left and we need scrollbars.
svn path=/trunk/mcs/; revision=56769
Gert Driesen [Fri, 10 Feb 2006 18:50:02 +0000 (18:50 -0000)]
* XmlSerializerTests.cs: Numbered some tests.
* DeserializerTests.cs: Added tests for deserialization of enums, and primitive
types container.
svn path=/trunk/mcs/; revision=56768
Atsushi Eno [Fri, 10 Feb 2006 18:45:34 +0000 (18:45 -0000)]
2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs :
Avoid extra AppendValueChar() in ReadWhitespace().
svn path=/trunk/mcs/; revision=56767
Miguel de Icaza [Fri, 10 Feb 2006 17:23:18 +0000 (17:23 -0000)]
Update
svn path=/trunk/mono/; revision=56764
Alexander Olk [Fri, 10 Feb 2006 17:09:27 +0000 (17:09 -0000)]
2006-02-10 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: Added some icons
* FileDialog.cs:
- Fixed bug #77477
- Got rid of the panel. All controls are now directly added to
the dialog form
- Changed to mono coding style
- On Linux "My Computer" and "My Network" will now show some
more usefull information. A new class, MasterMount, gathers
this information from /proc/mount. Updated MWFFileView to make
use of this information
- Fixed a bug that caused FileDialog to crash when
".recently_used" file had a zero size
- FilterIndex does now what it should
- Some Refactoring
* OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
FileDialog changes
svn path=/trunk/mcs/; revision=56763
Atsushi Eno [Fri, 10 Feb 2006 17:06:40 +0000 (17:06 -0000)]
2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
* ASCIIEncoding.cs : (GetChars) reduced either one store or one jump
in IL. 10% performance improvement.
svn path=/trunk/mcs/; revision=56762
Senganal T [Fri, 10 Feb 2006 14:50:55 +0000 (14:50 -0000)]
2006-02-10 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs :
- GetSequentialColumn,BeginLoad, EndLoad,
LoadData, SkipRow, SkipToColumnIndex
New Methods to Support sequential loading of row data
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs :
- Skip : Changed arugment type from int to long.
* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlDataReaderTest.cs :
Added more tests to verify Sequential reading of row data.
* System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest : Corrected a failing testcase.
* System.Data/System.Data.SqlClient/SqlDataReader.cs :
- GetBytes : Read binary/blob/clob data sequentially when
CommandBehavior is set to SequentialAcccess
- GetChars : Read String/clob data sequentially when CommandBehavior
is set to SequentialAccess
* System.Data/System.Data.SqlClient/SqlCommand.cs :
- ExecuteReader : set SequentialAccess property on TDS
- CloseDataReader : Reset the command behavior
svn path=/trunk/mcs/; revision=56757
Joshua Tauberer [Fri, 10 Feb 2006 13:38:38 +0000 (13:38 -0000)]
SqliteDataReader: Made 64bit clean. Patch from Joe Shaw.
svn path=/trunk/mcs/; revision=56755
Zoltan Varga [Fri, 10 Feb 2006 11:42:58 +0000 (11:42 -0000)]
2006-02-10 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (MONO_INIT_CONTEXT_FROM_CALLER): Avoid
using __builtin_frame_address (1) as it doesn't work in the presence
of optimizations. Hopefully fixes #77273.
svn path=/trunk/mono/; revision=56753
Zoltan Varga [Fri, 10 Feb 2006 11:37:44 +0000 (11:37 -0000)]
2006-02-10 Zoltan Varga <vargaz@gmail.com>
* Makefile.am generics.cs generics.2.cs: Revert the generics.2.cs
-> generics.cs change as it doesn't work with some automake versions.
svn path=/trunk/mono/; revision=56752
Martin Baulig [Fri, 10 Feb 2006 10:19:57 +0000 (10:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=56750
Martin Baulig [Fri, 10 Feb 2006 10:18:24 +0000 (10:18 -0000)]
2006-02-10 Martin Baulig <martin@ximian.com>
* typemanager.cs
(TypeManager.IsOverride): Make this work for instantiated methods
in a generic class; fixes #77509.
(TypeManager.ExpandInterfaces): Use TypeManager.GetInterfaces()
rather than calling it directly; fixes #77488.
svn path=/trunk/mcs/; revision=56749
Martin Baulig [Fri, 10 Feb 2006 09:17:47 +0000 (09:17 -0000)]
2006-02-10 Martin Baulig <martin@ximian.com>
* Comparer.cs
(IComparableOfTComparer): `T' must implement `IComparable<T>' and
not `IComparable'.
svn path=/trunk/mcs/; revision=56747
Ankit Jain [Fri, 10 Feb 2006 08:38:34 +0000 (08:38 -0000)]
In ilasm/codegen:
* CodeGen.cs (CodeGen.ResolveMethod): Throw exception if global method
not found.
(CodeGen.ResolveField): Likewise for global field.
In ilasm/errors:
* err-global.il, err-global2.il: New. Tests for refs to non-existant
global method/field.
svn path=/trunk/mcs/; revision=56746
Carlos Alberto Cortez [Fri, 10 Feb 2006 08:03:16 +0000 (08:03 -0000)]
2006-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialError.cs:
* SerialData.cs:
* SerialPinChange.cs: New enums.
svn path=/trunk/mcs/; revision=56745
Miguel de Icaza [Fri, 10 Feb 2006 01:20:37 +0000 (01:20 -0000)]
2006-02-09 Miguel de Icaza <miguel@novell.com>
* Monitor.cs: Patch from Thong Nguyen, Wait (.., Timeout) method
should allow a -1 (Timeout.Infinite) to mean indefinite wait (the
code already supported this.
Removed also a LAMESPEC for missing argument checking in Wait with
the int argument.
Fixed the use of exceptions.
svn path=/trunk/mcs/; revision=56742