Sebastien Pouliot [Wed, 8 Nov 2006 14:48:57 +0000 (14:48 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeDeformatter.cs: Return (find) the SigningCertificate
even if the signature isn't verifiable. This is the behaviour required
for 2.0.
svn path=/trunk/mcs/; revision=67532
Sebastien Pouliot [Wed, 8 Nov 2006 14:48:16 +0000 (14:48 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X501Name.cs: Refactor ToString method to allow most options available
when using fx 2.0.
* X509Certificate.cs: Add methods to retrieve the Issuer and Subject
Distinguished Names in binary (ASN.1) form. Reverse (actually correct)
the text representation of Issuer and Subject for 2.0.
svn path=/trunk/mcs/; revision=67531
Sebastien Pouliot [Wed, 8 Nov 2006 14:45:24 +0000 (14:45 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X500DistinguishedNameTest.cs: Removed all NotWorking tags. Added
more Decode test cases.
* X509BasicConstraintsExtensionTest.cs: Added test case where the
extension is created using CryptoConfig.
* X509Certificate2Test.cs: Added test cases for GetCertContentType,
DER encoded certificates, PKCS#12 certificates and removed all
NotWorking tags.
* X509EnhancedKeyUsageExtensionTest.cs: Added test case where the
extension is created using CryptoConfig.
* X509KeyUsageExtensionTest.cs: Added test case where the extension is
created using CryptoConfig.
* X509SubjectKeyIdentifierExtensionTest.cs: Added test case where the
extension is created using CryptoConfig.
svn path=/trunk/mcs/; revision=67530
Sebastien Pouliot [Wed, 8 Nov 2006 14:39:52 +0000 (14:39 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X500DistinguishedName.cs: Fix most common cases. Some flags are
still not supported.
* X509Certificate2.cs: Fix importing PKCS#12 certificates (with keys)
in some cases. Implement GetCertContentType for Cert, Pfx and Pkcs12.
Implement ToString methods.
* X509ExtensionCollection.cs: Add an internal ctor that can populate
the collection from extensions coming from an Mono.Security.X509.
X509Certificate. CryptoConfig is used to allow extensibility to the
X509Extension class.
svn path=/trunk/mcs/; revision=67529
Everaldo Canuto [Wed, 8 Nov 2006 14:34:54 +0000 (14:34 -0000)]
Prevent toolbar to open more than one tooltip at same.
svn path=/trunk/mcs/; revision=67528
Sebastien Pouliot [Wed, 8 Nov 2006 14:33:01 +0000 (14:33 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X509CapiTest.cs: Update test cases to work under 2.0 (serial number
is reversed, actually fixed, in 2.0).
* X509Cert20Test.cs: Added new 2.0 specific tests for DER-encoded
certificates and PKCS#12 certificates.
* X509CertificateCas.cs: Update test cases to work under 2.0.
* X509CertificateTest.cs: Update test cases to work under 2.0.
* X509SpcTest.cs: Fix behaviour changes for Authenticode handling
under 2.0.
svn path=/trunk/mcs/; revision=67527
Igor Zelmanovich [Wed, 8 Nov 2006 14:31:21 +0000 (14:31 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
* DataBoundControl.cs: fixed:
ConfirmInitState method s called by
the DataBoundControl class in its OnLoad method.
svn path=/trunk/mcs/; revision=67526
Sebastien Pouliot [Wed, 8 Nov 2006 14:27:05 +0000 (14:27 -0000)]
Add System.Security.Cryptography.X509Certificates/X509Certificate20.cs to the build
svn path=/trunk/mcs/; revision=67525
Sebastien Pouliot [Wed, 8 Nov 2006 14:26:00 +0000 (14:26 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Add support for (2.0) X.509 extensions in
CreateFromName method. This allows the framework to be extensible with
new certificate extensions (syntax is missing from machine.config).
svn path=/trunk/mcs/; revision=67524
Sebastien Pouliot [Wed, 8 Nov 2006 14:25:32 +0000 (14:25 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Refactored 2.0 support (partial class) and added
some missing features. All unit tests now works in both 1.x and 2.0.
* X509Certificate20.cs: Partial class for 2.0 specific properties and
methods for X509Certificate class.
svn path=/trunk/mcs/; revision=67523
Sebastien Pouliot [Wed, 8 Nov 2006 14:25:11 +0000 (14:25 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X501Name.cs: Refactor ToString method to allow most options available
when using fx 2.0.
* X509Certificate.cs: Add methods to retrieve the Issuer and Subject
Distinguished Names in binary (ASN.1) form. Reverse (actually correct)
the text representation of Issuer and Subject for 2.0.
* X520Attributes.cs: Keep in sync with latest version from
Mono.Security.dll assembly (required for X501Name update).
svn path=/trunk/mcs/; revision=67522
Sebastien Pouliot [Wed, 8 Nov 2006 14:24:57 +0000 (14:24 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeDeformatter.cs: Return (find) the SigningCertificate
even if the signature isn't verifiable. This is the behaviour required
for 2.0.
svn path=/trunk/mcs/; revision=67521
Miguel de Icaza [Wed, 8 Nov 2006 14:21:30 +0000 (14:21 -0000)]
Add missing method
svn path=/trunk/mcs/; revision=67520
Vladislav Spivak [Wed, 8 Nov 2006 14:10:12 +0000 (14:10 -0000)]
svn path=/trunk/mcs/; revision=67519
Marek Habersack [Wed, 8 Nov 2006 13:58:24 +0000 (13:58 -0000)]
GetType and GetVirtualPathDependencies implementation for BuildManager
svn path=/trunk/mcs/; revision=67518
Marek Habersack [Wed, 8 Nov 2006 13:43:06 +0000 (13:43 -0000)]
A few changes related to App_*Resources and App_Code folders
svn path=/trunk/mcs/; revision=67517
Marek Habersack [Wed, 8 Nov 2006 13:14:16 +0000 (13:14 -0000)]
Removed unnecessary WriteLines
svn path=/trunk/mcs/; revision=67516
Andrew Skiba [Wed, 8 Nov 2006 13:06:57 +0000 (13:06 -0000)]
rename Grasshopper project
svn path=/trunk/mcs/; revision=67515
Igor Zelmanovich [Wed, 8 Nov 2006 12:57:58 +0000 (12:57 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: LoadControlState is called for controls
that added on Load and latter, for 1.x refactoring only
svn path=/trunk/mcs/; revision=67514
Everaldo Canuto [Wed, 8 Nov 2006 12:35:48 +0000 (12:35 -0000)]
Remove tooltips when ToolButton click events.
svn path=/trunk/mcs/; revision=67513
Andrew Skiba [Wed, 8 Nov 2006 12:34:58 +0000 (12:34 -0000)]
compile System.dll in GH
svn path=/trunk/mcs/; revision=67512
Marek Habersack [Wed, 8 Nov 2006 12:08:05 +0000 (12:08 -0000)]
Implementation of the App_Code folder compiler for ASP.NET 2.0
svn path=/trunk/mcs/; revision=67511
Everaldo Canuto [Wed, 8 Nov 2006 11:12:09 +0000 (11:12 -0000)]
Ignore right click for menu actions
svn path=/trunk/mcs/; revision=67510
Everaldo Canuto [Wed, 8 Nov 2006 06:27:58 +0000 (06:27 -0000)]
Fix MouseRelease to only release MouseState after create wParam for message
svn path=/trunk/mcs/; revision=67508
Andreia Gaita [Wed, 8 Nov 2006 02:59:15 +0000 (02:59 -0000)]
* Control.cs : Focus() now calls Select to set the Container's
Active Control and to give it focus. To avoid infinite recursion
(because ActiveControl also calls Focus at one point), a check
is made in Focus with the help of a new internal variable
is_focusing.
2006-11-07 Andreia Gaita <shana.ufie@gmail.com>
svn path=/trunk/mcs/; revision=67507
Mike Kestner [Tue, 7 Nov 2006 23:55:31 +0000 (23:55 -0000)]
2006-11-07 Mike Kestner <mkestner@novell.com>
* ListView.cs : raise OnSelectedIndexChanged in CreateHandle
if there's a selection. Fixes #79849.
svn path=/trunk/mcs/; revision=67504
Jonathan Pryor [Tue, 7 Nov 2006 23:27:20 +0000 (23:27 -0000)]
* Makefile.am: Add implementation macros for L_SET, L_INCR, and L_XTND.
* map.c: Make sure that L_SET, L_INCR, and L_XTND are defined. Lets
Mono_Posix_FromSeekFlags() work on Solaris, fixing Gnome Bugzilla 370081.
svn path=/trunk/mono/; revision=67502
Chris Toshok [Tue, 7 Nov 2006 23:01:16 +0000 (23:01 -0000)]
add a ToString test
svn path=/trunk/mcs/; revision=67501
Chris Toshok [Tue, 7 Nov 2006 22:52:28 +0000 (22:52 -0000)]
add two non-working StatusBarPanel tests
svn path=/trunk/mcs/; revision=67499
Dick Porter [Tue, 7 Nov 2006 21:26:42 +0000 (21:26 -0000)]
2006-11-07 Dick Porter <dick@ximian.com>
* DnsTest.cs: GetHostByAddressString5() should only throw
SocketException on pre-2.0 profiles
svn path=/trunk/mcs/; revision=67498
Dick Porter [Tue, 7 Nov 2006 21:26:17 +0000 (21:26 -0000)]
2006-11-07 Dick Porter <dick@ximian.com>
* socket-io.c (ves_icall_System_Net_Dns_GetHostByAddr_internal):
Put the old resolver behaviour back for pre-2.0 profiles.
svn path=/trunk/mono/; revision=67497
Robert Jordan [Tue, 7 Nov 2006 21:13:05 +0000 (21:13 -0000)]
2006-11-07 Robert Jordan <robertj@gmx.net>
* WaitHandle.cs: Don't assume Assembly.GetEntryAssembly () != null.
Fixes bug #79859.
svn path=/trunk/mcs/; revision=67496
Gert Driesen [Tue, 7 Nov 2006 20:37:22 +0000 (20:37 -0000)]
* PropertyGrid.cs: Avoid fixed height of help description label.
Fixes part of bug #79829.
svn path=/trunk/mcs/; revision=67491
Chris Toshok [Tue, 7 Nov 2006 20:23:34 +0000 (20:23 -0000)]
2006-11-07 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs: fix #79790 again, by using the
_NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
svn path=/trunk/mcs/; revision=67490
Everaldo Canuto [Tue, 7 Nov 2006 20:18:31 +0000 (20:18 -0000)]
Fix left click checking.
svn path=/trunk/mcs/; revision=67489
Chris Toshok [Tue, 7 Nov 2006 19:40:49 +0000 (19:40 -0000)]
enable more unit tests
svn path=/trunk/mcs/; revision=67488
Chris Toshok [Tue, 7 Nov 2006 19:40:37 +0000 (19:40 -0000)]
* ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
2006-11-07 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67487
Chris Toshok [Tue, 7 Nov 2006 19:34:01 +0000 (19:34 -0000)]
enable this test too
svn path=/trunk/mcs/; revision=67486
Chris Toshok [Tue, 7 Nov 2006 19:31:45 +0000 (19:31 -0000)]
this test is working now
svn path=/trunk/mcs/; revision=67485
Chris Toshok [Tue, 7 Nov 2006 19:31:15 +0000 (19:31 -0000)]
* RelatedPropertyManager.cs: set property_name in our ctor. fixes
PropertyManager unit tests.
* PropertyManager.cs: make property_name internal.
2006-11-07 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67484
Chris Toshok [Tue, 7 Nov 2006 19:12:57 +0000 (19:12 -0000)]
get rid of the ^M's, and also fix up the nonworking imagelist and imemode tests
svn path=/trunk/mcs/; revision=67483
Chris Toshok [Tue, 7 Nov 2006 19:12:19 +0000 (19:12 -0000)]
2006-11-07 Chris Toshok <toshok@ximian.com>
* ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
pass a unit test. Also, don't set image_index to anything in
response to setting the ImageList property.
svn path=/trunk/mcs/; revision=67482
Chris Toshok [Tue, 7 Nov 2006 18:52:45 +0000 (18:52 -0000)]
this test works now
svn path=/trunk/mcs/; revision=67481
Paolo Molaro [Tue, 7 Nov 2006 18:47:15 +0000 (18:47 -0000)]
Tue Nov 7 19:45:51 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-exceptions.c: 0 is a valid local var offset in some
architectures, don't assert (bug #78508).
svn path=/trunk/mono/; revision=67480
Gert Driesen [Tue, 7 Nov 2006 18:44:31 +0000 (18:44 -0000)]
* DirectoryTest.cs: Use Assert class intead of deriving from
deprecated Assertion class. Only ignore CreationTime test on unix.
Removed extra tabs.
svn path=/trunk/mcs/; revision=67479
Marek Safar [Tue, 7 Nov 2006 18:24:51 +0000 (18:24 -0000)]
Add new test case.
svn path=/trunk/mcs/; revision=67478
Marek Safar [Tue, 7 Nov 2006 18:24:02 +0000 (18:24 -0000)]
2006-11-07 Marek Safar <marek.safar@gmail.com>
* String.cs (LastIndexOf): If value is Empty, the return value is
the start index position in value.
svn path=/trunk/mcs/; revision=67477
Atsushi Eno [Tue, 7 Nov 2006 18:21:49 +0000 (18:21 -0000)]
2006-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlCustomFormatter.cs : consider null base64 byte array value.
Fixed bug #79805.
svn path=/trunk/mcs/; revision=67476
Atsushi Eno [Tue, 7 Nov 2006 18:19:47 +0000 (18:19 -0000)]
eol-style:native
svn path=/trunk/mcs/; revision=67475
Atsushi Eno [Tue, 7 Nov 2006 18:17:19 +0000 (18:17 -0000)]
2006-11-07 Atsushi Enomoto <atsushi@ximian.com>
* ServiceDescriptionSerializerBase2.cs :
sync with sys.xml.serialization API updates.
svn path=/trunk/mcs/; revision=67474
Atsushi Eno [Tue, 7 Nov 2006 18:14:55 +0000 (18:14 -0000)]
merge r67228-r67235, r67237, r67251 and r67256-67259 to trunk (they are
non-breaking parts yet).
svn path=/trunk/mcs/; revision=67473
Everaldo Canuto [Tue, 7 Nov 2006 18:12:11 +0000 (18:12 -0000)]
Toolbar mouse clicks fixes
svn path=/trunk/mcs/; revision=67472
Atsushi Eno [Tue, 7 Nov 2006 18:11:37 +0000 (18:11 -0000)]
2006-11-07 Atsushi Enomoto <atsushi@ximian.com>
* xmltool.cs : compile schema to validate the schema itself. It is
useful when there is no instance document to valiate.
svn path=/trunk/mcs/; revision=67471
Chris Toshok [Tue, 7 Nov 2006 17:58:35 +0000 (17:58 -0000)]
2006-11-07 Chris Toshok <toshok@ximian.com>
* DataGrid.cs: make the back and parent row buttons a little less
ugly.
svn path=/trunk/mcs/; revision=67470
Dick Porter [Tue, 7 Nov 2006 17:24:28 +0000 (17:24 -0000)]
2006-11-07 Dick Porter <dick@ximian.com>
* DateTimeTest.cs: TestToString(): Must specify '+0' for GMT.
* TimeZoneTest.cs: Daylight saving ends at 2am in GMT. (This test
fails on MS, they return "01/01/0001 00:00:00")
svn path=/trunk/mcs/; revision=67469
Dick Porter [Tue, 7 Nov 2006 17:20:53 +0000 (17:20 -0000)]
2006-11-07 Dick Porter <dick@ximian.com>
* DirectoryTest.cs: CreateDirectoryAlreadyExistsAsFile() should
expect an IOException in the 2.0 profile
svn path=/trunk/mcs/; revision=67468
Dick Porter [Tue, 7 Nov 2006 17:19:34 +0000 (17:19 -0000)]
2006-11-07 Dick Porter <dick@ximian.com>
* Directory.cs: CreateDirectory() should only throw IOException in
the 2.0 profile if a file already exists with the same name, not a
directory.
svn path=/trunk/mcs/; revision=67467
Paolo Molaro [Tue, 7 Nov 2006 16:35:05 +0000 (16:35 -0000)]
Tue Nov 7 18:17:52 GMT 2006 Paolo Molaro <lupus@ximian.com>
* exceptions-arm.c: fixed off by one error in stack walk code.
svn path=/trunk/mono/; revision=67466
Jackson Harper [Tue, 7 Nov 2006 16:28:34 +0000 (16:28 -0000)]
* TextControl.cs: There is an initial "fake" line in the
* document,
this is now a soft break line, so that an extra line feed
doesn't
get added to the end of documents.
`
svn path=/trunk/mcs/; revision=67465
Sebastien Pouliot [Tue, 7 Nov 2006 16:21:42 +0000 (16:21 -0000)]
System_test.dll.sources: Add unit tests for System.ComponentModel.CollectionConverter to the build.
svn path=/trunk/mcs/; revision=67464
Sebastien Pouliot [Tue, 7 Nov 2006 16:20:17 +0000 (16:20 -0000)]
2006-11-07 Sebastien Pouliot <sebastien@ximian.com>
* CollectionConverterTest.cs: New. Some unit tests done while tracking
an issue.
svn path=/trunk/mcs/; revision=67463
Jackson Harper [Tue, 7 Nov 2006 16:07:39 +0000 (16:07 -0000)]
* TextBoxBase.cs: When converting to Text don't put line breaks
* in
for soft line breaks.
svn path=/trunk/mcs/; revision=67462
Paolo Molaro [Tue, 7 Nov 2006 15:57:05 +0000 (15:57 -0000)]
Tue Nov 7 16:56:24 CET 2006 Paolo Molaro <lupus@ximian.com>
* threadpool.c: precise GC and locking fixes.
svn path=/trunk/mono/; revision=67461
Gonzalo Paniagua Javier [Tue, 7 Nov 2006 15:30:23 +0000 (15:30 -0000)]
2006-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationHost.cs: the new Directory code throws if the directory
exists, so handle that as gracefully as possible.
svn path=/trunk/mcs/; revision=67460
Chris Toshok [Tue, 7 Nov 2006 15:21:02 +0000 (15:21 -0000)]
2006-11-07 Chris Toshok <toshok@ximian.com>
[ fix bug #79778 ]
* CurrencyManager.cs: if the list is readonly, don't bother
checking if IBindingList.AllowNew is true.
* ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
for non-DataRowView datasources.. or rather, make it not crash.
(DataGridPaintRelationRow): make sure we limit the row painting to
the area not covered by the row header, and make our cell width at
least large enough to cover the relation area. This allows grids
that have relations but no rows to render correctly.
(DataGridPaintRowContents): same type of changes here.
(SetDataSource): move back to always calling
CalcAreasAndInvalidate. this fixes a crash/drawing problem when
navigating back through relations.
(HitTest): handle the case where we have no cells but have
relations. Right now we generate a hit in cell 0 of whatever the
row is, not sure if this is strictly correct, but it works for our
purposes.
* DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
bother doing anything.
svn path=/trunk/mcs/; revision=67459
Jonathan Pobst [Tue, 7 Nov 2006 14:52:52 +0000 (14:52 -0000)]
2006-11-07 Jonathan Pobst <monkey@jpobst.com>
* StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
early version of StatusStrip. Not responsible for eaten
application or firstborn children.
svn path=/trunk/mcs/; revision=67458
Miguel de Icaza [Tue, 7 Nov 2006 14:37:40 +0000 (14:37 -0000)]
Fix the crasher on XCode
svn path=/trunk/mcs/; revision=67457
Andrew Skiba [Tue, 7 Nov 2006 14:07:22 +0000 (14:07 -0000)]
exclude using PrebuiltSystem on TARGET_JVM
svn path=/trunk/mcs/; revision=67456
Andrew Skiba [Tue, 7 Nov 2006 14:01:58 +0000 (14:01 -0000)]
Implement event handler list according to MS definition
svn path=/trunk/mcs/; revision=67455
Marek Habersack [Tue, 7 Nov 2006 13:57:10 +0000 (13:57 -0000)]
A default value of WarningLevel change and implementation of a missing API
svn path=/trunk/mcs/; revision=67454
Andrew Skiba [Tue, 7 Nov 2006 13:22:54 +0000 (13:22 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=67453
Igor Zelmanovich [Tue, 7 Nov 2006 12:58:09 +0000 (12:58 -0000)]
fix directive
svn path=/trunk/mcs/; revision=67451
Andrew Skiba [Tue, 7 Nov 2006 12:55:44 +0000 (12:55 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=67450
Igor Zelmanovich [Tue, 7 Nov 2006 12:53:08 +0000 (12:53 -0000)]
fix directive
svn path=/trunk/mcs/; revision=67449
Andrew Skiba [Tue, 7 Nov 2006 12:50:31 +0000 (12:50 -0000)]
add an assert to test
svn path=/trunk/mcs/; revision=67448
Andrew Skiba [Tue, 7 Nov 2006 12:48:26 +0000 (12:48 -0000)]
TARGET_JVM and test message
svn path=/trunk/mcs/; revision=67447
Igor Zelmanovich [Tue, 7 Nov 2006 12:27:48 +0000 (12:27 -0000)]
fix directive
svn path=/trunk/mcs/; revision=67446
Paolo Molaro [Tue, 7 Nov 2006 10:31:07 +0000 (10:31 -0000)]
Test case for bug #79744.
svn path=/trunk/mono/; revision=67445
Paolo Molaro [Tue, 7 Nov 2006 10:28:25 +0000 (10:28 -0000)]
Tue Nov 7 11:27:26 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.h, mini.c: more precise tracking of type load exceptions.
svn path=/trunk/mono/; revision=67444
Andrew Skiba [Tue, 7 Nov 2006 10:26:38 +0000 (10:26 -0000)]
TARGET_JVM
svn path=/trunk/mcs/; revision=67443
Andrew Skiba [Tue, 7 Nov 2006 10:23:40 +0000 (10:23 -0000)]
fallback for serialization problems
svn path=/trunk/mcs/; revision=67442
Paolo Molaro [Tue, 7 Nov 2006 10:06:02 +0000 (10:06 -0000)]
Tue Nov 7 11:02:42 CET 2006 Paolo Molaro <lupus@ximian.com>
* class.c: don't load types that have an explicit unaligned
managed reference. Provide better info in the TypeLoad exception.
Part of the fix for bug #79744.
* object.c: use the correct check for class type load issues.
svn path=/trunk/mono/; revision=67440
Yoni Klain [Tue, 7 Nov 2006 10:02:52 +0000 (10:02 -0000)]
Increase tests' correctness as now they better follow the .NET behavior, and
Cleanup the ondotnet target of the System.Web 2.0 test suite (0 failures), making it an efficient reference point for new tests verification.
svn path=/trunk/mcs/; revision=67439
Andrew Skiba [Tue, 7 Nov 2006 08:15:16 +0000 (08:15 -0000)]
ifdef TARGET_JVM
svn path=/trunk/mcs/; revision=67437
Gert Driesen [Tue, 7 Nov 2006 07:24:52 +0000 (07:24 -0000)]
* TabControlTest.cs: Added test for bug #79847.
svn path=/trunk/mcs/; revision=67435
Chris Toshok [Tue, 7 Nov 2006 02:34:01 +0000 (02:34 -0000)]
2006-11-06 Chris Toshok <toshok@ximian.com>
* TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
call GetTabRect with a -1 index. Fixes #79847.
svn path=/trunk/mcs/; revision=67428
Jackson Harper [Tue, 7 Nov 2006 01:58:46 +0000 (01:58 -0000)]
* TreeNodeCollection.cs: Update scrollbars after clearing.
svn path=/trunk/mcs/; revision=67427
Chris Toshok [Tue, 7 Nov 2006 01:46:09 +0000 (01:46 -0000)]
* NumericUpDown.cs: fix the ToString method for some unit test
love.
2006-11-06 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67426
Chris Toshok [Tue, 7 Nov 2006 01:45:58 +0000 (01:45 -0000)]
clean these up a bit, and enable most of the numeric updown tests (the EditText/Validate test is still NotWorking)
svn path=/trunk/mcs/; revision=67425
Chris Toshok [Tue, 7 Nov 2006 01:00:39 +0000 (01:00 -0000)]
add test for initial SelectedGridItem value not being null
svn path=/trunk/mcs/; revision=67424
Chris Toshok [Tue, 7 Nov 2006 00:56:22 +0000 (00:56 -0000)]
2006-11-06 Chris Toshok <toshok@ximian.com>
* PropertyGrid.cs:
- set the initial SelectedGridItem if we can.
- Exclude non-mergable properties only if we're merging > 1
object. Merging 1 object isn't really merging, obviously.
- Handle PropertySort.NoSort just like Alphabetical, which is
wrong of course, but at least gets things on the screen.
* PropertyGridView.cs:
- Add method "FindFirstItem" which finds the first property grid
item, so we can select it by default.
- make use of GridEntry.CanResetValue.
- Don't call RedrawBelowItemOnExpansion here anymore, the
individual GridEntry's will do that.
- Remove the ITypeDescriptorContextImpl internal class.
* GridEntry.cs:
- this class needs to implement ITypeDescriptorContext, as it's
what MS's PropertyDescriptorGridEntry does, which means we can
remove the ITypeDescriptorContextImpl internal class from
PropertyGrid.cs. This fixes the crashing portion of bug #79829.
- keep a reference to our PropertyGridView, and move the call to
RedrawBelowItemOnExpansion here from PGV. This means
programmaticly setting Expanded actually does something visible.
- add a CanResetValue() function which takes into account our
possibly multiple "selected_objects" in the merged case. Shifting
PropertyGridView to use this method fixes another unreported
crasher found running the test for #79829.
- when Top or Bounds is updated, make sure the PropertyGridTextBox
is updated to reflect this.
* CategoryGridEntry.cs: the ctor takes the PGV now.
svn path=/trunk/mcs/; revision=67423
Jackson Harper [Mon, 6 Nov 2006 20:57:46 +0000 (20:57 -0000)]
* TextControl.cs: These are 1 based.
* TextBoxBase.cs: When setting the selected text, don't change
* the
selected text tags, this is done by ReplaceText, just position
the
cursor at the end of the new text.
svn path=/trunk/mcs/; revision=67417
Alexander Olk [Mon, 6 Nov 2006 20:45:09 +0000 (20:45 -0000)]
2006-11-06 Alexander Olk <alex.olk@googlemail.com>
* ListView.cs: Allow label edit only when, when LabelEdit is
set to true.
svn path=/trunk/mcs/; revision=67416
Jackson Harper [Mon, 6 Nov 2006 20:32:52 +0000 (20:32 -0000)]
* TextControl.cs: If a suitable wrapping position isn't found,
just wrap right in the middle of a word.
svn path=/trunk/mcs/; revision=67415
Alexander Olk [Mon, 6 Nov 2006 20:18:32 +0000 (20:18 -0000)]
2006-11-06 Alexander Olk <alex.olk@googlemail.com>
* ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
bug #79820.
svn path=/trunk/mcs/; revision=67414
Jackson Harper [Mon, 6 Nov 2006 19:08:07 +0000 (19:08 -0000)]
* TreeView.cs: Can't use the VisibleCount property when setting
scrollbar heights, because this doesn't take into account
whether
or not the horz scrollbar just came visible.
svn path=/trunk/mcs/; revision=67412
Everaldo Canuto [Mon, 6 Nov 2006 18:11:52 +0000 (18:11 -0000)]
Deactivate menu on mouse up when menus it is already activated
svn path=/trunk/mcs/; revision=67411
Dick Porter [Mon, 6 Nov 2006 16:45:44 +0000 (16:45 -0000)]
2006-11-03 Jensen Somers <jensen.somers@gmail.com>
* Directory.cs: CreateDirectory() should throw IOException if a
file or directory with the same name already exists, in the 2.0
profile. Fixes bug 79806.
svn path=/trunk/mcs/; revision=67410
Paolo Molaro [Mon, 6 Nov 2006 16:09:40 +0000 (16:09 -0000)]
Test case for bug #77788.
svn path=/trunk/mono/; revision=67409
Paolo Molaro [Mon, 6 Nov 2006 16:08:57 +0000 (16:08 -0000)]
Mon Nov 6 17:07:43 CET 2006 Paolo Molaro <lupus@ximian.com>
* class.c: enforce alignment of fields with managed references
even when Pack=1 is forced by the user (bug #77788).
svn path=/trunk/mono/; revision=67408