mono.git
17 years ago* supportw.c (SendMessageA/GetWindowLongA): Return values to fix some
Wade Berrier [Thu, 29 Mar 2007 00:11:34 +0000 (00:11 -0000)]
* supportw.c (SendMessageA/GetWindowLongA): Return values to fix some
warnings, even though these aren't called (Patch from suse rpms)

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

17 years agoRevert, it broke the build
Miguel de Icaza [Wed, 28 Mar 2007 21:50:03 +0000 (21:50 -0000)]
Revert, it broke the build

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

17 years ago * ListViewItem.cs: Forgot to make Invalidate internal.
Carlos Alberto Cortez [Wed, 28 Mar 2007 21:17:28 +0000 (21:17 -0000)]
* ListViewItem.cs: Forgot to make Invalidate internal.

2007-03-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years agosvn path=/trunk/mcs/; revision=75111
Antonello Provenzano [Wed, 28 Mar 2007 21:03:14 +0000 (21:03 -0000)]
svn path=/trunk/mcs/; revision=75111

17 years ago2007-03-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 28 Mar 2007 20:54:37 +0000 (20:54 -0000)]
2007-03-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Add a InvalidateSelection method to
invalidate methods which are currently selected, and call
it when setting FullRowSelect and HideSelection, instead of
calling Redraw.

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

17 years agoMigration of QueryExpression to Enumerable.
Antonello Provenzano [Wed, 28 Mar 2007 20:53:26 +0000 (20:53 -0000)]
Migration of QueryExpression to Enumerable.

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

17 years ago2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Mar 2007 20:30:45 +0000 (20:30 -0000)]
2007-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* nunit-host-ignore-list: More test cases that fails on SPARC bots.

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

17 years ago2007-03-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 28 Mar 2007 20:05:11 +0000 (20:05 -0000)]
2007-03-28  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs (UnmapWindow): reindent this block.

* DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
the selection_start if we're moving the selection (that is, not
extending it). Fixes bug #80461.

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

17 years ago2007-03-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 28 Mar 2007 20:02:17 +0000 (20:02 -0000)]
2007-03-28  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripOverflowButtonTest.cs, ToolStripOverflowTest.cs: Disable
some tests I didn't mean to commit yet.

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

17 years ago2007-03-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 28 Mar 2007 19:59:45 +0000 (19:59 -0000)]
2007-03-28  Jonathan Pobst  <monkey@jpobst.com>

* ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
* ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
create private ControlCollection.

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

17 years ago2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Mar 2007 19:46:38 +0000 (19:46 -0000)]
2007-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* environment.c: Fix return value check on uname so we can get the
executing version on Solaris operating systems.

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

17 years ago2007-03-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 28 Mar 2007 19:31:15 +0000 (19:31 -0000)]
2007-03-28  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: We need to call OnVisibleChanged for our implicit
children as well as our normal children.  Fixes scrollbars in
comboboxes not showing up.

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

17 years ago2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Mar 2007 18:40:51 +0000 (18:40 -0000)]
2007-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* nunit-host-ignore-list: Ignore TIFF codec tests on both SPARC bots.

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

17 years ago2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Mar 2007 18:39:42 +0000 (18:39 -0000)]
2007-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* TiffCodecTest.cs: Ignore both SPARC bots by using the HostIgnoreList
mechanism.

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

17 years ago2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Mar 2007 18:37:40 +0000 (18:37 -0000)]
2007-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* MetaHeader.cs: Make workaround (#81254) permanent and return correct
values on big endian architectures.

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

17 years ago2007-03-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 28 Mar 2007 18:04:10 +0000 (18:04 -0000)]
2007-03-28  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
the check for IsHandleCreated first.  The check in CreateHandle is not
good enough because CreateHandle can be overriden, and the override
should not be called if the handle is already created.

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

17 years ago2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Mar 2007 17:51:09 +0000 (17:51 -0000)]
2007-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* RIPEMD160Managed.cs: Fix endian issue (take good code path).

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

17 years ago2007-03-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 28 Mar 2007 17:46:01 +0000 (17:46 -0000)]
2007-03-28  Jonathan Pobst  <monkey@jpobst.com>

* StatusStripTest.cs: Added.
* ToolStripContainerTest.cs: Added.
* ToolStripContentPanelTest.cs: Added.
* ToolStripDropDownTest.cs: Added.
* ToolStripManagerTest.cs: Added.
* ToolStripOverflowButtonTest.cs: Added.
* ToolStripOverflowTest.cs: Added.
* ToolStripPanelTest.cs: Added.
* ToolStripProgressBarTest.cs: Enable tests about MarqueeAnimationSpeed.
* ToolStripStatusLabelTest.cs: Added.

2007-03-28  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms_test.dll.sources: Add StatusStripTest.cs,
ToolStripContainerTest.cs, ToolStripContentPanelTest.cs,
ToolStripDropDownTest.cs, ToolStripManagerTest.cs,
ToolStripOverflowButtonTest.cs, ToolStripOverflowTest.cs
ToolStripPanelTest.cs, ToolStripStatusLabelTest.cs.

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

17 years ago2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 28 Mar 2007 17:30:36 +0000 (17:30 -0000)]
2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>

* StaticSiteMapProvider.cs:
GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.

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

17 years ago2007-03-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 28 Mar 2007 17:06:39 +0000 (17:06 -0000)]
2007-03-28  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Remove MonoTODO for tooltips.
* ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
* ToolStripContainer.cs: Add custom ControlCollection class.
* ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
* ToolStripDropDown.cs: Add some missing properties/methods.
* ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
* ToolStripItem.cs: Remove MonoTODO for tooltips.
* ToolStripManager.cs: Add IsShortcutDefined.
* ToolStripOverflow.cs: Override LayoutEngine.
* ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
* ToolStripSeparator.cs: Add ImageKey.

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

17 years ago - Make sure the line ending calcs get called.
Jackson Harper [Wed, 28 Mar 2007 17:01:24 +0000 (17:01 -0000)]
    - Make sure the line ending calcs get called.

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

17 years ago * TextControl.cs: If a char delete removes a line ending, we
Jackson Harper [Wed, 28 Mar 2007 15:58:40 +0000 (15:58 -0000)]
    * TextControl.cs: If a char delete removes a line ending, we
        * need
        to update the ending style.

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

17 years ago2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 28 Mar 2007 13:36:17 +0000 (13:36 -0000)]
2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.cs:
* TreeView:
avoid Exception if HierarchicalDataSourceView.Select() returns null.

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

17 years ago2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Mar 2007 13:22:49 +0000 (13:22 -0000)]
2007-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* MetaHeader.cs: Workaround bug #81254 where the SPARC architecture
can't use the misaligned integer in the structure (with Pack=2).

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

17 years ago2007-03-28 Jb Evain <jbevain@gmail.com>
Jb Evain [Wed, 28 Mar 2007 13:14:14 +0000 (13:14 -0000)]
2007-03-28  Jb Evain  <jbevain@gmail.com>

* class.c (mono_type_get_name_recurse): Complete the
fix for the creation of assembly qualified names for
pointer types. Fixes #81208.

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

17 years agoReflect some changes made after changelog entry was written.
Raja R Harinath [Wed, 28 Mar 2007 12:02:02 +0000 (12:02 -0000)]
Reflect some changes made after changelog entry was written.

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

17 years agoIn .:
Raja R Harinath [Wed, 28 Mar 2007 11:55:46 +0000 (11:55 -0000)]
In .:
* runtime/mono-wrapper.in (PATH): Include _tmpinst/bin.  Ensure
that library invocations of 'mcs' and 'gmcs' pick the in-tree versions.
* runtime/Makefile.am (mcs-do-run-test-profiles): Don't set PATH.
(all-local, install-local): Depend on TEST_SUPPORT_FILES too.
(test-support-files): Move creation of _tmpinst/bin directory ...
(test-support-file, $(tmpinst)/bin/mono): ... here.
($(tmpinst)/bin/mbas, $(tmpinst)/bin/pedump): Remove.

In mono/tests:
* Makefile.am (test-bug-80307): Don't set PATH.

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

17 years ago* XplatUIX11.cs: CreateWindow: Remove old default form location code,
Rolf Bjarne Kvinge [Wed, 28 Mar 2007 11:05:28 +0000 (11:05 -0000)]
* XplatUIX11.cs: CreateWindow: Remove old default form location code,
  it was making the new code not work. Fixed a typo in the new code
  as well. Fixes #79826.

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

17 years agoresolve GlobalResourcesAssembly in correct place
Konstantin Triger [Wed, 28 Mar 2007 10:55:01 +0000 (10:55 -0000)]
resolve GlobalResourcesAssembly in correct place

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

17 years agobreak potential recoursion if user overrides this[]
Konstantin Triger [Wed, 28 Mar 2007 09:33:08 +0000 (09:33 -0000)]
break potential recoursion if user overrides this[]

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

17 years ago* BrowserCapabilities.cs:
Konstantin Triger [Wed, 28 Mar 2007 08:56:42 +0000 (08:56 -0000)]
* BrowserCapabilities.cs:
1. refactoring.
2. Break recoursion in case 'browser' capability is not found.

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

17 years ago2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 28 Mar 2007 08:53:10 +0000 (08:53 -0000)]
2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>

* SiteMapNode.cs: fixed GetAllNodes method.

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

17 years agoFix build breakage in r75048
Sebastien Pouliot [Wed, 28 Mar 2007 00:02:58 +0000 (00:02 -0000)]
Fix build breakage in r75048

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

17 years ago2007-03-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 27 Mar 2007 22:37:45 +0000 (22:37 -0000)]
2007-03-27  Everaldo Canuto  <everaldo@simios.org>

* XplatUIWin32.cs:
- NIF_STATE and NIF_INFO added to NotifyIconFlags.
- NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
- SystrayBalloon method implemented.
[Add support for notifyicon balloon on win32, #79149]

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

17 years ago2007-03-27 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 27 Mar 2007 21:07:12 +0000 (21:07 -0000)]
2007-03-27  Mike Kestner  <mkestner@novell.com>

* ThemeWin32Classic.cs : update StateImageList selection to mirror
the ms behavior when only one image is added to the list.
[Fixes #81191]

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

17 years ago * TextControl.cs: Improvements to non multiline line ending
Jackson Harper [Tue, 27 Mar 2007 20:53:53 +0000 (20:53 -0000)]
    * TextControl.cs: Improvements to non multiline line ending
        drawing/measuing.

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

17 years ago2007-03-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 27 Mar 2007 20:34:48 +0000 (20:34 -0000)]
2007-03-27  Everaldo Canuto  <everaldo@simios.org>
* XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.

2007-03-27  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-03-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 27 Mar 2007 20:00:46 +0000 (20:00 -0000)]
2007-03-26  Everaldo Canuto  <everaldo@simios.org>

* NotifyIcon.cs:
- Balloon message handling added.
- Call XplatUI.SystrayBalloon in ShowBalloonTip.

* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
to SystrayBalloon to me like other Systray method, also a
handle parameter added.

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

17 years ago2007-03-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 27 Mar 2007 19:35:47 +0000 (19:35 -0000)]
2007-03-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Show scrollbars even when items.Count == 0
but the columns Width is bigger than the ListView.Width.
Also, when columns.Count == 0 set layout_wd and layout_ht
to the ClientRectangle values, so we don't show any scrollbar
in that case.

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

17 years ago2007-03-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 27 Mar 2007 19:10:46 +0000 (19:10 -0000)]
2007-03-27  Everaldo Canuto  <everaldo@simios.org>

* XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.

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

17 years ago * RTF.cs: Use the documents encoding code page to decode unicode
Jackson Harper [Tue, 27 Mar 2007 18:48:36 +0000 (18:48 -0000)]
    * RTF.cs: Use the documents encoding code page to decode unicode
        chars.
        *   RichTextBox.cs: The RTF library decodes the text
                * properly for us
        now.

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

17 years agoFixed compilation
Alan McGovern [Tue, 27 Mar 2007 18:46:25 +0000 (18:46 -0000)]
Fixed compilation

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

17 years agoFixed broken test.
Alan McGovern [Tue, 27 Mar 2007 18:39:01 +0000 (18:39 -0000)]
Fixed broken test.

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

17 years ago2007-03-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 27 Mar 2007 18:36:36 +0000 (18:36 -0000)]
2007-03-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Display HeaderControl even when columns.Count == 0.
* ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
ListView header (HeaderControl), instead of Control.BackColor.

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

17 years agosvn path=/trunk/mcs/; revision=75036
Noam Lampert [Tue, 27 Mar 2007 17:59:25 +0000 (17:59 -0000)]
svn path=/trunk/mcs/; revision=75036

17 years agoprepare for resource assembly resolution per AppDomain
Konstantin Triger [Tue, 27 Mar 2007 17:41:29 +0000 (17:41 -0000)]
prepare for resource assembly resolution per AppDomain

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

17 years ago2007-03-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 27 Mar 2007 17:29:13 +0000 (17:29 -0000)]
2007-03-27  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
Fixes tab control issues where controls would not show up because they
never received their OnVisibleChanged call.

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

17 years agoPrepare to kill 'Reachability'
Raja R Harinath [Tue, 27 Mar 2007 17:18:59 +0000 (17:18 -0000)]
Prepare to kill 'Reachability'
* flowanalysis.cs (FlowBranching.Reachability): Make class private.
(FlowBranching.UsageVector.Reachability): Remove property.
(FlowBranching.UsageVector.IsUnreachable): New property.
(FlowBranching.UsageVector.ResetBarrier): New.
(FlowBranching.UsageVector, FlowBranchingLabeled): Update to changes.
* codegen.cs, statement.cs: Update to changes.

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

17 years ago2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 27 Mar 2007 17:15:02 +0000 (17:15 -0000)]
2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>

* XmlSiteMapProvider.cs: fixed:
resolve app-relative path from config such siteMapFile="~/Web.sitemap".

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

17 years agoMakefile.am (test-bug-80307): Use helper 'mcs' and 'gmcs' from build tree.
Raja R Harinath [Tue, 27 Mar 2007 17:09:24 +0000 (17:09 -0000)]
Makefile.am (test-bug-80307): Use helper 'mcs' and 'gmcs' from build tree.

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

17 years ago2007-03-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 27 Mar 2007 16:51:44 +0000 (16:51 -0000)]
2007-03-27  Everaldo Canuto  <everaldo@simios.org>

* NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
BalloonTipShown).

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

17 years agosvn path=/trunk/mcs/; revision=75029
Igor Zelmanovich [Tue, 27 Mar 2007 16:40:37 +0000 (16:40 -0000)]
svn path=/trunk/mcs/; revision=75029

17 years ago* Makefile.am (JITTEST_PROG_RUN): Set MONO_CFG_DIR too.
Raja R Harinath [Tue, 27 Mar 2007 16:30:38 +0000 (16:30 -0000)]
* Makefile.am (JITTEST_PROG_RUN): Set MONO_CFG_DIR too.

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

17 years ago2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 27 Mar 2007 16:24:35 +0000 (16:24 -0000)]
2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>

* SiteMapNode.cs:
* XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.

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

17 years ago2007-03-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 27 Mar 2007 16:16:10 +0000 (16:16 -0000)]
2007-03-27  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
* Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
are max or min.  Remove WS_VISIBLE from CreateParams unless we are recreating
the handle.  Fix WindowState by using the internal variable until we are
sure that we've been shown.
* XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
max or min.
[Fixes bug #81198]

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

17 years ago * TextMap.cs: New textmap. This should cover all the special
Jackson Harper [Tue, 27 Mar 2007 15:51:33 +0000 (15:51 -0000)]
    * TextMap.cs: New textmap.  This should cover all the special
        chars.

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

17 years ago* XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
Rolf Bjarne Kvinge [Tue, 27 Mar 2007 15:23:11 +0000 (15:23 -0000)]
* XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  (at least borders). Fixes #79386 on Linux (with a small difference
  in behaviour: when trying to resize a caption-less window metacity
  shows the sysmenu. Resizing is still possible though).
* XplatUIWin32.cs: When setting window styles send request an extra
  WM_NCCALCSIZE when it's a form without title (due to no text and no
  caption), since Win32 seems to calculate it wrong the first time we
  get the message, though the second time things work as they should.
* Form.cs: Reorder a few statements in ChangingParent, otherwise the
  newly reparented window might show up unparented. Update
  CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  there's no title text. Fixes #79386.

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

17 years ago2007-03-27 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 27 Mar 2007 15:12:58 +0000 (15:12 -0000)]
2007-03-27  Mike Kestner  <mkestner@novell.com>

* ListBox.cs : don't perform invalidations if the handle hasn't been
created.  [Fixes #80753]

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

17 years ago2007-03-27 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 27 Mar 2007 14:55:54 +0000 (14:55 -0000)]
2007-03-27  Mike Kestner  <mkestner@novell.com>

* ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
[Fixes #80428]

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

17 years agoOptimised a lot of the List methods to increase performance.
Alan McGovern [Tue, 27 Mar 2007 14:42:51 +0000 (14:42 -0000)]
Optimised a lot of the List methods to increase performance.

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

17 years agoBugfix for incrementing the version incorrectly in queue and stack
Alan McGovern [Tue, 27 Mar 2007 14:39:33 +0000 (14:39 -0000)]
Bugfix for incrementing the version incorrectly in queue and stack

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

17 years ago2007-03-27 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 27 Mar 2007 14:35:36 +0000 (14:35 -0000)]
2007-03-27  Dick Porter  <dick@ximian.com>

* Mutex.cs: Throw ApplicationException if ReleaseMutex() fails.
Fixes bug 79358.

2007-03-27  Dick Porter  <dick@ximian.com>

* Environment.cs: Increment mono_corlib_version;

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

17 years ago2007-03-27 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 27 Mar 2007 14:33:25 +0000 (14:33 -0000)]
2007-03-27  Dick Porter  <dick@ximian.com>

* appdomain.c (MONO_CORLIB_VERSION): Increment, as the signature
of ves_icall_System_Threading_Mutex_ReleaseMutex_internal() has
changed.

* threads.c
(ves_icall_System_Threading_Mutex_ReleaseMutex_internal): Return
the value of ReleaseMutex().

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

17 years agoShould've used "or" not "and" in the inequality test.
Alan McGovern [Tue, 27 Mar 2007 14:05:34 +0000 (14:05 -0000)]
Should've used "or" not "and" in the inequality test.

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

17 years ago * TextMap.cs: Implement some more characters. I need to go
Jackson Harper [Tue, 27 Mar 2007 14:03:31 +0000 (14:03 -0000)]
    * TextMap.cs: Implement some more characters.  I need to go
        through and do all of these. There are a lot missing

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

17 years agoEOL-Style:native
Alan McGovern [Tue, 27 Mar 2007 13:42:42 +0000 (13:42 -0000)]
EOL-Style:native

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

17 years ago2007-03-27 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 27 Mar 2007 11:44:29 +0000 (11:44 -0000)]
2007-03-27  Dick Porter  <dick@ximian.com>

* socket-io.c (ipaddress_to_struct_in_addr): IPAddress is stored
in little-endian order, not network endian, so must be converted
to host endian here.  Fixes bug 80593.

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

17 years agoFixed hardcoded 'Name' properties in different providers. Fixes TD bug (7751)
Ilya Kharmatsky [Tue, 27 Mar 2007 11:23:37 +0000 (11:23 -0000)]
Fixed hardcoded 'Name' properties in different providers. Fixes TD bug (7751)

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

17 years ago2007-03-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 27 Mar 2007 10:58:49 +0000 (10:58 -0000)]
2007-03-26  Everaldo Canuto  <everaldo@simios.org>

* XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
needed to implement Balloon.

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

17 years agoEOL style native
Alan McGovern [Tue, 27 Mar 2007 02:39:16 +0000 (02:39 -0000)]
EOL style native

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

17 years ago2007-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 26 Mar 2007 23:24:26 +0000 (23:24 -0000)]
2007-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItemTest.cs: Add tests for constructors taking
an array of strings, for the ListViewSubItem constructors,
and for the ListViewSubItemCollection.AddRange method receiving
and array of null strings.

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

17 years ago2007-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 26 Mar 2007 23:21:54 +0000 (23:21 -0000)]
2007-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: In the constructors that take
an array of strings, don't use ListViewSubItemCollection.AddRange
method to add items, since we need to have a different behaviour (in
the constructors we add an item for each null string, opposed to
the behaviour of AddRange, which adds nothing).

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

17 years ago * TextControl.cs: Draw and measure line endings when in non
Jackson Harper [Mon, 26 Mar 2007 22:36:59 +0000 (22:36 -0000)]
    * TextControl.cs: Draw and measure line endings when in non
        multiline mode.
        - When searching the text, count the end of the last line as a
        word boundary.

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

17 years ago flush
Jackson Harper [Mon, 26 Mar 2007 22:36:19 +0000 (22:36 -0000)]
    flush

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

17 years ago This test works now!
Jackson Harper [Mon, 26 Mar 2007 22:28:28 +0000 (22:28 -0000)]
    This test works now!

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

17 years ago2007-03-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Mar 2007 22:25:33 +0000 (22:25 -0000)]
2007-03-27  Martin Baulig  <martin@ximian.com>

Fix #81209.

* decl.cs
(DeclSpace.LookupNestedTypeInHierarchy): Correctly handle nested
generic types.

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

17 years ago2007-03-26 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Mon, 26 Mar 2007 22:24:50 +0000 (22:24 -0000)]
2007-03-26  Andreia Gaita  <avidigal@novell.com>

* NumericUpDown.cs: Fix broken 1.1 api for ParseEditText

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

17 years ago New test.
Jackson Harper [Mon, 26 Mar 2007 20:50:50 +0000 (20:50 -0000)]
    New test.

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

17 years ago * RichTextBox.cs: The selection_start and selection_end don't
Jackson Harper [Mon, 26 Mar 2007 20:19:37 +0000 (20:19 -0000)]
    * RichTextBox.cs: The selection_start and selection_end don't
        really track the correct tags for the selection. So we'll
manually
        compute the correct tag here.

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

17 years ago* ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
Rolf Bjarne Kvinge [Mon, 26 Mar 2007 18:50:31 +0000 (18:50 -0000)]
* ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  and Continuous styles. Fixes #79469.

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

17 years ago2007-03-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 26 Mar 2007 18:15:45 +0000 (18:15 -0000)]
2007-03-26  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Implement Tooltips.
* ToolStripItem.cs: Create internal method for determining tooltip.

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

17 years ago2007-03-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 26 Mar 2007 17:13:32 +0000 (17:13 -0000)]
2007-03-26  Jonathan Pobst  <monkey@jpobst.com>

* PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.

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

17 years agoInitialize current culture from request locale
Konstantin Triger [Mon, 26 Mar 2007 14:48:49 +0000 (14:48 -0000)]
Initialize current culture from request locale

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

17 years ago2007-03-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 26 Mar 2007 13:47:27 +0000 (13:47 -0000)]
2007-03-26  Marek Habersack  <mhabersack@novell.com>

Use GetExpressionFromString to generate a correct expression for
custom page/control attributes. Fixes bug #81132.

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

17 years agouse session timeout taken from web.xml; add support for changing session timeout...
Konstantin Triger [Mon, 26 Mar 2007 13:26:43 +0000 (13:26 -0000)]
use session timeout taken from web.xml; add support for changing session timeout programmatically

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

17 years ago* flowanalysis.cs (FlowBranching.Reachability): Use a boolean
Raja R Harinath [Mon, 26 Mar 2007 13:12:30 +0000 (13:12 -0000)]
* flowanalysis.cs (FlowBranching.Reachability): Use a boolean
instead of TriState.  Remove all mention of TriState.

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

17 years ago2007-03-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 26 Mar 2007 12:31:45 +0000 (12:31 -0000)]
2007-03-26  Marek Habersack  <mhabersack@novell.com>

* TemplateControl.cs: make local resources work with master
pages - use the AppRelativeVirtualPath for resource resolution.

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

17 years agocorrectly handle null and empty virtual pathes in MapPath
Konstantin Triger [Mon, 26 Mar 2007 12:13:04 +0000 (12:13 -0000)]
correctly handle null and empty virtual pathes in MapPath

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

17 years ago2007-03-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 26 Mar 2007 11:56:44 +0000 (11:56 -0000)]
2007-03-26  Marek Habersack  <mhabersack@novell.com>

Process meta:resourcekey after all the field/attribute assignments
are done. Fixes bug #80809.
Clean the code up a bit.

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

17 years ago2007-03-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 26 Mar 2007 11:42:01 +0000 (11:42 -0000)]
2007-03-26  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: support the meta:resourcekey attribute in
Page and Control directives. Fixes bug #81204.

2007-03-26  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: refactor assining properties from
resources a bit to support pages and user controls. Fixes bug
#81204.

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

17 years ago* flowanalysis.cs (FlowBranching.Reachability): Prepare to be
Raja R Harinath [Mon, 26 Mar 2007 09:59:52 +0000 (09:59 -0000)]
* flowanalysis.cs (FlowBranching.Reachability): Prepare to be
replaced by a boolean.  Add boolean 'is_unreachable' field, check
and maintain invariants.

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

17 years ago * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
Everaldo Canuto [Mon, 26 Mar 2007 09:57:40 +0000 (09:57 -0000)]
* NotifyIcon.cs: On disposing verify if icon is visible and hide it,
it prevents a problem thak keeps icon visible after application
closes on win32.

2007-03-26  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-03-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Mon, 26 Mar 2007 09:08:02 +0000 (09:08 -0000)]
2007-03-26  Everaldo Canuto  <everaldo@simios.org>

* NotifyIcon.cs: Balloon properties and methods created.

* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.

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

17 years ago2007-03-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 26 Mar 2007 04:11:05 +0000 (04:11 -0000)]
2007-03-25  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripTest.cs: Fix ambiguous Category attribute.

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

17 years ago2007-03-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sun, 25 Mar 2007 22:42:56 +0000 (22:42 -0000)]
2007-03-25  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripTest.cs: Mark WM decoration dependent test as NotWorking.

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

17 years ago2007-03-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sun, 25 Mar 2007 20:42:48 +0000 (20:42 -0000)]
2007-03-25  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.

2007-03-25  Jonathan Pobst  <monkey@jpobst.com>

* ButtonTest.cs: Add test demonstrating the behavior of ImageList.
* MenuStripTest.cs: General test suite.
* ToolStripComboBoxTest.cs: Enable tests for FlatStyle.
* ToolStripControlHostTest.cs: Form.ShowInTaskbar = false.
* ToolStripItemTest.cs: Test for method Dispose.
* ToolStripMenuItemTest.cs: Add tests for constructor and keyboard shortcuts.
* ToolStripProgressBarTest.cs: Enable previously NotWorking test.
* ToolStripTest.cs: Add tests for Overflow, Dock/Orientation, and
CreateLayoutSettings.

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

17 years agoMore complicated test.
Marek Safar [Sun, 25 Mar 2007 19:18:16 +0000 (19:18 -0000)]
More complicated test.

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

17 years ago2007-03-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 25 Mar 2007 19:17:19 +0000 (19:17 -0000)]
2007-03-25  Marek Safar  <marek.safar@gmail.com>

* generic.cs (InferTypeArguments): Infer arguments before they are used
for compatibility check.

2007-03-25  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs: Restored checks disabled for uninflated anonymous methods.

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

17 years agoFurther optimisation for the Swap*** methods. SwapLong is now twice as fast as the...
Alan McGovern [Sun, 25 Mar 2007 17:12:05 +0000 (17:12 -0000)]
Further optimisation for the Swap*** methods. SwapLong is now twice as fast as the initial method.

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

17 years agoSpell error in exception message fixed.
Ilya Kharmatsky [Sun, 25 Mar 2007 16:23:36 +0000 (16:23 -0000)]
Spell error in exception message fixed.

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