Commits on Aug 21, 2009
  1. 2009-08-20 Rodrigo Kumpera <>

    	* metadata-verify.c (verify_assembly_table): Accept 0x10 as a valid
    	bit for assembly flags. MS is ok with it but there is no spec anywhere
    	on its mean
    svn path=/trunk/mono/; revision=140392
    kumpera committed Aug 21, 2009
  2. 2009-08-19 Rodrigo Kumpera <>

    	* class.c (mono_class_create_from_typedef): Emit profiler events
    	in all cases.
    svn path=/trunk/mono/; revision=140391
    kumpera committed Aug 21, 2009
Commits on Aug 20, 2009
  1. 2009-08-21 Zoltan Varga <>

    	* mini-arm.c (mono_arch_get_global_int_regs): Avoid using V5 as a
    	global register in methods with calls, since the calls can go through
    	a static rgctx trampoline which doesn't save it.
    svn path=/trunk/mono/; revision=140389
    vargaz committed Aug 20, 2009
  2. * (man_MANS): Add xbuild.1

    * xbuild.1: New.
    svn path=/trunk/mono/; revision=140383
    radical committed Aug 20, 2009
  3. 2009-08-20 Marek Habersack <>

    	* WebConfigurationManager.cs: GetSection does not use
    	FindWebConfig to get the virtual path to open configuration for -
    	doing so would make the configuration system ignore <location>
    	sections. Fixes bug #482181
    svn path=/trunk/mcs/; revision=140375
    grendello committed Aug 20, 2009
  4. Fix for tests I broke yesterday

    svn path=/trunk/mcs/; revision=140371
    grendello committed Aug 20, 2009
  5. 2009-08-20 Geoff Norton <>

    	* Socket_2_1.cs: Disable ipv6 on monotouch.
    svn path=/trunk/mcs/; revision=140368
    Geoff Norton committed Aug 20, 2009
  6. Fix bug #531926

    * xbuild/Microsoft.Common.targets: Add $(ConfigurationName)
    and $(PlatformName) default values.
    Move CoreCompile to a Compile target with corresponding
    Before/After hooks and *DependsOn.
    Add Pre/PostBuildEvents handling.
    svn path=/trunk/mcs/; revision=140367
    radical committed Aug 20, 2009
  7. * Engine.cs (EndProjectBuild): Use the @succeeded argument

    instead of hardcoding 'true'.
    * Target.cs (Build): Add an overload to return executeOnErrors
    value for the target executed. If building dependencies fails,
    and executeOnErrors is true, then execute OnError tasks.
    Add the new param to ..
    (BuildDependencies): this, ..
    (DoBuild): and this.
    (GetDependencies): Improve error message and variable name.
    (ExecuteOnErrors): Honor OnError tag's Condition also.
    * TaskBatchingImpl.cs (Run): Correctly set executeOnErrors param.
    svn path=/trunk/mcs/; revision=140366
    radical committed Aug 20, 2009
  8. Unbreak the 4.0 build

    svn path=/trunk/mcs/; revision=140364
    grendello committed Aug 20, 2009
  9. 2009-08-20 Sebastien Pouliot <>

    	* SslStream.cs : Always use/provide a X509Chain even if this 
    	duplicates some of the old/existing logic of Mono.Security.
    	This makes it possible to provide a callback using 
    svn path=/trunk/mcs/; revision=140359
    Sebastien Pouliot committed Aug 20, 2009
  10. 2009-08-20 Sebastien Pouliot <>

    	* TlsServerCertificate.cs: If no usage information is available then
    	assume it's ok for SSL since we'll (later) check that the CN contains
    	a host name (that match the server) and such a certificate wouldn't
    	be much useful for anything but SSL/TLS. Fix the new
    	certificate usage failure.
    svn path=/trunk/mcs/; revision=140358
    Sebastien Pouliot committed Aug 20, 2009
  11. 2009-08-20 Sebastien Pouliot <>

    	* SmtpClient.cs: Honor ServicePointManager.
    	ServerCertificateValidationCallback when provided
    svn path=/trunk/mcs/; revision=140347
    Sebastien Pouliot committed Aug 20, 2009
  12. 2009-08-20 Atsushi Enomoto <>

    	* NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
    	  NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
    	  ongoing works, not working at all yet.
    	* System.ServiceModel.dll.sources: add more named pipe files.
    svn path=/trunk/mcs/; revision=140341
    atsushieno committed Aug 20, 2009
  13. 2009-08-20 Atsushi Enomoto <>

    	* TcpChannelListener.cs, TcpReplyChannel.cs :
    	  cosmetic cleanup and corrections.
    svn path=/trunk/mcs/; revision=140340
    atsushieno committed Aug 20, 2009
  14. 2009-08-20 Atsushi Enomoto <>

    	* TcpChannelFactory.cs : use expected Via uri.
    	  Remove extra NIE stuff that are implemented in base.
    svn path=/trunk/mcs/; revision=140339
    atsushieno committed Aug 20, 2009
  15. Fix bug #532264.

    In class/Microsoft.Build.Engine:
    	* Microsoft.Build.Engine.dll.sources: Add tools/xbuild/SolutionParser.cs
    In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
    	Fix bug #532264
    	* Project.cs (Load): Add support for loading .sln files.
    In tools/xbuild:
    	Fix bug #532264.
    	* Main.cs: Dont generate .sln.proj, project.Load can handle
    	.sln directly now. Show stack trace for exceptions if logger
    	verbosity is > normal
    	* SolutionParser.cs (ParseSolution): Add a param for a raise
    	warning delegate. Use Dictionary.TryGetValue, key might not
    	be present.
    svn path=/trunk/mcs/; revision=140334
    radical committed Aug 20, 2009
  16. 2009-08-20 Atsushi Enomoto <>

    	* TcpDuplexSessionChannel.cs : remove extra code.
    svn path=/trunk/mcs/; revision=140332
    atsushieno committed Aug 20, 2009
  17. 2009-08-20 Atsushi Enomoto <>

    	* PeerDuplexChannel.cs : ongoing implementation towards get callback
    	  replies on peer connector clients (not working as duplex client
    	  callback is not working yet).
    svn path=/trunk/mcs/; revision=140329
    atsushieno committed Aug 20, 2009
  18. 2009-08-20 Atsushi Enomoto <>

    	* ClientRuntimeChannel.cs : implement async OnBegin/EndOpen like close.
    	  Add FIXME and OnOpen() override on duplex channel.
    svn path=/trunk/mcs/; revision=140328
    atsushieno committed Aug 20, 2009
  19. 2009-08-20 Atsushi Enomoto <>

    	* ServiceHostBase.cs : support UnknownMessageReceived (used by
    	* ChannelDispatcher.cs : handle unknown message in host event.
    svn path=/trunk/mcs/; revision=140324
    atsushieno committed Aug 20, 2009
  20. 2009-08-20 Atsushi Enomoto <>

    	* TcpDuplexSessionChannel.cs : in callback client channels,
    	  OperationContext.IncomingMessageHeaders is null.
    svn path=/trunk/mcs/; revision=140320
    atsushieno committed Aug 20, 2009
  21. 2009-08-20 Atsushi Enomoto <>

    	* OperationContext.cs, OperationContextScope.cs :
    	  implement IsUserContext.
    	* OperationContextTest.cs : new.
    	* System.ServiceModel_test.dll.sources: add OperationContextTest.cs.
    svn path=/trunk/mcs/; revision=140319
    atsushieno committed Aug 20, 2009
  22. 2009-08-20 Atsushi Enomoto <>

    	* DuplexChannelFactory.cs, ChannelFactory_1.cs: with static factory
    	  methods, they should close the factory when the channel is closed,
    	  but nonstatic CreateChannel() could be called more than once, so
    	  do not always close it.
    	* ClientRuntimeChannel.cs : take OperationContext.Current into
    	  consideration (it could be created by users).
    svn path=/trunk/mcs/; revision=140316
    atsushieno committed Aug 20, 2009
  23. 2009-08-20 Atsushi Enomoto <>

    	* MessageHeaders.cs : duplicate check was sloppy.
    	* MessageHeadersTest.cs : added a couple od duplicate tests. Fixed
    	  non-working test output.
    svn path=/trunk/mcs/; revision=140315
    atsushieno committed Aug 20, 2009
  24. 2009-08-20 Gonzalo Paniagua Javier <>

    	* statement.cs: avoid nullref when the return value of GetEnumerator()
    	does not contain any MoveNext() method.
    svn path=/trunk/mcs/; revision=140314
    gonzalop committed Aug 20, 2009
Commits on Aug 19, 2009
  1. * BuildTask.cs (Execute): Use task_logger only after the task

    has been initialized. Catch and report task loading errors.
    * Target.cs (DoBuild): Dont rethrow the exception, and emit
    the stacktrace as a low importance message.
    svn path=/trunk/mcs/; revision=140302
    radical committed Aug 19, 2009
  2. 2009-08-18 Marek Habersack <>

    	* ControlBuilder.cs: Location property makes a copy of assigned
    	ILocation now.
    2009-08-20  Marek Habersack  <>
    	* ControlAdapter.cs: check if Control isn't null before using it.
    	CreateChildControls () must forward call to the control. Fixes bug
    2009-08-20  Marek Habersack  <>
    	* ControlAdapterTest.cs: added test for bug #517172
    svn path=/trunk/mcs/; revision=140299
    grendello committed Aug 19, 2009
  3. 2009-08-19 Rodrigo Kumpera <>

    	* New test for errors related to loading
    	type and method constraints.
    svn path=/trunk/mono/; revision=140298
    kumpera committed Aug 19, 2009
  4. 2009-08-19 Rodrigo Kumpera <>

    	* icall.c (ves_icall_Type_GetMethodsByName): Don't leak loader errors.
    	Release memory on failure.
    svn path=/trunk/mono/; revision=140297
    kumpera committed Aug 19, 2009
  5. 2009-08-19 Rodrigo Kumpera <>

    	* class-internals.h: Add mono_metadata_load_generic_param_constraints_full
    	to the internal API.
    	* metadata.c (get_constraints): Use a single-linked table as we don't
    	traverse it backward. Fail and return FALSE if only of the contraint types
    	is not found.
    	* metadata.c (mono_metadata_load_generic_param_constraints_full): Identical
    	to mono_metadata_load_generic_param_constraints except for having a return value.
    	This has to be done since the later is part of the public API.
    	* class.c (mono_class_create_from_typedef): Properly check the loading of constrains
    	and fail the type.
    	* loader.c (mono_get_method_from_token): Properly check the loading of constraints
    	and fail the method.
    svn path=/trunk/mono/; revision=140296
    kumpera committed Aug 19, 2009
  6. 2009-08-19 Zoltan Varga <>

    	* mini-arm.c (mono_arch_context_get_int_reg): Handle SP as well.
    svn path=/trunk/mono/; revision=140295
    vargaz committed Aug 19, 2009
  7. 2009-08-19 Zoltan Varga <>

    	* mini-arm.c (mono_arch_context_get_int_reg): Handle SP as well.
    svn path=/trunk/mono/; revision=140294
    vargaz committed Aug 19, 2009
  8. * xbuild/Microsoft.Common.targets (ResolveReferences*): Add

    a *DependsOn property and Before/After hooks. Change output
    of ResolvedFiles to @(ReferencePath).
    * xbuild/Microsoft.CSharp.targets (Csc): Use @(ReferencePath)
    for references.
    svn path=/trunk/mcs/; revision=140291
    radical committed Aug 19, 2009
  9. Final piece of explicit numeric group support

    * parser.cs (gap): New.
    (GetMapping): Return it.
    (ResolveReferences): Collect explicit numeric groups which may not
    match their indices.
    (HandleExplicitNumericGroups): New.  Process the above list to
    assign appropriate indices, and compute the correct value of 'gap'.
    svn path=/trunk/mcs/; revision=140290
    harinath committed Aug 19, 2009