mono.git
14 years agoUpdated.
Marek Safar [Wed, 17 Feb 2010 14:13:39 +0000 (14:13 -0000)]
Updated.

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

14 years ago2010-02-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 17 Feb 2010 13:54:22 +0000 (13:54 -0000)]
2010-02-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When retrieving SelectedRtf/Rtf properly escape any
RTF reserved char, so we don't end up messing around the actual rtf
values.
Fixes part of #575731.

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

14 years ago2010-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Feb 2010 11:28:31 +0000 (11:28 -0000)]
2010-02-17  Atsushi Enomoto  <atsushi@ximian.com>

* XsdDataContractImporter-new.cs : refresh implementation that is
  not based on xml serialization. Not enabled yet.
* KnownTypeCollection.cs : add cosmetic comment.

* ns0,xsd ... ns27.xsd : new test files.
* ns-readme.txt : description.

* XsdDataContractImporterTest.cs : added a bunch of tests for new
  implementation. Disable yet.

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

14 years ago2010-02-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 17 Feb 2010 04:32:49 +0000 (04:32 -0000)]
2010-02-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* appdomain.c: display a warning if the parsing the config file
produces any error.
Skip the BOM in UTF-8 files.
Copy the AppDomainSetup before setting the privateBinPath so that the
correct configuration file is read.

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

14 years ago2010-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 16 Feb 2010 14:39:57 +0000 (14:39 -0000)]
2010-02-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Line.cs: When setting the Text property, if the new text is larger
than the previous one, call Grow to update our internal 'widths'
array, to be properly in sync with the new text.
Fixes #569530.

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

14 years ago2010-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 16 Feb 2010 14:26:40 +0000 (14:26 -0000)]
2010-02-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaComplexType.cs : in modern .NET, xs:anyType has the
  appropriate qname.

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

14 years ago2010-02-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 16 Feb 2010 14:13:23 +0000 (14:13 -0000)]
2010-02-16  Sebastien Pouliot  <sebastien@ximian.com>

* WebClient_2_1.cs: Keep a copy of 'userToken' since we need to
supply it when calling OnDownloadProgressChanged
* WebRequest_2_1.cs (SetupProgressDelegate): Simplify signature

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

14 years ago2010-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 16 Feb 2010 13:12:50 +0000 (13:12 -0000)]
2010-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CustomizableLocalFileSettingsProvider.cs: When saving the
properties, ignore the properties marked with
ApplicationScopedSettingAttribute, as they are not serialized in .net
by FileSettingsProvider (the default class used to save the config,
and the one using the class we are modifying).
Fixes #468658.

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

14 years agoRevert change committed by mistake.
Zoltan Varga [Tue, 16 Feb 2010 03:20:05 +0000 (03:20 -0000)]
Revert change committed by mistake.

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

14 years ago2010-02-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Feb 2010 03:18:11 +0000 (03:18 -0000)]
2010-02-16  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c aot-compiler.c aot-runtime.c unwind.c: Finish support
LLVM+AOT+exceptions, not enabled yet.

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

14 years agoupdate year
Gonzalo Paniagua Javier [Tue, 16 Feb 2010 01:50:14 +0000 (01:50 -0000)]
update year

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

14 years ago2010-02-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 16 Feb 2010 01:39:56 +0000 (01:39 -0000)]
2010-02-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StreamWriter.cs:
* FileStream.cs: if flushing fails when disposing the stream, make
sure it is closed before throwing the exception. Fixes bug #579146.

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

14 years ago2010-02-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 16 Feb 2010 01:22:22 +0000 (01:22 -0000)]
2010-02-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SmtpClient.cs: generate correct MIME when there are text and html
linked resources. Fixes bug #579984. Patch by Ásgeir Halldórsson.

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

14 years ago2010-02-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 15 Feb 2010 23:12:23 +0000 (23:12 -0000)]
2010-02-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* SoapDocumentationHandler.cs: use IndexOf() instead of LastIndexOf()
when removing the querystring from the url.

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

14 years agoFixed the namespace.
Paolo Molaro [Mon, 15 Feb 2010 17:56:46 +0000 (17:56 -0000)]
Fixed the namespace.

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

14 years ago2010-02-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 Feb 2010 15:37:18 +0000 (15:37 -0000)]
2010-02-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (SIG_HANDLER_SIGNATURE): Fix the windows build.

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

14 years ago2010-02-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 Feb 2010 14:46:33 +0000 (14:46 -0000)]
2010-02-15  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_create_rgctx_lazy_fetch_trampoline_full): Emit
xdebug info for these.

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

14 years ago2010-02-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 Feb 2010 14:36:19 +0000 (14:36 -0000)]
2010-02-15  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (common_call_trampoline): Use mini_jit_info_table_find ()
in a few places.

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

14 years ago2010-02-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 Feb 2010 13:38:17 +0000 (13:38 -0000)]
2010-02-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_get_vtable_trampoline): Make this take a 'slot_index' argument,
not used yet.

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

14 years ago2010-02-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 Feb 2010 13:38:11 +0000 (13:38 -0000)]
2010-02-15  Zoltan Varga  <vargaz@gmail.com>

* object.c: Instead of using one vtable trampoline, allow the JIT to use one
vtable trampoline per vtable slot index. Not used yet.

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

14 years ago2010-02-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 15 Feb 2010 02:03:43 +0000 (02:03 -0000)]
2010-02-14  Miguel de Icaza  <miguel@novell.com>

* eval.cs: Do not do the report printer dance unless the user has
set the DescribeTypes feature.

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

14 years agoget rid of a bunch of warnings
Gonzalo Paniagua Javier [Sun, 14 Feb 2010 00:56:51 +0000 (00:56 -0000)]
get rid of a bunch of warnings

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

14 years agoAdded a bunch of [Obsolete]. Now it does not look as bad.
Gonzalo Paniagua Javier [Sun, 14 Feb 2010 00:50:08 +0000 (00:50 -0000)]
Added a bunch of [Obsolete]. Now it does not look as bad.

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

14 years ago2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 14 Feb 2010 00:26:52 +0000 (00:26 -0000)]
2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Environment.cs: implement SystemPageSize.

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

14 years ago2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 14 Feb 2010 00:26:11 +0000 (00:26 -0000)]
2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* icall-def.h:
* icall.c: add internal call that returns the system page size.

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

14 years agoMy first documentation contribution to Cecil
Miguel de Icaza [Sat, 13 Feb 2010 21:18:11 +0000 (21:18 -0000)]
My first documentation contribution to Cecil

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

14 years ago2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 13 Feb 2010 17:48:34 +0000 (17:48 -0000)]
2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Test/System.Collections.Generic/HashSetTest.cs:
* System.Collections.Generic/HashSet.cs: fix and test for bug #579791.
Patch from Tiaan Geldenhuys.

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

14 years ago2010-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 13 Feb 2010 12:20:33 +0000 (12:20 -0000)]
2010-02-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (load_profile_files): Update after the profiler changes.

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

14 years ago2010-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 13 Feb 2010 12:20:27 +0000 (12:20 -0000)]
2010-02-13  Zoltan Varga  <vargaz@gmail.com>

* mono-profiler-aot.c (output_image): Emit method names instead of tokens so
the info can be used for different versions of the same assembly. Don't append
the assembly guid to the file names.

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

14 years ago2010-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 13 Feb 2010 12:20:22 +0000 (12:20 -0000)]
2010-02-13  Zoltan Varga  <vargaz@gmail.com>

* debug-helpers.c (mono_method_desc_search_in_image): Handle short names like
'int' for system classes.

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

14 years ago2010-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 13 Feb 2010 10:05:28 +0000 (10:05 -0000)]
2010-02-13  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_compile_method_inner): Avoid passing icall wrappers to
mono_profiler_method_end_jit, since the profiler has no way to process wrappers.

* aot-runtime.c mini.c: Resurrect the aot pagefault profiling stuff, it is useful
for mtouch.

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

14 years ago2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 13 Feb 2010 06:16:59 +0000 (06:16 -0000)]
2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* debugger-agent.c: handle incomplete reads and EINTR in
recv()/send(). This could have been causing random
disconnections.

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

14 years ago2010-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 13 Feb 2010 02:37:08 +0000 (02:37 -0000)]
2010-02-13  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_exception_debug_info): Fix aot support for sequence
points.

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

14 years ago2010-02-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 13 Feb 2010 02:32:58 +0000 (02:32 -0000)]
2010-02-13  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_allocate_vars): Allocate the seq point related vars first
so they have small offsets. Fixes #566311.

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

14 years agoFix a warning.
Zoltan Varga [Sat, 13 Feb 2010 02:01:10 +0000 (02:01 -0000)]
Fix a warning.

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

14 years agoAdded to dist some missing files
Marek Habersack [Sat, 13 Feb 2010 01:44:00 +0000 (01:44 -0000)]
Added to dist some missing files

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

14 years ago4.0 updates
Gonzalo Paniagua Javier [Sat, 13 Feb 2010 00:02:03 +0000 (00:02 -0000)]
4.0 updates

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

14 years agonew type
Gonzalo Paniagua Javier [Fri, 12 Feb 2010 22:59:04 +0000 (22:59 -0000)]
new type

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

14 years agoFixed a typo
Marek Habersack [Fri, 12 Feb 2010 22:17:06 +0000 (22:17 -0000)]
Fixed a typo

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

14 years ago2010-02-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 12 Feb 2010 21:57:10 +0000 (21:57 -0000)]
2010-02-12  Marek Habersack  <mhabersack@novell.com>

* Makefile (EXTRA_DISTFILES): ignore .svn directories

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

14 years agoFri Feb 12 19:09:44 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Feb 2010 18:12:12 +0000 (18:12 -0000)]
Fri Feb 12 19:09:44 CET 2010 Paolo Molaro <lupus@ximian.com>

* TargetedPatchingOptOutAttribute.cs: new attribute in 4.0.

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

14 years agoFri Feb 12 19:03:11 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Feb 2010 18:04:29 +0000 (18:04 -0000)]
Fri Feb 12 19:03:11 CET 2010 Paolo Molaro <lupus@ximian.com>

* ReferenceAssemblyAttribute.cs: new attribute in 4.0.

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

14 years agoAdd
Miguel de Icaza [Fri, 12 Feb 2010 17:52:47 +0000 (17:52 -0000)]
Add

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

14 years agoInclude new source file.
Paolo Molaro [Fri, 12 Feb 2010 17:50:14 +0000 (17:50 -0000)]
Include new source file.

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

14 years agoFri Feb 12 18:39:57 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Feb 2010 17:47:39 +0000 (17:47 -0000)]
Fri Feb 12 18:39:57 CET 2010 Paolo Molaro <lupus@ximian.com>

* RuntimeHelpers.cs: implemented EnsureSufficientExecutionStack ().

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

14 years agoFri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Feb 2010 17:38:53 +0000 (17:38 -0000)]
Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>

* InsufficientExecutionStackException.cs: new exception type in 4.0.

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

14 years agoFri Feb 12 18:36:02 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Feb 2010 17:37:06 +0000 (17:37 -0000)]
Fri Feb 12 18:36:02 CET 2010 Paolo Molaro <lupus@ximian.com>

* icall.c, icall-def.h: new icall to check for sufficient
stack space.

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

14 years ago2010-02-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 12 Feb 2010 16:19:16 +0000 (16:19 -0000)]
2010-02-12  Miguel de Icaza  <miguel@novell.com>

* XStreamingElement.cs: Avoid an extra indirect call, by calling
the target methods directly.

* XDocument.cs, XElement.cs, XStreamingElement.cs: Fix the
setting of the Indent flag, since this is an enumeration, testing
against SaveOptions.None was incorrect.  Check on the actual flag.

* XElement.cs, XDocument.cs, XStreamingElement.cs: Add support for
the new .NET 4.0 Save methods and the new OmitDuplicateNamespaces
flag to SaveOptions.

* XElement.cs, XDocument.cs, XNamespace.cs: Sprinkle
CLSCompliantAttribute to match the compare page.

* SaveOptions.cs: New setting for 4.0 OmitDuplicateNamespaces.

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

14 years ago2010-02-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 12 Feb 2010 16:16:59 +0000 (16:16 -0000)]
2010-02-12  Miguel de Icaza  <miguel@novell.com>

* XmlWriterSettings.cs: Expose NamespaceHandling in NET 4.0

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

14 years ago2010-02-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 12 Feb 2010 14:32:58 +0000 (14:32 -0000)]
2010-02-12  Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (mono_method_check_inlining): Check for loader
* errors.

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

14 years ago2010-02-13 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 12 Feb 2010 13:53:45 +0000 (13:53 -0000)]
2010-02-13  Jb Evain  <jbevain@novell.com>

* TypeAttributes.cs: add Forwarder flag.

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

14 years agoFixed a typo
Marek Habersack [Fri, 12 Feb 2010 13:46:16 +0000 (13:46 -0000)]
Fixed a typo

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

14 years ago2010-02-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 12 Feb 2010 12:16:08 +0000 (12:16 -0000)]
2010-02-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CustomizableLocalFileSettingsProvider.cs: The name of the child
class of Settings should be 'normalized' by replacing the chars that
are invalid in a xml element name with their corresponding hexadecimal
values. This is specially visible when using classes container in
other classes.
Fixes #471289.

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

14 years ago2010-02-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 12 Feb 2010 12:01:58 +0000 (12:01 -0000)]
2010-02-12  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationHost.cs: implemented {Encrypt,Decrypt}Section

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

14 years ago2010-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Feb 2010 06:33:00 +0000 (06:33 -0000)]
2010-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractSerializerMessageContractImporter.cs : handle duration
  and guid which s.w.svc does not handle. Fix part of bug #579011.

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

14 years ago2010-02-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 12 Feb 2010 02:04:34 +0000 (02:04 -0000)]
2010-02-12  Marek Habersack  <mhabersack@novell.com>

* AssemblyInfo.cs: added 4.0 attributes

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

14 years ago2010-02-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 12 Feb 2010 01:55:29 +0000 (01:55 -0000)]
2010-02-12  Marek Habersack  <mhabersack@novell.com>

* AssemblyTargetedPatchBandAttribute.cs: added

2010-02-12  Marek Habersack  <mhabersack@novell.com>

* AssemblyInfo.cs: added 4.0 attributes

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

14 years agofix signature
Gonzalo Paniagua Javier [Fri, 12 Feb 2010 01:34:07 +0000 (01:34 -0000)]
fix signature

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

14 years agofix signature
Gonzalo Paniagua Javier [Fri, 12 Feb 2010 01:32:56 +0000 (01:32 -0000)]
fix signature

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

14 years ago2010-02-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 11 Feb 2010 23:50:30 +0000 (23:50 -0000)]
2010-02-12  Mark Probst  <mark.probst@gmail.com>

        * reflection.c (ensure_complete_type): Check that reflection_info
        is set, too.  Fixes crash of corlib testsuite with -O=-all.

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

14 years ago2010-02-12 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 11 Feb 2010 23:25:23 +0000 (23:25 -0000)]
2010-02-12  Jb Evain  <jbevain@novell.com>

* AssemblyStripper.cs: properly set the rva of methods with
no body.

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

14 years ago2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 11 Feb 2010 22:56:21 +0000 (22:56 -0000)]
2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodBody.cs: Add v4 bits.

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

14 years ago2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 11 Feb 2010 22:56:02 +0000 (22:56 -0000)]
2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodBase.cs: Add some v4 bits.

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

14 years ago2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 11 Feb 2010 22:55:43 +0000 (22:55 -0000)]
2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>

* MemberInfo.cs: Add GetCustomAttributesData.

* Assembly.cs:
* MemberInfo.cs:
* Module.cs:
* MonoEvent.cs:
* MonoField.cs:
* MonoMethod.cs:
* MonoProperty.cs:
* ParameterInfo.cs: Implement GetCustomAttributesData.

2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoType.cs: Implement GetCustomAttributesData.

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

14 years ago2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 11 Feb 2010 22:55:11 +0000 (22:55 -0000)]
2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>

* MemberInfo.cs: Add some v4 bits.

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

14 years ago2010-02-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 11 Feb 2010 20:25:36 +0000 (20:25 -0000)]
2010-02-11  Jonathan Pobst  <monkey@jpobst.com>

* ActivationTests.cs: Disable TestCreateHttpWkoSingleCall and
TestCreateHttpWkoSingleton due to sporadic failures.
Filed as bug #579277.

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

14 years ago2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 11 Feb 2010 20:14:33 +0000 (20:14 -0000)]
2010-02-11  Rodrigo Kumpera  <rkumpera@novell.com>

* attrdefs.h:
* tabledefs.h: Add NoOptimization flag.

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

14 years ago2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 11 Feb 2010 20:13:07 +0000 (20:13 -0000)]
2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodImplAttributes.cs: Add NoOptimization flag.

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

14 years ago2010-02-11 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 11 Feb 2010 14:15:55 +0000 (14:15 -0000)]
2010-02-11  Marek Habersack  <mhabersack@novell.com>

* AppResourcesCompiler.cs: explicitly dispose all the streams and
readers+writers in CompileResource.

2010-02-11  Marek Habersack  <mhabersack@novell.com>

* Web.config, Web.mono.config: added test role manager
definition.

2010-02-11  Marek Habersack  <mhabersack@novell.com>

* RolesTest.cs: added a test for IsUserInRole. Patch from Tiaan
Geldenhuys <tagdev@gmail.com>, thanks!

2010-02-11  Marek Habersack  <mhabersack@novell.com>

* Roles.cs: IsUserInRole checks if username is null or empty
before attempting to use it. Patch from Tiaan Geldenhuys
<tagdev@gmail.com>. thanks!

2010-02-11  Marek Habersack  <mhabersack@novell.com>

* System.Web_test.dll.sources: added
mainsoft/NunitWeb/NunitWeb/TestRoleProvider.cs

2010-02-11  Marek Habersack  <mhabersack@novell.com>

* WebTest.cs: test environment setup enhancements. Contributed by
Tiaan Geldenhuys <tagdev@gmail.com>, thanks!

* TestRoleProvider.cs: added. Contributed by Tiaan Geldenhuys
<tagdev@gmail.com>, thanks!

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

14 years ago* ImportTest.cs (Add1): Fix test on windows.
Ankit Jain [Thu, 11 Feb 2010 13:43:46 +0000 (13:43 -0000)]
* ImportTest.cs (Add1): Fix test on windows.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 12:49:04 +0000 (12:49 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c: Remove the special casing of byref in a few places now that
mini_type_get_underlying_type () handles it.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 12:34:10 +0000 (12:34 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* mini-generic-sharing.c (mini_type_get_underlying_type): Handle byref as well
by returning native int. Fixes #577984.

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

14 years ago2010-02-11 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 11 Feb 2010 11:51:15 +0000 (11:51 -0000)]
2010-02-11  Marek Habersack  <mhabersack@novell.com>

* ConstructorInfo.cs, EventInfo.cs, FieldInfo.cs: fix 4.0 equality
and inequality operators by casting the passed parameters to
object. Failing to do so leads to infinite recursion calling the
operator.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 06:07:18 +0000 (06:07 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (handle_isinst): Factor out the is_complex_isinst check into
a macro.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 05:38:15 +0000 (05:38 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (exception_cb): Put the clause index into the type info instead
of putting the clause itself.

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

14 years ago2010-02-10 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 11 Feb 2010 05:23:23 +0000 (05:23 -0000)]
2010-02-10  Geoff Norton  <gnorton@novell.com>

        * mono.1: Document the aot compiler options.

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

14 years ago2010-02-10 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 11 Feb 2010 03:48:04 +0000 (03:48 -0000)]
2010-02-10  Geoff Norton  <gnorton@novell.com>

* reflection.c: Support building with DISABLE_REFLECTION

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

14 years ago2010-02-10 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 11 Feb 2010 03:48:01 +0000 (03:48 -0000)]
2010-02-10  Geoff Norton  <gnorton@novell.com>

        * aot-compiler.c: Make the number of IMT trampolines configurable as well.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 03:22:25 +0000 (03:22 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c mini.c linear-scan.c: Disable more stuff when DISABLE_JIT is used.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 02:30:02 +0000 (02:30 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs: Add a test for exception subclasses.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 02:23:50 +0000 (02:23 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* AssemblyMirror.cs: Add missing GetType () overloads.

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

14 years ago2010-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Feb 2010 02:12:04 +0000 (02:12 -0000)]
2010-02-11  Zoltan Varga  <vargaz@gmail.com>

* CP1250.cs CP1252.cs: Move the '--charCount' line to the beginning of the loop,
since it can be skipped in case of HandleFallback. Add brances around the
call to HandleFallback so the 'continue' call is only done if it is called.
Should fix #573682.

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

14 years agoafter getting no answer on irc and rather being asked to fix build, I figured
Atsushi Eno [Wed, 10 Feb 2010 23:08:39 +0000 (23:08 -0000)]
after getting no answer on irc and rather being asked to fix build, I figured
there is no build guru, so I rather "fix" it by removing the test files
and will never add such new test files.

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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 10 Feb 2010 22:48:36 +0000 (22:48 -0000)]
2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>

* FieldInfo.cs: Add some v4 bits.

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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 10 Feb 2010 22:48:12 +0000 (22:48 -0000)]
2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>

* EventInfo.cs: Add some v4 bits.

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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 10 Feb 2010 22:47:45 +0000 (22:47 -0000)]
2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>

* ConstructorInfo.cs: Add some v4 bits.

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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 10 Feb 2010 21:54:29 +0000 (21:54 -0000)]
2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>

* PropertyInfoTest.cs: Tests for default value.

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

14 years ago2010-02-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Feb 2010 19:44:01 +0000 (19:44 -0000)]
2010-02-10  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Don't consider it a missing remset if the target
        object is pinned - we might have done the store but not added the
        remset yet.

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

14 years ago2010-02-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Feb 2010 19:37:30 +0000 (19:37 -0000)]
2010-02-10  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: When checking for missing remsets, don't assert on
        the first one, but print them all and then assert.

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

14 years ago2010-02-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Feb 2010 19:34:38 +0000 (19:34 -0000)]
2010-02-10  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c (find_in_remset_loc): Handle the small bitmap case.

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

14 years ago2010-02-10 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 10 Feb 2010 19:03:59 +0000 (19:03 -0000)]
2010-02-10  Miguel de Icaza  <miguel@novell.com>

* main.c (dis_method_list): Show method implementation flags as
well when calling --method.

get.c: Moved some code here from main.c so it could be reused by
dump.c

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

14 years ago2010-02-09 Miguel de Icaza <miguel@novell.com>
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

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

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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2010-02-09 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years agoTrack RC API changes.
Marek Safar [Wed, 10 Feb 2010 14:54:39 +0000 (14:54 -0000)]
Track RC API changes.

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