Ankit Jain [Fri, 28 May 2010 21:35:10 +0000 (21:35 -0000)]
Improve assembly resolution when hintpath is specified and when searching
in a directory.
* AssemblyResolver.cs (FindInDirectory): Add a 'specific_version'
parameter. Look for reference.{dll|exe} instead of checking all
files in the directory. Compare assembly names only if
specific_version is true.
(ResolveHintPathReference): Extract code to check and compare assembly
names to ..
(ResolvedReferenceFromPath): .. this.
(AssemblyNamesCompatible): Change default value of @specificVersion to
true.
Track api changes.
* ResolveAssemblyReference.cs (ResolveReference): Specify
'specific_version' in case of SearchPath.Directory.
(TryGetSpecificVersionValue): msbuild seems to look only for ',' in
the reference, instead of checking whether the assembly is strong
named.
(TryGetResolvedReferenceByAssemblyName): Track api changes.
svn path=/trunk/mcs/; revision=158123
Mark Probst [Fri, 28 May 2010 20:53:25 +0000 (20:53 -0000)]
2010-05-28 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Change default nursery size to 4MB, because it
improves performance on many applications and benchmarks.
svn path=/trunk/mono/; revision=158122
Marek Safar [Fri, 28 May 2010 17:03:38 +0000 (17:03 -0000)]
2010-05-28 Marek Safar <marek.safar@gmail.com>
* library.make: Don't sort source input files on windows to
build metadata compatible assemblies on all platforms.
svn path=/trunk/mcs/; revision=158115
Marek Safar [Fri, 28 May 2010 16:11:36 +0000 (16:11 -0000)]
Removed win32-excludes
svn path=/trunk/mcs/; revision=158114
Marek Safar [Fri, 28 May 2010 13:07:41 +0000 (13:07 -0000)]
New tests.
svn path=/trunk/mcs/; revision=158109
Marek Safar [Fri, 28 May 2010 13:06:49 +0000 (13:06 -0000)]
2010-05-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #609088
* import.cs: Check private modifier correctly.
svn path=/trunk/mcs/; revision=158107
Atsushi Eno [Fri, 28 May 2010 11:43:33 +0000 (11:43 -0000)]
2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.Linq_test.dll.sources :
add System.Xml.Schema/ExtensionsTest.cs.
* ExtensionsTest.cs :
New tests (not working yet), by Stefan Prutianu.
svn path=/trunk/mcs/; revision=158106
Ankit Jain [Fri, 28 May 2010 10:48:55 +0000 (10:48 -0000)]
* SolutionParser.cs (ParseSolution): Ignore GlobalSection
'MonoDevelopProperties'.
svn path=/trunk/mcs/; revision=158104
Atsushi Eno [Fri, 28 May 2010 09:44:20 +0000 (09:44 -0000)]
2010-05-28 Astushi Enomoto <atsushi@ximian.com>
* System.ServiceModel.dll.sources : remove old code from winfx beta.
* DirectionalAction.cs : remove old code from winfx beta.
svn path=/trunk/mcs/; revision=158095
Marek Safar [Fri, 28 May 2010 08:24:36 +0000 (08:24 -0000)]
2010-05-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #609049
* ecore.cs: Don't ignore override methods when looking for base
member.
svn path=/trunk/mcs/; revision=158087
Atsushi Eno [Fri, 28 May 2010 08:04:06 +0000 (08:04 -0000)]
2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
* ClientOperation.cs, DispatchOperation.cs : remove extra fields.
svn path=/trunk/mcs/; revision=158084
Atsushi Eno [Fri, 28 May 2010 07:52:10 +0000 (07:52 -0000)]
2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
* ContractDescription.cs : fill ClientOperation.Formatter here.
(It is hacky, see additional comment.)
* ClientRuntimeChannel.cs : replace GetFormatter() with Formatter.
* ClientOperation.cs : do the same for client side too.
svn path=/trunk/mcs/; revision=158083
Atsushi Eno [Fri, 28 May 2010 07:48:56 +0000 (07:48 -0000)]
2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
* DispatchOperation.cs : on callback channels ChannelDispatcher is
not available. Wait for something like ClientRuntime.ChannelFactory.
svn path=/trunk/mcs/; revision=158082
Ankit Jain [Fri, 28 May 2010 07:39:26 +0000 (07:39 -0000)]
Fix bug #485841.
* DirectoryScanner.cs (ProcessInclude): Set %(RecursiveDir) only if
the '**' wildcard was found in the original Include.
svn path=/trunk/mcs/; revision=158081
Atsushi Eno [Fri, 28 May 2010 07:08:00 +0000 (07:08 -0000)]
2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
* EndpointDispatcher.cs : some comments.
* DispatchOperation.cs : remove on-the-fly dependency on
OperationDescription. Add immutable check on each property.
svn path=/trunk/mcs/; revision=158080
Mark Probst [Fri, 28 May 2010 06:28:55 +0000 (06:28 -0000)]
2010-05-28 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c, sgen-scan-object.h: Value types in arrays are not
always aligned to ALLOC_ALIGN. To handle this, shift the size in
the GC descriptor by one bit, and don't encode the size for value
types not containing references. Also get rid of
DESC_TYPE_STRING.
svn path=/trunk/mono/; revision=158079
Mark Probst [Fri, 28 May 2010 06:06:01 +0000 (06:06 -0000)]
2010-05-28 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Don't depend on the size encoded in a GC descriptor
other than for remset processing.
svn path=/trunk/mono/; revision=158078
Mark Probst [Fri, 28 May 2010 05:25:18 +0000 (05:25 -0000)]
2010-05-28 Mark Probst <mark.probst@gmail.com>
* tools/sgen/sgen-grep-binprot.c (main): Use strtoul(), not
strtol(), to parse addresses from the command line.
svn path=/trunk/mono/; revision=158077
Mark Probst [Fri, 28 May 2010 05:21:24 +0000 (05:21 -0000)]
2010-05-28 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: More and better remset consistency checks.
svn path=/trunk/mono/; revision=158076
Mark Probst [Fri, 28 May 2010 04:55:54 +0000 (04:55 -0000)]
2010-05-28 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir): Emit a write barrier for
cpobj with reference types.
svn path=/trunk/mono/; revision=158075
Mark Probst [Fri, 28 May 2010 04:43:38 +0000 (04:43 -0000)]
2010-05-28 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir): Only explicitly add the
write barrier for reference types.
svn path=/trunk/mono/; revision=158074
Rodrigo Kumpera [Fri, 28 May 2010 03:46:57 +0000 (03:46 -0000)]
2010-05-28 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c: Add a note about the int[] trick to avoid some
memset.
svn path=/trunk/mono/; revision=158073
Rodrigo Kumpera [Fri, 28 May 2010 01:14:31 +0000 (01:14 -0000)]
2010-05-27 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (sort_addresses): Use heap sort since it has better
performance.
This helps programs with lots of threads or thread with big stacks
since the bottleneck the pin queue can get quite big.
svn path=/trunk/mono/; revision=158069
Robert Jordan [Thu, 27 May 2010 22:16:56 +0000 (22:16 -0000)]
2010-05-28 Robert Jordan <robertj@gmx.net>
* Makefile, *.dll.sources: disambiguate between Mvc and Mvc2
by using a distinct LIBRARY. Needed because the current
build system does not pay attention to LIBRARY_COMPAT
while building *.reponse and *.makefrag.
svn path=/trunk/mcs/; revision=158066
Ankit Jain [Thu, 27 May 2010 20:53:30 +0000 (20:53 -0000)]
* AssemblyResolver.cs (PopulateTargetFrameworkAssemblies):
Handle invalid dll, add a null check.
svn path=/trunk/mcs/; revision=158064
Marek Safar [Thu, 27 May 2010 18:56:56 +0000 (18:56 -0000)]
New tests.
svn path=/trunk/mcs/; revision=158060
Marek Safar [Thu, 27 May 2010 18:56:30 +0000 (18:56 -0000)]
New tests.
svn path=/trunk/mcs/; revision=158059
Marek Safar [Thu, 27 May 2010 18:56:10 +0000 (18:56 -0000)]
2010-05-27 Marek Safar <marek.safar@gmail.com>
A fix for bugs #608007, #572540, #566130, #476358
* generic.cs, linq.cs, expression.cs, statement.cs, cs-parser.jay:
More tricky refactoring of implicit linq blocks.
svn path=/trunk/mcs/; revision=158058
Zoltan Varga [Thu, 27 May 2010 18:23:52 +0000 (18:23 -0000)]
2010-05-27 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c (mono_arch_output_basic_block): Applied patch from Aurelien Minvielle
. Fix OP_ATOMIC_EXCHANGE_I4 on s390x. Fixes #609023.
svn path=/trunk/mono/; revision=158055
Zoltan Varga [Thu, 27 May 2010 18:18:11 +0000 (18:18 -0000)]
2010-05-27 Zoltan Varga <vargaz@gmail.com>
* interlocked.cs: Add a test for Interlocked.Exchange on a local variable.
svn path=/trunk/mono/; revision=158054
Martin Baulig [Thu, 27 May 2010 17:37:31 +0000 (17:37 -0000)]
#605698: Execute SDB commands in the debuggee's appdomain.
2010-05-27 Martin Baulig <martin@ximian.com>
Fix #605698.
* debugger-agent.c (method_commands, type_commands): Temporarily
set the appdomain while executing this method; do all metadata
calls in the debuggee's appdomain where user assemblies are loaded.
svn path=/trunk/mono/; revision=158052
Carlos Alberto Cortez [Thu, 27 May 2010 17:21:10 +0000 (17:21 -0000)]
* IsolatedStorageFileTest.cs: New test case for CopyFile.
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=158050
Carlos Alberto Cortez [Thu, 27 May 2010 17:19:48 +0000 (17:19 -0000)]
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Implement CopyFile.
svn path=/trunk/mcs/; revision=158049
Atsushi Eno [Thu, 27 May 2010 17:17:12 +0000 (17:17 -0000)]
2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
* EndpointDispatcher.cs : fill CallbackDispatchRuntime. Add some
FIXME comments for ongoing fixes.
svn path=/trunk/mcs/; revision=158048
Atsushi Eno [Thu, 27 May 2010 17:14:44 +0000 (17:14 -0000)]
2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
* CallbackBehaviorAttributeTest.cs : fix assertion label.
svn path=/trunk/mcs/; revision=158046
Atsushi Eno [Thu, 27 May 2010 17:13:56 +0000 (17:13 -0000)]
2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
* ServiceRuntimeChannel.cs : remove unused members for refactoring.
* OperationContext.cs : add comment on GetCallbackChannel<T>().
svn path=/trunk/mcs/; revision=158045
Zoltan Varga [Thu, 27 May 2010 16:26:43 +0000 (16:26 -0000)]
2010-05-27 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c (mono_arch_get_delegate_invoke_impls): Fix the s390x build.
svn path=/trunk/mono/; revision=158044
Jonathan Pobst [Thu, 27 May 2010 14:55:22 +0000 (14:55 -0000)]
Declare variables first, to fix msvc build.
svn path=/trunk/mono/; revision=158037
Carlos Alberto Cortez [Thu, 27 May 2010 13:01:16 +0000 (13:01 -0000)]
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: New test case for GetCreationTime.
svn path=/trunk/mcs/; revision=158031
Carlos Alberto Cortez [Thu, 27 May 2010 13:00:30 +0000 (13:00 -0000)]
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Implement GetCreationTime, GetLastAccessTime
and GetLastWriteTime, as well as creating a single method to check for
the closed/disposed fields.
svn path=/trunk/mcs/; revision=158030
Jb Evain [Thu, 27 May 2010 11:51:02 +0000 (11:51 -0000)]
flush
svn path=/trunk/mcs/; revision=158024
Jb Evain [Thu, 27 May 2010 11:40:06 +0000 (11:40 -0000)]
flush
svn path=/trunk/mcs/; revision=158022
Jb Evain [Thu, 27 May 2010 11:39:58 +0000 (11:39 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* EnumBuilder.cs (GetEnumUnderlyingType): override.
svn path=/trunk/mcs/; revision=158021
Jb Evain [Thu, 27 May 2010 11:39:31 +0000 (11:39 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* EnumBuilderTest.cs: add test for .net_4_0's GetEnumUnderlyingType.
svn path=/trunk/mcs/; revision=158020
Jb Evain [Thu, 27 May 2010 11:16:30 +0000 (11:16 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* Assembly.cs (Load*): add net_4_0 overloads.
svn path=/trunk/mcs/; revision=158018
Jb Evain [Thu, 27 May 2010 10:58:57 +0000 (10:58 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* AppDomain.cs (DefineDynamicAssembly): add new net_4_0 overloads.
svn path=/trunk/mcs/; revision=158017
Jb Evain [Thu, 27 May 2010 10:58:38 +0000 (10:58 -0000)]
include System.Security.SecurityContextSource
svn path=/trunk/mcs/; revision=158016
Jb Evain [Thu, 27 May 2010 10:58:08 +0000 (10:58 -0000)]
2010-05-27 Jb Evain <jbevain@novell.com>
* SecurityContextSource.cs: add new enum in net_4_0.
svn path=/trunk/mcs/; revision=158015
Rodrigo Kumpera [Thu, 27 May 2010 00:38:43 +0000 (00:38 -0000)]
2010-05-25 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (search_fragment_for_size): Move fragment setup into
a separate function called setup_fragment.
* sgen-gc.c (search_fragment_for_size_range): Variant of
search_fragment_for_size that does search for a secondary smaller
size.
* sgen-gc.c (mono_gc_alloc_obj_nolock): Use search_fragment_for_size_range
for tlab allocation so small fragments are used.
This patch uses small fragments for tlab allocation when possible in order
to improve nursery utilization. With a fixed size tlab this patch is not very
usefull but once size gets dynamically adjusted, this will be invaluable.
Performance under pystone 500k is unchanged. Nursery utilization improves by
3.5% and 18 more fragments are used per minor GC.
Performance under modified binary-tree is unchanged. Nursery utilization
improves by 0.5% and 3 more fragments are used per minor GC.
These numbers make sense since as more pinning happens, more fragments are
created and so are the chances of having a bunch of small ones.
svn path=/trunk/mono/; revision=157998
Rodrigo Kumpera [Thu, 27 May 2010 00:38:35 +0000 (00:38 -0000)]
2010-05-26 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (mono_gc_alloc_obj_nolock): Avoid wasting space
* from
the current fragment when allocating a TLAB.
Reduces number of pystone 500k minor collections by 7%.
svn path=/trunk/mono/; revision=157997
Rodrigo Kumpera [Thu, 27 May 2010 00:38:28 +0000 (00:38 -0000)]
2010-05-26 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_method_to_ir): Add missing write barrier
* to stobj.
svn path=/trunk/mono/; revision=157996
Geoff Norton [Wed, 26 May 2010 20:10:38 +0000 (20:10 -0000)]
Fix the build
svn path=/trunk/mono/; revision=157987
Carlos Alberto Cortez [Wed, 26 May 2010 15:58:05 +0000 (15:58 -0000)]
2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Remove should call Close, just as .Net seems
to do.
svn path=/trunk/mcs/; revision=157970
Carlos Alberto Cortez [Wed, 26 May 2010 15:52:22 +0000 (15:52 -0000)]
2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileStreamTest.cs: New test cases for constructor
obtaining a closed/disposed IsolatedStorageFile.
svn path=/trunk/mcs/; revision=157969
Miguel de Icaza [Wed, 26 May 2010 15:06:03 +0000 (15:06 -0000)]
Update docs
svn path=/trunk/mono/; revision=157966
Zoltan Varga [Wed, 26 May 2010 14:14:10 +0000 (14:14 -0000)]
2010-05-26 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Instead of freeing method headers immediately, save them in a list in
MonoCompile, and free them in mono_destroy_compile (), since the MonoType's in them could
be referenced even after the header is freed.
svn path=/trunk/mono/; revision=157962
Jb Evain [Wed, 26 May 2010 12:23:20 +0000 (12:23 -0000)]
fix integration tests
svn path=/trunk/mcs/; revision=157958
Marek Safar [Wed, 26 May 2010 11:53:06 +0000 (11:53 -0000)]
flush
svn path=/trunk/mcs/; revision=157956
Atsushi Eno [Wed, 26 May 2010 10:46:32 +0000 (10:46 -0000)]
2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
here. If the contract is not one-way (IsOneWay = false) and there is
a callback, the callback message sent to the client should *not* be
assigned RelatesTo header here. Just do it in the request-reply
context. Do it in OperationInvokerHandler.
* OperationInvokerHandler.cs : assign RelatesTo header item here.
svn path=/trunk/mcs/; revision=157950
Jb Evain [Wed, 26 May 2010 10:44:04 +0000 (10:44 -0000)]
fix tests
svn path=/trunk/mcs/; revision=157949
Marek Habersack [Wed, 26 May 2010 10:30:34 +0000 (10:30 -0000)]
Fix test compilation - parts of web security were moved to a separate assembly
svn path=/trunk/mcs/; revision=157946
Marek Habersack [Wed, 26 May 2010 09:51:48 +0000 (09:51 -0000)]
2010-05-26 Marek Habersack <mhabersack@novell.com>
* ValidationAttribute.cs: cope with null/empty ErrorMessageString
in FormatErrorMessage
svn path=/trunk/mcs/; revision=157941
Atsushi Eno [Wed, 26 May 2010 09:28:03 +0000 (09:28 -0000)]
2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : revert the previous change. It was
actually sent.
svn path=/trunk/mcs/; revision=157940
Atsushi Eno [Wed, 26 May 2010 07:54:50 +0000 (07:54 -0000)]
2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : do not add implicit ReplyTo on output
channels.
svn path=/trunk/mcs/; revision=157935
Zoltan Varga [Wed, 26 May 2010 03:04:34 +0000 (03:04 -0000)]
2010-05-26 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Remove the half finished support for decoding the .arm_exidx
section.
svn path=/trunk/mono/; revision=157926
Bill Holmes [Tue, 25 May 2010 21:23:52 +0000 (21:23 -0000)]
2010-05-25 Bill Holmes <billholmes54@gmail.com>
* genmdesc.c (main): Fixing the detection of the nacl switch.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=157911
Zoltan Varga [Tue, 25 May 2010 19:15:42 +0000 (19:15 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Enable llvm for methods with clauses when using
LLVM SVN.
svn path=/trunk/mono/; revision=157894
Zoltan Varga [Tue, 25 May 2010 18:52:31 +0000 (18:52 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_find_jit_info_ext): Adjust the ip for LMF frames too.
svn path=/trunk/mono/; revision=157892
Zoltan Varga [Tue, 25 May 2010 18:27:08 +0000 (18:27 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c aot-compiler.c: More LLVM 2.8 updates.
* mini.h (LLVM_CHECK_VERSION): New helper macro.
svn path=/trunk/mono/; revision=157889
Miguel de Icaza [Tue, 25 May 2010 17:31:33 +0000 (17:31 -0000)]
2010-05-25 Miguel de Icaza <miguel@novell.com>
* genmdesc.pl (build_spec): Add support for nacl: keyword also to
the Perl program
svn path=/trunk/mono/; revision=157882
Miguel de Icaza [Tue, 25 May 2010 17:25:21 +0000 (17:25 -0000)]
2010-05-25 Miguel de Icaza <miguel@novell.com>
* genmdesc.c: Added support for nacl: key on the machine
description files to support the extra space required by Google
Native Client.
svn path=/trunk/mono/; revision=157881
Zoltan Varga [Tue, 25 May 2010 15:56:01 +0000 (15:56 -0000)]
Revert "2010-05-22 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
eeadb4d4b391091d6517b2ca8e44d7f187a92373.
svn path=/trunk/mono/; revision=157871
Zoltan Varga [Tue, 25 May 2010 15:55:54 +0000 (15:55 -0000)]
Revert "2010-05-23 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
d21dba61ec1fd95ee9695473084b355974435e3c.
svn path=/trunk/mono/; revision=157870
Zoltan Varga [Tue, 25 May 2010 15:51:01 +0000 (15:51 -0000)]
2010-05-25 Zoltan Varga <vargaz@gmail.com>
* Applied patch from Burkhard Linke (blinke@cebitec.uni-bielefeld.de). Fix
building on solaris.
svn path=/trunk/mono/; revision=157869
Martin Baulig [Tue, 25 May 2010 15:44:51 +0000 (15:44 -0000)]
Release memory from symfiles that were loaded from memory.
2010-05-25 Martin Baulig <martin@ximian.com>
Applying a patch from Lucas Meijer <lucas@lucasmeijer.com>.
* debug-mono-symfile.c: Release memory from symfiles that were
loaded from memory.
svn path=/trunk/mono/; revision=157865
Martin Baulig [Tue, 25 May 2010 15:39:34 +0000 (15:39 -0000)]
Add public API to get the protocol version.
2010-05-24 Martin Baulig <martin@ximian.com>
* Connection.cs (VersionInfo): Make this public.
* VirtualMachine.cs (Version): New public property.
svn path=/trunk/mcs/; revision=157862
Jérémie Laval [Tue, 25 May 2010 14:37:01 +0000 (14:37 -0000)]
2010-05-25 Jérémie Laval <jeremie.laval@gmail.com>
In class/System.Core/System.Linq/:
* ParallelExecuter.cs: Fix NRE caused by lambda wrapping
svn path=/trunk/mcs/; revision=157856
Jb Evain [Tue, 25 May 2010 13:59:46 +0000 (13:59 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedViewAccessor.cs: fix API.
svn path=/trunk/mcs/; revision=157852
Jb Evain [Tue, 25 May 2010 13:51:40 +0000 (13:51 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFile.cs: add missing overloads.
svn path=/trunk/mcs/; revision=157850
Jb Evain [Tue, 25 May 2010 13:50:59 +0000 (13:50 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFileTest.cs: use proper overloads.
svn path=/trunk/mcs/; revision=157849
Jb Evain [Tue, 25 May 2010 13:37:35 +0000 (13:37 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFile.cs: make some helper methods private.
svn path=/trunk/mcs/; revision=157847
Jb Evain [Tue, 25 May 2010 13:37:05 +0000 (13:37 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* MemoryMappedFileSecurity.cs: ifdef for NET_4_0.
svn path=/trunk/mcs/; revision=157846
Jb Evain [Tue, 25 May 2010 13:23:45 +0000 (13:23 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* CryptoTools.cs: make types internal for INSIDE_SYSCORE as well.
svn path=/trunk/mcs/; revision=157845
Jb Evain [Tue, 25 May 2010 13:23:10 +0000 (13:23 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* Makefile: define INSIDE_SYSCORE.
svn path=/trunk/mcs/; revision=157844
Jb Evain [Tue, 25 May 2010 13:13:23 +0000 (13:13 -0000)]
tag a couple of obsolete members
svn path=/trunk/mcs/; revision=157843
Marek Safar [Tue, 25 May 2010 10:48:07 +0000 (10:48 -0000)]
2010-05-25 Marek Safar <marek.safar@gmail.com>
* linq.cs, cs-parser.jay: Keep location for all linq clauses.
svn path=/trunk/mcs/; revision=157835
Marek Safar [Tue, 25 May 2010 09:55:05 +0000 (09:55 -0000)]
2010-05-21 Marek Safar <marek.safar@gmail.com>
* context.cs, expression.cs, cs-parser.jay: Don't store current
block in This expression (it's too early for linq blocks).
svn path=/trunk/mcs/; revision=157834
Jb Evain [Tue, 25 May 2010 08:56:12 +0000 (08:56 -0000)]
2010-05-25 Jb Evain <jbevain@novell.com>
* Enumerable.cs: make Reverse lazier. Based on a patch by
Matthew Flaschen <matthew.flaschen@gatech.edu>. Fixes #608195.
svn path=/trunk/mcs/; revision=157831
Atsushi Eno [Tue, 25 May 2010 05:54:52 +0000 (05:54 -0000)]
this bug had nothing to do with it.
svn path=/trunk/mcs/; revision=157824
Atsushi Eno [Tue, 25 May 2010 05:43:00 +0000 (05:43 -0000)]
2010-05-25 Atsushi Enomoto <atsushi@ximian.com>
* UriTemplate.cs : safe-unescape template parameters.
Got bug #573795 site working.
svn path=/trunk/mcs/; revision=157823
Carlos Alberto Cortez [Tue, 25 May 2010 01:02:42 +0000 (01:02 -0000)]
2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: New test cases for CreateFile,
MoveDirectory and MoveFile.
svn path=/trunk/mcs/; revision=157817
Carlos Alberto Cortez [Tue, 25 May 2010 01:02:15 +0000 (01:02 -0000)]
* IsolatedStorageFileStream.cs: When creating the instance, we should check
for diposed first, and for closed on second place.
* IsolatedStorageFile.cs: Add Obsolete to CurrentSize and MaximumSize,
as part of 4.0.
2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=157816
Zoltan Varga [Mon, 24 May 2010 21:29:03 +0000 (21:29 -0000)]
2010-05-24 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_free_dynamic_wrappers): Avoid an assert when this is called
during shutdown.
svn path=/trunk/mono/; revision=157808
Carlos Alberto Cortez [Mon, 24 May 2010 16:13:39 +0000 (16:13 -0000)]
2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileStream.cs: When creating our instance check that
the IsolatedStorageFile is not closed/disposed.
* IsolatedStorageFile.cs: Expose closed/disposed info as internal
properties, as well as implement 4.0 MoveDirectory/MoveFile, CreateFile
and OpenFile methods.
svn path=/trunk/mcs/; revision=157801
Atsushi Eno [Mon, 24 May 2010 12:38:12 +0000 (12:38 -0000)]
2010-05-24 Atsushi Enomoto <atsushi@ximian.com>
* JsonQueryStringConverter.cs : objects are regarded serializable as
long as they are public here, with some exceptions (not implemented).
* JsonQueryStringConverterTest.cs : add more tests for CanConvert()
and reorganized some classes to make tests rational.
svn path=/trunk/mcs/; revision=157795
Atsushi Eno [Mon, 24 May 2010 09:32:16 +0000 (09:32 -0000)]
2010-05-24 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : do not reject relative URIs that contain ':' and
any non-scheme characters preceding it.
* UriTest.cs : more URI tests, for relative URIs with ':'.
svn path=/trunk/mcs/; revision=157789
Zoltan Varga [Sun, 23 May 2010 16:47:56 +0000 (16:47 -0000)]
2010-05-23 Zoltan Varga <vargaz@gmail.com>
* marshal.c (free_wrapper): New helper function to free dynamic wrappers.
svn path=/trunk/mono/; revision=157787
Carlos Alberto Cortez [Sun, 23 May 2010 16:19:40 +0000 (16:19 -0000)]
2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: New test cases for DirectoryExists and
FileExists.
svn path=/trunk/mcs/; revision=157785
Carlos Alberto Cortez [Sun, 23 May 2010 16:12:04 +0000 (16:12 -0000)]
2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Implement FileExists and DirectoryExists, as
well as adding fields to detect that Close/Dispose have been called
and fire the proper exceptions.
svn path=/trunk/mcs/; revision=157784
Carlos Alberto Cortez [Sun, 23 May 2010 16:03:45 +0000 (16:03 -0000)]
2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* corlib.dll.sources: Add System.IO.IsolatedStorageSecurityState.cs
and System.IO.IsolatedStorageSecurityOptions.cs.
svn path=/trunk/mcs/; revision=157783