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
Jb Evain [Wed, 1 Oct 2008 14:30:43 +0000 (14:30 -0000)]
internalize
svn path=/trunk/mcs/; revision=114561
Jb Evain [Wed, 1 Oct 2008 14:24:17 +0000 (14:24 -0000)]
2008-10-01 Jb Evain <jbevain@novell.com>
* Mono.Cecil.dll.sources
* Mono.Cecil.csproj
* Mono.Cecil/AssemblyStripper.cs
* Mono.Cecil.Cil/CodeWriter.cs
* Mono.Cecil.Metadata/MetadataWriter.cs: add a new AssemblyStripper
class to be used by a tool to empty method bodies for assemblies
that have been AOTed.
svn path=/trunk/mcs/; revision=114559
Everaldo Canuto [Wed, 1 Oct 2008 12:43:20 +0000 (12:43 -0000)]
In System.Windows.Forms:
2008-09-30 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: Prevent NRE when deactivate menu. Fixes #413636.
svn path=/trunk/mcs/; revision=114556
Marek Safar [Wed, 1 Oct 2008 11:06:26 +0000 (11:06 -0000)]
New tests, updates.
svn path=/trunk/mcs/; revision=114555
Marek Safar [Wed, 1 Oct 2008 11:06:03 +0000 (11:06 -0000)]
2008-10-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #421101
* expression.cs, statement.cs, ecore.cs: Use IFixedExpression
interface to check for fixed fixed-buffers.
svn path=/trunk/mcs/; revision=114554
Marek Safar [Wed, 1 Oct 2008 11:03:42 +0000 (11:03 -0000)]
2008-10-01 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Fixed broken value type test.
svn path=/trunk/mcs/; revision=114553
Marek Habersack [Wed, 1 Oct 2008 10:36:56 +0000 (10:36 -0000)]
2008-10-01 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: be more careful when rendering script blocks
and checking if the control's page matches the current
page. Control passed to script registration methods doesn't
necessarily have to be a Page itself and if it's not we need to
find the owning page of a script block's control.
svn path=/trunk/mcs/; revision=114552
Marek Habersack [Wed, 1 Oct 2008 09:01:53 +0000 (09:01 -0000)]
2008-10-01 Marek Habersack <mhabersack@novell.com>
* CapabilitiesResult.cs: added support for the "browsers"
capability - a collection of matching browser ids.
* nBrowser/Node.cs: store matching browser ids in the capabilities
collection (to support IsBrowser correctly)
2008-10-01 Marek Habersack <mhabersack@novell.com>
* BrowserCapabilities.cs: IsBrowser needs to compare browser names
case insensitively.
svn path=/trunk/mcs/; revision=114551
Marek Safar [Wed, 1 Oct 2008 08:57:08 +0000 (08:57 -0000)]
New test.
svn path=/trunk/mcs/; revision=114550
Marek Safar [Wed, 1 Oct 2008 08:56:52 +0000 (08:56 -0000)]
2008-10-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #429264
* assign.cs, anonymous.cs, ecore.cs: More type mutators added.
* delegate.cs: Removed unnecessary casts.
svn path=/trunk/mcs/; revision=114549
Zoltan Varga [Wed, 1 Oct 2008 02:25:03 +0000 (02:25 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Remove some obsolete FIXMEs.
svn path=/trunk/mono/; revision=114539
Zoltan Varga [Wed, 1 Oct 2008 02:17:32 +0000 (02:17 -0000)]
2008-10-01 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c mini-x86.c mini-arm.c mini-ppc.c method-to-ir.c: Remove
the workaround for byref being set on sig->ret, this does not seem to
happen any more. Add an assert instead.
svn path=/trunk/mono/; revision=114538
Michael Hutchinson [Wed, 1 Oct 2008 00:00:25 +0000 (00:00 -0000)]
2008-09-30 Michael Hutchinson <mhutchinson@novell.com>
* HttpServerChannel.cs: make sure the channel data object is set
when the port is auto-assigned.
* HttpClientTransportSink.cs: Use the __RequestUri header for the
request's URI. Includes workaround for bad __RequestUri values.
Fixes Bug 378713 - [regression] Remoting - HttpChannel.
svn path=/trunk/mcs/; revision=114530
Rodrigo Kumpera [Tue, 30 Sep 2008 22:05:06 +0000 (22:05 -0000)]
Squashed commit of the following:
commit
de53f0dbd60e84d9bd82e53295bf2f4ed4dd689a
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue Sep 30 18:57:57 2008 -0300
Reordered the Changelog
commit
3d2e552c303a2fe277b5b97156c42ae400d6d37c
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue Sep 30 18:39:39 2008 -0300
2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>
* ir-emit.h (alloc_dreg): Write a warning before crashing.
commit
c60d0b9a38ef4ba22f2781637e8e55a1144473fa
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue Sep 30 17:48:37 2008 -0300
2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>
* mini-codegen.c: More work on macros to make them
ready for multiple regbanks.
commit
ca8eb8c49bd8f42b04257d05593b151cfe7e43b3
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue Sep 30 16:28:34 2008 -0300
2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>
* method-to.ir.c (mono_type_to_regmove): Remove static modifier.
* mini.h: Export mono_type_to_regmove. Fix signature of mono_regname_full.
commit
d9daa3e244a54519fe09624b3785914a427b30d0
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue Sep 30 15:08:33 2008 -0300
* mini-codegen.c (mono_spillvar_offset): Proper support for multiple regbanks.
svn path=/trunk/mono/; revision=114520
Zoltan Varga [Tue, 30 Sep 2008 21:52:31 +0000 (21:52 -0000)]
2008-09-30 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_epilog): Remove some duplicated code from
the stack overflow changes.
svn path=/trunk/mono/; revision=114518
Jonathan Pobst [Tue, 30 Sep 2008 21:33:57 +0000 (21:33 -0000)]
2008-09-30 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs, TreeView.cs: Move logic that determines the node
image to draw to TreeNode. Give Index/Keys put on the node
precedence over the global one for the TreeView.
svn path=/trunk/mcs/; revision=114515
Mark Probst [Tue, 30 Sep 2008 21:26:07 +0000 (21:26 -0000)]
2008-09-30 Mark Probst <mark.probst@gmail.com>
* loader.c (mono_get_method_constrained): Don't expand method with
the class's context, because it's already a method of that class.
2008-09-30 Mark Probst <mark.probst@gmail.com>
* generic-constrained.2.il: Test case for the constrained. prefix
with generic interfaces.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114513
Jb Evain [Tue, 30 Sep 2008 21:23:16 +0000 (21:23 -0000)]
2008-09-30 Jb Evain <jbevain@novell.com>
* QueryableEnumerable.cs: fix ElementType.
svn path=/trunk/mcs/; revision=114511
Jb Evain [Tue, 30 Sep 2008 21:22:49 +0000 (21:22 -0000)]
add test for IQueryable.ElementType
svn path=/trunk/mcs/; revision=114510
Jonathan Pobst [Tue, 30 Sep 2008 21:13:16 +0000 (21:13 -0000)]
2008-09-30 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.
2008-09-30 Jonathan Pobst <monkey@jpobst.com>
* TreeNodeTest.cs: Test for ImageKey/ImageIndex plus flush some tests
sitting in my local tree.
svn path=/trunk/mcs/; revision=114508
Miguel de Icaza [Tue, 30 Sep 2008 21:05:30 +0000 (21:05 -0000)]
Remove text that was copy pasted from MSBuild
svn path=/trunk/mcs/; revision=114506
Juraj Skripsky [Tue, 30 Sep 2008 19:20:35 +0000 (19:20 -0000)]
2008-09-30 Juraj Skripsky <js@hotfeet.ch>
* CachedRawResponse.cs: Don't allocate a 32k buffer that is never
used. Fixes enhancement bug #430963.
svn path=/trunk/mcs/; revision=114502
Rodrigo Kumpera [Tue, 30 Sep 2008 15:16:08 +0000 (15:16 -0000)]
Fixed the Changelog formating.
svn path=/trunk/mono/; revision=114493
Rodrigo Kumpera [Tue, 30 Sep 2008 15:14:40 +0000 (15:14 -0000)]
Added changelog entry
svn path=/trunk/mono/; revision=114492
Rodrigo Kumpera [Tue, 30 Sep 2008 15:14:38 +0000 (15:14 -0000)]
* mini-codegen.c: Make all bank macros depend on reg_bank.
svn path=/trunk/mono/; revision=114491
Rodrigo Kumpera [Tue, 30 Sep 2008 15:14:37 +0000 (15:14 -0000)]
* mini-codegen.c (mono_local_regalloc): Make free mask
initialization regbank aware.
svn path=/trunk/mono/; revision=114490
Marek Safar [Tue, 30 Sep 2008 15:02:59 +0000 (15:02 -0000)]
New tests.
svn path=/trunk/mcs/; revision=114489
Marek Safar [Tue, 30 Sep 2008 15:02:44 +0000 (15:02 -0000)]
New tests.
svn path=/trunk/mcs/; revision=114488