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

19 years agoOoops, this doesn't work.
Martin Baulig [Thu, 19 May 2005 23:07:12 +0000 (23:07 -0000)]
Ooops, this doesn't work.

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

19 years ago2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 19 May 2005 22:42:30 +0000 (22:42 -0000)]
2005-05-20  Jordi Mas i Hernandez <jordi@ximian.com>
* UpDownBase.cs:
- Calc preferred height properly
- Implement missing properties

* NumericUpDown.cs: Implement missing events

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

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

* class.cs (TypeContainer.DefineType): Fix CS0698 check.

* typemanager.cs (TypeManager.IsAttributeType): New public method.

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

19 years agoUpdated.
Martin Baulig [Thu, 19 May 2005 21:54:11 +0000 (21:54 -0000)]
Updated.

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

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

* class.cs (TypeContainer.CheckRecursiveDefinition): Removed.
(TypeContainer.DefineType): Set `InTransit = true' at the
beginning of the method.

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

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

* mcs-known-issues, gmcs-known-issues: Updated.

* *-expect-*, *-ignore-*: Removed; we don't need them anymore with
the new test runner.

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

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

* test-336.cs: Replaced with a working test.

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

19 years ago2005-05-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 19 May 2005 21:24:53 +0000 (21:24 -0000)]
2005-05-19  Martin Baulig  <martin@ximian.com>

* delegate.cs
(ImplicitDelegateCreation.Check): Added `bool check_only' argument
to disable error reporting.

* convert.cs (Convert.ImplicitStandardConversionExists): Use it
here since we don't want to report an error; see the new test-336.cs.

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

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

* delegate.cs
(ImplicitDelegateCreation.Check): Added `bool check_only' argument
to disable error reporting.

* convert.cs (Convert.ImplicitStandardConversionExists): Use it
here since we don't want to report an error; see the new test-336.cs.

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

19 years ago * TabControl.cs: New method that resizes the tab pages before
Jackson Harper [Thu, 19 May 2005 21:06:53 +0000 (21:06 -0000)]
* TabControl.cs: New method that resizes the tab pages before
redrawing them. This as needed as the control is double buffered
and sizing will not be recalculated unless ResizeTabPages is
called.
* TabPage.cs: Set base.Text instead of Text in the constructor so
that UpdateOwner does not get called. Use the new Redraw method of
TabControl instead of Refresh so the sizing is recalculated.

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

19 years agoUpdated.
Martin Baulig [Thu, 19 May 2005 20:34:35 +0000 (20:34 -0000)]
Updated.

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

19 years ago**** Merged r43214 from MCS ****
Martin Baulig [Thu, 19 May 2005 20:33:23 +0000 (20:33 -0000)]
**** Merged r43214 from MCS ****

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

19 years ago * ThemeWin32Classic.cs: Draw the text for button tabs.
Jackson Harper [Thu, 19 May 2005 20:22:57 +0000 (20:22 -0000)]
* ThemeWin32Classic.cs: Draw the text for button tabs.

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

19 years ago * Control.cs: Paint control background images.
Jackson Harper [Thu, 19 May 2005 19:59:42 +0000 (19:59 -0000)]
* Control.cs: Paint control background images.

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

19 years ago * Control.cs: Paint control background images. Fix typo where
Jackson Harper [Thu, 19 May 2005 19:51:46 +0000 (19:51 -0000)]
* Control.cs: Paint control background images. Fix typo where
PaintControlBackground was not getting called correctly.

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

19 years ago2005-05-19 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 19 May 2005 18:46:35 +0000 (18:46 -0000)]
2005-05-19  Peter Bartok  <pbartok@novell.com>

* ScrollableControl.cs (DisplayRectangle): Undid my last change until
  I can investigate, apparently I broke FileDialog

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

19 years agoAdded new CAS unit tests to the build _and_ do not report Obsolete warnings when...
Sebastien Pouliot [Thu, 19 May 2005 15:11:29 +0000 (15:11 -0000)]
Added new CAS unit tests to the build _and_ do not report Obsolete warnings when compiling unit tests.

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

19 years ago2005-05-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 19 May 2005 15:08:29 +0000 (15:08 -0000)]
2005-05-19  Sebastien Pouliot  <sebastien@ximian.com>

* DnsCas.cs: New. CAS unit tests for Dns.
* DnsTest.cs: Fixed the wrong End* method being used in AsyncResolve.
* FileWebRequestCas.cs: New. CAS unit tests for FileWebRequest.
* HttpWebRequestCas.cs: New. CAS unit tests for HttpWebRequest.
* WebRequestTest.cs: Added tests to validate exceptions.

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

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

* WebRequest.cs: Throw NotImplementedException (not NotSupported
Exception) for stuff that should have been abstract. No exception
is thrown by the serialization constructor.

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

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

* CryptoConfig.cs: Don't use the global hashtables until the
initialization is complete.

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