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
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
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
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
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
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
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
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
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
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
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
Jonathan Pobst [Mon, 6 Oct 2008 21:48:19 +0000 (21:48 -0000)]
revert accidental commits
svn path=/trunk/mcs/; revision=115016
Rodrigo Kumpera [Mon, 6 Oct 2008 21:42:30 +0000 (21:42 -0000)]
Added Changelog
svn path=/trunk/mono/; revision=115015
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
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
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
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
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
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
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
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
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
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
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
Paolo Molaro [Mon, 6 Oct 2008 17:08:58 +0000 (17:08 -0000)]
Remove the declaration, too.
svn path=/trunk/mono/; revision=114970
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Sun, 5 Oct 2008 09:23:19 +0000 (09:23 -0000)]
Updated
svn path=/trunk/mcs/; revision=114886
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Sat, 4 Oct 2008 14:32:41 +0000 (14:32 -0000)]
Disabled for now
svn path=/trunk/mcs/; revision=114831
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
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
Raja R Harinath [Sat, 4 Oct 2008 10:38:49 +0000 (10:38 -0000)]
update known issues
svn path=/trunk/mcs/; revision=114824
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
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
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
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
Jb Evain [Fri, 3 Oct 2008 21:59:40 +0000 (21:59 -0000)]
mark as working
svn path=/trunk/mcs/; revision=114804
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
Jb Evain [Fri, 3 Oct 2008 21:38:03 +0000 (21:38 -0000)]
add failing test
svn path=/trunk/mcs/; revision=114802
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
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
Rodrigo Kumpera [Fri, 3 Oct 2008 20:37:36 +0000 (20:37 -0000)]
Initial version.
svn path=/trunk/mcs/; revision=114784
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
Rodrigo Kumpera [Fri, 3 Oct 2008 18:28:59 +0000 (18:28 -0000)]
Merge branch 'simd'
svn path=/trunk/mono/; revision=114773
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
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
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
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
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
Marek Safar [Fri, 3 Oct 2008 17:27:36 +0000 (17:27 -0000)]
New test.
svn path=/trunk/mcs/; revision=114765
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
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
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
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
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
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
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
Rodrigo Kumpera [Fri, 3 Oct 2008 14:28:09 +0000 (14:28 -0000)]
2008-10-03 Rodrigo Kumpera <rkumpera@novell.com>
* x86/x86-codegen.h: Add macros and enum for SSE instructions.
svn path=/trunk/mono/; revision=114751
Marek Habersack [Fri, 3 Oct 2008 14:24:08 +0000 (14:24 -0000)]
Refactoring to fix the case when the requested virtual path needs to be recompiled alone, previous approach was incorrect.
svn path=/trunk/mcs/; revision=114750
Zoltan Varga [Fri, 3 Oct 2008 14:21:09 +0000 (14:21 -0000)]
2008-10-03 Zoltan Varga <vargaz@gmail.com>
* stack-overflow.cs: Fix warnings. Add unmanaged tests.
svn path=/trunk/mono/; revision=114749
Zoltan Varga [Fri, 3 Oct 2008 14:17:47 +0000 (14:17 -0000)]
2008-10-03 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_handle_soft_stack_ovf): Fix the previous
change.
svn path=/trunk/mono/; revision=114748
Paolo Molaro [Fri, 3 Oct 2008 14:04:30 +0000 (14:04 -0000)]
Fri Oct 3 16:03:22 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mini-exceptions.c: remove 64 bit related ifdef clutter.
svn path=/trunk/mono/; revision=114747
Mark Probst [Fri, 3 Oct 2008 12:41:29 +0000 (12:41 -0000)]
2008-10-03 Mark Probst <mark.probst@gmail.com>
* generic-virtual-invoke.2.cs: Test for runtime invoking generic
virtual methods.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114746
Mark Probst [Fri, 3 Oct 2008 11:58:24 +0000 (11:58 -0000)]
2008-10-03 Mark Probst <mark.probst@gmail.com>
* object.c (mono_method_add_generic_virtual_invocation): Only add
instantiations to the thunk whose count is at least as large as
the threshold.
svn path=/trunk/mono/; revision=114744
Marek Safar [Fri, 3 Oct 2008 10:21:44 +0000 (10:21 -0000)]
New tests.
svn path=/trunk/mcs/; revision=114740
Marek Safar [Fri, 3 Oct 2008 10:21:22 +0000 (10:21 -0000)]
2008-10-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #431827
* expression.cs: Fixed right based pointer arithmetic operations
emit.
svn path=/trunk/mcs/; revision=114739
Atsushi Eno [Fri, 3 Oct 2008 09:44:42 +0000 (09:44 -0000)]
2008-10-03 Atsushi Enomoto <atsushi@ximian.com>
* ja.po : ok, having pending translation could result
in a mess when it is updated by other means.
svn path=/trunk/mono/; revision=114737
Marek Safar [Fri, 3 Oct 2008 08:45:45 +0000 (08:45 -0000)]
2008-10-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #353779
* assign.cs, expression.cs: Fixed compound assignment conversions.
svn path=/trunk/mcs/; revision=114734
Marek Habersack [Fri, 3 Oct 2008 07:53:06 +0000 (07:53 -0000)]
2008-10-03 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: make sure the generated class name is a valid
language independent identifier. Fixes bug #431622
2008-10-03 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: if an assembly fails to build out of a batch of
files, extract the virtual path that was requested by the client
and attempt to compile it alone.
svn path=/trunk/mcs/; revision=114732
Zoltan Varga [Fri, 3 Oct 2008 05:28:26 +0000 (05:28 -0000)]
2008-10-03 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_handle_soft_stack_ovf): Unprotect two pages
instead of one on 64 bit systems.
svn path=/trunk/mono/; revision=114731
Zoltan Varga [Fri, 3 Oct 2008 05:22:50 +0000 (05:22 -0000)]
2008-10-03 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Remove unused includes.
svn path=/trunk/mono/; revision=114730
Gonzalo Paniagua Javier [Thu, 2 Oct 2008 22:09:26 +0000 (22:09 -0000)]
2008-10-02 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
* Test/System.Reflection/ConstructorInfoTest.cs: enable abstract class
test.
* System.Reflection/MonoMethod.cs: throw a MemberAccessException when
trying to invoke a constructor creating an instance of an abstract
class. Return null when an instance of an object was passed as a
parameter when invoking a .ctor.
Fixes bug #324185.
svn path=/trunk/mcs/; revision=114720
Gonzalo Paniagua Javier [Thu, 2 Oct 2008 22:06:03 +0000 (22:06 -0000)]
2008-10-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* icall.c: changed the Type of the exception thrown when trying to
invoke a constructor on an abstract class. Part of the fix for bug
#324185.
svn path=/trunk/mono/; revision=114719
Jonathan Pobst [Thu, 2 Oct 2008 21:31:03 +0000 (21:31 -0000)]
2008-10-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewRow.cs: Only clear the row background if we
are going to paint a new background.
svn path=/trunk/mcs/; revision=114718
Jonathan Pobst [Thu, 2 Oct 2008 21:27:17 +0000 (21:27 -0000)]
2008-10-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewCell.cs, DataGridViewColumnHeaderCell.cs,
DataGridViewRowHeaderCell.cs: Remove PaintPartBorder and
use PaintBorder instead.
svn path=/trunk/mcs/; revision=114717
Zoltan Varga [Thu, 2 Oct 2008 21:03:02 +0000 (21:03 -0000)]
2008-10-02 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_exception_debug_info): Use jinfo->used_regs instead of
cfg->used_int_regs, since the two are different on arm.
svn path=/trunk/mono/; revision=114713
Jonathan Pobst [Thu, 2 Oct 2008 20:59:59 +0000 (20:59 -0000)]
2008-10-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: When CellBorderStyle is set, update the
AdvancedCellBorderStyle to match.
svn path=/trunk/mcs/; revision=114712