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
Zoltan Varga [Mon, 13 Jul 2009 22:19:45 +0000 (22:19 -0000)]
Revert r137822
svn path=/trunk/mono/; revision=137827
Zoltan Varga [Mon, 13 Jul 2009 22:09:35 +0000 (22:09 -0000)]
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* Changelog: Rename this to ChangeLog.
* Mono.Simd/Mono.Simd/ArrayExtensions.cs: Don't ignore the 'offset'
parameter in the GetVector () methods. Fixes #521692.
svn path=/trunk/mcs/; revision=137824
Zoltan Varga [Mon, 13 Jul 2009 21:59:06 +0000 (21:59 -0000)]
2009-07-13 Zoltan Varga <vargaz@gmail.com>
* basic-simd.cs: Add a test for #521662.
svn path=/trunk/mono/; revision=137822
Zoltan Varga [Mon, 13 Jul 2009 21:58:58 +0000 (21:58 -0000)]
2009-07-13 Zoltan Varga <vargaz@gmail.com>
* x86/x86-codegen.h: Applied patch from Marian Salaj <salo3@atlas.cz>.
Fix encoding of PMINSW and PMINSD. Fixes #521662.
svn path=/trunk/mono/; revision=137821
Zoltan Varga [Mon, 13 Jul 2009 21:46:41 +0000 (21:46 -0000)]
2009-07-13 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_needs_cctor_run): Make this return false if
the class has no cctor.
svn path=/trunk/mono/; revision=137820
Zoltan Varga [Mon, 13 Jul 2009 21:39:31 +0000 (21:39 -0000)]
2009-07-13 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): When calling a gshared method,
call a generic class init trampoline if needed. Fixes #519336.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=137819
Michael Barker [Mon, 13 Jul 2009 20:59:00 +0000 (20:59 -0000)]
2009-07-11 Michael Barker <mike@middlesoft.co.uk>
* MessageQueueException.cs: Removed MonoTODO.
* MessageBaseTest.cs: Moved from Mono.Messaging.Test
* MessageEnumeratorTest.cs: Moved from Mono.Messaging.Test
* MessageTest.cs: Used using aliases to prevent namespace clashes.
* AdminTest.cs: Remove unused variables.
* AsyncPeekTest.cs: Remove unused variables.
* AsyncReceiveTest.cs: Remove unused variables.
* MessageFactory.cs: Switched to DateTime.UtcNow.
* RabbitMQMessageQueue.cs: Removed some unecessary references to realm.
* RabbitMQMessagingProvider.cs: Removed some unecessary references to realm.
Changed volatile field to use Interlocked.Increment (++i is not thread safe).
* Mono.Messaging.RabbitMQ_test.dll.sources: Moved MessageEnumeratorTest.cs
and MessageBaseTest.cs from Mono.Messaging.Test.
* MessageBaseTest.cs: Moved to Mono.Messaging.RabbitMQ.Test
* MessageEnumeratorTest.cs: Moved to Mono.Messaging.RabbitMQ.Test
* MessagingProviderLocator.cs: Removed unessecary fields, made fields
readonly and some formatting changes.
* Mono.Messaging_test.dll.sources: Moved MessageBaseTest.cs and
MessageEnumeratorTest.cs to Mono.Messaging.RabbitMQ.Test.
svn path=/trunk/mcs/; revision=137816
Marek Habersack [Mon, 13 Jul 2009 19:52:03 +0000 (19:52 -0000)]
2009-07-13 Marek Habersack <mhabersack@novell.com>
* ProvidersHelper.cs: InstantiateProvider doesn't have to
explicitly look for types in App_Code assemblies - this is done in
HttpApplication.LoadType.
2009-07-13 Marek Habersack <mhabersack@novell.com>
* AppCodeCompiler.cs: wrap HttpApplication.LoadTypeFromBin call in
try/catch, so that we can wrap the possible exception in
HttpException.
2009-07-13 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: LoadType - wrap call to LoadTypeFromBin in
try/catch so that we can decide whether or not to throw
exceptions. LoadTypeFromBin - ignore the FileLoadException and
BadImageException exceptions as they don't matter in this
context.
svn path=/trunk/mcs/; revision=137811
Carlos Alberto Cortez [Mon, 13 Jul 2009 19:18:38 +0000 (19:18 -0000)]
2009-07-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBoxBase.cs: Expose the margin top width as a property, to keep
the code clean.
* ToolStripTextBox.cs: Since we are actually using no border in the
default TextBox impl, and we are drawing the border ourselves, we need
to manually set the top margin.
Fixes part of #507462.
svn path=/trunk/mcs/; revision=137810
Paolo Molaro [Mon, 13 Jul 2009 16:02:08 +0000 (16:02 -0000)]
Mon Jul 13 17:58:50 CEST 2009 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: fixed bug introduced by Steven's TLS changes.
svn path=/trunk/mono/; revision=137786
Marek Safar [Mon, 13 Jul 2009 15:26:47 +0000 (15:26 -0000)]
New tests.
svn path=/trunk/mcs/; revision=137782
Marek Safar [Mon, 13 Jul 2009 15:26:12 +0000 (15:26 -0000)]
2009-07-13 Marcus Griep <marcus@griep.us>
* ecore.cs: Fix obscure bug with resolving members of interfaces
that hide parent interface members. Fixes bug #444388 and corrects
bug #323096
svn path=/trunk/mcs/; revision=137781
Mark Probst [Mon, 13 Jul 2009 15:14:28 +0000 (15:14 -0000)]
2009-07-13 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: When the minor GC needs to allocate a new section,
invoke the major GC afterwards.
svn path=/trunk/mono/; revision=137780
Marek Safar [Mon, 13 Jul 2009 15:07:05 +0000 (15:07 -0000)]
2009-07-13 Marek Safar <marek.safar@gmail.com>
* expression.cs (LocalVariableReference): Bounce resolve.
svn path=/trunk/mcs/; revision=137779
Bill Holmes [Mon, 13 Jul 2009 14:14:10 +0000 (14:14 -0000)]
2009-07-14 Bill Holmes <billholmes54@gmail.com>
* process.c (ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal) :
Applying the window_style field to the SHELLEXECUTEINFO struct.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=137776
Mark Probst [Mon, 13 Jul 2009 12:38:22 +0000 (12:38 -0000)]
2009-07-13 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Fix the race condition in the unmanaged allocator by
locking earlier. Fix it in the managed allocator by making sure
that no thread is stopped there before the GC runs. If we do stop
a thread there, we restart it and let it run a but, until it stops
somewhere else.
* gc-internal.h, gc.c: Function for getting the IP from a signal
context via a function registered by mini.
2009-07-13 Mark Probst <mark.probst@gmail.com>
* mini.c: Register function for getting the IP from a signal
context with metadata.
svn path=/trunk/mono/; revision=137772
Atsushi Eno [Mon, 13 Jul 2009 07:52:51 +0000 (07:52 -0000)]
migration to newer nunit style.
svn path=/trunk/mcs/; revision=137768
Gonzalo Paniagua Javier [Mon, 13 Jul 2009 04:25:11 +0000 (04:25 -0000)]
remove TODOs
svn path=/trunk/mcs/; revision=137760
Gert Driesen [Sun, 12 Jul 2009 22:19:02 +0000 (22:19 -0000)]
* HttpResponseStream.cs: Added argument checks to Write. Modified
methods/properties that requires a readable stream to throw
NotSupportedException instead of InvalidOperationException for
compatibility with MS.
* HttpResponseTest.cs: Store data from all calls to
SendResponseFromMemory. Fixed ClearHeaders test to pass on MS. Added
several tests for outputstream of HttpResponse.
svn path=/trunk/mcs/; revision=137758
Gert Driesen [Sun, 12 Jul 2009 13:21:19 +0000 (13:21 -0000)]
* BinderTest.cs: Added SelectMethod/BindToMethod tests for methods
with byref arguments.
* Binder.cs: Only allow a type to match its byref version for
BindToMethod (and not for SelectMethod).
* TypeTest.cs: Enabled test that was failing due to regression.
svn path=/trunk/mcs/; revision=137753
Miguel de Icaza [Sat, 11 Jul 2009 18:12:17 +0000 (18:12 -0000)]
fix
svn path=/trunk/mcs/; revision=137749
Zoltan Varga [Sat, 11 Jul 2009 18:00:12 +0000 (18:00 -0000)]
2009-07-11 Zoltan Varga <vargaz@gmail.com>
* runtime-invoke.cs: Convert it to use TestDriver. Add tests for
ptr types.
svn path=/trunk/mono/; revision=137748
Zoltan Varga [Sat, 11 Jul 2009 18:00:04 +0000 (18:00 -0000)]
2009-07-11 Zoltan Varga <vargaz@gmail.com>
* object-internals.h (MonoIntPtr): New structure describing a boxed
IntPtr.
* object.c (mono_runtime_invoke_array): Handle ptr arguments and
returns. Fixes #519953.
* marshal.c (mono_marshal_get_runtime_invoke): Handle pointer returns.
svn path=/trunk/mono/; revision=137747
Zoltan Varga [Sat, 11 Jul 2009 17:57:39 +0000 (17:57 -0000)]
2009-07-11 Zoltan Varga <vargaz@gmail.com>
* Binder.cs: Allow conversion of IntPtr to pointer types.
svn path=/trunk/mcs/; revision=137746
Miguel de Icaza [Sat, 11 Jul 2009 16:56:38 +0000 (16:56 -0000)]
Found with Umbraco, this method ignores null pages
svn path=/trunk/mcs/; revision=137744
Jerri Maine [Fri, 10 Jul 2009 22:35:07 +0000 (22:35 -0000)]
Contributed under the terms of the MIT/X11 license by
Jerry Maine <crashfourit@gail.com>.
* amd64/amd64-codegen.h: Add marcos for coding several specific sse opcodes.
* amd64/amd64-codegen.h: Fix bugs in simd marcos.
svn path=/trunk/mono/; revision=137736
Gonzalo Paniagua Javier [Fri, 10 Jul 2009 20:54:29 +0000 (20:54 -0000)]
2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ProcessStartInfo.cs: HaveEnvVars is enabled by just using the
EnvironmentVariables property. Bug #520650 fixed.
svn path=/trunk/mcs/; revision=137730
Gonzalo Paniagua Javier [Fri, 10 Jul 2009 20:01:38 +0000 (20:01 -0000)]
2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SimpleWorkerRequest.cs: move this back to an instance property.
Cache works now.
svn path=/trunk/mcs/; revision=137727
Miguel de Icaza [Fri, 10 Jul 2009 17:10:47 +0000 (17:10 -0000)]
Flush
svn path=/trunk/mcs/; revision=137699
Marek Safar [Fri, 10 Jul 2009 16:06:17 +0000 (16:06 -0000)]
Fixed public key
svn path=/trunk/mcs/; revision=137698
Gonzalo Paniagua Javier [Fri, 10 Jul 2009 15:51:23 +0000 (15:51 -0000)]
2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* X509Chain.cs: revert my last change here since it caused 2 tests to
fail.
svn path=/trunk/mcs/; revision=137694
Marek Safar [Fri, 10 Jul 2009 11:39:24 +0000 (11:39 -0000)]
2009-07-10 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, lambda.cs, parameter.cs, convert.cs, anonymous.cs,
expression.cs, literal.cs, ecore.cs, complete.cs: Moved internal
types to new class.
* support.cs: New dynamic type wrapper.
svn path=/trunk/mcs/; revision=137686
Atsushi Eno [Fri, 10 Jul 2009 09:12:14 +0000 (09:12 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* nunit20 : removed old framework.
svn path=/trunk/mcs/; revision=137685
Atsushi Eno [Fri, 10 Jul 2009 09:08:36 +0000 (09:08 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* SQLiteConnection.cs : remove Console.WriteLine().
svn path=/trunk/mcs/; revision=137684
Atsushi Eno [Fri, 10 Jul 2009 09:06:21 +0000 (09:06 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* DuplexClientBase.cs : oops, fix build.
svn path=/trunk/mcs/; revision=137683
Atsushi Eno [Fri, 10 Jul 2009 09:03:49 +0000 (09:03 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* DuplexClientBase.cs : add missing members here too.
svn path=/trunk/mcs/; revision=137682
Atsushi Eno [Fri, 10 Jul 2009 07:45:05 +0000 (07:45 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* ClientBase.cs : some of Silverlight API are backported to full CLR.
svn path=/trunk/mcs/; revision=137680
Atsushi Eno [Fri, 10 Jul 2009 07:35:18 +0000 (07:35 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelFactory.cs : fill missing members.
svn path=/trunk/mcs/; revision=137679
Gonzalo Paniagua Javier [Fri, 10 Jul 2009 05:45:10 +0000 (05:45 -0000)]
2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebClient.cs: implement GetWebRequest and GetWebResponse. Use them
instead of SetupRequest and ProcessResponse.
svn path=/trunk/mcs/; revision=137673
Atsushi Eno [Fri, 10 Jul 2009 03:34:07 +0000 (03:34 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* PeerNode.cs : significant refactoring. It does not call resolver
to manage the node itself but rather hold its state.
* PeerDuplexChannel.cs : now it implements some of node management
functionality and Send operation. The receiver part is not yet.
svn path=/trunk/mcs/; revision=137671
Atsushi Eno [Fri, 10 Jul 2009 03:30:17 +0000 (03:30 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
timeout to channel constructor. it does not make sense.
svn path=/trunk/mcs/; revision=137670
Atsushi Eno [Fri, 10 Jul 2009 03:27:56 +0000 (03:27 -0000)]
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
as common interface member, and use binary encoder (not text).
svn path=/trunk/mcs/; revision=137669
Gonzalo Paniagua Javier [Fri, 10 Jul 2009 03:21:35 +0000 (03:21 -0000)]
2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequestTest.cs: use different ports for different tests since
the shutdown might take a little bit and tests might conflict.
svn path=/trunk/mcs/; revision=137667
Gonzalo Paniagua Javier [Thu, 9 Jul 2009 23:07:14 +0000 (23:07 -0000)]
ignore test that fails on windows
svn path=/trunk/mcs/; revision=137665
Zoltan Varga [Thu, 9 Jul 2009 23:05:36 +0000 (23:05 -0000)]
2009-07-10 Zoltan Varga <vargaz@gmail.com>
* TypeTest.cs: Add a test for #520690. Disable a test which fails on
MS.NET.
svn path=/trunk/mcs/; revision=137664
Zoltan Varga [Thu, 9 Jul 2009 23:05:27 +0000 (23:05 -0000)]
2009-07-10 Zoltan Varga <vargaz@gmail.com>
* Binder.cs (check_arguments): Allow a type to match its byref version.
Fixes #520690.
svn path=/trunk/mcs/; revision=137663
Jb Evain [Thu, 9 Jul 2009 19:22:40 +0000 (19:22 -0000)]
oops
svn path=/trunk/mcs/; revision=137655
Jb Evain [Thu, 9 Jul 2009 19:12:13 +0000 (19:12 -0000)]
2009-07-09 Jb Evain <jbevain@novell.com>
* HashSet.cs (ICollection<T>.Add): fix for bug #520760. Do not throw
when adding duplicates.
svn path=/trunk/mcs/; revision=137653
Jb Evain [Thu, 9 Jul 2009 19:11:23 +0000 (19:11 -0000)]
2009-07-09 Jb Evain <jbevain@novell.com>
* HashSetTest.cs: add test for #520760, ICollection<T>.Add
should not throw on duplicates.
svn path=/trunk/mcs/; revision=137652
Gonzalo Paniagua Javier [Thu, 9 Jul 2009 18:37:26 +0000 (18:37 -0000)]
fix the build
svn path=/trunk/mcs/; revision=137650
Mark Probst [Thu, 9 Jul 2009 17:21:57 +0000 (17:21 -0000)]
2009-07-09 Mark Probst <mark.probst@gmail.com>
* class-internals.h, generic-sharing.c: New RGCTX info type for
getting a remoting invoke with check wrapper.
2009-07-09 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: When doing a call which might be remote from
shared generic code to other shared code with open type arguments,
get the remoting invoke wrapper from the RGCTX and do an indirect
call to it.
2009-07-09 Mark Probst <mark.probst@gmail.com>
* generic-xdomain.2.cs: Test case for generic marshal-by-ref
objects.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=137640
Gonzalo Paniagua Javier [Thu, 9 Jul 2009 17:18:34 +0000 (17:18 -0000)]
2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpApplication.cs: use GetSection instead of
OpenWebConfiguration+GetSection.
svn path=/trunk/mcs/; revision=137638
Gonzalo Paniagua Javier [Thu, 9 Jul 2009 17:13:34 +0000 (17:13 -0000)]
2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqliteMembershipProvider.cs:
* UrlAuthorizationModule.cs: use GetSection instead of
OpenWebConfiguration+GetSection.
svn path=/trunk/mcs/; revision=137636
Gonzalo Paniagua Javier [Thu, 9 Jul 2009 17:11:30 +0000 (17:11 -0000)]
2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SimpleWorkerRequest.cs: store the root web configuration path in a
static variable.
svn path=/trunk/mcs/; revision=137634
Gonzalo Paniagua Javier [Thu, 9 Jul 2009 17:10:07 +0000 (17:10 -0000)]
2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConfigurationHost.cs: null means MachineToApplication.
* WebConfigurationManager.cs: when caching configuration and sections,
use the configuration file directory instead of the incoming request
path.
svn path=/trunk/mcs/; revision=137632
Marek Habersack [Thu, 9 Jul 2009 13:01:10 +0000 (13:01 -0000)]
2009-07-09 Marek Habersack <mhabersack@novell.com>
* DefaultResourceProvider.cs, DefaultResourceProviderFactory.cs:
added
2009-07-09 Marek Habersack <mhabersack@novell.com>
* HttpContext.cs: fall back to default resource provider factory
if the factory provided by user doesn't have the required object
in Get{Global,Local}ResourceObject. Fixes bug #520397
Refactored the GetResourceObject method and the
ResourceManagerCacheKey class to DefaultResourceProvider.
svn path=/trunk/mcs/; revision=137624
Atsushi Eno [Thu, 9 Jul 2009 11:05:39 +0000 (11:05 -0000)]
2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
* PeerNode.cs : some implementation cleanup before significant
refactoring. Mesh state is not maintained here. Use optionally
fixed listener address and port. Set offline status when closed.
* PeerDuplexChannel.cs : PeerNode constructor argument changes.
svn path=/trunk/mcs/; revision=137621
Atsushi Eno [Thu, 9 Jul 2009 11:02:31 +0000 (11:02 -0000)]
2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
* LocalPeerResolverService.cs : fix RegistrationLifetime to return.
svn path=/trunk/mcs/; revision=137620
Marek Safar [Thu, 9 Jul 2009 08:52:12 +0000 (08:52 -0000)]
Updated.
svn path=/trunk/mcs/; revision=137615
Gert Driesen [Thu, 9 Jul 2009 04:46:00 +0000 (04:46 -0000)]
* XmlSchemaTests.cs: Fixed tests for bug #502115.
svn path=/trunk/mcs/; revision=137595
Atsushi Eno [Thu, 9 Jul 2009 04:06:41 +0000 (04:06 -0000)]
2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaTests.cs : disabled wrong tests. I will revert them
unless it gets better shape.
svn path=/trunk/mcs/; revision=137594
Gonzalo Paniagua Javier [Thu, 9 Jul 2009 02:37:09 +0000 (02:37 -0000)]
prefer MonoIOMAP directive over MONO_IOMAP, update version, fix long line
svn path=/trunk/mono/; revision=137592
Carlos Alberto Cortez [Wed, 8 Jul 2009 23:40:55 +0000 (23:40 -0000)]
2009-07-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PageSourceTest.cs:
* PaperSizeTest.cs: Include the new tests in NET_2_0 define, to fix
the 1.1 build.
svn path=/trunk/mcs/; revision=137589
Marek Habersack [Wed, 8 Jul 2009 22:22:03 +0000 (22:22 -0000)]
Fix 1.1 build
svn path=/trunk/mcs/; revision=137587
Rodrigo Kumpera [Wed, 8 Jul 2009 21:46:10 +0000 (21:46 -0000)]
2009-07-08 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypes.cs: Implemented PointerType.
* TypeBuilder.cs (MakePointerType): Return an
instance of PointerType.
2009-07-08 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTest.cs: New tests for PointerType.
svn path=/trunk/mcs/; revision=137586
Rodrigo Kumpera [Wed, 8 Jul 2009 21:46:01 +0000 (21:46 -0000)]
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* object-internals.h: Add MonoReflectionDerivedType.
* reflection.c: Implement support for PointerType.
Fixed tons of warnings.
svn path=/trunk/mono/; revision=137585
Rodrigo Kumpera [Wed, 8 Jul 2009 21:45:54 +0000 (21:45 -0000)]
2009-07-08 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypes.cs: Implemented ByRefType.
* TypeBuilder.cs (MakeByRefType): Return an
instance of ByRefType.
2009-07-08 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTest.cs: New tests for ByRefType.
svn path=/trunk/mcs/; revision=137584
Rodrigo Kumpera [Wed, 8 Jul 2009 21:45:36 +0000 (21:45 -0000)]
2009-07-08 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypes.cs: Refactor the types here to move
a lot of code to the base DerivedType in preparation
for upcomming ByRefType and PointerType puppies.
svn path=/trunk/mcs/; revision=137583
Rodrigo Kumpera [Wed, 8 Jul 2009 21:45:35 +0000 (21:45 -0000)]
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* object-internals.h: Add MonoReflectionByRefType.
* reflection.c: Implement support for ByRefType.
svn path=/trunk/mono/; revision=137582
Geoff Norton [Wed, 8 Jul 2009 21:02:51 +0000 (21:02 -0000)]
2009-07-07 Geoff Norton <gnorton@novell.com>
* icall-def.h: Fix the enable-minimal build.
svn path=/trunk/mono/; revision=137581
Gonzalo Paniagua Javier [Wed, 8 Jul 2009 17:36:00 +0000 (17:36 -0000)]
2009-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AssemblyResourceLoader.cs: send minimal headers set and don't call
response.End. When possible, write the resource using the unsafe
methods in HttpResponseStream.a
svn path=/trunk/mcs/; revision=137576
Carlos Alberto Cortez [Wed, 8 Jul 2009 16:26:12 +0000 (16:26 -0000)]
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.Drawing_test.dll.sources: Add PageSourceTest.cs and
PaperSizeTest.cs.
svn path=/trunk/mcs/; revision=137573