mono.git
16 years ago2007-08-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 15 Aug 2007 05:15:42 +0000 (05:15 -0000)]
2007-08-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewCollectionsTest.cs: New tests for ListViewItemCollection
when used with ListViewGroup.
* ListViewGroupCollectionTest.cs: Likewise.
* ListViewItemTest.cs: Likewise.

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

16 years ago2007-08-14 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 15 Aug 2007 02:08:34 +0000 (02:08 -0000)]
2007-08-14  Jonathan Chambers  <joncham@gmail.com>

* PhysicalAddress.cs : Test only in 2.0 profile.
Fix build.

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

16 years ago2007-08-14 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 15 Aug 2007 01:58:10 +0000 (01:58 -0000)]
2007-08-14  Jonathan Chambers  <joncham@gmail.com>

* marshal.c (cominterop_get_idispatch_for_object): Implement
for runtime callable wrappers.

Code is contributed under MIT/X11 license.

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

16 years ago2007-08-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 14 Aug 2007 23:48:22 +0000 (23:48 -0000)]
2007-08-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ListViewItemCollection have a
'is_main_collection' field to not modify ListViewItem.ListView
when using it as ListViewGroup.Items (and not ListView.Items)
and also don't modify selection state (.Net behaviour).
Instead, set group for items contained in a ListViewGroup.Items collection.
* ListViewItem.cs: Simplify some code in Group setter.
* ListViewGroup.cs: use the new .ctor to pass the current instance
to the ItemsCollection.
* ListViewGroup.cs: Set the ListView property for ListViewGroup
instances when adding/removing. Also make Remove use RemoveAt, which
should perform better.

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

16 years agoMethodCallExpression complete. Added ArrayIndex and ArrayLength.
Federico Di Gregorio [Tue, 14 Aug 2007 22:12:39 +0000 (22:12 -0000)]
MethodCallExpression complete. Added ArrayIndex and ArrayLength.

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

16 years agoagain
Jb Evain [Tue, 14 Aug 2007 21:02:02 +0000 (21:02 -0000)]
again

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

16 years agoprotect some more internals
Jb Evain [Tue, 14 Aug 2007 20:44:16 +0000 (20:44 -0000)]
protect some more internals

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

16 years ago2007-08-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 14 Aug 2007 20:12:08 +0000 (20:12 -0000)]
2007-08-14  Jonathan Pobst  <monkey@jpobst.com>

* Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
that crept into the 1.1 profile.

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

16 years ago2007-08-14 Wade Berrier <wberrier@novell.com>
Wade Berrier [Tue, 14 Aug 2007 19:38:11 +0000 (19:38 -0000)]
2007-08-14  Wade Berrier  <wberrier@novell.com>

       * serial.c: include sys/time.h for mac osx 10.3 for timeval

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

16 years ago2007-08-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 14 Aug 2007 18:41:15 +0000 (18:41 -0000)]
2007-08-14  Jonathan Pobst  <monkey@jpobst.com>

* ToolBarButton.cs: Implement ImageKey.

2007-08-14  Jonathan Pobst  <monkey@jpobst.com>

* ToolBarButtonTest.cs: Add test showing how ImageIndex and ImageKey interact.

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

16 years agoSet eol-style.
Gert Driesen [Tue, 14 Aug 2007 18:27:40 +0000 (18:27 -0000)]
Set eol-style.

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

16 years ago* AggregateCacheDependencyTest.cs: Added test for bug #82419.
Gert Driesen [Tue, 14 Aug 2007 18:04:25 +0000 (18:04 -0000)]
* AggregateCacheDependencyTest.cs: Added test for bug #82419.
* System.Web_test.dll.sources: Added AggregateCacheDependencyTest.cs.

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

16 years ago2007-08-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 14 Aug 2007 17:29:49 +0000 (17:29 -0000)]
2007-08-13  Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c (main): changed from mono_init to mono_init_from_assembly
so 2.0 types are accessible

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

16 years ago2007-08-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 14 Aug 2007 17:13:01 +0000 (17:13 -0000)]
2007-08-14  Marek Safar  <marek.safar@gmail.com>

** C# 3.0 Object and collection initializers

* cs-parser.jay: Grammar update.

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

16 years agoFix infinite recursion
Miguel de Icaza [Tue, 14 Aug 2007 16:26:49 +0000 (16:26 -0000)]
Fix infinite recursion

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

16 years agoTARGET_JVM: Environment.GetFolderPath is not supported.
Konstantin Triger [Tue, 14 Aug 2007 16:16:50 +0000 (16:16 -0000)]
TARGET_JVM: Environment.GetFolderPath is not supported.

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

16 years agoTARGET_JVM: ServicePoint.BindIPEndPointDelegate is not supported
Konstantin Triger [Tue, 14 Aug 2007 16:16:18 +0000 (16:16 -0000)]
TARGET_JVM: ServicePoint.BindIPEndPointDelegate is not supported

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

16 years agoNew tests.
Marek Safar [Tue, 14 Aug 2007 15:43:54 +0000 (15:43 -0000)]
New tests.

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

16 years agoMore tests.
Marek Safar [Tue, 14 Aug 2007 15:43:19 +0000 (15:43 -0000)]
More tests.

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

16 years ago2007-08-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 14 Aug 2007 15:42:24 +0000 (15:42 -0000)]
2007-08-14  Marek Safar  <marek.safar@gmail.com>

** C# 3.0 Object and collection initializers (major re-write)

* assign.cs (DoResolve): Initializers are not assign related.

* codegen.cs (EmitContext.CurrentInitializerVariable): Holds a varible
used during collection or object initialization.

* expression.cs (Error_InvalidArguments): Add initializers specific
messages. More will come later because it requires some general
refactoring.
(New.DoResolve): Better error handling for unsafe types.
(EmptyExpressionStatement): New class.
(ElementInitializer): An object initializer expression.
(CollectionElementInitializer): A collection initializer expression.
(CollectionOrObjectInitializers): A block of object or collection
initializers.
(NewInitialize): New expression with element/object initializers.

* statement.cs: Reverted object/collection initializer hacks.

* typemanager.cs (CSharpName): Filter __arglist type.

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

16 years ago2007-08-14 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 14 Aug 2007 15:41:12 +0000 (15:41 -0000)]
2007-08-14  Jonathan Pobst  <monkey@jpobst.com>

* ToolBar.cs: Implement ScaleControl/ScaleCore.

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

16 years agoTARGET_JVM: exclude not working tests
Konstantin Triger [Tue, 14 Aug 2007 15:26:49 +0000 (15:26 -0000)]
TARGET_JVM: exclude not working tests

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

16 years agoUpdate after System.Core refresh
Marek Safar [Tue, 14 Aug 2007 15:01:20 +0000 (15:01 -0000)]
Update after System.Core refresh

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

16 years agofix the 2.1 build
Jb Evain [Tue, 14 Aug 2007 14:30:39 +0000 (14:30 -0000)]
fix the 2.1 build

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

16 years agoAdd
Miguel de Icaza [Tue, 14 Aug 2007 14:26:53 +0000 (14:26 -0000)]
Add

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

16 years ago* Control.cs: optimized GetDirectory call in ResolveClientUrl
Vladimir Krasnov [Tue, 14 Aug 2007 13:45:38 +0000 (13:45 -0000)]
* Control.cs: optimized GetDirectory call in ResolveClientUrl

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

16 years ago* ClientScriptManager.cs: otimized string.Replace in GetScriptLiteral
Vladimir Krasnov [Tue, 14 Aug 2007 13:32:35 +0000 (13:32 -0000)]
* ClientScriptManager.cs: otimized string.Replace in GetScriptLiteral

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

16 years ago2007-08-14 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 14 Aug 2007 13:00:41 +0000 (13:00 -0000)]
2007-08-14  Jonathan Chambers <joncham@gmail.com>

* mono-membar.h: Use intrinsic functions in msvc.

2007-08-14  Jonathan Chambers <joncham@gmail.com>

* libmono.vcproj: Enable intrinsic functions.

Code contributed under MIT/X11 license.

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

16 years agoadjust
Jb Evain [Tue, 14 Aug 2007 12:48:50 +0000 (12:48 -0000)]
adjust

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

16 years ago2007-08-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 14 Aug 2007 12:40:54 +0000 (12:40 -0000)]
2007-08-14  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Fix
detection of call <REG> instruction sequence. Fixes build on freebsd.

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

16 years agoDo not override DependencyDispose, as it would break the public API of the class
Marek Habersack [Tue, 14 Aug 2007 12:28:09 +0000 (12:28 -0000)]
Do not override DependencyDispose, as it would break the public API of the class

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

16 years ago2007-08-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 14 Aug 2007 12:09:45 +0000 (12:09 -0000)]
2007-08-14  Marek Habersack  <mhabersack@novell.com>

* AggregateCacheDependency.cs: propagate changes in any child
dependencies to the base class.

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

16 years ago2007-08-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 14 Aug 2007 11:43:42 +0000 (11:43 -0000)]
2007-08-14  Marek Habersack  <mhabersack@novell.com>

* ChangePassword.cs: The change password button id changed to
"ChangePasswordPushButton", the cancel button id changed to
"CancelPushButton". The change makes the generated ids the same
what on MS.NET. Fixes bug #82418.

2007-08-14  Marek Habersack  <mhabersack@novell.com>

* ChangePasswordTest.cs: adjust tests for the ChangePassword
control button controls id changes. Part of fix for bug #82418.

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

16 years ago* AbstractDBConnection.cs: performance optimization
Vladimir Krasnov [Tue, 14 Aug 2007 11:34:28 +0000 (11:34 -0000)]
* AbstractDBConnection.cs: performance optimization

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

16 years ago* EventLog.cs: Do not allow all whitespace machine name. Do nothing
Gert Driesen [Tue, 14 Aug 2007 11:23:24 +0000 (11:23 -0000)]
* EventLog.cs: Do not allow all whitespace machine name. Do nothing
when setting the same value for EnableRaisingEvents, and only modify
value of field when enable/disable succeeded. Treats log name case
insensitively on all platforms, and perform reset when the log name
is changed. Validate new machine name in property, and treat it
case-insensitively. Perform reset when source is modified, and log
name was not explicitly set. When EventLog is closed, also disable
event watcher.
* LocalEventLog.cs: In Close, clean-up the FileSystemWatcher. Add
locking to Created eventhandler to avoid duplicate notifications.
* Win32EventLog.cs: Cache handle for reading from eventlog. In Close,
close the read handle. Implement support for watching win32 eventlog.
Fixes bug #82436.
* EventLogTest.cs: Added tests for validity of machine name. Added
tests for case-insensitivity of Source, Log and MachineName.

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

16 years ago* DataColumnCollection.cs: refactoring, fixed columnNameCount comparer to remove...
Vladimir Krasnov [Tue, 14 Aug 2007 11:03:14 +0000 (11:03 -0000)]
* DataColumnCollection.cs: refactoring, fixed columnNameCount comparer to remove culture sensitive ToLower() calls

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

16 years ago2007-08-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 14 Aug 2007 10:52:59 +0000 (10:52 -0000)]
2007-08-14  Marek Habersack  <mhabersack@novell.com>

* SessionStateServerHandler.cs: remove unused field.

2007-08-14  Marek Habersack  <mhabersack@novell.com>

* Control.cs: include the actual exception when reporting control
id clash.

2007-08-14  Marek Habersack  <mhabersack@novell.com>

* Roles.cs: remove unused field.

* SqlMembershipProvider.cs: remove unused variable.

2007-08-14  Marek Habersack  <mhabersack@novell.com>

* ObjectDataSourceView.cs: remove unused variable.

* ChangePassword.cs: remove unused variable.

* RoleGroupCollection.cs: OnValidate shouldn't be overridden.

2007-08-14  Marek Habersack  <mhabersack@novell.com>

* SqlProfileProvider.cs: remove unused variable.

2007-08-14  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: do not hide this_lock.

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

16 years ago2007-08-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 14 Aug 2007 10:28:03 +0000 (10:28 -0000)]
2007-08-14  Marek Habersack  <mhabersack@novell.com>

* AspComponentFoundry.cs: use an ArrayList to implement LIFO for
component collections, instead of the old Queue which implemented
FIFO. Fixes situations when a control registered later for a
certain prefix would not be used in preference to a previously
registered one of the same name.

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

16 years ago* PageMapper.cs: fixed comparer in NormalizeName
Vladimir Krasnov [Tue, 14 Aug 2007 09:27:52 +0000 (09:27 -0000)]
* PageMapper.cs: fixed comparer in NormalizeName

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

16 years agoTARGET_JVM: ignore failing test
Konstantin Triger [Tue, 14 Aug 2007 09:23:44 +0000 (09:23 -0000)]
TARGET_JVM: ignore failing test

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

16 years ago* GenericProvider.cs: performance optimizations
Vladimir Krasnov [Tue, 14 Aug 2007 09:19:23 +0000 (09:19 -0000)]
* GenericProvider.cs: performance optimizations

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

16 years ago* KeyMapperBase.cs: performance optimizations
Vladimir Krasnov [Tue, 14 Aug 2007 09:17:56 +0000 (09:17 -0000)]
* KeyMapperBase.cs: performance optimizations

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

16 years ago* ParameterCollection.cs: fixed IndexOfString, should use ordinal compare
Vladimir Krasnov [Tue, 14 Aug 2007 08:56:55 +0000 (08:56 -0000)]
* ParameterCollection.cs: fixed IndexOfString, should use ordinal compare

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

16 years agoAdd test files
Miguel de Icaza [Mon, 13 Aug 2007 23:12:27 +0000 (23:12 -0000)]
Add test files

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

16 years agoAdded patch for #82403 fixing several issues with PhysicalAddress
Alan McGovern [Mon, 13 Aug 2007 22:45:19 +0000 (22:45 -0000)]
Added patch for #82403 fixing several issues with PhysicalAddress

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

16 years ago* EnlistTest.cs: Add tests for bug #82423.
Ankit Jain [Mon, 13 Aug 2007 22:18:20 +0000 (22:18 -0000)]
* EnlistTest.cs: Add tests for bug #82423.

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

16 years ago2007-08-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 13 Aug 2007 22:05:42 +0000 (22:05 -0000)]
2007-08-13 Rodrigo Kumpera <rkumpera@novell.com>

* make_ldtoken_test.sh (added):  Generate ldtoken related tests
* make_tests.sh: Addes tests for ldtoken, conv.*.* and visibility checks
for nested classes mixed with inheritance

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

16 years ago2007-08-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 13 Aug 2007 21:36:58 +0000 (21:36 -0000)]
2007-08-13  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c: Fix a warning.

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

16 years ago2007-08-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 13 Aug 2007 21:15:08 +0000 (21:15 -0000)]
2007-08-13  Miguel de Icaza  <miguel@novell.com>

* Transaction.cs: Remove the exception throwing on Dispose, from
bug report #82423.

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

16 years ago2007-08-13 Federico Di Gregorio <fog@initd.org>
Miguel de Icaza [Mon, 13 Aug 2007 21:08:24 +0000 (21:08 -0000)]
2007-08-13  Federico Di Gregorio <fog@initd.org>

* Added Test/ directory, modified Makefile to build and execute
them

* Changed a couple of Expression methods to raise exceptions
identicals to MS ones

* Added tests for AddExpression and ConstantExpression
* Implemented somme missing stuff in BinaryExpression
* The stuff in ExpressionUtils is very generic and does quite some
  redundant checks: I started splitting the stuff there into more
  "specific" methods that should be both understandable and fast.

I fixed the StringBuilder problem, added unique IDs to all tests,
used Assert.IsNull where appropriate and fixed one more Expression

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

16 years agouse csc directly for compactframework compilation - the csc nant task fails to refere...
Rodrigo B. de Oliveira [Mon, 13 Aug 2007 20:33:30 +0000 (20:33 -0000)]
use csc directly for compactframework compilation - the csc nant task fails to reference the cf assemblies in some scenarios

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

16 years agoability to pass custom defines to the c# compiler through the csc.defines property
Rodrigo B. de Oliveira [Mon, 13 Aug 2007 19:15:18 +0000 (19:15 -0000)]
ability to pass custom defines to the c# compiler through the csc.defines property

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

16 years agoadd the mscorlib descriptor to the build
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

16 years agoi2007-08-13 Miguel de Icaza <miguel@novell.com>
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

16 years agoAdd an mscorlibe descriptor here, I hope this is right.
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

16 years ago2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago* corlib_test.dll.sources: Added System/ArgumentExceptionTest.cs.
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

16 years ago2007-08-13 Atsushi Enomoto <atsushi@ximian.com>
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

16 years agofix build again
Sebastien Pouliot [Mon, 13 Aug 2007 12:24:27 +0000 (12:24 -0000)]
fix build again

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

16 years ago2007-08-13 Jb Evain <jbevain@novell.com>
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

16 years agothat should fix the build
Sebastien Pouliot [Mon, 13 Aug 2007 11:55:14 +0000 (11:55 -0000)]
that should fix the build

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

16 years ago2007-08-13 Jb Evain <jbevain@novell.com>
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

16 years ago2007-08-13 Nagappan A <anagappan@novell.com>
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

16 years ago* System.Windows.Forms/PictureBox.cs:
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

16 years ago2007-08-13 Nagappan A <anagappan@novell.com>
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

16 years ago2007-08-13 Nagappan A <anagappan@novell.com>
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

16 years ago* SqlRoleProvider.cs: fixed ApplicationName initialization
Vladimir Krasnov [Mon, 13 Aug 2007 07:34:08 +0000 (07:34 -0000)]
* SqlRoleProvider.cs: fixed ApplicationName initialization

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

16 years ago2007-08-11 Jonathan Pobst <monkey@jpobst.com>
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

16 years agoMissing ChangeLog entry
Marek Safar [Sun, 12 Aug 2007 16:31:13 +0000 (16:31 -0000)]
Missing ChangeLog entry

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

16 years agoSecond part of fix for bug #81967
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

16 years agoFirst part of patch for bug #81967,
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

16 years agoFix this name
Miguel de Icaza [Sun, 12 Aug 2007 16:02:10 +0000 (16:02 -0000)]
Fix this name

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

16 years agoRemove another use of ""
Miguel de Icaza [Sun, 12 Aug 2007 16:01:39 +0000 (16:01 -0000)]
Remove another use of ""

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

16 years agoRemove another use of ""
Miguel de Icaza [Sun, 12 Aug 2007 16:01:09 +0000 (16:01 -0000)]
Remove another use of ""

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

16 years agoRemove redundant
Miguel de Icaza [Sun, 12 Aug 2007 16:00:26 +0000 (16:00 -0000)]
Remove redundant

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

16 years agoFrom the FxCop-like tool results posted on the list
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

16 years agoSmall patches, here and there
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

16 years agoSmall change, use String.Empty
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

16 years agoAdd
Miguel de Icaza [Sun, 12 Aug 2007 15:59:15 +0000 (15:59 -0000)]
Add

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

16 years ago2007-08-12 Marek Safar <marek.safar@gmail.com>
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

16 years agoA few Beta 2 updates
Marek Safar [Sun, 12 Aug 2007 15:47:36 +0000 (15:47 -0000)]
A few Beta 2 updates

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

16 years agoA few Beta2 Updates
Marek Safar [Sun, 12 Aug 2007 15:46:25 +0000 (15:46 -0000)]
A few Beta2 Updates

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

16 years ago2007-08-12 Marek Safar <marek.safar@gmail.com>
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

16 years agoAlways generate .war file
Noam Lampert [Sun, 12 Aug 2007 15:10:28 +0000 (15:10 -0000)]
Always generate .war file

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

16 years ago* gtest-337.cs: Use -langversion:linq compiler option to test fix for
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

16 years ago2007-08-11 Andreia Gaita <avidigal@novell.com>
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

16 years ago2007-08-11 Andreia Gaita <avidigal@novell.com>
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

16 years ago2007-08-11 Andreia Gaita <avidigal@novell.com>
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

16 years ago2007-08-11 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoA test for bug #82412
Marek Safar [Sat, 11 Aug 2007 22:36:59 +0000 (22:36 -0000)]
A test for bug #82412

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

16 years ago2007-08-11 Marek Safar <marek.safar@gmail.com>
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

16 years ago2007-08-11 Jb Evain <jbevain@novell.com>
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

16 years ago2007-08-11 Andreia Gaita <avidigal@novell.com>
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

16 years agoremove useless .config
Jb Evain [Sat, 11 Aug 2007 19:45:54 +0000 (19:45 -0000)]
remove useless .config

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

16 years ago2007-08-11 Miguel de Icaza <miguel@novell.com>
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

16 years ago2007-08-11 Jb Evain <jbevain@novell.com>
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

16 years agouse the correct publickey
Jb Evain [Sat, 11 Aug 2007 17:37:40 +0000 (17:37 -0000)]
use the correct publickey

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

16 years agouse the visibility hack for smcs
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

16 years ago2007-08-11 Jb Evain <jbevain@novell.com>
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