Atsushi Eno [Thu, 8 Oct 2009 08:59:56 +0000 (08:59 -0000)]
2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
* JsonQueryStringConverter.cs : add custom body name support (used.
for AJAX). Handle string value (in very LAMESPEC way).
* WebMessageFormatter.cs : add custom body name support.
Slightly changed reply serialization.
Convert deserialized values using QueryStringConverter.
* WebScriptEnablingBehavior.cs : use JsonQueryStringConverter, with
"d" wrapper name. Allow only WrappedRequest.
* JsonQueryStringConverterTest.cs : added some string deserialization
test. It just proved .NET is too lame.
svn path=/trunk/mcs/; revision=143747
Ankit Jain [Thu, 8 Oct 2009 02:03:41 +0000 (02:03 -0000)]
In b/tools/xbuild:
* xbuild/Microsoft.Common.targets: Don't get list of files
to deploy, for 'Private' project references.
Fix target named for *CopyDeploy*.
In tools/xbuild/tests:
* standalone/Project1: Add a new Lib5 project, and add
private references to various projects.
Update final-outputs.txt .
* standalone/Project01/Lib5/*: New.
svn path=/trunk/mcs/; revision=143740
Ankit Jain [Thu, 8 Oct 2009 02:03:22 +0000 (02:03 -0000)]
* ResolveAssemblyReference.cs: Don't resolve any dependencies for
assemblies resolved from {PkgConfig}. Honor parent's CopyLocal for
dependencies.
svn path=/trunk/mcs/; revision=143739
Ankit Jain [Thu, 8 Oct 2009 00:48:19 +0000 (00:48 -0000)]
* MSBuild.cs (Execute): Don't share target output items,
always create a copy.
svn path=/trunk/mcs/; revision=143735
Ankit Jain [Wed, 7 Oct 2009 23:29:26 +0000 (23:29 -0000)]
* DirectoryScanner.cs: Use Path.GetPathRoot, instead of
directly using DirectoryInfo ("z:"), that doesn't return
a dir info for "z:".
svn path=/trunk/mcs/; revision=143731
Ankit Jain [Wed, 7 Oct 2009 22:49:23 +0000 (22:49 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* DirectoryScanner.cs: Handle absolute paths. Fix to work
correctly on windows. Change order of adding paths to match
msbuild, useful to have.
In class/Microsoft.Build.Engine/Test/various:
* Items.cs (TestItemsWithWildcards): New.
svn path=/trunk/mcs/; revision=143726
Ankit Jain [Wed, 7 Oct 2009 22:49:04 +0000 (22:49 -0000)]
In class/Microsoft.Build.Engine/Test/various:
* Items.cs (TestItems5): Fix to work correctly on windows
and unix.
(TestReservedMetadata): New.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* TestMessageLogger.cs (CheckLoggedAny): New.
In class/Microsoft.Build.Utilities/Mono.XBuild.Utilities:
* ReservedNameUtils.cs: Fix 'RootDir', 'Directory'.
(WithTrailingSlash): New.
Update to use the new WithTrailingSlash method.
svn path=/trunk/mcs/; revision=143725
Ankit Jain [Wed, 7 Oct 2009 22:48:44 +0000 (22:48 -0000)]
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
RemoveDuplicatesTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* RemoveDuplicates.cs: Use item's ItemSpec as the key.
In tools/xbuild:
* xbuild/Microsoft.Common.tasks: Add RemoveDuplicates task.
svn path=/trunk/mcs/; revision=143724
Ankit Jain [Wed, 7 Oct 2009 22:48:26 +0000 (22:48 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* TaskBatchingImpl.cs (ParseTaskAttributes): Parse attributes
of the 'Output' element also.
* TaskEngine.cs (PublishOutput): Honor condition on 'Output' also.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs (TestBatchedMetadataRefInOutput): New.
svn path=/trunk/mcs/; revision=143723
Ankit Jain [Wed, 7 Oct 2009 22:48:09 +0000 (22:48 -0000)]
* ConsoleLogger.cs: Mark build as failed, if any project failed.
svn path=/trunk/mcs/; revision=143722
Ankit Jain [Wed, 7 Oct 2009 22:45:57 +0000 (22:45 -0000)]
* ManagedCompiler.cs (HandleTaskExecutionErrors): Log error if
required.
svn path=/trunk/mcs/; revision=143721
Marek Safar [Wed, 7 Oct 2009 22:30:38 +0000 (22:30 -0000)]
More tests.
svn path=/trunk/mcs/; revision=143719
Marek Safar [Wed, 7 Oct 2009 21:00:49 +0000 (21:00 -0000)]
Fixed source list.
svn path=/trunk/mcs/; revision=143716
Marek Safar [Wed, 7 Oct 2009 20:39:21 +0000 (20:39 -0000)]
Removed 1.1 profile reference
svn path=/trunk/mono/; revision=143711
Marek Safar [Wed, 7 Oct 2009 19:20:29 +0000 (19:20 -0000)]
Don't execute anything on dist
svn path=/trunk/mono/; revision=143707
Atsushi Eno [Wed, 7 Oct 2009 19:12:26 +0000 (19:12 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* SyndicationVersions.cs :
Handle atom feed as well. Patch by David Mitchell.
* SyndicationItemTest.cs, SyndicationFeedTest.cs : allow atom feed
too. More Load() tests. Patch by David Mitchell.
svn path=/trunk/mcs/; revision=143704
Marek Safar [Wed, 7 Oct 2009 18:35:11 +0000 (18:35 -0000)]
Fixed gmcs name
svn path=/trunk/mcs/; revision=143699
Atsushi Eno [Wed, 7 Oct 2009 18:30:51 +0000 (18:30 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* WebMessageFormatter.cs : revert and fix wrapper name change. XML
and JSON have different serialization.
svn path=/trunk/mcs/; revision=143697
Atsushi Eno [Wed, 7 Oct 2009 17:48:01 +0000 (17:48 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* WebMessageFormatter.cs : also fix wrapped message deserialization.
It should expect FooResponse (body WrapperName), not FooResult
(ReturnValue part Name).
svn path=/trunk/mcs/; revision=143694
Veerapuram Varadhan [Wed, 7 Oct 2009 17:38:09 +0000 (17:38 -0000)]
2009-09-30 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #543207
* OracleParameter.cs (Bind): Do not remove the trailing-null-byte.
svn path=/trunk/mcs/; revision=143693
Carlos Alberto Cortez [Wed, 7 Oct 2009 17:32:05 +0000 (17:32 -0000)]
2009-10-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: When computing the value for groups height don't use
text_size field, since in LargeIcon view it sometimes contains a
double height value - use Font.Height directly, and also improve the
padding value.
* ThemeWin32Classic: The same as above.
This way the space between the group header, the line, and the items
area is not that big in LargeIcon view.
svn path=/trunk/mcs/; revision=143692
Atsushi Eno [Wed, 7 Oct 2009 17:10:27 +0000 (17:10 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* WebMessageFormatter.cs : when they serialize Wrapped message, it
first writes "root" and then the wrapper element.
svn path=/trunk/mcs/; revision=143689
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 16:35:13 +0000 (16:35 -0000)]
remove empty directory
svn path=/trunk/mcs/; revision=143688
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 16:33:53 +0000 (16:33 -0000)]
fix the build
svn path=/trunk/mcs/; revision=143687
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 16:28:00 +0000 (16:28 -0000)]
fix the build
svn path=/trunk/mcs/; revision=143686
Marek Safar [Wed, 7 Oct 2009 15:45:45 +0000 (15:45 -0000)]
New tests.
svn path=/trunk/mcs/; revision=143682
Marek Safar [Wed, 7 Oct 2009 15:44:40 +0000 (15:44 -0000)]
2009-10-07 Marek Safar <marek.safar@gmail.com>
* RuntimeBinderContext.cs, CSharpBinaryOperationBinder.cs,
CSharpGetMemberBinder.cs, CSharpBinder.cs,
CSharpUnaryOperationBinder.cs, CSharpSetMemberBinder.cs: Member
access implemented.
svn path=/trunk/mcs/; revision=143681
Marek Safar [Wed, 7 Oct 2009 15:39:51 +0000 (15:39 -0000)]
2009-10-07 Marek Safar <marek.safar@gmail.com>
* typemanager.cs: Reset object_type.
* assign: Made SimpleAssign public.
svn path=/trunk/mcs/; revision=143680
Atsushi Eno [Wed, 7 Oct 2009 15:10:12 +0000 (15:10 -0000)]
revert accidental commit.
svn path=/trunk/mcs/; revision=143665
Sebastien Pouliot [Wed, 7 Oct 2009 13:45:08 +0000 (13:45 -0000)]
2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Remove unsafe code duplication in ToCharArray.
Define out the unused InternalStrcpy icalls
* StringComparer.cs: Seal internal/private inner classes.
svn path=/trunk/mcs/; revision=143651
Sebastien Pouliot [Wed, 7 Oct 2009 13:40:12 +0000 (13:40 -0000)]
2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
* CompareInfo.cs: Don't allow MONO_DISABLE_MANAGED_COLLATION
override for Moonlight and move all icalls together so they
can be #if-ed out.
svn path=/trunk/mcs/; revision=143648
Marek Habersack [Wed, 7 Oct 2009 13:31:42 +0000 (13:31 -0000)]
Removed 1.1-only directories:
- System.Web.Configuration
- System.Web.SessionState
svn path=/trunk/mcs/; revision=143647
Zoltan Varga [Wed, 7 Oct 2009 13:20:37 +0000 (13:20 -0000)]
2009-10-07 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs libtest.c: Add a test for marshalling DateTime to unmanaged code.
svn path=/trunk/mono/; revision=143639
Zoltan Varga [Wed, 7 Oct 2009 13:20:27 +0000 (13:20 -0000)]
2009-10-07 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_vtype): Emit marshalling of DateTime to OLE DATE.
Fixes #322934.
svn path=/trunk/mono/; revision=143638
Atsushi Eno [Wed, 7 Oct 2009 12:57:57 +0000 (12:57 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* WebScriptServiceHostFactory.cs : I have to again revert the
previous change; it does fill endpoints regardless of hosting
environment (now with tests).
* WebScriptEnablingBehavior.cs : validate body style.
* WebHttpBehavior.cs : operations could miss WebGet/WebInvoke and
we should not crash by NRE because of missing of those atts.
* WebScriptServiceHostFactoryTest.cs : add tests for contract and
wrapped validity.
svn path=/trunk/mcs/; revision=143637
Atsushi Eno [Wed, 7 Oct 2009 12:53:36 +0000 (12:53 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* WebMessageFormatter.cs : JSON writer does not support namespace.
svn path=/trunk/mcs/; revision=143635
Sebastien Pouliot [Wed, 7 Oct 2009 12:43:35 +0000 (12:43 -0000)]
net_2_1_raw_corlib.dll.sources: Remove System/LocalDataStoreSlot.cs from Moonlight build
svn path=/trunk/mcs/; revision=143633
Sebastien Pouliot [Wed, 7 Oct 2009 12:41:13 +0000 (12:41 -0000)]
2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
* Context.cs: Remove LocalDataStoreSlot-related methods from
Moonlight build
svn path=/trunk/mcs/; revision=143631
Sebastien Pouliot [Wed, 7 Oct 2009 12:31:16 +0000 (12:31 -0000)]
2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Remove LocalDataStoreSlot-related methods from
Moonlight build
svn path=/trunk/mcs/; revision=143629
Sebastien Pouliot [Wed, 7 Oct 2009 12:03:57 +0000 (12:03 -0000)]
In Test/System.ServiceModel:
2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
* OperationContextTest.cs: Add test case for OperationContext.Current
In System.ServiceModel:
2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
* OperationContext.cs: Use [ThreadStatic] instead of Thread.
GetNamedDataSlot with Thread.[Get|Set]Data since it offers type
safety and don't require keeping extra API inside Moonlight
svn path=/trunk/mcs/; revision=143620
Marek Habersack [Wed, 7 Oct 2009 10:48:59 +0000 (10:48 -0000)]
2009-10-07 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: GetSection doesn't perform string +
char + string concatenation to generate section cache key (by
Gonzalo Paniagua Javier) which gives an enormous performance boost
(processing time for mojoportal's default.aspx went down from
2.65s to 107ms on average). The key generation is performed
without any kind of string operation right now (except for
GetHashCode on 3 strings).
GetSectionCacheKey is called only once and sectionCache became a
dictionary.
svn path=/trunk/mcs/; revision=143611
Atsushi Eno [Wed, 7 Oct 2009 09:47:43 +0000 (09:47 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : a couple of refactoring on contract loopup.
Do not push mex contracts to ImplementedContracts.
svn path=/trunk/mcs/; revision=143609
Atsushi Eno [Wed, 7 Oct 2009 09:45:53 +0000 (09:45 -0000)]
2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
* TestFixtureBase.cs : until I sort out what's causing failure on
channels shutdown, disable concurrent channels here. They block
unit testing themselves.
svn path=/trunk/mcs/; revision=143608
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 04:02:38 +0000 (04:02 -0000)]
2009-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* StaticFileHandler.cs: it's the last flush even when a VPP is used.
svn path=/trunk/mcs/; revision=143597
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 04:02:31 +0000 (04:02 -0000)]
2009-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* StaticFileHandler.cs: it's the last flush even when a VPP is used.
svn path=/trunk/mcs/; revision=143596
Atsushi Eno [Wed, 7 Oct 2009 02:12:46 +0000 (02:12 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* IHttpCookieContainer.cs : new 2.1-only interface (no use).
* net_2_1_System.ServiceModel.dll.sources :
add IHttpCookieContainer.cs.
svn path=/trunk/mcs/; revision=143593
Atsushi Eno [Wed, 7 Oct 2009 01:51:07 +0000 (01:51 -0000)]
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* SyndicationElementExtension.cs : give OuterName and OuterNamespace
for extensions with .ctor(XmlReader).
* SyndicationElementExtensionTest.cs : added test for OuterName/ns
with .ctor(XmlReader).
* SyndicationItemTest.cs : added failure case for LoadItem() with
feed element.
svn path=/trunk/mcs/; revision=143592
Zoltan Varga [Wed, 7 Oct 2009 01:34:55 +0000 (01:34 -0000)]
2009-10-07 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Fix make dist.
svn path=/trunk/mono/; revision=143591
Marek Habersack [Wed, 7 Oct 2009 00:10:03 +0000 (00:10 -0000)]
Performance improvements:
- made sure invariant culture is used with String.ToLower, String.ToUpper and String.Compare
- replaced all calls to CultureInfo.InvariantCulture with a reference to a static field System.Web.Util.Helpers.InvariantCulture
svn path=/trunk/mcs/; revision=143587
Marek Habersack [Tue, 6 Oct 2009 22:37:50 +0000 (22:37 -0000)]
2009-10-07 Marek Habersack <mhabersack@novell.com>
* TraceData.cs: make long execution times stand out.
svn path=/trunk/mcs/; revision=143581
Marek Habersack [Tue, 6 Oct 2009 21:30:42 +0000 (21:30 -0000)]
Forgotten changelog
svn path=/trunk/mcs/; revision=143578
Marek Habersack [Tue, 6 Oct 2009 21:30:33 +0000 (21:30 -0000)]
2009-10-06 Marek Habersack <mhabersack@novell.com>
* Makefile: added PIPELINE_TIMER define
svn path=/trunk/mcs/; revision=143577
Sebastien Pouliot [Tue, 6 Oct 2009 20:05:39 +0000 (20:05 -0000)]
2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
* Decimal.cs: Use Compare method instead of directly using the
decimalCompare internal call.
svn path=/trunk/mcs/; revision=143554
Atsushi Eno [Tue, 6 Oct 2009 19:16:43 +0000 (19:16 -0000)]
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* OperationInvokerHandler.cs : a bit more explaining message.
svn path=/trunk/mcs/; revision=143552
Marek Safar [Tue, 6 Oct 2009 19:00:32 +0000 (19:00 -0000)]
2009-10-06 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, decl.cs, namespace.cs, ecore.cs, class.cs: Pass
invocation assembly to IsThisOrFriendAssembly.
svn path=/trunk/mcs/; revision=143551
Sebastien Pouliot [Tue, 6 Oct 2009 18:51:35 +0000 (18:51 -0000)]
2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
* Enum.cs: Add an internal Value property as a single point to
call the internal call get_value.
svn path=/trunk/mcs/; revision=143549
Zoltan Varga [Tue, 6 Oct 2009 18:48:15 +0000 (18:48 -0000)]
2009-10-06 Zoltan Varga <vargaz@gmail.com>
* configure.in: Bump version to 2.7.
svn path=/trunk/mono/; revision=143548
Atsushi Eno [Tue, 6 Oct 2009 18:18:54 +0000 (18:18 -0000)]
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* WebScriptEnablingBehavior.cs : fix listen uri which used to result
in unexpected relative recalculation against the base uri.
svn path=/trunk/mcs/; revision=143546
Atsushi Eno [Tue, 6 Oct 2009 18:07:13 +0000 (18:07 -0000)]
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : use file path given by the factory to
construct BaseAddresses. Requests to "test.svc/jsdebug" should
not be handled as request to "jsdebug" file, it's rather an
"argument" to "test.svc".
svn path=/trunk/mcs/; revision=143545
Sebastien Pouliot [Tue, 6 Oct 2009 17:17:33 +0000 (17:17 -0000)]
net_2_1_raw_corlib.dll.sources: Remove normalization files from Moonlight build
svn path=/trunk/mcs/; revision=143539
Sebastien Pouliot [Tue, 6 Oct 2009 17:15:32 +0000 (17:15 -0000)]
2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
* Encoding.cs: Remove normalization methods for Moonlight
svn path=/trunk/mcs/; revision=143536
Sebastien Pouliot [Tue, 6 Oct 2009 17:12:00 +0000 (17:12 -0000)]
2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Remove normalization methods for Moonlight
svn path=/trunk/mcs/; revision=143533
Zoltan Varga [Tue, 6 Oct 2009 17:07:40 +0000 (17:07 -0000)]
2009-10-06 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_class): Add an instance of GenericComparer<T> for
each instance of Comparer<T>.
* generics.cs: Add a new test.
svn path=/trunk/mono/; revision=143531
Zoltan Varga [Tue, 6 Oct 2009 16:46:18 +0000 (16:46 -0000)]
2009-10-06 Zoltan Varga <vargaz@gmail.com>
* domain.c (DEFAULT_RUNTIME_VERSION): Change this to v2.0.
svn path=/trunk/mono/; revision=143530
Gonzalo Paniagua Javier [Tue, 6 Oct 2009 16:25:54 +0000 (16:25 -0000)]
2009-10-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* GatewayIPAddressInformationCollection.cs:
* IPInterfaceProperties.cs: implement GatewayAddresses for linux.
Original patch by Christoph von Wittich.
Fixes bug #544640.
svn path=/trunk/mcs/; revision=143525
Jonathan Chambers [Tue, 6 Oct 2009 15:14:12 +0000 (15:14 -0000)]
2009-10-06 Jonathan Chambers <joncham@gmail.com>
* String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
#535425.
svn path=/trunk/mcs/; revision=143519
Marek Habersack [Tue, 6 Oct 2009 14:12:28 +0000 (14:12 -0000)]
- Added VS2008 projects to compile test assemblies
- All resources are named the same on .NET and Mono for test assemblies
- Prepared SystemWebTestShim to work on .NET (to the extent it is possible)
- System.Web.Util made public when compiling tests in VS2008
svn path=/trunk/mcs/; revision=143511
Mark Probst [Tue, 6 Oct 2009 12:40:06 +0000 (12:40 -0000)]
2009-10-06 Mark Probst <mark.probst@gmail.com>
* object.c (mono_method_return_message_restore): Handle the case
where the argument is an instance of a generic type. Fixes
#544446.
2009-10-06 Mark Probst <mark.probst@gmail.com>
* bug-544445.cs: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=143506
Mark Probst [Tue, 6 Oct 2009 11:38:28 +0000 (11:38 -0000)]
2009-10-06 Mark Probst <mark.probst@gmail.com>
* object.c (set_value): Write barrier fix - we must pass the
count, not the size.
svn path=/trunk/mono/; revision=143504
Atsushi Eno [Tue, 6 Oct 2009 09:32:38 +0000 (09:32 -0000)]
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs, HttpChannelListener.cs : some significant
rewrite to handle shutdown situation better. The listeners should
not close channels that it opened. Instead, just stop accepting
further requests. Removed blocking mutex on WaitForRequest().
Now xsp shuts down as expected.
svn path=/trunk/mcs/; revision=143498
Atsushi Eno [Tue, 6 Oct 2009 09:25:24 +0000 (09:25 -0000)]
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : lock list when releasing its content contexts.
* AspNetReplyChannel.cs : send EndRequest() to handler when it is
closing.
svn path=/trunk/mcs/; revision=143497
Atsushi Eno [Tue, 6 Oct 2009 09:21:27 +0000 (09:21 -0000)]
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs : remove todo.
* ReplyChannelBase.cs : add comment.
svn path=/trunk/mcs/; revision=143495
Ankit Jain [Mon, 5 Oct 2009 23:02:10 +0000 (23:02 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* ConsoleLogger: Improve error reporting. Don't count failed task,
target or project as another error. Show "errors" after "warnings",
more useful to the user.
* Project.cs (BuildTarget): Log error instead of using CWL.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* Exec.cs (ExecuteTool): Use DeleteTempFile instead of File.Delete
(HandleTaskExecutionErrors): Log error, if required.
* MSBuild.cs: Don't log error.
* Warning.cs: Don't log if @text is empty.
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
* ToolTask.cs (Execute): HandleTaskExecutionErrors is called only
if exitCode != 0.
(ExecuteTool): Move logging of exitcode to HandleTaskExecutionErrors.
Remove MonoTODOs.
* TaskLoggingHelper.cs (LogMessageFromText): New.
(LogMessage): Refactor to use above.
svn path=/trunk/mcs/; revision=143473
Atsushi Eno [Mon, 5 Oct 2009 18:47:34 +0000 (18:47 -0000)]
2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
* JsonReader.cs : copy string literal parser from System.Json.
svn path=/trunk/mcs/; revision=143433
Atsushi Eno [Mon, 5 Oct 2009 18:46:36 +0000 (18:46 -0000)]
2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
* JsonReader.cs : \uXXXX parser was totally wrong, giving wrong #.
svn path=/trunk/mcs/; revision=143432
Atsushi Eno [Mon, 5 Oct 2009 18:18:32 +0000 (18:18 -0000)]
2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : make sure to close, *and* abort channels
in case they failed to close. Also consider close timeouts.
Rename a field to make less confusing.
svn path=/trunk/mcs/; revision=143431
Marek Safar [Mon, 5 Oct 2009 17:11:04 +0000 (17:11 -0000)]
New test.
svn path=/trunk/mcs/; revision=143426
Marek Safar [Mon, 5 Oct 2009 16:50:09 +0000 (16:50 -0000)]
2009-10-05 Marek Safar <marek.safar@gmail.com>
* expression.cs: Equality comparison of generic parameter with
class constraint.
svn path=/trunk/mcs/; revision=143420
Marek Safar [Mon, 5 Oct 2009 16:07:03 +0000 (16:07 -0000)]
New tests.
svn path=/trunk/mcs/; revision=143419
Marek Safar [Mon, 5 Oct 2009 16:04:50 +0000 (16:04 -0000)]
2009-10-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #543570
* generic.cs: Import predefined constraints correctly.
svn path=/trunk/mcs/; revision=143417
Zoltan Varga [Mon, 5 Oct 2009 14:39:58 +0000 (14:39 -0000)]
2009-10-05 Zoltan Varga <vargaz@gmail.com>
* domain.c (mono_init_internal): Print a useful error message when encountering
an old mscorlib, instead of crashing. Fixes #544307.
svn path=/trunk/mono/; revision=143409
Marek Safar [Mon, 5 Oct 2009 14:00:51 +0000 (14:00 -0000)]
Report more important error first.
svn path=/trunk/mcs/; revision=143407
Marek Safar [Mon, 5 Oct 2009 14:00:33 +0000 (14:00 -0000)]
Updated.
svn path=/trunk/mcs/; revision=143406
Marek Safar [Mon, 5 Oct 2009 13:43:44 +0000 (13:43 -0000)]
reverted
svn path=/trunk/mcs/; revision=143405
Marek Safar [Mon, 5 Oct 2009 13:17:42 +0000 (13:17 -0000)]
2009-10-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #544178
* codegen.cs: Ignore security attributes for module output.
svn path=/trunk/mcs/; revision=143402
Marek Safar [Mon, 5 Oct 2009 12:55:22 +0000 (12:55 -0000)]
Updated.
svn path=/trunk/mcs/; revision=143400
Marek Habersack [Mon, 5 Oct 2009 11:15:03 +0000 (11:15 -0000)]
2009-10-05 Marek Habersack <mhabersack@novell.com>
* Makefile ($(build_lib)): fixed a typo in dependency macro
2009-10-05 Marek Habersack <mhabersack@novell.com>
* WebUIValidation_2.0.js: before using webFrom.Page_Validators,
check if they are defined and not null. Fixes bug #542582
svn path=/trunk/mcs/; revision=143388
Marek Habersack [Mon, 5 Oct 2009 10:45:33 +0000 (10:45 -0000)]
2009-10-05 Marek Habersack <mhabersack@novell.com>
* Cache.cs: if item expiration time exceeds the maximum value
Timer accepts, use the latter - item will expire properly anyway,
as the timer will be rescheduled for the item's expiration time
once that item is bubbled to the top of the priority queue. Fixes
bug #544171
svn path=/trunk/mcs/; revision=143384
Atsushi Eno [Mon, 5 Oct 2009 05:53:46 +0000 (05:53 -0000)]
2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
* Atom10FeedFormatter.cs : do not use Atom10ItemFormatter(item)
at ReadItem(). It is only for writing. Patch by David Mitchell.
svn path=/trunk/mcs/; revision=143369
Atsushi Eno [Mon, 5 Oct 2009 05:37:54 +0000 (05:37 -0000)]
2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
* Atom10ItemFormatter.cs : enable XmlConvert.ToDateTimeOffset(),
patch by David Mitchell.
svn path=/trunk/mcs/; revision=143368
Atsushi Eno [Mon, 5 Oct 2009 05:35:35 +0000 (05:35 -0000)]
2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : fix wrong ToDateTimeOffset loop, based on the
patch by David Mitchell.
svn path=/trunk/mcs/; revision=143367
Carlos Alberto Cortez [Mon, 5 Oct 2009 00:19:27 +0000 (00:19 -0000)]
2009-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: When retrieving the fixed positions for the items in
virtual mode, use the row value to compute the coords of the item,
instead of the col value, as opposed to SmallIcon/LargeIcon views.
svn path=/trunk/mcs/; revision=143366
Zoltan Varga [Sun, 4 Oct 2009 16:33:41 +0000 (16:33 -0000)]
2009-10-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_class): Only add GetGenericValueImpl wrappers
when using full-aot.
svn path=/trunk/mono/; revision=143349
Zoltan Varga [Sun, 4 Oct 2009 15:58:42 +0000 (15:58 -0000)]
2009-10-04 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (copy_app_domain_setup): Fix a warning.
* debug-helpers.c (dis_one): Ditto.
svn path=/trunk/mono/; revision=143345
Zoltan Varga [Sun, 4 Oct 2009 15:33:42 +0000 (15:33 -0000)]
2009-10-04 Zoltan Varga <vargaz@gmail.com>
* processes.c: Implement get_process_name_from_proc () on solaris.
svn path=/trunk/mono/; revision=143340
Mark Probst [Sun, 4 Oct 2009 14:21:00 +0000 (14:21 -0000)]
2009-10-04 Mark Probst <mark.probst@gmail.com>
* AppDomain.cs: Check for static AppDomainInitializer earlier to
throw the appropriate exception instead of failing at
serialization.
svn path=/trunk/mcs/; revision=143339
Mark Probst [Sun, 4 Oct 2009 12:09:39 +0000 (12:09 -0000)]
2009-10-04 Mark Probst <mark.probst@gmail.com>
* AppDomainSetup.cs: Functionality for serializing a few members
to simplify cross-domain copying from within the runtime.
* AppDomain.cs (CreateDomain): Make AppDomainSetup serialize the
necessary members in preparation for the cross-domain copy.
* Environment.cs: Corlib version bump.
svn path=/trunk/mcs/; revision=143338
Mark Probst [Sun, 4 Oct 2009 12:09:19 +0000 (12:09 -0000)]
2009-10-04 Mark Probst <mark.probst@gmail.com>
* domain-internals.h, appdomain.c: The AppDomainSetup is copied
into the new domain, instead of referencing the original one.
* marshal.c, marshal.h: Make mono_marshal_xdomain_copy_value()
non-static.
* appdomain.c: Corlib version bump.
svn path=/trunk/mono/; revision=143337
Zoltan Varga [Sun, 4 Oct 2009 11:19:21 +0000 (11:19 -0000)]
mend
svn path=/trunk/mono/; revision=143336
Zoltan Varga [Sun, 4 Oct 2009 11:19:15 +0000 (11:19 -0000)]
2009-10-04 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Replace make_imt_test_.sh with a faster C# version.
svn path=/trunk/mono/; revision=143335