Mario Carrion [Wed, 3 Sep 2008 20:34:19 +0000 (20:34 -0000)]
* AssemblyInfo.cs: Added InternalsVisibleTo attribute to support
UIAutomationWinforms assembly.
svn path=/trunk/mcs/; revision=112203
Rodrigo Kumpera [Wed, 3 Sep 2008 20:32:53 +0000 (20:32 -0000)]
In .:
2008-09-03 Rodrigo Kumpera <rkumpera@novell.com>
* strict_native_int_converts_to_unamanged_pointer.cs: It turns
out that this test should generate unverifiable code. Big WTF
for me as well.
svn path=/trunk/mono/; revision=112202
Marek Safar [Wed, 3 Sep 2008 17:09:22 +0000 (17:09 -0000)]
Fixed test
svn path=/trunk/mcs/; revision=112188
Marek Safar [Wed, 3 Sep 2008 15:25:55 +0000 (15:25 -0000)]
More tests.
svn path=/trunk/mcs/; revision=112186
Marek Safar [Wed, 3 Sep 2008 15:24:49 +0000 (15:24 -0000)]
2008-09-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #422507
* expression.cs (UnboxCast): Add missing child expression mutator.
svn path=/trunk/mcs/; revision=112184
Sebastien Pouliot [Wed, 3 Sep 2008 12:48:57 +0000 (12:48 -0000)]
2008-09-03 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Add unit test to check for an open curve
points.
svn path=/trunk/mcs/; revision=112178
Marek Safar [Wed, 3 Sep 2008 12:44:08 +0000 (12:44 -0000)]
2008-09-03 Marek Safar <marek.safar@gmail.com>
* driver.cs: Don't self reference System.Core assembly.
svn path=/trunk/mcs/; revision=112176
Ivan Zlatev [Wed, 3 Sep 2008 12:31:46 +0000 (12:31 -0000)]
2008-09-03 Ivan N. Zlatev <contact@i-nz.net>
* ButtonBase.cs CheckBox.cs, Control.cs, FlowLayoutPanel.cs,
FlowLayoutSettings.cs, GroupBox.cs, Label.cs, ListBox.cs,
PropertyGrid.cs, RadioButton.cs, TableLayoutPanel.cs,
TableLayoutSettings.cs, ToolStrip.cs, ToolStripDropDownButton.cs,
ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripSplitButton.cs,
ToolStripStatusLabel.cs: Add missing PerformLayout calls to various
properties.
[Fixes bug #418684]
svn path=/trunk/mcs/; revision=112174
Marek Safar [Wed, 3 Sep 2008 12:19:32 +0000 (12:19 -0000)]
Updated.
svn path=/trunk/mcs/; revision=112173
Marek Safar [Wed, 3 Sep 2008 12:00:09 +0000 (12:00 -0000)]
New test.
svn path=/trunk/mcs/; revision=112172
Marek Safar [Wed, 3 Sep 2008 11:58:40 +0000 (11:58 -0000)]
2008-09-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #422507
* expression.cs (StringConcat): Add missing type mutator.
svn path=/trunk/mcs/; revision=112170
Marek Safar [Wed, 3 Sep 2008 09:55:39 +0000 (09:55 -0000)]
New test.
svn path=/trunk/mcs/; revision=112160
Marek Safar [Wed, 3 Sep 2008 09:55:25 +0000 (09:55 -0000)]
2008-09-03 Marek Safar <marek.safar@gmail.com>
* generic.cs (TypeInferenceContext): Follow equality rule for
constructed type lower bound type inference.
svn path=/trunk/mcs/; revision=112159
Marek Safar [Wed, 3 Sep 2008 09:19:46 +0000 (09:19 -0000)]
Update bug number.
svn path=/trunk/mcs/; revision=112155
Neville Gao [Wed, 3 Sep 2008 03:58:17 +0000 (03:58 -0000)]
Control enabled to support accessibility.
svn path=/trunk/mcs/; revision=112138
Rodrigo Kumpera [Tue, 2 Sep 2008 21:38:53 +0000 (21:38 -0000)]
In .:
2008-09-02 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: New test for a field with initialized data
that is referenced from another assembly.
svn path=/trunk/mcs/; revision=112126
Bill Holmes [Tue, 2 Sep 2008 21:38:03 +0000 (21:38 -0000)]
2008-09-02 Bill Holmes <billholmes54@gmail.com>
* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi,
ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni) :
Changed to use GlobalAlloc for the memory returned on Windows platforms.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=112125
Sebastien Pouliot [Tue, 2 Sep 2008 21:30:56 +0000 (21:30 -0000)]
2008-09-02 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs: Add a bunch of unit tests to check when
points can be compressed (removed) when adding shapes to a path.
svn path=/trunk/mcs/; revision=112123
Miguel de Icaza [Tue, 2 Sep 2008 18:30:45 +0000 (18:30 -0000)]
2008-09-02 Miguel de Icaza <miguel@novell.com>
* getline.cs (CmdRefresh): Apply patch from Douglas S. Blank
<dblank@cs.brynmawr.edu> which updates the cursor position on
refresh.
svn path=/trunk/mcs/; revision=112113
Carlos Alberto Cortez [Tue, 2 Sep 2008 18:20:49 +0000 (18:20 -0000)]
2008-09-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: When connecting the event handler for the "Changed"
event for the property, only do it for PropertyManager, and not for
CurrencyManager - this is exactly what does .Net, totally ignoring any
change in the property of the elements of a list.
Fixes the tests.
svn path=/trunk/mcs/; revision=112112
Jb Evain [Tue, 2 Sep 2008 17:45:45 +0000 (17:45 -0000)]
2008-09-02 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Metadata/UserStringsHeap.cs: fix reading of some unicode fu.
svn path=/trunk/mcs/; revision=112108
Jb Evain [Tue, 2 Sep 2008 17:39:33 +0000 (17:39 -0000)]
2008-09-02 Jb Evain <jbevain@novell.com>
* object.c (mono_ldstr_metdata_sig): renamed to mono_ldstr_metadata_sig.
svn path=/trunk/mono/; revision=112107
Atsushi Eno [Tue, 2 Sep 2008 16:56:08 +0000 (16:56 -0000)]
2008-09-02 Atsushi Enomoto <atsushi@ximian.com>
* SerializationCodeGenerator.cs
XmlSerializationWriterInterpreter.cs : fixed bug #419973.
Sometimes implicit operators could involve and it affects on
typecasting. It's simple for code generator, but very bad for
reflection.
* XmlSerializerTestClasses.cs, XmlSerializerTests.cs:
added test for bug #419973.
svn path=/trunk/mcs/; revision=112103
Jb Evain [Tue, 2 Sep 2008 16:11:10 +0000 (16:11 -0000)]
2008-09-02 Jb Evain <jbevain@novell.com>
* Mono.Cecil/MethodAttributes.cs: add CheckAccessOnOverride.
* Mono.Cecil/MethodDefinition.cs: add IsCheckAccessOnOverride.
svn path=/trunk/mcs/; revision=112098
Jb Evain [Tue, 2 Sep 2008 16:06:49 +0000 (16:06 -0000)]
2008-09-02 Jb Evain <jbevain@novell.com>
* Mono.Cecil/GenericParameter.cs: fix Has*Constraint properties.
svn path=/trunk/mcs/; revision=112097
Jonathan Pobst [Tue, 2 Sep 2008 15:59:13 +0000 (15:59 -0000)]
2008-09-02 Jonathan Pobst <monkey@jpobst.com>
* XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
to Windows when creating a window, as we fake MDI stuffs.
[Fixes bug #421858]
svn path=/trunk/mcs/; revision=112095
Marek Safar [Tue, 2 Sep 2008 14:51:59 +0000 (14:51 -0000)]
Removed finished tasks
svn path=/trunk/mcs/; revision=112090
Marek Safar [Tue, 2 Sep 2008 14:36:07 +0000 (14:36 -0000)]
New test.
svn path=/trunk/mcs/; revision=112088
Marek Safar [Tue, 2 Sep 2008 14:32:23 +0000 (14:32 -0000)]
2008-09-02 Marek Safar <marek.safar@gmail.com>
* driver.cs: Fixed import of extension methods when using -noconfig
option.
svn path=/trunk/mcs/; revision=112087
Jb Evain [Tue, 2 Sep 2008 14:16:43 +0000 (14:16 -0000)]
2008-09-02 Jb Evain <jbevain@novell.com>
* Mono.Cecil/SecurityDeclarationReader.cs: fix reading
multiple permissions. Patch by Carsten Keutmann.
svn path=/trunk/mcs/; revision=112085
Marek Safar [Tue, 2 Sep 2008 14:01:50 +0000 (14:01 -0000)]
Updated
svn path=/trunk/mcs/; revision=112084
Marek Safar [Tue, 2 Sep 2008 14:01:36 +0000 (14:01 -0000)]
2008-09-02 Marek Safar <marek.safar@gmail.com>
* iterator.cs: Don't emit GetEnumerator method twice but call a generic
version from non-generic implementation instead.
svn path=/trunk/mcs/; revision=112083
Andrés G. Aragoneses [Tue, 2 Sep 2008 11:47:18 +0000 (11:47 -0000)]
Give more info in the changelog, this is affecting MD 1.9 branch
svn path=/trunk/mcs/; revision=112076
Atsushi Eno [Tue, 2 Sep 2008 11:40:07 +0000 (11:40 -0000)]
2008-09-02 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidatingReader.cs : call EndValidation() only once.
Fixed a bug additionally reported to #324606 (but wrong to
attach).
svn path=/trunk/mcs/; revision=112075
Atsushi Eno [Tue, 2 Sep 2008 11:07:46 +0000 (11:07 -0000)]
2008-09-02 Atsushi Enomoto <atsushi@ximian.com>
* web.config: added System.Web.Extensions.dll to assemblies.
svn path=/trunk/mono/; revision=112073
Jb Evain [Tue, 2 Sep 2008 07:10:28 +0000 (07:10 -0000)]
simplify
svn path=/trunk/mcs/; revision=112057
Stephane Delcroix [Tue, 2 Sep 2008 06:44:42 +0000 (06:44 -0000)]
replace the null colescent operator by a if-null mor mcs1. Fix the build
svn path=/trunk/mcs/; revision=112056
Rodrigo Kumpera [Tue, 2 Sep 2008 04:09:40 +0000 (04:09 -0000)]
In .:
2008-09-02 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (initialize_array_data): Handle field with RVA from
dynamic images.
svn path=/trunk/mono/; revision=112055
Rodrigo Kumpera [Tue, 2 Sep 2008 04:08:05 +0000 (04:08 -0000)]
In .:
2008-09-02 Rodrigo Kumpera <rkumpera@novell.com>
reflection.c (typebuilder_setup_fields): Handle classes with
explicit size.
svn path=/trunk/mono/; revision=112054
Rodrigo Kumpera [Mon, 1 Sep 2008 23:52:37 +0000 (23:52 -0000)]
In Test/System.ComponentModel:
2008-09-01 Rodrigo Kumpera <rkumpera@novell.com>
* PropertyDescriptorTest.cs: Tests for Get/Set Value of partial
overrides of virtual properties.
In System.ComponentModel:
2008-09-01 Rodrigo Kumpera <rkumpera@novell.com>
* ReflectionPropertyDescriptor.cs (SetValue, GetValue) : Lookup
the MethodInfo for accessors in parent types in case of partial
overrides of virtual properties.
svn path=/trunk/mcs/; revision=112052
Rodrigo Kumpera [Mon, 1 Sep 2008 22:13:48 +0000 (22:13 -0000)]
In .:
2008-09-01 Rodrigo Kumpera <rkumpera@novell.com>
class.c (mono_class_setup_events): Add memory barrier due to
double checked locking.
class.c (mono_class_setup_properties): Same.
svn path=/trunk/mono/; revision=112051
Marek Safar [Mon, 1 Sep 2008 16:35:43 +0000 (16:35 -0000)]
2008-09-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #418908
* class.cs: Use AddScopeStatement for field initializers.
svn path=/trunk/mcs/; revision=112045
Marek Safar [Mon, 1 Sep 2008 16:35:11 +0000 (16:35 -0000)]
2008-09-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #418908
* class.cs: Use AddScopeStatement for field initializers.
svn path=/trunk/mcs/; revision=112044
Marek Safar [Mon, 1 Sep 2008 16:30:33 +0000 (16:30 -0000)]
Update
svn path=/trunk/mcs/; revision=112043
Ivan Zlatev [Mon, 1 Sep 2008 16:04:02 +0000 (16:04 -0000)]
2008-09-01 Ivan N. Zlatev <contact@i-nz.net>
* TextBox.cs: Invalidate after UseSystemPasswordChar, so that the
change takes effect.
[Fixes bug #417957]
svn path=/trunk/mcs/; revision=112041
Jb Evain [Mon, 1 Sep 2008 15:19:27 +0000 (15:19 -0000)]
2008-09-01 Jb Evain <jbevain@novell.com>
* Mono.Linker/AssemblyResolver.cs: properly cache .exes.
svn path=/trunk/mcs/; revision=112039
Jb Evain [Mon, 1 Sep 2008 14:22:29 +0000 (14:22 -0000)]
2008-09-01 Jb Evain <jbevain@novell.com>
* MemberBinding.cs: make .ctor protected instead of public.
svn path=/trunk/mcs/; revision=112034
Jb Evain [Mon, 1 Sep 2008 14:12:25 +0000 (14:12 -0000)]
2008-09-01 Jb Evain <jbevain@novell.com>
* Expression.cs: guard against null parameters passed to Lambda.
svn path=/trunk/mcs/; revision=112032
Jb Evain [Mon, 1 Sep 2008 14:10:47 +0000 (14:10 -0000)]
add test for passing a null parameter to a lambda creation
svn path=/trunk/mcs/; revision=112031
Ivan Zlatev [Mon, 1 Sep 2008 13:55:01 +0000 (13:55 -0000)]
2008-09-01 Ivan N. Zlatev <contact@i-nz.net>
* SettingsPropertyValue.cs: Explicitly use the Invariant culture
instead of the current.
[Fixes bug #374516]
svn path=/trunk/mcs/; revision=112027
Marek Safar [Mon, 1 Sep 2008 13:48:17 +0000 (13:48 -0000)]
New test.
svn path=/trunk/mcs/; revision=112026
Marek Safar [Mon, 1 Sep 2008 13:48:01 +0000 (13:48 -0000)]
2008-09-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #415385
* ecore.cs, convert.cs: Do method group conversion for equal group types.
svn path=/trunk/mcs/; revision=112025
Ivan Zlatev [Mon, 1 Sep 2008 13:31:27 +0000 (13:31 -0000)]
2008-09-01 Ivan N. Zlatev <contact@i-nz.net>
* ParentControlDesigner.cs: Be nice with Components that are no
Controls in CreateToolCore.
svn path=/trunk/mcs/; revision=112023
Dick Porter [Mon, 1 Sep 2008 13:03:29 +0000 (13:03 -0000)]
2008-09-01 Dick Porter <dick@ximian.com>
* InotifyWatcher.cs: Revert fix for bug 322330, as it is somehow
breaking other stuff.
svn path=/trunk/mcs/; revision=112020
Jb Evain [Mon, 1 Sep 2008 12:53:45 +0000 (12:53 -0000)]
2008-09-01 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionReader.cs: properly compose mod and byref types
for parameters and return types.
Based on a patch by Carlo Kok <ck@remobjects.com>
svn path=/trunk/mcs/; revision=112019
Jb Evain [Mon, 1 Sep 2008 12:46:11 +0000 (12:46 -0000)]
2008-09-01 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Signatures/SignatureReader.cs: Avoid a crash
when looking for an enumeration definition when the assembly
could not be resolved. Patch by Carlo Kok <ck@remobjects.com>
svn path=/trunk/mcs/; revision=112018
Marek Safar [Mon, 1 Sep 2008 12:41:15 +0000 (12:41 -0000)]
Merge marker
svn path=/trunk/mcs/; revision=112017
Ivan Zlatev [Mon, 1 Sep 2008 12:12:29 +0000 (12:12 -0000)]
2008-08-24 Ivan N. Zlatev <contact@i-nz.net>
* XplatUIX11.cs: Provide MouseButtons/State information to the XPlatUI.
[Fixes bug #419001]
svn path=/trunk/mcs/; revision=112015
Marek Safar [Mon, 1 Sep 2008 11:41:52 +0000 (11:41 -0000)]
2008-09-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #421736
* iterators.cs: Don't crash on unreachable iterators.
svn path=/trunk/mcs/; revision=112013
Marek Safar [Mon, 1 Sep 2008 11:41:19 +0000 (11:41 -0000)]
2008-09-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #421736
* iterators.cs: Don't crash on unreachable iterators.
svn path=/trunk/mcs/; revision=112012
Jb Evain [Mon, 1 Sep 2008 11:29:23 +0000 (11:29 -0000)]
2008-09-01 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionWriter.cs: fix for writing null string
constants. Patch by Ewout Prangsma <ewout@tallapplications.com>.
svn path=/trunk/mcs/; revision=112011
Marek Safar [Mon, 1 Sep 2008 10:23:11 +0000 (10:23 -0000)]
New tests.
svn path=/trunk/mcs/; revision=112008
Marek Safar [Mon, 1 Sep 2008 10:22:53 +0000 (10:22 -0000)]
2008-09-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #421628
* parameter.cs, attribute.cs: Clone also parameter attributes.
svn path=/trunk/mcs/; revision=112007
Marek Habersack [Mon, 1 Sep 2008 02:30:35 +0000 (02:30 -0000)]
2008-09-01 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs:
CreateSubBuilder compares tagid to tagName case-insensitively now.
svn path=/trunk/mcs/; revision=112005
Marek Habersack [Mon, 1 Sep 2008 01:33:27 +0000 (01:33 -0000)]
2008-09-01 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: CreatePropertyBuilder now correctly processes
property names with prefixes (e.g. 'prefix:PropertyName').
Original, parsed, tag name is stored to properly handle closing
tags.
2008-09-01 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs:
CloseControl uses ControlBuilder's OriginalTagName property,
should the property/tag name be prefixed with 'prefix:'
svn path=/trunk/mcs/; revision=112003
Marek Habersack [Mon, 1 Sep 2008 00:17:51 +0000 (00:17 -0000)]
2008-09-01 Marek Habersack <mhabersack@novell.com>
* UpdatePanel.cs: if the writer passed to RenderChildren is not
derived from ScriptManager.AlternativeHtmlTextWriter, check
whether its InnerWriter derives from that type and, if yes, use
it from that point onwards.
svn path=/trunk/mcs/; revision=112000
Marek Habersack [Sun, 31 Aug 2008 23:30:52 +0000 (23:30 -0000)]
2008-09-01 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: changed the way in which ParseControl is
implemented for the 2.0+ profile. Still not quite there, but
better and closer to .NET
2008-09-01 Marek Habersack <mhabersack@novell.com>
* BaseCompiler.cs: AssignAppRelativeVirtualPath works with
null/empty parser.InputFile now.
* AspGenerator.cs: AddTypeToCache works checks whether inputFile
is null or empty and does not assume the dependencies ArrayList is
present.
* CachingCompiler.cs: expect the dependencies ArrayList to be null
or empty.
svn path=/trunk/mcs/; revision=111998
Zoltan Varga [Sun, 31 Aug 2008 19:45:12 +0000 (19:45 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* BitArrayTest.cs: Add a test for #421803.
svn path=/trunk/mcs/; revision=111995
Zoltan Varga [Sun, 31 Aug 2008 19:43:04 +0000 (19:43 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* BitArray.cs (CopyTo): Allow an index equal to the array length if
the bit array has no elements. Fixes #421803.
svn path=/trunk/mcs/; revision=111994
Zoltan Varga [Sun, 31 Aug 2008 19:35:10 +0000 (19:35 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (handle_isinst): Do the assignment at the beginning, so the
other assignment can be if converted. Saves 1.5% on corlib size and fixes
#421807.
svn path=/trunk/mono/; revision=111993
Geoff Norton [Sun, 31 Aug 2008 17:26:07 +0000 (17:26 -0000)]
This file is auto-generated
svn path=/trunk/mono/; revision=111992
Marek Habersack [Sun, 31 Aug 2008 17:05:28 +0000 (17:05 -0000)]
2008-08-31 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs:
Templates are processed before anything else, so that children
which may depend on parent's templates can get access to them.
2008-08-31 Marek Habersack <mhabersack@novell.com>
* Control.cs: improved FillControlCache
* ControlBuilder.cs:
Added a cache for children of TemplateBuilder, used later in
TemplateControlCompiler.
svn path=/trunk/mcs/; revision=111990
Zoltan Varga [Sun, 31 Aug 2008 15:21:36 +0000 (15:21 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* RxInterpreter.cs: Port the Anchor+StartOfString optimization from the old
interpreter. Add credits.
* RxCompiler.cs (EmitString): Lowercase the string if ignore is true.
svn path=/trunk/mcs/; revision=111989
Zoltan Varga [Sun, 31 Aug 2008 09:39:06 +0000 (09:39 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_is_assignable_from): Fix the build.
svn path=/trunk/mono/; revision=111987
Marek Habersack [Sun, 31 Aug 2008 01:41:14 +0000 (01:41 -0000)]
2008-08-31 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: added support for the LinePragmas directive
attribute.
* ControlBuilder.cs: if this instance is a TemplateBuilder do not
call MyNamingContainer, so that our own ContainerType can be used
as the binding container (if present).
2008-08-31 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: trust builder.BindingContainerType
in the 2.0+ profile - do not use container properties to detect
the type.
Added a helper method, compiled only when DEBUG is defined, to
generate Console.WriteLine CodeDOM calls.
* BaseCompiler.cs: add line pragmas only if enabled for the
current file.
svn path=/trunk/mcs/; revision=111983
Zoltan Varga [Sat, 30 Aug 2008 23:25:10 +0000 (23:25 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add a test for IsAssignableFrom and generic instances
of dynamic types.
svn path=/trunk/mcs/; revision=111982
Zoltan Varga [Sat, 30 Aug 2008 23:22:58 +0000 (23:22 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_is_assignable_from): Call mono_class_setup_vtable ()
before accessing klass->interface_bitmap. Fixes #421744.
svn path=/trunk/mono/; revision=111980
Zoltan Varga [Sat, 30 Aug 2008 23:08:02 +0000 (23:08 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Fix the setting of the match position in the
anchor+char optimization.
svn path=/trunk/mcs/; revision=111979
Zoltan Varga [Sat, 30 Aug 2008 22:38:57 +0000 (22:38 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Implement FastRepeatLazy.
svn path=/trunk/mcs/; revision=111978
Zoltan Varga [Sat, 30 Aug 2008 22:14:03 +0000 (22:14 -0000)]
2008-08-31 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Get rid of commented out code. Also get rid of
frame.local_strpos_res, since the generated code already set Arg1 to
the same value.
svn path=/trunk/mcs/; revision=111977
Miguel de Icaza [Sat, 30 Aug 2008 20:14:13 +0000 (20:14 -0000)]
Work to support typing compilation-unit level declarations in the shell.
There is a major problem with it though: Reflection keeps gettting data
confused if you are using any of the *Builder classes and ends up
referencing other classes. This seems like a real bug in Emit, not
really just an intended side effect.
So until all of those issues are fixed, the code path is disabled, but
at least declaring types works now.
svn path=/trunk/mcs/; revision=111974
Miguel de Icaza [Sat, 30 Aug 2008 16:36:13 +0000 (16:36 -0000)]
Fix moving over symbols, for example the equal sign
svn path=/trunk/mcs/; revision=111973
Miguel de Icaza [Sat, 30 Aug 2008 16:33:45 +0000 (16:33 -0000)]
Various fixes to history handling
svn path=/trunk/mcs/; revision=111972
Zoltan Varga [Sat, 30 Aug 2008 14:15:07 +0000 (14:15 -0000)]
2008-08-30 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Initialize all mi_ variables lazily.
svn path=/trunk/mcs/; revision=111971
Zoltan Varga [Sat, 30 Aug 2008 14:05:17 +0000 (14:05 -0000)]
2008-08-30 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Implement FastRepeat.
svn path=/trunk/mcs/; revision=111970
Marek Safar [Sat, 30 Aug 2008 12:55:47 +0000 (12:55 -0000)]
2008-08-30 Marek Safar <marek.safar@gmail.com>
* MemberBinding.cs: Made MemberBinding ctor public
svn path=/trunk/mcs/; revision=111969
Miguel de Icaza [Sat, 30 Aug 2008 05:33:33 +0000 (05:33 -0000)]
Small fix
svn path=/trunk/mcs/; revision=111967
Geoff Norton [Sat, 30 Aug 2008 03:31:20 +0000 (03:31 -0000)]
2008-08-29 Geoff Norton <gnorton@novell.com>
* configure.in: Rollup our unrolled FreeBSD support so that we properly
build and compile on FreeBSD6+. (FreeBSD5 is 2004)
svn path=/trunk/mono/; revision=111966
Zoltan Varga [Fri, 29 Aug 2008 23:29:35 +0000 (23:29 -0000)]
2008-08-30 Zoltan Varga <vargaz@gmail.com>
* RxInterpreter.cs: Add back SetStartOfMatch, make it protected so as to
avoid a warning.
svn path=/trunk/mcs/; revision=111959
Zoltan Varga [Fri, 29 Aug 2008 23:28:39 +0000 (23:28 -0000)]
2008-08-30 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs RxOp.cs: Merge lots of changes from RxInterpreter.cs,
refactor the code.
svn path=/trunk/mcs/; revision=111958
Marek Habersack [Fri, 29 Aug 2008 22:37:59 +0000 (22:37 -0000)]
2008-08-30 Marek Habersack <mhabersack@novell.com>
* System.Web.Script.Serialization/JavaScriptSerializer.cs: if the
target type is an IDictionary with value type of System.Object,
make sure to NOT convert any values.
Any values descendant from JavaScriptSerializer.LazyDictionary are
converted to Dictionary <string, object>
svn path=/trunk/mcs/; revision=111956
Marek Habersack [Fri, 29 Aug 2008 19:42:58 +0000 (19:42 -0000)]
2008-08-29 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: do not cache handlers which aren't
reusable.
2008-08-29 Marek Habersack <mhabersack@novell.com>
* HtmlHead.cs: call base.OnInit ()
If Page is null, throw an exception.
svn path=/trunk/mcs/; revision=111939
Marek Safar [Fri, 29 Aug 2008 19:00:38 +0000 (19:00 -0000)]
Updated
svn path=/trunk/mcs/; revision=111938
Geoff Norton [Fri, 29 Aug 2008 17:58:35 +0000 (17:58 -0000)]
2008-08-29 Geoff Norton <gnorton@novell.com>
* aot-compiler.c: The Mach/ARM compiler doesn't understand the bss
segment, and doesn't properly handle .space as .text. Fixes
AOT Mach/ARM
svn path=/trunk/mono/; revision=111932
Geoff Norton [Fri, 29 Aug 2008 15:34:06 +0000 (15:34 -0000)]
2008-08-29 Geoff Norton <gnorton@novell.com>
* mini.c: Disable the mach exception handler when running on
ARM
svn path=/trunk/mono/; revision=111929
Marek Safar [Fri, 29 Aug 2008 15:22:22 +0000 (15:22 -0000)]
2008-08-29 Marek Safar <marek.safar@gmail.com>
* ecore.cs (SimpleName): Exclude indexers from simple name resolve.
svn path=/trunk/mcs/; revision=111927
Zoltan Varga [Fri, 29 Aug 2008 14:45:43 +0000 (14:45 -0000)]
Remove some FIXMEs.
svn path=/trunk/mcs/; revision=111926
Zoltan Varga [Fri, 29 Aug 2008 14:44:15 +0000 (14:44 -0000)]
2008-08-29 Zoltan Varga <vargaz@gmail.com>
* RxInterpreter.cs RxCompiler.cs RxOp.cs: Implement/fix this so all the
regex tests now run. The Repeat code is taken from the old interpreter.
svn path=/trunk/mcs/; revision=111925
Geoff Norton [Fri, 29 Aug 2008 14:32:32 +0000 (14:32 -0000)]
2008-08-29 Geoff Norton <gnorton@novell.com>
* aot-compiler.c: Patch from Renaldas Zioma to properly register
globals on Darwin/ARM
svn path=/trunk/mono/; revision=111924
Raja R Harinath [Fri, 29 Aug 2008 14:20:56 +0000 (14:20 -0000)]
* test-xml-052.cs: Fix unrelated warning.
svn path=/trunk/mcs/; revision=111922