Gonzalo Paniagua Javier [Wed, 21 Oct 2009 06:31:05 +0000 (06:31 -0000)]
2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* sockets.[ch]: added TransmitFile implementation.
svn path=/trunk/mono/; revision=144504
Marek Habersack [Tue, 20 Oct 2009 21:28:47 +0000 (21:28 -0000)]
1.1 code removal for System.Web/*
svn path=/trunk/mcs/; revision=144494
Marek Habersack [Tue, 20 Oct 2009 19:21:39 +0000 (19:21 -0000)]
2009-10-20 Marek Habersack <mhabersack@novell.com>
* OutputCacheModule.cs: keysCache and entriesToInvalidate
dictionaries are allocated only when they are
required. BuildManager's RemoveEntry envent is subscribed to only
if cache actually has some entries.
Added support for post-cache substitution.
* CachedRawResponse.cs: data is stored in a list of DataItem
instances instead of just in a single buffer. This enables support
for post-cache substitution.
2009-10-20 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: implemented the WriteSubstitution method,
thus enabling post-cache substitution.
svn path=/trunk/mcs/; revision=144487
Marek Safar [Tue, 20 Oct 2009 19:19:01 +0000 (19:19 -0000)]
Fixes build
svn path=/trunk/mcs/; revision=144486
Zoltan Varga [Tue, 20 Oct 2009 19:01:44 +0000 (19:01 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_create_from_typedef): Initialize class->element_class
before the interfaces to avoid crashes later if class initialization fails.
Fixes #548417.
svn path=/trunk/mono/; revision=144483
Zoltan Varga [Tue, 20 Oct 2009 19:01:37 +0000 (19:01 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* libtest.c pinvoke2.cs: Add a test for #548276.
svn path=/trunk/mono/; revision=144482
Zoltan Varga [Tue, 20 Oct 2009 19:01:31 +0000 (19:01 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_vtype): Implement byref marshalling of DateTime.
Fixes #548276.
svn path=/trunk/mono/; revision=144481
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 18:31:41 +0000 (18:31 -0000)]
2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ApplicationHost.cs: set the shadow copy options calling the methods
in AppDomain, instead of setting them in a copy of the setup
information.
svn path=/trunk/mcs/; revision=144478
Marek Safar [Tue, 20 Oct 2009 17:55:55 +0000 (17:55 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* argument.cs, dynamic.cs, expression.cs: Latest API update.
svn path=/trunk/mcs/; revision=144476
Marek Safar [Tue, 20 Oct 2009 17:54:32 +0000 (17:54 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144475
Marek Safar [Tue, 20 Oct 2009 17:53:49 +0000 (17:53 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* *.cs: Update to the latest API.
svn path=/trunk/mcs/; revision=144474
Sebastien Pouliot [Tue, 20 Oct 2009 15:52:42 +0000 (15:52 -0000)]
In System.Threading:
2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
* Timer.cs: Always call Init from every constructors to avoid
duplicate checks. Fix validations on different dueTime and period
(ctor and Change methods). Seal private TimerComparer class and
avoid multiple (identical) casts in its Compare method. Seal
private Scheduler class.
In Test/System.Threading:
2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
* TimerTest.cs: Add more validation tests
svn path=/trunk/mcs/; revision=144466
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 15:29:04 +0000 (15:29 -0000)]
2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Timer.cs: make sure we don't insert 2 timers with the same key.
svn path=/trunk/mcs/; revision=144462
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 15:25:31 +0000 (15:25 -0000)]
2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ServerContext.cs:
* SslServerStream.cs: add new parameter that forces sending the
CertificateRequest record. Make sure we raise the client certificate
validation event when it is requested or required.
svn path=/trunk/mcs/; revision=144459
Marek Safar [Tue, 20 Oct 2009 13:09:14 +0000 (13:09 -0000)]
Add type variance
svn path=/trunk/mcs/; revision=144456
Marek Safar [Tue, 20 Oct 2009 13:04:51 +0000 (13:04 -0000)]
4.0 bootstrap
svn path=/trunk/mcs/; revision=144455
Sebastien Pouliot [Tue, 20 Oct 2009 12:04:13 +0000 (12:04 -0000)]
2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
* MonoProperty.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
svn path=/trunk/mcs/; revision=144448
Marek Safar [Tue, 20 Oct 2009 11:14:44 +0000 (11:14 -0000)]
More 1.1 removal
svn path=/trunk/mcs/; revision=144445
Marek Safar [Tue, 20 Oct 2009 11:09:15 +0000 (11:09 -0000)]
Still some 1.1 references
svn path=/trunk/mcs/; revision=144442
Marek Safar [Tue, 20 Oct 2009 11:08:01 +0000 (11:08 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* domain.c: Bump 4.0 version.
svn path=/trunk/mcs/; revision=144441
Marek Safar [Tue, 20 Oct 2009 11:07:25 +0000 (11:07 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* domain.c: Bump 4.0 version.
svn path=/trunk/mono/; revision=144440
Marek Safar [Tue, 20 Oct 2009 10:34:39 +0000 (10:34 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* SortedList.cs, LinkedList.cs, Queue.cs, Stack.cs,
SortedDictionary.cs: Improve debugging experience.
svn path=/trunk/mcs/; revision=144438
Marek Safar [Tue, 20 Oct 2009 10:32:19 +0000 (10:32 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* List.cs, CollectionDebuggerView.cs, KeyValuePair.cs, Dictionary.cs
Improve debugging experience.
svn path=/trunk/mcs/; revision=144437
Marek Safar [Tue, 20 Oct 2009 09:30:33 +0000 (09:30 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144435
Marek Safar [Tue, 20 Oct 2009 09:15:06 +0000 (09:15 -0000)]
Add few more simple bits.
svn path=/trunk/mcs/; revision=144432
Jb Evain [Tue, 20 Oct 2009 09:03:19 +0000 (09:03 -0000)]
2009-10-20 Jb Evain <jbevain@novell.com>
* Thread.cs: change type of the current_appcontext field to object
to avoid triggering static constructors unless explicitely required.
svn path=/trunk/mcs/; revision=144431
Atsushi Eno [Tue, 20 Oct 2009 06:43:01 +0000 (06:43 -0000)]
2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
Refactoring on listener manager to correctly handle wsdl and help
requests for such case that they conflict in addressing. Now it
can correctly distinguish service calls, WSDL requests and help
requests when all of them point to "http://localhost/foo.svc"
(which is very common case that the user does not change Http*Url).
* ServiceMetadataExtension.cs : restructure internal channel property
so that http channels can cope with it.
svn path=/trunk/mcs/; revision=144419
Miguel de Icaza [Tue, 20 Oct 2009 01:13:13 +0000 (01:13 -0000)]
Additionificate System.Numerics
svn path=/trunk/mcs/; revision=144417
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 01:00:48 +0000 (01:00 -0000)]
fix typo
svn path=/trunk/mono/; revision=144416
Marek Safar [Mon, 19 Oct 2009 22:07:40 +0000 (22:07 -0000)]
2009-10-19 Marek Safar <marek.safar@gmail.com>
* CollectionDebuggerView.cs: New file.
svn path=/trunk/mcs/; revision=144414
Marek Safar [Mon, 19 Oct 2009 22:00:03 +0000 (22:00 -0000)]
2009-10-19 Marek Safar <marek.safar@gmail.com>
* IObservable.cs, IObserver.cs: New files.
* EventHandler.cs: Cleanup.
svn path=/trunk/mcs/; revision=144413
Marek Habersack [Mon, 19 Oct 2009 20:59:08 +0000 (20:59 -0000)]
2009-10-19 Marek Habersack <mhabersack@novell.com>
* ASPState.sql: added - schema for the SQL session state server
database.
2009-10-19 Marek Habersack <mhabersack@novell.com>
* SessionStateModule.cs: enabled SQL session state provider.
* SessionSQLServerHandler.cs: implemented. Uses System.Data.Common
for provider-agnostic implementation. Until an issue with Npgsql's
2.0 factory missing is resolved it defaults to using
Mono.Data.Sqlite as the provider.
Selecting of the data provider is done by putting DbProviderName
in the connection string specified in the
<system.web/sessionState> configuration section.
svn path=/trunk/mcs/; revision=144412
Sebastien Pouliot [Mon, 19 Oct 2009 19:36:25 +0000 (19:36 -0000)]
2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
* assembly.c (mono_assembly_load_reference): Fix leak when 'status'
code is known. (parse_public_key) Remove duplicate (unneeded) NULL
check since 'pubkey' can't be NULL at this stage
* icall.c (ves_icall_System_Array_FastCopy): Add comment about
the check. (ves_icall_Type_GetInterfaceMapData) Remove duplicate
initialization of 'iter'
svn path=/trunk/mono/; revision=144403
Sebastien Pouliot [Mon, 19 Oct 2009 19:35:26 +0000 (19:35 -0000)]
2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
* aot-compiler.c (emit_plt): Remove duplicate 'debug_sym' variable
that hides the previous one.
svn path=/trunk/mono/; revision=144402
Marek Safar [Mon, 19 Oct 2009 18:24:41 +0000 (18:24 -0000)]
4.0 b2 update
svn path=/trunk/mcs/; revision=144396
Michael Hutchinson [Mon, 19 Oct 2009 17:04:51 +0000 (17:04 -0000)]
2009-10-19 Michael Hutchinson <mhutchinson@novell.com>
* CSharpCodeGenerator.cs: Remove #if NET_2_0 as they're unneeded
now, and this makes it easier to sync with MD's branched copy.
svn path=/trunk/mcs/; revision=144388
Marek Safar [Mon, 19 Oct 2009 14:40:49 +0000 (14:40 -0000)]
2009-10-19 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, expression.cs: Dynamic array initializer.
svn path=/trunk/mcs/; revision=144382
Jb Evain [Mon, 19 Oct 2009 14:32:45 +0000 (14:32 -0000)]
revert 144379
svn path=/trunk/mcs/; revision=144380
Jb Evain [Mon, 19 Oct 2009 14:26:55 +0000 (14:26 -0000)]
2009-10-19 Jb Evain <jbevain@novell.com>
* JsonObject.cs, JsonArray.cs: backport r142424 and r143432.
svn path=/trunk/mcs/; revision=144379
Sebastien Pouliot [Mon, 19 Oct 2009 11:47:47 +0000 (11:47 -0000)]
2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
* MonoEvent.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
svn path=/trunk/mcs/; revision=144363
Jb Evain [Mon, 19 Oct 2009 09:14:29 +0000 (09:14 -0000)]
fix the MonoTouch build
svn path=/trunk/mcs/; revision=144358
Jb Evain [Mon, 19 Oct 2009 09:07:17 +0000 (09:07 -0000)]
fix ifdef
svn path=/trunk/mcs/; revision=144357
Jb Evain [Mon, 19 Oct 2009 08:43:52 +0000 (08:43 -0000)]
2009-10-19 Jb Evain <jbevain@novell.com>
* ResourceReader.cs: fix the build.
svn path=/trunk/mcs/; revision=144356
Sebastien Pouliot [Sun, 18 Oct 2009 23:52:13 +0000 (23:52 -0000)]
In Test/System.Reflection:
2009-10-18 Sebastien Pouliot <sebastien@ximian.com>
* MethodBaseTest.cs: Add new, working, test for non-generic
GetMethodFromHandle. Add test case to show generic overload
behave exactly the same when no second RuntimeMethodHandle is
provided. Remove [Category("NotWorking")] on existing test case.
In System.Reflection:
2009-10-18 Sebastien Pouliot <sebastien@ximian.com>
* MethodBase.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
svn path=/trunk/mcs/; revision=144335
Zoltan Varga [Sun, 18 Oct 2009 18:17:07 +0000 (18:17 -0000)]
2009-10-18 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (can_marshal_struct): Allow some System.dll structs to be
marshalled. Fixes #541623.
svn path=/trunk/mono/; revision=144331
Geoff Norton [Sun, 18 Oct 2009 17:10:45 +0000 (17:10 -0000)]
make these public on monotouch
svn path=/trunk/mcs/; revision=144326
Geoff Norton [Sun, 18 Oct 2009 16:55:11 +0000 (16:55 -0000)]
restore some types to MT
svn path=/trunk/mcs/; revision=144324
Sebastien Pouliot [Sun, 18 Oct 2009 15:01:04 +0000 (15:01 -0000)]
In .:
2009-10-18 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Remove System.IO.IntPtrStream since it can
be replaced by (public in 2.0+) UnmanagedMemoryStream
* net_2_1_raw_corlib.dll.sources: Remove System.IO.IntPtrStream
since it can be replaced by UnmanagedMemoryStream
In System.Resources:
2009-10-18 Sebastien Pouliot <sebastien@ximian.com>
* ResourceReader.cs, ResourceSet.cs, RuntimeResourceSet.cs: Use
UnmanagedMemoryStream (instead of IntPtrStream)
svn path=/trunk/mcs/; revision=144322
Gonzalo Paniagua Javier [Sun, 18 Oct 2009 02:09:20 +0000 (02:09 -0000)]
2009-10-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnectionStream.cs: add 3 missing DoCallback() calls in
EndRead/EndWrite.
svn path=/trunk/mcs/; revision=144315
Sebastien Pouliot [Sat, 17 Oct 2009 15:53:48 +0000 (15:53 -0000)]
2009-10-17 Sebastien Pouliot <sebastien@ximian.com>
* EqualityComparer.cs: Seal internal classes
svn path=/trunk/mcs/; revision=144308
Sebastien Pouliot [Sat, 17 Oct 2009 14:55:48 +0000 (14:55 -0000)]
2009-10-17 Sebastien Pouliot <sebastien@ximian.com>
* MonoMethod.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
svn path=/trunk/mcs/; revision=144306
Miguel de Icaza [Sat, 17 Oct 2009 01:38:02 +0000 (01:38 -0000)]
More
svn path=/trunk/mcs/; revision=144305
Miguel de Icaza [Sat, 17 Oct 2009 01:35:27 +0000 (01:35 -0000)]
Drop more obsolete defines
svn path=/trunk/mcs/; revision=144304
Miguel de Icaza [Sat, 17 Oct 2009 01:00:45 +0000 (01:00 -0000)]
2009-10-16 Miguel de Icaza <miguel@novell.com>
* Jumbo patch to elimiante more dead code now that we have dropped
pre-2.0 profiles.
svn path=/trunk/mcs/; revision=144303
Miguel de Icaza [Sat, 17 Oct 2009 00:53:39 +0000 (00:53 -0000)]
More removal of old profile
svn path=/trunk/mcs/; revision=144302
Miguel de Icaza [Sat, 17 Oct 2009 00:43:59 +0000 (00:43 -0000)]
2009-10-16 Miguel de Icaza <miguel@novell.com>
* Jumbo patch to drop support for pre-NET_2_0 code:
Remove ONLY_1_1 code
Remove NET_1_0 only code
Remove NET_2_0 defines assuming the value is true.
Improve one MonoTODO; Implement one MonoTODO/Niex.
Ran a textual diff on the resulting assembly to validate that the
restul is the same on NET_2_0
svn path=/trunk/mcs/; revision=144298
Miguel de Icaza [Sat, 17 Oct 2009 00:14:41 +0000 (00:14 -0000)]
Fix for MonoTouch builds
svn path=/trunk/mcs/; revision=144297
Miguel de Icaza [Sat, 17 Oct 2009 00:11:28 +0000 (00:11 -0000)]
+ * ServerType.cs: Do not use Activator.CreateInstance, use the call
+ directly.
+
+2009-10-02 Miguel de Icaza <miguel@novell.com>
+
+ * ServerType.cs: Refactored all of this code to not use
+ Activator.CreateInstance.
svn path=/trunk/mcs/; revision=144296
Miguel de Icaza [Sat, 17 Oct 2009 00:09:50 +0000 (00:09 -0000)]
NEver commited this, oops
svn path=/trunk/mcs/; revision=144295
Bill Holmes [Fri, 16 Oct 2009 19:27:15 +0000 (19:27 -0000)]
2009-10-16 Bill Holmes <billholmes54@gmail.com>
* libtest.vcproj : Adding TARGET_X86 and TARGET_AMD64
to the PreprocessorDefinitions.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=144286
Gonzalo Paniagua Javier [Fri, 16 Oct 2009 17:45:09 +0000 (17:45 -0000)]
2009-10-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Timer.cs: looks like any negative value is treated as Infinite.
svn path=/trunk/mcs/; revision=144283
Zoltan Varga [Fri, 16 Oct 2009 17:16:47 +0000 (17:16 -0000)]
2009-10-16 Zoltan Varga <vargaz@gmail.com>
* Makefile: Avoid else ifeq which is not recognized by some make versions.
svn path=/trunk/mcs/; revision=144282
Bill Holmes [Fri, 16 Oct 2009 17:07:50 +0000 (17:07 -0000)]
2009-10-16 Bill Holmes <billholmes54@gmail.com>
* cominterop.c : Search the interface parts of vtable to find
method matches. Fixes 547030.
* cominterop.cs : Adding a test for 547030.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=144280
Marek Safar [Fri, 16 Oct 2009 17:06:49 +0000 (17:06 -0000)]
2009-10-16 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, rootcontext.cs: Clear -nostdlib flag when object
is imported.
svn path=/trunk/mcs/; revision=144279
Zoltan Varga [Fri, 16 Oct 2009 15:42:29 +0000 (15:42 -0000)]
2009-10-16 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_extra_methods): Remove some asserts which are not needed.
svn path=/trunk/mono/; revision=144276
Marek Safar [Fri, 16 Oct 2009 13:47:03 +0000 (13:47 -0000)]
New tests.
svn path=/trunk/mcs/; revision=144265
Marek Safar [Fri, 16 Oct 2009 13:46:40 +0000 (13:46 -0000)]
2009-10-16 Marek Safar <marek.safar@gmail.com>
A fix for bug #493523, #507067
* convert.cs, nullable.cs, expression.cs: Do implicit and explicit
standard nullable conversion using underlying standard conversion
and not full conversion.
svn path=/trunk/mcs/; revision=144264
Marek Safar [Fri, 16 Oct 2009 13:04:19 +0000 (13:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=144263
Atsushi Eno [Fri, 16 Oct 2009 11:57:57 +0000 (11:57 -0000)]
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* ChannelListenerBase.cs : add Properties property to add arbitrary
properties handy (only inside this assembly).
* ServiceHostBase.cs : removed internal dispatcher builder method.
* ServiceMetadataExtension.cs : Handle all predefined mex bindings.
Use DispatcherBuilder directly. Add mex listener property to
distinguish the listener from http channel listeners later.
svn path=/trunk/mcs/; revision=144262
Atsushi Eno [Fri, 16 Oct 2009 11:24:23 +0000 (11:24 -0000)]
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : fix warning.
svn path=/trunk/mcs/; revision=144261
Atsushi Eno [Fri, 16 Oct 2009 11:23:34 +0000 (11:23 -0000)]
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : fix warnings.
svn path=/trunk/mcs/; revision=144260
Atsushi Eno [Fri, 16 Oct 2009 05:30:59 +0000 (05:30 -0000)]
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* ClientOperation.cs, ClientRuntime.cs : another couple of changes
are required to not use non-SL types.
svn path=/trunk/mcs/; revision=144252
Atsushi Eno [Fri, 16 Oct 2009 05:23:42 +0000 (05:23 -0000)]
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntime.cs : enable Operations property on monotouch.
Hopefully it will enable us to build WebHttpBinding.
svn path=/trunk/mcs/; revision=144251
Atsushi Eno [Fri, 16 Oct 2009 03:48:53 +0000 (03:48 -0000)]
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* Rss20FeedFormatter.cs, Rss20ItemFormatter.cs : handle other text
nodes than text (cdata, whitespaces etc.) and make sure to proceed
the reader when they are skipped. Fixed bug #546965 and #546959.
svn path=/trunk/mcs/; revision=144249
Gonzalo Paniagua Javier [Fri, 16 Oct 2009 03:13:11 +0000 (03:13 -0000)]
add lc
svn path=/trunk/mono/; revision=144244
Gonzalo Paniagua Javier [Fri, 16 Oct 2009 03:11:12 +0000 (03:11 -0000)]
2009-10-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Initial check in of lc. Code from Carlo Kok.
svn path=/trunk/mcs/; revision=144243
Gonzalo Paniagua Javier [Fri, 16 Oct 2009 02:49:28 +0000 (02:49 -0000)]
2009-10-12 Carlo Kok <ck@remobjects.com>
* DesigntimeLicenseContextSerializer.cs: Properly serialize licenses.
* RuntimeLicenseContext.cs: Properly deserialize licenses.
svn path=/trunk/mcs/; revision=144239
Gonzalo Paniagua Javier [Fri, 16 Oct 2009 02:34:25 +0000 (02:34 -0000)]
2009-10-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* marshal.c: BeginInvoke cannot be called on multicast delegates with
multiple targets. Fixes bug #574426.
svn path=/trunk/mono/; revision=144238
Sebastien Pouliot [Thu, 15 Oct 2009 20:18:40 +0000 (20:18 -0000)]
In Test/System.IO:
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* UnmanagedMemoryStreamTest.cs: Add more test cases to cover all
validations
In System.IO:
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* UnmanagedMemoryStream.cs: Fix some and add missing validations
svn path=/trunk/mcs/; revision=144226
Atsushi Eno [Thu, 15 Oct 2009 19:30:22 +0000 (19:30 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceMetadataExtension.cs : when serviceDebug and serviceMetadata
shares the same URL, both of them must be set, not being skipped.
svn path=/trunk/mcs/; revision=144225
Atsushi Eno [Thu, 15 Oct 2009 19:20:28 +0000 (19:20 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs,
ServiceMetadataExtension.cs : Now HelpPage is differentiated from
wsdl page. The help page now outputs correct URL (for WSDL).
svn path=/trunk/mcs/; revision=144224
Jonathan Chambers [Thu, 15 Oct 2009 19:17:11 +0000 (19:17 -0000)]
2009-10-15 Jonathan Chambers <joncham@gmail.com>
* profiler-cov.vcproj: Add project.
* profiler-logging.vcproj: Add project.
svn path=/trunk/mono/; revision=144223
Atsushi Eno [Thu, 15 Oct 2009 19:16:39 +0000 (19:16 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : eliminate possible '/' + '/foo' combination.
svn path=/trunk/mcs/; revision=144222
Atsushi Eno [Thu, 15 Oct 2009 18:18:00 +0000 (18:18 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
svn path=/trunk/mcs/; revision=144221
Atsushi Eno [Thu, 15 Oct 2009 16:42:59 +0000 (16:42 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs,
ServiceMetadataExtension.cs : reduce extra args, static isn't
required here. Add FIXME comments.
svn path=/trunk/mcs/; revision=144217
Marek Safar [Thu, 15 Oct 2009 16:05:03 +0000 (16:05 -0000)]
New test.
svn path=/trunk/mcs/; revision=144215
Marek Safar [Thu, 15 Oct 2009 16:04:52 +0000 (16:04 -0000)]
2009-10-15 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, expression.cs, ecore.cs, delegate.cs: Check return
type in VerifyArgumentsCompat.
svn path=/trunk/mcs/; revision=144213
Sebastien Pouliot [Thu, 15 Oct 2009 14:36:12 +0000 (14:36 -0000)]
In Test/System.Runtime.CompilerServices:
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* RuntimeHelpersTest.cs: Add more test cases for validations
In System.Runtime.CompilerServices:
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* RuntimeHelpers.cs: Add missing validations
svn path=/trunk/mcs/; revision=144208
Sebastien Pouliot [Thu, 15 Oct 2009 14:20:03 +0000 (14:20 -0000)]
In System.Runtime.InteropServices:
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* GCHandle.cs: Add missing validations
In Test/System.Runtime.InteropServices:
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* GCHandleTest.cs: Add more test cases for validations
svn path=/trunk/mcs/; revision=144204
Atsushi Eno [Thu, 15 Oct 2009 14:07:42 +0000 (14:07 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceMetadataExtension.cs : before fixing lots of wrong code,
add primitive help page support to make sure base_uri is bogus.
svn path=/trunk/mcs/; revision=144203
Atsushi Eno [Thu, 15 Oct 2009 13:50:47 +0000 (13:50 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : make sure to release wait lock.
* HttpChannelListener.cs : session channels are not supported, so
remove relevant NIEs.
svn path=/trunk/mcs/; revision=144202
Sebastien Pouliot [Thu, 15 Oct 2009 12:53:31 +0000 (12:53 -0000)]
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
support contexts so we call the non-overloaded WaitOne method
(which defaults to false).
svn path=/trunk/mcs/; revision=144200
Sebastien Pouliot [Thu, 15 Oct 2009 12:52:22 +0000 (12:52 -0000)]
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* ClientRuntimeChannel.cs: Remove the WaitOne 'emitContext'
overloads from the Moonlight build. Directly call WaitHandle.
WaitAll from WaitOne(int) (since the overloads are not always
present)
svn path=/trunk/mcs/; revision=144198
Marek Safar [Thu, 15 Oct 2009 11:12:20 +0000 (11:12 -0000)]
New tests.
svn path=/trunk/mcs/; revision=144195
Marek Safar [Thu, 15 Oct 2009 11:12:05 +0000 (11:12 -0000)]
2009-10-15 Marek Safar <marek.safar@gmail.com>
* nullable.cs, expression.cs, statement.cs, namespace.cs, ecore.cs:
Reject variable used with type arguments.
svn path=/trunk/mcs/; revision=144194
Jb Evain [Thu, 15 Oct 2009 10:45:43 +0000 (10:45 -0000)]
2009-10-15 Jb Evain <jbevain@novell.com>
* monotouch_System.dll.sources: add Semaphore to MonoTouch.
svn path=/trunk/mcs/; revision=144193
Atsushi Eno [Thu, 15 Oct 2009 07:49:55 +0000 (07:49 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : fix relative URI construction for
ServiceMetadataExtension. It should create URI like
http://localhost/test.svc/wsdl, not http://localhost/wsdl .
svn path=/trunk/mcs/; revision=144184
Andreia Gaita [Thu, 15 Oct 2009 07:14:29 +0000 (07:14 -0000)]
* src/gptrarray.c: implement g_ptr_array_remove_index_fast
* src/glib.h: fix g_ptr_array_remove_index_fast declaration
* test/ptrarray.c: new tests
2009-10-15 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mono/; revision=144178
Andreia Gaita [Thu, 15 Oct 2009 07:14:27 +0000 (07:14 -0000)]
* src/garray.c: (g_array_remove_index_fast) only move 1 element
and not the whole shebang
2009-10-15 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mono/; revision=144177
Atsushi Eno [Thu, 15 Oct 2009 07:08:33 +0000 (07:08 -0000)]
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : on opening the host, check service endpoints
to make sure if there is at least one "non-mex" endpoint.
Fix couple of typos.
* ServiceHostBaseTest.cs : add test for checking non-mex contract
existence.
svn path=/trunk/mcs/; revision=144176