mono.git
15 years ago2008-10-07 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 7 Oct 2008 18:19:33 +0000 (18:19 -0000)]
2008-10-07  Bill Holmes  <billholmes54@gmail.com>

* marshal.c (cominterop_get_native_wrapper) : Adding a call to mono_class_setup_vtable
  if if the class vtable needs initialized.

Code is contributed under MIT/X11 license.

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

15 years ago2008-10-07 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 7 Oct 2008 18:16:44 +0000 (18:16 -0000)]
2008-10-07  Bill Holmes  <billholmes54@gmail.com>

* marshal.c (cominterop_get_native_wrapper_adjusted, cominterop_get_ccw) :
  Adding default MonoMarshalSpecs for COM methods.  OBJECT->STRUCT,
  STRING->BSTR, and CLASS->INTERFACE.

Code is contributed under MIT/X11 license.

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

15 years ago2008-10-07 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 7 Oct 2008 18:15:33 +0000 (18:15 -0000)]
2008-10-07  Bill Holmes  <billholmes54@gmail.com>

* libmono.vcproj : Adding simd-intrinsics.c to the VC project.

Code is contributed under MIT/X11 license.

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

15 years agoTue Oct 7 19:59:07 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 7 Oct 2008 18:00:51 +0000 (18:00 -0000)]
Tue Oct 7 19:59:07 CEST 2008 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: attach the thread in unmanaged->managed transitions
using delegates (bug #433148).

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

15 years ago2008-10-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 7 Oct 2008 17:55:21 +0000 (17:55 -0000)]
2008-10-07  Rodrigo Kumpera  <rkumpera@novell.com>

       * basic-simd.cs: Use new ShuffleSel constants.

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

15 years ago2008-10-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 7 Oct 2008 17:42:34 +0000 (17:42 -0000)]
2008-10-07 Rodrigo Kumpera <rkumpera@novell.com>

* Vector4f.cs (ShuffleSel): Better naming for the constants.
Added some helper constants.

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

15 years ago * AssemblyInfo.cs : Added CLSCompliant attribute.
Rodrigo Kumpera [Tue, 7 Oct 2008 17:42:32 +0000 (17:42 -0000)]
 * AssemblyInfo.cs : Added CLSCompliant attribute.

* Vector4u.cs: Mask type as not CLS compliant.

* Vector4c.cs: Mask methods returning Vector4u as not CLS compliant.

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

15 years agoAdded Changelog entry.
Rodrigo Kumpera [Tue, 7 Oct 2008 16:56:55 +0000 (16:56 -0000)]
Added Changelog entry.

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

15 years ago driver.c (opt_sets): Added combinations of simd, sse2 and sse3.
Rodrigo Kumpera [Tue, 7 Oct 2008 16:56:53 +0000 (16:56 -0000)]
driver.c (opt_sets): Added combinations of simd, sse2 and sse3.

mini-x86.c (mono_arch_cpu_optimizazions): Detect sse3 and now
only disable simd intrinsics if no sse2 is detected.

* optflags-def.h: Added sse3.

* simd-intrinsics.c: Avoid generated sse3 intrinsics if the optimization
is disabled.

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

15 years ago2008-10-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 7 Oct 2008 16:22:38 +0000 (16:22 -0000)]
2008-10-07  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Comment out an exception that is getting thrown
too often currently.

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

15 years ago2008-10-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 7 Oct 2008 16:20:10 +0000 (16:20 -0000)]
2008-10-06  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Always rebind to the datasource, as things may
have changed in it that we aren't capturing yet.

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

15 years ago2008-10-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 7 Oct 2008 15:46:07 +0000 (15:46 -0000)]
2008-10-06  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
drawing mode.  If we are top aligned, give ourselves some top padding.

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

15 years ago2008-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 7 Oct 2008 15:40:04 +0000 (15:40 -0000)]
2008-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ServicePointManager.cs: better handling of possible collisions of the
hash for schema/host/port. Fixes bug #417891.

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

15 years agoblah
Jb Evain [Tue, 7 Oct 2008 14:23:45 +0000 (14:23 -0000)]
blah

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

15 years ago2008-10-07 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 7 Oct 2008 14:03:25 +0000 (14:03 -0000)]
2008-10-07  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionReader.cs: don't cache generic typespecs,
as some compiler reuse generic instance signatures with different
generic contexts.

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

15 years ago2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Oct 2008 12:30:30 +0000 (12:30 -0000)]
2008-10-07  Atsushi Enomoto  <atsushi@ximian.com>

* data/Makefile.am : there seems a couple more of required changes.

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

15 years ago2008-10-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 7 Oct 2008 12:08:13 +0000 (12:08 -0000)]
2008-10-07  Marek Habersack  <mhabersack@novell.com>

* Math.cs: implemented the away from zero rounding for the Round
(double, int, MidpointRounding) overload.

2008-10-07  Marek Habersack  <mhabersack@novell.com>

* MathTest.cs: added tests for rounding doubles with truncation in
the away from zero mode.

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

15 years ago2008-10-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 7 Oct 2008 12:07:28 +0000 (12:07 -0000)]
2008-10-07  Marek Habersack  <mhabersack@novell.com>

* sysmath.h: changed the declaration of the
ves_icall_System_Math_Round2 icall by adding an extra
away_from_zero parameter.

* sysmath.c (ves_icall_System_Math_Round2): added support for
away from zero rounding. The icall now takes an extra boolean
parameter to signal that away from zero operation is requested.

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

15 years ago2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Oct 2008 10:54:50 +0000 (10:54 -0000)]
2008-10-07  Atsushi Enomoto  <atsushi@ximian.com>

* scripts/Makefile.am : one more dist fix is needed.

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

15 years ago2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Oct 2008 10:50:16 +0000 (10:50 -0000)]
2008-10-07  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : changed some net_2_0_dirs orders; Sys.Web.Extensions
  will depend on Sys.Data.Linq (LinqDataSource).

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

15 years ago2008-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 7 Oct 2008 10:21:15 +0000 (10:21 -0000)]
2008-10-07  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (add_wrappers): Fix Delegate/MulticastDelegate classes
when adding delegate-invoke wrappers.

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

15 years ago2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Oct 2008 09:24:20 +0000 (09:24 -0000)]
2008-10-07  Atsushi Enomoto  <atsushi@ximian.com>

* configure.in : fix missing change for previous change.

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

15 years ago2008-10-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Oct 2008 09:16:30 +0000 (09:16 -0000)]
2008-10-07  Atsushi Enomoto  <atsushi@ximian.com>

* scripts/mono-nunit.pc.in, data/mono-nunit.pc.in:
  move former to latter.
* scripts/Makefile.am : remove packaging info.
* data/Makefile.am : add mono-nunit.pc too.

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

15 years ago2008-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 7 Oct 2008 03:32:33 +0000 (03:32 -0000)]
2008-10-07  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Reenable the simd tests.

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

15 years ago2008-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 7 Oct 2008 03:31:16 +0000 (03:31 -0000)]
2008-10-07  Zoltan Varga  <vargaz@gmail.com>

* Makefile (net_2_0_dirs): Add Mono.Simd.

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

15 years ago2008-10-07 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 7 Oct 2008 00:07:05 +0000 (00:07 -0000)]
2008-10-07  Bill Holmes  <billholmes54@gmail.com>

* mini-amd64.c (mono_arch_emit_outarg_vt) : In the ArgValuetypeAddrInIReg case,
  add a call to mono_call_inst_add_outarg_reg for the arg->dreg to make sure that no
  other vreg is allocated to that hreg.

Contributed under MIT/X11 license.

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

15 years ago2008-10-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 7 Oct 2008 00:00:06 +0000 (00:00 -0000)]
2008-10-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: When firing the default dnd enter/leave events, fire the
events on the control under the mouse pointer, instead of firing them
on the window generating the dnd operation. To achieve this re-use the
code used to get the window under the pointer when getting MouseMove
events.
Fixes #381876.

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

15 years ago2008-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 23:32:16 +0000 (23:32 -0000)]
2008-10-07  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Disable the simd tests for now as Mono.Simd is not
yet checked in.

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

15 years ago2008-10-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 6 Oct 2008 22:44:27 +0000 (22:44 -0000)]
2008-10-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: Don't check that that the window sending the dnd events
is the owner of the selection. Although Gtk+ sets it that way, it's
not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
So, just as Gtk+ does, we set our window sending the dnd events as the
owner of the selection, but don't check it when receiving them. This
should fix interoperability with Qt/Kde.
Fixes #324251.

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

15 years agoAuthor: Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Mon, 6 Oct 2008 22:02:32 +0000 (22:02 -0000)]
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date:   Mon Oct 6 18:52:47 2008 -0300

     * basic-test.cs: New tests for simd intrinsics.

     * Makefile.am: Add new tests.

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

15 years ago2008-10-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 6 Oct 2008 22:01:23 +0000 (22:01 -0000)]
2008-10-06  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Make sure we take the vertical scrollbar into
account when autosizing columns.

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

15 years agorevert accidental commits
Jonathan Pobst [Mon, 6 Oct 2008 21:48:19 +0000 (21:48 -0000)]
revert accidental commits

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

15 years agoAdded Changelog
Rodrigo Kumpera [Mon, 6 Oct 2008 21:42:30 +0000 (21:42 -0000)]
Added Changelog

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

15 years ago * cpu-x86.md: Added new instructions to handle float to int using SSE regs.
Rodrigo Kumpera [Mon, 6 Oct 2008 21:42:27 +0000 (21:42 -0000)]
 * cpu-x86.md: Added new instructions to handle float to int using SSE regs.

* mini-ops.h: Same.

* mini-x86.h: Enable mono_arch_decompose_opts if simd intrinsics are enabled.

* mini-x86.c (mono_arch_decompose_opts): Decompose float to int conversion
using SSE2 aware opcodes.

* mini-x86.c (emit_float_to_int): Disable the SSE2 optimization if OPT_SIMD
is enabled, this code path is only reachable if conversion ops are emmited after
mono_method_to_ir.

* mini.h: Added MonoCompile::fconv_to_r8_x_var to hold the float to int var.

This optimization saves 6 bytes per conversion against the old version.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 21:24:45 +0000 (21:24 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Don't skip methods referencing
generic methods without a corresponding entry in token_info_hash, since
encode_method_ref () can handle all generic methods now.

* method-to-ir.c (mono_save_token_info): Don't save the token info if a
generic context is set.

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

15 years ago2008-10-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 6 Oct 2008 21:04:50 +0000 (21:04 -0000)]
2008-10-06  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Handle sorting datetimes.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 21:04:12 +0000 (21:04 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Put back a disable_aot for
generic sharing of LDTOKEN.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 20:44:43 +0000 (20:44 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* Activator.cs (CreateInstance): Don't return the return value of the
ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.

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

15 years ago2008-10-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 6 Oct 2008 20:35:46 +0000 (20:35 -0000)]
2008-10-06 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ChunkStream.cs: (ReadTrailer) make sure the array access is not out
of bounds. Fixes bug #322715.

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

15 years ago2008-10-06 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 6 Oct 2008 19:11:48 +0000 (19:11 -0000)]
2008-10-06  Mark Probst  <mark.probst@gmail.com>

* mini-amd64.h: Temporarily disabled fast virtual generic method
calls because it breaks the System.Runtime.Remoting tests.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 17:31:55 +0000 (17:31 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_delegate_begin_invoke): Put the wrapper in
the delegate klass so it can work with full-aot.
(mono_marshal_get_delegate_end_invoke): Ditto.
(mono_marshal_get_delegate_invoke): Ditto.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 17:24:28 +0000 (17:24 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

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

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

15 years ago2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Oct 2008 17:16:34 +0000 (17:16 -0000)]
2008-10-06  Sebastien Pouliot  <sebastien@ximian.com>
* TestColor.cs: Add test case, from Gert Driesen, for bug #410693
* TestRectangleF.cs: Add test case, from Imie Nazwisko, for bug #431587

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

15 years ago2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Oct 2008 17:13:56 +0000 (17:13 -0000)]
2008-10-06  Sebastien Pouliot  <sebastien@ximian.com>
* Color.cs: Fix Color serialization by changing 'value' visibility
to private and make everyone access it thru an internal property.
This also simplify the A, R, G and B properties and probably covers
a few other cases where a similar hack would have been required.
[Fix bug #410693]
* KnownColors.cs: Assign Color.Value property and not the value field.

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

15 years agoRemove the declaration, too.
Paolo Molaro [Mon, 6 Oct 2008 17:08:58 +0000 (17:08 -0000)]
Remove the declaration, too.

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

15 years agoAdd a bit of explanation about the double use of HashCode.
Paolo Molaro [Mon, 6 Oct 2008 17:06:51 +0000 (17:06 -0000)]
Add a bit of explanation about the double use of HashCode.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 17:04:11 +0000 (17:04 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (check_inline_called_method_name_limit): Return TRUE
so inlining actually works.
(check_inline_caller_method_name_limit): Ditto.

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

15 years ago2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Oct 2008 15:06:44 +0000 (15:06 -0000)]
2008-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* TestRectangleF.cs: Add test case for bug #431587

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

15 years agoRectangleF.cs: Fix edge intersection. Path by Brian Browning. [Fix bug #431587]
Sebastien Pouliot [Mon, 6 Oct 2008 15:05:57 +0000 (15:05 -0000)]
RectangleF.cs: Fix edge intersection. Path by Brian Browning. [Fix bug #431587]

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

15 years agoMon Oct 6 16:10:02 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 6 Oct 2008 14:14:15 +0000 (14:14 -0000)]
Mon Oct 6 16:10:02 CEST 2008 Paolo Molaro <lupus@ximian.com>

* gc.c, attach.h, attach.c: remove a bad pattern:
add_finalizer_callback () is not implemented correctly, it can't
without adding more overhead to the finalizer loop and it's not
even needed, since we know exactly what we need to call, so there is
no need to do so through an expensive function pointer.

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

15 years agoMon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 6 Oct 2008 13:14:21 +0000 (13:14 -0000)]
Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Array.cs: better message when keys cannot be compared
when sorting (bug #368455).

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

15 years agoMon Oct 6 11:04:38 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 6 Oct 2008 09:06:33 +0000 (09:06 -0000)]
Mon Oct 6 11:04:38 CEST 2008 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: mono_arch_flush_icache () cast pointer using gsize for
64 bit safety (from Olaf Hering and Andreas Färber).

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

15 years agoMon Oct 6 09:46:09 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 6 Oct 2008 07:50:20 +0000 (07:50 -0000)]
Mon Oct 6 09:46:09 CEST 2008 Paolo Molaro <lupus@ximian.com>

* UTF8Encoding.cs: rewritten InternalGetByteCount () and
InternalGetBytes (): among other things this versions are
10% to 60% faster, depending on input type and size.

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

15 years ago2008-10-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 6 Oct 2008 06:50:27 +0000 (06:50 -0000)]
2008-10-06  Marek Habersack  <mhabersack@novell.com>

* machine.config: added entries to ignore the mobileControls and
deviceFilters sections.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 03:38:50 +0000 (03:38 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* DictionaryTest.cs: Add a test for #432441.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 03:35:26 +0000 (03:35 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* Dictionary.cs (Clear): Clear the linkSlots array as well, as
Enumerator.MoveNext () depends on it. Fixes #432441.

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

15 years ago2008-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 6 Oct 2008 00:11:43 +0000 (00:11 -0000)]
2008-10-06  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_aot_trampoline): Delegate processing to
mono_magic_trampoline () if aot_get_method_from_token () fails. Remove
unused virtual call support code.

* aot-runtime.c (decode_method_ref): Add a 'no_aot_trampoline' out argument.

* aot-runtime.c (mono_aot_get_method_from_vt_slot): Return NULL for methods
which can't use aot trampolines.
(decode_patch): Don't create aot trampolines for methods which can't use
them.

* aot-compiler.c (encode_method_ref): Add a marker for methods which can't
use aot trampolines.

* mini.h: Bump AOT image format version.

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

15 years ago2008-10-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 5 Oct 2008 18:03:39 +0000 (18:03 -0000)]
2008-10-05  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Allow parsing weird array creation construct.

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

15 years ago2008-10-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 5 Oct 2008 17:44:06 +0000 (17:44 -0000)]
2008-10-05  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Pass cil_method instead of cmethod
to save_token_info () since cmethod is inflated for constrained calls.

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

15 years agoUpdated
Marek Safar [Sun, 5 Oct 2008 09:23:19 +0000 (09:23 -0000)]
Updated

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

15 years ago2008-10-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 5 Oct 2008 09:23:04 +0000 (09:23 -0000)]
2008-10-05  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Conflicts reduction.

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

15 years ago* CustomizableFileSettingsProvider.cs (LoadPropertyValue): Do not
Gert Driesen [Sun, 5 Oct 2008 09:13:33 +0000 (09:13 -0000)]
* CustomizableFileSettingsProvider.cs (LoadPropertyValue): Do not
hide ArgumentException.

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

15 years ago2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 5 Oct 2008 02:01:08 +0000 (02:01 -0000)]
2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* NetworkInterface.cs: detect wireless 802.11 on linux.

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

15 years ago2008-10-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 5 Oct 2008 00:18:47 +0000 (00:18 -0000)]
2008-10-05  Zoltan Varga  <vargaz@gmail.com>

* mini-<ARCH>.h mini-x86.c: Remove some unused defines.

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

15 years ago2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 4 Oct 2008 21:50:11 +0000 (21:50 -0000)]
2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* CustomizableFileSettingsProvider.cs: when reading application or
user settings, only read those settings appropriate for the context.
This avoids duplicate key errors when 2 different groups have a key
with the same name.
* ApplicationSettingsBase.cs: the context is a hashtable with several
values set upon creation: SettingsKey, GroupName and
SettingsClassType.

Fixes bug #432466.

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

15 years ago2008-10-04 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sat, 4 Oct 2008 19:11:10 +0000 (19:11 -0000)]
2008-10-04  Andreas Faerber  <andreas.faerber@web.de>

* Makefile.am: Add build rules for ppc64.
This avoids the build failing at pedump with unresolved symbols
due to lack of arch_sources. Instead it will now fail earlier
due to lack of cpu-ppc64.md.

This commit is licensed under the MIT X11 license.

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

15 years ago2008-10-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 4 Oct 2008 18:39:03 +0000 (18:39 -0000)]
2008-10-04  Zoltan Varga  <vargaz@gmail.com>

* gc.c: Define a dummy version of mono_gc_add_finalizer_thread_callback ()
for the no-gc case.
* attach.c (mono_attach_init): Remove the #ifdef.

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

15 years ago2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 4 Oct 2008 18:24:39 +0000 (18:24 -0000)]
2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ApplicationSettingsBase.cs: honor the IsSynchronized value in the
Context, Properties, PropertyValues and Providers. All of them might
initialize an instance field for the class. Hopefully this fixes some
nullrefs.

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

15 years ago2008-10-04 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sat, 4 Oct 2008 17:23:51 +0000 (17:23 -0000)]
2008-10-04  Andreas Faerber  <andreas.faerber@web.de>

* attach.c (mono_attach_init): Don't use
mono_gc_add_finalizer_thread_callback when compiling without GC.
Fixes #432306.

This commit is licensed under the MIT X11 license.

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

15 years ago2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 4 Oct 2008 16:42:47 +0000 (16:42 -0000)]
2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ApplicationSettingsBase.cs: honor the IsSynchronized value in the
indexer.

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

15 years ago2008-10-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 4 Oct 2008 15:27:52 +0000 (15:27 -0000)]
2008-10-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpApplication.cs: make sure we release the resources used by the
request and/or the response at the end of the request.
Fixes bug #430040.

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

15 years agoDisabled for now
Marek Safar [Sat, 4 Oct 2008 14:32:41 +0000 (14:32 -0000)]
Disabled for now

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

15 years ago2008-10-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 4 Oct 2008 14:32:20 +0000 (14:32 -0000)]
2008-10-04  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Conflicts reduction.

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

15 years agoFix #398325
Raja R Harinath [Sat, 4 Oct 2008 10:39:14 +0000 (10:39 -0000)]
Fix #398325

* flowanalysis.cs (MyBitvector.MakeShared): Rename from 'Shared'
property.  Add a 'count' hint about the use of the shared vector.
Ensure that we don't leak out dirty bits.
(UsageVector.MergeChild): Throw away information about variables
in child vectors.
Based on patch and analysis by Moritz Kroll <Moritz.Kroll@gmx.de>.

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

15 years agoupdate known issues
Raja R Harinath [Sat, 4 Oct 2008 10:38:49 +0000 (10:38 -0000)]
update known issues

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

15 years ago2008-10-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 3 Oct 2008 23:03:15 +0000 (23:03 -0000)]
2008-10-04  Ivan N. Zlatev  <contact@i-nz.net>

* ButtonBase.cs, Control.cs, Label.cs, PictureBox.cs, TabControl.cs,
TextBoxBase.cs, ToolBar.cs, TrackBar.cs, TreeView.cs: Cleanup
compilation warnings.

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

15 years ago2008-10-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 3 Oct 2008 22:48:09 +0000 (22:48 -0000)]
2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>

* RTF.cs, Application.cs, BindingContext.cs, BindingSource.cs,
ContextMenuStrip.cs, Control.cs, Hwnd.cs, Line.cs, MaskedTextBox.cs,
ProgressBar.cs, SaveFileDialog.cs, TextControl.cs, Theme.cs,
ToolBar.cs, ToolStripItemCollection.cs, TrackBar.cs: Cleanup
compilation warnings.

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

15 years ago2008-10-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 3 Oct 2008 22:23:20 +0000 (22:23 -0000)]
2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs, DataGridViewCell.cs,
DataGridViewCellValidatingEventArgs.cs,
DataGridViewComboBoxEditingControl.cs, DataGridViewHeaderCell.cs,
DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
DataGridViewTextBoxEditingControl.cs: Cleanup compilation warnings.

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

15 years ago2008-10-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 3 Oct 2008 22:18:06 +0000 (22:18 -0000)]
2008-10-04  Mark Probst  <mark.probst@gmail.com>

* mini-amd64.c (mono_arch_emit_call): Support stack arguments for
tail calls.

* iltests.il.in: Add test case for tail call with many arguments.

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

15 years agomark as working
Jb Evain [Fri, 3 Oct 2008 21:59:40 +0000 (21:59 -0000)]
mark as working

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

15 years ago2008-10-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 3 Oct 2008 21:59:03 +0000 (21:59 -0000)]
2008-10-03  Jb Evain  <jbevain@novell.com>

* Expression.cs: make sure we properly test complex generic methods
as a Call candidate.

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

15 years agoadd failing test
Jb Evain [Fri, 3 Oct 2008 21:38:03 +0000 (21:38 -0000)]
add failing test

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

15 years agoSort the options in enable-minimal, and add simd
Miguel de Icaza [Fri, 3 Oct 2008 21:34:34 +0000 (21:34 -0000)]
Sort the options in enable-minimal, and add simd

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

15 years agoFri Oct 3 23:08:06 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Oct 2008 21:17:58 +0000 (21:17 -0000)]
Fri Oct 3 23:08:06 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Dictionary.cs: by popular demand, return keys/values in insertion
order when possible.

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

15 years agoInitial version.
Rodrigo Kumpera [Fri, 3 Oct 2008 20:37:36 +0000 (20:37 -0000)]
Initial version.

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

15 years ago2008-10-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 3 Oct 2008 19:51:29 +0000 (19:51 -0000)]
2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>

* HtmlElementEventArgs.cs, HtmlWindowCollection.cs:
Cleanup compilation warnings.

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

15 years agoMerge branch 'simd'
Rodrigo Kumpera [Fri, 3 Oct 2008 18:28:59 +0000 (18:28 -0000)]
Merge branch 'simd'

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

15 years ago2008-10-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Oct 2008 18:21:50 +0000 (18:21 -0000)]
2008-10-03  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Add an !cfg->compile_aot assert
to the fast virtual generic method code until the aot case is fixed.

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

15 years ago2008-10-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Oct 2008 18:13:26 +0000 (18:13 -0000)]
2008-10-03  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_create_from_typedef): Remove the
#ifndef DISABLE_SIMD stuff.

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

15 years ago2008-10-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 3 Oct 2008 18:10:35 +0000 (18:10 -0000)]
2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIWin32.cs: Cleanup compilation warnings.

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

15 years ago2008-10-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 3 Oct 2008 17:59:44 +0000 (17:59 -0000)]
2008-10-03  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Cleanup compilation warnings.

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

15 years ago2008-10-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 3 Oct 2008 17:33:11 +0000 (17:33 -0000)]
2008-10-03  Mark Probst  <mark.probst@gmail.com>

* generic-virtual-invoke.2.cs: Use different instantiations and
iterate the test.

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

15 years agoNew test.
Marek Safar [Fri, 3 Oct 2008 17:27:36 +0000 (17:27 -0000)]
New test.

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

15 years ago2008-10-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Oct 2008 17:27:09 +0000 (17:27 -0000)]
2008-10-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #431746
* iterators.cs, anonymous.cs: Re-initialize hoisted iterator
parameters when iterator is created.

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

15 years ago2008-10-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 3 Oct 2008 17:14:13 +0000 (17:14 -0000)]
2008-10-03  Mark Probst  <mark.probst@gmail.com>

* mini-ppc.c, mini-ppc.h: Implement generic virtual method thunks.

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

15 years ago2008-10-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 3 Oct 2008 14:49:36 +0000 (14:49 -0000)]
2008-10-03  Mark Probst  <mark.probst@gmail.com>

* mini-amd64.c, mini-amd64.h: Implement generic virtual method
thunks.

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

* generic-virtual.2.cs: Iterate the test to make the generic
virtual method chunks kick in.

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

15 years ago2008-10-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Oct 2008 14:48:02 +0000 (14:48 -0000)]
2008-10-03  Zoltan Varga  <vargaz@gmail.com>

* invoke.cs: Fix this test after the ConstructorInfo changes.

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

15 years ago2008-10-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 3 Oct 2008 14:43:03 +0000 (14:43 -0000)]
2008-10-03  Rodrigo Kumpera  <rkumpera@novell.com>

* simd-intrinsics.c: Forgot to add this one.

* mini-codegen.c: Fix macro in case SIMD is not supported.

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

15 years ago2008-10-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 3 Oct 2008 14:28:21 +0000 (14:28 -0000)]
2008-10-03  Rodrigo Kumpera  <rkumpera@novell.com>

This patch land initial JIT support for simd intrinsics.

* mini-x86.h: Added new define to make --enable_minimal work on x86.

* Makefile.am: Added simd-intrinsics.c

* simd-intrinsics.c: New file with simd instrinsic related
code.

* cfold.c (mono_constant_fold_ins2): Fold XZERO.

* cpu-x86.md: Add simd related instructions.

* driver.c: Added MONO_OPT_SIMD to the default set of optimizations.

* driver.c: Added two new --regression variants.

* ir-emit.h (MONO_EMIT_NEW_VZERO): Emit XZERO if the type is a simd intrinsic.

* local-propagation.c (mono_local_cprop2): Eliminate useless XMOVE.

* local-propagation.c (mono_local_deadce): Use new macro MONO_IS_NON_FP_MOVE and
extract some complicated logic to helper functions.

* method-to-ir.c (mono_type_to_regmove): Handle simd intrinsics.

* method-to-ir.c (mini_emit_inst_for_method): Emit simd intrinsics.

* method-to-ir.c (mono_handle_global_vregs): If a simd intrinsic was found, apply
the specialized simplification pass.

* method-to-ir.c (mono_spill_global_vars): Use new macro.

* mini-codegen.c: Added SIMD constants to all regbanks arrays.

* mini-codegen.c: Added reg_bank_table_init to initialize the reg desc -> bank
table.

* mini-codegen.c: Define a version of the reg_bank macro that uses desc_to_reg_type
if MONO_ARCH_NEED_SIMD_BANK is defined.

* mini-ops.h: Added the new simd ops.

* mini-x86.c: Added mono_arch_xregname.

* mini-x86.c (mono_arch_cpu_optimizazions): Disable MONO_OPT_SIMD if SSE3 is not detected.

* mini-x86.c (mono_arch_output_basic_block): Add simd related opcodes.

* mini-x86.h: Define simd related MONO_ARCH macros.

* mini.c (mono_type_to_load_membase): Handle simd intrinsics.

* mini.c (mono_type_to_store_membase): Handle simd intrinsics.

* mini.h: Added new macros MONO_IS_NON_FP_MOVE, MONO_IS_REAL_MOVE, MONO_IS_ZERO and
MONO_CLASS_IS_SIMD to deal with simd related IR.

* mini.h (MonoInst): Added spill_var to the backend union.

* mini.h (MonoCompile): Added uses_simd_intrinsics and iconv_raw_var.

* mini.h: Added forward declarations of the new simd fuctions.

* optflags-def.h: Added new optimization names SIMD.

* regalloc.c (mono_regstate_reset): Set next vreg to be the max value of the 3 reg banks.

* regalloc.h: Added support for working with 3 register banks.

* regalloc.h (MonoRegState): Added xsymbolic field if a third regbank is required.

* ssa2.c (mono_ssa_deadce2): Use new MONO_IS_ZERO macro.

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

15 years ago2008-10-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 3 Oct 2008 14:28:11 +0000 (14:28 -0000)]
2008-10-03 Rodrigo Kumpera <rkumpera@novell.com>

* class-internals.h (MonoClass): Added simd_type bit field.

* class.c (mono_class_create_from_typedef): Check if type is a simd
intrinsic.

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