Lluis Sanchez [Thu, 4 May 2006 10:16:49 +0000 (10:16 -0000)]
2006-05-04 Lluis Sanchez <lluis@novell.com>
* BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
svn path=/trunk/mcs/; revision=60252
Massimiliano Mantione [Thu, 4 May 2006 10:04:22 +0000 (10:04 -0000)]
* aliasing.c: Fixed shameful cut&paste error that caused JIT crashes.
* driver.c: Enabled inline,consprop,copyprop,treeprop,deadce by
default since all known bugs are fixed, and I cannot reproduce bug
77944... I'm asking Matt Hargett to test again after this commit.
svn path=/trunk/mono/; revision=60251
Yoni Klain [Thu, 4 May 2006 09:57:04 +0000 (09:57 -0000)]
Added SiteMapDataSourceTest.cs
svn path=/trunk/mcs/; revision=60250
Raja R Harinath [Thu, 4 May 2006 05:32:15 +0000 (05:32 -0000)]
Fix format of ChangeLog entries. Fix formatting in codegen.cs
svn path=/trunk/mcs/; revision=60249
Marek Safar [Wed, 3 May 2006 22:31:36 +0000 (22:31 -0000)]
2006-05-03 Marek Safar <marek.safar@seznam.cz>
A fix for #75726
* pending.cs (PendingImplementation.BaseImplements): A found member cannot
be the interface member.
svn path=/trunk/mcs/; revision=60241
Chris Toshok [Wed, 3 May 2006 22:14:51 +0000 (22:14 -0000)]
2006-05-03 Chris Toshok <toshok@ximian.com>
* SqlMembershipProvider.cs (GetAlg): move this here for the time
being, as it's the only class that uses it.
(HashAndBase64Encode): nuke.
(EncryptAndBase64Encode): nuke.
(Base64DecodeAndDecrypt): nuke.
(DecryptPassword): new function.
(EncryptPassword): new function.
(ChangePassword): replace the switch with a call to
EncodePassword.
(ChangePasswordQuestionAndAnswer): same.
(CreateUser): same.
(ResetPassword): same.
(ValidateUsingPassword): same.
(ValidateUsingPasswordAnswer): same.
(GetPassword): same, and throw MembershipPasswordException if the
password answer is incorrect.
* MembershipProvider.cs (InitVector): nuke this. it's actually
the salt from the database (for the sql provider, anyway).
(EncodePassword): based on the password format, password, and
salt, encode it. Makes use of EncryptPassword.
(DecodePassword): likewise for decoding, makes use of
DecryptPassword.
(DecryptPassword): revert this to throwing
NotImplementedException, as the sql provideroverrides it to
perform the actual decryption.
(EncryptPassword): same.
svn path=/trunk/mcs/; revision=60240
Chris Toshok [Wed, 3 May 2006 22:04:01 +0000 (22:04 -0000)]
really fix this
svn path=/trunk/mcs/; revision=60239
Chris Toshok [Wed, 3 May 2006 22:01:47 +0000 (22:01 -0000)]
get encrypted passwords working
svn path=/trunk/mcs/; revision=60238
Marek Safar [Wed, 3 May 2006 18:43:26 +0000 (18:43 -0000)]
2006-05-03 Marek Safar <marek.safar@seznam.cz>
A fix for #60069
*constant.cs (LongConstant.EmitLong): Fixed to catch also negative values
for emitting small (int) values.
svn path=/trunk/mcs/; revision=60236
Sebastien Pouliot [Wed, 3 May 2006 18:01:36 +0000 (18:01 -0000)]
2006-05-03 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: Added new test case for #78185 (from
Bill Holmes).
svn path=/trunk/mcs/; revision=60232
Raja R Harinath [Wed, 3 May 2006 14:32:47 +0000 (14:32 -0000)]
Fix #59427
* mcs/flowanalysis.cs (FlowBranchingException.Merge): Ensure
control-flow passes through the 'finally' after merging-in all the
control-flows from 'try' and the 'catch' clauses.
* gmcs/flowanalysis.cs: Likewise.
* tests/test-505.cs: New test from #59427.
svn path=/trunk/mcs/; revision=60220
Raja R Harinath [Wed, 3 May 2006 13:55:44 +0000 (13:55 -0000)]
In mcs:
* flowanalysis.cs (FlowBranching.IsLoop): Remove.
(FlowBranching.IsTryOrCatch): Remove 'is_return' parameter. It's
always true at the only non-recursive entry point.
(FlowBranching.CreateBranching) [BranchingType.Loop]: Return a
FlowBranchingBreakable.
(FlowBranchingLoop): Remove.
* statement.cs (Return.DoResolve): Update to changes.
In gmcs:
* flowanalysis.cs (FlowBranching.IsLoop): Remove.
(FlowBranching.IsTryOrCatch): Remove 'is_return' parameter. It's
always true at the only non-recursive entry point.
(FlowBranching.CreateBranching) [BranchingType.Loop]: Return a
FlowBranchingBreakable.
(FlowBranchingLoop): Remove.
* statement.cs (Return.DoResolve): Update to changes.
svn path=/trunk/mcs/; revision=60219
Raja R Harinath [Wed, 3 May 2006 13:11:05 +0000 (13:11 -0000)]
In mcs:
Fix #76471, #76665
* flowanalysis.cs (FlowBranching.BranchingType.Embedded): New.
(FlowBranching.CreateBranching): Handle it: create a
FlowBranchingContinuable.
(FlowBranching.BreakCrossesExceptionBoundary): Remove.
(FlowBranching.AddContinueOrigin): Similar to AddBreakOrigin,
except that it handles the 'continue' command.
(FlowBranching.UsageVector.MergeOrigins): Rename from
MergeBreakOrigins.
(FlowBranchingContinuable): Similar to FlowBranchingBreakable,
except that it overrides AddContinueOrigin.
(FlowBranchingException): Override AddContinueOrigin, similar to
AddBreakOrigin.
* statement.cs (While.Resolve, Foreach.ArrayForeach.Resolve):
Create a new branching around the embedded statement.
(Do.Resolve, For.Resolve): Likewise. Do reachability analysis for
control flow after the embedded statement.
(Continue.Resolve): Move all error checking to AddContinueOrigin.
In gmcs:
Fix #76471, #76665
* flowanalysis.cs (FlowBranching.BranchingType.Embedded): New.
(FlowBranching.CreateBranching): Handle it: create a
FlowBranchingContinuable.
(FlowBranching.BreakCrossesExceptionBoundary): Remove.
(FlowBranching.AddContinueOrigin): Similar to AddBreakOrigin,
except that it handles the 'continue' command.
(FlowBranching.UsageVector.MergeOrigins): Rename from
MergeBreakOrigins.
(FlowBranchingContinuable): Similar to FlowBranchingBreakable,
except that it overrides AddContinueOrigin.
(FlowBranchingException): Override AddContinueOrigin, similar to
AddBreakOrigin.
* statement.cs (While.Resolve, Foreach.ArrayForeach.Resolve):
Create a new branching around the embedded statement.
(Do.Resolve, For.Resolve): Likewise. Do reachability analysis for
control flow after the embedded statement.
(Continue.Resolve): Move all error checking to AddContinueOrigin.
In tests:
* test-504.cs: New test from #76471.
In errors:
* cs0162-5.cs: New test from #76665.
svn path=/trunk/mcs/; revision=60218
Ankit Jain [Wed, 3 May 2006 11:04:36 +0000 (11:04 -0000)]
In class/System.Web.Services/Test/System.Web.Services.Description:
* ServiceDescriptionTest.cs (Extensions) New test.
(CheckExtensions):
(CheckXmlElement): New. Helper methods.
* test.wsdl: Test wsdl.
In class/System.Web.Services/System.Web.Services.Description:
* wsdl.genxs: Call ReadExtension for all unknown elements.
* ServiceDescription.cs (ServiceDescription.ReadExtension): Add
XmlDocument param. For NET_2_0, add any elements with no corresponding
extensions to the DocumentableItem.Extensions property.
(ServiceDescriptionSerializer.Serialize): Use
WriteRoot_ServiceDescription instead of WriteTree.
(ServiceDescriptionSerializer.Deserialize): Use
ReadRoot_ServiceDescription instead of ReadTree.
* ServiceDescriptionSerializerBase.cs: Regenerate.
svn path=/trunk/mcs/; revision=60216
Raja R Harinath [Wed, 3 May 2006 10:53:41 +0000 (10:53 -0000)]
* mcs/flowanalysis.cs (FlowBranching.IsSwitch): Remove.
(FlowBranching.CreateBranching) [BranchingType.Switch]: Create a
FlowBranchingBreakable.
(FlowBranchingSwitch): Remove.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60214
Marek Sieradzki [Wed, 3 May 2006 10:46:13 +0000 (10:46 -0000)]
2006-05-03 Marek Sieradzki <marek.sieradzki@gmail.com>
* ProjectTest.cs, EngineTest.cs: Corrected BinPath once more.
svn path=/trunk/mcs/; revision=60213
Marek Sieradzki [Wed, 3 May 2006 10:44:05 +0000 (10:44 -0000)]
2006-05-03 Marek Sieradzki <marek.sieradzki@gmail.com>
* Target.cs, TaskEngine.cs, BuildItemGroup.cs, MetadataReference.cs,
Import.cs, ItemReference.cs, BuildItem.cs, BatchingImpl.cs,
PropertyReference.cs, BuildProperty.cs: Changed Expression to
OldExpression and changed To* functions to one ConvertTo ().
* TaskEngine.cs: Fixed PublishOutput ().
* OldExpression.cs: Added. It will be temporarily used before
LiteralExpression will be written using Tokenizer.
* Tokenizer.cs, Token.cs, ExpressionCollection.cs,
ExpressionParseException.cs, LiteralExpression.cs: Added.
svn path=/trunk/mcs/; revision=60212
Marek Sieradzki [Wed, 3 May 2006 10:29:05 +0000 (10:29 -0000)]
2006-05-03 Marek Sieradzki <marek.sieradzki@gmail.com>
* MakeDir.cs: Removed warning.
* Exec.cs: Fixed commmand execution.
* ReadLinesFromFile.cs: Formatting.
svn path=/trunk/mcs/; revision=60211
Marek Sieradzki [Wed, 3 May 2006 10:26:11 +0000 (10:26 -0000)]
2006-05-03 Marek Sieradzki <marek.sieradzki@gmail.com>
* ErrorTest.cs: Added.
svn path=/trunk/mcs/; revision=60210
Marek Sieradzki [Wed, 3 May 2006 10:19:21 +0000 (10:19 -0000)]
2006-05-03 Marek Sieradzki <marek.sieradzki@gmail.com>
* ToolTask.cs: Fixed exit code.
svn path=/trunk/mcs/; revision=60209
Jb Evain [Wed, 3 May 2006 10:14:48 +0000 (10:14 -0000)]
2006-05-03 Jb Evain <jbevain@gmail.com>
* MonoField.cs (GetValue,SetValue): throw a TargetException
when the field is non static and the target is null.
svn path=/trunk/mcs/; revision=60208
Lluis Sanchez [Wed, 3 May 2006 09:24:04 +0000 (09:24 -0000)]
2006-05-03 Lluis Sanchez Gual <lluis@novell.com>
* SerializationCodeGenerator.cs: Allow generating serializer for
reading an XmlElement or XmlDocument as root element.
Properly generate jagged array creation.
svn path=/trunk/mcs/; revision=60207
Raja R Harinath [Wed, 3 May 2006 09:13:05 +0000 (09:13 -0000)]
In mcs:
Fix test-503.cs
* statement.cs (Break.Resolve): Simplify. Move responsibility for
error reporting to ...
* flowanalysis.cs (FlowBranching.AddBreakOrigin) ... this.
Rename from 'AddBreakVector'. Add new location argument. Return
a bool indicating whether the 'break' crosses an unwind-protect.
(FlowBranchingException.AddBreakOrigin): Add.
(FlowBranchingException.Merge): Propagate 'break's to surrounding
flowbranching after updating with the effects of the 'finally'
clause.
(FlowBranchingBreakable): New common base class for
FlowBranchingLoop and FlowBranchingSwitch.
In gmcs:
Fix test-503.cs
* statement.cs (Break.Resolve): Simplify. Move responsibility for
error reporting to ...
* flowanalysis.cs (FlowBranching.AddBreakOrigin) ... this.
Rename from 'AddBreakVector'. Add new location argument. Return
a bool indicating whether the 'break' crosses an unwind-protect.
(FlowBranchingException.AddBreakOrigin): Add.
(FlowBranchingException.Merge): Propagate 'break's to surrounding
flowbranching after updating with the effects of the 'finally'
clause.
(FlowBranchingBreakable): New common base class for
FlowBranchingLoop and FlowBranchingSwitch.
In tests:
* test-503.cs: Distilled from System.Web.Hosting/ApplicationHost.cs.
svn path=/trunk/mcs/; revision=60206
Raja R Harinath [Wed, 3 May 2006 07:34:11 +0000 (07:34 -0000)]
* mcs/statement.cs (Foreach.ArrayForeach.Resolve): Set barrier after
embedded statement.
(Foreach.CollectionForeach.Resolve): Remove extraneous flowbranching.
* gmcs/statement.cs: Likewise.
svn path=/trunk/mcs/; revision=60205
Jonathan Chambers [Wed, 3 May 2006 03:50:12 +0000 (03:50 -0000)]
2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
* TextBox.cs: Add MWFCategoryAttributes
* TextBoxBase.cs: Add MWFCategoryAttributes
* Form.cs: Add MWFCategoryAttributes
svn path=/trunk/mcs/; revision=60204
Jonathan Chambers [Wed, 3 May 2006 03:34:38 +0000 (03:34 -0000)]
2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
* Control.cs: Add MWFCategoryAttributes
* ScrollableControl.cs: Add MWFCategoryAttributes
svn path=/trunk/mcs/; revision=60203
Jonathan Chambers [Wed, 3 May 2006 02:57:39 +0000 (02:57 -0000)]
2006-05-02 Jonathan Chambers <jonathan.chambers@ansys.com>
* Marshal.cs: Implement BSTR methods
svn path=/trunk/mcs/; revision=60202
Jonathan Chambers [Wed, 3 May 2006 02:56:40 +0000 (02:56 -0000)]
Added ChangeLog entries and license info (MIT X11)
svn path=/trunk/mono/; revision=60201
Jonathan Chambers [Wed, 3 May 2006 02:54:45 +0000 (02:54 -0000)]
Added BSTR support for Win32
svn path=/trunk/mono/; revision=60200
Alexander Olk [Wed, 3 May 2006 01:12:13 +0000 (01:12 -0000)]
2006-05-03 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs: Draw the ToolBar top border only if
Divider is true. Fix a little glitch in PropertyToolBar
drawing code
svn path=/trunk/mcs/; revision=60199
Robert Jordan [Tue, 2 May 2006 23:00:47 +0000 (23:00 -0000)]
2006-05-02 Robert Jordan <robertj@gmx.net>
* monoresgen.cs (TxtResourceReader/Writer): Support escapes
(\n, \r, \t, \\) in input and output. Fixes bug #78270 and
an internal TODO.
svn path=/trunk/mcs/; revision=60197
Peter Dennis Bartok [Tue, 2 May 2006 22:19:18 +0000 (22:19 -0000)]
2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
* FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
svn path=/trunk/mcs/; revision=60195
Peter Dennis Bartok [Tue, 2 May 2006 19:41:25 +0000 (19:41 -0000)]
2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Dispose: Call base.Dispose, this causes the disposed event
to be fired (and probably other, more important stuff)
- SetVisibleCore: Set is_visible to true after creating the
window so that the window still gets created invisible (if
WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
to generate a WM_ACTIVE message
* Form.cs: Call Dispose when we want to destroy the window, instead of
just destroying the handle (Dispose will do that for us)
* XplatUIX11.cs:
- RootWindow also needs a queue, so we can properly process the
property change events from RootWindow (like Activate)
- Generatic synthetic WM_ACTIVE message when the active window is
being destroyed
svn path=/trunk/mcs/; revision=60193
Sebastien Pouliot [Tue, 2 May 2006 19:11:16 +0000 (19:11 -0000)]
2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
* PointF.cs: Add operators + and - between PointF and SizeF in the
2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
missing in corcompare results).
svn path=/trunk/mcs/; revision=60192
Chris Toshok [Tue, 2 May 2006 18:09:49 +0000 (18:09 -0000)]
2006-05-02 Chris Toshok <toshok@ximian.com>
* SqlMembershipProvider.cs: 85% complete, maybe more. The major
functionality should work. Password retrieval (and encrypted
passwords in general) is untested.
svn path=/trunk/mcs/; revision=60190
Chris Toshok [Tue, 2 May 2006 17:59:40 +0000 (17:59 -0000)]
add standalone test for sqlmembershipprovider
svn path=/trunk/mcs/; revision=60189
Sebastien Pouliot [Tue, 2 May 2006 15:35:00 +0000 (15:35 -0000)]
2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
* TestGraphics.cs: Added new test cases for [Begin|End]Container and
for Save and Restore methods.
svn path=/trunk/mcs/; revision=60180
Sebastien Pouliot [Tue, 2 May 2006 15:25:47 +0000 (15:25 -0000)]
2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsContainer.cs: Change the state from int to uint to match the
Save/Restore methods (and code). Removed unrequired stuff.
svn path=/trunk/mcs/; revision=60178
Sebastien Pouliot [Tue, 2 May 2006 15:25:34 +0000 (15:25 -0000)]
2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
* Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
BeginContainer methods that use rectangles and on TextContrast property
(all aren't currently supported in libgdiplus).
svn path=/trunk/mcs/; revision=60177
Raja R Harinath [Tue, 2 May 2006 14:39:12 +0000 (14:39 -0000)]
In mcs:
* statement.cs (Do.Resolve): If the loop is infinite, set the
barrier.
(While.Resolve, For.Resolve): Set a barrier after the embedded
statement. There's no direct control flow that goes from the end
of the embedded statement to the end of the loop.
* flowanalysis.cs (FlowBranching.Infinite): Remove.
(FlowBranchingLoop.Merge): Don't look at 'Infinite'. The changes
above ensure that the reachability is correctly computed.
In gmcs:
* statement.cs (Do.Resolve): If the loop is infinite, set the
barrier.
(While.Resolve, For.Resolve): Set a barrier after the embedded
statement. There's no direct control flow that goes from the end
of the embedded statement to the end of the loop.
* flowanalysis.cs (FlowBranching.Infinite): Remove.
(FlowBranchingLoop.Merge): Don't look at 'Infinite'. The changes
above ensure that the reachability is correctly computed.
svn path=/trunk/mcs/; revision=60176
Zac Bowling [Tue, 2 May 2006 14:05:18 +0000 (14:05 -0000)]
2006-05-02 Zac Bowling <zac@zacbowling.com>
* Mono.Cairo/Surface.cs: string should be byte[]
* Mono.Cairo/Cairo.cs: string should be byte[]
(Patch from Philipp Baer <phbaer@npw.net>)
svn path=/trunk/mcs/; revision=60175
Raja R Harinath [Tue, 2 May 2006 13:25:51 +0000 (13:25 -0000)]
* mcs/flowanalysis.cs (Reachability.ResetBarrier): Remove.
(UsageVector.MergeBreakOrigins): If the current path is
unreachable, treat it as if all parameters/locals are initialized.
(FlowBranchingLoop.Merge): Don't clear any barriers. Handle
infinite loops before merging-in break origins.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60173
Senganal T [Tue, 2 May 2006 13:25:26 +0000 (13:25 -0000)]
2006-05-02 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataColumnTest2.cs : Test if IsNull (expr1,expr2) is parsed
correctly and if expr2 is returned when expr1 evaluates to null
* Mono.Data.SqlExpressions/Parser.jay : fix the rule for IsNull. Fixes bug #78254
* Mono.Data.SqlExpressions/Functions.cs :
- IsNullFunction.Eval : If expr evaluates to null or DBNull.Value, return the
default expression value.
svn path=/trunk/mcs/; revision=60172
Raja R Harinath [Tue, 2 May 2006 11:53:27 +0000 (11:53 -0000)]
* mcs/flowanalysis.cs (Reachability.Meet): Simplify code handling 'returns'.
(Reachability.Reachable): Split part into ...
(Reachability.Unreachable): ... this. Simplify.
(Reachability.IsUnreachable): Use 'Unreachable' instead.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60171
Raja R Harinath [Tue, 2 May 2006 11:12:40 +0000 (11:12 -0000)]
In mcs:
* flowanalysis.cs (Reachability.SetReturnsSometimes): Remove.
(Reachability.SetThrowsSometimes): Likewise.
(FlowBranchingBlock.MergeTopBlock): Don't compare against
TriState.Always, use corresponding property.
* statement.cs (Lock.Resolve, Try.Resolve, Using.Resolve): Likewise.
(Block.Resolve): Likewise. Remove some redundant checks.
In gmcs:
* flowanalysis.cs (Reachability.SetReturnsSometimes): Remove.
(Reachability.SetThrowsSometimes): Likewise.
(FlowBranchingBlock.MergeTopBlock): Don't compare against
TriState.Always, use corresponding property.
* statement.cs (Lock.Resolve, Try.Resolve, Using.Resolve): Likewise.
(Block.Resolve): Likewise. Remove some redundant checks.
svn path=/trunk/mcs/; revision=60170
Raja R Harinath [Tue, 2 May 2006 05:23:18 +0000 (05:23 -0000)]
* mcs/flowanalysis.cs (UsageVector.Throw): Set barrier too.
(Reachability.Meet): Don't bother checking AlwaysThrows --
barrier is always set.
(FlowBranchingBlock.Merge): Likewise.
svn path=/trunk/mcs/; revision=60168
Peter Dennis Bartok [Tue, 2 May 2006 02:40:07 +0000 (02:40 -0000)]
2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
* LinkLabel.cs: Trigger a recalc of our label dimensions when
bounds are changed
svn path=/trunk/mcs/; revision=60165
Wade Berrier [Tue, 2 May 2006 02:34:42 +0000 (02:34 -0000)]
udate monodoc command
svn path=/trunk/mono/; revision=60163
Miguel de Icaza [Tue, 2 May 2006 01:39:01 +0000 (01:39 -0000)]
(C) update
svn path=/trunk/mono/; revision=60162
Miguel de Icaza [Tue, 2 May 2006 01:08:12 +0000 (01:08 -0000)]
Some profiler documentation
svn path=/trunk/mono/; revision=60161
Miguel de Icaza [Tue, 2 May 2006 01:07:46 +0000 (01:07 -0000)]
Some more documentation
svn path=/trunk/mono/; revision=60160
Miguel de Icaza [Tue, 2 May 2006 00:21:45 +0000 (00:21 -0000)]
Author headers
svn path=/trunk/mono/; revision=60159
Peter Dennis Bartok [Mon, 1 May 2006 23:21:07 +0000 (23:21 -0000)]
2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
for determining width and height (image might not be assigned if
we're drawing an imagelist)
svn path=/trunk/mcs/; revision=60155
Rafael Teixeira [Mon, 1 May 2006 22:06:39 +0000 (22:06 -0000)]
2006-05-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* attribute.cs: fixed_buffer_cache is declared only if NET_2_0 is
defined, so it's references should also compile only for NET_2_0
(as occurs in mcs version)
svn path=/trunk/mcs/; revision=60154
Peter Dennis Bartok [Mon, 1 May 2006 21:29:43 +0000 (21:29 -0000)]
2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
* XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
height from system
* Theme.cs: No longer returns hardcoded menu height, instead calls
new driver method
* Form.cs (OnLoad): Scaling happens before triggering Load events
on MS (# 78257)
svn path=/trunk/mcs/; revision=60151
Miguel de Icaza [Mon, 1 May 2006 21:06:03 +0000 (21:06 -0000)]
Remove AOT docs
svn path=/trunk/mono/; revision=60150
Miguel de Icaza [Mon, 1 May 2006 21:01:49 +0000 (21:01 -0000)]
More documentation work, only a few more methods missing
svn path=/trunk/mono/; revision=60149
Miguel de Icaza [Mon, 1 May 2006 20:35:48 +0000 (20:35 -0000)]
Revert this one
svn path=/trunk/mono/; revision=60148
Miguel de Icaza [Mon, 1 May 2006 20:33:52 +0000 (20:33 -0000)]
Remove from here
svn path=/trunk/mono/; revision=60147
Miguel de Icaza [Mon, 1 May 2006 20:32:46 +0000 (20:32 -0000)]
Hide some more methods
svn path=/trunk/mono/; revision=60146
Miguel de Icaza [Mon, 1 May 2006 20:07:40 +0000 (20:07 -0000)]
Hide mono_unlink_bblock as its not used anywhere else
svn path=/trunk/mono/; revision=60145
Miguel de Icaza [Mon, 1 May 2006 19:51:13 +0000 (19:51 -0000)]
hide another static one
svn path=/trunk/mono/; revision=60144
Miguel de Icaza [Mon, 1 May 2006 19:48:49 +0000 (19:48 -0000)]
Remove from header files
svn path=/trunk/mono/; revision=60142
Miguel de Icaza [Mon, 1 May 2006 19:47:53 +0000 (19:47 -0000)]
Missed two uses
svn path=/trunk/mono/; revision=60140
Miguel de Icaza [Mon, 1 May 2006 19:45:23 +0000 (19:45 -0000)]
Cleanup namespace of published methods
svn path=/trunk/mono/; revision=60139
Miguel de Icaza [Mon, 1 May 2006 19:43:00 +0000 (19:43 -0000)]
Make mono_create_delegate_trampoline static
svn path=/trunk/mono/; revision=60138
Miguel de Icaza [Mon, 1 May 2006 19:35:05 +0000 (19:35 -0000)]
more docs
svn path=/trunk/mono/; revision=60137
Alejandro Serrano "Serras" [Mon, 1 May 2006 19:25:27 +0000 (19:25 -0000)]
Fix ordering for list with 0 or 1 item
svn path=/trunk/mcs/; revision=60135
Chris Toshok [Mon, 1 May 2006 19:17:43 +0000 (19:17 -0000)]
2006-05-01 Chris Toshok <toshok@ximian.com>
* data/net_2_0/machine.config: add connectionStringName's
parameters to the role/membership providers.
svn path=/trunk/mono/; revision=60134
Chris Toshok [Mon, 1 May 2006 19:15:09 +0000 (19:15 -0000)]
* Membership.cs (GeneratePassword): don't include quotes (',",`)
in the set of characters in the generated passwords.
2006-05-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=60133
Miguel de Icaza [Mon, 1 May 2006 19:09:20 +0000 (19:09 -0000)]
Minor update
svn path=/trunk/mono/; revision=60132
Chris Toshok [Mon, 1 May 2006 18:26:10 +0000 (18:26 -0000)]
* MembershipProvider.cs (GetAlg): switch from Exception to
ProviderException to match MS behavior (and fix the unit test.)
* Membership.cs (GeneratePassword): implement.
2006-05-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=60131
Chris Toshok [Mon, 1 May 2006 18:25:21 +0000 (18:25 -0000)]
2006-05-01 Chris Toshok <toshok@ximian.com>
* MembershipTest.cs (GeneratePassword): add test for password
generation.
svn path=/trunk/mcs/; revision=60130
Sebastien Pouliot [Mon, 1 May 2006 18:22:07 +0000 (18:22 -0000)]
2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPath.cs: Removed MonoTODO on AddCurve methods (it's fixed
in libgdiplus).
svn path=/trunk/mcs/; revision=60129
Sebastien Pouliot [Mon, 1 May 2006 18:20:23 +0000 (18:20 -0000)]
2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
* Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
libgdiplus). Fixed minor extra/missing for corcompare.
svn path=/trunk/mcs/; revision=60128
Chris Toshok [Mon, 1 May 2006 17:55:08 +0000 (17:55 -0000)]
oops. committed the wrong revision
svn path=/trunk/mcs/; revision=60127
Chris Toshok [Mon, 1 May 2006 17:49:10 +0000 (17:49 -0000)]
2006-05-01 Chris Toshok <toshok@ximian.com>
* SqlMembershipProvider.cs: lots more work. checking this in in
its present state because I don't want to lose it. It still needs
work.
* Membership.cs (.cctor): remove the fallback.
(ValidatingPassword): remove the MonoTODO.
* MembershipProvider.cs (DecryptPassword): implement.
(EncryptPassword): implement.
(GetAlg): helper function for Decrypt/EncryptPassword.
(InitVector): same.
* SqlMembershipProvider.cs (GeneratePassword): call
Membership.GeneratePassword with the configured minimum strength
requirements.
2006-04-27 Chris Toshok <toshok@ximian.com>
* SqlMembershipProvider.cs (UnlockUser): fix sql query, and move
the CheckPararm call to the top of the method.
svn path=/trunk/mcs/; revision=60126
Mike Kestner [Mon, 1 May 2006 17:45:39 +0000 (17:45 -0000)]
2006-05-01 Mike Kestner <mkestner@novell.com>
* MenuItem.cs: fix NRE for text == null. Fixes #78250.
svn path=/trunk/mcs/; revision=60125
Daniel Drake [Mon, 1 May 2006 17:07:09 +0000 (17:07 -0000)]
2006-05-01 Daniel Drake <dsd@gentoo.org>
* DirectoryTest.cs: add test for bug #78239, based on suggestion from
Robert Jordan.
svn path=/trunk/mcs/; revision=60122
Gonzalo Paniagua Javier [Mon, 1 May 2006 16:45:32 +0000 (16:45 -0000)]
2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SizeF.cs: serialization compatibility fixes. Closes bug #78236.
svn path=/trunk/mcs/; revision=60121
Daniel Drake [Mon, 1 May 2006 14:40:26 +0000 (14:40 -0000)]
2006-05-01 Daniel Drake <dsd@gentoo.org>
* Directory.cs: Return false (as documented) on ERROR_ACCESS_DENIED in
Exists() rather than throwing an exception. Bug #78239.
svn path=/trunk/mcs/; revision=60119
Sebastien Pouliot [Mon, 1 May 2006 12:13:19 +0000 (12:13 -0000)]
2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
* LinearGradientBrushTest.cs: Added new test case for #78179 (from
Bill Holmes).
svn path=/trunk/mcs/; revision=60118
Raja R Harinath [Mon, 1 May 2006 10:56:20 +0000 (10:56 -0000)]
* mcs/codegen.cs (EmitContext.ResolveTopBlock): Remove redundant
checks for unreachable.
* gmcs/codegen.cs: Likewise.
svn path=/trunk/mcs/; revision=60116
Peter Dennis Bartok [Mon, 1 May 2006 04:36:27 +0000 (04:36 -0000)]
2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Removed Fixme
* RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
svn path=/trunk/mcs/; revision=60115
Peter Dennis Bartok [Mon, 1 May 2006 03:15:03 +0000 (03:15 -0000)]
2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
* Icon.cs: Icon AND masks are organized in strides, fixed to calculate
and set proper transparency. Also fixed broken calculation of AND
size when reading the icon. NDocGui now shows pretty buttons.
svn path=/trunk/mcs/; revision=60114
Marek Safar [Sun, 30 Apr 2006 23:34:50 +0000 (23:34 -0000)]
2006-05-01 Marek Safar <marek.safar@seznam.cz>
A fix for #77980
*flowanalysis.cs (UsageVector.IsAssigned): Add flag to ignore short path.
* statement.cs (Block.UsageWarning): Uses newly introduced flag to detect
whether field is really assigned.
svn path=/trunk/mcs/; revision=60112
Aaron Flynt [Sun, 30 Apr 2006 23:25:35 +0000 (23:25 -0000)]
2006-04-30 Aaron Flynt <aaron@aaronflynt.com>
* MacPack.cs: Fixed typo in main method causing -i argument to be
treated like -o.
svn path=/trunk/mcs/; revision=60111
Peter Dennis Bartok [Sun, 30 Apr 2006 22:35:55 +0000 (22:35 -0000)]
2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs:
- ScrollWindow: We were passing hwnd.ClientRectangle which returns
the rectangle relative to the parent, considering borders. We
don't really want that.
- ScrollWindow: Fixed warning to be more understandable
* TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
scrollbars and scroll only the visible area
* RichTextBox.cs: Removed debug output
svn path=/trunk/mcs/; revision=60110
Marek Safar [Sun, 30 Apr 2006 22:10:10 +0000 (22:10 -0000)]
2006-04-30 Marek Safar <marek.safar@seznam.cz>
A fix for #78065
*class.cs (MethodData.Define): Add check for new params modifiers in an
explicit interface implementation.
svn path=/trunk/mcs/; revision=60109
Miguel de Icaza [Sun, 30 Apr 2006 18:49:47 +0000 (18:49 -0000)]
Some more
svn path=/trunk/mono/; revision=60104
Miguel de Icaza [Sun, 30 Apr 2006 18:40:23 +0000 (18:40 -0000)]
More documentation work
svn path=/trunk/mono/; revision=60103
Gert Driesen [Sun, 30 Apr 2006 18:29:15 +0000 (18:29 -0000)]
* TimerTest.cs: Corrected bug number (from #78202 to #78208).
* ChangeLog: Same.
svn path=/trunk/mcs/; revision=60102
Miguel de Icaza [Sun, 30 Apr 2006 18:04:35 +0000 (18:04 -0000)]
Update some of the documentation.
Added more ignored symbols.
Change the way we find existing implemented APIs to not use the HTML markup
svn path=/trunk/mono/; revision=60101
Marek Safar [Sun, 30 Apr 2006 11:18:00 +0000 (11:18 -0000)]
2006-04-30 Marek Safar <marek.safar@seznam.cz>
* CSharpCodeCompiler.cs: mcs does not like /r:"" syntax; fixes #78038.
svn path=/trunk/mcs/; revision=60100
Gert Driesen [Sun, 30 Apr 2006 09:40:16 +0000 (09:40 -0000)]
* TimerTest.cs: Added test for bug #78202. Marked individual tests
NotWorking instead of the test class to enable test for bug #78202.
svn path=/trunk/mcs/; revision=60099
Tal Klahr [Sun, 30 Apr 2006 07:28:01 +0000 (07:28 -0000)]
Added ViewTest.cs and MultiViewTest.cs
svn path=/trunk/mcs/; revision=60098
Raja R Harinath [Sun, 30 Apr 2006 05:49:06 +0000 (05:49 -0000)]
* mcs/flowanalysis.cs (Reachability): Make 4-argument constructor private.
(Reachability.Meet): Rename from 'And'. Remove static variant.
(Reachability.Always): Rename from the highly misleading 'Reachability.Never'.
(FlowBranching.Merge): Update to changes. Mark an impossible
situation with a 'throw'.
(*): Update to changes.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60097
Raja R Harinath [Sun, 30 Apr 2006 05:46:05 +0000 (05:46 -0000)]
* Makefile.am (mcs-do-clean, mcs-do-compiler-tests): Clean
and run tests in mono/tests too.
svn path=/trunk/mono/; revision=60096
Peter Dennis Bartok [Sun, 30 Apr 2006 00:36:01 +0000 (00:36 -0000)]
2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
* NumericUpDown.cs (Text): Just use base
* UpDownBase.cs: Ensure txtView is created before using it
svn path=/trunk/mcs/; revision=60092
Peter Dennis Bartok [Sun, 30 Apr 2006 00:23:23 +0000 (00:23 -0000)]
2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
casting to IntPtr to avoid 64bit overflow errors
svn path=/trunk/mcs/; revision=60091