Jonathan Pobst [Wed, 20 Feb 2008 22:52:17 +0000 (22:52 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: StateImages are basically custom checkboxes, so
factor their size the same as real checkboxes when determining
what got clicked.
[Fixes bug #363360]
svn path=/trunk/mcs/; revision=96320
Zoltan Varga [Wed, 20 Feb 2008 20:45:20 +0000 (20:45 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_Type_GetPacking): Handle dynamic types.
svn path=/trunk/mono/; revision=96314
Marek Habersack [Wed, 20 Feb 2008 19:46:40 +0000 (19:46 -0000)]
2008-02-20 Marek Habersack <mhabersack@novell.com>
* ConfigurationSection.cs: support the "configSource" attribute
when deserializing a section. Contents of the file (if it exists)
replaces the previous section contents.
* ConfigurationElement.cs: ignore the "configSource" attribute if we're a
ConfigurationSection instance.
HasValues () returns true only if any of the properties has the
origin set to SetHere.
svn path=/trunk/mcs/; revision=96296
Jonathan Pobst [Wed, 20 Feb 2008 19:46:31 +0000 (19:46 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* MessageBox.cs: Make the message box wider if the form caption
is longer than the text in the form.
[Fixes bug #361137]
svn path=/trunk/mcs/; revision=96295
Jb Evain [Wed, 20 Feb 2008 19:25:16 +0000 (19:25 -0000)]
we pass MemberBind tests
svn path=/trunk/mcs/; revision=96294
Jb Evain [Wed, 20 Feb 2008 19:25:03 +0000 (19:25 -0000)]
2008-02-20 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs: implement MemberBind.
svn path=/trunk/mcs/; revision=96293
Ivan Zlatev [Wed, 20 Feb 2008 19:19:07 +0000 (19:19 -0000)]
2008-02-20 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: Fix a NRE when closing the drop down form.
svn path=/trunk/mcs/; revision=96291
Jonathan Pobst [Wed, 20 Feb 2008 19:17:19 +0000 (19:17 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: Guard against an NRE when the parent's
StateImageList hasn't been set.
[Fixes bug #363353]
svn path=/trunk/mcs/; revision=96290
Zoltan Varga [Wed, 20 Feb 2008 19:08:43 +0000 (19:08 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_from_full): Fix a leak in the previous
svn path=/trunk/mono/; revision=96289
Zoltan Varga [Wed, 20 Feb 2008 19:04:51 +0000 (19:04 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_from_full): Return the non-refonly corlib for
ref-only requests for compatibility with MS.
svn path=/trunk/mono/; revision=96287
Jb Evain [Wed, 20 Feb 2008 18:53:27 +0000 (18:53 -0000)]
add MemberBind tests
svn path=/trunk/mcs/; revision=96286
Marek Safar [Wed, 20 Feb 2008 18:07:04 +0000 (18:07 -0000)]
2008-02-20 Marek Safar <marek.safar@gmail.com>
A test for bug #363218
svn path=/trunk/mcs/; revision=96281
Marek Safar [Wed, 20 Feb 2008 18:05:44 +0000 (18:05 -0000)]
2008-02-20 Marek Safar <marek.safar@gmail.com>
A fix for bug #363218
* expression.cs (ArrayCreation.Clone): Deal with multi-dimensional
initializers.
svn path=/trunk/mcs/; revision=96280
Marek Safar [Wed, 20 Feb 2008 17:29:49 +0000 (17:29 -0000)]
New test.
svn path=/trunk/mcs/; revision=96277
Marek Safar [Wed, 20 Feb 2008 17:29:30 +0000 (17:29 -0000)]
More tests.
svn path=/trunk/mcs/; revision=96276
Marek Safar [Wed, 20 Feb 2008 17:28:30 +0000 (17:28 -0000)]
2008-02-20 Marek Safar <marek.safar@gmail.com>
* expression.cs, constant.cs, cfold.cs: Yet another side-effect constant
update. This time to deal correctly with SideEffectConstant expression used
as an argument for another constant folding.
svn path=/trunk/mcs/; revision=96275
Zoltan Varga [Wed, 20 Feb 2008 17:21:42 +0000 (17:21 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
svn path=/trunk/mcs/; revision=96274
Jb Evain [Wed, 20 Feb 2008 17:10:23 +0000 (17:10 -0000)]
we pass ListInit tests
svn path=/trunk/mcs/; revision=96273
Jb Evain [Wed, 20 Feb 2008 17:10:07 +0000 (17:10 -0000)]
2008-02-20 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs: implement ListInit.
svn path=/trunk/mcs/; revision=96272
Jonathan Pobst [Wed, 20 Feb 2008 17:02:50 +0000 (17:02 -0000)]
svn path=/trunk/mcs/; revision=96271
Jonathan Pobst [Wed, 20 Feb 2008 16:42:02 +0000 (16:42 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: For the app data paths and the registry key paths,
ensure they are created before returning them to the user.
[Fixes bug #361709]
svn path=/trunk/mcs/; revision=96268
Jonathan Pobst [Wed, 20 Feb 2008 16:37:39 +0000 (16:37 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Guard against an NRE in CompanyName and
ProductName.
svn path=/trunk/mcs/; revision=96267
Vladimir Krasnov [Wed, 20 Feb 2008 16:04:54 +0000 (16:04 -0000)]
merge -r96230:96231
svn path=/trunk/mcs/; revision=96263
Jonathan Pobst [Wed, 20 Feb 2008 15:08:16 +0000 (15:08 -0000)]
2008-02-20 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: For CompanyName, ProductName, and ProductVersion,
make sure we handle all three cases correctly: attribute is present,
attribute is present but is an empty string, and attribute is not
present.
svn path=/trunk/mcs/; revision=96259
Igor Zelmanovich [Wed, 20 Feb 2008 13:28:37 +0000 (13:28 -0000)]
merge r96245:96256:
2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
* Login.cs: render id attribute of root element correctly.
svn path=/trunk/mcs/; revision=96247
Jb Evain [Wed, 20 Feb 2008 13:12:09 +0000 (13:12 -0000)]
huh
svn path=/trunk/mcs/; revision=96245
Igor Zelmanovich [Wed, 20 Feb 2008 12:17:29 +0000 (12:17 -0000)]
merge r96225:96227
svn path=/trunk/mcs/; revision=96243
Igor Zelmanovich [Wed, 20 Feb 2008 12:14:11 +0000 (12:14 -0000)]
merge r96240:96241
svn path=/trunk/mcs/; revision=96242
Zoltan Varga [Wed, 20 Feb 2008 11:47:21 +0000 (11:47 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* cpu-s390x.md: Remove some more unused opcodes.
svn path=/trunk/mono/; revision=96240
Zoltan Varga [Wed, 20 Feb 2008 11:33:47 +0000 (11:33 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some
simple cases required by ikvm.
svn path=/trunk/mcs/; revision=96237
Ivan Zlatev [Wed, 20 Feb 2008 11:15:20 +0000 (11:15 -0000)]
2008-02-20 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs:
- Fix a NRE that caused a test failure
- Another performance improvement - cache the standard values
listbox.
svn path=/trunk/mcs/; revision=96234
Veerapuram Varadhan [Wed, 20 Feb 2008 11:02:56 +0000 (11:02 -0000)]
svn path=/trunk/mcs/; revision=96233
Zoltan Varga [Wed, 20 Feb 2008 10:45:51 +0000 (10:45 -0000)]
2008-02-20 Zoltan Varga <vargaz@gmail.com>
* cpu-s390x.md: Remove some unused opcodes.
svn path=/trunk/mono/; revision=96232
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