mono.git
14 years ago2009-10-08 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 8 Oct 2009 13:57:36 +0000 (13:57 -0000)]
2009-10-08  Jb Evain  <jbevain@novell.com>

* Makefile: build the i18n assemblies on MonoTouch.

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

14 years agouse the expression interpreter on MonoTouch
Jb Evain [Thu, 8 Oct 2009 13:53:26 +0000 (13:53 -0000)]
use the expression interpreter on MonoTouch

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

14 years ago2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Oct 2009 11:21:14 +0000 (11:21 -0000)]
2009-10-08  Atsushi Enomoto  <atsushi@ximian.com>

* WebScriptEnablingBehaviorTest.cs : new test.

* System.ServiceModel.Web_test.dll.sources :
  add WebScriptEnablingBehaviorTest.cs.

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

14 years ago2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Oct 2009 11:18:15 +0000 (11:18 -0000)]
2009-10-08  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : add -r:System.ServiceModel.
* System.Web.Extensions_test.dll.sources : add ProxyGeneratorTest.cs.

* LogicalTypeInfo.cs, RestHandler.cs : add support for WCF proxy
  generator. Make LogicalTypeInfo and LogicalMethodInfo abstract
  and create sets of derivation for asmx and WCF. Large part of the
  code still lives in abstract class, being reduced dependency on
  ScriptServiceAttribute.

* ProxyGeneratorTest.cs : new test, for WCF AJAX interop.

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

14 years agoUpdated.
Marek Safar [Thu, 8 Oct 2009 10:54:52 +0000 (10:54 -0000)]
Updated.

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

14 years agoError reporting.
Marek Safar [Thu, 8 Oct 2009 10:54:39 +0000 (10:54 -0000)]
Error reporting.

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

14 years ago2009-10-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 8 Oct 2009 09:56:42 +0000 (09:56 -0000)]
2009-10-08  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, constant.cs: Optimize decimal constants which fit
to long range.

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

14 years ago2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Oct 2009 09:55:36 +0000 (09:55 -0000)]
2009-10-08  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractJsonSerializer.cs, JsonSerializationWriter.cs:
  alwaysEmitTypeInformation is  false by default. It is for __type
  attribute, not for type attribute. __type name is always with ":#".
* TypeMap.cs : sort members in default typemap (it is ordered).
  Uncomment EmitDefaultValue.
* JsonWriter.cs : handle "null" string (it is somewhat messy).

* WebMessageEncoder.cs : use alwaysEmitTypeInformation to output
  object __type.

* DataContractJsonSerializerTest.cs : added test for
  alwaysEmitTypeInformation argument.

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

14 years ago2009-10-08 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoIn b/tools/xbuild:
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

14 years ago* ResolveAssemblyReference.cs: Don't resolve any dependencies for
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

14 years ago* MSBuild.cs (Execute): Don't share target output items,
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

14 years ago* DirectoryScanner.cs: Use Path.GetPathRoot, instead of
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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
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

14 years agoIn class/Microsoft.Build.Engine/Test/various:
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

14 years agoIn class/Microsoft.Build.Tasks:
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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
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

14 years ago* ConsoleLogger.cs: Mark build as failed, if any project failed.
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

14 years ago* ManagedCompiler.cs (HandleTaskExecutionErrors): Log error if
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

14 years agoMore tests.
Marek Safar [Wed, 7 Oct 2009 22:30:38 +0000 (22:30 -0000)]
More tests.

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

14 years agoFixed source list.
Marek Safar [Wed, 7 Oct 2009 21:00:49 +0000 (21:00 -0000)]
Fixed source list.

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

14 years agoRemoved 1.1 profile reference
Marek Safar [Wed, 7 Oct 2009 20:39:21 +0000 (20:39 -0000)]
Removed 1.1 profile reference

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

14 years agoDon't execute anything on dist
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoFixed gmcs name
Marek Safar [Wed, 7 Oct 2009 18:35:11 +0000 (18:35 -0000)]
Fixed gmcs name

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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-09-30 Veerapuram Varadhan <vvaradhan@novell.com>
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

14 years ago2009-10-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoremove empty directory
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 16:35:13 +0000 (16:35 -0000)]
remove empty directory

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

14 years agofix the build
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 16:33:53 +0000 (16:33 -0000)]
fix the build

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

14 years agofix the build
Gonzalo Paniagua Javier [Wed, 7 Oct 2009 16:28:00 +0000 (16:28 -0000)]
fix the build

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

14 years agoNew tests.
Marek Safar [Wed, 7 Oct 2009 15:45:45 +0000 (15:45 -0000)]
New tests.

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

14 years ago2009-10-07 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-07 Marek Safar <marek.safar@gmail.com>
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

14 years agorevert accidental commit.
Atsushi Eno [Wed, 7 Oct 2009 15:10:12 +0000 (15:10 -0000)]
revert accidental commit.

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

14 years ago2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agoRemoved 1.1-only directories:
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

14 years ago2009-10-07 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-07 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agonet_2_1_raw_corlib.dll.sources: Remove System/LocalDataStoreSlot.cs from Moonlight...
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

14 years ago2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agoIn Test/System.ServiceModel:
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

14 years ago2009-10-07 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-07 Zoltan Varga <vargaz@gmail.com>
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

14 years agoPerformance improvements:
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

14 years ago2009-10-07 Marek Habersack <mhabersack@novell.com>
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

14 years agoForgotten changelog
Marek Habersack [Tue, 6 Oct 2009 21:30:42 +0000 (21:30 -0000)]
Forgotten changelog

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

14 years ago2009-10-06 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-06 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-06 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agonet_2_1_raw_corlib.dll.sources: Remove normalization files from Moonlight build
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

14 years ago2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-06 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-06 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-06 Jonathan Chambers <joncham@gmail.com>
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

14 years ago- Added VS2008 projects to compile test assemblies
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

14 years ago2009-10-06 Mark Probst <mark.probst@gmail.com>
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

14 years ago2009-10-06 Mark Probst <mark.probst@gmail.com>
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

14 years ago2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
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

14 years ago2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoNew test.
Marek Safar [Mon, 5 Oct 2009 17:11:04 +0000 (17:11 -0000)]
New test.

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

14 years ago2009-10-05 Marek Safar <marek.safar@gmail.com>
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

14 years agoNew tests.
Marek Safar [Mon, 5 Oct 2009 16:07:03 +0000 (16:07 -0000)]
New tests.

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

14 years ago2009-10-05 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-05 Zoltan Varga <vargaz@gmail.com>
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

14 years agoReport more important error first.
Marek Safar [Mon, 5 Oct 2009 14:00:51 +0000 (14:00 -0000)]
Report more important error first.

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

14 years agoUpdated.
Marek Safar [Mon, 5 Oct 2009 14:00:33 +0000 (14:00 -0000)]
Updated.

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

14 years agoreverted
Marek Safar [Mon, 5 Oct 2009 13:43:44 +0000 (13:43 -0000)]
reverted

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

14 years ago2009-10-05 Marek Safar <marek.safar@gmail.com>
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

14 years agoUpdated.
Marek Safar [Mon, 5 Oct 2009 12:55:22 +0000 (12:55 -0000)]
Updated.

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

14 years ago2009-10-05 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-05 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-05 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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