mono.git
17 years ago2006-07-24 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 24 Jul 2006 00:51:38 +0000 (00:51 -0000)]
2006-07-24  Alp Toker  <alp@atoker.com>

  * driver.cs: Minor typo fixes in comments and informational output.

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

17 years ago* Wizard.cs: implemented SkipLinkText, TagKey
Vladimir Krasnov [Sun, 23 Jul 2006 15:50:28 +0000 (15:50 -0000)]
* Wizard.cs: implemented SkipLinkText, TagKey
fixed rendering bugs, fixed templated button bar rendering, fixed side bar rendering
* WizardStepBase.cs: fixed Name property

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

17 years agofix a broken test.
Andrew Skiba [Sun, 23 Jul 2006 15:21:23 +0000 (15:21 -0000)]
fix a broken test.

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

17 years agofix the regressions, caused by the previous commit.
Andrew Skiba [Sun, 23 Jul 2006 15:10:09 +0000 (15:10 -0000)]
fix the regressions, caused by the previous commit.

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

17 years agocorectly handle the different default values of DetailsView.CellSpacing and Table...
Andrew Skiba [Sun, 23 Jul 2006 13:59:29 +0000 (13:59 -0000)]
corectly handle the different default values of DetailsView.CellSpacing and Table.CellSpacing

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

17 years agocreate a pager row when needed
Andrew Skiba [Sun, 23 Jul 2006 12:31:45 +0000 (12:31 -0000)]
create a pager row when needed

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

17 years ago* codegen.cs (EmitContext.Flags): Move InCatch, InFinally,
Raja R Harinath [Sun, 23 Jul 2006 11:08:04 +0000 (11:08 -0000)]
* codegen.cs (EmitContext.Flags): Move InCatch, InFinally,
DoFlowAnalysis and OmitStructFlowAnalysis here.
(ec.With): Rename from WithUnsafe and generalize.
(ec.WithCheckState): Remove.  All users can be handled by 'With'.
(ec.WithFlowAnalyis): New.
* ecore.cs, expression.cs, statement.cs: Update.

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

17 years agoPrint more meaningful message
Marek Safar [Sun, 23 Jul 2006 10:45:56 +0000 (10:45 -0000)]
Print more meaningful message

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

17 years ago* statement.cs (Block.ResolveMeta): Simplify slightly.
Raja R Harinath [Sat, 22 Jul 2006 15:07:06 +0000 (15:07 -0000)]
* statement.cs (Block.ResolveMeta): Simplify slightly.

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

17 years ago* codegen.cs (EmitContext.Flags): New enum. Used to represent the
Raja R Harinath [Sat, 22 Jul 2006 13:37:53 +0000 (13:37 -0000)]
* codegen.cs (EmitContext.Flags): New enum.  Used to represent the
multiple boolean fields.  Convert InUnsafe, constant_check_state,
check_state to flags.
(CheckState, ConstantCheckState): Update.
(InUnsafe): New read-only property.
(FlagsHandle): Rename from CheckStateHandle and convert to handle
arbitrary flags.
(WithUnsafe): New helper similar to WithCheckState.
* statement.cs (Block.ResolveMeta): Use WithUnsafe.
(Unsafe.Resolve, Unsafe.DoEmit): Likewise.

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

17 years ago2006-07-22 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 22 Jul 2006 07:13:40 +0000 (07:13 -0000)]
2006-07-22  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Enable the BackButton when dirstack has one element.
  Added some small optimizations.

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

17 years ago More testing. This time on the groupbox, which acts as a
Jackson Harper [Fri, 21 Jul 2006 23:45:29 +0000 (23:45 -0000)]
    More testing.  This time on the groupbox, which acts as a
container.

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

17 years ago2006-07-21 Matt Hargett (matt@use.net)
Peter Dennis Bartok [Fri, 21 Jul 2006 23:20:36 +0000 (23:20 -0000)]
2006-07-21  Matt Hargett (matt@use.net)

* ControlTest.cs: Added tests for MinimumSize/MaximumSize

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

17 years ago2006-07-21 Matt Hargett <matt@use.net>
Peter Dennis Bartok [Fri, 21 Jul 2006 23:18:32 +0000 (23:18 -0000)]
2006-07-21  Matt Hargett  <matt@use.net>

* Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties

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

17 years agoDo not add the atoms twice
Miguel de Icaza [Fri, 21 Jul 2006 22:33:53 +0000 (22:33 -0000)]
Do not add the atoms twice

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

17 years ago Fix test.
Jackson Harper [Fri, 21 Jul 2006 22:09:24 +0000 (22:09 -0000)]
    Fix test.

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

17 years ago Test GetNextControl with a flat control layout.
Jackson Harper [Fri, 21 Jul 2006 20:58:04 +0000 (20:58 -0000)]
    Test GetNextControl with a flat control layout.

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

17 years ago2006-07-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 21 Jul 2006 19:17:30 +0000 (19:17 -0000)]
2006-07-21  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  tests pass and match MS in some strange border cases.

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

17 years ago2006-07-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 21 Jul 2006 18:27:30 +0000 (18:27 -0000)]
2006-07-21  Chris Toshok  <toshok@ximian.com>

* ThemeWin32Classic.cs: handle drawing of the relation links and
parent row buttons.

* Theme.cs: change args to DataGridPaintParentRow.

* DataGrid.cs: Don't use controls for the relation links and
parent buttons, so we have to handle all their interactions in
MouseMove, MouseDown, MouseUp, etc.  Also, store a lot more stuff
when we're navigating through child tables, so we can reinstate
selection, expanded state, current cell, etc.

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

17 years ago2006-07-21 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 21 Jul 2006 15:49:13 +0000 (15:49 -0000)]
2006-07-21  Alp Toker  <alp@atoker.com>

  * Mono.Cairo.dll.sources:
  * Mono.Cairo/DirectFBSurface.cs:
  * Mono.Cairo/XcbSurface.cs: Add new surfaces.

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

17 years ago2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Jul 2006 14:33:24 +0000 (14:33 -0000)]
2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DetailsView.cs:
* GridView.cs:
* PagedDataSource.cs:
* FormView.cs:
* ImageButton.cs:
* LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
support it. The GridView control will no longer throw an exception when
rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.

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

17 years ago2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Jul 2006 14:22:39 +0000 (14:22 -0000)]
2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PostBackOptions.cs: default to String.Empty for several field values.
Patch by Marek Habersack.

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

17 years agoMake comparisons use the same IL irrespective of whether they're
Raja R Harinath [Fri, 21 Jul 2006 13:45:55 +0000 (13:45 -0000)]
Make comparisons use the same IL irrespective of whether they're
in a 'checked' or 'unchecked' context: one of the issues in #78899
* codegen.cs (EmitContext.CheckState): Make read-only property.
(EmitContext.ConstantCheckState): Likewise.
(EmitContext.CheckStateHandle, EmitContext.WithCheckState): New
helper that implement a save/restore stack for CheckState
values.  This is the only way to change check-state.
* ecore.cs (Expression.ExpressionToArrayArgument): Use WithCheckState.
* expression.cs (CheckedExpr.DoResolve, CheckedExpr.Emit): Likewise.
(CheckedExpr.EmitBranchable): New forwarding method.
(UnCheckedExpr): Likewise.
* statement.cs (Block.ResolveMeta): Use WithCheckState.
(Unchecked.Resolve, Unchecked.DoEmit): Likewise.
(Checked.Resolve, checked.DoEmit): Likewise.

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

17 years ago2006-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Jul 2006 13:34:49 +0000 (13:34 -0000)]
2006-07-21  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.InferType): When inferring an array
type, also allow IList<T> and ICollection<T>.  Fixes #78900.

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

17 years ago2006-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Jul 2006 13:04:43 +0000 (13:04 -0000)]
2006-07-21  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.IsIEnumerable): Renamed into IsIList()
and allow IList`1 and all its base interfaces.

* convert.cs (Convert.ImplicitReferenceConversion): Allow
converting from an array-type of T to IList<T>.

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

17 years ago2006-07-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 21 Jul 2006 13:03:05 +0000 (13:03 -0000)]
2006-07-21  Martin Baulig  <martin@ximian.com>

* ecore.cs (SimpleName.DoSimpleNameResolve): Added CS0307 check.

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

17 years agoDistribute test017.xsd
Raja R Harinath [Fri, 21 Jul 2006 03:28:18 +0000 (03:28 -0000)]
Distribute test017.xsd

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

17 years ago * ToolBar.cs: When we redraw a button, for whatever reason,
Chris Toshok [Thu, 20 Jul 2006 23:49:22 +0000 (23:49 -0000)]
* ToolBar.cs: When we redraw a button, for whatever reason,
there's no reason to redraw the entire toolbar.  Also, don't call
Control.Refresh from within Redraw, as it's much heavier than
Invalidate (which is really what we want).

2006-07-20  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-07-20 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 20 Jul 2006 23:29:01 +0000 (23:29 -0000)]
2006-07-20  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
DataGridTextBoxColumn.cs, DataGridTextBox.cs,
ThemeWin32Classic.cs, ListControl.cs: After staring at stack
traces from within a debug IBindingList datasource
(in mono/winforms/datagrid) for *days*, I've finally gotten things
to work in a similar fashion.

* DataGrid.cs: move back to the is_adding boolean field.  god i
hate this is_editing/is_adding/is_changing stuff.

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

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

17 years agoAdd test case from bug 70561
Miguel de Icaza [Thu, 20 Jul 2006 23:23:01 +0000 (23:23 -0000)]
Add test case from bug 70561

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

17 years ago2006-07-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 20 Jul 2006 20:49:46 +0000 (20:49 -0000)]
2006-07-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControlTest.cs: Added DataSourceWrongArgumentType method
to test the exception being thrown.

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

17 years ago * ListBox.cs: Don't call Sort () when setting
Carlos Alberto Cortez [Thu, 20 Jul 2006 19:31:28 +0000 (19:31 -0000)]
* ListBox.cs: Don't call Sort () when setting
the Sorted property to false (avoid an unnecessary sort).

2006-07-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2006-07-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 20 Jul 2006 19:24:09 +0000 (19:24 -0000)]
2006-07-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: DataSource should throw an ArgumentException
instead of a normal exception when the argument is not of the
correct type.

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

17 years ago2006-07-20 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 20 Jul 2006 19:13:47 +0000 (19:13 -0000)]
2006-07-20  Mike Kestner  <mkestner@novell.com>

* Control.cs: add InternalPreProcessMessage to allow us to steal
key events before MWF gets its paws on them.  Adapted from a
suggestion by eno.
* ToolBar.cs: add GotLostFocus handing for flat toolbars, with
up/down/left/right navigation. Override the new internal control
method to steal the events since they never make it to WndProc.
* ToolBarButton.cs: don't worry about pushed when setting hilight
since the drawing code prefers pushed to hilight. Invalidate on
Hilight changes. Fixes #78547 and #78525.

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

17 years ago2006-07-20 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 20 Jul 2006 18:31:34 +0000 (18:31 -0000)]
2006-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  the canvas size. Fixes #78868

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

17 years ago2006-07-20 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 20 Jul 2006 18:20:17 +0000 (18:20 -0000)]
2006-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* Splitter.cs: Track requested split position until first layout
  is performed. Fixes #78871

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

17 years ago2006-07-20 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 20 Jul 2006 18:08:38 +0000 (18:08 -0000)]
2006-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* Application.cs: Removed code that forces 1.x for the version
  number if the version started with 0. Not sure why that code was
  there and I couldn't find any bugs that indicated we needed it.
  Fixes #78869

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

17 years ago* DetailsView.cs: many fixes: initialize PageCount with 0; initialize
Andrew Skiba [Thu, 20 Jul 2006 15:56:18 +0000 (15:56 -0000)]
* DetailsView.cs: many fixes: initialize PageCount with 0; initialize
Rows with empty collection; call EnsureChildControls from get Row;
NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
implemented IPostBackContainer.GetPostBackOptions.

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

17 years ago2006-07-20 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Thu, 20 Jul 2006 15:20:31 +0000 (15:20 -0000)]
2006-07-20  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  ResetDefaults(), just write some output to the console until it's
  implemented. Fixes bug #78907 for now. Eliminated two warnings.

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

17 years agoAdded CustomMarshalers assembly back into the build.
Jonathan Chambers [Thu, 20 Jul 2006 15:19:43 +0000 (15:19 -0000)]
Added CustomMarshalers assembly back into the build.

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

17 years agoChanged .dll.sources file to match correct assembly name.
Jonathan Chambers [Thu, 20 Jul 2006 15:12:17 +0000 (15:12 -0000)]
Changed .dll.sources file to match correct assembly name.

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

17 years agoMoved folder to correct capitalized name
Jonathan Chambers [Thu, 20 Jul 2006 14:58:21 +0000 (14:58 -0000)]
Moved folder to correct capitalized name

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

17 years agoChanged folder name for capitalization and changed assembly name to correct name.
Jonathan Chambers [Thu, 20 Jul 2006 14:57:50 +0000 (14:57 -0000)]
Changed folder name for capitalization and changed assembly name to correct name.

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

17 years agomore precise lifetime flow checks
Andrew Skiba [Thu, 20 Jul 2006 14:27:10 +0000 (14:27 -0000)]
more precise lifetime flow checks

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

17 years agoadd EnsureChildControls basic test.
Andrew Skiba [Thu, 20 Jul 2006 14:06:17 +0000 (14:06 -0000)]
add EnsureChildControls basic test.

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

17 years ago2006-07-20 Ankit Jain <jankit@novell.com>
Ankit Jain [Thu, 20 Jul 2006 13:43:18 +0000 (13:43 -0000)]
2006-07-20  Ankit Jain  <jankit@novell.com>

* Metadata.cs (CustomAttribute.BuildTables): Value can be null.

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

17 years agoDetailsViewTest.cs: add a new assert
Andrew Skiba [Thu, 20 Jul 2006 13:27:32 +0000 (13:27 -0000)]
DetailsViewTest.cs: add a new assert

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

17 years ago2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 20 Jul 2006 12:52:03 +0000 (12:52 -0000)]
2006-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
for NET_2_0 profile.

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

17 years agoIn ilasm/tests:
Ankit Jain [Thu, 20 Jul 2006 12:51:14 +0000 (12:51 -0000)]
In ilasm/tests:
* global2.il: New.
* abs_method*.il: New. Tests for abstract methods.

In ilasm/codegen:
* TypeDef.cs (.ctor): If the type is an interface, then make it
abstract.
(TypeDef.AddMethodDef): Set an interface method abstract and virtual if
it lacks either of the attributes.
* MethodDef.cs (MethodDef.FullName): New.
(MethodDef.WriteCode): Make global methods, non-abstract and static.
Interface cannot have a non-static method with a body.
Update error messages to use new FullName property.

In ilasm/errors:
* abs_method4.il:
* abs_method9.il: New. Tests for abstract methods.

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

17 years ago2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 20 Jul 2006 12:48:24 +0000 (12:48 -0000)]
2006-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.

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

17 years ago2006-07-20 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 20 Jul 2006 12:37:11 +0000 (12:37 -0000)]
2006-07-20  Dick Porter  <dick@ximian.com>

        * threads.c (_wapi_thread_set_termination_details): Improve the
        test for already-disposed thread handles, and hold the lock around
        the mutex abandoning.

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

17 years ago2006-07-20 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 20 Jul 2006 12:35:49 +0000 (12:35 -0000)]
2006-07-20  Dick Porter  <dick@ximian.com>

        * file-io.c (ves_icall_System_IO_MonoIO_Seek): Fix signed/unsigned
        warning.

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

17 years ago2006-07-20 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 20 Jul 2006 12:33:58 +0000 (12:33 -0000)]
2006-07-20  Dick Porter  <dick@ximian.com>

        * threads.c (start_wrapper): Do the thread cleanup while we still
        hold a reference to its object.  Fixes bug 78123.

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

17 years ago* DetailsView.cs: create HeaderRow and FooterRow even when HeaderText and
Andrew Skiba [Thu, 20 Jul 2006 12:05:51 +0000 (12:05 -0000)]
* DetailsView.cs: create HeaderRow and FooterRow even when HeaderText and
FooterText are empty, to match .NET. Otherwise we have NullReference when
.NET does not.

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

17 years agoRender fix
Andrew Skiba [Thu, 20 Jul 2006 12:01:07 +0000 (12:01 -0000)]
Render fix

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

17 years ago* BoundField.cs: don't call DataBinder.GetPropertyValue with empty property name.
Andrew Skiba [Thu, 20 Jul 2006 11:57:17 +0000 (11:57 -0000)]
* BoundField.cs: don't call DataBinder.GetPropertyValue with empty property name.

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

17 years agoNullReferenceException fix
Andrew Skiba [Thu, 20 Jul 2006 11:54:04 +0000 (11:54 -0000)]
NullReferenceException fix

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

17 years ago2006-07-20 Senganal T <tsenganal@novell.com>
Senganal T [Thu, 20 Jul 2006 09:14:09 +0000 (09:14 -0000)]
2006-07-20  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataSetTest2.cs : Test exception is not raised when
missingschemaaction is set to ignore.
* System.Data/MergeManager.cs :
- Merge : moved the columntypecheck to AdjustSchema,
Remove the unncessary calls to Table.ResetIndexes.
- AdjustSchema : check for columntypes

Thanks to Deepak Kr Valechha for the patch

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

17 years ago* PagerSettingsTest.cs: fixed PropertyChanged test
Vladimir Krasnov [Thu, 20 Jul 2006 09:11:05 +0000 (09:11 -0000)]
* PagerSettingsTest.cs: fixed PropertyChanged test

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

17 years ago#if VISUAL_STUDIO
Andrew Skiba [Thu, 20 Jul 2006 09:06:59 +0000 (09:06 -0000)]
#if VISUAL_STUDIO

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

17 years ago* PagerSettings.cs: implemented PropertyGhanged event
Vladimir Krasnov [Thu, 20 Jul 2006 09:04:04 +0000 (09:04 -0000)]
* PagerSettings.cs: implemented PropertyGhanged event

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

17 years ago2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 20 Jul 2006 08:44:53 +0000 (08:44 -0000)]
2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RemoteStateServer.cs: make it inmortal.

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

17 years ago2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 20 Jul 2006 08:37:44 +0000 (08:37 -0000)]
2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RemoteStateServer.cs: use a Cache instead of a Hashtable so that we
get sliding expiration for free.
* StateServerItem.cs: expose 'timeout' through a property.

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

17 years agoAdded new tests for gridview
Yoni Klain [Thu, 20 Jul 2006 06:52:20 +0000 (06:52 -0000)]
Added new tests for gridview

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

17 years agoAdd test
Miguel de Icaza [Thu, 20 Jul 2006 06:01:21 +0000 (06:01 -0000)]
Add test

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

17 years agoHari tracked down the source of this bug:
Miguel de Icaza [Thu, 20 Jul 2006 06:01:05 +0000 (06:01 -0000)]
Hari tracked down the source of this bug:

#78786

2006-07-20  Miguel de Icaza  <miguel@novell.com>

* anonymous.cs: Cache the resolved anonymous delegate, and return
this so that the ResolveTopBlock is only triggered once, not
twice.

Currently we trigger ResolvetopBlock twice due to a first pass of
argument check compatibility, and a second pass that does the
actual resolution.

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

17 years ago2006-07-19 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 20 Jul 2006 03:49:26 +0000 (03:49 -0000)]
2006-07-19  Jonathan Chambers  <joncham@gmail.com>

* PropertyGridView.cs: set StartPosition of drop down forms
so they appear in correct initial spot.  Fixes #78190.

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

17 years ago2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 20 Jul 2006 01:21:28 +0000 (01:21 -0000)]
2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: when ProcessRequest is not called, get the session from
the current context. Fixes bug #78730.

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

17 years ago2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 20 Jul 2006 01:15:41 +0000 (01:15 -0000)]
2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
by Peijen Lin that closes bug #78646.

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

17 years ago2006-07-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 20 Jul 2006 01:13:24 +0000 (01:13 -0000)]
2006-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageFormat.cs: Added test cases for well known image format
(which returns a human readable name when the ImageFormat comes from
the static properties).

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

17 years ago2006-07-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 20 Jul 2006 01:12:42 +0000 (01:12 -0000)]
2006-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* ImageFormat.cs: Re-fixed ToString method to match MS output when
the ImageFormat instance comes from the static properties. Create the
default ImageFormat on demand (and avoid creating 10 instances of
ImageFormat in the static ctor).

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

17 years ago2006-07-19 John Luke <john.luke@gmail.com>
John Luke [Thu, 20 Jul 2006 00:53:10 +0000 (00:53 -0000)]
2006-07-19  John Luke  <john.luke@gmail.com>

        * TermInfoDriver.cs: switch order of alt and control when
        calling new ConsoleKeyInfo()

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

17 years ago2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 20 Jul 2006 00:39:21 +0000 (00:39 -0000)]
2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Uri.cs: update Obsolete msg.

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

17 years ago Some more tests related to focus and its various dependencies.
Jackson Harper [Wed, 19 Jul 2006 22:52:51 +0000 (22:52 -0000)]
    Some more tests related to focus and its various dependencies.

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

17 years ago2006-07-19 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 19 Jul 2006 18:49:39 +0000 (18:49 -0000)]
2006-07-19  Mike Kestner  <mkestner@novell.com>

* ThemeWin32Classic.cs: use parent background color when drawing
flat toolbars.  Restructure the conditionals to make sure non-flat
non-Divider toolbars are filled too.  Fixes #78837.

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 18:08:36 +0000 (18:08 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_argument_info): Fix a warning.
(mono_arch_call_opcode): Ditto.

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

17 years ago* scripts/mono-find-provides.in: Remove support for only scanning files in the gac.
Wade Berrier [Wed, 19 Jul 2006 17:54:34 +0000 (17:54 -0000)]
* scripts/mono-find-provides.in: Remove support for only scanning files in the gac.
The problem is that mono apps are often broken up into subpackages, and deps can only
be resolved if the assemblies are in the gac, even when they sometimes shouldn't be.
(See https://bugzilla.novell.com/show_bug.cgi?id=144655)

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 17:52:25 +0000 (17:52 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Clear ins_flag at the end of CEE_CALL. Fixes
#78826.

* mini.c (mono_patch_info_dup_mp): New helper function.

* aot-compiler.c (compile_method): Fix some of the memory allocated during
compilation. Fixes #78827.

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

17 years ago2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 Jul 2006 17:25:58 +0000 (17:25 -0000)]
2006-07-19  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : In Create(), support validation flags for DTD.
* DTDValidatingReader2.cs : when NET_2_0 and ProcessIdentityConstraints
  is false, skip ID validation.

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

17 years ago2006-07-19 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 19 Jul 2006 15:31:55 +0000 (15:31 -0000)]
2006-07-19  Mike Kestner  <mkestner@novell.com>

* ListBox.cs: Sort on collection changes even if the handle
isn't created yet.  Fixes #78813.

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

17 years agoadd #if NET_2_0 and [Category ("NotWorking")] where appropriate
Andrew Skiba [Wed, 19 Jul 2006 14:54:15 +0000 (14:54 -0000)]
add #if NET_2_0 and [Category ("NotWorking")] where appropriate

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

17 years ago* TableStyleTest.cs: add a test for BackImageUrl rendering
Andrew Skiba [Wed, 19 Jul 2006 14:39:44 +0000 (14:39 -0000)]
* TableStyleTest.cs: add a test for BackImageUrl rendering

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

17 years agoThe following tests were added:
Merav Sudri [Wed, 19 Jul 2006 14:32:45 +0000 (14:32 -0000)]
The following tests were added:
FormViewTest (Updated)
FormViewRowTest
DetailsViewRowTest
DetailsViewRowCollectionTest

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:10:43 +0000 (12:10 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h: Fix amd64_mov_mem_reg.

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:09:09 +0000 (12:09 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* alpha/alpha-codegen.h alpha/test.c alpha/tramp.c: Applied patch from
Sergey Tikhonov <tsv@solvo.ru>. Updates to alpha support.

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:07:26 +0000 (12:07 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Beginning
of alpha support.

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

17 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 19 Jul 2006 12:07:18 +0000 (12:07 -0000)]
2006-07-19  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Beginning
of alpha support.

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

17 years ago2006-07-19 Senganal T <tsenganal@novell.com>
Senganal T [Wed, 19 Jul 2006 11:57:04 +0000 (11:57 -0000)]
2006-07-19  Senganal T  <tsenganal@novell.com>

* Test/System.Data.SqlTypes/SqlDecimalTest.cs :
- ArithmeticOperators, ConvertPrecToScale,
ArithmeticMethods, LessThanOrEqualOperators :
Removed for NotWorking Category and added more tests
* System.Data.SqlTypes/SqlDecimal.cs :
- Ctr : Throw OverflowException is value oveflows
- AdjustScale : Support values greater than Decimal.MaxValue.
Throw SqlTruncateException if scale cannot be adjusted.
- ConvertToPrecScale : Fix the precision
- Sign : use IsPositive to check for sign
- ToString : Do not append extrs '0'
- operator + , -, * : Support values greater than
decimal.maxvalue. Fix for infinite loop when '-' is
invoked for some cases.
- operators >,<,>=.<=,==,!= : Fix operations on negative numbers

Thanks to Harish Kumar Singh for the patch

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

17 years agoStringTest.cs: Added some more TestSbytePtrConstructorNegative tests and TestSbytePtr...
Kornél Pál [Wed, 19 Jul 2006 11:48:29 +0000 (11:48 -0000)]
StringTest.cs: Added some more TestSbytePtrConstructorNegative tests and TestSbytePtrConstructorOverflow tests.

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

17 years agoString.cs: Improve CreateString () performance when length is zero.
Kornél Pál [Wed, 19 Jul 2006 11:46:44 +0000 (11:46 -0000)]
String.cs: Improve CreateString () performance when length is zero.

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

17 years agoadd DetailsViewPagerRow.cs to the sources list
Andrew Skiba [Wed, 19 Jul 2006 11:26:39 +0000 (11:26 -0000)]
add DetailsViewPagerRow.cs to the sources list

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

17 years agosvn path=/trunk/mcs/; revision=62738
Merav Sudri [Wed, 19 Jul 2006 11:13:36 +0000 (11:13 -0000)]
svn path=/trunk/mcs/; revision=62738

17 years agosvn path=/trunk/mcs/; revision=62737
Merav Sudri [Wed, 19 Jul 2006 11:05:14 +0000 (11:05 -0000)]
svn path=/trunk/mcs/; revision=62737

17 years agosvn path=/trunk/mcs/; revision=62736
Merav Sudri [Wed, 19 Jul 2006 10:57:56 +0000 (10:57 -0000)]
svn path=/trunk/mcs/; revision=62736

17 years ago* DetailsView.cs: throw ArgumentOutOfRangeException for compatibility with
Andrew Skiba [Wed, 19 Jul 2006 09:34:12 +0000 (09:34 -0000)]
* DetailsView.cs: throw ArgumentOutOfRangeException for compatibility with
.Net; don't throw NotImplemented when base class implementation is available.

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

17 years agoDetailsViewTest was added with the following resources:
Merav Sudri [Wed, 19 Jul 2006 09:31:51 +0000 (09:31 -0000)]
DetailsViewTest was added with the following resources:
1.FooterTemplateTest.aspx
2.DetailsViewTemplates.aspx
3.DetailsViewDataActions.aspx
4.DetailsViewProperties1.aspx

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

17 years agoadd a stub for DetailsViewPagerRow
Andrew Skiba [Wed, 19 Jul 2006 07:25:59 +0000 (07:25 -0000)]
add a stub for DetailsViewPagerRow

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

17 years ago2006-07-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 19 Jul 2006 05:38:51 +0000 (05:38 -0000)]
2006-07-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

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

17 years ago2006-07-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 19 Jul 2006 05:31:21 +0000 (05:31 -0000)]
2006-07-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControlTest.cs: Added.

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

17 years ago2006-07-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 19 Jul 2006 05:19:14 +0000 (05:19 -0000)]
2006-07-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: DisplayMember should never be null,
and now we assign String.Empty when null is passed to it (this
is the .Net way).

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