Vladimir Krasnov [Thu, 17 Nov 2005 15:12:14 +0000 (15:12 -0000)]
* ColorConverter.cs: fixed ConvertFrom, to be able to convert from three digit notation color (#abc)
svn path=/trunk/mcs/; revision=53182
Vladimir Krasnov [Thu, 17 Nov 2005 15:09:06 +0000 (15:09 -0000)]
XmlSerializationReaderInterpreter.cs: fixed ReadEnumElement method, ReadEndElement should check XmlNodeType.
XmlTypeMapping.cs: fixed GetXmlName method, it should not write zero as default enum value.
svn path=/trunk/mcs/; revision=53181
Vladimir Krasnov [Thu, 17 Nov 2005 14:57:06 +0000 (14:57 -0000)]
XmlInputStream.cs: fixed Initialize method to be able to read unicode file without BOM. TARGET_JVM only.
svn path=/trunk/mcs/; revision=53180
Sebastien Pouliot [Thu, 17 Nov 2005 13:41:12 +0000 (13:41 -0000)]
Add unit/CAS tests (and some code) for System.Threading
svn path=/trunk/mcs/; revision=53179
Sebastien Pouliot [Thu, 17 Nov 2005 13:40:18 +0000 (13:40 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* Semaphore.cs: New (2.0). Incomplete (missing runtime support).
* SemaphoreFullException.cs: New (2.0).
svn path=/trunk/mcs/; revision=53178
Sebastien Pouliot [Thu, 17 Nov 2005 13:38:46 +0000 (13:38 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* SemaphoreCas.cs: New. CAS tests for Semaphore (2.0).
* SemaphoreFullExceptionCas.cs: New. CAS unit tests (2.0).
* SemaphoreTest.cs: New. Unit tests for Semaphore (2.0).
* ThreadExceptionEventArgsCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=53177
Sebastien Pouliot [Thu, 17 Nov 2005 13:38:20 +0000 (13:38 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* SemaphoreRights.cs: New (2.0). Enum of all the rights applicable to
semaphores.
* SemaphoreSecurity.cs: New (2.0). Very incomplete - to allow the
Semaphore to compile.
svn path=/trunk/mcs/; revision=53176
Sebastien Pouliot [Thu, 17 Nov 2005 13:38:04 +0000 (13:38 -0000)]
Add System.Threading.WaitHandleCannotBeOpenedException (2.0) to the build
svn path=/trunk/mcs/; revision=53175
Sebastien Pouliot [Thu, 17 Nov 2005 13:37:33 +0000 (13:37 -0000)]
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* WaitHandleCannotBeOpenedException.cs: New (2.0). Is required to
compile the Semaphore tests (in System.dll).
svn path=/trunk/mcs/; revision=53174
Raja R Harinath [Thu, 17 Nov 2005 13:32:13 +0000 (13:32 -0000)]
Update.
svn path=/trunk/mcs/; revision=53173
Sebastien Pouliot [Thu, 17 Nov 2005 12:57:45 +0000 (12:57 -0000)]
fix build
svn path=/trunk/mcs/; revision=53172
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:08:23 +0000 (12:08 -0000)]
removed executable property
svn path=/trunk/mcs/; revision=53171
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:04:07 +0000 (12:04 -0000)]
new files
svn path=/trunk/mcs/; revision=53170
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:03:25 +0000 (12:03 -0000)]
2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerPrefixCollection.cs:
* EndPointListener.cs:
* HttpStreamAsyncResult.cs:
* HttpListenerContext.cs:
* HttpListenerBasicIdentity.cs:
* AuthenticationSchemeSelector.cs:
* HttpListener.cs:
* WebHeaderCollection.cs:
* ListenerPrefix.cs:
* HttpListenerException.cs:
* HttpResponseHeader.cs:
* EndPointManager.cs:
* HttpListenerRequest.cs:
* HttpRequestHeader.cs:
* BindIPEndPoint.cs:
* ResponseStream.cs:
* ChunkedInputStream.cs:
* HttpStatusCode.cs:
* ListenerAsyncResult.cs:
* ChunkStream.cs:
* HttpConnection.cs:
* HttpUtility.cs:
* HttpListenerResponse.cs:
* RequestStream.cs: initial implementation of HttpListener. There are
a few TODOs left (cookies, HTTPS) but almost everything else is in.
svn path=/trunk/mcs/; revision=53169
Gonzalo Paniagua Javier [Thu, 17 Nov 2005 12:00:37 +0000 (12:00 -0000)]
2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerPrefixCollectionTest.cs:
* HttpListenerTest.cs:
* HttpListenerBasicIdentityTest.cs:
* HttpListener2Test.cs: tests for HttpListener and related classes.
svn path=/trunk/mcs/; revision=53168
Raja R Harinath [Thu, 17 Nov 2005 11:48:02 +0000 (11:48 -0000)]
* ColorMatrix.cs: Make it have Sequential layout.
Fixes 'make check', and also corcompare.
svn path=/trunk/mcs/; revision=53167
Zoltan Varga [Thu, 17 Nov 2005 10:57:32 +0000 (10:57 -0000)]
2005-11-17 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_ptr_to_object_conv): Get rid of the 'usize' and
'msize' parameters, use the information in 'mspec' instead.
(emit_object_to_ptr_conv): Ditto.
* marshal.c (emit_struct_conv): Handle explicit layout structs with
fields out of order. Fixes #76733.
svn path=/trunk/mono/; revision=53165
Ankit Jain [Thu, 17 Nov 2005 10:11:15 +0000 (10:11 -0000)]
* get.c (dis_stringify_type): Escape generic type parameter names.
svn path=/trunk/mono/; revision=53162
Ankit Jain [Thu, 17 Nov 2005 10:07:28 +0000 (10:07 -0000)]
* get.c (str_escape): New. Escape a given list of characters.
(get_escaped_name): Escape ' and \ using str_escape, and
allow ` .
svn path=/trunk/mono/; revision=53161
Ankit Jain [Thu, 17 Nov 2005 09:56:55 +0000 (09:56 -0000)]
* metadata.c (mono_type_create_from_typespec_full): Remove unnecessary g_assert.
svn path=/trunk/mono/; revision=53160
Miguel de Icaza [Thu, 17 Nov 2005 05:34:10 +0000 (05:34 -0000)]
Auto detect SQLite installation, and go from 2 to 3 if needed
svn path=/trunk/mcs/; revision=53157
John Luke [Thu, 17 Nov 2005 01:13:45 +0000 (01:13 -0000)]
add swf/win32 version of snippets
svn path=/trunk/mcs/; revision=53156
Atsushi Eno [Wed, 16 Nov 2005 23:21:37 +0000 (23:21 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : the previous patch does not actually fix the bug.
PropertyInfo override check is now implemented and really fixed it.
* expression.cs : Invocation.IsAncestralType() is used from doc.cs.
* test-xml-048-ref.xml test-xml-048.cs : test for bug #76730
(works with gmcs).
svn path=/trunk/mcs/; revision=53152
John Luke [Wed, 16 Nov 2005 23:13:56 +0000 (23:13 -0000)]
add image related snippets,
fix fill_and_stroke*
svn path=/trunk/mcs/; revision=53151
Atsushi Eno [Wed, 16 Nov 2005 22:47:05 +0000 (22:47 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : apply "override filter" also to properties.
Fixed bug #76730.
* test-xml-047-ref.xml test-xml-047.cs :
Another override filtering test (works with gmcs).
* cs1574-7.cs : fixed code format ("Line") to make it working.
* cs0419-3.cs : new test for ambiguity resolution.
* known-issues-gmcs : actually cs1574-7.cs is kind of regression,
thus no need to be added here.
svn path=/trunk/mcs/; revision=53150
John Luke [Wed, 16 Nov 2005 22:34:17 +0000 (22:34 -0000)]
fix the bg color
svn path=/trunk/mcs/; revision=53149
John Luke [Wed, 16 Nov 2005 21:13:25 +0000 (21:13 -0000)]
add the gtk version of snippets
svn path=/trunk/mcs/; revision=53145
John Luke [Wed, 16 Nov 2005 20:03:39 +0000 (20:03 -0000)]
add snippets port for testing
svn path=/trunk/mcs/; revision=53144
Atsushi Eno [Wed, 16 Nov 2005 20:01:34 +0000 (20:01 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* MonoMethod.cs : made MakeGenericMethod() indirect icall to
MakeGenericMethod_impl() and raise an error when it returns null.
* MethodInfoTest.cs : added MakeGenericMethod test for #76575.
svn path=/trunk/mcs/; revision=53143
Atsushi Eno [Wed, 16 Nov 2005 20:01:02 +0000 (20:01 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* icall.c : renamed MakeGenericMethod -> MakeGenericMethod_impl for
bug #76575.
svn path=/trunk/mono/; revision=53142
Atsushi Eno [Wed, 16 Nov 2005 19:55:51 +0000 (19:55 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : renamed FindMembers() to FindMethodBase(). For interfaces,
no need to check overrides. For classes, omit those results from
interfaces since they must exist in the class. Fixed bug #76726.
* test-xml-046-ref.xml test-xml-046.cs : new test for bug #76726.
* known-issues-gmcs : added above.
* cs1574-7.cs : new test to warn doc reference to interface members
which is not exposed publicly.
* known-issues-gmcs : added above.
svn path=/trunk/mcs/; revision=53141
Atsushi Eno [Wed, 16 Nov 2005 18:56:56 +0000 (18:56 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* UTF8Encoding.cs : safer UTF8Decoder ctor.
svn path=/trunk/mcs/; revision=53140
Sebastien Pouliot [Wed, 16 Nov 2005 18:55:02 +0000 (18:55 -0000)]
Add unit tests for TimersDescriptionAttribute to the build
svn path=/trunk/mcs/; revision=53139
Sebastien Pouliot [Wed, 16 Nov 2005 18:54:27 +0000 (18:54 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* TimersDescriptionAttributeCas.cs: Updated comments (thanks to Gert
Driesen for the solution).
* TimersDescriptionAttributeTest.cs: New. Unit tests to show that the
description string is a resource name (and not the description itself)
svn path=/trunk/mcs/; revision=53138
Atsushi Eno [Wed, 16 Nov 2005 18:37:52 +0000 (18:37 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* Decoder.cs : added FallbackBuffer property.
* UTF8Encoding.cs : In NET_2_0, use DecoderFallbackBuffer instead of
"throwOnInvalid".
* UTF8EncodingTest.cs : Simply replaced all ArgumentException with
switched alias (it is DecodefFallbackException in NET_2_0).
svn path=/trunk/mcs/; revision=53137
Vladislav Spivak [Wed, 16 Nov 2005 18:02:03 +0000 (18:02 -0000)]
net_1_1_java additions
svn path=/trunk/mcs/; revision=53136
Vladislav Spivak [Wed, 16 Nov 2005 18:00:34 +0000 (18:00 -0000)]
net_1_1_java includes
svn path=/trunk/mcs/; revision=53135
Vladislav Spivak [Wed, 16 Nov 2005 17:45:15 +0000 (17:45 -0000)]
Handle pdb's copy
svn path=/trunk/mcs/; revision=53134
Konstantin Triger [Wed, 16 Nov 2005 17:42:37 +0000 (17:42 -0000)]
open a correct stream.
svn path=/trunk/mcs/; revision=53133
Konstantin Triger [Wed, 16 Nov 2005 16:48:38 +0000 (16:48 -0000)]
refactoring.
svn path=/trunk/mcs/; revision=53129
Vladislav Spivak [Wed, 16 Nov 2005 16:42:54 +0000 (16:42 -0000)]
making net_1_1_java profile targets be local
svn path=/trunk/mcs/; revision=53128
Konstantin Triger [Wed, 16 Nov 2005 15:49:36 +0000 (15:49 -0000)]
throw exception if invalid params.
svn path=/trunk/mcs/; revision=53125
Sebastien Pouliot [Wed, 16 Nov 2005 15:38:55 +0000 (15:38 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* TimersDescriptionAttributeCas.cs: Fixed test as the Description
property doesn't always returns null (exact conditions unknown).
svn path=/trunk/mcs/; revision=53124
Sebastien Pouliot [Wed, 16 Nov 2005 15:38:47 +0000 (15:38 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* TimersDescriptionAttribute.cs: Revert Description property fix
because it doesn't always returns null (exact conditions unknown).
svn path=/trunk/mcs/; revision=53123
Vladislav Spivak [Wed, 16 Nov 2005 15:20:02 +0000 (15:20 -0000)]
Typo
svn path=/trunk/mcs/; revision=53122
Atsushi Eno [Wed, 16 Nov 2005 14:29:36 +0000 (14:29 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* known-issues-gmcs : added cs0419-2.cs
svn path=/trunk/mcs/; revision=53121
Sebastien Pouliot [Wed, 16 Nov 2005 14:28:17 +0000 (14:28 -0000)]
Add CAS tests for System.Timers and System.Web namespaces
svn path=/trunk/mcs/; revision=53120
Sebastien Pouliot [Wed, 16 Nov 2005 14:27:38 +0000 (14:27 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* ElapsedEventArgsCas.cs: New. CAS unit tests.
* TimerCas.cs: New. CAS unit tests.
* TimersDescriptionAttributeCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=53119
Sebastien Pouliot [Wed, 16 Nov 2005 14:26:14 +0000 (14:26 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* ElapsedEventHandler.cs: Remove [Serializable] from 2.0 profile.
* Timer.cs: Add [Browsable(false)] to SynchronizingObject property for
2.0 profile.
* TimersDescriptionAttribute.cs: Description always returns null.
svn path=/trunk/mcs/; revision=53118
Sebastien Pouliot [Wed, 16 Nov 2005 14:11:10 +0000 (14:11 -0000)]
2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
* AspNetHostingPermissionAttributeCas.cs: New. CAS unit tests.
* AspNetHostingPermissionCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=53117
Eyal Alalouf [Wed, 16 Nov 2005 13:35:02 +0000 (13:35 -0000)]
Workaround compiler crash when using csc in java profile.
svn path=/trunk/mcs/; revision=53114
Zoltan Varga [Wed, 16 Nov 2005 13:32:06 +0000 (13:32 -0000)]
2005-11-16 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_compute_gc_descriptor): Disable typed allocation
for types with non-auto layout. Fixes #76717.
svn path=/trunk/mono/; revision=53113
Ankit Jain [Wed, 16 Nov 2005 13:28:47 +0000 (13:28 -0000)]
* class.c (my_mono_class_from_generic_parameter): param->owner can be null.
* metadata.c (mono_metadata_parse_generic_param): Create a dummy MonoGenericParam
if generic_context is null.
(mono_metadata_generic_param_equal): param->owner can be null.
(mono_type_create_from_typespec_full): Don't cache the MonoType if param->owner is
null.
svn path=/trunk/mono/; revision=53112
Zoltan Varga [Wed, 16 Nov 2005 13:23:12 +0000 (13:23 -0000)]
2005-11-16 Zoltan Varga <vargaz@gmail.com>
* reflection.c (create_dynamic_mono_image): Set md_version_minor to
the correct value.
svn path=/trunk/mono/; revision=53111
Atsushi Eno [Wed, 16 Nov 2005 13:19:09 +0000 (13:19 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* known-issues-gmcs : Forgot to add test-xml-045.cs.
svn path=/trunk/mcs/; revision=53110
Atsushi Eno [Wed, 16 Nov 2005 11:43:04 +0000 (11:43 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* GB18030Encoding.cs : check GB2312 first, and then check GB18030.
Fixed GB18030 part of bug #76722.
svn path=/trunk/mcs/; revision=53108
Vladislav Spivak [Wed, 16 Nov 2005 11:24:57 +0000 (11:24 -0000)]
svn path=/trunk/mcs/; revision=53107
Atsushi Eno [Wed, 16 Nov 2005 11:11:04 +0000 (11:11 -0000)]
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* GB2312Convert.cs , CP936.cs, GB18030Encoding.cs : don't handle
single byte characters in UcsToGbk. Fixed GB2312 part of #76722.
svn path=/trunk/mcs/; revision=53106
Vladislav Spivak [Wed, 16 Nov 2005 10:37:30 +0000 (10:37 -0000)]
Source exclusion updated
svn path=/trunk/mcs/; revision=53105
Vladislav Spivak [Wed, 16 Nov 2005 10:36:06 +0000 (10:36 -0000)]
Patched to ignore trailing spaces
svn path=/trunk/mcs/; revision=53104
Raja R Harinath [Wed, 16 Nov 2005 10:28:50 +0000 (10:28 -0000)]
Revert SVN r53054
svn path=/trunk/mcs/; revision=53103
Boris Kirzner [Wed, 16 Nov 2005 10:18:00 +0000 (10:18 -0000)]
TARGET_JVM fix. Throw exception if MSSQL port resolution failed.
svn path=/trunk/mcs/; revision=53102
Konstantin Triger [Wed, 16 Nov 2005 10:02:39 +0000 (10:02 -0000)]
fix for custom font collection
svn path=/trunk/mcs/; revision=53101
Vladimir Krasnov [Wed, 16 Nov 2005 09:30:02 +0000 (09:30 -0000)]
XmlReflectionImporter.cs: fixed field order returned by
reflection in method GetReflectionMembers. TARGET_JVM only.
svn path=/trunk/mcs/; revision=53100
Mike Kestner [Wed, 16 Nov 2005 02:20:04 +0000 (02:20 -0000)]
2005-11-15 Mike Kestner <mkestner@novell.com>
* Menu.cs: when adding an item to the collection, if item is already
parented, remove it from the parent.
svn path=/trunk/mcs/; revision=53098
Sebastien Pouliot [Tue, 15 Nov 2005 22:18:26 +0000 (22:18 -0000)]
2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
* Uri.cs: Temporary fix for monodoc (which current Uri system won't
work under 2.0).
2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
svn path=/trunk/mcs/; revision=53093
Atsushi Eno [Tue, 15 Nov 2005 22:13:03 +0000 (22:13 -0000)]
2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
* corlib_test.dll.sources:
Added EncoderReplacementFallbackBudderTest.cs.
* DecoderReplacementFallbackBuffer.cs : it does not have to preserve
byte buffer.
* EncoderReplacementFallbackBuffer.cs : implemented.
* DecoderReplacementFallback.cs, EncoderReplacementFallback.cs :
Removed MonoTODO.
* EncoderReplacementFallbackBufferTest.cs : new test (it's weird, but
mostly identical to DecoderReplacementFallbackBufferTest...)
svn path=/trunk/mcs/; revision=53092
Atsushi Eno [Tue, 15 Nov 2005 22:04:32 +0000 (22:04 -0000)]
2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
* typemanager.cs : (GetFullNameSignature) differentiate indexers
with different parameters. Fixed the second problem in #76685.
* cs0419-2.cs : test to check error message problem in #76685.
svn path=/trunk/mcs/; revision=53091
Atsushi Eno [Tue, 15 Nov 2005 22:00:53 +0000 (22:00 -0000)]
2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : (FindDocumentedMember) pass invocation_type as well (to
get expected 'protected' access in CheckValidFamilyAccess()).
Fixed bug #76692.
* test-xml-045-ref.xml test-xml-045.cs : new test for bug #76692.
svn path=/trunk/mcs/; revision=53090
Sebastien Pouliot [Tue, 15 Nov 2005 20:18:04 +0000 (20:18 -0000)]
2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
* UriTest2.cs: Added some new test cases for old (and now fixed) Uri
bugs - #76146 and #76659. May they never surface again...
svn path=/trunk/mcs/; revision=53087
Zoltan Varga [Tue, 15 Nov 2005 18:29:13 +0000 (18:29 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* RuntimeHelpers.cs: Really fix build.
svn path=/trunk/mcs/; revision=53081
Martin Baulig [Tue, 15 Nov 2005 18:07:09 +0000 (18:07 -0000)]
2005-11-15 Martin Baulig <martin@ximian.com>
* object.c (set_value): Use mono_class_from_mono_type() instead of
the hack for generic instances; fixes #76136.
svn path=/trunk/mono/; revision=53080
Martin Baulig [Tue, 15 Nov 2005 18:06:08 +0000 (18:06 -0000)]
New test.
svn path=/trunk/mcs/; revision=53079
Atsushi Eno [Tue, 15 Nov 2005 17:34:20 +0000 (17:34 -0000)]
2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
* corlib_test.dll.sources:
Added DecoderReplacementFallbackBudderTest.cs.
* DecoderFallbackBuffer.cs : Reset() does nothing here.
* DecoderReplacementFallbackBuffer.cs : implemented, but no idea how
bytesUnknown is used.
* DecoderReplacementFallbackBufferTest.cs : new test.
svn path=/trunk/mcs/; revision=53077
Zoltan Varga [Tue, 15 Nov 2005 16:58:34 +0000 (16:58 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* RuntimeHelper.cs: Fix build.
svn path=/trunk/mcs/; revision=53075
Zoltan Varga [Tue, 15 Nov 2005 16:44:49 +0000 (16:44 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* RuntimeHelpers.cs: Make this class static in 2.0.
svn path=/trunk/mcs/; revision=53074
Sebastien Pouliot [Tue, 15 Nov 2005 16:41:33 +0000 (16:41 -0000)]
Correct signatures
svn path=/trunk/mcs/; revision=53073
Zoltan Varga [Tue, 15 Nov 2005 16:37:06 +0000 (16:37 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Readd NewConstraintAttribute.cs as gmcs depends on it.
svn path=/trunk/mcs/; revision=53072
Zoltan Varga [Tue, 15 Nov 2005 16:35:20 +0000 (16:35 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* NewConstraintAttribute.cs: Re-add this as gmcs depends on it.
svn path=/trunk/mcs/; revision=53071
Sebastien Pouliot [Tue, 15 Nov 2005 15:42:39 +0000 (15:42 -0000)]
Add new (2.0) System.Uri related classes and a lot of tests (unit and CAS) for them
svn path=/trunk/mcs/; revision=53070
Sebastien Pouliot [Tue, 15 Nov 2005 15:41:05 +0000 (15:41 -0000)]
2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
* FileStyleUriParserCas.cs: New. CAS unit tests.
* FileStyleUriParserTest.cs: New. Unit tests.
* FtpStyleUriParserCas.cs: New. CAS unit tests.
* FtpStyleUriParserTest.cs: New. Unit tests.
* GenericUriParserCas.cs: New. CAS unit tests.
* GenericUriParserTest.cs: New. Unit tests.
* GopherStyleUriParserCas.cs: New. CAS unit tests.
* GopherStyleUriParserTest.cs: New. Unit tests.
* HttpStyleUriParserCas.cs: New. CAS unit tests.
* HttpStyleUriParserTest.cs: New. Unit tests.
* LdapStyleUriParserCas.cs: New. CAS unit tests.
* LdapStyleUriParserTest.cs: New. Unit tests.
* NetPipeStyleUriParserCas.cs: New. CAS unit tests.
* NetPipeStyleUriParserTest.cs: New. Unit tests.
* NetTcpStyleUriParserCas.cs: New. CAS unit tests.
* NetTcpStyleUriParserTest.cs: New. Unit tests.
* NewsStyleUriParserCas.cs: New. CAS unit tests.
* NewsStyleUriParserTest.cs: New. Unit tests.
* UriBuilderCas.cs: Fixed line-endings.
* UriCas.cs: New. CAS unit tests.
* UriParserCas.cs: New. CAS unit tests.
* UriParserTest.cs: New. Unit tests.
* UriTest2.cs: Added some new test cases.
* UriTest3.cs: New. Unit tests for new 2.0 stuff in Uri.
* UriTest.cs: Updated and fixed (1.x/2.0 diffs) test cases.
svn path=/trunk/mcs/; revision=53069
Zoltan Varga [Tue, 15 Nov 2005 15:36:54 +0000 (15:36 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* RuntimeHelpers.cs: Net 2.0 RTM updates.
svn path=/trunk/mcs/; revision=53068
Sebastien Pouliot [Tue, 15 Nov 2005 15:36:52 +0000 (15:36 -0000)]
2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
* FileStyleUriParser.cs: New. 2.0 Uri parser class.
* FtpStyleUriParser.cs: New. 2.0 Uri parser class.
* GenericUriParser.cs: New. 2.0 Uri parser class.
* GopherStyleUriParser.cs: New. 2.0 Uri parser class.
* HttpStyleUriParser.cs: New. 2.0 Uri parser class.
* LdapStyleUriParser.cs: New. 2.0 Uri parser class.
* NetPipeStyleUriParser.cs: New. 2.0 Uri parser class.
* NetTcpStyleUriParser.cs: New. 2.0 Uri parser class.
* NewsStyleUriParser.cs: New. 2.0 Uri parser class.
* Uri.cs: Lots of small fixes for both 1.x and 2.0. Some *big* bugs
in 1.x (fixed in 2.0) aren't fixed for Mono (and probably never will).
This class still needs to be refactored to be usable with the new
parsers.
* UriParser.cs: New. 2.0 Uri parser base class.
svn path=/trunk/mcs/; revision=53067
Sebastien Pouliot [Tue, 15 Nov 2005 15:32:36 +0000 (15:32 -0000)]
2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
* IPv6Address.cs: Added on overload to ToString to get a the full
length address returned (as required by System.Uri).
svn path=/trunk/mcs/; revision=53066
Sebastien Pouliot [Tue, 15 Nov 2005 15:31:13 +0000 (15:31 -0000)]
2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
* IPAddressTest.cs: Fixed an LoopbackIPv6 test case (missing '[') that
doesn't work on either MS 1.x or 2.0 (and won't work for long on Mono)
svn path=/trunk/mcs/; revision=53065
Zoltan Varga [Tue, 15 Nov 2005 15:21:08 +0000 (15:21 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* AssemblyTest.cs: Fix build.
svn path=/trunk/mcs/; revision=53064
Zoltan Varga [Tue, 15 Nov 2005 15:14:05 +0000 (15:14 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* NewConstraintAttribute.cs SuppressMergeCheckAttribute.cs: Remove
obsolete net 2.0 classes.
svn path=/trunk/mcs/; revision=53063
Zoltan Varga [Tue, 15 Nov 2005 15:13:03 +0000 (15:13 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Remove obsolete net 2.0 classes.
svn path=/trunk/mcs/; revision=53062
Vladislav Spivak [Tue, 15 Nov 2005 15:08:43 +0000 (15:08 -0000)]
svn path=/trunk/mcs/; revision=53061
Zoltan Varga [Tue, 15 Nov 2005 14:48:08 +0000 (14:48 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* Module.cs: Add MDStreamVersion property.
svn path=/trunk/mcs/; revision=53060
Zoltan Varga [Tue, 15 Nov 2005 14:47:21 +0000 (14:47 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* metadata-internals.h (_MonoImage): Add 'md_version_major/minor'
fields.
* image.c (load_metadata_ptrs): Initialize the new fields.
* reflection.c (create_dynamic_mono_image): Ditto.
* reflection.c (build_compressed_metadata): Use the new fields.
* icall.c (ves_icall_System_Reflection_Module_get_MDStreamVersion): New
icall.
* icall.c (mono_assembly_icalls): Remove obsolete get_MetadataToken
icall.
svn path=/trunk/mono/; revision=53059
Martin Baulig [Tue, 15 Nov 2005 14:30:40 +0000 (14:30 -0000)]
New test.
svn path=/trunk/mcs/; revision=53058
Martin Baulig [Tue, 15 Nov 2005 14:30:22 +0000 (14:30 -0000)]
2005-11-15 Martin Baulig <martin@ximian.com>
* anonymous.cs (ScopeInfo.ScopeType): New public field; use this
instead of `ScopeTypeBuilder' to refer to the "current" type.
(AnonymousMethod.CreateScopeType): Correctly create the helper
class if we're inside a generic type definition.
svn path=/trunk/mcs/; revision=53057
Vladislav Spivak [Tue, 15 Nov 2005 14:11:45 +0000 (14:11 -0000)]
svn path=/trunk/mcs/; revision=53056
Zoltan Varga [Tue, 15 Nov 2005 14:06:42 +0000 (14:06 -0000)]
2005-11-15 Zoltan Varga <vargaz@gmail.com>
* Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
CustomAttributeData.cs PortableExecutableKinds.cs
ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
updates.
svn path=/trunk/mcs/; revision=53055
Vladislav Spivak [Tue, 15 Nov 2005 12:56:51 +0000 (12:56 -0000)]
svn path=/trunk/mcs/; revision=53054
Vladislav Spivak [Tue, 15 Nov 2005 12:55:23 +0000 (12:55 -0000)]
svn path=/trunk/mcs/; revision=53053
Atsushi Eno [Tue, 15 Nov 2005 12:47:46 +0000 (12:47 -0000)]
2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
* Encoding.cs : added ICloneable, Clone() and new GetEncoding().
svn path=/trunk/mcs/; revision=53052
Vladislav Spivak [Tue, 15 Nov 2005 12:15:22 +0000 (12:15 -0000)]
svn path=/trunk/mcs/; revision=53051
Atsushi Eno [Tue, 15 Nov 2005 12:12:12 +0000 (12:12 -0000)]
2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
* corlib_test.dll.sources: added new tests for
DecoderReplacementFallback and EncoderReplacementFallback.
* Encoding.cs : Added IsReadOnly, DecoderFallback and EncoderFallback.
* Encoder.cs : Added Fallback property.
* Decoder.cs : Added Fallback property.
* TestEncoding.cs,
DecoderReplacementFallbackTest.cs,
EncoderReplacementFallbackTest.cs : new 2.0 tests.
svn path=/trunk/mcs/; revision=53050