mono.git
17 years ago2007-04-13 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 13 Apr 2007 16:09:07 +0000 (16:09 -0000)]
2007-04-13  Dick Porter  <dick@ximian.com>

* shared.h:
* shared.c: Complete the reimplementation of disabling of shared
memory, by not allocating sysv semaphores when shm disabling has
been requested (either at compile time or run time.)

* processes.c (CreateProcess): Don't synchronize locking across
processes when forking, when shared memory has been disabled.

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

17 years ago2007-04-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 13 Apr 2007 12:45:21 +0000 (12:45 -0000)]
2007-04-13  Sebastien Pouliot  <sebastien@ximian.com>

* Brush.cs: Ensure we're zeroing the handle before calling
CheckStatus. Some clean up.
* Pen.cs: Ensure we're zeroing the handle before calling CheckStatus.
Use Locale.GetText for exceptions.

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

17 years ago2007-04-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 13 Apr 2007 12:26:28 +0000 (12:26 -0000)]
2007-04-13  Sebastien Pouliot  <sebastien@ximian.com>

* Theme.cs: Update GetMethod to get the new definition for
KnownColors.Update (and fix theme color updates).

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

17 years ago2007-04-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 13 Apr 2007 10:27:51 +0000 (10:27 -0000)]
2007-04-13  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: clear the dynamic base directory before
creating the host. Fixes bug #80635

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

17 years ago2007-04-12 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 13 Apr 2007 10:04:15 +0000 (10:04 -0000)]
2007-04-12  Everaldo Canuto  <everaldo@simios.org>

* MessageBox.cs: Fix some test and button position.

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

17 years ago2007-04-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 13 Apr 2007 07:54:24 +0000 (07:54 -0000)]
2007-04-13  Marek Habersack  <mhabersack@novell.com>

* SiteMap.cs: try to look up the current map node in providers
other than the current one. Patch from Mike Morano
<mmorano@mikeandwan.us>. Fixes bug #81366.

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

17 years ago2007-04-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 12 Apr 2007 22:35:03 +0000 (22:35 -0000)]
2007-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Form.cs: Consider the implicit controls in
GetRealChildAtPoint. We need it since this method
is called on Form when handling the some messages in
WndProc, and need to consider those implicit ones too.
Fixes #80385.

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

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

* ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
if there are no ShortcutKeys set.
* ToolStripProfessionalRenderer.cs: If an item has had its BackColor
set, use it when painting.

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

17 years ago* tramp.c: Add MONO_TYPE_PTR case.
Neale Ferguson [Thu, 12 Apr 2007 20:45:34 +0000 (20:45 -0000)]
* tramp.c: Add MONO_TYPE_PTR case.

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

17 years ago2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 12 Apr 2007 20:26:51 +0000 (20:26 -0000)]
2007-04-12  Sebastien Pouliot  <sebastien@ximian.com>

* TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
if in particular case (it doesn't). Added Categoty("Valgrind") to a
test know to leak due to the API design.

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

17 years ago2007-04-06 Andreas Faerber <andreas.faerber@web.de>
Zoltan Varga [Thu, 12 Apr 2007 16:40:43 +0000 (16:40 -0000)]
2007-04-06  Andreas Faerber  <andreas.faerber@web.de>

* mini-amd64.h: fix for assertion failure on Solaris/amd64

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

17 years ago2007-04-06 Andreas Faerber <andreas.faerber@web.de>
Zoltan Varga [Thu, 12 Apr 2007 16:40:11 +0000 (16:40 -0000)]
2007-04-06  Andreas Faerber  <andreas.faerber@web.de>

* configure.in: Added support for Solaris/amd64. Fixes bug #81325

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

17 years agoDuncan was right
Miguel de Icaza [Thu, 12 Apr 2007 14:55:45 +0000 (14:55 -0000)]
Duncan was right

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

17 years agodon't put null values
Konstantin Triger [Thu, 12 Apr 2007 14:21:08 +0000 (14:21 -0000)]
don't put null values

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

17 years ago2007-04-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 12 Apr 2007 14:00:16 +0000 (14:00 -0000)]
2007-04-12  Marek Habersack  <mhabersack@novell.com>

* RoleManagerModule.cs: do not try to decrypt encryption tickets
from cookies with empty values.

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

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

* Menu.cs: popup menu is posed correctly if menu is placed within
container with position=relative

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

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

* TestBitmap.cs: Split LockBitmap into several tests and do not modify
the data when using ImageLockMode.ReadOnly (this makes some results
random when using MS GDI+).

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

17 years agoCopyright headers added
Vladimir Krasnov [Thu, 12 Apr 2007 13:04:48 +0000 (13:04 -0000)]
Copyright headers added

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

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

* TestBmpCodec.cs: Reenable some NotWorking test case.
* TestJpegCodec.cs: Reenable some NotWorking test case.
* TiffCodecTest.cs: Reenable some NotWorking test case.

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

17 years ago* System.Web20.csproj:
Vladimir Krasnov [Thu, 12 Apr 2007 12:40:05 +0000 (12:40 -0000)]
* System.Web20.csproj:
* System.Web.dll.sources: added HttpParamsCollection.cs
* HttpRequest.cs: fixed Params property to be lazy initialzation collection

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

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

* convert.cs (Convert.ImplicitReferenceConversion): Move the
`TypeManager.null_type' checks up to the top of the method.

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

17 years agoImplement Font.GetHeight()
Konstantin Triger [Thu, 12 Apr 2007 11:48:50 +0000 (11:48 -0000)]
Implement Font.GetHeight()

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

17 years agoRevert invalid patch from Duncan, 75632
Miguel de Icaza [Thu, 12 Apr 2007 08:05:38 +0000 (08:05 -0000)]
Revert invalid patch from Duncan, 75632

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

17 years ago * TextControl.cs: Fix some off-by-one issues in line duplication
Jackson Harper [Thu, 12 Apr 2007 06:41:35 +0000 (06:41 -0000)]
    * TextControl.cs: Fix some off-by-one issues in line duplication
        and insertion in the undo manager. Also, overwrite the first tag
        of a line on insert, if it is just a zero lengthed tag. This
        prevents us from getting an extra stranded tag at the beginning
of
        the first line.

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

17 years ago2007-04-12 Duncan Mak <duncan@a-chinaman.com>
Duncan Mak [Thu, 12 Apr 2007 02:56:14 +0000 (02:56 -0000)]
2007-04-12  Duncan Mak  <duncan@a-chinaman.com>

* cs-parser.jay (interface_method_declaration_body): Fixed typo.

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

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

* SectionGroupInfo.cs: a better fix for #81321

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

17 years ago2007-04-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 11 Apr 2007 23:19:46 +0000 (23:19 -0000)]
2007-04-12  Marek Habersack  <mhabersack@novell.com>

* LoginView.cs: do not call CreateChildControls directly from the
IsAuthenticated setter since that would destroy the controls the
user might've configured from their Page_PreRender method.
Do not use IsAuthenticated in CreateChildControls since that
prevents the _correct_ template from being instantiated before the
control is transferred to the user's OnPreRender handler. Fixes
bug #81344.

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

17 years ago2007-04-11 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 11 Apr 2007 22:26:16 +0000 (22:26 -0000)]
2007-04-11  Everaldo Canuto  <everaldo@simios.org>

* Label.cs: Remove check for handle created in CalcAutoSize, we need
to calculated proper size including when handle was not created yet.

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

17 years agoNew test.
Marek Safar [Wed, 11 Apr 2007 21:38:55 +0000 (21:38 -0000)]
New test.

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

17 years ago2007-04-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 11 Apr 2007 21:34:53 +0000 (21:34 -0000)]
2007-04-11  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81350
* class.cs, decl.cs, ecore.cs, namespace.cs: The optimization for private
extensions methods.

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

17 years agoFixed tests.
Marek Safar [Wed, 11 Apr 2007 20:51:25 +0000 (20:51 -0000)]
Fixed tests.

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

17 years agosvn path=/trunk/mcs/; revision=75622
Carlos Alberto Cortez [Wed, 11 Apr 2007 19:19:25 +0000 (19:19 -0000)]
svn path=/trunk/mcs/; revision=75622

17 years agoRemoved invalid eol-style property.
Gert Driesen [Wed, 11 Apr 2007 18:48:45 +0000 (18:48 -0000)]
Removed invalid eol-style property.

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

17 years ago* HttpCookieTest.cs: Added test for bug #81333.
Gert Driesen [Wed, 11 Apr 2007 18:48:09 +0000 (18:48 -0000)]
* HttpCookieTest.cs: Added test for bug #81333.

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

17 years agoNew test for #81259.
Martin Baulig [Wed, 11 Apr 2007 18:23:02 +0000 (18:23 -0000)]
New test for #81259.

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

17 years ago2007-04-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 11 Apr 2007 18:22:35 +0000 (18:22 -0000)]
2007-04-11  Martin Baulig  <martin@ximian.com>

* mini.c (can_access_member): Fix handling of generic classes;
fixes #81259.

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

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

* statement.cs (Foreach.CollectionForeach.ProbeCollectionType):
Use `TypeManager.GetInterfaces(t)' rather than `t.GetInterfaces()'
to make this work for generic classes; fixes #79561.

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

17 years ago2007-04-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 11 Apr 2007 16:29:14 +0000 (16:29 -0000)]
2007-04-11  Martin Baulig  <martin@ximian.com>

* expression.cs (As): Add support for nullable types; fixes #79371.

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

17 years ago* webform.js: fixed WebForm_RestoreScrollPosition, old submit call should be from...
Vladimir Krasnov [Wed, 11 Apr 2007 16:06:54 +0000 (16:06 -0000)]
* webform.js: fixed WebForm_RestoreScrollPosition, old submit call should be from form

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

17 years agogdipFunctions.cs: Add mapping for Win32Error in CheckStatus. Add globalization suppor...
Sebastien Pouliot [Wed, 11 Apr 2007 14:34:03 +0000 (14:34 -0000)]
gdipFunctions.cs: Add mapping for Win32Error in CheckStatus. Add globalization support for CheckStatus and add the GDI+ status code in the error message.

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

17 years agoUse HttpRequest.IsLocal to determine local request in 2.0 profile
Konstantin Triger [Wed, 11 Apr 2007 14:25:26 +0000 (14:25 -0000)]
Use HttpRequest.IsLocal to determine local request in 2.0 profile

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

17 years agoHttpRequest.cs: IsLocal should return true for loopback addresses
Konstantin Triger [Wed, 11 Apr 2007 14:20:50 +0000 (14:20 -0000)]
HttpRequest.cs: IsLocal should return true for loopback addresses

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

17 years agoWed Apr 11 15:40:55 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Apr 2007 13:43:24 +0000 (13:43 -0000)]
Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <lupus@ximian.com>

* WinSerialStream.cs: fixed logic for signal value check (bug #81342).

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

17 years agoSystem.Drawing_test.dll.sources: Add Locale to the unit tests (soon to be required)
Sebastien Pouliot [Wed, 11 Apr 2007 13:40:41 +0000 (13:40 -0000)]
System.Drawing_test.dll.sources: Add Locale to the unit tests (soon to be required)

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

17 years agoReenable some NotWorking test cases.
Sebastien Pouliot [Wed, 11 Apr 2007 13:18:30 +0000 (13:18 -0000)]
Reenable some NotWorking test cases.

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

17 years ago2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 11 Apr 2007 13:05:30 +0000 (13:05 -0000)]
2007-04-11  Sebastien Pouliot  <sebastien@ximian.com>
* GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
(without unlocking it first).

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

17 years agoSolidBrush.cs: Clean up and add comments about [un]named colors.
Sebastien Pouliot [Wed, 11 Apr 2007 12:38:46 +0000 (12:38 -0000)]
SolidBrush.cs: Clean up and add comments about [un]named colors.

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

17 years ago2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 11 Apr 2007 12:34:32 +0000 (12:34 -0000)]
2007-04-11  Sebastien Pouliot  <sebastien@ximian.com>

* SolidBrushTest.cs: Add a test case to see if a cloned solid brush
returns a named color and a unnamed color.
* TestBitmap.cs: Renable four test cases depending on LockBits. Add
two additionnal test cases for LockBits, Double locks (exception) and
invalid ImageLockMode (no exception).

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

17 years agoBitmap.cs: Move LockBits validations into unmanaged code.
Sebastien Pouliot [Wed, 11 Apr 2007 12:24:51 +0000 (12:24 -0000)]
Bitmap.cs: Move LockBits validations into unmanaged code.

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

17 years ago2007-04-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 11 Apr 2007 09:20:47 +0000 (09:20 -0000)]
2007-04-11  Martin Baulig  <martin@ximian.com>

* doc.cs (DocUtil.GetSignatureForDoc): Don't crash if
`type.FullName' is null; fixes #80243.

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

17 years ago2007-04-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 11 Apr 2007 09:10:15 +0000 (09:10 -0000)]
2007-04-11  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.IsApplicable): Don't modify the method
if type inference succeeded, but the method was not applicable.
Fixes #81250.

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

17 years ago* MdiWindowManager.cs: When moving a form, allow the form to be moved
Rolf Bjarne Kvinge [Wed, 11 Apr 2007 08:35:34 +0000 (08:35 -0000)]
* MdiWindowManager.cs: When moving a form, allow the form to be moved
  when the mouse is outside of it's parent's client rectangle. Fixes
  #79982 (take 3, part 2).

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

17 years agoadd named colors initialization
Konstantin Triger [Wed, 11 Apr 2007 08:25:25 +0000 (08:25 -0000)]
add named colors initialization

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

17 years ago2007-04-11 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 11 Apr 2007 07:51:40 +0000 (07:51 -0000)]
2007-04-11  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: move custom profile type check till after
the App_Code compilation is done. That way we can have custom
profile providers in there. Fixes bug #81307.

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

17 years agoforgot to commit the ChangeLog
Marek Habersack [Tue, 10 Apr 2007 22:38:36 +0000 (22:38 -0000)]
forgot to commit the ChangeLog

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

17 years ago2007-04-11 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 10 Apr 2007 22:38:06 +0000 (22:38 -0000)]
2007-04-11  Marek Habersack  <mhabersack@novell.com>

* HtmlInputHidden.cs:
* HtmlSelect.cs:
* HtmlInputText.cs:
* HtmlSelect.cs:
* HtmlInputText.cs:
* HtmlInputImage.cs:
* HtmlInputFile.cs:
* HtmlInputCheckBox.cs:
* HtmlInputRadioButton.cs:
* HtmlInputImage.cs: do not register the control for post back
processing or if it's disabled.

2007-04-11  Marek Habersack  <mhabersack@novell.com>

* ImageButton.cs: implement the Enable property and do not
register for post back if the control isn't enabled.

2007-04-11  Marek Habersack  <mhabersack@novell.com>

* Page.cs: check whether control passed to
RegisterRequiresPostBack implements the IPostBackDataHandler
interface.

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

17 years ago2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 10 Apr 2007 21:05:32 +0000 (21:05 -0000)]
2007-04-10  Sebastien Pouliot  <sebastien@ximian.com>
* GifCodecTest.cs: Fix Save* test cases to check 8bpp indexed for all
GIF saved. Added comments to why we're not getting the "right" Red.

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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 10 Apr 2007 20:47:46 +0000 (20:47 -0000)]
2007-04-10  Marek Habersack  <mhabersack@novell.com>

* HttpListenerRequest.cs: do not include the query start marker
('?') in the first variable name stored in the QueryString
collection. There is no HTTP header 'Accept-Types' in the
standard, there's only the 'Accept' header that specifies the
accepted MIME types. Fixes bug #81317

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

17 years ago2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 10 Apr 2007 20:01:34 +0000 (20:01 -0000)]
2007-04-10  Sebastien Pouliot  <sebastien@ximian.com>

* TestBmpCodec.cs: Remove "NotWorking" from Bitmap32bitPixels test
case. The file is a 32bpp RGB (no alpha).

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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 10 Apr 2007 19:36:29 +0000 (19:36 -0000)]
2007-04-10  Marek Habersack  <mhabersack@novell.com>

* SectionGroupInfo.cs: make sure empty sections with the
short-circuit tag ends (<section/>) don't make the process loop
endlessly. Fixes bug #81321.

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

17 years agofix a mistake in the previous patch
Marek Habersack [Tue, 10 Apr 2007 19:31:14 +0000 (19:31 -0000)]
fix a mistake in the previous patch

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

17 years agoNew test.
Marek Safar [Tue, 10 Apr 2007 17:50:52 +0000 (17:50 -0000)]
New test.

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

17 years ago2007-04-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 10 Apr 2007 17:50:19 +0000 (17:50 -0000)]
2007-04-10  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81324
* namespace.cs (Namespace.LookupExtensionMethod): Always inspect both
internal and external namespaces containers.

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

17 years ago* X11Structs.cs: Add a few ToString() overrides.
Rolf Bjarne Kvinge [Tue, 10 Apr 2007 17:08:00 +0000 (17:08 -0000)]
* X11Structs.cs: Add a few ToString() overrides.
* XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  the window location in a window-manager independent way. Reworked
  FrameExtents, it now actually works. Reworked AddConfigureNotify
  and ReparentNotify handling to use GetTopLevelWindowLocation
  instead of the earlier, more hacky solution. Reworked SetWMStyles,
  hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  for all other windows (fixes #81281 part 1), a toolwindow is hidden
  from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  and generally refactored to do as few calculations as possible
  inside the lock.

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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Apr 2007 16:09:54 +0000 (16:09 -0000)]
2007-04-10  Martin Baulig  <martin@ximian.com>

* delegate.cs (DelegateCreation.ResolveMethodGroupExpr): Use
TypeManager.DropGenericMethodArguments() so we also call
IMethodData.SetMemberIsUsed() for generic methods.  Fixes #80357.

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

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

* iterators.cs (Iterator.CreateIterator): Don't crash if
`method.ReturnType' is null.  This happens if something went wrong
while resolving that typ (we already reported an error in this case).

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

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

* expression.cs (New.DoResolve): Don't call CheckComImport() on
generic interfaces; report the CS0144 directly.

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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Apr 2007 15:57:01 +0000 (15:57 -0000)]
2007-04-10  Martin Baulig  <martin@ximian.com>

* ecore.cs (MemberExpr.ResolveMemberExpr): If `left' is a
`TypeExpr', call ResolveAsTypeTerminal() on it; fixes #81180.

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

17 years ago2007-04-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 10 Apr 2007 15:06:53 +0000 (15:06 -0000)]
2007-04-10  Zoltan Varga  <vargaz@gmail.com>

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

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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Apr 2007 14:36:34 +0000 (14:36 -0000)]
2007-04-10  Martin Baulig  <martin@ximian.com>

* expression.cs (New.DoEmitTypeParameter): Fix #81109.

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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 10 Apr 2007 13:56:20 +0000 (13:56 -0000)]
2007-04-10  Marek Habersack  <mhabersack@novell.com>

* HttpCookie.cs: format the output of HttpCookie.Values.ToString()
in the same way MS.NET does. Fixes bug #81333. Patch from Mike
Morano <mmorano@mikeandwan.us>.

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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 10 Apr 2007 10:47:12 +0000 (10:47 -0000)]
2007-04-10  Marek Habersack  <mhabersack@novell.com>

* AppResourceFilesCollection.cs: watch App_LocalResources for
changes.

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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 10 Apr 2007 10:42:02 +0000 (10:42 -0000)]
2007-04-10  Marek Habersack  <mhabersack@novell.com>

* CacheDependency.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.

2007-04-10  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.

* HttpApplicationFactory.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
App_Code, App_Browsers and App_GlobalResources watchers must watch
for events with the '*' mask so that they can notice events
related to subdirectory creation/deletion.
Watch for subdirectory events with the App_Code watcher.

2007-04-10  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationSettings.cs: add NotifyFilter.Size to the
watcher notification filter to enable file modification events
with Linux inotify.

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

17 years agoRevert - switch back to using MemberwiseClone
Noam Lampert [Tue, 10 Apr 2007 09:28:32 +0000 (09:28 -0000)]
Revert - switch back to using MemberwiseClone

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

17 years agoremove Xml site map provider for security providers administration utility
Konstantin Triger [Tue, 10 Apr 2007 08:53:19 +0000 (08:53 -0000)]
remove Xml site map provider for security providers administration utility

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

17 years ago2007-04-10 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Tue, 10 Apr 2007 08:49:13 +0000 (08:49 -0000)]
2007-04-10 Adar Wesley <adarw@mainsoft.com>

        * Removed use of SiteMap from Util.Master, Web.config and all dependent aspx files.
          Replaced it with an equivalent ContentPlaceHolder for aspx pages to fill.

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

17 years agorefactor SystemColors cache into KnownColors.jvm.cs, to comply with mono implementation
Konstantin Triger [Tue, 10 Apr 2007 08:42:46 +0000 (08:42 -0000)]
refactor SystemColors cache into KnownColors.jvm.cs, to comply with mono implementation

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

17 years agorename MemberwiseClone to clone - accroding to public interface
Konstantin Triger [Tue, 10 Apr 2007 08:33:42 +0000 (08:33 -0000)]
rename MemberwiseClone to clone - accroding to public interface

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

17 years agofix typo
Igor Zelmanovich [Tue, 10 Apr 2007 07:33:16 +0000 (07:33 -0000)]
fix typo

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

17 years ago2007-04-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Apr 2007 07:01:11 +0000 (07:01 -0000)]
2007-04-10  Atsushi Enomoto  <atsushi@ximian.com>

* TypeData.cs : forgot NET_2_0.

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

17 years ago2007-04-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Apr 2007 05:09:01 +0000 (05:09 -0000)]
2007-04-10  Atsushi Enomoto  <atsushi@ximian.com>

* TypeData.cs : in get_ListItemTypeData(), check generic ICollection
  as well as non-generic one. Fixed bug #81341. Though the type check
  looks like an aggregation of bugfix hacks and there should be some
  kind of sane refactoring, to throw best-suited errors.

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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 Apr 2007 21:45:36 +0000 (21:45 -0000)]
2007-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* TestColor.cs: Add a few more test cases for ==, != and Equals

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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 Apr 2007 21:44:49 +0000 (21:44 -0000)]
2007-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* Color.cs: Remove duplicate check in == and add better comments

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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 Apr 2007 21:15:35 +0000 (21:15 -0000)]
2007-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* Theme.cs: Change "reflective-contract" between MWF and SD to
minimize # of calls, avoid Color serialization and avoid updating
every "known colors" each time a single one is updated.

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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 Apr 2007 21:14:43 +0000 (21:14 -0000)]
2007-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* ColorConverter.cs: Add test case with a null CultureInfo for
ConvertFrom.
* ColorTranslator.cs: Add test cases with known values for FromHtml
* TestColor.cs: Made some test clearer about what they do/check.

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

17 years ago System.Drawing.dll.sources: Add internal KnownColors.
Sebastien Pouliot [Mon, 9 Apr 2007 21:11:42 +0000 (21:11 -0000)]
 System.Drawing.dll.sources: Add internal KnownColors.

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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 Apr 2007 21:10:38 +0000 (21:10 -0000)]
2007-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* Color.cs: Remove hashtables and locks. All color properties are read
from KnownColors. Remove extra & 0xFF (typecast to byte is enough).
Keep track of the Name property once calculated. When possible (most
likely case) don't create the names (strings) in Equals, == and !=
* ColorTranslator.cs: Use the new KnownColors instead of the separate
NamedColors and SystemColors.
* ColorConverter.cs: Use the new KnownColors instead of the separate
NamedColors and SystemColors.
* gdipFunctions.cs: Moved GetSysColor p/invoke signature here as this
class is marked by [SuppressUnmanagedCodeSecurity].
* gdipStructs.cs: Moved Windows-specific GetSysColorIndex enum here.
* KnownColors.cs: New. Single source for all colors.
* SystemColors.cs: Vastly simplified. All color properties are read
from KnownColors.

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

17 years ago* DataGridTextBoxColumnTest.cs: Added IsInEditOrNavigateMode tests.
Gert Driesen [Mon, 9 Apr 2007 19:39:33 +0000 (19:39 -0000)]
* DataGridTextBoxColumnTest.cs: Added IsInEditOrNavigateMode tests.
Enabled test after IsInEditOrNavigateMode fix.
* DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
when not readonly and the text is explicitly set. Code style updates.
* DataGridTableStyle.cs: Removed extra line.
* DataGrid.cs: Code style updates. Removed extra whitespace.
* DataGridColumnStyle.cs: Code style updates. Removed extra
whitespace.

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

17 years ago* XplatUIX11.cs: Added comment that "fixes" #80021.
Rolf Bjarne Kvinge [Mon, 9 Apr 2007 19:30:24 +0000 (19:30 -0000)]
* XplatUIX11.cs: Added comment that "fixes" #80021.

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

17 years ago * TextControl.cs: We don't need this -1 on the line count
Jackson Harper [Mon, 9 Apr 2007 17:40:03 +0000 (17:40 -0000)]
    * TextControl.cs: We don't need this -1 on the line count
        * anymore.

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

17 years agoA better fix
Raja R Harinath [Mon, 9 Apr 2007 16:27:28 +0000 (16:27 -0000)]
A better fix
* flowanalysis.cs (UsageVector.MergeChild): Handle child.Block == null.
* statement.cs: Use KillFlowBranching only in ResolveUnreachable.

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

17 years ago* Makefile (cleanup): Use '-f' to silence 'rm'.
Raja R Harinath [Mon, 9 Apr 2007 16:24:54 +0000 (16:24 -0000)]
* Makefile (cleanup): Use '-f' to silence 'rm'.

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

17 years agoFix #81338
Raja R Harinath [Mon, 9 Apr 2007 14:03:00 +0000 (14:03 -0000)]
Fix #81338
* mcs/statement.cs (For.Resolve): If resolution fails, use KillFlowBranching.
* errors/cs0103-5.cs: New test based on #81338.

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

17 years agoRemoved some extra tabs.
Gert Driesen [Mon, 9 Apr 2007 13:06:05 +0000 (13:06 -0000)]
Removed some extra tabs.

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

17 years ago* DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
Gert Driesen [Mon, 9 Apr 2007 13:05:08 +0000 (13:05 -0000)]
* DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
entered value to underlying type, and convert it back to a string to
apply formatting. Modified GetFormattedValue to use TypeConverter
if available.
* DataGridTextBoxColumnTest.cs: Added tests for IFormattable and
TypeConverter usage in Edit and Commit.

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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 9 Apr 2007 02:47:00 +0000 (02:47 -0000)]
2007-04-09  Alp Toker  <alp@atoker.com>

* MonoMethod.cs: Use StringBuilder for the entire ToString() methods
to reduce allocations and increase performance.

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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 9 Apr 2007 01:35:29 +0000 (01:35 -0000)]
2007-04-09  Alp Toker  <alp@atoker.com>

* MonoMethod.cs: Use StringBuilder for parms in ToString() methods.

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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 9 Apr 2007 00:45:45 +0000 (00:45 -0000)]
2007-04-09  Alp Toker  <alp@atoker.com>

* ConstructorBuilder.cs: Remove redundant overrides.

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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 9 Apr 2007 00:45:14 +0000 (00:45 -0000)]
2007-04-09  Alp Toker  <alp@atoker.com>

* MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
should return false, not throw NotSupportedException. This matches MS
behaviour and introduces simplifications in subclasses.
* MonoMethod.cs: MonoCMethod: Remove redundant overrides.

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

17 years agoNew tests.
Marek Safar [Sun, 8 Apr 2007 20:30:34 +0000 (20:30 -0000)]
New tests.

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