mono.git
18 years agoensure the container for the style exists
Konstantin Triger [Thu, 6 Jul 2006 14:48:08 +0000 (14:48 -0000)]
ensure the container for the style exists

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

18 years agoCorrected comments.
Kornél Pál [Thu, 6 Jul 2006 14:27:38 +0000 (14:27 -0000)]
Corrected comments.

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

18 years agoremove incorrect asserts
Konstantin Triger [Thu, 6 Jul 2006 14:25:10 +0000 (14:25 -0000)]
remove incorrect asserts

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

18 years agobug fixes found by Test/System.Web.UI.WebControls/BoundFieldTest
Konstantin Triger [Thu, 6 Jul 2006 13:39:11 +0000 (13:39 -0000)]
bug fixes found by Test/System.Web.UI.WebControls/BoundFieldTest

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

18 years ago2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jul 2006 12:56:07 +0000 (12:56 -0000)]
2006-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* Image.cs: Ensure we're setting the nativeObject to NULL before
throwing any exception while disposing (and avoid possible double
freeing). Avoid multiple casts in Clone method.
* Pen.cs: Ensure the internal pen's brush is always disposed
correctly. Avoid making a reference to the internal brush.
* SolidBrush.cs: Avoid setting color when cloning the solid brush
as the .ctor(IntPtr) always does this job.

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

18 years ago2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jul 2006 12:11:15 +0000 (12:11 -0000)]
2006-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* SolidBrushTest.cs: New test case using DrawLine.

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

18 years agoadd test for PhysicalApplicationPath
Andrew Skiba [Thu, 6 Jul 2006 12:01:18 +0000 (12:01 -0000)]
add test for PhysicalApplicationPath

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

18 years agoChangeLog for r:62307
Andrew Skiba [Thu, 6 Jul 2006 11:50:44 +0000 (11:50 -0000)]
ChangeLog for r:62307

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

18 years agovalidate attribute gets "true" and "false" case-insensitive in net 2.0
Andrew Skiba [Thu, 6 Jul 2006 11:46:15 +0000 (11:46 -0000)]
validate attribute gets "true" and "false" case-insensitive in net 2.0

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

18 years ago2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Jul 2006 10:26:34 +0000 (10:26 -0000)]
2006-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* XslCompiledTransform.cs : making stub more complete :|

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

18 years agoEnsure initialized, fix url mapping.
Konstantin Triger [Thu, 6 Jul 2006 09:48:02 +0000 (09:48 -0000)]
Ensure initialized, fix url mapping.

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

18 years agoChangeLog for r62303
Konstantin Triger [Thu, 6 Jul 2006 09:21:11 +0000 (09:21 -0000)]
ChangeLog for r62303

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

18 years ago* DataControlField.cs: correct handling empty header/footer text.
Konstantin Triger [Thu, 6 Jul 2006 09:20:15 +0000 (09:20 -0000)]
* DataControlField.cs: correct handling empty header/footer text.
* TemplateField.cs: correct initialization according to DataControlRowState.

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

18 years agoconfigure.in: version bump for 1.1.16
Wade Berrier [Wed, 5 Jul 2006 21:31:08 +0000 (21:31 -0000)]
configure.in: version bump for 1.1.16

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

18 years agoCodePageEncoding.cs: Return the same real object in subsequent calls to GetRealObject...
Kornél Pál [Wed, 5 Jul 2006 19:24:01 +0000 (19:24 -0000)]
CodePageEncoding.cs: Return the same real object in subsequent calls to GetRealObject ().; MLangCodePageEncoding.cs: Return the same real object in subsequent calls to GetRealObject (). Rename Encoder and Decoder MLangEncoder and MLangDecoder. These classes are not serializable in 1.x although MS.NET 2.0 can deserialize them.; SurrogateEncoder.cs: Return the same real object in subsequent calls to GetRealObject ().

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

18 years ago* System.Web_test.dll.sources: added CreateUserWizardTest.cs
Vladimir Krasnov [Wed, 5 Jul 2006 16:35:10 +0000 (16:35 -0000)]
* System.Web_test.dll.sources: added CreateUserWizardTest.cs
* System.Web.dll.sources: added CompleteWizardStep.cs, CreateUserWizard.cs, CreateUserWizardStep.cs, TemplatedWizardStep.cs
* Wizard.cs: added functionality for Templated WizardStep and CreateUserWizard
* added CompleteWizardStep.cs, CreateUserWizard.cs, CreateUserWizardStep.cs, TemplatedWizardStep.cs
* added CreateUserWizardTest.cs

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

18 years agoadd few HttpRequest.MapPath tests
Andrew Skiba [Wed, 5 Jul 2006 16:21:48 +0000 (16:21 -0000)]
add few HttpRequest.MapPath tests

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

18 years ago2006-07-05 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 5 Jul 2006 15:53:21 +0000 (15:53 -0000)]
2006-07-05  Dick Porter  <dick@ximian.com>

        * io.c (GetFileAttributes, GetFileAttributesEx): Cope with
        dangling symlinks.  Fixes bug 78664.

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

18 years agocorrecting default dataType
Konstantin Triger [Wed, 5 Jul 2006 15:14:54 +0000 (15:14 -0000)]
correcting default dataType

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

18 years ago2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 Jul 2006 12:39:53 +0000 (12:39 -0000)]
2006-07-04  Sebastien Pouliot  <sebastien@ximian.com>

* TestImage.cs: Add test cases for GetThumbnailImage.

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

18 years agoImage.cs: Made GetThumbnailImage throw OutOfMemoryException when image size is invali...
Sebastien Pouliot [Wed, 5 Jul 2006 12:38:37 +0000 (12:38 -0000)]
Image.cs: Made GetThumbnailImage throw OutOfMemoryException when image size is invalid (to match MS behaviour), also ensure that the Graphics instance is disposed even if CheckStatus throws an exception.

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

18 years ago * XplatUIX11.cs: Enable key auto repeat. If the user doesn't
Jackson Harper [Tue, 4 Jul 2006 21:15:58 +0000 (21:15 -0000)]
    * XplatUIX11.cs: Enable key auto repeat. If the user doesn't
        * have
        XKB or key auto repeat, do it manually.  Without key auto
repeat,
        when a key is held down we get key press, key release, key
press,
        key release, ... with auto repeat we get key press, key press,
key
        press ..., and then a release when the key is actually released.

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

18 years ago2006-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Jul 2006 18:43:19 +0000 (18:43 -0000)]
2006-07-04  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add the contents of LIBS to libmono_ldflags on sol-x86 too.

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

18 years agoUpdate documentation
Miguel de Icaza [Tue, 4 Jul 2006 14:33:06 +0000 (14:33 -0000)]
Update documentation

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

18 years ago2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Jul 2006 09:50:41 +0000 (09:50 -0000)]
2006-07-04  Atsushi Enomoto  <atsushi@ximian.com>

* WaitHandle.cs : CheckArray() is also used in WaitAny(), so added
  extra argument to skip STAThread check.

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

18 years agoAdded comments on using serialization proxy classes.
Kornél Pál [Tue, 4 Jul 2006 09:04:55 +0000 (09:04 -0000)]
Added comments on using serialization proxy classes.

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

18 years ago2006-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Jul 2006 01:44:07 +0000 (01:44 -0000)]
2006-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CookieContainer.cs: don't send a secure cookie over an insecure
channel.

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

18 years ago2006-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Jul 2006 20:54:09 +0000 (20:54 -0000)]
2006-07-03  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Fix solaris/x86 exception handling.

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

18 years agoAdded encoding deserialization support classes.
Kornél Pál [Mon, 3 Jul 2006 19:58:11 +0000 (19:58 -0000)]
Added encoding deserialization support classes.

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

18 years ago * TabControl.cs:
Jackson Harper [Mon, 3 Jul 2006 19:26:44 +0000 (19:26 -0000)]
    * TabControl.cs:
        * ThemeWin32Classic.cs: Tabs do not obey normal background color
        rules, they are always control color regardless of the
background
        color.

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

18 years ago* DataControlField.cs: fixed Initialize, should always return false
Vladimir Krasnov [Mon, 3 Jul 2006 15:50:17 +0000 (15:50 -0000)]
* DataControlField.cs: fixed Initialize, should always return false
* BoundFieldTest.cs, ButtonFieldTest.cs, DataControlFieldTest.cs, HyperLinkFieldTest.cs, ImageFieldTest.cs: removed NotWorking attribute from Initialize test case

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

18 years agoTARGET_JVM ifdefs
Andrew Skiba [Mon, 3 Jul 2006 15:36:20 +0000 (15:36 -0000)]
TARGET_JVM ifdefs

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

18 years agoThrow application-specific exception instead of type-cast
Andrew Skiba [Mon, 3 Jul 2006 15:35:14 +0000 (15:35 -0000)]
Throw application-specific exception instead of type-cast

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

18 years ago2006-07-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 3 Jul 2006 15:17:44 +0000 (15:17 -0000)]
2006-07-03  Martin Baulig  <martin@ximian.com>

* ecore.cs (UnboxCast.Emit): Also use `Unbox_Any' for generic
instances of value types.

* convert.cs (Convert.ExplicitConversion): Correctly handle
object->nullable conversions.

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

18 years ago2006-07-03 Lluis Sanchez <lluis@novell.com>
Lluis Sanchez [Mon, 3 Jul 2006 15:03:58 +0000 (15:03 -0000)]
2006-07-03  Lluis Sanchez  <lluis@novell.com>

* BoundField.cs: Fix setter for HtmlEncode (it was setting always True).

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

18 years agofix typo in HtmlEncode
Konstantin Triger [Mon, 3 Jul 2006 14:00:35 +0000 (14:00 -0000)]
fix typo in HtmlEncode

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

18 years ago* DataBoundControl.cs: implement MarkAsDataBound and consider it while
Konstantin Triger [Mon, 3 Jul 2006 13:56:24 +0000 (13:56 -0000)]
* DataBoundControl.cs: implement MarkAsDataBound and consider it while
     setting RequiresDataBinding in OnLoad event.
* GridView.cs: DataBind rows before other control can access the data.
* BoundField.cs: add unique ID to control for postback parameters.

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

18 years ago2006-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Jul 2006 13:19:11 +0000 (13:19 -0000)]
2006-07-03  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Get rid of $(ICU_LIBS).

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

18 years agofix typo in EnableTheming
Konstantin Triger [Mon, 3 Jul 2006 09:16:05 +0000 (09:16 -0000)]
fix typo in EnableTheming

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

18 years ago * UnixSymbolicLinkInfo.cs: Oops. CreateSymbolicLinkTo() should create
Jonathan Pryor [Sun, 2 Jul 2006 19:55:18 +0000 (19:55 -0000)]
  * UnixSymbolicLinkInfo.cs: Oops.  CreateSymbolicLinkTo() should create
    FullPath, not OriginalName.  This was fixed in one overload in January,
    but I missed an overload. :-/

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

18 years ago * Mono.Posix/Mono.Posix_test.dll.sources: Add Mono.Unix/UnixPathTest.cs.
Jonathan Pryor [Sun, 2 Jul 2006 19:48:13 +0000 (19:48 -0000)]
* Mono.Posix/Mono.Posix_test.dll.sources: Add Mono.Unix/UnixPathTest.cs.
* Mono.Posix/Mono.Unix/UnixPath.cs: Follow .NET's System.IO.Path.Combine()
  behavior, and "reset" the generated path if any argument beings with a
  path root -- UnixPath.Combine("/a", "/b") should return "/b", not "/a/b".
  Fixes #78580.
* Mono.Posix/Test/Mono.Unix/UnixPathTest.cs: Added; test UnixPath.Combine().

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

18 years ago2006-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Jul 2006 18:29:53 +0000 (18:29 -0000)]
2006-07-02  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c: Fix handling of unhandled SIGSEGV exceptions on ia64.
(ves_icall_System_Security_SecurityFrame_GetSecurityStack): Use MONO_INIT_CONTEXT_FROM_CURRENT.
(ves_icall_System_Security_SecurityFrame_GetSecurityFrame): Ditto.

* mini-ia64.h (MONO_CONTEXT_SET_FUNC): New macro.

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

18 years agominor improvements to the snippets examples
John Luke [Sun, 2 Jul 2006 17:54:01 +0000 (17:54 -0000)]
minor improvements to the snippets examples

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

18 years ago* fixed DateTime.FromBinary to DateTime.Now
Vladimir Krasnov [Sun, 2 Jul 2006 13:07:19 +0000 (13:07 -0000)]
* fixed DateTime.FromBinary to DateTime.Now

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

18 years ago* System.Web_test.dll.sources: added FakeMembershipProvider.cs for NunitWeb framework
Vladimir Krasnov [Sun, 2 Jul 2006 12:36:06 +0000 (12:36 -0000)]
* System.Web_test.dll.sources: added FakeMembershipProvider.cs for NunitWeb framework

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

18 years ago2006-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Jul 2006 11:57:16 +0000 (11:57 -0000)]
2006-07-02  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_handle_native_sigsegv): Prevent infinite loops if
this function causes a SIGSEGV.

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

18 years agosurround with try/catch the PageDelegates.Invoke and few more minor fixes
Andrew Skiba [Sun, 2 Jul 2006 11:13:56 +0000 (11:13 -0000)]
surround with try/catch the PageDelegates.Invoke and few more minor fixes

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

18 years ago* MenuItemCollection.cs: save items if the collection is dirty.
Konstantin Triger [Sun, 2 Jul 2006 11:13:18 +0000 (11:13 -0000)]
* MenuItemCollection.cs: save items if the collection is dirty.
* MenuItem.cs:
During data binding: initialize Text and invoke binding recoursively.
Add item to collection before binding to let the state be correctly tracked.
* Menu.cs: Add item to collection before binding to let the state be correctly
tracked.

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

18 years ago2006-07-02 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sun, 2 Jul 2006 11:05:42 +0000 (11:05 -0000)]
2006-07-02  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Added internal class MWFConfig.
  Removed Registry support and replaced it with support for the new
  MWFConfig class. See MWFConfig comments for more information.

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

18 years ago2006-06-30 Duncan Mak <duncan@novell.com>
Duncan Mak [Sun, 2 Jul 2006 05:05:41 +0000 (05:05 -0000)]
2006-06-30  Duncan Mak  <duncan@novell.com>

* WaitHandle.cs (CheckArray): Avoid using reflection unless we
really need to.

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

18 years ago2006-07-01 John Luke <john.luke@gmail.com>
John Luke [Sat, 1 Jul 2006 22:52:08 +0000 (22:52 -0000)]
2006-07-01  John Luke  <john.luke@gmail.com>

        * Mono.Cairo/Context.cs:
        * Mono.Cairo/PdfSurface.cs:
        * Mono.Cairo/PSSurface.cs:
        * Mono.Cairo/Cairo.cs:
        * Mono.Cairo/XlibSurface.cs:
        * Mono.Cairo/SvgSurface.cs: add some new surface API I missed

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

18 years ago2006-07-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 1 Jul 2006 21:51:54 +0000 (21:51 -0000)]
2006-07-01  Marek Safar  <marek.safar@seznam.cz>

A fix for #78738
* attribute.cs, class.cs, ecore.cs : Add missing location of related symbol
for CS0122 where appropriate.
* typemanager.cs (IsNestedChildOf): Type can be null in the case of top
level attributes.
(Filter): Assembly can be null in the case of top level attributes.

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

18 years ago2006-07-01 John Luke <john.luke@gmail.com>
John Luke [Sat, 1 Jul 2006 20:12:43 +0000 (20:12 -0000)]
2006-07-01  John Luke  <john.luke@gmail.com>

        * Mono.Cairo/Status.cs:
        * Mono.Cairo/Context.cs:
        * Mono.Cairo/FontFace.cs:
        * Mono.Cairo/Surface.cs:
        * Mono.Cairo/Format.cs:
        * Mono.Cairo/LinearGradient.cs:
        * Mono.Cairo/SolidPattern.cs:
        * Mono.Cairo/Win32Surface.cs:
        * Mono.Cairo/Pattern.cs:
        * Mono.Cairo/SurfacePattern.cs:
        * Mono.Cairo/ImageSurface.cs:
        * Mono.Cairo/Cairo.cs:
        * Mono.Cairo/Gradient.cs:
        * Mono.Cairo/XlibSurface.cs:
        * Mono.Cairo/RadialGradient.cs: add remaining new API for cairo 1.2

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

18 years ago2006-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Jul 2006 19:42:40 +0000 (19:42 -0000)]
2006-07-01  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add the contents of LIBS to libmono_ldflags instead on solaris.

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

18 years ago2006-07-01 John Luke <john.luke@gmail.com>
John Luke [Sat, 1 Jul 2006 18:38:05 +0000 (18:38 -0000)]
2006-07-01  John Luke  <john.luke@gmail.com>

        * Mono.Cairo/FontType.cs:
        * Mono.Cairo/PatternType.cs: add new enums for cairo 1.2

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

18 years ago2006-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Jul 2006 15:55:56 +0000 (15:55 -0000)]
2006-07-01  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add a test for #77888.

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

18 years ago2006-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Jul 2006 15:54:25 +0000 (15:54 -0000)]
2006-07-01  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Fix passing of generic valuetypes.
Fixes #77888.

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

18 years ago2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 1 Jul 2006 14:52:03 +0000 (14:52 -0000)]
2006-07-01  Sebastien Pouliot  <sebastien@ximian.com>

* AsymmetricSignatureDeformatter.cs: Set the hash algorithm name from
the hash instance. Fix for bug #78744 by Diego Mesa Tabares.

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

18 years ago2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 1 Jul 2006 14:50:36 +0000 (14:50 -0000)]
2006-07-01  Sebastien Pouliot  <sebastien@ximian.com>

* RSAPKCS1SignatureDeformatterTest.cs: Added test case where
SetHashAlgorithm isn't called and the hash algorithm name is derived
from the hash instance. From bug #78744 by Diego Mesa Tabares.

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

18 years ago2006-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jun 2006 21:16:53 +0000 (21:16 -0000)]
2006-06-30  Zoltan Varga  <vargaz@gmail.com>

* libtest.c (mono_test_ref_vtype): Remove debug printfs.

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

18 years ago2006-06-30 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 30 Jun 2006 21:11:59 +0000 (21:11 -0000)]
2006-06-30  Chris Toshok  <toshok@ximian.com>

* DataGridTableStyleTest.cs: add a bunch of mirrored tests for the
default DataGridTableStyle.

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

18 years ago2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 30 Jun 2006 17:54:08 +0000 (17:54 -0000)]
2006-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageAttribute.cs: Fix namespace and split test for easier
search of a memory leak.

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

18 years ago2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 30 Jun 2006 17:50:33 +0000 (17:50 -0000)]
2006-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* System.Drawing_test.dll.sources: Added unit tests for SolidBrush.

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

18 years ago2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 30 Jun 2006 17:49:54 +0000 (17:49 -0000)]
2006-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* SolidBrushTest.cs: New. Unit tests for SolidBrush.

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

18 years ago2006-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jun 2006 16:29:25 +0000 (16:29 -0000)]
2006-06-30  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add -lsocket -lnsl to libmono_ldflags on solaris to fix the
mkbundle tests.

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

18 years ago2006-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jun 2006 16:12:04 +0000 (16:12 -0000)]
2006-06-30  Zoltan Varga  <vargaz@gmail.com>

* Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
gtk# apps.

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

18 years ago2006-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Jun 2006 15:40:56 +0000 (15:40 -0000)]
2006-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: patch from Sanghyeon Seo that implements
(Send|Receive)Timeout for 2.0.
* MulticastOption.cs: more 2.0 stuff.

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

18 years ago2006-06-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 30 Jun 2006 14:50:07 +0000 (14:50 -0000)]
2006-06-30  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  rectangle. Added some patches from eno from bug #78490 and fixed
  the arrow position for small up and down CPDrawScrollButtons.

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

18 years ago2006-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Jun 2006 10:26:08 +0000 (10:26 -0000)]
2006-06-30  Zoltan Varga  <vargaz@gmail.com>

* CultureInfo.cs: Add stubs for net 2.0 GetCultureInfo () methods.

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

18 years ago* icall.c (ves_icall_MonoMethod_get_base_definition): Simplify
Raja R Harinath [Fri, 30 Jun 2006 10:17:47 +0000 (10:17 -0000)]
* icall.c (ves_icall_MonoMethod_get_base_definition): Simplify
slightly: remove a shadow local variable.

[ I feel compelled to commit this after obsessing over the ugly
  three contiguous '}'.  Yeah, I'm ashamed :-) ]

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

18 years ago2006-06-30 Senganal T <tsenganal@novell.com>
Senganal T [Fri, 30 Jun 2006 10:10:49 +0000 (10:10 -0000)]
2006-06-30  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataRowTest2.cs : Added tests for new 2.0 methods in DataRow
* System.Data/DataRow.cs :
- SetAdded, SetModified : new methods in 2.0

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

18 years ago2006-06-30 Senganal T <tsenganal@novell.com>
Senganal T [Fri, 30 Jun 2006 09:58:19 +0000 (09:58 -0000)]
2006-06-30  Senganal T  <tsenganal@novell.com>

* System.Data.dll.sources:
- Add to build : System.Data/SerializationFormat.cs,
System.Data/DataSetDateTime.cs, System.Data/DataTableNewRowEventArgs.cs
System.Data/DataTableNewRowEventHandler.cs
- Remove from build : System.Data/ConflictOptions.cs,
System.Data/DbMetaData.cs, System.Data/FillOptions.cs,
System.Data/ResultSetSensitivity.cs,
System.Data/ResultSetOptions.cs,System.Data/UpdateOptions.cs
* System.Data/SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
DataTableNewRowEventHandler.cs : Added
* System.Data/SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
InRowChangingEventException.cs  MissingMappingAction.cs NoNullAllowedException.cs
CommandBehavior.cs PropertyCollection.cs CommandType.cs
UpdateStatus.cs ConflictOption.cs DataViewRowState.cs  Rule.cs
DataColumnCollection.cs :
2.0 api fixes.

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

18 years ago * MdiClient.cs: Don't bring the new child form to the front
Jackson Harper [Fri, 30 Jun 2006 07:00:49 +0000 (07:00 -0000)]
    * MdiClient.cs: Don't bring the new child form to the front
        * until
        it is activated (setting it as active does this), this makes the
        previously active forms titlebar get redrawn as inactive.

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

18 years ago * InternalWindowManager.cs: Remove some debug code.
Jackson Harper [Fri, 30 Jun 2006 06:36:40 +0000 (06:36 -0000)]
    * InternalWindowManager.cs: Remove some debug code.
        * Form.cs: When an MdiParent is set to null, the window is
        "detatched" and becomes a normal window.

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

18 years ago2006-06-29 Duncan Mak <duncan@novell.com>
Duncan Mak [Thu, 29 Jun 2006 16:37:54 +0000 (16:37 -0000)]
2006-06-29  Duncan Mak  <duncan@novell.com>

* WaitHandle.cs (CheckArray): Throw NotSupportedException if the
current thread is marked with the STAThreadAttribute. Fixes bug
#78455.

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

18 years ago2006-06-29 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 29 Jun 2006 16:23:58 +0000 (16:23 -0000)]
2006-06-29  Peter Dennis Bartok  <pbartok@novell.com>

* PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  with later controls

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

18 years ago2006-06-29 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 29 Jun 2006 15:26:17 +0000 (15:26 -0000)]
2006-06-29  Mike Kestner  <mkestner@novell.com>

* MenuAPI.cs: handle arrow keys in keynav state. Go active on down
arrow in keynav state.  Fixes #78682.

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

18 years ago* MethodInfoTest.cs (GetBaseDefinition): New test for
Raja R Harinath [Thu, 29 Jun 2006 12:39:47 +0000 (12:39 -0000)]
* MethodInfoTest.cs (GetBaseDefinition): New test for
MethodInfo.GetBaseDefinition.

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

18 years ago* icall.c (ves_icall_MonoMethod_get_base_definition): Return the
Raja R Harinath [Thu, 29 Jun 2006 12:38:15 +0000 (12:38 -0000)]
* icall.c (ves_icall_MonoMethod_get_base_definition): Return the
definition that introduces the virtual function slot.  Also fix Coverity #105.

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

18 years ago2006-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 Jun 2006 10:36:45 +0000 (10:36 -0000)]
2006-06-29  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Fix support
for dynamic assemblies. Fixes #78724.

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

18 years ago2006-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 29 Jun 2006 05:06:20 +0000 (05:06 -0000)]
2006-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* ApplicationSettingsBase.cs : When we use default value, convert it
  to proper type. Fixed bug #78654. Patch by Gareth Pearce.

* ApplicationSettingsBaseTest.cs : added test for bug #78654.

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

18 years ago2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
Peter Dennis Bartok [Wed, 28 Jun 2006 21:46:15 +0000 (21:46 -0000)]
2006-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  order (fixes #78393)

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

18 years ago- Missed this one in the previous 2.0 checkin
Peter Dennis Bartok [Wed, 28 Jun 2006 21:44:55 +0000 (21:44 -0000)]
- Missed this one in the previous 2.0 checkin

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

18 years agoChar.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
Kornél Pál [Wed, 28 Jun 2006 20:07:25 +0000 (20:07 -0000)]
Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.

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

18 years ago2006-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Jun 2006 20:06:07 +0000 (20:06 -0000)]
2006-06-28  Martin Baulig  <martin@ximian.com>

* darwin_stop_world.c, pthread_support.c: Committing a patch from
Allan Hsu <allan@imeem.com> to fix memory leaks; see bug #78628.

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

18 years ago2006-06-28 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 28 Jun 2006 20:01:15 +0000 (20:01 -0000)]
2006-06-28 Juraj Skripsky <js@hotfeet.ch>

* RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
test against with "^...$" if necessary. MS.NET does this too.

2006-06-28 Juraj Skripsky <js@hotfeet.ch>

* RegularExpressionValidatorTest.cs: check for automatic wrapping of
expression with "^...$".

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

18 years ago2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Jun 2006 19:35:18 +0000 (19:35 -0000)]
2006-06-28  Sebastien Pouliot  <sebastien@ximian.com>

* TestFont.cs: Expanded a test case to check for bug #78721 where the
LOGFONT structure must be initialized even if the ToLogFont call fails

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

18 years ago2006-06-28 Jonathan Pobst <monkey@ipobst.com>
Peter Dennis Bartok [Wed, 28 Jun 2006 17:47:57 +0000 (17:47 -0000)]
2006-06-28  Jonathan Pobst  <monkey@ipobst.com>

* AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  enumerations (FlagsAttribute, SerializableAttribute, added/removed
  values)

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

18 years ago2006-06-28 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 28 Jun 2006 17:28:54 +0000 (17:28 -0000)]
2006-06-28  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs: implement scroll wheel support. Fixes #78360.

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

18 years ago2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Jun 2006 17:23:07 +0000 (17:23 -0000)]
2006-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyGrid.cs,
  PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  item lines from other area (It also makes BackColor consistent and
  compatible with .NET). Fixed bug #78564.

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

18 years ago2006-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jun 2006 17:09:54 +0000 (17:09 -0000)]
2006-06-28  Zoltan Varga  <vargaz@gmail.com>

* marshal2.cs: Add tests for ByValTStr + Unicode encoding.

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

18 years ago2006-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 28 Jun 2006 17:00:43 +0000 (17:00 -0000)]
2006-06-28  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_string_to_byvalwstr): Fix this completely broken function.
Fixes #78722.

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

18 years ago2006-06-28 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Wed, 28 Jun 2006 16:54:36 +0000 (16:54 -0000)]
2006-06-28  Jonathan Chambers  <jonathan.chambers@ansys.com>

* PropertyGrid.cs: refresh toolbar when PropertySort is set.
Patch from Eno for #78555.

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

18 years ago2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Jun 2006 16:05:20 +0000 (16:05 -0000)]
2006-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* Socket.cs : use ConfigurationManager.GetSection() under NET_2_0.
  Also make sure to avoid NRE.

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

18 years agocopy resources before creating domain so web.config is seen by the runtime; serialize...
Andrew Skiba [Wed, 28 Jun 2006 15:38:12 +0000 (15:38 -0000)]
copy resources before creating domain so web.config is seen by the runtime; serialize WebTest between domains instead of copying field in MyData; add UserData property for custom data transfer in tests

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

18 years ago* System.Web_test.dll.sources: added WizardTest.cs
Vladimir Krasnov [Wed, 28 Jun 2006 15:27:08 +0000 (15:27 -0000)]
* System.Web_test.dll.sources: added WizardTest.cs
* WizardStepCollection.cs: Fixed Add methods to initialize WizardStep.Wizard property
* Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
Fixed GetStepType, if only one step present, it should be FinishStep
Fixed styles of tables for more accurate rendering, fixed Wizard buttons order
* nunitweb_config.xml: filtered onclick for input tags
* Added WizardTest.cs: Wizard control basic tests

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

18 years agokeep the inner exception
Andrew Skiba [Wed, 28 Jun 2006 15:18:22 +0000 (15:18 -0000)]
keep the inner exception

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

18 years ago2006-06-28 Senganal T <tsenganal@novell.com>
Senganal T [Wed, 28 Jun 2006 14:17:28 +0000 (14:17 -0000)]
2006-06-28  Senganal T <tsenganal@novell.com>

* Test/DataSetTest2.cs :  Removed ReadXml_Strm, ReadXml_Strg
ReadXml_ByTextReader, ReadXml_ByXmlReader :
Temporarily removed as these are failing, in a different
timezone, due to bug in DateTime.

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

18 years agoFix #78716
Raja R Harinath [Wed, 28 Jun 2006 12:44:39 +0000 (12:44 -0000)]
Fix #78716
* gmcs/generic.cs (TypeManager.InferParamsTypeArguments): If there are
no arguments, return 'false': nothing can be inferred.
* tests/gtest-279.cs: New test from #78716.

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

18 years agoreplace Dispose with Close for net 1.1
Andrew Skiba [Wed, 28 Jun 2006 12:18:48 +0000 (12:18 -0000)]
replace Dispose with Close for net 1.1

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