mono.git
15 years ago2009-01-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 5 Jan 2009 09:00:19 +0000 (09:00 -0000)]
2009-01-05  Zoltan Varga  <vargaz@gmail.com>

Backport of r122416.

* mini-arm.c (mono_arch_flush_icache): Applied patch from Riku Voipio
<novell@kos.to>. Fix cache flush on kernels without OLDABI compat option.

svn path=/branches/mono-2-2/mono/; revision=122417

15 years ago2009-01-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jan 2009 18:48:29 +0000 (18:48 -0000)]
2009-01-04  Zoltan Varga  <vargaz@gmail.com>

Backport of r122392.

* branch-opts.c (mono_if_conversion): Fix an assert introduced by the last
change.

svn path=/branches/mono-2-2/mono/; revision=122393

15 years ago2009-01-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jan 2009 01:54:44 +0000 (01:54 -0000)]
2009-01-04  Zoltan Varga  <vargaz@gmail.com>

Backport of r122386.

* branch-opts.c (mono_if_conversion): Use branch->inst_true_bb/inst_false_bb
instead of bblock->out_bb [0]/[1], the two might not be the same. Fixes
#463357.

* iltests.il.in: Add a regression test.

svn path=/branches/mono-2-2/mono/; revision=122387

15 years ago2008-11-27 Mark Probst <mark.probst@gmail.com>
Zoltan Varga [Sat, 3 Jan 2009 18:38:36 +0000 (18:38 -0000)]
2008-11-27  Mark Probst  <mark.probst@gmail.com>

Backport of r120164.

* marshal.c (mono_string_builder_to_utf8): Fixed a wrong
invocation to g_utf16_to_utf8().

svn path=/branches/mono-2-2/mono/; revision=122373

15 years ago2009-01-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 3 Jan 2009 15:16:52 +0000 (15:16 -0000)]
2009-01-04  Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122364.

* basic-simd.cs: Add a regression test for #462457.

svn path=/branches/mono-2-2/mono/; revision=122367

15 years ago2009-01-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 3 Jan 2009 15:16:21 +0000 (15:16 -0000)]
2009-01-04  Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122363.

* mini-ops.h: Add a definition of XPHI.

* mini.h (MONO_IS_PHI): Make is aware of simd instrincs.

* ssa.c (op_phi_to_move): Handle XPHI.

* ssa.c (mono_ssa_compute): Generate a XPHI for simd intrinsics instead of VPHI.

Fixes #462457

svn path=/branches/mono-2-2/mono/; revision=122366

15 years ago2009-01-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 Jan 2009 17:48:33 +0000 (17:48 -0000)]
2009-01-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #463121
* nullable.cs: Fixed nullable user quality operator comparison.

svn path=/branches/mono-2-2/mcs/; revision=122346

15 years ago2009-01-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 Jan 2009 12:58:07 +0000 (12:58 -0000)]
2009-01-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #462592
* pending.cs: Emit type arguments for generic proxy method.

svn path=/branches/mono-2-2/mcs/; revision=122331

15 years agoMerged the profiler documentation from trunk (r122288).
Massimiliano Mantione [Wed, 31 Dec 2008 11:19:53 +0000 (11:19 -0000)]
Merged the profiler documentation from trunk (r122288).

svn path=/branches/mono-2-2/mono/; revision=122290

15 years agoMake the profiler like r122287 on trunk.
Massimiliano Mantione [Wed, 31 Dec 2008 11:19:08 +0000 (11:19 -0000)]
Make the profiler like r122287 on trunk.

svn path=/branches/mono-2-2/mono/; revision=122289

15 years ago2008-12-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 30 Dec 2008 11:41:14 +0000 (11:41 -0000)]
2008-12-30  Marek Safar  <marek.safar@gmail.com>

* expression.cs (As): Mutate all type arguments.

svn path=/branches/mono-2-2/mcs/; revision=122233

15 years ago2008-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Dec 2008 11:24:29 +0000 (11:24 -0000)]
2008-12-29  Marek Safar  <marek.safar@gmail.com>

A fix for bug #462622
* anonymous.cs: Resolve anonymous type GetHashCode in unchecked
context.

svn path=/branches/mono-2-2/mcs/; revision=122179

15 years ago2008-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Dec 2008 09:34:02 +0000 (09:34 -0000)]
2008-12-29  Marek Safar  <marek.safar@gmail.com>

A fix for bug #450782
* ecore.cs: Consider more variables of form V.I to be fixed.

svn path=/branches/mono-2-2/mcs/; revision=122178

15 years ago2008-12-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Dec 2008 01:14:57 +0000 (01:14 -0000)]
2008-12-29  Zoltan Varga  <vargaz@gmail.com>

Backport of r122170.

* mini.c (mono_jit_compile_method_inner): Avoid holding the domain lock
while loading AOT methods.

svn path=/branches/mono-2-2/mono/; revision=122171

15 years ago2008-12-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Dec 2008 00:57:10 +0000 (00:57 -0000)]
2008-12-29  Zoltan Varga  <vargaz@gmail.com>

Backport of r122168.

* mini-exceptions.c: Check jit_tls->class_cast_from instead of class_cast_to
since only the former is nulled out after a successful cast. This prevents
crashes with rethrown exceptions when using --debug=casts.

svn path=/branches/mono-2-2/mono/; revision=122169

15 years ago2008-12-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Dec 2008 19:44:13 +0000 (19:44 -0000)]
2008-12-26 Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122134.

* bug-461261.cs: New regression test.

* Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=122137

15 years ago2008-12-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Dec 2008 19:36:34 +0000 (19:36 -0000)]
2008-12-26 Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122133.

* class.c (get_implicit_generic_array_interfaces): If the internal
enumerator is an interface inflate System.Object instead of itself.

Fixes #461261.

svn path=/branches/mono-2-2/mono/; revision=122136

15 years ago2008-12-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 24 Dec 2008 11:43:01 +0000 (11:43 -0000)]
2008-12-24  Mark Probst  <mark.probst@gmail.com>

Backport of r122086.

* mini.h: New macro for checking whether a method is final,
i.e. whether the method or its class is marked final.

* method-to-ir.c: Use the new macro for all final-checks
consistently.  Fixes the crash in the System.ServiceModel tests.

2008-12-24  Mark Probst  <mark.probst@gmail.com>

Backport of r122086.

* generic-sealed-virtual.2.cs: Test case for final generic
methods.

* Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=122087

15 years ago2008-12-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 24 Dec 2008 09:19:42 +0000 (09:19 -0000)]
2008-12-24  Mark Probst  <mark.probst@gmail.com>

* mini-ppc.c (mono_arch_build_imt_thunk): Fix the build.

svn path=/branches/mono-2-2/mono/; revision=122079

15 years ago2008-12-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Dec 2008 05:00:44 +0000 (05:00 -0000)]
2008-12-24 Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122071.

* bug-461941.cs: New regression test.

* Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=122076

15 years ago2008-12-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Dec 2008 04:58:24 +0000 (04:58 -0000)]
2008-12-24 Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122070.

* object.c (mono_runtime_invoke_array): Don't assert with
byref nullable types.

* marshal.c (mono_marshal_get_runtime_invoke): To handle
byref nullables we unbox the object and store it on the
stack.
We can't use the boxed object since it is the T of Nullable<T>
and the boxed representation of a nullable it's underlying type
or null.
We could cheat and create a boxed nullable and use the same
machinery of other byref VTs but this feels like a hack and
using the stack has the bonus of reducing heap pressure.

Fixes #461941.

svn path=/branches/mono-2-2/mono/; revision=122075

15 years ago2008-12-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 23 Dec 2008 20:54:22 +0000 (20:54 -0000)]
2008-12-23  Mark Probst  <mark.probst@gmail.com>

Backport of r122034.

* mini-ppc.c (mono_arch_build_imt_thunk): Save and restore r11.
Clobbering it is not allowed because the caller might use it as
the vtable register in the interface call.

svn path=/branches/mono-2-2/mono/; revision=122058

15 years ago2008-12-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 23 Dec 2008 16:10:40 +0000 (16:10 -0000)]
2008-12-23  Mark Probst  <mark.probst@gmail.com>

* mini-exceptions.c (get_exception_catch_class): Removed another
overly strict assertion.  Fixes #461198.

2008-12-23  Mark Probst  <mark.probst@gmail.com>

* bug-461198.2.cs: New generic sharing test.

* Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=122040

15 years ago2008-12-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Dec 2008 15:37:32 +0000 (15:37 -0000)]
2008-12-23  Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122036.

* bug-461867.cs: New regression test.

* Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=122039

15 years ago2008-12-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Dec 2008 15:37:02 +0000 (15:37 -0000)]
2008-12-23 Rodrigo Kumpera  <rkumpera@novell.com>

Backport of r122035.

  * marshal.c (mono_marshal_emit_managed_wrapper): Handle char
  return value.

  Fixes #461867.

svn path=/branches/mono-2-2/mono/; revision=122038

15 years ago2008-12-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 23 Dec 2008 10:52:51 +0000 (10:52 -0000)]
2008-12-22  Ivan N. Zlatev  <contact@i-nz.net>

* ReferenceConverter.cs: Implemented.
* ReferenceConverterTest.cs: Added.
[Fixes bug #381435]

svn path=/branches/mono-2-2/mcs/; revision=122033

15 years ago* SqlXmlTest.cs: Available only in 2.0 and above
Veerapuram Varadhan [Mon, 22 Dec 2008 20:50:59 +0000 (20:50 -0000)]
* SqlXmlTest.cs:  Available only in 2.0 and above

svn path=/branches/mono-2-2/mcs/; revision=122008

15 years agoBackport Ivan's patch to 2.2.
Jonathan Pobst [Mon, 22 Dec 2008 18:30:50 +0000 (18:30 -0000)]
Backport Ivan's patch to 2.2.

2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* GroupBoxRenderer.cs: Fix when VisualStyles disabled:
   - No caption text is drawn because Color.Empty is used.
   - Fix top and height off by 1.
[Fixes bug #448764]

svn path=/branches/mono-2-2/mcs/; revision=121993

15 years agoAdd new SqlXmlTest
Veerapuram Varadhan [Sun, 21 Dec 2008 03:45:53 +0000 (03:45 -0000)]
Add new SqlXmlTest

svn path=/branches/mono-2-2/mcs/; revision=121960

15 years ago * SqlXml.cs (CreateReader): Better use
Veerapuram Varadhan [Sun, 21 Dec 2008 03:41:39 +0000 (03:41 -0000)]
    * SqlXml.cs (CreateReader): Better use
        ConformanceLevel.Fragment while creating the reader as column
        values are not really Xml documents.  Also, throw
        SqlNullValueException when data is null.
        (.ctor): Take good care of empty XmlReaders.

svn path=/branches/mono-2-2/mcs/; revision=121959

15 years agoBackport
Miguel de Icaza [Sat, 20 Dec 2008 19:19:00 +0000 (19:19 -0000)]
Backport

svn path=/branches/mono-2-2/mcs/; revision=121935

15 years agoBackport to 2.2
Miguel de Icaza [Sat, 20 Dec 2008 19:15:12 +0000 (19:15 -0000)]
Backport to 2.2

svn path=/branches/mono-2-2/mcs/; revision=121933

15 years ago2008-12-19 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 19 Dec 2008 12:42:38 +0000 (12:42 -0000)]
2008-12-19  Mark Probst  <mark.probst@gmail.com>

* mini-exceptions.c (get_exception_catch_class): Removed overly
strict assertion.

2008-12-19  Mark Probst  <mark.probst@gmail.com>

* bug-459285.2.cs: New generic sharing test.

* Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=121840

15 years ago2008-12-19 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 19 Dec 2008 10:39:22 +0000 (10:39 -0000)]
2008-12-19  Mark Probst  <mark.probst@gmail.com>

        Backport of r121292.

        * method-to-ir.c: Removed an unnecessary assertion.

2008-12-19  Mark Probst  <mark.probst@gmail.com>

        Backport of r121292.

        * metadata/generic-sharing.c: Look for constraints in all type
        arguments, not just the first one.

2008-12-19  Mark Probst  <mark.probst@gmail.com>

        Backport of r121292.

        * generic-marshalbyref.2.cs: Test for calls to marshal-by-ref
        objects.

        * Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=121836

15 years ago2008-11-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 19 Dec 2008 04:38:03 +0000 (04:38 -0000)]
2008-11-18 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpConnection.cs: remove CWL. When reusing, BeginReadRequest might
throw if the client closes.
* HttpListenerResponse.cs: close the connection for 1.0 clients.

Backported from HEAD. Fixes bug #459432.

svn path=/branches/mono-2-2/mcs/; revision=121830

15 years agoBackport of r121819.
Marek Habersack [Thu, 18 Dec 2008 23:39:41 +0000 (23:39 -0000)]
Backport of r121819.

svn path=/branches/mono-2-2/mcs/; revision=121820

15 years ago2008-12-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 18 Dec 2008 10:57:12 +0000 (10:57 -0000)]
2008-12-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #457087
* generic.cs: Don't crash when constraint comes from type
declaration.

svn path=/branches/mono-2-2/mcs/; revision=121769

15 years agoBackport of r121752.
Marek Habersack [Thu, 18 Dec 2008 01:19:10 +0000 (01:19 -0000)]
Backport of r121752.

svn path=/branches/mono-2-2/mcs/; revision=121753

15 years ago * OciDefineHandle.cs (GetValue): Use connection's environment
Veerapuram Varadhan [Wed, 17 Dec 2008 23:09:58 +0000 (23:09 -0000)]
    * OciDefineHandle.cs (GetValue): Use connection's environment
        handle instead of Parent handle.

svn path=/branches/mono-2-2/mcs/; revision=121734

15 years ago2008-12-17 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 17 Dec 2008 20:10:09 +0000 (20:10 -0000)]
2008-12-17  Geoff Norton  <gnorton@novell.com>

        * threadpool.c: Ensure that the io_queue_lock is initialized
        in all circumstances, as we always attempt to cleanup against it.

svn path=/branches/mono-2-2/mono/; revision=121724

15 years agoBackport 2008-12-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 17 Dec 2008 18:14:40 +0000 (18:14 -0000)]
Backport 2008-12-17  Miguel de Icaza  <miguel@novell.com>

* icall.c (ves_icall_System_Environment_get_Platform): For
compatibility reasons for existing client code we will keep
returning 4 for a while.

For how long will depend on the documentation being updated, and
for us to give client code a chance to be updated.

This reverts the original decison on #433108 since we did not
catch roughly 33 instances of the broken code in our own source
code base, we did not catch failures on the buildbots, and QA did
not bring this as a problem.

Only today I found some customer's code breaking due to our own
class libraries not being fully updated and tracked it down to
this change.  I am reverting it because if we could not even get
our story straight in our own code base, how can we hope that our
end user code be fixed?

As of this morning, our Wiki page that documents how to detect
Unix had not been fixed.

svn path=/branches/mono-2-2/mono/; revision=121716

15 years ago2008-12-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 17 Dec 2008 12:08:43 +0000 (12:08 -0000)]
2008-12-12  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile.am, vbnc.1: Remove vbnc.1. It's living in the
  mono-basic module now.

  [Backport of r121406.]

svn path=/branches/mono-2-2/mono/; revision=121678

15 years ago2008-12-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Dec 2008 22:08:59 +0000 (22:08 -0000)]
2008-12-16  Martin Baulig  <martin@ximian.com>

Backport of r120438.

* method-to-ir.c (mono_method_to_ir): Disable debugging
information for the init locals block to make the debugger stop
after all locals have been initalized.

svn path=/branches/mono-2-2/mono/; revision=121640

15 years ago2008-12-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Dec 2008 22:06:18 +0000 (22:06 -0000)]
2008-12-02  Martin Baulig  <martin@ximian.com>

Backport of r120419.

* mini.c (mini_method_compile): Disable MONO_OPT_DEADCE when
running inside the debugger.

svn path=/branches/mono-2-2/mono/; revision=121639

15 years ago2008-12-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Dec 2008 22:03:08 +0000 (22:03 -0000)]
2008-12-16  Martin Baulig  <martin@ximian.com>

Backport of r120407 from Zoltan Varga.

* mini.c (mini_method_compile): Only run local deadce if MONO_OPT_DEADCE
is enabled.

* method-to-ir.c (mono_method_to_ir): Fix invalid code generated by the
alu->alu imm optimization which only shows if deadce is disabled.

svn path=/branches/mono-2-2/mono/; revision=121638

15 years agoBackport of r121636.
Marek Habersack [Tue, 16 Dec 2008 22:01:42 +0000 (22:01 -0000)]
Backport of r121636.

svn path=/branches/mono-2-2/mcs/; revision=121637

15 years ago2008-11-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Dec 2008 21:51:34 +0000 (21:51 -0000)]
2008-11-29  Martin Baulig  <martin@ximian.com>

Backport of r120260.

* mini-exceptions.c (mono_handle_native_sigsegv): Check
mono_debug_using_mono_debugger() in addition to the
`no_gdb_backtrace' flag in the `MonoDebugOptions'.

svn path=/branches/mono-2-2/mono/; revision=121635

15 years agoBackport of r121629.
Marek Habersack [Tue, 16 Dec 2008 21:06:06 +0000 (21:06 -0000)]
Backport of r121629.

svn path=/branches/mono-2-2/mono/; revision=121630

15 years agorevert
Gonzalo Paniagua Javier [Tue, 16 Dec 2008 20:38:58 +0000 (20:38 -0000)]
revert

svn path=/branches/mono-2-2/mcs/; revision=121628

15 years agoBackport of r121621.
Marek Habersack [Tue, 16 Dec 2008 19:00:52 +0000 (19:00 -0000)]
Backport of r121621.

svn path=/branches/mono-2-2/mcs/; revision=121622

15 years ago2008-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 16 Dec 2008 00:11:01 +0000 (00:11 -0000)]
2008-12-14  Zoltan Varga  <vargaz@gmail.com>

Backport of r120389.

* method-to-ir.c (mono_method_to_ir): Set the type of the value pushed on
the stack in CEE_LDFLDA. Fixes #450542.

* generics.cs: Add a new test.

svn path=/branches/mono-2-2/mono/; revision=121564

15 years agoBackport of r121557.
Marek Habersack [Mon, 15 Dec 2008 22:44:51 +0000 (22:44 -0000)]
Backport of r121557.

svn path=/branches/mono-2-2/mono/; revision=121560

15 years ago2008-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 14 Dec 2008 09:50:57 +0000 (09:50 -0000)]
2008-12-14  Zoltan Varga  <vargaz@gmail.com>

Backport of r121496.

* liveness.c (mono_analyze_liveness): Avoid eliminating the 'this' var in
gshared code. Fixes #458947.

* generics.cs: Add a test.

svn path=/branches/mono-2-2/mono/; revision=121497

15 years ago2008-12-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 12 Dec 2008 19:51:40 +0000 (19:51 -0000)]
2008-12-12  Zoltan Varga  <vargaz@gmail.com>

Backport of r121457.

* mini-arm.c tramp-arm.c: Fix calls to mono_arch_flush_icache.

svn path=/branches/mono-2-2/mono/; revision=121458

15 years agoChanges approved via private email from Marek Habersack <mhabersack@novell.com> on...
Dean Brettle [Fri, 12 Dec 2008 00:52:06 +0000 (00:52 -0000)]
Changes approved via private email from Marek Habersack <mhabersack@novell.com> on 2008-10-05.

In System.Web.Configuration_2.0:
2008-12-11  Owen Brady <Ocean@owenbrady.net>
* nBrowser/File.cs, nBrowser/Identification.cs, nBrowser/Node.cs, nBrowser/NodeTypes.cs,
nBrowser/Result.cs, nBrowser/Build.cs, nBrowser/Exception.cs, CapabilitiesBuild.cs,
CapabilitiesResult.cs: Updated Copyright information to include updated contact information.

* nBrowser/Build.cs: Removed LoadDefaultEmbeddedResource function, the embeded resource
it is referring too was never included in Mono. And was designed for a free standing
browser identification libary.

* nBrowser/Exception.cs: Removed Compile Attributes and related comments which were left
in from the original free standing browser libary.

* CapabilitiesBuild.cs: Removed Header Checksum related coding since it is not required
for the Mono implementation.

* CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
Removed functions which were designed to make use of features of a embeded browser file which
is not present in Mono.

* CapabilitiesChecksum.cs, RandomRoboBotKeywords.txt: Deleted

In .:
2008-12-11  Dean Brettle  <dean@brettle.com>

* System.Web.dll.sources: deleted
System.Web.Configuration_2.0/CapabilitiesChecksum.cs

* Makefile (RESOURCE_FILES_2): deleted
System.Web.Configuration_2.0/RandomRoboBotKeywords.txt

svn path=/branches/mono-2-2/mcs/; revision=121384

15 years agoIn tests:
Rodrigo Kumpera [Wed, 10 Dec 2008 13:09:08 +0000 (13:09 -0000)]
In tests:
2008-12-08  Rodrigo Kumpera  <rkumpera@novell.com>

* bug457574.il: New regression test.

* Makefile.am: Test added.

Backported from trunk r121174.

In mini:
2008-12-10  Rodrigo Kumpera  <rkumpera@novell.com>

* ssa.c (fold_ins): branch opt can kill dummy switch ops so we can't
expect that an OP_BR_REG will be there.

* branch-opts.c (remove_block_if_useless): Use MONO_IS_BRANCH_OP instead of checking
for the many branch ops. The original check miss OP_BR_REG.

Fixes #457574.

Backported from trunk r121173 and r121175

svn path=/branches/mono-2-2/mono/; revision=121210

15 years ago2008-12-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Dec 2008 20:14:00 +0000 (20:14 -0000)]
2008-12-09  Zoltan Varga  <vargaz@gmail.com>

Backport of r121150.

* aot-runtime.c (load_method): Avoid calling decode_exception_debug_info
while holding the aot lock.

svn path=/branches/mono-2-2/mono/; revision=121152

15 years agofix changelog
Andrés G. Aragoneses [Tue, 9 Dec 2008 17:08:37 +0000 (17:08 -0000)]
fix changelog

svn path=/branches/mono-2-2/mcs/; revision=121118

15 years ago2008-12-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Dec 2008 16:07:01 +0000 (16:07 -0000)]
2008-12-09  Zoltan Varga  <vargaz@gmail.com>

Backport of r121103.

* aot-runtime.c (decode_exception_debug_info): Acquire the domain
lock when calling mono_domain_alloc (). Hopefully fixes #415608.

svn path=/branches/mono-2-2/mono/; revision=121104

15 years agoBackport of r121064.
Marek Habersack [Mon, 8 Dec 2008 23:44:55 +0000 (23:44 -0000)]
Backport of r121064.

svn path=/branches/mono-2-2/mcs/; revision=121065

15 years ago2008-12-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Dec 2008 15:03:39 +0000 (15:03 -0000)]
2008-12-08  Zoltan Varga  <vargaz@gmail.com>

Backport of r120999.

* mini-exceptions.c (mono_print_thread_dump): Mark threadpool threads
as such. Fixes #456669.

svn path=/branches/mono-2-2/mono/; revision=121000

15 years ago2008-12-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Dec 2008 14:50:59 +0000 (14:50 -0000)]
2008-12-08  Zoltan Varga  <vargaz@gmail.com>

Backport of r120995.

* SQLite3.cs: Avoid IntPtr.ToInt32 () to convert between IntPtr's and integers
since it is not 64 bit safe. Fixes #457038.

svn path=/branches/mono-2-2/mcs/; revision=120996

15 years agoBackport of r120988.
Marek Habersack [Mon, 8 Dec 2008 12:04:01 +0000 (12:04 -0000)]
Backport of r120988.

svn path=/branches/mono-2-2/mcs/; revision=120989

15 years agoBackport of r120880
Marek Habersack [Fri, 5 Dec 2008 20:37:26 +0000 (20:37 -0000)]
Backport of r120880

svn path=/branches/mono-2-2/mono/; revision=120883

15 years agoFix a test run issue for 1.1
Marek Habersack [Fri, 5 Dec 2008 18:05:44 +0000 (18:05 -0000)]
Fix a test run issue for 1.1

svn path=/branches/mono-2-2/mcs/; revision=120860

15 years ago2008-12-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 5 Dec 2008 17:18:56 +0000 (17:18 -0000)]
2008-12-05 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Tds70.cs: support parameter names with or without a leading '@'.

svn path=/branches/mono-2-2/mcs/; revision=120855

15 years agoBackport of r120823.
Marek Habersack [Fri, 5 Dec 2008 12:01:37 +0000 (12:01 -0000)]
Backport of r120823.

svn path=/branches/mono-2-2/mcs/; revision=120825

15 years agoBackport of r120822.
Marek Habersack [Fri, 5 Dec 2008 12:00:14 +0000 (12:00 -0000)]
Backport of r120822.

svn path=/branches/mono-2-2/mcs/; revision=120824

15 years agoBackport ReaderWriterLockSlim for MEF
Miguel de Icaza [Thu, 4 Dec 2008 22:03:09 +0000 (22:03 -0000)]
Backport ReaderWriterLockSlim for MEF

svn path=/branches/mono-2-2/mcs/; revision=120768

15 years ago2008-12-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Dec 2008 21:04:20 +0000 (21:04 -0000)]
2008-12-04  Zoltan Varga  <vargaz@gmail.com>

Backport of r120756.

* aot-compiler.c (add_wrappers): Add pinvoke wrappers.

* mini.c (mono_resolve_patch_target): Allow pinvoke methods in
MONO_PATCH_INFO_ICALL_ADDR.

svn path=/branches/mono-2-2/mono/; revision=120757

15 years ago2008-12-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Dec 2008 20:48:32 +0000 (20:48 -0000)]
2008-12-04  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_emit_native_wrapper): Add AOT support for pinvoke
wrappers by emitting the function address using a CEE_MONO_ICALL_ADDR
instruction instead of a pointer constant.

svn path=/branches/mono-2-2/mono/; revision=120750

15 years ago2008-12-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 3 Dec 2008 19:49:33 +0000 (19:49 -0000)]
2008-12-03  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, namespace.cs, driver.cs: Allow ExtensionAttribute
to be imported from any assembly.

svn path=/branches/mono-2-2/mcs/; revision=120629

15 years ago2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:35:50 +0000 (15:35 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UdpClientTest.cs: test closing a UDP socket while receiving.

svn path=/branches/mono-2-2/mcs/; revision=120605

15 years ago2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:33:28 +0000 (15:33 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UdpClient.cs: don't Poll() in Receive(), the call to ReceiveFrom
will block anyway. Fixes bug #455894.

2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Socket.cs: mark the socket as not connected when there is a pending
error or exception about to be thrown.
Bug #443346 fixed.

svn path=/branches/mono-2-2/mcs/; revision=120602

15 years ago2008-12-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 3 Dec 2008 14:22:24 +0000 (14:22 -0000)]
2008-12-03  Mark Probst  <mark.probst@gmail.com>

Backport of r120589.

* method-to-ir.c (mono_method_to_ir): Handle ldtoken of an open
generic type (via a typedef or typeref) correctly.

2008-12-03  Mark Probst  <mark.probst@gmail.com>

Backport of r120589.

* generic-typedef.2.cs: New test for ldtoken of open generic
types.

* Makefile.am: Test added.

svn path=/branches/mono-2-2/mono/; revision=120595

15 years agoBackport of r120592.
Marek Habersack [Wed, 3 Dec 2008 13:55:22 +0000 (13:55 -0000)]
Backport of r120592.

svn path=/branches/mono-2-2/mcs/; revision=120593

15 years agoBackport of r120590.
Marek Habersack [Wed, 3 Dec 2008 13:33:22 +0000 (13:33 -0000)]
Backport of r120590.

svn path=/branches/mono-2-2/mcs/; revision=120591

15 years ago2008-12-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 3 Dec 2008 12:31:09 +0000 (12:31 -0000)]
2008-12-03  Rodrigo Kumpera  <rkumpera@novell.com>
* mono-property-hash.c (mono_property_hash_destroy): Release
the root hashtable as well.

Backported from trunk.

svn path=/branches/mono-2-2/mono/; revision=120587

15 years ago2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 00:17:54 +0000 (00:17 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* AspParser.cs: reset to the next character in a partial match in case
of failure. Fixes bug #314688.

svn path=/branches/mono-2-2/mcs/; revision=120552

15 years ago2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 00:17:25 +0000 (00:17 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Page.cs: make sure we don't return null in Title.

svn path=/branches/mono-2-2/mcs/; revision=120551

15 years agoBackport of r120545.
Marek Habersack [Tue, 2 Dec 2008 23:13:43 +0000 (23:13 -0000)]
Backport of r120545.

svn path=/branches/mono-2-2/mono/; revision=120546

15 years ago2008-12-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Dec 2008 23:04:35 +0000 (23:04 -0000)]
2008-12-03  Zoltan Varga  <vargaz@gmail.com>

Backport of r120543.

* mini-trampolines.c (mono_magic_trampoline): Add some debugging code to help
diagnose an assertion failure.

svn path=/branches/mono-2-2/mono/; revision=120544

15 years agobackport the fix for erase/delete for OSX
Miguel de Icaza [Tue, 2 Dec 2008 21:57:01 +0000 (21:57 -0000)]
backport the fix for erase/delete for OSX

svn path=/branches/mono-2-2/mcs/; revision=120539

15 years agoBackport of r120485.
Marek Habersack [Tue, 2 Dec 2008 14:28:23 +0000 (14:28 -0000)]
Backport of r120485.

svn path=/branches/mono-2-2/mcs/; revision=120486

15 years agoBackport of r120442.
Marek Habersack [Tue, 2 Dec 2008 01:36:46 +0000 (01:36 -0000)]
Backport of r120442.

svn path=/branches/mono-2-2/mcs/; revision=120444

15 years agoBackport of r120436.
Marek Habersack [Tue, 2 Dec 2008 01:08:01 +0000 (01:08 -0000)]
Backport of r120436.

svn path=/branches/mono-2-2/mcs/; revision=120437

15 years ago2008-12-01 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Mon, 1 Dec 2008 23:28:37 +0000 (23:28 -0000)]
2008-12-01  Rodrigo Kumpera  <kumpera@gmail.com>
* main.c (get_uninitialized_data_type): Make crappy static analyzers happy.

Backported from trunk.

svn path=/branches/mono-2-2/mono/; revision=120417

15 years agoBackport of r120376.
Marek Habersack [Mon, 1 Dec 2008 19:33:50 +0000 (19:33 -0000)]
Backport of r120376.

svn path=/branches/mono-2-2/mcs/; revision=120377

15 years agoBackport of r120353.
Marek Habersack [Mon, 1 Dec 2008 14:45:31 +0000 (14:45 -0000)]
Backport of r120353.

svn path=/branches/mono-2-2/mcs/; revision=120354

15 years agoBackport of r120345.
Marek Habersack [Mon, 1 Dec 2008 12:35:03 +0000 (12:35 -0000)]
Backport of r120345.

svn path=/branches/mono-2-2/mcs/; revision=120346

15 years ago2008-11-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Nov 2008 20:28:25 +0000 (20:28 -0000)]
2008-11-29  Zoltan Varga  <vargaz@gmail.com>

Backport of r120273.

* mini.h aot-runtime.c: Fix building with DISABLE_AOT.

svn path=/branches/mono-2-2/mono/; revision=120283

15 years ago2008-11-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Nov 2008 17:00:46 +0000 (17:00 -0000)]
2008-11-29  Zoltan Varga  <vargaz@gmail.com>

Backport of r120273.

* mini.h aot-runtime.c: Fix building with DISABLE_AOT.

svn path=/branches/mono-2-2/mono/; revision=120274

15 years agoBackport of r120199
Marek Habersack [Fri, 28 Nov 2008 01:44:16 +0000 (01:44 -0000)]
Backport of r120199

svn path=/branches/mono-2-2/mcs/; revision=120200

15 years agoBackport of r120047
Marek Habersack [Thu, 27 Nov 2008 02:04:58 +0000 (02:04 -0000)]
Backport of r120047

svn path=/branches/mono-2-2/mcs/; revision=120107

15 years ago2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 17:41:38 +0000 (17:41 -0000)]
2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* pedump.c: initialize perf. counters. Fixes a segv.

svn path=/branches/mono-2-2/mono/; revision=119980

15 years ago2008-11-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Nov 2008 16:29:53 +0000 (16:29 -0000)]
2008-11-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #447027
* anonymous.cs (HoistedVariable): Cache also outer access to deal
with context variables stored as expression instances.

svn path=/branches/mono-2-2/mcs/; revision=119967

15 years ago2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 02:13:22 +0000 (02:13 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequestTest.cs: the upload test now passes with the MS
runtime. Added another test for download.

svn path=/branches/mono-2-2/mcs/; revision=119913

15 years ago2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 02:10:49 +0000 (02:10 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpDataStream.cs: use the socket for reading until the end of a
stream that wasn't read entirely. Remove unused ManualResetEvent.
* FtpWebRequest.cs: set the file_name when downloading. Update the
response status after every SendCommand. Send a "OPTS utf8 on" as MS
does (the control cnc reader should do something with UTF8)

svn path=/branches/mono-2-2/mcs/; revision=119912

15 years agothose need to be in there as well
Marek Habersack [Tue, 25 Nov 2008 01:47:27 +0000 (01:47 -0000)]
those need to be in there as well

svn path=/branches/mono-2-2/mcs/; revision=119911

15 years agoThis needs to be here too :P
Marek Habersack [Tue, 25 Nov 2008 01:46:30 +0000 (01:46 -0000)]
This needs to be here too :P

svn path=/branches/mono-2-2/mcs/; revision=119910