Zoltan Varga [Fri, 14 Aug 2009 22:52:55 +0000 (22:52 -0000)]
2009-08-15 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_unwind_info): Handle the case when the
MonoJitInfo doesn't belong to its methods aot image.
svn path=/trunk/mono/; revision=139975
Rodrigo Kumpera [Fri, 14 Aug 2009 22:29:03 +0000 (22:29 -0000)]
2009-08-14 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (mono_loader_error_prepare_exception): Handle missing field
errors with no class set.
* loader.c (field_from_memberref): If the field signature is of the wrong
type fail with a MissingFieldException instead of a BadImageException as
this is the behavior observed on MS.
svn path=/trunk/mono/; revision=139974
Rodrigo Kumpera [Fri, 14 Aug 2009 22:28:53 +0000 (22:28 -0000)]
2009-08-14 Rodrigo Kumpera <rkumpera@novell.com>
loader.c (field_from_memberref): Don't crash if either the field
signature or the typespec class are invalid.
svn path=/trunk/mono/; revision=139973
Rodrigo Kumpera [Fri, 14 Aug 2009 22:28:43 +0000 (22:28 -0000)]
2009-08-14 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verifier_load_field): Don't allow field related
ops to reference fields on generic type definition.
svn path=/trunk/mono/; revision=139972
Marek Habersack [Fri, 14 Aug 2009 21:38:29 +0000 (21:38 -0000)]
2009-08-14 Marek Habersack <mhabersack@novell.com>
* BuildManagerDirectoryBuilder.cs: when VirtualPathProvider
reports a virtual directory doesn't exist, try to get the
requested virtual path using VirtualPathProvider.GetFile. Fixes
#525974
svn path=/trunk/mcs/; revision=139969
Massimiliano Mantione [Fri, 14 Aug 2009 20:38:23 +0000 (20:38 -0000)]
Flush buffers synchronously so the GUI knows when we are done.
svn path=/trunk/mono/; revision=139966
Massimiliano Mantione [Fri, 14 Aug 2009 20:22:00 +0000 (20:22 -0000)]
Added user thread reading commands from a local tcp port.
svn path=/trunk/mono/; revision=139964
Zoltan Varga [Fri, 14 Aug 2009 19:55:47 +0000 (19:55 -0000)]
2009-08-14 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_allocate_vars): Use SP as the default frame reg.
* mini-arm.c: Fix warnings.
svn path=/trunk/mono/; revision=139962
Atsushi Eno [Fri, 14 Aug 2009 19:17:05 +0000 (19:17 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* IPeerConnectorContract.cs : add itself as CallbackContract.
svn path=/trunk/mcs/; revision=139960
Atsushi Eno [Fri, 14 Aug 2009 18:26:50 +0000 (18:26 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
Now simply use connector contract.
* IPeerConnectorContract.cs : remove receiver contract.
svn path=/trunk/mcs/; revision=139958
Ankit Jain [Fri, 14 Aug 2009 17:56:56 +0000 (17:56 -0000)]
Fix bug #530368.
* SolutionParser.cs (AddProjectTargets): If a project name matches one
of the targets that we emit (Build/Clean etc), then rename to
"Solution:<project name>".
svn path=/trunk/mcs/; revision=139936
Ankit Jain [Fri, 14 Aug 2009 17:56:39 +0000 (17:56 -0000)]
* xbuild/Microsoft.Common.targets (AllowUnsafeBlocks): Don't set any
default value.
(OutputPath): Set a default value.
(DeployOutputFiles): Copy only if something available to copy.
svn path=/trunk/mcs/; revision=139935
Miguel de Icaza [Fri, 14 Aug 2009 17:56:29 +0000 (17:56 -0000)]
Fix build
svn path=/trunk/mcs/; revision=139934
Ankit Jain [Fri, 14 Aug 2009 17:55:48 +0000 (17:55 -0000)]
Build projects in correct order and allow for parallel builds.
In tools/xbuild:
* SolutionParser.cs (ProjectInfo.Dependencies): Change to a dictionary
to keep track of corresponding ProjectInfo objects.
(ParseSolution): Refactor to populate the ProjectInfo.Dependencies
dictionary. Use AddBuildLevels to emit build levels to allow
parallel builds.
(AddProjectTargets): Dependency's projectInfo is directly available now.
(AddBuildLevels): New. Emit items named BuildLevelN, where each level
has projects that can be built in parallel. Lower levels represent
dependencies for higher levels.
(AddSolutionTargets): Instead of using CallTarget, directly use MSBuild
task with the new BuildLevelN stuff. Also tell the user about disabled
projects or missing project configs.
(TopologicalSort): New.
(Insert): New. Based on code from monodevelop.
In tools/xbuild/tests:
* standalone/Project01: Update .sln.proj file.
svn path=/trunk/mcs/; revision=139933
Zoltan Varga [Fri, 14 Aug 2009 17:04:32 +0000 (17:04 -0000)]
2009-08-14 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arm_emit_load_imm): Only emit a movt if needed.
svn path=/trunk/mono/; revision=139930
Rodrigo Kumpera [Fri, 14 Aug 2009 14:46:46 +0000 (14:46 -0000)]
2009-08-14 Rodrigo Kumpera <rkumpera@novell.com>
*unverifiable_ldobj_with_generic_type_definition.il: Regression test for
bug #531237.
svn path=/trunk/mono/; revision=139924
Rodrigo Kumpera [Fri, 14 Aug 2009 14:46:36 +0000 (14:46 -0000)]
2009-08-14 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Add new warning level for errors specified
by ECMA 335 but that MS ignores.
* metadata-verify.c (verify_method_table): Make compiler controled
visibility + (rt)specialname error a warning as MS ignores this. Ignoring
this check is safe because the end result will only be some visibility
exceptions been thrown.
svn path=/trunk/mono/; revision=139923
Rodrigo Kumpera [Fri, 14 Aug 2009 14:46:25 +0000 (14:46 -0000)]
2009-08-14 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (get_boxable_mono_type): Don't allow the
use of the generic type definition on boxed type positions.
Fixes #531237.
svn path=/trunk/mono/; revision=139922
Mark Probst [Fri, 14 Aug 2009 14:10:25 +0000 (14:10 -0000)]
2009-08-14 Mark Probst <mark.probst@gmail.com>
* threadpool.c: Make sure no cross-domain references remain in
ares_htable or the arrays that are thrown away when resizing.
svn path=/trunk/mono/; revision=139921
Mark Probst [Fri, 14 Aug 2009 13:50:26 +0000 (13:50 -0000)]
2009-08-14 Mark Probst <mark.probst@gmail.com>
* appdomain.c, metadata-internals.h, image.c: In MonoImage add a
list of classes for which we have to unregister reflection_info
with the GC and which are not in the namespace cache.
* reflection.c (mono_reflection_initialize_generic_parameter): Add
the class to the list.
svn path=/trunk/mono/; revision=139920
Zoltan Varga [Fri, 14 Aug 2009 13:49:23 +0000 (13:49 -0000)]
2009-08-14 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arm_emit_load_imm): Use movt/movw if the cpu
supports it.
svn path=/trunk/mono/; revision=139919
Zoltan Varga [Fri, 14 Aug 2009 13:49:01 +0000 (13:49 -0000)]
2009-08-14 Zoltan Varga <vargaz@gmail.com>
* arm/arm-codegen.h: Add armv6 MOVW/MOVT.
svn path=/trunk/mono/; revision=139918
Marek Safar [Fri, 14 Aug 2009 13:47:37 +0000 (13:47 -0000)]
2009-08-14 Marek Safar <marek.safar@gmail.com>
* *.cs: Removed TypeContainer and ContainerType from EmitContext.
svn path=/trunk/mcs/; revision=139917
Marek Safar [Fri, 14 Aug 2009 13:46:47 +0000 (13:46 -0000)]
New test.
svn path=/trunk/mcs/; revision=139916
Mark Probst [Fri, 14 Aug 2009 13:21:05 +0000 (13:21 -0000)]
2009-08-14 Mark Probst <mark.probst@gmail.com>
* domain.c (mono_domain_free): Unregister the GC roots in
MonoDomain.
svn path=/trunk/mono/; revision=139915
Atsushi Eno [Fri, 14 Aug 2009 12:42:49 +0000 (12:42 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
svn path=/trunk/mcs/; revision=139914
Atsushi Eno [Fri, 14 Aug 2009 12:38:59 +0000 (12:38 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* IPeerConnectorContract.cs : add Disconnect() to receiver contract.
svn path=/trunk/mcs/; revision=139913
Atsushi Eno [Fri, 14 Aug 2009 12:37:01 +0000 (12:37 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs : do not try to compare dead connection's
IPEndPoint (it raises an error).
svn path=/trunk/mcs/; revision=139912
Atsushi Eno [Fri, 14 Aug 2009 12:35:24 +0000 (12:35 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : EndpointNotFoundException message could
be a bit kindful.
svn path=/trunk/mcs/; revision=139911
Atsushi Eno [Fri, 14 Aug 2009 12:34:15 +0000 (12:34 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : allow null header value on each specific setter.
svn path=/trunk/mcs/; revision=139910
Atsushi Eno [Fri, 14 Aug 2009 12:30:19 +0000 (12:30 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* OperationContextScope.cs : check null arg.
svn path=/trunk/mcs/; revision=139909
Marek Safar [Fri, 14 Aug 2009 12:27:31 +0000 (12:27 -0000)]
2009-08-14 Marek Safar <marek.safar@gmail.com>
* decl.cs, expression.cs, namespace.cs, ecore.cs, class.cs,
codegen.cs: Add IResolveContext::LookupExtensionMethod.
svn path=/trunk/mcs/; revision=139908
Marek Safar [Fri, 14 Aug 2009 11:49:49 +0000 (11:49 -0000)]
Updated.
svn path=/trunk/mcs/; revision=139907
Marek Safar [Fri, 14 Aug 2009 10:58:30 +0000 (10:58 -0000)]
2009-08-14 Marek Safar <marek.safar@gmail.com>
* Type.cs: Made IsClass work under compiler context.
svn path=/trunk/mcs/; revision=139905
Atsushi Eno [Fri, 14 Aug 2009 10:10:48 +0000 (10:10 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
get local and remote address of connected counterpart to get
callback channel connected.
* PeerDuplexChannel.cs : remove FIXME wrt above.
svn path=/trunk/mcs/; revision=139903
Atsushi Eno [Fri, 14 Aug 2009 10:07:48 +0000 (10:07 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* ServiceRuntimeChannel.cs : return timeouts that are set at
dispatch runtime later than its .ctor(). Provide ListenUri too.
svn path=/trunk/mcs/; revision=139902
Atsushi Eno [Fri, 14 Aug 2009 10:06:45 +0000 (10:06 -0000)]
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* AllEnums.cs : add AddressFilterMode and SupportedAddressingMode.
* ServiceBehaviorAttribute.cs : added missing properties.
svn path=/trunk/mcs/; revision=139901
Marek Habersack [Fri, 14 Aug 2009 02:01:12 +0000 (02:01 -0000)]
2009-08-14 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: when CreateSubBuilder is called on a builder
which is supposed to treat its children as properties and the
default property builder is defined, first check if the tag which
has just been parsed isn't a template property. If it is, don't
use the default property builder, instead create a template
property builder directly. Fixes bug #527753
svn path=/trunk/mcs/; revision=139895
Ankit Jain [Thu, 13 Aug 2009 23:28:55 +0000 (23:28 -0000)]
Add support for resolving pkg-config provided assemblies.
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
PcFileCache.cs from md.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* PcFileCache.cs: New. From monodevelop.
* AssemblyResolver.cs (ResolvePkgConfigReference): New. Use PcFileCache
to resolve assembly references.
(AssemblyNamesCompatible): If SpecificVersion is false, then compare
only simple names.
(GetResolvedReference): Rename default_value to default_copy_local_value.
(Cache): New.
(PcFileCacheContext): New.
(SearchPath): Add 'PkgConfig' to the enum.
* ResolveAssemblyReference.cs: Add support for '{PkgConfig}'. Update
messages.
* ResolvedReference.cs (FoundInSearchPathToString): Create from ..
(FoundInSearchPathAsString): .. this. Change this to a property to
allow custom "found in .. " messages.
In tools/xbuild:
* xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add
'{PkgConfig}' to SearchPaths.
svn path=/trunk/mcs/; revision=139892
Gonzalo Paniagua Javier [Thu, 13 Aug 2009 22:12:18 +0000 (22:12 -0000)]
2009-08-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs:
* WebConnectionStream.cs: if there's an error writing the headers from
a buffered request, propagate the error instead of hiding it and
causing a different one later (ie, ObjectDisposedException instead of
the original WebException). This happened when posting without
Content-Length set to an HTTPS url without validating the server
certificate.
svn path=/trunk/mcs/; revision=139885
Marek Safar [Thu, 13 Aug 2009 20:53:51 +0000 (20:53 -0000)]
More tests.
svn path=/trunk/mcs/; revision=139873
Marek Safar [Thu, 13 Aug 2009 20:53:33 +0000 (20:53 -0000)]
2009-08-13 Marek Safar <marek.safar@gmail.com>
* decl.cs: Look in PartialContainer for parent type parameters.
svn path=/trunk/mcs/; revision=139872
Jonathan Pryor [Thu, 13 Aug 2009 17:40:13 +0000 (17:40 -0000)]
* Monodoc/provider.cs: Add a RootTree.AddSource(string) method, so that
additional directories can be checked for .source file loading.
svn path=/trunk/mcs/; revision=139862
Marek Safar [Thu, 13 Aug 2009 16:35:49 +0000 (16:35 -0000)]
2009-08-13 Marek Safar <marek.safar@gmail.com>
* decl.cs, namespace.cs, ecore.cs, class.cs, attribute.cs,
codegen.cs: Add IResolveContext::LookupTypeParameter.
svn path=/trunk/mcs/; revision=139857
Marek Safar [Thu, 13 Aug 2009 16:29:48 +0000 (16:29 -0000)]
New test.
svn path=/trunk/mcs/; revision=139856
Carlos Alberto Cortez [Thu, 13 Aug 2009 15:36:14 +0000 (15:36 -0000)]
2009-08-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* AsyncMethodResult.cs: Store a exception field in case the called
method actually caused an exception. This way we can throw it later.
* XplatUIDriver.cs: Check if the async method result has an exception
- throw it if needed.
The idea is that Control.Invoke throws the exception from the thread
that called it, not the main MWF thread.
Patch by Tom Spink <tspink@gmail.com>. Fixes #497175.
svn path=/trunk/mcs/; revision=139853
Andrés G. Aragoneses [Thu, 13 Aug 2009 15:18:12 +0000 (15:18 -0000)]
* tuner/Mono.Tuner/MoonlightA11yProcessor.cs: Don't whitelist SC
attribs for base methods that are on our assembly.
This finally makes a11y work without security disabled. The summary of
the troubles encountered:
- GetHashCode() -> base method not SC. (r139589+r139649)
- Dispose() -> interface method not SC. (r139796)
- get_Handle() -> interface method SC while impl not SC. (this commit)
svn path=/trunk/mcs/; revision=139852
Jonathan Pryor [Thu, 13 Aug 2009 14:53:14 +0000 (14:53 -0000)]
* Monodoc/provider.cs: Make RootTree.LoadTree() just call
RootTree.LoadTree(null), and move the .config-file parsing into
.LoadTree(string) (for when basedir==null). This will simplify the
logic of monodoc, as we want to add the ability to monodoc to use
any arbitrary directory, and this will remove the need to do
`if (d==null) RootTree.LoadTree(); else RootTree.LoadTree(d)`.
This also conforms to FxDG guidelines.
svn path=/trunk/mcs/; revision=139850
Marek Safar [Thu, 13 Aug 2009 12:29:41 +0000 (12:29 -0000)]
2009-08-13 Marek Safar <marek.safar@gmail.com>
* lambda.cs, expression.cs, statement.cs, namespace.cs, ecore.cs:
Moved resolved logic from Emit to Resolve.
svn path=/trunk/mcs/; revision=139846
Atsushi Eno [Thu, 13 Aug 2009 10:26:45 +0000 (10:26 -0000)]
2009-08-13 Atsushi Enomoto <atsushi@ximian.com>
* class/System.Json/Makefile: add System.Json to net_4_0 profile.
* class/Makefile : update profile check.
svn path=/trunk/mcs/; revision=139835
Marek Safar [Thu, 13 Aug 2009 08:30:36 +0000 (08:30 -0000)]
2009-08-13 Marek Safar <marek.safar@gmail.com>
* parameter.cs, decl.cs, roottypes.cs, class.cs, attribute.cs,
codegen.cs: Reworked atttributes handling of ResolveContext.
svn path=/trunk/mcs/; revision=139833
Jonathan Pryor [Thu, 13 Aug 2009 03:20:10 +0000 (03:20 -0000)]
* Test/DocTest-v1.cs: Add a comment which uses <format/>, to test html
escaping behavior.
* Resources/monodoc-ecma.xsd: Permit <format/> in various elements.
* Test/en.expected.importslashdoc/Mono.DocTest/DocAttribute.xml,
Test/html.expected/Mono.DocTest/DocAttribute.html,
Test/msxdoc-expected.importslashdoc.xml: Flush.
svn path=/trunk/mcs/; revision=139831
Rodrigo Kumpera [Thu, 13 Aug 2009 00:01:28 +0000 (00:01 -0000)]
2009-08-12 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_reflection_type_get_handle): Fix typo.
svn path=/trunk/mono/; revision=139823
Marek Habersack [Wed, 12 Aug 2009 23:50:32 +0000 (23:50 -0000)]
2009-08-13 Marek Habersack <mhabersack@novell.com>
* CodeTypeReferenceTest.cs: added test for bug #523341
2009-08-13 Marek Habersack <mhabersack@novell.com>
* CodeTypeReference.cs: generic types specialized on arrays must
not be treated as array declarations. Fixes bug #523341
svn path=/trunk/mcs/; revision=139819
Marek Habersack [Wed, 12 Aug 2009 23:50:16 +0000 (23:50 -0000)]
2009-08-13 Marek Habersack <mhabersack@novell.com>
* Makefile: build only in the 2.0 profile, or otherwise we'll end
up with the resulting assembly referencing the 4.0 corlib.
svn path=/trunk/mcs/; revision=139818
Rodrigo Kumpera [Wed, 12 Aug 2009 23:38:04 +0000 (23:38 -0000)]
2009-08-12 Rodrigo Kumpera <rkumpera@novell.com>
* bug-528055.il: Regression test for #528055.
svn path=/trunk/mono/; revision=139816
Rodrigo Kumpera [Wed, 12 Aug 2009 23:37:51 +0000 (23:37 -0000)]
2009-08-12 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: Add mono_class_get_field_from_name_full which does
the same as mono_class_get_field_from_name but does check field
signature as well.
* class-internals.h: Export mono_class_get_field_from_name_full as
part of the internal API.
* loader.c (field_from_memberref): Search fields by name and signature
as it's valid to have two fields with same name but different types.
Fixes #528055.
svn path=/trunk/mono/; revision=139815
Rodrigo Kumpera [Wed, 12 Aug 2009 23:37:38 +0000 (23:37 -0000)]
2009-08-10 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h: Add a bunch of temporary icalls to MonoGenericClass.
* reflection.c (mono_reflection_type_get_handle): Handle MonoGenericClass.
* reflection.c (encode_cattr_value): Use mono_reflection_type_get_handle to encode
System.Type.
svn path=/trunk/mono/; revision=139814
Zoltan Varga [Wed, 12 Aug 2009 23:30:32 +0000 (23:30 -0000)]
2009-08-13 Zoltan Varga <vargaz@gmail.com>
* GCHandleTest.cs: Add a test for null GC handles with type
WeakTrackResurrection.
svn path=/trunk/mcs/; revision=139813
Zoltan Varga [Wed, 12 Aug 2009 23:29:18 +0000 (23:29 -0000)]
2009-08-13 Zoltan Varga <vargaz@gmail.com>
* gc.c (GCHandle_CheckCurrentDomain): Moved this here from icall.c.
* boehm-gc.c (mono_gc_add_weak_track_handle): Handle nulls.
svn path=/trunk/mono/; revision=139812
Zoltan Varga [Wed, 12 Aug 2009 23:29:11 +0000 (23:29 -0000)]
2009-08-13 Zoltan Varga <vargaz@gmail.com>
* gc.c (GCHandle_CheckCurrentDomain): Moved this here from icall.c.
* boehm-gc.c (mono_gc_add_weak_track_handle): Handle nulls.
svn path=/trunk/mono/; revision=139811
Andrés G. Aragoneses [Wed, 12 Aug 2009 20:53:48 +0000 (20:53 -0000)]
* tuner/Mono.Tuner/MoonlightA11yProcessor.cs: Look for base methods in
interfaces as well.
svn path=/trunk/mcs/; revision=139796
Jonathan Pryor [Wed, 12 Aug 2009 20:42:42 +0000 (20:42 -0000)]
* mdoc/Makefile: Add ../monodoc/Resources/mdoc-html-format.xsl as a
resource.
* monodoc/Resources/mdoc-html-format: Added; XSLT file to match
"//format[@type='text/html']//*", to support "pass-through"
semantics. This allows you to use actual HTML within your
documentation and have it visible to HTML-supporting output formats.
WARNING: Use as a "last resort" -- this is primarily intended for
importing existing HTML w/o needing lots of extra logic to convert
into mdoc format XML first (with a corresponding loss of fidelity).
However, it means that if (when) we get non-HTML output format
support, the <format type="text/html" /> blocks WILL be skipped for
that non-HTML output format.
For example, the forever-on-the-back-burner ROFF output support --
to remove the use of lynx, as no one ever has it installed --
wouldn't be able to support HTML format, so it would skip these
<format type="text/html"/> blocks.
Consider <format /> the moral equivalent of Perl POD's
'=begin formatname' block; see perlpod(1).
* monodoc/Resources/mdoc-html-utils.xsl: <xsl:import/>
mdoc-html-format.xsl. It *must* be imported (NOT included) so that
it will have a lower priority than other <template/>s, thus allowing
the HTML formatter to <xsl:apply-templates/> which then use the
"normal" rules. This allows:
<format type="text/html">
<p><see cref="T:System.String" /></p>
</format>
to work as expected.
* monodoc/Makefile: Add mdoc-html-format.xsl as a resource.
svn path=/trunk/mcs/; revision=139795
Carlos Alberto Cortez [Wed, 12 Aug 2009 19:52:12 +0000 (19:52 -0000)]
2009-08-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DataGrid.cs: In mouse move we need to shift the selection in case
the pointer is on the row headers.
Fixes #323052.
svn path=/trunk/mcs/; revision=139791
Zoltan Varga [Wed, 12 Aug 2009 18:20:24 +0000 (18:20 -0000)]
2009-08-12 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (arch_emit_imt_thunk): Rework the arm code to
avoid clobbering IP.
svn path=/trunk/mono/; revision=139784
Marek Safar [Wed, 12 Aug 2009 17:49:41 +0000 (17:49 -0000)]
2009-08-12 Marek Safar <marek.safar@gmail.com>
* decl.cs, ecore.cs, class.cs, attribute.cs, codegen.cs: Pushed
LookupNamespaceOrType to ResolveContext.
svn path=/trunk/mcs/; revision=139780
Zoltan Varga [Wed, 12 Aug 2009 17:04:03 +0000 (17:04 -0000)]
2009-08-12 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Allocate a local to
hold the trampoline argument, so its initial value is available during
debugging.
svn path=/trunk/mono/; revision=139777
Mark Probst [Wed, 12 Aug 2009 14:52:47 +0000 (14:52 -0000)]
2009-08-12 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c, sgen-scan-object.h: Object scanning code factored out
to sgen-scan-object.h, which can be included and parameterized via
macros.
* Makefile.am: sgen-scan-object.h added.
svn path=/trunk/mono/; revision=139768
Marek Safar [Wed, 12 Aug 2009 14:26:36 +0000 (14:26 -0000)]
2009-08-12 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, decl.cs, expression.cs, namespace.cs, ecore.cs,
class.cs: Removed unused parameters and methods.
svn path=/trunk/mcs/; revision=139767
Zoltan Varga [Wed, 12 Aug 2009 13:58:11 +0000 (13:58 -0000)]
2009-08-12 Zoltan Varga <vargaz@gmail.com>
* ResolveEventArgs.cs: Add net 4.0 RequestingAssembly property.
svn path=/trunk/mcs/; revision=139765
Mark Probst [Wed, 12 Aug 2009 13:25:52 +0000 (13:25 -0000)]
2009-08-12 Mark Probst <mark.probst@gmail.com>
* gc.c: #define GC_dont_gc if we're compiling with SGen.
svn path=/trunk/mono/; revision=139764
Mark Probst [Wed, 12 Aug 2009 12:29:17 +0000 (12:29 -0000)]
2009-08-12 Mark Probst <mark.probst@gmail.com>
* domain.c (mono_domain_free): Free a domain's mono_g_hash_tables
before clearing a domain in the GC.
svn path=/trunk/mono/; revision=139762
Mark Probst [Wed, 12 Aug 2009 12:00:10 +0000 (12:00 -0000)]
2009-08-12 Mark Probst <mark.probst@gmail.com>
* exception.c (mono_exception_from_name_domain): Actually create
the exception in the specified domain.
* appdomain.c (mono_domain_create_appdomain_internal): Create the
OutOfMemoryException a bit later so that the domain is inialized
"enough" that it works.
svn path=/trunk/mono/; revision=139761
Mark Probst [Wed, 12 Aug 2009 11:15:52 +0000 (11:15 -0000)]
2009-08-12 Mark Probst <mark.probst@gmail.com>
* threads.c (thread_cleanup): Clean up the cached_culture_info
array to prevent cross-domain references.
svn path=/trunk/mono/; revision=139760
Mark Probst [Wed, 12 Aug 2009 11:03:37 +0000 (11:03 -0000)]
2009-08-12 Mark Probst <mark.probst@gmail.com>
* mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
rehash the table after marking.
svn path=/trunk/mono/; revision=139759
Jérémie Laval [Tue, 11 Aug 2009 21:44:25 +0000 (21:44 -0000)]
2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
* Future.cs: Add static to Factory property
svn path=/trunk/mcs/; revision=139739
Andrés G. Aragoneses [Tue, 11 Aug 2009 21:39:05 +0000 (21:39 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Yet another
blacklisted element (SW.dll is not linked).
svn path=/trunk/mcs/; revision=139738
Jérémie Laval [Tue, 11 Aug 2009 21:10:04 +0000 (21:10 -0000)]
2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
In build/common/:
* Consts.cs.in: Add BOOTSTRAP_NET_4_0.
In class/corlib/System.Collections.Concurrent/:
* ConcurrentQueue.cs:
* IProducerConsumerCollection.cs: Add BOOTSTRAP_NET_4_0.
In class/corlib/System.Runtime.CompilerServices/:
* TypeForwardedFromAttribute.cs: Add BOOTSTRAP_NET_4_0.
In class/corlib/System.Threading/:
* Watch.cs:
* SpinWait.cs:
* CountdownEvent.cs:
* CancellationToken.cs:
* ICancelableOperation.cs:
* CancellationTokenSource.cs:
* CancellationTokenRegistration.cs: Add BOOTSTRAP_NET_4_0.
In class/corlib/System/:
* Funcs.cs:
* Action.cs:
* AggregateException.cs: Add BOOTSTRAP_NET_4_0.
svn path=/trunk/mcs/; revision=139736
Raja R Harinath [Tue, 11 Aug 2009 19:11:26 +0000 (19:11 -0000)]
* syntax.cs (BackslashNumber.ResolveReference): Improve ECMAScript semantics.
svn path=/trunk/mcs/; revision=139731
Jérémie Laval [Tue, 11 Aug 2009 18:47:49 +0000 (18:47 -0000)]
2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
* Make Task.WaitAny use safest continuation mechanism rather than old hack
svn path=/trunk/mcs/; revision=139728
Jérémie Laval [Tue, 11 Aug 2009 18:47:31 +0000 (18:47 -0000)]
2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
* Update unit tests
* Moved BlockingCollection and Barrier in System.dll (with assorted fixes)
* Fix wrong signature in TaskFactory<T>
* Update .dll.sources files
* Move AggregateException in System namespace
* Remove While in Parallel
* Correct Wait(CancellationToken) signature in CountdownEvent
* update corlib.dll.sources
svn path=/trunk/mcs/; revision=139727
Ivan Zlatev [Tue, 11 Aug 2009 17:41:28 +0000 (17:41 -0000)]
2009-08-11 Ivan N. Zlatev <contact@i-nz.net>
* SplitContainer.cs: Avoid updating the splitter distance if it hasn't
moved. Updating the distance was causing a re-layout which was resetting
the clicks counter and preventing DoubleClick from every firing.
[Fixes bug #521387]
svn path=/trunk/mcs/; revision=139721
Carlos Alberto Cortez [Tue, 11 Aug 2009 16:13:36 +0000 (16:13 -0000)]
2009-08-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DataGrid.cs: When a new TableStyle is added, don't create new
columns for it unless it is empty - this is the correct way to both
respect the columns if they were provided by our user, or create them
for him in case the column collection is empty.
Fixes #323111.
svn path=/trunk/mcs/; revision=139717
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 15:09:11 +0000 (15:09 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DefaultWsdlHelpGenerator.aspx: the 'Message Layout' can now handle
self-referencing types. Fixes bug #529353.
svn path=/trunk/mono/; revision=139712
Andrés G. Aragoneses [Tue, 11 Aug 2009 14:35:50 +0000 (14:35 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist more
stuff.
svn path=/trunk/mcs/; revision=139706
Andrés G. Aragoneses [Tue, 11 Aug 2009 14:26:46 +0000 (14:26 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist our
bridge.
* tuner/ChangeLog:
svn path=/trunk/mcs/; revision=139705
Paolo Molaro [Tue, 11 Aug 2009 12:40:27 +0000 (12:40 -0000)]
Tue Aug 11 14:38:57 CEST 2009 Paolo Molaro <lupus@ximian.com>
* metadata.c: more documentation for MonoType accessors.
svn path=/trunk/mono/; revision=139702
Gert Driesen [Tue, 11 Aug 2009 11:47:32 +0000 (11:47 -0000)]
* sqlserver7.sql: Added script for SQL Server 7.0, with unicode
encoding (as isql7 does not deal well with utf-8).
svn path=/trunk/mcs/; revision=139701
Atsushi Eno [Tue, 11 Aug 2009 11:27:42 +0000 (11:27 -0000)]
2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
* ClientBase.cs : (ChannelBase) now ClientRuntimeChannel demands an
explicit address.
svn path=/trunk/mcs/; revision=139700
Atsushi Eno [Tue, 11 Aug 2009 11:08:13 +0000 (11:08 -0000)]
2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
* WebChannelFactory.cs : added missing constructors.
svn path=/trunk/mcs/; revision=139699
Marek Safar [Tue, 11 Aug 2009 10:19:48 +0000 (10:19 -0000)]
New test.
svn path=/trunk/mcs/; revision=139698
Marek Safar [Tue, 11 Aug 2009 10:19:13 +0000 (10:19 -0000)]
2009-08-11 Marek Safar <marek.safar@gmail.com>
* generic.cs, lambda.cs, anonymous.cs, statement.cs, generic-mcs.cs,
codegen.cs: Finding the best common type of a set of expressions for
lambda statements.
svn path=/trunk/mcs/; revision=139697
Atsushi Eno [Tue, 11 Aug 2009 08:14:30 +0000 (08:14 -0000)]
2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
* IOperationInvoker.cs : fix interface.
* DefaultOperationInvoker.cs : refresh implementation of the above.
* BaseMessagesFormatter.cs, OperationInvokerHandler.cs :
dependent changes for above.
* ServiceHostBase.cs : use new IOperationInvoker implementation.
* System.ServiceModel.dll.sources: add DefaultOperationInvoker.cs.
svn path=/trunk/mcs/; revision=139695
Atsushi Eno [Tue, 11 Aug 2009 07:20:13 +0000 (07:20 -0000)]
2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
* DataContractSerializerOperationBehavior.cs : add missing members.
svn path=/trunk/mcs/; revision=139694
Atsushi Eno [Tue, 11 Aug 2009 06:59:48 +0000 (06:59 -0000)]
2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
* MetadataExchangeClient.cs : add missing async methods.
svn path=/trunk/mcs/; revision=139692
Atsushi Eno [Tue, 11 Aug 2009 06:47:27 +0000 (06:47 -0000)]
2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
* MetadataResolver.cs : added remaining methods.
* MetadataExchangeClient.cs : a bit of required changes for above.
svn path=/trunk/mcs/; revision=139691
Atsushi Eno [Tue, 11 Aug 2009 06:45:58 +0000 (06:45 -0000)]
2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs :
add Binding properties. Properties are now auto.
* ServiceMetadataExtension.cs : take Binding too to build dispatcher.
svn path=/trunk/mcs/; revision=139690
Raja R Harinath [Tue, 11 Aug 2009 06:30:39 +0000 (06:30 -0000)]
Fix incorrect size definitions where the tail array isn't a list of pointers
* class-internals.h (MONO_SIZEOF_MARSHAL_TYPE): Use offsetof to define size.
* domain-internals.h (MONO_SIZEOF_JIT_INFO): Likewise.
* metadata.h (MONO_SIZEOF_TYPE): Likewise.
* reflection.h (MONO_SIZEOF_CUSTOM_ATTR_INFO): Likewise.
svn path=/trunk/mono/; revision=139689
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 05:26:27 +0000 (05:26 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* reflection.h:
* reflection.c: MONO_SIZEOF_CUSTOM_ATTR_INFO.
svn path=/trunk/mono/; revision=139688
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 05:18:54 +0000 (05:18 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* metadata.c:
* loader.c:
* metadata-internals.h:
* method-builder.c:
* reflection.c: use MONO_SIZEOF_METHOD_HEADER.
svn path=/trunk/mono/; revision=139687