mono.git
17 years ago2007-03-12 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-03-12 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-03-12 Zoltan Varga <vargaz@gmail.com>
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

17 years ago* CapabilitiesLoader.cs: added TARGET_JVM part of static members, added caching to...
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

17 years ago * AspParser.cs: revert r73587 as it breaks more than it fixes
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

17 years ago2007-03-12 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-03-12 Marek Habersack <mhabersack@novell.com>
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

17 years ago * AspComponentFoundry.cs: try to register foundries from App_Code
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

17 years ago1. Added WPAuthenticationModule.cs - WPS specific authentication module.
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

17 years agoforgot to commit the changelog
Marek Habersack [Mon, 12 Mar 2007 11:05:57 +0000 (11:05 -0000)]
forgot to commit the changelog

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

17 years ago2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years agobuilder-specific changes
Noam Lampert [Mon, 12 Mar 2007 09:48:19 +0000 (09:48 -0000)]
builder-specific changes

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

17 years ago2007-03-12 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-03-12 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-03-12 Marek Habersack <mhabersack@novell.com>
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

17 years ago* ServletWorkerRequest.jvm.cs: fixed ctor, adding welcome page to aspnetconfig folder
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

17 years ago * TreeView.cs:
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

17 years agoTARGET_J2EE: support only J2EE sessions
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

17 years ago * TextBoxBase.cs: Now that the handles are being created a
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

17 years ago2007-03-11 Everaldo Canuto <everaldo@simios.org>
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

17 years ago2007-03-11 Everaldo Canuto <everaldo@simios.org>
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

17 years ago* Delegate.cs: Fixed bootstrap build.
Gert Driesen [Sun, 11 Mar 2007 17:45:14 +0000 (17:45 -0000)]
* Delegate.cs: Fixed bootstrap build.

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

17 years agoFix the build
Miguel de Icaza [Sun, 11 Mar 2007 17:10:49 +0000 (17:10 -0000)]
Fix the build

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

17 years ago2007-03-11 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-03-11 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-03-11 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-03-11 Zoltan Varga <vargaz@gmail.com>
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

17 years agothrow on protocol version mismatch for 2.0 profile only
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

17 years agofix validation of the R2401 rule
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

17 years agomake FindAll(Type) consistent with Find(Type)
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

17 years ago* TcpClient.cs: Do not initialize network stream in Connect. In
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

17 years ago2007-03-11 Marek Safar <marek.safar@gmail.com>
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

17 years agoImplement Derby shutdown policy
Konstantin Triger [Sun, 11 Mar 2007 11:54:31 +0000 (11:54 -0000)]
Implement Derby shutdown policy

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

17 years agoremove chars only when required
Konstantin Triger [Sun, 11 Mar 2007 11:53:17 +0000 (11:53 -0000)]
remove chars only when required

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

17 years agoCompile nunit dependancy in debug configuration
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

17 years ago* TypeStubManager.cs: fixed BindingInfo.ctor, it does not takes Name property from...
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

17 years ago2007-03-10 Marek Safar <marek.safar@gmail.com>
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

17 years ago2007-03-10 Marek Safar <marek.safar@gmail.com>
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

17 years agoTest for a bug which Martin fixed and forget to commit the test for it.
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

17 years ago* FormHandleTest.cs: Fixed build using csc 1.x.
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

17 years ago * TextBox.cs: Set the background color, but reset the
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

17 years ago * TextBoxTest.cs: Isolate BackColor tests.
Gert Driesen [Sat, 10 Mar 2007 14:48:37 +0000 (14:48 -0000)]
 * TextBoxTest.cs: Isolate BackColor tests.

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

17 years ago* ResXFileRef.cs: On 2.0 profile, special case files with .ico
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

17 years ago2007-03-10 Marek Sieradzki <marek.sieradzki@gmail.com>
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

17 years ago2007-03-10 Marek Sieradzki <marek.sieradzki@gmail.com>
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

17 years ago2007-03-09 Chris Toshok <toshok@ximian.com>
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

17 years ago * Control.cs: really remove the call to XplatUI.SetVisible from
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

17 years agomini-ppc.h: Undo typo of MONO_CONTEXT_SET_SP (ppc doesn't define this
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

17 years agoresync these
Chris Toshok [Sat, 10 Mar 2007 00:12:41 +0000 (00:12 -0000)]
resync these

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

17 years agoenable the bindingsource tests
Chris Toshok [Sat, 10 Mar 2007 00:12:15 +0000 (00:12 -0000)]
enable the bindingsource tests

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

17 years agoadd more tests
Chris Toshok [Sat, 10 Mar 2007 00:11:49 +0000 (00:11 -0000)]
add more tests

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

17 years ago2007-03-09 Chris Toshok <toshok@ximian.com>
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

17 years ago - Need to invalidate when backcolor or readonly are changed.
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

17 years ago * PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
Marek Habersack [Fri, 9 Mar 2007 23:44:19 +0000 (23:44 -0000)]
* PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
CreateProfileProperty and InternalCreatePageProperty to
BaseCompiler from PageCompiler.

* GlobalAsaxCompiler.cs: generate the Profile property for the
Global_asax class.

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

17 years ago * TextBox.cs: Don't explicitly set our background colors.
Jackson Harper [Fri, 9 Mar 2007 22:40:33 +0000 (22:40 -0000)]
    * TextBox.cs: Don't explicitly set our background colors.
        * TextControl.cs:
        * TextBoxBase.cs: Draw readonly text.

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

17 years ago - Do not raise OnPaint, and removed some old debug code.
Jackson Harper [Fri, 9 Mar 2007 22:02:11 +0000 (22:02 -0000)]
    - Do not raise OnPaint, and removed some old debug code.

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

17 years agoAdd a missing method to ProfileCommon
Marek Habersack [Fri, 9 Mar 2007 21:36:43 +0000 (21:36 -0000)]
Add a missing method to ProfileCommon

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

17 years ago * TextBoxBase.cs: Don't set the forecolor until the handle is
Jackson Harper [Fri, 9 Mar 2007 21:28:40 +0000 (21:28 -0000)]
    * TextBoxBase.cs: Don't set the forecolor until the handle is
        * created.

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

17 years ago2007-03-09 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 9 Mar 2007 20:39:27 +0000 (20:39 -0000)]
2007-03-09  George Giolfan  <georgegiolfan@yahoo.com>

* ScrollableControl.cs: Fix mouse wheel scrolling.

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

17 years agoUpdate build/dist for new metafile unit tests
Sebastien Pouliot [Fri, 9 Mar 2007 19:41:12 +0000 (19:41 -0000)]
Update build/dist for new metafile unit tests

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

17 years ago2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Mar 2007 19:39:25 +0000 (19:39 -0000)]
2007-03-09  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add test cases for GDI+ metafile API.
* TestImage.cs: Add test cases for loading metafile as Image.

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

17 years ago2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Mar 2007 19:38:14 +0000 (19:38 -0000)]
2007-03-09  Sebastien Pouliot  <sebastien@ximian.com>

* MetafileTest.cs: New. Metafile unit tests.

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

17 years ago2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Mar 2007 19:36:05 +0000 (19:36 -0000)]
2007-03-09  Sebastien Pouliot  <sebastien@ximian.com>

* MetafileHeader.cs: WmfHeader throws if the metafile isn't a WMF (e.g.
EMF, EMF+ or EMF dual).

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

17 years agoHandle empty .resources files gracefully
Marek Habersack [Fri, 9 Mar 2007 18:30:55 +0000 (18:30 -0000)]
Handle empty .resources files gracefully

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

17 years ago2007-03-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 9 Mar 2007 18:26:04 +0000 (18:26 -0000)]
2007-03-09  Martin Baulig  <martin@ximian.com>

* reflection.c (encode_constant): Add support for MONO_TYPE_GENERICINST.

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

17 years agoFri Mar 9 18:57:47 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 9 Mar 2007 17:59:49 +0000 (17:59 -0000)]
Fri Mar 9 18:57:47 CET 2007 Paolo Molaro <lupus@ximian.com>

* Makefile.am, configure.in, msvc: add msvc directory to the
distribution.
* msvc/create-windef.pl, msvc/mono.def: added def file for exported
functions.

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

17 years agoImplement WebEventCodes
Marek Habersack [Fri, 9 Mar 2007 17:59:37 +0000 (17:59 -0000)]
Implement WebEventCodes

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

17 years ago2007-03-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 Mar 2007 17:59:23 +0000 (17:59 -0000)]
2007-03-09  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Wire up MouseDoubleClick event.

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

17 years agoAdd msvc directory to hold all things needed to build mono runtime
Jonathan Chambers [Fri, 9 Mar 2007 17:00:52 +0000 (17:00 -0000)]
Add msvc directory to hold all things needed to build mono runtime
in Visual Studio.

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

17 years agoWMF and EMF test cases
Sebastien Pouliot [Fri, 9 Mar 2007 16:57:45 +0000 (16:57 -0000)]
WMF and EMF test cases

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

17 years ago2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Mar 2007 16:54:47 +0000 (16:54 -0000)]
2007-03-09  Sebastien Pouliot  <sebastien@ximian.com>

* MetafileHeader.cs: Fix offset to match correct C definition.

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

17 years ago2007-03-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 Mar 2007 15:37:58 +0000 (15:37 -0000)]
2007-03-09  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Rework AutoSize to adjust height when docked to the
top or bottom.
* ToolStripItem.cs: Make Image drawing take ImageScaling into account.
* ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
item is added.  This logic was moved to ToolStrip.OnItemAdded.
[Fixes bug #81090]

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

17 years ago2007-03-09 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 9 Mar 2007 15:01:00 +0000 (15:01 -0000)]
2007-03-09  Jonathan Chambers  <joncham@gmail.com>

* configure.in:  Define UNICODE and _UNICODE on Win32.
* io-layer.h:  Remove UNICODE and _UNICODE defines as
        these are done by configure.in now.
* mono-dl.c:  Use Unicode characters for Win32 functions.
* appdomain.c:  Fix shadow copy on Windows. Use g_snprintf instead
of snprintf as it doesn't exist on Win32 (VS build); also for uniformity.

Code is contributed under MIT/X11 license.

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

17 years agoupdate to reflect fixed test
Raja R Harinath [Fri, 9 Mar 2007 14:32:09 +0000 (14:32 -0000)]
update to reflect fixed test

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

17 years ago* cs-parser.jay (WHERE): Move before QUERY_FIRST_TOKEN. 'where'
Raja R Harinath [Fri, 9 Mar 2007 14:27:40 +0000 (14:27 -0000)]
* cs-parser.jay (WHERE): Move before QUERY_FIRST_TOKEN.  'where'
is a valid keyword outside a linq expression too.

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

17 years ago2007-03-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Mar 2007 14:17:11 +0000 (14:17 -0000)]
2007-03-09  Zoltan Varga  <vargaz@gmail.com>

* docs/aot-compiler.txt: Update 'future work'.

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

17 years agoBugfix for #81089
Marek Habersack [Fri, 9 Mar 2007 14:16:04 +0000 (14:16 -0000)]
Bugfix for #81089

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

17 years ago2007-03-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Mar 2007 14:12:23 +0000 (14:12 -0000)]
2007-03-09  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_aot_module): Load all dependent assemblies eagerly since all
AOT code depends on this.

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

17 years ago2007-03-09 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 9 Mar 2007 13:51:10 +0000 (13:51 -0000)]
2007-03-09  Andreia Gaita  <avidigal@novell.com>

* SqlCommandTest.cs: Add new test to check string parameters with
value = null and size 0. Fixed tests for NET 2.0 (different exceptions
thrown)

* ConnectionManager.cs: small fix to close the connection if we
mean to change the connection string and open it again

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

17 years ago2007-03-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 9 Mar 2007 10:12:52 +0000 (10:12 -0000)]
2007-03-09  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* VBCodeCompiler.cs: Reference Microsoft.VisualBasic.dll and not Microsoft.VisualBasic (patch by Frederik Carlier).
Don't set /wlevel, vbnc doesn't support it.

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

17 years ago2007-03-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 9 Mar 2007 09:21:01 +0000 (09:21 -0000)]
2007-03-09  Rolf Bjarne Kvinge <RKvinge@novell.com>

* System.Windows.Forms_test.dll.sources: Added FormHandleTest and MdiFormHandleTest.

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

17 years ago2007-03-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 9 Mar 2007 09:20:46 +0000 (09:20 -0000)]
2007-03-09  Rolf Bjarne Kvinge <RKvinge@novell.com>

* FormHandleTest.cs: Added.
* MdiFormHandleTest.cs: Added.

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

17 years ago* loader.c: Reapply patch for bug #79424.
Gert Driesen [Fri, 9 Mar 2007 07:03:49 +0000 (07:03 -0000)]
* loader.c: Reapply patch for bug #79424.

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

17 years ago2007-03-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Mar 2007 06:35:45 +0000 (06:35 -0000)]
2007-03-09  Nagappan A  <anagappan@novell.com>

* System.Data.dll.sources: Removed
System.Data.SqlTypes/SqlStreamChars.cs as its not part of 1.0 and
2.0 profile.

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

17 years ago2007-03-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Mar 2007 06:33:51 +0000 (06:33 -0000)]
2007-03-09  Nagappan A  <anagappan@novell.com>

* SqlBooleanTest.cs (GetXsdTypeTest, GreaterThanTest)
(GreaterThanOrEqualTest, LessThanEqualTest, LessThanOrEqualTest):
Added new tests.

* SqlBinaryTest.cs (GetXsdTypeTest): Added new test.

* SqlByteTest.cs (GetXsdTypeTest): Added new test.

* SqlBytesTest.cs (GetXsdTypeTest): Added new test.

* SqlDateTimeTest.cs (GetXsdTypeTest): Added new test.

* SqlDecimalTest.cs (GetXsdTypeTest): Added new test.

* SqlGuidTest.cs (GetXsdTypeTest): Added new test.

* SqlInt16Test.cs (GetXsdTypeTest): Added new test.

* SqlInt32Test.cs (GetXsdTypeTest): Added new test.

* SqlInt64Test.cs (GetXsdTypeTest): Added new test.

* SqlMoneyTest.cs (GetXsdTypeTest): Added new test.

* SqlSingleTest.cs (GetXsdTypeTest): Added new test.

* SqlStringTest.cs (GetXsdTypeTest): Added new test.

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

17 years ago2007-03-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Mar 2007 06:11:46 +0000 (06:11 -0000)]
2007-03-09  Nagappan A  <anagappan@novell.com>

* SqlBoolean.cs (GreaterThan, GreaterThanOrEqual, LessThan)
(LessThanOrEqual, GetXsdType, operator >, >=, <, <=): Implemented
missing 2.0 methods.

* SqlDouble.cs (GetXsdType): Implemented missing 2.0 method.

* SqlString.cs (GetXsdType): Implemented missing 2.0 method.

* SqlBinary.cs (Add, GetXsdType): Implemented missing 2.0 methods.

* SqlByte.cs (GetXsdType): Implemented missing 2.0 method.

* SqlBytes.cs (GetXsdType): Implemented missing 2.0 method.

* SqlChars.cs (GetXsdType): Implemented missing 2.0 method.

* SqlXml.cs (GetXsdType): Implemented missing 2.0 method.

* SqlGuid.cs (GetXsdType): Implemented missing 2.0 method.

* SqlInt64.cs (GetXsdType): Implemented missing 2.0 method.

* SqlInt32.cs (GetXsdType): Implemented missing 2.0 method.

* SqlInt16.cs (GetXsdType): Implemented missing 2.0 method.

* SqlNotFilledException.cs: Fixed syntax errors based on class
status page.

* SqlDecimal.cs (GetXsdType): Implemented missing method.

* SqlDateTime.cs (GetXsdType): Implemented missing method.

* SqlMoney.cs (GetXsdType): Implemented missing 2.0 method.

* SqlSingle.cs (GetXsdType): Implemented missing 2.0 method.

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

17 years agoFix for #81066 plus test
Miguel de Icaza [Fri, 9 Mar 2007 06:08:25 +0000 (06:08 -0000)]
Fix for #81066 plus test

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

17 years ago2007-03-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Mar 2007 05:49:46 +0000 (05:49 -0000)]
2007-03-09  Nagappan A  <anagappan@novell.com>

* SqlDataReader.cs: Fixed syntax erros reported in class status
page.

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

17 years ago2007-03-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 9 Mar 2007 05:43:22 +0000 (05:43 -0000)]
2007-03-09  Miguel de Icaza  <miguel@novell.com>

* FtpDataStream.cs: Close must be called on the stream before we
attempt to read a status code from the remote server.

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

17 years agoAdd installvst
Miguel de Icaza [Fri, 9 Mar 2007 04:55:47 +0000 (04:55 -0000)]
Add installvst

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

17 years agoFix
Miguel de Icaza [Fri, 9 Mar 2007 02:43:40 +0000 (02:43 -0000)]
Fix

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

17 years agoFix
Miguel de Icaza [Fri, 9 Mar 2007 02:41:23 +0000 (02:41 -0000)]
Fix

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

17 years ago2007-03-09 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 9 Mar 2007 02:19:43 +0000 (02:19 -0000)]
2007-03-09  Andreia Gaita  <avidigal@novell.com>

* SqlCommand.cs (ExecuteScalar): Fix returned value for
stored procedure calls to return the first column of the
first row produced by the proc.

* SqlCommandTest.cs: Add parameterized stored procedure call tests
to ExecuteScalar and ExecuteNonQuery.

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

17 years ago2007-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 9 Mar 2007 02:12:14 +0000 (02:12 -0000)]
2007-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Added tests for the ListView and
Index properties of ListViewItems in VirtualMode.

* ListViewCollectionsTest.cs: Remove warning when building
tests.

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

17 years agoFix the space problem for FTP requests
Miguel de Icaza [Fri, 9 Mar 2007 01:35:48 +0000 (01:35 -0000)]
Fix the space problem for FTP requests

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

17 years ago2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Mar 2007 00:58:16 +0000 (00:58 -0000)]
2007-03-08  Sebastien Pouliot  <sebastien@ximian.com>

* TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
mistake.

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

17 years agoadded installvst - a utility to install packages using the .vstemplate file
Marek Habersack [Fri, 9 Mar 2007 00:50:34 +0000 (00:50 -0000)]
added installvst - a utility to install packages using the .vstemplate file

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

17 years ago2007-03-08 David Mitchell <dmitchell@logos.com>
Miguel de Icaza [Fri, 9 Mar 2007 00:38:11 +0000 (00:38 -0000)]
2007-03-08  David Mitchell <dmitchell@logos.com>

* List.cs: Fix the case where List.set_Item(int index) throws
inappropriate exception when index is equal to List.Count

List.IndexOf(object item) and IList.Contains(object item) throw
exceptions when given invalid types.

IList.Add(object item) throws InvalidCastException when item is
not of the correct type.

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

17 years agoFix the theme test errors.
Marek Habersack [Fri, 9 Mar 2007 00:04:23 +0000 (00:04 -0000)]
Fix the theme test errors.

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