Jonathan Chambers [Tue, 13 Mar 2007 20:00:05 +0000 (20:00 -0000)]
2007-03-13 Jonathan Chambers <joncham@gmail.com>
* *.vcproj: Move to msvc directory.
* *.bat: Move to msvc directory.
* libgc/misc.c: Use correct string type for GetModuleHandle.
svn path=/trunk/mono/; revision=74203
Marek Habersack [Tue, 13 Mar 2007 19:53:04 +0000 (19:53 -0000)]
2007-03-13 Marek Habersack <mhabersack@novell.com>
* AspParser.cs: fix an off-by-one parsing bug with server-side
includes.
svn path=/trunk/mcs/; revision=74202
Carlos Alberto Cortez [Tue, 13 Mar 2007 19:51:32 +0000 (19:51 -0000)]
2007-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Implement ItemChecked 2.0 event. Also cast to
the correct handler in OnItemCheck method (ItemCheckEventHandler
instead of EventHandler). This used to throw an InvalidCastException.
svn path=/trunk/mcs/; revision=74201
Jackson Harper [Tue, 13 Mar 2007 19:49:38 +0000 (19:49 -0000)]
* TextBoxBase.cs: Calculate the document before the handle is
created, so there isn't an extra invalidate called.
svn path=/trunk/mcs/; revision=74200
Alp Toker [Tue, 13 Mar 2007 18:59:08 +0000 (18:59 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* TypeTest.cs: Add a regression test for #63841.
svn path=/trunk/mcs/; revision=74195
Alp Toker [Tue, 13 Mar 2007 18:56:25 +0000 (18:56 -0000)]
Revert r74157 -- should not have been a compiler test
svn path=/trunk/mcs/; revision=74194
Jonathan Chambers [Tue, 13 Mar 2007 18:08:42 +0000 (18:08 -0000)]
2007-03-13 Jonathan Chambers <joncham@gmail.com>
*.vcproj: Fix Release build target, add define to remove CRT warnings,
structure output folders a bit better, begin WIN64 port.
*.bat: Use output from current VS target for executable.
* icall.c: Fix environ access on windows.
* gc.h: Fix Win64 typedef.
svn path=/trunk/mono/; revision=74191
Alp Toker [Tue, 13 Mar 2007 16:56:58 +0000 (16:56 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* cilc.exe.sources:
* cilc.cs:
* CodeWriter.cs: Split out CodeWriter class.
svn path=/trunk/mcs/; revision=74189
Alp Toker [Tue, 13 Mar 2007 16:52:28 +0000 (16:52 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* cilc.cs: Use String.Empty.
svn path=/trunk/mcs/; revision=74187
Yaacov Akiba Slama [Tue, 13 Mar 2007 16:48:49 +0000 (16:48 -0000)]
*.class is forbidden
svn path=/trunk/mono/; revision=74185
Jonathan Pobst [Tue, 13 Mar 2007 14:33:59 +0000 (14:33 -0000)]
2007-03-13 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't set owner in ShowDialog until we are sure
that we aren't going to throw an exception. [Fixes bug #80773]
2007-03-13 Jonathan Pobst <monkey@jpobst.com>
* FormTest.cs: Add test for bug #80773.
svn path=/trunk/mcs/; revision=74172
Marek Habersack [Tue, 13 Mar 2007 14:31:46 +0000 (14:31 -0000)]
* PageThemeCompiler.cs: let property builders through, stop the
builders that have no control type. Fixes bug #81092
* TemplateControlCompiler.cs:
Make sure builders are in valid state before trying to use them.
svn path=/trunk/mcs/; revision=74171
Martin Baulig [Tue, 13 Mar 2007 14:10:12 +0000 (14:10 -0000)]
Ooops, that was the old version of my patch.
svn path=/trunk/mcs/; revision=74169
Martin Baulig [Tue, 13 Mar 2007 13:28:28 +0000 (13:28 -0000)]
2007-03-09 Martin Baulig <martin@ximian.com>
* enum.cs (Enum): Make this a TypeContainer.
(EnumMember): Derive from `Const'.
* const.cs
(Const.DoResolveValue): New protected virtual method; move most of
the functionality of ResolveValue() here so we can override it in
`EnumMember'.
(Const.CreateConstantReference): Make this virtual.
* class.cs (Kind): Add `Kind.Enum'.
(TypeContainer.Emit): Don't emit the enums here; they're already
in the `RootContext.typecontainer_resolve_order'.
* rootcontext.cs (RootContext.EmitCode): Don't emit the enums
here; they're already in the `typecontainer_resolve_order'.
* ecore.cs (EnumConstant.ConvertImplicitly): Add
TypeManager.DropGenericTypeArguments().
* typemanager.cs
(TypeManager.CSharpEnumValue): Add DropGenericTypeArguments().
(TypeManager.IsEnumType): Likewise.
(TypeManager.EnumToUnderlying): Likewise.
(TypeManager.IsEqual): Add support for enums.
svn path=/trunk/mcs/; revision=74168
Marek Habersack [Tue, 13 Mar 2007 13:11:04 +0000 (13:11 -0000)]
2007-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: name generated classes the same way MS.NET
does - include the app-relative path to the control/page in the
class name.
* PageCompiler.cs: interfaces are to be implemented by the parent
partial class, not the generated one.
* TemplateControlCompiler.cs:
Put field declarations for controls in the partial class.
* BaseCompiler.cs:
Change the generated code model for pages/controls to comply with
the way MS.NET does (partial class contains only two properties
plus declarations of all the controls, the actual control/page
class inherits from the partial class). Fixes bug #81001.
svn path=/trunk/mcs/; revision=74167
Konstantin Triger [Tue, 13 Mar 2007 10:49:22 +0000 (10:49 -0000)]
align with recent changes
svn path=/trunk/mcs/; revision=74161
Adar Wesley [Tue, 13 Mar 2007 09:58:40 +0000 (09:58 -0000)]
2007-03-13 Adar Wesley <adarw@mainsoft.com>
* Page.cs: improved Async Page implementation.
svn path=/trunk/mcs/; revision=74160
Marek Habersack [Tue, 13 Mar 2007 09:56:36 +0000 (09:56 -0000)]
2007-03-13 Marek Habersack <mhabersack@novell.com>
* AppResourceFilesCollection.cs: added separate constructor for
local resources handling.
* TemplateControlCompiler.cs: request the local resource object
with proper virtual path.
* BaseCompiler.cs: added code to assing AppRelativeVirtualPath
property in the page/control constructor.
* AppResourcesCompiler.cs: does not require specifying manually
whether it's a global or local resource compiler anymore. New
constructors take care of that.
Changed to compile local resources on demand, when a control/page
is parsed.
2007-03-13 Marek Habersack <mhabersack@novell.com>
* AppResourceFilesCollection.cs: added separate constructor for
local resources handling.
* TemplateControlCompiler.cs: request the local resource object
with proper virtual path.
* BaseCompiler.cs: added code to assing AppRelativeVirtualPath
property in the page/control constructor.
* AppResourcesCompiler.cs: does not require specifying manually
whether it's a global or local resource compiler anymore. New
constructors take care of that.
Changed to compile local resources on demand, when a control/page
is parsed.
2007-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
#80634.
svn path=/trunk/mcs/; revision=74159
Igor Zelmanovich [Tue, 13 Mar 2007 08:42:46 +0000 (08:42 -0000)]
2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
* HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
'<' char must be encoded.
svn path=/trunk/mcs/; revision=74158
Alp Toker [Tue, 13 Mar 2007 05:46:50 +0000 (05:46 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* test-567.cs: New test based on #63841.
svn path=/trunk/mcs/; revision=74157
Alp Toker [Tue, 13 Mar 2007 05:46:40 +0000 (05:46 -0000)]
2007-03-13 Alp Toker <alp@atoker.com>
* icall.c (ves_icall_MonoType_GetElementType): For enums, return null
rather than the underlying type. Based on a patch by Ben Maurer. Fixes
#63841.
svn path=/trunk/mono/; revision=74156
George Giolfan [Mon, 12 Mar 2007 23:00:20 +0000 (23:00 -0000)]
2007-03-12 George Giolfan <georgegiolfan@yahoo.com>
* TreeView.cs: Make it compile.
svn path=/trunk/mcs/; revision=74153
Jonathan Pobst [Mon, 12 Mar 2007 22:16:35 +0000 (22:16 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Another place we don't call SizeFromClientSize.
* Form.cs: Another place we don't call SizeFromClientSize.
[Fixes bug #81125]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add test for bug #81125.
svn path=/trunk/mcs/; revision=74152
Jackson Harper [Mon, 12 Mar 2007 22:14:09 +0000 (22:14 -0000)]
* TreeNode.cs: We need to start nodes with a zero visible order,
because the order calcs are based on the first nodes order.
svn path=/trunk/mcs/; revision=74151
Jackson Harper [Mon, 12 Mar 2007 22:09:39 +0000 (22:09 -0000)]
- oops made scrolling backwards.
svn path=/trunk/mcs/; revision=74150
Miguel de Icaza [Mon, 12 Mar 2007 21:43:56 +0000 (21:43 -0000)]
2007-03-12 Frederik Carlier <frederik.carlier@ugent.be>
* ResXFileRef.cs: Add support for byte[] types.
Fixes 81122
svn path=/trunk/mcs/; revision=74148
Jackson Harper [Mon, 12 Mar 2007 21:21:44 +0000 (21:21 -0000)]
* TreeView.cs: Basically emulating some strangness here with
exanding nodes and setting node positions when windows aren't
created.
- Also attempting to walk the node tree less than previously,
and
just use visible order calculations for determining offsets.
svn path=/trunk/mcs/; revision=74146
Jonathan Pobst [Mon, 12 Mar 2007 21:09:50 +0000 (21:09 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't exit the program if RecreateHandle is called on
the main form.
svn path=/trunk/mcs/; revision=74144
Jonathan Pobst [Mon, 12 Mar 2007 21:00:31 +0000 (21:00 -0000)]
Revert r74140. Apparently the RecreateHandle is for proper behavior in X. Will fix another way.
svn path=/trunk/mcs/; revision=74143
Chris Toshok [Mon, 12 Mar 2007 20:56:07 +0000 (20:56 -0000)]
enable this test. works now.
svn path=/trunk/mcs/; revision=74142
Chris Toshok [Mon, 12 Mar 2007 20:40:40 +0000 (20:40 -0000)]
2007-03-12 Chris Toshok <toshok@ximian.com>
* XEventQueue.cs: remove the use of PostQuitState.
* XplatUIX11.cs: remove the use of PostQuitState. If we get a
WM_QUIT message in GetMessage, return false (and if we're in the
nested WaitForHwndMessage, repost the WM_QUIT message).
svn path=/trunk/mcs/; revision=74141
Jonathan Pobst [Mon, 12 Mar 2007 20:19:45 +0000 (20:19 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't call RecreateHandle when we change the MinimizeBox
or the MaximizeBox properties. [Part of bug #80640]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* FormTest.cs: Add a test showing we do not recreate the handle when
MinimizeBox or MaximizeBox is changed. [Part of bug #80640]
svn path=/trunk/mcs/; revision=74140
Chris Toshok [Mon, 12 Mar 2007 20:09:19 +0000 (20:09 -0000)]
add test to confirm behavior of Control.SetVisibleCore, and remove some redundant tests which are covered by ControlHandleTest
svn path=/trunk/mcs/; revision=74139
Everaldo Canuto [Mon, 12 Mar 2007 18:57:21 +0000 (18:57 -0000)]
2007-03-12 Everaldo Canuto <everaldo@simios.org>
* LinkLabel.cs: When calculate pieces make LinkArea empty if theres
no links.
svn path=/trunk/mcs/; revision=74136
Jonathan Pobst [Mon, 12 Mar 2007 18:45:12 +0000 (18:45 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: Fix some tests I broke by checking Visible
instead of visible.
svn path=/trunk/mcs/; revision=74135
Gert Driesen [Mon, 12 Mar 2007 18:34:48 +0000 (18:34 -0000)]
* FileDialog.cs: Use text of File name combobox to determine what
files the user selected. Added tokenizer to parse the file names.
Fixes bug #81123.
svn path=/trunk/mcs/; revision=74134
Jonathan Pobst [Mon, 12 Mar 2007 16:25:57 +0000 (16:25 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add test for bug #80621.
svn path=/trunk/mcs/; revision=74131
Noam Lampert [Mon, 12 Mar 2007 16:22:41 +0000 (16:22 -0000)]
small bug fixes
svn path=/trunk/mcs/; revision=74130
Jonathan Pobst [Mon, 12 Mar 2007 16:10:03 +0000 (16:10 -0000)]
2007-03-12 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: We can't call SizeFromClientSize in the constructor,
but we still need to do the same work, so make an internal version.
[Fixes bug #80621]
svn path=/trunk/mcs/; revision=74129
Paolo Molaro [Mon, 12 Mar 2007 16:07:56 +0000 (16:07 -0000)]
Mon Mar 12 17:07:32 CET 2007 Paolo Molaro <lupus@ximian.com>
* amd64/amd64-codegen.h: removed some useless size rex prefixes.
svn path=/trunk/mono/; revision=74128
Ilya Kharmatsky [Mon, 12 Mar 2007 14:44:08 +0000 (14:44 -0000)]
TD Bug fix: 7489 - the application should not throw an exception even if the configuration doesn't contain definition of JNDI entry for groups namespace.
svn path=/trunk/mcs/; revision=74127
Konstantin Triger [Mon, 12 Mar 2007 14:28:44 +0000 (14:28 -0000)]
remove TARGET_JVM define
svn path=/trunk/mcs/; revision=74126
Konstantin Triger [Mon, 12 Mar 2007 14:26:15 +0000 (14:26 -0000)]
TARGET_J2EE: Add stub for BuildManager
svn path=/trunk/mcs/; revision=74125
Raja R Harinath [Mon, 12 Mar 2007 13:31:45 +0000 (13:31 -0000)]
In corlib/System.Runtime.InteropServices:
* DefaultParameterValueAttribute.cs: Move to System.dll.
In System/System.Runtime.InteropServices:
* StandardOleMarshalObject.cs: New .net2.0 class.
* DefaultParameterValueAttribute.cs: Move here from corlib.
svn path=/trunk/mcs/; revision=74124
Zoltan Varga [Mon, 12 Mar 2007 12:58:31 +0000 (12:58 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* DynamicMethodTest.cs: Add a test for circular references.
svn path=/trunk/mcs/; revision=74122
Raja R Harinath [Mon, 12 Mar 2007 12:46:42 +0000 (12:46 -0000)]
* typemanager.cs (InitCoreTypes) [NET_2_0]: Allow
DefaultParameterValueAttribute to be undefined, say if System.dll
is not referenced.
(prepare to move DefaultParameterValueAttribute to System.dll)
svn path=/trunk/mcs/; revision=74121
Zoltan Varga [Mon, 12 Mar 2007 12:38:14 +0000 (12:38 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_create_dynamic_method): Add support for
circular references among dynamic methods. Fixes #81091.
svn path=/trunk/mono/; revision=74120
Zoltan Varga [Mon, 12 Mar 2007 12:37:13 +0000 (12:37 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* object-internals.h (MonoReflectionDynamicMethod): Add 'referenced_by' field.
svn path=/trunk/mono/; revision=74119
Zoltan Varga [Mon, 12 Mar 2007 12:36:32 +0000 (12:36 -0000)]
2007-03-12 Zoltan Varga <vargaz@gmail.com>
* DynamicMethod.cs: Add a field used by unmanaged code.
svn path=/trunk/mcs/; revision=74118
Vladimir Krasnov [Mon, 12 Mar 2007 12:34:09 +0000 (12:34 -0000)]
* CapabilitiesLoader.cs: added TARGET_JVM part of static members, added caching to GetCapabilities method for performance improvement
svn path=/trunk/mcs/; revision=74117
Marek Habersack [Mon, 12 Mar 2007 12:08:39 +0000 (12:08 -0000)]
* AspParser.cs: revert r73587 as it breaks more than it fixes
svn path=/trunk/mcs/; revision=74116
Marek Habersack [Mon, 12 Mar 2007 11:38:34 +0000 (11:38 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: support custom site map providers. Fixes
bug #81115
svn path=/trunk/mcs/; revision=74113
Marek Habersack [Mon, 12 Mar 2007 11:28:02 +0000 (11:28 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* ProvidersHelper.cs: support loading custom providers from
App_Code assemblies. Fixes bug #81071.
Also set eol-style to native.
svn path=/trunk/mcs/; revision=74112
Marek Habersack [Mon, 12 Mar 2007 11:25:19 +0000 (11:25 -0000)]
* AspComponentFoundry.cs: try to register foundries from App_Code
assemblies if tag prefix and its namespace are defined. Fixes bug
#78797.
svn path=/trunk/mcs/; revision=74111
Ilya Kharmatsky [Mon, 12 Mar 2007 11:14:22 +0000 (11:14 -0000)]
1. Added WPAuthenticationModule.cs - WPS specific authentication module.
2. Added property CurrentUserName to IPumaServicesProvider
svn path=/trunk/mcs/; revision=74110
Marek Habersack [Mon, 12 Mar 2007 11:05:57 +0000 (11:05 -0000)]
forgot to commit the changelog
svn path=/trunk/mcs/; revision=74109
Igor Zelmanovich [Mon, 12 Mar 2007 10:30:01 +0000 (10:30 -0000)]
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* AttributeCollection.cs:
* CssStyleCollection.cs: fixed: works w/o state bag.
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
svn path=/trunk/mcs/; revision=74108
Igor Zelmanovich [Mon, 12 Mar 2007 10:12:43 +0000 (10:12 -0000)]
2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
* HtmlTextWriter.cs: fixed:
- Fixed writing background-image style attribute (different behavior in
1.1 and 2.0).
- Does not encode 'name' attribute.
- Always encode style attributes (for 2.0 only).
svn path=/trunk/mcs/; revision=74107
Noam Lampert [Mon, 12 Mar 2007 09:48:19 +0000 (09:48 -0000)]
builder-specific changes
svn path=/trunk/mcs/; revision=74106
Marek Habersack [Mon, 12 Mar 2007 09:31:50 +0000 (09:31 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* RootBuilder.cs: change the error text to be less misleading.
svn path=/trunk/mcs/; revision=74105
Marek Habersack [Mon, 12 Mar 2007 09:26:55 +0000 (09:26 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs, BaseCompiler.cs: CodeAssemblies is a collection
of Assembly instances, not strings.
* CachingCompiler.cs: make sure items in the CodeAssemblies and
TopLevelAssemblies are really instances of the Assembly class
before trying to use them.
CodeAssemblies is a collection of Assembly instances, not
strings.
* AppCodeCompiler.cs: on MS.NET CodeAssemblies is a collection of
assemblies, not paths to assemblies.
svn path=/trunk/mcs/; revision=74104
Marek Habersack [Mon, 12 Mar 2007 08:45:38 +0000 (08:45 -0000)]
2007-03-12 Marek Habersack <mhabersack@novell.com>
* RolePrincipal.cs: decrypt the roles ticket properly. Makes role
caching in cookies work. Fixes bug #81117. Patch from Mike Morano
<mmorano@mikeandwan.us>
svn path=/trunk/mcs/; revision=74101
Vladimir Krasnov [Mon, 12 Mar 2007 08:34:32 +0000 (08:34 -0000)]
* ServletWorkerRequest.jvm.cs: fixed ctor, adding welcome page to aspnetconfig folder
svn path=/trunk/mcs/; revision=74100
Jackson Harper [Mon, 12 Mar 2007 07:37:49 +0000 (07:37 -0000)]
* TreeView.cs:
* TreeNode.cs:
* OpenTreeNodeEnumerator: Match MS better for IsVisible and
IsExpanded.
svn path=/trunk/mcs/; revision=74099
Konstantin Triger [Mon, 12 Mar 2007 07:30:47 +0000 (07:30 -0000)]
TARGET_J2EE: support only J2EE sessions
svn path=/trunk/mcs/; revision=74098
Jackson Harper [Mon, 12 Mar 2007 05:31:26 +0000 (05:31 -0000)]
* TextBoxBase.cs: Now that the handles are being created a
* little
later, we need to make sure that the document is recalculated
when
the handle is created.
svn path=/trunk/mcs/; revision=74097
Everaldo Canuto [Mon, 12 Mar 2007 02:17:51 +0000 (02:17 -0000)]
2007-03-11 Everaldo Canuto <everaldo@simios.org>
* LinkLabelTest.cs: LinkLabel tests added.
svn path=/trunk/mcs/; revision=74083
Everaldo Canuto [Mon, 12 Mar 2007 02:16:06 +0000 (02:16 -0000)]
2007-03-11 Everaldo Canuto <everaldo@simios.org>
* Theme.cs: GetLinkFont abstract method added.
* LinkLabel.cs:
- Remove CalcTrimRectangle, no longer needed.
- Factor also remove, position issues must be fixed in libgdiplus.
- Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
- GetPieceFont, CreateLinkFont and link_font removed, theme must be
care about font used to draw links.
- Set TabStop to true when control is "Selectable", control is selectable
when have one or more links. Fixes #80501 (test case is also added).
- Set the LinkArea values after links change, LinkArea values must be
based in first link position and size, a test case was created.
- Fix ControlStyles.Selectable value, now is based on LinkArea value,
the attribute must be true LinkArea.Length > 0. The same was applied to
TabStop.
* ThemeWin32Classic.cs:
- LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
in draw method.
- Use CPDrawStringDisabled to draw disabled text instead of hard code
color change.
- Draw focus rectangle for every parts focused, including parts that
is on another line, its because regions returns various rectangles
and not only one. Needed to mimic W32 look.
- Uses Graphics.Clip to delimite region painted, it mean that now
complete text is passed to DrawString, with this we solve layout
issues without create another text renderer.
- Uses Region.Intersect to fix some flickers problems, now only needed
parts will redrawed.
- This changes fixes #79614 and some other unreported issues, on Linux
some layout problems still remain, the problem is under
MeasureCharacterRanges but it is an libgdiplus bug.
svn path=/trunk/mcs/; revision=74082
Gert Driesen [Sun, 11 Mar 2007 17:45:14 +0000 (17:45 -0000)]
* Delegate.cs: Fixed bootstrap build.
svn path=/trunk/mcs/; revision=74073
Miguel de Icaza [Sun, 11 Mar 2007 17:10:49 +0000 (17:10 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=74071
Zoltan Varga [Sun, 11 Mar 2007 16:05:44 +0000 (16:05 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Fix box+brtrue optimization. Fixes
#81102.
* generics.2.cs: Add regression test.
svn path=/trunk/mono/; revision=74069
Zoltan Varga [Sun, 11 Mar 2007 14:26:33 +0000 (14:26 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* ASN1Convert.cs: Fix a warning.
svn path=/trunk/mcs/; revision=74068
Zoltan Varga [Sun, 11 Mar 2007 14:24:28 +0000 (14:24 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* UnmanagedMemoryStream.cs: Fix a warning.
svn path=/trunk/mcs/; revision=74067
Zoltan Varga [Sun, 11 Mar 2007 14:21:03 +0000 (14:21 -0000)]
2007-03-11 Zoltan Varga <vargaz@gmail.com>
* Delegate.cs: Add throwOnBindFailure overloads to CreateDelegate (). Fixes #81107.
svn path=/trunk/mcs/; revision=74066
Konstantin Triger [Sun, 11 Mar 2007 14:10:00 +0000 (14:10 -0000)]
throw on protocol version mismatch for 2.0 profile only
svn path=/trunk/mcs/; revision=74065
Konstantin Triger [Sun, 11 Mar 2007 13:31:48 +0000 (13:31 -0000)]
fix validation of the R2401 rule
svn path=/trunk/mcs/; revision=74064
Konstantin Triger [Sun, 11 Mar 2007 13:29:42 +0000 (13:29 -0000)]
make FindAll(Type) consistent with Find(Type)
svn path=/trunk/mcs/; revision=74063
Gert Driesen [Sun, 11 Mar 2007 13:02:52 +0000 (13:02 -0000)]
* TcpClient.cs: Do not initialize network stream in Connect. In
Dispose, only nullify client if network stream was not obtained.
Fixes bug #81105.
* TcpClientTest.cs: Added test for bug #81105.
svn path=/trunk/mcs/; revision=74062
Marek Safar [Sun, 11 Mar 2007 12:54:27 +0000 (12:54 -0000)]
2007-03-11 Marek Safar <marek.safar@gmail.com>
* ecore.cs, parameter.cs, typemanager.cs: Another gmcs fix to work with
any mscorlib.
svn path=/trunk/mcs/; revision=74061
Konstantin Triger [Sun, 11 Mar 2007 11:54:31 +0000 (11:54 -0000)]
Implement Derby shutdown policy
svn path=/trunk/mcs/; revision=74060
Konstantin Triger [Sun, 11 Mar 2007 11:53:17 +0000 (11:53 -0000)]
remove chars only when required
svn path=/trunk/mcs/; revision=74059
Konstantin Triger [Sun, 11 Mar 2007 10:35:53 +0000 (10:35 -0000)]
Compile nunit dependancy in debug configuration
svn path=/trunk/mcs/; revision=74058
Vladimir Krasnov [Sun, 11 Mar 2007 09:36:50 +0000 (09:36 -0000)]
* TypeStubManager.cs: fixed BindingInfo.ctor, it does not takes Name property from WebServiceBindingAttribute in .net 2.0
svn path=/trunk/mcs/; revision=74057
Marek Safar [Sat, 10 Mar 2007 23:05:03 +0000 (23:05 -0000)]
2007-03-10 Marek Safar <marek.safar@gmail.com>
* generic.cs (TypeArguments.Resolve): Avoid redundant checks.
svn path=/trunk/mcs/; revision=74055
Marek Safar [Sat, 10 Mar 2007 23:04:37 +0000 (23:04 -0000)]
2007-03-10 Marek Safar <marek.safar@gmail.com>
* class.cs, parameter.cs: Unified parameters verification.
svn path=/trunk/mcs/; revision=74054
Marek Safar [Sat, 10 Mar 2007 21:32:54 +0000 (21:32 -0000)]
Test for a bug which Martin fixed and forget to commit the test for it.
svn path=/trunk/mcs/; revision=74053
Gert Driesen [Sat, 10 Mar 2007 19:00:18 +0000 (19:00 -0000)]
* FormHandleTest.cs: Fixed build using csc 1.x.
* MdiFormHandleTest.cs: Fixed build using csc 1.x. Removed extra tabs.
* ControlHandleTest.cs: Fixed build using csc 1.x.
* TextBoxTest.cs: Improved test for BackColor. Added test for
ForeColor.
* TextBox.cs: Set for foreground color.
* TextBoxBase.cs: Remove Invalidate when setting BackColor, since
this is already done in Control.
svn path=/trunk/mcs/; revision=74052
Jackson Harper [Sat, 10 Mar 2007 17:55:25 +0000 (17:55 -0000)]
* TextBox.cs: Set the background color, but reset the
backcolor_set flag which is just for the user setting the
background color.
svn path=/trunk/mcs/; revision=74051
Gert Driesen [Sat, 10 Mar 2007 14:48:37 +0000 (14:48 -0000)]
* TextBoxTest.cs: Isolate BackColor tests.
svn path=/trunk/mcs/; revision=74050
Gert Driesen [Sat, 10 Mar 2007 14:14:47 +0000 (14:14 -0000)]
* ResXFileRef.cs: On 2.0 profile, special case files with .ico
extension to retain their actual dimension.
* ResXResourceReaderTest.cs: Added test for special casing of .ico
files.
* Makefile: Added 32x32 icon.
svn path=/trunk/mcs/; revision=74048
Marek Sieradzki [Sat, 10 Mar 2007 13:35:49 +0000 (13:35 -0000)]
2007-03-10 Marek Sieradzki <marek.sieradzki@gmail.com>
* Vbc.cs: Implemented.
svn path=/trunk/mcs/; revision=74047
Marek Sieradzki [Sat, 10 Mar 2007 13:33:58 +0000 (13:33 -0000)]
2007-03-10 Marek Sieradzki <marek.sieradzki@gmail.com>
* xbuild/Microsoft.Common.tasks: Added Vbc task.
* xbuild/Microsoft.VisualBasic.targets: Added CoreCompile target for
VB.
svn path=/trunk/mcs/; revision=74046
Chris Toshok [Sat, 10 Mar 2007 03:24:43 +0000 (03:24 -0000)]
2007-03-09 Chris Toshok <toshok@ximian.com>
* System.ComponentModel.Design/DesignerTransactionCloseEventArgs.cs:
update this to 2.0. massage a patch from Ivan Zlatev.
svn path=/trunk/mcs/; revision=74045
Chris Toshok [Sat, 10 Mar 2007 01:32:45 +0000 (01:32 -0000)]
* Control.cs: really remove the call to XplatUI.SetVisible from
CreateHandle(), like I said I did when I merged the branch.
svn path=/trunk/mcs/; revision=74044
Wade Berrier [Sat, 10 Mar 2007 00:16:42 +0000 (00:16 -0000)]
mini-ppc.h: Undo typo of MONO_CONTEXT_SET_SP (ppc doesn't define this
symbol)
svn path=/trunk/mono/; revision=74042
Chris Toshok [Sat, 10 Mar 2007 00:12:41 +0000 (00:12 -0000)]
resync these
svn path=/trunk/mcs/; revision=74041
Chris Toshok [Sat, 10 Mar 2007 00:12:15 +0000 (00:12 -0000)]
enable the bindingsource tests
svn path=/trunk/mcs/; revision=74040
Chris Toshok [Sat, 10 Mar 2007 00:11:49 +0000 (00:11 -0000)]
add more tests
svn path=/trunk/mcs/; revision=74039
Chris Toshok [Sat, 10 Mar 2007 00:11:37 +0000 (00:11 -0000)]
2007-03-09 Chris Toshok <toshok@ximian.com>
* BindingSource.cs: implement some more of this stuff.
svn path=/trunk/mcs/; revision=74038
Jackson Harper [Fri, 9 Mar 2007 23:54:18 +0000 (23:54 -0000)]
- Need to invalidate when backcolor or readonly are changed.
svn path=/trunk/mcs/; revision=74037