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
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
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
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
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
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
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
Jb Evain [Tue, 6 Apr 2010 17:44:29 +0000 (17:44 -0000)]
fix bootstrap
svn path=/trunk/mcs/; revision=154875
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
Marek Safar [Tue, 6 Apr 2010 16:24:05 +0000 (16:24 -0000)]
Add IInvokeOnGetBinder.cs
svn path=/trunk/mcs/; revision=154869
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Tue, 6 Apr 2010 14:56:10 +0000 (14:56 -0000)]
add ExcludeFromCodeCoverageAttribute
svn path=/trunk/mcs/; revision=154847
Jb Evain [Tue, 6 Apr 2010 14:42:08 +0000 (14:42 -0000)]
remove debug writelines
svn path=/trunk/mcs/; revision=154846
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
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
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
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