Miguel de Icaza [Wed, 10 Feb 2010 17:23:50 +0000 (17:23 -0000)]
2010-02-09 Miguel de Icaza <miguel@novell.com>
* console-unix.c: On OSX Control-Y is assigned to
VDSUSP (non-Posix), the
suspend-program-next-time-it-tries-to-read-input command (this is
different than C-z, which suspends immediately).
Do the same thing that bash does and ignore this setting,
making our repl/getline support pasting.
svn path=/trunk/mono/; revision=151247
Mark Probst [Wed, 10 Feb 2010 16:59:02 +0000 (16:59 -0000)]
2010-02-10 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Simple plausibility check for scan_starts.
svn path=/trunk/mono/; revision=151245
Mark Probst [Wed, 10 Feb 2010 16:55:54 +0000 (16:55 -0000)]
2010-02-10 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Round up when calculating the number of scan starts.
svn path=/trunk/mono/; revision=151243
Rodrigo Kumpera [Wed, 10 Feb 2010 16:46:15 +0000 (16:46 -0000)]
2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
* PropertyInfoTest.cs: Tests for custom attributes from PropertyInfo::GetIndexParameters.
svn path=/trunk/mcs/; revision=151242
Rodrigo Kumpera [Wed, 10 Feb 2010 16:45:46 +0000 (16:45 -0000)]
2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
* PropertyInfo.cs: Remove a pair of MonoTODO.
* MonoProperty.cs: Implement GetConstantValue and GetRawConstantValue.
svn path=/trunk/mcs/; revision=151241
Rodrigo Kumpera [Wed, 10 Feb 2010 15:04:14 +0000 (15:04 -0000)]
2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c: Export mono_get_object_from_blob.
* object-internals.h: Ditto.
* icall.c: New icall property_info_get_default_value to get the default
value of a property. Since using this is not common, no caching is done.
* icall-def.h: Add new icall.
svn path=/trunk/mono/; revision=151231
Rodrigo Kumpera [Wed, 10 Feb 2010 15:04:03 +0000 (15:04 -0000)]
2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: Add mono_class_get_property_default_value.
* class-internal.h: Export mono_class_get_property_default_value.
svn path=/trunk/mono/; revision=151230
Rodrigo Kumpera [Wed, 10 Feb 2010 15:03:50 +0000 (15:03 -0000)]
2010-02-09 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_image_get_property_info): Encode the default value of a property.
svn path=/trunk/mono/; revision=151229
Marek Safar [Wed, 10 Feb 2010 14:54:39 +0000 (14:54 -0000)]
Track RC API changes.
svn path=/trunk/mcs/; revision=151228
Marek Safar [Wed, 10 Feb 2010 14:53:48 +0000 (14:53 -0000)]
2010-02-10 Marek Safar <marek.safar@gmail.com>
* argument.cs, dynamic.cs, expression.cs: Track API changes.
svn path=/trunk/mcs/; revision=151227
Marek Safar [Wed, 10 Feb 2010 14:52:41 +0000 (14:52 -0000)]
2010-02-10 Marek Safar <marek.safar@gmail.com>
* *.cs: Track RC API changes.
svn path=/trunk/mcs/; revision=151226
Marek Habersack [Wed, 10 Feb 2010 14:02:42 +0000 (14:02 -0000)]
2010-02-10 Marek Habersack <mhabersack@novell.com>
* mono-api-info.cs: added support for extracting and generating
TypeForwardedTo assembly attributes.
svn path=/trunk/mcs/; revision=151224
Paolo Molaro [Wed, 10 Feb 2010 13:49:55 +0000 (13:49 -0000)]
Wed Feb 10 14:48:45 CET 2010 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: introduced critical regions to allow some lockless
operations and increase scalability.
svn path=/trunk/mono/; revision=151223
Ankit Jain [Wed, 10 Feb 2010 13:21:42 +0000 (13:21 -0000)]
* GenerateResource.cs (CompileResourceFile): Check File.Exists
for source file.
Don't build if the target is newer than the source file.
(Execute): Continue building all the resources, even if there
are failures for some files.
svn path=/trunk/mcs/; revision=151222
Ankit Jain [Wed, 10 Feb 2010 12:36:36 +0000 (12:36 -0000)]
Fix bug #558739.
* GenerateResource (Resgen): New. Internal task to run resgen
with MONO_IOMAP=drive .
(Execute): Use the new Resgen task to compile the resources.
svn path=/trunk/mcs/; revision=151210
Ankit Jain [Wed, 10 Feb 2010 12:36:23 +0000 (12:36 -0000)]
* ProcessService.cs (globalEnvironmentVariablesOverride): Use
ProcessStringDictionary instead of StringDictionary.
ProcessStringDictionary retains the case of the keys (env vars
here).
* ToolTask.cs (environmentOverride): Likewise.
svn path=/trunk/mcs/; revision=151209
Ankit Jain [Wed, 10 Feb 2010 12:35:52 +0000 (12:35 -0000)]
* ToolTask.cs (ExecuteTool): Use the virtual method
Standard*LoggingImportance, instead of the underlying field.
(LogEventsFromTextOutput): Use @importance argument for LogMessage.
(LogToolCommand): Remove MonoTODO.
svn path=/trunk/mcs/; revision=151208
Atsushi Eno [Wed, 10 Feb 2010 10:54:28 +0000 (10:54 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : add !NET_2_1.
svn path=/trunk/mcs/; revision=151203
Marek Habersack [Wed, 10 Feb 2010 09:32:59 +0000 (09:32 -0000)]
2010-02-10 Marek Habersack <mhabersack@novell.com>
* XmlSchemaDataImporter.cs: the <connections> element might be
empty - make sure FirstChild of the element is not null before
attempting to use it. Fixes bug #578587
svn path=/trunk/mcs/; revision=151201
Atsushi Eno [Wed, 10 Feb 2010 09:20:39 +0000 (09:20 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : and "To" header is also automatically
added if AddressingVersion is WSA1. This likely fixes bug #577139.
svn path=/trunk/mcs/; revision=151200
Atsushi Eno [Wed, 10 Feb 2010 09:12:06 +0000 (09:12 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
typed UniqueId output.
svn path=/trunk/mcs/; revision=151199
Atsushi Eno [Wed, 10 Feb 2010 08:52:22 +0000 (08:52 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : no need to treat EndpointAddress as a special
case here too.
svn path=/trunk/mcs/; revision=151198
Atsushi Eno [Wed, 10 Feb 2010 08:24:54 +0000 (08:24 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* Constants.cs, EndpointAddress10.cs :
Remove duplicate constant (WSA1).
* MessageHeaders.cs : remove duplicate constant.
svn path=/trunk/mcs/; revision=151197
Atsushi Eno [Wed, 10 Feb 2010 08:10:45 +0000 (08:10 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
EndpointAddress as a special case. Instead, each MessageHeaders
property should convert it to appropriate serializable objects.
(Our DataContractSerializer fails to reject EndpointAddress as
serializable type, so it's rather a preparation step.)
svn path=/trunk/mcs/; revision=151196
Atsushi Eno [Wed, 10 Feb 2010 07:38:23 +0000 (07:38 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, Message.cs : use dictionary string whenever
applicable. The binary output on #577139 is getting closer (no
idea if it is really about binary output though).
svn path=/trunk/mcs/; revision=151194
Atsushi Eno [Wed, 10 Feb 2010 07:36:23 +0000 (07:36 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
* Constants.cs : moved SoapDictionary from BinaryMessageEncoder.
svn path=/trunk/mcs/; revision=151193
Atsushi Eno [Wed, 10 Feb 2010 07:33:42 +0000 (07:33 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : cosmetic attribute reordering.
svn path=/trunk/mcs/; revision=151192
Atsushi Eno [Wed, 10 Feb 2010 07:32:06 +0000 (07:32 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlDictionaryWriter.cs : try to lookup dictionary string in
WriteNode(). This is part of #577139 fix (probably).
svn path=/trunk/mcs/; revision=151191
Atsushi Eno [Wed, 10 Feb 2010 06:05:16 +0000 (06:05 -0000)]
sigh, just disable it. make dist is somehow broken.
svn path=/trunk/mcs/; revision=151190
Carlos Alberto Cortez [Wed, 10 Feb 2010 05:20:05 +0000 (05:20 -0000)]
2010-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: When calculating the layout for the tab pages, take
into account the ImageList size info if it exists, even if it is
empty.
svn path=/trunk/mcs/; revision=151188
Sebastien Pouliot [Wed, 10 Feb 2010 02:41:23 +0000 (02:41 -0000)]
In Assembly:
2010-02-09 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Mono.CompilerServices.SymbolWriter does not
need to access mscorlib.dll internals anymore (ArrayList and
Hashtable)
In .:
2010-02-09 Sebastien Pouliot <sebastien@ximian.com>
* net_2_1_raw_corlib.dll.sources: Add Mono.CompilerServices.
SymbolWriter source files directly into mscorlib 2.1
In System.Reflection.Emit:
2010-02-09 Sebastien Pouliot <sebastien@ximian.com>
* ModuleBuilder.cs: Do not use reflection to create SymbolWriterImpl
for Moonlight since the code is bundled inside mscorlib.dll to avoid
having a non-platform assembly poking the internals of mscorlib.dll
svn path=/trunk/mcs/; revision=151176
Atsushi Eno [Wed, 10 Feb 2010 02:19:28 +0000 (02:19 -0000)]
2010-02-10 Astushi Enomoto <atsushi@ximian.com>
* Makefile: does extra dist fail to accept *.xml ?
svn path=/trunk/mcs/; revision=151175
Atsushi Eno [Wed, 10 Feb 2010 02:11:59 +0000 (02:11 -0000)]
tiny changelog correction.
svn path=/trunk/mcs/; revision=151174
Atsushi Eno [Wed, 10 Feb 2010 02:11:29 +0000 (02:11 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryWriter.cs : for text '0' and '1', write 0x82 and
0x84 instead of 0x99 [0x30|0x31]. This cosmetic fix gives identical
writer output for #577139 (and yet it still doesn't work).
svn path=/trunk/mcs/; revision=151173
Atsushi Eno [Tue, 9 Feb 2010 23:41:46 +0000 (23:41 -0000)]
2010-02-10 Astushi Enomoto <atsushi@ximian.com>
* Makefile: add test xml files to extra dist.
svn path=/trunk/mcs/; revision=151163
Atsushi Eno [Tue, 9 Feb 2010 23:40:18 +0000 (23:40 -0000)]
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: add Test/Resources/Schemas/* to extra dist.
svn path=/trunk/mcs/; revision=151161
Zoltan Varga [Tue, 9 Feb 2010 23:36:47 +0000 (23:36 -0000)]
Really fix the build.
svn path=/trunk/mono/; revision=151159
Gonzalo Paniagua Javier [Tue, 9 Feb 2010 22:55:49 +0000 (22:55 -0000)]
2010-02-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: Fixes for SetMinThreads and SetMaxThreads.
Closes bug #566057.
* exception.c: fix typo in comment.
svn path=/trunk/mono/; revision=151152
Chris Toshok [Tue, 9 Feb 2010 20:52:58 +0000 (20:52 -0000)]
2010-02-09 Chris Toshok <toshok@ximian.com>
* MessageQueue.cs: stub out the ctor that takes a QueueAccessMode.
* QueueAccessMode.cs: new enum.
svn path=/trunk/mcs/; revision=151141
Sebastien Pouliot [Tue, 9 Feb 2010 18:47:40 +0000 (18:47 -0000)]
2010-02-09 Sebastien Pouliot <sebastien@ximian.com>
* XUtil.cs: Avoid using ToLowerInvariant since it is not
available in Silverlight.
svn path=/trunk/mcs/; revision=151136
Chris Toshok [Tue, 9 Feb 2010 17:21:31 +0000 (17:21 -0000)]
2010-02-09 Chris Toshok <toshok@ximian.com>
* XDocument.cs: add the Load (Stream) overloads.
svn path=/trunk/mcs/; revision=151128
Rodrigo Kumpera [Tue, 9 Feb 2010 12:41:41 +0000 (12:41 -0000)]
2010-02-09 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (param_info_get_type_modifiers): Handle the case when the member object is a
property. This happens which instances returned by PropertyInfo::GetIndexParameters ().
* reflection.c (mono_reflection_get_custom_attrs_info): Ditto.
* object-internals.h: Export mono_class_is_reflection_method_or_constructor as part of
the internal API.
Fixes #574434.
svn path=/trunk/mono/; revision=151093
Atsushi Eno [Tue, 9 Feb 2010 11:07:01 +0000 (11:07 -0000)]
2010-02-09 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs : when WSAddressing10 is used, set ReplyTo
and MessageID. (found while fixing #577139).
svn path=/trunk/mcs/; revision=151092
Atsushi Eno [Tue, 9 Feb 2010 09:36:44 +0000 (09:36 -0000)]
2010-02-09 Atsushi Enomoto <atsushi@ximian.com>
* DataContractSerializerMessageContractImporter.cs,
ServiceContractGenerator.cs: ArrayOfXxx does not exist in the type
definition code. Use Xxx[] directly instead.
* WsdlImporterTest.cs : added test for processing ArrayOfXxx types.
* service1.wsdl, schema1.xsd, schema2.xsd : new test files (small
repro for bug #577139).
svn path=/trunk/mcs/; revision=151087
Marek Habersack [Tue, 9 Feb 2010 08:30:59 +0000 (08:30 -0000)]
Re-added sequence files with colons removed from the names
svn path=/trunk/mcs/; revision=151086
Atsushi Eno [Tue, 9 Feb 2010 08:01:48 +0000 (08:01 -0000)]
2010-02-09 Atsushi Enomoto <atsushi@ximian.com>
* XsdDataContractImporter.cs : add appropriate code namespaces
imported from xsd namespace.
* XsdDataContractImporterTest.cs : add test that it gives
appropriate code namespaces.
* schema3.xsd : new test file.
svn path=/trunk/mcs/; revision=151085
Miguel de Icaza [Tue, 9 Feb 2010 06:57:20 +0000 (06:57 -0000)]
2010-02-08 Miguel de Icaza <miguel@novell.com>
* getline.cs: Add support for ESC-letter to become Alt-letter.
svn path=/trunk/mcs/; revision=151083
Miguel de Icaza [Tue, 9 Feb 2010 06:56:28 +0000 (06:56 -0000)]
2010-02-08 Miguel de Icaza <miguel@novell.com>
* namespace.cs (CompletionGetTypesStartingWith): Do not include
private types in the completion results.
svn path=/trunk/mcs/; revision=151082
Zoltan Varga [Tue, 9 Feb 2010 01:39:19 +0000 (01:39 -0000)]
2010-02-09 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_frame): Use read32 for reading a 32 bit value, since it
might be unaligned.
svn path=/trunk/mono/; revision=151076
Mark Probst [Tue, 9 Feb 2010 01:00:49 +0000 (01:00 -0000)]
2010-02-09 Mark Probst <mark.probst@gmail.com>
* threads.c: Removed two assertions that were too strict. Added a
clarifying comment. Fixes #577090.
svn path=/trunk/mono/; revision=151074
Carlos Alberto Cortez [Tue, 9 Feb 2010 00:34:05 +0000 (00:34 -0000)]
2010-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* UnixRegistryApi.cs: When retrieving the registry keys from file in a
unix system, if the value returned by a SecurityElement is null,
use String.Empty, since at this point we know that this registry key
*exists* and *cannot* have a null value, as specified in the public
api.
Fixes #543206.
svn path=/trunk/mcs/; revision=151070
Jonathan Pobst [Mon, 8 Feb 2010 20:39:41 +0000 (20:39 -0000)]
2010-02-08 Jonathan Pobst <monkey@jpobst.com>
Fix msvc build.
svn path=/trunk/mono/; revision=151059
Jonathan Pobst [Mon, 8 Feb 2010 20:02:40 +0000 (20:02 -0000)]
Remove files that have colons in them to fix SVN for Windows users.
svn path=/trunk/mcs/; revision=151053
Zoltan Varga [Mon, 8 Feb 2010 19:34:07 +0000 (19:34 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Create the ut trampolines here, so they work for
llvm methods too.
svn path=/trunk/mono/; revision=151052
Zoltan Varga [Mon, 8 Feb 2010 18:37:44 +0000 (18:37 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Don't add the llvm label prefix to 'methods', since
it is not an LLVM generated symbol.
svn path=/trunk/mono/; revision=151049
Zoltan Varga [Mon, 8 Feb 2010 18:33:15 +0000 (18:33 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (emit_entry_bb): Fix the handling of simd types.
svn path=/trunk/mono/; revision=151047
Zoltan Varga [Mon, 8 Feb 2010 18:01:56 +0000 (18:01 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (handle_castclass): Turn off the more efficient isinst/castclass
implementation in gshared mode because it causes regressions.
svn path=/trunk/mono/; revision=151043
Zoltan Varga [Mon, 8 Feb 2010 17:44:28 +0000 (17:44 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c: Add a stat for the number of calls to trampolines.
svn path=/trunk/mono/; revision=151041
Zoltan Varga [Mon, 8 Feb 2010 17:28:37 +0000 (17:28 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* image-writer.c (asm_writer_emit_global): Don't prepend the global prefix, it
should be done by the caller.
svn path=/trunk/mono/; revision=151040
Zoltan Varga [Mon, 8 Feb 2010 17:04:35 +0000 (17:04 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Don't make the debug symbols global.
svn path=/trunk/mono/; revision=151037
Zoltan Varga [Mon, 8 Feb 2010 16:51:09 +0000 (16:51 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Add the llvm label prefix before 'methods'.
svn path=/trunk/mono/; revision=151036
Zoltan Varga [Mon, 8 Feb 2010 16:35:52 +0000 (16:35 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mini_jit_info_table_find): Search the root domain as well,
since mono_jit_info_table_find () doesn't do it anymore.
* mini-generic-sharing.c debugger-agent.c: Call mini_jit_info_table_find ()
instead of mono_jit_info_table_find ().
svn path=/trunk/mono/; revision=151032
Zoltan Varga [Mon, 8 Feb 2010 16:35:46 +0000 (16:35 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* domain.c (mono_jit_info_table_find): Avoid looking in the root domain, since
the caller has no way of knowing the domain which owns the returned MonoJitInfo.
* appdomain.c (create_exceptions): Call mono_thread_push/popappdomain_ref ().
svn path=/trunk/mono/; revision=151031
Atsushi Eno [Mon, 8 Feb 2010 15:25:17 +0000 (15:25 -0000)]
2010-02-08 Atsushi Enomoto <atsushi@ximian.com>
* MetadataBundle.cs, MetadataSet.cs : rename former to latter.
* System.ServiceModel.dll.sources:
renamed MetadataBundle.cs to MetadataSet.cs.
svn path=/trunk/mcs/; revision=151027
Atsushi Eno [Mon, 8 Feb 2010 12:01:11 +0000 (12:01 -0000)]
2010-02-08 Atsushi Enomoto <atsushi@ximian.com>
* XsdDataContractImporter.cs : do not add primitive ArrayOfxxx types.
* XsdDataContractImporterTest.cs : add test that ArrayOfxxx type
is not added.
* schema1.xsd, schema2.xsd : new test files.
svn path=/trunk/mcs/; revision=151021
Zoltan Varga [Mon, 8 Feb 2010 10:24:30 +0000 (10:24 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* WaitHandleTest.cs: Add a test for #576039.
svn path=/trunk/mcs/; revision=151018
Zoltan Varga [Mon, 8 Feb 2010 10:24:21 +0000 (10:24 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* WaitHandle.cs (CheckArray): Check that the handles array is not null.
Fixes #576039.
svn path=/trunk/mcs/; revision=151017
Marek Safar [Mon, 8 Feb 2010 10:10:40 +0000 (10:10 -0000)]
New test.
svn path=/trunk/mcs/; revision=151014
Marek Safar [Mon, 8 Feb 2010 10:09:43 +0000 (10:09 -0000)]
2010-02-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #577029
* anonymous.cs: Fixed TypeBuilder* check.
svn path=/trunk/mcs/; revision=151013
Zoltan Varga [Mon, 8 Feb 2010 10:05:24 +0000 (10:05 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* verify.c (mono_type_get_stack_name): Fix a warning.
svn path=/trunk/mono/; revision=151011
Zoltan Varga [Mon, 8 Feb 2010 10:03:14 +0000 (10:03 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=151010
Zoltan Varga [Mon, 8 Feb 2010 09:54:03 +0000 (09:54 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* library.make (install-local): Install the compiled aot lib too.
* executable.make (install-local): Ditto.
svn path=/trunk/mcs/; revision=151009
Ankit Jain [Mon, 8 Feb 2010 08:16:47 +0000 (08:16 -0000)]
* lc.1: Fix typos.
svn path=/trunk/mono/; revision=151004
Atsushi Eno [Mon, 8 Feb 2010 07:29:51 +0000 (07:29 -0000)]
2010-02-08 Atsushi Enomoto <atsushi@ximian.com>
* XsdDataContractImporter.cs : some generated attributes are put
on enums too.
svn path=/trunk/mcs/; revision=151003
Miguel de Icaza [Sun, 7 Feb 2010 15:14:30 +0000 (15:14 -0000)]
Ship Mono.Cecil as well
svn path=/trunk/mcs/; revision=151002
Miguel de Icaza [Sun, 7 Feb 2010 15:09:40 +0000 (15:09 -0000)]
Begin stubs for Mono.Cecil
svn path=/trunk/mcs/; revision=151001
Ankit Jain [Sun, 7 Feb 2010 11:40:30 +0000 (11:40 -0000)]
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks.dll.sources: Add LC.cs
* Microsoft.Build.Tasks_test.dll.sources: Add LCTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* LC.cs: New.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* LCTest.cs: New.
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
* ToolTask.cs (SkipTaskExecution): Use ValidateParameters method.
Remove some MonoTODOs.
In tools/xbuild:
* xbuild/Microsoft.Common.targets: Add targets for compiling
licx (license) files.
* xbuild/Microsoft.Common.tasks: Add LC task.
svn path=/trunk/mcs/; revision=150997
Marek Habersack [Sun, 7 Feb 2010 08:44:06 +0000 (08:44 -0000)]
Do not use colons in file names, it's not supported by windows
svn path=/trunk/mcs/; revision=150996
Zoltan Varga [Sun, 7 Feb 2010 05:07:40 +0000 (05:07 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Add support for MONO_WRAPPER_WRITE_BARRIER.
svn path=/trunk/mono/; revision=150992
Zoltan Varga [Sun, 7 Feb 2010 05:02:28 +0000 (05:02 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (encode_method_ref): Update after the removal of
mono_gc_get_managed_allocator_type ().
svn path=/trunk/mono/; revision=150991
Zoltan Varga [Sun, 7 Feb 2010 05:02:21 +0000 (05:02 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_wrapper_info): Rename from
mono_marshal_wrapper_info_from_wrapper.
* marshal.c (mono_marshal_set_wrapper_info): Rename from
mono_marshal_method_set_wrapper_data, and export.
* boehm-gc.c sgen-gc.c null-gc.c: Get rid of mono_gc_get_allocator_type, store
the allocator type in a AllocatorWrapperInfo structure instead, which is accesible
by calling mono_marshal_get_wrapper_info ().
svn path=/trunk/mono/; revision=150990
Chris Toshok [Sun, 7 Feb 2010 04:26:45 +0000 (04:26 -0000)]
2010-02-06 Chris Toshok <toshok@ximian.com>
* AppDomain.cs (SetupInformationNoCopy): make this internal for
moonlight.
svn path=/trunk/mcs/; revision=150988
Zoltan Varga [Sun, 7 Feb 2010 04:24:07 +0000 (04:24 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (mono_gc_get_managed_allocator): Add a specialized allocator for
small objects which does no size checks.
svn path=/trunk/mono/; revision=150987
Zoltan Varga [Sun, 7 Feb 2010 00:16:56 +0000 (00:16 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Place a seq point just before a RET.
Fixes #564538.
svn path=/trunk/mono/; revision=150982
Zoltan Varga [Sat, 6 Feb 2010 21:45:28 +0000 (21:45 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (handle_castclass): Use the icall for classes with variant
generic params as well.
(handle_isinst): Ditto.
svn path=/trunk/mono/; revision=150980
Zoltan Varga [Sat, 6 Feb 2010 20:54:27 +0000 (20:54 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Make isninst/castclass checks in gshared code more efficient
instead of always calling an icall.
svn path=/trunk/mono/; revision=150979
Marek Habersack [Sat, 6 Feb 2010 16:11:53 +0000 (16:11 -0000)]
Modified the assemblies collection to match what is found in .NET 4.0
svn path=/trunk/mono/; revision=150977
Michael Barker [Sat, 6 Feb 2010 12:01:42 +0000 (12:01 -0000)]
2010-02-06 Michael Barker <mike@middlesoft.co.uk>
* ConnectionException.cs: Added additional text to aid debugging.
svn path=/trunk/mcs/; revision=150976
Miguel de Icaza [Sat, 6 Feb 2010 09:02:58 +0000 (09:02 -0000)]
2010-02-05 Miguel de Icaza <miguel@novell.com>
* getline.cs (NextAvailable): Fix off-by-one error
svn path=/trunk/mcs/; revision=150975
Miguel de Icaza [Sat, 6 Feb 2010 08:14:28 +0000 (08:14 -0000)]
2010-02-06 Miguel de Icaza <miguel@novell.com>
* eval.cs (CompileBlock): Also undo if there are problems during
semantic analysis, fixes various cases where invalid C# code would
be reported, but the internal changes would not be undone.
svn path=/trunk/mcs/; revision=150974
Miguel de Icaza [Sat, 6 Feb 2010 08:12:21 +0000 (08:12 -0000)]
Update repl.txt notes
svn path=/trunk/mcs/; revision=150973
Miguel de Icaza [Sat, 6 Feb 2010 08:12:03 +0000 (08:12 -0000)]
Indent
svn path=/trunk/mcs/; revision=150972
Zoltan Varga [Sat, 6 Feb 2010 00:56:43 +0000 (00:56 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_llvm_file): Take into account trampolines etc when
computing the size of the got.
svn path=/trunk/mono/; revision=150965
Zoltan Varga [Sat, 6 Feb 2010 00:04:54 +0000 (00:04 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Change the way the 'methods' symbol is emitted
when using LLVM. Instead of emitting it as an LLVM method, emit it using
the assembly directive '.set' so it points to the first LLVM emitted method.
svn path=/trunk/mono/; revision=150964
Rodrigo Kumpera [Fri, 5 Feb 2010 21:18:19 +0000 (21:18 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* PropertyInfoTest.cs: Make tests for GetIndexParameters() work.
svn path=/trunk/mcs/; revision=150958
Rodrigo Kumpera [Fri, 5 Feb 2010 20:21:51 +0000 (20:21 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: New test for GetParameters() returning the
* interned array.
* PropertyInfoTest.cs: New tests for GetIndexParameters().
svn path=/trunk/mcs/; revision=150946
Rodrigo Kumpera [Fri, 5 Feb 2010 20:21:42 +0000 (20:21 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* MonoMethod.cs (GetParameters): Must return a copy instead of
* the interned array.
* MonoMethod.cs (Invoke): Skip array clone in GetParameters.
* MonoProperty.cs (GetIndexParameters): Properly handle
* write-only indexed properties.
Return a ParameterInfo object bound to the properly and not to
the method.
* ParameterInfo.cs: Add new constructor that copies all fields
* but Member.
* ParameterInfo.cs (MetadataToken): Properly handle tokens of
* non-method members.
svn path=/trunk/mcs/; revision=150945
Rodrigo Kumpera [Fri, 5 Feb 2010 20:20:55 +0000 (20:20 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h: Rename get_MetadataToken to GetMetadataToken.
svn path=/trunk/mono/; revision=150944
Carlos Alberto Cortez [Fri, 5 Feb 2010 13:44:00 +0000 (13:44 -0000)]
2010-02-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextProviderTest.cs: New tests for ToString and
ToDisplayString, specifically when IsPassword is true.
svn path=/trunk/mcs/; revision=150927
Carlos Alberto Cortez [Fri, 5 Feb 2010 13:26:42 +0000 (13:26 -0000)]
2010-02-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextProvider.cs: In ToString() if we are a password, use the
prompt char in the places where no char has been filled in yet, instead of
putting the password char.
Fixes #360407.
svn path=/trunk/mcs/; revision=150926