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
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
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
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
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
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
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
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
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
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
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
Jackson Harper [Wed, 1 Mar 2006 19:24:07 +0000 (19:24 -0000)]
* ScrollBar.cs: Refresh afterbeing resized.
svn path=/trunk/mcs/; revision=57479
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
Paolo Molaro [Wed, 1 Mar 2006 19:13:26 +0000 (19:13 -0000)]
More missing internal flags.
svn path=/trunk/mono/; revision=57474
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alexander Olk [Tue, 28 Feb 2006 19:25:41 +0000 (19:25 -0000)]
- Fix typo
svn path=/trunk/mcs/; revision=57417
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Mon, 27 Feb 2006 22:48:30 +0000 (22:48 -0000)]
6 new tests.
svn path=/trunk/mcs/; revision=57360
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
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
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
Miguel de Icaza [Mon, 27 Feb 2006 21:39:24 +0000 (21:39 -0000)]
Only in 2.0
svn path=/trunk/mcs/; revision=57356
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jackson Harper [Mon, 27 Feb 2006 02:30:23 +0000 (02:30 -0000)]
flush
svn path=/trunk/mcs/; revision=57319
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
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
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
Konstantin Triger [Sun, 26 Feb 2006 17:04:16 +0000 (17:04 -0000)]
fixing output assembly name
svn path=/trunk/mcs/; revision=57315
Konstantin Triger [Sun, 26 Feb 2006 16:59:28 +0000 (16:59 -0000)]
Added Oracle specific stubs
svn path=/trunk/mcs/; revision=57314
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
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
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
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
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