mono.git
14 years agorevert 144379
Jb Evain [Mon, 19 Oct 2009 14:32:45 +0000 (14:32 -0000)]
revert 144379

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

14 years ago2009-10-19 Jb Evain <jbevain@novell.com>
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

14 years ago2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agofix the MonoTouch build
Jb Evain [Mon, 19 Oct 2009 09:14:29 +0000 (09:14 -0000)]
fix the MonoTouch build

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

14 years agofix ifdef
Jb Evain [Mon, 19 Oct 2009 09:07:17 +0000 (09:07 -0000)]
fix ifdef

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

14 years ago2009-10-19 Jb Evain <jbevain@novell.com>
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

14 years agoIn Test/System.Reflection:
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

14 years ago2009-10-18 Zoltan Varga <vargaz@gmail.com>
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

14 years agomake these public on monotouch
Geoff Norton [Sun, 18 Oct 2009 17:10:45 +0000 (17:10 -0000)]
make these public on monotouch

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

14 years agorestore some types to MT
Geoff Norton [Sun, 18 Oct 2009 16:55:11 +0000 (16:55 -0000)]
restore some types to MT

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

14 years agoIn .:
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

14 years ago2009-10-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-17 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-17 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agoMore
Miguel de Icaza [Sat, 17 Oct 2009 01:38:02 +0000 (01:38 -0000)]
More

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

14 years agoDrop more obsolete defines
Miguel de Icaza [Sat, 17 Oct 2009 01:35:27 +0000 (01:35 -0000)]
Drop more obsolete defines

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

14 years ago2009-10-16 Miguel de Icaza <miguel@novell.com>
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

14 years agoMore removal of old profile
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

14 years ago2009-10-16 Miguel de Icaza <miguel@novell.com>
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

14 years agoFix for MonoTouch builds
Miguel de Icaza [Sat, 17 Oct 2009 00:14:41 +0000 (00:14 -0000)]
Fix for MonoTouch builds

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

14 years ago+ * ServerType.cs: Do not use Activator.CreateInstance, use the call
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

14 years agoNEver commited this, oops
Miguel de Icaza [Sat, 17 Oct 2009 00:09:50 +0000 (00:09 -0000)]
NEver commited this, oops

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

14 years ago2009-10-16 Bill Holmes <billholmes54@gmail.com>
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

14 years ago2009-10-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-16 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-16 Bill Holmes <billholmes54@gmail.com>
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

14 years ago2009-10-16 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-16 Zoltan Varga <vargaz@gmail.com>
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

14 years agoNew tests.
Marek Safar [Fri, 16 Oct 2009 13:47:03 +0000 (13:47 -0000)]
New tests.

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

14 years ago2009-10-16 Marek Safar <marek.safar@gmail.com>
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

14 years agoNew test.
Marek Safar [Fri, 16 Oct 2009 13:04:19 +0000 (13:04 -0000)]
New test.

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

14 years ago2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoadd lc
Gonzalo Paniagua Javier [Fri, 16 Oct 2009 03:13:11 +0000 (03:13 -0000)]
add lc

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

14 years ago2009-10-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-12 Carlo Kok <ck@remobjects.com>
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

14 years ago2009-10-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years agoIn Test/System.IO:
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-15 Jonathan Chambers <joncham@gmail.com>
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoNew test.
Marek Safar [Thu, 15 Oct 2009 16:05:03 +0000 (16:05 -0000)]
New test.

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

14 years ago2009-10-15 Marek Safar <marek.safar@gmail.com>
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

14 years agoIn Test/System.Runtime.CompilerServices:
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

14 years agoIn System.Runtime.InteropServices:
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agoNew tests.
Marek Safar [Thu, 15 Oct 2009 11:12:20 +0000 (11:12 -0000)]
New tests.

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

14 years ago2009-10-15 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-15 Jb Evain <jbevain@novell.com>
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago* src/gptrarray.c: implement g_ptr_array_remove_index_fast
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

14 years ago* src/garray.c: (g_array_remove_index_fast) only move 1 element
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 06:21:48 +0000 (06:21 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : do not reject relative short name URI when uriKind is
  RelativeOrAbsolute.

* UriTest3.cs : added test for parsing short name with
  RelativeOrAbsolute mode.

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

14 years ago2009-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Oct 2009 00:11:58 +0000 (00:11 -0000)]
2009-10-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_op_imm_to_op): Handle OP_AND/OR/XOR_IMM.

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

14 years agosynch with 2.6
Gonzalo Paniagua Javier [Wed, 14 Oct 2009 20:57:56 +0000 (20:57 -0000)]
synch with 2.6

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

14 years ago * Makefile: Add Mono.Data.Tds, System.Transactions, System.Data, and
Jonathan Pryor [Wed, 14 Oct 2009 20:55:43 +0000 (20:55 -0000)]
* Makefile: Add Mono.Data.Tds, System.Transactions, System.Data, and
Mono.Data.Sqlite to the MonoTouch build.
* System/System.ComponentModel/TypeConverter_2_1.cs: Skip this type in
the MonoTouch profile; MonoTouch will be using the 2.0 version of
TypeConverter.
* System/System.ComponentModel/ComponentCollection.cs,
System/System.ComponentModel/PropertyDescriptor.cs: MonoTouch uses the
.NET 2.0 versions of these types.
* System/monotouch_System.dll.sources: Add lots of additional .NET 2.0
functionality to the MonoTouch profile.
* System.Transactions/Makefile (VALID_PROFILE): Add monotouch.
* System.Data/System.Data.Common/DbConnection.cs: Throw
NotImplementedException for DbConnection.DbProviderFactory, as
DbProviderFactories isn't included in the MonoTouch profile.
* System.Data/System.Data.SqlClient/SqlConnection.cs: Remove
EnterpriseServices dependency from the MonoTouch profile.
* System.Data/monotouch_System.Data.dll.sources: Added.
* System.Data/System.Data/XmlSchemaDataImporter.cs: Remove
DbProviderFactories dependency in the MonoTouch profile.

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

14 years ago * AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
Jonathan Pryor [Wed, 14 Oct 2009 20:48:51 +0000 (20:48 -0000)]
* AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.

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

14 years ago * CultureInfo.cs: Re-add GetCultures() to the MonoTouch profile.
Jonathan Pryor [Wed, 14 Oct 2009 20:41:43 +0000 (20:41 -0000)]
* CultureInfo.cs: Re-add GetCultures() to the MonoTouch profile.

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

14 years agoImplemented support for building stat call chans in different ways.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:49 +0000 (20:37 -0000)]
Implemented support for building stat call chans in different ways.

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

14 years agoFix the build.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:43 +0000 (20:37 -0000)]
Fix the build.

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

14 years agoAdded support for different ways of getting call chains in stat mode.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:32 +0000 (20:37 -0000)]
Added support for different ways of getting call chains in stat mode.

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

14 years agoAlso check that a jit info has been found (fixes a profiler crash).
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:21 +0000 (20:37 -0000)]
Also check that a jit info has been found (fixes a profiler crash).

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

14 years agoCall mono_profiler_code_buffer_new with correct code address.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:13 +0000 (20:37 -0000)]
Call mono_profiler_code_buffer_new with correct code address.

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

14 years ago2009-10-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 14 Oct 2009 19:30:24 +0000 (19:30 -0000)]
2009-10-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ApplicationHost.cs: use shadowCopyBinAssemblies from
<hostingEnvironment>.

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

14 years agofix MONOTOUCH on trunk
Geoff Norton [Wed, 14 Oct 2009 18:49:14 +0000 (18:49 -0000)]
fix MONOTOUCH on trunk

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

14 years agoadd test which has been failing for a long time to known-issues-dmcs
Raja R Harinath [Wed, 14 Oct 2009 18:43:54 +0000 (18:43 -0000)]
add test which has been failing for a long time to known-issues-dmcs

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

14 years agoBuild only per-profile tools in the net_4_0 profile
Raja R Harinath [Wed, 14 Oct 2009 18:43:37 +0000 (18:43 -0000)]
Build only per-profile tools in the net_4_0 profile

* tools/Makefile (per_profile_dirs): New.  List of subdirs that build
per-profile tools.
(net_2_0_dirs, net_4_0_dirs): Use it.
* tools/tuner/Makefile (CECIL, LINKER): Point to profile-specific assembly.

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

14 years agoreordered null check
Marek Safar [Wed, 14 Oct 2009 17:56:25 +0000 (17:56 -0000)]
reordered null check

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

14 years agoRemoved use of mono_thread_current which can crash on shutdown.
Massimiliano Mantione [Wed, 14 Oct 2009 17:38:20 +0000 (17:38 -0000)]
Removed use of mono_thread_current which can crash on shutdown.

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

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 16:59:58 +0000 (16:59 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* CSharpBinaryOperationBinder.cs, CSharpGetIndexBinder.cs,
CSharpGetMemberBinder.cs, CSharpArgumentInfo.cs, CSharpBinder.cs,
CSharpUnaryOperationBinder.cs, CSharpConvertBinder.cs,
CSharpSetIndexBinder.cs, CSharpSetMemberBinder.cs: Index setters
implemented.

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

14 years agoflush
Marek Safar [Wed, 14 Oct 2009 16:57:49 +0000 (16:57 -0000)]
flush

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

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 16:57:32 +0000 (16:57 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* argument.cs, dynamic.cs, assign.cs, expression.cs, ecore.cs:
Implement dynamic expressions assignment.

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

14 years ago * ListView.cs: When retrieving the top item, take into account the
Carlos Alberto Cortez [Wed, 14 Oct 2009 15:32:43 +0000 (15:32 -0000)]
* ListView.cs: When retrieving the top item, take into account the
offset represented by the header control, to retrieve the proper
value. Patch by Christoph von Wittich (Christoph at ApiViewer.de)
Fixes the remaining bits of #543773.

2009-10-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years ago2009-10-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 14 Oct 2009 15:23:02 +0000 (15:23 -0000)]
2009-10-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: TopItem setter should set the value as the top, not
only ensuring its visibility.
Fixes part of #543773.

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

14 years agoUpdated.
Marek Safar [Wed, 14 Oct 2009 15:22:00 +0000 (15:22 -0000)]
Updated.

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

14 years agoNew test.
Marek Safar [Wed, 14 Oct 2009 15:21:47 +0000 (15:21 -0000)]
New test.

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

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 15:21:22 +0000 (15:21 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Build underlying expression when resolving unary
mutators.

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

14 years ago- Try to fix the msvc build.
Jonathan Pobst [Wed, 14 Oct 2009 15:15:34 +0000 (15:15 -0000)]
- Try to fix the msvc build.

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

14 years ago2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Oct 2009 15:13:48 +0000 (15:13 -0000)]
2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>

* CultureInfo.cs: Refactor to reduce unsafe methods/scope.

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

14 years ago2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Oct 2009 15:08:54 +0000 (15:08 -0000)]
2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>

* Exception.cs: Use StackFrame.GetSecureFileName to display (or
not) the file names (and paths). Don't serialize Source for
Moonlight.
* ValueType.cs: Change InternalEquals (icall) visibility to
private since it is not used elsewhere outside the type.

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

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 12:51:41 +0000 (12:51 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Emit enum array initializer using binary blob.

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

14 years ago2009-10-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Oct 2009 12:15:55 +0000 (12:15 -0000)]
2009-10-14  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Change the date in the copyright.

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

14 years ago2009-10-14 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 14 Oct 2009 10:23:42 +0000 (10:23 -0000)]
2009-10-14  Mark Probst  <mark.probst@gmail.com>

        * method-to-ir.c (mono_method_to_ir): Don't use a managed array
        allocator in shared generic code for open classes, because we
        can't get those classes' vtables.  We need to make managed
        allocators not depend on the vtable at compile-time to solve this.

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

14 years agoCosmetic ...
Martin Baulig [Tue, 13 Oct 2009 22:06:30 +0000 (22:06 -0000)]
Cosmetic ...

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

14 years agoAdd a new 'MONO_DEBUGGER_EVENT_TRAMPOLINE' notification for the debugger which also...
Martin Baulig [Tue, 13 Oct 2009 22:05:47 +0000 (22:05 -0000)]
Add a new 'MONO_DEBUGGER_EVENT_TRAMPOLINE' notification for the debugger which also includes the address of the callsite.
2009-10-13  Martin Baulig  <martin@ximian.com>

* debug-mini.c (mono_debugger_trampoline_compiled): Add
`const guint8 *trampoline' argument; send both the old and the new
notification.

2009-10-13  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.h (MonoDebuggerEvent): Renamed
`MONO_DEBUGGER_EVENT_TRAMPOLINE' into
`MONO_DEBUGGER_EVENT_OLD_TRAMPOLINE' and added a new
`MONO_DEBUGGER_EVENT_TRAMPOLINE'.

* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 4.

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

14 years agoFix arm build.
Zoltan Varga [Tue, 13 Oct 2009 21:16:27 +0000 (21:16 -0000)]
Fix arm build.

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

14 years ago2009-10-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 13 Oct 2009 18:56:06 +0000 (18:56 -0000)]
2009-10-13  Bill Holmes  <billholmes54@gmail.com>

* mono.def, monoposixhelper.def, libmono.vcproj, libtest.vcproj,
  monoposixhelper.vcproj : Fixing MSVC build.

Code is contributed under MIT/X11 license.

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

14 years ago2009-10-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Oct 2009 18:25:47 +0000 (18:25 -0000)]
2009-10-13  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py: Add an 'xdb' command to flush the debugging info.

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

14 years ago2009-10-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Oct 2009 18:19:24 +0000 (18:19 -0000)]
2009-10-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_save_xdebug_info): Group methods into groups of 10 to
avoid registering 1 symbol file per method with gdb.

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