mono.git
14 years ago2010-05-31 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 31 May 2010 13:07:28 +0000 (13:07 -0000)]
2010-05-31  Robert Jordan  <robertj@gmx.net>

* configure.in: Windows: mcs_topdir_from_srcdir must not be
converted to a Win32 path unless it's already a cygwin path.
Fixes --with-mcs-docs for in-tree mcs builds.

svn path=/trunk/mono/; revision=158211

14 years ago2010-05-31 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 31 May 2010 12:49:29 +0000 (12:49 -0000)]
2010-05-31  Jb Evain  <jbevain@novell.com>

Merge the MonoTouch Linker branch.

* Mono.Linker/TypeParser.cs: add a type parser.

* Mono.Linker.Steps/MarkStep.cs: properly mark types used
with typeof in custom attributes

* Mono.Linker/LinkContext.cs: remove dead code.

* monolinker.exe.sources: add TypeParser.cs

svn path=/trunk/mcs/; revision=158209

14 years ago2010-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 31 May 2010 12:31:50 +0000 (12:31 -0000)]
2010-05-31  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (patch_to_string): New debugging helper function.

svn path=/trunk/mono/; revision=158207

14 years agoFix a warning.
Zoltan Varga [Mon, 31 May 2010 12:04:47 +0000 (12:04 -0000)]
Fix a warning.

svn path=/trunk/mono/; revision=158202

14 years ago2010-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 31 May 2010 11:31:04 +0000 (11:31 -0000)]
2010-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs, XmlFormatterSerializer.cs,
  DataContractSerializer.cs :
  support DataContractSerializer.PreserveObjectReferences. z:Ref
  attributes are used not only for objects with IsReference=true.
  Fixed bug #610036.

* XmlObjectSerializerTest.cs : test PreserveObjectReferences too.

svn path=/trunk/mcs/; revision=158201

14 years ago2010-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 31 May 2010 10:32:30 +0000 (10:32 -0000)]
2010-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs, KnownTypeCollection.cs : contract namespace
  should be still considered even if contract (local) name is null.
  Fix crash for generic derived type of dictionary. Fixed the
  primary (crasher) part of bug #610036.

* XmlObjectSerializerTest.cs : add test for bug #610036.

svn path=/trunk/mcs/; revision=158197

14 years ago2010-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 31 May 2010 07:06:56 +0000 (07:06 -0000)]
2010-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* ClientCredentialsElement.cs, HttpDigestClientElement.cs,
  ConfigUtil.cs : implement ClientCredentialsElement.CreateBehavior().

svn path=/trunk/mcs/; revision=158188

14 years ago2010-05-31 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 31 May 2010 00:57:53 +0000 (00:57 -0000)]
2010-05-31  Robert Jordan  <robertj@gmx.net>

* mono.def : Remove unimplemented symbols.

svn path=/trunk/mono/; revision=158177

14 years ago2010-05-31 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 31 May 2010 00:47:46 +0000 (00:47 -0000)]
2010-05-31  Robert Jordan  <robertj@gmx.net>

* mono.def: Regenerate with create-windef.pl.

* create-windef.pl: Track 2.0 API changes.

svn path=/trunk/mono/; revision=158176

14 years ago2010-05-31 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 31 May 2010 00:01:53 +0000 (00:01 -0000)]
2010-05-31  Robert Jordan  <robertj@gmx.net>

* pinvoke2.cs (test_0_calli_dynamic): Use the cdecl version
of mono_test_marshal_inout_array. Fixes the test when compiled
with MSC (and GCC where it worked by accident).

* libtest.c (mono_test_marshal_inout_array_cdecl):
New. cdecl wrapper for the function with the same name.

svn path=/trunk/mono/; revision=158175

14 years ago2010-05-31 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 30 May 2010 22:53:40 +0000 (22:53 -0000)]
2010-05-31  Robert Jordan  <robertj@gmx.net>

* libtest.c (mono_test_marshal_lookup_symbol): Export as STDCALL because
it's DllImported from pinvoke2.

svn path=/trunk/mono/; revision=158174

14 years agoAdd a comment stating why llvm+exceptions is disabled for now.
Zoltan Varga [Sun, 30 May 2010 21:26:48 +0000 (21:26 -0000)]
Add a comment stating why llvm+exceptions is disabled for now.

svn path=/trunk/mono/; revision=158171

14 years ago2010-05-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 May 2010 17:36:27 +0000 (17:36 -0000)]
2010-05-30  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (get_throw_trampoline): Fix the xdebug name of the corlib
trampoline.

* exceptions-x86.c (mono_arch_exceptions_init): Create an llvm rethrow trampoline too.

* mini-llvm.c (mono_llvm_emit_method): Implement OP_RETHROW.

* method-to-ir.c (mono_method_to_ir): Emit a OP_NOT_REACHED after a rethrow.

svn path=/trunk/mono/; revision=158170

14 years ago2010-05-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 May 2010 17:21:41 +0000 (17:21 -0000)]
2010-05-30  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (emit_call): Compute the containing try clause correctly for nested
clauses.

svn path=/trunk/mono/; revision=158169

14 years ago2010-05-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 May 2010 17:18:47 +0000 (17:18 -0000)]
2010-05-30  Zoltan Varga  <vargaz@gmail.com>

* mini.c (create_jit_info): Print EH clause info for LLVM too.

svn path=/trunk/mono/; revision=158168

14 years agoremove eol-style:native because it confuses cygwin when the working
Robert Jordan [Sat, 29 May 2010 19:35:54 +0000 (19:35 -0000)]
remove eol-style:native because it confuses cygwin when the working
copy is checked out with a Windows SVN client.
This is on par with ../autogen.sh and all other mono scripts.

svn path=/trunk/mono/; revision=158162

14 years agoIn Test:
Robert Jordan [Sat, 29 May 2010 16:37:13 +0000 (16:37 -0000)]
In Test:
2010-05-29  Robert Jordan  <robertj@gmx.net>

* IpcChannelTest.cs: Add test for bug #609381.

In System.Runtime.Remoting.Channels.Ipc.Win32:
2010-05-29  Robert Jordan  <robertj@gmx.net>

* IpcChannelHelper.cs (copy): Take into account that the remoting
stack is internally using MemoryStreams all over the place.
Fixes bug #609381 as a side effect.

* IpcChannel.cs (.ctor): Create an IpcClientChannel as well.

svn path=/trunk/mcs/; revision=158161

14 years agoNew test.
Marek Safar [Sat, 29 May 2010 13:21:49 +0000 (13:21 -0000)]
New test.

svn path=/trunk/mcs/; revision=158160

14 years ago2010-05-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 29 May 2010 13:17:48 +0000 (13:17 -0000)]
2010-05-29  Marek Safar  <marek.safar@gmail.com>

A fix for bug #610126
* expression.cs: Don't use branch optimization for types bigger than
int.

svn path=/trunk/mcs/; revision=158159

14 years ago2010-05-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 29 May 2010 06:09:41 +0000 (06:09 -0000)]
2010-05-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Test/System/UriTest.cs:
* System/Uri.cs: Leave consecutive slashes in 'path' alone.
Fix for bug #606142. Backport once tested.

svn path=/trunk/mcs/; revision=158150

14 years agoadd TargetFrameworkAttribute to the moonlight build so we can start at least looking...
Chris Toshok [Sat, 29 May 2010 02:32:36 +0000 (02:32 -0000)]
add TargetFrameworkAttribute to the moonlight build so we can start at least looking at SL4 apps.

svn path=/trunk/mcs/; revision=158142

14 years agoEnable major copying again - erroneous commit.
Mark Probst [Sat, 29 May 2010 01:19:20 +0000 (01:19 -0000)]
Enable major copying again - erroneous commit.

svn path=/trunk/mono/; revision=158138

14 years ago2010-05-29 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 28 May 2010 23:38:28 +0000 (23:38 -0000)]
2010-05-29  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c: Always use DESC_TYPE_RUN_LENGTH for objects without
references so that we don't have to do the cache-cold fetch of the
class in copy_object_no_checks().

svn path=/trunk/mono/; revision=158137

14 years agoEnable mark&sweep major collector.
Mark Probst [Fri, 28 May 2010 23:33:31 +0000 (23:33 -0000)]
Enable mark&sweep major collector.

svn path=/trunk/mono/; revision=158136

14 years ago2010-05-28 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 28 May 2010 22:17:55 +0000 (22:17 -0000)]
2010-05-28  Robert Jordan  <robertj@gmx.net>

* configure.in: Fix mcs_topdir* for the Windows build.

svn path=/trunk/mono/; revision=158132

14 years ago2010-05-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 28 May 2010 22:05:52 +0000 (22:05 -0000)]
2010-05-29  Robert Jordan  <robertj@gmx.net>

* marshal.c (mono_marshal_asany): marshal LPWSTRs using
mono_marshal_string_to_utf16_copy () to avoid memory allocation
mismatches under Windows. Fixes pinvoke2:test_0_asany.

svn path=/trunk/mono/; revision=158126

14 years ago2010-05-28 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 28 May 2010 22:02:42 +0000 (22:02 -0000)]
2010-05-28  Robert Jordan  <robertj@gmx.net>

* libtest.c: Implement and use marshal_strdup () as a g_strdup ()
replacement under Windows. Fixes memory allocation mismatches.

svn path=/trunk/mono/; revision=158125

14 years ago* AssemblyResolver.cs: Add some comments.
Ankit Jain [Fri, 28 May 2010 21:42:47 +0000 (21:42 -0000)]
* AssemblyResolver.cs: Add some comments.

svn path=/trunk/mcs/; revision=158124

14 years agoImprove assembly resolution when hintpath is specified and when searching
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

14 years ago2010-05-28 Mark Probst <mark.probst@gmail.com>
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

14 years ago2010-05-28 Marek Safar <marek.safar@gmail.com>
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

14 years agoRemoved win32-excludes
Marek Safar [Fri, 28 May 2010 16:11:36 +0000 (16:11 -0000)]
Removed win32-excludes

svn path=/trunk/mcs/; revision=158114

14 years agoNew tests.
Marek Safar [Fri, 28 May 2010 13:07:41 +0000 (13:07 -0000)]
New tests.

svn path=/trunk/mcs/; revision=158109

14 years ago2010-05-28 Marek Safar <marek.safar@gmail.com>
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

14 years ago2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago* SolutionParser.cs (ParseSolution): Ignore GlobalSection
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

14 years ago2010-05-28 Astushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-28 Marek Safar <marek.safar@gmail.com>
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

14 years ago2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoFix bug #485841.
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

14 years ago2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-28 Mark Probst <mark.probst@gmail.com>
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

14 years ago2010-05-28 Mark Probst <mark.probst@gmail.com>
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

14 years ago2010-05-28 Mark Probst <mark.probst@gmail.com>
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

14 years ago2010-05-28 Mark Probst <mark.probst@gmail.com>
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

14 years ago2010-05-28 Mark Probst <mark.probst@gmail.com>
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

14 years ago2010-05-28 Mark Probst <mark.probst@gmail.com>
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

14 years ago2010-05-28 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-05-27 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-05-28 Robert Jordan <robertj@gmx.net>
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

14 years ago* AssemblyResolver.cs (PopulateTargetFrameworkAssemblies):
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

14 years agoNew tests.
Marek Safar [Thu, 27 May 2010 18:56:56 +0000 (18:56 -0000)]
New tests.

svn path=/trunk/mcs/; revision=158060

14 years agoNew tests.
Marek Safar [Thu, 27 May 2010 18:56:30 +0000 (18:56 -0000)]
New tests.

svn path=/trunk/mcs/; revision=158059

14 years ago2010-05-27 Marek Safar <marek.safar@gmail.com>
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

14 years ago2010-05-27 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2010-05-27 Zoltan Varga <vargaz@gmail.com>
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

14 years ago#605698: Execute SDB commands in the debuggee's appdomain.
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

14 years ago * IsolatedStorageFileTest.cs: New test case for CopyFile.
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

14 years ago2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years ago2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-27 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-27 Zoltan Varga <vargaz@gmail.com>
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

14 years agoDeclare variables first, to fix msvc build.
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

14 years ago2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years ago2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years agoflush
Jb Evain [Thu, 27 May 2010 11:51:02 +0000 (11:51 -0000)]
flush

svn path=/trunk/mcs/; revision=158024

14 years agoflush
Jb Evain [Thu, 27 May 2010 11:40:06 +0000 (11:40 -0000)]
flush

svn path=/trunk/mcs/; revision=158022

14 years ago2010-05-27 Jb Evain <jbevain@novell.com>
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

14 years ago2010-05-27 Jb Evain <jbevain@novell.com>
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

14 years ago2010-05-27 Jb Evain <jbevain@novell.com>
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

14 years ago2010-05-27 Jb Evain <jbevain@novell.com>
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

14 years agoinclude System.Security.SecurityContextSource
Jb Evain [Thu, 27 May 2010 10:58:38 +0000 (10:58 -0000)]
include System.Security.SecurityContextSource

svn path=/trunk/mcs/; revision=158016

14 years ago2010-05-27 Jb Evain <jbevain@novell.com>
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

14 years ago2010-05-25 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-05-26 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-05-26 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years agoFix the build
Geoff Norton [Wed, 26 May 2010 20:10:38 +0000 (20:10 -0000)]
Fix the build

svn path=/trunk/mono/; revision=157987

14 years ago2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years ago2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years agoUpdate docs
Miguel de Icaza [Wed, 26 May 2010 15:06:03 +0000 (15:06 -0000)]
Update docs

svn path=/trunk/mono/; revision=157966

14 years ago2010-05-26 Zoltan Varga <vargaz@gmail.com>
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

14 years agofix integration tests
Jb Evain [Wed, 26 May 2010 12:23:20 +0000 (12:23 -0000)]
fix integration tests

svn path=/trunk/mcs/; revision=157958

14 years agoflush
Marek Safar [Wed, 26 May 2010 11:53:06 +0000 (11:53 -0000)]
flush

svn path=/trunk/mcs/; revision=157956

14 years ago2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agofix tests
Jb Evain [Wed, 26 May 2010 10:44:04 +0000 (10:44 -0000)]
fix tests

svn path=/trunk/mcs/; revision=157949

14 years agoFix test compilation - parts of web security were moved to a separate assembly
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

14 years ago2010-05-26 Marek Habersack <mhabersack@novell.com>
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

14 years ago2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2010-05-26 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2010-05-25 Bill Holmes <billholmes54@gmail.com>
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

14 years ago2010-05-25 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2010-05-25 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2010-05-25 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2010-05-25 Miguel de Icaza <miguel@novell.com>
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

14 years ago2010-05-25 Miguel de Icaza <miguel@novell.com>
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

14 years agoRevert "2010-05-22 Zoltan Varga <vargaz@gmail.com>"
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