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
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
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
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
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
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
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
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
Raja R Harinath [Fri, 21 Jul 2006 03:28:18 +0000 (03:28 -0000)]
Distribute test017.xsd
svn path=/trunk/mcs/; revision=62851
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Andrew Skiba [Thu, 20 Jul 2006 14:27:10 +0000 (14:27 -0000)]
more precise lifetime flow checks
svn path=/trunk/mcs/; revision=62821
Andrew Skiba [Thu, 20 Jul 2006 14:06:17 +0000 (14:06 -0000)]
add EnsureChildControls basic test.
svn path=/trunk/mcs/; revision=62820
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
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
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
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
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
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
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
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
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
Andrew Skiba [Thu, 20 Jul 2006 12:01:07 +0000 (12:01 -0000)]
Render fix
svn path=/trunk/mcs/; revision=62807
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
Andrew Skiba [Thu, 20 Jul 2006 11:54:04 +0000 (11:54 -0000)]
NullReferenceException fix
svn path=/trunk/mcs/; revision=62805
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
Vladimir Krasnov [Thu, 20 Jul 2006 09:11:05 +0000 (09:11 -0000)]
* PagerSettingsTest.cs: fixed PropertyChanged test
svn path=/trunk/mcs/; revision=62803
Andrew Skiba [Thu, 20 Jul 2006 09:06:59 +0000 (09:06 -0000)]
#if VISUAL_STUDIO
svn path=/trunk/mcs/; revision=62802
Vladimir Krasnov [Thu, 20 Jul 2006 09:04:04 +0000 (09:04 -0000)]
* PagerSettings.cs: implemented PropertyGhanged event
svn path=/trunk/mcs/; revision=62801
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
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
Yoni Klain [Thu, 20 Jul 2006 06:52:20 +0000 (06:52 -0000)]
Added new tests for gridview
svn path=/trunk/mcs/; revision=62794
Miguel de Icaza [Thu, 20 Jul 2006 06:01:21 +0000 (06:01 -0000)]
Add test
svn path=/trunk/mcs/; revision=62793
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Merav Sudri [Wed, 19 Jul 2006 11:13:36 +0000 (11:13 -0000)]
svn path=/trunk/mcs/; revision=62738
Merav Sudri [Wed, 19 Jul 2006 11:05:14 +0000 (11:05 -0000)]
svn path=/trunk/mcs/; revision=62737
Merav Sudri [Wed, 19 Jul 2006 10:57:56 +0000 (10:57 -0000)]
svn path=/trunk/mcs/; revision=62736
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
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
Andrew Skiba [Wed, 19 Jul 2006 07:25:59 +0000 (07:25 -0000)]
add a stub for DetailsViewPagerRow
svn path=/trunk/mcs/; revision=62732
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
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
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
Miguel de Icaza [Tue, 18 Jul 2006 18:04:01 +0000 (18:04 -0000)]
Inspired by a patch from Alexander Concha, do not crash if we do not find the resource
svn path=/trunk/mcs/; revision=62719
Kornél Pál [Tue, 18 Jul 2006 18:03:41 +0000 (18:03 -0000)]
StringTest.cs: Added several tests for constructors that take sbyte* as an argument. This covers bug #78703 as well. Renamed TestUnsafeConstructors to TestCharPtrConstructors and removed sbyte* tests from that test.
svn path=/trunk/mcs/; revision=62718
Kornél Pál [Tue, 18 Jul 2006 17:54:01 +0000 (17:54 -0000)]
String.cs: Some fixes to recently added CreateString () methods.
svn path=/trunk/mcs/; revision=62717
Mike Kestner [Tue, 18 Jul 2006 16:36:32 +0000 (16:36 -0000)]
2006-07-17 Mike Kestner <mkestner@novell.com>
* ListViewItem.cs: restructure Font and subitem Font handling
to hold a specific font and refer back to owner on null.
Fixes #78761.
svn path=/trunk/mcs/; revision=62709
Kornél Pál [Tue, 18 Jul 2006 15:06:12 +0000 (15:06 -0000)]
Redirect certain string constructors to CreateString () methods with matching signature that improves performance.
svn path=/trunk/mono/; revision=62706
Kornél Pál [Tue, 18 Jul 2006 14:53:50 +0000 (14:53 -0000)]
String.cs: Added CreateString () methods. Constructors with matching argument list are redirected to these methods that improves performance as well as fixes bug #78703.
svn path=/trunk/mcs/; revision=62705
Kornél Pál [Tue, 18 Jul 2006 14:44:07 +0000 (14:44 -0000)]
ASCIIEncodingTest.cs: Added TestGetString3 test.
svn path=/trunk/mcs/; revision=62704
Kornél Pál [Tue, 18 Jul 2006 14:30:38 +0000 (14:30 -0000)]
ASCIIEncoding.cs: Fixed GetString () methods to use ASCII rather than new string (sbyte*, int, int) that uses Encoding.Default.; Latin1Encoding.cs: Fixed GetString () methods to use Latin 1 rather than new string (sbyte*, int, int) that uses Encoding.Default.
svn path=/trunk/mcs/; revision=62703
Vladimir Krasnov [Tue, 18 Jul 2006 11:44:41 +0000 (11:44 -0000)]
* GridView: fixed DataKeyNames property, moved to ControlState
fixed PageCount property, initial PageCount ahould be zero
fixed SelectedDataKey, should throw exception if not initialized
fixed CreateColumns, wrong order of columns
fixed CreateControlStyle,
fixed InitializePager, no columnspan attrib on only one column
fixed LoadControlState, SaveControlState added DataKeyNames
fixed Render, RenderGrid should render within div tag
implemented GetPostBackOptions
* DataControlButton.cs: fixed Render, fixed style for img button
svn path=/trunk/mcs/; revision=62699
Vladimir Krasnov [Tue, 18 Jul 2006 11:24:05 +0000 (11:24 -0000)]
* GridViewTest.cs: removed NotWorking attributes, added tests
svn path=/trunk/mcs/; revision=62698
Vladimir Krasnov [Tue, 18 Jul 2006 07:56:33 +0000 (07:56 -0000)]
* CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit mode
svn path=/trunk/mcs/; revision=62694
Jackson Harper [Tue, 18 Jul 2006 00:02:24 +0000 (00:02 -0000)]
Test the container controls override of Select (bool, bool), and
test to make sure that's used by SelectNextControl.
svn path=/trunk/mcs/; revision=62691
Wade Berrier [Mon, 17 Jul 2006 19:34:28 +0000 (19:34 -0000)]
* scripts/mono-find-requires.in: Change rpm requires to >= 1.0.3300.0 instead of
=, since we don't explicitly provide 1.0.3300.0 versions.
svn path=/trunk/mono/; revision=62688
Marek Sieradzki [Mon, 17 Jul 2006 18:11:18 +0000 (18:11 -0000)]
2006-07-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* ManagedCompiler.cs: TargetType.Get: added null check.
svn path=/trunk/mcs/; revision=62685
Marek Sieradzki [Mon, 17 Jul 2006 18:03:09 +0000 (18:03 -0000)]
2006-07-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* Csc/Csc.csproj: Moved to 1.csproj and 2.csproj.
svn path=/trunk/mcs/; revision=62684
Mike Kestner [Mon, 17 Jul 2006 16:30:28 +0000 (16:30 -0000)]
2006-07-17 Mike Kestner <mkestner@novell.com>
* ToolBar.cs: bandaid for side-effect of previous patch which was
discarding explicit heights for non-AutoSize toolbars. Need to
extend my format tester to deal with AutoSize=false. Fixes #78864.
svn path=/trunk/mcs/; revision=62678
Dick Porter [Mon, 17 Jul 2006 16:26:24 +0000 (16:26 -0000)]
2006-07-17 Dick Porter <dick@ximian.com>
* processes.c (CreateProcess): Don't change directory unless a new
one has been specified. Fixes bug 78751.
svn path=/trunk/mono/; revision=62676
Andrew Skiba [Mon, 17 Jul 2006 15:41:25 +0000 (15:41 -0000)]
test and fix for CommandField.ValidateSupportsCallback
svn path=/trunk/mcs/; revision=62675