mono.git
18 years agoIn mcs:
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

18 years ago* mcs/flowanalysis.cs (UsageVector.Throw): Set barrier too.
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

18 years ago2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
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

18 years agoudate monodoc command
Wade Berrier [Tue, 2 May 2006 02:34:42 +0000 (02:34 -0000)]
udate monodoc command

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

18 years ago(C) update
Miguel de Icaza [Tue, 2 May 2006 01:39:01 +0000 (01:39 -0000)]
(C) update

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

18 years agoSome profiler documentation
Miguel de Icaza [Tue, 2 May 2006 01:08:12 +0000 (01:08 -0000)]
Some profiler documentation

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

18 years agoSome more documentation
Miguel de Icaza [Tue, 2 May 2006 01:07:46 +0000 (01:07 -0000)]
Some more documentation

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

18 years agoAuthor headers
Miguel de Icaza [Tue, 2 May 2006 00:21:45 +0000 (00:21 -0000)]
Author headers

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

18 years ago2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-05-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
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

18 years ago2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
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

18 years agoRemove AOT docs
Miguel de Icaza [Mon, 1 May 2006 21:06:03 +0000 (21:06 -0000)]
Remove AOT docs

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

18 years agoMore documentation work, only a few more methods missing
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

18 years agoRevert this one
Miguel de Icaza [Mon, 1 May 2006 20:35:48 +0000 (20:35 -0000)]
Revert this one

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

18 years agoRemove from here
Miguel de Icaza [Mon, 1 May 2006 20:33:52 +0000 (20:33 -0000)]
Remove from here

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

18 years agoHide some more methods
Miguel de Icaza [Mon, 1 May 2006 20:32:46 +0000 (20:32 -0000)]
Hide some more methods

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

18 years agoHide mono_unlink_bblock as its not used anywhere else
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

18 years agohide another static one
Miguel de Icaza [Mon, 1 May 2006 19:51:13 +0000 (19:51 -0000)]
hide another static one

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

18 years agoRemove from header files
Miguel de Icaza [Mon, 1 May 2006 19:48:49 +0000 (19:48 -0000)]
Remove from header files

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

18 years agoMissed two uses
Miguel de Icaza [Mon, 1 May 2006 19:47:53 +0000 (19:47 -0000)]
Missed two uses

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

18 years agoCleanup namespace of published methods
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

18 years agoMake mono_create_delegate_trampoline static
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

18 years agomore docs
Miguel de Icaza [Mon, 1 May 2006 19:35:05 +0000 (19:35 -0000)]
more docs

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

18 years agoFix ordering for list with 0 or 1 item
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

18 years ago2006-05-01 Chris Toshok <toshok@ximian.com>
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

18 years ago * Membership.cs (GeneratePassword): don't include quotes (',",`)
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

18 years agoMinor update
Miguel de Icaza [Mon, 1 May 2006 19:09:20 +0000 (19:09 -0000)]
Minor update

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

18 years ago * MembershipProvider.cs (GetAlg): switch from Exception to
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

18 years ago2006-05-01 Chris Toshok <toshok@ximian.com>
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

18 years ago2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
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

18 years ago2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
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

18 years agooops. committed the wrong revision
Chris Toshok [Mon, 1 May 2006 17:55:08 +0000 (17:55 -0000)]
oops.  committed the wrong revision

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

18 years ago2006-05-01 Chris Toshok <toshok@ximian.com>
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

18 years ago2006-05-01 Mike Kestner <mkestner@novell.com>
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

18 years ago2006-05-01 Daniel Drake <dsd@gentoo.org>
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

18 years ago2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

18 years ago2006-05-01 Daniel Drake <dsd@gentoo.org>
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

18 years ago2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
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

18 years ago* mcs/codegen.cs (EmitContext.ResolveTopBlock): Remove redundant
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

18 years ago2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-05-01 Marek Safar <marek.safar@seznam.cz>
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

18 years ago2006-04-30 Aaron Flynt <aaron@aaronflynt.com>
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

18 years ago2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-30 Marek Safar <marek.safar@seznam.cz>
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

18 years agoSome more
Miguel de Icaza [Sun, 30 Apr 2006 18:49:47 +0000 (18:49 -0000)]
Some more

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

18 years agoMore documentation work
Miguel de Icaza [Sun, 30 Apr 2006 18:40:23 +0000 (18:40 -0000)]
More documentation work

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

18 years ago* TimerTest.cs: Corrected bug number (from #78202 to #78208).
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

18 years agoUpdate some of the documentation.
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

18 years ago2006-04-30 Marek Safar <marek.safar@seznam.cz>
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

18 years ago* TimerTest.cs: Added test for bug #78202. Marked individual tests
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

18 years agoAdded ViewTest.cs and MultiViewTest.cs
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

18 years ago* mcs/flowanalysis.cs (Reachability): Make 4-argument constructor private.
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

18 years ago* Makefile.am (mcs-do-clean, mcs-do-compiler-tests): Clean
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

18 years ago2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-27 Alexander Olk <alex.olk@googlemail.com>
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

18 years ago- Disable debug
Peter Dennis Bartok [Sat, 29 Apr 2006 21:00:59 +0000 (21:00 -0000)]
- Disable debug

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

18 years ago2005-06-29 Jonathan Chambers <jonathan.chambers@ansys.com>
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

18 years ago2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago* mcs/flowanalysis.cs (TriState): Rename from FlowBranching.FlowReturns.
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

18 years ago2006-04-29 Jordi Mas i Hernandez <jordimash@gmail.com>
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

18 years ago2006-04-29 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

18 years ago2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
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

18 years agoserial.c: Add sys/filio.h for solaris for FIONREAD
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

18 years agoAdd more classes, I only added these so I can test the strengthening patches
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

18 years ago * mini-codegen.c: Fixed typo that thrashed inline.
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

18 years agoSome files needed to run the problems reported in 76795
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

18 years ago2006-04-28 Marek Safar <marek.safar@seznam.cz>
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

18 years ago2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

18 years ago2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 Apr 2006 20:01:35 +0000 (20:01 -0000)]
2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: make sure the parent directory is not an empty string
when a file name with no path is provided. Fixes bug #78209. Patch by
Emery Conrad.

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

18 years ago2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 19:13:23 +0000 (19:13 -0000)]
2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* PrintController.cs: corcompare fix. No public ctor in 2.0.
* PrinterSettings.cs: corcompare fix. Clone method isn't virtual.

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

18 years ago2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 18:52:55 +0000 (18:52 -0000)]
2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* TestColorBlend.cs: Added new test cases to verify if the TODO were
still valid. Updated existing test cases to nunit 2.2 api.

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

18 years ago2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 18:51:21 +0000 (18:51 -0000)]
2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* ColorBlend.cs: Removed TODO. ColorBlend may not be complete where
used (e.g. gradients) but the class is complete.
* CustomLineCap.cs: corcompare fixes. Clone and Dispose() methods are
not virtual.

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

18 years agoImage.cs: DefaultValue is null, not empty
Sebastien Pouliot [Fri, 28 Apr 2006 18:49:23 +0000 (18:49 -0000)]
Image.cs: DefaultValue is null, not empty

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

18 years ago2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 18:08:00 +0000 (18:08 -0000)]
2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
* Region.cs: Remove old todo that were fixed in libgdiplus.
* Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
attribute to Tag property. FromStream(Stream,bool,bool) is available
in Fx 1.1 (probably since SP1).

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

18 years ago2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Apr 2006 17:14:16 +0000 (17:14 -0000)]
2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* StreamReader.cs : implemented EndOfStream property.
* File.cs : implemented AppendAllText(), WriteAllLines(),
  WriteAllBytes() and ReadAllLines(). Bug #77813 fixed.

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

18 years ago2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Apr 2006 16:32:06 +0000 (16:32 -0000)]
2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* Conversion.cs : Val(null) and Val("") returns 0. Fixed bug #75555.

* ConversionTest.cs : added test for bug #75555.

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

18 years ago2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Apr 2006 16:20:54 +0000 (16:20 -0000)]
2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* SectionGroupInfo.cs :
  sections which are defined in sectionGroups could be directly
  referenced, so search corresponding section recursively.
* DefaultSection.cs : It does not reject unrecognized contents.

* t33.cs, t33.exe.config, t33.exe.expected,
  t34.cs, t34.exe.config, t34.exe.expected,
  Makefile : new tests.

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

18 years ago2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 15:50:29 +0000 (15:50 -0000)]
2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Added new test cases for AddCurve and it's
different behaviour (in some methods) when only two points are used
to define a curve.

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

18 years ago2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 15:48:44 +0000 (15:48 -0000)]
2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPath.cs: Added MonoTODO on some AddCurve methods because
libgdiplus doesn't use the numberOfSegments argument.

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

18 years ago2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 15:48:03 +0000 (15:48 -0000)]
2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: Added MonoTODO on some DrawCurve methods because
libgdiplus doesn't use the numberOfSegments argument.

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

18 years ago2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Apr 2006 14:40:56 +0000 (14:40 -0000)]
2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Added new test cases for DrawCurve methods.

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

18 years ago2006-04-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 28 Apr 2006 13:24:23 +0000 (13:24 -0000)]
2006-04-28  Zoltan Varga  <vargaz@gmail.com>

* dominators.c (compute_dominators): Avoid using a worklist since
it is not correct in some cases. Instead, iterate over all bblocks as
in the original paper. Fixes --compile-all -O=all System.Xml.dll.

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

18 years ago2006-04-28 Robert Jordan <robertj@gmx.net>
Atsushi Eno [Fri, 28 Apr 2006 12:52:40 +0000 (12:52 -0000)]
2006-04-28  Robert Jordan  <robertj@gmx.net>

* Path.cs (GetPathRoot): Return just the \\server\share
part of a UNC. Fixes #78147.

2006-04-28  Robert Jordan  <robertj@gmx.net>

* PathTest.cs: Added tests for bug #78147.

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

18 years ago2004-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Apr 2006 12:31:05 +0000 (12:31 -0000)]
2004-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* SynchronizationContext.cs : use ThreadPool in Post(), as suggested
  by cl (bug #78139).

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

18 years ago2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Apr 2006 12:25:43 +0000 (12:25 -0000)]
2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : Patch by pawel.sakowski@mind-breeze.com (bug #77382).
  Reduce object allocation and avoid culture-sensitive comparison.

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

18 years ago* mcs/flowanalysis.cs (FlowBranching.MergeTopBlock): Don't create a
Raja R Harinath [Fri, 28 Apr 2006 12:01:04 +0000 (12:01 -0000)]
* mcs/flowanalysis.cs (FlowBranching.MergeTopBlock): Don't create a
dummy UsageVector.
* gmcs/flowanalysis.cs: Likewise.

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

18 years ago2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Apr 2006 11:46:24 +0000 (11:46 -0000)]
2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>

        * System.dll.sources : added a bunch of missing
        * sys.configuration
          files.

        * NoSettingsVersionUpgradeAttribute.cs
          SettingsDescriptionAttribute.cs
          SettingsGroupDescriptionAttribute.cs
          SettingsGroupNameAttribute.cs
          SettingsManageability.cs
          SettingsManageabilityAttribute.cs
          SpecialSetting.cs
          SpecialSettingAttribute.cs : new files.
        * ConfigurationException.cs
          SettingsPropertyCollection.cs : minor API compat fixes.

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

18 years ago2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Apr 2006 06:58:11 +0000 (06:58 -0000)]
2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>

        * XmlSerializationWriter.cs : fix cosmetic typo (bug #78228).

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

18 years ago* mcs/flowanalysis.cs (UsageVector.MergeChild): Change FlowBranching
Raja R Harinath [Fri, 28 Apr 2006 05:07:40 +0000 (05:07 -0000)]
* mcs/flowanalysis.cs (UsageVector.MergeChild): Change FlowBranching
argument to two arguments: an usage-vector and a bool.  Move call
to FlowBranching.Merge () ...
(FlowBranching.MergeChild, FlowBranching.MergeTopBlock): ... here.
* gmcs/flowanalysis.cs: Likewise.

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

18 years ago2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Fri, 28 Apr 2006 04:03:19 +0000 (04:03 -0000)]
2006-04-27  Jonathan Chambers  <jonathan.chambers@ansys.com>

* PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.

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

18 years agosvn path=/trunk/mcs/; revision=60025
Miguel de Icaza [Fri, 28 Apr 2006 02:55:58 +0000 (02:55 -0000)]
svn path=/trunk/mcs/; revision=60025

18 years ago2006-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 Apr 2006 00:48:41 +0000 (00:48 -0000)]
2006-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: reset the challenge and the status code when
creating the tunnel and sending the proxy auth. headers. Improve error
message when there's an error creating the tunnel.
* HttpWebRequest.cs: don't trigger an early throw for a POST that gets
a 401 or 407 response.

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