mono.git
14 years ago2010-04-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 18 Apr 2010 12:16:29 +0000 (12:16 -0000)]
2010-04-18  Atsushi Enomoto  <atsushi@ximian.com>

* XamlObjectReader.cs : check constructible type. Remove extra ns node.

* XamlObjectReaderTest.cs : enable working tests and remove invalid
  comment.

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

14 years ago2010-04-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 18 Apr 2010 11:51:11 +0000 (11:51 -0000)]
2010-04-18  Atsushi Enomoto  <atsushi@ximian.com>

* XamlType.cs : ignore ReferenceConverter which is used for IList<T>.

* XamlObjectReaderTest.cs : add simple read tests for some types.

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

14 years agoRemove unused var and declare variables first to fix msvc build.
Jonathan Pobst [Sun, 18 Apr 2010 02:35:21 +0000 (02:35 -0000)]
Remove unused var and declare variables first to fix msvc build.

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

14 years ago2010-04-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 18 Apr 2010 01:13:36 +0000 (01:13 -0000)]
2010-04-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeViewTest.cs: New test for Sorted and BeginUpdate interaction.

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

14 years agoKeep "ftp://a.b/%2fcd" urls unmolested
Raja R Harinath [Sat, 17 Apr 2010 10:33:03 +0000 (10:33 -0000)]
Keep "ftp://a.b/%2fcd" urls unmolested

* System/Uri.cs (CompactEscaped): New.  Check if scheme allows escaped
path characters are compacted (list of schemes obtained from MSDN).
(Reduce): Add argument that is set if escaped characters need to
be compacted.
* Tests/System/UriTest.cs (FtpRootPath): New.  Check that ftp root paths are
unmolested.

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

14 years ago2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 16 Apr 2010 21:37:22 +0000 (21:37 -0000)]
2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs: Add regression test for #484246.

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

14 years ago2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 16 Apr 2010 21:37:12 +0000 (21:37 -0000)]
2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoType.cs (GetInterface): Compare against the name
of the generic type definition.

Fixes #484246.

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

14 years agoGuard for NULLs
Miguel de Icaza [Fri, 16 Apr 2010 21:04:39 +0000 (21:04 -0000)]
Guard for NULLs

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

14 years ago2010-04-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 16 Apr 2010 20:59:21 +0000 (20:59 -0000)]
2010-04-16  Miguel de Icaza  <miguel@novell.com>

        * src/gshell.c (g_shell_unquote): Implement this.

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

14 years ago2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 16 Apr 2010 20:40:52 +0000 (20:40 -0000)]
2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>

* AttributeTest.cs: Add regression test for #499569.

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

14 years ago2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 16 Apr 2010 20:40:42 +0000 (20:40 -0000)]
2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoCustomAttrs.cs (GetBasePropertyDefinition): Use
GetBaseMethod instead of GetMethodDefinition otherwise
we skip intermediate overloads.

Fixes #499569.

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

14 years ago2010-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Apr 2010 20:23:57 +0000 (20:23 -0000)]
2010-04-16  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_compile_method_inner): Implement the check for native func
wrappers correctly now that their wrapper info is NULL.

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

14 years ago2010-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Apr 2010 20:23:50 +0000 (20:23 -0000)]
2010-04-16  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_native_func_wrapper): Set the marshal info to NULL,
since it is not a MonoMethod.

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

14 years ago2010-04-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Apr 2010 20:12:17 +0000 (20:12 -0000)]
2010-04-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeViewTest.cs: New test for automatical sorting.

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

14 years agonoted that I'll maintain revived mono-api-diff
C.J. Adams-Collier [Fri, 16 Apr 2010 20:10:44 +0000 (20:10 -0000)]
noted that I'll maintain revived mono-api-diff

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

14 years ago2010-04-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Apr 2010 20:10:25 +0000 (20:10 -0000)]
2010-04-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNodeCollection.cs: When adding/inserting/setting a new node call
TreeView.Sort if needed, and update/recalculate this entire
collection in that case.
* TreeView.cs: Make 'sorted' internal, instead of directly using
Sorted, as this one could trigger a complete Sort() operation.

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

14 years ago2010-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Apr 2010 19:53:37 +0000 (19:53 -0000)]
2010-04-16  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_compile_method_inner): Avoid calling
mono_marshal_method_from_wrapper () for native func wrappers. Fixes #597189.

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

14 years agopatched for post-mono-2-2
C.J. Adams-Collier [Fri, 16 Apr 2010 19:40:06 +0000 (19:40 -0000)]
patched for post-mono-2-2

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

14 years agocopied mono-api-diff.cs from mono-2-2 branch so new patch can be applied and history...
C.J. Adams-Collier [Fri, 16 Apr 2010 19:38:29 +0000 (19:38 -0000)]
copied mono-api-diff.cs from mono-2-2 branch so new patch can be applied and history preserved

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

14 years agoFix a warning.
Zoltan Varga [Fri, 16 Apr 2010 19:15:13 +0000 (19:15 -0000)]
Fix a warning.

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

14 years ago2010-04-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 16 Apr 2010 18:59:20 +0000 (18:59 -0000)]
2010-04-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* test/ptrarray.c: new tests
* src/gptrarray.c: implemented g_ptr_array_remove_fast().

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

14 years agoallow profiles to build System.dll with the profile compiler rather than the bootstra...
Raja R Harinath [Fri, 16 Apr 2010 18:33:44 +0000 (18:33 -0000)]
allow profiles to build System.dll with the profile compiler rather than the bootstrap compiler

build/profiles/net_4_0_bootstrap.make (PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK):
New.  Can be set if we have BOOTSTRAP_PROFILE listed in the
MONO_PATH of MCS, and the profile's System.dll depends features
the profile's mscorlib.dll.
class/System/Makefile (LIBRARY_COMPILE) [USE_BOOT_COMPILE]:
Don't override if the profile says it isn't necessary by setting
PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK.

cleanup and generalize r155638

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

14 years ago* basic-profile-check.cs: Add use of 'var' keyword.
Raja R Harinath [Fri, 16 Apr 2010 18:33:03 +0000 (18:33 -0000)]
* basic-profile-check.cs: Add use of 'var' keyword.

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

14 years ago2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Apr 2010 17:29:07 +0000 (17:29 -0000)]
2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* Directory.cs: Ensure elevated trust when calling on
Moonlight.
* DirectoryInfo.cs: Ensure elevated trust when calling a .ctor
on Moonlight.
* File.cs: Ensure elevated trust when calling a .ctor on
Moonlight.
* FileInfo.cs: Ensure elevated trust when calling a .ctor on
Moonlight.
* FileStream.cs: Ensure elevated trust when calling a .ctor on
Moonlight. Name property returns "[Unknown]" unless a Moonlight
application is executed with elevated trust.
* Path.cs: Ensure elevated trust when calling a GetTempPath,
GetTempFileName or GetFullPath on Moonlight. Add a shared
internal method to validate paths to reduce code duplication.

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

14 years ago * Environment.cs: Ensure elevated trust when calling
Sebastien Pouliot [Fri, 16 Apr 2010 17:28:41 +0000 (17:28 -0000)]
* Environment.cs: Ensure elevated trust when calling
GetFolderPath on Moonlight

2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>

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

14 years ago * Makefile: Add System.Xml.Linq.dll to the referenced assemblies.
Jonathan Pryor [Fri, 16 Apr 2010 17:20:35 +0000 (17:20 -0000)]
* Makefile: Add System.Xml.Linq.dll to the referenced assemblies.
* Mono.Documentation/webdoc.cs: Allow .source files to be provided to
  'mdoc export-html-webdoc', which will cause the .source files to be
  read and all referenced .tree/.zip files to be processed.

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

14 years ago * Mono.Documentation/monodocer.cs: Use Int64 instead of UInt64 for
Jonathan Pryor [Fri, 16 Apr 2010 17:18:03 +0000 (17:18 -0000)]
* Mono.Documentation/monodocer.cs: Use Int64 instead of UInt64 for
  enum values, so that we can properly capture negative values.

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

14 years ago2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Apr 2010 17:01:41 +0000 (17:01 -0000)]
2010-04-16  Atsushi Enomoto  <atsushi@ximian.com>

* XamlType.cs : cache member lookup.

* XamlMemberTest.cs, XamlXmlReaderTest.cs :
  a few correction and additions on member equality.

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

14 years agoSystem.dll needs to be bootstrapped with dmcs in the 4.0 profile. Fixes the build.
Marek Habersack [Fri, 16 Apr 2010 16:27:22 +0000 (16:27 -0000)]
System.dll needs to be bootstrapped with dmcs in the 4.0 profile. Fixes the build.

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

14 years ago2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Apr 2010 14:41:34 +0000 (14:41 -0000)]
2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Add stub for new methods (so code compiles
correctly under other profiles)
* SecurityManager_2_1.cs: Implement [Check|Ensure]ElevatedPermissions
for Moonlight Elevated Trust

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

14 years ago2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Apr 2010 14:39:02 +0000 (14:39 -0000)]
2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* icall-def.h: Add get_RequiresElevatedPermissions icall to
System.Security.SecurityManager - used only by Moonlight
* security-core-clr.c|h: Add Elevated Trust/Permission support
for CoreCLR / Moonlight

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

14 years ago2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Apr 2010 13:21:02 +0000 (13:21 -0000)]
2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* Actions.cs: Forward Action() to mscorlib.dll and add the new
Action<...T16> delegates
* Funcs.cs: Add the new Func<...T16> delegates
* TimeZoneInfo.cs: Forward to mscorlib.dll

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

14 years ago2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Apr 2010 13:20:29 +0000 (13:20 -0000)]
2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* Action.cs: SL4 moved some Action in mscorlib
* Funcs.cs: SL4 moved some Func<> in mscorlib
* String.cs: Make IsNullOrWhiteSpace available, internally,
before NET_4_0 (or SL4) since it's proving useful.

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

14 years ago2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Apr 2010 12:47:38 +0000 (12:47 -0000)]
2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* HashSet.cs: Implement ISet<T> in MOONLIGHT too

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

14 years ago2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Apr 2010 10:12:12 +0000 (10:12 -0000)]
2010-04-16  Atsushi Enomoto  <atsushi@ximian.com>

* XamlMember.cs : cosmetic equivalence change.

* XamlMemberTest.cs, XamlXmlReaderTest.cs : some member equivalence
  tests. Commented out some assertions that won't work for a while.

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

14 years ago2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Apr 2010 09:31:50 +0000 (09:31 -0000)]
2010-04-16  Atsushi Enomoto  <atsushi@ximian.com>

* XamlXmlReader.cs : Resolve generic type names. Process attribute
  members.
* XamlLanguage.cs : add XamlTypeName-to-ClrType method.
* XmlSchemaContext.cs : extracted special type name handling to above.

* XamlXmlReaderTest.cs : add more detailed read tests, and more
  file-based tests (not working yet).

* Dictionary_Int32_String.xml, Dictionary_String_Type.xml :
  add more test files (not working though).

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

14 years ago2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Apr 2010 09:15:38 +0000 (09:15 -0000)]
2010-04-16  Atsushi Enomoto <atsushi@ximian.com>

* XmlFilterReader.cs : implement IXmlNamespaceResolver.

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

14 years ago2010-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Apr 2010 09:14:26 +0000 (09:14 -0000)]
2010-04-16  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_base_init): Applied patch from Robert Nagy
(robert@openbsd.org). Fix GC_stackbottom calculation on OpenBSD.

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

14 years ago2010-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Apr 2010 03:28:26 +0000 (03:28 -0000)]
2010-04-16  Zoltan Varga  <vargaz@gmail.com>

* genmdesc.c (inst_name): Define this as a copy of mono_inst_name in helpers.c,
so the latter can be #ifndef DISABLE_JIT-ed.

* helpers.c: Comment out the opstr array if DISABLE_JIT is set.

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

14 years ago2010-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Apr 2010 02:59:31 +0000 (02:59 -0000)]
2010-04-16  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c driver.c: Disable a few more things when DISABLE_JIT is set.

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

14 years ago2010-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 16 Apr 2010 02:16:12 +0000 (02:16 -0000)]
2010-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: set content length to -1 on redirect. Reset
'FinishedReading' on redirects. Fixes bug #593596.

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

14 years ago2010-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Apr 2010 22:47:58 +0000 (22:47 -0000)]
2010-04-16  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (emit_entry_bb): Fix support for simd arguments passed on the
stack.

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

14 years agoMissed two underscores - thanks to Robert Nagy <robert@openbsd.org> for catching...
Marek Habersack [Thu, 15 Apr 2010 22:41:51 +0000 (22:41 -0000)]
Missed two underscores - thanks to Robert Nagy <robert@openbsd.org> for catching this

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

14 years ago 2010-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Apr 2010 22:24:33 +0000 (22:24 -0000)]
2010-04-16  Marek Habersack  <mhabersack@novell.com>

     * configure.in: added a check for sysconf(3)

    2010-04-16  Marek Habersack  <mhabersack@novell.com>

     * mono-perfcounters.c: added code for the "Mono
     Memory/Total Physical Memory" performance counter.

     * mono-perfcounters-def.h: added definition of the "Mono
     Memory/Total Physical Memory" performance counter.

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

14 years ago2010-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 15 Apr 2010 20:49:57 +0000 (20:49 -0000)]
2010-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_get_method_by_index): Return NULL
on type load failures.

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

14 years ago2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 15 Apr 2010 20:20:04 +0000 (20:20 -0000)]
2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>

In class/corlib/System.Collections.Concurrent/Partitioners/:

   * ChangeLog: Add forgotten log message

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

14 years ago2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 15 Apr 2010 20:19:54 +0000 (20:19 -0000)]
2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>

In class/corlib/System.Collections.Concurrent/Partitioners/:
   * ListPartitioner.cs: Remove playground code

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

14 years ago2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 15 Apr 2010 20:19:44 +0000 (20:19 -0000)]
2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>

In class/System.Core/Test/System.Linq/:
   * ParallelEnumerableTests.cs: Tweak Skip unit test to avoid deadlocking for now

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

14 years ago2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 19:49:15 +0000 (19:49 -0000)]
2010-04-16  Atsushi Enomoto  <atsushi@ximian.com>

* XamlType.cs : sort of reverted AllowedContentTypes.
  msdn explanation is so wrong.

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

14 years ago2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 19:30:16 +0000 (19:30 -0000)]
2010-04-16  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeValueSerializer.cs, NameReferenceConverter.cs :
  implement.

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

14 years ago2010-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 15 Apr 2010 19:29:51 +0000 (19:29 -0000)]
2010-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_from_typeref): Check if the supplied
image has an assembly bound to it.

Fixes #567884.

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

14 years ago2010-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 19:29:24 +0000 (19:29 -0000)]
2010-04-16  Atsushi Enomoto  <atsushi@ximian.com>

* XamlSchemaContext.cs : implement GetXamlDirective().

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

14 years ago2010-04-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Apr 2010 19:26:09 +0000 (19:26 -0000)]
2010-04-15  Jb Evain  <jbevain@novell.com>

* GuidTest.cs: add tests for net_4_0 ParseExact methods.

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

14 years ago2010-04-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Apr 2010 19:25:17 +0000 (19:25 -0000)]
2010-04-15  Jb Evain  <jbevain@novell.com>

* Guid.cs: rework the Guid parser to implement the net_4_0
[Try]ParseExact methods.

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

14 years ago2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 15 Apr 2010 19:02:02 +0000 (19:02 -0000)]
2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>

In class/System.Core/:
   * System.Core_test.dll.sources: Add PLinq unit tests

In class/System.Core/Test/System.Linq/:
   * ParallelEnumerableTests.cs:
   * ParallelTestHelper.cs: Add PLinq unit tests

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

14 years ago2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 15 Apr 2010 19:01:50 +0000 (19:01 -0000)]
2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>

In class/System.Core/:
   * net_4_0_System.Core.dll.sources: add PLinq sources

In class/System.Core/System.Linq/:
   * OrderedParallelQuery.cs:
   * ParallelEnumerable.cs:
   * ParallelExecuter.cs:
   * ParallelPartitioner.cs:
   * ParallelQuery.cs:
   * ParallelQueryEnumerator.cs: First check-in of PLinq

In class/System.Core/System.Linq/Internal/:
   * AggregationList.cs:
   * ConcurrentGrouping.cs:
   * ConcurrentLookup.cs:
   * OrderingEnumerator.cs:
   * ParallelQuickSort.cs:
   * RangeList.cs:
   * RepeatList.cs:
   * ReverseList.cs:
   * StripPartitioner.cs: Initial check-in of PLinq

In class/System.Core/System.Linq/Internal/QueryNodes/:
   * QueryBaseNode.cs:
   * QueryCastNode.cs:
   * QueryChildNode.cs:
   * QueryConcatNode.cs:
   * QueryDefaultEmptyNode.cs:
   * QueryGroupByNode.cs:
   * QueryMuxNode.cs:
   * QueryOptionNode.cs:
   * QueryOrderByNode.cs:
   * QueryOrderGuardNode.cs:
   * QueryOrderedStreamNode.cs:
   * QueryReverseNode.cs:
   * QuerySelectManyNode.cs:
   * QuerySelectNode.cs:
   * QuerySetNode.cs:
   * QueryStartNode.cs:
   * QueryStreamNode.cs:
   * QueryWhereNode.cs:
   * QueryZipNode.cs:
   * WrapHelper.cs: Initial check-in of PLinq

In class/System.Core/System.Linq/Internal/Visitors/:
   * INodeVisitor.cs:
   * IVisitableNode.cs:
   * QueryCheckerVisitor.cs:
   * QueryOptions.cs: First check-in of PLinq

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

14 years ago2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 15 Apr 2010 19:01:37 +0000 (19:01 -0000)]
2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>

In class/System.Core/System.Linq/:
   * ParallelExecutionMode.cs:
   * ParallelMergeOptions.cs: Initial check-in of PLinq (enum)

In class/System.Core/System.Linq/Internal/QueryNodes/:
   * SetInclusion.cs: Initial check-in of PLinq (enum)

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

14 years ago2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 15 Apr 2010 19:01:26 +0000 (19:01 -0000)]
2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>

In class/System/System.Collections.Concurrent/:
   * BlockingCollection.cs:
   * ConcurrentBag.cs: Add BOOTSTRAP_NET_4_0

In class/System/System.Threading/:
   * Barrier.cs: Add BOOTSTRAP_NET_4_0

In class/corlib/System.Collections.Concurrent/:
   * ConcurrentDictionary.cs:
   * ConcurrentSkipList.cs:
   * OrderablePartitioner.cs:
   * Partitioner.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System.Collections/:
   * IStructuralComparable.cs:
   * IStructuralEquatable.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System.Threading.Tasks/:
   * Future.cs:
   * Task.cs:
   * TaskCanceledException.cs:
   * TaskContinuationOptions.cs:
   * TaskCreationOptions.cs:
   * TaskFactory.cs:
   * TaskScheduler.cs:
   * TaskStatus.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System.Threading/:
   * AtomicBoolean.cs:
   * CountdownEvent.cs:
   * SpinLock.cs: Add BOOTSTRAP_NET_4_0 define

In class/corlib/System/:
   * Tuple.cs:
   * Tuples.cs: Add BOOTSTRAP_NET_4_0 define

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

14 years ago2010-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 15 Apr 2010 18:31:06 +0000 (18:31 -0000)]
2010-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_get_signature_full): Use new function
inflate_generic_signature_checked to check for errors.

Fixes #560839.

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

14 years ago2010-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 15 Apr 2010 18:30:58 +0000 (18:30 -0000)]
2010-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (inflate_generic_signature): Add _checked variant
and move this function to use it.

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

14 years ago2010-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 15 Apr 2010 17:42:37 +0000 (17:42 -0000)]
2010-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_setup_vtable_general): Use error checking
version of mono_class_inflate_generic_method_full.

Fixes #596975.

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

14 years ago * UnixSignal.cs: Change the native WaitAny() method to accept a
Jonathan Pryor [Thu, 15 Apr 2010 17:31:46 +0000 (17:31 -0000)]
* UnixSignal.cs: Change the native WaitAny() method to accept a
  Mono_Posix_RuntimeIsShuttingDown delegate, so that we can prevent an
  infinite loop while shutting the process down.  Fixes #592981.

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

14 years ago * Makefile.am: Revert previous linkage against libmono.so, as lupus
Jonathan Pryor [Thu, 15 Apr 2010 17:31:24 +0000 (17:31 -0000)]
* Makefile.am: Revert previous linkage against libmono.so, as lupus
  mentioned that it's unacceptable for MonoPosixHelper to link against
  libmono (e.g. when embedding mono, there might not be a libmono).
* map.h: Flush updated Mono_Unix_UnixSignal_SignalInfo prototype.
* signal.c: Don't use mono_runtime_is_shutting_down(). Instead, change
  Mono_Unix_UnixSignal_WaitAny() to accept a function pointer argument,
  which will return Environment.HasShutdownStarted in managed code (the
  moral equivalent of mono_runtime_is_shutting_down()).  This allows
  us to avoid a libmono dependency w/o lots of rewriting. Fixes #592981.

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

14 years ago2010-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 15 Apr 2010 17:17:18 +0000 (17:17 -0000)]
2010-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_inflate_generic_type_no_copy): Do proper
error handling passing MonoError around.

Fixes #560336.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 17:10:24 +0000 (17:10 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XamlType.cs : implement AllowedContentTypes and ContentWrappers.

* XamlTypeTest.cs, XamlLanguageTest.cs : enable AllowedContentTypes
  and ContentWrappers tests.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 16:40:33 +0000 (16:40 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XamlXmlReader.cs : handle types in clr-namespace.
* XamlType.cs : replaced Type-to-typename hack with better-working one.
* XamlLanguage,cs : add internal clr type name resolver method.
* XamlXmlWriter.cs : for Initialization, value is passed as a string,
  so don't try to verify it with the object type.

* XamlXmlReaderTest.cs : enable DateTime tests.
* XamlSchemaContextTest.cs : add a type name resolver test.

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

14 years agoremove unused using
Jb Evain [Thu, 15 Apr 2010 16:12:45 +0000 (16:12 -0000)]
remove unused using

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

14 years agoremove warning
Gonzalo Paniagua Javier [Thu, 15 Apr 2010 14:43:22 +0000 (14:43 -0000)]
remove warning

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 14:35:57 +0000 (14:35 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XmlnsCompatibleWithAttribute.cs
  IComponentConnector.cs
  XmlLangPropertyAttribute.cs
  XamlSetMarkupExtensionEventArgs.cs
  PropertyDefinition.cs
  XmlnsDefinitionAttribute.cs
  XmlnsPrefixAttribute.cs : another corcompare fix.

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

14 years ago2010-04-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Apr 2010 12:20:40 +0000 (12:20 -0000)]
2010-04-15  Jb Evain  <jbevain@novell.com>

* dmcs.exe.config: update the runtime version to .net 4.0 RTM.

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

14 years ago2010-04-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Apr 2010 11:56:06 +0000 (11:56 -0000)]
2010-04-15  Jb Evain  <jbevain@novell.com>

* Directory.cs: don't fully qualify name when not it's necessary.

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

14 years ago2010-04-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Apr 2010 11:49:37 +0000 (11:49 -0000)]
2010-04-15  Jb Evain  <jbevain@novell.com>

* MemoryMappedFile.cs: implement CreateOrOpen.

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

14 years agoeol
Jb Evain [Thu, 15 Apr 2010 11:49:13 +0000 (11:49 -0000)]
eol

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 10:31:41 +0000 (10:31 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XamlXmlReader.cs : ongoing bugfixes to pass start object.

* XamlXmlReaderTest.cs : added a couple more of read and load tests.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 08:11:11 +0000 (08:11 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XamlObjectReader.cs, TypeExtensionMethods.cs :
  Value serialization improvements. Improved namespace handling.
  Remove unused code.

* XamlObjectReaderTest.cs : add more read tests (lots of them are
  not fully working yet).

* DateTime.xml : new test file. (not working though)

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 08:09:50 +0000 (08:09 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xaml_test.dll.sources : add XDataTest.cs.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 08:06:24 +0000 (08:06 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XamlXmlReader.cs : Return Member. Remove NIE.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 08:04:54 +0000 (08:04 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XData.cs : actual implementation.

* XDataTest.cs : new test.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 05:16:41 +0000 (05:16 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* Consts.cs.in : Add AssemblyWindowsBase, AssemblyPresentationCore_3_5
  and AssemblyPresentationFramework_3_5.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 05:16:21 +0000 (05:16 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* ArrayExtension.cs
  TrimSurroundingWhitespaceAttribute.cs
  RuntimeNamePropertyAttribute.cs
  TypeExtension.cs
  MarkupExtensionReturnTypeAttribute.cs
  DateTimeValueSerializer.cs
  IValueSerializerContext.cs
  RootNamespaceAttribute.cs
  MarkupExtension.cs
  Reference.cs
  AmbientAttribute.cs
  NameScopePropertyAttribute.cs
  ValueSerializer.cs
  DictionaryKeyPropertyAttribute.cs
  WhitespaceSignificantCollectionAttribute.cs
  ConstructorArgumentAttribute.cs
  IUriContext.cs
  INameScope.cs
  StaticExtension.cs
  IProvideValueTarget.cs
  ValueSerializerAttribute.cs
  IXamlTypeResolver.cs
  ContentWrapperAttribute.cs
  ContentPropertyAttribute.cs
  DependsOnAttribute.cs
  NullExtension.cs
  UidPropertyAttribute.cs : several corcompare fixes.

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

14 years ago2010-04-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Apr 2010 04:35:45 +0000 (04:35 -0000)]
2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>

* XamlAccessLevel.cs : add missing methods.

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

14 years ago2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 15 Apr 2010 02:42:35 +0000 (02:42 -0000)]
2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* socket-io.c: make GetHostByName ("") work on windows.
Fixes bug #456723.

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

14 years ago2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 15 Apr 2010 02:01:10 +0000 (02:01 -0000)]
2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* object-internals.h:
* threads.c: use a spin lock when accesing the per-thread appdomain
list.

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

14 years ago2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 14 Apr 2010 22:27:35 +0000 (22:27 -0000)]
2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threads.c: no need to take the threads lock in push/pop appdomain.

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

14 years ago2010-04-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Apr 2010 22:24:14 +0000 (22:24 -0000)]
2010-04-15  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (type_commands): Call mono_class_setup_methods () before
calling mono_class_num_methods (). Fixes #592244.

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

14 years ago2010-04-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 14 Apr 2010 22:13:58 +0000 (22:13 -0000)]
2010-04-14 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (_mono_reflection_parse_type): MS supports
non-assembly-qualified types in a generic type parameter list
when enclosed in '[]' (which signals that they should be a fqn).

This breaks ECMA specs for how type names are encoded in cattr
blobs but F# does it.

Fixes #576342.

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

14 years agoAdd here too
Miguel de Icaza [Wed, 14 Apr 2010 21:26:01 +0000 (21:26 -0000)]
Add here too

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

14 years agoAdd mono.pc for those using it as a way to probe for Mono
Miguel de Icaza [Wed, 14 Apr 2010 21:25:35 +0000 (21:25 -0000)]
Add mono.pc for those using it as a way to probe for Mono

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

14 years ago2010-04-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Apr 2010 19:50:58 +0000 (19:50 -0000)]
2010-04-14  Miguel de Icaza  <miguel@novell.com>

* configure.in: turn the AC_MSG_ERROR into a AC_MSG_WARN since in
Andrew's configuration this aborts the build:

 host=i686-pc-linux-gnu != target=i586-suse-linux

And I no longer remember why I added that error in the first
place (we need to determine perhaps the arch/OS but it is
difficult with those strings).

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

14 years ago2010-04-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Apr 2010 18:47:36 +0000 (18:47 -0000)]
2010-04-14  Atsushi Enomoto  <atsushi@ximian.com>

* XamlXmlWriter.cs : use TypeConverter to get string value to write.
  (TimeSpan shows the difference; the type's ValueSerializer is null,
  while TypeConverter is not, and gives the expected non-xsd output.)

* XamlXmlReaderTest.cs : add primitive TimeSpan reader test.

* TimeSpan.xml : new test file.

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

14 years ago2010-04-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Apr 2010 18:32:37 +0000 (18:32 -0000)]
2010-04-14  Atsushi Enomoto  <atsushi@ximian.com>

* XamlSchemaContext.cs, TypeExtensionMethods.cs : reimplement some
  GetXamlType() overloads. Protected one should be the actual
  implementation.

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

14 years agoimplement TypeExtensionConverter and several fixes around.
Atsushi Eno [Wed, 14 Apr 2010 17:59:26 +0000 (17:59 -0000)]
implement TypeExtensionConverter and several fixes around.

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

14 years ago2010-04-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 14 Apr 2010 16:43:36 +0000 (16:43 -0000)]
2010-04-13 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Regression test for #422113.

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

14 years ago2010-04-14 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 14 Apr 2010 16:38:53 +0000 (16:38 -0000)]
2010-04-14  Jb Evain  <jbevain@novell.com>

* MemoryMappedViewAccessor.cs
* MemoryMappedFile.cs
* MemoryMappedViewStream.cs:
Properly retrieve the size of the mmapped file. Fixes the
unit tests.

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

14 years ago2010-04-14 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 14 Apr 2010 16:38:40 +0000 (16:38 -0000)]
2010-04-14 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_InternalInvoke): Check if the vtable is
* sane
for instance methods/ctors.

Fixes #422113.

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

14 years ago2010-04-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Apr 2010 15:31:16 +0000 (15:31 -0000)]
2010-04-14  Atsushi Enomoto  <atsushi@ximian.com>

* XamlTypeName.cs : corcompare shows I was missing useful two.

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

14 years agocomment out debug output
Jb Evain [Wed, 14 Apr 2010 15:25:59 +0000 (15:25 -0000)]
comment out debug output

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

14 years ago2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 14 Apr 2010 14:17:29 +0000 (14:17 -0000)]
2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DeflateStream.cs: the delegate uses Cdecl calling convention on
windows too. Fixes bug #574713.

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

14 years agoimplemented XamlTypeName.
Atsushi Eno [Wed, 14 Apr 2010 13:59:22 +0000 (13:59 -0000)]
implemented XamlTypeName.

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

14 years ago2010-04-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 14 Apr 2010 13:36:53 +0000 (13:36 -0000)]
2010-04-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeViewTest.cs: New test for TreeViewNodeSorter used recursively.

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