mono.git
14 years agoFix tests.
Ankit Jain [Mon, 1 Mar 2010 20:08:02 +0000 (20:08 -0000)]
Fix tests.
* Makefile (EXTRA_DISTFILES): Add Test/resources/junk.txt .

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

14 years agoreverted previous change
Jeffrey Stedfast [Mon, 1 Mar 2010 19:52:45 +0000 (19:52 -0000)]
reverted previous change

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

14 years ago2010-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Mar 2010 19:52:06 +0000 (19:52 -0000)]
2010-03-01  Zoltan Varga  <vargaz@gmail.com>

* Array.cs (CreateArray): Disallow creation of arrays of unfinished types.

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

14 years ago2010-03-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Mar 2010 19:34:39 +0000 (19:34 -0000)]
2010-03-01  Miguel de Icaza  <miguel@novell.com>

* Win32Resources.cs: Prevent infinite loops if the resource that
we are reading is invalid.   Fixes the mscorlib part of #327500

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

14 years ago2010-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Mar 2010 19:29:30 +0000 (19:29 -0000)]
2010-03-01  Zoltan Varga  <vargaz@gmail.com>

* Location.cs: Implement ToString ().

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

14 years ago2010-03-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Mar 2010 19:09:20 +0000 (19:09 -0000)]
2010-03-01  Miguel de Icaza  <miguel@novell.com>

        * WebHeaderCollection.cs: Apply 2 year old patch from Yves Bastide that fixes the keys
        casing in the collection;   Fixes 325491

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

14 years ago2010-03-01 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Mon, 1 Mar 2010 18:58:51 +0000 (18:58 -0000)]
2010-03-01  Jeffrey Stedfast  <fejj@novell.com>

* Aes.cs: Fixed to convert the AssemblySystem_Core value to a string.

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

14 years agoMon Mar 1 19:35:32 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Mar 2010 18:36:18 +0000 (18:36 -0000)]
Mon Mar 1 19:35:32 CET 2010 Paolo Molaro <lupus@ximian.com>

* metadata.c: added some API documentation.

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

14 years ago2010-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Mar 2010 17:18:22 +0000 (17:18 -0000)]
2010-03-01  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs: Add a test for CreateBoxedValue.

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

14 years ago2010-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Mar 2010 17:18:16 +0000 (17:18 -0000)]
2010-03-01  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (domain_commands): Add a new command to create a boxed value.

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

14 years ago2010-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Mar 2010 17:16:12 +0000 (17:16 -0000)]
2010-03-01  Zoltan Varga  <vargaz@gmail.com>

* AppDomainMirror.cs (CreateBoxedValue): New method to create a boxed value from
a primitive value or struct.

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

14 years ago2010-03-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Mar 2010 16:49:46 +0000 (16:49 -0000)]
2010-03-01  Miguel de Icaza  <miguel@novell.com>

* More dropping of old NET_1_1 code.

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

14 years ago2010-03-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Mar 2010 16:48:26 +0000 (16:48 -0000)]
2010-03-01  Miguel de Icaza  <miguel@novell.com>

* DateTime.cs (DoParse): patch from Tom Philpot, while using
TryParse if s is null, we should return false, not crash.

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

14 years agoFix a typo.
Zoltan Varga [Mon, 1 Mar 2010 16:30:23 +0000 (16:30 -0000)]
Fix a typo.

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

14 years agoAdd a test for setting ref type fields.
Zoltan Varga [Mon, 1 Mar 2010 16:30:17 +0000 (16:30 -0000)]
Add a test for setting ref type fields.

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

14 years ago2010-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Mar 2010 16:30:11 +0000 (16:30 -0000)]
2010-03-01  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (type_commands): Fix the setting of fields with a reference
type.

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

14 years agoMon Mar 1 17:12:24 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Mar 2010 16:15:22 +0000 (16:15 -0000)]
Mon Mar 1 17:12:24 CET 2010 Paolo Molaro <lupus@ximian.com>

* src/unicode-data.h, src/gutf8.c: don't export private symbols.

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

14 years agoAdd new abort-invoke.cs test.
Martin Baulig [Mon, 1 Mar 2010 15:02:43 +0000 (15:02 -0000)]
Add new abort-invoke.cs test.
2010-03-01  Martin Baulig  <martin@ximian.com>

* abort-invoke.cs: Add a test for my latest patch regarding thread
aborts while running a class .cctor.

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

14 years agoDocument MONO_CPU_ARCH.
Paolo Molaro [Mon, 1 Mar 2010 14:30:20 +0000 (14:30 -0000)]
Document MONO_CPU_ARCH.

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

14 years agoMon Mar 1 15:20:44 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Mar 2010 14:23:41 +0000 (14:23 -0000)]
Mon Mar 1 15:20:44 CET 2010 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: make the arm cpu arch configurable with the
MONO_CPU_ARCH env var (for example: "armv4 thumb").
Bug #584198.

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

14 years agoEnable.
Paolo Molaro [Mon, 1 Mar 2010 14:18:04 +0000 (14:18 -0000)]
Enable.

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

14 years agoAdded --jitmap option description.
Paolo Molaro [Mon, 1 Mar 2010 13:55:17 +0000 (13:55 -0000)]
Added --jitmap option description.

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

14 years agoMon Mar 1 14:48:35 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Mar 2010 13:53:25 +0000 (13:53 -0000)]
Mon Mar 1 14:48:35 CET 2010 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h, driver.c: added the --jitmap option to enable
support for the perf tool on Linux.

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

14 years agoMon Mar 1 14:43:55 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Mar 2010 13:45:13 +0000 (13:45 -0000)]
Mon Mar 1 14:43:55 CET 2010 Paolo Molaro <lupus@ximian.com>

* method-to-ir.c: make string.InsertenalSetChar() specialization
effective.

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

14 years ago2010-03-01 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 1 Mar 2010 10:38:06 +0000 (10:38 -0000)]
2010-03-01  Robert Jordan  <robertj@gmx.net>

* libmono.vcproj: Track changes.

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

14 years ago2010-03-01 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 1 Mar 2010 10:28:34 +0000 (10:28 -0000)]
2010-03-01  Robert Jordan  <robertj@gmx.net>

* filewatcher.h: Include glib.h to fix the MSVC build.

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

14 years ago2010-03-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 1 Mar 2010 09:56:10 +0000 (09:56 -0000)]
2010-03-01  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.XsdExporter.cs, XsdDataContractExporter-new.cs:
  refresh implementation to reflect the latest WCF impl.
* SerializationMap.cs : make types partial.

* XsdDataContractExporterTest.cs : remove [NotWorking].

* System.Runtime.Serialization.dll.sources: use new implementation
  (will be renamed later).

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

14 years ago2010-03-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 1 Mar 2010 09:01:14 +0000 (09:01 -0000)]
2010-03-01 Gonzalo Paniagua Javier <gonzalo@novell.com>

* System.Net/WebConnection.cs: attach a validation callback to the new
event in Mono.Security.
* System.Net/ServicePointManager.cs: added a new ValidationHelper
class that takes care of building the certificate chain and perform
all the check that were done in Mono.Security before. This way the 2.0
server certificate validation callback can get all the data it needs.
* System.Net.Security/SslStream.cs: don't do anything if a chain
element has no error.

Fixes bug #584050.

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

14 years ago2010-03-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 1 Mar 2010 08:51:44 +0000 (08:51 -0000)]
2010-03-01 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Mono.Security.Protocol.Tls/HttpsClientStream.cs: use Address instead
of RequestUri to get the right host name when the request is
redirected.

* Mono.Security.Protocol.Tls/SslStreamBase.cs:
* Mono.Security.Protocol.Tls/SslClientStream.cs:
* Mono.Security.Protocol.Tls/SslServerStream.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
added a new callback for certificate validation that gets all the
certificates received from the server/client. The callee should
build the chain and validate it.

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

14 years ago2010-03-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Mar 2010 07:10:10 +0000 (07:10 -0000)]
2010-03-01  Miguel de Icaza  <miguel@novell.com>

* Point.cs: Fix #554635, our constructor that takes an int had the
values for X and Y swapped out.

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

14 years ago2010-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Mar 2010 02:44:27 +0000 (02:44 -0000)]
2010-03-01  Zoltan Varga  <vargaz@gmail.com>

* class-internals.h (MonoClass): Get rid of the reflection_info field, add
a GC handle instead. This is a bit slower to access, but avoids burdening the
GC with 100s of individual roots.

* reflection.c (mono_class_get_ref_info):
(mono_class_set_ref_info):
(mono_class_free_ref_info): New internal helper fuctions.

* reflection.c appdomain.c icall.c class.c: Use the new helper functions instead
of accessing klass->reflection_info directly.

* sgen-gc.c (alloc_complex_descriptor): Fix the computation of the number of
words.

* gc.c (alloc_handle): Create a GC descriptor for the 'entries' array, free
the previous array.

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

14 years ago2010-03-01 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 1 Mar 2010 00:29:28 +0000 (00:29 -0000)]
2010-03-01  Robert Jordan  <robertj@gmx.net>

* Makefile.am: fix the non-static build.

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

14 years ago2010-02-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 1 Mar 2010 00:24:12 +0000 (00:24 -0000)]
2010-02-28 Rodrigo Kumpera  <rkumpera@novell.com>

* CustomAttributeData.cs:
* ExceptionHandlingClause.cs:
* LocalVariableInfo.cs: Add some v4 bits.

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

14 years ago2010-02-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 1 Mar 2010 00:24:03 +0000 (00:24 -0000)]
2010-02-28 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs: Forgot a pair of #if NET_4_0.

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

14 years ago * Monodoc/provider.cs: Add
Jonathan Pryor [Sun, 28 Feb 2010 23:28:03 +0000 (23:28 -0000)]
* Monodoc/provider.cs: Add
  RootTree.LoadTree(string,string,IEnumerable) for compatibility with
  Mono 2.6's monodoc.dll.

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

14 years ago2010-02-09 Sebastien Pouliot <sebastien@ximian.com>
Miguel de Icaza [Sun, 28 Feb 2010 23:05:17 +0000 (23:05 -0000)]
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

2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>

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

14 years agofix the windows build
Gonzalo Paniagua Javier [Sun, 28 Feb 2010 23:02:31 +0000 (23:02 -0000)]
fix the windows build

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

14 years agofix building the documentation
Gonzalo Paniagua Javier [Sun, 28 Feb 2010 22:57:03 +0000 (22:57 -0000)]
fix building the documentation

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

14 years ago2010-02-09 Sebastien Pouliot <sebastien@ximian.com>
Miguel de Icaza [Sun, 28 Feb 2010 22:47:20 +0000 (22:47 -0000)]
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

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

14 years ago2010-02-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 28 Feb 2010 22:35:37 +0000 (22:35 -0000)]
2010-02-28  Miguel de Icaza  <miguel@novell.com>

* docs/Makefile: install during the 4.0 build now.

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

14 years ago2010-02-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 28 Feb 2010 22:34:36 +0000 (22:34 -0000)]
2010-02-28  Miguel de Icaza  <miguel@novell.com>

* Makefile: Process `docs' now on the 4.0 profile.

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

14 years ago2010-02-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 28 Feb 2010 22:08:26 +0000 (22:08 -0000)]
2010-02-28  Miguel de Icaza  <miguel@novell.com>

* Decimal.cs: Enabling the unmanaged double to decimal and float
to decimal conversions code again as I am unable to find any
regressions in corlib, System.Data, the Silverlight test suite or
Rotor's test suite.

I am enabling it hoping that we can find the original problem that
lead us to use the slow path.

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

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

* marshal.c (get_runtime_invoke_type): Avoid sharing byref with I, as the latter
needs an indirection.

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

14 years agoAnother 4.0 switch fix
Miguel de Icaza [Sun, 28 Feb 2010 20:38:28 +0000 (20:38 -0000)]
Another 4.0 switch fix

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

14 years agoFix the 1.0 dropping
Miguel de Icaza [Sun, 28 Feb 2010 20:23:17 +0000 (20:23 -0000)]
Fix the 1.0 dropping

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

14 years agoFix the basic build
Miguel de Icaza [Sun, 28 Feb 2010 18:08:38 +0000 (18:08 -0000)]
Fix the basic build

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

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

* CultureNotFoundException.cs: new 4.0 type.
* CultureTypes.cs: add [Obsolete] for 2 values.
* TimeSpanStyles.cs: new 4.0 enum.

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

14 years agoFix the build
Miguel de Icaza [Sun, 28 Feb 2010 17:43:38 +0000 (17:43 -0000)]
Fix the build

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

14 years ago * Mono.Documentation/webdoc.cs: Add --use-system-sources option so
Jonathan Pryor [Sun, 28 Feb 2010 17:24:00 +0000 (17:24 -0000)]
* Mono.Documentation/webdoc.cs: Add --use-system-sources option so
  that 'mdoc export-html-webdoc' will use the system-installed sources
  in addition to any -r'd sources (which was the behavior 2 commits
  ago).

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

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

        *Mono.Security.Protocol.Tls/HttpsClientStream.cs,
        Mono.Security.Protocol.Tls/SslStreamBase.cs,
        Mono.Security.X509/PKCS12.cs,
        Mono.Security.X509/X509Certificate.cs,
        Mono.Security.Cryptography/RSAManaged.cs,
        Mono.Security.Cryptography/SymmetricTransform.cs,
        Mono.Security/ASN1Convert.cs: Drop the pre-NET 2.0 support.

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

14 years agoDefault should not be to debug
Miguel de Icaza [Sun, 28 Feb 2010 04:44:22 +0000 (04:44 -0000)]
Default should not be to debug

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

14 years ago2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 28 Feb 2010 00:46:55 +0000 (00:46 -0000)]
2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>

* AggregateException.cs: Fix ctor vibility.

* Type.cs: IsEnum and IsSerializable are virtual
properties now.

* Tuple.cs: Fix Tuple'8 Create method.

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

14 years agoIn corlib/System.Runtime.Remoting.Proxies:
Robert Jordan [Sat, 27 Feb 2010 23:18:52 +0000 (23:18 -0000)]
In corlib/System.Runtime.Remoting.Proxies:
2010-02-28  Robert Jordan  <robertj@gmx.net>

* RealProxy.cs (PrivateInvoke): BeginInvoke return messages
do not have out args (by design). The issue has existed for many
years but it was invisible because mono_delegate_begin_invoke ()
has swallowed exceptions, which was fixed by Gonzalo in r141856.
Fixes a couple of disabled remoting tests (#576618).

In System.Runtime.Remoting/Test:
2010-02-28  Robert Jordan  <robertj@gmx.net>

* BaseCalls.cs: Enable tests again. See bug #576618.

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

14 years ago2010-02-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 27 Feb 2010 23:16:29 +0000 (23:16 -0000)]
2010-02-27  Miguel de Icaza  <miguel@novell.com>

* OSX509Certificates.cs: Add support to validate X509 certificate
chains using the OSX certificates API.

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

14 years ago2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Feb 2010 22:09:34 +0000 (22:09 -0000)]
2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>

* UIntPtr.cs: Add some v4 custom attributes.

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

14 years ago2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Feb 2010 22:09:26 +0000 (22:09 -0000)]
2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>

* Float.cs: New v4 operators.

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

14 years ago2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Feb 2010 22:09:17 +0000 (22:09 -0000)]
2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>

* IntPtr.cs: Add some v4 custom attributes.

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

14 years ago2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Feb 2010 22:09:08 +0000 (22:09 -0000)]
2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>

* Double.cs: New v4 operators.

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

14 years ago2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Feb 2010 22:08:59 +0000 (22:08 -0000)]
2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs: Make cor-compare happy.

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

* Evidence.cs: Add some v4 bits.

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

14 years agoFix crasher
Miguel de Icaza [Sat, 27 Feb 2010 20:32:28 +0000 (20:32 -0000)]
Fix crasher

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

14 years agoCouple of extra fixes
Miguel de Icaza [Sat, 27 Feb 2010 18:39:14 +0000 (18:39 -0000)]
Couple of extra fixes

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

14 years agoOne fix
Miguel de Icaza [Sat, 27 Feb 2010 17:56:26 +0000 (17:56 -0000)]
One fix

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

14 years agoMove most stuff to the 4.0 profile
Miguel de Icaza [Sat, 27 Feb 2010 17:47:21 +0000 (17:47 -0000)]
Move most stuff to the 4.0 profile

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

14 years agoInstall security tools on 4.0
Miguel de Icaza [Sat, 27 Feb 2010 17:42:15 +0000 (17:42 -0000)]
Install security tools on 4.0

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

14 years agoUpdate
Miguel de Icaza [Sat, 27 Feb 2010 04:17:33 +0000 (04:17 -0000)]
Update

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

14 years ago2010-02-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 27 Feb 2010 02:57:44 +0000 (02:57 -0000)]
2010-02-27  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: added internal property DomainUnloading.

* HttpApplication.cs: when app domain is unloading, catch
ThreadAbortExceptions and reset the abort.

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

* BuildManager.cs: count only builds of updated files before
unloading the app domain. Fixes bug #581459

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

14 years ago2010-02-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 26 Feb 2010 23:41:18 +0000 (23:41 -0000)]
2010-02-26  Miguel de Icaza  <miguel@novell.com>

* Make the scripts default to 4.0 now.

2009-05-21  Miguel de Icaza  <miguel@novell.com>

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

14 years ago2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 23:08:15 +0000 (23:08 -0000)]
2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyTest.cs: Fix test under v4.

* MonoGenericClassTest.cs: Ditto.

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

14 years ago2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 23:08:07 +0000 (23:08 -0000)]
2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>

* LazyTest.cs: Add tests for lazy modes.

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

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

* Lazy.cs: Implement all lazy modes.

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

14 years ago2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 23:07:49 +0000 (23:07 -0000)]
2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>

* PropertyInfo.cs: Small hack to avoid having cor-compare
flagging Get(Raw)ConstantValue as not implemented.

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

14 years ago2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 23:07:41 +0000 (23:07 -0000)]
2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>

* LazyThreadSafetyMode.cs: Added.

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

14 years ago2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 23:07:28 +0000 (23:07 -0000)]
2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>

* ExecutionEngineException.cs: Type is obsolete.

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

14 years ago * Mono.Documentation/assembler.cs: Allow other apps to get the same
Jonathan Pryor [Fri, 26 Feb 2010 22:33:07 +0000 (22:33 -0000)]
* Mono.Documentation/assembler.cs: Allow other apps to get the same
  '--format' logic, specifically 'mdoc export-html-webdoc'.
* Mono.Documentation/webdoc.cs: Allow it to be more "stand-alone".
  Previously, it would depend upon the system-wide .source files.
  This is bad, because you might want to generate the 'cache'
  directory for a different installation, with a different set of
  .tree/.zip/.source files, and you might not want to replace your own
  and/or you often forget, as is the case with me.  Instead, allow a
  format to be specified for .tree files, and allow additional .source
  files to be referenced so that extension methods will be found within
  the specified sources.  This allows for a "stand-alone" method of
  operation w/o depending upon the system-wide .source files.

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

14 years ago2010-02-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Feb 2010 22:30:47 +0000 (22:30 -0000)]
2010-02-26  Robert Jordan  <robertj@gmx.net>

* Remove MonoHttp (NET_1_1) from the build.

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

14 years ago * Makefile: Add a System.Core.dll reference; embed monodoc.xml as a
Jonathan Pryor [Fri, 26 Feb 2010 22:26:46 +0000 (22:26 -0000)]
* Makefile: Add a System.Core.dll reference; embed monodoc.xml as a
  resource.
* Monodoc/provider.cs: Add a
  RootTree.LoadTree(string,XmlDocument,IEnumerable<string>) method.
  This is so 'mdoc export-html-webdoc' doesn't need to rely on the
  system-wide .source files (allowing execution w/o changing/replacing
  the system-wide .source files) and so MonoDevelop can support
  multiple .source files spread throughout the system sanely.
* Monodoc/ecma-provider.cs: Always add the extension methods contained
  in the current EcmaHelpSource, instead of implicitly requiring that
  the current EcmaHelpSource also be contained within
  RootTree.HelpSources.  This simplifies logic in 'mdoc'.

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

14 years ago2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 22:16:59 +0000 (22:16 -0000)]
2010-02-22  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (inline_method): Check for loader errors.

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

14 years ago2010-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Feb 2010 20:46:58 +0000 (20:46 -0000)]
2010-02-26  Zoltan Varga  <vargaz@gmail.com>

* mini-generic-sharing.c: Move the contents of ../metadata/generic-sharing.c
here.

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

14 years ago2010-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Feb 2010 20:46:51 +0000 (20:46 -0000)]
2010-02-26  Zoltan Varga  <vargaz@gmail.com>

* generic-sharing.c: Removed, moved its contents to mini/mini-generic-sharing.c,
so all generic sharing code is in one place.

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

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

* class.c (get_implicit_generic_array_interfaces): Fix the last change so
we don't call setup_interface_offsets () for unfinished types.

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

14 years ago2010-02-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Feb 2010 20:24:43 +0000 (20:24 -0000)]
2010-02-26  Robert Jordan  <robertj@gmx.net>

* ObjectReader.cs (ReadType, GetDeserializationType):
Add throwOnError parameter that specifies whether to throw an
  exception if the type/assembly is not found.

* ObjectReader.cs (ReadTypeMetadata): Ignore unresolvable
  types while reading the type info. Fixes #430583.

* ObjectReader.cs (GetDeserializationType): Rethrow caught
  exceptions as SerializationExceptions.

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

14 years ago2010-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Feb 2010 20:04:35 +0000 (20:04 -0000)]
2010-02-26  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_generic_sharing_enabled): Move this to
generic-sharing.c.

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

14 years ago2010-02-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Feb 2010 20:01:33 +0000 (20:01 -0000)]
2010-02-26  Robert Jordan  <robertj@gmx.net>

* ObjRef.cs (GetRealObject): Refine to server type only when
necessary. Fixes #504886.

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

14 years ago2010-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Feb 2010 19:59:08 +0000 (19:59 -0000)]
2010-02-26  Zoltan Varga  <vargaz@gmail.com>

* image.c: Add an unload hook which is called before an image is unloaded.

* generic-sharing.c: Use the unload hook to unregister per-image data, to avoid
metadata.c having to depend on generic sharing.

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

14 years ago2010-01-19 Tom Hindle <tom_hindle@sil.org>
Robert Jordan [Fri, 26 Feb 2010 19:18:32 +0000 (19:18 -0000)]
2010-01-19  Tom Hindle <tom_hindle@sil.org>

* ComInteropProxy.cs: Don't add proxy if it has already been added.
Instread increment ref_count. Fixes bug #572043.

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

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

* class.c: reduce size of ridiculously large cache.

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

14 years ago2010-02-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Feb 2010 17:59:22 +0000 (17:59 -0000)]
2010-02-26  Robert Jordan  <robertj@gmx.net>

* tasklets.c (continuation_store): Return from an error condition
immediately.

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

14 years agoSet `vtable->init_aborted' if we hit a `ThreadAbortException' in the class .cctor.
Martin Baulig [Fri, 26 Feb 2010 17:33:31 +0000 (17:33 -0000)]
Set `vtable->init_aborted' if we hit a `ThreadAbortException' in the class .cctor.
2010-02-26  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoVTable): Added `init_aborted'.

* object.c
(mono_runtime_class_init_full): Set `vtable->init_aborted' in
addition to `vtable->init_failed' if we hit a `ThreadAbortException'
while running the class .cctor and reset `init_failed' next time
we're called.

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

14 years agoAdd runtime support to abort a mono_debugger_runtime_invoke().
Martin Baulig [Fri, 26 Feb 2010 17:33:21 +0000 (17:33 -0000)]
Add runtime support to abort a mono_debugger_runtime_invoke().
2010-02-26  Martin Baulig  <martin@ximian.com>

* debug-debugger.c (MonoDebuggerInfo): Added `abort_runtime_invoke'.

* debug-mini.c
(MonoDebuggerThreadInfo): Added `internal_flags'.
(MonoDebuggerInternalThreadFlags): New enum.
(_mono_debugger_throw_exception): Don't signal the debugger if a
type abort was requested.
(_mono_debugger_unhandled_exception): Likewise.
(mono_debugger_abort_runtime_invoke): New method to abort an invocation.
(mono_debugger_runtime_invoke): If the debugger requested a thread
abort during the invocation, reset it here.

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

14 years agoUse `MonoInternalThread *' instead of `MonoThread *'.
Martin Baulig [Fri, 26 Feb 2010 17:33:12 +0000 (17:33 -0000)]
Use `MonoInternalThread *' instead of `MonoThread *'.
2010-02-26  Martin Baulig  <martin@ximian.com>

* debug-mini.c (MonoDebuggerThreadInfo): Use `MonoInternalThread *'
instead of `MonoThread *'.

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

14 years agoadd credits where due
Jb Evain [Fri, 26 Feb 2010 16:11:26 +0000 (16:11 -0000)]
add credits where due

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

14 years ago2010-02-13 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 26 Feb 2010 16:10:38 +0000 (16:10 -0000)]
2010-02-13  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionReader.cs: don't cache everything
that is context dependent.

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

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

* Mono.Cecil/MethodReturnType.cs: avoid creating an
inner parameter if not necessary.

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

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

* TypeTest.cs: Test new v4 IsEnumDefined ().

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

14 years ago2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 05:42:18 +0000 (05:42 -0000)]
2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs: Implement new v4 IsEnumDefined ().

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

14 years ago2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 05:41:56 +0000 (05:41 -0000)]
2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>

* TaskContinuationOptions.cs: Use RC values.

* TaskCreationOptions.cs: Ditto.

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

14 years ago2010-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Feb 2010 05:12:22 +0000 (05:12 -0000)]
2010-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs, ServiceProxyGenerator.cs:
  make them public and add Contract property for service callback
  proxies too for the same reason.

* InputOrReplyRequestProcessor.cs : now ServiceRuntimeChannel is
  moved to fake public namespace.

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

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

* class.c (get_implicit_generic_array_interfaces): Call
mono_class_setup_interface_offsets () before accessing
eclass->interface_offsets_count. This only shows up on platforms without IMT for
some reason.

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

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

* ClientProxyGenerator.cs : type cache should be like this
  (by kumpera).

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

14 years ago2010-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Feb 2010 01:34:41 +0000 (01:34 -0000)]
2010-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs, ClientProxyGenerator.cs:
  Add disabled code, enabled by -d:USE_OD_REFERENCE_IN_PROXY:

  In generated proxy, avoid using GetCurrentMethod() and pass
  interface methods to the base ClientRuntimeChannel.

  (Disabled by default for breakage at
   CallbackBehaviorAttributeTest.CallbackExample1.)

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