mono.git
17 years agoAdd test case for interlaced GIF
Sebastien Pouliot [Wed, 30 May 2007 13:36:08 +0000 (13:36 -0000)]
Add test case for interlaced GIF

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

17 years agoproviding GH specific documentation
Konstantin Triger [Wed, 30 May 2007 12:53:11 +0000 (12:53 -0000)]
providing GH specific documentation

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

17 years agoproviding basic documentation
Konstantin Triger [Wed, 30 May 2007 12:31:50 +0000 (12:31 -0000)]
providing basic documentation

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

17 years ago2007-05-29 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 30 May 2007 12:11:26 +0000 (12:11 -0000)]
2007-05-29  Andreia Gaita  <avidigal@novell.com>

* UserControl.cs: Add 2.0 AutoSizeMode

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 12:07:29 +0000 (12:07 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageAttributes.cs: Add test cases for ColorMatrixFlags and for
Gray ColorMatrix uses.

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 12:05:53 +0000 (12:05 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* ImageAttributes.cs: Remove TODO for ColorMatrixFlags and Gray
ColorMatrix support methods. Add TODO on some stuff not supported by
libgdiplus (so MoMA reports gets more accurate). Fix coding style.

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

17 years agoremove 'NotWorking' for passing tests
Konstantin Triger [Wed, 30 May 2007 11:59:49 +0000 (11:59 -0000)]
remove 'NotWorking' for passing tests

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 11:02:36 +0000 (11:02 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* SqlCommandTest.cs (StoredProc_NoParameterTest)
(StoredProc_ParameterTest, rpc_helper_function): Added new methods
to test the implementation of TDS RPC.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:59:08 +0000 (10:59 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* sqlserver.sql: Fixed sqlserver sql statements and its respective
values.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:57:48 +0000 (10:57 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* DBHelper.cs: Fixed warnings of unused variables.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:52:37 +0000 (10:52 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* SqlParameter.cs (SqlParameter): Updated constructor to use the
new TDS RPC implementation.
Fixed missing attributes.
(SetDbType): Added new case for sql_variant type.
(ConvertToFrameworkType): Implemented new private method to
convert the data type to framework type.

* SqlParameterCollection.cs: Fixed missing attributes and
implemented missing methods.

* SqlConnection.cs: Fixed missing attributes.

* SqlConnectionStringBuilder.cs: Certain attributes are missing or
its value or they are not appropriate. Fixed them.

* SqlDataReader.cs (GetData): Method is available only under 1.0
profile.

* SqlCommandBuilder.cs: Certain attributes are available only
under 2.0 profile, so moved them inside ifdef.

* SqlCommand.cs: Certain attributes are available only under 2.0
profile, so moved them inside ifdef.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:36:42 +0000 (10:36 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* TdsColumnType.cs: Added new types BigNVarChar, Variant to
TdsColumnType enumerator.

* TdsComm.cs (Append): Appends new data types to the TDS data
stream and also implemented new Append overloaded method.

* Tds.cs (BeginLoad): New case to handle BigBinary.
(GetMoneyValue): Simplified the switch / case conditions.

* TdsDataRow.cs: Instance of index checks for the given index to
be less than list count, else an exception will be thrown.

* Tds70.cs (sqlserverMagic): Modified byte values.
(ExecProc): Now directly calls ExecRPC for any number of
parameters being passed.
(ExecRPC): New logic to handle parameters.
(WriteParameterInfo): New private method to generate information
about each parameter.
(ProcessReturnStatus): New protected method to process the return
status of output parameter value.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:21:29 +0000 (10:21 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* TdsMetaParameter.cs (GetActualSize): Multiply length by 2, if
the data type is nvarchar, nchar or ntext.
(GetSize): Added new case for decimal, uniqueidentifier,
smallmoney, bit, nchar, ntext.
(GetBytes): Implemented new internal method to encode the data.
(GetMetaType): Modified the return values appropriately.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:09:14 +0000 (10:09 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* DataColumnCollection.cs (CopyTo): Method specific to 2.0
profile.

* DataRowCollection.cs (Count): Property is overridden in 2.0
profile.

* TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.

* DataRelationCollection.cs (CopyTo): Method specific to 2.0
profile.

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

17 years ago2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 May 2007 10:03:57 +0000 (10:03 -0000)]
2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>

* SettingsBase.cs : property values are filled only when each
  property is accessed. It should not use virtual providers,
  properties or context internally since they could be overriden.
* SettingsPropertyValue.cs : to serialize value as string, use
  TypeConverter as well (as deserialization).
* SettingsProviderCollection.cs : (Add) null arg check.

* SettingsBaseTest.cs : new test.
* ApplicationSettingsBaseTest.cs : added Providers().

* System_test.dll.sources : added SettingsBaseTest.cs.

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

17 years ago* HtmlTextWriter.cs: EncodeAttributeValue should call HtmlAttributeEncode as documented
Vladimir Krasnov [Wed, 30 May 2007 09:45:28 +0000 (09:45 -0000)]
* HtmlTextWriter.cs: EncodeAttributeValue should call HtmlAttributeEncode as documented

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 09:32:54 +0000 (09:32 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* System.Data.dll.sources: Added SqlBulkCopy.cs,
SqlBulkCopyColumnMappingCollection.cs.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 09:32:20 +0000 (09:32 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* SqlBulkCopy.cs: Added new stubs.

* SqlBulkCopyColumnMappingCollection.cs: Added new stubs.

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

17 years agoTARGET_JVM: the attribute is not needed anymore
Konstantin Triger [Wed, 30 May 2007 09:28:02 +0000 (09:28 -0000)]
TARGET_JVM: the attribute is not needed anymore

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

17 years ago* AssemblyResourceLoader.cs: GetResourceUrl, TARGET_JVM will use type's hashcode...
Vladimir Krasnov [Wed, 30 May 2007 08:58:25 +0000 (08:58 -0000)]
* AssemblyResourceLoader.cs: GetResourceUrl, TARGET_JVM will use type's hashcode for resource url

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 08:56:09 +0000 (08:56 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* OdbcDataReader.cs (GetValue): Adds nano seconds as tickcs from
the received buffer.

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

17 years agorefactoring: fix documentation attributes
Konstantin Triger [Wed, 30 May 2007 08:52:13 +0000 (08:52 -0000)]
refactoring: fix documentation attributes

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

17 years ago * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
Everaldo Canuto [Wed, 30 May 2007 05:18:25 +0000 (05:18 -0000)]
* DataGridTextBoxColumn.cs: Fix textbox horizontal offset.

2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

* DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid

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

17 years ago * DataGridTextBoxColumn.cs: Fix texbox position to prevent override grid
Everaldo Canuto [Wed, 30 May 2007 05:13:40 +0000 (05:13 -0000)]
* DataGridTextBoxColumn.cs: Fix texbox position to prevent override grid
lines. Fixes #80285.

2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

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

17 years ago * DataGridColumnStyle.cs: Add char trimming column header text format.
Everaldo Canuto [Wed, 30 May 2007 02:46:39 +0000 (02:46 -0000)]
* DataGridColumnStyle.cs: Add char trimming column header text format.

2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

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

17 years ago2007-05-29 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 29 May 2007 23:16:11 +0000 (23:16 -0000)]
2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

* DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
Fixes #80147.

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

17 years agoIn .:
Robert Jordan [Tue, 29 May 2007 21:29:31 +0000 (21:29 -0000)]
In .:
2007-05-29  Robert Jordan  <robertj@gmx.net>

* data/config.in: add mono_win32_compat entries.

In mono/metadata:
2007-05-29  Robert Jordan  <robertj@gmx.net>

* marshal.[c|h]: add mono_win32_compat_* wrappers. Fixes #81754.

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

17 years agoThis should not be a TODO, its a programmer note
Miguel de Icaza [Tue, 29 May 2007 18:32:02 +0000 (18:32 -0000)]
This should not be a TODO, its a programmer note

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

17 years ago * TreeNode.cs: Fix off by one on calculating whether or not a
Jackson Harper [Tue, 29 May 2007 18:31:18 +0000 (18:31 -0000)]
    * TreeNode.cs: Fix off by one on calculating whether or not a
        * node
        is visible.

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

17 years agoUpdate
Miguel de Icaza [Tue, 29 May 2007 18:30:28 +0000 (18:30 -0000)]
Update

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

17 years ago* SqlCommandTest.cs: Added test for bug #81710.
Gert Driesen [Tue, 29 May 2007 18:01:40 +0000 (18:01 -0000)]
* SqlCommandTest.cs: Added test for bug #81710.
* System.Data_test.dll.sources: Added SqlCommandTest.cs.

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

17 years ago2007-05-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 29 May 2007 16:47:11 +0000 (16:47 -0000)]
2007-05-29  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: ResumeLayout(false) should recalculate anchor distances.
* ScrollableControl.cs: Force an UpdateDistances when we move the
scrollbars.
[Fixes bug #80605]

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

* ControlTest.cs: Test to show the effects of ResumeLayout(false).

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

17 years ago2007-05-29 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Tue, 29 May 2007 15:46:07 +0000 (15:46 -0000)]
2007-05-29  Rodrigo Kumpera  <kumpera@gmail.com>

* inssel.brg (mini_emit_virtual_call): Statically dispatch virtual calls to
sealed classes or methods.
*devirtualization.cs: tests for the new optimization

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

17 years ago2007-05-29 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Tue, 29 May 2007 15:25:03 +0000 (15:25 -0000)]
2007-05-29  Andreia Gaita  <avidigal@novell.com>

* PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
update the page setup screen.

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

17 years agoSystem.Drawing_test.dll.sources: Add System.Drawing.Printing.Margins unit tests to...
Sebastien Pouliot [Tue, 29 May 2007 15:16:59 +0000 (15:16 -0000)]
System.Drawing_test.dll.sources: Add System.Drawing.Printing.Margins unit tests to the build.

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

17 years ago2007-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 29 May 2007 15:15:28 +0000 (15:15 -0000)]
2007-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* MarginsTest.cs: New. Unit tests for Margins.

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

17 years ago2007-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 29 May 2007 15:14:44 +0000 (15:14 -0000)]
2007-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* Margins.cs: Implement missing == and != operators (MoMA reports them
but they were not included in the class status pages). Fix property
setters (to check value), reduced code duplication and changed
GetHashCode to be less CPU intensive.

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

17 years ago2007-05-29 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Tue, 29 May 2007 15:04:51 +0000 (15:04 -0000)]
2007-05-29  Andreia Gaita  <avidigal@novell.com>

* PageSetupDialog.cs: Fix landscape mode.

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

17 years ago2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 29 May 2007 14:59:47 +0000 (14:59 -0000)]
2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>

* ObjectDataSourceView.cs:
* SiteMapDataSource.cs:
* SqlDataSource.cs:
* SqlDataSourceView.cs:
DataSourceChanged and DataSourceViewChanged are raised in right case, when
different properties changed their value.

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

17 years agorefactoring: fix documentation attributes
Konstantin Triger [Tue, 29 May 2007 14:57:08 +0000 (14:57 -0000)]
refactoring: fix documentation attributes

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

17 years agorefactoring: fix documentation attributes
Konstantin Triger [Tue, 29 May 2007 14:23:48 +0000 (14:23 -0000)]
refactoring: fix documentation attributes

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

17 years ago<29/05/07 by:yoni yonik@mainsoft.com>
Yoni Klain [Tue, 29 May 2007 14:06:43 +0000 (14:06 -0000)]
<29/05/07 by:yoni  yonik@mainsoft.com>
add not working category to failed tests

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

17 years ago<29/05/07 by:yoni yonik@mainsoft.com>
Yoni Klain [Tue, 29 May 2007 13:40:09 +0000 (13:40 -0000)]
<29/05/07 by:yoni  yonik@mainsoft.com>
DataSourceChanged event tests added

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

17 years agoA correction to 78114
Marek Habersack [Tue, 29 May 2007 13:03:45 +0000 (13:03 -0000)]
A correction to 78114

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

* SiteMapProvider.cs: updated the node accessibility comments.
If Roles not null and user is not in at least one of the
specified roles, return false.
If there Url is null or empty, return false.

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

17 years ago2007-05-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 29 May 2007 12:45:31 +0000 (12:45 -0000)]
2007-05-29  Marek Habersack  <mhabersack@novell.com>

* ThemeDirectoryCompiler.cs: pass the skin file's
virtual path to the skin file parser as its first paramenter, and
not a physical path.

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

17 years ago2007-05-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 29 May 2007 12:42:46 +0000 (12:42 -0000)]
2007-05-29  Marek Habersack  <mhabersack@novell.com>

* SiteMapProvider.cs: updated the node accessibility comments.
If Roles not null and user is not in at least one of the
configured roles (or the collection is empty), return false.
If there Url is null or empty, return false.

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

17 years agoIn mcs:
Raja R Harinath [Tue, 29 May 2007 12:01:03 +0000 (12:01 -0000)]
In mcs:
* statement.cs (ToplevelBlock.container): Remove field.  It's
redundant with 'Parent'.
(ToplevelBlock.ContainerBlock): Remove accessor.
(ToplevelBlock..ctor): Update to changes.  Register anonymous
child with parent here, ...
* cs-parser.jay (end_anonymous): ... not here.  Don't modify
current_block.
(start_anonymous): Don't save current_block.
(top_current_block): Remove.

In gmcs:
* cs-parser.jay: Update to changes in ToplevelBlock.
(top_current_block): Remove.

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

17 years ago* statement.cs (Block.Flags): Remove IsExplicit and IsToplevel flags.
Raja R Harinath [Tue, 29 May 2007 09:47:14 +0000 (09:47 -0000)]
* statement.cs (Block.Flags): Remove IsExplicit and IsToplevel flags.
(Block.Resolve): Update to changes.
(Block..ctor): Move setting of "correct" 'Toplevel'
and 'Explicit' fields to ...
(ExplicitBlock..ctor, ToplevelBlock..ctor): ... here.

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

17 years agoInitial drop for System.Web.Extensions assembly
Igor Zelmanovich [Tue, 29 May 2007 09:33:23 +0000 (09:33 -0000)]
Initial drop for System.Web.Extensions assembly

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

17 years agoInitial drop for System.Web.Extensions assembly
Igor Zelmanovich [Tue, 29 May 2007 09:22:35 +0000 (09:22 -0000)]
Initial drop for System.Web.Extensions assembly

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

17 years ago2007-05-29 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 29 May 2007 08:47:34 +0000 (08:47 -0000)]
2007-05-29  Nagappan A  <anagappan@novell.com>

* SqlCommand.cs (Dispose): Command.Dispose closing
connection. Fixes bug # 81710. Thanks to AMC <amc1999@gmail.com>
for the fix.

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

17 years ago * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
Carlos Alberto Cortez [Tue, 29 May 2007 06:16:06 +0000 (06:16 -0000)]
* SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
IconSizeHorizontalSpacing.

2007-05-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2007-05-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 29 May 2007 05:56:05 +0000 (05:56 -0000)]
2007-05-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: The declaration of prev_tooltip_item should be inside
a NET_2_0 conditional (avoid a warning).

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

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

* liveness.c (update_gen_kill_set): No need to set VOLATILE flags here, it is done
by the update_volatile () function.

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

17 years ago2007-05-28 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Mon, 28 May 2007 22:04:45 +0000 (22:04 -0000)]
2007-05-28  Andreia Gaita  <avidigal@novell.com>

* PageSetupDialog.cs: Implement PrintPreview control to display
the preview thumbnail. Change unit conversion to use
PrinterUnitConvert methods.

* Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
RectangleF.
* ControlPaint.cs: Add a DrawBorder internal method for RectangleF.

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

17 years ago2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 28 May 2007 20:34:26 +0000 (20:34 -0000)]
2007-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
* TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
the saved bitmap (used for debugging).

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

17 years ago2007-05-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 28 May 2007 19:33:29 +0000 (19:33 -0000)]
2007-05-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs:
* ListViewItem.cs: Added 2.0 ListViewItem.ToolTipText tests.

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

17 years ago2007-05-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 28 May 2007 19:29:53 +0000 (19:29 -0000)]
2007-05-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs:
* ListViewItem.cs: Implement 2.0 ToolTipText support for listview
items.

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

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

* TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)

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

17 years ago2007-05-28 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Mon, 28 May 2007 17:00:00 +0000 (17:00 -0000)]
2007-05-28  Andreia Gaita  <avidigal@novell.com>

* Charcode.cs: The "private" keyword is not allowed on 1.1 setters
on csc (blows up teh vs 2003 build)

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

17 years ago2007-05-28 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Mon, 28 May 2007 16:44:03 +0000 (16:44 -0000)]
2007-05-28  Andreia Gaita  <avidigal@novell.com>

* X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
an IntPtr on csc (it builds fine on mcs, could it be a compiler
bug?), convert the ptr to Int32 first.

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 16:02:23 +0000 (16:02 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* ResourceWriter.cs : fix for runtime serialization type index.
  Fixed bug #81759.

* ResourceWriterTest.cs : new test, contains one for bug #81759.

* corlib_test.dll.sources : added ResourceWriterTest.cs.

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

17 years agoInitial drop for System.Web.Extensions assembly
Igor Zelmanovich [Mon, 28 May 2007 15:21:09 +0000 (15:21 -0000)]
Initial drop for System.Web.Extensions assembly

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

17 years ago * X11Dnd.cs: Add a timer, so after drop, if a finish is not
Jackson Harper [Mon, 28 May 2007 15:17:09 +0000 (15:17 -0000)]
    * X11Dnd.cs: Add a timer, so after drop, if a finish is not
        recieved, we will exit the dnd tracking loop.

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

17 years agoTARGET_J2EE: do not suggest viewing exception on local machines for portal
Konstantin Triger [Mon, 28 May 2007 14:50:35 +0000 (14:50 -0000)]
TARGET_J2EE: do not suggest viewing exception on local machines for portal

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

17 years ago * X11Dnd.cs: Keep tracking until the xdnd finished event is
Jackson Harper [Mon, 28 May 2007 14:48:44 +0000 (14:48 -0000)]
    * X11Dnd.cs: Keep tracking until the xdnd finished event is
        recieved. TODO: I should probably stick a timer on the dropped
        event, and finish the drag if the XDND Finished event never
shows
        (because some apps don't seem to send it).

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 14:34:26 +0000 (14:34 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* ResourceWriter.cs : temporarily disable 2.0 output until I get
  bug #81759 fixed.

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 14:25:13 +0000 (14:25 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* SettingElementCollection.cs : fix build, cyclic build mess.

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

17 years ago2007-05-28 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 28 May 2007 13:25:39 +0000 (13:25 -0000)]
2007-05-28  Everaldo Canuto  <ecanuto@novell.com>

* ToolBar.cs: Fix toolbar default width for button with image. Fixes
#81733.

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

17 years agoInitial drop for System.Web.Extensions assembly
Igor Zelmanovich [Mon, 28 May 2007 13:14:34 +0000 (13:14 -0000)]
Initial drop for System.Web.Extensions assembly

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 13:10:18 +0000 (13:10 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* SettingElementTest.cs : blame catch.

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

17 years agoInitial drop for System.Web.Extensions assembly
Igor Zelmanovich [Mon, 28 May 2007 13:03:30 +0000 (13:03 -0000)]
Initial drop for System.Web.Extensions assembly

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 12:55:15 +0000 (12:55 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* SettingElement.cs : fix default value (null->"").
* SettingElementCollection.cs : implemented all.

* SettingElementTest.cs : new test.

* System_test.dll.sources : added SettingElementTest.cs.

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

17 years ago2007-05-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 28 May 2007 12:43:44 +0000 (12:43 -0000)]
2007-05-28  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_get_method_info): Handle loader errors. Fixes #81724.

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

17 years agoInitial drop for System.Web.Extensions assembly
Igor Zelmanovich [Mon, 28 May 2007 11:48:40 +0000 (11:48 -0000)]
Initial drop for System.Web.Extensions assembly

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

17 years ago* TextBoxTest.cs: Ignore a couple of font-dependent tests.
Rolf Bjarne Kvinge [Mon, 28 May 2007 11:01:21 +0000 (11:01 -0000)]
* TextBoxTest.cs: Ignore a couple of font-dependent tests.

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 10:31:33 +0000 (10:31 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* SettingsProviderAttribute.cs :
  Return assembly qualified name. Check null args.
* ConfigXmlDocument.cs : it implements IConfigErrorInfo.

* ApplicationSettingsBaseTest.cs : enable working test.

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

17 years ago* MonthCalendar.cs: Only mark the keypresses we actually handle as
Rolf Bjarne Kvinge [Mon, 28 May 2007 10:20:23 +0000 (10:20 -0000)]
* MonthCalendar.cs: Only mark the keypresses we actually handle as
  handled.

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

17 years ago2007-05-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 28 May 2007 10:15:30 +0000 (10:15 -0000)]
2007-05-28  Marek Habersack  <mhabersack@novell.com>

* HttpRequest.cs: since Path is used from within
WebConfigurationManager, under some conditions it may lead to
endless recursion if the UrlComponents is not instantiated when
Path_get is called.

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

17 years ago* MonthCalendarTest.cs: Added InitialSizeTest.
Rolf Bjarne Kvinge [Mon, 28 May 2007 10:06:33 +0000 (10:06 -0000)]
* MonthCalendarTest.cs: Added InitialSizeTest.

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

17 years ago* MonthCalendar.cs: Set the size after initializing all the relevant
Rolf Bjarne Kvinge [Mon, 28 May 2007 09:43:41 +0000 (09:43 -0000)]
* MonthCalendar.cs: Set the size after initializing all the relevant
  variables. Fixes #81742.

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

17 years ago2007-05-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 28 May 2007 08:44:53 +0000 (08:44 -0000)]
2007-05-28  Marek Habersack  <mhabersack@novell.com>

* ResourceExpressionBuilder.cs: properly cast
GetGlobalResourceObject calls to the type of the property being
assigned to.

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

17 years ago* KeyEventArgs.cs: Fix typo.
Rolf Bjarne Kvinge [Mon, 28 May 2007 08:31:14 +0000 (08:31 -0000)]
* KeyEventArgs.cs: Fix typo.

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

17 years ago* FormTest.cs: Increase timeout value. Might prevent tests from failing
Rolf Bjarne Kvinge [Mon, 28 May 2007 08:26:18 +0000 (08:26 -0000)]
* FormTest.cs: Increase timeout value. Might prevent tests from failing
  on slower computers.

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 07:59:08 +0000 (07:59 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* StreamTest.ja.resources, StreamTest.resources :
  new resources for ResourceManagerTest.

  (ChangeLog was missing until today.)

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

17 years agoRemove stray '/'.
Raja R Harinath [Mon, 28 May 2007 05:06:18 +0000 (05:06 -0000)]
Remove stray '/'.

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

17 years agoKill Block.Implicit
Raja R Harinath [Mon, 28 May 2007 04:33:25 +0000 (04:33 -0000)]
Kill Block.Implicit

* statement.cs (Block.Implicit): Remove.
(Block): Update to changes.
* flowanalysis.cs: Likewise.

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

17 years ago2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 May 2007 03:35:21 +0000 (03:35 -0000)]
2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* IResourceWriter.cs NeutralResourcesLanguageAttribute.cs
  SatelliteContractVersionAttribute.cs ResourceManager.cs
  IResourceReader.cs ResourceSet.cs ResourceWriter.cs
  ResourceReader.cs UltimateResourceFallbackLocation.cs
  MissingManifestResourceException.cs :
  implemented 2.0 resource support (write, and remaining read bits)
  and GetStream(). Cosmetic attributes fixes.

* UnmanagedMemoryStream.cs : added Closed event for sys.Resources use.
* IntPtrStream.cs : added internal get_BaseAddress(), for the same.

* ResourceManagerTest.cs : added tests for GetStream() (including
  2.0 resource format tests).

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

17 years agoFixed dates in comments.
Gert Driesen [Sun, 27 May 2007 23:08:27 +0000 (23:08 -0000)]
Fixed dates in comments.

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

17 years ago* DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
Gert Driesen [Sun, 27 May 2007 23:04:45 +0000 (23:04 -0000)]
* DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
to match MS. Fixed MinDate to only accept value less than or equal
to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
Removed TODO's that are now verified by unit tests.
* DateTimePickerTest.cs: Added tests for MinDate and MaxDate.

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

17 years ago2007-05-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 May 2007 20:11:48 +0000 (20:11 -0000)]
2007-05-27  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Call g_thread_init () early since newer glib versions
require it.

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

17 years ago* DateTimePickerTest.cs: Avoid test failures on Windows system with
Gert Driesen [Sun, 27 May 2007 18:38:41 +0000 (18:38 -0000)]
* DateTimePickerTest.cs: Avoid test failures on Windows system with
non-us locale.

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

17 years ago2007-05-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 27 May 2007 15:25:11 +0000 (15:25 -0000)]
2007-05-27  Zoltan Varga  <vargaz@gmail.com>

* abcremoval.c (mono_perform_abc_removal): Avoid using alloca.

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

17 years ago* NumericUpDownTest.cs: Avoid use of global identifier since csc 1.x
Gert Driesen [Sun, 27 May 2007 15:11:57 +0000 (15:11 -0000)]
* NumericUpDownTest.cs: Avoid use of global identifier since csc 1.x
does not support this.
* FormTest.cs: Avoid using anonymous methods. Allows our test to build
again using csc 1.x.

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

17 years ago* TreeNodeCollection.cs: Minor corrections to exceptions to match MS.
Gert Driesen [Sun, 27 May 2007 15:07:26 +0000 (15:07 -0000)]
* TreeNodeCollection.cs: Minor corrections to exceptions to match MS.
* TreeNodeCollectionTest.cs: Added tests for Add and AddRange. Fixed and
improved IList indexer.

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

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

* ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
when changed, DataSourceViewChanged event is raised.

* SqlDataSourceView: fixed SelectCommand property:
when changed, DataSourceViewChanged event is raised.

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

17 years agoFix .NET 1.1 compatability
Roei Erez [Sun, 27 May 2007 13:22:15 +0000 (13:22 -0000)]
Fix .NET 1.1 compatability

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

17 years agoBug fix for NameValueCollection constructors:
Roei Erez [Sun, 27 May 2007 13:02:10 +0000 (13:02 -0000)]
Bug fix for NameValueCollection constructors:
** NameValueCollection(IEqualityComparer) that gets null as an argument..
** NameValueCollection(NameValueCollection).
Two test cases added.

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

17 years agoMildly speed up CheckInvariantMeaningInBlock
Raja R Harinath [Sun, 27 May 2007 13:00:03 +0000 (13:00 -0000)]
Mildly speed up CheckInvariantMeaningInBlock

* statement.cs (ExplicitBlock.AddKnownVariable): Move here from Block.
Recursively call AddKnownVariable to all enclosing blocks.
(ExplicitBlock.GetKnownVariableInfo): Move here from Block.
Remove recursive calls.
(Block): Update to changes.

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

17 years agoNew ExplicitBlock invariants
Raja R Harinath [Sun, 27 May 2007 12:59:39 +0000 (12:59 -0000)]
New ExplicitBlock invariants

* mcs/statement.cs (Block.Explicit): New field.  It points to the
immediately enclosing non-implicit block.
(Block..ctor): Maintain the invariant.
* mcs/cs-parser.jay, gmcs/cs-parser.jay: Take advantage of invariant.

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