mono.git
17 years agoFix failures when running tests in J2EE mode
Eyal Alalouf [Sun, 18 Feb 2007 11:50:33 +0000 (11:50 -0000)]
Fix failures when running tests in J2EE mode

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

17 years agoFix failures when running tests in J2EE mode
Eyal Alalouf [Sun, 18 Feb 2007 11:43:52 +0000 (11:43 -0000)]
Fix failures when running tests in J2EE mode

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

17 years ago* FileDialog.cs: Modify default text of filename and filetype labels
Gert Driesen [Sun, 18 Feb 2007 10:41:34 +0000 (10:41 -0000)]
* FileDialog.cs: Modify default text of filename and filetype labels
to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
after we've updated the SelectedIndex. Fixes part of bug #80887.
* SaveFileDialog.cs: Set text of filetype label.

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

17 years ago2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 18 Feb 2007 10:26:46 +0000 (10:26 -0000)]
2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>

* Wizard: fixed:
first step is recognized as 'finish' if only two steps
and last step is 'complete'

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

17 years ago2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 18 Feb 2007 10:03:41 +0000 (10:03 -0000)]
2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>

* WebUIValidation_2.0.js:
support client side validation for RadioButtonList

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

17 years agoServerPort is the correct method for getting .Net LocalPort.
Eyal Alalouf [Sun, 18 Feb 2007 08:50:05 +0000 (08:50 -0000)]
ServerPort is the correct method for getting .Net LocalPort.

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

17 years ago2007-02-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 18 Feb 2007 02:04:49 +0000 (02:04 -0000)]
2007-02-17  Miguel de Icaza  <miguel@novell.com>

* cs-parser.jay: Add support for lambda expressions to the mcs
compiler as well.

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

17 years ago2007-02-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 18 Feb 2007 01:26:03 +0000 (01:26 -0000)]
2007-02-17  Miguel de Icaza  <miguel@novell.com>

* lambda.cs: Only clone when we are probing, not on the final call
(Compatible is the final call).

* statement.cs (CloneContext): Introduce class to provide block
remapping during clone.

All statements Clone themselves now.

(Clone): special handling for blocks, when we clone a block, we
register the block inside this routine, as children of the block
might trigger a lookup.

* expression.cs: Add support for CloneContext in all expressions.

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

17 years agoFixed test.
Marek Safar [Sat, 17 Feb 2007 17:32:08 +0000 (17:32 -0000)]
Fixed test.

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

17 years agoTest based on bug #80408
Marek Safar [Sat, 17 Feb 2007 16:34:16 +0000 (16:34 -0000)]
Test based on bug #80408

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

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

A fix for bug #80408
* statement.cs: Report ambiguous warning when interfaces are not related.

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

17 years ago* PagesConfiguration.cs: Stop swallowing configuration exceptions.
Gert Driesen [Sat, 17 Feb 2007 14:59:47 +0000 (14:59 -0000)]
* PagesConfiguration.cs: Stop swallowing configuration exceptions.
* PagesConfigurationHandler.cs: Provide better exception message for
invalid 'enableSessionState' value.

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

17 years ago* Web.config: enableSessionState only accepts "true", false" and
Gert Driesen [Sat, 17 Feb 2007 14:15:22 +0000 (14:15 -0000)]
* Web.config: enableSessionState only accepts "true", false" and
"ReadOnly" on MS (case-sensitive).

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

17 years agoFixed line endings
Gert Driesen [Sat, 17 Feb 2007 14:00:40 +0000 (14:00 -0000)]
Fixed line endings

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

17 years agoRemoved warnings.
Marek Safar [Sat, 17 Feb 2007 13:19:13 +0000 (13:19 -0000)]
Removed warnings.

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

17 years ago* DateTimeConverter.cs: Fixed typo in exception message.
Gert Driesen [Sat, 17 Feb 2007 08:22:50 +0000 (08:22 -0000)]
* DateTimeConverter.cs: Fixed typo in exception message.

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

17 years ago2007-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 17 Feb 2007 00:38:46 +0000 (00:38 -0000)]
2007-02-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* LabelEditEventArgs.cs: New internal SetLabel method, to set the
label field. Needed by latest Jackson's fixes for ListView.

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

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