mono.git
16 years agoupdate known-issues
Raja R Harinath [Mon, 16 Jul 2007 14:27:53 +0000 (14:27 -0000)]
update known-issues

svn path=/trunk/mcs/; revision=82036

16 years agoFix for compilation in TARGET_JVM
Noam Lampert [Mon, 16 Jul 2007 13:53:05 +0000 (13:53 -0000)]
Fix for compilation in TARGET_JVM

svn path=/trunk/mcs/; revision=82034

16 years agoImplemented SetFocus feature
Igor Zelmanovich [Mon, 16 Jul 2007 13:29:03 +0000 (13:29 -0000)]
Implemented SetFocus feature

svn path=/trunk/mcs/; revision=82032

16 years ago* ListControl.cs: Build fix.
Gert Driesen [Mon, 16 Jul 2007 13:20:11 +0000 (13:20 -0000)]
* ListControl.cs: Build fix.

svn path=/trunk/mcs/; revision=82031

16 years agoupdate known-issues
Raja R Harinath [Mon, 16 Jul 2007 12:42:14 +0000 (12:42 -0000)]
update known-issues

svn path=/trunk/mcs/; revision=82027

16 years ago* ListControl.cs: When changing CurrencyManager, disconnect event
Gert Driesen [Mon, 16 Jul 2007 12:34:40 +0000 (12:34 -0000)]
* ListControl.cs: When changing CurrencyManager, disconnect event
handlers from previous one. Fixes bug #81771. Code formatting.
* ComboBoxTest.cs: Added test for bug #82069.
* ListControlTest.cs: Added tests for bug #81771.

svn path=/trunk/mcs/; revision=82026

16 years ago2007-07-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 16 Jul 2007 11:31:54 +0000 (11:31 -0000)]
2007-07-16  Marek Habersack  <mhabersack@novell.com>

* HtmlHeadBuilder.cs: the <meta> tag should be supported as well.

* HtmlTitle.cs: if the tag has any children, or the render method
delegate has been defined, render the children. Output the
contents of Text otherwise. Fixes bug #82102

svn path=/trunk/mcs/; revision=82025

16 years ago2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 16 Jul 2007 10:24:19 +0000 (10:24 -0000)]
2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>

* AssemblyResourceLoader.cs:
fixed RegEx used for PerformSubstitution feature.

svn path=/trunk/mcs/; revision=82023

16 years ago2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 16 Jul 2007 10:23:09 +0000 (10:23 -0000)]
2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: fixed EnsureID.
ID is not assigned, if already was set.

svn path=/trunk/mcs/; revision=82022

16 years ago* ProfileBase.cs: fixed typo bug in InitProperties
Vladimir Krasnov [Mon, 16 Jul 2007 09:40:23 +0000 (09:40 -0000)]
* ProfileBase.cs: fixed typo bug in InitProperties

svn path=/trunk/mcs/; revision=82021

16 years ago* ProfileGroupSettingsCollection.cs: added ResetInternal internal method
Vladimir Krasnov [Mon, 16 Jul 2007 09:23:00 +0000 (09:23 -0000)]
* ProfileGroupSettingsCollection.cs: added ResetInternal internal method
* RootProfilePropertySettingsCollection.cs: added Reset method override to reset GroupSettings collection

svn path=/trunk/mcs/; revision=82020

16 years ago* ReflectionPropertyDescriptor.cs: For read-only properties,
Gert Driesen [Mon, 16 Jul 2007 07:08:02 +0000 (07:08 -0000)]
* ReflectionPropertyDescriptor.cs: For read-only properties,
ShouldSerializeValue must only take into account the return value
of the ShouldSerialize method. Code formatting.
* PropertyDescriptorTests.cs: Added test for ShouldSerializeValue
behavior with read-only properties.

svn path=/trunk/mcs/; revision=82017

16 years ago* PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
Andreia Gaita [Sun, 15 Jul 2007 20:21:07 +0000 (20:21 -0000)]
* PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
full preview invalidation from layout invalidation, and only invalidate
the layout when setting zoom or other properties. Invalidation should
always be done even when resetting properties with the same values as
what is there. Fixes #81744 and #79830.

2007-07-15  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=82016

16 years ago* HttpWebRequestTest.cs: Remove usage of deprecated Assertion class.
Gert Driesen [Sun, 15 Jul 2007 17:55:12 +0000 (17:55 -0000)]
* HttpWebRequestTest.cs: Remove usage of deprecated Assertion class.
Fixed Sync test.  Fixed InternalServerError to pass on .NET 2.0, and
renumbered tests. Added test for bug #81504.

svn path=/trunk/mcs/; revision=82014

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:54:18 +0000 (14:54 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_FieldInfo_GetTypeModifiers): New icall.

svn path=/trunk/mono/; revision=82013

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:53:38 +0000 (14:53 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().

svn path=/trunk/mcs/; revision=82012

16 years ago2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 15 Jul 2007 14:33:35 +0000 (14:33 -0000)]
2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>

* BaseValidator.cs: for NET_2_0: fixed client side validation.
validation is performed in WebForm_DoPostback,
and there is no need to do it twice in ValidatorOnSubmit.

svn path=/trunk/mcs/; revision=82011

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:22:29 +0000 (14:22 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* MethodInfo.cs: Remove an unneccesary MonoTODO.

svn path=/trunk/mcs/; revision=82010

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:19:57 +0000 (14:19 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Module_ResolveSignature): New icall.

svn path=/trunk/mono/; revision=82009

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:18:42 +0000 (14:18 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* Module.cs: Implement ResolveSignature.

svn path=/trunk/mcs/; revision=82008

16 years agofixed WebForm_DoCallback function signature.
Igor Zelmanovich [Sun, 15 Jul 2007 11:58:46 +0000 (11:58 -0000)]
fixed WebForm_DoCallback function signature.
make it compatible with ClientScriptManager.GetCallbackEventReference
method and MS version.

svn path=/trunk/mcs/; revision=82007

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 11:38:14 +0000 (11:38 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_build_imt_thunk): Remove the non-32bit MonoMethod
assert. Should fix #82103.

svn path=/trunk/mono/; revision=82006

16 years ago2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 15 Jul 2007 10:33:58 +0000 (10:33 -0000)]
2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>

* Calendar.cs: fixed: correct 'id' attribute is rendered.

svn path=/trunk/mcs/; revision=82005

16 years ago * ListView.cs: Implement initial support for Groups. Split some of the
Carlos Alberto Cortez [Sun, 15 Jul 2007 10:06:23 +0000 (10:06 -0000)]
* ListView.cs: Implement initial support for Groups. Split some of the
LayoutIcons code to render a partial list of the items (needed by
items contained in ListViewGroup instances). Let the
ListViewItemsCollection.ListView property be modifiable (needed when
using Groups, too).
* ListViewGroup.cs: Use a Bounds property rather than a Location
one. Also invalidate the bounds when they get changed.
* ThemeWin32Classic.cs: When drawing items, also draw the group header
if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
method as well.

2007-07-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=82004

16 years ago2007-07-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 15 Jul 2007 09:41:13 +0000 (09:41 -0000)]
2007-07-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When space gets pressed and CheckBoxes is true,
don't invoke the Begin and EndUpdate methods. We are generating
a redraw of the entire control without need to do so.

svn path=/trunk/mcs/; revision=82003

16 years ago2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Sat, 14 Jul 2007 23:04:17 +0000 (23:04 -0000)]
2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* WebConnectionStream.cs: implement the CanTimeout for 2.0. Fixes
bug #81504.

svn path=/trunk/mcs/; revision=81997

16 years ago2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Sat, 14 Jul 2007 22:44:21 +0000 (22:44 -0000)]
2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* Process.cs: don't send empty lines that are not in the input. Fixes
bug #79529.

svn path=/trunk/mcs/; revision=81996

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 21:12:54 +0000 (21:12 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken):
Implement generics support.
(ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.

svn path=/trunk/mono/; revision=81992

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 20:34:25 +0000 (20:34 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Add new
type_args and method_args arguments.
(ves_icall_System_Reflection_Module_ResolveMethodToken): Ditto.
(ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
(ves_icall_System_Reflection_Module_ResolveMemberToken): Ditto.

svn path=/trunk/mono/; revision=81991

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 20:33:05 +0000 (20:33 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.

svn path=/trunk/mcs/; revision=81990

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 20:32:19 +0000 (20:32 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* Module.cs: Implement the generic versions of the ResolveXXX methods.

svn path=/trunk/mcs/; revision=81989

16 years agoNot sure why we used a special case here, but this fixes the build
Miguel de Icaza [Sat, 14 Jul 2007 19:15:21 +0000 (19:15 -0000)]
Not sure why we used a special case here, but this fixes the build

svn path=/trunk/mcs/; revision=81987

16 years agoImprove message
Miguel de Icaza [Sat, 14 Jul 2007 17:48:09 +0000 (17:48 -0000)]
Improve message

svn path=/trunk/mono/; revision=81986

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 17:20:38 +0000 (17:20 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.

svn path=/trunk/mcs/; revision=81985

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 16:28:29 +0000 (16:28 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_jit_walk_stack_from_ctx): Use MONO_CONTEXT_GET_SP ()
here too. Fixes #82095.

svn path=/trunk/mono/; revision=81984

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 14:56:21 +0000 (14:56 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_build_imt_thunk): Add support for non-32bit MonoMethod
addresses.

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Add a couple asserts.

* mini-amd64.h: Enable IMT for amd64.

svn path=/trunk/mono/; revision=81981

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 14:13:39 +0000 (14:13 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_build_imt_thunk): Optimize IMT thunk size.

svn path=/trunk/mono/; revision=81980

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 14:04:54 +0000 (14:04 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h: Remove some unused rex prefixes.

svn path=/trunk/mono/; revision=81979

16 years ago* TypeBuilderTest.cs: Modified enum tests to use already constructed
Gert Driesen [Sat, 14 Jul 2007 13:54:04 +0000 (13:54 -0000)]
* TypeBuilderTest.cs: Modified enum tests to use already constructed
AssemblyBuilder and ModuleBuilder. Fixed some compiler warnings.
Removed duplicate test for bug #82018. Added some IsCreated tests after
TypeLoadException, but comment them out for now (see bug #82101).

svn path=/trunk/mcs/; revision=81978

16 years ago* default.build: Fix relative path to key. Avoid use of ugly foreach
Gert Driesen [Sat, 14 Jul 2007 08:42:41 +0000 (08:42 -0000)]
* default.build: Fix relative path to key. Avoid use of ugly foreach
contruct. Spaces to tabs.
* Mono.Cecil.csproj: Fix relative path to key.
* standalone.make: Fix relative path to key and config.make.

svn path=/trunk/mcs/; revision=81976

16 years ago2007-07-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 13 Jul 2007 22:46:06 +0000 (22:46 -0000)]
2007-07-13  Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c: patch from Thong Nguyen to fix atribute resolution.
  It adds a rootimage parameter to mono_reflection_get_type_internal,
  adds new function mono_reflection_get_type_with_rootimage and use
  the rootimage to resolve the types instead of the current image

svn path=/trunk/mono/; revision=81969

16 years agoEnabled Miguel's failing test
Marek Safar [Fri, 13 Jul 2007 19:30:52 +0000 (19:30 -0000)]
Enabled Miguel's failing test

svn path=/trunk/mcs/; revision=81966

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 19:26:34 +0000 (19:26 -0000)]
New test.

svn path=/trunk/mcs/; revision=81965

16 years agoNew tests.
Marek Safar [Fri, 13 Jul 2007 19:26:15 +0000 (19:26 -0000)]
New tests.

svn path=/trunk/mcs/; revision=81964

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 19:25:37 +0000 (19:25 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81917
* attribute.cs (AttributeTester.GetFixedBuffer): More robust testing.

* class.cs (FixedField): Check whether field is in unsafe scope.

* ecore.cs (FieldExpr.DoResolve): Create fixed buffer expression here.
(FieldExpr.Emit): Fixed buffers cannot be volatile.

* expression.cs (ElementAccess.Resolve): Move fixed buffers resolve to
FieldExpr.

* statement.cs (Fixed.Resolve): Simplified fixed buffers.

svn path=/trunk/mcs/; revision=81963

16 years ago2007-07-13 William Holmes <billholmes54@gmail.com>
Andreia Gaita [Fri, 13 Jul 2007 18:09:37 +0000 (18:09 -0000)]
2007-07-13 William Holmes <billholmes54@gmail.com>

* Control.cs: Changing logic in FindFlatForward and
  FindFlatBackward to handle multiple Controls with
  the same TabIndex.
  This fixes bug 81687.

svn path=/trunk/mcs/; revision=81957

16 years ago2007-07-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 16:59:59 +0000 (16:59 -0000)]
2007-07-13  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* culture-info-table.h: Forgot to update after r78304.

svn path=/trunk/mono/; revision=81954

16 years agoAdd missing test
Miguel de Icaza [Fri, 13 Jul 2007 16:16:24 +0000 (16:16 -0000)]
Add missing test

svn path=/trunk/mcs/; revision=81953

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 14:56:04 +0000 (14:56 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, class.cs, decl.cs, driver.cs, namespace.cs,
rootcontext.cs, expression.cs, statement.cs: Updated to use WarningLevel
from Report class.

svn path=/trunk/mcs/; revision=81952

16 years agoMessage updated
Marek Safar [Fri, 13 Jul 2007 14:14:18 +0000 (14:14 -0000)]
Message updated

svn path=/trunk/mcs/; revision=81947

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 14:13:06 +0000 (14:13 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (FieldExpr.AddressOf): Less confusing warning message.

svn path=/trunk/mcs/; revision=81946

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 13:49:48 +0000 (13:49 -0000)]
New test.

svn path=/trunk/mcs/; revision=81945

16 years ago2007-07-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 13 Jul 2007 13:48:47 +0000 (13:48 -0000)]
2007-07-13  Jonathan Pobst  <monkey@jpobst.com>

* OSFeature.cs: Enable IsPresent.

svn path=/trunk/mcs/; revision=81944

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 13:43:14 +0000 (13:43 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (AnonymousMethodExpression): Parameters are r/o.
(AnonymousContainer.ResolveNoDefine): Another ec to aec flag conversion.

* codegen.cs(EmitContext): Add ProbingMode flag.

* delegate.cs (DelegateInvocation): Set few instance variables as r/o.

* driver.cs: For now set both warning values.

* ecore.cs (SimpleName): Name is readonly.
(MethodGroup.OverloadResolve): One quick path for probing.

* expression.cs (Unary): Set Oper r/o.
(Binary): Set Oper r/o.
(ParameterReference): Set few instance variables as r/o.
(ParameterReference.DoResolveBase): Don't capture aruments when
the probing is on.
(Invocation.CloneTo): Fixed typo, looks easy, yeah.
(Arglist): arguments are private.
(SizeOf): type is private and r/o.
(MemberAccess): arguments are private.

* report.cs: Enhanced reporting on/off capabilities.

* lambda.cs: Uses ec.IsInProbingMode.
(ContextualReturn): Derives from return.

* rootcontext.cs: For now set both warning values.

* statement.cs (CloneContext.RemapBlockCopy): Remaps block to cloned
copy if one exists.
(Return.Resolve): Don't die immediately.
(Block.Resolve): Speed-up probing.
(Block.CloneTo): Clone only child blocks.

svn path=/trunk/mcs/; revision=81943

16 years agoTest based on #82064 (Miguel's commit)
Marek Safar [Fri, 13 Jul 2007 13:08:28 +0000 (13:08 -0000)]
Test based on #82064 (Miguel's commit)

svn path=/trunk/mcs/; revision=81942

16 years ago* class.c (mono_class_is_open_constructed_type)
Raja R Harinath [Fri, 13 Jul 2007 12:57:32 +0000 (12:57 -0000)]
* class.c (mono_class_is_open_constructed_type)
<MONO_TYPE_GENERICINST>: Don't recompute a computed field.

svn path=/trunk/mono/; revision=81941

16 years agoUpdate expected error message (sic)
Raja R Harinath [Fri, 13 Jul 2007 12:33:24 +0000 (12:33 -0000)]
Update expected error message (sic)

svn path=/trunk/mcs/; revision=81940

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 12:20:49 +0000 (12:20 -0000)]
New test.

svn path=/trunk/mcs/; revision=81939

16 years ago* Control.cs: Don't do anything in WmShowWindow if the control has been
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 11:51:54 +0000 (11:51 -0000)]
* Control.cs: Don't do anything in WmShowWindow if the control has been
  disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  control is created, put on a form, the control is disposed (the
  form is never shown), and then we get a MapNotify, triggering a
  WM_SHOWWINDOW.
* Form.cs: Exclude the current form when sending Deactivate to all
  MdiChildren.
* NativeWindow.cs: Set WindowCreating to null as soon as possible,
  there was a race condition because assigning the handle raises
  events, we can get more messages, therefore trying to assign the
  handle again, which would fail if any of those event handlers
  closed/disposed the control.

svn path=/trunk/mcs/; revision=81938

16 years agoFri Jul 13 12:46:15 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 13 Jul 2007 10:34:43 +0000 (10:34 -0000)]
Fri Jul 13 12:46:15 CEST 2007 Paolo Molaro <lupus@ximian.com>

* handles-private.h, handles.c, thread-private.h, threads.c,
uglify.h, wait.c: temporarily revert the alertable wait changes
(r79386) until the deadlock issues are fixed.

svn path=/trunk/mono/; revision=81937

16 years agore-styled
Marek Safar [Fri, 13 Jul 2007 10:28:17 +0000 (10:28 -0000)]
re-styled

svn path=/trunk/mcs/; revision=81936

16 years agoRevert some Miguel's weirdness
Marek Safar [Fri, 13 Jul 2007 10:24:52 +0000 (10:24 -0000)]
Revert some Miguel's weirdness

svn path=/trunk/mcs/; revision=81935

16 years agoIf a test doesn't finish in 2 minutes, consider it faulty.
Paolo Molaro [Fri, 13 Jul 2007 10:00:30 +0000 (10:00 -0000)]
If a test doesn't finish in 2 minutes, consider it faulty.

svn path=/trunk/mono/; revision=81933

16 years ago* Form.cs: Make the fix for #80775 windows-only (fixes #81957).
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 09:16:14 +0000 (09:16 -0000)]
* Form.cs: Make the fix for #80775 windows-only (fixes #81957).

svn path=/trunk/mcs/; revision=81932

16 years agoFri Jul 13 11:19:28 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 13 Jul 2007 09:06:35 +0000 (09:06 -0000)]
Fri Jul 13 11:19:28 CEST 2007 Paolo Molaro <lupus@ximian.com>

* iterators.cs: reverted Miguel's latest change (r81925) as it
breaks the build in System.

svn path=/trunk/mcs/; revision=81931

16 years agoAdd new test csae for bug 82080
Miguel de Icaza [Fri, 13 Jul 2007 06:16:38 +0000 (06:16 -0000)]
Add new test csae for bug 82080

svn path=/trunk/mcs/; revision=81926

16 years ago2007-07-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 13 Jul 2007 06:16:11 +0000 (06:16 -0000)]
2007-07-13  Miguel de Icaza  <miguel@novell.com>

* iterators.cs (Yield.CheckContext): Check for the iterator type
also here as we can call into Yield even in codepaths that are not
directly checked by
(MethodOrOperator is the only path that was checked).

In addition to the standard check, use a more specific check for
constructors to report a more verbose error.

svn path=/trunk/mcs/; revision=81925

16 years ago* PropertyDescriptorTests.cs: Added tests for Igor's fixes for
Gert Driesen [Fri, 13 Jul 2007 03:11:17 +0000 (03:11 -0000)]
* PropertyDescriptorTests.cs: Added tests for Igor's fixes for
ShouldSerializeValue.

svn path=/trunk/mcs/; revision=81919

16 years ago2007-07-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 12 Jul 2007 23:25:39 +0000 (23:25 -0000)]
2007-07-12  Miguel de Icaza  <miguel@novell.com>

* ecore.cs (FieldExpr.AddressOf): Do not stop processing here,
report the warning and continue

svn path=/trunk/mcs/; revision=81916

16 years ago2007-07-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 12 Jul 2007 22:54:01 +0000 (22:54 -0000)]
2007-07-12  Miguel de Icaza  <miguel@novell.com>

* statement.cs (Using.EmitLocalVariableDecls): We were leaving
values on the stack on the call to Emit.   Use EmitStatement if
possible, or using Emit + Pop if not possible.   Fixes #82064

svn path=/trunk/mcs/; revision=81913

16 years agomove old Makefile to standalone.make
Jb Evain [Thu, 12 Jul 2007 22:48:24 +0000 (22:48 -0000)]
move old Makefile to standalone.make

svn path=/trunk/mcs/; revision=81912

16 years agoMove
Miguel de Icaza [Thu, 12 Jul 2007 22:28:49 +0000 (22:28 -0000)]
Move

svn path=/trunk/mcs/; revision=81911

16 years agoUse 8-space tabs, aligns
Miguel de Icaza [Thu, 12 Jul 2007 21:34:56 +0000 (21:34 -0000)]
Use 8-space tabs, aligns

svn path=/trunk/mono/; revision=81908

16 years ago2007-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 12 Jul 2007 21:13:39 +0000 (21:13 -0000)]
2007-07-12  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_bounded_array_class_get):  method fails if used with
an incomplete TypeBuilder enum (no basetype field), fixed it by
avoiding calculating the size for such array as it cannot be instantiated.
Fix bug #82015

svn path=/trunk/mono/; revision=81905

16 years ago2007-07-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 12 Jul 2007 20:57:20 +0000 (20:57 -0000)]
2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
XplatUIWin32.cs: Implement SystemInformation 2.0 properties.

svn path=/trunk/mcs/; revision=81902

16 years ago2007-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 12 Jul 2007 20:17:32 +0000 (20:17 -0000)]
2007-07-12  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Added test for MakeArrayType with incomplete enum type. Related to bug #82015

svn path=/trunk/mcs/; revision=81900

16 years ago2007-07-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 12 Jul 2007 18:04:35 +0000 (18:04 -0000)]
2007-07-12  Geoff Norton  <gnorton@customerdna.com>

    * HttpListenerContext.cs:
    * HttpListener.cs: Handle HttpListener AuthenticationSchemes
    Only Basic authentication is included for now.

svn path=/trunk/mcs/; revision=81889

16 years ago* CollectionEditor.cs: Implement CreateInstance for 1.1 profile (patch
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:25:18 +0000 (16:25 -0000)]
* CollectionEditor.cs: Implement CreateInstance for 1.1 profile (patch
  by Andreas Nahr).

svn path=/trunk/mcs/; revision=81881

16 years ago* PropertyDescriptorTests.cs: Added GetEditorTest.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:13:29 +0000 (16:13 -0000)]
* PropertyDescriptorTests.cs: Added GetEditorTest.

svn path=/trunk/mcs/; revision=81880

16 years ago* PropertyDescriptor.cs: GetEditor: We have to check the property
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:11:26 +0000 (16:11 -0000)]
* PropertyDescriptor.cs: GetEditor: We have to check the property
  itself for attributes as well, not only the property type.
* TypeDescriptor.cs: Make a couple of methods internal so that
  PropertyDescriptor can use them.

svn path=/trunk/mcs/; revision=81879

16 years ago* TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 15:34:17 +0000 (15:34 -0000)]
* TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
  editors basetype is called, since that's where we're initializing
  the editor table.

svn path=/trunk/mcs/; revision=81876

16 years ago* DateTimePicker.cs: If there's no part format specifier, return an
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 14:31:35 +0000 (14:31 -0000)]
* DateTimePicker.cs: If there's no part format specifier, return an
  empty string.

svn path=/trunk/mcs/; revision=81874

16 years ago* class-internals.h (_MonoGenericInst::is_reference): Remove bogus field.
Raja R Harinath [Thu, 12 Jul 2007 14:21:40 +0000 (14:21 -0000)]
* class-internals.h (_MonoGenericInst::is_reference): Remove bogus field.
* metadata.c, reflection.c: Update to changes.

svn path=/trunk/mono/; revision=81873

16 years agoFix my ChangeLog entry.
Jonathan Pobst [Thu, 12 Jul 2007 13:52:47 +0000 (13:52 -0000)]
Fix my ChangeLog entry.

svn path=/trunk/mcs/; revision=81872

16 years ago2007-07-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 12 Jul 2007 13:50:03 +0000 (13:50 -0000)]
2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* FlatButtonAppearance.cs: Throw NotSupportedException for a
Transparent BorderColor.

2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* ButtonPainter.cs: For Flat button, if BorderSize is 0, don't
draw the rectangle.  Setting the pen's width to 1 isn't good
enough, it still draws the border.  [Fixes bug #82081]

2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* ButtonTest.cs: Add test showing a NSE if Flat BorderSize is 0.

svn path=/trunk/mcs/; revision=81871

16 years ago* expression.cs (Invocation.IsApplicable): Reorganize slightly to
Raja R Harinath [Thu, 12 Jul 2007 13:22:35 +0000 (13:22 -0000)]
* expression.cs (Invocation.IsApplicable): Reorganize slightly to
avoid try...finally in some cases.

svn path=/trunk/mcs/; revision=81870

16 years ago2007-07-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Jul 2007 13:18:35 +0000 (13:18 -0000)]
2007-07-12  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Add support for IMT call sequences.

svn path=/trunk/mono/; revision=81869

16 years ago* build-csproj2k5-tests: Remove warnings.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 13:11:15 +0000 (13:11 -0000)]
* build-csproj2k5-tests: Remove warnings.
* SWF2k5.csproj, SWF2k5-tests.csproj: Updated.
* build-csproj2k5: Ignore obsolete warnings in VS as well.

svn path=/trunk/mcs/; revision=81868

16 years ago* Makefile: Ignore obsolete warnings.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:52:50 +0000 (12:52 -0000)]
* Makefile: Ignore obsolete warnings.

svn path=/trunk/mcs/; revision=81867

16 years ago* RTF.cs: Remove warning.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:49:51 +0000 (12:49 -0000)]
* RTF.cs: Remove warning.

svn path=/trunk/mcs/; revision=81866

16 years ago* DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:49:35 +0000 (12:49 -0000)]
* DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  Remove warnings.
* X11Structs.cs: Remove warnings, add ToString implementations.

svn path=/trunk/mcs/; revision=81865

16 years ago2007-07-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 12 Jul 2007 12:09:08 +0000 (12:09 -0000)]
2007-07-12  Marek Habersack  <mhabersack@novell.com>

* HostingEnvironment.cs: allow relative paths to be
passed. Matches both MSDN and the MS.NET behavior. Fixes bug
#82061.

svn path=/trunk/mcs/; revision=81864

16 years ago2007-07-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 12 Jul 2007 11:56:21 +0000 (11:56 -0000)]
2007-07-12  Mark Probst  <mark.probst@gmail.com>

* mini.c (check_linkdemand, mono_method_to_ir): Abort compilation
as soon as check_linkdemand sets an exception_type.

svn path=/trunk/mono/; revision=81862

16 years agoThu Jul 12 12:18:22 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 12 Jul 2007 10:05:16 +0000 (10:05 -0000)]
Thu Jul 12 12:18:22 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: fixed offsets for IMT call sequence.
* mini-x86.h: enable IMT again.

svn path=/trunk/mono/; revision=81859

16 years ago* ClientScriptManager.cs: refactored event validation data structure
Vladimir Krasnov [Thu, 12 Jul 2007 09:26:28 +0000 (09:26 -0000)]
* ClientScriptManager.cs: refactored event validation data structure
* Page.cs: fixed InternalProcessRequest, event validation list should be cleared before render

svn path=/trunk/mcs/; revision=81858

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 09:23:36 +0000 (09:23 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial4

svn path=/trunk/mcs/; revision=81857

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:54:30 +0000 (08:54 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial3

svn path=/trunk/mcs/; revision=81855

16 years agoHttpResponseStream.jvm.cs: typo bug fixed
Vladimir Krasnov [Thu, 12 Jul 2007 08:52:07 +0000 (08:52 -0000)]
HttpResponseStream.jvm.cs: typo bug fixed

svn path=/trunk/mcs/; revision=81854

16 years ago2007-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 12 Jul 2007 08:31:57 +0000 (08:31 -0000)]
2007-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriter.cs : in WriteNode(XPathNavigator,bool), default namespace
  is broken. Fixed bug #82051.

* XmlWriterTests.cs : added test for bug #82051.

svn path=/trunk/mcs/; revision=81852

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:25:32 +0000 (08:25 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial2

svn path=/trunk/mcs/; revision=81851