mono.git
18 years agoenable provider specific caches
Konstantin Triger [Sun, 5 Mar 2006 16:49:05 +0000 (16:49 -0000)]
enable provider specific caches

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

18 years agorefactoring
Konstantin Triger [Sun, 5 Mar 2006 16:42:04 +0000 (16:42 -0000)]
refactoring

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

18 years agoGrasshopper project file for building mono system web tests
Vladimir Krasnov [Sun, 5 Mar 2006 15:57:13 +0000 (15:57 -0000)]
Grasshopper project file for building mono system web tests

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

18 years ago* run-test.bat: added running of mono test suite
Vladimir Krasnov [Sun, 5 Mar 2006 15:54:06 +0000 (15:54 -0000)]
* run-test.bat: added running of mono test suite

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

18 years ago* PagedDataSourceTest.cs: added TARGET_JVM part to exclude not working tests.
Vladimir Krasnov [Sun, 5 Mar 2006 14:52:33 +0000 (14:52 -0000)]
* PagedDataSourceTest.cs: added TARGET_JVM part to exclude not working tests.
* WebControlTest.cs: same

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

18 years ago2006-03-05 Senganal T <tsenganal@novell.com>
Senganal T [Sun, 5 Mar 2006 09:35:39 +0000 (09:35 -0000)]
2006-03-05  Senganal T  <tsenganal@novell.com>

* Test/System.Data/DataSetTest2.cs
* Test/System.Data/ConstraintCollectionTest2.cs
* Test/System.Data/DataViewTest.cs
* Test/System.Data/DataRelationTest.cs
  Added testcases for BeginInit and EndInit methods
  * System.Data/DataSet.cs :
  - BeginInit (), EndInit () : Implemented methods
  - InitInProgress : Added.
  * System.Data/DataTable.cs
  - EndInit () : Move the adding of columns and constraints
  to FinishInit.
  - FinishInit () : Added. Adds the Constraints and Columns
  to the collection.
  - InitInProgress : Added.
  * System.Data/Constraint.cs
  - FinishInit () : Added. Virtual method
  - InitInProgress : Added. Virtual property
  * System.Data/UniqueConstraint.cs
  * System.Data/ForeignKeyConstraint.cs
  - FinishInit () : Added.
  - InitInProgress : Added.
  - DataColsNotValidated : Removed.
  * System.Data/ConstraintCollection.cs
  - PostAddRange : Removed event
  - PostEndEdit () : Renamed to PostAddRange
  - Add () : Simplified the testing if constraint is initialized
  - AddRange () : Simplified initializing the constraints
  * System.Data/DataTableCollection.cs
  - PostAddRange () : Added. Adds the tables to the collection
  * System.Data/DataColumnColletion.cs
  - PostEndInit () : Renamed to PostAddRange.Also, add column to
  the collection only if not null.

  Added/Implemented methods for design time support. Renamed some methods for consistency
  in naming across classes for methods serving the same purpose.

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

18 years agoexceptions propagating incompatible with dotnet. Patch by roeie@mainsoft.com
Andrew Skiba [Sun, 5 Mar 2006 09:05:09 +0000 (09:05 -0000)]
exceptions propagating incompatible with dotnet. Patch by roeie@mainsoft.com

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

18 years ago2006-03-04 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sat, 4 Mar 2006 22:36:24 +0000 (22:36 -0000)]
2006-03-04  Robert Jordan  <robertj@gmx.net>

* SessionSQLServerHandler.cs: make SQL statements and parameters
provider independent/configurable.
* SessionSQLServerHandler.cs (SelectSession): properly dispose
the data reader. Fixes bug #77698.

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

18 years ago2006-03-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 4 Mar 2006 20:03:08 +0000 (20:03 -0000)]
2006-03-04  Marek Safar <marek.safar@seznam.cz>

* test-494.cs: New test for #77353.

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

18 years ago2006-03-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 4 Mar 2006 16:48:48 +0000 (16:48 -0000)]
2006-03-04  Marek Safar  <marek.safar@seznam.cz>

A fix for #77353.

* class.cs (SetMethod.DefineParameters): Uses new parameters type ctor.
(Event.Define): ditto
(SetIndexerMethod.DefineParameters): Uses Parameters.MergeGenerated.

* delegate.cs (Delegate.Define): Uses Parameters.MergeGenerated.
Removed redundant code and set NewSlot for Invoke method too.

* parameter.cs (Parameters.ctor): Add custom, type ctor.
(Parameters.MergeGenerated): New method. Use this method when you merge
compiler generated argument with user arguments.

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

18 years ago2006-03-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 4 Mar 2006 12:55:07 +0000 (12:55 -0000)]
2006-03-04  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_type_Equals): Handle NULLs. Fixes #77700.

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

18 years agoFix build
Miguel de Icaza [Sat, 4 Mar 2006 03:42:57 +0000 (03:42 -0000)]
Fix build

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

18 years ago2006-03-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Mar 2006 02:45:54 +0000 (02:45 -0000)]
2006-03-04  Martin Baulig  <martin@ximian.com>

* C5/linkedlists/LinkedList.cs: Define `HASHINDEX'.

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

18 years ago2006-03-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Mar 2006 02:44:23 +0000 (02:44 -0000)]
2006-03-04  Martin Baulig  <martin@ximian.com>

* skeleton.cs: Don't call yyerror if `yyErrorFlag == 0', so we can
recover from errors with an `error' token.  See gtest-248.cs for
an example.

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

18 years agoNew test.
Martin Baulig [Sat, 4 Mar 2006 02:42:26 +0000 (02:42 -0000)]
New test.

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

18 years agoNew test.
Martin Baulig [Sat, 4 Mar 2006 02:37:02 +0000 (02:37 -0000)]
New test.

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

18 years ago2006-03-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Mar 2006 02:36:46 +0000 (02:36 -0000)]
2006-03-04  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_MonoGenericClass_GetParentType): Dynamically
compute the parent type at runtime, just like we're already doing
it for interfaces.

* reflection.c
(mono_reflection_bind_generic_parameters): Don't compute the
parent type anymore.

* class-internals.h (MonoDynamicGenericClass): Removed `parent'.

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

18 years ago2006-03-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Mar 2006 02:25:50 +0000 (02:25 -0000)]
2006-03-04  Martin Baulig  <martin@ximian.com>

* tramp-amd64.c, tramp-x86.c
(mono_debugger_create_notification_function): Use
mono_global_codeman_reserve() to allocate a buffer at runtime and
return it.

* debug-debugger.h (MonoDebuggerInfo): Added `initialize'.

* debug-debugger.c (mono_debugger_init): Dynamically allocate the
notification function at runtime and then call `initialize' in the
`MONO_DEBUGGER__debugger_info' vtable.

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

18 years ago Test updates by Matt Hargett
Jackson Harper [Sat, 4 Mar 2006 00:01:50 +0000 (00:01 -0000)]
    Test updates by Matt Hargett

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

18 years ago2006-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 4 Mar 2006 00:01:39 +0000 (00:01 -0000)]
2006-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationHost.cs: ShadowCopyDirectories is not a URL. Set
PrivateBinPath to the same value.

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

18 years ago 2006-03-03 Matt Hargett <matt@use.net>
Jackson Harper [Fri, 3 Mar 2006 23:55:04 +0000 (23:55 -0000)]
    2006-03-03  Matt Hargett  <matt@use.net>

        * Control.cs: implement Control.Padding
        * Padding.cs: -Padding.All returns -1 when constructing with the
        implicit default ctor
        -Padding.ToString() matches MS.NET
        * ContainerControl.cs: implement
        ContainerControl.AutoScaleDimensions
        * ListControl.cs: implement ListControl.FormattingEnabled
        * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
        * ButtonBase.cs:
        * TabPage.cs: Implement UseVisualStyleBackColor.
        * PictureBox.cs: Implement PictureBox.InitialImage.

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

18 years ago2006-03-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Mar 2006 23:35:16 +0000 (23:35 -0000)]
2006-03-04  Zoltan Varga  <vargaz@gmail.com>

* iltests.il: Fix a visibility problem.

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

18 years ago2006-03-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Mar 2006 21:47:35 +0000 (21:47 -0000)]
2006-03-03  Zoltan Varga  <vargaz@gmail.com>

* assembly.c: Fix windows build.

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

18 years agoNew test.
Marek Safar [Fri, 3 Mar 2006 21:01:58 +0000 (21:01 -0000)]
New test.

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

18 years ago2006-03-03 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 3 Mar 2006 20:59:45 +0000 (20:59 -0000)]
2006-03-03  Mike Kestner  <mkestner@novell.com>

* ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
event declarations to proxy to base event.
* ListViewItem.cs: update to use ItemControl.
* Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
* ThemeWin32Classic.cs: update to new ListView theme API and fix
column header label rendering for 0 width columns.

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

18 years ago2006-03-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 3 Mar 2006 20:57:23 +0000 (20:57 -0000)]
2006-03-03  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (ResolveAsTypeTerminal): Removed.

* ecore.cs (Expression.ResolveAsTypeTerminal): Make virtual to allow
specialization for predefined types; 30% speed up.
Finally placed obsolete check to right place.
(Expression.ResolveType): Removed.

* enum.cs, expression.cs, parameter.cs, statement.cs, typemanager.cs:
Updated after ResolveType was removed.

* expression.cs (Cast.ctor): Check void cast.
(Binary.ResolveAsTypeTerminal): Is never type.
(Conditional.ResolveAsTypeTerminal): Is never type.

* rootcontext.cs (ResolveCore): Set base type to simplify some code later.

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

18 years ago2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Mar 2006 19:50:27 +0000 (19:50 -0000)]
2006-03-03  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  that causes the control to be created. Fixes #77476.

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

18 years ago2006-03-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Mar 2006 18:24:29 +0000 (18:24 -0000)]
2006-03-03  Zoltan Varga  <vargaz@gmail.com>

* assembly.c: Fix build.

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

18 years agoInitial implementation of a Lightweight Transaction Manager.
Ankit Jain [Fri, 3 Mar 2006 18:23:45 +0000 (18:23 -0000)]
Initial implementation of a Lightweight Transaction Manager.

In class/System.Transactions/Test:

* AsyncTest.cs:
* TransactionScopeTest.cs:
* EnlistTest.cs: Initial set of test cases.

In class/System.Transactions:

* System.Transactions_test.dll.sources: New.
* Test: New directory.

In class/System.Transactions/System.Transactions:

* Initial implementation.
Implements support for a LTM (Lightweight Transaction Manager).
Distributed transactions are not supported with this.
Following are known as not implemented yet:
 DependentTransaction, IsolationLevels and
 EnlistmentOption.EnlistDuringPrepareRequired.

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

18 years ago2006-03-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Mar 2006 18:22:27 +0000 (18:22 -0000)]
2006-03-03  Zoltan Varga  <vargaz@gmail.com>

* configure.in mono/os: Merge the contents of libmonoos to metadata/assembly.c and
get rid of os/unix and os/win32.

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

18 years ago2006-03-03 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 3 Mar 2006 17:17:30 +0000 (17:17 -0000)]
2006-03-03  Dick Porter  <dick@ximian.com>

        * UdpClient.cs: Fix IPv6 family check.  Fixes bug 77689.

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

18 years ago2006-03-03 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 3 Mar 2006 16:04:55 +0000 (16:04 -0000)]
2006-03-03  Dick Porter  <dick@ximian.com>

        * processes.c (ShellExecuteEx): Cope when some of the parameters
        are NULL.

2006-03-03  Dick Porter  <dick@ximian.com>

        * process.c
        (ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal):
        Check parameters before dereferencing them.  Fixes Aaron's part of
        bug 77393.

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

18 years ago2006-03-03 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 3 Mar 2006 15:21:38 +0000 (15:21 -0000)]
2006-03-03  Dick Porter  <dick@ximian.com>

        * Process.cs: Close redirected pipes on errors.  Fixes bug 77514.

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

18 years agoFix performance regression.
Raja R Harinath [Fri, 3 Mar 2006 14:56:31 +0000 (14:56 -0000)]
Fix performance regression.
* loader.c (find_method_in_class): Add 'from_class' argument.
Rename 'klass' argument to 'in_class'. The signature is compared
against the method in 'in_class', and the corresponding method is
returned from 'from_class'.
(find_method): Walk both 'in_class' and 'from_class' in parallel.
(method_from_memberref) [PARENT_TYPESPEC]: Use it to walk the
type definition and generic instantiation in parallel.
(mono_get_method_constrained): Update to changes.

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

18 years ago2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Mar 2006 08:17:42 +0000 (08:17 -0000)]
2006-03-03  Atsushi Enomoto <atsushi@ximian.com>

* NvdlXsdSupport.cs : oops, XmlSchemaValidationFlags.

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

18 years ago2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Mar 2006 05:47:10 +0000 (05:47 -0000)]
2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>

* DateTimeFormatInfo.cs: Switched (where possible) our internal
  field names to match MS names. Added fields that MS has and we
  don't. Fixes serialization issues with MS.
* CultureInfo.cs, Calendar.cs, TextInfo.cs,
  GregorianCalenda.cs: Hiding internal attributes from serialization

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

18 years ago2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Mar 2006 04:15:31 +0000 (04:15 -0000)]
2006-03-03  Atsushi Enomoto <atsushi@ximian.com>

* NvdlXsdSupport.cs : in NET_2_0 mode, use XmlReader.Create()
  with validation support. Now MS.NET users can validate NVDL
  that uses XSD.

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

18 years ago2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Mar 2006 02:35:48 +0000 (02:35 -0000)]
2006-03-03  Atsushi Enomoto <atsushi@ximian.com>

* NvdlSimplified.cs : (SimpleRules) huh, I made silly change to
  access null field.

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

18 years ago * Hwnd.cs: Clear the nc pending when clearing the NC area, not
Jackson Harper [Fri, 3 Mar 2006 00:22:40 +0000 (00:22 -0000)]
    * Hwnd.cs: Clear the nc pending when clearing the NC area, not
        * the
        expose_pending.

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

18 years ago2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 2 Mar 2006 22:55:06 +0000 (22:55 -0000)]
2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>

* Image.cs (ISerializable.GetObjectData): Save the image in it's
  original format. (Fixes #77673)

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

18 years ago2006-03-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 2 Mar 2006 20:48:28 +0000 (20:48 -0000)]
2006-03-02  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Allways disable thread local alloc on sparc even if __thread support
is available.

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

18 years agoIn System.Web.UI:
Chris Toshok [Thu, 2 Mar 2006 19:30:08 +0000 (19:30 -0000)]
In System.Web.UI:
2006-03-02  Chris Toshok  <toshok@ximian.com>

* Control.cs (ApplyStyleSheetTheme): remove the exception, and add
a MonoTODO.

* Page.cs (Theme): implement setter/getter.
(StyleSheetTheme): same.

* PageParser.cs (ProcessMainAttributes): parse the Theme and
StyleSheetTheme attributes.

In System.Web.UI.WebControls:
2006-03-02  Chris Toshok  <toshok@ximian.com>

* WebControl.cs (SkinID): implement setter/getter, and have them
just chain up to base.SkinID.

In System.Web.Compilation:
2006-03-02  Chris Toshok  <toshok@ximian.com>

* TemplateControlCompiler.cs (InitMethod): emit an assignment for
SkinID just after the creation of our object, and right after that
call "_ctrl.ApplyStyleSheetSkin (page)".
(CreateAssignStatementsFromAttributes): split out the majority of
this code to CreateAssignStatementFromAttribute, and change this
method to simply a loop over the attribute keys.  In the 2.0 case,
skip the SkinID property, since that's handled explicitly in
InitMethod.

* PageCompiler.cs (AddStatementsToInitMethod): emit assignments
for Theme and StyleSheetTheme.

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

18 years ago2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 2 Mar 2006 18:23:55 +0000 (18:23 -0000)]
2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  passed in for the EventArgs (fixes #77690)

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

18 years agoRecordProtocol.cs: Fix possible endless loop (#77663). Remove hack or an old, fixed...
Sebastien Pouliot [Thu, 2 Mar 2006 18:19:36 +0000 (18:19 -0000)]
RecordProtocol.cs: Fix possible endless loop (#77663). Remove hack or an old, fixed, MCS bug (#67711).

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

18 years agoThu Mar 2 12:27:41 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 Mar 2006 11:28:44 +0000 (11:28 -0000)]
Thu Mar 2 12:27:41 CET 2006 Paolo Molaro <lupus@ximian.com>

* threads.c: make sure the domain is correct, too when doing
mono_thread_attach ().

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

18 years ago2006-02-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 2 Mar 2006 06:03:07 +0000 (06:03 -0000)]
2006-02-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs:
* SerialReceivedEventArgs.cs:
* SerialErrorEventArgs.cs:
* SerialPinChangedEventArgs.cs: Fix signatures and values
related to events.

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

18 years ago2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Mar 2006 03:15:05 +0000 (03:15 -0000)]
2006-03-02  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : seems like there is XmlSchemaExternal.Schema property
  that is filled after Compile(). Fixed bug #77687.

* XmlSchemaTests.cs : added test for bug #77687.

* 77687.xsd, 77687inc.xsd : test for bug #77687.

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

18 years ago2006-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Mar 2006 21:02:26 +0000 (21:02 -0000)]
2006-03-01  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_create_from_typedef): Mark classes using CharSet.Auto as unicode on
windows. Fixes #77683.

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

18 years ago2006-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Mar 2006 20:36:15 +0000 (20:36 -0000)]
2006-03-01  Zoltan Varga  <vargaz@gmail.com>

* mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.

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

18 years ago2006-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Mar 2006 20:32:32 +0000 (20:32 -0000)]
2006-03-01  Zoltan Varga  <vargaz@gmail.com>

* mono-counters.c: Fix windows build.

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

18 years ago2006-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Mar 2006 20:31:33 +0000 (20:31 -0000)]
2006-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BareApplicationHost.cs: initialize paths from AppDomain data. New
GetCodeGenDir().
* ApplicationHost.cs: in 2.0 the physical path is turned into an
absolute path.

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

18 years ago2006-03-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Mar 2006 19:51:56 +0000 (19:51 -0000)]
2006-03-01  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaAppInfo.cs, XmlSchemaDocumentation.cs : seems like MS
  implementation fills empty node set for empty xs:appinfo and
  xs:documentation and waste memory. Fixed bug #77685.

* XmlSchemaTests.cs : added test for bug #77685.

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

18 years ago * ScrollBar.cs: Refresh afterbeing resized.
Jackson Harper [Wed, 1 Mar 2006 19:24:07 +0000 (19:24 -0000)]
    * ScrollBar.cs: Refresh afterbeing resized.

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

18 years agoWed Mar 1 20:09:25 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Mar 2006 19:13:53 +0000 (19:13 -0000)]
Wed Mar 1 20:09:25 CET 2006 Paolo Molaro <lupus@ximian.com>

* object.h, *: introduced specific way to set elements of an array
of references to be used as write barrier. Still need to audit the
uses of mono_array_addr.

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

18 years agoMore missing internal flags.
Paolo Molaro [Wed, 1 Mar 2006 19:13:26 +0000 (19:13 -0000)]
More missing internal flags.

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

18 years ago2006-03-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 1 Mar 2006 19:10:52 +0000 (19:10 -0000)]
2006-03-01  Miguel de Icaza  <miguel@novell.com>

       * object-internals.h: New field to cache the assmebly name, patch
       from Tambet Ingo (tambet@ximian.com)

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

18 years ago2006-03-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 1 Mar 2006 19:08:55 +0000 (19:08 -0000)]
2006-03-01  Miguel de Icaza  <miguel@novell.com>

       * Assembly.cs: Cache the AssemblyName, patch from Tambet.  This
       reduces the memory usage during remoting.

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

18 years agoWed Mar 1 19:13:30 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Mar 2006 18:16:45 +0000 (18:16 -0000)]
Wed Mar 1 19:13:30 CET 2006 Paolo Molaro <lupus@ximian.com>

* decimal.h, class-internals.h, metadata-internals.h,
file-io.h: mark a few function declarations as internal, to
reduce the number of PLT entries.

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

18 years ago2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 1 Mar 2006 17:27:54 +0000 (17:27 -0000)]
2006-02-29  Peter Dennis Bartok  <pbartok@novell.com>

* TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
  the appropriate size on each system

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

18 years ago2006-02-28 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 1 Mar 2006 16:39:12 +0000 (16:39 -0000)]
2006-02-28  Mike Kestner  <mkestner@novell.com>

* MenuAPI.cs: Call PerformPopup internal method to emit Popup.
Clean up a tracker compile warning.
* MenuItem.cs: add internal PerformPopup method.
[Fixes #77457]

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

18 years ago* cs1540-8.cs: New test from #77627.
Raja R Harinath [Wed, 1 Mar 2006 15:04:37 +0000 (15:04 -0000)]
* cs1540-8.cs: New test from #77627.

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

18 years agoFix #77679.
Raja R Harinath [Wed, 1 Mar 2006 14:56:23 +0000 (14:56 -0000)]
Fix #77679.
* mcs/expression.cs (ParameterReference.DoResolveBase): Change return
type to bool.
(ParameterReference.DoResolve, ParameterReference.DoResolveLValue): Update.
* gmcs/expression.cs: Likewise.
* errors/cs1628-2.cs: New test from #77679.

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

18 years agoWed Mar 1 15:55:25 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Mar 2006 14:56:16 +0000 (14:56 -0000)]
Wed Mar 1 15:55:25 CET 2006 Paolo Molaro <lupus@ximian.com>

* driver.c, mini.c: add hooks for the counters API.

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

18 years agoFix #77628.
Raja R Harinath [Wed, 1 Mar 2006 14:42:03 +0000 (14:42 -0000)]
Fix #77628.
* mcs/ecore.cs (PropertyExpr.InstanceResolve): Fix CS1540 check.
* gmcs/ecore.cs (PropertyExpr.InstanceResolve): Likewise.
* tests/test-493.cs: New test from #77628.

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

18 years agoFix #77642.
Raja R Harinath [Wed, 1 Mar 2006 13:49:06 +0000 (13:49 -0000)]
Fix #77642.
* mcs/typemanager.cs (GetFullNameSignature): Don't nullref on
protected accessors.
* gmcs/typemanager.cs (GetFullNameSignature): Likewise.
* errors/cs0205-3.cs, errors/CS0205-3-lib.dll: New test based on #77642.

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

18 years agoWed Mar 1 12:37:43 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Mar 2006 11:38:56 +0000 (11:38 -0000)]
Wed Mar 1 12:37:43 CET 2006 Paolo Molaro <lupus@ximian.com>

* configure.in: added checks for visibility attribute,
option to disable generics, disabled options string define.

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

18 years agoWed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Mar 2006 11:35:10 +0000 (11:35 -0000)]
Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>

* mono-counters.h, mono-counters.c, Makefile.am: added
API for flexible stats collection.

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

18 years agoWed Mar 1 12:28:04 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Mar 2006 11:29:44 +0000 (11:29 -0000)]
Wed Mar 1 12:28:04 CET 2006 Paolo Molaro <lupus@ximian.com>

* driver.c: show disabled options.

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

18 years agoWed Mar 1 12:18:51 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Mar 2006 11:19:38 +0000 (11:19 -0000)]
Wed Mar 1 12:18:51 CET 2006 Paolo Molaro <lupus@ximian.com>

* linear-scan.c: always use cost-driven selection.

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

18 years agoI apologize for misspelling your name
Peter Dennis Bartok [Wed, 1 Mar 2006 03:08:45 +0000 (03:08 -0000)]
I apologize for misspelling your name

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

18 years ago2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 1 Mar 2006 00:27:18 +0000 (00:27 -0000)]
2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs (set_Text): Recalculate the document (causing an
  implicit expose) when the text is set to null

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

18 years ago2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 1 Mar 2006 00:17:51 +0000 (00:17 -0000)]
2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>

* RichTextBox.cs (FlushText): When newline is true, we always
  need to split the line, even if no text is on it and we may
  never eat newlines. (Fixes #77669)

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

18 years ago2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Mar 2006 00:02:03 +0000 (00:02 -0000)]
2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationManager.cs: new internal method to create/reuse a
BareApplicationHost from ClientBuildManager.

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

18 years ago2006-02-28 Matt Hergett <matt@use.net>
Peter Dennis Bartok [Tue, 28 Feb 2006 20:20:52 +0000 (20:20 -0000)]
2006-02-28  Matt Hergett  <matt@use.net>

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

2006-02-28  Matt Hargett (matt@use.net)

* ComboBoxTests.cs: Added

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

18 years ago2006-02-28 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 28 Feb 2006 19:46:45 +0000 (19:46 -0000)]
2006-02-28  Mike Kestner  <mkestner@novell.com>

* ListView.cs: Add UpdateSelection internal method. Remove SelectItem
and set Selected instead.
* ListViewItem.cs: Call owner.UpdateSelection to manipulate the
collections.

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

18 years ago2006-02-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 28 Feb 2006 19:41:42 +0000 (19:41 -0000)]
2006-02-28  Chris Toshok  <toshok@ximian.com>

* IStateRuntime.cs: wrap new interface method with NET_2_0.

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

18 years ago* XmlSchemaCollectionTests.cs: Set eol-style to native.
Gert Driesen [Tue, 28 Feb 2006 19:29:28 +0000 (19:29 -0000)]
* XmlSchemaCollectionTests.cs: Set eol-style to native.

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

18 years ago* XmlSchemaAssertion.cs: Set eol-style to native.
Gert Driesen [Tue, 28 Feb 2006 19:27:46 +0000 (19:27 -0000)]
* XmlSchemaAssertion.cs: Set eol-style to native.
* XmlSchemaBuiltInDatatypeTests.cs: Set eol-style to CRLF.
* XmlSchemaCollectionTests.cs: Set eol-style to native. Fixed line
endings.
* XmlSchemaDatatypeTests.cs: Set eol-style to native.
* XmlSchemaExceptionCas.cs: Set eol-style to native.
* XmlSchemaLengthFacetTests.cs: Set eol-style to CRLF.
* XmlSchemaSetTests.cs: Set eol-style to native.
* XmlSchemaTests.cs: Set eol-style to native.
* XmlSchemaTypeTests.cs: Set eol-style to native.>

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

18 years ago - Fix typo
Alexander Olk [Tue, 28 Feb 2006 19:25:41 +0000 (19:25 -0000)]
  - Fix typo

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

18 years ago2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 28 Feb 2006 19:23:42 +0000 (19:23 -0000)]
2006-02-28  Peter Dennis Bartok  <pbartok@novell.com>

* ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665

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

18 years ago* XmlSchema.cs: Do not define namespace for zero-length TargetNamespace
Gert Driesen [Tue, 28 Feb 2006 19:18:36 +0000 (19:18 -0000)]
* XmlSchema.cs: Do not define namespace for zero-length TargetNamespace
and report XmlSchemaException when compiling XmlSchema with
zero-length TargetNamespace. Fixes bug #77391.
* XmlSchemaTests.cs: Added test for writing XmlSchema with
zero-length TargetNamespace. Added test for compiling XmlSchema
with zero-length TargetNamespace. Replaced Console.WriteLine with
AssertEquals.

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

18 years agoIn System.Web:
Chris Toshok [Tue, 28 Feb 2006 19:15:28 +0000 (19:15 -0000)]
In System.Web:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* HttpCookieMode.cs: corcompare work.

* ProcessShutdownReason.cs: same.

* SiteMapNodeCollection.cs: same.

* SiteMapNode.cs: same.

* SiteMapProvider.cs: same.

* HttpCacheRevalidation.cs: same.

* HttpCacheability.cs: same.

* StaticSiteMapProvider.cs: same.

* HttpValidationStatus.cs: same.

In System.Web.SessionState:
* SessionStateActions.cs: oops, actually rename the enum, not just
the file.

2006-02-28  Chris Toshok  <toshok@ximian.com>

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

18 years agoIn System.Web.Configuration.Internal:
Chris Toshok [Tue, 28 Feb 2006 18:56:23 +0000 (18:56 -0000)]
In System.Web.Configuration.Internal:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* IInternalConfigWebHost.cs: corcompare work.

In System.Web.Configuration_2.0:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.

In System.Web.Profile:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* ProfileBase.cs: corcompare work.

* SqlProfileProvider.cs: add stubbed out file.

In System.Web.SessionState:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* SessionStateActions.cs: rename SessionStateActionFlags to this.

* ISessionIDManager.cs: rename ISessionIDModule to this.

* IStateRuntime.cs: corcompare work.

In System.Web.Security:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* FormsAuthentication.cs: corcompare work.

* MembershipCreateUserException.cs: same.

* MembershipPasswordException.cs: same.

* AnonymousIdentificationModule.cs: same.

In System.Web.Configuration:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* FormsAuthPasswordFormat.cs: ifdef out the [Serializable] in the
2.0 case.

In System.Web.Hosting:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* IAppDomainFactory.cs: corcompare work.

* IAppManagerAppDomainFactory.cs: same

* IISAPIRuntime.cs: same.

In System.Web.Management:
2006-02-28  Chris Toshok  <toshok@ximian.com>

* SqlFeatures.cs: corcompare work

* IRegiisUtility.cs: same.

* WebEventFormatter.cs: same.

* RuleFiringRecord.cs: same.

* SessionStateType.cs: same.

* WebApplicationInformtion.cs: same.

* EventNotificationType.cs: same.

* WebBaseEvent.cs: same.

* IRegisterCreateITypeLib.cs: nuke

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

18 years ago2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 28 Feb 2006 18:13:26 +0000 (18:13 -0000)]
2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* file-io.c: fix typo in warning message.

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

18 years ago2006-02-28 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 28 Feb 2006 18:00:40 +0000 (18:00 -0000)]
2006-02-28  Alexander Olk  <alex.olk@googlemail.com>

* FontDialog.cs:
  - Got rid of the panel. All controls are now directly added to
    the dialog form
  - It is now possible to set a font with the Font property
  - MinSize and MaxSize property do now what they should
  - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  - Searching and selecting a font with the font textbox works now,
    the same applies to the style and size textbox
  - Draw the correct 3D border in the example panel
  - Fixed a little mem leak (unused fonts didn't get disposed)
  - Many other internal updates/rewrites...

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

18 years ago2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 28 Feb 2006 17:30:03 +0000 (17:30 -0000)]
2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationManager.cs: implemented ShutdownAll().
* HostingEnvironment.cs: remove MonoTODO.

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

18 years ago2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
Peter Dennis Bartok [Tue, 28 Feb 2006 17:10:26 +0000 (17:10 -0000)]
2006-02-28  Jonathan Chambers  <jonathan.chambers@ansys.com>,
            Peter Dennis Bartok  <pbartok@novell.com>

* Font.cs:
  - ToLogFont: Reworked to allow running under MS runtime and to
    support it being called with both boxed structs and formatted
    classes  (MS runtime PtrToStructure cannot marshal boxed value
    types, but Marshal.AsAny can)
  - Switched all usage of LOGFONTA to more generic CharSet-driven
    LOGFONT structure
  - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
* gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
  CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
* gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
  CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
  (needed because of ToLogFont fix)

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

18 years agoTue Feb 28 17:43:20 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Feb 2006 16:44:55 +0000 (16:44 -0000)]
Tue Feb 28 17:43:20 CET 2006 Paolo Molaro <lupus@ximian.com>

* loader.c: on unix, lookup the "*A" version of a function
if charset is auto as a second option before failing.

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

18 years ago2006-02-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Feb 2006 15:59:55 +0000 (15:59 -0000)]
2006-02-28  Atsushi Enomoto <atsushi@ximian.com>

* XmlElement.cs : (WriteTo) use IsEmpty to determine which to use:
  WriteEndElement() and WriteFullEndElement(). Fixed sys.security
  regression.

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

18 years agoIn metadata:
Raja R Harinath [Tue, 28 Feb 2006 14:24:45 +0000 (14:24 -0000)]
In metadata:
* class.h (mono_class_inflate_generic_method): Revert to two
argument version.
* class-internals.h (MonoMethodInflated): Remove 'inflated' field.
(mono_class_inflate_generic_method_full): Add.
* class.c (mono_class_inflate_generic_method_full): Rename from
'mono_class_inflate_generic_method'.  Don't set 'inflated' field.
(mono_class_inflate_generic_method): New.  Wrapper around ..._full.
* loader.c, reflection.c: Update to changes.

In mini:
* jit-icalls.c (helper_compile_generic_method): Revert change from
2006-02-24.

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

18 years ago2006-02-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 28 Feb 2006 14:19:08 +0000 (14:19 -0000)]
2006-02-28  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Make sure we can import a keypair into our RSA
instance (even if the key store isn't available). See bug #77559.
* PKCS8.cs: Make sure we can import a keypair into our RSA instance
(even if the key store isn't available). See bug #77559.

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

18 years agoTue Feb 28 14:16:25 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Feb 2006 13:22:44 +0000 (13:22 -0000)]
Tue Feb 28 14:16:25 CET 2006 Paolo Molaro <lupus@ximian.com>

* BitArray.cs: reintroduce optimization carelessly removed by
Robitaille.

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

18 years agoTue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Feb 2006 13:02:26 +0000 (13:02 -0000)]
Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>

* mono-compiler.h: fixed Jakub's patch to actually compile on amd64.

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

18 years agoTue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 Feb 2006 10:35:18 +0000 (10:35 -0000)]
Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>

* mono-compiler.h: patch from Jakub Jelinek to retrieve
the tls offset without a text writable section (bug #77653).

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

18 years ago2006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 28 Feb 2006 09:11:27 +0000 (09:11 -0000)]
2006-02-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs:
* SerialPortStream.cs: Cleanups and some small funcionalities
added. Also, some code was moved to SerialPortStream, to have a
better design.

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

18 years ago2006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 28 Feb 2006 08:38:29 +0000 (08:38 -0000)]
2006-02-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.dll.sources: Forgot to add inside System.IO.Ports:
SerialData.cs, SerialError.cs, SerialPinChange.cs

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

18 years ago2006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 28 Feb 2006 08:25:00 +0000 (08:25 -0000)]
2006-02-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* serial.h: New file with serial port constants.
* serial.c: Use the constants in serial.h instead of magic numbers.

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

18 years ago2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 28 Feb 2006 02:14:39 +0000 (02:14 -0000)]
2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs:
  - InsertRTFFromStream: Added 'number of characters inserted' argument
  - set_SelectedRTF: Now using the number of characters to calculate
    the new location for the selection and cursor (x/y cannot be used
    due to potentially already wrapped text)

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

18 years ago2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 28 Feb 2006 01:40:04 +0000 (01:40 -0000)]
2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs: Added property and implemented means to allow
  disabling recalculation of a document (can be used to speed up
  multiple inserts and is needed to make RTF inserts predictable, see
  bug #77659)
* RichTextBox.cs: Using the new NoRecalc property of Document to
  keep x/y insert locations predictable. Also makes it faster inserting
  large chunks of RTF

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

18 years ago2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 28 Feb 2006 00:09:01 +0000 (00:09 -0000)]
2006-02-27  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  it's easier for a child control to handle the other messages without
  having to duplicate the special functionality
* TextBoxBase.cs
  - WndProc: Removed calling base handler for WM_KEYDOWN and added
    code to handle processing the key ourselves, in order to get
    access to the result of KeyEventArgs.Handled. We now only call
    ProcessKey if they key hasn't been handled already. Fixes #77526.
  - set_Text: If null or empty string is given, just clear the
    document. Fixes part of #77526

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