Jonathan Chambers [Mon, 21 Jun 2010 12:19:53 +0000 (12:19 -0000)]
2010-06-21 Jonathan Chambers <joncham@gmail.com>
* Add more projects for net_2_0 profile build, and add commented section with all the projects left.
svn path=/trunk/mcs/; revision=159247
Atsushi Eno [Mon, 21 Jun 2010 12:02:08 +0000 (12:02 -0000)]
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : remove TODOs and unused code.
Remove comment that is not true.
svn path=/trunk/mcs/; revision=159245
Atsushi Eno [Mon, 21 Jun 2010 11:49:11 +0000 (11:49 -0000)]
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
* EndpointAddress.cs : implement remaining ReadFrom() overloads.
* ServiceHostBase.cs : remove extra TODOs.
* EndpointAddressTest.cs : add more ReadFrom() tests.
svn path=/trunk/mcs/; revision=159244
Jb Evain [Mon, 21 Jun 2010 10:03:44 +0000 (10:03 -0000)]
2010-06-21 Jb Evain <jbevain@novell.com>
* TimeZoneInfo.cs: fix the moonlight and monotouch build.
svn path=/trunk/mcs/; revision=159234
Atsushi Eno [Mon, 21 Jun 2010 07:44:07 +0000 (07:44 -0000)]
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
* ServiceThrottle.cs : take ChannelDispatcher to validate setters.
* ServiceThrottlingBehavior.cs : pass channel dispatcher for .ctor.
* ServiceHostBase.cs : remove extra throttling field.
svn path=/trunk/mcs/; revision=159232
Carlos Alberto Cortez [Mon, 21 Jun 2010 01:34:14 +0000 (01:34 -0000)]
2010-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: Actually draw the focus rectangle - TabControl
ignores the value of ShowFocusCues. Also, properly compute the bounds
for the focus rectangle, since it should include the padding of the
tab page.
Fixes bits of #515045.
svn path=/trunk/mcs/; revision=159231
Carlos Alberto Cortez [Sun, 20 Jun 2010 23:02:53 +0000 (23:02 -0000)]
* TabControl.cs: Show the tooltip depending on the value
of ShowTooltips.
Fixes #615376.
2010-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=159230
Carlos Alberto Cortez [Sun, 20 Jun 2010 22:30:36 +0000 (22:30 -0000)]
2010-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: Implement ToolTip support for our tab pages.
Fixes part of #515045.
svn path=/trunk/mcs/; revision=159229
Jb Evain [Sun, 20 Jun 2010 13:14:29 +0000 (13:14 -0000)]
2010-06-20 Jb Evain <jbevain@novell.com>
* metadata-verify.c: do not consider the assembly invalid if it
doesn't have a #Blob stream as resource assemblies don't
necessarily have one.
svn path=/trunk/mono/; revision=159181
Jonathan Pobst [Sat, 19 Jun 2010 20:27:37 +0000 (20:27 -0000)]
2010-06-19 Jonathan Pobst <monkey@jpobst.com>
* FontDialog.cs: Make the 16 colors in the color drop down
match .Net. Patch by Thomas Goldstein (stifu@free.fr).
[Fixes bug #506726]
svn path=/trunk/mcs/; revision=159180
Jonathan Pobst [Sat, 19 Jun 2010 20:18:16 +0000 (20:18 -0000)]
2010-06-19 Jonathan Pobst <monkey@jpobst.com>
* FontDialog.cs: Show all 16 colors in the color drop down
to match .Net. Patch by Thomas Goldstein (stifu@free.fr).
[Fixes bug #508523]
svn path=/trunk/mcs/; revision=159179
Zoltan Varga [Sat, 19 Jun 2010 00:59:57 +0000 (00:59 -0000)]
2010-06-19 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_generic_trampoline): Increase the buf len a little,
to avoid an assert.
svn path=/trunk/mono/; revision=159169
Marek Habersack [Sat, 19 Jun 2010 00:16:36 +0000 (00:16 -0000)]
2010-06-19 Marek Habersack <mhabersack@novell.com>
* FormsAuthentication.cs: Authenticate must compare stored and
newly hashed passwords case-insensitively. Fixes bug #601727
svn path=/trunk/mcs/; revision=159166
Miguel de Icaza [Fri, 18 Jun 2010 23:36:52 +0000 (23:36 -0000)]
2010-06-18 Vincent Povirk <madewokherd@gmail.com>
* TimeZoneInfo.cs: Applied patch from Vincent Povirk that adds
support for reading time zone information on windows.
This patch makes TimeZoneInfo.GetSystemTimeZones and
FindSystemTimeZoneById work based on the registry on non-Unix
platforms, if the appropriate registry key exists. Mono currently
reads from /usr/share/zoneinfo, which doesn't exist on Windows.
This should fix bug 606084.
It won't fix the Local property on Windows. I think that requires
a Windows API call to get the id of the local timezone.
This was modified from the previous version to not check the
registry on Unix platforms. (Sorry it took me so long to do
this. I have very little time to spend on Mono-related work.)
svn path=/trunk/mcs/; revision=159163
Marek Habersack [Fri, 18 Jun 2010 23:01:39 +0000 (23:01 -0000)]
2010-06-19 Marek Habersack <mhabersack@novell.com>
* DataPager.cs: when rendering the ID attribute, use ClientID
2010-06-18 Marek Habersack <mhabersack@novell.com>
* NumericPagerField.cs: CreateDataPagers outputs correct page
number in query mode. Fixes bug #615315
Rendering changes to match .NET
* DataPagerField.cs: if query string has been handled and query
mode is in effect, return true. Fixes bug #615315
svn path=/trunk/mcs/; revision=159161
Rodrigo Kumpera [Fri, 18 Jun 2010 22:18:56 +0000 (22:18 -0000)]
2010-06-18 Rodrigo Kumpera <rkumpera@novell.com>
* ConditionalWeakTableTest.cs: Fix another test.
svn path=/trunk/mcs/; revision=159159
Rodrigo Kumpera [Fri, 18 Jun 2010 22:18:47 +0000 (22:18 -0000)]
2010-06-08 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: Fix test for variant iface.
svn path=/trunk/mcs/; revision=159158
Rodrigo Kumpera [Fri, 18 Jun 2010 22:18:37 +0000 (22:18 -0000)]
2010-06-18 Rodrigo Kumpera <rkumpera@novell.com>
* ConditionalWeakTableTest.cs: Fix it.
svn path=/trunk/mcs/; revision=159157
Zoltan Varga [Fri, 18 Jun 2010 21:13:51 +0000 (21:13 -0000)]
2010-06-18 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_klass_info): Mark unloadable classes properly.
svn path=/trunk/mono/; revision=159156
Zoltan Varga [Fri, 18 Jun 2010 20:51:41 +0000 (20:51 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=159155
Zoltan Varga [Fri, 18 Jun 2010 20:51:35 +0000 (20:51 -0000)]
2010-06-18 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Fix LLVM support.
* mini-llvm.c: When emitting OP_CALL_HANDLER, avoid branching directly to the landing
pad, branch to a new bblock instead.
svn path=/trunk/mono/; revision=159154
Neale Ferguson [Fri, 18 Jun 2010 20:41:43 +0000 (20:41 -0000)]
Cleanup exception handling (no need for "By Name" anymore) and fix s390x
IMT jump logic.
svn path=/trunk/mono/; revision=159151
Zoltan Varga [Fri, 18 Jun 2010 19:57:52 +0000 (19:57 -0000)]
2010-06-18 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_method_code): Use cfg->header instead of the header of
orig_method.
* exceptions-amd64.c (mono_arch_exceptions_init): Fix fullaot support.
svn path=/trunk/mono/; revision=159148
Chris Toshok [Fri, 18 Jun 2010 18:43:31 +0000 (18:43 -0000)]
2010-06-18 Chris Toshok <toshok@ximian.com>
patch from Jacob Berkman:
* src/glib.h (g_mkdir): #define to mkdir
(g_ascii_strtoull): #define to strtoull
* src/gmodule.h: add G_BEGIN/END_DECLS
* src/gstr.c (g_strdupv): new function.
svn path=/trunk/mono/; revision=159147
Atsushi Eno [Fri, 18 Jun 2010 17:53:42 +0000 (17:53 -0000)]
2010-06-18 Atsushi Enomoto <atsushi@ximian.com>
* Rss20ItemFormatter.cs : enabled DateTimeOffset parsing.
Fixed bug #615332, patch by Carlos Martin.
svn path=/trunk/mcs/; revision=159145
Gonzalo Paniagua Javier [Fri, 18 Jun 2010 17:23:32 +0000 (17:23 -0000)]
2010-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Uri.cs: fix serialization for relative URIs. Patch from Greg
Smolyn. Fixes bug #615320.
svn path=/trunk/mcs/; revision=159143
Atsushi Eno [Fri, 18 Jun 2010 15:33:40 +0000 (15:33 -0000)]
2010-06-18 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : Do not build more than one ChannelDispatcher
for a Binding. Then check duplicate listen URIs, excluding mex ones.
* ChannelDispatcher.cs : add simple bool field to mark for mex channel.
* ServiceMetadataExtension.cs : use simple ChannelDispatcher.IsMex field.
* ServiceHostTest.cs : improved endpoint tests and enabled them.
* ChannelDispatcherTest.cs : had to disable a test that regressed from
validating duplicate listen URI. Possible remedy is described too.
svn path=/trunk/mcs/; revision=159140
Zoltan Varga [Fri, 18 Jun 2010 14:38:03 +0000 (14:38 -0000)]
2010-06-18 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (process_bb): Add support for OP_SQRT when using the LLVM mono branch.
svn path=/trunk/mono/; revision=159139
Marek Safar [Fri, 18 Jun 2010 14:19:33 +0000 (14:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=159138
Marek Safar [Fri, 18 Jun 2010 14:19:12 +0000 (14:19 -0000)]
2010-06-18 Marek Safar <marek.safar@gmail.com>
* convert.cs, typespec.cs, method.cs: Fixed few more dynamic
conversion.
svn path=/trunk/mcs/; revision=159137
Marek Safar [Fri, 18 Jun 2010 14:16:34 +0000 (14:16 -0000)]
Updated.
svn path=/trunk/mcs/; revision=159136
Ankit Jain [Fri, 18 Jun 2010 13:04:38 +0000 (13:04 -0000)]
Fix bug #615420.
* xbuild/Microsoft.CSharp.targets: Choose the compiler
based on TargetFrameworkVersion instead of ToolsVersion.
svn path=/trunk/mcs/; revision=159135
Rolf Bjarne Kvinge [Fri, 18 Jun 2010 10:57:22 +0000 (10:57 -0000)]
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* AssemblyInfo.cs: We need to be friends with System.Core now too.
svn path=/trunk/mcs/; revision=159132
Marek Safar [Fri, 18 Jun 2010 10:24:49 +0000 (10:24 -0000)]
New tests.
svn path=/trunk/mcs/; revision=159131
Marek Safar [Fri, 18 Jun 2010 10:24:26 +0000 (10:24 -0000)]
2010-06-18 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, namespace.cs: Report more predefined types and
imported types collision types as a warning.
Fixes #537414, #601157
svn path=/trunk/mcs/; revision=159130
Atsushi Eno [Fri, 18 Jun 2010 08:50:26 +0000 (08:50 -0000)]
2010-06-18 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostTest.cs : fix AddServiceEndpoint tests to make sense.
They are mostly not working. Enable working one.
* TcpTransportBindingElementTest.cs : rename misleading test.
svn path=/trunk/mcs/; revision=159122
Marek Safar [Fri, 18 Jun 2010 07:20:25 +0000 (07:20 -0000)]
New tests.
svn path=/trunk/mcs/; revision=159121
Marek Safar [Fri, 18 Jun 2010 07:20:13 +0000 (07:20 -0000)]
2010-06-18 Marek Safar <marek.safar@gmail.com>
* generic.cs: Overrides base method constraint can use method type
parameter.
* import.cs: Removed redundant cache.
svn path=/trunk/mcs/; revision=159120
Marek Habersack [Thu, 17 Jun 2010 23:49:37 +0000 (23:49 -0000)]
2010-06-18 Marek Habersack <mhabersack@novell.com>
* TestRunner.cs, TestWorkerRequest.cs: added support for POST
requests.
* StandaloneTest.cs: added support for POST requests. Run items
are executed in sequence and their results are preserved for the
next run. If the next run is a POST one, form data is extracted
from the previous response and used to generate POST data for the
current one.
Added a new property, FailedUrlCallbackName, which contains the
fully qualified method name of the test callback which failed.
Callback is no longer required to be present.
2010-06-18 Marek Habersack <mhabersack@novell.com>
* FormViewUpdateParameters_Bug607722.cs: added two POST phases -
Edit and Update.
2010-06-18 Marek Habersack <mhabersack@novell.com>
* standalone-runner.cs: added new command line parameter, --test,
which selects a single test to run instead of the entire suite. It
should be passed a fully qualified (without assembly name) type
name of the test class.
svn path=/trunk/mcs/; revision=159114
Rolf Bjarne Kvinge [Thu, 17 Jun 2010 23:47:17 +0000 (23:47 -0000)]
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MoonIsolatedStorageFile.cs: Add IsEnabled.
svn path=/trunk/mcs/; revision=159113
Rolf Bjarne Kvinge [Thu, 17 Jun 2010 23:47:06 +0000 (23:47 -0000)]
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* FileStream.cs: Include a required ctor in NET_2_1 so that it compiles.
svn path=/trunk/mcs/; revision=159112
Rolf Bjarne Kvinge [Thu, 17 Jun 2010 23:46:55 +0000 (23:46 -0000)]
In class/System.Core:
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* System.Core/Dummy.cs:
* moonlight_raw_System.Core.dll.sources: Add an internal dummy class to create
the System.Core namespace.
* Makefile:
* moonlight_raw_System.Core.dll.sources: Include the dlr in Moonlight.
In class/System.Core/System.Linq:
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* EnumerableQuery.cs:
* EnumerableQuery_T.cs:
* EnumerableExecutor.cs:
* EnumerableExecutor_T.cs: Include in Moonlight.
* Enumerable.cs: Moonlight too needs Zip.
In class/System.Core/System.Runtime.CompilerServices:
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* ExecutionScope.cs: This class exists in Moonlight, but isn't supported.
* StrongBox_T.cs:
* DynamicAttribute.cs: Include in Moonlight.
svn path=/trunk/mcs/; revision=159111
Rolf Bjarne Kvinge [Thu, 17 Jun 2010 23:46:43 +0000 (23:46 -0000)]
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* StringBuilder.cs: Moonlight needs Clear too.
svn path=/trunk/mcs/; revision=159110
Rolf Bjarne Kvinge [Thu, 17 Jun 2010 23:16:37 +0000 (23:16 -0000)]
2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
* src/eglib-remap.h: Remap g_ptr_array_remove_fast too.
svn path=/trunk/mono/; revision=159107
Geoff Norton [Thu, 17 Jun 2010 20:45:09 +0000 (20:45 -0000)]
2010-06-17 Geoff Norton <gnorton@novell.com>
* sgen-archdep.h: sgen support for arm linux and darwin.
svn path=/trunk/mono/; revision=159106
Geoff Norton [Thu, 17 Jun 2010 20:44:26 +0000 (20:44 -0000)]
2010-06-17 Geoff Norton <gnorton@novell.com>
* mini-arm.h:
* exceptions-arm.c: Move the UCONTEXT macros to mono-sigcontext.h so they
can be used by sgen.
svn path=/trunk/mono/; revision=159105
Geoff Norton [Thu, 17 Jun 2010 20:42:47 +0000 (20:42 -0000)]
2010-06-17 Geoff Norton <gnorton@novell.com>
* mono-sigcontext.h: Add arm variants.
svn path=/trunk/mono/; revision=159104
Zoltan Varga [Thu, 17 Jun 2010 20:39:52 +0000 (20:39 -0000)]
2010-06-17 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_klass_info): Handle type load exceptions.
* method-to-ir.c (mono_method_to_ir): Avoid a crash if mono_method_get_header ()
fails.
svn path=/trunk/mono/; revision=159103
Zoltan Varga [Thu, 17 Jun 2010 20:39:45 +0000 (20:39 -0000)]
2010-06-17 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_get_header): Avoid a crash if the declaring method
has a faulty header.
svn path=/trunk/mono/; revision=159102
Zoltan Varga [Thu, 17 Jun 2010 20:17:19 +0000 (20:17 -0000)]
2010-06-17 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c (mono_x86_throw_corlib_exception): Negate the decrement of
the ip done by throw_exception (), it is not needed for corlib exceptions.
svn path=/trunk/mono/; revision=159101
Zoltan Varga [Thu, 17 Jun 2010 19:40:43 +0000 (19:40 -0000)]
2010-06-17 Zoltan Varga <vargaz@gmail.com>
* VirtualMachine.cs Connection.cs: Group events received together into an EventSet,
like it is done in JDI. Add a GetNextEventSet () method.
svn path=/trunk/mcs/; revision=159084
Rodrigo Kumpera [Thu, 17 Jun 2010 19:24:18 +0000 (19:24 -0000)]
2010-06-17 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (mono_gc_wbarrier_value_copy_bitmap): Work in a similar
way to mono_gc_wbarrier_value_copy but takes a bitmap that
indicates which slots need a write barrier.
2010-06-17 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_emit_wb_aware_memcpy): Simplify this function.
Call new jit icall mono_gc_wbarrier_value_copy_bitmap for vt wbarrier
of size > 5 words. This support fast barriers for value types up to
256/512 bytes which beyond that the copying itself is the major issue.
* method-to-ir.c (mini_emit_stobj): The intrinsic version is safe
for gsharing, so use it.
This eliminate all calls to mono_value_copy from managed code in
gmcs, fsharp and ipy.
This gives a 2% perf boost on ipy and 1% on gmcs over previous patches.
Even thou a lot of mono_value_copy calls were eliminated from fsharp,
performance kept
* mini.c (mini_init): Register new icall.
svn path=/trunk/mono/; revision=159083
Rodrigo Kumpera [Thu, 17 Jun 2010 19:24:09 +0000 (19:24 -0000)]
2010-06-17 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_emit_wb_aware_memcpy): Handle nested valuetypes.
This eliminates 2% of mono_value_copy calls on ipy and 12% on fsharp.
svn path=/trunk/mono/; revision=159082
Rodrigo Kumpera [Thu, 17 Jun 2010 19:24:01 +0000 (19:24 -0000)]
2010-06-17 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mini_emit_stobj): Don't call mono_value_copy for small
value types as the overhead is huge. Manually expand it up to 5 words to
avoid code bloat.
This improves gmcs times by 5% and unmodified binary-tree by 78%. The later
is an exception that performance is dominated by mono_value_copy.
This puts sgen about 5% ahead of boehm in terms of wall-clock on a Core2Quad.
svn path=/trunk/mono/; revision=159081
Marek Safar [Thu, 17 Jun 2010 17:36:57 +0000 (17:36 -0000)]
2010-06-17 Marek Safar <marek.safar@gmail.com>
* generic.cs: Propagate type only inflate downwards.
svn path=/trunk/mcs/; revision=159078
Geoff Norton [Thu, 17 Jun 2010 17:21:53 +0000 (17:21 -0000)]
fix the mac ppc build
svn path=/trunk/mono/; revision=159077
Carlos Alberto Cortez [Thu, 17 Jun 2010 17:11:30 +0000 (17:11 -0000)]
2010-06-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: When calculating the size of our tabs use
MinimumTabWidth only if SizeMode is other than Fixed.
Patch by Thomas Goldstein (stifu@free.fr).
svn path=/trunk/mcs/; revision=159076
Miguel de Icaza [Thu, 17 Jun 2010 16:29:13 +0000 (16:29 -0000)]
2010-06-17 Miguel de Icaza <miguel@novell.com>
* DataConverter.cs: On bracketed cases, save the position as well,
like we do in the repeat case without brackets. Fixes #595929
svn path=/trunk/mcs/; revision=159075
Zoltan Varga [Thu, 17 Jun 2010 14:39:20 +0000 (14:39 -0000)]
2010-06-17 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (process_call): Disable LLVM for calls to generic class init
trampolines on x86, since those have their own cconv.
svn path=/trunk/mono/; revision=159074
Zoltan Varga [Thu, 17 Jun 2010 14:33:34 +0000 (14:33 -0000)]
2010-06-17 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c (mono_arch_exceptions_init): Implement the llvm throw corlib
exception trampolines.
* tramp-x86.c: Add xdebug info for a few trampolines.
* mini-llvm.c: Set the name of the arguments.
svn path=/trunk/mono/; revision=159073
Atsushi Eno [Thu, 17 Jun 2010 11:34:55 +0000 (11:34 -0000)]
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
* MtomMessageEncodingBindingElement.cs: it's base is abstract, use
context.GetInnerProperty<T>().
svn path=/trunk/mcs/; revision=159068
Atsushi Eno [Thu, 17 Jun 2010 11:24:58 +0000 (11:24 -0000)]
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : enable simpler MessageVersion code (issued got fixed).
* MtomMessageEncodingBindingElement.cs, TransportBindingElement.cs,
TextMessageEncodingBindingElement.cs : return MessageVersion in
GetProperty<T>().
* HttpTransportBindingElementTest.cs, CustomBindingTest.cs :
anohter couple of MessageVersion tests.
svn path=/trunk/mcs/; revision=159066
Marek Safar [Thu, 17 Jun 2010 11:02:14 +0000 (11:02 -0000)]
New tests.
svn path=/trunk/mcs/; revision=159063
Marek Safar [Thu, 17 Jun 2010 11:01:07 +0000 (11:01 -0000)]
2010-06-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #614955
* method.cs: Do not reject binary dynamic operators.
svn path=/trunk/mcs/; revision=159062
Atsushi Eno [Thu, 17 Jun 2010 10:48:55 +0000 (10:48 -0000)]
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : retrieve MessageVersion and raise an error
if there is none. (Check this earlier than building a listener.)
* ChannelDispatcher.cs : MessageVersion check is moved to
ServiceHostBase.
* ServiceMetadataExtension.cs : overwrite MessageVersion to use None.
(The only special case I found for ChannelDispatcher.MessageVersion.)
* CustomBindingTest.cs : add tests for MessageVersion check on Open().
* MetadataExchangeBindingsTest.cs : make sure that special casing of
MessageVersion does not happen at this layer.
svn path=/trunk/mcs/; revision=159061
Atsushi Eno [Thu, 17 Jun 2010 10:48:06 +0000 (10:48 -0000)]
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : add commented-out code for MessageVersion replacement.
* TransactionFlowBindingElement.cs : implement (almost dummy).
svn path=/trunk/mcs/; revision=159060
Marek Safar [Thu, 17 Jun 2010 10:45:48 +0000 (10:45 -0000)]
2010-06-17 Marek Safar <marek.safar@gmail.com>
* typespec.cs: Internal types have no generic parameters.
Fixes #615022.
svn path=/trunk/mcs/; revision=159059
Marek Safar [Thu, 17 Jun 2010 10:33:08 +0000 (10:33 -0000)]
2010-06-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #614955
* cs-parser.jay: Correctly set expression mode for default parameter
values.
svn path=/trunk/mcs/; revision=159058
Marek Safar [Thu, 17 Jun 2010 10:12:03 +0000 (10:12 -0000)]
Add dynamic transform for base types
svn path=/trunk/mcs/; revision=159057
Marek Safar [Thu, 17 Jun 2010 09:25:39 +0000 (09:25 -0000)]
2010-06-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #615023
* ecore.cs: Resolve dynamic namespace and keyword collision in the
favour of the keyword.
svn path=/trunk/mcs/; revision=159056
Marek Safar [Thu, 17 Jun 2010 09:01:42 +0000 (09:01 -0000)]
typo
svn path=/trunk/mcs/; revision=159055
Marek Safar [Thu, 17 Jun 2010 08:54:17 +0000 (08:54 -0000)]
2010-06-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #614917
* convert.cs: Allow more undocumented 0 like values to enum type
conversions.
svn path=/trunk/mcs/; revision=159054
Marek Safar [Thu, 17 Jun 2010 07:19:57 +0000 (07:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=159051
Marek Safar [Thu, 17 Jun 2010 07:19:22 +0000 (07:19 -0000)]
2010-06-17 Marek Safar <marek.safar@gmail.com>
* generic.cs, method.cs: Inflate copied type parameters from base
class or explicit interfaces.
* convert.cs: Fixed conversion between two type parameters.
Fixes #614471
svn path=/trunk/mcs/; revision=159050
Marek Habersack [Thu, 17 Jun 2010 00:56:12 +0000 (00:56 -0000)]
2010-06-17 Marek Habersack <mhabersack@novell.com>
* RootBuilder.cs: both LINK and META HTML tags must be represented
as instances of HtmlGenericControl. Fixes bug #603541
svn path=/trunk/mcs/; revision=159046
Zoltan Varga [Thu, 17 Jun 2010 00:28:24 +0000 (00:28 -0000)]
2010-06-17 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (emit_cond_system_exception): Pass the ip of to throw_corlib_trampoline
using a block address if using the LLVM mono branch.
* exceptions-amd64.c (mono_arch_exceptions_init): Add new LLVM throw corlib exception
trampolines.
svn path=/trunk/mono/; revision=159044
Miguel de Icaza [Wed, 16 Jun 2010 23:39:02 +0000 (23:39 -0000)]
2010-06-16 Miguel de Icaza <miguel@novell.com>
* Random.cs: Do not call Math.Abs blindly when we get an int
value, as Math.Abs (Int32.MinValue) throws an overflow exception,
and our constructor uses Environment.TickCount which means that
eventually we will get a crash.
Fixes #605797
svn path=/trunk/mcs/; revision=159042
Miguel de Icaza [Wed, 16 Jun 2010 23:28:09 +0000 (23:28 -0000)]
Fix for 607585
svn path=/trunk/mcs/; revision=159041
Marek Habersack [Wed, 16 Jun 2010 21:49:55 +0000 (21:49 -0000)]
2010-06-16 Marek Habersack <mhabersack@novell.com>
* FormView.cs: row values must be retrieved with inclusion of
keys. Fixes bug #607722
svn path=/trunk/mcs/; revision=159037
Gonzalo Paniagua Javier [Wed, 16 Jun 2010 20:24:45 +0000 (20:24 -0000)]
2010-06-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: DELETE allows an entity body.
Fixes bug #614483.
svn path=/trunk/mcs/; revision=159036
Marek Safar [Wed, 16 Jun 2010 15:21:49 +0000 (15:21 -0000)]
removed debugging leftover
svn path=/trunk/mcs/; revision=159027
Marek Safar [Wed, 16 Jun 2010 15:13:28 +0000 (15:13 -0000)]
2010-06-16 Marek Safar <marek.safar@gmail.com>
* membercache.cs, convert.cs: Correctly resize an array used by
GetUserOperator.
svn path=/trunk/mcs/; revision=159026
Marek Safar [Wed, 16 Jun 2010 14:28:32 +0000 (14:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=159024
Marek Safar [Wed, 16 Jun 2010 14:27:57 +0000 (14:27 -0000)]
2010-06-16 Marek Safar <marek.safar@gmail.com>
* CSharpInvokeMemberBinder.cs: Construct MemberAccess for simple
name expressions.
svn path=/trunk/mcs/; revision=159023
Marek Safar [Wed, 16 Jun 2010 14:22:57 +0000 (14:22 -0000)]
2010-06-15 Marek Safar <marek.safar@gmail.com>
A fix for bug #599601
* dynamic.cs, ecore.cs: A new flag for dynamic resolver to ignore
generated member access left expression.
svn path=/trunk/mcs/; revision=159022
Atsushi Eno [Wed, 16 Jun 2010 12:42:09 +0000 (12:42 -0000)]
2010-06-16 Atsushi Enomoto <atsushi@ximian.com>
* Atom10ItemFormatter.cs : Fix reading of "source" element to not
expect feed element (ReadFrom() expects it). Fixed bug #614596.
svn path=/trunk/mcs/; revision=159019
Carlos Alberto Cortez [Wed, 16 Jun 2010 12:20:46 +0000 (12:20 -0000)]
2010-06-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: New test for two instances calling
Remove.
svn path=/trunk/mcs/; revision=159018
Carlos Alberto Cortez [Wed, 16 Jun 2010 12:20:38 +0000 (12:20 -0000)]
2010-06-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Remove should catch all the exceptions
caused by DirectoryInfo.Delete and throw an IsolatedStorageException
instead.
svn path=/trunk/mcs/; revision=159017
Atsushi Eno [Wed, 16 Jun 2010 11:24:09 +0000 (11:24 -0000)]
2010-06-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : do not try to parse xml:base="".
Fixed bug #608391.
2010-06-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReaderTests.cs : added test for bug #608391.
svn path=/trunk/mcs/; revision=159013
Marek Safar [Wed, 16 Jun 2010 10:38:54 +0000 (10:38 -0000)]
2010-06-16 Marek Safar <marek.safar@gmail.com>
* expression.cs: Dispatch dynamic invocation solely on left
expression type.
svn path=/trunk/mcs/; revision=159010
Marek Safar [Wed, 16 Jun 2010 10:35:33 +0000 (10:35 -0000)]
Comment.
svn path=/trunk/mcs/; revision=159009
Marek Safar [Wed, 16 Jun 2010 09:33:45 +0000 (09:33 -0000)]
Removed mscorlib 4 check for dynamic
svn path=/trunk/mcs/; revision=159008
Marek Safar [Wed, 16 Jun 2010 08:53:28 +0000 (08:53 -0000)]
update
svn path=/trunk/mcs/; revision=159007
Marek Safar [Wed, 16 Jun 2010 08:38:57 +0000 (08:38 -0000)]
Track mcs changes
svn path=/trunk/mcs/; revision=159006
Marek Safar [Wed, 16 Jun 2010 08:32:10 +0000 (08:32 -0000)]
New test.
svn path=/trunk/mcs/; revision=159005
Marek Safar [Wed, 16 Jun 2010 08:29:53 +0000 (08:29 -0000)]
2010-06-16 Marek Safar <marek.safar@gmail.com>
* expression.cs, statement.cs: Always persist explicit cast
semantic at expression level.
svn path=/trunk/mcs/; revision=159004
Ankit Jain [Tue, 15 Jun 2010 22:55:16 +0000 (22:55 -0000)]
* SolutionParser.cs (ParseSolution): Use ProjectReference's
filename to locate if no guid is specified or project can't
be found by the guid.
svn path=/trunk/mcs/; revision=158985
Jonathan Chambers [Tue, 15 Jun 2010 22:48:09 +0000 (22:48 -0000)]
2010-06-15 Jonathan Chambers <joncham@gmail.com>
* Tds.cs: Add {} around default switch case.
* OdbcDataReader.cs: Remove unneeded cast on ref parameter
svn path=/trunk/mcs/; revision=158984
Jonathan Chambers [Tue, 15 Jun 2010 22:24:14 +0000 (22:24 -0000)]
2010-06-15 Jonathan Chambers <joncham@gmail.com>
* Add more projects for net_2_0 profile build.
svn path=/trunk/mcs/; revision=158981
Gonzalo Paniagua Javier [Tue, 15 Jun 2010 21:58:30 +0000 (21:58 -0000)]
2010-06-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: 307 does not change request method.
svn path=/trunk/mcs/; revision=158980