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
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
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
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
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
Marek Safar [Tue, 6 Apr 2010 10:00:48 +0000 (10:00 -0000)]
Properties cleanup.
svn path=/trunk/mcs/; revision=154837
Marek Safar [Tue, 6 Apr 2010 10:00:14 +0000 (10:00 -0000)]
properties cleanup.
svn path=/trunk/mcs/; revision=154836
Ankit Jain [Tue, 6 Apr 2010 09:57:58 +0000 (09:57 -0000)]
Add support for ToolsVersion and correctly build msbuild+xbuild assemblies
for 3.5 and 4.0 profiles.
2010-04-03 Ankit Jain <jankit@novell.com>
* Makefile: Process tools/xbuild for 3.5 also.
In class/Microsoft.Build.Engine:
2010-04-03 Ankit Jain <jankit@novell.com>
* Makefile: Use the correct assembly name for MS.Build.Utilities*
for 3.5 and 4.0 profiles. Copy the .config files for the test
assembly.
Import tools/xbuild/xbuild_targets.make, which copies the target
and tasks file in the correct place, to allow running tests
with different toolsversion.
* Microsoft.Build.Engine.dll.sources: Add LogExtensions.cs,
Toolset.cs, ToolsetDefinitionLocations.cs and ToolsetCollection.cs .
* Test/test-config-file-net-3.5: New.
* Test/test-config-file-net-4.0: New.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2010-04-03 Ankit Jain <jankit@novell.com>
* BuildEngine.cs: Implement IBuildEngine2 instead of
IBuildEngine.
* BuildTasks.cs: Use the new extension methods for logging.
(InitializeTask): Emit a message informing about the assembly
from which the task is being loaded. Emit a useful debug message
incase of a InvalidCastException.
* Engine.cs: Add missing methods, constructors and properties related
to ToolsVersion support. Setup a default set of Toolsets.
Keep separate taskdbs' per ToolsVersion. The common tasks
would come from different *.tasks file, and use different
task assemblies.
(DefaultToolsVersion): Correctly set this based on the profile.
* LogExtensions.cs: New. Extension methods on Engine, for logging.
* Project.cs: Add missing methods/contructors/properties related
to ToolsVersion support. Add reserved properties -
MSBuildToolsPath and MSBuildToolsVersion .
* Toolset.cs: New.
* ToolsetCollection.cs: New.
* ToolsetDefinitionLocations.cs: New.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2010-04-06 Ankit Jain <jankit@novell.com>
* Consts.cs (ToolsVersionString): New.
(GetTasksAsmPath): New.
* EngineTest.cs: Use the direct path to the tasks assembly
in the UsingTasks.
* ProjectTest.cs: Set ToolsVersion to the current profile.
In class/Microsoft.Build.Framework:
2010-04-03 Ankit Jain <jankit@novell.com>
* Makefile: Import tools/xbuild/xbuild_targets.make, which copies
the target and tasks file in the correct place, to allow running
tests with different toolsversion.
* Microsoft.Build.Framework.dll.sources: Add IBuildEngine2.cs .
In class/Microsoft.Build.Framework/Microsoft.Build.Framework:
2010-04-03 Ankit Jain <jankit@novell.com>
* IBuildEngine2.cs: New.
In class/Microsoft.Build.Tasks:
2010-04-03 Ankit Jain <jankit@novell.com>
* Makefile: Import tools/xbuild/xbuild_targets.make, which copies
the target and tasks file in the correct place, to allow running
tests with different toolsversion. Copy the config file for the
test assembly. Clean the generated test.dll .
Use the correct target assembly name for 4.0 profile
(ms.build.tasks.v4.0.dll), and for Utilities assembly.
* Microsoft.Build.Tasks_test.dll.sources: Use Consts.cs from Engine
instead of maintaining a copy here.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2010-04-03 Ankit Jain <jankit@novell.com>
* Csc.cs: Use dmcs as the compiler for 4.0 profile.
* MSBuild.cs (ToolsVersion): New.
Use toolsVersion for building.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
2010-04-06 Ankit Jain <jankit@novell.com>
* Consts.cs: Remove.
* AssignProjectConfigurationTest.cs:
* CreateCSharpManifestResourceNameTest.cs:
* CreateVisualBasicManifestResourceNameTest.cs:
* CreateItemTest.cs:
* FindAppConfigFileTest.cs:
* RemoveDuplicatesTest.cs:
* TaskBatchingTest.cs:
* WriteLinesToFileTest.cs:
Set the ToolsVersion to match the profile. Use the
full path to the tasks assembly for UsingTasks.
In class/Microsoft.Build.Utilities:
2010-04-03 Ankit Jain <jankit@novell.com>
* Makefile: Import tools/xbuild/xbuild_targets.make, which copies
the target and tasks file in the correct place, to allow running
tests with different toolsversion.
Use the correct target assembly name for 4.0 profile.
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2010-04-03 Ankit Jain <jankit@novell.com>
* TargetDotNetFrameworkVersion.cs: Add Version40 .
* Task.cs (BuildEngine2): New.
* ToolLocationHelper.cs: Use class/linet_* as the path
for the assemblies and targets when running tests.
Environment variable TESTING_MONO is set for testing.
This allows a 4.0 xbuild to build 2.0/3.5 projects.
In tools:
2010-04-03 Ankit Jain <jankit@novell.com>
* Makefile: Move xbuild from net_4_0_dirs to per_profile_dirs.
In tools/xbuild:
2010-04-03 Ankit Jain <jankit@novell.com>
* Main.cs (Execute): If toolsversion is specified on the command line,
then use that.
* Parameters.cs: Read toolsversion from the command line ('/tv:..') .
* SolutionParser.cs: Infer ToolsVersion from the sln version.
Set ToolsVersion property of the MSBuild tasks, in the generated
.sln.proj file, for building the projects.
* xbuild/Microsoft.Common.tasks: Move to ..
* xbuild/2.0/Microsoft.Common.tasks: .. here.
* xbuild/3.5/Microsoft.Common.tasks: New.
* xbuild/4.0/Microsoft.Common.tasks: New.
Use the corresponding 3.5/4.0 tasks assembly.
* xbuild_targets.make: Copies the target and tasks file in the correct
place, to allow running tests with different toolsversion.
* Makefile: Import xbuild_targets.make . Use correct assembly names for
Utilities assembly, for 3.5/4.0 profiles.
Install the correct Microsoft.Common.tasks file for the profile.
Copy xbuild.exe to class/li$(PROFILE), so that it can find other
profile dirs as relative path.
(EXTRA_DISTFILES): Add the new Microsoft.Common.tasks files.
svn path=/trunk/mcs/; revision=154835
Marek Safar [Tue, 6 Apr 2010 09:55:46 +0000 (09:55 -0000)]
2010-04-06 Marek Safar <marek.safar@gmail.com>
* Array.cs: Don't make read-only collection read-only.
svn path=/trunk/mcs/; revision=154834
Marek Safar [Tue, 6 Apr 2010 09:47:13 +0000 (09:47 -0000)]
2010-04-06 Marek Safar <marek.safar@gmail.com>
* ModuleBuilder.cs: Use Dictionary.
svn path=/trunk/mcs/; revision=154833
Marek Safar [Tue, 6 Apr 2010 09:43:26 +0000 (09:43 -0000)]
property cleanup
svn path=/trunk/mcs/; revision=154831
Marek Safar [Tue, 6 Apr 2010 09:42:55 +0000 (09:42 -0000)]
2010-04-06 Marek Safar <marek.safar@gmail.com>
* FileLevelControlBuilderAttribute.cs: Use reference comparison.
svn path=/trunk/mcs/; revision=154830
Atsushi Eno [Tue, 6 Apr 2010 08:46:42 +0000 (08:46 -0000)]
2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : fill To header only if it does not exist.
svn path=/trunk/mcs/; revision=154826
Atsushi Eno [Tue, 6 Apr 2010 07:08:23 +0000 (07:08 -0000)]
2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : set ReplyTo and To, do not add.
svn path=/trunk/mcs/; revision=154825
Atsushi Eno [Tue, 6 Apr 2010 06:55:35 +0000 (06:55 -0000)]
2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : use matching addressing version.
Remove header item if the same ones already exist.
svn path=/trunk/mcs/; revision=154824
Gonzalo Paniagua Javier [Tue, 6 Apr 2010 05:01:51 +0000 (05:01 -0000)]
2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpRequestChannel.cs: don't create the wait handle unless it is
really needed.
svn path=/trunk/mcs/; revision=154822
Gonzalo Paniagua Javier [Tue, 6 Apr 2010 02:36:37 +0000 (02:36 -0000)]
2010-04-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: don't attempt to close the pipe when it has not been
created.
svn path=/trunk/mono/; revision=154820
Gonzalo Paniagua Javier [Mon, 5 Apr 2010 21:45:01 +0000 (21:45 -0000)]
by now, this code is only used by epoll
svn path=/trunk/mono/; revision=154812
Gonzalo Paniagua Javier [Mon, 5 Apr 2010 21:30:23 +0000 (21:30 -0000)]
2010-04-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: if there are no waiting threads, try to start a new
one. This fixes the not-so-random hangs in System.ServiceModel tests.
No need to use InterlockedCompareExchange to read volatile variables.
svn path=/trunk/mono/; revision=154811
Rodrigo Kumpera [Mon, 5 Apr 2010 21:02:00 +0000 (21:02 -0000)]
2010-04-05 Rodrigo Kumpera <rkumpera@novell.com>
* bug-515884.il: New regression test.
svn path=/trunk/mono/; revision=154808
Rodrigo Kumpera [Mon, 5 Apr 2010 21:01:52 +0000 (21:01 -0000)]
2010-04-05 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_method_to_ir): Handle call to virtual
* final methods
of marshalbyref classes.
Fixes #515884.
svn path=/trunk/mono/; revision=154807
Zoltan Varga [Mon, 5 Apr 2010 20:47:58 +0000 (20:47 -0000)]
2010-04-05 Zoltan Varga <vargaz@gmail.com>
* defs.h: Quiet warnings which might bother rpm.
svn path=/trunk/mcs/; revision=154805
Rodrigo Kumpera [Mon, 5 Apr 2010 18:23:23 +0000 (18:23 -0000)]
2010-04-05 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_type_compatibility_full): Fail mixed
* valuetype
and reference types that point to the same class.
Fixes #565598.
svn path=/trunk/mono/; revision=154801
Rodrigo Kumpera [Mon, 5 Apr 2010 16:52:03 +0000 (16:52 -0000)]
2010-04-05 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_ginst_dont_reduce_to_gparam_with_constraint.il:
* Regression test
for #587849.
svn path=/trunk/mono/; revision=154799
Rodrigo Kumpera [Mon, 5 Apr 2010 16:51:55 +0000 (16:51 -0000)]
2010-04-05 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_stack_type_compatibility_full): Ignore
* constraints
when verifying compatibility between a generic instance and a
generic
parameter.
* verify.c (check_is_valid_type_for_field_ops): Improve error
* message.
* verify.c (stack_slot_stack_type_full_name): Improve
* verification type
name.
Fixes #587849.
svn path=/trunk/mono/; revision=154798
Rodrigo Kumpera [Mon, 5 Apr 2010 15:39:52 +0000 (15:39 -0000)]
2010-04-05 Rodrigo Kumpera <rkumpera@novell.com>
* aot-compiler.c (emit_exception_debug_info): Encode try holes
information.
* aot-runtime.c (decode_exception_debug_info): Decode try holes
information.
* mini.h: Increase AOT version.
svn path=/trunk/mono/; revision=154797
Sebastien Pouliot [Mon, 5 Apr 2010 12:55:54 +0000 (12:55 -0000)]
In .:
2010-04-05 Sebastien Pouliot <sebastien@ximian.com>
* moonlight_raw_System.Net.dll.sources: Move InternalWebRequest
StreamWrapper.cs back to System.Windows.dll
In System.Net:
2010-04-05 Sebastien Pouliot <sebastien@ximian.com>
* InternalWebResponseStreamWrapper.cs: Move back to
System.Windows.dll
svn path=/trunk/mcs/; revision=154790
Raja R Harinath [Mon, 5 Apr 2010 10:56:23 +0000 (10:56 -0000)]
Take advantage of set properties, C# default parameters and C# named parameters to make tests less verbose
svn path=/trunk/mcs/; revision=154789
Raja R Harinath [Mon, 5 Apr 2010 09:59:41 +0000 (09:59 -0000)]
SortedSet: Complete implementation of more methods
* SortedSet.cs (IsProperSubsetOf, IsSubsetOf): Implement using ...
(is_subset_of): ... new helper.
(IsProperSupersetOf, IsSupersetOf): Implement using ...
(is_superset_of): ... new helper.
(covers, nodups, overlaps): New helpers.
(SetEquals): Implement.
(Overlaps): Implement using overlaps().
(SymmetricExceptWith): Use nodups() helper.
svn path=/trunk/mcs/; revision=154788
Atsushi Eno [Mon, 5 Apr 2010 09:11:12 +0000 (09:11 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* EndpointAddressMessageFilter.cs : check null arg. Return false for
no To header case and do not result in NRE.f
* EndpointAddressMessageFilterTest.cs :
Add null arg case. Enable working test.
svn path=/trunk/mcs/; revision=154787
Atsushi Eno [Mon, 5 Apr 2010 08:56:43 +0000 (08:56 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* WsdlExporterTest.cs : fixed and enabled some working tests.
svn path=/trunk/mcs/; revision=154786
Atsushi Eno [Mon, 5 Apr 2010 08:55:53 +0000 (08:55 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* DataContractExporter-new.cs : do not expect contract attribute on
dictionary map. Non-contract type also uses this.
svn path=/trunk/mcs/; revision=154785
Atsushi Eno [Mon, 5 Apr 2010 08:41:32 +0000 (08:41 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.XsdExporter.cs, DataContractExporter-new.cs :
handle schema export for SharedTypeMap.
svn path=/trunk/mcs/; revision=154784
Atsushi Eno [Mon, 5 Apr 2010 08:22:02 +0000 (08:22 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* KnownTypeCollection.cs, SerializationMap.cs : split SharedTypeMap
.ctor() and initialization. Fixed infinite loop for some
[Serializable] types (such as Assembly).
svn path=/trunk/mcs/; revision=154783
Atsushi Eno [Mon, 5 Apr 2010 07:48:01 +0000 (07:48 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* DispatchRuntimeTest.cs : enabled working tests again.
svn path=/trunk/mcs/; revision=154782
Atsushi Eno [Mon, 5 Apr 2010 07:45:21 +0000 (07:45 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* BaseMessagesFormatter.cs : hasParameter check is incorrectly
restrictive to reject some kinds of pairs.
* CustomPeerResolverServiceTest.cs : enabled all disabled tests.
svn path=/trunk/mcs/; revision=154781
Atsushi Eno [Mon, 5 Apr 2010 05:57:39 +0000 (05:57 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* DataContractJsonSerializerTest.cs : don't use ToUniversalTime()
which makes test results timezone dependent.
svn path=/trunk/mcs/; revision=154780
Atsushi Eno [Mon, 5 Apr 2010 05:10:02 +0000 (05:10 -0000)]
2010-04-05 Atsushi Enomoto <atsushi@ximian.com>
* BaseAddressPrefixFilterElementCollection.cs
BaseAddressPrefixFilterElement.cs : new classes.
* ReliableSessionElement.cs
XmlDictionaryReaderQuotasElement.cs
TextMessageEncodingElement.cs
HostTimeoutsElement.cs
BaseAddressElementCollection.cs
BasicHttpBindingElement.cs
BindingElementExtensionElement.cs
StandardBindingElement.cs
BinaryMessageEncodingElement.cs : added couple of missing stuff.
* ChannelTerminatedException.cs : new class.
* System.ServiceModel.dll.sources : add some new config types and
ChannelTerminatedException.cs.
svn path=/trunk/mcs/; revision=154779
Andreas Färber [Mon, 5 Apr 2010 01:50:56 +0000 (01:50 -0000)]
mini: Disable soft debugger when not using sigaction
The x86 soft debugger depends on siginfo_t outside Windows. So if we're
neither building for Windows nor using SA_SIGINFO-style signal handlers,
don't enable the soft debugger. Fixes the build on Haiku.
So soft it might break
Be Open for Berkeley
But not for poets
-- Andreas F.
* mini-x86.h: Only enable soft debugger when using sigaction or on
Windows. Fixes build on Haiku (lacks siginfo_t).
v2 -> v3:
* Enable the soft debugger for Windows as well (uses different code path).
Pointed out by Zoltan Varga.
v1 -> v2:
* Instead of disabling siginfo_t code inside the soft debugger,
disable the soft debugger itself.
This commit is licensed under the MIT X11 license;
the Haiku poem is licensed under the CC Attribution 3.0 license.
svn path=/trunk/mono/; revision=154778
Zoltan Varga [Sun, 4 Apr 2010 22:04:34 +0000 (22:04 -0000)]
2010-04-05 Zoltan Varga <vargaz@gmail.com>
* configure.in: Append -lgc to libmono_ldflags if using an external libgc.
svn path=/trunk/mono/; revision=154775
Carlos Alberto Cortez [Sun, 4 Apr 2010 21:57:03 +0000 (21:57 -0000)]
2010-04-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolTip.cs: Make TipState internal.
* ToolStrip.cs: Use the same idea of ToolTip'state to have our
internal timer close the tooltip window after a delay, instead of
waiting for the mouse to move to a different item. Also, hide the
tooltip window when the handle is destroyed, and also when the control
is getting hidden.
Fixes #581273.
svn path=/trunk/mcs/; revision=154774
Zoltan Varga [Sun, 4 Apr 2010 21:00:35 +0000 (21:00 -0000)]
Fix indentation.
svn path=/trunk/mono/; revision=154772
Zoltan Varga [Sun, 4 Apr 2010 19:32:19 +0000 (19:32 -0000)]
2010-04-04 Zoltan Varga <vargaz@gmail.com>
* processes.c: Applied more openbsd changes from Robert Nagy <robert@openbsd.org>.
svn path=/trunk/mono/; revision=154770
Raja R Harinath [Sun, 4 Apr 2010 18:22:37 +0000 (18:22 -0000)]
SortedSet: implement IntersectWith, UnionWith, ExceptWith and SymmetricExceptWith
* System.Collections.Generic/SortedSet.cs (CheckArgumentNotNull): New helper.
(IntersectWith, UnionWith): Implement.
(ExceptWith, SymmetricExceptWith): Likewise.
(SortedSubSet.IntersectWith): Implement override.
* Test/System.Collections.Generic/SortedSetTest.cs: Add tests for IntersectWith,
UnionWith, ExceptWith and SymmetricExceptWith.
svn path=/trunk/mcs/; revision=154769
Mark Probst [Sun, 4 Apr 2010 17:19:09 +0000 (17:19 -0000)]
2010-04-04 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Remove superfluous scanning of alloc-pinned objects.
svn path=/trunk/mono/; revision=154768
Andreas Färber [Sun, 4 Apr 2010 13:33:02 +0000 (13:33 -0000)]
configure: Set default for moonlight
Make configure display "Moon Profile: no".
* configure.in: Set default for with_moonlight to fix
"Moon Profile:" output.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=154765
Andreas Färber [Sun, 4 Apr 2010 13:28:54 +0000 (13:28 -0000)]
configure: Fix typo
It's "initializer".
* configure.in: Fix typo.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=154764
Raja R Harinath [Sun, 4 Apr 2010 05:25:53 +0000 (05:25 -0000)]
* RBTree.cs (do_remove): Ensure the node returned is suitable for re-insertion.
svn path=/trunk/mcs/; revision=154762
Raja R Harinath [Sun, 4 Apr 2010 05:25:33 +0000 (05:25 -0000)]
Update known-issues-dmcs for real, this time
svn path=/trunk/mcs/; revision=154761
Zoltan Varga [Sun, 4 Apr 2010 04:07:02 +0000 (04:07 -0000)]
2010-04-03 Zoltan Varga <vargaz@gmail.com>
* processes.c: Applied more openbsd changes from Robert Nagy <robert@openbsd.org>.
svn path=/trunk/mono/; revision=154759
Zoltan Varga [Sun, 4 Apr 2010 04:04:57 +0000 (04:04 -0000)]
2010-04-04 Zoltan Varga <vargaz@gmail.com>
* threads.c Applied some openbsd changes from Robert Nagy <robert@openbsd.org>.
svn path=/trunk/mono/; revision=154757
Jb Evain [Sat, 3 Apr 2010 14:28:19 +0000 (14:28 -0000)]
2010-04-03 Jb Evain <jbevain@novell.com>
* Makefile: System.Data.Services is a .net 3.5 assembly.
svn path=/trunk/mcs/; revision=154754
Zoltan Varga [Sat, 3 Apr 2010 07:47:14 +0000 (07:47 -0000)]
2010-04-03 Zoltan Varga <vargaz@gmail.com>
* configure.in: Applied some openbsd changes from Robert Nagy
<robert@openbsd.org>.
svn path=/trunk/mono/; revision=154752
Marek Habersack [Sat, 3 Apr 2010 00:40:48 +0000 (00:40 -0000)]
More cosmetics
svn path=/trunk/mcs/; revision=154749
Zoltan Varga [Sat, 3 Apr 2010 00:35:45 +0000 (00:35 -0000)]
2010-04-03 Zoltan Varga <vargaz@gmail.com>
* processes.c: Applied some openbsd changes from Robert Nagy <robert@openbsd.org>.
svn path=/trunk/mono/; revision=154747
Marek Habersack [Sat, 3 Apr 2010 00:25:13 +0000 (00:25 -0000)]
Removed another batch of pre 2.0 code + some cosmetics
svn path=/trunk/mcs/; revision=154746
Marek Habersack [Sat, 3 Apr 2010 00:24:42 +0000 (00:24 -0000)]
Fixed two broken tests
svn path=/trunk/mcs/; revision=154745
Marek Habersack [Fri, 2 Apr 2010 22:40:35 +0000 (22:40 -0000)]
Introduced the MINGW_CROSS_COMPILE macro when cross-compiling with mingw
svn path=/trunk/mono/; revision=154744
Marek Habersack [Fri, 2 Apr 2010 22:09:22 +0000 (22:09 -0000)]
2010-04-03 Marek Habersack <mhabersack@novell.com>
* configure.in: TARGET_WIN32 is defined when cross-compiling with
MinGW
* build-mingw32.sh: include the 4.0 profile in the zip.
Remove cross-compilation environment bin path from PATH before
compiling native Mono.
Remove autotools cache directory before each compilation phase.
2010-04-03 Marek Habersack <mhabersack@novell.com>
* process.c: when compiling with MinGW, force GetProcessId lookup
using GetProcessAddress.
svn path=/trunk/mono/; revision=154743
Miguel de Icaza [Fri, 2 Apr 2010 21:49:40 +0000 (21:49 -0000)]
2010-04-02 Miguel de Icaza <miguel@novell.com>
* SafeHandle.cs: Use refcount == -1 to indicate that the handle
had been closed.
The problem here is that we have no records of why the code that
threw a ObjectDisposedException inside the do { } while block on
DangerousAddRef was added. It seems it was added in response to
Close() methods being called and the need to throw that exception
on further calls to ObjectDisposedException.
Sadly, we have no test suites for that.
svn path=/trunk/mcs/; revision=154741
Gonzalo Paniagua Javier [Fri, 2 Apr 2010 20:34:15 +0000 (20:34 -0000)]
fix bug number
svn path=/trunk/mono/; revision=154739
Mark Probst [Fri, 2 Apr 2010 20:03:40 +0000 (20:03 -0000)]
2010-04-02 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: parse_environment_string_extract_number() must be
static.
svn path=/trunk/mono/; revision=154738
Mark Probst [Fri, 2 Apr 2010 20:02:51 +0000 (20:02 -0000)]
2010-04-02 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c, sgen-gray.c: Macros for gray_object_enqueue() and
gray_object_dequeue(), to make sure they're inlined.
svn path=/trunk/mono/; revision=154737
Mark Probst [Fri, 2 Apr 2010 20:01:33 +0000 (20:01 -0000)]
2010-04-02 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c, sgen-gray.c: Fix a few debug levels, put a few
asserts in inner loops into DEBUG and lower MAX_DEBUG_LEVEL.
svn path=/trunk/mono/; revision=154736
Raja R Harinath [Fri, 2 Apr 2010 16:54:34 +0000 (16:54 -0000)]
Update known-issues and IL size info
svn path=/trunk/mcs/; revision=154734
Raja R Harinath [Fri, 2 Apr 2010 16:54:14 +0000 (16:54 -0000)]
Fix gtest-284 failure in net_4_0 profile
* Makefile (DEFINES) [moonlight, net_4_0]: New.
(check): Use it.
* gtest-284.cs [NET_4_0]: Don't complain about
IStructuralEquatable and IStructuralComparable array interfaces.
svn path=/trunk/mcs/; revision=154733
Gonzalo Paniagua Javier [Fri, 2 Apr 2010 16:26:17 +0000 (16:26 -0000)]
revert openbsd patch
svn path=/trunk/mono/; revision=154732
Jonathan Pryor [Fri, 2 Apr 2010 16:19:43 +0000 (16:19 -0000)]
* Makefile.am: On non-Windows platforms, MonoPosixHelper now links
against libmono.so, for mono_runtime_is_shutting_down().
* signal.c: Only continue retrying system calls if Mono is NOT
attempting to shut down. Fixes #592981.
svn path=/trunk/mono/; revision=154731
Marek Safar [Fri, 2 Apr 2010 15:58:35 +0000 (15:58 -0000)]
internal and abstract do not play together
svn path=/trunk/mcs/; revision=154730
Atsushi Eno [Fri, 2 Apr 2010 15:57:48 +0000 (15:57 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* XContainer.cs : create snapshot copy first before removal of nodes.
Fixed bug #592435.
* XElementTest.cs : added test for bug #592435.
svn path=/trunk/mcs/; revision=154729
Jb Evain [Fri, 2 Apr 2010 15:21:51 +0000 (15:21 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* dotnet35.pc.in: add System.Data.Services.dll.
svn path=/trunk/mono/; revision=154728
Jb Evain [Fri, 2 Apr 2010 15:12:01 +0000 (15:12 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSetTest.cs: add tests for Min and Max on subsets.
svn path=/trunk/mcs/; revision=154726
Jb Evain [Fri, 2 Apr 2010 15:11:48 +0000 (15:11 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSet.cs: implement Mix and Max for subsets.
svn path=/trunk/mcs/; revision=154725
Jb Evain [Fri, 2 Apr 2010 14:56:27 +0000 (14:56 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSetTest.cs: add tests for GetViewBetween.
svn path=/trunk/mcs/; revision=154723
Jb Evain [Fri, 2 Apr 2010 14:56:06 +0000 (14:56 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSet.cs: implement GetViewBetween.
svn path=/trunk/mcs/; revision=154722
Marek Safar [Fri, 2 Apr 2010 14:01:26 +0000 (14:01 -0000)]
2010-04-02 Marek Safar <marek.safar@gmail.com>
* MethodBase.cs: Made GetParameterCount abstract and implement
where missing to avoid redundant allocations.
svn path=/trunk/mcs/; revision=154721
Jb Evain [Fri, 2 Apr 2010 13:42:38 +0000 (13:42 -0000)]
refactoring
svn path=/trunk/mcs/; revision=154720
Gonzalo Paniagua Javier [Fri, 2 Apr 2010 13:42:13 +0000 (13:42 -0000)]
shut up gcc in openbsd
svn path=/trunk/mono/; revision=154718
Jb Evain [Fri, 2 Apr 2010 13:36:23 +0000 (13:36 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSet.cs: optimize Reverse. Add a virtual TryAdd and TryRemove
to override in sub trees.
svn path=/trunk/mcs/; revision=154717
Andreas Färber [Fri, 2 Apr 2010 12:29:58 +0000 (12:29 -0000)]
mini: Add support for BeOS-style signal handlers
Haiku does not support SA_SIGINFO-style signal handlers but supports
a BeOS extension to signal handlers.
POSIX is diverse
Long road to Real Time Signals
Unique Be's handlers
-- Andreas F.
* mini.h, mini-x86.h: Suppress sigaction for Haiku, add support for
BeOS-style signal handlers.
This commit is licensed under the MIT X11 license;
the Haiku poem is licensed under the CC Attribution license.
svn path=/trunk/mono/; revision=154716
Jb Evain [Fri, 2 Apr 2010 12:29:14 +0000 (12:29 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSetTest.cs: add tests for Min and Max.
svn path=/trunk/mcs/; revision=154715
Jb Evain [Fri, 2 Apr 2010 12:28:09 +0000 (12:28 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSet.cs: implement Min and Max.
svn path=/trunk/mcs/; revision=154714
Atsushi Eno [Fri, 2 Apr 2010 12:27:05 +0000 (12:27 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : hush on non-ml profile.
svn path=/trunk/mcs/; revision=154713
Atsushi Eno [Fri, 2 Apr 2010 12:20:47 +0000 (12:20 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs :
use DataContractSerializer.IsStartObject() to check if the fault
detail reader is for the fault contract, in addition to Action.
* FaultContractInfo.cs : add serializer property.
svn path=/trunk/mcs/; revision=154712
Atsushi Eno [Fri, 2 Apr 2010 12:12:50 +0000 (12:12 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* DataContractSerializer : implement IsStartObject().
svn path=/trunk/mcs/; revision=154711
Jb Evain [Fri, 2 Apr 2010 12:05:37 +0000 (12:05 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSetTest.cs: add test for RemoveWhere.
svn path=/trunk/mcs/; revision=154710
Jb Evain [Fri, 2 Apr 2010 12:05:04 +0000 (12:05 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSet.cs: implement RemoveWhere.
svn path=/trunk/mcs/; revision=154709
Atsushi Eno [Fri, 2 Apr 2010 11:36:49 +0000 (11:36 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : use correct max buffer size.
svn path=/trunk/mcs/; revision=154708
Atsushi Eno [Fri, 2 Apr 2010 11:11:13 +0000 (11:11 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : check null serializer and detail.
Make sure to consume s12:Reason EndElement.
svn path=/trunk/mcs/; revision=154707
Jb Evain [Fri, 2 Apr 2010 10:54:10 +0000 (10:54 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSetTest.cs: add test for Reverse.
svn path=/trunk/mcs/; revision=154706
Jb Evain [Fri, 2 Apr 2010 10:53:41 +0000 (10:53 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSet.cs: implement Reverse.
svn path=/trunk/mcs/; revision=154705
Jb Evain [Fri, 2 Apr 2010 10:48:04 +0000 (10:48 -0000)]
add GetEnumerator test
svn path=/trunk/mcs/; revision=154704
Jb Evain [Fri, 2 Apr 2010 10:42:44 +0000 (10:42 -0000)]
add fixture
svn path=/trunk/mcs/; revision=154703
Jb Evain [Fri, 2 Apr 2010 10:42:24 +0000 (10:42 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* SortedSetTest.cs: add new fixture.
svn path=/trunk/mcs/; revision=154702
Atsushi Eno [Fri, 2 Apr 2010 10:10:31 +0000 (10:10 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : fix moonlight build.
svn path=/trunk/mcs/; revision=154700
Jb Evain [Fri, 2 Apr 2010 10:06:14 +0000 (10:06 -0000)]
2010-04-02 Jb Evain <jbevain@novell.com>
* exception.c: remove dead code.
svn path=/trunk/mono/; revision=154699
Atsushi Eno [Fri, 2 Apr 2010 09:39:45 +0000 (09:39 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* ContractDescriptionGenerator.cs : fill FaultDescription action,
name and namespace as expected.
* FaultDescriptionTest.cs : add new test.
* FaultContractAttributeTest.cs : new test.
* System.ServiceModel_test.dll.sources : add some new fault tests.
svn path=/trunk/mcs/; revision=154698
Atsushi Eno [Fri, 2 Apr 2010 09:09:26 +0000 (09:09 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* DispatchOperationTest.cs : added not-working FaultContractInfo test.
svn path=/trunk/mcs/; revision=154697
Atsushi Eno [Fri, 2 Apr 2010 09:08:29 +0000 (09:08 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : use FaultContractInfos to create custom
FaultException<T>. (It's not picking the expected FCI yet.)
svn path=/trunk/mcs/; revision=154696
Atsushi Eno [Fri, 2 Apr 2010 09:07:09 +0000 (09:07 -0000)]
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : when created from XmlReader, it should not
deserialize fault details immediately. This class itself should
not do that. Strongly typed FaultContractInfo may want to use the
reader (GetReaderAtDetailContents()) for its own deserialization.
svn path=/trunk/mcs/; revision=154695