mono.git
18 years ago2006-03-28 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 28 Mar 2006 16:02:44 +0000 (16:02 -0000)]
2006-03-28  Mike Kestner  <mkestner@novell.com>

* MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.

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

18 years ago2006-03-28 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 28 Mar 2006 15:38:24 +0000 (15:38 -0000)]
2006-03-28  Mike Kestner  <mkestner@novell.com>

* MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 12:18:17 +0000 (12:18 -0000)]
2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>

* Array.cs : oops, the last change caused regression. The array must
  be transparent to ReadOnlyCollection, not create another list.

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

18 years ago2006-03-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Mar 2006 11:49:24 +0000 (11:49 -0000)]
2006-03-28  Zoltan Varga  <vargaz@gmail.com>

* atomic.h atomic.c: Applied patch from David S. Miller
<davem@davemloft.net>: Reimplement Interlocked* primitives on sparc
using CAS/CASx when __GNUC__, else we will fall back to the generic
pthread version.

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

18 years ago*** merged revisions from mcs: 58399, 58530, 58538, 58545, 58551-58553, 58641, 58642
Raja R Harinath [Tue, 28 Mar 2006 11:47:57 +0000 (11:47 -0000)]
*** merged revisions from mcs: 58399, 58530, 58538, 58545, 58551-58553, 58641, 58642

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 11:40:27 +0000 (11:40 -0000)]
2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>

* Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
  Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
  In 2.0 some members became non-virtual.

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 11:37:58 +0000 (11:37 -0000)]
2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>

* Collection.cs : Count and Item are not virtual.

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 10:18:20 +0000 (10:18 -0000)]
2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added ProgressChangedEvent[Args|Handler] in
  System.ComponentModel, and several WebClient event args in
  System.Net.

* ProgressChangedEventHandler.cs ProgressChangedEventArgs.cs :
  added 2.0 types.

* DownloadDataCompletedEventArgs.cs
  DownloadDataCompletedEventHandler.cs
  DownloadProgressChangedEventArgs.cs
  DownloadProgressChangedEventHandler.cs
  DownloadStringCompletedEventArgs.cs
  OpenReadCompletedEventArgs.cs
  OpenReadCompletedEventHandler.cs
  OpenWriteCompletedEventArgs.cs
  OpenWriteCompletedEventHandler.cs
  UploadDataCompletedEventArgs.cs
  UploadDataCompletedEventHandler.cs
  UploadFileCompletedEventArgs.cs
  UploadFileCompletedEventHandler.cs
  UploadProgressChangedEventArgs.cs
  UploadProgressChangedEventHandler.cs
  UploadStringCompletedEventArgs.cs
  UploadStringCompletedEventHandler.cs
  UploadValuesCompletedEventArgs.cs
  UploadValuesCompletedEventHandler.cs : added 2.0 types.

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

18 years ago*** merged revisions from mcs: 58199, 58238, 58245
Raja R Harinath [Tue, 28 Mar 2006 10:07:43 +0000 (10:07 -0000)]
*** merged revisions from mcs: 58199, 58238, 58245

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

18 years ago*** merged revision 58196 from mcs
Raja R Harinath [Tue, 28 Mar 2006 09:41:30 +0000 (09:41 -0000)]
*** merged revision 58196 from mcs

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

18 years ago*** merged revisions from mcs: 58145, 58146
Raja R Harinath [Tue, 28 Mar 2006 07:48:48 +0000 (07:48 -0000)]
*** merged revisions from mcs: 58145, 58146

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

18 years ago*** merged revision 58142 from mcs
Raja R Harinath [Tue, 28 Mar 2006 07:28:23 +0000 (07:28 -0000)]
*** merged revision 58142 from mcs

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

18 years ago2006-03-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 28 Mar 2006 07:21:59 +0000 (07:21 -0000)]
2006-03-27  Marek Safar  <marek.safar@seznam.cz>

* ecore.cs (Expression.ResolveAsConstant): Clean up, enum constants should
be now EnumConstants only.

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

18 years ago2006-03-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 28 Mar 2006 07:16:15 +0000 (07:16 -0000)]
2006-03-27  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs, driver.cs: Reset more caches.

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

18 years ago*** merged revisions from mcs: 58118, 58124, 58126, 58128, 58129, 58133
Raja R Harinath [Tue, 28 Mar 2006 07:14:26 +0000 (07:14 -0000)]
*** merged revisions from mcs: 58118, 58124, 58126, 58128, 58129, 58133

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

18 years ago*** merged revision 58117 from mcs
Raja R Harinath [Tue, 28 Mar 2006 06:34:38 +0000 (06:34 -0000)]
*** merged revision 58117 from mcs

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

18 years agoImplemented FontInfo.ShouldSerializeNames and its Tests.
Alexandre Gomes [Tue, 28 Mar 2006 04:41:43 +0000 (04:41 -0000)]
Implemented FontInfo.ShouldSerializeNames and its Tests.

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 03:44:08 +0000 (03:44 -0000)]
2006-03-28  Atsushi Enomoto <atsushi@ximian.com>

* XmlNameEntry.cs XmlNameEntryCache.cs :
  Added atomization support for prefixed names.
  Inspired by Joshua Tauberer's patch.
* XmlElement.cs XmlAttribute.cs : use above.

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 02:02:10 +0000 (02:02 -0000)]
2006-03-28  Atsushi Enomoto <atsushi@ximian.com>

Based on the patch by Alexandre Alapetite:
* RelaxngException.cs : added another constructor that takes
  pattern, string and innerException.
* RelaxngReader.cs
  RelaxngPattern.cs :
  - wrap xml resolution error in RelaxngInclude.Read(). This change
    is argurable but might be convenient for certain users.
  - Added another constructor to RelaxngReader, and another overload
    for RelaxngPattern.Read(), otherwise RelaxngPattern.Read() can
    never use different XmlResolvers.

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 01:10:54 +0000 (01:10 -0000)]
2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>

* Dns.cs : filled missing NET_2_0 members.

* DnsTest.cs : added test for GetHostEntry.

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

18 years ago2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Mar 2006 01:09:20 +0000 (01:09 -0000)]
2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>

* IPAddress.cs : ugh, I was testing with run-test-ondotnet, not
  run-test. Those IPv6 properties needed to be reimplemented.

* IPAddressTest.cs : actually #11 in TryParse() is not working.
  added more tests on IsIPv6Blah properties.

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

18 years ago2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 27 Mar 2006 23:00:10 +0000 (23:00 -0000)]
2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtilityTest.cs: test from bug #77931.

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

18 years ago2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 27 Mar 2006 22:58:30 +0000 (22:58 -0000)]
2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
fails to parse as an integer. Fixes bug #77931.

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

18 years agoAdded new tests
Crestez Dan Leonard [Mon, 27 Mar 2006 21:40:29 +0000 (21:40 -0000)]
Added new tests

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

18 years ago2006-03-27 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 27 Mar 2006 21:24:56 +0000 (21:24 -0000)]
2006-03-27  Mike Kestner  <mkestner@novell.com>

* ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
the Hilight state to adapt to Alex's CPDrawBorder3D changes.

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

18 years ago2006-03-27 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Mon, 27 Mar 2006 21:01:12 +0000 (21:01 -0000)]
2006-03-27  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.

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

18 years ago2006-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Mar 2006 19:12:24 +0000 (19:12 -0000)]
2006-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* IPAddress.cs : added NET_2_0 TryParse() and IPv6 related properties.

* IPAddressTest.cs : added some tests for TryParse() and IPv6 related
  properties.

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

18 years ago2006-03-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 27 Mar 2006 19:05:58 +0000 (19:05 -0000)]
2006-03-27  Marek Safar  <marek.safar@seznam.cz>

* ILGenerator.cs: Tune up label defaults, switched to double resizing.

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

18 years ago2006-03-27 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 27 Mar 2006 16:52:01 +0000 (16:52 -0000)]
2006-03-27  Robert Jordan  <robertj@gmx.net>

* CachingCompiler.cs:  change the compilation locking scheme
from "one mcs per process" to "one mcs per file".

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

18 years agouse standard JDBC style names
Konstantin Triger [Mon, 27 Mar 2006 16:08:28 +0000 (16:08 -0000)]
use standard JDBC style names

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

18 years agorename OleDbSqlServerProvider class to OleDbSqlServerProvider2000; ensure all the...
Konstantin Triger [Mon, 27 Mar 2006 16:05:55 +0000 (16:05 -0000)]
rename OleDbSqlServerProvider class to OleDbSqlServerProvider2000; ensure all the key-values are correctly passed to DriverManager

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

18 years ago* test_catalog.xml: fixed not working tests
Vladimir Krasnov [Mon, 27 Mar 2006 15:46:45 +0000 (15:46 -0000)]
* test_catalog.xml: fixed not working tests
* almost_config.xml: fixed almost for not a bug
* reference/HyperLinkColumn_DataTextField.aspx.xml, reference/HyperLinkColumn_DataNavigateUrlField.aspx.xml: removed reference results of removed tests
* reference/WebControl_CopyBaseAttributes_W.aspx.xml: same
* WebControl_CopyBaseAttributes_W.aspx.cs: removed tests that causes differences but decided to be not a bug
* HyperLinkColumn_DataNavigateUrlField.aspx: removed tests that causes differences but decided to be not a bug
* HyperLinkColumn_DataNavigateUrlField.aspx.cs: same
* HyperLinkColumn_DataTextField.aspx: same
* HyperLinkColumn_DataTextField.aspx.cs: same

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

18 years agorefactoring
Konstantin Triger [Mon, 27 Mar 2006 15:35:21 +0000 (15:35 -0000)]
refactoring

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

18 years ago2006-03-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 27 Mar 2006 14:09:27 +0000 (14:09 -0000)]
2006-03-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: Inherit from Component, and use protected
Events property to save the event handlers. Also add internal
methods to trigger the events and remove pragmas.

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

18 years ago*** merged revisions from mcs: 57916, 58040, 58050, 58115
Raja R Harinath [Mon, 27 Mar 2006 12:43:12 +0000 (12:43 -0000)]
*** merged revisions from mcs: 57916, 58040, 58050, 58115

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

18 years agoFix possible NullReferenceException
Boris Kirzner [Mon, 27 Mar 2006 12:25:37 +0000 (12:25 -0000)]
Fix possible NullReferenceException

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

18 years agofix changelog
Raja R Harinath [Mon, 27 Mar 2006 12:22:44 +0000 (12:22 -0000)]
fix changelog

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

18 years ago*** merged revisions from mcs: 57750, 58144
Raja R Harinath [Mon, 27 Mar 2006 12:22:08 +0000 (12:22 -0000)]
*** merged revisions from mcs: 57750, 58144

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

18 years ago*** merged revision 57580 from mcs
Raja R Harinath [Mon, 27 Mar 2006 11:40:03 +0000 (11:40 -0000)]
*** merged revision 57580 from mcs

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

18 years agoFix Soap Serialization .NET compatibility
Boris Kirzner [Mon, 27 Mar 2006 11:39:36 +0000 (11:39 -0000)]
Fix Soap Serialization .NET compatibility

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

18 years ago2006-03-27 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 27 Mar 2006 11:37:39 +0000 (11:37 -0000)]
2006-03-27  Dick Porter  <dick@ximian.com>

        * shared.c (_wapi_shm_file_open): Break out of a loop if the
        shared file is smaller than expected.  (We loop a few times in
        case another process is in the middle of creating the file.)

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

18 years agoupdate
Raja R Harinath [Mon, 27 Mar 2006 11:14:46 +0000 (11:14 -0000)]
update

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

18 years agoRestore -out:test-foo.exe when we use support files
Raja R Harinath [Mon, 27 Mar 2006 10:50:04 +0000 (10:50 -0000)]
Restore -out:test-foo.exe when we use support files

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

18 years agoMon Mar 27 11:15:00 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Mar 2006 09:21:38 +0000 (09:21 -0000)]
Mon Mar 27 11:15:00 CEST 2006 Paolo Molaro <lupus@ximian.com>

* reflection.c, class-internals.h, domain.c: fixed handling of types
used as values for objects in custom attributes (bug #77915):

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

18 years ago2006-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Mar 2006 02:36:21 +0000 (02:36 -0000)]
2006-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* TimeSpanTest.cs : updated tests to not fail under run-test-ondotnet
  on 2.0 profile. Thus marked them as NotWorking (since they are
  regarded as working).

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

18 years ago2006-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 26 Mar 2006 23:36:31 +0000 (23:36 -0000)]
2006-03-27  Atsushi Enomoto <atsushi@ximian.com>

Patch by Alexandre Alapetite (http://alexandre.alapetite.net/cv/)
* RelaxngPattern.cs : RelaxngInclude.Read() could be NRE when
  there is an error in XmlTextReader .ctor().
* RelaxngValidatingReader.cs : If the input XmlReader is already
  positioned on the first node to validate, skip Read() here.

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

18 years ago2006-03-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 26 Mar 2006 20:16:34 +0000 (20:16 -0000)]
2006-03-26  Marek Safar  <marek.safar@seznam.cz>

* cs-tokenizer.cs (adjust_real): Uses float.Parse for float literals.

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

18 years ago2006-03-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 26 Mar 2006 19:44:12 +0000 (19:44 -0000)]
2006-03-26  Marek Safar  <marek.safar@seznam.cz>

* constant.cs (Constant.Reduce): Replaced EmitContext with single bool
for easier reuse. Updated all overrides.
(IntegralConstant): New base class for all integral constants.
(IntegralConstant.Error_ValueCannotBeConverted): When assigned value if out
of the constant range, report custom error.
(UIntConstant.Reduce): Fixed uint conversion.

* ecore.cs, literal.cs: Reduce updates.

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

18 years agoRemoved unused variable from previous commit.
Marek Safar [Sun, 26 Mar 2006 18:51:32 +0000 (18:51 -0000)]
Removed unused variable from previous commit.

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

18 years agocheck for SQLServer uniquesidentifier type for VARCHAR
Konstantin Triger [Sun, 26 Mar 2006 17:03:20 +0000 (17:03 -0000)]
check for SQLServer uniquesidentifier type for VARCHAR

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

18 years agoFixed tests.
Marek Safar [Sun, 26 Mar 2006 16:07:02 +0000 (16:07 -0000)]
Fixed tests.

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

18 years ago2006-03-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 26 Mar 2006 14:18:32 +0000 (14:18 -0000)]
2006-03-26  Marek Safar  <marek.safar@seznam.cz>

A fix for #75813.

* class.cs (Constructor.Define): Removed extra if for default ctors.
A patch from Atsushi Enomoto.

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

18 years ago*** merged revision 57555 from mcs
Raja R Harinath [Sun, 26 Mar 2006 13:43:58 +0000 (13:43 -0000)]
*** merged revision 57555 from mcs

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

18 years ago * ThemeWin32Classic.cs:
Alexander Olk [Sun, 26 Mar 2006 13:28:38 +0000 (13:28 -0000)]
* ThemeWin32Classic.cs:
  - GroupBox: Inserted a little gap between the text and the lines
    on the right side
  - Made the code in CPDrawBorder3D more readable
  - Corrected the drawing location of the up and down arrows in
    CPDrawScrollButton

2006-03-25  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago * ControlPaint.cs: Corrected line widths in DrawBorder for
Alexander Olk [Sun, 26 Mar 2006 12:12:22 +0000 (12:12 -0000)]
* ControlPaint.cs: Corrected line widths in DrawBorder for
  ButtonBorderStyle Inset and Outset

2006-03-25  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-03-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 26 Mar 2006 11:45:20 +0000 (11:45 -0000)]
2006-03-26  Marek Safar  <marek.safar@seznam.cz>

* rootcontext.cs (ResolveCore): Removed System.INullableValue.

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

18 years ago2006-03-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 26 Mar 2006 10:10:05 +0000 (10:10 -0000)]
2006-03-26  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.ResolveConstructor): Conversion was moved to
GetAttributableValue.

* constant.cs (Constant.GetAttributableValue): Does implicit conversion
when required.

* convert.cs (ImplicitConversionRequired): Error message moved to
DoubleLiteral.

* ecore.cs (Expression.GetAttributableValue): Add type parameter for
automatic implicit conversion of an output value.
(EnumConstant.GetAttributableValue): Don't reduce the enum constants.

* expression.cs (ArrayCreation.GetAttributableValue): Add element type
conversion.
(TypeOf.GetAttributableValue): Add extra handling for object type.

* literal.cs (DoubleLiteral.Error_ValueCannotBeConverted): Doubles can have
special error message.

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

18 years agoupdated
Marek Safar [Sun, 26 Mar 2006 09:52:39 +0000 (09:52 -0000)]
updated

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

18 years ago * ThemeWin32Classic.cs:
Alexander Olk [Sat, 25 Mar 2006 20:14:25 +0000 (20:14 -0000)]
* ThemeWin32Classic.cs:
  - Rewrote the totally broken CPDrawBorder3D method. That was
    one of the main problems for the terrific ThemeWin32Classic
    look
  - Updated and corrected Button drawing
  - Correct the dimensions of the SizeGrip to match ms ones
  - Removed a small drawing glitch in DrawComboBoxEditDecorations
* XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  Border3DStyle.Sunken to match ms.

2006-03-25  Alexander Olk  <alex.olk@googlemail.com>

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

18 years agoUpdated
Marek Safar [Sat, 25 Mar 2006 18:21:26 +0000 (18:21 -0000)]
Updated

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

18 years ago2006-03-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 25 Mar 2006 18:19:42 +0000 (18:19 -0000)]
2006-03-25  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Constructor.Emit): Don't crash when struct ctor is
InternalCall.
(Constructor.ApplyAttributeBuilder): Transform MethodImplAttribute to be
compatible with MS runtime.

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

18 years ago2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 25 Mar 2006 16:40:38 +0000 (16:40 -0000)]
2006-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* RegionDataTest.cs: Add test cases for GetRegionData when a region is
path-based (using bitmaps in libgdiplus) and for regions that had a
binary operations applied (i.e. using a path tree in libgdiplus).
* RegionNonRectTest.cs: Add test cases for GetRegionScans and all
binary operators (Union, Intersection, Complement, Exclude and Xor)
on path based regions (using bitmaps in libgdiplus).

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

18 years ago2006-03-25 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 25 Mar 2006 15:39:48 +0000 (15:39 -0000)]
2006-03-25  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: First small part of the "de-uglify
  ThemeWin32Classic" effort, SizeGrip

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

18 years ago2006-03-25 Senganal T <tsenganal@novell.com>
Senganal T [Sat, 25 Mar 2006 08:56:36 +0000 (08:56 -0000)]
2006-03-25  Senganal T <tsenganal@novell.com>

* Test/System.Data/DataTableTest.cs :  Fixed NotWorkingTest
* System.Data/DataRow.cs :
- RejectChanges : When row is in Deleted state, add the row back to
Indexes and Validate the row.

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

18 years ago* XmlSchemaImporterTests.cs: Added NotWorking tests as preparation
Gert Driesen [Sat, 25 Mar 2006 07:56:55 +0000 (07:56 -0000)]
* XmlSchemaImporterTests.cs: Added NotWorking tests as preparation
for XmlReflectionImporter and SoapReflectionImporter fixes. Reordered
tests.

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

18 years agoPara
Miguel de Icaza [Sat, 25 Mar 2006 02:57:04 +0000 (02:57 -0000)]
Para

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

18 years ago * WebConfigurationManager.cs (GetConfig): add a fallback case for
Chris Toshok [Sat, 25 Mar 2006 00:01:36 +0000 (00:01 -0000)]
* WebConfigurationManager.cs (GetConfig): add a fallback case for
configuration sections that don't subclass from
ConfigurationSection.

2006-03-24  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-03-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 24 Mar 2006 23:57:42 +0000 (23:57 -0000)]
2006-03-24  Chris Toshok  <toshok@ximian.com>

* CompilerInfo.cs (Init): make this internal as well, so
CodeDomConfigurationHandler can call it.

* CodeDomConfigurationHandler.cs (ReadCompilers): we need to call
CompilerInfo.Init after setting CompilerInfo.TypeName.

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

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

* exceptions-sparc.c: Applied patch from David S. Miller  <davem@sunset.davemloft.net>: Implement correct support for sparc/linux.

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

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

* configure.in: Applied patch from David S. Miller <davem@davemloft.net>: Fix support for sparc/linux.

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

18 years ago2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Mar 2006 23:11:09 +0000 (23:11 -0000)]
2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/ControlBuilder.cs: when creating a default property
builder, handle strings specially.

* System.Web.UI/StringPropertyBuilder.cs: new builder used in
TextBox 2.0.
* System.Web.dll.sources: add StringPropertyBuilder.
* System.Web.Compilation/TemplateControlCompiler.cs: handle the new
StringPropertyBuilder.

Fixes bug #77762.

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

18 years agofix another NRE
Chris Toshok [Fri, 24 Mar 2006 21:26:26 +0000 (21:26 -0000)]
fix another NRE

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

18 years ago * XplatUIX11.cs: Give a max idle time of one second, this
Jackson Harper [Fri, 24 Mar 2006 21:22:20 +0000 (21:22 -0000)]
    * XplatUIX11.cs: Give a max idle time of one second, this
        * matches
        MS and forces an Idle event every second when there are no other
        events in the queue.

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

18 years ago2006-03-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 24 Mar 2006 21:20:01 +0000 (21:20 -0000)]
2006-03-24  Chris Toshok  <toshok@ximian.com>

* BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
if system.web/compilation doesn't list a compiler for our
language.

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

18 years ago2006-03-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 24 Mar 2006 21:05:41 +0000 (21:05 -0000)]
2006-03-24  Chris Toshok  <toshok@ximian.com>

* WebConfigurationHost.cs: fix bug where OpenWebConfiguration
("/") would result in 2 configurations for that toplevel path to
be opened.

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

18 years agomagic file(1) patch.
Paolo Molaro [Fri, 24 Mar 2006 20:34:04 +0000 (20:34 -0000)]
magic file(1) patch.

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

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

* ListView.cs: Handle (Large|Small)ImageList == null more robustly.
* ListView.Item.cs: fix layout issues with null image lists and images
smaller than checkbox size.
* ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
mode like MS does.  It's weird, but consistent.  ;-)
Fixes #77890.

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

18 years agoadd a couple more tests
Chris Toshok [Fri, 24 Mar 2006 19:21:48 +0000 (19:21 -0000)]
add a couple more tests

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

18 years agoNew test.
Martin Baulig [Fri, 24 Mar 2006 19:17:03 +0000 (19:17 -0000)]
New test.

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

18 years ago2006-03-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Mar 2006 19:16:42 +0000 (19:16 -0000)]
2006-03-24  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_setup_fields): Added support for generic
instances; fixes #77580.

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

18 years agoFri Mar 24 20:07:19 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 24 Mar 2006 19:07:58 +0000 (19:07 -0000)]
Fri Mar 24 20:07:19 CET 2006 Paolo Molaro <lupus@ximian.com>

* debug-debugger.c: make it compile without the Boehm GC.

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

18 years agoFixed compilation after Zoltan's breakage.
Paolo Molaro [Fri, 24 Mar 2006 19:06:46 +0000 (19:06 -0000)]
Fixed compilation after Zoltan's breakage.

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

18 years agoadd sections for system.codedom and system.data
Chris Toshok [Fri, 24 Mar 2006 19:02:26 +0000 (19:02 -0000)]
add sections for system.codedom and system.data

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

18 years ago2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Mar 2006 17:46:37 +0000 (17:46 -0000)]
2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* assembly.c: publickeytoken is case insensitive. Fixes bug #77898.

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

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

        * file-io.c (get_file_attributes): More stat macro breakage.
        Fixes bug 77759.

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

18 years agoUpdate SSL implementation to match 1.1.13.x branch
Sebastien Pouliot [Fri, 24 Mar 2006 16:37:22 +0000 (16:37 -0000)]
Update SSL implementation to match 1.1.13.x branch

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

18 years agoa few minor fixes to make the test tools more useful
Sebastien Pouliot [Fri, 24 Mar 2006 16:36:28 +0000 (16:36 -0000)]
a few minor fixes to make the test tools more useful

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

18 years ago2006-03-24 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 24 Mar 2006 16:09:39 +0000 (16:09 -0000)]
2006-03-24  Mike Kestner  <mkestner@novell.com>

* ListView.cs: Scroll wheel support for the item control.  Fixes
#77839.

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

18 years agoUpdates to the profiler section.
Paolo Molaro [Fri, 24 Mar 2006 14:38:51 +0000 (14:38 -0000)]
Updates to the profiler section.

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

18 years agoFri Mar 24 15:26:00 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 24 Mar 2006 14:27:08 +0000 (14:27 -0000)]
Fri Mar 24 15:26:00 CET 2006 Paolo Molaro <lupus@ximian.com>

* profiler.c: added the file=filename option in the default profiler
to output the profile data to filename.

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

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

        * handles.c:
        * wapi-private.h:
        * shared.h:
        * shared.c: Delete the semaphores and shared files when the last
        process has finished with them

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

18 years ago2006-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Mar 2006 11:20:24 +0000 (11:20 -0000)]
2006-03-24  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : made internal implementation as pointer-based,
  and added pointer-based converter method overloads.

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

18 years ago2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Mar 2006 07:52:52 +0000 (07:52 -0000)]
2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* String.cs : oops, NET_2_0.

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

18 years ago2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Mar 2006 07:48:55 +0000 (07:48 -0000)]
2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* String.cs : added new IndexOf() and LastIndexOf() overloads, and
  IEnumerable<char>.GetEnumerator().

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

18 years agoBackport r58366 from gmcs/
Raja R Harinath [Fri, 24 Mar 2006 06:51:52 +0000 (06:51 -0000)]
Backport r58366 from gmcs/

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

18 years ago * MonthCalendar.cs: Save the rect of the clicked date so we can
Jackson Harper [Fri, 24 Mar 2006 01:13:38 +0000 (01:13 -0000)]
    * MonthCalendar.cs: Save the rect of the clicked date so we can
        use it for invalidation.
        - Try to cut down on the number of invalidates
        - Invalidate the rect the mouse is over and was over when moving
        the mouse, so we get the focus box following the cursor.

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

18 years ago * ScrollableControl.cs: Special case negative sized areas, not
Jackson Harper [Fri, 24 Mar 2006 00:47:37 +0000 (00:47 -0000)]
    * ScrollableControl.cs: Special case negative sized areas, not
        zero.

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

18 years ago2006-03-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 23 Mar 2006 22:27:43 +0000 (22:27 -0000)]
2006-03-23  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.ResolveConstructor): Check for an invalid
attribute arguments here.

* class.cs (Indexer.Define): The check was moved to attribute class.

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

18 years agoremove Item since it conflicts with 'this []'
Chris Toshok [Thu, 23 Mar 2006 22:27:01 +0000 (22:27 -0000)]
remove Item since it conflicts with 'this []'

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

18 years agoadd internal GetDbProviderFactory method, to actually instantiate a factory and fall...
Chris Toshok [Thu, 23 Mar 2006 22:25:09 +0000 (22:25 -0000)]
add internal GetDbProviderFactory method, to actually instantiate a factory and fall back to SqlClientFactory

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