Raja R Harinath [Wed, 20 Feb 2008 09:58:13 +0000 (09:58 -0000)]
* reflection.c (mono_custom_attrs_from_method): Don't silently
return an empty list for generic method instances.
(mono_custom_attrs_from_param): Likewise.
svn path=/trunk/mono/; revision=96229
Raja R Harinath [Wed, 20 Feb 2008 08:22:24 +0000 (08:22 -0000)]
In class/corlib/Test/System.Reflection.Emit:
* MethodBuilderTest.cs (Bug354757): New test.
In class/corlib/Test/System.Reflection:
* MethodInfoTest.cs (GetGenericMethodDefinition): Add a test for
an instantiation.
(Bug354757): New test.
svn path=/trunk/mcs/; revision=96225
Raja R Harinath [Wed, 20 Feb 2008 08:21:00 +0000 (08:21 -0000)]
2008-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Raja R Harinath <harinath@hurrynot.org>
Fix #354757
* class-internals.h (struct _MonoMethodInflated.is_mb_open): Add.
* class.c (mono_class_inflate_generic_method_full): Initialize it
when a fully-open method is instantiated.
* metadata.c (inflated_method_equal, inflated_method_hash): Update
to new field.
* reflection.c (inflate_mono_method): Don't create a temporary context.
svn path=/trunk/mono/; revision=96224
Raja R Harinath [Wed, 20 Feb 2008 07:56:54 +0000 (07:56 -0000)]
fix some whitespace
svn path=/trunk/mcs/; revision=96223
Raja R Harinath [Wed, 20 Feb 2008 07:56:26 +0000 (07:56 -0000)]
* typemanager.cs (DropGenericMethodArguments): Ensure we get an underlying
MethodBuilder.
svn path=/trunk/mcs/; revision=96222
Raja R Harinath [Wed, 20 Feb 2008 07:16:39 +0000 (07:16 -0000)]
* icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition):
Compute correct value, to prepare for imethod->reflection_info going away.
svn path=/trunk/mono/; revision=96221
Carlos Alberto Cortez [Wed, 20 Feb 2008 01:14:38 +0000 (01:14 -0000)]
2008-02-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPortStream.cs: Set DllImport.SetLastError to true for
all MonoPosixHelper functions, so in case of error we can retrieve the
error and print a simple but effective message about it.
svn path=/trunk/mcs/; revision=96216
Zoltan Varga [Wed, 20 Feb 2008 00:13:46 +0000 (00:13 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c (mono_arch_lowering_pass): Add some more opcodes. Use
mono_op_imm_to_op ().
svn path=/trunk/mono/; revision=96211
Zoltan Varga [Wed, 20 Feb 2008 00:07:22 +0000 (00:07 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (opcode_to_sparc_cond): Use the mono_opcode_to_cond () functions
instead of a switch statement.
svn path=/trunk/mono/; revision=96210
Zoltan Varga [Wed, 20 Feb 2008 00:00:35 +0000 (00:00 -0000)]
Fix some whitespace issues.
svn path=/trunk/mono/; revision=96209
Zoltan Varga [Tue, 19 Feb 2008 23:59:22 +0000 (23:59 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_allocate_vars): Allocate a stack slot for use by
the int<->float conversion opcodes instead of using mono_spillvar_offset_float ().
svn path=/trunk/mono/; revision=96208
Zoltan Varga [Tue, 19 Feb 2008 23:33:54 +0000 (23:33 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c: Eliminate rassign macro which is no longer needed.
svn path=/trunk/mono/; revision=96204
Zoltan Varga [Tue, 19 Feb 2008 23:23:18 +0000 (23:23 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c: Remove unused mono_regstate2_... functions.
svn path=/trunk/mono/; revision=96203
Zoltan Varga [Tue, 19 Feb 2008 23:18:48 +0000 (23:18 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_print_ins_index): Avoid printing an index when it is
-1.
svn path=/trunk/mono/; revision=96202
Jb Evain [Tue, 19 Feb 2008 22:15:23 +0000 (22:15 -0000)]
add some ListInit tests
svn path=/trunk/mcs/; revision=96199
Jonathan Pobst [Tue, 19 Feb 2008 21:49:22 +0000 (21:49 -0000)]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
code paths.
svn path=/trunk/mcs/; revision=96196
Jb Evain [Tue, 19 Feb 2008 21:44:19 +0000 (21:44 -0000)]
we pass MemberInit tests
svn path=/trunk/mcs/; revision=96194
Jb Evain [Tue, 19 Feb 2008 21:44:00 +0000 (21:44 -0000)]
2008-02-19 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs: implement MemberInit.
svn path=/trunk/mcs/; revision=96193
Jb Evain [Tue, 19 Feb 2008 21:36:57 +0000 (21:36 -0000)]
add MemberInit tests
svn path=/trunk/mcs/; revision=96192
Zoltan Varga [Tue, 19 Feb 2008 20:33:45 +0000 (20:33 -0000)]
2008-02-19 Zoltan Varga <vargaz@gmail.com>
* driver.c (mono_main): Improve error reporting when an assembly cannot be
opened. Fixes #362607.
svn path=/trunk/mono/; revision=96186
Zoltan Varga [Tue, 19 Feb 2008 20:31:50 +0000 (20:31 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
CustomAttributeTypedArguments to match MS.
svn path=/trunk/mcs/; revision=96185
Zoltan Varga [Tue, 19 Feb 2008 20:01:42 +0000 (20:01 -0000)]
2008-02-19 Zoltan Varga <vargaz@gmail.com>
* cpu-ia64.md cpu-s390x.md: Remove some unused opcodes.
svn path=/trunk/mono/; revision=96181
Ivan Zlatev [Tue, 19 Feb 2008 20:01:15 +0000 (20:01 -0000)]
2008-02-19 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: Fix a big performance bug.
svn path=/trunk/mcs/; revision=96180
Zoltan Varga [Tue, 19 Feb 2008 19:58:22 +0000 (19:58 -0000)]
2008-02-19 Zoltan Varga <vargaz@gmail.com>
* iltests.il.in: Add a test for static methods in interfaces.
svn path=/trunk/mono/; revision=96179
Zoltan Varga [Tue, 19 Feb 2008 19:56:34 +0000 (19:56 -0000)]
2008-02-19 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_vtable_general): Ignore static methods in interfaces.
svn path=/trunk/mono/; revision=96178
Jonathan Pobst [Tue, 19 Feb 2008 18:22:18 +0000 (18:22 -0000)]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* SelectionRangeTest.cs: Add NET_2_0 so that 1.1 profile will build.
svn path=/trunk/mcs/; revision=96171
Gert Driesen [Tue, 19 Feb 2008 17:46:47 +0000 (17:46 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=96170
Igor Zelmanovich [Tue, 19 Feb 2008 17:19:33 +0000 (17:19 -0000)]
merge r96167:96168
svn path=/trunk/mcs/; revision=96169
Jonathan Pobst [Tue, 19 Feb 2008 17:06:32 +0000 (17:06 -0000)]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* SelectionRange.cs: Apply patch from Andy Hume to make
constructor behavior more accurate. [Fixes bug #362117]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* SelectionRangeTest.cs: Add tests from Andy Hume.
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms_test.dll.sources: Added SelectionRangeTest.cs.
svn path=/trunk/mcs/; revision=96166
Marek Safar [Tue, 19 Feb 2008 16:56:56 +0000 (16:56 -0000)]
2008-02-19 Marek Safar <marek.safar@gmail.com>
* constant.cs, cfold.cs: SideEffectConstant results can apply for folding.
svn path=/trunk/mcs/; revision=96164
Andreia Gaita [Tue, 19 Feb 2008 16:50:50 +0000 (16:50 -0000)]
* Control.cs: Added a new flag is_disposing to track if the
window is currently in the process of being disposed of.
This is used so that, when firing visibility changes triggered
by unparenting controls during Dispose, the control doesn't
get created again.
2008-02-19 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96163
Jonathan Pobst [Tue, 19 Feb 2008 16:42:25 +0000 (16:42 -0000)]
Add some debugging info.
svn path=/trunk/mcs/; revision=96162
Jonathan Pobst [Tue, 19 Feb 2008 16:40:04 +0000 (16:40 -0000)]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* ComboBoxTest.cs: Use PreferredHeight in MethodScaleControl.
Fixes buildbot failure.
svn path=/trunk/mcs/; revision=96161
Jonathan Pobst [Tue, 19 Feb 2008 16:10:23 +0000 (16:10 -0000)]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* FlowLayout.cs: Take padding into account when determining if there
is still room left on a row. [Fixes bug #361448]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* FlowPanelTests.cs: Add test for bug #361448.
svn path=/trunk/mcs/; revision=96160
Atsushi Eno [Tue, 19 Feb 2008 15:59:12 +0000 (15:59 -0000)]
2008-02-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchema.cs : Do recursively process xs:include inside included
schemas. Fixed bug #361818.
* XmlSchemaTests.cs: added test for bug #361818.
* 361818.xsd, 361818-2.xsd, 361818-3.xsd : new test files.
* Makefile : extra distfiles (361818*.xsd).
svn path=/trunk/mcs/; revision=96159
Miguel de Icaza [Tue, 19 Feb 2008 15:24:19 +0000 (15:24 -0000)]
2008-02-18 Miguel de Icaza <miguel@novell.com>
* IPv4InterfaceStatistics.cs: Implemented Linux support.
* NetworkInterface.cs: Implemented Linux support.
TODO: still missing GetIPProperties.
svn path=/trunk/mcs/; revision=96155
Jonathan Pobst [Tue, 19 Feb 2008 15:17:31 +0000 (15:17 -0000)]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Set height to preferred height when the handle
is created. [Fixes bug #360862]
2008-02-19 Jonathan Pobst <monkey@jpobst.com>
* ComboBoxTest.cs: Add test for bug #360862.
svn path=/trunk/mcs/; revision=96152
Jb Evain [Tue, 19 Feb 2008 14:11:54 +0000 (14:11 -0000)]
we pass those tests
svn path=/trunk/mcs/; revision=96147
Jb Evain [Tue, 19 Feb 2008 14:11:37 +0000 (14:11 -0000)]
2008-02-19 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs: implement last New
overload for anonymous types.
svn path=/trunk/mcs/; revision=96146
Jb Evain [Tue, 19 Feb 2008 13:47:58 +0000 (13:47 -0000)]
add a few tests
svn path=/trunk/mcs/; revision=96144
Marek Safar [Tue, 19 Feb 2008 13:17:24 +0000 (13:17 -0000)]
2008-02-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #328136
* expression.cs: Do not fold immediately LogicalAnd operators when the left
side is a false constant, because we still need to evaluate the right-hand
side.
* statement.cs (If): Emit two types of boolean constants (simple constant,
side-effect constant).
svn path=/trunk/mcs/; revision=96136
Marek Safar [Tue, 19 Feb 2008 12:23:31 +0000 (12:23 -0000)]
2008-02-19 Marek Safar <marek.safar@gmail.com>
* constant.cs (SideEffectConstant): Don't emit boolean constant.
* expression.cs: Fold immediately LogicalAnd operators when both sides are
constants.
svn path=/trunk/mcs/; revision=96126
Jb Evain [Tue, 19 Feb 2008 09:28:43 +0000 (09:28 -0000)]
2008-02-19 Jb Evain <jbevain@novell.com>
* Mono.Cecil/DefaultImporter.cs:
Add support for importing function pointers. Based on a
patch by Andrea Carlo Ornstein <andrea.ornstein@st.com>.
svn path=/trunk/mcs/; revision=96124
Jb Evain [Tue, 19 Feb 2008 09:20:39 +0000 (09:20 -0000)]
2008-02-19 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ModuleDefinition.cs:
Add a Inject(FieldDef) overload for symmetry.
Patch by Andrea Carlo Ornstein <andrea.ornstein@st.com>.
svn path=/trunk/mcs/; revision=96123
Atsushi Eno [Tue, 19 Feb 2008 05:33:38 +0000 (05:33 -0000)]
2008-02-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlParserContext.cs : .net does not populate XmlNamespaceManager
automatically.
* XmlDocument.cs : so, always create one here.
* XmlParserContextTests.cs : they are working. case #3 should not
try to parse broken internalSubset (we do not allow broken
intsubset and it is almost no worthy of assuring only-nominal
.net compat that such broken internalSubset should be allowed).
svn path=/trunk/mcs/; revision=96116
Atsushi Eno [Tue, 19 Feb 2008 04:02:53 +0000 (04:02 -0000)]
2008-02-19 Atsushi Enomoto <atsushi@ximian.com>
* XsdWildcard.cs : block extra compilation and made compilation reset.
This somehow fixed bug #360541.
* XmlSchemaAny.cs : block extra compilation in anyTypeContent.
* XmlSchemasTests.cs : new test file (for bug #360541).
* System.Xml_test.dll.sources: added XmlSchemasTests.cs.
svn path=/trunk/mcs/; revision=96115
Rodrigo Kumpera [Mon, 18 Feb 2008 22:56:07 +0000 (22:56 -0000)]
2008-02-18 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Implement skip visibility flag.
svn path=/trunk/mono/; revision=96107
Marek Habersack [Mon, 18 Feb 2008 22:35:24 +0000 (22:35 -0000)]
2008-02-19 Marek Habersack <mhabersack@novell.com>
* HttpParamsCollection.cs: do not override the NVC behavior for
GetValues - values from different sources (Form, Query, Cookies,
ServerVariables) must be kept separate for this purpose. This is
also the behavior of MS.NET. Fixes bug #362189
svn path=/trunk/mcs/; revision=96105
Andreia Gaita [Mon, 18 Feb 2008 22:33:49 +0000 (22:33 -0000)]
* ControlTest.cs: New test to check if, when controls don't have
a parent and are then reparented, their location is not changed.
2008-02-18 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96104
Rodrigo Kumpera [Mon, 18 Feb 2008 21:47:06 +0000 (21:47 -0000)]
2008-02-18 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_locals_without_initlocals.il: Methods with locals
that are not .init are allways unverifiable.
svn path=/trunk/mono/; revision=96103
Zoltan Varga [Mon, 18 Feb 2008 20:35:55 +0000 (20:35 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* CustomAttributeDataTest.cs: New file.
svn path=/trunk/mcs/; revision=96101
Zoltan Varga [Mon, 18 Feb 2008 20:35:20 +0000 (20:35 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* corlib_test.dll.sources: Add System.Reflection/CustomAttributeDataTest.cs.
svn path=/trunk/mcs/; revision=96100
Zoltan Varga [Mon, 18 Feb 2008 20:33:47 +0000 (20:33 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
CustomAttributeTypedArguments to match MS.
svn path=/trunk/mcs/; revision=96099
Marek Safar [Mon, 18 Feb 2008 20:00:30 +0000 (20:00 -0000)]
Reverted a fix for bug #328136
svn path=/trunk/mcs/; revision=96098
Marek Habersack [Mon, 18 Feb 2008 19:36:57 +0000 (19:36 -0000)]
2008-02-18 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: When app is offline, send status code 503
instead of 200. Fixes bug #357565
svn path=/trunk/mcs/; revision=96096
Andreia Gaita [Mon, 18 Feb 2008 19:19:40 +0000 (19:19 -0000)]
* XplatUIX11.cs: Create FosterParent with border width at 0.
With the previous value of 4, everytime a control got reparented
from parent = null, its location would be shifted right and
down by 4, since these coordinates would be offset by the
FosterParent's border width.
2008-02-18 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=96095
Marek Habersack [Mon, 18 Feb 2008 19:13:19 +0000 (19:13 -0000)]
2008-02-18 Marek Habersack <mhabersack@novell.com>
* FormView.cs: the ItemCreated must be fired before data is bound
to the FormView. Fixes bug #360434
svn path=/trunk/mcs/; revision=96093
Zoltan Varga [Mon, 18 Feb 2008 18:25:24 +0000 (18:25 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* amd64/amd64-codegen.h (amd64_movsxd_reg_mem): New codegen macro.
svn path=/trunk/mono/; revision=96092
Zoltan Varga [Mon, 18 Feb 2008 18:23:02 +0000 (18:23 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* genmdesc.c (build_table): Fix a crash on older glib versions.
* cpu-sparc.md: Remove some unused opcodes.
svn path=/trunk/mono/; revision=96091
Zoltan Varga [Mon, 18 Feb 2008 18:15:58 +0000 (18:15 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* genmdesc.c: Error out if the .md contains CEE_ opcodes if
MONO_ARCH_ENABLE_NORMALIZE_OPCODES is defined.
* cpu-amd64.md: Remove some unused opcodes.
svn path=/trunk/mono/; revision=96090
Rodrigo Kumpera [Mon, 18 Feb 2008 17:53:25 +0000 (17:53 -0000)]
2008-02-18 Rodrigo Kumpera <rkumpera@novell.com>
* verify.h: Added MONO_VERIFY_SKIP_VISIBILITY and struct MonoVerifyInfoExtended
which contains an extra field to tell the kind of exception that should be thrown.
* verify.c: Use MonoVerifyInfoExtended instead of MonoVerifyInfo.
svn path=/trunk/mono/; revision=96086
Zoltan Varga [Mon, 18 Feb 2008 17:45:23 +0000 (17:45 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* mini.h mini-ops.h mini.c: Define the OP_Ccc opcodes in mini-ops.h normally
like the other opcodes.
svn path=/trunk/mono/; revision=96085
Marek Habersack [Mon, 18 Feb 2008 17:01:53 +0000 (17:01 -0000)]
2008-02-18 Marek Habersack <mhabersack@novell.com>
* VirtualPathProvider.cs: chain up to the previous provider, if
prexent. Fixes bug #362038
svn path=/trunk/mcs/; revision=96079
Marek Safar [Mon, 18 Feb 2008 16:51:08 +0000 (16:51 -0000)]
Updated
svn path=/trunk/mcs/; revision=96077
Marek Safar [Mon, 18 Feb 2008 16:50:49 +0000 (16:50 -0000)]
New test.
svn path=/trunk/mcs/; revision=96076
Marek Safar [Mon, 18 Feb 2008 16:50:37 +0000 (16:50 -0000)]
2008-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #328136
* constant.cs (SideEffectConstant): Don't emit boolean constant.
* expression.cs: Do not fold immediately LogicalAnd operators when the left
side is a false constant, because we still need to evaluate the right-hand
side.
* statement.cs (If): Emit two types of boolean constants (simple constant,
side-effect constant).
svn path=/trunk/mcs/; revision=96075
Marek Safar [Mon, 18 Feb 2008 16:49:36 +0000 (16:49 -0000)]
Removed to many spaces
svn path=/trunk/mcs/; revision=96074
Zoltan Varga [Mon, 18 Feb 2008 16:44:37 +0000 (16:44 -0000)]
2008-02-18 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs (EmitEvalMethodBody): Check for the not-yet supported
groups.Count > 1.
svn path=/trunk/mcs/; revision=96073
Ivan Zlatev [Mon, 18 Feb 2008 16:38:00 +0000 (16:38 -0000)]
2008-02-18 Ivan N. Zlatev <contact@i-nz.net>
* Control.cs: During diposing firstly remove ourselfes from
the parent and *then* destroy our handle, because removing
ourselfes from the parent controls collection causes
VisibilityChange, etc events, which require a handle and end
up recreating the control.
svn path=/trunk/mcs/; revision=96072
Vladimir Krasnov [Mon, 18 Feb 2008 16:25:21 +0000 (16:25 -0000)]
* WebConfigurationManager.cs: performance improvement, cached GetSection method
svn path=/trunk/mcs/; revision=96069
Marek Safar [Mon, 18 Feb 2008 15:07:33 +0000 (15:07 -0000)]
Removed deprecated -langversion:linq
svn path=/trunk/mcs/; revision=96063
Marek Safar [Mon, 18 Feb 2008 14:59:36 +0000 (14:59 -0000)]
Removed deprecated -langversion:linq option
svn path=/trunk/mcs/; revision=96062
Marek Safar [Mon, 18 Feb 2008 14:35:15 +0000 (14:35 -0000)]
Add new tests.
svn path=/trunk/mcs/; revision=96052
Marek Safar [Mon, 18 Feb 2008 14:34:57 +0000 (14:34 -0000)]
2008-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #361457
* ecore.cs (IsApplicable): Params methods have lower priority.
* support.cs: Return correct parameter modifier for params types.
svn path=/trunk/mcs/; revision=96051
Marek Safar [Mon, 18 Feb 2008 11:12:34 +0000 (11:12 -0000)]
New test.
svn path=/trunk/mcs/; revision=96045
Marek Safar [Mon, 18 Feb 2008 10:48:37 +0000 (10:48 -0000)]
2008-02-18 Marek Safar <marek.safar@gmail.com>
* generic.cs (TypeParameter): Cache attribute target name.
* support.cs: Removed unused variable.
* typemanager.cs: Removed debugging leftover.
* ecore.cs: Use local type instead of a property;
* class.cs (VerifyMembers): Consider also parent to test whether type member
is local or public.
* expression.cs (FullMethodDesc): Removed.
* attribute.cs (IsValidArgumentType): Made static.
svn path=/trunk/mcs/; revision=96042
Atsushi Eno [Mon, 18 Feb 2008 07:21:57 +0000 (07:21 -0000)]
2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
* DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
svn path=/trunk/mcs/; revision=96031
Raja R Harinath [Mon, 18 Feb 2008 06:28:41 +0000 (06:28 -0000)]
* rules.make (%/.stamp): Unify all directory creation targets here.
svn path=/trunk/mcs/; revision=96030
Raja R Harinath [Mon, 18 Feb 2008 06:12:12 +0000 (06:12 -0000)]
* Makefile ($(dir $(PROGRAM))/.stamp): New.
svn path=/trunk/mcs/; revision=96029
Raja R Harinath [Mon, 18 Feb 2008 05:31:05 +0000 (05:31 -0000)]
Disable test-coreclr-security till #362626 is fixed
svn path=/trunk/mono/; revision=96028
Raja R Harinath [Mon, 18 Feb 2008 05:19:22 +0000 (05:19 -0000)]
* Makefile (CYCLIC_DEPS): Don't use $(eval ...) -- we still
support older GNU makes.
svn path=/trunk/mcs/; revision=96027
Raja R Harinath [Mon, 18 Feb 2008 05:00:10 +0000 (05:00 -0000)]
* Makefile (net_2_0_centum_tests): Add System.Xml.Linq here.
svn path=/trunk/mcs/; revision=96026
Raja R Harinath [Mon, 18 Feb 2008 04:59:52 +0000 (04:59 -0000)]
* Makefile (inst-%, gac-%): Fix dependencies.
svn path=/trunk/mcs/; revision=96025
Gert Driesen [Sun, 17 Feb 2008 19:08:47 +0000 (19:08 -0000)]
* CharConverterTest.cs: Added tests for ConvertFrom and ConvertTo.
* CultureInfoConverterTest.cs: Added tests for ConvertFrom and
ConvertTo.
* CharConverter.cs (ConvertFrom): Avoid NRE when value is null.
Provide more info when left of value > 1.
* CultureInfoConverter.cs (ConvertFrom): Avoid NRE when value is null.
On 2.0 profile, use case-sensitive comparison for (Default) value.
Use case-insensitive comparing when value is considered as displayname.
Provide more info in exception message.
(ConvertTo): Use '(Default)' instead of '(default)' for invariant
culture.
* System_test.dll.sources: Added CharConverterTest.cs and
CultureInfoConverterTest.cs.
svn path=/trunk/mcs/; revision=95995
Zoltan Varga [Sun, 17 Feb 2008 19:05:40 +0000 (19:05 -0000)]
2008-02-17 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c: Use cfg->vret_addr instead of cfg->ret.
svn path=/trunk/mono/; revision=95994
Zoltan Varga [Sun, 17 Feb 2008 19:03:42 +0000 (19:03 -0000)]
2008-02-09 Zoltan Varga <vargaz@gmail.com>
* mini-arm.h mini-arm.c exceptions-arm.c: Modify the exception throwing code and
the IMT code so it is AOT friendly. Enable AOT for methods which call interface
methods.
svn path=/trunk/mono/; revision=95993
Zoltan Varga [Sun, 17 Feb 2008 19:02:58 +0000 (19:02 -0000)]
2008-02-17 Zoltan Varga <vargaz@gmail.com>
* mini-arm.h mini-arm.c: Use cfg->vret_addr instead of cfg->ret.
svn path=/trunk/mono/; revision=95992
Raja R Harinath [Sun, 17 Feb 2008 17:54:22 +0000 (17:54 -0000)]
In .:
* Makefile (_boot_): Orchestrate the net_2_1 bootstrap.
(net_2_1_bootstrap_SUBDIRS, net_2_1_raw_SUBDIRS): New.
In build:
* profiles/net_2_1_bootstrap.make: New.
* profiles/net_2_1_raw.make: New. The untuned 2.1 profile.
* profiles/net_2_1.make: New. The tuned 2.1 profile.
* Makefile (PROFILES): Update.
In class:
* Makefile (net_3_5_dirs): Remove System.Xml.Linq, now that it's
built in the 2.0 profile.
In class/System:
* Makefile (CYCLIC_DEPS): New macro.
(CYCLIC_DEP_FILES): Use it to clean up handling of cyclic dependencies.
* net_2_1_raw_System.dll.sources: Rename from net_2_1_System.dll.sources.
* net_2_1_bootstrap_System.dll.sources: New.
In class/corlib:
* Makefile (LIBRARY_COMPILE) [net_2_1]: Remove special case.
In errors:
* Makefile: Enable testing net_2_1 profile.
In mcs:
* Makefile (GMCS_PROFILE): Remove.
(COMPILER_NAME): New helper.
In tests:
* Makefile: Enable smcs testing.
In tools:
* Makefile (net_2_1_raw_SUBDIRS): New.
In tools/compiler-tester:
* Makefile [PROFILE=net_2_1]: Copy file from net_2_1_raw profile.
* compiler-tester.cs: Work better with 'net_2_1' profiles.
In tools/tuner:
* Makefile: Improve. Update to new net_2_1 profiles. Specify
more dependencies. Do work only when necessary.
* Descriptors/smcs.xml: Add CompilerCallableEntryPoint.
svn path=/trunk/mcs/; revision=95989
Raja R Harinath [Sun, 17 Feb 2008 17:19:10 +0000 (17:19 -0000)]
* loader.c (mono_method_get_param_names): Initialize 'klass' after
'method' is updated.
svn path=/trunk/mono/; revision=95984
Raja R Harinath [Sun, 17 Feb 2008 17:18:51 +0000 (17:18 -0000)]
* Makefile.am (SMCS): Add temporary-smcs-hack flag.
svn path=/trunk/mono/; revision=95983
Raja R Harinath [Sun, 17 Feb 2008 17:18:33 +0000 (17:18 -0000)]
Prepare for handling runs
svn path=/trunk/mono/; revision=95982
Zoltan Varga [Sun, 17 Feb 2008 16:46:54 +0000 (16:46 -0000)]
2008-02-17 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c: Use cfg->vret_addr instead of cfg->ret. Name the MonoCompile
variables 'cfg' instead of 'm' for consistency.
svn path=/trunk/mono/; revision=95980
Daniel Nauck [Sun, 17 Feb 2008 16:17:32 +0000 (16:17 -0000)]
fixed typo
svn path=/trunk/mcs/; revision=95979
Zoltan Varga [Sun, 17 Feb 2008 16:06:24 +0000 (16:06 -0000)]
2008-02-17 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c: Use cfg->vret_addr instead of cfg->ret.
svn path=/trunk/mono/; revision=95978
Zoltan Varga [Sun, 17 Feb 2008 15:56:39 +0000 (15:56 -0000)]
2008-02-17 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoCompile): Add new 'vret_addr' field which represents the hidden
argument holding the vtype return address, to avoid the ambigious use of
cfg->ret for this purpose.
* mini.c (NEW_RETLOADA): Use vret_addr if set.
* mini-amd64.c: Use cfg->vret_addr instead of cfg->ret.
* mini-codegen.c (mono_print_ins): Rename to mono_print_ins_index (), Add a
new mono_print_ins () function which only takes one argument.
svn path=/trunk/mono/; revision=95977
Igor Zelmanovich [Sun, 17 Feb 2008 14:43:32 +0000 (14:43 -0000)]
TARGET_J2EE:
merge r95970:95971
svn path=/trunk/mcs/; revision=95972
Ivan Zlatev [Sun, 17 Feb 2008 14:04:01 +0000 (14:04 -0000)]
2008-02-17 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Set expanded state before notifying that the
expansion has taken place.
* PropertyGridView.cs:
- Set the propertygridtextbox text to the selected
StandardValue before proceeding to setting it.
- Scrolling bugfixes.
svn path=/trunk/mcs/; revision=95968
Daniel Nauck [Sun, 17 Feb 2008 13:57:36 +0000 (13:57 -0000)]
2008-02-17 Daniel Nauck <dna@mono-project.de>
* HttpWebResponse.cs: refactored cookie expires parsing to
allow all common expires datetime formats.
svn path=/trunk/mcs/; revision=95967
Igor Zelmanovich [Sun, 17 Feb 2008 07:34:31 +0000 (07:34 -0000)]
merge r95956:95957
svn path=/trunk/mcs/; revision=95958
Ivan Zlatev [Sat, 16 Feb 2008 22:01:05 +0000 (22:01 -0000)]
2008-02-16 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs:
- Fix ValueText to not return null.
- Fix conversion error reporting to actually happen.
* PropertyGridView.cs: Set entry only if the text has changed.
[Fixes bug #362116]
svn path=/trunk/mcs/; revision=95934