mono.git
17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 21:16:56 +0000 (21:16 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* Applied Mono-specific changes.

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 21:14:52 +0000 (21:14 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* data/browscap.ini: updated to the latest version.

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 21:13:12 +0000 (21:13 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* CapabilitiesLoader.cs: Make sure that the capability names
(keys) are stored in lowercase.

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

17 years ago* TreeViewTest.cs: Added NotWorking test for bug #81319.
Gert Driesen [Thu, 5 Apr 2007 20:13:02 +0000 (20:13 -0000)]
* TreeViewTest.cs: Added NotWorking test for bug #81319.

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

17 years ago2007-04-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 5 Apr 2007 19:57:44 +0000 (19:57 -0000)]
2007-04-05  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripRenderer.cs: Add static method to mirror image.
* ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
and RightToLeftAutoMirrorImage.
* ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.

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

17 years ago2007-04-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 5 Apr 2007 18:48:19 +0000 (18:48 -0000)]
2007-04-05  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitStackLayout.cs: Support Alignment property.
* ToolStripItem.cs: Remove MonoTODO from the Alignment property.

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

17 years ago - When combining lines, strip the ending text off the first
Jackson Harper [Thu, 5 Apr 2007 17:55:39 +0000 (17:55 -0000)]
    - When combining lines, strip the ending text off the first
          line.

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

17 years ago * TextControl.cs: Move around the line endings when
Jackson Harper [Thu, 5 Apr 2007 17:12:03 +0000 (17:12 -0000)]
            * TextControl.cs: Move around the line endings when
                * crossing line
        boundaries.

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

17 years agotypo
Jackson Harper [Thu, 5 Apr 2007 16:14:48 +0000 (16:14 -0000)]
typo

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

17 years ago * TextControl.cs:
Jackson Harper [Thu, 5 Apr 2007 15:39:13 +0000 (15:39 -0000)]
    * TextControl.cs:
        * TextBoxBase.cs: Try to never move the cursor into the line
        ending.

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

17 years agocorrectly resolve master page
Konstantin Triger [Thu, 5 Apr 2007 15:06:03 +0000 (15:06 -0000)]
correctly resolve master page

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

17 years ago2007-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Apr 2007 14:45:43 +0000 (14:45 -0000)]
2007-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Remove unused (and not part of GDI+) GdipGetHfont
method.

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

17 years agouse invariant culture; debug output
Konstantin Triger [Thu, 5 Apr 2007 14:21:27 +0000 (14:21 -0000)]
use invariant culture; debug output

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

17 years agorename Cloudscape to Derby
Konstantin Triger [Thu, 5 Apr 2007 14:03:04 +0000 (14:03 -0000)]
rename Cloudscape to Derby

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

17 years ago2007-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Apr 2007 13:56:36 +0000 (13:56 -0000)]
2007-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* RTF.cs: Use the "goal" width and height to compute the metafile size

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

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 13:53:23 +0000 (13:53 -0000)]
use Invariant culture for string manipulations

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

17 years ago2007-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Apr 2007 13:50:02 +0000 (13:50 -0000)]
2007-04-05  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c: Fix disabling of AOT. Fixes #81316.

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

17 years ago2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 5 Apr 2007 13:47:14 +0000 (13:47 -0000)]
2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.

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

17 years ago2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 5 Apr 2007 13:44:19 +0000 (13:44 -0000)]
2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>

* XmlSiteMapProvider.cs:
custom attributes of siteMapNode are loaded properly.

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

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 13:41:59 +0000 (13:41 -0000)]
use Invariant culture for string manipulations

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

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 13:20:38 +0000 (13:20 -0000)]
use Invariant culture for string manipulations

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

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 13:15:05 +0000 (13:15 -0000)]
use Invariant culture for string manipulations

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

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 12:48:48 +0000 (12:48 -0000)]
use Invariant culture for string manipulations

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

17 years ago2007-04-05 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 5 Apr 2007 12:43:26 +0000 (12:43 -0000)]
2007-04-05  Dick Porter  <dick@ximian.com>

* Directory.cs: Pass combined path and pattern to
MonoIO.GetFileSystemEntries()

2007-04-05  Dick Porter  <dick@ximian.com>

* Environment.cs: Increment mono_corlib_version

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

17 years ago2007-04-05 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 5 Apr 2007 12:42:34 +0000 (12:42 -0000)]
2007-04-05  Dick Porter  <dick@ximian.com>

* file-io.c (ves_icall_System_IO_MonoIO_GetFileSystemEntries): use
FindFirstFile()/FindNextFile() to find entries.  This lets the
io-layer versions use MONO_IOMAP compatibility helpers.  Fixes bug
81038.

* appdomain.c (MONO_CORLIB_VERSION): Increment, as the usage of
the parameters of
ves_icall_System_IO_MonoIO_GetFileSystemEntries() has changed.

2007-04-05  Dick Porter  <dick@ximian.com>

* io.c:
* io-portability.c (_wapi_io_scandir): Moved from io.c, and
changed to use a cut-down version of glob(3) that has been
extended to match with case-insensitivity if needed.

* wapi_glob.h:
* wapi_glob.c: Cut down implementation of glob(3), based on
OpenBSD.

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

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 12:07:14 +0000 (12:07 -0000)]
use Invariant culture for string manipulations

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

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 11:43:27 +0000 (11:43 -0000)]
use Invariant culture for string manipulations

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

17 years agotypo
Marek Habersack [Thu, 5 Apr 2007 11:41:44 +0000 (11:41 -0000)]
typo

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

17 years agosvn path=/trunk/mcs/; revision=75427
Noam Lampert [Thu, 5 Apr 2007 11:39:26 +0000 (11:39 -0000)]
svn path=/trunk/mcs/; revision=75427

17 years agouse Invariant culture for string manipulations
Konstantin Triger [Thu, 5 Apr 2007 11:28:59 +0000 (11:28 -0000)]
use Invariant culture for string manipulations

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 11:25:05 +0000 (11:25 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* BaseDataBoundControl.cs: restore the LAMESPEC note and code it
describes - tests show this is what's happening on MS.NET as
well.

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 11:23:18 +0000 (11:23 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: make ApplicationName/domain id really
unique.

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

17 years agouse ToLowerInvariant instead of ToLower
Konstantin Triger [Thu, 5 Apr 2007 11:08:54 +0000 (11:08 -0000)]
use ToLowerInvariant instead of ToLower

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

17 years ago2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 5 Apr 2007 10:54:30 +0000 (10:54 -0000)]
2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs:
* BaseDataBoundControl.cs:
Break recursion when the property is set from within the OnSelect handler
in user's code. fixes bug #81175.

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

17 years agoBy :Yonik <yonik@mainsoft.com> Date: 05.04.07
Yoni Klain [Thu, 5 Apr 2007 10:51:06 +0000 (10:51 -0000)]
By :Yonik <yonik@mainsoft.com> Date: 05.04.07
Fix for bug 7486 (WSAT should not work when the application is configured to work with portal providers)

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

17 years agoAdd new files
Konstantin Triger [Thu, 5 Apr 2007 08:24:50 +0000 (08:24 -0000)]
Add new files

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 08:14:15 +0000 (08:14 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* SiteMapDataSource.cs: fix GetStartNode for situations when the
current URL is not defined in the sitemap file. Fixes bug
#81314. Patch from Mike Morano <mmorano@mikeandwan.us>.

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

17 years agoAdd new files
Konstantin Triger [Thu, 5 Apr 2007 08:14:02 +0000 (08:14 -0000)]
Add new files

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 07:52:19 +0000 (07:52 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* CapabilitiesLoader.cs: add a full default set of capabilities
for cases when browscap.ini is broken, missing or doesn't contain
definition for the client's User-Agent. Makes it possible to surf
asp.net sites from unsupported clients.

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

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

* ToolStripItem.cs: Make sure we aren't firing mouse events when
the item is disabled.  Also add a few missing methods.

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

17 years ago * RTF.cs: look ahead for the end of the group, so we don't read
Jackson Harper [Wed, 4 Apr 2007 23:10:43 +0000 (23:10 -0000)]
    * RTF.cs: look ahead for the end of the group, so we don't read
        past the end and pull out a piece of the next token.

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

17 years ago2007-04-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 4 Apr 2007 22:47:52 +0000 (22:47 -0000)]
2007-04-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: We don't need the MouseEnter/MouseLeave check
to fire just one MouseHover event when HoverSelection is true, since
.Net does fire more than one MouseHover event in that scenario. Also,
fix the selection in HoverSelection, by invoking UpdateMultiSelect
if MultiSelect is true, instead of only setting ListViewItem.Selected.
Finally, we need to reset the Hover logic in MouseMove, even when we
don't have a selected item.

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

17 years ago * Picture.cs: Correct twips calculation.
Jackson Harper [Wed, 4 Apr 2007 21:19:46 +0000 (21:19 -0000)]
    * Picture.cs: Correct twips calculation.

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

17 years ago2007-04-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 4 Apr 2007 20:15:31 +0000 (20:15 -0000)]
2007-04-04  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Add several missing methods, properties, and events.

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

17 years ago2007-04-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 4 Apr 2007 19:34:33 +0000 (19:34 -0000)]
2007-04-04  Chris Toshok  <toshok@ximian.com>

* DataGridTextBoxColumn.cs: set the bounds of the text box to
(0,0,0,0) in Commit, as MS does.

* DataGrid.cs: call EndEdit() from Select() as microsoft does, and
make sure we set CurrentRow on a row header click *before* calling
Select.  This moves the current cell (and the textbox) to the new
row.  The call to Select then hides the textbox, giving us the
correct behavior.  Fixes #80362.

* CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
(ListChangedHandler): reorder the position/current changed events,
and call UpdateIsBinding in the ItemAdded case.

* GridColumnStylesCollection.cs: add some columns events, one of
which raises the CollectionChanged event.

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

17 years ago * TextControl.cs: When we delete multiple selection lines
Jackson Harper [Wed, 4 Apr 2007 18:14:40 +0000 (18:14 -0000)]
    * TextControl.cs: When we delete multiple selection lines
        invalidate the selection area, don't need to do that for single
        lines because the final update view will handle it.

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

17 years ago2007-04-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 4 Apr 2007 17:08:31 +0000 (17:08 -0000)]
2007-04-04  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: When we CreateControl, we need to also create all of the
control's children.  The child's OnLoad must also fire before the parent's
OnLoad.  Fixes the toolbox size in PDN.

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

17 years ago * TextBoxBase.cs: When the user presses enter, insert a line
Jackson Harper [Wed, 4 Apr 2007 17:03:04 +0000 (17:03 -0000)]
    * TextBoxBase.cs: When the user presses enter, insert a line
        ending into the text. (Maybe this would be a good spot for
        Environment.NewLine).
        * TextControl.cs: Remove undo manager hack, line endings get
        inserted properly now.

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

17 years ago2007-04-04 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 4 Apr 2007 15:11:02 +0000 (15:11 -0000)]
2007-04-04 Juraj Skripsky <js@hotfeet.ch>

   * HttpApplicationFactory.cs: Make sure an web application is shutdown
   only once (and Application_End in global.asax is called only once as well).
   This is necessary because FileSystemWatcher emits multiple events when
   e.g. global.asax is changed.

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

17 years ago2007-04-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 4 Apr 2007 14:53:06 +0000 (14:53 -0000)]
2007-04-04  Jonathan Pobst  <monkey@jpobst.com>

* FlowLayout.cs: Call SetBounds with BoundsSpecified.None instead of
using Control Size, Location setters.

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

17 years ago* interpreter.cs (Eval) <OpCode.Reference>: Distribute for loop inside if.
Raja R Harinath [Wed, 4 Apr 2007 14:46:59 +0000 (14:46 -0000)]
* interpreter.cs (Eval) <OpCode.Reference>: Distribute for loop inside if.
for () if (a) s1; else s2; => if (a) for () s1; else for () s2;

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

17 years ago* RegexTest.cs (PrimeRegex): New backtracking torture test using
Raja R Harinath [Wed, 4 Apr 2007 14:33:46 +0000 (14:33 -0000)]
* RegexTest.cs (PrimeRegex): New backtracking torture test using
a regex that recognizes composite numbers represented in unary.

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

17 years ago2007-04-04 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 4 Apr 2007 13:54:51 +0000 (13:54 -0000)]
2007-04-04 Juraj Skripsky <js@hotfeet.ch>

        * FormsAuthenticationModule.cs: Move initialization of _config out
        of Init() as app.Context is null in that method when a session is
        about to be terminated.

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

17 years ago2007-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 4 Apr 2007 13:47:07 +0000 (13:47 -0000)]
2007-04-03  Marek Habersack  <mhabersack@novell.com>

* BaseDataBoundControl.cs: adjust for lame specs on MSDN.

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

17 years agocreate a correct url for resolution
Konstantin Triger [Wed, 4 Apr 2007 13:45:29 +0000 (13:45 -0000)]
create a correct url for resolution

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

17 years ago2007-04-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 4 Apr 2007 12:34:13 +0000 (12:34 -0000)]
2007-04-04  Martin Baulig  <martin@ximian.com>

* debug-helpers.c
(mono_method_desc_full_match): Add support for nested classes.

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

17 years ago* TemplateControl: GetAssemblyResource is called with absolute virtual path
Igor Zelmanovich [Wed, 4 Apr 2007 11:22:45 +0000 (11:22 -0000)]
* TemplateControl: GetAssemblyResource is called with absolute virtual path
using VirtualPathUtility.ToAbsilute()

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

17 years ago * MenuAPI.cs:
Everaldo Canuto [Wed, 4 Apr 2007 09:01:49 +0000 (09:01 -0000)]
* MenuAPI.cs:
- Remove unneeded parameters in UpdateCursor.
- Fix UpdateCursor to check if menu is active.
- Call UpdateCursor when menu deactivate my click.
[Fixes remaining issues from #80410]

2007-04-04  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-04-04 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 4 Apr 2007 08:29:24 +0000 (08:29 -0000)]
2007-04-04  Everaldo Canuto  <everaldo@simios.org>

* Control.cs: GetRealChildAtPoint method added, it make an
recursive child control search for the point.

* Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
menu.

* MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.

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

17 years ago* TemplateControl: GetAssemblyResource is called with absolute virtual path
Igor Zelmanovich [Wed, 4 Apr 2007 07:33:03 +0000 (07:33 -0000)]
* TemplateControl: GetAssemblyResource is called with absolute virtual path
* PageMapper: dynamic compilation currently is not supported

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

17 years ago * Form.cs: Fix mouse position when send back mouse event after closes
Everaldo Canuto [Wed, 4 Apr 2007 03:02:43 +0000 (03:02 -0000)]
* Form.cs: Fix mouse position when send back mouse event after closes
menu.

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

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

17 years agosvn path=/trunk/mcs/; revision=75372
Everaldo Canuto [Wed, 4 Apr 2007 02:50:40 +0000 (02:50 -0000)]
svn path=/trunk/mcs/; revision=75372

17 years ago2007-04-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 3 Apr 2007 22:35:32 +0000 (22:35 -0000)]
2007-04-03  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Fix an issue where if a user resized a control inside
a sizing method like OnResize, we would overwrite their explicit
value.  Also, only call DefaultSize once in the constructor instead
of 4 times.  Also, do not call SetBoundsCore from SetBounds if
nothing actually changed.

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

17 years ago * TextControl.cs: Don't attempt to copy text for lines with no
Jackson Harper [Tue, 3 Apr 2007 21:52:34 +0000 (21:52 -0000)]
    * TextControl.cs: Don't attempt to copy text for lines with no
        text in them (technically this shouldn't happen, but we aren't
        always inserting line endings when we should be).

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

17 years ago * TextBoxBase.cs: Calculate the scrollbars before calculating
Jackson Harper [Tue, 3 Apr 2007 21:13:14 +0000 (21:13 -0000)]
    * TextBoxBase.cs: Calculate the scrollbars before calculating
        * the
        document, because this sets some of the document size properties
        that are needed.

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

17 years ago2007-04-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Apr 2007 19:56:55 +0000 (19:56 -0000)]
2007-04-03  Sebastien Pouliot  <sebastien@ximian.com>

* Xlib.cs: Remove import of libgdiplus' GetFontMetrics (it doesn't
exists anymore).
* XplatUIX11-new.cs: Re-implement GetFontMetrics with existing APIs.

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

17 years ago2007-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 3 Apr 2007 18:56:09 +0000 (18:56 -0000)]
2007-04-03  Marek Habersack  <mhabersack@novell.com>

* AppResourcesCompiler.cs: global resources are put in the
"Resources." namespace while local ones are not. Fixes bug #81174
which was reopened after r75261.

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

17 years ago - Display the caret after doing a page up/down, we need to
Jackson Harper [Tue, 3 Apr 2007 18:53:09 +0000 (18:53 -0000)]
    - Display the caret after doing a page up/down, we need to
        manually display it because a proper CaretMoved event isn't
        triggered (this is because of the way the math is done to
        determine how far to scroll).

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

17 years ago* MutexTest.cs: Enabled test for bug #79358.
Gert Driesen [Tue, 3 Apr 2007 18:30:46 +0000 (18:30 -0000)]
* MutexTest.cs: Enabled test for bug #79358.

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

17 years ago2007-04-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 3 Apr 2007 18:11:30 +0000 (18:11 -0000)]
2007-04-03  Marek Safar  <marek.safar@gmail.com>

* OpCodes.cs: Removed obsolete opcodes.

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

17 years ago2007-04-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 3 Apr 2007 17:27:04 +0000 (17:27 -0000)]
2007-04-03  Martin Baulig  <martin@ximian.com>

Fix #80632.

* statement.cs (Foreach.CollectionForeach.TryType): Use a custom
version of TypeManager.IsOverride() which also works with generic
types.

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

17 years ago2007-04-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 3 Apr 2007 17:23:07 +0000 (17:23 -0000)]
2007-04-03  Martin Baulig  <martin@ximian.com>

Fix #81044.

* convert.cs
(Convert.ExplicitReferenceConversion): We need to cast when
converting from IList<T> to S[].

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

17 years ago* TextBoxBase.cs: We need to calculate maximums even if this is
Jackson Harper [Tue, 3 Apr 2007 17:14:00 +0000 (17:14 -0000)]
* TextBoxBase.cs: We need to calculate maximums even if this is
        not a multiline control, because the maxs are used for
scrolling.

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

17 years ago2007-04-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 3 Apr 2007 16:52:51 +0000 (16:52 -0000)]
2007-04-03  Jonathan Pobst  <monkey@jpobst.com>

* ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
(ToolBar was relying on SetBoundsCore to default the values sent
base off of BoundsSpecified.)

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

17 years ago* ControlTest.cs: Ignore EventStyleTest (can't find a reliable way to
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 16:13:08 +0000 (16:13 -0000)]
* ControlTest.cs: Ignore EventStyleTest (can't find a reliable way to
  generate paint messages on Windows) and change PubPropTest to
  accept (0,0) as a valid mouse location.

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

17 years ago* DateTimePickerTest.cs: Added a few more cases to TextTest.
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 15:35:05 +0000 (15:35 -0000)]
* DateTimePickerTest.cs: Added a few more cases to TextTest.

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

17 years ago* DateTimePickerTest.cs: Added a few more cases to TextTest.
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 15:21:49 +0000 (15:21 -0000)]
* DateTimePickerTest.cs: Added a few more cases to TextTest.

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

17 years ago* DateTimePicker.cs: Change Text so that when a null value or empty
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 15:20:08 +0000 (15:20 -0000)]
* DateTimePicker.cs: Change Text so that when a null value or empty
  string is assigned to the test we always raise ValueChanged and
  TextChanged (earlier implementation would only raise ValueChanged
  if the current date value was different from DateTime.Now).

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

17 years agotypo correction
C.J. Adams-Collier [Tue, 3 Apr 2007 12:39:25 +0000 (12:39 -0000)]
typo correction

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

17 years ago2007-04-03 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Tue, 3 Apr 2007 12:26:21 +0000 (12:26 -0000)]
2007-04-03  Andreia Gaita <avidigal@novell.com>

* ButtonBase: Call update after invalidation, fixes #80194

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

17 years ago* ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 12:00:40 +0000 (12:00 -0000)]
* ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  #79335.

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

17 years ago* Regex.cs (~Regex): Don't define in NET_2_0 profile.
Raja R Harinath [Tue, 3 Apr 2007 11:43:49 +0000 (11:43 -0000)]
* Regex.cs (~Regex): Don't define in NET_2_0 profile.

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 10:10:07 +0000 (10:10 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* GenericTypeParameterBuilder.cs: SetInterfaceConstraints(Type[]) is
params.
* MethodBuilder.cs: MakeGenericMethod(Type[]) is params.

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 10:09:37 +0000 (10:09 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* CryptoConfig.cs: CreateFromName(string,object[]) is params in 2.0.

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 10:09:20 +0000 (10:09 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* Array.cs: CreateInstance(Type,int[]) is params.
* AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
params.

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

17 years ago2007-04-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 3 Apr 2007 09:37:36 +0000 (09:37 -0000)]
2007-04-03  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation_2.0.js: correctly validate against min/max
values. Fixes bug #81280

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

17 years ago* XplatUIX11.cs: SetWMStyles: If the control is a form with
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 09:20:28 +0000 (09:20 -0000)]
* XplatUIX11.cs: SetWMStyles: If the control is a form with
  FormBorderStyle = None, don't give the window any decorations.
  Fixes #81276.

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 08:59:23 +0000 (08:59 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* Convert.cs:
* Math.cs: Should be static classes in 2.0.

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

17 years ago* MdiFormTest.cs: Added ChangeClientSizeTest for bug 80995.
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 08:56:07 +0000 (08:56 -0000)]
* MdiFormTest.cs: Added ChangeClientSizeTest for bug 80995.

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 08:45:09 +0000 (08:45 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* Delegate.cs: DynamicInvoke(object[]) is params in 2.0.

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 08:42:37 +0000 (08:42 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* Delegate.cs: Combine(Delegate[]) is params in 2.0.

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

17 years ago* XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 08:30:59 +0000 (08:30 -0000)]
* XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
* CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  to check for is a mix of several styles (such as WS_CAPTION for
  instance).
* Control.cs: Don't paint an area bigger than the client area when
  painting the background colour. Add an internal GetCreateParams.
  Update calls to XplatUI.CalculateWindowRect due to API change.
* XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  the size if it hasn't been handled by any windows. When creating
  and moving windows, X wants the location of the entire window, but
  the size of the client window, so add
  TranslateClientRectangleToXClientRectangle,
  TranslateWindowSizeToXWindowSIze and
  TranslatedXWindowSizeToWindowSize to cope with this, and call them
  before every window creation and move. Update CalculateWIndowRect
  to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  In AddConfigureNotify don't do anything if the hwnd is a zombie
  (fixes the BadWindow we were getting while running the tests),
  always calculate the offsets when it's a parentless window, not
  only when reparented, and translate the window size, since we're
  getting the client size of the whole window, excluding entire
  window.
* Theme.cs: Added BorderSizableSize.
* XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  anymore. Update calls to XplatUI.CalculateWindowRect due to API
  chang
* Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  change. Fake the window styles here instead of in XplatUIWin32 so
  that all back-ends get the same window styles (and it's Form that's
  deciding when to use wm, not the Win32 backend anyways)
* Hwnd.cs: Completely reworked GetWindowRectangle and
  GetClientRectangle - they are now passed a CreateParams and they
  only use Style and ExStyle to determine the rectangles (they should
  now work just like Win32AdjustWindowRectEx - though quite a few
  special cases are probably missing). They should also be 100%
  complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  == rect), and all numbers (borders, menu sizes) are taken from the
  current theme. Added a GetBorders helper function that will return
  the borders for any given CreateParams (including captions and
  menus), and GetBorderSize that returns the given border size only.
* XplatUIOSX.cs: Update calls to CalculateWindowRect and
  Hwnd.GetClientRectangle.

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

17 years ago* XplatUIX11-new.cs: Port changes from XplatUIX11.cs
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 08:29:39 +0000 (08:29 -0000)]
* XplatUIX11-new.cs: Port changes from XplatUIX11.cs

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 08:26:53 +0000 (08:26 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* Monitor.cs: Class is static in 2.0.

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

17 years ago2007-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Apr 2007 07:41:06 +0000 (07:41 -0000)]
2007-04-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextReader.cs : character ']' inside DTD comment caused parser
  error. Fixed bug #81294.

* XmlTextReaderTests.cs : added test for bug #81294.

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 07:30:10 +0000 (07:30 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* UnmanagedMemoryStream.cs: Should not have a public Dispose().
This behaviour is already provided by the base class.

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

17 years agoFix indentation
Alp Toker [Tue, 3 Apr 2007 07:11:49 +0000 (07:11 -0000)]
Fix indentation

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

17 years ago2007-04-03 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 3 Apr 2007 07:10:58 +0000 (07:10 -0000)]
2007-04-03  Alp Toker  <alp@atoker.com>

* Stream.cs: CreateWaitHandle() obsolete in 2.0.

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

17 years ago2007-04-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 2 Apr 2007 22:12:29 +0000 (22:12 -0000)]
2007-04-02  Chris Toshok  <toshok@ximian.com>

* DataGridBoolColumn.cs: rewrite things a bit, and fix up the
logic between the values we present to the user and the values
which are stored in the column's property.  Also, don't call
GetPreferredSize - it's virtual. Along the way, fix bug #80965.

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

17 years ago * TextBoxBase.cs: Scroll faster!
Jackson Harper [Mon, 2 Apr 2007 21:37:52 +0000 (21:37 -0000)]
    * TextBoxBase.cs: Scroll faster!

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