Jonathan Pryor [Fri, 8 Feb 2008 17:05:34 +0000 (17:05 -0000)]
* signal.c: Mono_Unix_UnixSignal_WaitAny() semantic change: return the index
into the signals array of the first signaled signal if successful,
otherwise return the timeout.
svn path=/trunk/mono/; revision=95276
Sebastien Pouliot [Fri, 8 Feb 2008 16:39:59 +0000 (16:39 -0000)]
2008-02-08 Sebastien Pouliot <sebastien@ximian.com>
* Random.cs: Explain (and extend) special case in Next(min,max)
svn path=/trunk/mcs/; revision=95273
Juraj Skripsky [Fri, 8 Feb 2008 16:29:03 +0000 (16:29 -0000)]
2008-02-08 Juraj Skripsky <js@hotfeet.ch>
* Random.cs (Next): Use rounding (via implicit conversion) only on
positive values. Fixes bug 359918.
svn path=/trunk/mcs/; revision=95272
Rodrigo Kumpera [Fri, 8 Feb 2008 15:59:36 +0000 (15:59 -0000)]
2008-02-08 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_type_get_stack_name): Added. Return the name for the
stack type of the given MonoType.
* verify.c (verify_type_compatibility_full): Handle the void type.
* verify.c (is_compatible_boxed_valuetype): Changed to fit the
way stack merging works.
* verify.c (store_local): Improved verification message.
* verify.c (do_branch_op): If the merging is invalid, the method
is unverifiable and not invalid. Improved error message.
* verify.c (merge_stacks): Properly merge a boxed valuetype and
a reference type diferent than System.Object. Improved error
message.
svn path=/trunk/mono/; revision=95268
Andreia Gaita [Fri, 8 Feb 2008 15:43:19 +0000 (15:43 -0000)]
* Form.cs: Add a null check (darn it).
2008-02-08 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=95266
Marek Habersack [Fri, 8 Feb 2008 15:41:45 +0000 (15:41 -0000)]
2008-02-08 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: always return a non-null value from
the Program property.
svn path=/trunk/mcs/; revision=95265
Jonathan Pobst [Fri, 8 Feb 2008 15:30:44 +0000 (15:30 -0000)]
2008-02-08 Jonathan Pobst <monkey@jpobst.com>
* MdiClient.cs: Make sure the requesting form actually owns the
control menu items before removing them. Also, use
Suspend/ResumeLayout when adding or removing items so we only
layout once.
[Fixes bug #359887]
svn path=/trunk/mcs/; revision=95264
Jonathan Pobst [Fri, 8 Feb 2008 14:49:37 +0000 (14:49 -0000)]
2008-02-08 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Guard against an NRE in ShowFocusCues.
[Fixes bug #359830]
svn path=/trunk/mcs/; revision=95260
Jonathan Pryor [Fri, 8 Feb 2008 14:34:22 +0000 (14:34 -0000)]
* UnixSignal.cs: Modification of Info->count should be thread safe.
svn path=/trunk/mcs/; revision=95259
Jb Evain [Fri, 8 Feb 2008 14:30:46 +0000 (14:30 -0000)]
we pass Invoke tests
svn path=/trunk/mcs/; revision=95258
Jb Evain [Fri, 8 Feb 2008 14:30:36 +0000 (14:30 -0000)]
2008-02-08 Jb Evain <jbevain@novell.com>
* Expression.cs, InvocationExpression.cs, ExpressionPrinter.cs
add support for Invoke.
svn path=/trunk/mcs/; revision=95257
Zoltan Varga [Fri, 8 Feb 2008 14:29:08 +0000 (14:29 -0000)]
2008-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_output_basic_block): Fix the ordering of arguments for
some load/store opcodes so they are consistent.
(mono_arch_emit_prolog): Simplify some code.
svn path=/trunk/mono/; revision=95255
Zoltan Varga [Fri, 8 Feb 2008 14:28:06 +0000 (14:28 -0000)]
2008-02-08 Zoltan Varga <vargaz@gmail.com>
* arm/arm-codegen.h: Fix the ordering of arguments for some load/store opcodes
so they are consistent.
svn path=/trunk/mono/; revision=95254
Rodrigo Kumpera [Fri, 8 Feb 2008 14:19:53 +0000 (14:19 -0000)]
2008-02-08 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_void_ptr_store_2.cs: Tests for using unmanaged pointers.
This test looks for void pointers.
* unverifiable_void_ptr_store_3.cs: Same.
* unverifiable_void_ptr_store.cs: Same.
* valid_merge_boxed_type_3.cs: Test merging a reference type diferent than
System.Object and a boxed valuetype. This is hopefully the last issue of
merging stack frames.
* Makefile: compile .cs files with /unsafe switch.
svn path=/trunk/mono/; revision=95250
Zoltan Varga [Fri, 8 Feb 2008 14:18:17 +0000 (14:18 -0000)]
2008-02-08 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_plt_entry): Fix a warning.
svn path=/trunk/mono/; revision=95249
Jb Evain [Fri, 8 Feb 2008 14:06:21 +0000 (14:06 -0000)]
add test for lambda invocation
svn path=/trunk/mcs/; revision=95247
Marek Safar [Fri, 8 Feb 2008 13:53:06 +0000 (13:53 -0000)]
2008-02-08 Marek Safar <marek.safar@gmail.com>
A test for bug #359749
svn path=/trunk/mcs/; revision=95246
Marek Safar [Fri, 8 Feb 2008 13:52:42 +0000 (13:52 -0000)]
New test + update
svn path=/trunk/mcs/; revision=95245
Jb Evain [Fri, 8 Feb 2008 13:44:05 +0000 (13:44 -0000)]
new tests
svn path=/trunk/mcs/; revision=95244
Jb Evain [Fri, 8 Feb 2008 13:43:33 +0000 (13:43 -0000)]
blah
svn path=/trunk/mcs/; revision=95242
Zoltan Varga [Fri, 8 Feb 2008 13:43:30 +0000 (13:43 -0000)]
2008-02-08 Zoltan Varga <vargaz@gmail.com>
* objects.cs: Add tests for large argument offsets on ARM.
* mini-arm.c (mono_arch_emit_prolog): Fix handling of arguments with large
stack offsets. Fixes #359651.
svn path=/trunk/mono/; revision=95241
Marek Safar [Fri, 8 Feb 2008 13:36:44 +0000 (13:36 -0000)]
2008-02-08 Marek Safar <marek.safar@gmail.com>
A fix for bugs #325134, #359749
* expression.cs, ecore.cs: Try to resolve an extension method even if the
first bind points to non-method member expression.
svn path=/trunk/mcs/; revision=95240
Zoltan Varga [Fri, 8 Feb 2008 12:36:15 +0000 (12:36 -0000)]
2008-02-08 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_normalize_opcodes): Remap CEE_CONV_R4/R8 properly.
* cpu-s390x.md: Add OP_LCONV_TO_R4/R8.
* cpu-ia64.md mini-ia64.h mini-ia64.c: Get rid of CEE_ opcodes.
svn path=/trunk/mono/; revision=95237
Marek Safar [Fri, 8 Feb 2008 11:09:14 +0000 (11:09 -0000)]
New test.
svn path=/trunk/mcs/; revision=95235
Marek Safar [Fri, 8 Feb 2008 11:09:02 +0000 (11:09 -0000)]
2008-02-08 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Null coalescing operator is not part of ISO-1.
svn path=/trunk/mcs/; revision=95234
Marek Safar [Fri, 8 Feb 2008 10:25:51 +0000 (10:25 -0000)]
New test.
svn path=/trunk/mcs/; revision=95230
Marek Safar [Fri, 8 Feb 2008 10:25:06 +0000 (10:25 -0000)]
New tests.
svn path=/trunk/mcs/; revision=95229
Marek Safar [Fri, 8 Feb 2008 10:24:46 +0000 (10:24 -0000)]
2008-02-08 Marek Safar <marek.safar@gmail.com>
A fix for bugs #321394, #323028
* generic.cs, parameter.cs, ecore.cs, class.cs, decl.cs, delegate.cs:
Reworked naive IsAccessibleAs implementation to handle nested types.
svn path=/trunk/mcs/; revision=95228
Carlos Alberto Cortez [Fri, 8 Feb 2008 03:39:18 +0000 (03:39 -0000)]
2008-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
property, as well as stubbing DataSourceUpdateMode.
svn path=/trunk/mcs/; revision=95218
Andreia Gaita [Fri, 8 Feb 2008 01:37:53 +0000 (01:37 -0000)]
* Form.cs: When closing forms, get focus back to the active control of the
active form. [Fixes #341314, corner case]
2008-02-08 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=95215
Ivan Zlatev [Fri, 8 Feb 2008 00:57:37 +0000 (00:57 -0000)]
2008-02-08 Ivan N. Zlatev <contact@i-nz.net>
* ColorEditor.cs: Fix Height to include the last 8th row.
svn path=/trunk/mcs/; revision=95211
Jonathan Pobst [Thu, 7 Feb 2008 23:52:33 +0000 (23:52 -0000)]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* MdiClient.cs: After we move the scrollbars, invalidate the NC
area, so any old scrollbar artifacts are cleaned up.
[Fixes bug #336305]
svn path=/trunk/mcs/; revision=95210
Zoltan Varga [Thu, 7 Feb 2008 23:44:52 +0000 (23:44 -0000)]
2008-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Add OP_ICONV_TO_R_UN opcode.
* mini.c (mono_normalize_opcodes): Remap CEE_CONV_R_UN too.
* cpu-s390x.md cpu-s390.md mini-s390x.c mini-arm.c cpu-arm.md mini-s390.c: Get
rid of CEE_CONV_R_UN.
svn path=/trunk/mono/; revision=95209
Zoltan Varga [Thu, 7 Feb 2008 23:37:46 +0000 (23:37 -0000)]
2008-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c mini-s390x.h cpu-s390x.md inssel-s390x.brg: Get rid of CEE_ opcodes.
svn path=/trunk/mono/; revision=95208
Jonathan Pobst [Thu, 7 Feb 2008 22:52:33 +0000 (22:52 -0000)]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* MdiWindowManager.cs: If we are maximized and using MainMenuStrip
for our menus, display that control box menu instead of the 1.1
menu one.
svn path=/trunk/mcs/; revision=95202
Jonathan Pobst [Thu, 7 Feb 2008 22:30:37 +0000 (22:30 -0000)]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* MdiControlStrip.cs: Add property to access the mdi form tied to
each toolstripitem.
* MdiClient.cs: Be smarter about removing and adding toolstripitems
to the implicitly merged menu. Every time we clicked the form, items
were getting removed and the re-added, causing the form to jump around
as the menu resized.
svn path=/trunk/mcs/; revision=95201
Marek Habersack [Thu, 7 Feb 2008 22:27:11 +0000 (22:27 -0000)]
2008-02-08 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: make sure that the Src attribute is treated
correctly in the 2.0 profile. Fixes bug #319016
svn path=/trunk/mcs/; revision=95198
Zoltan Varga [Thu, 7 Feb 2008 22:14:41 +0000 (22:14 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* mini-s390.c mini-s390.h cpu-s390.md: Get rid of CEE_ opcodes.
* mini.c (mono_normalize_opcodes): Add some more opcodes.
* mini-arm.c mini-arm.h cpu-arm.md: Get rid of CEE_ opcodes.
svn path=/trunk/mono/; revision=95196
Jonathan Pobst [Thu, 7 Feb 2008 21:48:22 +0000 (21:48 -0000)]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* MdiClient.cs: Make sure the NormalBounds always gets set. It
was being reset by the implicit menu merge for menustrips.
[Fixes bug #336296]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* MdiFormTest.cs: Add test for bug #336296.
svn path=/trunk/mcs/; revision=95193
Gert Driesen [Thu, 7 Feb 2008 20:11:11 +0000 (20:11 -0000)]
* CodeGen.cs: Use original filename as base name for debug file.
Symbol writer will already add .mdb to it. Fixes bug #359516.
* Driver.cs: Removed crazy logic prevent debug symbol from being
created when /debug is set.
svn path=/trunk/mcs/; revision=95187
Zoltan Varga [Thu, 7 Feb 2008 19:40:50 +0000 (19:40 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_normalize_opcodes): Add some more opcodes.
* mini-arm.c mini-arm.h cpu-arm.md: Get rid of CEE_ opcodes.
svn path=/trunk/mono/; revision=95183
Gert Driesen [Thu, 7 Feb 2008 19:15:53 +0000 (19:15 -0000)]
* HttpException.cs: Removed CWL.
svn path=/trunk/mcs/; revision=95180
Jonathan Pobst [Thu, 7 Feb 2008 19:12:57 +0000 (19:12 -0000)]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* MdiFormTest.cs: Add test for bug #325473.
svn path=/trunk/mcs/; revision=95179
Jonathan Pobst [Thu, 7 Feb 2008 18:54:31 +0000 (18:54 -0000)]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't do the previous change when WindowState = Normal,
or it messes up where the window is placed. Fixes test failure.
svn path=/trunk/mcs/; revision=95178
Zoltan Varga [Thu, 7 Feb 2008 18:34:31 +0000 (18:34 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* cpu-amd64.md: Remove some unused opcodes.
svn path=/trunk/mono/; revision=95177
Zoltan Varga [Thu, 7 Feb 2008 17:56:54 +0000 (17:56 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c mini-sparc.h cpu-sparc.md: Get rid of CEE_ opcodes.
svn path=/trunk/mono/; revision=95170
Marek Habersack [Thu, 7 Feb 2008 17:22:58 +0000 (17:22 -0000)]
2008-02-07 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: more exception output compatibility changes to
match MS.NET.
2008-02-07 Marek Habersack <mhabersack@novell.com>
* CompilationException.cs: added new constructor which takes
CompilerResults as one of the parameters.
Added CompilerOutput property.
* AssemblyBuilder.cs: use the new CompilationError constructor.
svn path=/trunk/mcs/; revision=95160
Jb Evain [Thu, 7 Feb 2008 17:20:33 +0000 (17:20 -0000)]
2008-02-07 Jb Evain <jbevain@novell.com>
* Mono.Cecil/MethodDefinition.cs:
add last Is method for semantics property.
svn path=/trunk/mcs/; revision=95158
Zoltan Varga [Thu, 7 Feb 2008 17:20:04 +0000 (17:20 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c mini-x86.h cpu-x86.md: Get rid of CEE_ opcodes.
svn path=/trunk/mono/; revision=95157
Vladimir Krasnov [Thu, 7 Feb 2008 16:21:59 +0000 (16:21 -0000)]
Removed debug printouts
svn path=/trunk/mcs/; revision=95151
Zoltan Varga [Thu, 7 Feb 2008 15:55:30 +0000 (15:55 -0000)]
Fix PPC build.
svn path=/trunk/mono/; revision=95149
Jonathan Pobst [Thu, 7 Feb 2008 15:55:20 +0000 (15:55 -0000)]
2008-02-07 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: When becoming visible, if we are an MDI child, call
SetWindowState with a dummy old_state so that changes will actually
be made.
[Fixes the 2nd part of bug #325473]
svn path=/trunk/mcs/; revision=95148
Andreia Gaita [Thu, 7 Feb 2008 15:44:27 +0000 (15:44 -0000)]
* Control.cs: Reset properties to their pre parent-change values in case
the new parent == null (in which case we're basically removing the control,
and don't want any events fired due to fake property changes)
[Fixes #355850]
2008-02-07 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=95146
Vladimir Krasnov [Thu, 7 Feb 2008 15:22:14 +0000 (15:22 -0000)]
* GlobalizationSection.cs: fixed GetSanitizedCulture, performance optimization
svn path=/trunk/mcs/; revision=95145
Vladimir Krasnov [Thu, 7 Feb 2008 15:09:21 +0000 (15:09 -0000)]
* System.Web20.csproj: added ObjectInputStream.cs and ObjectOutputStream.cs
* Page.jvm.cs: added StateSerializer class, fixed processSaveState, processRestoreState
* HttpContext.jvm.cs: added CurrentHandlerInternal property
svn path=/trunk/mcs/; revision=95144
Jonathan Pryor [Thu, 7 Feb 2008 15:07:53 +0000 (15:07 -0000)]
* mono-service.cs: Use Mono.Unix.UnixSignal for signal handling, which
is actually safe. As a bonus, it removes the 'wakeup every .5s' code.
svn path=/trunk/mcs/; revision=95143
Rodrigo Kumpera [Thu, 7 Feb 2008 14:40:26 +0000 (14:40 -0000)]
2008-02-07 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_type_is_enum_type): Added. Test if a type is an enum.
* verify.c (mono_type_get_underlying_type_any): Added. Return the underlying
type of an enum even if the argument is byref.
* verify.c: Replace all explicit uses of enumtype and enum_basetype
to calls to mono_type_is_enum_type and mono_type_get_underlying_type_any.
* verify.c: Check for an enum in all cases of MONO_TYPE_GENERICINST.
*verify.c (verify_type_compatibility_full): Make enum types
compatible with their base types.
* verify.c (is_compatible_boxed_valuetype): Added. Check if both
types are compatible for the special case of a boxed valuetype and
System.Object.
* verify.c (verify_stack_type_compatibility): The function
is_compatible_boxed_valuetype was extracted from here.
* verify.c (push_arg): Only set ctx->has_this_store if the method
is not static.
* verify.c (do_ldelem): Fixed a typo in an error message and added
strict check for mixing int32 and native int as the array type
and ldelem type.
* verify.c (merge_stacks): Consider boxed valuetypes in the
compatibility checks.
svn path=/trunk/mono/; revision=95142
Jonathan Pryor [Thu, 7 Feb 2008 14:11:38 +0000 (14:11 -0000)]
* signal.c: Make the signal handler thread-safe, so that it can safely be
invoked concurrently from multiple threads.
svn path=/trunk/mono/; revision=95140
Konstantin Triger [Thu, 7 Feb 2008 13:41:27 +0000 (13:41 -0000)]
TARGET_JVM: cache the merged AppSettings inside AppDomain
svn path=/trunk/mcs/; revision=95139
Zoltan Varga [Thu, 7 Feb 2008 13:19:17 +0000 (13:19 -0000)]
Fix some problems in the previous patch.
svn path=/trunk/mono/; revision=95137
Marek Habersack [Thu, 7 Feb 2008 13:18:35 +0000 (13:18 -0000)]
2008-02-07 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: check for virtualPath existence before
attempting to compile the assemblies. Fixes bug #359465
2008-02-07 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: moved several strings to constants, for easier
maintenance.
Added 3 new constructors which let the caller to set the exception
description.
The Description property is now settable.
The stack trace at the bottom of the file is written after the
terminating </html>, inside a HTML comment. Format changed to
match MS.NET.
Error 404 is handled in a special way, to match the output with
MS.NET.
* HttpContext.cs, StaticFileHandler.cs, HttpApplication.cs: use
the new HttpException constructor for 404.
2008-02-07 Marek Habersack <mhabersack@novell.com>
* PageHandlerFactory.cs: call PageParser.GetCompiledPageInstance
only - that method calls the appropriate APIs for 1.1 and 2.0
profiles.
svn path=/trunk/mcs/; revision=95135
Zoltan Varga [Thu, 7 Feb 2008 13:17:12 +0000 (13:17 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* mini.c mini-<ARCH>.c: Remove mono_arch_local_regalloc (), instead make
arch specific functions for its parts. Call the peephole pass after local
regalloc so the prolog can compute a more accurate max_offset.
svn path=/trunk/mono/; revision=95134
Igor Zelmanovich [Thu, 7 Feb 2008 12:50:37 +0000 (12:50 -0000)]
fix tests:
consider "\r\n" - end of lines when run test on Windows.
svn path=/trunk/mcs/; revision=95132
Zoltan Varga [Thu, 7 Feb 2008 12:46:11 +0000 (12:46 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_normalize_opcodes): New mini pass to convert CEE_ opcodes to
the corresponding OP_I/OP_L opcodes.
* mini-amd64.c mini-amd64.h cpu-amd64.md: Get rid of CEE_ opcodes.
svn path=/trunk/mono/; revision=95131
Vladimir Krasnov [Thu, 7 Feb 2008 12:40:52 +0000 (12:40 -0000)]
* HttpResponse.cs: fixed AddHeadersNoCache, removed date_header since java app server adds it, under TARGET_J2EE.
svn path=/trunk/mcs/; revision=95130
Zoltan Varga [Thu, 7 Feb 2008 11:38:10 +0000 (11:38 -0000)]
2008-02-07 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_output_basic_block): Fix the sparc build.
svn path=/trunk/mono/; revision=95128
Igor Zelmanovich [Thu, 7 Feb 2008 10:39:51 +0000 (10:39 -0000)]
2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
* Login.cs: render id attribute of root element correctly.
svn path=/trunk/mcs/; revision=95126
Massimiliano Mantione [Thu, 7 Feb 2008 09:51:20 +0000 (09:51 -0000)]
* include/gc.h: (GCEventType): Added start-stop the world events.
* pthread_stop_world.c: (GC_stop_world and GC_start_world): hooked
svn path=/trunk/mono/; revision=95125
Massimiliano Mantione [Thu, 7 Feb 2008 09:50:25 +0000 (09:50 -0000)]
* profiler.h: (MonoGCEvent): Added start-stop the world events.
svn path=/trunk/mono/; revision=95124
Konstantin Triger [Thu, 7 Feb 2008 07:15:16 +0000 (07:15 -0000)]
performance: refactor out the Configuration object construction from GetSection() to the ctor
svn path=/trunk/mcs/; revision=95121
Rodrigo Kumpera [Thu, 7 Feb 2008 01:08:41 +0000 (01:08 -0000)]
2008-02-06 Rodrigo Kumpera <rkumpera@novell.com>
* valid_boxed_enum_is_compatible_with_system_enum.cs: Added.
Test if an enum is compatible with System.Enum.
* valid_merge_boxed_type.cs: Added. Test merging
a boxed int32 with a reference type.
* valid_merge_boxed_type_2.cs: Same.
* make_ldelem_test.sh: Added some enums to be used by the tests.
* make_tests.sh: New tests for ldelem compatibility between enums
and their base type. Marked some tests as strict.
svn path=/trunk/mono/; revision=95104
Zoltan Varga [Wed, 6 Feb 2008 21:47:04 +0000 (21:47 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* mini-s390.c (mono_arch_get_inst_for_method): Remove the Interlocked cases
as they are handled in mini.c.
* mini-s390x.c (mono_arch_get_inst_for_method): Ditto.
svn path=/trunk/mono/; revision=95083
Zoltan Varga [Wed, 6 Feb 2008 21:42:20 +0000 (21:42 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* mini-<ARCH>.c (mono_arch_get_inst_for_method): Remove the MemoryBarrier
case since it is handled in mini.c.
svn path=/trunk/mono/; revision=95080
Zoltan Varga [Wed, 6 Feb 2008 21:38:20 +0000 (21:38 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* cpu-sparc.md (sparc_setfreg_float): Fix the sparc build.
svn path=/trunk/mono/; revision=95079
Zoltan Varga [Wed, 6 Feb 2008 21:31:03 +0000 (21:31 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Add new opcodes OP_CALL/OP_CALLVIRT.
* *.c: Use the new opcodes in the IR and back end code.
svn path=/trunk/mono/; revision=95078
Marek Habersack [Wed, 6 Feb 2008 20:31:37 +0000 (20:31 -0000)]
* AssemblyBuilder.cs: if there are no units, no source files, no
resources and no embedded resources in the passed options then
do not attempt to compile the assembly. Fixes bug #359325
svn path=/trunk/mcs/; revision=95074
Zoltan Varga [Wed, 6 Feb 2008 19:16:54 +0000 (19:16 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h cpu-<ARCH>.md: Correct the name of the bgt_un opcodes.
svn path=/trunk/mono/; revision=95064
Ivan Zlatev [Wed, 6 Feb 2008 17:29:37 +0000 (17:29 -0000)]
2008-02-06 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs:
- Refactor SetValue to allow setting the value
when a custom editor is used, but the entry is not editable.
- Remove the custom editor control on CloseDropDown.
[Fixes #359196]
svn path=/trunk/mcs/; revision=95049
Andreia Gaita [Wed, 6 Feb 2008 17:01:40 +0000 (17:01 -0000)]
* PrintControllerWithStatusDialog.cs: Set PrintFileName value through
reflection only on 1.1, this property is public on system.drawing on 2.0.
Fixed #359247
2008-02-06 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=95041
Massimiliano Mantione [Wed, 6 Feb 2008 16:32:10 +0000 (16:32 -0000)]
*class.c: use_new_interface_vtable_code: renamed the env var to have
a "MONO_" prefix, and fix the logic to enable it by default.
svn path=/trunk/mono/; revision=95040
Massimiliano Mantione [Wed, 6 Feb 2008 16:18:36 +0000 (16:18 -0000)]
* Makefile.am: Re-enabled bug-77127.exe (was fixed in r95036).
svn path=/trunk/mono/; revision=95037
Massimiliano Mantione [Wed, 6 Feb 2008 16:16:09 +0000 (16:16 -0000)]
*class.c:
mono_class_setup_vtable_general: rewrote the way in which interface
methods are added to vtables. Makes bug-77127.exe pass, and hopefully
makes the code more maintainable.
For now the old code is still there, and can be activated setting
the env var "USE_NEW_INTERFACE_VTABLE_CODE".
svn path=/trunk/mono/; revision=95036
Jonathan Pobst [Wed, 6 Feb 2008 16:00:20 +0000 (16:00 -0000)]
2008-02-06 Jonathan Pobst <monkey@jpobst.com>
* TimerTest.cs: Several asserts in one test had the same name,
so I can't tell which assert is failing on the buildbot. Fixed.
svn path=/trunk/mcs/; revision=95034
Rodrigo Kumpera [Wed, 6 Feb 2008 15:24:56 +0000 (15:24 -0000)]
2008-02-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: guarded some debug functions around and #ifdef.
* verify.c (merge_stacks): implement proper PIII 1.8.1.3 stack state merging.
svn path=/trunk/mono/; revision=95033
Rodrigo Kumpera [Wed, 6 Feb 2008 15:08:16 +0000 (15:08 -0000)]
2008-02-06 Rodrigo Kumpera <rkumpera@novell.com>
* valid_merge_base_type.cs
* valid_merge_first_value_is_base_type.cs:
* valid_merge_interface_type_3.cs:
* valid_merge_interface_type_4.cs:
* valid_merge_interface_type.cs:
* valid_merge_second_value_is_base_type.cs: New tests for stack merging.
These tests verify the correctness of the merged value.
svn path=/trunk/mono/; revision=95030
Marek Habersack [Wed, 6 Feb 2008 15:04:00 +0000 (15:04 -0000)]
2008-02-06 Marek Habersack <mhabersack@novell.com>
* GenericBuildProvider.cs: GetGeneratedType may return a type even
though the results are null.
* AssemblyBuilder.cs: if there are no units and no source files,
do not attempt to compile the assembly.
* AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: expect that
BuildAssembly may return null results.
* BuildManager.cs: If AssemblyBuilder returns no results from BuildAssembly, it might
mean we're dealing with a compilation of empty .as[hm]x files,
with no code and only code-behind in bin/. Do not report an error
in that case, only add the compiled types to the cache. Fixes bug
#357624.
svn path=/trunk/mcs/; revision=95028
Zoltan Varga [Wed, 6 Feb 2008 13:55:45 +0000 (13:55 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Use a far-call for calling dynamic methods.
svn path=/trunk/mono/; revision=95025
Zoltan Varga [Wed, 6 Feb 2008 13:44:23 +0000 (13:44 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Revert the direct_wrapper
changes for now since they seem to break too many things.
svn path=/trunk/mono/; revision=95023
Vladimir Krasnov [Wed, 6 Feb 2008 13:24:30 +0000 (13:24 -0000)]
Added portal url prefix constants
svn path=/trunk/mcs/; revision=95021
Vladimir Krasnov [Wed, 6 Feb 2008 13:23:22 +0000 (13:23 -0000)]
* Control.cs: fixed ResolveClientUrlInternal for portal url prefixes
svn path=/trunk/mcs/; revision=95020
Vladimir Krasnov [Wed, 6 Feb 2008 13:22:32 +0000 (13:22 -0000)]
* J2EEConsts.cs: added portal url prefixes
svn path=/trunk/mcs/; revision=95019
Marek Habersack [Wed, 6 Feb 2008 12:43:55 +0000 (12:43 -0000)]
Watch for Created event in the FileSystemWatcher for the
app_offline.htm files.
svn path=/trunk/mcs/; revision=95015
Marek Habersack [Wed, 6 Feb 2008 12:10:38 +0000 (12:10 -0000)]
2008-02-06 Marek Habersack <mhabersack@novell.com>
* HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
mode. Fixes bug #
3544252008-02-06 Marek Habersack <mhabersack@novell.com>
svn path=/trunk/mcs/; revision=95013
Mark Probst [Wed, 6 Feb 2008 11:59:40 +0000 (11:59 -0000)]
2008-02-06 Mark Probst <mark.probst@gmail.com>
* mini-trampolines.c (mono_generic_class_init_trampoline): Removed
an assert because it has a race condition.
svn path=/trunk/mono/; revision=95010
Ankit Jain [Wed, 6 Feb 2008 09:17:47 +0000 (09:17 -0000)]
Fix bug #358496.
* ExternMethodRef.cs (ResolveVararg): Fix the check for sentinel.
svn path=/trunk/mcs/; revision=95005
Zoltan Varga [Wed, 6 Feb 2008 07:58:36 +0000 (07:58 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_patch_callsite): Add more diagnostics.
svn path=/trunk/mono/; revision=94999
Zoltan Varga [Wed, 6 Feb 2008 07:40:31 +0000 (07:40 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* inssel.brg mini-<ARCH>.c cpu-<ARCH>.md: Get rid of unused CEE_RET opcode.
svn path=/trunk/mono/; revision=94997
Zoltan Varga [Wed, 6 Feb 2008 07:33:00 +0000 (07:33 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* mini-<ARCH>.c cpu-<ARCH>.md: Get rid of unused LDIND/STIND opcodes.
svn path=/trunk/mono/; revision=94996
Zoltan Varga [Wed, 6 Feb 2008 07:26:03 +0000 (07:26 -0000)]
2008-02-06 Zoltan Varga <vargaz@gmail.com>
* *.brg mini-<ARCH>.c cpu-<ARCH>.md: Get rid of OP_SETREG/OP_SETFREG/OP_SETREGIMM,
use OP_MOVE/OP_FMOVE/OP_ICONST instead.
svn path=/trunk/mono/; revision=94995
Andreia Gaita [Wed, 6 Feb 2008 03:51:00 +0000 (03:51 -0000)]
* build-csproj2k5: fixed mono.mozilla project guid
* SWF2K5.csproj: synched to sources
* SWF2k5.sln: updated with proper mono.mozilla guid
2008-02-06 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=94990