Ankit Jain [Sun, 11 Oct 2009 01:15:17 +0000 (01:15 -0000)]
Add color support for errors/warnings etc.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* ConsoleLogger.cs: Use ColorSetter and ColorResetter .
Support 'XBUILD_COLORS' to set colors for errors, warnings,
events and messages.
In tools/xbuild:
* Main.cs: Add support for emitting messages in color.
Taking relevant code from mcs/report.cs . Using ANSI
color codes here instead of Console.ForegroundColor
because of a bug in Console.
svn path=/trunk/mcs/; revision=143902
Zoltan Varga [Sat, 10 Oct 2009 18:56:46 +0000 (18:56 -0000)]
2009-10-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_save_trampoline_xdebug_info): Implement this for the
gdb mode.
svn path=/trunk/mono/; revision=143894
Zoltan Varga [Sat, 10 Oct 2009 18:56:39 +0000 (18:56 -0000)]
2009-10-10 Zoltan Varga <vargaz@gmail.com>
* */CMakeLists.txt: Update this to latest autoconf files.
svn path=/trunk/mono/; revision=143893
Ankit Jain [Sat, 10 Oct 2009 18:53:11 +0000 (18:53 -0000)]
* ConsoleLogger.cs (ProjectFinishedHandler): Once projectFailed
becomes true, don't reset it. We are looking for "atleast one
project failed".
svn path=/trunk/mcs/; revision=143892
Ankit Jain [Fri, 9 Oct 2009 15:48:26 +0000 (15:48 -0000)]
* Exec.cs (AddCommandLineCommands): Add '/q' for cmd.exe, to
turn 'echo off'. And make sure the script file on windows, has
a '.bat' extension, otherwise cmd.exe opens it in a text editor.
svn path=/trunk/mcs/; revision=143880
Ankit Jain [Fri, 9 Oct 2009 15:46:37 +0000 (15:46 -0000)]
Fix bug #545703.
* Exec.cs (Command): On unix, change CRLF to CR.
svn path=/trunk/mcs/; revision=143879
Zoltan Varga [Fri, 9 Oct 2009 15:27:51 +0000 (15:27 -0000)]
2009-10-09 Zoltan Varga <vargaz@gmail.com>
* mono.1: Document --debug=gdb option.
svn path=/trunk/mono/; revision=143878
Zoltan Varga [Fri, 9 Oct 2009 15:24:49 +0000 (15:24 -0000)]
2009-10-09 Zoltan Varga <vargaz@gmail.com>
* driver.c (parse_debug_options): Add a 'gdb' option.
* mini.c (mini_parse_debug_options): Add a 'gdb' option.
svn path=/trunk/mono/; revision=143877
Zoltan Varga [Fri, 9 Oct 2009 14:48:20 +0000 (14:48 -0000)]
2009-10-09 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py (MonoSupport.run_hook): Set MONO_XDEBUG to 'gdb' to activate
the GDB support mode in the runtime.
svn path=/trunk/mono/; revision=143874
Zoltan Varga [Fri, 9 Oct 2009 14:48:04 +0000 (14:48 -0000)]
2009-10-09 Zoltan Varga <vargaz@gmail.com>
* image-writer.c: Add support for emitting the image into a memory buffer.
* dwarfwriter.c: Add support for sharing one IL file between multiple images.
* aot-compiler.c: Add support for registering debug info with GDB using the
new JIT debugging interface in GDB 7.0. It can be turned on by setting
MONO_XDEBUG to 'gdb'.
svn path=/trunk/mono/; revision=143873
Marek Habersack [Fri, 9 Oct 2009 12:16:01 +0000 (12:16 -0000)]
Not fully tested, so no backport to 2.4/2.6 branches yet.
2009-10-09 Marek Habersack <mhabersack@novell.com>
* Control.cs: implemented the LoadViewStateByID property as well
as saving/restoring the view state by control's ID.
svn path=/trunk/mcs/; revision=143855
Mark Probst [Fri, 9 Oct 2009 10:34:53 +0000 (10:34 -0000)]
2009-10-09 Mark Probst <mark.probst@gmail.com>
* threads.c (ves_icall_System_Threading_Thread_GetAbortExceptionState):
Fix warning.
svn path=/trunk/mono/; revision=143845
Mark Probst [Fri, 9 Oct 2009 10:20:01 +0000 (10:20 -0000)]
2009-10-09 Mark Probst <mark.probst@gmail.com>
* threads.c, object-internals.h, object.c: Move code for
transferring an object to a different domain (via
serialization/remoting) to object.c.
* object.c (call_unhandled_exception_delegate): If the exception
is in a different domain than the delegate, transfer the exception
to that domain.
svn path=/trunk/mono/; revision=143843
Atsushi Eno [Fri, 9 Oct 2009 08:18:33 +0000 (08:18 -0000)]
2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
* WebServiceHost.cs : call base.OnOpening() here too.
* WebScriptServiceHostFactory.cs : call base.OnOpening() here too.
svn path=/trunk/mcs/; revision=143837
Atsushi Eno [Fri, 9 Oct 2009 07:30:39 +0000 (07:30 -0000)]
2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : OnOpening() and OnOpened() require calls
to base methods. This resulted in not a few changes everywhere.
* ChannelDispatcher.cs : OnOpened/OnOpening constraints related
changes were required here too. Actually it simplified code.
* InstanceContext.cs : new constraints on CommunicationObject
required calls to base methods.
* ChannelFactory.cs : ditto. Actually changed timing to call
Open() on the internal factory.
* ServiceHostBase.cs : removed DoOpen() which is almost extra now.
Added temporary IMetadataExchange workaround.
svn path=/trunk/mcs/; revision=143829
Atsushi Eno [Fri, 9 Oct 2009 03:24:20 +0000 (03:24 -0000)]
2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
* ISO2022JP.cs : simply output wrong escape sequence bytes to the
output (like .NET does).
* I18N.CJK.Test.cs : added test for iso-2022-jp wrong esc sequences.
svn path=/trunk/mcs/; revision=143819
Zoltan Varga [Thu, 8 Oct 2009 23:10:25 +0000 (23:10 -0000)]
2009-10-09 Zoltan Varga <vargaz@gmail.com>
* Makefile (AOT_IN_PROFILES): Enable this in the net 2.0/4.0 profile.
svn path=/trunk/mcs/; revision=143815
Sebastien Pouliot [Thu, 8 Oct 2009 19:30:19 +0000 (19:30 -0000)]
2009-10-08 Sebastien Pouliot <sebastien@ximian.com>
* StackFrame.cs: Introduce a new GetSecureFileName method that
will deal with CAS (regular framework) and will remove the path
(for Moonlight) on a stack frame.
* StackTrace.cs: Use the new StackFrame.GetSecureFileName to
simplify logic
svn path=/trunk/mcs/; revision=143802
Sebastien Pouliot [Thu, 8 Oct 2009 19:04:43 +0000 (19:04 -0000)]
2009-10-08 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
AssemblyName,AssemblyBuilderAccess,bool) since it is not part
of SL. Provide a ToString implementation similar to Silverlight
for Moonlight (and without directly using an icall)
svn path=/trunk/mcs/; revision=143799
Marek Safar [Thu, 8 Oct 2009 15:39:40 +0000 (15:39 -0000)]
2009-10-08 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs (Empty): Optimized allocation.
svn path=/trunk/mcs/; revision=143778
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
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
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
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
Marek Safar [Thu, 8 Oct 2009 10:54:52 +0000 (10:54 -0000)]
Updated.
svn path=/trunk/mcs/; revision=143753
Marek Safar [Thu, 8 Oct 2009 10:54:39 +0000 (10:54 -0000)]
Error reporting.
svn path=/trunk/mcs/; revision=143752
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
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
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