mono.git
14 years agoAdd some code
Miguel de Icaza [Thu, 8 Apr 2010 05:04:00 +0000 (05:04 -0000)]
Add some code

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

14 years ago.gitignore
Zoltan Varga [Thu, 8 Apr 2010 04:41:44 +0000 (04:41 -0000)]
.gitignore

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

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

* Makefile : add 4.0 System.Xaml.

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

14 years ago2010-04-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 8 Apr 2010 03:18:19 +0000 (03:18 -0000)]
2010-04-07  Geoff Norton  <gnorton@novell.com>

        * domain.c: Avoid a deadlock on osx.  Fixes #565765

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

14 years agoinitial checkin.
Atsushi Eno [Thu, 8 Apr 2010 03:00:24 +0000 (03:00 -0000)]
initial checkin.

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

14 years ago2010-04-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Apr 2010 23:56:54 +0000 (23:56 -0000)]
2010-04-07 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_store_of_uint_to_int_array.il: Regression test
for #555950.

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

14 years ago2010-04-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Apr 2010 23:56:46 +0000 (23:56 -0000)]
2010-04-07 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_type_compatibility_full): Properly handle
stores between arrays of primitives.

Fixes the verifier side of #555950.

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

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

* DeflateStream.cs: always use Cdecl, since the library is compiled
using that calling convention in windows too.

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

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

* array.cs: Add tests for cast between primitive array types.

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

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

class.c (mono_bounded_array_class_get): Properly init
cast_class to take the fact that uint[] and int[] can be
casted between each other.

Fixes #555950.

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

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

* icall.c (ves_icall_System_Enum_ToObject): Avoid a crash for unfinished type
builders. Fixes #594464.

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

14 years ago.gitignore
Zoltan Varga [Wed, 7 Apr 2010 22:49:22 +0000 (22:49 -0000)]
.gitignore

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

14 years ago.gitignore
Zoltan Varga [Wed, 7 Apr 2010 22:49:16 +0000 (22:49 -0000)]
.gitignore

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

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

* exit-stress-threadpool.cs: New stress test.

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

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

* icall.c (ves_icall_System_Environment_Exit): Shutdown the threadpool before
waiting for all threads to suspend, as those threads can't be suspended.

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

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

* threads.c (mono_thread_suspend_all_other_threads): Call ensure_synch_cs_set ()
to avoid crashes on newly created threads.

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

14 years ago2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 7 Apr 2010 22:34:53 +0000 (22:34 -0000)]
2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>

* Enum.cs (GetInfo): Don't use isinst tests as they can
return true for both signed and unsigned version of a
primitive type.

* Enum.cs (FindPosition): Ditto.

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

14 years agoadd zlib functions
Gonzalo Paniagua Javier [Wed, 7 Apr 2010 22:20:36 +0000 (22:20 -0000)]
add zlib functions

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

14 years ago2010-04-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 7 Apr 2010 22:17:32 +0000 (22:17 -0000)]
2010-04-07  Miguel de Icaza  <miguel@novell.com>

*  BufferManager.cs: Implement the BufferManager.

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

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

* zlib-helper.c: now that we don't use Z_SYNC_FLUSH, there might be
unflushed input in zstream, so always call Z_FINISH.

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

14 years agoFix bug #594541
Ankit Jain [Wed, 7 Apr 2010 21:24:31 +0000 (21:24 -0000)]
Fix bug #594541
* Vbc.cs (LogEventsFromTextOutput): Override and correctly parse
output. Taken regex from monodevelop for this.

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

14 years ago* ToolTask.cs: Use regex to parse output. Regex is from monodevelop.
Ankit Jain [Wed, 7 Apr 2010 21:24:16 +0000 (21:24 -0000)]
* ToolTask.cs: Use regex to parse output. Regex is from monodevelop.

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

14 years ago* xbuild/Microsoft.VisualBasic.targets: Fix OutputAssembly
Ankit Jain [Wed, 7 Apr 2010 21:23:59 +0000 (21:23 -0000)]
* xbuild/Microsoft.VisualBasic.targets: Fix OutputAssembly
property for the Vbc task.

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

14 years ago* ToolTask.cs (ExecuteTool): Check that the tool exists.
Ankit Jain [Wed, 7 Apr 2010 21:23:40 +0000 (21:23 -0000)]
* ToolTask.cs (ExecuteTool): Check that the tool exists.

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

14 years agoFixed invalid exception message
Marek Habersack [Wed, 7 Apr 2010 20:12:58 +0000 (20:12 -0000)]
Fixed invalid exception message

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

14 years agoFix bug #594531.
Ankit Jain [Wed, 7 Apr 2010 19:38:16 +0000 (19:38 -0000)]
Fix bug #594531.
* xbuild/Microsoft.VisualBasic.targets: Set RootNamespace
property of Vbc task.

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

14 years ago* Vbc.cs (ValidateParameters): Always return true, dummy implementation.
Ankit Jain [Wed, 7 Apr 2010 19:38:00 +0000 (19:38 -0000)]
* Vbc.cs (ValidateParameters): Always return true, dummy implementation.

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

14 years agoFix bug #594526.
Ankit Jain [Wed, 7 Apr 2010 19:14:26 +0000 (19:14 -0000)]
Fix bug #594526.
* xbuild/Microsoft.VisualBasic.targets(CoreCompile): Fix Outputs
to use @(IntermediateAssembly) instead of $(IntermediateAssembly).
Patch suggested by Eli Bishop (eli@wavemarket.com).

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

14 years ago* Makefile.am: create a convenience library for moon to link with
Andreia Gaita [Wed, 7 Apr 2010 16:42:13 +0000 (16:42 -0000)]
* Makefile.am: create a convenience library for moon to link with

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

14 years agoAdd Mono.Debugger.Soft to MonkeyBuilder.
Jonathan Pobst [Wed, 7 Apr 2010 16:41:03 +0000 (16:41 -0000)]
Add Mono.Debugger.Soft to MonkeyBuilder.

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

14 years agoSortedSet: Enable set comparision operations on views, and improve performance
Raja R Harinath [Wed, 7 Apr 2010 16:31:25 +0000 (16:31 -0000)]
SortedSet: Enable set comparision operations on views, and improve performance

* RBTree.cs (Bound): New.  Returns the greatest lower bound and
least upper bound of the given key.
(GetSuffixEnumerator): New.  Returns an enumerator that starts at
the given key.
(NodeEnumerator): Provide suffix enumerator functionality.
* SortedSet.cs (GetEnumerator): Delegate to ...
(TryGetEnumerator): ... this.  New virtual function.
(Enumerator): Provide subset enumeration using RBTree's suffix enumerators.
(SortedSubSet.count): New.
(SortedSubSet.GetCount): Use it.
(SortedSubSet.TryAdd, SortedSubSet.TryRemove): Update count.
(SortedSubSet.GetMin, SortedSubSet.GetMax): Use RBTree.Bound().
(SortedSubSet.GetEnumerator): Remove.
(SortedSubSet.TryGetEnumerator): New.  Use ranged enumerators.
* SortedSetTest.cs: Update to test more view functionality,
including set comparison operators.

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

14 years ago2010-04-07 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 7 Apr 2010 15:05:50 +0000 (15:05 -0000)]
2010-04-07  Jb Evain  <jbevain@novell.com>

* main.c: don't overwrite method_name.

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

14 years ago2010-04-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Apr 2010 14:11:27 +0000 (14:11 -0000)]
2010-04-07  Sebastien Pouliot  <sebastien@ximian.com>

* ClientAccessPolicy.cs: Fake a "GET" method when applying a
policy to sockets

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

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

* EnumerableExecutor.cs: make ctor protected.

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

14 years ago2010-04-07 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 7 Apr 2010 13:50:35 +0000 (13:50 -0000)]
2010-04-07  Jb Evain  <jbevain@novell.com>

* EnumerableQuery_T.cs: implement.

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

14 years ago2010-04-07 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 7 Apr 2010 13:50:11 +0000 (13:50 -0000)]
2010-04-07  Jb Evain  <jbevain@novell.com>

* EnumerableQuery.cs: make ctor protected.

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

14 years ago2010-04-07 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 7 Apr 2010 13:32:15 +0000 (13:32 -0000)]
2010-04-07  Jb Evain  <jbevain@novell.com>

* Executor.cs: make class static.

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

14 years agoAdded the memoryCache section
Marek Habersack [Wed, 7 Apr 2010 13:17:52 +0000 (13:17 -0000)]
Added the memoryCache section

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

14 years ago2010-04-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Apr 2010 13:15:44 +0000 (13:15 -0000)]
2010-04-07  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDomainPolicy.cs: Abstract-fy IsAllowed(WebRequest) and
remove abstract IsAllowed(Uri,string[]) since it cannot provide
enough information for the client access policy.
* ClientAccessPolicy.cs: Replace IsAllowed(Uri,string[]) with
IsAllowed(WebRequest) and add logic for AllowAnyMethod
* ClientAccessPolicyParser.cs: Read "http-methods" attribute (new
in SL3) and set the new AllowAnyMethod property if the value is
"*" (the only legal value if the attribute is present).
* FlashCrossDomainPolicy.cs: Add IsAllowed(WebRequest) since it's
not part of BaseDomainPolicy anymore.

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

14 years ago2010-04-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 7 Apr 2010 13:14:11 +0000 (13:14 -0000)]
2010-04-07  Marek Habersack  <mhabersack@novell.com>

* Control.cs: control cache must be filled using the local
_controls collection instead of the virtual Controls
property. Fixes bug #594238
Check if _controls isn't null before using it.

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

* ControlTest.cs: added test for bug #594238

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

* Makefile: moved App_* test resources to separate variables -
whatever is contained in those variables is preprocessed before
embedding as resource to include appropriate resource name prefix
(App_Code/, App_GlobalResources/ for now). This is used in WebTest
to automatically populate the relevant directories when running
the test suite.

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

* WebTest.cs: introduced concept of prefixed resources and added
an API which handles them - CopyPrefixedResources. All the
manifest resource names are checked for match with the given
prefix, and all the matching ones are copied to the specified
subdirectory of the test directory.

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

14 years agoWIP: build fixes
Marek Habersack [Wed, 7 Apr 2010 13:14:02 +0000 (13:14 -0000)]
WIP: build fixes

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

14 years agoWIP: host file watching
Marek Habersack [Wed, 7 Apr 2010 13:13:54 +0000 (13:13 -0000)]
WIP: host file watching

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

14 years agoWIP: System.Runtime.Caching.Hosting added
Marek Habersack [Wed, 7 Apr 2010 13:13:46 +0000 (13:13 -0000)]
WIP: System.Runtime.Caching.Hosting added

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

14 years agoSystem.Runtime.Caching.Configuration stuff implemented
Marek Habersack [Wed, 7 Apr 2010 13:13:38 +0000 (13:13 -0000)]
System.Runtime.Caching.Configuration stuff implemented

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

14 years agoAll System.Runtime.Caching namespace classes added + partial implementation
Marek Habersack [Wed, 7 Apr 2010 13:13:30 +0000 (13:13 -0000)]
All System.Runtime.Caching namespace classes added + partial implementation

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

14 years agoChangeMonitor implemented
Marek Habersack [Wed, 7 Apr 2010 13:13:22 +0000 (13:13 -0000)]
ChangeMonitor implemented

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

14 years agoBeginnings of System.Runtime.Caching
Marek Habersack [Wed, 7 Apr 2010 13:13:03 +0000 (13:13 -0000)]
Beginnings of System.Runtime.Caching

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

14 years agonet_4_0 bug
Jb Evain [Wed, 7 Apr 2010 13:09:10 +0000 (13:09 -0000)]
net_4_0 bug

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

14 years agothis one has been passing for quite a while now
Jb Evain [Wed, 7 Apr 2010 12:56:40 +0000 (12:56 -0000)]
this one has been passing for quite a while now

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

14 years agonet_4_0 change
Jb Evain [Wed, 7 Apr 2010 12:48:00 +0000 (12:48 -0000)]
net_4_0 change

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

14 years agodo not assert on ToString result
Jb Evain [Wed, 7 Apr 2010 12:41:44 +0000 (12:41 -0000)]
do not assert on ToString result

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

14 years agoadd bug info
Jb Evain [Wed, 7 Apr 2010 12:41:27 +0000 (12:41 -0000)]
add bug info

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

14 years agooverflow bug has been fixed in net_4_0
Jb Evain [Wed, 7 Apr 2010 12:41:09 +0000 (12:41 -0000)]
overflow bug has been fixed in net_4_0

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

14 years agoquote only work on lambda on net_4_0
Jb Evain [Wed, 7 Apr 2010 12:40:49 +0000 (12:40 -0000)]
quote only work on lambda on net_4_0

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

14 years agodlr bug
Jb Evain [Wed, 7 Apr 2010 12:31:31 +0000 (12:31 -0000)]
dlr bug

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

14 years ago2010-04-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Apr 2010 10:59:53 +0000 (10:59 -0000)]
2010-04-07  Zoltan Varga  <vargaz@gmail.com>

* interlocked-2.2.cs: Add an Interlocked.CompareExchange(long) test.

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 7 Apr 2010 10:59:01 +0000 (10:59 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* ConsoleLogger.cs: Dump items and properties when a project starts
to build. Useful for debugging.
* Engine.cs (LogProjectStarted): Set the properties and items also,
for the project started event.
* Project.cs (EvaluatedPropertiesAsDictionaryEntries): New.
(EvaluatedItemsByNameAsDictionaryEntries): New. Required for
ProjectStartedEvent .

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* MSBuild.cs: Emit global properties, if any. Sort the property
list.

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

14 years ago* SolutionParser.cs: Identify and emit warning for a
Ankit Jain [Wed, 7 Apr 2010 10:58:14 +0000 (10:58 -0000)]
* SolutionParser.cs: Identify and emit warning for a
common problem on some installations of windows.

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

14 years agomonolinker.1: Fix typo.
Andrés G. Aragoneses [Wed, 7 Apr 2010 10:11:25 +0000 (10:11 -0000)]
monolinker.1: Fix typo.

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

14 years ago* runtime/Makefile.am ($(tmpinst)/bin/dmcs): Add.
Raja R Harinath [Wed, 7 Apr 2010 09:40:09 +0000 (09:40 -0000)]
* runtime/Makefile.am ($(tmpinst)/bin/dmcs): Add.

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

14 years agobuild/library.make: Re-arrange slightly
Raja R Harinath [Wed, 7 Apr 2010 09:38:55 +0000 (09:38 -0000)]
build/library.make: Re-arrange slightly

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

14 years agobuild/gensources.sh: Remove some temp files
Raja R Harinath [Wed, 7 Apr 2010 09:38:26 +0000 (09:38 -0000)]
build/gensources.sh: Remove some temp files

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

14 years agoWed Apr 7 11:28:42 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Apr 2010 09:29:58 +0000 (09:29 -0000)]
Wed Apr 7 11:28:42 CEST 2010 Paolo Molaro <lupus@ximian.com>

* method-to-ir.c: optimize array accesses from generic interfaces.

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

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

* WSSecurityMessageHeader.cs : add FIXME comment.

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

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

* TlsServerCertificate.cs: display the error code.

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

14 years agoGreatly speed up gensources.sh and improve dependency handling
Raja R Harinath [Wed, 7 Apr 2010 07:07:15 +0000 (07:07 -0000)]
Greatly speed up gensources.sh and improve dependency handling

* build/Makefile (DISTFILES): Add gensources.sh.
* build/gensources.sh: New, improved version of tools/gensources.sh.
* build/library.make ($(sourcefile)): Use the new gensources.sh.
($(makefrag)): Update to handle the optional makefrag generated by
gensources.sh.
* tools/Makefile (DISTFILES): Remove gensources.sh.
* tools/gensources.sh: Remove.

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

14 years ago2010-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 7 Apr 2010 05:51:47 +0000 (05:51 -0000)]
2010-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

* file-io.c: reset the MonoIOStat structure in case of error.
Fixes bug #582667.

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

14 years ago2010-04-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 6 Apr 2010 23:53:13 +0000 (23:53 -0000)]
2010-04-07  Marek Habersack  <mhabersack@novell.com>

* FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
QueryStringParameter.cs, SessionParameter.cs: implemented
constructor overloads which take DbType as one of the arguments.

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

14 years ago2010-04-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Apr 2010 23:11:37 +0000 (23:11 -0000)]
2010-04-06 Rodrigo Kumpera  <rkumpera@novell.com>

* bug-575941.cs: New regression test.

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

14 years ago2010-04-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Apr 2010 22:59:51 +0000 (22:59 -0000)]
2010-04-06 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (print_implemented_interfaces): Print proper type name.

* class.c (mono_class_setup_vtable): Don't try that hard to produce
the override map for generic instances since it later ignored.

* class.c (mono_class_implement_interface_slow): Don't break for
dynamic generic instances.

* object.c (mono_runtime_invoke_array): Add an assert for allocation.

* reflection.c (mono_reflection_method_get_handle): New method that
resolves a method handle.

* reflection.c (mono_reflection_get_dynamic_overrides): Handle the
case when we override methods from a dynamic generic instance interface.

Fixes #575941.

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

14 years ago2010-04-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 6 Apr 2010 21:49:12 +0000 (21:49 -0000)]
2010-04-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Update after the memset/memcpy intrinsics changes in LLVM SVN.

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

14 years ago2010-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2010 17:45:06 +0000 (17:45 -0000)]
2010-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* ClientAccessPolicyParser.cs: Don't forget "http-request-headers"
as a valid attribute

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

14 years agofix bootstrap
Jb Evain [Tue, 6 Apr 2010 17:44:29 +0000 (17:44 -0000)]
fix bootstrap

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

14 years ago2010-04-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 6 Apr 2010 16:47:18 +0000 (16:47 -0000)]
2010-04-06  Miguel de Icaza  <miguel@novell.com>

* main.c: Prevent a crash with broken assemblies.

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

14 years agoAdd IInvokeOnGetBinder.cs
Marek Safar [Tue, 6 Apr 2010 16:24:05 +0000 (16:24 -0000)]
Add IInvokeOnGetBinder.cs

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

14 years ago2010-04-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 6 Apr 2010 16:23:25 +0000 (16:23 -0000)]
2010-04-06  Marek Safar  <marek.safar@gmail.com>

* Updated to r46640.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 16:19:48 +0000 (16:19 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* corlib.dll.sources: add System.Threading.SemaphoreFullException
from System in net_4_0.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 16:19:21 +0000 (16:19 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* SemaphoreFullException.cs: moved to corlib in net_4_0.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 16:18:27 +0000 (16:18 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* Consts.cs.in: define Assembly_System_2_0 for TypeForwardedFrom
attributes in NET_4_0.

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

14 years ago2010-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2010 15:57:19 +0000 (15:57 -0000)]
2010-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* ClientAccessPolicyParser.cs: Catch extra attributes that
leads to an invalid (no-access) policy. Fix parts of DRT#666
* CrossDomainPolicyManager.cs: Ignore policies sent with a
Content-Type different than "text/*". Fix DRT#667
* FlashCrossDomainPolicyParser.cs: Catch extra attributes and
the case where a second policy is present (invalid xml). Fix
parts of DRT#666

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

14 years agofix ET tests for 4.0
Jb Evain [Tue, 6 Apr 2010 15:45:31 +0000 (15:45 -0000)]
fix ET tests for 4.0

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

14 years agofix ET tests for 4.0
Jb Evain [Tue, 6 Apr 2010 15:38:58 +0000 (15:38 -0000)]
fix ET tests for 4.0

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

14 years ago* docs/Makefile.am: fix distcheck - several targets get built on the
Andreia Gaita [Tue, 6 Apr 2010 15:34:57 +0000 (15:34 -0000)]
* docs/Makefile.am: fix distcheck - several targets get built on the
srcdir, which has no write permissions on make distcheck, so make
sure permissions are set

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

14 years ago* configure.in: add --with-mcs-path option to specify where the mcs
Andreia Gaita [Tue, 6 Apr 2010 15:34:54 +0000 (15:34 -0000)]
* configure.in: add --with-mcs-path option to specify where the mcs
source can be found, if not on ./mcs or ../mcs
only touch the mcs and/or olive dirs and config files if we're
actually building them

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

14 years ago2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 6 Apr 2010 15:27:09 +0000 (15:27 -0000)]
2009-04-06 Rodrigo Kumpera  <rkumpera@novell.com>

* wthreads.c (TlsSetValue): Don't take locks here. We trust
* pthread_setspecific
return value to tell if we tried to store to an invalid slot.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 15:18:55 +0000 (15:18 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* QueryableEnumerable.cs: make TransformQueryable work on net_4_0.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 15:18:30 +0000 (15:18 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* net_4_0_System.Core.dll.sources: add files to support ToQueryable.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 15:17:55 +0000 (15:17 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* QueryableTransformer.cs: use factory method that work for all
ET implementations.

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

14 years ago2010-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 6 Apr 2010 14:57:12 +0000 (14:57 -0000)]
2010-04-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpanTest.cs: Augment our ParseExactCustomFormats test - still
marked as NotWorking for now, but committing now in order to have the
tests ready.

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

14 years agoadd ExcludeFromCodeCoverageAttribute
Jb Evain [Tue, 6 Apr 2010 14:56:10 +0000 (14:56 -0000)]
add ExcludeFromCodeCoverageAttribute

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

14 years agoremove debug writelines
Jb Evain [Tue, 6 Apr 2010 14:42:08 +0000 (14:42 -0000)]
remove debug writelines

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

14 years agomove FrameworkName from corlib to System
Jb Evain [Tue, 6 Apr 2010 14:31:59 +0000 (14:31 -0000)]
move FrameworkName from corlib to System

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

14 years agoAdd System.Core reference to Microsoft.Build.Engine. Fix msvc build.
Jonathan Pobst [Tue, 6 Apr 2010 14:30:22 +0000 (14:30 -0000)]
Add System.Core reference to Microsoft.Build.Engine.  Fix msvc build.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 12:49:51 +0000 (12:49 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* Debug.cs: make class static.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 12:48:27 +0000 (12:48 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* Debug.cs (Assert, WriteLine): add net_4_0 overloads.

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

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

* SortedSetTest.cs: add test for SortedSubSet.Count.

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

14 years ago2010-04-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Apr 2010 12:39:06 +0000 (12:39 -0000)]
2010-04-06  Jb Evain  <jbevain@novell.com>

* SortedSet.cs: implement Count for SortedSubSet.

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

14 years agoFix make dist
Ankit Jain [Tue, 6 Apr 2010 11:48:25 +0000 (11:48 -0000)]
Fix make dist

In class/Microsoft.Build.Engine:

* Makefile (EXTRA_DISTFILES): Remove TestTasks.dll.config .

In tools/xbuild:

* Makefile: Add xbuild_targets.make .

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

14 years ago2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Apr 2010 11:13:49 +0000 (11:13 -0000)]
2010-04-06  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestChannel.cs : add commented note.

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

14 years agoProperties cleanup.
Marek Safar [Tue, 6 Apr 2010 10:00:48 +0000 (10:00 -0000)]
Properties cleanup.

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