Everaldo Canuto [Tue, 20 Mar 2007 01:36:02 +0000 (01:36 -0000)]
In System.Windows.Forms:
2007-03-20 Everaldo Canuto <everaldo@simios.org>
[Fixes #80902]
* XplatUIDriver.cs: Abstract SetOwner method created.
* XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
must be implemented and was masked as todo.
* XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
GWL_HWNDPARENT.
* XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
cheking for null owner to remove transient. The SetTopmost will be change
on a decond step.
* Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
SetTopmost. Now owned forms will work properly in win32 and X11.
In System.Windows.Forms.X11Internal:
2007-03-19 Everaldo Canuto <everaldo@simios.org>
* XplatUIX11-new.cs, X11Hwnd.cs: SetOwner implemented using same code from
SetTopmost but cheking for null owner to remove transient. The SetTopmost
will be change on a decond step.
svn path=/trunk/mcs/; revision=74656
Carlos Alberto Cortez [Tue, 20 Mar 2007 01:03:30 +0000 (01:03 -0000)]
2007-03-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItemTest.cs: Add test for BackColor, ForeColor,
UseItemStyleForSubItems.
svn path=/trunk/mcs/; revision=74655
Rolf Bjarne Kvinge [Tue, 20 Mar 2007 00:58:38 +0000 (00:58 -0000)]
Fix build.
svn path=/trunk/mcs/; revision=74654
Rolf Bjarne Kvinge [Tue, 20 Mar 2007 00:53:02 +0000 (00:53 -0000)]
* EventLogger.cs: Add CountEvents.
* MdiFormTest.cs: Added CloseTest.
svn path=/trunk/mcs/; revision=74653
Rolf Bjarne Kvinge [Tue, 20 Mar 2007 00:50:30 +0000 (00:50 -0000)]
* MdiWindowManager.cs: Update function name.
* Form.cs: After closing a form MdiParent is always null.
* MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
better what it should do: necessary book-keeping when the form is
closed, it should not close the form itself.
svn path=/trunk/mcs/; revision=74652
Andreia Gaita [Tue, 20 Mar 2007 00:39:56 +0000 (00:39 -0000)]
* ListViewItem.cs: Fix back and fore color. The subitems only
use their own colors if they are set, otherwise use the listview's
colors. Don't set default colors on constructor for subitem.
Fixes #79315.
2007-03-19 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=74651
Marek Safar [Tue, 20 Mar 2007 00:05:58 +0000 (00:05 -0000)]
2007-03-19 Marek Safar <marek.safar@gmail.com>
* class.cs: Use corlib to handle InternalMethodImplAttribute.
svn path=/trunk/mcs/; revision=74650
Marek Safar [Mon, 19 Mar 2007 23:59:04 +0000 (23:59 -0000)]
2007-03-19 Marek Safar <marek.safar@gmail.com>
* MethodBuilder.cs: MethodImplAttribute cannot be destructive and overwrite
existing flags.
svn path=/trunk/mcs/; revision=74649
Mike Kestner [Mon, 19 Mar 2007 21:48:35 +0000 (21:48 -0000)]
2007-03-19 Mike Kestner <mkestner@novell.com>
* ListView.cs : make box selection for Details views with
FullRowSelect conform to MS behavior when clicking in the "item"
column and clicking outside the defined columns.
[Fixes case 5-6 of #80374]
svn path=/trunk/mcs/; revision=74641
Chris Toshok [Mon, 19 Mar 2007 21:17:23 +0000 (21:17 -0000)]
2007-03-19 Chris Toshok <toshok@ximian.com>
* ScrollableControl.cs: create the controls from within the ctor,
but don't actually add them until our handle is created. this
fixes a NRE possibility jpobst found (if you override OnLayout in
a subclass, it's called before your ctor). Also, add a
IsHandleCreated guard to UpdateSizeGripVisibility as well.
svn path=/trunk/mcs/; revision=74638
Jonathan Chambers [Mon, 19 Mar 2007 21:04:28 +0000 (21:04 -0000)]
Revert 74623/74624 to fix build.
svn path=/trunk/mcs/; revision=74637
Jackson Harper [Mon, 19 Mar 2007 21:02:46 +0000 (21:02 -0000)]
* TextBox.cs: Reduce the amount of invalidation we do.
* TextBoxBase.cs: Make shortcuts enabled true by default, at
* least
some of them are true by default on MS.
- Add some functions to reduce the amount of invalidates we do.
* TextControl.cs: Less invalidation.
svn path=/trunk/mcs/; revision=74636
Chris Toshok [Mon, 19 Mar 2007 20:49:59 +0000 (20:49 -0000)]
2007-03-19 Chris Toshok <toshok@ximian.com>
[ Fixes #81773, and *seems* to fix #81553 as well ]
* XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
AccumulateDestroyedHandles. We need to do it *after* we send
WM_DESTROY, as the user's code can access Control.Handle in
OnHandleDestroyed, and this shouldn't cause a recreation. Also,
move the WM_DESTROY/zombie handling to before the call to
XDestroyWindow. For some reason without this ordering
FormTest.RecreateHandle hangs. This ordering is semantically
equivalent, however, as XDestroyWindow is async anyway.
svn path=/trunk/mcs/; revision=74635
Gert Driesen [Mon, 19 Mar 2007 20:38:52 +0000 (20:38 -0000)]
* RichBoxTest.cs: Disabled ReadOnly test until I can test it on linux.
svn path=/trunk/mcs/; revision=74633
Marek Sieradzki [Mon, 19 Mar 2007 20:18:28 +0000 (20:18 -0000)]
2007-03-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* xbuild/Microsoft.Common.tasks: Added CombinePath task.
svn path=/trunk/mcs/; revision=74632
Marek Sieradzki [Mon, 19 Mar 2007 20:17:15 +0000 (20:17 -0000)]
Forgot to commmit the .cs file.
svn path=/trunk/mcs/; revision=74631
Gert Driesen [Mon, 19 Mar 2007 20:05:38 +0000 (20:05 -0000)]
* RichBoxTest.cs: Enabled ReadOnly test.
* RichTextBox.cs: Reset backcolor_set after setting default.
svn path=/trunk/mcs/; revision=74630
Marek Sieradzki [Mon, 19 Mar 2007 19:55:47 +0000 (19:55 -0000)]
2007-03-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* CombinePathTest.cs: Added.
svn path=/trunk/mcs/; revision=74629
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