Robert Jordan [Sat, 18 Jul 2009 23:15:10 +0000 (23:15 -0000)]
In Mono.Interop:
2009-07-11 Robert Jordan <robertj@gmx.net>
* ComInteropProxy.cs: Implement CreateProxy. Hide public/internal
ctors forcing CreateProxy's usage. Hide CacheProxy since the
runtime is able to lookup it anyways.
Fixes bug #520437.
In System:
2009-07-19 Robert Jordan <robertj@gmx.net>
* __ComObject.cs: Factor out Initialize method and expose it to
ComInteropProxy. Fixes bug #520437.
In System.Runtime.Remoting:
2009-07-11 Robert Jordan <robertj@gmx.net>
* RemotingServices.cs: Track ComInteropProxy's changes.
svn path=/trunk/mcs/; revision=138182
Michael Barker [Sat, 18 Jul 2009 16:52:20 +0000 (16:52 -0000)]
Added support for setting the provider using an App.config file, also allow for Mono.Messaging.RabbitMQ provider to be loaded from
the GAC.
svn path=/trunk/mcs/; revision=138179
Marek Habersack [Sat, 18 Jul 2009 13:04:56 +0000 (13:04 -0000)]
2009-07-18 Marek Habersack <mhabersack@novell.com>
* HttpContext.cs: GetGlobalResourceObject must look for resources
in the 'Resources' "namespace" - it was a regression from the
previous change to that method.
2009-07-18 Marek Habersack <mhabersack@novell.com>
* DefaultResourceProvider.cs: if GetResourceObject is passed a
null or empty classKey it just returns null.
* AppResourcesAssemblyBuilder.cs: satellite assemblies are now
built using al instead of gmcs - makes the build slightly faster.
svn path=/trunk/mcs/; revision=138177
Gert Driesen [Sat, 18 Jul 2009 12:14:42 +0000 (12:14 -0000)]
* Container.cs: Use generic list on 2.0 profile, and avoid using var
on 1.0 profile. Use for loop instead of while in Dispose to avoid
accessing count on each iteration.
svn path=/trunk/mcs/; revision=138176
Gert Driesen [Sat, 18 Jul 2009 09:56:51 +0000 (09:56 -0000)]
* Container.cs: Avoid NRE in Remove and RemoveWithoutUnsiting.
* ContainerTest.cs: Added tests for Remove and RemoveWithoutUnsiting.
svn path=/trunk/mcs/; revision=138175
Gert Driesen [Sat, 18 Jul 2009 08:20:49 +0000 (08:20 -0000)]
* ContainerTest.cs: Added tests for Add, Dispose, ValidateName and
GetService.
* Container.cs: Changed Dispose(bool) behaviour to match .NET, based
on patch by Tom Hindle (tom_hindle@sil.org). Also use ValidateName
in Add overloads on 1.0 profile by making it available as private
method. Use case-insensitive comparison of component name.
svn path=/trunk/mcs/; revision=138174
Zoltan Varga [Fri, 17 Jul 2009 23:50:11 +0000 (23:50 -0000)]
2009-07-18 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_method): Change the handling of the
MONO_LASTAOT env variable so MONO_LASTAOT=0 means that no aot methods
are used.
svn path=/trunk/mono/; revision=138172
Zoltan Varga [Fri, 17 Jul 2009 23:50:02 +0000 (23:50 -0000)]
2009-07-18 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_patch_info_equal): Really fix the handling of RGCTX_FETCH.
svn path=/trunk/mono/; revision=138171
Mark Probst [Fri, 17 Jul 2009 23:15:35 +0000 (23:15 -0000)]
2009-07-18 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Check for writes to the stack in the managed
wbarrier as well.
svn path=/trunk/mono/; revision=138167
Mark Probst [Fri, 17 Jul 2009 23:07:15 +0000 (23:07 -0000)]
2009-07-18 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: When a thread is unregistered, don't free its remsets
but put them on a list which is processed with the other thread's
remsets.
svn path=/trunk/mono/; revision=138165
Mark Probst [Fri, 17 Jul 2009 22:45:34 +0000 (22:45 -0000)]
2009-07-18 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Fix and enable the internal allocator instead of
using malloc/free (which causes deadlocks).
svn path=/trunk/mono/; revision=138164
Zoltan Varga [Fri, 17 Jul 2009 19:22:32 +0000 (19:22 -0000)]
2009-07-17 Zoltan Varga <vargaz@gmail.com>
* add-conditional.pl Makefile: Applied patch from Marcus Griep
<marcus@griep.us>. Remove workarounds for compiling this assembly in the
net 1.1 profile.
svn path=/trunk/mcs/; revision=138152
Zoltan Varga [Fri, 17 Jul 2009 19:22:02 +0000 (19:22 -0000)]
2009-07-17 Zoltan Varga <vargaz@gmail.com>
* add-conditional.pl Makefile: Applied patch from Marcus Griep
<marcus@griep.us>. Remove workarounds for compiling this assembly in the
net 1.1 profile.
svn path=/trunk/mcs/; revision=138151
Zoltan Varga [Fri, 17 Jul 2009 19:21:43 +0000 (19:21 -0000)]
2009-07-17 Zoltan Varga <vargaz@gmail.com>
* Makefile: Applied patch from Marcus Griep <marcus@griep.us>.
Move Mono.C5 to net_2_0_dirs.
svn path=/trunk/mcs/; revision=138150
Carlos Alberto Cortez [Fri, 17 Jul 2009 18:27:29 +0000 (18:27 -0000)]
2009-07-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RadioButtonTest.cs: Update the Checked test to not depend on
Form.Show, since we need to check the same behaviour even if no handle
has been created yet.
svn path=/trunk/mcs/; revision=138146
Carlos Alberto Cortez [Fri, 17 Jul 2009 18:24:44 +0000 (18:24 -0000)]
2009-07-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RadioButton.cs: Setting Checked when none of the sibligs is checked
should happen *not* in GotFocus, but in the Enter event. This is
specially important since we should get that Checked behaviour even if
no handle is created yet - and thus, no actual GotFocus call happens at
the time.
Fixes #520764.
svn path=/trunk/mcs/; revision=138145
Zoltan Varga [Fri, 17 Jul 2009 18:01:33 +0000 (18:01 -0000)]
2009-07-17 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_patch_info_equal): Revert the last change for now as it
seems to break the aot tests.
svn path=/trunk/mono/; revision=138144
Gonzalo Paniagua Javier [Fri, 17 Jul 2009 17:58:53 +0000 (17:58 -0000)]
2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ConfigurationElement.cs: don't skip xml nodes when reading 2
ConfigurationElement in a row. Patch by Greg Smolyn that fixes bug
#521231.
svn path=/trunk/mcs/; revision=138142
Gonzalo Paniagua Javier [Fri, 17 Jul 2009 17:40:46 +0000 (17:40 -0000)]
2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-proclib.c: fix reading processor usage for a process. Patch
from Jacob Gladish that fixes bug #523052.
svn path=/trunk/mono/; revision=138138
Atsushi Eno [Fri, 17 Jul 2009 13:47:15 +0000 (13:47 -0000)]
2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs: add the registered node itself to peer list.
(The messaging must be done as TCP request/reply pattern, so it's
not working yet.)
svn path=/trunk/mcs/; revision=138126
Atsushi Eno [Fri, 17 Jul 2009 13:45:19 +0000 (13:45 -0000)]
2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
* TcpRequestChannel.cs : new channel file (TCP for request/reply
messaging pattern). The messaging part is not working yet.
* TcpChannelFactory.cs : support IRequestChannel.
* TcpDuplexSessionChannel.cs : add unsized message support.
* System.ServiceModel.dll.sources: add TcpRequestChannel.
svn path=/trunk/mcs/; revision=138125
Atsushi Eno [Fri, 17 Jul 2009 12:48:45 +0000 (12:48 -0000)]
2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, RequestChannelBase.cs :
A couple of async members are now implemented in the base class.
Ditto for EndpointAddress and Via.
svn path=/trunk/mcs/; revision=138122
Atsushi Eno [Fri, 17 Jul 2009 12:45:36 +0000 (12:45 -0000)]
2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
* NetTcpBinding.cs : a couple of members should be passed to
appropriate binding element.
svn path=/trunk/mcs/; revision=138121
Zoltan Varga [Fri, 17 Jul 2009 02:45:38 +0000 (02:45 -0000)]
2009-07-17 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_patch_info_equal): Fix the handling of
MONO_PATCH_INFO_RGCTX_FETCH.
svn path=/trunk/mono/; revision=138095
Miguel de Icaza [Thu, 16 Jul 2009 20:54:19 +0000 (20:54 -0000)]
Update docs
svn path=/trunk/mono/; revision=138079
Zoltan Varga [Thu, 16 Jul 2009 20:01:17 +0000 (20:01 -0000)]
2009-07-16 Zoltan Varga <vargaz@gmail.com>
* unwind.c: Use TARGET_AMD64 instead of __x86_64__.
svn path=/trunk/mono/; revision=138077
Carlos Alberto Cortez [Thu, 16 Jul 2009 19:46:27 +0000 (19:46 -0000)]
2009-07-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: Adjust manually the top border for out internal
ComboBox, since removing the border from it leaves it without any
margin. This is not noticeable in a default ComboBox, but it is in an
instance shown on top of ToolStrip.
Fixes the remaining part of #507462.
svn path=/trunk/mcs/; revision=138075
Zoltan Varga [Thu, 16 Jul 2009 19:23:02 +0000 (19:23 -0000)]
2009-07-16 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_patch_info_hash): Fix the handling of
MONO_PATCH_INFO_INTERNAL_METHOD.
(mono_patch_info_equal): Ditto.
svn path=/trunk/mono/; revision=138074
Marek Safar [Thu, 16 Jul 2009 19:13:08 +0000 (19:13 -0000)]
Run the test.
svn path=/trunk/mcs/; revision=138073
Raja R Harinath [Thu, 16 Jul 2009 17:56:14 +0000 (17:56 -0000)]
Improve coarse-grain parallelism in the build
* Makefile (_boot_:net_2_0_bootstrap): Depend on
'net_1_1_bootstrap' profile, rather than 'net_1_1'.
* build/profiles/net_2_0_bootstrap.make (BOOTSTRAP_PROFILE): Set to
net_1_1_bootstrap instead of net_1_1.
svn path=/trunk/mcs/; revision=138070
Sebastien Pouliot [Thu, 16 Jul 2009 17:38:58 +0000 (17:38 -0000)]
2009-07-16 Sebastien Pouliot <sebastien@ximian.com>
* WebHeaderCollection_2_1.cs: Seal type.
svn path=/trunk/mcs/; revision=138068
Sebastien Pouliot [Thu, 16 Jul 2009 17:30:34 +0000 (17:30 -0000)]
2009-07-16 Sebastien Pouliot <sebastien@ximian.com>
* InvalidTimeZoneException.cs, TimeZoneInfo.AdjustmentRule.cs,
TimeZoneInfo.cs, TimeZoneInfo.TransitionTime.cs: Bring back those
inside NET_2_1 profile for Moonlight.
svn path=/trunk/mcs/; revision=138067
Raja R Harinath [Thu, 16 Jul 2009 17:17:00 +0000 (17:17 -0000)]
* get.c (get_type): Make robust to invalid types.
svn path=/trunk/mono/; revision=138066
Marek Safar [Thu, 16 Jul 2009 17:03:50 +0000 (17:03 -0000)]
2009-07-16 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Split assignable and readonly generated variable
references.
svn path=/trunk/mcs/; revision=138063
Marek Safar [Thu, 16 Jul 2009 15:57:14 +0000 (15:57 -0000)]
New test.
svn path=/trunk/mcs/; revision=138060
Marek Safar [Thu, 16 Jul 2009 15:56:30 +0000 (15:56 -0000)]
2009-07-16 Marek Safar <marek.safar@gmail.com>
A fix for bug #521671
* statement.cs: Fixed crash when checking missing type.
svn path=/trunk/mcs/; revision=138058
Marek Safar [Thu, 16 Jul 2009 15:24:22 +0000 (15:24 -0000)]
New tests.
svn path=/trunk/mcs/; revision=138055
Marek Safar [Thu, 16 Jul 2009 15:24:06 +0000 (15:24 -0000)]
2009-07-16 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, generic.cs, argument.cs, linq.cs, convert.cs,
assign.cs, expression.cs, statement.cs, support.cs, ecore.cs,
class.cs, driver.cs: Work on dynamic binding.
* dynamic.cs: New file.
* *.sources, *.proj: Updated.
svn path=/trunk/mcs/; revision=138054
Zoltan Varga [Thu, 16 Jul 2009 15:10:10 +0000 (15:10 -0000)]
2009-07-16 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Use module instead of ctx->module
in a few places.
svn path=/trunk/mono/; revision=138052
Marek Habersack [Thu, 16 Jul 2009 14:26:18 +0000 (14:26 -0000)]
2009-07-16 Marek Habersack <mhabersack@novell.com>
* main.c: added new --presources option which prints manifest
resource offsets and names.
* monodis.1: added documentation of the --presources option.
svn path=/trunk/mono/; revision=138037
Rodrigo Kumpera [Thu, 16 Jul 2009 12:33:44 +0000 (12:33 -0000)]
2009-07-16 Rodrigo Kumpera <rkumpera@novell.com>
* refletion.c: Fix builds with SRE disabled by adding a minimal
implementation of mono_reflection_type_get_handle.
svn path=/trunk/mono/; revision=138025
Zoltan Varga [Thu, 16 Jul 2009 11:42:17 +0000 (11:42 -0000)]
2009-07-16 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c: Add some infrastructure for AOT support.
svn path=/trunk/mono/; revision=138022
Zoltan Varga [Thu, 16 Jul 2009 11:42:09 +0000 (11:42 -0000)]
2009-07-15 Zoltan Varga <vargaz@gmail.com>
* mini-llvm-cpp.cpp (mono_llvm_build_alloca): Update to latest llvm api.
svn path=/trunk/mono/; revision=138021
Jb Evain [Thu, 16 Jul 2009 09:34:14 +0000 (09:34 -0000)]
2009-07-16 Jb Evain <jbevain@novell.com>
* Mono.Cecil/AssemblyFactory.cs
* Mono.Cecil.Metadata/MetadataWriter.cs
* Mono.Cecil.Binary/ImageWriter.cs:
Support for properly writing 4.0 dlls.
Patch by Carlo Kok <ck@remobjects.com>.
svn path=/trunk/mcs/; revision=138018
Rodrigo Kumpera [Thu, 16 Jul 2009 03:58:07 +0000 (03:58 -0000)]
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* refletion.c: Make mono_reflection_type_get_handle non static.
* object-internals.h: Export mono_reflection_type_get_handle.
* icall.c (ves_icall_MonoGenericClass_InflateType): Resolve the
unmanaged handle using mono_reflection_type_get_handle.
Fix changelog date of previous commit.
svn path=/trunk/mono/; revision=138013
Gonzalo Paniagua Javier [Thu, 16 Jul 2009 03:34:10 +0000 (03:34 -0000)]
2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Font.cs: implement OriginalFontName.
svn path=/trunk/mcs/; revision=138012
Gonzalo Paniagua Javier [Thu, 16 Jul 2009 00:43:35 +0000 (00:43 -0000)]
build hacks
svn path=/trunk/mcs/; revision=138010
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 22:24:05 +0000 (22:24 -0000)]
new class
svn path=/trunk/mcs/; revision=138006
Rodrigo Kumpera [Wed, 15 Jul 2009 20:46:56 +0000 (20:46 -0000)]
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* refletion.c: Replace all reads of MonoReflectionType::type with
calls to mono_reflection_type_get_handle. Only the functions that
deal with constructing TypeBuilder::type have not been changed
because they have to deal with NULL values.
This is a first step into supporting reflection types that don't
map directly into their unmanaged counterpart.
svn path=/trunk/mono/; revision=138001
Rodrigo Kumpera [Wed, 15 Jul 2009 20:46:41 +0000 (20:46 -0000)]
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-x86.md:
* cpu-amd64.md: Revert previous change as those instructions
take 2 separate arguments. Remember to read the arch docs more
carefully next time.
svn path=/trunk/mono/; revision=138000
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 20:28:25 +0000 (20:28 -0000)]
2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-proclib.c: fixed setting the NUL terminator.
Thanks to Jacob Gladish.
svn path=/trunk/mono/; revision=137998
Rodrigo Kumpera [Wed, 15 Jul 2009 19:56:21 +0000 (19:56 -0000)]
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* EnumBuilder.cs: Use new derived types for array, pointer and byref.
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTest.cs: New tests for interaction with
EnumBuilder objects.
svn path=/trunk/mcs/; revision=137989
Rodrigo Kumpera [Wed, 15 Jul 2009 19:56:10 +0000 (19:56 -0000)]
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* GenericTypeParameterBuilder.cs (MakeByRefType): Return an instance
of PointerType instead of relying on the runtime for it.
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTest.cs: New tests for PointerTypeinteraction
with GenericTypeParameterBuilder.
svn path=/trunk/mcs/; revision=137988
Rodrigo Kumpera [Wed, 15 Jul 2009 19:55:58 +0000 (19:55 -0000)]
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* GenericTypeParameterBuilder.cs (MakeByRefType): Return an instance
of ByRefType instead of relying on the runtime for it.
2009-07-15 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTest.cs: New tests for generics related
stuff and interaction with GenericTypeParameterBuilder.
svn path=/trunk/mcs/; revision=137987
Ankit Jain [Wed, 15 Jul 2009 19:43:02 +0000 (19:43 -0000)]
Fix bug #519922.
* AssemblyResolver.cs (FindInDirectory): Try the @reference as a
filename as it is, or with different @file_extensions.
If @reference is a assembly name, then look for *.@file_extensions
for target assembly.
(GetAssemblyNameFromFile): Log FileNotFoundException and BadImageFormatException
separately, instead of a single unclear message.
Change all uses of Assembly.GetAssemblyName with GetAssemblyNameFromFile
which does the required error checking and logging.
svn path=/trunk/mcs/; revision=137986
Zoltan Varga [Wed, 15 Jul 2009 19:04:10 +0000 (19:04 -0000)]
2009-07-15 Zoltan Varga <vargaz@gmail.com>
* mini-llvm-cpp.cpp (mono_llvm_build_alloca): Update to latest llvm api.
svn path=/trunk/mono/; revision=137984
Sebastien Pouliot [Wed, 15 Jul 2009 18:57:09 +0000 (18:57 -0000)]
2009-07-15 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Fix XVisualIDFromVisual to return an IntPtr
since 64 bits X servers will return a 64 bits value.
* gdipStructs.cs: Fix XVisualInfo to use IntPtr on fields that
are 64 bits on 64 bits X servers.
* Graphics.cs: Adjust CopyFromScreenX11 to work with IntPtr so the
screenshot code can work on both 32 and 64 bits X servers.
[Fix bug #521718]
svn path=/trunk/mcs/; revision=137982
Geoff Norton [Wed, 15 Jul 2009 17:02:30 +0000 (17:02 -0000)]
fix a typo
svn path=/trunk/mono/; revision=137974
Paolo Molaro [Wed, 15 Jul 2009 15:24:02 +0000 (15:24 -0000)]
Wed Jul 15 17:20:27 CEST 2009 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: exploit multiple load/store units if available (rest of
the change from Steven Munroe (<munroesj@us.ibm.com>) first patch at
http://bugzilla.novell.com/show_bug.cgi?id=487846).
svn path=/trunk/mono/; revision=137965
Paolo Molaro [Wed, 15 Jul 2009 14:31:18 +0000 (14:31 -0000)]
Wed Jul 15 16:24:57 CEST 2009 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: integrate most of Steven Munroe (<munroesj@us.ibm.com>)
first patch at http://bugzilla.novell.com/show_bug.cgi?id=487846.
svn path=/trunk/mono/; revision=137954
Marek Habersack [Wed, 15 Jul 2009 13:22:33 +0000 (13:22 -0000)]
2009-07-15 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: another approach to suppressing
application reloads after the app writes to its root web.config
file. Leaving the previous code in place to get more
protection. It's a kludge, but it's the best option to avoid
all the races caused by System.Configuration+FileSystemWatcher
without rewriting large parts of System.Configuration (and
System.Web.Configuration). Fixes bug #522017
2009-07-15 Marek Habersack <mhabersack@novell.com>
* Configuration.cs: explicitly flush the stream when writing XML
data. Part of fix for bug #522017
2009-07-15 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: added internal methods to
enable/disable specific watchers. Part of fix for bug #522017
svn path=/trunk/mcs/; revision=137951
Marek Safar [Wed, 15 Jul 2009 13:05:41 +0000 (13:05 -0000)]
2009-07-15 Marek Safar <marek.safar@gmail.com>
* expression.cs (Conditional): Avoid double Resolve.
svn path=/trunk/mcs/; revision=137948
Rodrigo Kumpera [Wed, 15 Jul 2009 01:45:03 +0000 (01:45 -0000)]
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-x86.md: Fix missing clobbering from trancendental simd
ops.
* cpu-amd64.md: Same.
svn path=/trunk/mono/; revision=137924
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 01:09:20 +0000 (01:09 -0000)]
2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SortedListTest.cs: new tests by Kevin Fitzgerald.
svn path=/trunk/mcs/; revision=137921
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 01:07:45 +0000 (01:07 -0000)]
2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SortedList.cs: same issue as bug #521750 in System.
svn path=/trunk/mcs/; revision=137918
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 01:05:07 +0000 (01:05 -0000)]
2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SortedListTest.cs: new tests for bug #521750 provided by
Kevin Fitzgerald.
svn path=/trunk/mcs/; revision=137916
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 01:02:35 +0000 (01:02 -0000)]
2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SortedList.cs: the IComparar.Compare arguments were reversed.
Fixes bug #521750. Patch by Kevin Fitzgerald.
svn path=/trunk/mcs/; revision=137914
Rodrigo Kumpera [Wed, 15 Jul 2009 00:57:08 +0000 (00:57 -0000)]
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (parse_locals_signature): Don't complain
on signature with zero locals since MS generates it and doesn't
bother with.
svn path=/trunk/mono/; revision=137913
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 00:28:16 +0000 (00:28 -0000)]
2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ApplicationShutdownReason.cs: add new 3.5 value.
* ParserErrorCollection.cs: add setter for ParserError.
Patch from Daniel Gagne.
svn path=/trunk/mcs/; revision=137911
Gonzalo Paniagua Javier [Wed, 15 Jul 2009 00:25:06 +0000 (00:25 -0000)]
2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Path.cs: only trim the end of the file.
Fixes bug #521924.
svn path=/trunk/mcs/; revision=137909
Rodrigo Kumpera [Wed, 15 Jul 2009 00:23:22 +0000 (00:23 -0000)]
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* Attribute.cs (GetCustomAttributes): Pass typeof(Attribute)
to GetCustomAttributes to match MS.
* MonoCustomAttrs.cs (GetCustomAttributesBase): Do proper
checking of which types are handled by the runtime.
* MonoCustomAttrs.cs (IsDefined): Same.
Fixes #521885.
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* AttributeTest.cs: Add tests for user types passed to
Attribute.GetCustomAttribute[s].
svn path=/trunk/mcs/; revision=137908
Jerri Maine [Tue, 14 Jul 2009 23:16:37 +0000 (23:16 -0000)]
Contributed under the terms of the MIT/X11 license by
Jerry Maine <crashfourit@gail.com>.
* basic-simd.cs: Added tests for single and doulble indexers.
* cpu-amd64.md: Added simd opcode information.
* mini-amd64.c: Added IR to native simd generation code.
Added simd register names and function that returns them.
* mini-amd64.h: Added marcos to turn on simd code compilation in
amd64. Added max simd register count marco. Added caller/callee
register mask marcos. Added marcos to use simd register bank.
* mini.h: Added helper marco for shufling dwords and simple
floats.
svn path=/trunk/mono/; revision=137905
Michael Barker [Tue, 14 Jul 2009 20:31:07 +0000 (20:31 -0000)]
2009-07-14 Michael Barker <mike@middlesoft.co.uk>
* RabbitMQMessageQueue.cs: Refactored, removed dead code and renamed methods.
svn path=/trunk/mcs/; revision=137897
Sebastien Pouliot [Tue, 14 Jul 2009 18:45:19 +0000 (18:45 -0000)]
Security fix for CVE-2009-0217
svn path=/trunk/mcs/; revision=137886
Zoltan Varga [Tue, 14 Jul 2009 18:28:42 +0000 (18:28 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* mini-llvm-cpp.cpp: Update to latest llvm SVN api.
svn path=/trunk/mono/; revision=137885
Raja R Harinath [Tue, 14 Jul 2009 17:59:13 +0000 (17:59 -0000)]
* BinderTests.cs (SelectMethod_ByRef, BindToMethod_ByRef): Disable
in net_1_1 profile.
svn path=/trunk/mcs/; revision=137883
Zoltan Varga [Tue, 14 Jul 2009 17:47:07 +0000 (17:47 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (mono_LDADD): Pass LLVM_LDFLAGS to the linked.
* unwind.c (mono_unwind_get_ops_from_fde): Make this return
the length of the native code as well.
svn path=/trunk/mono/; revision=137880
Zoltan Varga [Tue, 14 Jul 2009 17:46:58 +0000 (17:46 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add more libraries needed by the llvm backend.
svn path=/trunk/mono/; revision=137879
Rodrigo Kumpera [Tue, 14 Jul 2009 17:45:25 +0000 (17:45 -0000)]
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_image_get_array_token): Resolve return
type using mono_reflection_type_get_handle.
* reflection.c (mono_image_get_array_token): Resolve array method
parent type using mono_reflection_type_get_handle.
svn path=/trunk/mono/; revision=137878
Rodrigo Kumpera [Tue, 14 Jul 2009 17:45:15 +0000 (17:45 -0000)]
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypes.cs (DerivedType): Implement IsAssignableFrom
and ContainsGenericParameters
* DerivedTypes.cs (DerivedType::UnderlyingSystemType): Create
the unmanaged type before returning so the resulting object is
understood as a SystemType.
* DerivedTypes.cs (DerivedType::AssemblyQualifiedName): Return null
if element's FullName is null as well.
* DerivedTypes.cs (ArrayType::GetAttributeFlagsImpl): Return proper
array flags if under compiler context.
* DerivedTypes.cs (*::FormatName): Return null if elementName is.
* GenericTypeParameterBuilder.cs: Improve compatibility when not
under compler context.
* GenericTypeParameterBuilder.cs (MakeArrayType): Return an instance
of ArrayType instead of relying on the runtime for it.
* TypeBuilder.cs: Add error checking to MakeArrayType and remove some
MonoTODO.
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTest.cs: Added tests for generics related
stuff and interaction with GenericTypeParameterBuilder.
* GenericTypeParameterBuilderTest.cs: New file with tests
for the changes done.
svn path=/trunk/mcs/; revision=137877
Marek Safar [Tue, 14 Jul 2009 16:39:03 +0000 (16:39 -0000)]
2009-07-14 Marek Safar <marek.safar@gmail.com>
* CSharpInvokeBinder.cs, CSharpBinaryOperationBinder.cs,
CSharpGetMemberBinder.cs, CSharpGetIndexBinder.cs, Extensions.cs,
CSharpIsEventBinder.cs, CSharpUnaryOperationBinder.cs,
CSharpConvertBinder.cs, CSharpSetIndexBinder.cs,
CSharpInvokeMemberBinder.cs, CSharpSetMemberBinder.cs: New files.
svn path=/trunk/mcs/; revision=137873
Gonzalo Paniagua Javier [Tue, 14 Jul 2009 15:03:13 +0000 (15:03 -0000)]
fix the build
svn path=/trunk/mcs/; revision=137868
Marek Habersack [Tue, 14 Jul 2009 13:57:54 +0000 (13:57 -0000)]
2009-07-14 Marek Habersack <mhabersack@novell.com>
* FieldTemplateFactoryTest.cs: added
* DynamicControlTest.cs: added TearDown method to clean up after
non-default field template tests.
Added tests for GetAttribute, HtmlEncode, FormattingOptions, Mode,
NullDisplayText, SetAttribute, ValidationGroup.
2009-07-14 Marek Habersack <mhabersack@novell.com>
* AssertExtensions.cs: include full exception trace in the Fail
message
2009-07-14 Marek Habersack <mhabersack@novell.com>
* FieldTemplateFactory.cs: implemented TemplateFolderVirtualPath
svn path=/trunk/mcs/; revision=137862
Atsushi Eno [Tue, 14 Jul 2009 13:42:36 +0000 (13:42 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* ServiceBehaviorAttribute.cs : fix IsolationLevel default value.
* CallbackBehaviorAttribute.cs : ditto.
Partly implemented interface methods.
svn path=/trunk/mcs/; revision=137861
Atsushi Eno [Tue, 14 Jul 2009 12:41:31 +0000 (12:41 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* ServiceSettingsResponseInfo.cs
RegisterResponseInfo.cs
RefreshResponseInfo.cs
ResolveInfo.cs
UpdateInfo.cs
RegisterInfo.cs
UnregisterInfo.cs
ResolveResponseInfo.cs
RefreshInfo.cs : implement HasBody(). I couldn't find any case
that this method might return false.
* PeerResolverSerializationTest.cs : fix test name/namespace.
add HasBody() test.
svn path=/trunk/mcs/; revision=137859
Sebastien Pouliot [Tue, 14 Jul 2009 12:24:03 +0000 (12:24 -0000)]
2009-07-14 Sebastien Pouliot <sebastien@ximian.com>
* System.Net.dll.sources: Remove extra files not needed to
compile System.Net (and cut the tuning time too)
* DummySystemNet.cs: Remove. Not needed anymore.
svn path=/trunk/mcs/; revision=137856
Sebastien Pouliot [Tue, 14 Jul 2009 12:21:46 +0000 (12:21 -0000)]
2009-07-14 Sebastien Pouliot <sebastien@ximian.com>
* Socket_2_1.cs, SocketAsyncEventArgs.cs: A bit more NET_2_1 defines
to help the tuner remove some extra types for moonlight.
svn path=/trunk/mcs/; revision=137855
Atsushi Eno [Tue, 14 Jul 2009 11:33:17 +0000 (11:33 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* CallbackBehaviorAttributeTest.cs : new test.
* System.ServiceModel_test.dll.sources:
add CallbackBehaviorAttributeTest.cs.
svn path=/trunk/mcs/; revision=137850
Atsushi Eno [Tue, 14 Jul 2009 11:31:10 +0000 (11:31 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* OperationBehaviorAttribute.cs :
add AutoDisposeParameters, and apply it.
* CallbackBehaviorAttribute.cs : added couple of missing members.
* DispatchRuntime.cs : add ValidateMustUnderstand.
* DispatchOperation.cs : add AutoDisposeParameters.
svn path=/trunk/mcs/; revision=137849
Marek Habersack [Tue, 14 Jul 2009 11:24:36 +0000 (11:24 -0000)]
2009-07-14 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: added support for suppressing
application reload when the main config file is written to from
application.
* WebConfigurationHost.cs: added minimal implementation of
WriteCompleted, which checks if there's need to suppress
application reload.
2009-07-14 Marek Habersack <mhabersack@novell.com>
* ConfigurationSaveEventArgs.cs, ConfigurationSaveEventHandler.cs:
added
* Configuration.cs: added two internal events - SaveStart and
SaveEnd. They are used by System.Web's configuration system to
suppress application reloads when configuration is modified and
saved from within a web application. It is necessary to use events
since there is no guarantee the web application will use
WebConfigurationManager (and thus WebConfigurationHost) for
writing.
2009-07-14 Marek Habersack <mhabersack@novell.com>
* System.Configuration.dll.sources: added
System.Configuration/ConfigurationSaveEventArgs.cs
System.Configuration/ConfigurationSaveEventHandler.cs
2009-07-14 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: added InternalsVisibleTo for System.Web
2009-07-14 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: OnFileChanged doesn't reload
application if reload suppression is active.
svn path=/trunk/mcs/; revision=137847
Zoltan Varga [Tue, 14 Jul 2009 10:39:52 +0000 (10:39 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=137845
Zoltan Varga [Tue, 14 Jul 2009 10:39:44 +0000 (10:39 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* AssemblyBuilder.cs: Applied patch from <Dax@daxxfiles.net>. Save
the public key token to a field where the runtime can access it.
svn path=/trunk/mcs/; revision=137844
Zoltan Varga [Tue, 14 Jul 2009 10:39:35 +0000 (10:39 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_basic_init): Applied patch from
<Dax@daxxfiles.net>. Set the public key token from the assembly
builder. Fixes #518909.
* appdomain.c: Bump corlib version.
svn path=/trunk/mono/; revision=137843
Atsushi Eno [Tue, 14 Jul 2009 08:05:38 +0000 (08:05 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* CustomPeerResolverService.cs : remove commented code.
Fix and reduce extra code in ServiceBehaviorAttribute.
svn path=/trunk/mcs/; revision=137840
Atsushi Eno [Tue, 14 Jul 2009 08:04:26 +0000 (08:04 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* ServiceBehaviorAttribute.cs : fix default values and simplify code.
svn path=/trunk/mcs/; revision=137839
Atsushi Eno [Tue, 14 Jul 2009 07:43:44 +0000 (07:43 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* ResolveResponseInfo.cs : by default it returns empty address list,
instead of xsi:nil.
* LocalPeerResolverService.cs : resolve operation should return
all registered nodes but the client itself.
svn path=/trunk/mcs/; revision=137838
Atsushi Eno [Tue, 14 Jul 2009 07:21:47 +0000 (07:21 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* RefreshResponseInfo.cs : fix name typo.
svn path=/trunk/mcs/; revision=137837
Atsushi Eno [Tue, 14 Jul 2009 07:20:17 +0000 (07:20 -0000)]
2009-07-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs : read false (0x84) and true (0x86).
svn path=/trunk/mcs/; revision=137836
Gonzalo Paniagua Javier [Mon, 13 Jul 2009 22:31:34 +0000 (22:31 -0000)]
2009-07-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* InotifyWatcher.cs: when a watched subdirectory is deleted, remove it
from the list of children and only raise an event if it matches the
filter.
svn path=/trunk/mcs/; revision=137829
Zoltan Varga [Mon, 13 Jul 2009 22:21:45 +0000 (22:21 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* basic-simd.cs: Add a test for #521662.
svn path=/trunk/mono/; revision=137828