mono.git
17 years agoRemove the word fail to improve our grepping experience
Miguel de Icaza [Fri, 16 Mar 2007 19:59:41 +0000 (19:59 -0000)]
Remove the word fail to improve our grepping experience

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

17 years ago2007-03-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 16 Mar 2007 19:55:21 +0000 (19:55 -0000)]
2007-03-16  Miguel de Icaza  <miguel@novell.com>

* BitConverter.cs: Revert the patch from 72237 as that introduces
a regression and we are not sure yet what we will be doing about
that.

Introduce a new InternalInt64BitsToDouble method that provides the
fixed functionality, mark it as internal.

Introduce a new SwappableToDouble method that includes the
swapping ToDouble routine as introduced by Zoltan on 72237, this
is used by InternalInt64BitsToDouble.

* Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
routine here to preserve the semantics from Zoltan.

The problem with BitConverter.cs is that it is completely hossed.
In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
endian-specific swapping.   In .NET 2.0 it is *almost* like that,
but it is subtly broken: if data is unaligned then endian
conversions happen.  If the data is properly aligned it behaves
like 1.0.

In general BitConverter is a sad class that offers little control,
we will be introducing a new mono bit converter and encourage
users to use that instead of the entirely broken
System.BitConverter.

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

17 years agoAdd methods
Miguel de Icaza [Fri, 16 Mar 2007 19:55:00 +0000 (19:55 -0000)]
Add methods

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

17 years ago* Menu.cs: MergeMenu: Check menu argument for null before looping over
Rolf Bjarne Kvinge [Fri, 16 Mar 2007 19:43:52 +0000 (19:43 -0000)]
* Menu.cs: MergeMenu: Check menu argument for null before looping over
  it.
* MdiWindowManager.cs: Add IsVisiblePending to track the pending
  visibility of mdi child forms. FormSizeChangedHandler: update the
  maximized size if size has changed while maximized.
* MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  creating the handle.
* InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  avoid creating the handle if not created.
* XplatUI.cs: Update debug output.
* XplatUIStructs.cs: Added ToString's for a couple of structs.

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

17 years ago* MdiFormTest.cs: Make TopLevelTest not working until the fix is ready
Rolf Bjarne Kvinge [Fri, 16 Mar 2007 19:41:33 +0000 (19:41 -0000)]
* MdiFormTest.cs: Make TopLevelTest not working until the fix is ready
  to get in.

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

17 years agoRevert this
Miguel de Icaza [Fri, 16 Mar 2007 18:11:39 +0000 (18:11 -0000)]
Revert this

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

17 years ago* MdiFormTest.cs, ControlTest.cs: Remove a warning.
Rolf Bjarne Kvinge [Fri, 16 Mar 2007 18:04:26 +0000 (18:04 -0000)]
* MdiFormTest.cs, ControlTest.cs: Remove a warning.

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

17 years agoFix #80507 for s390.
Neale Ferguson [Fri, 16 Mar 2007 18:03:23 +0000 (18:03 -0000)]
Fix #80507 for s390.

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

17 years agoSpecify the tasks required to complete JScript support.
César Natarén [Fri, 16 Mar 2007 18:03:01 +0000 (18:03 -0000)]
Specify the tasks required to complete JScript support.

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

17 years agoFix build.
Rolf Bjarne Kvinge [Fri, 16 Mar 2007 18:01:24 +0000 (18:01 -0000)]
Fix build.

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

17 years ago* ApplicationContextTest.cs: Added NotWorking test for nested
Rolf Bjarne Kvinge [Fri, 16 Mar 2007 17:55:52 +0000 (17:55 -0000)]
* ApplicationContextTest.cs: Added NotWorking test for nested
  application contexts.
* ControlHandleTest.cs: Comment out the dnd tests, they create a form
  on windows that won't close until the mouse is moved. Add a few
  more corner cases to the test.
* MdiFormTest.cs: Add TopLevelTest.

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

17 years agoFix #80507 for s390x.
Neale Ferguson [Fri, 16 Mar 2007 16:47:43 +0000 (16:47 -0000)]
Fix #80507 for s390x.

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

17 years ago2007-03-16 Lionel Cuir <lionel_email@aulofee.com>
Miguel de Icaza [Fri, 16 Mar 2007 16:26:31 +0000 (16:26 -0000)]
2007-03-16  Lionel Cuir <lionel_email@aulofee.com>

* DateTime.cs: Added support in 2.0 for Serialization.

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

17 years agoreverting mcs to r74457 because of strange/random issues while running unit tests
Sebastien Pouliot [Fri, 16 Mar 2007 16:21:45 +0000 (16:21 -0000)]
reverting mcs to r74457 because of strange/random issues while running unit tests

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

17 years ago2007-03-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 16 Mar 2007 14:57:02 +0000 (14:57 -0000)]
2007-03-16  Jonathan Pobst <monkey@jpobst.com>

* ContainerControl.cs: Give ToolStripManager the opportunity to handle
ProcessCmdKey().
* ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
Implement keyboard shortcuts.

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

17 years ago2007-03-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Mar 2007 14:13:46 +0000 (14:13 -0000)]
2007-03-16  Marek Habersack  <mhabersack@novell.com>

* UrlUtils.cs: make sure the trailing slash is present.

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

17 years ago* flowanalysis.cs (FlowBranching.Reachability): Remove. Move
Raja R Harinath [Fri, 16 Mar 2007 12:15:18 +0000 (12:15 -0000)]
* flowanalysis.cs (FlowBranching.Reachability): Remove.  Move
'IsUnreachable' to ...
(UsageVector): ... here.
* statement.cs, codegen.cs: Update to changes.

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

17 years ago * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
Everaldo Canuto [Fri, 16 Mar 2007 12:12:49 +0000 (12:12 -0000)]
* CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
ColorDialog and all derived classes.

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

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

17 years ago2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Mar 2007 11:45:14 +0000 (11:45 -0000)]
2007-03-16  Sebastien Pouliot  <sebastien@ximian.com>

* SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
available on the system.

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

17 years ago* flowanalysis.cs (TriState): Remove.
Raja R Harinath [Fri, 16 Mar 2007 11:26:44 +0000 (11:26 -0000)]
* flowanalysis.cs (TriState): Remove.
(FlowBranching.Reachability.barriers): Make boolean.

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

17 years ago2007-03-15 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 16 Mar 2007 10:06:07 +0000 (10:06 -0000)]
2007-03-15  Everaldo Canuto  <everaldo@simios.org>

[ Fixes bug #79828 ]

* ToolBar.cs:
- Rename ToolBarButtonInfor to ToolBarItem.
- Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
- Maintain an array of ToolBarItem, used instead of ToolBarButton
collection to be able add same button more than one time on a toolbar.
- Refactory all properties and methods to use ToolBarItem.

* ToolBarButton.cs:
- Remove all propeties and methods that is now in ToolBarItem.
- Rectangle propery now gets the rectangle from first ToolBarItem to
mimic win32 behavior.
- Size calculation and layout methods also removed.

* ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
ToolBarItem instead of ToolBarButton to right drawing buttons when
same button/separator was added more than one time to ToolBar.

* ThemeNice.cs: Same as above.

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

17 years ago2007-03-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Mar 2007 02:38:07 +0000 (02:38 -0000)]
2007-03-16  Marek Habersack  <mhabersack@novell.com>

* data/net_2_0/machine.config: added default profile provider
configuration.

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

17 years ago2007-03-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Mar 2007 02:36:47 +0000 (02:36 -0000)]
2007-03-16  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: produce message that makes more sense.

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

17 years ago2007-03-15 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Thu, 15 Mar 2007 23:54:37 +0000 (23:54 -0000)]
2007-03-15  Andreia Gaita  <avidigal@novell.com>

* XplatUIX11.cs: Fire extra MouseMove events right after
MouseDown and MouseUp, emulating win32's <censored> behaviour
for apps that rely on it.

* X11Display.cs: Fire extra MouseMove events right after
MouseDown and MouseUp, emulating win32's <censored> behaviour
for apps that rely on it.

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

17 years agoFixed the build
Marek Safar [Thu, 15 Mar 2007 23:45:48 +0000 (23:45 -0000)]
Fixed the build

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

17 years agoRemoved comment
Marek Safar [Thu, 15 Mar 2007 23:17:41 +0000 (23:17 -0000)]
Removed comment

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

17 years agoNew test.
Marek Safar [Thu, 15 Mar 2007 23:10:56 +0000 (23:10 -0000)]
New test.

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

17 years ago2007-03-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Mar 2007 23:10:23 +0000 (23:10 -0000)]
2007-03-15  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (AnomymousMethod): Can be now hosted in generic container.

* ecore.cs, parameter.cs: More common code for both corlibs.

* typemanager.cs (IsGenericMethod): Simplified.

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

* generic.cs (InflatedConstraints): Fixed the check order.
(TypeArguments.Resolve): Small optimization for generic parameters.
(InferTypeArguments): Add infering support for anonymous methods.

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

17 years ago2007-03-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Mar 2007 22:34:34 +0000 (22:34 -0000)]
2007-03-15  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: handle cases with no default for the
reskey properly.

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

17 years ago2007-03-15 Marek Habersack <grendello@gmail.com>
Marek Habersack [Thu, 15 Mar 2007 21:14:30 +0000 (21:14 -0000)]
2007-03-15  Marek Habersack  <grendello@gmail.com>

* runtime/Makefile.am: add browscap.ini to symlinks

* configure.in: make sure browscap.ini is symlinked to from
runtime/etc/ so that no web tests that depend on the file's
presence fail.

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

17 years ago - Set the background color to gray on 2.0 when we are readonly.
Jackson Harper [Thu, 15 Mar 2007 21:07:56 +0000 (21:07 -0000)]
    - Set the background color to gray on 2.0 when we are readonly.

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

17 years agoReverting r74371 - the cause for the two tests failing is different, will commit...
Marek Habersack [Thu, 15 Mar 2007 20:45:56 +0000 (20:45 -0000)]
Reverting r74371 - the cause for the two tests failing is different, will commit a real fix rsn

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

17 years ago2007-03-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 15 Mar 2007 20:06:41 +0000 (20:06 -0000)]
2007-03-15  Jonathan Chambers  <joncham@gmail.com>

* Begin Win64 port.
All changes contributed under MIT/X11 license.

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

17 years ago * TextControl.cs:
Jackson Harper [Thu, 15 Mar 2007 19:39:40 +0000 (19:39 -0000)]
    * TextControl.cs:
        * TextBoxBase.cs: On MS, a fixed single border is not in NC
        * area,
        it is drawn on the controls client window and there is no NC
        area.

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

17 years ago2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Mar 2007 19:21:42 +0000 (19:21 -0000)]
2007-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* System.Drawing_test.dll.sources: Add EmfPlusRecordType unit tests to
the build.

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

17 years ago2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Mar 2007 19:20:29 +0000 (19:20 -0000)]
2007-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* EmfPlusRecordTypeTest.cs: New. Unit tests.
* TestColorMatrix.cs: Added some test case and reworked existing to
fix expected/actual results and add test descriptions (which should
help find where the endian issue is hiding).

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Thu, 15 Mar 2007 18:46:23 +0000 (18:46 -0000)]
In System.Windows.Forms:
[ Fixes bug #81144 ]

* XplatUIX11.cs: implement VirtualScreen independently of
WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
property.

2007-03-15  Chris Toshok  <toshok@ximian.com>

In System.Windows.Forms.X11Internal:
2007-03-15  Chris Toshok  <toshok@ximian.com>

* XplatUIX11-new.cs: implement VirtualScreen by getting
X11Display.VirtualScreen instead of using WorkingArea.

* X11Display.cs: implement VirtualScreen.

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

17 years ago2007-03-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 15 Mar 2007 18:38:12 +0000 (18:38 -0000)]
2007-03-15  Jonathan Chambers  <joncham@gmail.com>

Revert previous patch.

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

17 years ago2007-03-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 15 Mar 2007 18:02:34 +0000 (18:02 -0000)]
2007-03-15  Martin Baulig  <martin@ximian.com>

Fix #79984.

* generic.cs
(TypeParameter.HasConstructorConstraint): Removed.
(ConstraintChecker.HasDefaultConstructor): Removed the
`TypeBuilder' argument here; correctly check for the ctor
constraint on type parameters.

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

17 years ago * Hwnd.cs: add an internal field for the cached_window_state.
Chris Toshok [Thu, 15 Mar 2007 17:55:53 +0000 (17:55 -0000)]
* Hwnd.cs: add an internal field for the cached_window_state.

* XplatUIX11.cs: cache the window state, invalidating the cache
(and thus re-querying the X server) only when we see an update to
the _NET_WM_STATE property.

2007-03-15  Chris Toshok  <toshok@ximian.com>

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

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

* HttpRequest.cs: fixed MapPath () method.

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

17 years agoRemove debugging code.
Martin Baulig [Thu, 15 Mar 2007 17:21:40 +0000 (17:21 -0000)]
Remove debugging code.

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Thu, 15 Mar 2007 17:17:54 +0000 (17:17 -0000)]
In Test/System.Windows.Forms:
2007-03-15  Chris Toshok  <toshok@ximian.com>

* BindingSourceTest.cs: add another test, and mark the NotWorking
ones so that they aren't clogging up the 2.0 build.

In System.Windows.Forms:
2007-03-15  Chris Toshok  <toshok@ximian.com>

* BindingSource.cs: get a lot of the unit tests working.

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

17 years ago2007-03-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Mar 2007 17:05:51 +0000 (17:05 -0000)]
2007-03-15  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayoutTest.cs: Add test for bug #80912.

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

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

* Control.cs: Modify UpdateStyles to store distances when bounds >=
0 instead of just bounds > 0.  [Fixes bug #80912]

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

17 years ago2007-03-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 15 Mar 2007 16:52:44 +0000 (16:52 -0000)]
2007-03-15  Jonathan Chambers  <joncham@gmail.com>

* Begin WIN64 port.

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

17 years ago2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 15 Mar 2007 16:18:09 +0000 (16:18 -0000)]
2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>

* VirtualPathUtility.cs: fixed ToAbsolute() method.

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

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

* ToolStrip.cs, ToolStripItem.cs: Implement several new properties
and methods.

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

17 years agobug fixes
Ilya Kharmatsky [Thu, 15 Mar 2007 16:08:19 +0000 (16:08 -0000)]
bug fixes

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

17 years agoadd Cryptography tests to mainsoft solution file.
Roei Erez [Thu, 15 Mar 2007 15:56:58 +0000 (15:56 -0000)]
add Cryptography tests to mainsoft solution file.

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

17 years ago* SettingsPropertyValue.cs: fixed binary deserealization that may be present as base6...
Vladimir Krasnov [Thu, 15 Mar 2007 15:50:52 +0000 (15:50 -0000)]
* SettingsPropertyValue.cs: fixed binary deserealization that may be present as base64 string

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

17 years agoAdding some TARGET_JVM tags.
Roei Erez [Thu, 15 Mar 2007 15:38:38 +0000 (15:38 -0000)]
Adding some TARGET_JVM tags.

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

17 years ago2007-03-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Mar 2007 15:16:06 +0000 (15:16 -0000)]
2007-03-15  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (seh_handler): Ditto.

* exceptions-x86.c (seh_handler): Fix a memory leak.

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

17 years ago* flowanalysis.cs (FlowBranching.Reachability): Remove handling of 'returns'.
Raja R Harinath [Thu, 15 Mar 2007 15:10:15 +0000 (15:10 -0000)]
* flowanalysis.cs (FlowBranching.Reachability): Remove handling of 'returns'.
* statement.cs, iterators.cs, lambda.cs: Update to changes.

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

17 years ago2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Mar 2007 14:57:54 +0000 (14:57 -0000)]
2007-03-15  Sebastien Pouliot  <sebastien@ximian.com>
* ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
the test cases are now working properly.

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

17 years ago2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Mar 2007 14:56:44 +0000 (14:56 -0000)]
2007-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* ColorConverter.cs: Rewrite the hex color convertion to be more
compatible with MS implementation (fixing NotWorking unit tests) and
more endian friendly.

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

17 years ago2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 15 Mar 2007 14:46:36 +0000 (14:46 -0000)]
2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>

* VirtualPathUtility.cs: refactoring: class is shared with 1.x.

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

17 years ago2007-03-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Mar 2007 14:45:22 +0000 (14:45 -0000)]
2007-03-15  Marek Habersack  <mhabersack@novell.com>

* ImageButtonTest.cs, LinkButtonTest.cs: the validation tests in
the two cases were incorrect in my opinion. MS.NET renders the
same HTML (effectively) for no-validation case we do - there are
no onclick handlers or MyValidationGroup rendered for the
imagebutton/linkbutton controls.

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

17 years ago* statement.cs (Lock.Resolve): Invoke 'ec.NeedReturnLabel'
Raja R Harinath [Thu, 15 Mar 2007 14:38:08 +0000 (14:38 -0000)]
* statement.cs (Lock.Resolve): Invoke 'ec.NeedReturnLabel'
unconditionally.  Simplify explanation.
(Try.Resolve, Using.Resolve): Likewise.

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

17 years agoRemove until this is fixed
Miguel de Icaza [Thu, 15 Mar 2007 14:37:50 +0000 (14:37 -0000)]
Remove until this is fixed

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

17 years agoRemove this until those bugs are fixed
Miguel de Icaza [Thu, 15 Mar 2007 14:35:50 +0000 (14:35 -0000)]
Remove this until those bugs are fixed

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

17 years ago2007-03-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 15 Mar 2007 14:25:30 +0000 (14:25 -0000)]
2007-03-15  Martin Baulig  <martin@ximian.com>

Fix #80731.

* decl.cs (DeclSpace): If we're a partial class, use our
`PartialContainer's `TypeParameters' and `CurrentTypeParameters'.

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

17 years ago* flowanalysis.cs (FlowBranching.Reachability): Remove handling of 'throws'.
Raja R Harinath [Thu, 15 Mar 2007 13:53:31 +0000 (13:53 -0000)]
* flowanalysis.cs (FlowBranching.Reachability): Remove handling of 'throws'.
(FlowBranching.UsageVector): Update to changes.
(FlowBranching.MergeSiblings): Likewise.
* statement.cs: Likewise.

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

17 years agoAdd `#if NET_2_0'.
Martin Baulig [Thu, 15 Mar 2007 13:20:19 +0000 (13:20 -0000)]
Add `#if NET_2_0'.

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

17 years agoNo newline at end of file made this test failing
Vladimir Krasnov [Thu, 15 Mar 2007 13:15:14 +0000 (13:15 -0000)]
No newline at end of file made this test failing

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

17 years ago* System.Configuration.dll.sources, System.Configuration20.vmwcsproj: added OrdinalCo...
Vladimir Krasnov [Thu, 15 Mar 2007 13:09:35 +0000 (13:09 -0000)]
* System.Configuration.dll.sources, System.Configuration20.vmwcsproj: added OrdinalComparer.cs
* ConfigurationSectionCollection.cs, ConfigurationSectionGroupCollection.cs,
PropertyInformationCollection.cs, SectionGroupInfo.cs: these collections should be based on case insensitive NameObjectCollectionBase
* added OrdinalComparer.cs for use in NameObjectCollectionBase
* t44.cs: added test for case sensitivity check

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

17 years ago2007-03-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 15 Mar 2007 12:55:11 +0000 (12:55 -0000)]
2007-03-15  Martin Baulig  <martin@ximian.com>

Fix #79302.

* decl.cs
(MemberCache): Added a special .ctor for type parameters.

* typemanager.cs
(TypeManager.MemberLookup_FindMembers): `TypeParameter' now has a
`MemberCache'.

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

17 years agoThu Mar 15 13:47:59 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Mar 2007 12:50:53 +0000 (12:50 -0000)]
Thu Mar 15 13:47:59 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini-arm.c, mini-mips.c, mini-ppc.c, mini-s390.c,
mini-s390x.c: fixed peephole optimizations to deal
correctly with 1 and 2 byte reload avoidance.

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

17 years ago2007-03-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Mar 2007 12:36:27 +0000 (12:36 -0000)]
2007-03-15  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: add support for the enableLocalization
<siteMap> attribute and handle per-node localization resource
strings for explicit localization as well as the resourceKey
attribute to <siteMapNode> for implicit localization (closes bug
#81103).

* SiteMapNode.cs: add support for the resource keys and foreign
attributes.
Implement GetImplicitResourceString.
Add support for translation of the Title and Description
attributes (closes bug #81103) as well as foreign attributes.

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

17 years ago2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Mar 2007 12:32:34 +0000 (12:32 -0000)]
2007-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* ColorTranslator.cs: Add two other #hex cases. Fix typo.

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

17 years agoRemoved implementation of IsInRole - the question should be answered by RolePrincipal.
Ilya Kharmatsky [Thu, 15 Mar 2007 12:29:10 +0000 (12:29 -0000)]
Removed implementation of IsInRole - the question should be answered by RolePrincipal.

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

17 years ago2007-03-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Mar 2007 12:19:12 +0000 (12:19 -0000)]
2007-03-15  Marek Habersack  <mhabersack@novell.com>

* AppResourcesCompiler.cs: handle global resource keys with dots
the way MS.NET does. All the dots are replaced with underscores
when generating the stronly-typed property.

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

17 years agorefactoring: making fields readonly
Konstantin Triger [Thu, 15 Mar 2007 12:15:35 +0000 (12:15 -0000)]
refactoring: making fields readonly

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Thu, 15 Mar 2007 11:23:30 +0000 (11:23 -0000)]
In Test/System.Windows.Forms:
2007-03-15  Ivan N. Zlatev <contact@i-nz.net>

* Common.cs, TestHelper.cs: Replaces all uses of the custom
WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.

In System.Windows.Forms:
2007-03-15  Ivan N. Zlatev <contact@i-nz.net>

* ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.

In System.Windows.Forms.X11Internal:
2007-03-15  Ivan N. Zlatev <contact@i-nz.net>

* X11Display.cs: Replaces all uses of the custom
WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Thu, 15 Mar 2007 11:13:32 +0000 (11:13 -0000)]
In System.Windows.Forms:
2007-03-15  Chris Toshok  <toshok@ximian.com>

[ Fixes #81101 ]

* Control.cs: add Ivan's fix for 81101, with a slight modification
- you can set control.Target to null.

In Test/System.Windows.Forms:
2007-03-15  Chris Toshok  <toshok@ximian.com>

* ControlTest.cs: add Ivan's WindowTargetTest after fixing them,
with an extra one included.

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

17 years ago* WebConfigurationManager.cs: fixed OpenWebConfiguration, removed GetBasePath call...
Vladimir Krasnov [Thu, 15 Mar 2007 10:20:42 +0000 (10:20 -0000)]
* WebConfigurationManager.cs: fixed OpenWebConfiguration, removed GetBasePath call and locations search, since this not affects configuration initialization, but improves performance

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

17 years ago2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 15 Mar 2007 09:46:53 +0000 (09:46 -0000)]
2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>

* VirtualPathUtility.cs: fixed: works properly with appRelative path.

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

17 years agoThu Mar 15 10:17:54 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Mar 2007 09:18:31 +0000 (09:18 -0000)]
Thu Mar 15 10:17:54 CET 2007 Paolo Molaro <lupus@ximian.com>

* cpu-s390.md, cpu-s390x.md: update localloc length.

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

17 years agoFlag as not working for now
Miguel de Icaza [Thu, 15 Mar 2007 05:10:26 +0000 (05:10 -0000)]
Flag as not working for now

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

17 years agoRevert patch from r72640 because it causes regressions, see buildbot for details
Miguel de Icaza [Thu, 15 Mar 2007 04:44:57 +0000 (04:44 -0000)]
Revert patch from r72640 because it causes regressions, see buildbot for details

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

17 years agoRemove CPP comments
Miguel de Icaza [Thu, 15 Mar 2007 04:32:12 +0000 (04:32 -0000)]
Remove CPP comments

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

17 years agoAdd to the distcheck list
Miguel de Icaza [Thu, 15 Mar 2007 04:27:46 +0000 (04:27 -0000)]
Add to the distcheck list

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

17 years ago2007-03-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 15 Mar 2007 01:57:54 +0000 (01:57 -0000)]
2007-03-15  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* FormTest.cs: Disable FormBorderStyleTest for the moment.
* DefaultLayoutTest.cs: Disable BehaviorOverriddenDisplayRectangle for the moment.

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

17 years agoNew test.
Marek Safar [Thu, 15 Mar 2007 00:09:53 +0000 (00:09 -0000)]
New test.

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

17 years ago2007-03-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Mar 2007 00:07:25 +0000 (00:07 -0000)]
2007-03-14  Marek Safar  <marek.safar@gmail.com>

* decl.cs (AsAccessible): Ignore check for type parameters.

* ecore.cs (ResolveGeneric): Improved error report.

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

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

* ToolStripItem.cs: If our OwnerItem is null, we can't use
HideDropDown, use Hide instead to prevent an NRE.
[Fixes bug #81147]

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

17 years agoupdate this directory to include the handle branch changes, as well as the SendParent...
Chris Toshok [Wed, 14 Mar 2007 22:25:34 +0000 (22:25 -0000)]
update this directory to include the handle branch changes, as well as the SendParentNotify changes rolf made

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

17 years ago * TextBoxBase.cs: Mess with the creation stuff a little. We need
Jackson Harper [Wed, 14 Mar 2007 21:30:00 +0000 (21:30 -0000)]
    * TextBoxBase.cs: Mess with the creation stuff a little. We need
        to calculate the document before the handle is created, in some
        cases. (Actually just one case).

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

17 years ago Only returns true after the handle has been created.
Jackson Harper [Wed, 14 Mar 2007 21:15:47 +0000 (21:15 -0000)]
    Only returns true after the handle has been created.

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

17 years ago * TextBoxBase.cs: Need to display the caret after letting the
Jackson Harper [Wed, 14 Mar 2007 21:07:23 +0000 (21:07 -0000)]
    * TextBoxBase.cs: Need to display the caret after letting the
        * base
        wndproc handle the focus methods, because the caret display
        methods check the focus state.
        - Try to display the caret after updating it's position with
          SelectWord.
        - Don't need to do an immediate update on this recalc, since
          there
        will be an invalidate anyways.

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

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

* MetafileHeader.cs: WmfHeader is available on non-placeable WMF too.

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

17 years ago need to use the property.
Jackson Harper [Wed, 14 Mar 2007 20:41:57 +0000 (20:41 -0000)]
    need to use the property.

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

17 years agoWed Mar 14 21:00:19 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Mar 2007 20:00:53 +0000 (20:00 -0000)]
Wed Mar 14 21:00:19 CET 2007 Paolo Molaro <lupus@ximian.com>

* cpu-g4.md: added missing descriptions.

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

17 years ago * TreeViewTest.cs: Some more tests pass now.
Jackson Harper [Wed, 14 Mar 2007 19:59:45 +0000 (19:59 -0000)]
    * TreeViewTest.cs: Some more tests pass now.

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

17 years ago2007-03-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Mar 2007 19:57:06 +0000 (19:57 -0000)]
2007-03-14  Miguel de Icaza  <miguel@novell.com>

*  Makefile.am: Add support so the tail tests are not executed on
PowerPC as that is a known limitation of the PowerPC port.

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

17 years agoCopy this file
Miguel de Icaza [Wed, 14 Mar 2007 19:51:42 +0000 (19:51 -0000)]
Copy this file

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

17 years ago * TreeView.cs: Some workarounds so that we can match event order
Jackson Harper [Wed, 14 Mar 2007 19:38:41 +0000 (19:38 -0000)]
    * TreeView.cs: Some workarounds so that we can match event order
        * a
        little better.

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

17 years ago* ErrorProviderTest.cs: Enabled previously failing tests.
Gert Driesen [Wed, 14 Mar 2007 19:19:13 +0000 (19:19 -0000)]
* ErrorProviderTest.cs: Enabled previously failing tests.
* ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
#80803. Avoid NullReferenceException when Control does not have
parent. Fixed different blinkstyle issues. Only subscribe to Tick
event a single time. Only draw error icon when control is created and
visible. Fixes failing unit tests.

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

17 years ago2007-03-14 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 14 Mar 2007 18:25:08 +0000 (18:25 -0000)]
2007-03-14  Andreia Gaita  <avidigal@novell.com>

* TabControl.cs: Add support for 2.0 Deselecting, Deselected and
Selecting events. Fire Leave and Enter events when changing tabs.

* TabControlTest.cs: Add tests for Deselecting, Deselected,
Selecting events.

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

17 years ago2007-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Mar 2007 18:21:16 +0000 (18:21 -0000)]
2007-03-14  Zoltan Varga  <vargaz@gmail.com>

* process.c: Fix endianness issues. Fixes #81126.

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