mono.git
17 years ago2007-04-16 Jonathan Pobst <jpobst@monkey.com>
Jonathan Pobst [Mon, 16 Apr 2007 13:36:31 +0000 (13:36 -0000)]
2007-04-16  Jonathan Pobst  <jpobst@monkey.com>

* MdiClient.cs: Implement implicit menu merging for MDI
children.  When a child form is active, if it has a menustrip
and the parent form has a MainMenuStrip, automatically merge
the menus.

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

17 years ago2007-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 16 Apr 2007 13:05:17 +0000 (13:05 -0000)]
2007-04-16  Marek Safar  <marek.safar@gmail.com>

* PersianCalendar: Removed twoDigitYearMax field.

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

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

* GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
* TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
Format16bppGrayScale.

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

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

* Bitmap.cs: Add check in SetPixel for Format16bppGrayScale (but
without requiring a second unmanaged call on each SetPixel call).

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

17 years ago * VBCodeGenerator.cs: Small fix in GenerateBinaryOperatorExpression to always emit...
Rolf Bjarne Kvinge [Mon, 16 Apr 2007 12:18:01 +0000 (12:18 -0000)]
* VBCodeGenerator.cs: Small fix in GenerateBinaryOperatorExpression to always emit the IdentityInequality comparisons with Nothing in the same order (first object, then Nothing).

2007-04-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

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

* SectionGroupInfo.cs: another (and final, hopefully) fix for bug
#81321 and several other related issues that were discovered by
the way. Thanks to Atsushi for help with XmlReader!

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

17 years ago2007-04-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 16 Apr 2007 09:23:33 +0000 (09:23 -0000)]
2007-04-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* System_test.dll.sources: Added CodeGeneratorFromBinaryOperatorTest.cs.

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

17 years ago2007-04-13 Frederik Carlier <frederik.carlier@carlier-online.be>
Rolf Bjarne Kvinge [Mon, 16 Apr 2007 09:21:52 +0000 (09:21 -0000)]
2007-04-13  Frederik Carlier  <frederik.carlier@carlier-online.be>

    * CodeGeneratorFromBinaryOperatorTest.cs: Regression test for bug 81372, test
    for code generated when comparing against null (Nothing in Visual Basic)

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

17 years ago2007-04-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 16 Apr 2007 09:19:51 +0000 (09:19 -0000)]
2007-04-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* VBCodeCompiler.cs: In CreateErrorFromString don't return null if the message couldn't be parsed. Temporary fix for ASP.Net to show more helpful fail messages. In CompileFromFileBatch don't try to load the assembly if the compilation returned a non-zero exit code.

2007-04-13  Frederik Carlier  <frederik.carlier@carlier-online.be>

* VBCodeGenerator.cs: Added support for the IdentityInequality operator when comparing against Nothing.

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

17 years ago2007-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Apr 2007 08:37:02 +0000 (08:37 -0000)]
2007-04-16  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : in Uri(baseUri,relativeUri,noEscape), relativeUri could
  contain a URI scheme. In such cases the relativeUri could be still
  relative (i.e. not always equivalent to absolute). Fixed bug #81382.

* UriTest.cs : added relative .ctor() test where the relativeUris
  contain URI schemes.

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

17 years ago2007-04-15 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sun, 15 Apr 2007 20:12:12 +0000 (20:12 -0000)]
2007-04-15  Andreia Gaita  <avidigal@novell.com>

* TabControl.cs: Refactored sizing methods to not repeat
code all over the place. Tab bounds are now calculated
as if alignment is top and single line, and only when
setting the bounds are the positions adjusted according
to alignment. Replaced hardcoded positions, spacings and
paddings by getting the values the ThemeEngine. Fixes #79619.

* Theme.cs: Change TabControl properties and methods so
that all start with TabControl*. Added more properties
to help remove hardcoded values on tabcontrol.
Add CPDrawBorder3D declaration so the Theming classes
can access it.

* ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
* ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
on the Theming namespace, and call the appropriate methods here.
Change CPDrawBorder3D to public.

Theming namespace

* ThemeElements.cs: Load themes by reflection according to theme
name. If the theme is not implemented yet, load the default theme.
Theme classes just give access to the *Painter classes, that
implement drawing of each control. Only the Default.*Painter
class needs to be implemented and referenced on ThemeDefault,
all others inherit from this one. Check the ThemeElementsNice
class for an example.

* ThemeElementsDefault.cs,
  ThemeElementsClearlooks.cs (new),
  ThemeElementsNice.cs (new),
  ThemeElementsGtk.cs (new): Theme classes to access *Painter implementations.

* ButtonPainter.cs: refactoring of the button drawing
that was originally located in ThemeElementsDefault

* TabControlPainter.cs: refactoring of the tabcontrol
drawing code originally located in the ThemeWin32Classic.
Also, fixes and changes:
- replaced most hardcoded values with properties to
make it easier to customize implementations.
- fixed left and right alignment drawing problems
- fixed flatbutton border drawing on left and
right alignment
- fixed #79619
- fixed paddings, spacings and positioning.

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

17 years ago2007-04-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 15 Apr 2007 18:27:58 +0000 (18:27 -0000)]
2007-04-15  Marek Safar  <marek.safar@gmail.com>

* ListDictionary: Removed not used variable.

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

17 years ago2007-04-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 15 Apr 2007 18:22:04 +0000 (18:22 -0000)]
2007-04-15  Marek Safar  <marek.safar@gmail.com>

* monoresgen.cs: Use invariant ToLower.

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

17 years ago2007-04-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 15 Apr 2007 16:52:46 +0000 (16:52 -0000)]
2007-04-15  Miguel de Icaza  <miguel@novell.com>

* trace.c (is_filenamechar): - is also a filename char.

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

17 years ago2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 15 Apr 2007 14:03:40 +0000 (14:03 -0000)]
2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>

* SqlDataSourceView.cs: fixed: InitializeParameters:
restored flow, broken in r75137.

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

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

* SectionGroupInfo.cs: another incarnation of the fix for bug
#81321.

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

17 years agoAdd implementation for GetGlobalResourceObject(...Type,String) and GetLocalResourceOb...
Konstantin Triger [Sun, 15 Apr 2007 12:46:28 +0000 (12:46 -0000)]
Add implementation for GetGlobalResourceObject(...Type,String) and GetLocalResourceObject(...Type,String)

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

17 years ago2007-04-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 15 Apr 2007 12:28:48 +0000 (12:28 -0000)]
2007-04-15  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: Make sure there's actually anything to compile.

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

17 years ago2007-04-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 15 Apr 2007 12:18:53 +0000 (12:18 -0000)]
2007-04-15  Marek Habersack  <mhabersack@novell.com>

* data/net_2_0/web.config: add the default build providers
configuration.

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

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

* VirtualPathUtility.cs: converted to LF line endings and set the
svn:eol-style property to 'native'

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

* AppCodeCompiler.cs: properly convert physical file path to
virtual path for build providers.

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

17 years ago* tramp.c: Add MONO_TYPE_PTR case.
Neale Ferguson [Sun, 15 Apr 2007 09:11:00 +0000 (09:11 -0000)]
* tramp.c: Add MONO_TYPE_PTR case.
* mini-s390.c: Correct checking for enum type in return value processing.

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

17 years agoBug fix - wrong JRE path
Noam Lampert [Sun, 15 Apr 2007 08:36:43 +0000 (08:36 -0000)]
Bug fix - wrong JRE path

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

17 years agoTARGET_JVM: #7168 is fixed
Konstantin Triger [Sun, 15 Apr 2007 08:32:23 +0000 (08:32 -0000)]
TARGET_JVM: #7168 is fixed

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

17 years agoremove MaskedTextProviderTest test from compilation
Konstantin Triger [Sun, 15 Apr 2007 07:59:39 +0000 (07:59 -0000)]
remove MaskedTextProviderTest test from compilation

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

17 years ago2007-04-15 Alp Toker <alp@atoker.com>
Alp Toker [Sun, 15 Apr 2007 04:33:57 +0000 (04:33 -0000)]
2007-04-15  Alp Toker  <alp@atoker.com>

* Decimal.cs: Provide 2.0 Round() overloads using System.Math.

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

17 years ago2007-04-15 Alp Toker <alp@atoker.com>
Alp Toker [Sun, 15 Apr 2007 04:11:07 +0000 (04:11 -0000)]
2007-04-15  Alp Toker  <alp@atoker.com>

* ConstructorBuilder.cs: Make use of
ConstructorInfo.TypeConstructorName/ConstructorName.

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

17 years ago2007-04-15 Alp Toker <alp@atoker.com>
Alp Toker [Sun, 15 Apr 2007 02:59:54 +0000 (02:59 -0000)]
2007-04-15  Alp Toker  <alp@atoker.com>

* Activator.cs: CreateInstance(Type,object[]) was not params before
2.0.

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

17 years ago2007-04-15 Alp Toker <alp@atoker.com>
Alp Toker [Sun, 15 Apr 2007 01:56:08 +0000 (01:56 -0000)]
2007-04-15  Alp Toker  <alp@atoker.com>

* NonSerializedAttribute.cs: Inherited=false in 2.0.

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

17 years ago2007-04-15 Alp Toker <alp@atoker.com>
Alp Toker [Sun, 15 Apr 2007 00:26:20 +0000 (00:26 -0000)]
2007-04-15  Alp Toker  <alp@atoker.com>

* Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.

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

17 years ago2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 14 Apr 2007 16:17:26 +0000 (16:17 -0000)]
2007-04-14  Sebastien Pouliot  <sebastien@ximian.com>

* TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
issues.

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

17 years ago* Makefile.am (BUILT_SOURCES): Add 'version.h'.
Raja R Harinath [Sat, 14 Apr 2007 13:20:11 +0000 (13:20 -0000)]
* Makefile.am (BUILT_SOURCES): Add 'version.h'.
(version.h): Makefile is in the build directory.

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

17 years ago2007-04-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 13 Apr 2007 22:40:59 +0000 (22:40 -0000)]
2007-04-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
the control after firing the OnMouseUp event, instead of sending
the message before the mentioned event. This is so we can match the
MS behaviour. Fixes part of #80385.

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

17 years agoAdd branch, version number
Miguel de Icaza [Fri, 13 Apr 2007 22:01:38 +0000 (22:01 -0000)]
Add branch, version number

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

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

Rewrote implicit reference conversions.  We need to distinguish
between implicit reference conversions (13.1.4) and implicit
boxing conversions (13.1.5).

According to the spec, there's an an implicit conversion
"From a one-dimensional array-type S[] to IList<T> and base
interfaces of this interface, provided there is an implicit
reference conversion from S to T."  Note that this does not
include boxing conversions.

* convert.cs
(Convert.ImplicitTypeParameterBoxingConversion): New method.
(Convert.ImplicitReferenceConversion): Split into
ImplicitReferenceConversionCore() and
ImplicitBoxingConversionExist().
(Convert.ImplicitReferenceConversionExists): Use the new
ImplicitReferenceConversionCore() and ImplicitBoxingConversionExists().

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

17 years ago2007-04-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 13 Apr 2007 18:07:33 +0000 (18:07 -0000)]
2007-04-13  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItemTest.cs: Enable a bunch of tests for recently
implemented properties.
* ToolStripManager.cs: Add tests for Merge and RevertMerge.

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

17 years ago2007-04-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 13 Apr 2007 18:05:08 +0000 (18:05 -0000)]
2007-04-13  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: Call the RightToLeftChanged event when setting the
RightToLeft property.

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

17 years ago2007-04-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 13 Apr 2007 17:38:51 +0000 (17:38 -0000)]
2007-04-13  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Add properties and internal methods to support merging.
* ToolStripItem.cs: Add MergeAction and MergeIndex.
* ToolStripItemCollection.cs: Add Insert and Remove methods that do
not trigger reparenting or layouts.
* ToolStripManager.cs: Add Merge and RevertMerge methods.
* ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
is hosting the overflow menu.

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

17 years agoadd some (mostly non-working) data binding tests
Chris Toshok [Fri, 13 Apr 2007 17:03:24 +0000 (17:03 -0000)]
add some (mostly non-working) data binding tests

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

17 years agoUpdate
Miguel de Icaza [Fri, 13 Apr 2007 16:39:44 +0000 (16:39 -0000)]
Update

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

17 years ago * TextControl.cs: Set the line ending correctly for the first
Jackson Harper [Fri, 13 Apr 2007 16:11:36 +0000 (16:11 -0000)]
    * TextControl.cs: Set the line ending correctly for the first
        inserted line.

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

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