Marek Sieradzki [Mon, 19 Mar 2007 19:54:36 +0000 (19:54 -0000)]
2007-03-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* CombinePath.cs: Implemented.
`
svn path=/trunk/mcs/; revision=74628
Gert Driesen [Mon, 19 Mar 2007 19:47:58 +0000 (19:47 -0000)]
* PaintEventArgsTest.cs: Enabled tests for bug #78448 on 2.0 profile.
svn path=/trunk/mcs/; revision=74627
Chris Toshok [Mon, 19 Mar 2007 19:41:14 +0000 (19:41 -0000)]
* ScrollableControl.cs: the scroll position should not effect the
canvas size. commit patch from georgegiolfan@yahoo.com, which
fixes some really bizarre behavior on resizing. Fixes bug #80778.
2007-03-19 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=74626
Chris Toshok [Mon, 19 Mar 2007 19:30:55 +0000 (19:30 -0000)]
2007-03-19 Chris Toshok <toshok@ximian.com>
* ScrollableControl.cs: clean this up a bit. create the
scrollbars in the ctor and just show/hide them as needed. Also,
make hscroll_visible/vscroll_visible internal to Recalculate, and
just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
everywhere else. This seems to fix the scrollbars appearing
beneath the content for me (i have *no* idea why that is,
however.)
svn path=/trunk/mcs/; revision=74625
Marek Safar [Mon, 19 Mar 2007 19:29:30 +0000 (19:29 -0000)]
Updated tests.
svn path=/trunk/mcs/; revision=74624
Marek Safar [Mon, 19 Mar 2007 19:28:32 +0000 (19:28 -0000)]
2007-03-19 Marek Safar <marek.safar@gmail.com>
* class.cs: Don't override existing implementation flags in all cases.
svn path=/trunk/mcs/; revision=74623
Jonathan Pobst [Mon, 19 Mar 2007 19:27:57 +0000 (19:27 -0000)]
2007-03-19 Jonathan Pobst <monkey@jpobst.com>
* ToolStripTest.cs: Enable gert's DockSize test for bug #80762.
svn path=/trunk/mcs/; revision=74622
Mike Kestner [Mon, 19 Mar 2007 18:52:42 +0000 (18:52 -0000)]
update cases fixed by r74619
svn path=/trunk/mcs/; revision=74621
Jonathan Pobst [Mon, 19 Mar 2007 18:46:45 +0000 (18:46 -0000)]
2007-03-19 Jonathan Pobst <monkey@jpobst.com>
* Font.cs: Add a better exception for trying to create a font
where the requested style is not available. [Fixes #81194]
2007-03-19 Jonathan Pobst <monkey@jpobst.com>
* TestFont.cs: Add a test for exception thrown when an unavailable font
style is requested. (Marked NotWorking due to being platform specific.)
svn path=/trunk/mcs/; revision=74620
Mike Kestner [Mon, 19 Mar 2007 18:30:48 +0000 (18:30 -0000)]
2007-03-19 Mike Kestner <mkestner@novell.com>
* ListView.cs : make box selection for Details views without
FullRowSelect dependent on the text bounds, not item bounds.
* ListViewItem.cs : add an internal property to obtain the TextBounds
in Details view. [Fixes case 1 of #80374]
svn path=/trunk/mcs/; revision=74619
Andreia Gaita [Mon, 19 Mar 2007 18:11:29 +0000 (18:11 -0000)]
* PaintEventArgs.cs (Dispose): Only dispose of graphics object if
we're < 2.0. #78448 && #80316
2007-03-19 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=74618
Jonathan Pobst [Mon, 19 Mar 2007 17:19:42 +0000 (17:19 -0000)]
2007-03-19 Jonathan Pobst <monkey@jpobst.com>
* FontDialog.cs: Don't crash when we switch to a new font that doesn't
have the same style available as the previously selected one. Also,
support FixedPitchOnly property. [Fixes bugs #80918, #80947]
svn path=/trunk/mcs/; revision=74616
Noam Lampert [Mon, 19 Mar 2007 16:26:55 +0000 (16:26 -0000)]
Add providers by default in a portal specific web.config.
svn path=/trunk/mcs/; revision=74614
Jackson Harper [Mon, 19 Mar 2007 15:41:35 +0000 (15:41 -0000)]
* TextControl.cs: Add an alignment property that all new lines
will be given.
- Make sure to use the align shift when calculating the line's X
position.
* TextBox.cs: Set the alignment on the document as well as on
* all
the document lines.
svn path=/trunk/mcs/; revision=74613
Vladimir Krasnov [Mon, 19 Mar 2007 15:34:42 +0000 (15:34 -0000)]
* System.Configuration.dll.sources, System.Configuration20.vmwcsproj: removed OrdinalComparer.cs
* ConfigurationSectionCollection.cs,
* ConfigurationSectionGroupCollection.cs,
* PropertyInformationCollection.cs,
* SectionGroupInfo.cs: used StringComparer.Ordinal instead of OrdinalComparer
svn path=/trunk/mcs/; revision=74612
Rolf Bjarne Kvinge [Mon, 19 Mar 2007 15:20:26 +0000 (15:20 -0000)]
* FormHandleTest.cs: Create new forms at a few specific places + a few
more corner cases. No longer not working.
* MdiFormHandleTest.cs: These tests are working now.
* FormTest.cs: IsHandleCreated is working now, the parented tests are
not working.
svn path=/trunk/mcs/; revision=74611
Rolf Bjarne Kvinge [Mon, 19 Mar 2007 15:15:06 +0000 (15:15 -0000)]
* Control.cs: ControlCollection.Add: Remove a couple of duplicated
casts and throw if setting the parent of an mdichild that already
has an mdiparent. Update signature for 2.0 profile. ProductName: If
there's no AssemblyProductAttribute in the assembly, use the type's
namespace (as MS seems to do). CreateControl: don't create the
handle if the control is not visible (according to MS behaviour and
spec). SetTopLevel: Only create handle if the control is not a
form. Change FocusInternal to virtual so that it can be overriden
by Form.
* TextBox.cs: Update call to FocusInternal.
* Form.cs: Always create the handle when calling Focus on a MdiChild.
The form is not a toplevel form when it's a mdi child, so update
is_toplevel accordingly. ShowIcon/TransparencyKey: avoid creating
the handle if it hasn't been created. Show (IWin32Window): Don't
allow this overload for toplevel windows.
CenterToParent/CenterToScreen/Select: create the handle as MS does.
SetVisibleCore: if called on a MdiChild and the parent isn't
visible yet, save the visibility and restore it when the parent is
made visible.
* ScrollableControl.cs: Refactor out scrollbar visibility code to
separate methods, since the visibility of the scrollbars can be
changed from several places, not only from AutoScroll.
svn path=/trunk/mcs/; revision=74609
Jackson Harper [Mon, 19 Mar 2007 14:57:15 +0000 (14:57 -0000)]
* RichTextBox.cs: Enable shortcuts by default.
* TextBoxBase.cs: Add conditional shortcuts.
svn path=/trunk/mcs/; revision=74608
Jonathan Chambers [Mon, 19 Mar 2007 14:09:50 +0000 (14:09 -0000)]
2007-03-19 Jonathan Chambers <joncham@gmail.com>
* libmono.vcproj, genmdesc.vcproj: Reset browse information
settings to default.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=74607
Everaldo Canuto [Mon, 19 Mar 2007 12:01:26 +0000 (12:01 -0000)]
2007-03-19 Everaldo Canuto <everaldo@simios.org>
* MenuItemTest.cs: Add test for OwnerDraw (#81182).
svn path=/trunk/mcs/; revision=74602
Igor Zelmanovich [Mon, 19 Mar 2007 11:59:11 +0000 (11:59 -0000)]
2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
* DataGrid.cs: fixed Save/Load view state, applying styles.
svn path=/trunk/mcs/; revision=74601
Everaldo Canuto [Mon, 19 Mar 2007 11:55:54 +0000 (11:55 -0000)]
2007-03-19 Everaldo Canuto <everaldo@simios.org>
* MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
svn path=/trunk/mcs/; revision=74600
Chris Toshok [Mon, 19 Mar 2007 11:08:52 +0000 (11:08 -0000)]
2007-03-19 Chris Toshok <toshok@ximian.com>
[ Fixes bug #80604]
* XplatUIX11.cs (WaitForHwndMessage): change this to actually
swallow the message we're waiting on, instead of delivering it, as
this is only used for the WM_SHOWWINDOW raised from
MapWindow/UnmapWindow, and the message needs to be generated
(MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
before doing the Map/Unmap. Also make sure that the Hwnd is still
alive after the message has been handled.
*before* the window is shown.
* Control.cs (CreateControl): guard a few more things inside the
if (!is_created) block, as we might end up being called again -
yay .net.
(WmShowWindow): call CreateControl if we're showing the control.
svn path=/trunk/mcs/; revision=74599
Gert Driesen [Mon, 19 Mar 2007 10:45:41 +0000 (10:45 -0000)]
* RichTextBoxTest.cs: Marked failing test NotWorking.
svn path=/trunk/mcs/; revision=74598
Rolf Bjarne Kvinge [Mon, 19 Mar 2007 09:04:37 +0000 (09:04 -0000)]
* ControlTest.cs: Added InvokeTestParentHandle.
svn path=/trunk/mcs/; revision=74594
Rolf Bjarne Kvinge [Mon, 19 Mar 2007 09:02:46 +0000 (09:02 -0000)]
* Control.cs: Fix 2.0 signature for Invoke. Support invoking on
controls without a handle if they have any parent with a handle. In
Dispose add a check whether the handle is created or not before
calling BeginInvoke, this removes the need of the extra disposing
parameter (which was bogus anyway since it didn't prevent the
invoke from happening, it only skipped the check for an existing
handle, meaning that the invoke would call on an inexistent
handle).
svn path=/trunk/mcs/; revision=74593
Everaldo Canuto [Mon, 19 Mar 2007 07:29:19 +0000 (07:29 -0000)]
2007-03-19 Everaldo Canuto <everaldo@simios.org>
* MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
appears in taskbar.
svn path=/trunk/mcs/; revision=74592
Everaldo Canuto [Mon, 19 Mar 2007 07:11:49 +0000 (07:11 -0000)]
2007-03-18 Everaldo Canuto <everaldo@simios.org>
* MessageBox.cs:
- Fixed a problem that dont show help button for messages with 3 buttons.
- Refactory button size and position calculations, now dont use fixed
values, also fixed button sizes (#80043) and form's border space.
- AddButton method created, now all other AddButton methods call this one.
- Some other source code cosmetic changes.
svn path=/trunk/mcs/; revision=74591
Jackson Harper [Mon, 19 Mar 2007 00:17:34 +0000 (00:17 -0000)]
* RichTextBox.cs: Don't do this all fonts must match check if
there is only one char selected.
svn path=/trunk/mcs/; revision=74580
Marek Habersack [Mon, 19 Mar 2007 00:06:33 +0000 (00:06 -0000)]
2007-03-19 Marek Habersack <mhabersack@novell.com>
* WebConfigurationSettings.cs: another fix to the
GetConfigFromFileName logic - the passed "filepath" must not end
with a slash when called recursively, or it will lead to endless
recursion.
svn path=/trunk/mcs/; revision=74578
Jackson Harper [Sun, 18 Mar 2007 23:29:04 +0000 (23:29 -0000)]
* TreeView.cs: ScrollWindow works properly now, so we don't need
to screw around with the scroll area. This fixes some artifacts
when expanding and collapsing.
svn path=/trunk/mcs/; revision=74576
Jackson Harper [Sun, 18 Mar 2007 23:01:21 +0000 (23:01 -0000)]
* TextBoxBase.cs: Allow updating the selection position when the
cursor is outside the textarea, but we have a capture.
* TextControl.cs: A special case for when the cursor is outside
the bounds of the TB.
svn path=/trunk/mcs/; revision=74575
Marek Habersack [Sun, 18 Mar 2007 22:12:53 +0000 (22:12 -0000)]
2007-03-18 Marek Habersack <mhabersack@novell.com>
* UrlUtils.cs: GetDirectory always returns a path with trailing
slash.
2007-03-18 Marek Habersack <mhabersack@novell.com>
* WebConfigurationSettings.cs: fix the GetConfigFromFileName
directory logic.
2007-03-18 Marek Habersack <mhabersack@novell.com>
* BaseParser.cs: fix BaseVirtualDir to always return app-absolute
paths.
svn path=/trunk/mcs/; revision=74574
Alp Toker [Sun, 18 Mar 2007 22:04:17 +0000 (22:04 -0000)]
2007-03-18 Alp Toker <alp@atoker.com>
* UnmanagedMemoryStream.cs:
* Directory.cs: Exception message typo fixes.
svn path=/trunk/mcs/; revision=74573
Jackson Harper [Sun, 18 Mar 2007 21:53:27 +0000 (21:53 -0000)]
* RTF.cs: Added support for metafiles and use the new picture
class.
* Picture.cs: New class for handling pictures and their
attributes.
* TextBoxBase.cs: Remove image pasting code for now. There is
* no
way to get an image on the clipboard right now anyways.
* TextControl.cs:
* RichTextBox.cs: Use the new RTF Picture class for pictures.
svn path=/trunk/mcs/; revision=74572
Everaldo Canuto [Sun, 18 Mar 2007 20:48:45 +0000 (20:48 -0000)]
2007-03-18 Everaldo Canuto <everaldo@simios.org>
* MessageBox.cs:
- Set window properties in constructor intead of on CreateParams.
- Remove topmost from Window ExStyle.
- Set ShowInTaskbar to false.
- Set form border to FixedDialog.
- Some cosmetic changes and remove unneeded comments.
- It fixes itens 2,3 and 4 of bug #80043.
svn path=/trunk/mcs/; revision=74571
Igor Zelmanovich [Sun, 18 Mar 2007 13:43:46 +0000 (13:43 -0000)]
typo fix
svn path=/trunk/mcs/; revision=74563
Konstantin Triger [Sun, 18 Mar 2007 13:41:17 +0000 (13:41 -0000)]
Refactoring: use MethodInfo instead of method name for 2.0 profile
svn path=/trunk/mcs/; revision=74562
Igor Zelmanovich [Sun, 18 Mar 2007 12:56:25 +0000 (12:56 -0000)]
2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
svn path=/trunk/mcs/; revision=74561
Igor Zelmanovich [Sun, 18 Mar 2007 11:41:45 +0000 (11:41 -0000)]
2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
* VirtualPathUtility.cs: fixed GetDirectory() method.
svn path=/trunk/mcs/; revision=74555
Gert Driesen [Sun, 18 Mar 2007 11:00:48 +0000 (11:00 -0000)]
* TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
none was explicitly set. Fixes part of bug #79949.
* RichTextBoxTest.cs: Added tests for ReadOnly effect on BackColor.
* TextBoxTest.cs: Added tests for ReadOnly effect on BackColor.
svn path=/trunk/mcs/; revision=74553
Konstantin Triger [Sun, 18 Mar 2007 10:24:47 +0000 (10:24 -0000)]
TARGET_J2EE: enable embedding web.config into a jar
svn path=/trunk/mcs/; revision=74552
Marek Habersack [Sun, 18 Mar 2007 00:16:39 +0000 (00:16 -0000)]
Fix for the test suite, a temporary reversal of previous patches, since it isn't a real fix - the breakage is elsewhere in system.web
svn path=/trunk/mcs/; revision=74546
Miguel de Icaza [Sat, 17 Mar 2007 20:08:58 +0000 (20:08 -0000)]
Remove debugging message
svn path=/trunk/mcs/; revision=74545
Marek Sieradzki [Sat, 17 Mar 2007 19:02:04 +0000 (19:02 -0000)]
2007-03-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* library.make: Show correct log (TestResult-ondotnet-PROFILE...) for
make run-test-ondotnet.
svn path=/trunk/mcs/; revision=74544
Marek Safar [Sat, 17 Mar 2007 18:13:53 +0000 (18:13 -0000)]
New test.
svn path=/trunk/mcs/; revision=74536
Marek Safar [Sat, 17 Mar 2007 18:12:19 +0000 (18:12 -0000)]
2007-03-17 Marek Safar <marek.safar@gmail.com>
* MethodBuilder.cs: Implemented conversion of PreserveSigAttribute pseudo
attribute.
svn path=/trunk/mcs/; revision=74535
Marek Safar [Sat, 17 Mar 2007 17:53:51 +0000 (17:53 -0000)]
2007-03-17 Marek Safar <marek.safar@gmail.com>
* class.cs (EventFieldAccessor.EmitMethod): Don't override existing
implementation flags.
svn path=/trunk/mcs/; revision=74534
Miguel de Icaza [Sat, 17 Mar 2007 17:28:32 +0000 (17:28 -0000)]
Reverting this fix for bug #63841, see the bug for details, we will reapply once DBus# is wildly deployed
svn path=/trunk/mono/; revision=74533
Miguel de Icaza [Sat, 17 Mar 2007 17:27:59 +0000 (17:27 -0000)]
Flag this for now, we are reopning the bug, see #63841 for details
svn path=/trunk/mcs/; revision=74532
Alp Toker [Sat, 17 Mar 2007 16:25:21 +0000 (16:25 -0000)]
Typo fix
svn path=/trunk/mcs/; revision=74529
Zoltan Varga [Sat, 17 Mar 2007 16:02:35 +0000 (16:02 -0000)]
2007-03-17 Zoltan Varga <vargaz@gmail.com>
* inssel.brg basic.cs: Revert previous change to fix build.
svn path=/trunk/mono/; revision=74528
Marek Safar [Sat, 17 Mar 2007 15:20:33 +0000 (15:20 -0000)]
2007-03-17 Marek Safar <marek.safar@gmail.com>
* class.cs: More optimizations for type parameters.
svn path=/trunk/mcs/; revision=74526
Zoltan Varga [Sat, 17 Mar 2007 14:43:00 +0000 (14:43 -0000)]
2007-03-17 Zoltan Varga <vargaz@gmail.com>
* inssel.brg (SWITCH): Clean out the upper word of the switch value on 64 bit
platforms.
svn path=/trunk/mono/; revision=74525
Andreia Gaita [Sat, 17 Mar 2007 14:31:56 +0000 (14:31 -0000)]
2007-03-16 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=74524
Zoltan Varga [Sat, 17 Mar 2007 14:31:33 +0000 (14:31 -0000)]
2007-03-17 Zoltan Varga <vargaz@gmail.com>
* inssel.brg (SWITCH): Use an integer comparison. Fixes #80738.
* basic.cs: Add new regression test.
svn path=/trunk/mono/; revision=74523
Marek Habersack [Sat, 17 Mar 2007 14:24:15 +0000 (14:24 -0000)]
2007-03-17 Marek Habersack <mhabersack@novell.com>
* MasterPageParser.cs: remove superfluous #ifdef
* TemplateParser.cs: use VirtualPathUtility here
svn path=/trunk/mcs/; revision=74522
Zoltan Varga [Sat, 17 Mar 2007 10:58:04 +0000 (10:58 -0000)]
2007-03-17 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c (mono_arch_emit_prolog): Fix an assert when a function has too
many arguments.
svn path=/trunk/mono/; revision=74518
Zoltan Varga [Sat, 17 Mar 2007 10:27:36 +0000 (10:27 -0000)]
2007-03-17 Zoltan Varga <vargaz@gmail.com>
* ILGenerator.cs (Emit): Disallow ldtoken on a DynamicMethod as well.
svn path=/trunk/mcs/; revision=74517
Zoltan Varga [Sat, 17 Mar 2007 10:23:22 +0000 (10:23 -0000)]
2007-03-17 Zoltan Varga <vargaz@gmail.com>
* ILGenerator.cs (Emit): Do not allow ldftn on a DynamicMethod to be
compatible with MS.NET. Fixes #81157.
svn path=/trunk/mcs/; revision=74516
Marek Sieradzki [Sat, 17 Mar 2007 08:58:51 +0000 (08:58 -0000)]
2007-03-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* Consts.cs: Check for runtime not platform.
svn path=/trunk/mcs/; revision=74515
Marek Sieradzki [Sat, 17 Mar 2007 08:56:19 +0000 (08:56 -0000)]
More precise message.
svn path=/trunk/mcs/; revision=74514
Marek Sieradzki [Sat, 17 Mar 2007 08:54:13 +0000 (08:54 -0000)]
2007-03-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* Consts.cs: Check for runtime not platform.
* ResolveAssemblyReferenceTest.cs: Pass valid SearchPaths.
svn path=/trunk/mcs/; revision=74513
Rolf Bjarne Kvinge [Sat, 17 Mar 2007 00:26:26 +0000 (00:26 -0000)]
* ComboBoxTest.cs: Added DataBindingTest.
svn path=/trunk/mcs/; revision=74506
George Giolfan [Fri, 16 Mar 2007 21:59:53 +0000 (21:59 -0000)]
2007-03-16 George Giolfan <georgegiolfan@yahoo.com>
* ToolStripComboBox.cs: Add AutoComplete*.
svn path=/trunk/mcs/; revision=74503
Neale Ferguson [Fri, 16 Mar 2007 21:47:39 +0000 (21:47 -0000)]
cpu-s390x.md: Correct length of break instruction.
svn path=/trunk/mono/; revision=74501
Andreia Gaita [Fri, 16 Mar 2007 21:24:35 +0000 (21:24 -0000)]
2007-03-16 Andreia Gaita <avidigal@novell.com>
* SqlParameter.cs: Move isVariableSizeType flag to TdsMetaParameter
so that the TdsMetaParameter can validate itself for valid size / values.
* SqlCommand.cs (Execute): Call Validate on TdsMetaParameter.
* TdsMetaParameter.cs: Add Validate() method. For now, validate
size/value. Add isVariableSizeType.
* SqlCommandTest.cs: Add OutputParamSizeTest1-4 to test size/value
validation exception.
svn path=/trunk/mcs/; revision=74500
Wade Berrier [Fri, 16 Mar 2007 21:11:10 +0000 (21:11 -0000)]
version bump for 1.2.3.50
svn path=/trunk/mono/; revision=74492
George Giolfan [Fri, 16 Mar 2007 21:00:07 +0000 (21:00 -0000)]
2007-03-16 George Giolfan <georgegiolfan@yahoo.com>
* ToolStripComboBox.cs: Add FlatStyle.
svn path=/trunk/mcs/; revision=74491
Jonathan Pobst [Fri, 16 Mar 2007 20:37:39 +0000 (20:37 -0000)]
2007-03-16 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs, ToolStripProfessionalRenderer.cs,
ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
svn path=/trunk/mcs/; revision=74490
Rolf Bjarne Kvinge [Fri, 16 Mar 2007 20:31:51 +0000 (20:31 -0000)]
* ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
CheckBox.cs, RadioButton.cs, BindingSource.cs,
DataGridColumnStyle.cs: Remove warnings.
svn path=/trunk/mcs/; revision=74488
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
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
Miguel de Icaza [Fri, 16 Mar 2007 19:55:00 +0000 (19:55 -0000)]
Add methods
svn path=/trunk/mcs/; revision=74484
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
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
Miguel de Icaza [Fri, 16 Mar 2007 18:11:39 +0000 (18:11 -0000)]
Revert this
svn path=/trunk/mcs/; revision=74479
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
Neale Ferguson [Fri, 16 Mar 2007 18:03:23 +0000 (18:03 -0000)]
Fix #80507 for s390.
svn path=/trunk/mono/; revision=74477
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
Rolf Bjarne Kvinge [Fri, 16 Mar 2007 18:01:24 +0000 (18:01 -0000)]
Fix build.
svn path=/trunk/mcs/; revision=74474
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
Neale Ferguson [Fri, 16 Mar 2007 16:47:43 +0000 (16:47 -0000)]
Fix #80507 for s390x.
svn path=/trunk/mono/; revision=74470
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Thu, 15 Mar 2007 23:45:48 +0000 (23:45 -0000)]
Fixed the build
svn path=/trunk/mcs/; revision=74438
Marek Safar [Thu, 15 Mar 2007 23:17:41 +0000 (23:17 -0000)]
Removed comment
svn path=/trunk/mcs/; revision=74437
Marek Safar [Thu, 15 Mar 2007 23:10:56 +0000 (23:10 -0000)]
New test.
svn path=/trunk/mcs/; revision=74436
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
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