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
Everaldo Canuto [Wed, 16 Jan 2008 09:27:35 +0000 (09:27 -0000)]
2008-01-16 Everaldo Canuto <ecanuto@novell.com>
* Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
it prevents NRE when closing mdi child windows. Fixes bug #325211.
svn path=/trunk/mcs/; revision=93019
Everaldo Canuto [Wed, 16 Jan 2008 09:14:20 +0000 (09:14 -0000)]
2008-01-16 Everaldo Canuto <ecanuto@novell.com>
* InternalWindowManager.cs: Invalidade close button after mouse up when
mdi form is prevented to close.
svn path=/trunk/mcs/; revision=93018
Igor Zelmanovich [Wed, 16 Jan 2008 09:09:27 +0000 (09:09 -0000)]
fixed resolving relative path for services
svn path=/trunk/mcs/; revision=93017
Vladimir Krasnov [Wed, 16 Jan 2008 09:02:04 +0000 (09:02 -0000)]
merge with r91828, fix of 9542
svn path=/trunk/mcs/; revision=93016
Everaldo Canuto [Wed, 16 Jan 2008 09:01:12 +0000 (09:01 -0000)]
2008-01-16 Everaldo Canuto <ecanuto@novell.com>
* MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
thanks to Andy Hume. Fixes bug #325433.
svn path=/trunk/mcs/; revision=93015
Juraj Skripsky [Wed, 16 Jan 2008 07:09:16 +0000 (07:09 -0000)]
2008-01-16 Juraj Skripsky <js@hotfeet.ch>
* CSharpCodeGenerator.cs (GenerateGenericsConstraints): Take
solitary constructor constraints into account. Fixes bug #353921.
svn path=/trunk/mcs/; revision=93014
Veerapuram Varadhan [Wed, 16 Jan 2008 06:08:48 +0000 (06:08 -0000)]
Tests for 2.0 GetDeleteCommand, GetUpdateCommand and GetInsertCommand
APIs
svn path=/trunk/mcs/; revision=93013
Veerapuram Varadhan [Wed, 16 Jan 2008 06:03:17 +0000 (06:03 -0000)]
Missing 2.0 APIs
svn path=/trunk/mcs/; revision=93012
Geoff Norton [Wed, 16 Jan 2008 04:24:06 +0000 (04:24 -0000)]
In .:
2008-01-16 Geoff Norton <gnorton@novell.com>
* KeyboardHandler.cs: Track the control key(s) as well and put them
into KeyboardModifiers as toggled.
* MouseHandler.cs: Support simulating right click on single-button
mouse macintoshs with the standard Control+Click usage pattern.
svn path=/trunk/mcs/; revision=93011
Miguel de Icaza [Wed, 16 Jan 2008 01:31:44 +0000 (01:31 -0000)]
2008-01-15 Miguel de Icaza <miguel@novell.com>
* Expression.cs: Do validation on the method parameters and use
the return type if provided.
svn path=/trunk/mcs/; revision=93010
Geoff Norton [Wed, 16 Jan 2008 00:34:01 +0000 (00:34 -0000)]
In .:
* ControlHandler.cs: Only mark the dirty area as dirty when we are
told to expose by the subsystem.
2008-01-15 Geoff Norton <gnorton@novell.com>
svn path=/trunk/mcs/; revision=93008
Zoltan Varga [Wed, 16 Jan 2008 00:21:09 +0000 (00:21 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* ConfigurationElement.cs: Allow non-public constructors. Fixes #353554.
svn path=/trunk/mcs/; revision=93007
Zoltan Varga [Wed, 16 Jan 2008 00:17:22 +0000 (00:17 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* PropertyInformation.cs: Allow non-public constructors. Fixes #353557.
svn path=/trunk/mcs/; revision=93006
Andreia Gaita [Tue, 15 Jan 2008 23:55:13 +0000 (23:55 -0000)]
* LinkLabel.cs: Reset focused_index when resellecting the control.
Fixes #323190
2008-01-16 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=93001
Zoltan Varga [Tue, 15 Jan 2008 23:47:01 +0000 (23:47 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* ConfigurationElement.cs: Consider non-public properties as well. Fixes
#353553.
svn path=/trunk/mcs/; revision=93000
Geoff Norton [Tue, 15 Jan 2008 23:09:34 +0000 (23:09 -0000)]
In .:
* MouseHandler.cs: Avoid a NRE if we dont know the window the event
came in on.
2008-01-15 Geoff Norton <gnorton@novell.com>
svn path=/trunk/mcs/; revision=92999
Zoltan Varga [Tue, 15 Jan 2008 23:01:05 +0000 (23:01 -0000)]
2008-01-16 Zoltan Varga <vargaz@gmail.com>
* CSharpCodeCompiler.cs: Avoid setting results.CompiledAssembly since it might
be a netmodule. Fixes #353536.
svn path=/trunk/mcs/; revision=92998
Geoff Norton [Tue, 15 Jan 2008 22:46:52 +0000 (22:46 -0000)]
In .:
2008-01-15 Geoff Norton <gnorton@novell.com>
* ApplicationHandler.cs: Fix the Grab declaration.
* MouseHandler.cs: Fix the grab declaration and a minor optimization.
svn path=/trunk/mcs/; revision=92996
Geoff Norton [Tue, 15 Jan 2008 22:45:28 +0000 (22:45 -0000)]
2008-01-15 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
messages.
svn path=/trunk/mcs/; revision=92995
Jb Evain [Tue, 15 Jan 2008 22:13:48 +0000 (22:13 -0000)]
update csproj
svn path=/trunk/mcs/; revision=92994
Andreas Färber [Tue, 15 Jan 2008 22:02:38 +0000 (22:02 -0000)]
2008-01-15 Andreas Faerber <andreas.faerber@web.de>
* configure.ac: Add default G_BREAKPOINT implementation.
Fix typo in breakpoint CPU output.
svn path=/trunk/mono/; revision=92993
Jb Evain [Tue, 15 Jan 2008 21:58:28 +0000 (21:58 -0000)]
add CallWithExpression tests
svn path=/trunk/mcs/; revision=92991
Jb Evain [Tue, 15 Jan 2008 21:57:27 +0000 (21:57 -0000)]
2008-01-15 Jb Evain <jbevain@novell.com>
* ExpressionTest_CallWithExpression.cs: tests
for Call (Expression, ...)
svn path=/trunk/mcs/; revision=92990
Jb Evain [Tue, 15 Jan 2008 21:57:07 +0000 (21:57 -0000)]
2008-01-15 Jb Evain <jbevain@novell.com>
* MethodCallExpression.cs, Expression.cs
ExpressionPrinter.cs: Implement Call (Expression, ...)
svn path=/trunk/mcs/; revision=92989
Jb Evain [Tue, 15 Jan 2008 21:54:44 +0000 (21:54 -0000)]
2008-01-15 Jb Evain <jbevain@novell.com>
* Enumerable.cs: clean the ToReadOnlyCollection extension
method.
svn path=/trunk/mcs/; revision=92988
Zoltan Varga [Tue, 15 Jan 2008 21:44:59 +0000 (21:44 -0000)]
2008-01-15 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_fields): Set field.count for generic instances.
Fixes #350856.
svn path=/trunk/mono/; revision=92987
Jb Evain [Tue, 15 Jan 2008 21:38:15 +0000 (21:38 -0000)]
rename the specialized Call test fixture
svn path=/trunk/mcs/; revision=92984
Zoltan Varga [Tue, 15 Jan 2008 20:13:05 +0000 (20:13 -0000)]
2008-01-15 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Avoid emitting a write barrier when storing NULL.
svn path=/trunk/mono/; revision=92976
Zoltan Varga [Tue, 15 Jan 2008 19:27:08 +0000 (19:27 -0000)]
2008-01-15 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (add_general): Fix arm eabi parameter passing.
(mono_arch_output_basic_block): Fix localloc implementation.
svn path=/trunk/mono/; revision=92974
Gert Driesen [Tue, 15 Jan 2008 17:40:34 +0000 (17:40 -0000)]
* XmlParserContextTests.cs: Added ctor tests.
* System.Xml_test.dll.sources: added XmlParserContextTests.cs.
svn path=/trunk/mcs/; revision=92968
Jonathan Pobst [Tue, 15 Jan 2008 17:35:04 +0000 (17:35 -0000)]
2008-01-15 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
of truncate.
svn path=/trunk/mcs/; revision=92967
Zoltan Varga [Tue, 15 Jan 2008 17:32:10 +0000 (17:32 -0000)]
2008-01-15 Zoltan Varga <vargaz@gmail.com>
* image.c (do_mono_image_open): Pass TRUE as last_exists to
mono_portability_find_file (). Fixes #325466.
(mono_image_get_public_key): Fix a warning.
svn path=/trunk/mono/; revision=92966
Igor Zelmanovich [Tue, 15 Jan 2008 17:04:38 +0000 (17:04 -0000)]
fixed GenerateScriptTypes feature
svn path=/trunk/mcs/; revision=92963
Igor Zelmanovich [Tue, 15 Jan 2008 17:00:48 +0000 (17:00 -0000)]
added TARGET_J2EE ifdef
svn path=/trunk/mcs/; revision=92961
Igor Zelmanovich [Tue, 15 Jan 2008 16:59:37 +0000 (16:59 -0000)]
consider args correctly
svn path=/trunk/mcs/; revision=92960
Jonathan Pobst [Tue, 15 Jan 2008 15:35:29 +0000 (15:35 -0000)]
2008-01-15 Jonathan Pobst <monkey@jpobst.com>
* ContainerControl.cs: Setting AutoScaleMode to anything should set
Form.AutoScale to false.
* Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
AutoScaleBaseSize should be changed on Font change unless it has been
explicitly set.
[Fixes bug #353827]
2008-01-15 Jonathan Pobst <monkey@jpobst.com>
* FormTest.cs: Add test for bug #353827.
svn path=/trunk/mcs/; revision=92958
Everaldo Canuto [Tue, 15 Jan 2008 15:28:54 +0000 (15:28 -0000)]
svn path=/trunk/mcs/; revision=92957
Everaldo Canuto [Tue, 15 Jan 2008 15:20:33 +0000 (15:20 -0000)]
* MenuAPI.cs: On instance of MenuTracker check if source control is
ToolStripOverflow and use properly method to find form.
[Fixes bug #338511]
2008-01-15 Everaldo Canuto <ecanuto@novell.com>
svn path=/trunk/mcs/; revision=92955
Jb Evain [Tue, 15 Jan 2008 14:51:19 +0000 (14:51 -0000)]
add new .ctor
svn path=/trunk/mcs/; revision=92954
Everaldo Canuto [Tue, 15 Jan 2008 14:47:33 +0000 (14:47 -0000)]
2008-01-15 Everaldo Canuto <ecanuto@novell.com>
[Fixes bug #323241 Transparent toolbar support]
* ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
is flat.
* Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
defined in control style to mimic win32 behavior.
* ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
it will be transparent.
svn path=/trunk/mcs/; revision=92953
Jb Evain [Tue, 15 Jan 2008 14:21:58 +0000 (14:21 -0000)]
condition tests passes
svn path=/trunk/mcs/; revision=92952
Jb Evain [Tue, 15 Jan 2008 14:21:33 +0000 (14:21 -0000)]
2008-01-15 Jb Evain <jbevain@novell.com>
* ExpressionTest_Condition.cs: add tests for Expression.Condition.
svn path=/trunk/mcs/; revision=92951
Jb Evain [Tue, 15 Jan 2008 14:20:35 +0000 (14:20 -0000)]
2008-01-15 Jb Evain <jbevain@novell.com>
* Expression.cs, ConditionalExpressionExpression.cs
ExpressionPrinter.cs : implement Expression.Condition.
svn path=/trunk/mcs/; revision=92950
Jb Evain [Tue, 15 Jan 2008 14:00:06 +0000 (14:00 -0000)]
what a wonderful place to use the null coalescing operator
svn path=/trunk/mcs/; revision=92949
Jb Evain [Tue, 15 Jan 2008 13:55:15 +0000 (13:55 -0000)]
2008-01-15 Jb Evain <jbevain@novell.com>
* ExpressionTest.cs: tests for Expression.Parameter
svn path=/trunk/mcs/; revision=92948
Jb Evain [Tue, 15 Jan 2008 13:55:05 +0000 (13:55 -0000)]
2008-01-15 Jb Evain <jbevain@novell.com>
* Expression.cs,
ParameterExpression.cs,
ExpressionPrinter.cs: implement Expression.Parameter
svn path=/trunk/mcs/; revision=92947