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
Jonathan Pobst [Thu, 2 Oct 2008 20:23:18 +0000 (20:23 -0000)]
2008-10-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewCell.cs: Add helper methods to convert Alignment
to TextFormatFlags and align rectangles.
* DataGridViewTextBoxCell.cs: Use Alignment when painting text.
* DataGridViewImageCell.cs: Use Alignment when painting the image.
svn path=/trunk/mcs/; revision=114707
Ivan Zlatev [Thu, 2 Oct 2008 20:21:48 +0000 (20:21 -0000)]
2008-10-02 Ivan N. Zlatev <contact@i-nz.net>
* ToolTip.cs: Display tooltips only for controls on the active
* form.
[Fixes bug #428115]
svn path=/trunk/mcs/; revision=114706
Jonathan Pobst [Thu, 2 Oct 2008 20:16:43 +0000 (20:16 -0000)]
2008-10-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Make OnCellValueNeeded internal.
* DataGridViewCell.cs: Raise the CellValueNeeded event so the
user can supply their own value if they choose.
svn path=/trunk/mcs/; revision=114703
Mark Probst [Thu, 2 Oct 2008 19:46:44 +0000 (19:46 -0000)]
2008-10-02 Mark Probst <mark.probst@gmail.com>
* class.c, class-internals.h (mono_method_get_vtable_index): New
function which returns the index into the vtable and properly
handles inflated virtual generic methods.
2008-10-02 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c, inssel.brg, mini-trampolines.c: Use
mono_method_get_vtable_index() to get the vtable index.
svn path=/trunk/mono/; revision=114701
Marek Safar [Thu, 2 Oct 2008 18:01:46 +0000 (18:01 -0000)]
New test.
svn path=/trunk/mcs/; revision=114691
Marek Safar [Thu, 2 Oct 2008 18:01:32 +0000 (18:01 -0000)]
2008-10-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #375262
* statement.cs: Refactor ArrayForeach to be usable with string
indexer. Optimized single dimentional arrays foreach.
svn path=/trunk/mcs/; revision=114690
Jonathan Pobst [Thu, 2 Oct 2008 16:33:32 +0000 (16:33 -0000)]
2008-10-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewColumnHeaderCell.cs: Create a new style object
so the DefaultCellStyle doesn't get changed.
svn path=/trunk/mcs/; revision=114681
Jonathan Pobst [Thu, 2 Oct 2008 16:02:03 +0000 (16:02 -0000)]
2008-10-02 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: Check to make sure the owner is actually
changing in InternalOwner before doing any work. Fixes some
failing tests.
svn path=/trunk/mcs/; revision=114676
Mark Probst [Thu, 2 Oct 2008 14:52:25 +0000 (14:52 -0000)]
2008-10-02 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Don't create native
wrappers for array methods, because they're never called (and if
they were called they wouldn't work).
svn path=/trunk/mono/; revision=114671
Marek Safar [Thu, 2 Oct 2008 14:43:10 +0000 (14:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=114670
Marek Safar [Thu, 2 Oct 2008 14:42:55 +0000 (14:42 -0000)]
2008-10-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #431255
* anonymous.cs, expression.cs: Removed broken optimization.
svn path=/trunk/mcs/; revision=114669
Mark Probst [Thu, 2 Oct 2008 14:19:23 +0000 (14:19 -0000)]
2008-10-02 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Array methods are
special-cased and must not be invoked indirectly via the (M)RGCTX
when generic sharing is turned on. Fixes #431413.
2008-10-02 Mark Probst <mark.probst@gmail.com>
* bug-431413.2.cs: Test for bug #431413 (multidimensional generic
arrays).
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114668
Marek Habersack [Thu, 2 Oct 2008 12:03:38 +0000 (12:03 -0000)]
2008-10-02 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: Cosmetical output change - the hidden fields are output after the
update panels contents is sent in an async request. It makes the
async response look similar to the MS.NET's one but, more
importantly, makes debugging easier.
svn path=/trunk/mcs/; revision=114660
Marek Habersack [Thu, 2 Oct 2008 10:02:26 +0000 (10:02 -0000)]
2008-10-02 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: reverting revision 114552 since the real bug
was somewhere else. The correct fix is to make sure UpdatePanels
which output something _or_ have been named in the POST request as
requiring a refresh are marked as such. Only in that situation
HasBeenRendered returns true (as it should for those panels)
svn path=/trunk/mcs/; revision=114654
Gonzalo Paniagua Javier [Thu, 2 Oct 2008 04:09:54 +0000 (04:09 -0000)]
2008-10-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* InotifyWatcher.cs: IN_CLOSE_WRITE is triggered when a writable file is
closed, but that does not mean that the file was actually modified.
Fixes bug #323188.
svn path=/trunk/mcs/; revision=114646
Mark Probst [Wed, 1 Oct 2008 21:54:55 +0000 (21:54 -0000)]
2008-10-01 Mark Probst <mark.probst@gmail.com>
* object.c, domain.c, object-internals.h, domain-internals.h:
Generalize IMT thunk machinery to also handle thunks for virtual
generic method invokes. When a virtual generic method is invoked
more than a number of times we insert it into the thunk so that it
can be called without lookup in unmanaged code.
* generic-sharing.c, class-internals.h: Fetching a
MonoGenericInst* for a method from an (M)RGCTX.
2008-10-01 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: When generic sharing is active, call
non-interface virtual generic methods via the standard trampoline.
* mini-trampolines.c: Handle virtual generic shared methods.
* mini.h, mini-x86.c, mini-x86.h: New argument for
mono_arch_build_imt_thunk() which is non-NULL for virtual generic
method thunks and which is the trampoline to call if the lookup
fails. Enable the virtual generic method thunk for x86.
* mini-amd64.c, mini-arm.c, mini-ia64.c, mini-sparc.c,
mini-ppc.c (mono_arch_build_imt_thunk): Add the additional
argument but assert that it's NULL, because these archs don't yet
implement the virtual generic method thunk. Changes in the IMT
thunk data structures.
svn path=/trunk/mono/; revision=114630
Jonathan Pobst [Wed, 1 Oct 2008 21:48:01 +0000 (21:48 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewColumnHeaderCell.cs: Correctly calculate style.
* DataGridView.cs: Use a column header's inherited style instead
of just using the default.
svn path=/trunk/mcs/; revision=114628
Zoltan Varga [Wed, 1 Oct 2008 20:57:40 +0000 (20:57 -0000)]
Revert r114538, vc++ compiled code uses byref return types.
svn path=/trunk/mono/; revision=114623
Jonathan Pobst [Wed, 1 Oct 2008 20:48:41 +0000 (20:48 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* SplitContainer.cs: Raise SplitterMoved when the splitter is
moved through code.
svn path=/trunk/mcs/; revision=114619
Zoltan Varga [Wed, 1 Oct 2008 20:39:52 +0000 (20:39 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_globals): Avoid invalid characters in
the static linking symbol.
svn path=/trunk/mono/; revision=114617
Mario Carrion [Wed, 1 Oct 2008 20:12:52 +0000 (20:12 -0000)]
2008-10-01 Mario Carrion <mcarrion@novell.com>
* ScrollBar.cs: Internal property added: UIAThumbPosition.
svn path=/trunk/mcs/; revision=114608
Jonathan Pobst [Wed, 1 Oct 2008 19:25:38 +0000 (19:25 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.
svn path=/trunk/mcs/; revision=114606
Jonathan Pobst [Wed, 1 Oct 2008 19:21:17 +0000 (19:21 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: When the user sets Owner, we need to remove
it from its previous owner and then add it to the new owner's
item collection. Also, create InternalOwner, so we can set the owner
that doesn't do this new stuff.
* ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
svn path=/trunk/mcs/; revision=114603
Marek Safar [Wed, 1 Oct 2008 19:09:52 +0000 (19:09 -0000)]
2008-10-01 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Use full type parameters of parent generic
containers. Removed unnecessary AddParentStoreyReference call.
svn path=/trunk/mcs/; revision=114602
Jonathan Pobst [Wed, 1 Oct 2008 18:42:02 +0000 (18:42 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: When our parent changes, recalculate our text
size, since we may be getting our Font from our parent. When our
owner's Font changes, recalculate ourselves as we may be using
that font.
svn path=/trunk/mcs/; revision=114600
Zoltan Varga [Wed, 1 Oct 2008 18:34:30 +0000 (18:34 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* objects.cs: Add a test for the range check optimization. Fix warnings.
svn path=/trunk/mono/; revision=114599
Zoltan Varga [Wed, 1 Oct 2008 18:28:03 +0000 (18:28 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_if_conversion): Add back the 'optimize range checks'
optimization from the current JIT.
* method-to-ir.c (mini_emit_inst_for_method): Decompose String.Length
later in decompose_array_access_opts () to allow more optimizations.
* method-to-ir.c (mono_handle_soft_float): Rename this to
mono_decompose_soft_float () for consistency.
svn path=/trunk/mono/; revision=114597
Zoltan Varga [Wed, 1 Oct 2008 18:27:47 +0000 (18:27 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_if_conversion): Add back the 'optimize range checks'
optimization from the current JIT.
* method-to-ir.c (mini_emit_inst_for_method): Decompose String.Length
later in decompose_array_access_opts () to allow more optimizations.
* method-to-ir.c (mono_handle_soft_float): Rename this to
mono_decompose_soft_float () for consistency.
svn path=/trunk/mono/; revision=114596
Ankit Jain [Wed, 1 Oct 2008 16:58:09 +0000 (16:58 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* BuildEngine.cs (.ctor): Replace 'projectFile' param with 'project'.
(BuildProjectFile): If filename is null (project.LoadXml) then use
engine.BuildProject
* BuildTask.cs (InitializeTask): Track api change.
* Expression.cs (Parse): Skip empty entries in the expression.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs: Refactor BuildProjectFile tests. Add tests for loading
project from files and xml string.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* CallTarget.cs (Execute): Implement.
In tools/xbuild:
* xbuild/Microsoft.Common.tasks: Add CallTarget and AssignTargetPath task.
svn path=/trunk/mcs/; revision=114590
Zoltan Varga [Wed, 1 Oct 2008 16:38:39 +0000 (16:38 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* pinvoke3.cs libtest.c: Add test for byref string marshalling.
svn path=/trunk/mono/; revision=114586
Zoltan Varga [Wed, 1 Oct 2008 16:37:55 +0000 (16:37 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_string): Applied a variant of a patch by
tom hindle <tom_hindle@sil.org>. Fix byref native-to-managed string
marshalling. Fixes #431304.
svn path=/trunk/mono/; revision=114585
Bill Holmes [Wed, 1 Oct 2008 16:29:02 +0000 (16:29 -0000)]
2008-10-01 Bill Holmes <billholmes54@gmail.com>
* marshal.c (emit_marshal_variant) : Change the attribute checks to
handle when ref is specified without In or Out.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=114583
Everaldo Canuto [Wed, 1 Oct 2008 15:43:02 +0000 (15:43 -0000)]
In System.Windows.Forms:
2008-10-01 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: Select the first option of a popup when opening the popup via
return key. [Fixes bug #413792].
svn path=/trunk/mcs/; revision=114578
Zoltan Varga [Wed, 1 Oct 2008 15:29:22 +0000 (15:29 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (save_cast_details): Extract the cast details saving code
into a separate function.
(reset_cast_details): Ditto.
(handle_unbox): Save cast details. Fixes #431254.
svn path=/trunk/mono/; revision=114577
Marek Safar [Wed, 1 Oct 2008 15:08:11 +0000 (15:08 -0000)]
New test.
svn path=/trunk/mcs/; revision=114574
Marek Safar [Wed, 1 Oct 2008 15:04:19 +0000 (15:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=114572
Marek Safar [Wed, 1 Oct 2008 15:03:59 +0000 (15:03 -0000)]
2008-10-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #324702
* class.cs: Use better shorter names for explicit interface member
implementations.
* ecore.cs, typemanager.cs: Convert only mscorlib predefined names.
svn path=/trunk/mcs/; revision=114571
Jonathan Pobst [Wed, 1 Oct 2008 15:00:26 +0000 (15:00 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: Make Font, BackColor, and ForeColor be
ambient properties. (Get their value from their parents if
values haven't been set.)
svn path=/trunk/mcs/; revision=114570
Jb Evain [Wed, 1 Oct 2008 14:59:22 +0000 (14:59 -0000)]
add mono-cecil-strip.1 to the build
svn path=/trunk/mono/; revision=114569
Marek Safar [Wed, 1 Oct 2008 14:58:11 +0000 (14:58 -0000)]
2008-10-01 Marek Safar <marek.safar@gmail.com>
* expression.cs: Use new interface to check fixed expression.
svn path=/trunk/mcs/; revision=114568
Jb Evain [Wed, 1 Oct 2008 14:55:01 +0000 (14:55 -0000)]
add man page for mono-cil-strip
svn path=/trunk/mono/; revision=114567
Jb Evain [Wed, 1 Oct 2008 14:47:40 +0000 (14:47 -0000)]
2008-10-01 Jb Evain <jbevain@novell.com>
* scripts/Makefile.am: add mono-cil-strip.
svn path=/trunk/mono/; revision=114566
Jb Evain [Wed, 1 Oct 2008 14:43:03 +0000 (14:43 -0000)]
2008-10-01 Jb Evain <jbevain@novell.com>
* Makefile: add cil-strip to the build.
svn path=/trunk/mcs/; revision=114565
Jb Evain [Wed, 1 Oct 2008 14:42:44 +0000 (14:42 -0000)]
add cil-strip tool
svn path=/trunk/mcs/; revision=114564
Jonathan Pobst [Wed, 1 Oct 2008 14:38:05 +0000 (14:38 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* ToolStripSystemRenderer.cs: Call overridden methods' bases
after our logic, so users can do painting by handling the events.
Currently, we draw over any user painting.
svn path=/trunk/mcs/; revision=114563
Jonathan Pobst [Wed, 1 Oct 2008 14:35:58 +0000 (14:35 -0000)]
2008-10-01 Jonathan Pobst <monkey@jpobst.com>
* ToolStripProfessionalRenderer.cs: Call overridden methods' bases
after our logic, so users can do painting by handling the events.
Currently, we draw over any user painting.
svn path=/trunk/mcs/; revision=114562