mono.git
16 years ago2008-01-24 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Thu, 24 Jan 2008 12:45:29 +0000 (12:45 -0000)]
2008-01-24  Stephane Delcroix  <sdelcroix@novell.com>

* TimeZoneInfo.TransitionTime.cs: check for a whole number of
milliseconds instead of a whole number of seconds.

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

16 years ago* DataSourceCacheManager.cs: fixed GetKeyFromParameters, in case more than one dataso...
Vladimir Krasnov [Thu, 24 Jan 2008 12:40:41 +0000 (12:40 -0000)]
* DataSourceCacheManager.cs: fixed GetKeyFromParameters, in case more than one datasource using the same object with the same select method

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

16 years ago2008-01-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jan 2008 10:32:23 +0000 (10:32 -0000)]
2008-01-24  Marek Safar  <marek.safar@gmail.com>

A test for bug #355163

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

16 years ago2008-01-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jan 2008 10:31:50 +0000 (10:31 -0000)]
2008-01-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #355163
  * generic.cs: Enabled l-value resolve on nullable expressions.

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

16 years agoNew test.
Marek Safar [Thu, 24 Jan 2008 10:27:46 +0000 (10:27 -0000)]
New test.

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

16 years ago2008-01-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jan 2008 10:18:06 +0000 (10:18 -0000)]
2008-01-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #353986
  * class.cs: Ingore static ctors with parameters for any further checks.

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

16 years ago2008-01-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jan 2008 10:00:01 +0000 (10:00 -0000)]
2008-01-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #354310
  * namespace.cs: Removed redundant check.

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

16 years ago2008-01-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jan 2008 09:49:31 +0000 (09:49 -0000)]
2008-01-24  Marek Safar  <marek.safar@gmail.com>

A test for bug #354928

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

16 years ago2008-01-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jan 2008 09:49:03 +0000 (09:49 -0000)]
2008-01-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #354928
  * expression.cs: ElementInitializers can be resolved only once.

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

16 years agoMore tests.
Marek Safar [Thu, 24 Jan 2008 09:42:48 +0000 (09:42 -0000)]
More tests.

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

16 years agoNew tests.
Marek Safar [Thu, 24 Jan 2008 09:42:10 +0000 (09:42 -0000)]
New tests.

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

16 years ago2008-01-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jan 2008 09:41:53 +0000 (09:41 -0000)]
2008-01-24  Marek Safar  <marek.safar@gmail.com>

* convert.cs, ecore.cs, expression.cs, generic.cs: Implemented Coalesce and
Condition expressions.

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

16 years ago2008-01-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Jan 2008 03:55:40 +0000 (03:55 -0000)]
2008-01-24  Atsushi Enomoto  <atsushi@ximian.com>

* TypeData.cs : fixed setter which did not actually see the argument.
* XmlTypeMapElementInfo.cs : some cosmetic fixes for gendarme-
  reported issues.

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

16 years agoIn System.Windows.Forms:
Geoff Norton [Thu, 24 Jan 2008 01:58:22 +0000 (01:58 -0000)]
In System.Windows.Forms:
2008-01-23  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs:  Ensure that windows are created in their initial
FormWindowState.  Finished fixing Fullscreen windows on Carbon

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

16 years agoIn System.Windows.Forms.CarbonInternal:
Geoff Norton [Thu, 24 Jan 2008 01:44:10 +0000 (01:44 -0000)]
In System.Windows.Forms.CarbonInternal:
* Cursor.cs: Expose the colors to avoid some warnings until we use them

2008-01-23  Geoff Norton  <gnorton@novell.com>

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

16 years ago2008-01-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 24 Jan 2008 01:16:04 +0000 (01:16 -0000)]
2008-01-24  Ivan N. Zlatev  <contact@i-nz.net>

 * DockEditor.cs: ITypeDescriptorContext.Instance doesn't
 contain the current value. It could contain the owner.
 Use the initial value parameter.

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

16 years agoSome fixes for Monodoc
Miguel de Icaza [Thu, 24 Jan 2008 00:54:58 +0000 (00:54 -0000)]
Some fixes for Monodoc

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

16 years agosvn path=/trunk/mcs/; revision=93754
Geoff Norton [Thu, 24 Jan 2008 00:52:07 +0000 (00:52 -0000)]
svn path=/trunk/mcs/; revision=93754

16 years agoIn .:
Geoff Norton [Thu, 24 Jan 2008 00:48:16 +0000 (00:48 -0000)]
In .:
* Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
* XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
it work again.  Handle HITTEST events.

2008-01-23  Geoff Norton  <gnorton@novell.com>

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

16 years agoIn .:
Geoff Norton [Thu, 24 Jan 2008 00:42:28 +0000 (00:42 -0000)]
In .:
2008-01-23  Geoff Norton  <gnorton@novell.com>

* System.Windows.Forms.dll.sources:  Add the Carbon Cursor.cs to the build.

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

16 years agoIn .:
Geoff Norton [Thu, 24 Jan 2008 00:41:41 +0000 (00:41 -0000)]
In .:
* MouseHandler.cs: Send HITTEST events.
* Cursor.cs: Initial support for Theme cursors.  Custom cursors not
quite yet.

2008-01-23  Geoff Norton  <gnorton@novell.com>

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

16 years agoFixes a crasher for #348767
Miguel de Icaza [Wed, 23 Jan 2008 23:40:23 +0000 (23:40 -0000)]
Fixes a crasher for #348767

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

16 years ago * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
Everaldo Canuto [Wed, 23 Jan 2008 23:04:09 +0000 (23:04 -0000)]
* MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
be used as grab_control. Also save status of capture before show ContextMenu
and restore it after close.

2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2008-01-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 23 Jan 2008 22:55:46 +0000 (22:55 -0000)]
2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

* Control.cs: Internal FindRootParent method added to return high control
in parent tree.

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

16 years agoIn System.Windows.Forms:
Geoff Norton [Wed, 23 Jan 2008 21:08:02 +0000 (21:08 -0000)]
In System.Windows.Forms:
2008-01-23  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs: Ensure that we always have a host window.  Prevents
a crash in certain cases.  Support for fullscreen windows in certain cases.

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

16 years agoIn System.Drawing:
Geoff Norton [Wed, 23 Jan 2008 20:41:12 +0000 (20:41 -0000)]
In System.Drawing:
* carbonFunction.cs:  Remove some debug code.  Thanks spouliot.

2008-01-23  Geoff Norton  <gnorton@novell.com>

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

16 years agoFix some puzzling code
Raja R Harinath [Wed, 23 Jan 2008 20:18:02 +0000 (20:18 -0000)]
Fix some puzzling code

* class.c (mono_class_inflate_generic_method_full): Don't modify
iresult->context after cache check.

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

16 years agoIn System.Drawing:
Geoff Norton [Wed, 23 Jan 2008 20:02:04 +0000 (20:02 -0000)]
In System.Drawing:
* carbonFunctions.cs: Dont crash when we have an orphaned handle.

2008-01-23  Geoff Norton  <gnorton@novell.com>

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

16 years ago2008-01-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 23 Jan 2008 19:52:56 +0000 (19:52 -0000)]
2008-01-23  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_inflate_generic_method_full): Change the
struct assignments to memcpy for better visibility and add some comments.

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

16 years ago2008-01-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 23 Jan 2008 19:47:46 +0000 (19:47 -0000)]
2008-01-23  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
[Fixes bug #355703]

2008-01-23  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add test for bug 355703.

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

16 years ago2008-01-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 23 Jan 2008 19:18:34 +0000 (19:18 -0000)]
2008-01-23  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Set ClientSize to a known size to
make Bug355408 () WM independent.

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

16 years agoIn System.Windows.Forms:
Geoff Norton [Wed, 23 Jan 2008 18:42:54 +0000 (18:42 -0000)]
In System.Windows.Forms:

* XplatUICarbon.cs: Remove some dead code that was causing warnings.
2008-01-23  Geoff Norton  <gnorton@novell.com>

In System.Windows.Forms.CarbonInternal:
2008-01-23  Geoff Norton  <gnorton@novell.com>

* ControlHandler.cs: Remove some dead code that was causing warnings.

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

16 years agoIn System.Windows.Forms:
Geoff Norton [Wed, 23 Jan 2008 18:38:27 +0000 (18:38 -0000)]
In System.Windows.Forms:
2008-01-23  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs:  Re-enabled Carets in QuickDraw as a overlay window.

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

16 years ago2008-01-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 23 Jan 2008 18:28:30 +0000 (18:28 -0000)]
2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

* SplitContainer.cs: Remove unused declarations.
* Binding.cs: Remove unused declarations.

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

16 years ago2008-01-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 23 Jan 2008 18:08:46 +0000 (18:08 -0000)]
2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

* Form.cs: Remove unused declaration of 'active' in Activate method.
* Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
prevent compilation warnings.
* TextControl.cs: Remove unused declaration of selection_pos_on_line.
* Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
* Bindings.cs: Remove unused formatting_enabled declaration.
* ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
warnings.
* TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
warnings.
* PropertyGridView.cs: Remove usused 'ex' declaration.
* DataGridView.cs: Remove unused declarations.

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

16 years ago2008-01-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 23 Jan 2008 18:06:50 +0000 (18:06 -0000)]
2008-01-23 Rodrigo Kumpera <rkumpera@novell.com>

* make_call_test.sh: test generator for call and callvirt.

* make_tests.sh: added tests for call and callvirt.

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

16 years ago2008-01-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 23 Jan 2008 16:55:35 +0000 (16:55 -0000)]
2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

[Fixes bugs #343966, #338511 and other non reported (context)menu bugs]

* Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
to Control class, it makes possible to grab menu to controls that can't
reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
WmMouseMove removed since it was used only to track menu events.

* Control.cs:
- Moved all active_tracker stuff from Form.
- ProcessActiveTracker added to prevent code duplicity, now mouse events
can call this method instead of reimplement all necessary code handle for
menu tracker.
- Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
and WmMouseMove).

* MenuAPI.cs:
- Remove special handle to ToolStripOverflow, now we can grab menu to
controls that can't reach Form using parent tree.
- Change type of grab_control from Form to Control.

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

16 years ago2008-01-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 23 Jan 2008 16:26:00 +0000 (16:26 -0000)]
2008-01-23  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: Don't include Dock.Fill, multicolumn/multirow spanned
controls when calculating column/row sizes.
[Fixes bug #355408]

2008-01-23  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Add test for bug #355408.

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

16 years agoPrint a warning to stderr instead of generating invalid deps containing
Wade Berrier [Wed, 23 Jan 2008 16:04:58 +0000 (16:04 -0000)]
Print a warning to stderr instead of generating invalid deps containing
"no package provides <blah>"

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

16 years ago2008-01-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Jan 2008 15:56:43 +0000 (15:56 -0000)]
2008-01-23  Dick Porter  <dick@ximian.com>

* threads.c (mono_threads_set_shutting_down): Simplify shutdown
procedure, and make it work on windows.

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

16 years agoIn .:
Geoff Norton [Wed, 23 Jan 2008 15:36:03 +0000 (15:36 -0000)]
In .:
2008-01-22  Geoff Norton  <gnorton@novell.com>

* TextBoxBase.cs: Split up the sizing of controls and placing of
controls.  Fixes a bug where scrollbars in Reflector could be sized
wrong and have non-working thumbers.

2008-01-23  Geoff Norton  <gnorton@novell.com>

* XplatUI.cs: Refactor environment variables to default support to the
Carbon driver on the Mac.

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

16 years ago2008-01-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Jan 2008 15:21:15 +0000 (15:21 -0000)]
2008-01-23  Dick Porter  <dick@ximian.com>

* versioninfo.c (get_string_block): When stepping over the
StringTable block, do not read an extra block at the end.  Fixes
the new part of bug 354856.

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

16 years ago2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 23 Jan 2008 14:46:41 +0000 (14:46 -0000)]
2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>

* ValidationSummary.cs:
refactoring: If page contents instance of IScriptManager, it calls
it's API instead Page.ClientScript.

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

16 years agorefactoring
Igor Zelmanovich [Wed, 23 Jan 2008 14:08:12 +0000 (14:08 -0000)]
refactoring

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

16 years agoIn .:
Geoff Norton [Wed, 23 Jan 2008 14:03:22 +0000 (14:03 -0000)]
In .:
2008-01-23  Geoff Norton  <gnorton@novell.com>

* carbonFunctions.cs: If we get a -ve size from carbon, swizzle to
0 to prevent a OOM from cairo malloc.  Remove support for
GetCGContextForNSView as its deprecated and doesn't work.
* gdipFunctions.cs: Refactor the environment variable support out
and make the Carbon driver the default on a Mac.  Fix RunningOnUnix
to report true on the mac.
* Graphics.cs: Drop support for CocoaDrawable.

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

16 years agoRemove old label drawing methods.
Everaldo Canuto [Wed, 23 Jan 2008 13:10:40 +0000 (13:10 -0000)]
Remove old label drawing methods.

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

16 years agoRemove old Label drawing methods.
Everaldo Canuto [Wed, 23 Jan 2008 13:09:21 +0000 (13:09 -0000)]
Remove old Label drawing methods.

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

16 years agoAdd Label Painter files.
Everaldo Canuto [Wed, 23 Jan 2008 13:07:10 +0000 (13:07 -0000)]
Add Label Painter files.

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

16 years ago2008-01-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 23 Jan 2008 13:06:02 +0000 (13:06 -0000)]
2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

* Label.cs: Uses new LabelPainter for drawing operations.
* ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
* Theme.cs: DrawLabel and LabelDefaultSize removed.

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

16 years ago2008-01-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 23 Jan 2008 13:05:01 +0000 (13:05 -0000)]
2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

* ThemeElementsDefault.cs: Add LinkLabelPainter references.
* ThemeElements.cs: Add LinkLabelPainter references.

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

16 years ago2008-01-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Wed, 23 Jan 2008 12:59:39 +0000 (12:59 -0000)]
2008-01-23  Everaldo Canuto  <ecanuto@novell.com>

* LabelPainter.cs: Added.

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

16 years ago2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 23 Jan 2008 12:56:59 +0000 (12:56 -0000)]
2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.cs: fixed rendering.

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

16 years agosvn path=/trunk/mcs/; revision=93645
Everaldo Canuto [Wed, 23 Jan 2008 12:49:38 +0000 (12:49 -0000)]
svn path=/trunk/mcs/; revision=93645

16 years ago* mocks/Makefile (install-symlink, uninstall-symlink): New. In the
Raja R Harinath [Wed, 23 Jan 2008 12:39:52 +0000 (12:39 -0000)]
* mocks/Makefile (install-symlink, uninstall-symlink): New.  In the
net_2_0 profile, just install a symlink to the 1.1 profile library
in the compiler search path.
* core/Makefile, framework/Makefile, util/Makefile: Likewise.

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

16 years ago* FileVersionInfoTest.cs: Added set of (mostly notworking) tests for
Gert Driesen [Wed, 23 Jan 2008 12:39:43 +0000 (12:39 -0000)]
* FileVersionInfoTest.cs: Added set of (mostly notworking) tests for
FileVersionInfo, and indirectly also for AssemblyBuilder.
* FileVersionInfo.cs (GetVersionInfo): Resolve filename to absolute
path, and throw FileNotFoundException if it does not exist.
* System_test.dll.sources: Added FileVersionInfoTest.cs.

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

16 years agorevert r93269
Raja R Harinath [Wed, 23 Jan 2008 12:13:06 +0000 (12:13 -0000)]
revert r93269

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

16 years agowhen rh expresssion is null or DBNull always return false
Konstantin Triger [Wed, 23 Jan 2008 10:27:43 +0000 (10:27 -0000)]
when rh expresssion is null or DBNull always return false

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

16 years agofix test suite
Igor Zelmanovich [Wed, 23 Jan 2008 09:41:40 +0000 (09:41 -0000)]
fix test suite

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

16 years ago2008-01-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 23 Jan 2008 09:40:28 +0000 (09:40 -0000)]
2008-01-23  Marek Safar  <marek.safar@gmail.com>

  * codegen.cs: Fixed AssemblyBuilder initialization on other platforms.

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

16 years ago2008-01-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Jan 2008 08:42:52 +0000 (08:42 -0000)]
2008-01-23  Martin Baulig  <martin@ximian.com>

* Makefile (NO_INSTALL) [PROFILE=net_2_0]: Install the dll.

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

16 years ago2008-01-23 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Wed, 23 Jan 2008 07:18:04 +0000 (07:18 -0000)]
2008-01-23  Stephane Delcroix  <sdelcroix@novell.com>

* TimeZoneInfo.AdjustmentRuleTests.cs:
* TimeZoneInfo.TransitionTimeTests.cs: disable failing tests at runtime on
windows

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

16 years ago2008-01-23 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Wed, 23 Jan 2008 06:42:48 +0000 (06:42 -0000)]
2008-01-23  Olivier Dufour <olivier.duff@gmail.com>

* ResXResourceReaderTest.cs: Fix the value for test GetNodePosition.

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

16 years agoIn .:
Geoff Norton [Wed, 23 Jan 2008 01:22:56 +0000 (01:22 -0000)]
In .:
2008-01-22  Geoff Norton  <gnorton@novell.com>

* EventHandler.cs: Subscribe to the MouseWheel and MouseScroll events.
* MouseHandler.cs: Post MOUSEWHEEL events when scrolling with old
mice, and mighty mice, and two-finger scrolling.
2008-01-16  Geoff Norton  <gnorton@novell.com>

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

16 years agoIn .:
Geoff Norton [Wed, 23 Jan 2008 01:21:33 +0000 (01:21 -0000)]
In .:
2008-01-22  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam

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

16 years ago2008-01-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 23 Jan 2008 01:18:25 +0000 (01:18 -0000)]
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* BinaryExpression.cs: Unleash the power of cut and paste.

Bring a bunch of operatros from mcs/expression.cs

* Expression.cs: There is no op_LogicalAnd or op_LogicalOr, I just
used those from mcs, that was wrong.   use the proper ones, clean
up the result.

* BinaryExpression.cs: Add method invocations for binary methods.

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

16 years ago2008-01-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 22 Jan 2008 23:51:22 +0000 (23:51 -0000)]
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* Expression.cs: There is no op_LogicalAnd or op_LogicalOr, I just
used those from mcs, that was wrong.   use the proper ones, clean
up the result.

* BinaryExpression.cs: Add method invocations for binary methods.

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 23:07:50 +0000 (23:07 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayout.cs: Remove using the padding.  This is now included
properly in the DisplayRectangle.  Fixes a broken test.

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

16 years agoShut up all those warnings
Miguel de Icaza [Tue, 22 Jan 2008 22:50:33 +0000 (22:50 -0000)]
Shut up all those warnings

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 22:23:27 +0000 (22:23 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
through the normal flat button code and don't draw the checkbox glyph.
* Theme.cs: Button->ButtonBase signature change.
[Fixes bug #324755]

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

16 years agosvn path=/trunk/mcs/; revision=93592
Everaldo Canuto [Tue, 22 Jan 2008 22:06:12 +0000 (22:06 -0000)]
svn path=/trunk/mcs/; revision=93592

16 years agosvn path=/trunk/mcs/; revision=93591
Everaldo Canuto [Tue, 22 Jan 2008 22:03:02 +0000 (22:03 -0000)]
svn path=/trunk/mcs/; revision=93591

16 years agosvn path=/trunk/mcs/; revision=93588
Everaldo Canuto [Tue, 22 Jan 2008 21:59:37 +0000 (21:59 -0000)]
svn path=/trunk/mcs/; revision=93588

16 years agosvn path=/trunk/mcs/; revision=93587
Everaldo Canuto [Tue, 22 Jan 2008 21:57:52 +0000 (21:57 -0000)]
svn path=/trunk/mcs/; revision=93587

16 years agoNew test.
Marek Safar [Tue, 22 Jan 2008 21:48:17 +0000 (21:48 -0000)]
New test.

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

16 years agoRemoved invalid test.
Marek Safar [Tue, 22 Jan 2008 21:48:05 +0000 (21:48 -0000)]
Removed invalid test.

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 21:47:06 +0000 (21:47 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, expression.cs, generic.cs: Implicit bool? to bool conversion is
not allowed.

* generic.cs: Implemented coalesce expression.

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

16 years agosvn path=/trunk/mcs/; revision=93577
Everaldo Canuto [Tue, 22 Jan 2008 21:29:48 +0000 (21:29 -0000)]
svn path=/trunk/mcs/; revision=93577

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 21:21:59 +0000 (21:21 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: When we reset our current_pos back to the left
beginning, make sure we take padding into account.
[Fixes bug #354676]

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Add test for bug #354676.

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 20:47:04 +0000 (20:47 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
becomes a wrapper around Padding.
[Fixes a part of bug #354676]

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ScrollableControlTest.cs: Add test for bug #354676.

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

16 years agoAdd
Miguel de Icaza [Tue, 22 Jan 2008 20:33:53 +0000 (20:33 -0000)]
Add

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

16 years agoAdd comment
Miguel de Icaza [Tue, 22 Jan 2008 20:33:46 +0000 (20:33 -0000)]
Add comment

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

16 years agoBuild fix.
Marek Safar [Tue, 22 Jan 2008 17:57:44 +0000 (17:57 -0000)]
Build fix.

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

16 years agoIn .:
Geoff Norton [Tue, 22 Jan 2008 17:17:47 +0000 (17:17 -0000)]
In .:
2008-01-22 Geoff Norton  <gnorton@novell.com>

* Mime.cs:  Avoid a needles exception on OSX if we dont have a buffer
acquired.  Also ensure the buffer is large enough to grab the header
we need on linux boxes.

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 16:42:21 +0000 (16:42 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement a custom enumerator so people can delete
from the Controls collection while in a foreach.
[Fixes bug #355074]

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Add test for bug #355074.

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

16 years ago2008-01-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 22 Jan 2008 16:11:49 +0000 (16:11 -0000)]
2008-01-22  Ivan N. Zlatev  <contact@i-nz.net>

 * MutilineStringEditor.cs: Fix EditValue to return the new
 value not the old one.
 [Fixes #354991]

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 15:48:08 +0000 (15:48 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

A test for bug #355145

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

16 years agoNew test.
Marek Safar [Tue, 22 Jan 2008 15:47:48 +0000 (15:47 -0000)]
New test.

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 15:47:33 +0000 (15:47 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #355145
  * anonymous.cs, convert.cs, ecore.cs, generic.cs, lambda.cs: Implemented
  expression tree type inference.

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

16 years ago2008-01-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 22 Jan 2008 15:14:59 +0000 (15:14 -0000)]
2008-01-22  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs: Fix focusing behavior:
 - Tab should focus the grid text box.
 - Clicking on the labels shouldn't focus the grid text box.

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

16 years agowe pass NewArrayBounds and NewArrayList
Jb Evain [Tue, 22 Jan 2008 14:20:18 +0000 (14:20 -0000)]
we pass NewArrayBounds and NewArrayList

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

16 years ago2008-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jan 2008 14:20:05 +0000 (14:20 -0000)]
2008-01-22  Jb Evain  <jbevain@novell.com>

* Expression.cs, ExpressionPrinter.cs: implement NewArrayList.

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

16 years agoadd NewArrayInit tests
Jb Evain [Tue, 22 Jan 2008 14:17:16 +0000 (14:17 -0000)]
add NewArrayInit tests

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

16 years ago2008-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jan 2008 14:01:07 +0000 (14:01 -0000)]
2008-01-22  Jb Evain  <jbevain@novell.com>

* Expression.cs, ExpressionPrinter.cs, NewArrayExpression.cs:
implement Expression.NewArrayBounds.

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

16 years agotests for NewArrayBounds
Jb Evain [Tue, 22 Jan 2008 13:59:06 +0000 (13:59 -0000)]
tests for NewArrayBounds

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

16 years agoFix #354663
Raja R Harinath [Tue, 22 Jan 2008 13:36:35 +0000 (13:36 -0000)]
Fix #354663
* expression.cs (Binary.IsUnsignedType): Fix typo.

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

16 years ago* gtest-exmethod-08.cs: Initialize 'first' and 'second' to non-null.
Raja R Harinath [Tue, 22 Jan 2008 13:36:09 +0000 (13:36 -0000)]
* gtest-exmethod-08.cs: Initialize 'first' and 'second' to non-null.

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

16 years agoMore food for our quickly catching up duo
Marek Safar [Tue, 22 Jan 2008 13:22:47 +0000 (13:22 -0000)]
More food for our quickly catching up duo

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

16 years agoNew test.
Marek Safar [Tue, 22 Jan 2008 13:18:06 +0000 (13:18 -0000)]
New test.

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 13:15:52 +0000 (13:15 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

  * ecore.cs, expression.cs, generic.cs: Implemented NewArrayInit expression.

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

16 years agofix test suite
Igor Zelmanovich [Tue, 22 Jan 2008 12:42:03 +0000 (12:42 -0000)]
fix test suite

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