Marek Safar [Wed, 30 Sep 2009 14:21:08 +0000 (14:21 -0000)]
Default to 2.0 profile
svn path=/trunk/mcs/; revision=143011
Marek Safar [Wed, 30 Sep 2009 14:20:41 +0000 (14:20 -0000)]
2009-09-30 Marek Safar <marek.safar@gmail.com>
* runtime/Makefile.am, configure.in: Don't build 1.1 profile
svn path=/trunk/mono/; revision=143010
Zoltan Varga [Wed, 30 Sep 2009 13:30:06 +0000 (13:30 -0000)]
2009-09-30 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs libtest.c: Add a test for #543133.
svn path=/trunk/mono/; revision=142998
Zoltan Varga [Wed, 30 Sep 2009 13:29:58 +0000 (13:29 -0000)]
2009-09-30 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_object): Emit out marshalling of stringbuilders.
Fixes #543133.
svn path=/trunk/mono/; revision=142997
Marek Safar [Wed, 30 Sep 2009 12:53:28 +0000 (12:53 -0000)]
More tests.
svn path=/trunk/mcs/; revision=142995
Marek Safar [Wed, 30 Sep 2009 12:53:10 +0000 (12:53 -0000)]
2009-09-30 Marek Safar <marek.safar@gmail.com>
* CSharpBinaryOperationBinder.cs, CSharpBinder.cs,
CSharpUnaryOperationBinder.cs, CSharpConvertBinder.cs: Implicit
and explicit conversions implemented.
svn path=/trunk/mcs/; revision=142994
Zoltan Varga [Wed, 30 Sep 2009 12:48:48 +0000 (12:48 -0000)]
2009-09-30 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_wrappers): Add a runtime invoke wrapper which is used by
mono_runtime_capture_context () without calling mono_runtime_invoke ().
(can_marshal_struct): Skip structures with auto layout.
svn path=/trunk/mono/; revision=142991
Marek Safar [Wed, 30 Sep 2009 12:41:36 +0000 (12:41 -0000)]
2009-09-30 Marek Safar <marek.safar@gmail.com>
* linq.cs, convert.cs, assign.cs, expression.cs, ecore.cs: Add
ShimExpression, ImplicitCast.
svn path=/trunk/mcs/; revision=142990
Mark Probst [Wed, 30 Sep 2009 12:07:30 +0000 (12:07 -0000)]
2009-09-30 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Try to shorten the new section after a major
allocation to avoid ever-growing sections.
svn path=/trunk/mono/; revision=142988
Marek Habersack [Wed, 30 Sep 2009 10:39:11 +0000 (10:39 -0000)]
2009-09-30 Marek Habersack <mhabersack@novell.com>
* InotifyWatcher.cs: optimized the Renamed event child update loop
in the previous commit for directories in ProcessEvents.
svn path=/trunk/mcs/; revision=142984
Marek Safar [Wed, 30 Sep 2009 09:35:10 +0000 (09:35 -0000)]
New test.
svn path=/trunk/mcs/; revision=142977
Marek Safar [Wed, 30 Sep 2009 09:34:53 +0000 (09:34 -0000)]
2009-09-30 Marek Safar <marek.safar@gmail.com>
A fix for bug #542959
* delegate.cs: Emit correct delegate instance variable when there
are static and non-static overloads.
svn path=/trunk/mcs/; revision=142976
Jb Evain [Wed, 30 Sep 2009 08:43:02 +0000 (08:43 -0000)]
2009-09-30 Jb Evain <jbevain@novell.com>
* HttpRequestChannel.cs: When compiling for MonoTouch, avoid
to use any of the remoting features.
svn path=/trunk/mcs/; revision=142970
Atsushi Eno [Wed, 30 Sep 2009 07:49:12 +0000 (07:49 -0000)]
2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs, MoonlightChannelBaseExtension.cs, CommandLineOptions.cs:
add experimental -monotouch option to generate proxy that are based
on moonlight but for sync methods.
svn path=/trunk/mcs/; revision=142969
Atsushi Eno [Wed, 30 Sep 2009 07:35:10 +0000 (07:35 -0000)]
2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
* MoonlightChannelBaseExtension.cs : add CreateChannel() override.
svn path=/trunk/mcs/; revision=142968
Gonzalo Paniagua Javier [Wed, 30 Sep 2009 06:06:06 +0000 (06:06 -0000)]
2009-09-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* BinaryFormatter.cs: NoCheckDeserialize() was using PeekChar() on a
reader when it should only read 1 byte. Also BinaryReader.PeekChar()
tries to set the position of hte stream back to where it was before
the read, which does not work well with broken Stream
implementations like BZip2InputStream (reports CanSeek is true when
it really can't seek). Now we do a Read() and then pass the value we
read on to the next methods.
* MessageFormatter.cs:
* ObjectReader.cs: added overloads that take a BinaryElement instead
of reading it from the reader. Only for the methods used in
NoCheckDeserialize.
Fixes bug #503435.
svn path=/trunk/mcs/; revision=142963
Gonzalo Paniagua Javier [Wed, 30 Sep 2009 05:26:16 +0000 (05:26 -0000)]
2009-09-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* InotifyWatcher.cs: fixes bug #322330. Patch by Alexander Kojevnikov.
This patch fixes the issues reported by the OP and in my previous
comment. In particular:
Hunks 1 and 4 remove the new_name_needed flag, it's not used
anywhere and only adds confusion.
Hunk 2 skips DeleteSelf event for sub-directories, they receive the
Delete event anyway.
Hunk 3 makes sure that we use a combination of Deleted+Created
notifications instead of a single Renamed notification, if the watched item
has been moved from one directory to another. This is because RenamedEventArgs
supports only one directory name: FullPath is always directory+name,
OldFullPath is always directory+old_name.
Hunk 5 updates relevant InotifyData instances with the new directory
name. Without this, notifications always use the original folder names.
The last hunk may be a bit slow as it needs to iterate on all the
InotifyData instances. On the other hand, we are already doing it on the
Delete event (lines 560:568) and by default inotify allows only 8192 watches
per user.
svn path=/trunk/mcs/; revision=142958
Miguel de Icaza [Wed, 30 Sep 2009 04:11:38 +0000 (04:11 -0000)]
2009-09-30 Miguel de Icaza <miguel@novell.com>
* ExtensionManager.cs: Initialize the NET_2_0 pieces with
MonoTouch, but do not register any of the System.Configuration
depending extensions.
BuildExtensionImporters, BuildExtensionReflectors: empty methods
for MOnoTouch.
* ServiceDescriptionImporter.cs, WebReference.cs: Remove
codegeneration features for MonoTouch
2009-09-30 Miguel de Icaza <miguel@novell.com>
* Methods.cs: Empty extensions for MonoTouch for now.
* ServerType.cs: On MonoTouch, we do not support HttpGet or
HttpPost variations yet.
* SoapExtension.cs: Avoid System.Configuration features.
svn path=/trunk/mcs/; revision=142956
Atsushi Eno [Wed, 30 Sep 2009 03:47:41 +0000 (03:47 -0000)]
2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
use AspNetCompatibilityEnabled.
* SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
at ServiceHostBase.
* AspNetReplyChannel.cs : remove extra field.
* ServiceHostingEnvironment.cs : use AspNetCompatibilityEnabled as
ASP.NET switch.
svn path=/trunk/mcs/; revision=142953
Miguel de Icaza [Wed, 30 Sep 2009 03:44:00 +0000 (03:44 -0000)]
2009-09-29 Miguel de Icaza <miguel@novell.com>
* HttpUtility.cs: Do not use CAS Attributes when using MonoTouch.
Remove unnecesasry using clause.
svn path=/trunk/mcs/; revision=142952
Atsushi Eno [Wed, 30 Sep 2009 03:40:01 +0000 (03:40 -0000)]
2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
* ConfigUtil.cs : use WeConfigurationManager when it is under
ASP.NET environment.
* ChannelFactory.cs : use ConfigUtil to get config sections.
svn path=/trunk/mcs/; revision=142949
Gonzalo Paniagua Javier [Wed, 30 Sep 2009 03:14:19 +0000 (03:14 -0000)]
2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TermInfoDriver.cs: attempt to fix bug #527487.
svn path=/trunk/mcs/; revision=142947
Zoltan Varga [Tue, 29 Sep 2009 23:35:28 +0000 (23:35 -0000)]
2009-09-30 Zoltan Varga <vargaz@gmail.com>
* tramp-arm.c (GEN_TRAMP_SIZE): Increase this by 4.
svn path=/trunk/mono/; revision=142946
Marek Habersack [Tue, 29 Sep 2009 23:24:48 +0000 (23:24 -0000)]
2009-09-30 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: if precompilation file contains virtual path
with trailing slash (e.g. for themes), remove the slash. Fixes bug
#541271
svn path=/trunk/mcs/; revision=142943
Marek Habersack [Tue, 29 Sep 2009 21:51:21 +0000 (21:51 -0000)]
2009-09-29 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: use full url in redirect if
UseFullyQualifiedRedirectUrl is set to true in httpRuntime
configuration section. Patch from Brett Kiefer
<brett@fogcreek.com>, thanks! Fixes bug #542846
svn path=/trunk/mcs/; revision=142934
Gonzalo Paniagua Javier [Tue, 29 Sep 2009 21:02:05 +0000 (21:02 -0000)]
2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AsyncResult.cs: do not create the handle if not needed.
svn path=/trunk/mcs/; revision=142929
Gonzalo Paniagua Javier [Tue, 29 Sep 2009 21:01:25 +0000 (21:01 -0000)]
add comment to unused struct field
svn path=/trunk/mono/; revision=142928
Gonzalo Paniagua Javier [Tue, 29 Sep 2009 20:55:04 +0000 (20:55 -0000)]
2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: fixed the order in which 'completed' and the wait
handle, if any, are set. Fixes bug #542933 and delegate2.exe
No need to use the wait_handle field of ASyncCall. Make sure the
threadpool is active when adding a job or queueing an idle thread.
svn path=/trunk/mono/; revision=142927
Zoltan Varga [Tue, 29 Sep 2009 20:06:34 +0000 (20:06 -0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c: Fix the handling of enums with base type long.
svn path=/trunk/mono/; revision=142918
Zoltan Varga [Tue, 29 Sep 2009 20:06:27 +0000 (20:06 -0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_unhandled_exception): Fix a crash if there is no main thread.
svn path=/trunk/mono/; revision=142917
Zoltan Varga [Tue, 29 Sep 2009 19:47:46 +0000 (19:47 -0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_output_basic_block): Fix IREM_UN_IMM.
svn path=/trunk/mono/; revision=142916
Zoltan Varga [Tue, 29 Sep 2009 19:47:39 +0000 (19:47 -0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* threads.c (build_wait_tids): Fix a crash if there is no main thread, like
when using --compile-all.
svn path=/trunk/mono/; revision=142915
Zoltan Varga [Tue, 29 Sep 2009 18:33:22 +0000 (18:33 -0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* solaris_threads.c (GC_thr_daemon): Don't crash if GC_lookup_thread () returns
NULL.
svn path=/trunk/mono/; revision=142912
Atsushi Eno [Tue, 29 Sep 2009 17:21:15 +0000 (17:21 -0000)]
tsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : remove extra field.
svn path=/trunk/mcs/; revision=142908
Marek Safar [Tue, 29 Sep 2009 17:20:08 +0000 (17:20 -0000)]
More tests.
svn path=/trunk/mcs/; revision=142907
Marek Safar [Tue, 29 Sep 2009 17:19:21 +0000 (17:19 -0000)]
Error message updated.
svn path=/trunk/mcs/; revision=142906
Marek Safar [Tue, 29 Sep 2009 17:18:58 +0000 (17:18 -0000)]
2009-09-29 Marek Safar <marek.safar@gmail.com>
* CSharpBinaryOperationBinder.cs, Extensions.cs, CSharpBinder.cs,
CSharpUnaryOperationBinder.cs: Dynamic unary expressions.
svn path=/trunk/mcs/; revision=142905
Marek Safar [Tue, 29 Sep 2009 17:17:08 +0000 (17:17 -0000)]
2009-09-29 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, linq.cs, anonymous.cs, expression.cs, statement.cs,
ecore.cs, cs-parser.jay: Unary expression dynamic compiler.
svn path=/trunk/mcs/; revision=142904
Gonzalo Paniagua Javier [Tue, 29 Sep 2009 17:16:12 +0000 (17:16 -0000)]
2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* EndPointListener.cs: fix matching a listener in presence of a query
string or anchor.
svn path=/trunk/mcs/; revision=142900
Carlos Alberto Cortez [Tue, 29 Sep 2009 17:08:43 +0000 (17:08 -0000)]
2009-09-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: The location of the items should be computed on the fly
in virtual mode - that decreased speed overall, but reduces the load
time.that decreased speed overall, but reduces the load time. Also,
handle the cases where we were using data structures we don't need to
use/create for this mode.
Fixes part of #467418.
svn path=/trunk/mcs/; revision=142898
Atsushi Eno [Tue, 29 Sep 2009 16:18:00 +0000 (16:18 -0000)]
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* AspNetRequestContext.cs : remove CWL.
svn path=/trunk/mcs/; revision=142893
Atsushi Eno [Tue, 29 Sep 2009 16:03:35 +0000 (16:03 -0000)]
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
only after AspNetRequestContext is closed. Do not close it
immediately after receiving the context. (HttpRuntime destructs it
and further uses then becomes impossible.)
svn path=/trunk/mcs/; revision=142892
Atsushi Eno [Tue, 29 Sep 2009 15:06:36 +0000 (15:06 -0000)]
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
* SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
Make sure that AspNetChannelListener is bound to correct
SvcHttpHandler, regardless of specific request URI. It is required
for both WSDL requests and RESTful binding requests.
svn path=/trunk/mcs/; revision=142880
Alan McGovern [Tue, 29 Sep 2009 14:55:33 +0000 (14:55 -0000)]
2009-09-29 Alan McGovern <amcgovern@novell.com>
* CategoryAttributeTest.cs: Added new test file.
svn path=/trunk/mcs/; revision=142874
Alan McGovern [Tue, 29 Sep 2009 14:53:46 +0000 (14:53 -0000)]
2009-09-29 Alan McGovern <amcgovern@novell.com>
* DefaultValueAttribute.cs: Implement the cctor which takes
a Type and a string for the SL2 case.
* CategoryAttribute.cs: Fix a typo in the CategoryAttribute.Asynchronous
ctor and fix some SL2 specific naming changes for the default properties.
svn path=/trunk/mcs/; revision=142872
Ankit Jain [Tue, 29 Sep 2009 14:42:20 +0000 (14:42 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* GroupingCollection.cs (Evaluate): Mark internal.
* Project.cs (AddImport): Only evaluate the properties,
till before the import.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs (TestPropertiesFromImportedProjects): New.
svn path=/trunk/mcs/; revision=142870
Sebastien Pouliot [Tue, 29 Sep 2009 12:11:55 +0000 (12:11 -0000)]
2009-09-29 Sebastien Pouliot <sebastien@ximian.com>
* Timer_2_1.cs: Removed. No longer needed by Moonlight
svn path=/trunk/mcs/; revision=142853
Sebastien Pouliot [Tue, 29 Sep 2009 12:09:34 +0000 (12:09 -0000)]
2009-09-29 Sebastien Pouliot <sebastien@ximian.com>
* net_2_1_raw_System.Net.dll.sources: Remove Timer_2_1.cs and
related classes from System.dll - they are not required anymore
since Gonzalo's changes on Socket.Close(int)
svn path=/trunk/mcs/; revision=142851
Rolf Bjarne Kvinge [Tue, 29 Sep 2009 10:59:54 +0000 (10:59 -0000)]
2009-09-29 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Thread.cs: StartSafe: ignore ThreadAbortExceptions.
svn path=/trunk/mcs/; revision=142847
Gonzalo Paniagua Javier [Tue, 29 Sep 2009 09:25:15 +0000 (09:25 -0000)]
Fix 1.1 profile
svn path=/trunk/mcs/; revision=142836
Gonzalo Paniagua Javier [Tue, 29 Sep 2009 05:57:15 +0000 (05:57 -0000)]
2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Ping.cs: fix the check for a time-out return value from 'ping'.
svn path=/trunk/mcs/; revision=142820
Gonzalo Paniagua Javier [Tue, 29 Sep 2009 05:41:24 +0000 (05:41 -0000)]
2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpContext.cs: try to load App_GlobalResouces.dll if it has not
been set but it exists in 'bin'.
svn path=/trunk/mcs/; revision=142817
Atsushi Eno [Tue, 29 Sep 2009 05:24:05 +0000 (05:24 -0000)]
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* ClientProxyGenerator.cs : fix wrong parameter number for async
end method with return value.
svn path=/trunk/mcs/; revision=142816
Andrew Jorgensen [Tue, 29 Sep 2009 04:05:48 +0000 (04:05 -0000)]
use wildcards for .mdbs
svn path=/trunk/mono/; revision=142813
Zoltan Varga [Tue, 29 Sep 2009 04:00:59 +0000 (04:00 -0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_allocate_vars): Use mono_class_from_mono_type ()
instead of using type->data.klass as the later doesn't work with generics.
svn path=/trunk/mono/; revision=142812
Zoltan Varga [Tue, 29 Sep 2009 04:00:49 +0000 (04:00 -0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
millions of warnings during compilation.
svn path=/trunk/mono/; revision=142811
Andrew Jorgensen [Tue, 29 Sep 2009 03:26:43 +0000 (03:26 -0000)]
disable moonlight in .spec (not installed anyway)
get the whole xbuild directory structure (rpm doesn't like un-owned
directories)
svn path=/trunk/mono/; revision=142809
Ankit Jain [Mon, 28 Sep 2009 22:56:10 +0000 (22:56 -0000)]
* SolutionParser.cs (Insert): Show project name in case of a cyclic
dependency.
svn path=/trunk/mcs/; revision=142805
Marek Habersack [Mon, 28 Sep 2009 21:41:52 +0000 (21:41 -0000)]
2009-09-28 Marek Habersack <mhabersack@novell.com>
* DataBoundControl.cs: Initialize sets RequiresDataBinding
properly, only when we're not data-bound already, when we aren't
in postback or when we are in postback, but with viewstate
enabled. Fixes bug #542076
svn path=/trunk/mcs/; revision=142798
Ankit Jain [Mon, 28 Sep 2009 19:19:15 +0000 (19:19 -0000)]
* Project.cs (DoLoad): Don't use XmlReader.Create, for loading
the project xml, as returned Xml*Reader normalizes the newlines.
Instead directly use the TextReader with XmlDocument.Load ().
svn path=/trunk/mcs/; revision=142792
Ankit Jain [Mon, 28 Sep 2009 19:18:59 +0000 (19:18 -0000)]
* Exec.cs: Write the commands, which can be multiline,
to a temporary file, and execute that with "cmd.exe /c"
on windows and "sh" on non-windows.
(LogToolCommand): Override, and emit the commands instead
of the actual args passed to the shell.
svn path=/trunk/mcs/; revision=142791
Ankit Jain [Mon, 28 Sep 2009 19:18:07 +0000 (19:18 -0000)]
* ToolTask.cs (ExecuteTool): Use LogToolCommand, instead of
directly logging.
(LogToolCommand): Implement.
svn path=/trunk/mcs/; revision=142789
Ankit Jain [Mon, 28 Sep 2009 19:07:25 +0000 (19:07 -0000)]
* mono-core.spec.in: Add Microsoft.WebApplication.targets
svn path=/trunk/mono/; revision=142787
Marek Habersack [Mon, 28 Sep 2009 18:53:20 +0000 (18:53 -0000)]
Debugging cwls begone
svn path=/trunk/mcs/; revision=142783
Marek Habersack [Mon, 28 Sep 2009 18:49:31 +0000 (18:49 -0000)]
2009-09-28 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: RenderChildren stores the alternative writer in
a private property, for the benefit of nested child panels. Fixes
bug #542441
svn path=/trunk/mcs/; revision=142780
Marek Habersack [Mon, 28 Sep 2009 18:08:03 +0000 (18:08 -0000)]
Removed debugging code
svn path=/trunk/mcs/; revision=142774
Marek Habersack [Mon, 28 Sep 2009 18:07:53 +0000 (18:07 -0000)]
2009-09-28 Marek Habersack <mhabersack@novell.com>
* HttpContext.cs: GetResourceProvider - renamed the 'key' argument
to 'virtualPath' in order to reflects its purpose better. Local
resource providers are created for the passed virtualPath and not
for the current request's path. Fixes bug #542484
2009-09-28 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: ResourceProviderHasObject calls
HttpContext.GetResourceProvider with the current file's path, not
current request's. Fixes situations when localized control lives
in a master page or user control. Fixes bug #542484
* BaseCompiler.cs: introduced a helper property InputVirtualPath
which returns a VirtualPath object for the current control's
virtual path.
svn path=/trunk/mcs/; revision=142773
Marek Habersack [Mon, 28 Sep 2009 16:43:43 +0000 (16:43 -0000)]
2009-09-28 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: don't render invisible panel IDs during async
request. Fixes bug #542533
svn path=/trunk/mcs/; revision=142766
Atsushi Eno [Mon, 28 Sep 2009 15:05:58 +0000 (15:05 -0000)]
2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs :
There were some places that ignored possible whitespace nodes.
Fixed sorting of ordered members so that it does not give
incomplete sorting among base/derived types. (should fix #539563.)
Give xml error details in some places.
* XsdDataContractExporterTest.cs : disable some tests that started
to fail due to correctly sorted fields while xsd exporter has
some bugs that emits duplicate fields (hence ambiguity occurs).
svn path=/trunk/mcs/; revision=142760
Marek Safar [Mon, 28 Sep 2009 14:52:01 +0000 (14:52 -0000)]
New test.
svn path=/trunk/mcs/; revision=142758
Marek Safar [Mon, 28 Sep 2009 14:51:47 +0000 (14:51 -0000)]
2009-09-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #542487
* ecore.cs: Resolve extension methods hidden by properties.
svn path=/trunk/mcs/; revision=142757
Carlos Alberto Cortez [Mon, 28 Sep 2009 13:36:25 +0000 (13:36 -0000)]
* ListView.cs: Tile view and VirtualMode can't be applied together.
Patch by Stephen Robinson <mono@esar.org.uk>.
2009-09-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=142756
Sebastien Pouliot [Mon, 28 Sep 2009 12:02:47 +0000 (12:02 -0000)]
2009-09-28 Sebastien Pouliot <sebastien@ximian.com>
* SocketAsyncEventArgs.cs: Default SocketError.AccessDenied on
Connect in case none of the DnsEndPoint provides an adequate
address (family).
svn path=/trunk/mcs/; revision=142746
Atsushi Eno [Mon, 28 Sep 2009 11:12:26 +0000 (11:12 -0000)]
2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
* KnownTypeCollection.cs : (the previous one didn't fix #539563.)
Consider attempts to register the same collection type as it did
before.
svn path=/trunk/mcs/; revision=142745
Atsushi Eno [Mon, 28 Sep 2009 11:07:02 +0000 (11:07 -0000)]
2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs, KnownTypeCollection.cs : nested use of type
in its members resulted in infinite loop. This hopefully fixes
bug #539563.
* XmlObjectSerializerTest.cs : Test nested type serialization type
initialization.
svn path=/trunk/mcs/; revision=142744
Ankit Jain [Mon, 28 Sep 2009 10:47:12 +0000 (10:47 -0000)]
* ToolTask.cs (ProcessOuputTool): Move logging of tool
output from here to ..
(ExecuteTool): .. here. As, ProcessOuputTool can be
overridden.
svn path=/trunk/mcs/; revision=142741
Ankit Jain [Mon, 28 Sep 2009 10:46:14 +0000 (10:46 -0000)]
* WriteLinesToFiles.cs (Execute): Handle empty list of
lines.
svn path=/trunk/mcs/; revision=142740
Carlos Alberto Cortez [Mon, 28 Sep 2009 10:15:51 +0000 (10:15 -0000)]
2009-09-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: When calculating the layout for Details view, don't ask
for the items *at all* in case we are in virtual mode. This should
re-enable the proper behaviour of virtual mode.
svn path=/trunk/mcs/; revision=142738
Atsushi Eno [Mon, 28 Sep 2009 04:47:39 +0000 (04:47 -0000)]
2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
* Console.cs : do not use codepage 28591. It breaks build on
Japanese Windows.
svn path=/trunk/mcs/; revision=142735
Gonzalo Paniagua Javier [Mon, 28 Sep 2009 03:29:32 +0000 (03:29 -0000)]
fix
svn path=/trunk/mcs/; revision=142731
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 19:24:11 +0000 (19:24 -0000)]
typo
svn path=/trunk/mcs/; revision=142727
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 19:23:24 +0000 (19:23 -0000)]
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket_2_1.cs: Close(int timeout) blocks up to timeout ms if there's
pending data to be written to the socket. If there's no pending data,
it closes and returns right away. Instead of using Timer and then
doing a 'hard' close(), we set the linget option for the socket.
svn path=/trunk/mcs/; revision=142726
Jonathan Pobst [Sun, 27 Sep 2009 16:46:13 +0000 (16:46 -0000)]
2009-09-26 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: When we invalidate a node, make sure we start at
0, instead of the node's Bounds.Left, which does not include
the +/-, checkbox, or stateimages.
[Fixes bug #542481]
svn path=/trunk/mcs/; revision=142724
Sebastien Pouliot [Sun, 27 Sep 2009 14:51:42 +0000 (14:51 -0000)]
2009-09-27 Sebastien Pouliot <sebastien@ximian.com>
* SocketAsyncEventArgs.cs: Don't use Socket.Poll for NET_2_1.
Throw NIE for use of BufferList in Receive.
* Socket.cs: Move Close(int) to Socket_2_1.cs. Remove NET_2_1
defines since the file is not used by Moonlight
* Socket_2_1.cs: Add Close(int) from Socket. Define out Poll
and Blocking.
svn path=/trunk/mcs/; revision=142722
Sebastien Pouliot [Sun, 27 Sep 2009 14:39:29 +0000 (14:39 -0000)]
2009-09-27 Sebastien Pouliot <sebastien@ximian.com>
* net_2_1_raw_System.Net.dll.sources: Add Timer_2_1.cs and
related classes from System.dll
svn path=/trunk/mcs/; revision=142720
Sebastien Pouliot [Sun, 27 Sep 2009 14:37:43 +0000 (14:37 -0000)]
2009-09-27 Sebastien Pouliot <sebastien@ximian.com>
* Timer_2_1.cs: New. A smaller, internal subset of Timer for
Moonlight - needed for Socket.Close(int)
svn path=/trunk/mcs/; revision=142718
Mark Probst [Sun, 27 Sep 2009 10:23:47 +0000 (10:23 -0000)]
2009-09-27 Mark Probst <mark.probst@gmail.com>
* metadata.c (free_generic_class): Unregister the field_objects
roots if we're using SGen.
svn path=/trunk/mono/; revision=142715
Mark Probst [Sun, 27 Sep 2009 09:02:25 +0000 (09:02 -0000)]
2009-09-27 Mark Probst <mark.probst@gmail.com>
* reflection.c (mono_dynamic_image_free): Deregister the GC root
for GenericParamTableEntry.gparam.
svn path=/trunk/mono/; revision=142711
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 05:48:08 +0000 (05:48 -0000)]
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Timer.cs: account for the time spent sending jobs to the queue.
svn path=/trunk/mcs/; revision=142703
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 05:40:44 +0000 (05:40 -0000)]
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TermInfoDriver.cs: avoid segv if the pointer is not properly
initialized.
svn path=/trunk/mcs/; revision=142702
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 05:32:17 +0000 (05:32 -0000)]
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* marshal.c: don't create the handle when calling. It is created later
if needed.
svn path=/trunk/mono/; revision=142699
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 05:28:55 +0000 (05:28 -0000)]
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AsyncResult.cs: don't create the handle if we know the result is
completed.
svn path=/trunk/mcs/; revision=142697
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 05:20:12 +0000 (05:20 -0000)]
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* RealProxy.cs: for a custom proxy, retrieve the OutArgs before
allowing EndInvoke to proceed because after that, OutArgs will throw
because there is no method. Fixes remoting2 and remoting3 tests.
svn path=/trunk/mcs/; revision=142695
Gonzalo Paniagua Javier [Sun, 27 Sep 2009 01:12:07 +0000 (01:12 -0000)]
2009-09-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* test/queue.c: new tests.
* src/gqueue.c: fixed pop_head.
svn path=/trunk/mono/; revision=142694
Gonzalo Paniagua Javier [Sat, 26 Sep 2009 22:52:21 +0000 (22:52 -0000)]
svn path=/trunk/mono/; revision=142693
Veerapuram Varadhan [Sat, 26 Sep 2009 21:15:11 +0000 (21:15 -0000)]
test break fix.
svn path=/trunk/mcs/; revision=142690
Ankit Jain [Sat, 26 Sep 2009 20:38:00 +0000 (20:38 -0000)]
* ConditionParser.cs: Show the condition being parsed in the
exception message.
svn path=/trunk/mcs/; revision=142684
Ankit Jain [Sat, 26 Sep 2009 20:37:24 +0000 (20:37 -0000)]
* SolutionParser.cs: Implement support for WebSite projects. These
projects lack a project file, so properties like references are read
from the .sln file, and targets are generated for build/clean etc.
svn path=/trunk/mcs/; revision=142683
Gonzalo Paniagua Javier [Sat, 26 Sep 2009 17:06:16 +0000 (17:06 -0000)]
2009-09-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* gqueue.c: add g_queue_push_tail.
svn path=/trunk/mono/; revision=142681
Mark Probst [Sat, 26 Sep 2009 16:01:03 +0000 (16:01 -0000)]
2009-09-26 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Warning fixes.
svn path=/trunk/mono/; revision=142677