Jb Evain [Mon, 13 Aug 2007 18:36:19 +0000 (18:36 -0000)]
add the mscorlib descriptor to the build
svn path=/trunk/mcs/; revision=83990
Miguel de Icaza [Mon, 13 Aug 2007 18:26:43 +0000 (18:26 -0000)]
i2007-08-13 Miguel de Icaza <miguel@novell.com>
* domain.c (mono_init_internal): Call mono_assembly_load_friends
once we load mscorlib. Due to the order in which we initialize,
the mono_assembly_load_full routine that loads mscorlib did not
load friends. We now load it once we load the
mono_defaults.internals_visible_class class.
* assembly.c: Expose the mono_load_friend_assemblies method.
svn path=/trunk/mono/; revision=83988
Miguel de Icaza [Mon, 13 Aug 2007 17:38:14 +0000 (17:38 -0000)]
Add an mscorlibe descriptor here, I hope this is right.
JB?
svn path=/trunk/mcs/; revision=83977
Sebastien Pouliot [Mon, 13 Aug 2007 17:36:49 +0000 (17:36 -0000)]
2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
* TestGraphics.cs: Test against NRE in MultiplyTransform
svn path=/trunk/mcs/; revision=83976
Sebastien Pouliot [Mon, 13 Aug 2007 17:36:04 +0000 (17:36 -0000)]
2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Change GdipMeasureString definition to use unsafe
pointers.
* Graphics.cs: Rework MeasureString not to supply integers (characters
and lines) as they aren't required for most of it's overloads and
requires extra code/time to calculate inside libgdiplus. Also fix a
possible NRE in MultiplyTransform.
svn path=/trunk/mcs/; revision=83975
Gert Driesen [Mon, 13 Aug 2007 15:59:45 +0000 (15:59 -0000)]
* corlib_test.dll.sources: Added System/ArgumentExceptionTest.cs.
* ArgumentException.cs: Ignore zero-length ParamName for Message.
Use ParamName property instead of field, since the property is marked
virtual.
* Array.cs: Provide more meaningful exception message when destination
array is not long enough.
* ArgumentExceptionTest.cs: Added test for ctor (string, string).
* RegistryKeyPermissionCheck.cs: Do not include in 1.0 profile.
Removed extra using directive and empty lines.
svn path=/trunk/mcs/; revision=83970
Atsushi Eno [Mon, 13 Aug 2007 13:51:34 +0000 (13:51 -0000)]
2007-08-13 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter2.cs : fix extraneous indentation which is put after
omitted xmldecl.
* XmlWriterSettingsTests.cs : added test for extraneous newline on
OmitXmlDeclaration mode.
svn path=/trunk/mcs/; revision=83958
Sebastien Pouliot [Mon, 13 Aug 2007 12:24:27 +0000 (12:24 -0000)]
fix build again
svn path=/trunk/mcs/; revision=83947
Jb Evain [Mon, 13 Aug 2007 12:08:00 +0000 (12:08 -0000)]
2007-08-13 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Cil/CilWorker.cs:
Fix InsertBefore.
svn path=/trunk/mcs/; revision=83946
Sebastien Pouliot [Mon, 13 Aug 2007 11:55:14 +0000 (11:55 -0000)]
that should fix the build
svn path=/trunk/mcs/; revision=83942
Jb Evain [Mon, 13 Aug 2007 11:30:20 +0000 (11:30 -0000)]
2007-08-13 Jb Evain <jbevain@novell.com>
* Makefile: tune on net_2_1 install.
svn path=/trunk/mcs/; revision=83941
Nagappan Alagappan [Mon, 13 Aug 2007 09:26:24 +0000 (09:26 -0000)]
2007-08-13 Nagappan A <anagappan@novell.com>
* OdbcMetaDataColumnNames.cs: Added new class.
* OdbcMetaDataCollectionNames.cs: Added new class.
* OdbcParameter.cs: 2.0 compatibility changes.
* OdbcFactory.cs (CreateConnectionStringBuilder)
(CreatePermission): Implemented new methods.
* OdbcInfoMessageEventHandler.cs: 2.0 compatibility changes.
* OdbcConnection.cs: 2.0 compatibility changes.
(GetSchema): Added new overloaded methods.
* OdbcConnectionStringBuilder.cs (Driver, Dsn): Added attributes
as per 2.0 requirement.
* OdbcDataReader.cs: 2.0 compatibility changes.
* OdbcCommandBuilder.cs: 2.0 compatibility changes.
* OdbcCommand.cs: 2.0 compatibility changes.
* OdbcErrorCollection.cs (CopyTo): Implemented new overloaded
method.
* OdbcException.cs: In 2.0 DbException should be inherited instead
of SystemException.
svn path=/trunk/mcs/; revision=83937
Rolf Bjarne Kvinge [Mon, 13 Aug 2007 08:48:30 +0000 (08:48 -0000)]
* System.Windows.Forms/PictureBox.cs:
OnAnimateImage/UpdateAnimateImage: Check if handle is still
created, it might have gotten destroyed since we last checked.
Fixes #82405.
svn path=/trunk/mcs/; revision=83935
Nagappan Alagappan [Mon, 13 Aug 2007 08:35:21 +0000 (08:35 -0000)]
2007-08-13 Nagappan A <anagappan@novell.com>
* System.Data.dll.sources: Added
System.Data.Odbc/OdbcMetaDataColumnNames.cs,
System.Data.Odbc/OdbcMetaDataCollectionNames.cs.
svn path=/trunk/mcs/; revision=83932
Nagappan Alagappan [Mon, 13 Aug 2007 08:33:29 +0000 (08:33 -0000)]
2007-08-13 Nagappan A <anagappan@novell.com>
* SqlConnection.cs (ConnectionString): 2.0 compatibility changes.
* SqlDataReader.cs (IsCommandBehavior): Fixed spelling mistake of
the method name.
(Dispose): 2.0 compatibility changes.
* SqlBulkCopy.cs (SqlRowsCopied): Fixed spelling mistake of the
event name.
(RowsCopied): Generates event when NotifyAfter is set.
* SqlCommandBuilder.cs (Dispose, RefreshSchema): 2.0 compatibility
changes.
* SqlClientFactory.cs (CreateDataSourceEnumerator): Removed bogus
TODO.
* SqlException.cs (Message): 2.0 compatibility changes.
svn path=/trunk/mcs/; revision=83931
Vladimir Krasnov [Mon, 13 Aug 2007 07:34:08 +0000 (07:34 -0000)]
* SqlRoleProvider.cs: fixed ApplicationName initialization
svn path=/trunk/mcs/; revision=83930
Jonathan Pobst [Sun, 12 Aug 2007 16:44:41 +0000 (16:44 -0000)]
2007-08-11 Jonathan Pobst <monkey@jpobst.com>
* ToolTip.cs: Remove mouse in control check from mouseleave handler so
tooltip will hide when mouse is moved off the control.
[Fixes bug #82407]
svn path=/trunk/mcs/; revision=83924
Marek Safar [Sun, 12 Aug 2007 16:31:13 +0000 (16:31 -0000)]
Missing ChangeLog entry
svn path=/trunk/mcs/; revision=83923
Miguel de Icaza [Sun, 12 Aug 2007 16:18:32 +0000 (16:18 -0000)]
Second part of fix for bug #81967
2007-08-12 Lukasz Byczynski <lukaszb@forcom.com.pl>
* SerialPortStream.cs: added timeout handling on write
* WinSerialStream.cs: fixed setting handshake flags
svn path=/trunk/mcs/; revision=83922
Miguel de Icaza [Sun, 12 Aug 2007 16:11:08 +0000 (16:11 -0000)]
First part of patch for bug #81967,
2007-08-12 Lukasz Byczynski <lukaszb@forcom.com.pl>
* serial.c:
- all changes are based on Windows .Net SerialPort behavior and
this
document: http://www.easysw.com/~mike/serial/serial.html
- removed wrong default values from open_serial
- added timeout detection in write_serial
- added proper parameters setting in set_attributes
svn path=/trunk/mono/; revision=83921
Miguel de Icaza [Sun, 12 Aug 2007 16:02:10 +0000 (16:02 -0000)]
Fix this name
svn path=/trunk/mcs/; revision=83920
Miguel de Icaza [Sun, 12 Aug 2007 16:01:39 +0000 (16:01 -0000)]
Remove another use of ""
svn path=/trunk/mcs/; revision=83919
Miguel de Icaza [Sun, 12 Aug 2007 16:01:09 +0000 (16:01 -0000)]
Remove another use of ""
svn path=/trunk/mcs/; revision=83918
Miguel de Icaza [Sun, 12 Aug 2007 16:00:26 +0000 (16:00 -0000)]
Remove redundant
svn path=/trunk/mcs/; revision=83917
Miguel de Icaza [Sun, 12 Aug 2007 16:00:16 +0000 (16:00 -0000)]
From the FxCop-like tool results posted on the list
svn path=/trunk/mcs/; revision=83916
Miguel de Icaza [Sun, 12 Aug 2007 16:00:02 +0000 (16:00 -0000)]
Small patches, here and there
svn path=/trunk/mcs/; revision=83915
Miguel de Icaza [Sun, 12 Aug 2007 15:59:36 +0000 (15:59 -0000)]
Small change, use String.Empty
svn path=/trunk/mcs/; revision=83914
Miguel de Icaza [Sun, 12 Aug 2007 15:59:15 +0000 (15:59 -0000)]
Add
svn path=/trunk/mcs/; revision=83913
Marek Safar [Sun, 12 Aug 2007 15:54:06 +0000 (15:54 -0000)]
2007-08-12 Marek Safar <marek.safar@gmail.com>
* Makefile: Build transform too.
svn path=/trunk/mcs/; revision=83912
Marek Safar [Sun, 12 Aug 2007 15:47:36 +0000 (15:47 -0000)]
A few Beta 2 updates
svn path=/trunk/mcs/; revision=83911
Marek Safar [Sun, 12 Aug 2007 15:46:25 +0000 (15:46 -0000)]
A few Beta2 Updates
svn path=/trunk/mcs/; revision=83910
Marek Safar [Sun, 12 Aug 2007 15:41:34 +0000 (15:41 -0000)]
2007-08-12 Marek Safar <marek.safar@gmail.com>
* library.make: Includes new `corcompare' target.
* corcompare.make: I got tired of hacking corcompare stuff again and
again.
svn path=/trunk/mcs/; revision=83909
Noam Lampert [Sun, 12 Aug 2007 15:10:28 +0000 (15:10 -0000)]
Always generate .war file
svn path=/trunk/mcs/; revision=83907
Gert Driesen [Sun, 12 Aug 2007 06:50:22 +0000 (06:50 -0000)]
* gtest-337.cs: Use -langversion:linq compiler option to test fix for
bug #82412.
svn path=/trunk/mcs/; revision=83906
Andreia Gaita [Sun, 12 Aug 2007 00:18:36 +0000 (00:18 -0000)]
2007-08-11 Andreia Gaita <avidigal@novell.com>
* Makefile: Ooops, Mono.Mozilla is being built out of
order, fixed :p
svn path=/trunk/mcs/; revision=83905
Andreia Gaita [Sat, 11 Aug 2007 23:48:01 +0000 (23:48 -0000)]
2007-08-11 Andreia Gaita <avidigal@novell.com>
* Makefile: Add reference to the Mono.Mozilla
assembly for webbrowser support.
* WebBrowserBase.cs, WebBrowser.cs: add implementation
using Mono.Mozilla for loading and navigating webcontrol
with xulrunner.
The initial implementation was done on
/trunk/mozembed/tests/browser , and copied here.
svn path=/trunk/mcs/; revision=83904
Andreia Gaita [Sat, 11 Aug 2007 23:45:14 +0000 (23:45 -0000)]
2007-08-11 Andreia Gaita <avidigal@novell.com>
* AssemblyInfo.cs: fix version and attributes
svn path=/trunk/mcs/; revision=83903
Rodrigo Kumpera [Sat, 11 Aug 2007 22:38:38 +0000 (22:38 -0000)]
2007-08-11 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: improved the handling of boxing, better
type checking for unary ops and conversion. Fix bug
regarding managed pointer compatibility checking
svn path=/trunk/mono/; revision=83901
Marek Safar [Sat, 11 Aug 2007 22:36:59 +0000 (22:36 -0000)]
A test for bug #82412
svn path=/trunk/mcs/; revision=83900
Marek Safar [Sat, 11 Aug 2007 22:33:48 +0000 (22:33 -0000)]
2007-08-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #82412
* generics.cs (TypeInferenceContext.LowerBoundInference): Don't
terminate type inference when an array is not paired.
svn path=/trunk/mcs/; revision=83899
Jb Evain [Sat, 11 Aug 2007 21:02:42 +0000 (21:02 -0000)]
2007-08-11 Jb Evain <jbevain@novell.com>
* profiles/net_2_1: allow 2.1 assemblies in the GAC.
svn path=/trunk/mcs/; revision=83894
Andreia Gaita [Sat, 11 Aug 2007 20:52:24 +0000 (20:52 -0000)]
2007-08-11 Andreia Gaita <avidigal@novell.com>
* Reorganize sources by namespace, fix csproj and makefile
svn path=/trunk/mcs/; revision=83893
Jb Evain [Sat, 11 Aug 2007 19:45:54 +0000 (19:45 -0000)]
remove useless .config
svn path=/trunk/mcs/; revision=83892
Miguel de Icaza [Sat, 11 Aug 2007 18:30:23 +0000 (18:30 -0000)]
2007-08-11 Miguel de Icaza <miguel@novell.com>
* AssemblyInfo.cs: Also add agmono as a friend assembly (needed
for access to the AppDomain stuff).
svn path=/trunk/mcs/; revision=83885
Jb Evain [Sat, 11 Aug 2007 18:04:04 +0000 (18:04 -0000)]
2007-08-11 Jb Evain <jbevain@novell.com>
* Descriptors/System.xml, Makefile: add a descriptor
to protect some classes in System.
svn path=/trunk/mcs/; revision=83881
Jb Evain [Sat, 11 Aug 2007 17:37:40 +0000 (17:37 -0000)]
use the correct publickey
svn path=/trunk/mcs/; revision=83878
Jb Evain [Sat, 11 Aug 2007 17:19:37 +0000 (17:19 -0000)]
use the visibility hack for smcs
svn path=/trunk/mcs/; revision=83875
Jb Evain [Sat, 11 Aug 2007 16:55:06 +0000 (16:55 -0000)]
2007-08-11 Jb Evain <jbevain@novell.com>
* AssemblyInfo.cs: add agmono as a friend assembly
svn path=/trunk/mcs/; revision=83871
Zoltan Varga [Sat, 11 Aug 2007 15:43:51 +0000 (15:43 -0000)]
2007-08-11 Zoltan Varga <vargaz@gmail.com>
* ArrayTest.cs: Add new test for bug #82345.
svn path=/trunk/mcs/; revision=83866
Zoltan Varga [Sat, 11 Aug 2007 15:41:28 +0000 (15:41 -0000)]
2007-08-11 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Array_SetGenericValueImpl): New icall.
svn path=/trunk/mono/; revision=83865
Zoltan Varga [Sat, 11 Aug 2007 15:40:41 +0000 (15:40 -0000)]
2007-08-11 Zoltan Varga <vargaz@gmail.com>
* Array.cs: Implement InternalArray__set_Item. Fixes #82345.
svn path=/trunk/mcs/; revision=83864
Jb Evain [Sat, 11 Aug 2007 15:25:37 +0000 (15:25 -0000)]
2007-08-11 Jb Evain <jbevain@novell.com>
* AssemblyInfo.cs: add agclr as a friend assembly
svn path=/trunk/mcs/; revision=83863
Andreia Gaita [Sat, 11 Aug 2007 14:53:55 +0000 (14:53 -0000)]
* Makefile: integrate Mono.Mozilla wrapper in the build.
2007-08-11 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=83861
Jb Evain [Sat, 11 Aug 2007 14:44:20 +0000 (14:44 -0000)]
2007-08-11 Jb Evain <jbevain@novell.com>
* AssemblyInfo.cs: add System.SilverLight as a friend assembly
svn path=/trunk/mcs/; revision=83860
Zoltan Varga [Sat, 11 Aug 2007 13:36:38 +0000 (13:36 -0000)]
2007-08-11 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_handle_altstack_exception): Enable the new
stack overflow handling code on amd64 too.
svn path=/trunk/mono/; revision=83857
Gert Driesen [Sat, 11 Aug 2007 08:08:03 +0000 (08:08 -0000)]
* ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
ToolTipWindow for drawing the tooltip. Fixes bug #82408.
svn path=/trunk/mcs/; revision=83855
Andreia Gaita [Fri, 10 Aug 2007 23:37:39 +0000 (23:37 -0000)]
2007-08-10 Andreia Gaita <avidigal@novell.com>
* Fix the build to use the mono system, add sources,
authors file
svn path=/trunk/mcs/; revision=83852
Andreia Gaita [Fri, 10 Aug 2007 23:31:48 +0000 (23:31 -0000)]
2007-08-10 Andreia Gaita <avidigal@novell.com>
* Move Mono.Mozilla to the main tree
svn path=/trunk/mcs/; revision=83850
Zoltan Varga [Fri, 10 Aug 2007 22:02:48 +0000 (22:02 -0000)]
2007-08-11 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_setup_altstack): Make this use
mono_thread_get_stack_bounds ().
* mini-x86.h: Disable sigaltstack on solaris x86.
svn path=/trunk/mono/; revision=83849
Zoltan Varga [Fri, 10 Aug 2007 21:56:35 +0000 (21:56 -0000)]
2007-08-11 Zoltan Varga <vargaz@gmail.com>
* threads.c threads-types.h: Export mono_thread_get_stack_bounds.
svn path=/trunk/mono/; revision=83848
Jonathan Pobst [Fri, 10 Aug 2007 20:48:18 +0000 (20:48 -0000)]
2007-08-10 Jonathan Pobst <monkey@jpobst.com>
* TextBoxTest.cs: Fix old SelectionLength assert to work on MS and match
corrected Mono behavior.
svn path=/trunk/mcs/; revision=83846
Zoltan Varga [Fri, 10 Aug 2007 19:48:42 +0000 (19:48 -0000)]
2007-08-10 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_setup_altstack): Enable this to work on solaris x86.
svn path=/trunk/mono/; revision=83845
Geoff Norton [Fri, 10 Aug 2007 18:38:56 +0000 (18:38 -0000)]
2007-08-10 Geoff Norton <gnorton@customerdna.com>
* tramp-x86.c: Remove some unneeded alignment changes on Apple. Fixes #82387.
svn path=/trunk/mono/; revision=83840
Miguel de Icaza [Fri, 10 Aug 2007 18:21:28 +0000 (18:21 -0000)]
Fix
svn path=/trunk/mono/; revision=83836
Miguel de Icaza [Fri, 10 Aug 2007 18:20:57 +0000 (18:20 -0000)]
2007-08-10 Miguel de Icaza <miguel@novell.com>
* generic.cs (DefaultValueExpression): Add CloneTo support to this
as well.
svn path=/trunk/mcs/; revision=83835
Rolf Bjarne Kvinge [Fri, 10 Aug 2007 18:14:04 +0000 (18:14 -0000)]
* System.Windows.Forms/DataGridView.cs: Add support for an editing row.
Fixes #82226. RowTemplateFull: throw an exception if a column
doesn't have a template.
* System.Windows.Forms/DataGridViewRowCollection.cs: AddInternal: if
there are any editing rows, add the row just before it.
* System.Windows.Forms/DataGridViewTextBoxCell.cs: Don't paint cells
which are in edit mode as selected.
* System.Windows.Forms/DataGridViewSelectedRowCollection.cs: Don't
return the editing row. Add a DataGridView field to be able to
reach the grid's editing row.
* Test/System.Windows.Forms/DataGridViewTest.cs: Added EditingRow.
svn path=/trunk/mcs/; revision=83834
Jonathan Pobst [Fri, 10 Aug 2007 17:58:34 +0000 (17:58 -0000)]
2007-08-10 Jonathan Pobst <monkey@jpobst.com>
* ToolTip.cs: If the control's handle hasn't been created when it has a
tooltip set on it, don't check to see if we need to show the tooltip. This
check was causing the control's handle to be created.
[Fixes bug #82399]
2007-08-10 Jonathan Pobst <monkey@jpobst.com>
* ToolTip.cs: Add test for bug #82399.
svn path=/trunk/mcs/; revision=83832
Jonathan Pobst [Fri, 10 Aug 2007 17:27:33 +0000 (17:27 -0000)]
2007-08-10 Jonathan Pobst <monkey@jpobst.com>
* TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
1.1 2.0
Handle Not Created -1 0
Handle Created 0 0
[Fixes bug #82371]
2007-08-10 Jonathan Pobst <monkey@jpobst.com>
* TextBoxTest.cs: New test for 82371 to illustrate SelectionLength value when
no text is selected.
svn path=/trunk/mcs/; revision=83829
Sebastien Pouliot [Fri, 10 Aug 2007 14:54:49 +0000 (14:54 -0000)]
fix build
svn path=/trunk/mcs/; revision=83824
Jonathan Pobst [Fri, 10 Aug 2007 14:26:22 +0000 (14:26 -0000)]
2007-08-10 Jonathan Pobst <monkey@jpobst.com>
* ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
[Fixes bug #82348]
svn path=/trunk/mcs/; revision=83821
Rodrigo Kumpera [Fri, 10 Aug 2007 13:40:27 +0000 (13:40 -0000)]
2007-08-10 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: Added new visibility tests and not/neg tests
* make_cross_nested_access_test.sh: new test script for visibility
between two classes nested in the same class
* unverifiable_ldsfld_no_fld.il: added main method
* make_unary_test.sh: added some types to make room for more tests
* make_exception_branch_test.sh: fix the test to trigger the right error
svn path=/trunk/mono/; revision=83816
Zoltan Varga [Fri, 10 Aug 2007 13:00:56 +0000 (13:00 -0000)]
2007-08-10 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Added System.Reflection.Emit/DynamicILInfo.cs.
svn path=/trunk/mcs/; revision=83815
Zoltan Varga [Fri, 10 Aug 2007 12:59:21 +0000 (12:59 -0000)]
2007-08-10 Zoltan Varga <vargaz@gmail.com>
* DynamicILInfo.cs: New file.
* DynamicMethod.cs (GetDynamicILInfo): New 2.0 method.
svn path=/trunk/mcs/; revision=83814
Dick Porter [Fri, 10 Aug 2007 12:52:55 +0000 (12:52 -0000)]
2007-08-10 Dick Porter <dick@ximian.com>
* sockets.c (_wapi_getsockopt, _wapi_setsockopt): Check the option
level as well as the name when mangling some of the values. Fixes
bug 82000.
svn path=/trunk/mono/; revision=83812
Gert Driesen [Fri, 10 Aug 2007 12:52:50 +0000 (12:52 -0000)]
* ThreadTest.cs: Enabled test for bug #81658, and uncommented code
that relies on that fix.
svn path=/trunk/mcs/; revision=83811
Gert Driesen [Fri, 10 Aug 2007 12:43:23 +0000 (12:43 -0000)]
* PagesConfigurationHandler.cs: Use enum for EnableSessionState.
* PagesConfiguration.cs: Use enum for EnableSessionState.
* PagesEnableSessionState.cs: Marked internal on 1.0 profile.
* PageParser.cs: Replace enableSessionState and readOnlySessionState
bools with enum backed field. Move 1.0 profile code for checking value
of EnableSessionState pages config to PagesConfigurationHandler.
Fixes bug #82392 for 1.0 profile.
svn path=/trunk/mcs/; revision=83810
Marek Habersack [Fri, 10 Aug 2007 10:32:25 +0000 (10:32 -0000)]
2007-08-09 Marek Habersack <mhabersack@novell.com>
* PageParser.cs: honor web.config enableSessionState
ReadOnly setting instead of overwriting based on default value for
page directive EnableSessionState. Patch from Joel Reed
<joelwreed@comcast.com>, thanks! Fixes bug #82392
svn path=/trunk/mcs/; revision=83807
Dick Porter [Fri, 10 Aug 2007 10:18:07 +0000 (10:18 -0000)]
2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
* Thread.cs: Throw ThreadStateException when retrieving ApartmentState
or IsBackground if thread is stopped. Fixes bug #81658.
2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
* ThreadTest.cs: Enabled test for bug #81658.
svn path=/trunk/mcs/; revision=83806
Atsushi Eno [Fri, 10 Aug 2007 07:29:51 +0000 (07:29 -0000)]
It is obsolete. We have WCF stuff in Olive.
svn path=/trunk/mcs/; revision=83800
Atsushi Eno [Fri, 10 Aug 2007 07:04:54 +0000 (07:04 -0000)]
2007-08-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlSerializer.cs : use WhitespaceHandling.Significant when creating
XmlTextReader. Fixed bug #82372. No tests should be added for it.
svn path=/trunk/mcs/; revision=83799
Atsushi Eno [Fri, 10 Aug 2007 06:45:48 +0000 (06:45 -0000)]
2007-08-10 Atsushi Enomoto <atsushi@ximian.com>
* ITypeInfo2.cs, ITypeLib2.cs : added missing 2.0 members.
It is so strange that many of them overlap the base interfaces.
svn path=/trunk/mcs/; revision=83798
Nagappan Alagappan [Fri, 10 Aug 2007 05:17:19 +0000 (05:17 -0000)]
2007-08-10 Nagappan A <anagappan@novell.com>
* DbDataAdapter.cs (Fill): Fixed method signature.
svn path=/trunk/mcs/; revision=83797
Jonathan Pobst [Thu, 9 Aug 2007 20:04:53 +0000 (20:04 -0000)]
2007-08-09 Jonathan Pobst <monkey@jpobst.com>
* ListBoxTest.cs: Mark test MethodScaleControl as not working.
svn path=/trunk/mcs/; revision=83792
Jonathan Pobst [Thu, 9 Aug 2007 20:01:24 +0000 (20:01 -0000)]
2007-08-09 Jonathan Pobst <monkey@jpobst.com>
* DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
* ToolTip.cs: Implement some properties and owner draw.
svn path=/trunk/mcs/; revision=83791
Jb Evain [Thu, 9 Aug 2007 19:05:57 +0000 (19:05 -0000)]
don't include sound resources in 2.1
svn path=/trunk/mcs/; revision=83787
Jb Evain [Thu, 9 Aug 2007 17:28:45 +0000 (17:28 -0000)]
continue cleaning
svn path=/trunk/mcs/; revision=83777
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 17:24:04 +0000 (17:24 -0000)]
* System.Windows.Forms/DataGridView.cs: OnPaint: don't set scrollbar
visibility to false then show them again, since setting visibility
causes a paint, causing an endless loop (instead use a temporary
and set it all when it's known if they should be shown or not).
Fixes #79265.
svn path=/trunk/mcs/; revision=83776
Jb Evain [Thu, 9 Aug 2007 17:22:18 +0000 (17:22 -0000)]
remove unneeded stuff for 2.1
svn path=/trunk/mcs/; revision=83775
Atsushi Eno [Thu, 9 Aug 2007 16:57:36 +0000 (16:57 -0000)]
2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
* HttpWebRequest_2_1.cs, HttpWebResponse_2_1.cs :
added new sources for those classes for 2.1 (in 2.1 they are
almost abstract, while in 2.0 they are concrete).
* HttpRequestCreator.cs, ServicePoint.cs :
#ifdef 2.0 dependencies out.
* net_2_1_System.dll.sources :
Replaced HttpWebRequest and HttpWebResponse with those for 2.1,
and removed related 2.0-only types.
svn path=/trunk/mcs/; revision=83773
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 16:50:08 +0000 (16:50 -0000)]
* System.Windows.Forms/DataGridView.cs: Only do a full column/row
selection if a header was clicked and we're in Column/RowHeader
selection mode. If shift and ctrl isn't pressed, deselect
everything before selecting something.
svn path=/trunk/mcs/; revision=83772
Jb Evain [Thu, 9 Aug 2007 16:19:48 +0000 (16:19 -0000)]
2007-08-09 Jb Evain <jbevain@novell.com>
* System_2_1.dll.sources, Makefile: use a special .sources file
for the 2.1 profile.
svn path=/trunk/mcs/; revision=83771
Jb Evain [Thu, 9 Aug 2007 16:10:48 +0000 (16:10 -0000)]
reverted
svn path=/trunk/mcs/; revision=83769
Jb Evain [Thu, 9 Aug 2007 15:53:25 +0000 (15:53 -0000)]
2007-08-09 Jb Evain <jbevain@novell.com>
* library.make: allow redefinition of variable `sourcefile`.
svn path=/trunk/mcs/; revision=83767
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 15:37:26 +0000 (15:37 -0000)]
* System.Windows.Forms/DataGridView.cs: Fix SelectedRows and
SelectedColumns to match MS behaviour according to bug #81075 -
they are returned in the order they are selected. Fix HitTest to
check if the point is within any of the headers. Allow for
row/column selection when in ColumnHeader or RowHeader selection
mode. Add SetSelected[Column|Row]CoreInternal for the row and
column to call when their selected state changes, and updated
selected_[rows|columns] whenever SetSelected* is called.
* System.Windows.Forms/DataGridViewBand.cs: Initialize isRow correctly.
Call SetSelected[Row|Column]CoreInternal when the selected state
changes, and add a SelectedInternal to avoid StackOverflows.
* System.Windows.Forms/DataGridViewColumn.cs,
System.Windows.Forms/DataGridViewRow.cs: If DGV is ReadOnly, we're
also ReadOnly no matter what.
* System.Windows.Forms/DataGridViewSelectedColumnCollection.cs,
System.Windows.Forms/DataGridViewSelectedRowCollection.cs: Add an
InternalAddRange that adds the items in reverse order (just as MS
does...)
* Test/System.Windows.Forms/DataGridViewCommon.cs: Added
CreateAndFillBig.
* Test/System.Windows.Forms/DataGridViewTest.cs: Added SelectedRowsTest
and SelectedColumnsTest.
svn path=/trunk/mcs/; revision=83764
Atsushi Eno [Thu, 9 Aug 2007 15:10:58 +0000 (15:10 -0000)]
2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
* ResourceReader.cs : implemented GetResourceData(). Resources with
unresolvable types could still be parsed, so hold type names
instead of types.
* ResourceReaderTest.cs : added tests for GetResourceData()
svn path=/trunk/mcs/; revision=83761
Marek Safar [Thu, 9 Aug 2007 14:10:44 +0000 (14:10 -0000)]
New test.
svn path=/trunk/mcs/; revision=83757
Jonathan Pobst [Thu, 9 Aug 2007 14:01:23 +0000 (14:01 -0000)]
2007-08-09 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
itself, not part of a mnemonic. [Fixes bug #82378]
svn path=/trunk/mcs/; revision=83755
Vladimir Krasnov [Thu, 9 Aug 2007 14:00:19 +0000 (14:00 -0000)]
* CssStyleCollection.cs: used ListDictionary instead of HybridDictionary as underlaying data structure
svn path=/trunk/mcs/; revision=83754
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 13:43:35 +0000 (13:43 -0000)]
* System.Windows.Forms/DataGridView.cs: BeginEdit: don't allow editing
of readonly cells.
* System.Windows.Forms/DataGridViewCell.cs: Implement ReadOnly better:
the cell is ReadOnly if the DGV, the column, the row, or the cell
itself is readonly.
* Test/System.Windows.Forms/DataGridViewCommon.cs: Added a comment.
* Test/System.Windows.Forms/DataGridViewCellTest.cs: Added
ReadOnlyTest.
svn path=/trunk/mcs/; revision=83753
Jb Evain [Thu, 9 Aug 2007 13:25:18 +0000 (13:25 -0000)]
2007-08-09 Jb Evain <jbevain@novell.com>
* XmlTextReader.cs: Avoid using 2.0 only feature in 2.1.
svn path=/trunk/mcs/; revision=83752