mono.git
17 years ago2007-05-07 Wade Berrier <wberrier@novell.com>
Wade Berrier [Mon, 7 May 2007 21:44:29 +0000 (21:44 -0000)]
2007-05-07  Wade Berrier  <wberrier@novell.com>

* scripts/mono-find-requires.in: don't use length() on arrays;
doesn't work on older gawk versions.  Calculate size manually instead.

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

17 years ago2007-05-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 7 May 2007 21:39:35 +0000 (21:39 -0000)]
2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
Implement UseWaitCursor.

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

17 years ago2007-05-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 7 May 2007 20:51:44 +0000 (20:51 -0000)]
2007-05-07  Jonathan Pobst  <monkey@jpobst.com>
Applying contributed patch from Sergey Volk.

* Clipboard.cs: Implement SetDataObject retry logic and new overload
of SetDataObject.
* XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.

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

17 years ago2007-05-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 May 2007 19:29:44 +0000 (19:29 -0000)]
2007-05-07  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: added support for implicit language
detection. If the language isn't set explicitly in the Page
directive, the language value taken from the configuration
considered to be implicit - that is, it can be overwritten by the
first <script> with the runat="server" and language="xx" sets the
language for the parser. This makes it possible to have the
default language set to "C#" and the inline code in, e.g.,
VisualBasic.

2007-05-07  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: if the parser's language is implicit (i.e. set
from the default configuration), the first script with the
language attribute present sets the language of the parser.

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

17 years ago2007-05-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 7 May 2007 19:26:44 +0000 (19:26 -0000)]
2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement DrawToBitmap.

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

17 years agoApplying contributed patch from Stefan Noack.
Jonathan Pobst [Mon, 7 May 2007 18:13:55 +0000 (18:13 -0000)]
Applying contributed patch from Stefan Noack.

2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Add [Get|Set]AutoSizeMode.

2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayout.cs: Implement AutoSize logic.

2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Tests demonstrating Control.AutoSize.

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

17 years ago2007-05-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 May 2007 18:07:06 +0000 (18:07 -0000)]
2007-05-07  Marek Habersack  <mhabersack@novell.com>

* ControlBuilder.cs: when mapping types, catch casses of missing
original and mapped types.
If mapped type doesn't derive from the original type, throw an
exception. Fixes bug #81553.

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

17 years ago2007-05-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 7 May 2007 17:47:36 +0000 (17:47 -0000)]
2007-05-07  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientCertificate.cs: A client certficate with a RSA public key
can only be used, protocol wise, to sign. Which means we should always
be checking it's keyUsage for digitalSignature. Fix for bug #81511

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

17 years agoUndo
Gert Driesen [Mon, 7 May 2007 16:32:12 +0000 (16:32 -0000)]
Undo

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

17 years ago* PagesConfigurationHandler.cs: To match MS, silently ignore child
Gert Driesen [Mon, 7 May 2007 16:22:55 +0000 (16:22 -0000)]
* PagesConfigurationHandler.cs: To match MS, silently ignore child
nodes.

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

17 years ago* MethodInfoTest.cs: Modified test for bug #81538 to verify both
Gert Driesen [Mon, 7 May 2007 15:57:38 +0000 (15:57 -0000)]
* MethodInfoTest.cs: Modified test for bug #81538 to verify both
1.0 and 2.0 behavior.

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

17 years ago2007-02-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 7 May 2007 15:43:02 +0000 (15:43 -0000)]
2007-02-05  Robert Jordan  <robertj@gmx.net>

* BaseCalls.cs (PrimitiveParams): Add dummy overload method for
bug #77191.
* ReflectionCalls.cs (PrimitiveParams): Due to the change above
we need to specify the exact signature because PrimitiveParams ()
is overloaded now.

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

17 years ago2007-05-07 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 7 May 2007 15:42:16 +0000 (15:42 -0000)]
2007-05-07  Robert Jordan  <robertj@gmx.net>

* SoapMessageFormatter.cs (BuildMethodCallFromSoapMessage):
Validate DecodeXmlNamespaceForClrTypeNamespace's result.
Don't use RemotingServices.GetServerTypeForUri's result to
lookup the method from, because it returns the concrete server
type. We need the type that was used to make the call, which
we can compute from DecodeXmlNamespaceForClrTypeNamespace's output.
Fixes the last part of bug #77191.

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

17 years ago2007-05-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 7 May 2007 15:40:35 +0000 (15:40 -0000)]
2007-05-07  Zoltan Varga  <vargaz@gmail.com>

* MonoMethod.cs (Invoke): Fix a warning.

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

17 years ago2007-02-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 7 May 2007 15:39:33 +0000 (15:39 -0000)]
2007-02-05  Robert Jordan  <robertj@gmx.net>

* MethodCall.cs (ResolveMethod): Actually use the type returned
by CastTo (). Fixes bug #77191.

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

17 years ago2007-05-07 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Mon, 7 May 2007 15:39:04 +0000 (15:39 -0000)]
2007-05-07  Adar Wesley <adarw@mainsoft.com>

        * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
        parameter.

        * DataTable.cs: added implementation of IXmlSerializable. Added missing
        method ReadXmlSerializable.

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

17 years ago2007-05-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 7 May 2007 15:30:06 +0000 (15:30 -0000)]
2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* MdiClient.cs: Unmerge menus when the last child is closed.

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

17 years ago2007-05-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 7 May 2007 15:17:46 +0000 (15:17 -0000)]
2007-05-07  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add test case for #81538.

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

17 years ago2007-05-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 7 May 2007 15:16:54 +0000 (15:16 -0000)]
2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Do not call BeginMerge on DropDowns.
* ToolStripManager.cs: Call Merge on DropDowns.
[Fixes bug #81477]

2007-05-07  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripManagerTest.cs: Add test for bug #81477.

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

17 years ago2007-05-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 7 May 2007 15:13:32 +0000 (15:13 -0000)]
2007-05-07  Zoltan Varga  <vargaz@gmail.com>

* MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a
TargetInvocationException on the 2.0 profile. Fixes #81538.

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

17 years agorefactoring for .net binary serialization compatibility: rename 'table' -> 'contents'
Konstantin Triger [Mon, 7 May 2007 14:52:27 +0000 (14:52 -0000)]
refactoring for .net binary serialization compatibility: rename 'table' -> 'contents'

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

17 years ago2007-05-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 May 2007 14:22:18 +0000 (14:22 -0000)]
2007-05-07  Marek Habersack  <mhabersack@novell.com>

* HttpResponseStream.cs: use BufferOutput

* HttpResponse.cs: support Buffer, but use BufferOutput

2007-05-07  Marek Habersack  <mhabersack@novell.com>

* PagesSection.cs: buffering is on by default.

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

17 years ago* XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
Rolf Bjarne Kvinge [Mon, 7 May 2007 11:24:11 +0000 (11:24 -0000)]
* XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  uints.
* Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  visibility. We can't create forms visible, since we have to set the
  owner before making the form visible (otherwise Win32 will do
  strange things with task bar icons). The problem is that we set the
  internal is_visible to true before creating the control, so
  is_changing_visible_state is the only way of determining if we're
  in the process of creating the form due to setting Visible=true -
  this works because SetVisibleCore explicitly makes the form
  visibile afterwards anyways. Fixes #80775.

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

17 years agocosmetic fix for the exception type
Konstantin Triger [Mon, 7 May 2007 10:44:31 +0000 (10:44 -0000)]
cosmetic fix for the exception type

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

17 years ago2007-05-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 May 2007 09:34:29 +0000 (09:34 -0000)]
2007-05-07  Marek Habersack  <mhabersack@novell.com>

* Wizard.cs: additional checks to see whether the wizard needs to
move to a next step or not. Fixes bug #81532. Patch sent by Mike
Morano <mmorano@mikeandwan.us>, thanks!

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

17 years ago2007-05-07 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Mon, 7 May 2007 09:32:11 +0000 (09:32 -0000)]
2007-05-07  Adar Wesley <adarw@mainsoft.com>

        * ProtocolReflector.cs: added missing method ReflectDescription.
        implementation throws NotImplementedException. (forgot ifdef NET_2_0 in previous commit).

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

17 years ago2007-05-07 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Mon, 7 May 2007 09:21:52 +0000 (09:21 -0000)]
2007-05-07  Adar Wesley <adarw@mainsoft.com>

        * ProtocolReflector.cs: added missing method ReflectDescription.
        implementation throws NotImplementedException.

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

17 years ago2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 7 May 2007 09:19:02 +0000 (09:19 -0000)]
2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed:
avoid NullReferenceException when used EditTemplate w/o binding
directive such Eval or Bind.

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

17 years agoThanks to Stephen for the report.
Raja R Harinath [Mon, 7 May 2007 09:18:53 +0000 (09:18 -0000)]
Thanks to Stephen for the report.

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

17 years agoFix parallel make.
Raja R Harinath [Mon, 7 May 2007 09:14:57 +0000 (09:14 -0000)]
Fix parallel make.
* runtime/Makefile.am (test-support-file): Remove.  Move rules ...
(_tmpinst/bin/mcs, _tmpinst/bin/gmcs, _tmpinst/bin/ilasm): ... here.

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

17 years ago2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 7 May 2007 08:49:07 +0000 (08:49 -0000)]
2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>

* MenuItem.cs: fixed:
when 'Value' property is not set, value of 'Text' property is used
instead and vice versa.

* MenuTest.cs:
new tests were added.

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

17 years agoSome intro text
Miguel de Icaza [Mon, 7 May 2007 04:53:37 +0000 (04:53 -0000)]
Some intro text

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

17 years agoAdd some docs on the lambda stuff
Miguel de Icaza [Mon, 7 May 2007 04:50:19 +0000 (04:50 -0000)]
Add some docs on the lambda stuff

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

17 years agoNew test.
Marek Safar [Sun, 6 May 2007 22:16:42 +0000 (22:16 -0000)]
New test.

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

17 years ago2007-05-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 6 May 2007 22:12:28 +0000 (22:12 -0000)]
2007-05-06  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81500
* cs-parser.jay: Add special handling for coalescing operator.

2007-05-06  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81500
* cs-tokenizer.cs: Add special handling for coalescing operator.

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

17 years agorefactoring for performance
Konstantin Triger [Sun, 6 May 2007 18:05:58 +0000 (18:05 -0000)]
refactoring for performance

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

17 years agoNew test.
Marek Safar [Sun, 6 May 2007 15:49:06 +0000 (15:49 -0000)]
New test.

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

17 years ago2007-05-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 6 May 2007 15:40:19 +0000 (15:40 -0000)]
2007-05-06  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81529
* attribute.cs (GetAttributeUsage): AttributeUsage attribute inherits
its value from base class until it is redefined.

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

17 years ago2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 6 May 2007 13:55:51 +0000 (13:55 -0000)]
2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>

* TreeNode.cs: fixed:
when 'Value' property is not set, value of 'Text' property is used
instead and vice versa.

* TreeNodeTest.cs:
* TreeViewTest.cs:
new tests were added.

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

17 years agoTARGET_JVM: Enable passing tests
Konstantin Triger [Sun, 6 May 2007 13:30:30 +0000 (13:30 -0000)]
TARGET_JVM: Enable passing tests

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

17 years agoTARGET_JVM: add new tests; remove fixed Ignores
Konstantin Triger [Sun, 6 May 2007 13:06:23 +0000 (13:06 -0000)]
TARGET_JVM: add new tests; remove fixed Ignores

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

17 years ago2007-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 May 2007 12:23:33 +0000 (12:23 -0000)]
2007-05-06  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (CreateType): Fix build.

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

17 years agoTARGET_JVM: use RuntimeEnvironment.SystemConfigurationFile for GetMachineConfigPath
Konstantin Triger [Sun, 6 May 2007 07:45:00 +0000 (07:45 -0000)]
TARGET_JVM: use RuntimeEnvironment.SystemConfigurationFile for GetMachineConfigPath

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

17 years agoTARGET_JVM: UNC is not supported
Konstantin Triger [Sun, 6 May 2007 07:20:55 +0000 (07:20 -0000)]
TARGET_JVM: UNC is not supported

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

17 years ago2007-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 May 2007 23:19:19 +0000 (23:19 -0000)]
2007-05-06  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilderTest.cs: Add test for null parent.

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

17 years ago2007-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 May 2007 23:18:35 +0000 (23:18 -0000)]
2007-05-06  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (.ctor): Convert null parent to typeof (object). Fixes #81530.

* TypeBuilder.cs (UnderlyingSystemType): Remove commented out code.

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

17 years agoDo not require setting MONO_CHECKOUT if run from <checkout>/eglib/test; ignore functi...
Aaron Bockover [Sat, 5 May 2007 20:18:45 +0000 (20:18 -0000)]
Do not require setting MONO_CHECKOUT if run from <checkout>/eglib/test; ignore functions that are implemented privately by mono but have the g_* name pattern, causing false positives

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

17 years ago2007-05-05 Aaron Bockover <abockover@novell.com>
Aaron Bockover [Sat, 5 May 2007 19:53:43 +0000 (19:53 -0000)]
2007-05-05  Aaron Bockover  <abockover@novell.com>

    * src/gstr.c:
    * src/glib.h: Added g_ascii_tolower implementation; make g_ascii_strdown
    use it to do the transformation

    * test/string-util.c: Added a test for g_ascii_strdown

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

17 years agoInclude version numbers in a few more tools
Miguel de Icaza [Sat, 5 May 2007 17:02:33 +0000 (17:02 -0000)]
Include version numbers in a few more tools

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

17 years agoFix
Miguel de Icaza [Sat, 5 May 2007 17:01:18 +0000 (17:01 -0000)]
Fix

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

17 years agoAdd man page for resgen
Miguel de Icaza [Sat, 5 May 2007 16:58:42 +0000 (16:58 -0000)]
Add man page for resgen

Fix ilasm man page

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

17 years agoUse the Consts.MonoVersion instead
Miguel de Icaza [Sat, 5 May 2007 16:58:29 +0000 (16:58 -0000)]
Use the Consts.MonoVersion instead

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

17 years agoUpdate
Miguel de Icaza [Sat, 5 May 2007 16:55:51 +0000 (16:55 -0000)]
Update

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

17 years agoDescribe 2.0 functionality
Miguel de Icaza [Sat, 5 May 2007 16:28:35 +0000 (16:28 -0000)]
Describe 2.0 functionality

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

17 years agoImprove the message display
Miguel de Icaza [Sat, 5 May 2007 16:23:29 +0000 (16:23 -0000)]
Improve the message display

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

17 years agoUpdate
Miguel de Icaza [Sat, 5 May 2007 16:23:07 +0000 (16:23 -0000)]
Update

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

17 years ago2007-05-05 Wade Berrier <wberrier@novell.com>
Wade Berrier [Sat, 5 May 2007 08:55:53 +0000 (08:55 -0000)]
2007-05-05  Wade Berrier  <wberrier@novell.com>

* scripts/mono-find-provides.in: don't use 'which' anymore (never solved
anything since it broke symlinks)
* scripts/mono-find-requires.in: also don't use 'which'
Parse .config files to look for native libs.  Honor 'os' attributes for
dllmaps.  Query rpm db for package that provides this lib.  Support 64bit
rpm configurations, as well as 32bit running on 64bit.

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

17 years ago2007-05-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 5 May 2007 01:18:14 +0000 (01:18 -0000)]
2007-05-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: When drawing ListViewItems,
use StringTrimming.EllipsisCharacter if the view is Tile, Details,
or LargeIcon _and_ item is not focused (match .Net behaviour).

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

17 years ago2007-05-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 May 2007 20:01:01 +0000 (20:01 -0000)]
2007-05-04  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs, Form.cs: Fix some obsolete method warnings.

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

17 years ago2007-05-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 May 2007 19:51:28 +0000 (19:51 -0000)]
2007-05-04  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
* GetChildAtPointSkip.cs: Make internal for 1.1 profile.

2007-05-04  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Expand GetChildAtPointTest to cover 2.0 cases.

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

17 years ago2007-05-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 4 May 2007 19:37:52 +0000 (19:37 -0000)]
2007-05-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* System.Windows.Forms_test.dll.sources: Added MaskedTextBoxTest.cs

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

17 years agoAdded.
Rolf Bjarne Kvinge [Fri, 4 May 2007 19:36:47 +0000 (19:36 -0000)]
Added.

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

17 years ago* TabControlPainter.cs: Use ControlPaint static methods
Andreia Gaita [Fri, 4 May 2007 18:19:33 +0000 (18:19 -0000)]
* TabControlPainter.cs: Use ControlPaint static methods
instead of ThemeEngine ones (seeing as they're there and
all :p )

2007-05-04  Andreia Gaita  <avidigal@novell.com>

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

17 years ago* ContainerControl.cs: Fix active_control attribution when going
Andreia Gaita [Fri, 4 May 2007 18:13:13 +0000 (18:13 -0000)]
* ContainerControl.cs: Fix active_control attribution when going
up the parent chain so that the first parent container gets the control
and the rest of the parent containers get the child containers (skips
non-containers). Fixes #80729

2007-05-04  Andreia Gaita  <avidigal@novell.com>

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

17 years agoIn System.Data.SqlTypes:
Raja R Harinath [Fri, 4 May 2007 13:59:14 +0000 (13:59 -0000)]
In System.Data.SqlTypes:
* SqlDateTime.cs: Rewrite parts converting SQL ticks to and from
DateTime ticks.  Attempt to understand what the damned 'bilisecond'
means.

In Test/System.Data.SqlTypes:
* SqlDateTimeTest.cs (TicksRoundTrip, EffingBilisecond): New tests.

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

17 years agoforgotten ifdefs
Marek Habersack [Fri, 4 May 2007 12:51:41 +0000 (12:51 -0000)]
forgotten ifdefs

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

17 years ago2007-05-04 Randolph Chung <tausq@debian.org>
Rolf Bjarne Kvinge [Fri, 4 May 2007 11:29:35 +0000 (11:29 -0000)]
2007-05-04  Randolph Chung  <tausq@debian.org>

* FileDialog.cs: Implement the SupportMultiDottedExtensions property.
[Fixes bug #81499]

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

17 years ago* XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
Rolf Bjarne Kvinge [Fri, 4 May 2007 10:59:10 +0000 (10:59 -0000)]
* XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  takes a size parameter, since the CreateParam's size isn't true for
  minimized forms. Fixes #81518,

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

17 years agoAnother in the series of compatibility fixes discovered thanks to the QuickStarts...
Marek Habersack [Fri, 4 May 2007 10:58:11 +0000 (10:58 -0000)]
Another in the series of compatibility fixes discovered thanks to the QuickStarts... :)

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

* HtmlAnchor.cs: use ResolveClientUrl when generating
attributes. Necessary if the control is in a master page which is
in a different directory than the current page.

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

* AdRotator.cs: use the new GetPhysicalFilePath method to look up
the physical path of the ad file.

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

* TemplateControlCompiler.cs: do not query the parent for
TemplateSourceDirectory if we are generating code for a Master
Page.

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

* Control.cs: added an internal method to resolve a physical path
to a file from its virtual path considering the possibility that a
control is placed in a master page, which in turn is referenced
from a directory another than that of master page itself.

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

17 years ago* MdiFormTest.cs: Added DeactivatedEventTest.
Rolf Bjarne Kvinge [Fri, 4 May 2007 10:30:45 +0000 (10:30 -0000)]
* MdiFormTest.cs: Added DeactivatedEventTest.

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

17 years ago* Form.cs: Add OnDeactivateInternal.
Rolf Bjarne Kvinge [Fri, 4 May 2007 10:15:01 +0000 (10:15 -0000)]
* Form.cs: Add OnDeactivateInternal.
* MdiClient.cs: Raise Deactivate event. Fixes #81409.

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

17 years ago* DateTimePicker.cs: CalculateDropDownLocation: do a null check before
Rolf Bjarne Kvinge [Fri, 4 May 2007 09:20:40 +0000 (09:20 -0000)]
* DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  accessing the parent. Fixes #81508.

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

17 years ago2007-03-23 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
Nagappan Alagappan [Fri, 4 May 2007 04:56:33 +0000 (04:56 -0000)]
2007-03-23  Nidhi Rawal <rawalnidhi_rawal@yahoo.com>

* SqlClientFactory.cs: Created the class.
(CreatePermissionTest): Added a test case for the method CreatePermission.

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

17 years ago2007-04-03 Amit Biswas <amit@amitbiswas.com>
Nagappan Alagappan [Fri, 4 May 2007 04:54:02 +0000 (04:54 -0000)]
2007-04-03  Amit Biswas <amit@amitbiswas.com>

* SqlParameterCollectionTest.cs (CopyToTest): Test case for CopyTo method

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

17 years ago2007-05-04 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 4 May 2007 04:25:27 +0000 (04:25 -0000)]
2007-05-04  Nagappan A  <anagappan@novell.com>

* libodbc.cs: Wrong ODBC API definitions (using ints instead of
shorts) - Fixes bug 81306. Thanks to will.mooar@tait.co.nz and
tausq@debian.org.

* OdbcDataReader.cs: Wrong ODBC API definitions (using ints
instead of shorts) - Fixes bug 81306. Thanks to
will.mooar@tait.co.nz and tausq@debian.org.

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

17 years ago2007-04-03 Amit Biswas <amit@amitbiswas.com>
Nagappan Alagappan [Fri, 4 May 2007 04:08:23 +0000 (04:08 -0000)]
2007-04-03  Amit Biswas <amit@amitbiswas.com>

* SqlDataReaderTest.cs (GetSqlBytesTest): Test case for GetSqlBytes
(GetProviderSpecificFieldTypeTest): Test case for GetProviderSpecificFieldTypeTest
(GetProviderSpecificValueTest): Test case for GetProviderSpecificValueTest
(GetProviderSpecificValueLowerBoundaryTest):
(GetProviderSpecificValueUpperBoundaryTest):
(GetProviderSpecificValuesTest): Test case for GetProviderSpecificValuesTest
(GetProviderSpecificValuesSmallArrayTest): Test case with an array smaller than no. of columns
(GetProviderSpecificValuesLargeArrayTest): Test case with an array larger than no. of columns
(GetProviderSpecificValuesNullTest): Test case for null parameters

* SqlParameterTest.cs (XmlSchemaTest): Test case for properties related to XML schema
(SourceColumnNullMappingTest): Test case for SourceColumnNullMappingTest
(ctor7Test): Test case to the constructor new in .net 2.0

* SqlParameterTest.cs (ParameterType): Corrected a bug in the test case regarding
default values of SqlDbType and DbType
(SqlDbTypeTest): Test for SqlDbType and DbType properties
(ResetSqlDbTypeTest): Test for ResetSqlDbType method
(ResetDbTypeTest): Test for ResetDbType method

* SqlParameterCollectionTest.cs (CopyToTest): Test case for CopyTo method

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

17 years ago2007-04-03 Amit Biswas <amit@amitbiswas.com>
Nagappan Alagappan [Fri, 4 May 2007 04:07:41 +0000 (04:07 -0000)]
2007-04-03  Amit Biswas  <amit@amitbiswas.com>

* SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
(GetProviderSpecificValue, GetProviderSpecificValues): Implemented
missing API.

* SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
(XmlSchemaCollectionName): Implemented missing property
(XmlSchemaCollectionOwningSchema): Implemented missing property
(SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
(.ctor): Implemented mising constructor new in .net 2.0

* SqlErrorCollection.cs (CopyTo): Implemented missing API

* SqlParameter.cs (InferSqlType): Corrected bug related to default values of
SqlDbType and DbType
(ResetSqlDbType): Implemented missing API
(ResetDbType): Implemented missing API

2007-03-09  Amit Biswas  <amit@amitbiswas.com>

* SqlParameterCollection.cs (CopyTo): Implemented missing API

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

17 years ago2007-05-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 3 May 2007 21:26:35 +0000 (21:26 -0000)]
2007-05-03  Chris Toshok  <toshok@ximian.com>

* DataBindingTests.cs: enable TestInsertRowAtCurrent in the 2.0
profile as well.

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

17 years ago2007-05-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 3 May 2007 21:25:18 +0000 (21:25 -0000)]
2007-05-03  Chris Toshok  <toshok@ximian.com>

* CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
2.0 block, pass listposition + 1 to ChangeRecordState when a row
was added before the current listposition.  Fixes the
TestInsertRowBeforeCurrent unit test.

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

17 years ago2007-05-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 May 2007 20:18:17 +0000 (20:18 -0000)]
2007-05-03  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Add RaiseIdle.
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
XplatUIX11.cs: Implement RaiseIdle.

2007-05-03  Jonathan Pobst  <monkey@jpobst.com>

* XplatUIX11-new.cs: Implement RaiseIdle.

2007-05-03  Jonathan Pobst  <monkey@jpobst.com>

* ApplicationTest.cs: Add a test for RaiseIdle.

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

17 years agoSystem.Drawing_test.dll.sources: Add unit tests for PrintingServicesUnix.
Sebastien Pouliot [Thu, 3 May 2007 18:44:30 +0000 (18:44 -0000)]
System.Drawing_test.dll.sources: Add unit tests for PrintingServicesUnix.

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

17 years ago2007-05-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 3 May 2007 18:42:58 +0000 (18:42 -0000)]
2007-05-03  Sebastien Pouliot  <sebastien@ximian.com>

* PrintingServicesUnixTest.cs: New. Test case to make sure libgdiplus
was compiled with printing support.

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

17 years ago2007-05-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 3 May 2007 17:37:16 +0000 (17:37 -0000)]
2007-05-03  Marek Habersack  <mhabersack@novell.com>

* TreeView.cs: honor ChildNodesPadding of the NodeStyle.

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

17 years ago2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 3 May 2007 16:47:09 +0000 (16:47 -0000)]
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>

* ColorConverter.cs: fixed GetStandardValues() for TARGET_JVM
* Font.jvm.cs: fixed GetHeight()

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

17 years agoTARGET_JVM: ignore failures in Sys.Net
Konstantin Triger [Thu, 3 May 2007 16:34:41 +0000 (16:34 -0000)]
TARGET_JVM: ignore failures in Sys.Net

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

17 years ago2007-05-03 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 3 May 2007 16:21:18 +0000 (16:21 -0000)]
2007-05-03  Dick Porter  <dick@ximian.com>

* ProxyAttribute.cs:
* RealProxy.cs: Update to 2.0 profile

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

* ITrackingHandler.cs:
* EnterpriseServicesHelper.cs:
* TrackingServices.cs: Update to 2.0 profile

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

* IFieldInfo.cs:
* ISoapMessage.cs:
* InternalRM.cs:
* InternalST.cs:
* ServerFault.cs:
* SoapFault.cs:
* SoapMessage.cs:
* FormatterAssemblyStyle.cs:
* FormatterTypeStyle.cs:
* TypeFilterLevel.cs: Update to 2.0 profile

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

* BinaryFormatter.cs: Update to 2.0 profile

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

* Encoding.cs:
* UnicodeEncoding.cs:
* UTF7Encoding.cs: Update to 2.0 profile

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

17 years ago2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 3 May 2007 14:29:09 +0000 (14:29 -0000)]
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>

* BrowserCapabilities.cs:
added missing API.

2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>

* AggregateCacheDependency.cs:
* CacheDependency.cs:
added missing API.

2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>

* AttributeCollection.cs:
* DataBindingHandlerAttribute.cs:
* HtmlTextWriter.cs:
* PartialCachingControl.cs:
* TemplateControl.cs:
* TemplateControl.jvm.cs:
* XPathBinder.cs:
added missing API.

2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>

* ControlPropertyNameConverter.css:
* FontUnitConverter.cs:
* UnitConverter.cs:
* ValidatedControlConverter.cs:
added missing API.

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

17 years ago2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 May 2007 13:10:26 +0000 (13:10 -0000)]
2007-05-03  Atsushi Enomoto <atsushi@ximian.com>

* XmlFilterReader.cs : do not close input when CloseInput is true.

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

17 years ago2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 3 May 2007 13:05:34 +0000 (13:05 -0000)]
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>

* CssStyleCollection.cs: optimization:
used StringBuilder instead string to hold value.
When added key that not exists in collection, value is recalculated by
appending required key to existing value.

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

17 years agoFix compilation errors by adding casting
Konstantin Triger [Thu, 3 May 2007 11:34:50 +0000 (11:34 -0000)]
Fix compilation errors by adding casting

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

17 years agoSecurity: avoid NullRef exception
Konstantin Triger [Thu, 3 May 2007 11:10:02 +0000 (11:10 -0000)]
Security: avoid NullRef exception

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

17 years agoDetach the test from Sys.Drawing behavior and preserve the test intention
Konstantin Triger [Thu, 3 May 2007 11:00:23 +0000 (11:00 -0000)]
Detach the test from Sys.Drawing behavior and preserve the test intention

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

17 years ago2007-05-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 3 May 2007 10:39:43 +0000 (10:39 -0000)]
2007-05-03  Marek Habersack  <mhabersack@novell.com>

* TreeNode.cs: correct version of the fix in r76488. Nodes
retrieved from a navigation data source which have empty URL will
not be selectable.

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

17 years agoRefactoring: replace ToLower -> ToLowerInvariant
Konstantin Triger [Thu, 3 May 2007 10:37:39 +0000 (10:37 -0000)]
Refactoring: replace ToLower -> ToLowerInvariant

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

17 years ago<03.05.07 by : Yoni <Yonik@mainsoft.com >
Yoni Klain [Thu, 3 May 2007 09:48:04 +0000 (09:48 -0000)]
<03.05.07 by : Yoni <Yonik@mainsoft.com >
Remove #if TARGET_JVM: TD #7164

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

17 years agoRefactoring: ensure proper cleanup
Konstantin Triger [Thu, 3 May 2007 09:39:36 +0000 (09:39 -0000)]
Refactoring: ensure proper cleanup

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

17 years ago2007-05-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 3 May 2007 09:32:27 +0000 (09:32 -0000)]
2007-05-03  Marek Habersack  <mhabersack@novell.com>

* TreeViewTest.cs: revert r76541.

2007-05-03  Marek Habersack  <mhabersack@novell.com>

* TreeView.cs: revert r76488, it wasn't entirely correct. I need
to investigate the special cases it solved a bit more.

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

17 years ago2007-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 2 May 2007 21:15:30 +0000 (21:15 -0000)]
2007-05-02  Jonathan Pobst  <monkey@jpobst.com>
corcompare work: N - Z
* NotifyIcon.cs
* ProgressBar.cs
* RadionButton.cs
* ScrollableControl.cs
* SplitContainer.cs
* SplitterPanel.cs
* StatusBar.cs
* SystemInformation.cs
* TabControl.cs
* TableLayoutControlCollection.cs
* TableLayoutPanel.cs
* TabPage.cs
* ToolBar.cs
* ToolBarButton.cs
* ToolStrip.cs
* ToolStripComboBox.cs
* ToolStripContainer.cs
* ToolStripContentPanel.cs
* ToolStripDropDown.cs
* ToolStripDropDownItem.cs
* ToolStripDropDownMenu.cs
* ToolStripItem.cs
* ToolStripItemCollection.cs
* ToolStripMenuItem.cs
* ToolStripPanel.cs
* ToolStripSplitButton.cs
* ToolTip.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeMouseHoverEventArgs.cs
* TreeView.cs

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

17 years ago2007-05-01 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 2 May 2007 20:51:27 +0000 (20:51 -0000)]
2007-05-01  Everaldo Canuto  <everaldo@simios.org>

* ContextMenu.cs: Add public method Show with alignment property to 2.0
stuff. Thanks aatdark for the patch.

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

17 years ago2007-04-27 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 2 May 2007 20:08:02 +0000 (20:08 -0000)]
2007-04-27  Jonathan Chambers <joncham@gmail.com>

* src/gstr.c: Fix off by one error in g_strdup allocation.

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