Kornél Pál [Tue, 24 May 2005 09:25:26 +0000 (09:25 -0000)]
Revised DrawString methods
svn path=/trunk/mcs/; revision=44924
Rafael Teixeira [Mon, 23 May 2005 22:18:07 +0000 (22:18 -0000)]
2005-05-23:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/OptionList.cs: Oops, forgot some debugging messages
svn path=/trunk/mcs/; revision=44921
Gonzalo Paniagua Javier [Mon, 23 May 2005 21:26:23 +0000 (21:26 -0000)]
2005-05-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Net/WebConnection.cs: prevent 2 nullrefs when the aborting
during Connect() and reset the status to Success before starting a
new request.
* System.Net.Sockets/Socket.cs: apply the same hack on blocking Connect
calls as the one used in Accept.
Fixes bug #75025.
svn path=/trunk/mcs/; revision=44919
Rafael Teixeira [Mon, 23 May 2005 17:17:43 +0000 (17:17 -0000)]
2005-05-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/Options.cs: To make code using Mono.GetOptions Unit-Testable, as suggested by
Rodrigo 'Bamboo' Oliveira, assume the assembly with the Options-derived class to be the "entry" one
instead of the one pointed by Reflection, unless some Mono.GetOptions provided class is used directly
svn path=/trunk/mcs/; revision=44913
Martin Baulig [Mon, 23 May 2005 17:15:14 +0000 (17:15 -0000)]
2005-05-23 Martin Baulig <martin@ximian.com>
* statement.cs (Try.DoResolve): Don't create a `finally' if we
don't need to. Fix #75014.
svn path=/trunk/mcs/; revision=44912
Satya Sudha K [Mon, 23 May 2005 08:54:01 +0000 (08:54 -0000)]
Copying back the arguments (matching 'ByRef' parameters) in the reverse
order (starting with the last argument backwards) as done by vbc
svn path=/trunk/mcs/; revision=44908
Raja R Harinath [Mon, 23 May 2005 08:53:54 +0000 (08:53 -0000)]
* rules.make (STD_TARGETS): Make them all go through an indirection.
(all): Indirect through do-all.
(all.real): Remove.
(do-%): New pattern fallback. Performs the standard behaviour:
%-recursive, and then %-local.
(do-run-test): New. Make '-k' more useful.
Reported by Ritvik Mayank.
svn path=/trunk/mcs/; revision=44907
Andrew Skiba [Mon, 23 May 2005 08:36:47 +0000 (08:36 -0000)]
* xslttest.cs : wrap streams with using {...} so the file descriptors
are closed at time
svn path=/trunk/mcs/; revision=44906
Satya Sudha K [Mon, 23 May 2005 08:26:56 +0000 (08:26 -0000)]
Testcase for argument-ordering in latebinding
svn path=/trunk/mcs/; revision=44905
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Konstantin Triger [Sun, 22 May 2005 11:10:46 +0000 (11:10 -0000)]
cleanup + exception
svn path=/trunk/mcs/; revision=44886
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
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
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
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
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
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
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
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
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
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
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
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
Jackson Harper [Sat, 21 May 2005 08:31:27 +0000 (08:31 -0000)]
flush
svn path=/trunk/mcs/; revision=44866
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ben Maurer [Fri, 20 May 2005 20:04:51 +0000 (20:04 -0000)]
fix dist
svn path=/trunk/mcs/; revision=44847
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
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
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
Kornél Pál [Fri, 20 May 2005 18:06:02 +0000 (18:06 -0000)]
Fixed Bug #53169
svn path=/trunk/mcs/; revision=44841
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
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
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
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
Kornél Pál [Fri, 20 May 2005 16:37:16 +0000 (16:37 -0000)]
Corrected ChangeLog date
svn path=/trunk/mcs/; revision=44833
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
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
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
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
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
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
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
Martin Baulig [Fri, 20 May 2005 15:42:38 +0000 (15:42 -0000)]
**** Merged r44746 from MCS ****
svn path=/trunk/mcs/; revision=44824
Martin Baulig [Fri, 20 May 2005 15:41:57 +0000 (15:41 -0000)]
**** Merged r44632 from MCS ****
svn path=/trunk/mcs/; revision=44823
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
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
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
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
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
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
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
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
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
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
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
Martin Baulig [Fri, 20 May 2005 11:49:20 +0000 (11:49 -0000)]
Updated.
svn path=/trunk/mcs/; revision=44811
Martin Baulig [Fri, 20 May 2005 11:44:02 +0000 (11:44 -0000)]
New test.
svn path=/trunk/mcs/; revision=44810
Martin Baulig [Fri, 20 May 2005 11:43:33 +0000 (11:43 -0000)]
Updated.
svn path=/trunk/mcs/; revision=44809
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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