mono.git
17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:51:06 +0000 (20:51 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:51:03 +0000 (20:51 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:51:03 +0000 (20:51 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66263

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:50:59 +0000 (20:50 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:50:59 +0000 (20:50 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66262

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:50:55 +0000 (20:50 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:50:55 +0000 (20:50 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66261

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:49:45 +0000 (20:49 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:49:45 +0000 (20:49 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66260

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:49:32 +0000 (20:49 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:49:32 +0000 (20:49 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66259

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:49:18 +0000 (20:49 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:49:18 +0000 (20:49 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66258

17 years agoUpdated.
Martin Baulig [Wed, 4 Oct 2006 20:48:36 +0000 (20:48 -0000)]
Updated.

svn path=/branches/martin/anonymous-methods/work/; revision=66257

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:47:55 +0000 (20:47 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:47:55 +0000 (20:47 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66256

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:47:24 +0000 (20:47 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:47:24 +0000 (20:47 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66255

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:46:49 +0000 (20:46 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:46:49 +0000 (20:46 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66254

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:46:15 +0000 (20:46 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:46:15 +0000 (20:46 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66253

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:45:54 +0000 (20:45 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:45:54 +0000 (20:45 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66252

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:45:35 +0000 (20:45 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:45:35 +0000 (20:45 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66251

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:45:10 +0000 (20:45 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:45:10 +0000 (20:45 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66250

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:44:45 +0000 (20:44 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:44:45 +0000 (20:44 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66249

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:43:55 +0000 (20:43 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:43:55 +0000 (20:43 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66248

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:43:30 +0000 (20:43 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:43:30 +0000 (20:43 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66247

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:43:01 +0000 (20:43 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:43:01 +0000 (20:43 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66246

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:42:29 +0000 (20:42 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:42:29 +0000 (20:42 -0000)]
New test.

svn path=/branches/martin/anonymous-methods/work/; revision=66245

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:41:18 +0000 (20:41 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:40:58 +0000 (20:40 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:40:30 +0000 (20:40 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:40:09 +0000 (20:40 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:39:35 +0000 (20:39 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 4 Oct 2006 20:38:57 +0000 (20:38 -0000)]
New test.

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

17 years ago2006-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 4 Oct 2006 20:36:01 +0000 (20:36 -0000)]
2006-10-04  Martin Baulig  <martin@ximian.com>

* known-issues-mcs, known-issues-gmcs: Updated the anonymous
method section.

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

17 years ago2006-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 4 Oct 2006 20:34:44 +0000 (20:34 -0000)]
2006-10-04  Martin Baulig  <martin@ximian.com>

* known-issues-mcs, known-issues-gmcs: Update; the anonymous
method tests are now working.

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

17 years ago2006-10-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 4 Oct 2006 20:22:18 +0000 (20:22 -0000)]
2006-10-03  Chris Toshok  <toshok@ximian.com>

* Form.cs (ProcessDialogKey): if the focused control is in this
form and is a button, call its PerformClick method here.  Fixes
#79534.

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

17 years ago * TabPage.cs: Ignore setting of Visible, and add an internal
Jackson Harper [Wed, 4 Oct 2006 19:48:25 +0000 (19:48 -0000)]
    * TabPage.cs: Ignore setting of Visible, and add an internal
        method for setting the controls visibility.  TabPage's Visible
        property is a little strange on MS, this seems to make us
        compatible, and fixes cases where people set all the tab pages
to
        visible.
        * TabControl.cs: Use the new internal setting on tab pages
        visibility.

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

17 years ago2006-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 4 Oct 2006 19:27:54 +0000 (19:27 -0000)]
2006-10-04  Sebastien Pouliot  <sebastien@ximian.com>
* PKCS1Test.cs: Ensure the latest changes didn't break some SSL3
features that uses MD5SHA1 as a hash function.

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

17 years agosvn path=/trunk/mcs/; revision=66233
Sebastien Pouliot [Wed, 4 Oct 2006 19:27:30 +0000 (19:27 -0000)]
svn path=/trunk/mcs/; revision=66233

17 years ago2006-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 4 Oct 2006 19:26:26 +0000 (19:26 -0000)]
2006-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS1.cs: Remove compatibility block where all padding wasn't
verified (can't find the original test case for it). Note: the
existing implementation wasn't affected by CVE-2006-4339, aka RSA
PKCS#1 1.5 signature forgery (but we're stronger without it).

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

17 years ago2006-10-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 4 Oct 2006 18:48:24 +0000 (18:48 -0000)]
2006-10-04  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_object_to_ptr_conv): Avoid using short branches around IL
sequences which can be unbounded in size. Fixes #79583.

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

17 years agoCosmetic fix.
Martin Baulig [Wed, 4 Oct 2006 18:36:40 +0000 (18:36 -0000)]
Cosmetic fix.

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

17 years ago2006-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 4 Oct 2006 18:31:38 +0000 (18:31 -0000)]
2006-10-04  Martin Baulig  <martin@ximian.com>

Merged the Anonymous Methods patch.

* anonymous.cs, iterators.cs: The new anonymous methods code.

* statement.cs (Variable): New public abstract class.
(LocalInfo.Variable): New public property.
(LocalInfo.ResolveVariable): New public method.
(Block.Flags): Add `IsIterator'.
(Block.AddVariable): Improved the CS0136 check.
(Block.AnonymousChildren): New public property.
(Block.AddAnonymousChild): New public method.
(ToplevelBlock): Update to use the new anonymous method framework.
(ToplevelBlock.ctor): `container' is now a `Block' and not a
`ToplevelBlock'; this is required to correctly implement the
CS0136 check.
(Fixed, Using): Use `TemporaryVariable' instead of directly
creating the `LocalBuilder'.

* parameter.cs (Parameter.ResolveVariable): New public method.
(Parameters.ResolveVariable): Likewise.

* ecore.cs (TemporaryVariable): Use the new `Variable' framework.

* class.cs (TypeContainer): Replaced the `iterators' list and
corresponding methods with a list of `CompilerGeneratedClass'es.
(TypeContainer.ResolveMembers): New public method.
(Method): `IIteratorContainer' has been replaced by
`IAnonymousHost'.

* expression.cs (VariableReference): New public abstract base
class for `LocalVariableReference', `ParameterReference' and
`This'.

* codegen.cs (EmitContext): Removed `capture_context',
`HaveCaptureInfo', `EmitScopeInitFromBlock()' and `Capture*()'.
(EmitContext.EmitThis): Removed.

* cs-parser.jay: Replace `iterator_container' with
`anonymous_host'.

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

17 years ago2006-10-03 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 4 Oct 2006 17:21:44 +0000 (17:21 -0000)]
2006-10-03  Robert Jordan  <robertj@gmx.net>

* compat_2_0.resx, compat_1_1.resx: Add an Image element to test the
type converter. Add InvalidMimeType, an element with an invalid
mimetype attribute.

* CompatTest.cs: Add assert for the InvalidMimeType and Image elements.
Fix the test for the 2.0 profile.

* WriterTest.cs: Add type converter tests.

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

17 years ago2006-10-03 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 4 Oct 2006 17:19:04 +0000 (17:19 -0000)]
2006-10-03  Robert Jordan  <robertj@gmx.net>

* ResXResourceReader.cs: Factor out parse_data_node () from load_data ()
to be able to correctly handle data nodes that occur before resheader.
Fix the handling of objects that have a byte[] converter.
Use the type resolver.

* ResXResourceWriter.cs: Fix AddResource (string, object) to accept
only serializable type, matching MS.NET.
Fix WriteBytes to not emit the mimetype attribute when the
type is byte[], otherwise MS.NET won't parse correctly.

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

17 years ago2006-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 4 Oct 2006 16:11:32 +0000 (16:11 -0000)]
2006-10-04  Martin Baulig  <martin@ximian.com>

* generic.cs (GenericMethod): Don't make this abstract.
(Constraints.Clone): Added dummy implementation.

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

17 years agoAdd new tests and resources to System.Web.UI.PageTest.cs
Yoni Klain [Wed, 4 Oct 2006 14:55:25 +0000 (14:55 -0000)]
Add new tests and resources to System.Web.UI.PageTest.cs

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

17 years ago2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 4 Oct 2006 14:27:00 +0000 (14:27 -0000)]
2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs:
* GridView.cs:
* DetailsView.cs:
* PagerSettings.cs:
corrected pager rendering: Color style applied to A tag,
Input type="image" used if ImageUrl is not empty.

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

17 years ago2006-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 4 Oct 2006 14:18:05 +0000 (14:18 -0000)]
2006-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManagedTest.cs: Forgot to update test cases after right padding
was added.

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

17 years agoMerged from HEAD.
Martin Baulig [Wed, 4 Oct 2006 13:02:22 +0000 (13:02 -0000)]
Merged from HEAD.

svn path=/branches/martin/anonymous-methods/mcs/; revision=66220

17 years agoAdding tests files to the project.
Merav Sudri [Wed, 4 Oct 2006 12:55:28 +0000 (12:55 -0000)]
Adding tests files to the project.

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

17 years ago2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 4 Oct 2006 11:37:21 +0000 (11:37 -0000)]
2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: corrected rendering
* ContainedTable.cs: added new helper class

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

17 years agoFix #79577
Raja R Harinath [Wed, 4 Oct 2006 11:08:06 +0000 (11:08 -0000)]
Fix #79577
* mcs/namespace.cs (LookForAnyGenericType): Avoid nullref on 'declspaces'.
Avoid allocating arrays willy-nilly.
* errors/cs0246-17.cs: An embarassingly simple testcase based on #79577.

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

17 years agoFix #79553
Raja R Harinath [Wed, 4 Oct 2006 06:18:14 +0000 (06:18 -0000)]
Fix #79553
* mcs/cfold.cs (BinaryFold): Move boolean Equality and Inequality
cases out of the switch.
* tests/test-533.cs: New test based on #79553.

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

17 years ago2006-10-03 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 3 Oct 2006 21:41:58 +0000 (21:41 -0000)]
2006-10-03  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.

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

17 years ago2006-10-03 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 3 Oct 2006 20:37:32 +0000 (20:37 -0000)]
2006-10-03  Mike Kestner  <mkestner@novell.com>

* ListView.cs : use is_visible instead of Visible to check if
scrollbars should be placed/sized.  Also some max_wrap_width
love for LargeIcon view.  [Fixes #79533]

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

17 years ago2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Oct 2006 19:21:24 +0000 (19:21 -0000)]
2006-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* TextControl.cs :
  Make set_TextAlign() do actually update the align. Fixed #78403.

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

17 years ago2006-10-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 3 Oct 2006 19:16:08 +0000 (19:16 -0000)]
2006-10-03  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs: fix a crash when switching datasources if the
vertical scrollbar is at someplace other than Value = 0.  Also,
reduce the number of recalculation passes we do in SetDataSource
from 2 to 1.

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

17 years ago * TextBoxBase.cs: Move the if value the same bail check up, we
Jackson Harper [Tue, 3 Oct 2006 18:37:24 +0000 (18:37 -0000)]
    * TextBoxBase.cs: Move the if value the same bail check up, we
        don't want to empty the document if it is already empty, this
        seems to severly mess up the caret.  TODO: I should probably fix
        the empty statement to update teh caret somehow.

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

17 years ago2006-10-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 3 Oct 2006 17:42:06 +0000 (17:42 -0000)]
2006-10-03  Chris Toshok  <toshok@ximian.com>

* ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
reflection, an internal row type, properties on said type, etc.)
will work with our datagrid.  Fixes #79531.

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

17 years ago2006-10-03 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 3 Oct 2006 15:38:31 +0000 (15:38 -0000)]
2006-10-03  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Don't crash if a path is not accessible
  (System.UnauthorizedAccessException). Fixes #79569.
* MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  a ':' too. Return unknown icon for those paths/files.

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

17 years ago2006-10-03 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 3 Oct 2006 15:27:48 +0000 (15:27 -0000)]
2006-10-03  Dick Porter  <dick@ximian.com>

        * io-portability.h:
        * io-portability.c: Optional portability helpers and wrapped
        system calls to try to cope with windows filenames in
        applications.

        * io.c: Use the wrapped system calls

2006-10-03  Dick Porter  <dick@ximian.com>

        * mono.1: Document the new MONO_IO_PORTABILITY_HELP environment
        variable

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

17 years agoEnable secure tests for TARGET_JVM.
Boris Kirzner [Tue, 3 Oct 2006 15:13:41 +0000 (15:13 -0000)]
Enable secure tests for TARGET_JVM.

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

17 years agoMark tests not working in TARGET_JVM.
Boris Kirzner [Tue, 3 Oct 2006 15:00:29 +0000 (15:00 -0000)]
Mark tests not working in TARGET_JVM.

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

17 years ago2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 3 Oct 2006 14:47:09 +0000 (14:47 -0000)]
2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed:
in Insert mode Select not invoked from DataSource

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

17 years agoTue Oct 3 16:33:08 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 3 Oct 2006 14:33:42 +0000 (14:33 -0000)]
Tue Oct 3 16:33:08 CEST 2006 Paolo Molaro <lupus@ximian.com>

* driver.c: fix loop for old compilers (bug #79521).

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

17 years ago2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 3 Oct 2006 14:12:38 +0000 (14:12 -0000)]
2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>

* TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
At run time, the Bind method calls the Eval method, if there is DataItem
!= null to bind to.
If there is DataItem == null (like InsertItemTemplate in FormView) Bind
method don't raise exception and works properly to extract data from
bounded controls on postback.

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

17 years ago2006-10-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Oct 2006 14:04:19 +0000 (14:04 -0000)]
2006-10-03  Sebastien Pouliot  <sebastien@ximian.com>

* ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
GetContainerControl returns null.

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

17 years agoSystem.Windows.Forms_test.dll.sources: Add ContainerControlTest.cs to the unit tests...
Sebastien Pouliot [Tue, 3 Oct 2006 13:52:06 +0000 (13:52 -0000)]
System.Windows.Forms_test.dll.sources: Add ContainerControlTest.cs to the unit tests build.

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

17 years ago2006-10-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 Oct 2006 13:48:06 +0000 (13:48 -0000)]
2006-10-03  Sebastien Pouliot  <sebastien@ximian.com>

* ContainerControlTest.cs: New. Add a few test cases for
GetContainerControl method.

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

17 years agoremove unneeded out parameter
Andrew Skiba [Tue, 3 Oct 2006 13:41:00 +0000 (13:41 -0000)]
remove unneeded out parameter

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

17 years agoadd support for requirePermission attribute.
Andrew Skiba [Tue, 3 Oct 2006 13:07:28 +0000 (13:07 -0000)]
add support for requirePermission attribute.

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

17 years agoAdded tests to DataRowCollectionTest.cs, DataSetTest.cs, DataTableTest.cs. Updated...
Hagit Yidov [Tue, 3 Oct 2006 12:55:05 +0000 (12:55 -0000)]
Added tests to DataRowCollectionTest.cs, DataSetTest.cs, DataTableTest.cs. Updated ChangeLog.

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

17 years agorevert unnecessary TARGET_JVM
Andrew Skiba [Tue, 3 Oct 2006 12:50:13 +0000 (12:50 -0000)]
revert unnecessary TARGET_JVM

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

17 years agorevert unnecessary TARGET_JVM commit
Andrew Skiba [Tue, 3 Oct 2006 12:44:11 +0000 (12:44 -0000)]
revert unnecessary TARGET_JVM commit

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

17 years ago2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 3 Oct 2006 12:07:48 +0000 (12:07 -0000)]
2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs: fixed:
Pager is not shown when page count < 1
in Edit mode use EmptyDataTemplate if there is no DataItem
when page changed FormView stays in current state.

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

17 years agorestored row that was deleted by mistake
Igor Zelmanovich [Tue, 3 Oct 2006 11:44:33 +0000 (11:44 -0000)]
restored row that was deleted by mistake

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

17 years agosvn path=/trunk/mcs/; revision=66180
Hagit Yidov [Tue, 3 Oct 2006 09:07:48 +0000 (09:07 -0000)]
svn path=/trunk/mcs/; revision=66180

17 years agoAdding ImageMap and HotSpotTests
Hagit Yidov [Tue, 3 Oct 2006 09:07:10 +0000 (09:07 -0000)]
Adding ImageMap and HotSpotTests

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

17 years ago * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
Chris Toshok [Mon, 2 Oct 2006 21:23:13 +0000 (21:23 -0000)]
* XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
call to XGetWindowAttributes instead of "handle".  fixes an X
error using notifyicon after the NotifyIconWindow to Form base
class switch.

2006-10-02  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 2 Oct 2006 20:46:06 +0000 (20:46 -0000)]
2006-10-02  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs (QueryPointer): new function, encapsulating the
server grab and looping we need to do to get down to the most
deeply nested child window.
(SetCursorPos): use QueryPointer instead of GetCursorPos, and call
QueryPointer again after the WarpPointer so we can generate a
proper (fake) MotionNotify event to be enqueued in the destination
window's queue.
(GetCursorPos): call QueryPointer.

Fixes #79556.

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

17 years ago* NameObjectCollectionBase.cs: Set eol-style to native.
Gert Driesen [Mon, 2 Oct 2006 20:24:25 +0000 (20:24 -0000)]
* NameObjectCollectionBase.cs: Set eol-style to native.

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

17 years ago* CollectionsUtil.cs: Set eol-style to CRLF.
Gert Driesen [Mon, 2 Oct 2006 20:22:33 +0000 (20:22 -0000)]
* CollectionsUtil.cs: Set eol-style to CRLF.
* StringDictionary.cs: Fixed line endings. Set eol-style to CRLF.
* StringEnumerator.cs: Set eol-style to CRLF.
* OrderDictionary.cs: Set eol-style to CRLF.

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

17 years ago * NotifyIcon.cs: Derive the notify icon from a form, so things
Jackson Harper [Mon, 2 Oct 2006 19:11:59 +0000 (19:11 -0000)]
    * NotifyIcon.cs: Derive the notify icon from a form, so things
        like FindForm work on it.
        - Swallow the WM_CONTEXTMENU message, since that is generated on
        mouse down, and context menu is a mouse up kinda guy.  I believe
        the correct fix here is probably to make the notify icon
entirely
        NC area, but this seems to work fine for anyone not manipulating
        WndProc.

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

17 years ago* OrderedDictionary.cs: IsReadOnly, indexers, Keys and Values should
Gert Driesen [Mon, 2 Oct 2006 18:35:51 +0000 (18:35 -0000)]
* OrderedDictionary.cs: IsReadOnly, indexers, Keys and Values should
not be virtual.
* SortedList.cs: Count property, indexer and Clear method should not
be virtual. Removed unnecessary explicit interface implementation of
Add (TKey, TValue) and Remove (TKey, TValue).
* Queue.cs: Marked Enumerator as Serializable.
* Stack.cs: Marked Stack <T> and Enumerator as serializable.

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

17 years ago2006-10-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 2 Oct 2006 18:33:39 +0000 (18:33 -0000)]
2006-10-02  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  ToolStripItemCollection.cs, ToolStripLabel.cs,
  ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  Initial implementation.
* TextRenderer.cs: Provide padding to MeasureText.

2006-10-02  Jonathan Pobst <monkey@jpobst.com>
* ArrangedElementCollection.cs: Initial commit.

2006-10-02  Jonathan Pobst  <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Add ToolStrip* classes.

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

17 years ago2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 Oct 2006 18:24:12 +0000 (18:24 -0000)]
2006-10-02  Sebastien Pouliot  <sebastien@ximian.com>

* ButtonTest.cs: Activate tests for ButtonBaseAccessibleObject.

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

17 years ago2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 Oct 2006 18:21:52 +0000 (18:21 -0000)]
2006-10-02  Sebastien Pouliot  <sebastien@ximian.com>

* ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
of ButtonBaseAccessibleObject. Fix bug #79552.

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

17 years ago2006-10-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 Oct 2006 18:18:46 +0000 (18:18 -0000)]
2006-10-02  Sebastien Pouliot  <sebastien@ximian.com>

* ResXResourceReader.cs: Handle empty mimetype just like a null
mimetype. Fix bug #77481.
* ResXResourceWriter.cs: Fix to InitWriter method by Atsushi. Fix
bug #79039.

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