mono.git
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

18 years ago * MdiClient.cs: Add the sizegrip when both scrollbars are used.
Jackson Harper [Mon, 27 Feb 2006 23:42:10 +0000 (23:42 -0000)]
    * MdiClient.cs: Add the sizegrip when both scrollbars are used.

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

18 years ago * SizeGrip.cs: Paint the background color before painting the
Jackson Harper [Mon, 27 Feb 2006 23:30:46 +0000 (23:30 -0000)]
    * SizeGrip.cs: Paint the background color before painting the
        * grip
        so things look right.

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

18 years ago6 new tests.
Marek Safar [Mon, 27 Feb 2006 22:48:30 +0000 (22:48 -0000)]
6 new tests.

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

18 years ago2006-02-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 27 Feb 2006 22:46:25 +0000 (22:46 -0000)]
2006-02-27  Marek Safar <marek.safar@seznam.cz>

* test-492.cs: Another attribute tests.

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

18 years ago2006-02-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 27 Feb 2006 22:44:20 +0000 (22:44 -0000)]
2006-02-27  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.PosArguments, Attribute.NamedArguments): Use
these two separated members to simplify the code.
(Attribute.Resolve): Refactored to use new fields and methods.
(Attribute.ResolveConstructor): Extracted from ResolveArguments and
implemented obsolete attribute checking.
(Attribute.ResolveNamedArguments): Extracted from ResolveArguments and
implemented obsolete checking again. It look line never ending quest ;-)
(GlobalAttribute.ResolveConstructor): Need to override as the rest.

* cfold.cs (BinaryFold): TryReduce throws an exception to indicate error.

* constanct.cs (TryReduce): Throws OverflowException to indicate error.

*class.cs (Property.Define): Add RegisterProperty call.

* cs-parser.jay: Replaced ArrayList with fixed array for attribute
argument groups (only 2).

* ecore.cs (Expression.GetAttributableValue): New virtual method used for
encoding expression to arguments.
(Expression.ExprClassToResolveFlags): Just turned to property.

* expression.cs (ArrayCreation.ValidateInitializers): Slightly optimized.
(ArrayCreation.GetAttributableValue): Renamed from EncodeAsAttribute and
optimized as well as implemented support for zero-length attributes.

* typemanager.cs (TypeManager.RegisterProperty, TypeManager.GetProperty):
Add caching of PropertyInfo's.

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

18 years ago2006-02-27 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 27 Feb 2006 22:11:58 +0000 (22:11 -0000)]
2006-02-27  Mike Kestner  <mkestner@novell.com>

* ListView.cs:
  - Restructure layout and invalidation model to remove a ton of
  flicker from the control and speed up performance in general.
  - Add manual column resize, flickers like crazy, but I already have
  some ideas on how I'll fix that. (#76822)
  - Merge the three Icon-based views into a single layout method.
  - Move item selection interaction logic from the item since
  interaction with the collections is more appropriate to the view.
  - Deselection on non-item clicks.
* ListViewItem.cs:
  - Encapsulate most of the layout. Add some internal props to trigger
  layout.  Move to a model where Items invalidate themselves instead
  of just invalidating the whole control every time something changes.
  - Invalidate on Text/Caption changes.
  - switch to an offset based layout model to avoid having to absolute
  position every element on item moves.
  - correct checkbox layout to conform to MS layout.
* ThemeWin32Classic.cs:
  - refactor some column header drawing code.
  - fix string justification for column headers (#76821)
  - make SmallIcon labels top justified for compat with MS impl.
* ThemeClearlooks.cs:
  - adjust to new ListViewItem internal checkbox bounds api.

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

18 years agoOnly in 2.0
Miguel de Icaza [Mon, 27 Feb 2006 21:39:24 +0000 (21:39 -0000)]
Only in 2.0

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

18 years agoCommit a bunch of stubs I did months ago, might be useful to someone picking it up
Miguel de Icaza [Mon, 27 Feb 2006 21:36:53 +0000 (21:36 -0000)]
Commit a bunch of stubs I did months ago, might be useful to someone picking it up

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

18 years ago * TemplateControl.cs: corcompare work.
Chris Toshok [Mon, 27 Feb 2006 21:13:03 +0000 (21:13 -0000)]
* TemplateControl.cs: corcompare work.

* ExpressionBindingCollection.cs: same.

* HierarchicalDataSourceControl.cs: same.

* PostBackOptions.cs: same.

* ClientScriptManager.cs: same.

* FilterableAttribute.cs: same.

* ControlCollection.cs: same.

* DataBindingCollection.cs: same.

* PropertyEntry.cs: mark ctor internal.

* SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.

* Page.cs: stub out two Theme oriented 2.0 properties.

* DataBinder.cs: remove the obsolete attribute on the ctor.

* TwoWayBoundPropertyEntry.cs: remove this.

* ControlBuilder.cs (BindingContainerType): virtual in 2.0.

* ThemeProvider: new (stubbed) class.

* SkinBuilder.cs: same.

* PageTheme.cs: same.

* ControlSkin.cs: same.

* ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.

* SimplePropertyEntry.cs: mark ctor as internal.

* IThemeResolutionService.cs: enable the 3 members of this
interface.

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

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

18 years ago * SizeGrip.cs: Remove the TODO as its been TODONE.
Jackson Harper [Mon, 27 Feb 2006 20:42:44 +0000 (20:42 -0000)]
    * SizeGrip.cs: Remove the TODO as its been TODONE.

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

18 years ago * Control.cs: Change where implicit controls fall in the
Jackson Harper [Mon, 27 Feb 2006 20:02:26 +0000 (20:02 -0000)]
    * Control.cs:  Change where implicit controls fall in the
        * zorder.
        They are now on top of all children.
        - Synced AddImplicit code with Add
        - Removed unused enumerator.

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

18 years ago * ListSourceHelper.cs: this class is static.
Chris Toshok [Mon, 27 Feb 2006 19:47:05 +0000 (19:47 -0000)]
* ListSourceHelper.cs: this class is static.

* Page.cs: add some EditorBrowsable attributes to the 2.0 events.

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

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

18 years agoIn System.Web.UI:
Chris Toshok [Mon, 27 Feb 2006 18:25:36 +0000 (18:25 -0000)]
In System.Web.UI:
2006-02-27  Chris Toshok  <toshok@ximian.com>

* DataSourceView.cs: Name isn't virtual.

* DataSourceControl.cs: beat this class over the head with the
corcompare stick.

* DataSourceControlBuilder.cs: new stubbed control builder for
DataSourceControl.

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

* SqlDataSource.cs: track change to DataSourceControl's protected
methods.

* AccessDataSource.cs: same.

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

18 years agoMon Feb 27 18:58:19 GMT 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Feb 2006 18:03:33 +0000 (18:03 -0000)]
Mon Feb 27 18:58:19 GMT 2006 Paolo Molaro <lupus@ximian.com>

* cpu-arm.md, mini-arm.c: implemented MemoryBarrier.

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

18 years ago* ConstructorBuilder.cs: In AddDeclarativeSecurity, throw an
Gert Driesen [Mon, 27 Feb 2006 18:03:01 +0000 (18:03 -0000)]
* ConstructorBuilder.cs: In AddDeclarativeSecurity, throw an
ArgumentOutOfRangeException instead of an ArgumentException if action
is a Request* action. Fixes bug #77640.
* MethodBuilder.cs: Same.
* TypeBuilder.cs: Same.
* ConstructorBuilderTest.cs: Expect ArgumentOutOfRangeException
instead of ArgumentException when passing Request action to
AddDeclarativeSecurity (bug #77640).
* MethodBuilderTest.cs: Same.
* TypeBuilderTest.cs: Same.

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

18 years ago* corlib.dll.sources: Remove DecimalFormatter.cs.
Gert Driesen [Mon, 27 Feb 2006 17:59:03 +0000 (17:59 -0000)]
* corlib.dll.sources: Remove DecimalFormatter.cs.

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

18 years ago* File.cs: In 2.0 profile, File.Get****Time(Utc) should not throw
Gert Driesen [Mon, 27 Feb 2006 17:54:48 +0000 (17:54 -0000)]
* File.cs: In 2.0 profile, File.Get****Time(Utc) should not throw
IOException if specified path does not exist. Fixes bug #77641.
* FileTest.cs: In 2.0 profile, no longer expect IOException when path to
non-existing directory or file is specified in Get***Time(Utc) methods
(bug #77641). Renamed tests and removed trailing tabs. Removed
duplicate test. Fixed GetLastWriteTime(Utc) tests that used
GetLastAccessTime(Utc) instead of GetLastWriteTime(Utc).
* DirectoryTest.cs: No longer expect IOException when path to
non-existing directory or file is specified in Get***Time(Utc) methods
(bug #77641).

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

18 years ago* FileStream.cs: To match MSFT, ignore FileShare.Inheritable on 2.0
Gert Driesen [Mon, 27 Feb 2006 17:45:07 +0000 (17:45 -0000)]
* FileStream.cs: To match MSFT, ignore FileShare.Inheritable on 2.0
profile. This fixes bug #77644. Improved usefulness of some existing
exception messages.
* FileStreamTest.cs: Fixed tests for invalid share value to pass on
MS.NET 2.0, and all Mono profiles. Added test that verifies the
correct behavior of all possible FileMode and FileAccess combinations.
Fixed compiler warning.

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

18 years ago* corlib.dll.sources: Removed DecimalFormatter.cs.
Gert Driesen [Mon, 27 Feb 2006 17:42:50 +0000 (17:42 -0000)]
* corlib.dll.sources: Removed DecimalFormatter.cs.
* DecimalFormatter.cs: Removed obsolete class, as it has been replaced
by NumberFormatter.
* DoubleFormatter.cs: Same.
* SingleFormatter.cs: Same.

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

18 years ago* ListControl.cs: fixed SelectedIndex property, fixed selection reset on incorrect...
Vladimir Krasnov [Mon, 27 Feb 2006 17:35:36 +0000 (17:35 -0000)]
* ListControl.cs: fixed SelectedIndex property, fixed selection reset on incorrect value

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

18 years agoTableStyle.cs: fixed AddAttributesToRender function, style
Vladimir Krasnov [Mon, 27 Feb 2006 17:19:15 +0000 (17:19 -0000)]
TableStyle.cs: fixed AddAttributesToRender function, style
BorderCollapse:Collapse was added if table's CellSpacing is zero

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

18 years ago2006-02-27 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 27 Feb 2006 16:44:57 +0000 (16:44 -0000)]
2006-02-27  Dick Porter  <dick@ximian.com>

        * mutexes.c:
        * mono-mutex.c:
        * threads.c: Comparing pthread_t with == is not portable, so use
        pthread_equal().

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

18 years agoMon Feb 27 17:12:40 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Feb 2006 16:13:35 +0000 (16:13 -0000)]
Mon Feb 27 17:12:40 CET 2006 Paolo Molaro <lupus@ximian.com>

* ModuleBuilder.cs: unlink the file before saving
otherwise we might overwrite a file mmapped by the runtime.

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

18 years ago2006-02-27 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 27 Feb 2006 15:02:12 +0000 (15:02 -0000)]
2006-02-27  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Engine.cs, Project.cs: Removed references to IEngine and IProject.

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

18 years agoDo not throw ArgumentException when null is passed
Konstantin Triger [Mon, 27 Feb 2006 12:40:52 +0000 (12:40 -0000)]
Do not throw ArgumentException when null is passed

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

18 years ago* configure.in (runtime/etc/mono/{1.0,2.0}/machine.config): Fix m4-quoting.
Raja R Harinath [Mon, 27 Feb 2006 06:51:13 +0000 (06:51 -0000)]
* configure.in (runtime/etc/mono/{1.0,2.0}/machine.config): Fix m4-quoting.

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

18 years ago2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 27 Feb 2006 03:41:47 +0000 (03:41 -0000)]
2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs(Insert): Combine the last lines unless the insertion
  string ends with \n\n, otherwise we leave one line too many (Fixes
  something I noticed with the testapp for #77526; the bug itself was
  already fixed in the previous checkin)

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

18 years ago2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 27 Feb 2006 03:03:22 +0000 (03:03 -0000)]
2006-02-26  Peter Dennis Bartok  <pbartok@novell.com>

* RichTextBox.cs:
  - SelectionColor and SelectionFont methods no longer set absolute
    styles. Instead, the keep font or color respectively (This
    resolves a long-standing FIXME in the code)
  - When flushing RTF text, the insert code now considers text trailing
    behind the insertion point (Fixes the bug where when replacing
    the selected text via SelectedRTF the remainder of the line behind
    the selection would stay on the first insertion line)
* TextBoxBase.cs:
  - AppendText now updates the selection points after inserting text
  - AppendText now ensures that the last tag (sometimes 0-length) of
    the document is used for the style information (Fixes part of
    bug #77220)
* TextControl.cs:
  - Created new FontDefiniton class to allow describing partial style
    changes
  - StreamLine() now takes a lines argument, to allow it to decide
    whether an encountered zero-length tag is the last in the document
    (which must be kept to not loose the font/color contained in it,
    for later appends)
  - Created Combine() and Split() methods for Marker structs, to
    support marker updates due to reformatted documents (soft line
    wraps)
  - Implemented Document.CaretTag setter
  - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
    of the last line (Not the cause, but also exposed by bug #77220)
  - Added LineTag argument to InsertString method, to allow callers
    to force a certain tag to be used (required to force use of the
    trailing zero-length tag of a document)
  - Now updating markers in Combine(), to avoid stale tag markers
  - Added some method descriptions to aid maintenance
  - Implemented new FormatText concept, allowing additive/subtractive
    formatting by only specifying the components that are to be
    changed. This was needed for resolving the RTB.SelectedColor/
    RTB.SelectedFont fixmes
  - Added Break() support method to allow breaking up linetags (used
    for partial formatting)
  - Added GenerateTextFormat() method. It is used for partial
    formatting and allows to generate a full font/color from given
    attributes and an existing tag.

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

18 years ago * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
Jackson Harper [Mon, 27 Feb 2006 02:45:57 +0000 (02:45 -0000)]
    * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
        correctly. I am spewing the exception though, so we don't hide
the
        bugs.

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

18 years ago * Form.cs: The window manager needs to know when the window
Jackson Harper [Mon, 27 Feb 2006 02:38:09 +0000 (02:38 -0000)]
    * Form.cs: The window manager needs to know when the window
        * state
        has been updated.
        * Hwnd.cs: The window manager stuff now does a proper NCCALC so
        * we
        don't need to factor in border and title sizes in these
        methods. TODO: Remove the args and fix the call points.
        * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
        properly.
        - Let the driver set the cursors.
        - Improve active window handling
        - Correct sizes for title bars and buttons.
        - Match MS drawing better
        * MdiWindowManager.cs: We don't need to handle border style
        updates specially anymore.
        - Check for scrollbars when windows are done moving
        - Handle Active properly.

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

18 years ago flush
Jackson Harper [Mon, 27 Feb 2006 02:30:23 +0000 (02:30 -0000)]
    flush

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

18 years ago * XplatUIWin32.cs: When we create MDI windows we need to reset
Jackson Harper [Mon, 27 Feb 2006 02:14:51 +0000 (02:14 -0000)]
    * XplatUIWin32.cs: When we create MDI windows we need to reset
        some of the style flags, so we get a nice blank window, and can
        draw all the decorations ourselves.
        - Set a clipping rectangle on the non client paint event, the
        window manager drawing code needs one.

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

18 years ago * XplatUIX11.cs: Use the correct caption height.
Jackson Harper [Sun, 26 Feb 2006 23:02:24 +0000 (23:02 -0000)]
    * XplatUIX11.cs:  Use the correct caption height.
        - Translate hittest coordinates to screen coords to match MS.

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

18 years agomake the MessageVector a synchronized collection
Konstantin Triger [Sun, 26 Feb 2006 18:27:43 +0000 (18:27 -0000)]
make the MessageVector a synchronized collection

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

18 years agofixing output assembly name
Konstantin Triger [Sun, 26 Feb 2006 17:04:16 +0000 (17:04 -0000)]
fixing output assembly name

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

18 years agoAdded Oracle specific stubs
Konstantin Triger [Sun, 26 Feb 2006 16:59:28 +0000 (16:59 -0000)]
Added Oracle specific stubs

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 16:15:31 +0000 (16:15 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * IBuildProperty.cs, ICultureStringUtilities.cs, IProject.cs,
        IGlobalEngineAccessor.cs, ITaskElement.cs, IBuildPropertyGroup.cs,
        ITargetCollection.cs, IEngine.cs, IBuildItemGroupCollection.cs,
        IHostLogger.cs, IBuildItem.cs, IHostFeedback.cs,
        ILangSecurityLevelChecker.cs, ITarget.cs, IBuildItemGroup.cs,
        IBuildPropertyGroupCollection.cs: Removed.

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 16:14:07 +0000 (16:14 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ProjectStartedEventArgsTest.cs: Updated.
        * CustomBuildEventArgsTest.cs: Removed.
        * ExternalProjectStartedEventArgs.cs,
        ExternalProjectFinishedEventArgs.cs: Added.

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

18 years agosync with latest NET_2_0 changes
Konstantin Triger [Sun, 26 Feb 2006 15:37:43 +0000 (15:37 -0000)]
sync with latest NET_2_0 changes

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

18 years agoAbstractDataReader.cs: Prevent recursion when GetXXX is overriden and GetXXXSafe...
Konstantin Triger [Sun, 26 Feb 2006 15:13:15 +0000 (15:13 -0000)]
AbstractDataReader.cs: Prevent recursion when GetXXX is overriden and GetXXXSafe is called, ReaderCache.cs: Added IsNumeric to cache containers, AbstractDBCommand.cs, regex.cs, SqlCommand.cs, OleDbCommand.cs: Refactoring

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

18 years agoset default empty Database, throw ArgumentException if url parameter is missing
Konstantin Triger [Sun, 26 Feb 2006 15:10:40 +0000 (15:10 -0000)]
set default empty Database, throw ArgumentException if url parameter is missing

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

18 years agoadding System.Data.OracleClient.jvm/Regex.cs
Konstantin Triger [Sun, 26 Feb 2006 14:30:46 +0000 (14:30 -0000)]
adding System.Data.OracleClient.jvm/Regex.cs

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 14:19:29 +0000 (14:19 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

* BuildItem.cs: Removed IBuildItem references.
* BuildItemGroup.cs: Removed ItemPropertyGroupingBase and
IBuildItemGroup references. Changed Evaluate to internal.
* BuildItemGroupCollection.cs. Removed IBuildItemGroupCollection
reference and hidden constructors.
* BuildProperty.cs: Removed IBuildProperty reference.
* BuildPropertyGroup.cs: Removed ItemPropertyGroupingBase and
IBuildPropertyGroup references. Changed Evaluate to internal.
* BuildPropertyGroupCollection.cs: Removed IBuildPropertyGroupCollection
reference and hidden constructors.
* ConsoleLogger.cs: Updated names of event handlers.
* Engine.cs: Removed IEngine reference. Removed ClearAllProjects and
Escape. Added UnloadAllProjects () and UnloadProject ().
* FileLogger.cs: Removed ApplyParameter ().
* GroupingCollection.cs: Hidden.
* InvalidProjectFileException.cs: Removed HasBeenLogged property.
* ItemPropertyGroupingBase.cs: Commented.
* ProcessingPass.cs: Hidden.
* Project.cs: Removed IProject reference. Changed CurrentEncoding to
Encoding.
* Target.cs: Removed ITarget reference.
* TargetCollection.cs: Removed ITargetCollection reference.
* TaskElement.cs: Removed ITaskElement reference.
* TaskEngineAssemblyResolver.cs: Hidden.
* Utilities.cs: Made static class, removed CheckPath (),
ValidateCulture (), GetSupportedCultures () and added Escape ().

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

18 years agoBeta OracleClient implementation
Konstantin Triger [Sun, 26 Feb 2006 14:09:12 +0000 (14:09 -0000)]
Beta OracleClient implementation

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 14:04:19 +0000 (14:04 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

* CombinePath.cs: Added.

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 14:02:30 +0000 (14:02 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

* AL.cs: Added Output attribute to OutputAssembly.
* AppDomainIsolatedTaskExtension.cs: Added LoadInSeparateAppDomain
attribute.
* Copy.cs: Added Output attribute to DestinationFiles and Required to
SourceFiles.
* CreateItem.cs, CreateProperty.cs: Changed string to string[].
* Csc.cs: Added PdbFile property.
* Error.cs: Added Code and HelpKeyword properties.
* Exec.cs: Changed TaskExtension to ToolTaskExtension.
* GenerateResource.cs: Added NeverLockType and PublicClass properties.
* GenerateTrustInfo.cs: Added Required to TargetZone and Output to
TrustInfoFile.
* GetFrameworkPath.cs, GetFrameworkSdkPath: Added Output to Path.
* MSBuild.cs: Changed string to string[].
* ReadLinesFromFile.cs: Added Required to File.
* RegiserAssembly.cs: Added AssemblyListFile and CreateCodeBase
properties.
* UnregisterAssembly.cs: Added AssemblyListFile property.
* WriteLinesToFile.cs: Added Required to Lines.

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 13:51:21 +0000 (13:51 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

* ICscHostObject.cs, IVbcHostObject.cs: Updated for the new API.

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 13:49:00 +0000 (13:49 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

* CommandLineBuilder.cs: Fixed a typo.
* HostObjectInitializationStatus.cs: Fixed order.
* ToolTask.cs: Updated for new API.

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

18 years ago2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 26 Feb 2006 13:44:13 +0000 (13:44 -0000)]
2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>

* ITask.cs, ITaskHost.cs: Moved attributes to ITaskHost.cs.

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

18 years agocorrecting named parameters
Konstantin Triger [Sun, 26 Feb 2006 13:26:55 +0000 (13:26 -0000)]
correcting named parameters

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

18 years agoPort OleDb invocation style to that of OracleClient
Konstantin Triger [Sun, 26 Feb 2006 12:53:26 +0000 (12:53 -0000)]
Port OleDb invocation style to that of OracleClient

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

18 years ago2006-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Feb 2006 12:38:08 +0000 (12:38 -0000)]
2006-02-26  Atsushi Enomoto <atsushi@ximian.com>

* Iterator.cs : seems like MS XPathNodeIterator.MoveNext() itself does
  not handle XsltContext.PreserveWhitespace() unlike ours. It results
  in not a small performance improvement. (just removed it since it
  didn't cause any errors in XSLT standalone tests.)

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

18 years ago2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
Pedro Martínez Juliá [Sun, 26 Feb 2006 03:00:13 +0000 (03:00 -0000)]
2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>

* DataGridViewRowPostPaintEventArgs.cs,
  DataGridViewCellPaintingEventArgs.cs,
  DataGridViewRowCollection.cs,
  DataGridViewRowPrePaintEventArgs.cs,
  DataGridViewCell.cs: Clear a few warnings and implement a few
  exceptions that should be thrown.

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

18 years ago2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
Pedro Martínez Juliá [Sun, 26 Feb 2006 01:18:45 +0000 (01:18 -0000)]
2006-02-26  Pedro Martinez Julia  <pedromj@gmail.com>

* HandledEventHandler.cs: Resolving a "Replaced" SVN flag.

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

18 years agoAdd params delegate test.
Marek Safar [Sat, 25 Feb 2006 18:08:35 +0000 (18:08 -0000)]
Add params delegate test.

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

18 years agoSat Feb 25 17:57:21 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 25 Feb 2006 16:57:47 +0000 (16:57 -0000)]
Sat Feb 25 17:57:21 CET 2006 Paolo Molaro <lupus@ximian.com>

* icall.c: const fixes and small improvements.

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

18 years agoupdated
Marek Safar [Sat, 25 Feb 2006 16:51:16 +0000 (16:51 -0000)]
updated

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

18 years ago2006-02-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 25 Feb 2006 16:44:57 +0000 (16:44 -0000)]
2006-02-25  Marek Safar  <marek.safar@seznam.cz>

* delegate.cs (DelegateCreation.ResolveMethodGroupExpr): Don't report
error multiple times.

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

18 years agoSat Feb 25 17:39:21 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 25 Feb 2006 16:40:29 +0000 (16:40 -0000)]
Sat Feb 25 17:39:21 CET 2006 Paolo Molaro <lupus@ximian.com>

* inssel.brg: style fixes, mostly to force the updated monoburg
to run for people using svn.

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

18 years ago12 new error tests.
Marek Safar [Sat, 25 Feb 2006 16:39:09 +0000 (16:39 -0000)]
12 new error tests.

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

18 years agoNew tests for partial classes.
Marek Safar [Sat, 25 Feb 2006 16:33:53 +0000 (16:33 -0000)]
New tests for partial classes.

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

18 years ago2006-02-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 25 Feb 2006 16:30:52 +0000 (16:30 -0000)]
2006-02-25  Marek Safar  <marek.safar@seznam.cz>

* NativeConvert.generated.cs: Guarded CLSCompliant attribute by NET_2_0
until mcs is merged with gmcs.

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

18 years ago006-02-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 25 Feb 2006 16:28:44 +0000 (16:28 -0000)]
006-02-25  Marek Safar  <marek.safar@seznam.cz>

New partial class implementation.
A fix for #77027, #77029, #77403

* attribute.cs (Attributable): Made attributes protected.

* class.cs (TypeContainer): Add PartialContainer and partial_parts as
the replacements of ClassPart and PartialContainer.
(TypeContainer.AddClassOrStruct): Call RecordDecl here.
(TypeContainer.AddInterface): Ditto.
(TypeContainer.AddPartial): The main method for partial classes. It checks
for errors and merges ModFlags and attributes. At the end class is added to
partial_parts list.
(TYpeContainer.DefineDefaultConstructor): Checks whether default ctor is
required here.
(TypeContainer.GetClsCompliantAttributeValue): Cope with partial class too.
(TypeContainer.GetNormalPartialBases): Resolves base classes and interfaces
from the rest of partial classes.
(TypeContainer.GetClassBases): Simplified.
(TypeContainer.DefineTypeBuilder): New method, mostly extracted from
DefineType.
(TypeContainer.DefineDefaultConstructor): Is used by derived classes.
(TypeContainer.HasExplicitLayout): Uses Flags now.
(PartialContainer): Removed.
(ClassOrStruct.AddToContainer): Moved enclosing member name check here.
(StaticClass): Was merged with Class.
(Class.GetClassBases): class and static class bases are verified here.
(Class.TypeAttr): Added static attributes when class is static.
(Struct.RegisterFieldForInitialization): Moved from TypeContainer.
(MemberBase): In some cases we need to call parent container for partial
class. It should be eliminated but it's not easy now.

* cs-parser.jay: Replaced all PartialContainer with AddPartial.

* decls.cs (MemberCore.DocComment): Introduced new property as is used by
partial classed to accumulate class comments.
(MemberCore.GetClsCompliantAttributeValue): Moved from TypeContainer.

* doc.cs (GenerateTypeDocComment): Partial classes clean up.

* driver.cs (MainDriver): Tree.GetDecl was removed.

* modifiers.cs (Modifiers): Add partial modifier.

* tree.cs (Tree.decl): Removed.
(RootTypes): Started to use this class more often for root types
specializations.

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