mono.git
15 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 16:07:53 +0000 (16:07 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : actually it had to fill all of
  the interface methods (and implementation methods).

* ContractDescriptionTest.cs : make sure the contract actually
  contains operations from the base types.

svn path=/trunk/mcs/; revision=137307

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 16:05:40 +0000 (16:05 -0000)]
2009-07-02  Marek Safar <marek.safar@gmail.com>

* CSharpConversionKind.cs, CSharpArgumentInfo.cs,
CSharpInvokeMemberBinder.cs, CSharpCallFlags.cs: New files.

svn path=/trunk/mcs/; revision=137305

15 years agooops
Jb Evain [Thu, 2 Jul 2009 14:34:16 +0000 (14:34 -0000)]
oops

svn path=/trunk/mcs/; revision=137301

15 years agogrr
Jb Evain [Thu, 2 Jul 2009 13:42:37 +0000 (13:42 -0000)]
grr

svn path=/trunk/mcs/; revision=137296

15 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 13:05:39 +0000 (13:05 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexChannelBase.cs : some more async methods.

svn path=/trunk/mcs/; revision=137292

15 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 12:59:32 +0000 (12:59 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : do not reject derived service
  contract from another service contract type.

* ContractDescriptionTest.cs : added test for derived contract type.

svn path=/trunk/mcs/; revision=137288

15 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 12:55:33 +0000 (12:55 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: fix cecil's location.

svn path=/trunk/mcs/; revision=137287

15 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 12:54:50 +0000 (12:54 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: fix cecil's location.

svn path=/trunk/mcs/; revision=137286

15 years agoNew test.
Marek Safar [Thu, 2 Jul 2009 12:31:00 +0000 (12:31 -0000)]
New test.

svn path=/trunk/mcs/; revision=137285

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 12:28:33 +0000 (12:28 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* generic.cs: Handle type inference of identical type parameters
with different bounds.

svn path=/trunk/mcs/; revision=137284

15 years agoFlush.
Marek Safar [Thu, 2 Jul 2009 12:21:47 +0000 (12:21 -0000)]
Flush.

svn path=/trunk/mcs/; revision=137283

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 12:17:02 +0000 (12:17 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add System.Dynamic.

svn path=/trunk/mcs/; revision=137282

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 12:13:06 +0000 (12:13 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Makefile: Initial commit.

svn path=/trunk/mcs/; revision=137281

15 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 11:59:18 +0000 (11:59 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* scripts/Makefile.am: monolinker is now a 2.0 assembly.

svn path=/trunk/mono/; revision=137280

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:57:13 +0000 (11:57 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* net_4_0_System.Core.dll.sources: New file.

svn path=/trunk/mcs/; revision=137278

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:50:24 +0000 (11:50 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Initial import, revision 25679.

svn path=/trunk/mcs/; revision=137277

15 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 11:48:59 +0000 (11:48 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: adjust to the linker build change.

svn path=/trunk/mcs/; revision=137276

15 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 11:48:38 +0000 (11:48 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: build the linker and the tuner in the net_2_0 profile.

svn path=/trunk/mcs/; revision=137275

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:26:51 +0000 (11:26 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* ConditionalWeakTable.cs: New file.

svn path=/trunk/mcs/; revision=137274

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:19:09 +0000 (11:19 -0000)]
2009-07-02  Marek Safar <marek.safar@gmail.com>

* StrongBox_T.cs: Add 4.0 bits.

svn path=/trunk/mcs/; revision=137273

15 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:07:29 +0000 (11:07 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Type.cs, AppDomain.cs: 4.0 bits.

svn path=/trunk/mcs/; revision=137271

15 years agoadd test
Jb Evain [Thu, 2 Jul 2009 10:58:16 +0000 (10:58 -0000)]
add test

svn path=/trunk/mcs/; revision=137269

15 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 10:29:59 +0000 (10:29 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : when service instance is provided to the
  ServiceHost, do not reject Type-less state.

svn path=/trunk/mcs/; revision=137266

15 years ago2009-07-02 jonas echterhoff <jonas@unity3d.com>
jonas [Thu, 2 Jul 2009 07:59:30 +0000 (07:59 -0000)]
2009-07-02  jonas echterhoff <jonas@unity3d.com>

svn path=/trunk/mono/; revision=137261

15 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:44:14 +0000 (07:44 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* X509Certificate2.cs:
* X509Chain.cs: changes to make everything compile with latest changes
and fixed typo in IsChainComplete().

svn path=/trunk/mcs/; revision=137259

15 years agomake it compile
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:42:17 +0000 (07:42 -0000)]
make it compile

svn path=/trunk/mcs/; revision=137257

15 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:39:44 +0000 (07:39 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpsClientStream.cs: invoke the ServerCertificateValidationCallback
in the 2.0 profile. If there's a CertificatePolicy, it is run before
the 2.0 callback.

svn path=/trunk/mcs/; revision=137255

15 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:39:40 +0000 (07:39 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ServicePointManager.cs: implement ServerCertificateValidationCallback.
* DefaultCertificatePolicy.cs: if there's a SCVC registered, don't do
normal error checking.a

svn path=/trunk/mcs/; revision=137253

15 years agofix
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:34:09 +0000 (07:34 -0000)]
fix

svn path=/trunk/mcs/; revision=137239

15 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:33:12 +0000 (07:33 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: avoid duplicating Accept-Encoding if GetHeaders()
is called twice.
* WebConnectionStream.cs: don't send a 0 content length for non-write
requests.

svn path=/trunk/mcs/; revision=137233

15 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:22:59 +0000 (07:22 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs: must use the 'int' version in 1.1.

svn path=/trunk/mcs/; revision=137231

15 years ago2009-07-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 2 Jul 2009 04:05:41 +0000 (04:05 -0000)]
2009-07-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolBar.cs: When handling the key down message, if we are on a
drop down button, either show the DropDownMenu or pass the key to its
ProcessCmdKey method as needed.
Fixes the remaining bits of #509985.

svn path=/trunk/mcs/; revision=137228

15 years agoNew test.
Marek Safar [Wed, 1 Jul 2009 19:03:59 +0000 (19:03 -0000)]
New test.

svn path=/trunk/mcs/; revision=137213

15 years agoNew tests.
Marek Safar [Wed, 1 Jul 2009 19:03:25 +0000 (19:03 -0000)]
New tests.

svn path=/trunk/mcs/; revision=137212

15 years ago2009-07-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Jul 2009 19:02:50 +0000 (19:02 -0000)]
2009-07-01  Marek Safar  <marek.safar@gmail.com>

* expression.cs, class.cs: Events variance.

* cs-parser.jay: Interface events error messages.

svn path=/trunk/mcs/; revision=137211

15 years ago2009-07-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 1 Jul 2009 16:49:32 +0000 (16:49 -0000)]
2009-07-01 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs:
* ServicePoint.cs: UseNagleAlgorithm determines NoDelay value.

svn path=/trunk/mcs/; revision=137202

15 years agoNew test.
Marek Safar [Wed, 1 Jul 2009 16:27:30 +0000 (16:27 -0000)]
New test.

svn path=/trunk/mcs/; revision=137201

15 years agoNew tests.
Marek Safar [Wed, 1 Jul 2009 16:27:17 +0000 (16:27 -0000)]
New tests.

svn path=/trunk/mcs/; revision=137200

15 years ago2009-07-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Jul 2009 16:27:01 +0000 (16:27 -0000)]
2009-07-01  Marek Safar  <marek.safar@gmail.com>

* generic.cs, argument.cs: Updated type inference logic to C# 4.0.

svn path=/trunk/mcs/; revision=137199

15 years agoDisable sqlmetal nunit tests since they haven't compiled for some time
Raja R Harinath [Tue, 30 Jun 2009 15:23:05 +0000 (15:23 -0000)]
Disable sqlmetal nunit tests since they haven't compiled for some time

svn path=/trunk/mcs/; revision=137153

15 years ago* XPathNavigatorTests.cs (XPathDocumentMoveToId) [!NET_2_0]: Fix compile.
Raja R Harinath [Tue, 30 Jun 2009 15:15:39 +0000 (15:15 -0000)]
* XPathNavigatorTests.cs (XPathDocumentMoveToId) [!NET_2_0]: Fix compile.

svn path=/trunk/mcs/; revision=137152

15 years ago* errors/Makefile (run-test-local): Make parallel-make safe.
Raja R Harinath [Tue, 30 Jun 2009 15:15:17 +0000 (15:15 -0000)]
* errors/Makefile (run-test-local): Make parallel-make safe.

svn path=/trunk/mcs/; revision=137151

15 years ago2009-06-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 30 Jun 2009 09:06:16 +0000 (09:06 -0000)]
2009-06-30  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: TextParsed must remove client-side comments
from the passed text before attempting to parse the text for
server side controls and expressions. Fixes bug #517656

2009-06-30  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompilerTest.cs: added test for bug #517656

2009-06-30  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ServerControlInClientSideComment.aspx

2009-06-30  Marek Habersack  <mhabersack@novell.com>

* NunitWebResources/ServerControlInClientSideComment.aspx: added

svn path=/trunk/mcs/; revision=137137

15 years ago * ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
Carlos Alberto Cortez [Tue, 30 Jun 2009 05:06:29 +0000 (05:06 -0000)]
* ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
set current_item when navigating with the keyboard, so we can use it
properly later. Finally, handle both Enter and Space to fire
OnButtonClick *only*, without any other impact, as .net does.
Fixes part of #509985.

2009-06-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=137134

15 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 03:05:58 +0000 (03:05 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* IntPtrTest.cs: Disable a test whose corresponding fix was reverted.

svn path=/trunk/mcs/; revision=137133

15 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 02:57:09 +0000 (02:57 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* ReadOnlyCollectionBaseTest.cs NewArrayListTest.cs: Convert all tests
to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=137132

15 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 02:50:34 +0000 (02:50 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* DebugTest.cs TextWriterTraceListenerTest.cs: Convert all tests to
new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=137131

15 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 02:34:35 +0000 (02:34 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Convert all tests to new-style nunit classes/methods. Enable
some hidden tests.

svn path=/trunk/mcs/; revision=137130

15 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 23:32:45 +0000 (23:32 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* ObjectTest.cs RandomTest.cs SByteTest.cs SingleTest.cs
TimeZoneTest.cs UInt16Test.cs UInt32Test.cs UInt64Test.cs
UIntPtrTest.cs ValueTypeTest.cs: Convert all tests to new-style nunit
classes/methods. Enable some hidden tests.

svn path=/trunk/mcs/; revision=137121

15 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 22:53:45 +0000 (22:53 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mini_regression): Handle loading errors. Fixes #508869.

svn path=/trunk/mono/; revision=137119

15 years ago2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:10:45 +0000 (22:10 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Parameter.cs: add new DbType property.

svn path=/trunk/mcs/; revision=137117

15 years ago2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:02:41 +0000 (22:02 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* LicenseProviderAttribute.cs: avoid nullref when provider has not
been set or cannot be loaded.

svn path=/trunk/mcs/; revision=137115

15 years ago2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:01:19 +0000 (22:01 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TemplateControlCompiler.cs: use the 'Empty' field for Unit and
FontUnit.

svn path=/trunk/mcs/; revision=137113

15 years agoNew tests.
Marek Safar [Mon, 29 Jun 2009 19:46:12 +0000 (19:46 -0000)]
New tests.

svn path=/trunk/mcs/; revision=137100

15 years agoNew tests.
Marek Safar [Mon, 29 Jun 2009 19:45:19 +0000 (19:45 -0000)]
New tests.

svn path=/trunk/mcs/; revision=137099

15 years ago2009-06-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Jun 2009 19:44:26 +0000 (19:44 -0000)]
2009-06-29  Marek Safar  <marek.safar@gmail.com>

* parameter.cs, convert.cs, expression.cs, class.cs: Default
parameter expression can be value-type New.

* cs-parser.jay: Clean up too many parameter modifier boolean flags.

svn path=/trunk/mcs/; revision=137098

15 years ago2009-06-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 29 Jun 2009 17:16:30 +0000 (17:16 -0000)]
2009-06-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MenuAPI.cs: Close any active menu when we get a simple Alt.
Fixes #509299.

svn path=/trunk/mcs/; revision=137094

15 years ago2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Jun 2009 17:08:50 +0000 (17:08 -0000)]
2009-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : do not iterate extra channel acceptance
  and hence close channels a bit more gracefully.

* TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
  (almost) no time.
* TcpChannelListener.cs : accept multiple channels at a time.

svn path=/trunk/mcs/; revision=137093

15 years agoincrease timeouts to make this work on machines under load
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 15:52:42 +0000 (15:52 -0000)]
increase timeouts to make this work on machines under load

svn path=/trunk/mcs/; revision=137088

15 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 15:25:29 +0000 (15:25 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* generic-stack-traces.2.cs: Add a test for #509406.

svn path=/trunk/mono/; revision=137082

15 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 15:25:22 +0000 (15:25 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (get_generic_context_from_stack_frame): Fix the case
when the generic instance is an instantiation of a subclass of the
methods class. Fixes #517166.

svn path=/trunk/mono/; revision=137081

15 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 14:39:54 +0000 (14:39 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* threads.c: Store the thread start argument in a hash table instead of
registering it as a root, as libgc doesn't support unregistering roots
under windows, leading to 'too many root sets' errors when many threads
are created.

svn path=/trunk/mono/; revision=137080

15 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 13:34:22 +0000 (13:34 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* dynamic-method-finalize.2.cs: New test.

svn path=/trunk/mono/; revision=137076

15 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 13:34:14 +0000 (13:34 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* gc.c (mono_gc_run_finalize): Avoid finalizing dynamic methods during
shutdown, they can still be referenced by the other dying objects.
Fixes #514506.

svn path=/trunk/mono/; revision=137075

15 years ago2009-06-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Jun 2009 11:37:30 +0000 (11:37 -0000)]
2009-06-29  Marek Safar <marek.safar@gmail.com>

* ChangeLog: Add DynamicAttribute.

svn path=/trunk/mcs/; revision=137069

15 years ago2009-06-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Jun 2009 10:41:54 +0000 (10:41 -0000)]
2009-06-29  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add Microsoft.CSharp.

svn path=/trunk/mcs/; revision=137065

15 years agoNew test.
Marek Safar [Mon, 29 Jun 2009 10:06:14 +0000 (10:06 -0000)]
New test.

svn path=/trunk/mcs/; revision=137064

15 years agoUpdated
Marek Safar [Mon, 29 Jun 2009 09:22:38 +0000 (09:22 -0000)]
Updated

svn path=/trunk/mcs/; revision=137063

15 years ago2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Jun 2009 06:07:28 +0000 (06:07 -0000)]
2009-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : do not output all (stored) writer
  session strings but output only those new ones in current message.
  This fixes inconsistent body output in repetitive use of sender.

svn path=/trunk/mcs/; revision=137060

15 years ago2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 21:37:45 +0000 (21:37 -0000)]
2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequestTest.cs: sleep between reads as we do in
WebClientTest.

svn path=/trunk/mcs/; revision=137052

15 years ago* SocketTest.cs: Added tests for argument checks, and improved tests
Gert Driesen [Sun, 28 Jun 2009 20:39:25 +0000 (20:39 -0000)]
* SocketTest.cs: Added tests for argument checks, and improved tests
for disposed socket.
* Socket.cs: Modified some argument names to match MS. Moved disposed
check before argument checks in Receive. Use SocketError.InvalidArgument
instead of using magic numbers. Added back comments that was
accidentally removed in my previous commit.
* Socket_2_1.cs: Modified some argument names to match MS.

svn path=/trunk/mcs/; revision=137051

15 years agofix the build
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 16:54:59 +0000 (16:54 -0000)]
fix the build

svn path=/trunk/mcs/; revision=137049

15 years ago* System_test.dll.sources: Added IPv6MulticastOptionTest.cs and
Gert Driesen [Sun, 28 Jun 2009 16:35:54 +0000 (16:35 -0000)]
* System_test.dll.sources: Added IPv6MulticastOptionTest.cs and
MulticastOptionTest.cs.
* Socket.cs: In GetSocketOption, throw SocketException when (byte [])
option value is null. Use SocketError fields instead of using "magic"
number. In SetSocketOption (SocketOptionLevel, SocketOptionName, object)
only accept Linger, AddMembership, DropMembership and verify option
value.
* MulticastOption.cs: Added argument checks. Save interfaceIndex that is
passed to .ctor, and removed MonoTODO. Renamed arguments to match MS.
Reset InterfaceIndex when LocalAddress is modified, and reset
LocalAddress when InterfaceIndex is modified.
* UdpClient.cs: Modified exception to more closely match MS. Fixed
(int, AddressFamily) .ctor to construct IPv6 endpoint when family is
InterNetworkV6. Added null check for multicastAddr to (IPAddress)
JoinMulticastGroup overload. In (int, IPAddress) and (IPAddress,
IPAddress) overloads of JoinMulticastGroup throw SocketException when
client is IPv4. Added null check for multicastAddr to (IPAddress, int),
overload, and moved JoinMulticastGroup call after argument checks.
* IPv6MulticastOption.cs: Renamed argument names to match MS. Added
null check to set_Group. Added range check to set_InterfaceIndex.
* IPv6MulticastOptionTest.cs: Added .ctor and property tests.
* MulticastOptionTest.cs: Added .ctor and property tests.
* SocketTest.cs: Fixed compiler warnings. Improved tests for
closed socket. Added tests fr GetSocketOption, and SetSocketOption
overloads (for Linger, DontLinger, AddMembership and DropMembership).
* UdpClientTest.cs: Added .ctor and JoinMulticastGroup tests.

svn path=/trunk/mcs/; revision=137048

15 years ago2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 07:17:33 +0000 (07:17 -0000)]
2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: fix 1.1 only test.

svn path=/trunk/mcs/; revision=137046

15 years agofix timing issue
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 07:15:41 +0000 (07:15 -0000)]
fix timing issue

svn path=/trunk/mcs/; revision=137045

15 years ago2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 04:03:49 +0000 (04:03 -0000)]
2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnectionStream.cs: when buffering the response, we have to set
the internal length and regenerate the headers.

svn path=/trunk/mcs/; revision=137043

15 years agofix test
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 03:50:35 +0000 (03:50 -0000)]
fix test

svn path=/trunk/mcs/; revision=137040

15 years ago2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 02:33:55 +0000 (02:33 -0000)]
2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SocketResponder.cs: the listener might be closed right before
Accept() is called and in that case we get an EINVAL.
* WebClientTest.cs: now that we might send separate packets for
headers and body, wait a little bit before checking socket.Available.

svn path=/trunk/mcs/; revision=137038

15 years agonew test
Gonzalo Paniagua Javier [Sat, 27 Jun 2009 18:03:35 +0000 (18:03 -0000)]
new test

svn path=/trunk/mcs/; revision=137033

15 years ago2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 27 Jun 2009 18:02:46 +0000 (18:02 -0000)]
2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Socket.cs: turn WSAEINVAL into ArgumentException.

svn path=/trunk/mcs/; revision=137031

15 years ago2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 27 Jun 2009 18:01:10 +0000 (18:01 -0000)]
2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* socket-io.c: DontLinger does not allow LingerOptions.

svn path=/trunk/mono/; revision=137029

15 years ago 2009-06-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 26 Jun 2009 22:59:01 +0000 (22:59 -0000)]
2009-06-27  Marek Habersack  <mhabersack@novell.com>

     * DynamicDataExtensionsTest.cs: added test for ConvertEditedValue

    2009-06-27  Marek Habersack  <mhabersack@novell.com>

     * DynamicDataExtensions.cs: implemented ConvertEditedValue

svn path=/trunk/mcs/; revision=137024

15 years agoneeds gmcs
Marek Safar [Fri, 26 Jun 2009 22:58:12 +0000 (22:58 -0000)]
needs gmcs

svn path=/trunk/mcs/; revision=137023

15 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 22:48:39 +0000 (22:48 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequestTest.cs: add a bunch of tests provided by
Bassan Tabbara.

svn path=/trunk/mcs/; revision=137021

15 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 22:45:35 +0000 (22:45 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: don't send Content-Length header when SendChunked
is enabled.
* WebConnectionStream.cs: send the headers immediately when possible.
When writing the request before a Close(), if there was an exception
it was lost.

svn path=/trunk/mcs/; revision=137019

15 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 22:37:38 +0000 (22:37 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpConnection.cs:
* HttpListenerResponse.cs: force closing the socket when the response
is aborted.

svn path=/trunk/mcs/; revision=137016

15 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Jun 2009 22:30:55 +0000 (22:30 -0000)]
2009-06-26  Robert Jordan  <robertj@gmx.net>

* StringTest.cs: Convert all tests to new-style nunit
classes/methods.

* ArrayTest.cs, ConvertTest.cs, DecimalTest.cs, TimeSpanTest.cs:
likewise.

* DecimalTest2.cs: likewise, 5 hidden tests enabled.

svn path=/trunk/mcs/; revision=137015

15 years ago 2009-06-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 26 Jun 2009 22:13:39 +0000 (22:13 -0000)]
2009-06-27  Marek Habersack  <mhabersack@novell.com>

     * MetaModel.cs: implemented DynamicDataFolderVirtualPath

     * DynamicDataRouteHandler.cs: implemented SetRequestMetaTable,
     GetCustomPageVirtualPath, GetScaffoldPageVirtualPath and
     guessed at implementation of CreateHandler.

    2009-06-27  Marek Habersack  <mhabersack@novell.com>

     * MetaModelTest.cs: added test for DynamicDataFolderVirtualPath

     * DynamicDataRouteHandlerTest.cs: implemented tests for
     CreateHandler (one of them isn't working atm),
     GetCustomVirtualPagePath, GetScaffoldVirtualPagePath,
     GetRequestMetaTable, SetRequestMetaTable

    2009-06-26  Marek Habersack  <mhabersack@novell.com>

     * DynamicDataRouteTest.cs: MyDataContext3 is safely registered in
     the fixture setup method.
     Enabled the GetTableFromRouteData3 and GetRouteData tests - the
     work fine now.
     Added test for the RouteHandler property.

     * DynamicDataRouteHandlerTest.cs: added tests for the constructor
     and the Model property.

    2009-06-26  Marek Habersack  <mhabersack@novell.com>

     * MetaModel.cs: RegisterContextCore preserves already registered
     tables.

     * DynamicDataRouteHandler.cs: GetRequestContext must not retrieve
     route data from the routes collection (if the matching route
     happened to be an instance of DynamicDataRoute it would initialize
     its RouteHandler's Model property, which is not correct, according
     to tests). Instead a new RouteData instance is created each time
     we don't find any cached context.

     * DynamicDataRoute.cs: the associated route handler is set its
     Model property when we initialize for the first time.
     GetRouteData checks whether route data returned by base class
     relates to a table which exists in the current context. If no such
     table exists, null is returned.

svn path=/trunk/mcs/; revision=137013

15 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Jun 2009 21:53:51 +0000 (21:53 -0000)]
2009-06-26  Robert Jordan  <robertj@gmx.net>

* UTF8EncodingTest.cs: Fix the NET_1_1 build.

svn path=/trunk/mcs/; revision=137012

15 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Jun 2009 21:29:00 +0000 (21:29 -0000)]
2009-06-26  Robert Jordan  <robertj@gmx.net>

* StringTest.cs: Convert all tests to new-style nunit
classes/methods.

svn path=/trunk/mcs/; revision=137011

15 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Jun 2009 21:06:21 +0000 (21:06 -0000)]
2009-06-26  Robert Jordan  <robertj@gmx.net>

* *.cs: Upgrade to new NUnit style.

svn path=/trunk/mcs/; revision=137010

15 years ago2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Jun 2009 20:14:25 +0000 (20:14 -0000)]
2009-06-26 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: Fix a cattr-table test
where generic param is allowed as a parent.

svn path=/trunk/mono/; revision=137007

15 years ago2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Jun 2009 20:14:16 +0000 (20:14 -0000)]
2009-06-26 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: The spec doesn't mention that it's possible to add
custom attribute to a generic parameter. Fixed.

svn path=/trunk/mono/; revision=137006

15 years ago2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Jun 2009 20:14:02 +0000 (20:14 -0000)]
2009-06-26 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (inflate_generic_type): Don't crash while trying to output a message
on why we're aborting.

svn path=/trunk/mono/; revision=137005

15 years ago2009-06-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 26 Jun 2009 19:47:22 +0000 (19:47 -0000)]
2009-06-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolBar.cs: In OnButtonClick only change the Pushed value for
buttons with toogle style. We were previously doing it for
DropDownButton's buttons, but that's not what .net is doing.
Fixes #510030.

svn path=/trunk/mcs/; revision=137002

15 years ago2009-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Jun 2009 18:10:51 +0000 (18:10 -0000)]
2009-06-26  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Fix thread attaching in AOTed
code.

* mini.c (mono_jit_thread_attach): Allow domain to be NULL for calls from
AOTed code.

svn path=/trunk/mono/; revision=136995

15 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 16:34:58 +0000 (16:34 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SocketTest.cs: tests for DontLinger.

svn path=/trunk/mcs/; revision=136982

15 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 16:34:20 +0000 (16:34 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Socket.cs: MS throws a SocketException in the byte[] overload when
the value is null.

svn path=/trunk/mcs/; revision=136980

15 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 16:33:58 +0000 (16:33 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* socket-io.c: DontLinger can take an int or a boolean too.

svn path=/trunk/mono/; revision=136978

15 years ago2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Jun 2009 15:44:16 +0000 (15:44 -0000)]
2009-06-26  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
  operation that does not involve session.
  Preserve writer session as well as reader session.
* MessageHeaders.cs : take name and namespace into consideration
  when creating a serializer.

svn path=/trunk/mcs/; revision=136975