Miguel de Icaza [Sat, 6 Feb 2010 08:12:21 +0000 (08:12 -0000)]
Update repl.txt notes
svn path=/trunk/mcs/; revision=150973
Miguel de Icaza [Sat, 6 Feb 2010 08:12:03 +0000 (08:12 -0000)]
Indent
svn path=/trunk/mcs/; revision=150972
Zoltan Varga [Sat, 6 Feb 2010 00:56:43 +0000 (00:56 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_llvm_file): Take into account trampolines etc when
computing the size of the got.
svn path=/trunk/mono/; revision=150965
Zoltan Varga [Sat, 6 Feb 2010 00:04:54 +0000 (00:04 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Change the way the 'methods' symbol is emitted
when using LLVM. Instead of emitting it as an LLVM method, emit it using
the assembly directive '.set' so it points to the first LLVM emitted method.
svn path=/trunk/mono/; revision=150964
Rodrigo Kumpera [Fri, 5 Feb 2010 21:18:19 +0000 (21:18 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* PropertyInfoTest.cs: Make tests for GetIndexParameters() work.
svn path=/trunk/mcs/; revision=150958
Rodrigo Kumpera [Fri, 5 Feb 2010 20:21:51 +0000 (20:21 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: New test for GetParameters() returning the
* interned array.
* PropertyInfoTest.cs: New tests for GetIndexParameters().
svn path=/trunk/mcs/; revision=150946
Rodrigo Kumpera [Fri, 5 Feb 2010 20:21:42 +0000 (20:21 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* MonoMethod.cs (GetParameters): Must return a copy instead of
* the interned array.
* MonoMethod.cs (Invoke): Skip array clone in GetParameters.
* MonoProperty.cs (GetIndexParameters): Properly handle
* write-only indexed properties.
Return a ParameterInfo object bound to the properly and not to
the method.
* ParameterInfo.cs: Add new constructor that copies all fields
* but Member.
* ParameterInfo.cs (MetadataToken): Properly handle tokens of
* non-method members.
svn path=/trunk/mcs/; revision=150945
Rodrigo Kumpera [Fri, 5 Feb 2010 20:20:55 +0000 (20:20 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h: Rename get_MetadataToken to GetMetadataToken.
svn path=/trunk/mono/; revision=150944
Carlos Alberto Cortez [Fri, 5 Feb 2010 13:44:00 +0000 (13:44 -0000)]
2010-02-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextProviderTest.cs: New tests for ToString and
ToDisplayString, specifically when IsPassword is true.
svn path=/trunk/mcs/; revision=150927
Carlos Alberto Cortez [Fri, 5 Feb 2010 13:26:42 +0000 (13:26 -0000)]
2010-02-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextProvider.cs: In ToString() if we are a password, use the
prompt char in the places where no char has been filled in yet, instead of
putting the password char.
Fixes #360407.
svn path=/trunk/mcs/; revision=150926
Rodrigo Kumpera [Fri, 5 Feb 2010 12:57:50 +0000 (12:57 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* RemotingServices.cs (InternalExecuteMessage): Properly
handle generic methods. We can't call MakeGenericMethod on
a non GMD method.
svn path=/trunk/mcs/; revision=150925
Ankit Jain [Fri, 5 Feb 2010 12:20:52 +0000 (12:20 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Fix bug #576579.
* CreateManifestResourceName.cs: Use TargetPath metadata, as the link
name.
* CreateCSharpManifestResourceName.cs:
* CreateVisualBasicManifestResourceName.cs: Prefer linkname over
filename, if available.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CreateCSharpManifestResourceNameTest.cs:
* CreateVisualBasicManifestResourceNameTest.cs:
Add new tests for TargetPath metadata.
In class/Microsoft.Build.Tasks/Test/resources:
* junk.txt: New.
svn path=/trunk/mcs/; revision=150924
Atsushi Eno [Fri, 5 Feb 2010 11:12:56 +0000 (11:12 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
svn path=/trunk/mcs/; revision=150920
Atsushi Eno [Fri, 5 Feb 2010 05:46:47 +0000 (05:46 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBaseTest.cs : on unixy filesystems "/foobar"
is parsed as an absolute URI.
svn path=/trunk/mcs/; revision=150913
Atsushi Eno [Fri, 5 Feb 2010 05:42:08 +0000 (05:42 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* NetTcpBindingTest.cs : port 808 is not generally available
for non-privileged users.
svn path=/trunk/mcs/; revision=150912
Atsushi Eno [Fri, 5 Feb 2010 05:26:28 +0000 (05:26 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* SilverlightClientConfigLoader.cs : public->internal.
svn path=/trunk/mcs/; revision=150911
Atsushi Eno [Fri, 5 Feb 2010 02:21:37 +0000 (02:21 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, HttpTransportBindingElement.cs :
enable authentication schemes on monotouch.
* Dummy_2_1.cs : remove AuthenticationSchemes. It blocks MT support.
svn path=/trunk/mcs/; revision=150909
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:27 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mini_method_verify): Report the method which failed to verify.
svn path=/trunk/mono/; revision=150890
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:19 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_method_to_ir): Use the new basic block formation pass
to avoid JIT'ng dead basic blocks. This is the same behavior as the
runtime MS verifier.
svn path=/trunk/mono/; revision=150889
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:10 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): Use the new basic block formation pass
to avoid verifying dead basic blocks. This is the same behavior as the
runtime MS verifier.
svn path=/trunk/mono/; revision=150888
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:01 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* mono-basic-block.c:
* mono-basic-block.h: New implementation of a basic block formation pass.
The formation pass does static liveness analysis as well to detect dead
basic blocks.
svn path=/trunk/mono/; revision=150887
Rodrigo Kumpera [Thu, 4 Feb 2010 22:23:53 +0000 (22:23 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* make_endfilter_test.sh: Fix this test to not have a throw that make some of the
endfilter unreachable.
svn path=/trunk/mono/; revision=150886
Rodrigo Kumpera [Thu, 4 Feb 2010 22:23:45 +0000 (22:23 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_branch_in_between_prefix_and_instruction.il:
* invalid_empty_filter_block.il:
* make_endfilter_test.sh
* make_endfinally_test.sh: Bunch of OSX and test fixes.
svn path=/trunk/mono/; revision=150885
Ankit Jain [Thu, 4 Feb 2010 18:25:40 +0000 (18:25 -0000)]
* xbuild/Microsoft.Common.targets (_RecordCleanFile): Append list of
current build files to list of previous build files.
(_GetCleanFileWrites): Rename items to be obvious of the contents.
(CoreClean): Delete the file list also.
svn path=/trunk/mcs/; revision=150874
Ankit Jain [Thu, 4 Feb 2010 17:29:57 +0000 (17:29 -0000)]
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
WriteLinesToFileTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* WriteLinesToFile.cs: Delete the file if there is nothing to
be written and overwrite==true.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* WriteLinesToFileTest.cs: New.
svn path=/trunk/mcs/; revision=150873
Atsushi Eno [Thu, 4 Feb 2010 15:03:47 +0000 (15:03 -0000)]
2010-02-04 Astushi Enomoto <atsushi@ximian.com>
* Dummy.cs, net_2_1_raw_System.ServiceModel.dll.sources : add some
classes out of dummy, for monotouch (hidden in 2.1 profile).
* ClientCredentials.cs, ContractDescription.cs,
IEndpointBehavior.cs, IOperationBehavior.cs : add monotouch support
for client behavior.
svn path=/trunk/mcs/; revision=150863
Miguel de Icaza [Thu, 4 Feb 2010 14:39:09 +0000 (14:39 -0000)]
2010-02-04 Miguel de Icaza <miguel@novell.com>
* Take advantage of the Describe feature.
svn path=/trunk/mcs/; revision=150859
Miguel de Icaza [Thu, 4 Feb 2010 14:38:20 +0000 (14:38 -0000)]
Documentation update
svn path=/trunk/mcs/; revision=150858
Miguel de Icaza [Thu, 4 Feb 2010 14:38:08 +0000 (14:38 -0000)]
2010-02-03 Miguel de Icaza <miguel@novell.com>
* driver.cs: Change the --fatal flag to allow a number to be
passed, this ignores the first N fatal errors. Useful to debug
errors that do not happen on the first hit.
* cs-parser.jay (invocation_expression): accept both the
CLOSE_PARENS and COMPLETE_COMPLETION, this allows completions
inside an invocation.
* driver.cs: Expose FatalErrors.
* eval.cs: Initialize the printer's Fatal property from the
Driver's FatalError flag, this allows csharp --fatal to work
again.
Add support for calling Describe (typeof (TYPE)) if the expression
entered is a TYPE.
svn path=/trunk/mcs/; revision=150857
Marek Habersack [Thu, 4 Feb 2010 13:53:55 +0000 (13:53 -0000)]
2010-02-03 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: added back InternalsVisibleTo for the test
assembly - it's needed to access CacheItemPriorityQueue
2010-02-03 Marek Habersack <mhabersack@novell.com>
* OutputCache.cs: DefaultProviderName checks if there was any
provider configured and, if not, returns a built-in provider's
name.
* SqlCacheDependencyAdmin.cs: added
* OutputCacheProviderCollection.cs: added
* OutputCacheProvider.cs: added
* OutputCacheModule.cs: uses the 4.0 extensible output cache
provider model now (also internally in the 2.0 profile)
OutputCacheProvider is retrieved on every request using
HttpApplication.GetOutputCacheProviderName (4.0+). In the 2.0
profile an instance of InMemoryOutputCacheProvider is always
returned.
* InMemoryOutputCacheProvider.cs: default output cache provider
for ASP.NET 4.0, also used internally in the 2.0 profile.
* CachedVaryBy.cs: made the generated key shorter
* CacheItemPriorityQueueDebug.cs: debugging support for
CacheItemPriorityQueue. Most of the code is compiled only when the
DEBUG macro is defined. Debugging support includes recording of
the queue operations sequence which is output to an XML file on
appdomain shutdown. The recorded sequence files can be used to
generate NUnit test cases for the priority queue (see
../Test/tools/README)
* CacheItemPriorityQueue.cs: rewritten using an array based heap
instead of a binary tree based one - implementation is simpler,
faster and more elegant. Heap is initially 32 entries long and
its size is doubled every time it fills up. After reaching a
threshold (8192 entries currently) it is shrunk to the number of
items + 1/3 of item count in order to preserve memory.
* CacheItem.cs: added a Guid field to easier distinguish items
(mostly for debugging purposes)
* CacheDependency.cs: minor performance improvements
* Cache.cs: better handling of timer periods
2010-02-03 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: GetOutputCacheProviderName returns the value
of OutputCache.DefaultProviderName
* HttpRuntime.cs: internal cache is used to hold the dependencies
now.
2010-02-03 Marek Habersack <mhabersack@novell.com>
* CacheItemPriorityQueueTest_generated.cs: added
* CacheItemPriorityQueueTest.cs: added
2010-02-04 Marek Habersack <mhabersack@novell.com>
* Helpers.cs: added a helper method for checking of HTML mentions
any .NET exceptions.
2010-02-03 Marek Habersack <mhabersack@novell.com>
* Makefile: added targets to compile cache priority queue tests
generator and to generate the tests themselves
svn path=/trunk/mcs/; revision=150855
Atsushi Eno [Thu, 4 Feb 2010 11:52:57 +0000 (11:52 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : now I can enable service throttling to
handle more than one concurrent channels as ASP.NET reply channel
got fixed.
* HTTP_listener_notes.txt: Fixed some wrong description, simplified
some, and updated some.
svn path=/trunk/mcs/; revision=150851
Atsushi Eno [Thu, 4 Feb 2010 11:09:03 +0000 (11:09 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : a wait handle could be used for more than one
requests and hence it sometimes blocked one reply channel. Now
it creates a wait handle for each ASP.NET request so that such
multiple use should not occur. This should fix blocking on
concurrent requests (it indeed fixes as long as I can see).
* HTTP_listener_notes.txt: some notes updated.
svn path=/trunk/mcs/; revision=150850
Atsushi Eno [Thu, 4 Feb 2010 09:10:18 +0000 (09:10 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* AspNetReplyChannel.cs : remove garbage output.
svn path=/trunk/mcs/; revision=150843
Atsushi Eno [Thu, 4 Feb 2010 08:49:58 +0000 (08:49 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : Use lock when it tries to create the service
host.
svn path=/trunk/mcs/; revision=150842
Zoltan Varga [Thu, 4 Feb 2010 07:26:51 +0000 (07:26 -0000)]
Add a test for vtype instances + SetValue ().
svn path=/trunk/mono/; revision=150839
Zoltan Varga [Thu, 4 Feb 2010 07:26:45 +0000 (07:26 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (decode_value): Fix decoding of vtype instances. Fixes
#561962.
svn path=/trunk/mono/; revision=150838
Zoltan Varga [Thu, 4 Feb 2010 06:39:17 +0000 (06:39 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_native_wrapper): Emit a null check for the
'this' argument in icalls.
svn path=/trunk/mono/; revision=150834
Carlos Alberto Cortez [Thu, 4 Feb 2010 06:06:45 +0000 (06:06 -0000)]
2010-02-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* StatusStrip.cs:
* XplatX11.cs:
* X11Structs: Implement the new BeginMoveResize method, designed to
instruct the window manager to init a resize operation on a top level
form. This is used by StatusStrip.
* XplatUI.cs:
* XplatUIDriver.cs:
* XplatUIWin32.cs:
* XplatUICarbon.cs: Fill the gaps by creating stubs and updating the
method calls.
Fixes #573299.
svn path=/trunk/mcs/; revision=150833
Zoltan Varga [Thu, 4 Feb 2010 05:39:11 +0000 (05:39 -0000)]
Really fix the build.
svn path=/trunk/mono/; revision=150832
Zoltan Varga [Thu, 4 Feb 2010 05:38:09 +0000 (05:38 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=150831
Geoff Norton [Thu, 4 Feb 2010 05:37:57 +0000 (05:37 -0000)]
Move the last commit around a bit to make it a tad saner
svn path=/trunk/mono/; revision=150830
Geoff Norton [Thu, 4 Feb 2010 05:37:07 +0000 (05:37 -0000)]
make eglib work with c++
svn path=/trunk/mono/; revision=150829
Zoltan Varga [Thu, 4 Feb 2010 05:06:18 +0000 (05:06 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* dtest.cs: Add a test for TypeMirror.EnumUnderlyingType.
svn path=/trunk/mono/; revision=150828
Zoltan Varga [Thu, 4 Feb 2010 05:05:19 +0000 (05:05 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* TypeMirror.cs (EnumUnderlyingType): New property.
* EnumMirror.cs: Use it.
svn path=/trunk/mcs/; revision=150826
Zoltan Varga [Thu, 4 Feb 2010 04:48:32 +0000 (04:48 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c: Init the jit module only when first JITting.
svn path=/trunk/mono/; revision=150825
Geoff Norton [Thu, 4 Feb 2010 04:45:10 +0000 (04:45 -0000)]
fix compiling xdebug with DISABLE_AOT || DISABLE_JIT
svn path=/trunk/mono/; revision=150824
Zoltan Varga [Thu, 4 Feb 2010 04:38:53 +0000 (04:38 -0000)]
Fix another case.
svn path=/trunk/mono/; revision=150823
Zoltan Varga [Thu, 4 Feb 2010 04:03:15 +0000 (04:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_plt): Fix the naming of plt entries of llvm+darwin.
svn path=/trunk/mono/; revision=150822
Zoltan Varga [Thu, 4 Feb 2010 04:03:09 +0000 (04:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (get_plt_entry): Make the plt entries have hidden visibility.
svn path=/trunk/mono/; revision=150821
Zoltan Varga [Thu, 4 Feb 2010 03:44:00 +0000 (03:44 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_aot_module): Remove the dummy got after it is
replaced with the real got.
svn path=/trunk/mono/; revision=150820
Zoltan Varga [Thu, 4 Feb 2010 03:36:26 +0000 (03:36 -0000)]
Fix the previous change.
svn path=/trunk/mono/; revision=150819
Zoltan Varga [Thu, 4 Feb 2010 03:03:06 +0000 (03:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* dtest.cs dtest-app.cs: Add tests for TypeMirror.IsEnum and
VirtualMachine.CreateEnumMirror ().
svn path=/trunk/mono/; revision=150816
Zoltan Varga [Thu, 4 Feb 2010 03:03:00 +0000 (03:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (type_commands): Return the enumness if the type as well.
svn path=/trunk/mono/; revision=150815
Zoltan Varga [Thu, 4 Feb 2010 03:00:31 +0000 (03:00 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* VirtualMachine.cs (CreateEnumMirror): New method to create an EnumMirror.
* AppDomainMirror.cs (GetCorrespondingType): New method to return a TypeMirror
corresponding to a primitive type.
* TypeMirror.cs (IsEnum): Implement.
* EnumMirror.cs (.ctor): New internal constructor called from CreateEnumMirror
which does lots of error checking.
svn path=/trunk/mcs/; revision=150813
Zoltan Varga [Thu, 4 Feb 2010 01:45:01 +0000 (01:45 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* image-writer.c: Reduce the amount of #ifdefs a bit.
* aot-compiler.c: Reduce the amount of #ifdefs. Add beginnings of support for
llvm on darwin/arm.
svn path=/trunk/mono/; revision=150806
Marek Habersack [Thu, 4 Feb 2010 01:01:18 +0000 (01:01 -0000)]
2010-02-04 Marek Habersack <mhabersack@novell.com>
* PreservationFile.cs: updated the BuildResulTypeCode enum
* BuildManager.cs: LoadCompiled now adds all the assemblies built
from the App_Code directory to the BuildManager.CodeAssemblies
collection. Fixes bug #576810
svn path=/trunk/mcs/; revision=150802
Zoltan Varga [Thu, 4 Feb 2010 00:08:11 +0000 (00:08 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_compile_assembly): Handle asmonly+llvm mode.
* mini-llvm.c (mono_llvm_emit_method): Don't make the 'type_info' symbols
global.
svn path=/trunk/mono/; revision=150800
Jonathan Pobst [Wed, 3 Feb 2010 21:16:00 +0000 (21:16 -0000)]
2010-02-03 Jonathan Pobst <monkey@jpobst.com>
* HttpCalls.cs: Disable all tests here due to excessive
sporadic failures. Filed as bug #576724.
svn path=/trunk/mcs/; revision=150788
Rodrigo Kumpera [Wed, 3 Feb 2010 21:10:25 +0000 (21:10 -0000)]
2010-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* SplitTests.cs: New tests for #566117.
svn path=/trunk/mcs/; revision=150787
Rodrigo Kumpera [Wed, 3 Feb 2010 21:10:16 +0000 (21:10 -0000)]
2010-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* BaseMachine.cs (Split): Don't add empty strings if they don't
* come from
the first capture group. Fixes #566117.
svn path=/trunk/mcs/; revision=150786
Ankit Jain [Wed, 3 Feb 2010 20:08:52 +0000 (20:08 -0000)]
Fix bug #576589.
* ConditionFunctionExpression.cs (Exists): Check for directory also.
svn path=/trunk/mcs/; revision=150781
Jonathan Pobst [Wed, 3 Feb 2010 17:49:08 +0000 (17:49 -0000)]
2010-02-03 Jonathan Pobst <monkey@jpobst.com>
* BaseCalls.cs: Mark tests as NotWorking. Reported as bug #576618.
svn path=/trunk/mcs/; revision=150775
Atsushi Eno [Wed, 3 Feb 2010 13:47:29 +0000 (13:47 -0000)]
2010-02-03 Astushi Enomoto <atsushi@ximian.com>
* HTTP_listener_notes.txt: I couldn't help but write about it to
not keep myself confused by this complicated stuff.
svn path=/trunk/mcs/; revision=150764
Sebastien Pouliot [Wed, 3 Feb 2010 13:09:57 +0000 (13:09 -0000)]
2010-02-03 Sebastien Pouliot <sebastien@ximian.com>
* ASN1ConvertTest.cs: Fix test cases by using local time. Patch
provided by Peter Dettman. Fix bug #324181
svn path=/trunk/mcs/; revision=150763
Zoltan Varga [Tue, 2 Feb 2010 22:45:19 +0000 (22:45 -0000)]
Remove an assert.
svn path=/trunk/mono/; revision=150747
Zoltan Varga [Tue, 2 Feb 2010 22:45:13 +0000 (22:45 -0000)]
2010-02-02 Zoltan Varga <vargaz@gmail.com>
* reflection.c (resolve_object): Handle MonoArrayMethod. Fixes #575955.
svn path=/trunk/mono/; revision=150746
Zoltan Varga [Tue, 2 Feb 2010 22:41:08 +0000 (22:41 -0000)]
2010-02-02 Zoltan Varga <vargaz@gmail.com>
* DynamicMethodTest.cs: Add a test for #575955.
svn path=/trunk/mcs/; revision=150745
Zoltan Varga [Tue, 2 Feb 2010 21:54:28 +0000 (21:54 -0000)]
2010-02-02 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Add support for unaligned loads.
(mono_llvm_emit_method): Fix unaligned stores too.
svn path=/trunk/mono/; revision=150742
Zoltan Varga [Tue, 2 Feb 2010 21:44:11 +0000 (21:44 -0000)]
2010-02-02 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Add support for unaligned loads.
svn path=/trunk/mono/; revision=150741
Zoltan Varga [Tue, 2 Feb 2010 20:41:12 +0000 (20:41 -0000)]
2010-02-02 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Initialize lmf->rsp in the prolog too
so async stack walks don't crash.
svn path=/trunk/mono/; revision=150737
Zoltan Varga [Tue, 2 Feb 2010 20:41:03 +0000 (20:41 -0000)]
Fix DISABLE_JIT.
svn path=/trunk/mono/; revision=150736
Rodrigo B. de Oliveira [Tue, 2 Feb 2010 19:32:24 +0000 (19:32 -0000)]
2010-02-02 Rodrigo B. de Oliveira <rodrigo@unity3d.com>
svn path=/trunk/mcs/; revision=150729
Jérémie Laval [Tue, 2 Feb 2010 19:22:24 +0000 (19:22 -0000)]
2010-02-02 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Threading.Tasks/:
* Task.cs: Fix autocomplete mistake (s/Exception/exception/).
Let continuation processing happens at the right moment when
task has child.
svn path=/trunk/mcs/; revision=150728
Jb Evain [Tue, 2 Feb 2010 18:22:05 +0000 (18:22 -0000)]
2010-02-02 Jb Evain <jbevain@novell.com>
* ASCIIEncoding.cs, Latin1Encoding.cs: remove duplicated code.
svn path=/trunk/mcs/; revision=150721
Jérémie Laval [Tue, 2 Feb 2010 17:06:15 +0000 (17:06 -0000)]
2010-02-02 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/:
* corlib.dll.sources: Add System.Threading.Tasks/SimpleConcurrentBag.cs
and System.Threading.Tasks/UnobservedTaskExceptionEventArgs.cs
In class/corlib/System.Collections.Concurrent/:
* ConcurrentDictionary.cs:
* ConcurrentQueue.cs:
* ConcurrentStack.cs:
* Partitioner.cs: Port to .NET 4 beta 2 API
* ConcurrentSkipList.cs: Use Monitor for locking
In class/corlib/System.Threading.Tasks/:
* Future.cs:
* Parallel.cs:
* ParallelLoopState.cs:
* Task.cs:
* TaskCompletionSource.cs:
* TaskContinuationOptions.cs:
* TaskCreationOptions.cs:
* TaskFactory.cs:
* TaskScheduler.cs:
* UnobservedTaskExceptionEventArgs.cs: Port to .NET 4 beta 2 API
* SimpleConcurrentBag.cs: Add a simpler implementation of ConcurrentBag
for use with parallel loops as ConcurrentBag was moved to System
In class/corlib/System.Threading/:
* CancellationToken.cs:
* CancellationTokenSource.cs:
* ManualResetEventSlim.cs:
* SemaphoreSlim.cs:
* SpinLock.cs:
* SpinWait.cs:
* ThreadLocal.cs: Port to .NET 4 beta 2 API
In class/corlib/System/:
* AggregateException.cs:
* OperationCanceledException.cs: Port to .NET 4 beta 2 API
In class/corlib/Test/System.Collections.Concurrent/:
* CollectionStressTestHelper.cs:
* ConcurrentBagTests.cs:
* ConcurrentDictionaryTests.cs:
* ConcurrentQueueTests.cs:
* ConcurrentSkipListTests.cs:
* ConcurrentStackTests.cs:
* ParallelConcurrentQueueTests.cs:
* ParallelConcurrentStackTests.cs: Update namespaces and tested methods
In class/corlib/Test/System.Threading.Tasks/:
* FutureTests.cs:
* ParallelTestHelper.cs:
* ParallelTests.cs:
* SnziTests.cs:
* TaskCompletionSourceTests.cs:
* TaskTest.cs: Update namespace and tested methods
In class/corlib/Test/System.Threading/:
* CancellationTokenTests.cs:
* LazyInitTests.cs:
* ThreadLazyTests.cs: Update namespace and tested methods
svn path=/trunk/mcs/; revision=150716
Atsushi Eno [Tue, 2 Feb 2010 12:29:11 +0000 (12:29 -0000)]
2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs : lock when it tries to acquire
HttpHandler.
svn path=/trunk/mcs/; revision=150705
Marek Safar [Tue, 2 Feb 2010 10:49:32 +0000 (10:49 -0000)]
2010-02-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #574991
* rootcontext.cs, class.cs, driver.cs: Hide enhanced warnings behind
--lint.
svn path=/trunk/mcs/; revision=150702
Jb Evain [Tue, 2 Feb 2010 10:41:54 +0000 (10:41 -0000)]
kill old out of sync comments
svn path=/trunk/mcs/; revision=150701
Marek Safar [Tue, 2 Feb 2010 09:49:57 +0000 (09:49 -0000)]
More tests.
svn path=/trunk/mcs/; revision=150696
Marek Safar [Tue, 2 Feb 2010 09:49:27 +0000 (09:49 -0000)]
2010-02-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #575986
* expression.cs: Don't mutate typeof type definitions.
svn path=/trunk/mcs/; revision=150695
Atsushi Eno [Tue, 2 Feb 2010 08:18:56 +0000 (08:18 -0000)]
2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : add another workaround for blocking
concurrent calls.
svn path=/trunk/mcs/; revision=150694
Atsushi Eno [Tue, 2 Feb 2010 08:08:04 +0000 (08:08 -0000)]
2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : small refactoring.
svn path=/trunk/mcs/; revision=150693
Zoltan Varga [Tue, 2 Feb 2010 05:15:07 +0000 (05:15 -0000)]
2010-02-02 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (common_call_trampoline): Fix a problem where the callsite
was not patched if the callee needed an rgctx trampoline.
svn path=/trunk/mono/; revision=150692
Marek Habersack [Mon, 1 Feb 2010 23:47:21 +0000 (23:47 -0000)]
2010-02-02 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: adjusted script rendering to match .NET
formatting.
* ScriptComponentDescriptor.cs: GetScript adds ID value (if
present) to the set of properties.
GetScript rewritten to use StringBuilder.
* ScriptBehaviorDescriptor.cs: GetScript adds Name, if present and
set by the user, to the descriptor's set of properties. The name
must be rendered to the client.
2010-02-02 Marek Habersack <mhabersack@novell.com>
* ScriptBehaviorDescriptorTest.cs,
ScriptComponentDescriptorTest.cs: added tests for rendering of the
Name and ID properties.
svn path=/trunk/mcs/; revision=150684
Mark Probst [Mon, 1 Feb 2010 20:17:45 +0000 (20:17 -0000)]
2010-02-01 Mark Probst <mark.probst@gmail.com>
* object.c, domain.c: When using SGen, we must register
vtable->type as a root if it's not a MonoType, because then it
wasn't pin-alloced.
svn path=/trunk/mono/; revision=150665
Zoltan Varga [Mon, 1 Feb 2010 19:33:38 +0000 (19:33 -0000)]
Fix this test in System as well.
svn path=/trunk/mcs/; revision=150659
Zoltan Varga [Mon, 1 Feb 2010 19:12:58 +0000 (19:12 -0000)]
2010-02-01 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_get_global_int_regs): Reserve r29 for holding the
vtable address in AOT code.
svn path=/trunk/mono/; revision=150658
Zoltan Varga [Mon, 1 Feb 2010 18:10:40 +0000 (18:10 -0000)]
Fix a test after the Directory.Exists () changes.
svn path=/trunk/mcs/; revision=150657
Zoltan Varga [Mon, 1 Feb 2010 15:53:44 +0000 (15:53 -0000)]
2010-02-01 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c: Remove support for CEE_ opcodes which cannot occur in
MonoInst's.
svn path=/trunk/mono/; revision=150650
Paolo Molaro [Mon, 1 Feb 2010 15:29:57 +0000 (15:29 -0000)]
Mon Feb 1 16:29:10 CET 2010 Paolo Molaro <lupus@ximian.com>
* genmdesc.pl: remove dependency on external cpp.
svn path=/trunk/mono/; revision=150647
Mark Probst [Mon, 1 Feb 2010 15:18:59 +0000 (15:18 -0000)]
2010-02-01 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Reset to_space_bumper to to_space_section->next_data
at the start of nursery collections, because we might have had
degraded allocations which changed next_data.
svn path=/trunk/mono/; revision=150646
Zoltan Varga [Mon, 1 Feb 2010 14:52:06 +0000 (14:52 -0000)]
2010-02-01 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mini_emit_ldelema_1_ins): Avoid emitting an OP_SEXT_I4 when
using LLVM, its not needed, and abcrem can't handle it.
svn path=/trunk/mono/; revision=150642
Jb Evain [Mon, 1 Feb 2010 14:34:53 +0000 (14:34 -0000)]
fix build
svn path=/trunk/mcs/; revision=150641
Paolo Molaro [Mon, 1 Feb 2010 13:31:14 +0000 (13:31 -0000)]
Mon Feb 1 14:29:43 CET 2010 Paolo Molaro <lupus@ximian.com>
* genmdesc.c, genmdesc.pl, cpu-x86.md: introduced templates to make
it easier to group instructions and reduce duplication.
svn path=/trunk/mono/; revision=150635
Jb Evain [Mon, 1 Feb 2010 13:25:52 +0000 (13:25 -0000)]
2010-02-01 Jb Evain <jbevain@novell.com>
* MarkStep.cs: SoapHeader can either take a field or a property.
svn path=/trunk/mcs/; revision=150633
Jb Evain [Mon, 1 Feb 2010 13:15:02 +0000 (13:15 -0000)]
2010-02-01 Jb Evain <jbevain@novell.com>
* SoapProtocolImporter.cs: properly generate the SoapHeader
attribute on NET_2_0.
svn path=/trunk/mcs/; revision=150632
Carlos Alberto Cortez [Mon, 1 Feb 2010 09:26:17 +0000 (09:26 -0000)]
2010-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: When creating DrawItemEventArgs pass the fore color and
back color arguments depending on the higlight/focus state, just like
.net.
Fixes #572643.
svn path=/trunk/mcs/; revision=150623
Zoltan Varga [Mon, 1 Feb 2010 02:29:35 +0000 (02:29 -0000)]
2010-02-01 Zoltan Varga <vargaz@gmail.com>
* decompose.c: Move the array/soft float decompose routines here from
method-to-ir.c.
* method-to-ir.c: Export a few functions so they can be used from decompose.c.
svn path=/trunk/mono/; revision=150613
Zoltan Varga [Sun, 31 Jan 2010 23:23:47 +0000 (23:23 -0000)]
Remove a debugging aid.
svn path=/trunk/mono/; revision=150610
Zoltan Varga [Sun, 31 Jan 2010 19:21:10 +0000 (19:21 -0000)]
2010-01-31 Zoltan Varga <vargaz@gmail.com>
* MonoGenericClass.cs: Fix a warning.
svn path=/trunk/mcs/; revision=150607