mono.git
17 years ago2007-02-16 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 16 Feb 2007 23:11:30 +0000 (23:11 -0000)]
2007-02-16  Andreia Gaita  <avidigal@novell.com>

* PrintPreviewControl/PrintPreviewDialog: Properly dispose of
print preview images.

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

17 years ago2007-02-16 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 16 Feb 2007 23:10:35 +0000 (23:10 -0000)]
2007-02-16  Andreia Gaita  <avidigal@novell.com>

Redesign how and when cups gets called to minimize
p/invokes, implements caching of printers and printer
settings as per calberto's patch - #79822, plotter detection,
duplex, fixes for image disposing, code modularization,
misc. fixes.

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

17 years ago2007-02-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Feb 2007 22:45:19 +0000 (22:45 -0000)]
2007-02-16  Marek Safar <marek.safar@gmail.com>

* Enumerable.cs, Queryable.cs: Remove Extension attribute.

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

17 years ago2007-02-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Feb 2007 22:37:58 +0000 (22:37 -0000)]
2007-02-16  Marek Safar  <marek.safar@gmail.com>

* Expression_T.cs: Derives from lambda.

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

17 years ago2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Feb 2007 21:58:22 +0000 (21:58 -0000)]
2007-02-16  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Fix some p/invoke definitions (int versus uint)
and add more for metafile functions.
* Image.cs: Fix usage of corrected p/invoke signatures.

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

17 years ago * FileDialog.cs: After changing the name of the folder, we have
Jackson Harper [Fri, 16 Feb 2007 20:33:51 +0000 (20:33 -0000)]
    * FileDialog.cs: After changing the name of the folder, we have
        * to
        make sure that it is created, or that we pop up an error because
        it already exists.

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

17 years ago * ListView.cs: Make AfterLabelEdit work correctly.
Jackson Harper [Fri, 16 Feb 2007 20:32:08 +0000 (20:32 -0000)]
    * ListView.cs: Make AfterLabelEdit work correctly.

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

17 years ago2007-02-16 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 16 Feb 2007 20:26:02 +0000 (20:26 -0000)]
2007-02-16  Dick Porter  <dick@ximian.com>

* threadpool.c (append_job): Fix fast-path array handling, so it's
less likely the array will grow exponentially when the load is
heavy.

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

17 years ago* monoresgen.cs: Added support for /useSourcePath option (2.0 only).
Gert Driesen [Fri, 16 Feb 2007 20:07:32 +0000 (20:07 -0000)]
* monoresgen.cs: Added support for /useSourcePath option (2.0 only).
Fixes bug #80571. Update usage instructions. When Exception is
TargetInvocationException, and an InnerException is available then use
that one instead. Support absolute filenames for resource files.

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

17 years ago* TypeDescriptorTests.cs: Use Assert instead of deriving from
Gert Driesen [Fri, 16 Feb 2007 20:03:04 +0000 (20:03 -0000)]
* TypeDescriptorTests.cs: Use Assert instead of deriving from
deprecated Assertion. Added test for component that has a site without
an ITypeDescriptorFilterService. Fixes bug #80836.
* TypeDescriptor.cs: Do not assume that an ISite always has an
ITypeDescriptorFilterService. Fixes bug #80836.

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

17 years ago2007-02-16 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 16 Feb 2007 18:46:02 +0000 (18:46 -0000)]
2007-02-16  Geoff Norton  <gnorton@customerdna.com>

        * SmtpClient.cs: Dont send bare LF.  Send <CR><LF> regardless
        of platform.  (ref: http://cr.yp.to/docs/smtplf.html)

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

17 years agoFri Feb 16 19:17:30 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 16 Feb 2007 18:20:07 +0000 (18:20 -0000)]
Fri Feb 16 19:17:30 CET 2007 Paolo Molaro <lupus@ximian.com>

* metadata-internals.h, loader.c: fix dllmap lookup order
for non-function maps, too, and prepare for fallback code.

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

17 years ago * X11Dnd.cs: Implement aliases on mime handlers, so things like
Jackson Harper [Fri, 16 Feb 2007 18:07:25 +0000 (18:07 -0000)]
    * X11Dnd.cs: Implement aliases on mime handlers, so things like
        System.String are mapped to text.
        - Handle dataobjects, getting all the possible formats out of
          them
        - We dont need the drag event args before we give feedback. This
        allows feedback cursors to be immediate before selections have
        been converted.

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

17 years ago * TextBoxBase.cs: Modified the method for inserting images to
Jackson Harper [Fri, 16 Feb 2007 15:13:41 +0000 (15:13 -0000)]
    * TextBoxBase.cs: Modified the method for inserting images to
        taking a line and position instead of tag and position.
        * RichTextBox.cs: Handle PngBlip data by inserting the png image
        into the RTF file.
        * TextControl.cs: Allow images to be inserted as the first tag
        * of
        a line.
        - Fix some off by one issues when we assume the first tag is a
        text tag, not an image tag.

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

17 years agoTypos
Alp Toker [Fri, 16 Feb 2007 14:52:46 +0000 (14:52 -0000)]
Typos

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

17 years agoRevert accidental commit - this change is not accepted yet
Marek Habersack [Fri, 16 Feb 2007 14:27:17 +0000 (14:27 -0000)]
Revert accidental commit - this change is not accepted yet

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

17 years agoRevert accidental commit - this change is not accepted yet
Marek Habersack [Fri, 16 Feb 2007 14:25:48 +0000 (14:25 -0000)]
Revert accidental commit - this change is not accepted yet

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

17 years agoFix culture problems of the control compiler System.Web.Compilation/ChangeLog System...
Marek Habersack [Fri, 16 Feb 2007 14:23:07 +0000 (14:23 -0000)]
Fix culture problems of the control compiler System.Web.Compilation/ChangeLog System.Web.Compilation/TemplateControlCompiler.cs

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

17 years agoFix for bug 80808
Marek Habersack [Fri, 16 Feb 2007 14:20:46 +0000 (14:20 -0000)]
Fix for bug 80808

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

17 years ago2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Feb 2007 14:15:16 +0000 (14:15 -0000)]
2007-02-16  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageCodecInfo.cs: Add missing test case for TIFF codec;

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

17 years ago2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Feb 2007 13:11:56 +0000 (13:11 -0000)]
2007-02-16  Sebastien Pouliot  <sebastien@ximian.com>

* Random.cs: Fix exception messages ("then" -> "than"). Spotted by
Mark A. Nicolosi (#80873).

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

17 years agoUpdate:
Raja R Harinath [Fri, 16 Feb 2007 11:06:47 +0000 (11:06 -0000)]
Update:
- remove reference to non-existant testcase
- note exact nature of regression of gcs1112-3.cs

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

17 years ago* ResourceReader.cs: Fixed typo.
Gert Driesen [Fri, 16 Feb 2007 07:56:21 +0000 (07:56 -0000)]
* ResourceReader.cs: Fixed typo.

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

17 years ago * KeysInit.cs:
Jackson Harper [Fri, 16 Feb 2007 04:00:23 +0000 (04:00 -0000)]
    * KeysInit.cs:
        * Minor.cs:
        * RTF.cs: Add support for parsing pngblip data.  These are hex
        encoded strings that represent a PNG image.

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

17 years agoFix the FontUnit cultural issue
Marek Habersack [Fri, 16 Feb 2007 01:56:20 +0000 (01:56 -0000)]
Fix the FontUnit cultural issue

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

17 years ago2007-02-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Feb 2007 01:01:49 +0000 (01:01 -0000)]
2007-02-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Set focus to ListView when ItemControl gets a
WM_RBUTTONDOWN message, to mimic .Net behaviour.
Fixes part of #80467.

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

17 years agoUnseal the classes... and I still don't like it :P
Marek Habersack [Fri, 16 Feb 2007 00:59:39 +0000 (00:59 -0000)]
Unseal the classes... and I still don't like it :P

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

17 years agoNew tests.
Marek Safar [Thu, 15 Feb 2007 23:29:14 +0000 (23:29 -0000)]
New tests.

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

17 years agoExtension method tests.
Marek Safar [Thu, 15 Feb 2007 23:25:35 +0000 (23:25 -0000)]
Extension method tests.

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

17 years ago2007-02-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Feb 2007 23:22:03 +0000 (23:22 -0000)]
2007-02-15  Marek Safar  <marek.safar@gmail.com>

C# 3.0 extension methods.

* attribute.cs (Error_MisusedExtensionAttribute): Extension attribute
cannot be used directly.

* class.cs (Class.Emit): Emit extension attribute if any class method
is extension method.
(Method.Define): Add basic extension method validation conditions.
(Method.Emit): Emit extension attribute for method.

* codegen.cs (AssemblyClass): Emit extension attribute if at least one
extension method exists. Currently we follow same approach as Microsoft
does, emit even if a method or a class are private but this can change
later.

* cs-parser.jay: Add handling of `this' keyword in method parameters
context.

* decl.cs (DeclSpace.IsStaticClass): New property.
(MemberCache.FindExtensionMethods): Looks for extension methods with
defined name and extension type.

* doc.cs: Updated after OverloadResolve changes.

* driver.cs: Add new soft reference to System.Core.dll.

* ecore.cs (MethodLookup): Can return only MethodGroupExpr.
(ExtensionMethodGroupExpr): Represents group of extension methods.

* expression.cs (Invocation): Moved methods BetterConversion, MoreSpecific,
BetterFunction, IsOverride, IsAncestralType, OverloadResolve
to MethodGroupExpr and made non-static for easier customization.
(Invocation.DoResolve): Add extension method lookup when no standard
method was found.
(MemberAccess.DoResolve): Try extension methods if no member exists.

* modifiers.cs: Add METHOD_EXTENSION modifier.

* namespace.cs (RegisterExtensionMethodClass): Register class namespace
as well as candidate extension type.
(ComputeNamespaces): When assembly constains extension methods registers
them.
(Namespace.RegisterExternalExtensionMethodClass): Register type for later
extension method lookup.
(Namespace.LookupExtensionMethod): Looks for extension method in this
namespace.
(NamespaceEntry.LookupExtensionMethod): Does extension methods lookup to
find a method which matches name and extensionType.

* parameter.cs (Parameter): Add This modifer.
(HasExtensionMethodModifier): New property.
(Resolve): Add extension parameter check.
(ModFlags): turned to property to exclude this modifier as it is not real
parameter modifier.
(Parameters): Implemented ExtensionMethodType and HasExtensionMethodType.

* support.cs (ParameterData): Add ExtensionMethodType.
(ReflectionParameters): Implemented ExtensionMethodType interface property.

* typemanager.cs: Add type and ctor extension attribute type.

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

17 years ago2007-02-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Feb 2007 19:45:26 +0000 (19:45 -0000)]
2007-02-15  Miguel de Icaza  <miguel@novell.com>

* report.cs (DisableErrors, EnableErrors): used to prevent error
output when we are "trying" to compile various methods with
different types.

* ecore.cs (Expression): Add Clone method that calls the virtual
CloneTo method.  The current CloneTo method in Expression throws
an exception so we can track down all the places where this must
be implemented (not using abstract, because that would be a lot of
up-front-work before we can start testing the implementation
idea).

Important: we only need Clone capabilities for expressions created
by the parser, as the expressions we will be cloning are
expressions in the pre-resolved state.   This vastly simplifies
the work required.

(SimpleName): Add CloneTo that does nothing.
(EmptyCast): Add CloneTo.

* expression.cs (Binary): Implement CloneTo.
(Invocation.IsApplicable): Store the current ec in
EmitContext.TempEc and restore it on return.  This is used so we
do not have to sprinkle hundres of methods with an extra
EmitContext, we know that the only user is the lambda expression
ImplicitConversionExists code.

(Argument): Add Cloning capabilities.
(LocalVariableReference, ParenthesizedExpression, Unary, Probe,
Cast, Conditional, ArrayCreation, InvocationOrCast, Invocation,
ArglistAccess, ArgList, TypeOf, SizeOf, CheckedExpr,
UnCheckedExpr, ElementAccess, BaseAccess, BaseIndexerAccess,
IndexerAccess): Add Clone capability.

(LocalVariableReference, This): TODO: needs cloned Block mapping.

(Argument): Add cloning capability.

* assign.cs (Assign): Implement CloneTo.

* anonymous.cs (ImplicitStandardConversionExists): Make virtual.

* lambda.cs (ImplicitStandardConversionExists): Implement lambda
version by calling Convert with the EmitContext (that we are
currently storing in ec, this is not great, but will do for now,
to avoid passing EmitContext parameters to hundreds of functions
that do not need them now).

(SetExpression): Remove, it is not needed.

(ContextualReturn): Implement CloneTo.

* statement.cs (Statement): Implement cloning infrastructure,
similar to expressions.

(Block): Partial implementation of Clone for statements.

(Return): Implement clone.

* constant.cs (Constant.CloneTo): New method, does nothing.

* codegen.cs (TempEc): Add a static EmitContext as a temporary
solution, until we decide how to exactly do this.

2007-02-15  Miguel de Icaza  <miguel@novell.com>

* Remove the call to SetExpression for lambda expressions, we do
not actually need it.

Remove expression tracking code as its not needed.

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

17 years agoReapply the patch from Marek from 72793
Miguel de Icaza [Thu, 15 Feb 2007 19:40:48 +0000 (19:40 -0000)]
Reapply the patch from Marek from 72793

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

17 years ago2007-02-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Feb 2007 19:40:34 +0000 (19:40 -0000)]
2007-02-15  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItemTest.cs: BehaviorImageList fails on *nix due to a bug in
libgdiplus: #80842.  Marked as Ignore for now, will re-enable when
bug is fixed.

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

17 years agoAdd
Miguel de Icaza [Thu, 15 Feb 2007 17:40:13 +0000 (17:40 -0000)]
Add

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

17 years agomore renames of vmwcsproj to csproj
Noam Lampert [Thu, 15 Feb 2007 17:17:01 +0000 (17:17 -0000)]
more renames of vmwcsproj to csproj

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

17 years agofixed test
Igor Zelmanovich [Thu, 15 Feb 2007 15:44:19 +0000 (15:44 -0000)]
fixed test

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

17 years agoGrasshopper now uses csproj instead of vmwcsproj
Noam Lampert [Thu, 15 Feb 2007 15:24:09 +0000 (15:24 -0000)]
Grasshopper now uses csproj instead of vmwcsproj

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

17 years ago2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 15 Feb 2007 15:09:13 +0000 (15:09 -0000)]
2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>

* BaseValidator: ControlPropertiesValid is called on PreRender
* CompareValidator.cs:
* RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.

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

17 years ago2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 15 Feb 2007 13:23:04 +0000 (13:23 -0000)]
2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>

* BaseCompareValidator.cs: fixed: support for type=Currency on client side.

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

17 years ago2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Feb 2007 11:44:26 +0000 (11:44 -0000)]
2007-02-15  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : character filtering is needed for
  OrdinalIgnoreCase in 2.0 profile. Fixed bug #80865.

* CompareInfoTest.cs : added test for bug #80865.

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

17 years agorename vmwcsproj to csproj
Noam Lampert [Thu, 15 Feb 2007 11:07:53 +0000 (11:07 -0000)]
rename vmwcsproj to csproj

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

17 years agoChanges due to rename of vmwcsproj to csproj
Noam Lampert [Thu, 15 Feb 2007 11:06:29 +0000 (11:06 -0000)]
Changes due to rename of vmwcsproj to csproj

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

17 years agoRemove XmlTool20.csproj old VS project, to make room for grasshopper project file
Noam Lampert [Thu, 15 Feb 2007 10:47:47 +0000 (10:47 -0000)]
Remove XmlTool20.csproj old VS project, to make room for grasshopper project file

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

17 years agofixed tests
Igor Zelmanovich [Thu, 15 Feb 2007 10:27:04 +0000 (10:27 -0000)]
fixed tests

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

17 years ago* DateTimePickerTest.cs: Use OSVersion to determine whether to call
Rolf Bjarne Kvinge [Thu, 15 Feb 2007 09:09:07 +0000 (09:09 -0000)]
* DateTimePickerTest.cs: Use OSVersion to determine whether to call
  GetUserDefaultLCID or not, seems like the runtime crashes on some
  architectures instead of throwing an exception otherwise.

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

17 years ago2007-02-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Feb 2007 02:40:56 +0000 (02:40 -0000)]
2007-02-14  Jonathan Pobst  <monkey@jpobst.com>

* SystemColors.cs: Query Windows for the colors added to this class
for 2.0.  (Windows-only path of course.)

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

17 years ago2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Feb 2007 02:05:39 +0000 (02:05 -0000)]
2007-02-14  Sebastien Pouliot  <sebastien@ximian.com>

* HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
* HMACMD5Test.cs: Convert to NUnit 2.2 format.
* HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
* HMACSHA1Test.cs: Convert to NUnit 2.2 format.
* HMACSHA256Test.cs: Convert to NUnit 2.2 format.
* HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
RFC4231 using the correct block size (128) and the "legacy" size (64).
* HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
RFC4231 using the correct block size (128) and the "legacy" size (64).
* KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
* SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
* SHA1Test.cs: Convert to NUnit 2.2 format.
* SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
* SHA256Test.cs: Convert to NUnit 2.2 format.
* SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
* SHA384Test.cs: Convert to NUnit 2.2 format.
* SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
* SHA512Test.cs: Convert to NUnit 2.2 format.

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

17 years ago2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Feb 2007 02:03:38 +0000 (02:03 -0000)]
2007-02-14  Sebastien Pouliot  <sebastien@ximian.com>

* HMAC.cs: Handle BlockSizeValue correctly.
* HMACSHA384.cs: Add support for forthcoming ProduceLegacyHmacValues
property (in the next service pack).
* HMACSHA512.cs: Add support for forthcoming ProduceLegacyHmacValues
property (in the next service pack).

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

17 years ago2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Feb 2007 02:00:27 +0000 (02:00 -0000)]
2007-02-14  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfigTest.cs: Adjust line-endings.
* CryptoStreamTest.cs: Adjust line-endings.
* DESTest.cs: Adjust line-endings.
* DSACryptoServiceProviderTest.cs: Adjust line-endings.
* DSATest.cs: Adjust line-endings.
* RSACryptoServiceProviderTest.cs: Adjust line-endings.

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

17 years ago2007-02-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 15 Feb 2007 01:26:14 +0000 (01:26 -0000)]
2007-02-14  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* System.Windows.Forms_test.dll.sources: add EventLogger.cs

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

17 years ago* DateTimePickerTest.cs: Some culture dependant tests are only supposed
Rolf Bjarne Kvinge [Thu, 15 Feb 2007 01:25:13 +0000 (01:25 -0000)]
* DateTimePickerTest.cs: Some culture dependant tests are only supposed
  to run with en-US locale, so check it. On Windows call
  GetUserDefaultLCID to check it, since MS DateTimePicker doesn't
  honor Thread.CurrentCulture, only the Windows setting (and some
  other test might have set Thread.CurrentCulture to some other
  value, so the checking only this might fail). Added test for
  setting invalid Text property.
* EventLogger.cs: Added. Takes an object and creates a class on the fly
  that will log all the object's events.

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

17 years ago* DateTimePicker.cs: Call RecreateHandle if the Format changes and
Rolf Bjarne Kvinge [Thu, 15 Feb 2007 01:19:36 +0000 (01:19 -0000)]
* DateTimePicker.cs: Call RecreateHandle if the Format changes and
  validate Text input (if null or empty string reset Value to default
  value). Fixes #80830.

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

17 years agoreally revert teh changes
Marek Habersack [Thu, 15 Feb 2007 00:59:18 +0000 (00:59 -0000)]
really revert teh changes

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

17 years agoRevert this one too
Marek Habersack [Thu, 15 Feb 2007 00:54:29 +0000 (00:54 -0000)]
Revert this one too

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

17 years agoRevert r72877
Marek Habersack [Thu, 15 Feb 2007 00:38:49 +0000 (00:38 -0000)]
Revert r72877

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

17 years agoThe SupportedClasses column is no longer valid
Marek Habersack [Thu, 15 Feb 2007 00:08:16 +0000 (00:08 -0000)]
The SupportedClasses column is no longer valid

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

17 years agoprovider factories defaults
Marek Habersack [Thu, 15 Feb 2007 00:02:14 +0000 (00:02 -0000)]
provider factories defaults

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

17 years ago2007-02-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 14 Feb 2007 22:50:46 +0000 (22:50 -0000)]
2007-02-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Added DisposeTest test for bug #80607.
* ColumnHeaderTest.cs: Remove the NotWorking category for
tests for bug #80607.

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

17 years ago2007-02-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 14 Feb 2007 22:47:29 +0000 (22:47 -0000)]
2007-02-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Set owner as null for columns and items when
Dispose is invoked. Fixes #80607.

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

17 years ago2007-02-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 14 Feb 2007 21:49:39 +0000 (21:49 -0000)]
2007-02-14  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
showing DropDowns, don't show a Grip when doing Flow layout.
[This fixes the toolbox in PDN 2.72.]
* ToolStripItem.cs: Add Anchor property and some internal properties to
reduces needed changes to FlowLayout.
* ToolStripOverflow.cs: Remove unused variable.
* ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
use it in the layout calculations.

2007-02-14  Jonathan Pobst  <monkey@jpobst.com>

* FlowLayout.cs: Add support for laying out ToolStrips, which
use ToolStripItems instead of Controls.

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

17 years agoWed Feb 14 19:45:56 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Feb 2007 18:46:25 +0000 (18:46 -0000)]
Wed Feb 14 19:45:56 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini-$(arch).h: initialize SP in context for all the archs.

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

17 years ago2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Feb 2007 18:30:06 +0000 (18:30 -0000)]
2007-02-14  Sebastien Pouliot  <sebastien@ximian.com>

* mini-x86.h: Initialize SP in MONO_INIT_CONTEXT_FROM_FUNC. Fix CAS
regressions in the thread tests.

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

17 years agoTest based on #80493
Marek Safar [Wed, 14 Feb 2007 18:10:36 +0000 (18:10 -0000)]
Test based on #80493

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

17 years ago2007-02-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Feb 2007 18:09:31 +0000 (18:09 -0000)]
2007-02-14  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80493
* class.cs (FindOutBaseMethod): When the base accessor does not exist and
a property is override we need to use second one.

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

17 years agoTest case for bugs #80724 and #79717.
Paolo Molaro [Wed, 14 Feb 2007 17:40:04 +0000 (17:40 -0000)]
Test case for bugs #80724 and #79717.

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

17 years ago* ServletSessionStateStoreProvider.cs: fixed RemoveItem, uses invalidate
Vladimir Krasnov [Wed, 14 Feb 2007 17:12:26 +0000 (17:12 -0000)]
* ServletSessionStateStoreProvider.cs: fixed RemoveItem, uses invalidate
fixed SetItemExpireCallback to avoid Session_OnEnd call from SessionStateModule
* SessionListener.cs: fixed sessionDestroyed to avoid clearing AppDomain on invalidate call

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

17 years ago2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Feb 2007 15:59:22 +0000 (15:59 -0000)]
2007-02-14  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTypeMapMember.cs : don't use readonly [Foo]Specified property
  as nil-condition member. Fixed bug #80759.

* XmlSerializerTests.cs : added HasFieldSpecifiedButIrrelevant().

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

17 years ago2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 14 Feb 2007 15:54:19 +0000 (15:54 -0000)]
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: for 2.0:
'__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
registered only once.

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

17 years ago2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 14 Feb 2007 15:37:00 +0000 (15:37 -0000)]
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: for 2.0: '__doPostBack' declared as function of form.
convention to use 'currForm' instead 'myForm'

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

17 years agoRemove all those writelines
Miguel de Icaza [Wed, 14 Feb 2007 15:21:01 +0000 (15:21 -0000)]
Remove all those writelines

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

17 years agoIn ignore attribute, under TARGET_JVM replaced the message, which explains the resons.
Ilya Kharmatsky [Wed, 14 Feb 2007 14:59:59 +0000 (14:59 -0000)]
In ignore attribute, under TARGET_JVM replaced the message, which explains the resons.

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

17 years ago* ParameterCollection.cs: fixed IndexOfString, this indexer should be case insensitive
Vladimir Krasnov [Wed, 14 Feb 2007 14:32:07 +0000 (14:32 -0000)]
* ParameterCollection.cs: fixed IndexOfString, this indexer should be case insensitive

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

17 years ago2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 14 Feb 2007 14:14:39 +0000 (14:14 -0000)]
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs:
* ClientScriptManager.cs:
including 'webform.js' requires '__doPostBack' on the form be rendered.

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

17 years agoTestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8bpp indexed formats.
Sebastien Pouliot [Wed, 14 Feb 2007 13:53:56 +0000 (13:53 -0000)]
TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8bpp indexed formats.

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

17 years ago2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 14 Feb 2007 13:53:09 +0000 (13:53 -0000)]
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs:
* ClientScriptManager.cs:
refactoring: 'theForm' variable is always declared on client.
'__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.

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

17 years ago* Page.cs: fixed OnInit, adding css should throw exception if no header present on...
Vladimir Krasnov [Wed, 14 Feb 2007 13:44:41 +0000 (13:44 -0000)]
* Page.cs: fixed OnInit, adding css should throw exception if no header present on the page

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

17 years ago2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 14 Feb 2007 12:03:40 +0000 (12:03 -0000)]
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: __doPostBack considers 2.0 features
such RegisterOnSubmitStatement

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

17 years ago2007-02-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Feb 2007 09:58:32 +0000 (09:58 -0000)]
2007-02-14  Zoltan Varga  <vargaz@gmail.com>

* *-alpha.*: More alpha port work from Sergey Tikhonov <tsv@solvo.ru>:
- fixed implementation of LOCALLOC opcode
- implemented non-un compare for floats
- code cleanup
- implementation of FDIV and CKFINITE opcodes
- fixes for latest mono updates
- additional arch opcodes

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

17 years agoAdded regression test for passing parameters by position instead of by name (currentl...
Leszek 'skolima' Ciesielski [Wed, 14 Feb 2007 09:31:21 +0000 (09:31 -0000)]
Added regression test for passing parameters by position instead of by name (currently fails).

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

17 years agotypo fix
Igor Zelmanovich [Wed, 14 Feb 2007 09:24:28 +0000 (09:24 -0000)]
typo fix

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

17 years ago * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
Everaldo Canuto [Wed, 14 Feb 2007 08:51:14 +0000 (08:51 -0000)]
* ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
reported in #79640.

* ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
size calculation.

2007-02-13  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
Everaldo Canuto [Wed, 14 Feb 2007 08:38:13 +0000 (08:38 -0000)]
* ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
MeasureString format, it can make button very large in some cases, it is
strange but is what win32 do.

2007-02-13  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
Everaldo Canuto [Wed, 14 Feb 2007 07:50:58 +0000 (07:50 -0000)]
* ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
size calculation.

* ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
rendering, the value is based on MenuAccessKeysUnderlined.

2007-02-13  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 14 Feb 2007 07:50:51 +0000 (07:50 -0000)]
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs:
* ClientScriptManager.cs:
implemented RegisterOnSubmitStatement for 2.0

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

17 years ago2007-02-13 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 14 Feb 2007 06:41:23 +0000 (06:41 -0000)]
2007-02-13  Everaldo Canuto  <everaldo@simios.org>
* Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
for most themes.

* ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.

* ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
and use MenuAccessKeysUnderlined instead.

2007-02-13  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-02-13 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 14 Feb 2007 06:03:28 +0000 (06:03 -0000)]
2007-02-13  Everaldo Canuto  <everaldo@simios.org>

* LabelTest.cs: Add asserts for CompatibleTextRendering = false
on PreferredHeight test for 2.0 profile.

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

17 years ago* ContainerControl.cs: Focus fix for nunit treeview selection bug.
Andreia Gaita [Wed, 14 Feb 2007 01:59:23 +0000 (01:59 -0000)]
* ContainerControl.cs: Focus fix for nunit treeview selection bug.
A selected control would not get a Focus call if:
- the default active control of the container is the same as
  the one that was selected
- we are switching from one container to another
Under these conditions, the container being selected already has
an active_control, which is the same as the one being activated,
so set_ActiveControl would always return and not send the Focus
call. Fix to check if the currently active control of the container
is actually focused.

2007-02-13  Andreia Gaita  <avidigal@novell.com

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

17 years ago2007-02-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Feb 2007 00:03:07 +0000 (00:03 -0000)]
2007-02-13  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Ignore Vista 256x256 icons, just like MS does.

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

17 years agoRemove my mistake, sorry and apologies to everyone
Miguel de Icaza [Tue, 13 Feb 2007 23:27:18 +0000 (23:27 -0000)]
Remove my mistake, sorry and apologies to everyone

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

17 years agoReapply, maybe my setup is busted
Miguel de Icaza [Tue, 13 Feb 2007 23:05:18 +0000 (23:05 -0000)]
Reapply, maybe my setup is busted

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

17 years agoDisable the Mainsoft.Web provider entries for now, to unbreak System.Web tests
Marek Habersack [Tue, 13 Feb 2007 22:51:06 +0000 (22:51 -0000)]
Disable the Mainsoft.Web provider entries for now, to unbreak System.Web tests

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

17 years agoRevert, breaks the build
Miguel de Icaza [Tue, 13 Feb 2007 22:35:36 +0000 (22:35 -0000)]
Revert, breaks the build

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

17 years agoTest based on #80418
Marek Safar [Tue, 13 Feb 2007 21:36:32 +0000 (21:36 -0000)]
Test based on #80418

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

17 years ago2007-02-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Feb 2007 21:35:47 +0000 (21:35 -0000)]
2007-02-13  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80418
* attribute.cs, class.cs: Use correct calling conventions for pinvoke
methods.

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

17 years agoTest based on #80749
Marek Safar [Tue, 13 Feb 2007 21:22:26 +0000 (21:22 -0000)]
Test based on #80749

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

17 years ago2007-02-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Feb 2007 21:19:40 +0000 (21:19 -0000)]
2007-02-13  Marek Safar  <marek.safar@gmail.com>

Another fix for bug #80749
* pending.cs: Abstract class has priority over interfaces.

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

17 years ago2007-02-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 13 Feb 2007 19:47:32 +0000 (19:47 -0000)]
2007-02-13  Jonathan Pobst  <monkey@jpobst.com>

* StatusStrip.cs: Implement the spring layout.
* ToolStripControlHost.cs: Make sure the hosted control's visibility
always matches the host.
* ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
and TextAfterImage.

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

17 years ago2007-02-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Feb 2007 18:59:48 +0000 (18:59 -0000)]
2007-02-13  Marek Safar  <marek.safar@gmail.com>

* ModuleBuilder.cs: Add GetRegisteredType to expose name_cache for internal
usage.

* TypeBuilder.cs: Optimized generation of unmanaged data helpers.
An unmanaged data class helper can be re-used when its size matches to
size of requested class.

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

17 years agoUpdate.
Marek Safar [Tue, 13 Feb 2007 18:56:18 +0000 (18:56 -0000)]
Update.

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

17 years ago2007-02-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Feb 2007 18:51:37 +0000 (18:51 -0000)]
2007-02-13  Marek Safar  <marek.safar@gmail.com>

* class.cs Better error message.

* driver.cs: Add shorter versions of -optimize option.

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