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
Peter Dennis Bartok [Sun, 30 Apr 2006 00:03:41 +0000 (00:03 -0000)]
2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- AllowDrop: Don't force handle creation.
- CreateHandle: Added call to tell driver if we're allowed to drop
svn path=/trunk/mcs/; revision=60089
Alexander Olk [Sat, 29 Apr 2006 22:57:52 +0000 (22:57 -0000)]
2006-04-27 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Remember the last directory not only for the
current instance but also for new FileDialog instances.
svn path=/trunk/mcs/; revision=60088
Peter Dennis Bartok [Sat, 29 Apr 2006 21:00:59 +0000 (21:00 -0000)]
- Disable debug
svn path=/trunk/mcs/; revision=60086
Jonathan Chambers [Sat, 29 Apr 2006 20:59:03 +0000 (20:59 -0000)]
2005-06-29 Jonathan Chambers <jonathan.chambers@ansys.com>
* ControlBindingsConverter.cs: Fix namespace
svn path=/trunk/mcs/; revision=60085
Peter Dennis Bartok [Sat, 29 Apr 2006 19:45:09 +0000 (19:45 -0000)]
2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Forgot to set the queue on the foster parent. That
broke sending async messages
svn path=/trunk/mcs/; revision=60084
Peter Dennis Bartok [Sat, 29 Apr 2006 18:05:57 +0000 (18:05 -0000)]
2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs:
- ScrollWindow: Fixed method. We finally generate expose events again
for scrolled areas. This was causing 'garbage' when scrolling
textbox and other controls that used ScrollWindow
- Switched from using the regular queue for paint events to the MS
model of 'generating' paint events when the queue is empty.
We use the new XQueueEvent.Paint subclass to store which windows
need painting.
- AddExpose now takes the x/y/width/height of the exposed area
and inserts the window into the paint queue if not already there
- InvalidateWholeWindow: Switched to use new AddExpose method
- UpdateMessageQueue: Added which queue to monitor for paint events
- DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
the unlikely case nothing above handles it. We reset the expose
pending states to get them off the queue.
- GetMessage: Now pulls a paint event if no other events are in the
queue
- Invalidate: Switched to new AddExpose method
- PeekMessage: Updated to understand pending paint events
- UpdateWindow: Fixed logic bug. We were only updating if the window
didn't need updating. Also switched to sending WM_PAINT directly,
like MS does.
* XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
and random access Remove(). The random access is needed to handle
UpdateWindow() where a WM_PAINT is sent directly without accessing
the queue.
* ScrollBar.cs: Added Update() calls to cause immediate updates to
allow for better feedback when scrolling. Scrollbars are small and
the immediate update should make it 'feel' more responsive without
slowing things down. ScrollBar still needs it's invaliate logic
updated to not always invalidate the whole bar on certain changes.
svn path=/trunk/mcs/; revision=60081
Raja R Harinath [Sat, 29 Apr 2006 17:00:06 +0000 (17:00 -0000)]
* mcs/flowanalysis.cs (TriState): Rename from FlowBranching.FlowReturns.
Remove 'Undefined'.
(FlowBranching.TriState_Meet): Rename from AndFlowReturns. Simplify.
(FlowBranching.TriState_Max): Rename from OrFlowReturns. Simplify.
(*): Update to changes.
* gmcs/flowanalysis.cs: Likewise.
* mcs/statement.cs, gmcs/statement.cs: Update to changes.
svn path=/trunk/mcs/; revision=60080
Jordi Mas i Hernandez [Sat, 29 Apr 2006 16:58:28 +0000 (16:58 -0000)]
2006-04-29 Jordi Mas i Hernandez <jordimash@gmail.com>
* GraphicsPath.cs: Fixes use of unasssigned variables
svn path=/trunk/mcs/; revision=60079
Miguel de Icaza [Sat, 29 Apr 2006 15:32:16 +0000 (15:32 -0000)]
2006-04-29 Atsushi Enomoto <atsushi@ximian.com>
* UnexceptionalStreamReader.cs (Read): Fix for #78218, where we
consumed characters from the input even when the count was not set
to zero, causing some characters to be missing in some
circumstances.
svn path=/trunk/mcs/; revision=60076
Atsushi Eno [Sat, 29 Apr 2006 15:18:50 +0000 (15:18 -0000)]
2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
* Timer.cs : avoid NullReferenceException when it is already disposed.
Patch by pawel.sakowski@mind-breeze.com. Fixed bug #78208.
svn path=/trunk/mcs/; revision=60075
Peter Dennis Bartok [Sat, 29 Apr 2006 03:36:42 +0000 (03:36 -0000)]
2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
* System.Design.dll.sources: Put back two accidentally deleted lines
svn path=/trunk/mcs/; revision=60074
Peter Dennis Bartok [Sat, 29 Apr 2006 02:30:23 +0000 (02:30 -0000)]
2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
* System.Design.dll.sources: Added ControlBindingsConverter.cs
* ControlBindingsConverter.cs: Added
svn path=/trunk/mcs/; revision=60073
Gonzalo Paniagua Javier [Fri, 28 Apr 2006 23:00:02 +0000 (23:00 -0000)]
2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs:
(BackColor): if the control does not support a transparent background,
return the default backcolor when the parent backcolor is transparent.
svn path=/trunk/mcs/; revision=60065
Peter Dennis Bartok [Fri, 28 Apr 2006 22:18:21 +0000 (22:18 -0000)]
2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
* Application.cs: Updated to new StartLoop/GetMessage API
* RichTextBox.cs: Provide some output on RTF parsing errors
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
new queue_id argument to GetMessage and PeekMessage to allow faster
handling of per-thread queues in drivers.
* Hwnd.cs: Added Queue tracking and property
* MenuAPI.cs: Updated to new StartLoop/GetMessage API
* XEventQueue.cs: Added thread trackingA
* PropertyGridView.cs: Updated to new StartLoop/GetMessage API
* XplatUIX11.cs:
- Implemented new per-thread queue
- GetMessage: Fixed return/break behaviour on several cases. We were
returning stale messages in some cases, instead of just processing
the next message
svn path=/trunk/mcs/; revision=60063
Wade Berrier [Fri, 28 Apr 2006 22:11:12 +0000 (22:11 -0000)]
serial.c: Add sys/filio.h for solaris for FIONREAD
svn path=/trunk/mono/; revision=60062
Miguel de Icaza [Fri, 28 Apr 2006 21:27:44 +0000 (21:27 -0000)]
Add more classes, I only added these so I can test the strengthening patches
for the rutnime (bug 76661), not because we can support VB.NET 2005.
I made it so VB.NET 2005 applications abort on startup now.
svn path=/trunk/mcs/; revision=60061
Massimiliano Mantione [Fri, 28 Apr 2006 21:22:07 +0000 (21:22 -0000)]
* mini-codegen.c: Fixed typo that thrashed inline.
svn path=/trunk/mono/; revision=60060
Miguel de Icaza [Fri, 28 Apr 2006 20:56:03 +0000 (20:56 -0000)]
Some files needed to run the problems reported in 76795
svn path=/trunk/mcs/; revision=60059
Marek Safar [Fri, 28 Apr 2006 20:49:17 +0000 (20:49 -0000)]
2006-04-28 Marek Safar <marek.safar@seznam.cz>
A fix for #78049
*class.cs (Method.FindOutBaseMethod): Base method cannot be property method.
svn path=/trunk/mcs/; revision=60058
Gonzalo Paniagua Javier [Fri, 28 Apr 2006 20:04:14 +0000 (20:04 -0000)]
2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DirectoryTest.cs: added test for bug 78209.
svn path=/trunk/mcs/; revision=60055