Zoltan Varga [Fri, 18 Jan 2008 16:45:55 +0000 (16:45 -0000)]
2008-01-18 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Disable the new optimization if
profiling is enabled.
svn path=/trunk/mono/; revision=93274
Zoltan Varga [Fri, 18 Jan 2008 16:41:44 +0000 (16:41 -0000)]
2008-01-18 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_call_opcode): Emit the save_sp_to_lmf instruction at
the end.
(mono_arch_emit_prolog): Add more first bblock optimizations.
svn path=/trunk/mono/; revision=93273
Miguel de Icaza [Fri, 18 Jan 2008 16:05:22 +0000 (16:05 -0000)]
Fix the issue that JB found
svn path=/trunk/mcs/; revision=93271
Marek Safar [Fri, 18 Jan 2008 16:04:47 +0000 (16:04 -0000)]
2008-01-18 Marek Safar <marek.safar@gmail.com>
A test for bug #353526
svn path=/trunk/mcs/; revision=93270
Marek Safar [Fri, 18 Jan 2008 16:04:20 +0000 (16:04 -0000)]
2008-01-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #353526
* generic.cs: A type inference of params arguments may not required any
temporary array creation.
svn path=/trunk/mcs/; revision=93269
Marek Safar [Fri, 18 Jan 2008 15:34:33 +0000 (15:34 -0000)]
New test, disabled failures caused by runtime bug
svn path=/trunk/mcs/; revision=93268
Marek Safar [Fri, 18 Jan 2008 15:29:31 +0000 (15:29 -0000)]
2008-01-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #353534
* generic.cs, ecore.cs, expression.cs: A method group type inference is
supported for delegates only.
svn path=/trunk/mcs/; revision=93266
Jb Evain [Fri, 18 Jan 2008 15:07:18 +0000 (15:07 -0000)]
we pass lessthan and greatherthan tests
svn path=/trunk/mcs/; revision=93265
Jb Evain [Fri, 18 Jan 2008 15:05:03 +0000 (15:05 -0000)]
add new files
svn path=/trunk/mcs/; revision=93264
Jb Evain [Fri, 18 Jan 2008 15:00:20 +0000 (15:00 -0000)]
2008-01-18 Jb Evain <jbevain@novell.com>
* ExpressionTest_GreaterThan|GreaterThanOrEqual.cs
* ExpressionTest_LessThan|LessThanOrEqual.cs: new tests.
svn path=/trunk/mcs/; revision=93263
Zoltan Varga [Fri, 18 Jan 2008 14:46:06 +0000 (14:46 -0000)]
2008-01-18 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_call_opcode): Keep assignments to the arg registers
in order if possible.
(mono_arch_emit_prolog): Optimize assignments to arg registers in the first
bblock, since the arguments are still in their original registers.
svn path=/trunk/mono/; revision=93260
Jb Evain [Fri, 18 Jan 2008 14:18:29 +0000 (14:18 -0000)]
we pass not, negate and unaryplus tests
svn path=/trunk/mcs/; revision=93257
Jb Evain [Fri, 18 Jan 2008 14:17:27 +0000 (14:17 -0000)]
2008-01-18 Jb Evain <jbevain@novell.com>
* Expression[Printer|Visitor].cs: implement UnaryPlus, Not, Negate.
svn path=/trunk/mcs/; revision=93256
Jb Evain [Fri, 18 Jan 2008 14:09:04 +0000 (14:09 -0000)]
2008-01-18 Jb Evain <jbevain@novell.com>
* ExpressionTest_Negate.cs
ExpressionTest_Not.cs
ExpressionTest_UnaryPlus.cs: test for some unary operators.
svn path=/trunk/mcs/; revision=93255
Zoltan Varga [Fri, 18 Jan 2008 13:19:47 +0000 (13:19 -0000)]
2008-01-18 Zoltan Varga <vargaz@gmail.com>
* mini.c (type_from_op): Calling add.ovf on floats in not valid IL code.
svn path=/trunk/mono/; revision=93249
Marek Safar [Fri, 18 Jan 2008 12:35:06 +0000 (12:35 -0000)]
Disable gtest-etree-01.cs until JB catches up
svn path=/trunk/mcs/; revision=93248
Jb Evain [Fri, 18 Jan 2008 12:21:14 +0000 (12:21 -0000)]
use common params [] to IEnumerable pattern
svn path=/trunk/mcs/; revision=93247
Marek Safar [Fri, 18 Jan 2008 12:18:03 +0000 (12:18 -0000)]
New tests.
svn path=/trunk/mcs/; revision=93246
Marek Safar [Fri, 18 Jan 2008 12:17:32 +0000 (12:17 -0000)]
2008-01-18 Marek Safar <marek.safar@gmail.com>
* generic.cs: Fixed 3.0 type inference fixing phase to determine a unique
type for more than 1 candidates.
svn path=/trunk/mcs/; revision=93245
Jb Evain [Fri, 18 Jan 2008 12:11:34 +0000 (12:11 -0000)]
spaces to tabs
svn path=/trunk/mcs/; revision=93244
Marek Safar [Fri, 18 Jan 2008 11:03:08 +0000 (11:03 -0000)]
New test.
svn path=/trunk/mcs/; revision=93240
Marek Safar [Fri, 18 Jan 2008 11:02:54 +0000 (11:02 -0000)]
2008-01-18 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, ecore.cs, expression.cs: Implemented ArrayLength and Call
expressions.
svn path=/trunk/mcs/; revision=93239
Marek Safar [Fri, 18 Jan 2008 09:33:41 +0000 (09:33 -0000)]
No explicit return false.
svn path=/trunk/mcs/; revision=93235
Miguel de Icaza [Fri, 18 Jan 2008 08:30:30 +0000 (08:30 -0000)]
Remove TypeCode in a few places, there is one place where its actually useful (ConstantExpression.Emit) and I dont feel like rewriting that one
svn path=/trunk/mcs/; revision=93232
Miguel de Icaza [Fri, 18 Jan 2008 08:03:10 +0000 (08:03 -0000)]
2008-01-18 Miguel de Icaza <miguel@novell.com>
* BinaryExpression.cs: Add support for emitting code for some
operators (ported from the Mono C# compiler).
Add tests.
svn path=/trunk/mcs/; revision=93231
Miguel de Icaza [Fri, 18 Jan 2008 00:24:01 +0000 (00:24 -0000)]
2008-01-17 Miguel de Icaza <miguel@novell.com>
Beginning of code generation framework for Linq.Expressions.
Some code was borrowed by from the C# compiler
* Expression_T.cs: Fill in the blanks.
* LambdaExpression.cs: Validation of parameters mostly, a tiny bit
of codegen.
* ConstantExpression.cs: Mostly done, need to write tests for
non-fundamental types and other ValueType initializations.
svn path=/trunk/mcs/; revision=93222
Ivan Zlatev [Thu, 17 Jan 2008 23:21:53 +0000 (23:21 -0000)]
2008-01-17 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: Set the property value only if it has changed.
[Fixes bug #338997]
svn path=/trunk/mcs/; revision=93219
Chris Toshok [Thu, 17 Jan 2008 22:29:50 +0000 (22:29 -0000)]
add a dependency on the descriptor resources, so we'll rebuild the linker when they change
svn path=/trunk/mcs/; revision=93214
Sebastien Pouliot [Thu, 17 Jan 2008 22:01:27 +0000 (22:01 -0000)]
2008-01-17 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFileTest.cs: Added test case against regression of
bug #354539
svn path=/trunk/mcs/; revision=93210
Sebastien Pouliot [Thu, 17 Jan 2008 22:00:31 +0000 (22:00 -0000)]
2008-01-17 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFile.cs: Fix bug #354539
svn path=/trunk/mcs/; revision=93209
Jonathan Pobst [Thu, 17 Jan 2008 21:33:45 +0000 (21:33 -0000)]
2008-01-17 Jonathan Pobst <monkey@jpobst.com>
* MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
If the mouse hasn't actually moved, ignore these messages so the currently
highlighted menuitem isn't reset to the one under the mouse.
[Fixes bug #333668]
svn path=/trunk/mcs/; revision=93207
Ivan Zlatev [Thu, 17 Jan 2008 21:23:37 +0000 (21:23 -0000)]
2008-01-17 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: When the property changes invalidate
the GridItem in order for the properties with
UITypeEditor.GetPaintValueSupported == true to reflect the change visually.
[Fixes bug #338998]
svn path=/trunk/mcs/; revision=93206
Zoltan Varga [Thu, 17 Jan 2008 19:22:02 +0000 (19:22 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs
CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
names to match MS.
svn path=/trunk/mcs/; revision=93188
Jonathan Pobst [Thu, 17 Jan 2008 19:12:16 +0000 (19:12 -0000)]
2008-01-17 Jonathan Pobst <monkey@jpobst.com>
* ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
to 2.0 button drawing.
* ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
the button text is tall enough for one line. LineLimit says it will
always draw at least one line, but it is a lie.
[Fixes bug #324941]
svn path=/trunk/mcs/; revision=93187
Rodrigo Kumpera [Thu, 17 Jan 2008 19:03:11 +0000 (19:03 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (in_any_exception_block): added, check if offset
is part of any exception handling clause.
* verify.c (get_stack_type): added VAR and MVAR types.
* verify.c (do_stobj): better error messages.
* verify.c (do_cpobj): added, check cpobj.
* verify.c (do_initobj): added, check initobj.
* verify.c (do_sizeof): added, check sizeof.
* verify.c (do_localloc): added, check localloc.
* verify.c: adde proper verification for cpobj, initobj, sizeof and localloc.
svn path=/trunk/mono/; revision=93185
Zoltan Varga [Thu, 17 Jan 2008 17:56:30 +0000 (17:56 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* TypeBuilder.cs (GetConstructorImpl): Add back the code removed by the last
patch since it is needed when building mscorlib.
svn path=/trunk/mcs/; revision=93180
Konstantin Triger [Thu, 17 Jan 2008 17:52:43 +0000 (17:52 -0000)]
improve JDBC driver cleanup logic
svn path=/trunk/mcs/; revision=93179
Noam Lampert [Thu, 17 Jan 2008 16:53:44 +0000 (16:53 -0000)]
Upgrade java build to Grasshopper 2.2
svn path=/trunk/mcs/; revision=93174
Rodrigo Kumpera [Thu, 17 Jan 2008 16:51:24 +0000 (16:51 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
* make_localloc_test.sh: test generator for localloc.
* make_tests.sh: added tests for localloc.
svn path=/trunk/mono/; revision=93173
Rodrigo Kumpera [Thu, 17 Jan 2008 16:49:43 +0000 (16:49 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
* make_sizeof_test.sh: test generator for sizeof.
* make_tests.sh: added tests for sizeof.
svn path=/trunk/mono/; revision=93172
Rodrigo Kumpera [Thu, 17 Jan 2008 16:46:52 +0000 (16:46 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
* make_cp_test.sh: test generator for cpobj.
* make_tests.sh: added tests for cpobj.
svn path=/trunk/mono/; revision=93171
Rodrigo Kumpera [Thu, 17 Jan 2008 16:36:24 +0000 (16:36 -0000)]
2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_initobj_invalid_token_out_of_bounds.il: tests for initobj.
* invalid_initobj_invalid_token_type.il: same.
* make_initobj_test.sh: test generator for initobj.
* make_tests.sh: added tests for initobj.
svn path=/trunk/mono/; revision=93170
Noam Lampert [Thu, 17 Jan 2008 16:35:54 +0000 (16:35 -0000)]
Improve java generation of compiled DefaultWsdlHelpGenerator
svn path=/trunk/mcs/; revision=93169
Igor Zelmanovich [Thu, 17 Jan 2008 15:34:56 +0000 (15:34 -0000)]
2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: fix ResolveUrl for some cases.
svn path=/trunk/mcs/; revision=93166
Igor Zelmanovich [Thu, 17 Jan 2008 15:16:39 +0000 (15:16 -0000)]
2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
* BaseCompiler.cs: Assign AppRelativeVirtualPath correctly
2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: consider changes in BaseCompiler.cs.
svn path=/trunk/mcs/; revision=93162
Jb Evain [Thu, 17 Jan 2008 15:13:59 +0000 (15:13 -0000)]
2008-01-17 Jb Evain <jbevain@novell.com>
* Expression.cs: implement MakeMemberAccess.
svn path=/trunk/mcs/; revision=93157
Jb Evain [Thu, 17 Jan 2008 13:04:41 +0000 (13:04 -0000)]
we pass ArrayIndex tests
svn path=/trunk/mcs/; revision=93149
Jb Evain [Thu, 17 Jan 2008 13:04:32 +0000 (13:04 -0000)]
2008-01-17 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs, BinaryExpression.cs:
implement ArrayIndex.
svn path=/trunk/mcs/; revision=93148
Jb Evain [Thu, 17 Jan 2008 12:33:01 +0000 (12:33 -0000)]
2008-01-17 Jb Evain <jbevain@novell.com>
* Expression.cs: Use TypeCode for IsInt and IsNumber.
svn path=/trunk/mcs/; revision=93147
Zoltan Varga [Thu, 17 Jan 2008 11:45:30 +0000 (11:45 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* HttpWebRequestTest.cs: Disable #353495 since it fails on the 2.0 profile.
svn path=/trunk/mcs/; revision=93146
Zoltan Varga [Thu, 17 Jan 2008 11:22:20 +0000 (11:22 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Use the no-spilling optimization for CEE_CALLI
as well.
* mini-amd64.c (mono_arch_emit_prolog): Save an instruction if the LMF is at
offset 0.
svn path=/trunk/mono/; revision=93145
Zoltan Varga [Thu, 17 Jan 2008 10:55:24 +0000 (10:55 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* method-builder.c (mono_mb_emit_native_call): Get rid of the unused
save_lmf/restore_lmf opcodes.
svn path=/trunk/mono/; revision=93144
Zoltan Varga [Thu, 17 Jan 2008 10:43:53 +0000 (10:43 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h (MONO_ARCH_HAVE_NOTIFY_PENDING_EXC): Turn on this for amd64.
* exceptions-amd64.c (mono_arch_notify_pending_exc): New function to
process async exceptions received while in unmanaged code.
svn path=/trunk/mono/; revision=93143
Zoltan Varga [Thu, 17 Jan 2008 10:42:00 +0000 (10:42 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Install a callback with the runtime which will be called
when a thread receives an async exception while in unmanaged code.
* mini.c driver.c: Update after mono_get_native_wrapper () signature change.
svn path=/trunk/mono/; revision=93142
Zoltan Varga [Thu, 17 Jan 2008 10:41:39 +0000 (10:41 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Install a callback with the runtime which will be called
when a thread receives an async exception while in unmanaged code.
* mini.c driver.c: Update after mono_get_native_wrapper () signature change.
svn path=/trunk/mono/; revision=93141
Roei Erez [Thu, 17 Jan 2008 10:38:22 +0000 (10:38 -0000)]
Remove TARGET_JVM directive
svn path=/trunk/mcs/; revision=93140
Zoltan Varga [Thu, 17 Jan 2008 10:38:10 +0000 (10:38 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_threads_install_notify_pending_exc): New function to
install a callback notifying the JIT there is a pending exception on a thread.
(mono_thread_request_interruption): Call the new callback.
(mono_thread_get_and_clear_pending_exception): New function to return the
exception pending on a thread.
* marshal.c (mono_marshal_get_icall_wrapper): Add a check_exceptions argument
to turn off checking for pending exceptions.
(mono_marshal_get_native_wrapper): Ditto.
svn path=/trunk/mono/; revision=93139
Igor Zelmanovich [Thu, 17 Jan 2008 09:56:59 +0000 (09:56 -0000)]
2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
* HtmlSelect.cs: refactoring.
svn path=/trunk/mcs/; revision=93138
Zoltan Varga [Thu, 17 Jan 2008 09:55:34 +0000 (09:55 -0000)]
2008-01-17 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c (mono_arch_output_basic_block): Fix s390x build.
svn path=/trunk/mono/; revision=93137
Igor Zelmanovich [Thu, 17 Jan 2008 09:47:54 +0000 (09:47 -0000)]
2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
* HtmlSelect.cs: fix databinding (only 2.0), state management.
svn path=/trunk/mcs/; revision=93134
Atsushi Eno [Thu, 17 Jan 2008 07:16:11 +0000 (07:16 -0000)]
2008-01-17 Atsushi Enomoto <atsushi@ximian.com>
* XplatUIStructs.cs, X11Keyboard.cs :
added some more VK_* keys to be handled.
* create-keyboard.cs : added some more VK_OEM_* keys.
* keyboards.resx : regenerated.
svn path=/trunk/mcs/; revision=93133
Miguel de Icaza [Thu, 17 Jan 2008 04:03:31 +0000 (04:03 -0000)]
2008-01-16 Miguel de Icaza <miguel@novell.com>
* Expression.cs: Add support for user-defined operators.
Put back various binary operator tests.
svn path=/trunk/mcs/; revision=93130
Wade Berrier [Thu, 17 Jan 2008 03:35:55 +0000 (03:35 -0000)]
* cpu-g4.md:
* cpu-arm.md:
* cpu-s390x.md:
fix build
svn path=/trunk/mono/; revision=93129
Andreia Gaita [Wed, 16 Jan 2008 23:31:29 +0000 (23:31 -0000)]
* Control.cs: Check if there is a container before setting or getting
the validation flag.
2008-01-16 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=93117
Andreia Gaita [Wed, 16 Jan 2008 21:59:46 +0000 (21:59 -0000)]
* ContainerControl.cs: Add flag to track if a control cancels validation,
so we don't fire click events.
* Control.cs:
- (HandleClick) Check if validation was cancelled before firing the click
events (doubleclicks are fired, but not clicks)
- (WmLButtonDown) Reset validation flag. The flag is normally reset on
ContainerControl.set_ActiveControl, but in the case of non-selectable
controls, like a Label, activecontrol is not set.
* ButtonBase.cs: Only fire clicks if validation passes.
Fixes #353310
2008-01-16 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=93114
Geoff Norton [Wed, 16 Jan 2008 21:27:02 +0000 (21:27 -0000)]
In .:
2008-01-16 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
trunk
svn path=/trunk/mcs/; revision=93110
Zoltan Varga [Wed, 16 Jan 2008 20:25:23 +0000 (20:25 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_output_basic_block): Remove some gccism which prevents
compilation with sun cc.
svn path=/trunk/mono/; revision=93099
Geoff Norton [Wed, 16 Jan 2008 20:01:46 +0000 (20:01 -0000)]
In .:
* XplatUICarbon.cs: Flicker be gone! Generate our messages in
AddExpose instead of trusting apples compositing manager which doesn't
work for our use case. Remove some dead code causing warnings and
redecorate some other code to prevent warnings.
2008-01-16 Geoff Norton <gnorton@novell.com>
svn path=/trunk/mcs/; revision=93092
Zoltan Varga [Wed, 16 Jan 2008 19:59:10 +0000 (19:59 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* threads-types.h: Get rid of the unnecessary extern declarations.
svn path=/trunk/mono/; revision=93089
Geoff Norton [Wed, 16 Jan 2008 19:56:29 +0000 (19:56 -0000)]
In .:
2008-01-06 Geoff Norton <gnorton@novell.com>
* ControlHandler.cs: Flicker be gone! Generate our messages in
AddExpose instead of trusting apples compositing manager which doesn't
work for our use case.
svn path=/trunk/mcs/; revision=93088
Jonathan Pobst [Wed, 16 Jan 2008 19:12:33 +0000 (19:12 -0000)]
2008-01-16 Jonathan Pobst <monkey@jpobst.com>
* FolderBrowserDialog.cs: If we cannot interpret the user's requested
SelectedPath, just display the default dialog instead of crashing.
[Fixes bug #348989]
svn path=/trunk/mcs/; revision=93082
Gert Driesen [Wed, 16 Jan 2008 19:00:34 +0000 (19:00 -0000)]
* TypeBuilder.cs (GetConstructorImpl): Use GetConstructor on created
type. Original implementation did not take into account the binding
flags and failed with a NotSupportedException if the default binder
checked if a ParamArrayAttribute was defined. It also does not make
sense to return a ConstructorBuilder once the type is emitted.
(GetConstructors): When the type is emitted, use GetConstructors
on the created type.
(GetFields): Removed duplicate code.
(GetMethodsByName): Fixed matching of methods in the parent class
depending on their accessibility:
- Private: never include private methods of parent
- Public: ignore if Public flag is not set
- Assembly: ignore if NonPublic is not set or when on the 1.0 profile
- Rest (Family, FamANDAssem, FamORAssem): ignore if NonPublic flag is
not set
Static methods of the parent are ignored unless the FlattenHierarchy
flag is set.
(GetProperties): When the type is emitted, use GetProperties on the
created type as the TypeBuilder implementation itself does not include
properties from the parent class.
* TypeBuilderTest.cs: Enabled tests for bug #322762.
svn path=/trunk/mcs/; revision=93080
Gert Driesen [Wed, 16 Jan 2008 19:00:19 +0000 (19:00 -0000)]
* icall.c (ves_icall_Type_GetField): if NonPublic flag is set, only
return field from parent class if not private.
(ves_icall_Type_GetFields_internal): if NonPublic flag is set, only
returns fields from parent class if they are not private.
(method_nonpublic): added function to determine if a given method
should be considered non-public. Returns false for private methods
on parent class, and internal methods from parent on the 1.0 profile.
(ves_icall_Type_GetMethodsByName): if NonPublic flag is set, then
use method_nonpublic function to determine whether method should be
returned.
(property_accessor_public): use newly introduced method_nonpublic
function to determine whether accessor is non-public.
(ves_icall_MonoType_GetEvent): If NonPublic flag is set, only return
event from parent class if not private. Only return static event if
Static flag is set, and only return static event from parent class if
FlattenHierarchy flag is set.
(ves_icall_Type_GetEvents_internal): If NonPublic flag is set, only
include non-private events from parent class.
svn path=/trunk/mono/; revision=93079
Zoltan Varga [Wed, 16 Jan 2008 18:21:36 +0000 (18:21 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_NumberFormatter_GetFormatterTables): Fix a
warning.
svn path=/trunk/mono/; revision=93077
Gert Driesen [Wed, 16 Jan 2008 18:15:25 +0000 (18:15 -0000)]
* CodeGeneratorFromCompileUnitTest.cs: Avoid using "", and use
Assert instead of Assertion.
* CodeGeneratorFromNamespaceTest.cs: Added tests for type parameters.
* CodeGeneratorFromNamespaceTest.cs: Added tests for type parameters.
* CSharpCodeGenerator.cs: Cosmetic changes to the code emitted for
type constraints. Allows our unit tests to pass on both Mono and MS.
* VBCodeGenerator.cs: Implement support for type parameters.
svn path=/trunk/mcs/; revision=93075
Zoltan Varga [Wed, 16 Jan 2008 18:06:57 +0000 (18:06 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* cpu-*.md: Fix the build.
svn path=/trunk/mono/; revision=93073
Marek Safar [Wed, 16 Jan 2008 18:03:40 +0000 (18:03 -0000)]
2008-01-14 Marek Safar <marek.safar@gmail.com>
* generic.cs, typemanager.cs, lambda.cs, parameter.cs, ecore.cs, constant.cs,
expression.cs: Implemented Add, And, AndAlso, and ArrayIndex (without unary
operator yet).
svn path=/trunk/mcs/; revision=93072
Zoltan Varga [Wed, 16 Jan 2008 17:57:35 +0000 (17:57 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* cpu-x86.md: Fix the length of some load membase opcodes. Fixes #354241.
svn path=/trunk/mono/; revision=93069
Zoltan Varga [Wed, 16 Jan 2008 17:47:25 +0000 (17:47 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* statement.cs: Avoid declaring an IL variable for this_variable since it is
not accessed from the generated IL.
svn path=/trunk/mcs/; revision=93067
Geoff Norton [Wed, 16 Jan 2008 17:30:55 +0000 (17:30 -0000)]
In .:
* ControlHandler.cs: Dont send another invalidate when carbon
already knows that the control is dirty.
2008-01-16 Geoff Norton <gnorton@novell.com>
svn path=/trunk/mcs/; revision=93065
Geoff Norton [Wed, 16 Jan 2008 17:29:01 +0000 (17:29 -0000)]
In .:
2008-01-16 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Avoid some unecessary invalidation calls when
carbon signals us to redraw. Fixes another portion of the flickering bug
svn path=/trunk/mcs/; revision=93064
Wade Berrier [Wed, 16 Jan 2008 17:14:51 +0000 (17:14 -0000)]
2008-01-16 Wade Berrier <wberrier@novell.com>
* security.c: Add assembly.h header to appease some warnings
svn path=/trunk/mono/; revision=93063
Zoltan Varga [Wed, 16 Jan 2008 17:02:59 +0000 (17:02 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h: Add some comments to the MonoLMF structure.
* mini-ops.h cpu-amd64.c: Add a OP_AMD64_SAVE_SP_TO_LMF opcode.
* mini-amd64.c exceptions-amd64.c tramp-amd64.c: Avoid setting the rip field
in the LMF structure if possible. This saves two instructions in the
managed->native wrappers.
svn path=/trunk/mono/; revision=93059
Zoltan Varga [Wed, 16 Jan 2008 15:58:41 +0000 (15:58 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* BinaryReader.cs: Fix ReadCharBytes method to avoid non-linear behavior.
Fixes #352184.
svn path=/trunk/mcs/; revision=93049
Zoltan Varga [Wed, 16 Jan 2008 15:48:56 +0000 (15:48 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* DateTimeOffset.cs: Fix warnings.
svn path=/trunk/mcs/; revision=93048
Dick Porter [Wed, 16 Jan 2008 15:08:23 +0000 (15:08 -0000)]
2008-01-16 Dick Porter <dick@ximian.com>
* threads.c (_wapi_thread_set_termination_details): Move the
thread abandonment to outside the shared handle lock. Fixes bug
349680.
svn path=/trunk/mono/; revision=93046
Marek Safar [Wed, 16 Jan 2008 14:58:17 +0000 (14:58 -0000)]
Newline at end of file
svn path=/trunk/mcs/; revision=93045
Igor Zelmanovich [Wed, 16 Jan 2008 14:46:49 +0000 (14:46 -0000)]
2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
* Wizard.cs:
manage history state on "MovePrevious" action.
svn path=/trunk/mcs/; revision=93044
Dick Porter [Wed, 16 Jan 2008 14:38:32 +0000 (14:38 -0000)]
2008-01-16 Dick Porter <dick@ximian.com>
* versioninfo.c (VerQueryValue): Include trailing null in returned
string length, for MS compatibility.
2008-01-16 Dick Porter <dick@ximian.com>
* process.c (process_module_string_read): Remove trailing null
when saving string.
svn path=/trunk/mono/; revision=93043
Juraj Skripsky [Wed, 16 Jan 2008 14:27:44 +0000 (14:27 -0000)]
2008-01-16 Juraj Skripsky <js@hotfeet.ch>
* HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
invalid Url for referer.
2008-01-16 Juraj Skripsky <js@hotfeet.ch>
* HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().
2008-01-16 Juraj Skripsky <js@hotfeet.ch>
* HttpRequestTest.cs (TestReferer): added test for invalid referer url.
svn path=/trunk/mcs/; revision=93042
Jb Evain [Wed, 16 Jan 2008 14:14:08 +0000 (14:14 -0000)]
2008-01-16 Jb Evain <jbevain@novell.com>
* Expression.cs, ExpressionPrinter.cs: fix call for static methods.
svn path=/trunk/mcs/; revision=93041
Jb Evain [Wed, 16 Jan 2008 14:12:55 +0000 (14:12 -0000)]
2008-01-16 Jb Evain <jbevain@novell.com>
* ExpressionTest_CallWithExpression.cs: test for static method.
svn path=/trunk/mcs/; revision=93040
Zoltan Varga [Wed, 16 Jan 2008 13:48:18 +0000 (13:48 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h *.md: Make some opcodes names uniform by removing the op_ prefix.
svn path=/trunk/mono/; revision=93039
Gert Driesen [Wed, 16 Jan 2008 13:44:10 +0000 (13:44 -0000)]
* TypeTest.cs: Added test for GetConstructor (Type []).
svn path=/trunk/mcs/; revision=93038
Konstantin Triger [Wed, 16 Jan 2008 13:32:41 +0000 (13:32 -0000)]
TARGET_JVM: must clean up form when resetting HttpWorkerRequest
svn path=/trunk/mcs/; revision=93035
Igor Zelmanovich [Wed, 16 Jan 2008 13:32:39 +0000 (13:32 -0000)]
2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
* BulletedList.cs:
resolve BulletImageUrl,
register for event validation.
svn path=/trunk/mcs/; revision=93034
Igor Zelmanovich [Wed, 16 Jan 2008 13:07:34 +0000 (13:07 -0000)]
fixed GenerateScriptTypes feature
consider generics types.
svn path=/trunk/mcs/; revision=93031
Mark Probst [Wed, 16 Jan 2008 10:36:33 +0000 (10:36 -0000)]
2008-01-16 Mark Probst <mark.probst@gmail.com>
* class-internals.h: A new data structure describing the layout of
a runtime generic context (MonoRuntimeGenericContextTemplate).
* metadata-internals.h: Added a hash table to MonoDomain that maps
from open generic classes to their runtime generic context
templates.
* object.c: Building of the runtime generic context, including
proper handling of generic type arguments of superclasses.
Building of the runtime generic context according to the template.
2008-01-16 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: New type argument lookup code which uses the
runtime generic context template.
svn path=/trunk/mono/; revision=93025
Igor Zelmanovich [Wed, 16 Jan 2008 10:25:40 +0000 (10:25 -0000)]
register namespaces for script types if need
svn path=/trunk/mcs/; revision=93024
Everaldo Canuto [Wed, 16 Jan 2008 09:44:43 +0000 (09:44 -0000)]
2008-01-16 Everaldo Canuto <ecanuto@novell.com>
* Form.cs: Prevent the MdiParent property to be set when value is the same
as value already set. Fixes bug #328019.
svn path=/trunk/mcs/; revision=93021