mono.git
19 years ago* Makefile : permit to create reference results on Mono; change
Andrew Skiba [Mon, 23 May 2005 06:50:29 +0000 (06:50 -0000)]
* Makefile : permit to create reference results on Mono; change
comments in Makefile, so they are not printed during the
build
* xslttest.cs : forgot to write the generated results

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

19 years agoVBBinder.cs : Support for named arguments in late binding
Satya Sudha K [Mon, 23 May 2005 06:28:22 +0000 (06:28 -0000)]
VBBinder.cs : Support for named arguments in late binding

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

19 years ago* statement.cs : Support named arguments in late binding
Satya Sudha K [Mon, 23 May 2005 06:24:40 +0000 (06:24 -0000)]
* statement.cs : Support named arguments in late binding

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

19 years ago2005-05-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 23 May 2005 03:19:27 +0000 (03:19 -0000)]
2005-05-23  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.Query : removed the whole directory (removed from .net 2.0)

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

19 years ago2005-05-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 23 May 2005 01:26:40 +0000 (01:26 -0000)]
2005-05-23  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaInference.cs : For each resulting schema, it has to emit
  xs:import when it has a reference to external schema components.

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

19 years ago2005-05-22 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 22 May 2005 22:29:53 +0000 (22:29 -0000)]
2005-05-22  Ben Maurer  <bmaurer@ximian.com>

* BitConverter.cs: Speed this up, fixing 74014. Patch from
`Aleksandar Dezelin'.

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

19 years ago2005-05-22 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 22 May 2005 21:45:58 +0000 (21:45 -0000)]
2005-05-22  Ben Maurer  <bmaurer@ximian.com>

* configure.in: Add config stuff for libsqlite{,3} and
libX11.

* data/config.in: Add dllmaps for above mentioned libs. This means
that the devel packages are not needed.

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

19 years ago2005-03-22 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 22 May 2005 19:17:13 +0000 (19:17 -0000)]
2005-03-22  Peter Bartok  <pbartok@novell.com>

* Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
  if s was null.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 18:44:00 +0000 (18:44 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 18:25:06 +0000 (18:25 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Ongoing IA64 work.

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

19 years ago2005-05-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 22 May 2005 15:20:04 +0000 (15:20 -0000)]
2005-05-22  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Renamed CER to Cer to match 2.0 beta2.

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

19 years ago2005-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sun, 22 May 2005 14:20:34 +0000 (14:20 -0000)]
2005-05-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* NpgsqlDataReader.cs: Fixed a bug in Read(). It was throwing an InvalidOperationException when trying to read from a query which didn't return any resultset. It should just return false. Thanks Helge Lenuweit <helge at lenuweit dot net> for heads up.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 13:32:06 +0000 (13:32 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 13:31:28 +0000 (13:31 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Ongoing IA64 work.

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

19 years agocleanup + exception
Konstantin Triger [Sun, 22 May 2005 11:10:46 +0000 (11:10 -0000)]
cleanup + exception

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

19 years ago2005-05-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 22 May 2005 06:25:51 +0000 (06:25 -0000)]
2005-05-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaInference.cs : When doing lax inference, set minOccurs="0"
  of those elements in a sequence. Fixed misspellings.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 01:30:59 +0000 (01:30 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 01:29:00 +0000 (01:29 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Ongoing IA64 work.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 01:27:09 +0000 (01:27 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* basic.cs objects.cs: Move tests accessing static variables as well.

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

19 years ago2005-05-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 22 May 2005 01:22:20 +0000 (01:22 -0000)]
2005-05-22  Zoltan Varga  <vargaz@freemail.hu>

* basic.cs objects.cs: Move test_0_pin_string to objects.cs.

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

19 years agoIn Test/System.Web.Security:
Sebastien Pouliot [Sun, 22 May 2005 00:34:04 +0000 (00:34 -0000)]
In Test/System.Web.Security:
2005-05-21  Sebastien Pouliot  <sebastien@ximian.com>

* FormsAuthenticationTest.cs: New. Unit tests for FormsAuthentication.
In .:
2005-05-21  Sebastien Pouliot  <sebastien@ximian.com>

* System.Web_test.dll.sources: Added tests for FormsAuthentication.

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

19 years ago2005-05-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 22 May 2005 00:12:13 +0000 (00:12 -0000)]
2005-05-21  Sebastien Pouliot  <sebastien@ximian.com>

* FormsAuthentication.cs: Hash the UTF8 representation of the password
strings (to be compatible with Microsoft implementation).

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

19 years ago2005-05-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 21 May 2005 20:52:34 +0000 (20:52 -0000)]
2005-05-21  Ben Maurer  <bmaurer@ximian.com>

* UnixUserTest.cs, UnixGroupTest.cs: Disable tests that might not
work on a Solaris box with NIS. Bug #72293.

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

19 years ago2005-05-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 21 May 2005 20:45:11 +0000 (20:45 -0000)]
2005-05-21  Ben Maurer  <bmaurer@ximian.com>

* StringTest.cs: Add a test for bug #62160

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

19 years ago2004-10-03 Gert Driesen <drieseng@users.sourceforge.net>
Ben Maurer [Sat, 21 May 2005 19:46:32 +0000 (19:46 -0000)]
2004-10-03  Gert Driesen  <drieseng@users.sourceforge.net>

* StringTest.cs: Added test for issue with replacing of null chars
(bug #67395).

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

19 years ago2005-05-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 21 May 2005 10:55:29 +0000 (10:55 -0000)]
2005-05-21  Atsushi Enomoto <atsushi@ximian.com>

* DTDObjectModel.cs : For simple type restriction creation it failed
  when there is no enumerations (largely failed).

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

19 years ago2005-05-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 21 May 2005 10:33:07 +0000 (10:33 -0000)]
2005-05-21  Atsushi Enomoto <atsushi@ximian.com>

* XmlImplementation.cs : added new NET_2_0 ctor.
  Let's check corcompare:-/

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

19 years ago flush
Jackson Harper [Sat, 21 May 2005 08:31:27 +0000 (08:31 -0000)]
flush

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

19 years ago2005-05-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 21 May 2005 05:44:57 +0000 (05:44 -0000)]
2005-05-21  Ben Maurer  <bmaurer@ximian.com>

* BaseDataList.cs: Caption is in 1.1 too, though not
documented. Gonz owes me [more] ice cream. Yummmmm.

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

19 years ago2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 May 2005 22:05:39 +0000 (22:05 -0000)]
2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BaseDataList.cs: implemented 2.0 Caption property.

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

19 years ago2005-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 22:02:15 +0000 (22:02 -0000)]
2005-05-21  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (SIG_HANDLER_SIGNATURE): Fix warning.

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

19 years ago2005-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 22:00:48 +0000 (22:00 -0000)]
2005-05-21  Zoltan Varga  <vargaz@freemail.hu>

* driver.c: Always print failed tests.

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

19 years ago2005-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 21:58:38 +0000 (21:58 -0000)]
2005-05-21  Zoltan Varga  <vargaz@freemail.hu>

* mini-codegen.c: Use cfg->frame_reg instead of a macro for the
frame pointer.

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

19 years ago2005-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 21:57:19 +0000 (21:57 -0000)]
2005-05-21  Zoltan Varga  <vargaz@freemail.hu>

* *ia64*: Ongoing IA64 work.

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

19 years ago2005-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 21:55:37 +0000 (21:55 -0000)]
2005-05-21  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Ongoing IA64 work.

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

19 years ago2005-05-20 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 20 May 2005 21:50:19 +0000 (21:50 -0000)]
2005-05-20  Peter Bartok  <pbartok@novell.com>

* CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData

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

19 years ago2005-05-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 20 May 2005 21:41:18 +0000 (21:41 -0000)]
2005-05-20  Miguel de Icaza  <miguel@novell.com>

* TypeBuilder.cs (UnderlyingSystemType): should always return this
according to Zoltan.  Old code left there, but should probably be removed.

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

19 years ago2005-05-20 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 20 May 2005 21:41:00 +0000 (21:41 -0000)]
2005-05-20  Ben Maurer  <bmaurer@ximian.com>

* driver.cs (Main): If the switch argument isn't actually a
switch, treat it like a file. Fixes 73405.

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

19 years ago2005-05-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 20 May 2005 21:38:29 +0000 (21:38 -0000)]
2005-05-20  Miguel de Icaza  <miguel@novell.com>

* typemanager.cs: Do not throw an exception in the TypeBuilder
case, we take care of it on the TypeCode.

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

19 years ago2005-05-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 20 May 2005 21:38:20 +0000 (21:38 -0000)]
2005-05-20  Miguel de Icaza  <miguel@novell.com>

* typemanager.cs (EnumToUnderlying): Do not throw if we do not
know the type at this stage, just break through.   Fixes #75008

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 21:07:12 +0000 (21:07 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (MPH_C_SOURCE): Add map-icalls.h. Fixes #75012.

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

19 years ago2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 May 2005 20:59:09 +0000 (20:59 -0000)]
2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
number 74989.

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

19 years agofix dist
Ben Maurer [Fri, 20 May 2005 20:04:51 +0000 (20:04 -0000)]
fix dist

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

19 years ago2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 20 May 2005 19:57:30 +0000 (19:57 -0000)]
2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: Basic painting methods
* DataGridTableStyle.cs: Set table style in the column
* ThemeWin32Classic.cs: Use Theme for colors
* DataGridDrawingLogic.cs: Implement more drawing
* DataGrid.cs: drawing, theming, enhacements, fixes
* DataGridColumnStyle.cs: fixes, drawing
* Theme.cs: theming for Datagrid

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

19 years ago2005-05-20 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 20 May 2005 19:32:22 +0000 (19:32 -0000)]
2005-05-20  Peter Bartok  <pbartok@novell.com>

* Cursor.cs: Implemented GetObjectData() method

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 19:30:59 +0000 (19:30 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* basic.cs: Add tests for add.ovf. Fix warnings.

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

19 years agoFixed Bug #53169
Kornél Pál [Fri, 20 May 2005 18:06:02 +0000 (18:06 -0000)]
Fixed Bug #53169

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

19 years ago* AssemblyTest.cs: Use SRE to emit assembly to ensure test for bug
Gert Driesen [Fri, 20 May 2005 17:44:35 +0000 (17:44 -0000)]
* AssemblyTest.cs: Use SRE to emit assembly to ensure test for bug
#74958 passes on .NET 2.0 Beta 2.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 17:43:24 +0000 (17:43 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* TypeDelegator.cs: Implement some methods.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 17:42:48 +0000 (17:42 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs: Add some helper methods needed by other classes.

* Array.cs: Improve support for user defined Type subclasses.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 16:39:17 +0000 (16:39 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
wrapper function, not used yet.

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

19 years agoCorrected ChangeLog date
Kornél Pál [Fri, 20 May 2005 16:37:16 +0000 (16:37 -0000)]
Corrected ChangeLog date

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 16:37:08 +0000 (16:37 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* TypeDelegator.cs: Revert this as it breaks the build.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 16:34:04 +0000 (16:34 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs Array.cs: Revert this as it breaks the build.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 16:24:31 +0000 (16:24 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_type_Equals): Revert last change.

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

19 years ago2005-05-20 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 20 May 2005 16:23:11 +0000 (16:23 -0000)]
2005-05-20  Ben Maurer  <bmaurer@ximian.com>

* regex.cs: Some memory allocation optimizations.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 16:09:31 +0000 (16:09 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* TypeDelegator.cs: Implement some methods.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 16:08:37 +0000 (16:08 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs Array.cs: Improve support for user defined Type subclasses.

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

19 years ago2005-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 May 2005 16:07:11 +0000 (16:07 -0000)]
2005-05-20  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_type_Equals): Turn the g_print into an assert.

* icall.c (ves_icall_type_GetTypeCode): Rename the icall to GetTypeCodeInternal.

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

19 years ago**** Merged r44746 from MCS ****
Martin Baulig [Fri, 20 May 2005 15:42:38 +0000 (15:42 -0000)]
**** Merged r44746 from MCS ****

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

19 years ago**** Merged r44632 from MCS ****
Martin Baulig [Fri, 20 May 2005 15:41:57 +0000 (15:41 -0000)]
**** Merged r44632 from MCS ****

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

19 years agoUses MemoryStream wrapping on all platforms if needed
Kornél Pál [Fri, 20 May 2005 15:22:51 +0000 (15:22 -0000)]
Uses MemoryStream wrapping on all platforms if needed

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

19 years agoModified conditional compilation syntax
Kornél Pál [Fri, 20 May 2005 15:14:01 +0000 (15:14 -0000)]
Modified conditional compilation syntax

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

19 years ago * Mono.Data.SqliteClient/SqliteConnection.cs: SetConnectionString: if file://,db_fil...
Sureshkumar T [Fri, 20 May 2005 14:16:24 +0000 (14:16 -0000)]
* Mono.Data.SqliteClient/SqliteConnection.cs: SetConnectionString: if file://,db_file starts from pos 7 not 6.
* Test/SqliteDataReaderTest.cs: Added. Tests for SqliteDataReader.
* Makefile: Create sqlite3 db testdb from script Test/test.sql. (thanks to rharinath@novell.com)

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

19 years ago2005-05-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 May 2005 14:11:19 +0000 (14:11 -0000)]
2005-05-20  Sebastien Pouliot  <sebastien@ximian.com>

* AsyncResult.cs: Added new fields (required for stack propagation) to
match runtime structure.

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

19 years ago2005-05-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 May 2005 14:11:04 +0000 (14:11 -0000)]
2005-05-20  Sebastien Pouliot  <sebastien@ximian.com>

* AsyncFlowControl.cs: Now available, as internal, in NET_1_1. This is
required to get some methods from SecurityContext and ExecutionContext
working.
* CompressedStack.cs: Now includes the current CompressedStack in a new
Capture.
* ExecutionContext.cs: Includes more methods in NET_1_1 to enable
ThreadPool.UnsafeQueueUserWorkItem to work properly (i.e. without
stack propagation).
* Thread.cs: Made ExecutionContext field accessible from the runtime.
Added stack propagation when Thread.Start is called.
* ThreadPool.cs: QueueUserWorkItem now does stack propagation (done in
the runtime), so I "fixed" UnsafeQueueUserWorkItem not to do so.

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

19 years ago2005-05-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 May 2005 14:10:58 +0000 (14:10 -0000)]
2005-05-20  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityContext.cs: Includes more methods in NET_1_1 to enable
ThreadPool.UnsafeQueueUserWorkItem to work properly (i.e. without
stack propagation).

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

19 years ago2005-05-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 May 2005 14:10:55 +0000 (14:10 -0000)]
2005-05-20  Sebastien Pouliot  <sebastien@ximian.com>

* class-internals.h: Added executioncontext_class field to
MonoDefaults structure.
* domain.c: Cache System.Threading.ExecutionContext class in
mono_defaults.
* object.c: Capture the ExecutionContext for asynchroneous calls in
 mono_async_result_new.
* object-internals.h: Added execution_context and original_context
fields to MonoAsyncResult. Added execution_context to MonoThread.
* security-manager.c|.h: Added mono_get_context_capture_method to
return the capture method (if required by the security manager or by
the framework version used).
* threadpool.c: Apply capture (if present) ExecutionContext in
mono_async_invoke and revert to original context after it completes.

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

19 years agoSystem_test.dll.sources: Added new CAS unit tests for NetworkStream, Socket and TcpCl...
Sebastien Pouliot [Fri, 20 May 2005 13:14:30 +0000 (13:14 -0000)]
System_test.dll.sources: Added new CAS unit tests for NetworkStream, Socket and TcpClient to the build (stack propagation in async calls).

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

19 years ago2005-05-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 May 2005 13:10:16 +0000 (13:10 -0000)]
2005-05-20  Sebastien Pouliot  <sebastien@ximian.com>

* NetworkStreamCas.cs: New. CAS unit tests for NetworkStream.
* SocketCas.cs: New. CAS unit tests for Socket.
* SocketTest.cs: Make some fields public so they can be reused.
* TcpClientCas.cs: New. CAS unit tests for TcpClient (currently
commented as the Begin* methods aren't yet implemented).

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

19 years agoIn .:
Raja R Harinath [Fri, 20 May 2005 12:44:24 +0000 (12:44 -0000)]
In .:
* System_test.dll.sources: Add
System.Text.RegularExpressions/RegexReplace.cs.

In System.Text.RegularExpressions:
Fix #74735.
* replace.cs (ReplacementEvaluator.Compile): Allow CompileTerm to
fail and yet have advanced the pointer.  Append the scanned-over
portion to the "literal" being built.
(ReplacementEvaluator.CompileTerm): Don't throw any exceptions.
If a term cannot be recognized, just return null.

In Test/System.Text.RegularExpressions:
* RegexReplace.cs: New file.  Most of the tests were inspired by
#74735.

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

19 years ago* compiler.cs (InterpreterFactory.GroupCount): Fix. The 0'th
Raja R Harinath [Fri, 20 May 2005 12:05:57 +0000 (12:05 -0000)]
* compiler.cs (InterpreterFactory.GroupCount): Fix.  The 0'th
index corresponds to Opcode.Info.

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

19 years agoUpdated.
Martin Baulig [Fri, 20 May 2005 11:49:20 +0000 (11:49 -0000)]
Updated.

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

19 years agoNew test.
Martin Baulig [Fri, 20 May 2005 11:44:02 +0000 (11:44 -0000)]
New test.

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

19 years agoUpdated.
Martin Baulig [Fri, 20 May 2005 11:43:33 +0000 (11:43 -0000)]
Updated.

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

19 years ago2005-05-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 20 May 2005 11:43:16 +0000 (11:43 -0000)]
2005-05-20  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.CircularDepException): Removed.
(TypeContainer.DefineType): Removed the `InTransit' stuff.
(TypeContainer.CheckRecursiveDefinition): Check for circular class
(CS0146) and interface (CS0529) dependencies here.

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

19 years ago2005-05-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 20 May 2005 11:41:43 +0000 (11:41 -0000)]
2005-05-20  Martin Baulig  <martin@ximian.com>

* expression.cs (New.DoResolve): Move the CS0712 check above the
CS0144 check; otherwise it can never be reached.

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

19 years ago * Makefile: Test suite started.
Sureshkumar T [Fri, 20 May 2005 10:49:55 +0000 (10:49 -0000)]
* Makefile: Test suite started.
* Mono.Data.SqliteClient_test.dll.sources: Added. Test files.
* Test/test.sql: script to create a test db.
* Test/SqliteConnectionTest.cs: Added. Tests for SqliteConnection
  class.

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

19 years ago * fixed: trim connection string parameters, ignore empty params
Sureshkumar T [Fri, 20 May 2005 10:38:30 +0000 (10:38 -0000)]
  * fixed: trim connection string parameters, ignore empty params
  * added a ChangeLog file under Mono.Data.SqliteClient

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

19 years ago2005-05-20 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 20 May 2005 08:58:02 +0000 (08:58 -0000)]
2005-05-20  Peter Bartok  <pbartok@novell.com>

* Cursors.cs: Added setting of cursor name
* Cursor.cs:
  - Implemented constructors
  - Implemented Draw and DrawStretched
  - Implemented Current property
  - Implemented == and != operators
  - Implemented Dispose()
  - Implemented ToString
  - Added missing attributes
* XplatUIX11.cs:
  - Added missing reset for OverrideCursor when DoEvents is called
  - Fixed creation of cursor, logic was wrong
* XplatUIWin32.cs:
  - Added missing reset for OverrideCursor when DoEvents is called
  - Fixed creation of cursor, bit arrays were swapped
* Clipboard.cs: Removed obsolete MonoTODO attribute

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

19 years agoMore low-hanging fruit.
Raja R Harinath [Fri, 20 May 2005 08:50:48 +0000 (08:50 -0000)]
More low-hanging fruit.
* parser.cs (Parser.Unescape): If the string doesn't contain any
'\' character, don't allocate a new string.

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

19 years ago* Makefile (SUBDIRS): Add Test/standalone.
Raja R Harinath [Fri, 20 May 2005 08:08:59 +0000 (08:08 -0000)]
* Makefile (SUBDIRS): Add Test/standalone.
* Test/standalone/Makefile: Add.

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

19 years agoModifying the order of Named arguments
Satya Sudha K [Fri, 20 May 2005 08:06:11 +0000 (08:06 -0000)]
Modifying the order of Named arguments

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

19 years ago * ComboBox.cs: fixes OnSelectedItemChanged
Jordi Mas i Hernandez [Fri, 20 May 2005 07:39:29 +0000 (07:39 -0000)]
* ComboBox.cs: fixes OnSelectedItemChanged
* ControlBindingsCollection.cs: fixes item range check

2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>

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

19 years agoSome low-hanging fruit.
Raja R Harinath [Fri, 20 May 2005 06:39:12 +0000 (06:39 -0000)]
Some low-hanging fruit.
* replace.cs (ReplacementEvalutator.Term.AppendResult): Renamed
from GetResult.  Modified to append to a passed-in StringBuilder
rather than return a string.
(ReplacementEvaluator.Evaluate): Update.

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

19 years ago * System.Data/DataTable.cs: CreateRecord :value should be set to auto
Sureshkumar T [Fri, 20 May 2005 06:37:51 +0000 (06:37 -0000)]
* System.Data/DataTable.cs: CreateRecord :value should be set to auto
  increment value or default value if the given value is null.
* Test/System.Data/DataRowCollectionTest.cs: Added a test to check Rows.Add (values
  []) with null in the collection.

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

19 years agoIn System.Text.RegularExpressions:
Raja R Harinath [Fri, 20 May 2005 05:44:45 +0000 (05:44 -0000)]
In System.Text.RegularExpressions:
* Capture.cs, Group.cs, Match.cs: New files split out of ...
* match.cs: ... this.  Remove.

In .:
* System.dll.sources: Update to reflect split-up of
System.Text.RegularExpressions/match.cs.

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

19 years ago2005-05-20 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Fri, 20 May 2005 05:39:43 +0000 (05:39 -0000)]
2005-05-20  Raja R Harinath  <rharinath@novell.com>

* Makefile (centum_tests): Add System.Web and move corlib from ...
(default_centum_tests): ... here.

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

19 years ago Fixed Bug 74948 - SqlParameter also takes DBNull Value.
Umadevi S [Fri, 20 May 2005 05:37:42 +0000 (05:37 -0000)]
 Fixed Bug 74948 - SqlParameter also takes DBNull Value.
                Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs

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

19 years ago2005-05-19 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 20 May 2005 04:28:35 +0000 (04:28 -0000)]
2005-05-19  Cesar Lopez Nataren  <cnataren@novell.com>

* Parser.cs: Throw NotImplementedException for function
declarations that appear inside other statements
(FunctionType.ExpressionStatement declarations). Fix the
NullReferenceException from #74970. But now exposes #75002.

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

19 years agoSystem.Data.dll.sources: Added DbProviderSpecificTypePropertyAttribute.cs
Umadevi S [Fri, 20 May 2005 03:42:25 +0000 (03:42 -0000)]
System.Data.dll.sources: Added DbProviderSpecificTypePropertyAttribute.cs

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

19 years ago Added file DbProviderSpecificTypePropertyAttribute.cs
Umadevi S [Fri, 20 May 2005 03:40:35 +0000 (03:40 -0000)]
 Added file DbProviderSpecificTypePropertyAttribute.cs

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

19 years ago* System.Data.dll.sources :Added SqlNotificationEventArgs.cs,OnChangeEventHandler.cs
Umadevi S [Fri, 20 May 2005 02:45:07 +0000 (02:45 -0000)]
* System.Data.dll.sources :Added SqlNotificationEventArgs.cs,OnChangeEventHandler.cs

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

19 years ago Continuing on implementation for bulkcopy and notification
Umadevi S [Fri, 20 May 2005 02:41:41 +0000 (02:41 -0000)]
 Continuing on implementation for bulkcopy and notification
                Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
                Modified SqlRowUpdatingEventArgs.cs

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

19 years agoUpdated.
Martin Baulig [Fri, 20 May 2005 00:02:44 +0000 (00:02 -0000)]
Updated.

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

19 years agoIn System:
Ben Maurer [Fri, 20 May 2005 00:02:05 +0000 (00:02 -0000)]
In System:
2005-05-19  Ben Maurer  <bmaurer@ximian.com>

* Delegate.cs (Equals): Use `as' to protect in the case where !
(obj is Delegate)

In Test/System:
2005-05-19  Ben Maurer  <bmaurer@ximian.com>

* MulticastDelegate.cs: Test for equals where !(obj is Delegate)

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

19 years agosvn propset svn:eol-style native ChangeLog
César Natarén [Thu, 19 May 2005 23:47:58 +0000 (23:47 -0000)]
svn propset svn:eol-style native ChangeLog

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

19 years agosvn propset svn:eol-style native ChangeLog
César Natarén [Thu, 19 May 2005 23:43:59 +0000 (23:43 -0000)]
svn propset svn:eol-style native ChangeLog

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

19 years agoUpdated.
Martin Baulig [Thu, 19 May 2005 23:29:46 +0000 (23:29 -0000)]
Updated.

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

19 years ago2005-05-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 19 May 2005 23:29:32 +0000 (23:29 -0000)]
2005-05-20  Martin Baulig  <martin@ximian.com>

* cs-parser.jay: Fix CS0080 check; add CS0231 and CS0257 from MCS.

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