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
Marek Habersack [Wed, 8 Jul 2009 13:48:59 +0000 (13:48 -0000)]
2009-07-08 Marek Habersack <mhabersack@novell.com>
* DynamicControlTest.cs: added tests for ApplyFormatInEditMode,
Column, ConvertEmptyStringToNull, CssClass, DataField,
DataFormatString, FieldTemplate, Table, UIHint
2009-07-08 Marek Habersack <mhabersack@novell.com>
* WebTest.cs: added new public property - TestBaseDir, to be used
by code which needs to access the files in the work dir.
2009-07-08 Marek Habersack <mhabersack@novell.com>
* TestsSetup.cs: added the BuildPath helper method which converts
unix-style filesystem paths to the os-specific format.
svn path=/trunk/mcs/; revision=137568
Carlos Alberto Cortez [Wed, 8 Jul 2009 13:13:58 +0000 (13:13 -0000)]
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PaperSource.cs: Implement RawKind.
Fixes the remaining bits of #507739.
svn path=/trunk/mcs/; revision=137565
Carlos Alberto Cortez [Wed, 8 Jul 2009 12:56:29 +0000 (12:56 -0000)]
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PageSourceTest.cs: New file, by Andy Hume <andyhume32@yahoo.co.uk>
svn path=/trunk/mcs/; revision=137564
Carlos Alberto Cortez [Wed, 8 Jul 2009 12:01:07 +0000 (12:01 -0000)]
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PaperSizeTest.cs: New file, by Andy Hume <andyhume32@yahoo.co.uk>
svn path=/trunk/mcs/; revision=137560
Carlos Alberto Cortez [Wed, 8 Jul 2009 11:58:10 +0000 (11:58 -0000)]
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PaperSize.cs: Implement support for RawKind.
Patch by Andy Hume (andyhume32@yahoo.co.uk).
Fixes part of #507739.
svn path=/trunk/mcs/; revision=137559
Marek Habersack [Wed, 8 Jul 2009 11:54:37 +0000 (11:54 -0000)]
2009-07-08 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompilerTest.cs: added test for bug #520024
2009-07-08 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/PreprocessorDirectivesInMarkup.aspx
2009-07-08 Marek Habersack <mhabersack@novell.com>
* AspParser.cs: GetServerTag mustn't treat <% # ... %> as
data-binding directives. Fixes bug #520024
* AssemblyBuilder.cs: if debugging information is on, append
/d:DEBUG to the compiler's command line.
svn path=/trunk/mcs/; revision=137558
Marek Safar [Wed, 8 Jul 2009 09:34:22 +0000 (09:34 -0000)]
New tests.
svn path=/trunk/mcs/; revision=137556
Marek Safar [Wed, 8 Jul 2009 09:34:09 +0000 (09:34 -0000)]
2009-07-08 Marek Safar <marek.safar@gmail.com>
* ecore.cs, cs-parser.jay: Better error reporting for implicitly
typed local variable.
svn path=/trunk/mcs/; revision=137555
Atsushi Eno [Wed, 8 Jul 2009 08:21:03 +0000 (08:21 -0000)]
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
going to be unified to PeerDuplexChannel. And it is likely that
input and output functionalities are to be unified too.
svn path=/trunk/mcs/; revision=137535
Atsushi Eno [Wed, 8 Jul 2009 05:13:21 +0000 (05:13 -0000)]
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
may have to reuse it for peer transport.
* PeerChannelListener.cs : add binding member.
* PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
svn path=/trunk/mcs/; revision=137531
Atsushi Eno [Wed, 8 Jul 2009 05:11:13 +0000 (05:11 -0000)]
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* NetTcpBindingTest.cs : added simple connection test. It somehow
stops for a while (without failing) though...
svn path=/trunk/mcs/; revision=137530
Atsushi Eno [Wed, 8 Jul 2009 05:04:11 +0000 (05:04 -0000)]
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* NetPeerTcpBinding.cs : Fix interface implementations.
* NetPeerTcpBindingTest.cs : a bit of interface implementation test.
svn path=/trunk/mcs/; revision=137529
Atsushi Eno [Wed, 8 Jul 2009 01:00:32 +0000 (01:00 -0000)]
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs, HttpChannelFactory.cs,
PeerChannelFactory.cs : close opened channels at OnClose() as
documented. Implement async methods.
* PeerChannelListener.cs : removed some NIE overrides.
svn path=/trunk/mcs/; revision=137528
Rodrigo Kumpera [Tue, 7 Jul 2009 23:21:08 +0000 (23:21 -0000)]
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* DerivedTypesTest.cs: New tests for types derived from
TypeBuilder.
svn path=/trunk/mcs/; revision=137523
Rodrigo Kumpera [Tue, 7 Jul 2009 23:20:48 +0000 (23:20 -0000)]
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h: Add System.Reflection.Emit.DerivedType::create_unmanaged_type.
* object-internals.h: Add MonoReflectionArrayType and
mono_reflection_create_unmanaged_type.
* reflection.c: Implement support for ArrayType.
svn path=/trunk/mono/; revision=137522
Rodrigo Kumpera [Tue, 7 Jul 2009 23:20:45 +0000 (23:20 -0000)]
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* Type.cs (IsUserType): Only TypeDelegator and types
outside of corlib are unhandled usertypes.
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (IsArrayImpl): Return false always as a
typebuilder will never represent an array.
* TypeBuilder.cs (MakeArrayType): Return a new instance of
ArrayType instead of calling into MonoType machinery.
* DerivedTypes.cs: New file with all the internal types
used by SRE to represent derived types from TypeBuilder:
arrays, pointers and byrefs'.
svn path=/trunk/mcs/; revision=137521
Rodrigo Kumpera [Tue, 7 Jul 2009 16:32:35 +0000 (16:32 -0000)]
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (is_valid_method_header): Parse EH block
flags correctly.
svn path=/trunk/mono/; revision=137510
Atsushi Eno [Tue, 7 Jul 2009 15:16:55 +0000 (15:16 -0000)]
2009-07-07 Atsushi Enomoto <atsushi@ximian.com>
* CustomPeerResolverService.cs, LocalPeerResolverService.cs,
ICustomPeerResolverContract.cs : add local machine peer resolver
implementation that can work across appdomains (based on
dispatching peer resolver that communicates with a ServiceHost
which is either locally started or running as a different process).
* System.ServiceModel.dll.sources:
Added new custom peer resolver files.
svn path=/trunk/mcs/; revision=137504
Gonzalo Paniagua Javier [Tue, 7 Jul 2009 15:09:46 +0000 (15:09 -0000)]
2009-07-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebClientTest.cs: if we write the 100 response, reset the output
stream writer.
svn path=/trunk/mcs/; revision=137500
Gonzalo Paniagua Javier [Tue, 7 Jul 2009 14:57:51 +0000 (14:57 -0000)]
2009-07-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebClient.cs: set the content length when uploading values. This
allows reusing the connection.
* WebConnectionStream.cs: SetHeaders() takes ownership of the buffer
and does not need to copy it any more. WriteRequest() wasn't always
setting 'requestWritten' to true.
* HttpWebRequest.cs: change in SetHeaders call.
svn path=/trunk/mcs/; revision=137497
Gonzalo Paniagua Javier [Tue, 7 Jul 2009 13:20:01 +0000 (13:20 -0000)]
2009-07-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ParserError.cs: add 3 missing setters. Patch from Daniel Gagne.
svn path=/trunk/mcs/; revision=137494
Atsushi Eno [Tue, 7 Jul 2009 12:51:01 +0000 (12:51 -0000)]
2009-07-07 Atsushi Enomoto <atsushi@ximian.com>
* EndpointAddress10Test.cs : added a few more serialization tests.
svn path=/trunk/mcs/; revision=137493
Atsushi Eno [Tue, 7 Jul 2009 12:48:38 +0000 (12:48 -0000)]
2009-07-07 Atsushi Enomoto <atsushi@ximian.com>
* PeerNodeAddressTest.cs : new test.
* System.ServiceModel_test.dll.sources:
add PeerNodeAddressTest.cs.
svn path=/trunk/mcs/; revision=137492
Atsushi Eno [Tue, 7 Jul 2009 12:36:30 +0000 (12:36 -0000)]
2009-07-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlFormatterDeserializer.cs, SerializationMap.cs : IXmlSerializable
were not deserialized correctly as it has mismatch on wrapper
element. This fixes PeerNodeAddress.EndpointAddress deserialization.
svn path=/trunk/mcs/; revision=137491
Atsushi Eno [Tue, 7 Jul 2009 10:27:58 +0000 (10:27 -0000)]
2009-07-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlSimpleDictionaryWriter.cs : fix bogus import of
XmlWriter.WriteNode() to handle more than two elements.
* XmlSimpleDictionaryWriterTest.cs : test WriteNode() to not skip more
than two nodes in an element.
svn path=/trunk/mcs/; revision=137485
Carlos Alberto Cortez [Tue, 7 Jul 2009 07:08:10 +0000 (07:08 -0000)]
2009-07-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PaperSize.cs: Actually implement RawKind by retrieving and setting
the kind field.
svn path=/trunk/mcs/; revision=137481
Carlos Alberto Cortez [Tue, 7 Jul 2009 06:01:37 +0000 (06:01 -0000)]
2009-07-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PrintPreviewDialog.cs: Record when left was pressed, so we can
simulate Tab+Alt when moving the focus throughout our buttons and
controls.
Fixes the remaining bits of #509142.
svn path=/trunk/mcs/; revision=137479
Gert Driesen [Mon, 6 Jul 2009 19:58:00 +0000 (19:58 -0000)]
* WebConnectionStream.cs: Move and improve argument checks to match MS.
Modified CanRead and CanWrite to return false when instance is disposed.
* HttpWebRequestTest.cs: Enabled tests, and removed test that is now
covered by two separate CanTimeout tests for request and response
stream.
* HttpWebResponseStreamTest.cs: Enabled tests.
svn path=/trunk/mcs/; revision=137450
Gert Driesen [Mon, 6 Jul 2009 19:34:33 +0000 (19:34 -0000)]
* HttpWebRequestTest.cs: Marked test notworking on 1.0 profile.
svn path=/trunk/mcs/; revision=137448