mono.git
22 years agoSome sample code
Miguel de Icaza [Sun, 5 May 2002 23:21:02 +0000 (23:21 -0000)]
Some sample code

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

22 years ago2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 5 May 2002 23:14:03 +0000 (23:14 -0000)]
2002-05-05  Daniel Morgan <danmorg@sc.rr.com>

* doc/ado-net: updated to includes an example for
running ipc-daemon as a Windows service.  Thanks
to gonzalo.

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

22 years ago2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 5 May 2002 22:40:31 +0000 (22:40 -0000)]
2002-05-05  Daniel Morgan <danmorg@sc.rr.com>

* doc/ado-net: updated to include installation of
PostgreSQL DBMS under cygwin.  It is a TODO for Linux though.
Also included notes on running the System.Data/Test/PostgresTest.cs
that should work on a lot of Mono installations that have
PostgreSQL installed.  If not please let me, rodrigo, or gonzalo
know.

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

22 years ago2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 5 May 2002 22:35:07 +0000 (22:35 -0000)]
2002-05-05  Daniel Morgan <danmorg@sc.rr.com>

* Test/PostgresTest.cs: modified to run completely.  There
are many TODOs in System.Data, so not all data types are
included in the SELECT SQL query.  Also, I made it to where
it would connect
using "host=localhost;dbname=test;user=postgres"
instead of my userid and password.  When more types are included,
update this test.

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

22 years ago2002-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 May 2002 22:10:45 +0000 (22:10 -0000)]
2002-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* string-icalls.c: fix bug 24248.

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

22 years ago2002-05-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 5 May 2002 20:32:41 +0000 (20:32 -0000)]
2002-05-05  Miguel de Icaza  <miguel@ximian.com>

* test-28.cs: Improved test: before we were failing on abstract
indexers invoked in the same class (as the accessor would have no
body).

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

22 years ago2002-05-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 5 May 2002 20:31:12 +0000 (20:31 -0000)]
2002-05-05  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay, class.cs (Accessor): new class used to represent
an accessor (get or set).  In the past we used `null' to represent
a missing accessor.  But this is ambiguous because there was no
way to tell in abstract indexers/properties if one of them was
specified.

Now there is a way of addressing that.

* expression.cs (Indexers.GetIndexersForType): Use TypeManager.MemberLookup
instead of FindMembers.

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

22 years ago2002-05-05 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 5 May 2002 18:38:41 +0000 (18:38 -0000)]
2002-05-05  Tim Coleman <tim@timcoleman.com>
        * TheTests.cs:
        * System.Data.SqlTypes/SqlInt32Test.cs:
                More test cases for System.Data.SqlTypes.SqlInt32

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

22 years ago2002-05-06 Lawrence Pit <loz@cable.a2000.nl>
Lawrence Pit [Sun, 5 May 2002 18:37:57 +0000 (18:37 -0000)]
2002-05-06  Lawrence Pit <loz@cable.a2000.nl>

* WebRequest.cs: added
* WebResponse.cs: implemented
* WebException.cs: implemented
* WebHeaderCollection.cs: added
* HttpVersion.cs: implemented
* HttpContinueDelegate.cs: added
* IWebProxy.cs: added
* IWebRequestCreate.cs: added
* ICertificatePolicy.cs: added
* ServicePoint.cs: stubbed
* ServicePointManager.cs: stubbed
* CookieContainer.cs: added
* Authorization.cs: implemented

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

22 years ago2002-05-05 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 5 May 2002 17:33:11 +0000 (17:33 -0000)]
2002-05-05  Tim Coleman <tim@timcoleman.com>
        * System.Data.SqlTypes/SqlBinary.cs:
        * System.Data.SqlTypes/SqlBoolean.cs:
        * System.Data.SqlTypes/SqlByte.cs:
        * System.Data.SqlTypes/SqlDateTime.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
        * System.Data.SqlTypes/SqlDouble.cs:
        * System.Data.SqlTypes/SqlGuid.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlInt32.cs:
        * System.Data.SqlTypes/SqlInt64.cs:
        * System.Data.SqlTypes/SqlMoney.cs:
        * System.Data.SqlTypes/SqlSingle.cs:
        * System.Data.SqlTypes/SqlString.cs:
                More implementation, and code clean-up for consistency.
                Also, I had implemented many conversions as explicit
                that should have been implicit.  This should remove
                many of the red X's and green pluses from the
                System.Data.SqlTypes namespace.

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

22 years ago2002-05-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 5 May 2002 17:17:00 +0000 (17:17 -0000)]
2002-05-05  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.EmitFieldInitializer): Do not typecast
the result of Assign.Resolve as Assign, but rather as ExpressionStatement.

* attribute.cs: Treat indexers and properties as the same in terms
of applying attributes

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

22 years agoUpdate list to compile with mcs
Miguel de Icaza [Sun, 5 May 2002 17:08:44 +0000 (17:08 -0000)]
Update list to compile with mcs

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

22 years agoFlush ChangeLog
Miguel de Icaza [Sun, 5 May 2002 17:08:13 +0000 (17:08 -0000)]
Flush ChangeLog

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

22 years agoThis commit does not break the existing code base, as these files are
Miguel de Icaza [Sun, 5 May 2002 17:08:00 +0000 (17:08 -0000)]
This commit does not break the existing code base, as these files are
excluded from the current build

2002-05-05  Miguel de Icaza  <miguel@ximian.com>

* System.Data/DataSet.cs: Remove [Serializable] attributes from
methods, those only apply to structs or classes.

Stub out ISerializable, ISupportInitialize, and IListSource methods

* System.Data/DataRowView.cs: Stub out interface methods for
IEditableObject, ICustomTypeDescriptor and IDataErrorInfo

* System.Data/DataView.cs: Comment out non-implemented
interfaces.

* System.Data/DataViewSettingsCollection.cs: Type cast variables
to the correct type to make it compile.

* System.Data/DataViewSettings.cs: remove reference to
non-existance type ApplyDefaultSort, it is a boolean.

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

22 years agoIt is safe to commit this code, because it is still excluded by the
Miguel de Icaza [Sun, 5 May 2002 17:03:08 +0000 (17:03 -0000)]
It is safe to commit this code, because it is still excluded by the
build file above.

2002-05-05  Miguel de Icaza  <miguel@ximian.com>

* DataTableMapping.cs, DataTableMappingCollection.cs: comment out
interfaces we do not implement yet.

* DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
we do not implement yet.

* DbDataPermissionAttribute.cs: call base constructor.

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

22 years agofew updates to the web site
Miguel de Icaza [Sun, 5 May 2002 14:20:12 +0000 (14:20 -0000)]
few updates to the web site

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

22 years ago2002-05-05 Dick Porter <dick@ximian.com>
Dick Porter [Sun, 5 May 2002 13:45:35 +0000 (13:45 -0000)]
2002-05-05  Dick Porter  <dick@ximian.com>

* wapi-private.h:
* handles-private.h:
* io.c:
* io-private.h:
* mutexes.c:
* mutex-private.h:
* processes.c:
* process-private.h:
* semaphores.c:
* semaphore-private.h:
* sockets.c:
* socket-private.h:
* events.c:
* event-private.h: Simplify the WapiHandleOps struct: take out all
the file-specific entries, leaving just the items that operate on
handles themselves.  Split the close operation into shared and
private parts: shared close is called by the daemon.

* handles.c: As above, but also pass handle allocation, ref and
unref operations to the daemon.  Populate the handle_ops array at
compile time, because the daemon needs to call ops on handles too.
Don't bother to track open handle counts any more, the daemon does
that.

* threads.c:
* thread-private.h: As above, but also make the thread data
handle-private.

* shared.c: Fork a handle daemon if the calling process created
the shared memory segment.

* daemon.c:
* daemon-messages.c:
* daemon-messages.h:
* Makefile.am: Build a daemon to manage handle allocation and
destruction without needing to lock the shared memory

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

22 years ago2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 5 May 2002 11:47:26 +0000 (11:47 -0000)]
2002-05-05  Daniel Morgan <danmorg@sc.rr.com>

* Test/PostgresTest.cs: added - ported
libgda postgres-test.c originally by
Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
to C#.

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

22 years agoFlush
Nick Drochak [Sun, 5 May 2002 11:32:13 +0000 (11:32 -0000)]
Flush

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 5 May 2002 11:24:45 +0000 (11:24 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* ArrayListTest.cs: Test for RankException when constructing from a
multi-dimensional array. Confirmed behavior from MS.NET

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 5 May 2002 11:24:06 +0000 (11:24 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* ArrayList.cs: Throw RankException when constructing from a
multi-dimensional array. Confirmed behavior from MS.NET

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 5 May 2002 10:47:59 +0000 (10:47 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* ChangeLog: Update build file to run correct class in the test dll.

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 5 May 2002 10:31:13 +0000 (10:31 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* AllTests.cs
* NameTableTests.cs
* TheTests.cs
* XPathScannerTests.cs
* XmlAttributeTests.cs
* XmlCDataSectionTests.cs
* XmlCommentTests.cs
* XmlDeclarationTests.cs
* XmlDocumentTests.cs
* XmlDocumentTypeTests.cs
* XmlElementTests.cs
* XmlNamespaceManagerTests.cs
* XmlNodeListTests.cs
* XmlProcessingInstructionTests.cs
* XmlSignificantWhitespaceTests.cs
* XmlTextReaderTests.cs
* XmlTextTests.cs
* XmlTextWriterTests.cs
* XmlWhiteSpaceTests.cs: Use same namespace style as corlib tests.
Changed Ximian.Mono.Tests to MonoTests.System.Xml

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 5 May 2002 10:14:38 +0000 (10:14 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* AllTests.cs:
* BasicOperationsTest.cs:
* DnsTest.cs:
* NameValueCollectionTest.cs:
* StringCollectionTest.cs:
* TheTests.cs:
* System.Text.RegularExpressions/AllTests.cs:
* System.Text.RegularExpressions/PerlTest.cs:
* System.Text.RegularExpressions/PerlTrials.cs:
* System.Text.RegularExpressions/RegexTrial.cs: Fix Namespace
inconsistancies.  Use MonoTests instead of Ximian.Mono.Tests

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

22 years agoadded implementation of CredentialCache
Lawrence Pit [Sun, 5 May 2002 08:44:48 +0000 (08:44 -0000)]
added implementation of CredentialCache

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

22 years agoadded test to replacement function to show bug
Lawrence Pit [Sun, 5 May 2002 07:52:15 +0000 (07:52 -0000)]
added test to replacement function to show bug

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

22 years ago * IPAddress.cs: fixed IsLoopback, address was already in host order
Lawrence Pit [Sun, 5 May 2002 07:44:02 +0000 (07:44 -0000)]
* IPAddress.cs: fixed IsLoopback, address was already in host order

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

22 years agoExtensive unit tests for Uri and UriBuilder classes (shows a lot of errors in the...
Lawrence Pit [Sun, 5 May 2002 07:01:41 +0000 (07:01 -0000)]
Extensive unit tests for Uri and UriBuilder classes (shows a lot of errors in the ms.net implementation ;-)

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

22 years agoComplete new reimplementation of Uri.cs, fully supporting IPv6 addresses.
Lawrence Pit [Sun, 5 May 2002 06:59:12 +0000 (06:59 -0000)]
Complete new reimplementation of Uri.cs, fully supporting IPv6 addresses.

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

22 years agonot defined in .net spec, needed for Uri.cs though
Lawrence Pit [Sun, 5 May 2002 06:51:38 +0000 (06:51 -0000)]
not defined in .net spec, needed for Uri.cs though

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

22 years agoadded test for is loopback address
Lawrence Pit [Sun, 5 May 2002 06:32:33 +0000 (06:32 -0000)]
added test for is loopback address

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

22 years agoCleaning user defined conversions a bit, in preparation to fix the real
Miguel de Icaza [Sun, 5 May 2002 02:37:58 +0000 (02:37 -0000)]
Cleaning user defined conversions a bit, in preparation to fix the real
bug:

2002-05-05  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (FindMostEncompassedType): Use statically initialized
EmptyExpressions()s like we do elsewhere to avoid creating useless
objects (and we take this out of the tight loop).

(GetConversionOperators): Move the code to extract the actual
operators to a separate routine to clean things up.

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

22 years ago2002-05-05 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 5 May 2002 00:34:08 +0000 (00:34 -0000)]
2002-05-05 Tim Coleman <tim@timcoleman.com>
ChangeLog: updates for last fixes.

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

22 years ago2002-05-05 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 5 May 2002 00:33:22 +0000 (00:33 -0000)]
2002-05-05 Tim Coleman <tim@timcoleman.com>
SqlInt32.cs: Fix my accidentally stomping Dan Morgan's last patch
(sorry).

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

22 years ago2002-05-05 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 5 May 2002 00:28:55 +0000 (00:28 -0000)]
2002-05-05  Tim Coleman <tim@timcoleman.com>
        * System.Data.SqlTypes/SqlBinary.cs:
        * System.Data.SqlTypes/SqlBoolean.cs:
        * System.Data.SqlTypes/SqlByte.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
        * System.Data.SqlTypes/SqlDouble.cs:
        * System.Data.SqlTypes/SqlGuid.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlInt32.cs:
        * System.Data.SqlTypes/SqlInt64.cs:
        * System.Data.SqlTypes/SqlMoney.cs:
        * System.Data.SqlTypes/SqlSingle.cs:
        * System.Data.SqlTypes/SqlString.cs:
                Various fixes, including adding the SqlNullValueException
                when trying to retrieve the value of a null SqlType,
                and when casting values, a Null of type A converts to a
                Null of type B.

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

22 years ago2002-05-04 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 4 May 2002 22:40:40 +0000 (22:40 -0000)]
2002-05-04  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (FieldExpr): Remove un-needed tests for null, since now
events are always registered FieldBuilders.

* class.cs (FieldBase): New class shared by Fields

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

22 years agoAdded target 'clean' so as make clean in the parent directory does not fail.
Gonzalo Paniagua Javier [Sat, 4 May 2002 21:58:20 +0000 (21:58 -0000)]
Added target 'clean' so as make clean in the parent directory does not fail.

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

22 years agoUpdate
Miguel de Icaza [Sat, 4 May 2002 21:54:19 +0000 (21:54 -0000)]
Update

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

22 years agoRemoved /r:corlib.dll and /nostdlib switches, does anything break?
Miguel de Icaza [Sat, 4 May 2002 21:53:52 +0000 (21:53 -0000)]
Removed /r:corlib.dll and /nostdlib switches, does anything break?
This fixes the corcompare issue

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

22 years ago2002-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 4 May 2002 21:41:25 +0000 (21:41 -0000)]
2002-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.build: excluded EventDescriptor.cs,
EventDescriptorCollection.cs and ICustomTypeDescriptor.cs.

* System.ComponentModel/AttributeCollection.cs: added a cast to make it
compile

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

22 years ago2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sat, 4 May 2002 20:56:53 +0000 (20:56 -0000)]
2002-05-03  Rodrigo Moya <rodrigo@ximian.com>

* AttributeCollection.cs:
* EventDescriptor.cs:
* EventDescriptorCollection.cs:
* ICustomTypeDescriptor.cs: new files.

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

22 years ago2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sat, 4 May 2002 20:23:29 +0000 (20:23 -0000)]
2002-05-04  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient/PostgresLibrary.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlDataReader.cs
oid should not be hard coded because they
can change from one version of PostgreSQL
to the next.  Use the typname's instead.
The PostgreSQL type data retrieves
at database connection time.  Any unimplemented
types just default to string.  These were things
suggested by Gonzalo.

* Test/ReadPostgresData.cs - stuff
* Test/TestSqlDataReader.cs - stuff

* System.Data.SqlTypes/SqlInt32.cs - added a using

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

22 years agoRemove stale debugging message
Miguel de Icaza [Sat, 4 May 2002 18:12:21 +0000 (18:12 -0000)]
Remove stale debugging message

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

22 years ago2002-05-04 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 4 May 2002 18:04:40 +0000 (18:04 -0000)]
2002-05-04  Miguel de Icaza  <miguel@ximian.com>

* delegate.cs: If we are a toplevel delegate, use our full name.
If we are a nested delegate, then only use our tail name.

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

22 years agoImprove test to check for toplevel namespaced delegates
Miguel de Icaza [Sat, 4 May 2002 17:49:40 +0000 (17:49 -0000)]
Improve test to check for toplevel namespaced delegates

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

22 years agoGet the build to go
Miguel de Icaza [Sat, 4 May 2002 16:10:59 +0000 (16:10 -0000)]
Get the build to go

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

22 years ago2002-05-04 Dwivedi, Ajay kumar <adwiv@yahoo.com>
Ajay kumar Dwivedi [Sat, 4 May 2002 14:13:51 +0000 (14:13 -0000)]
2002-05-04  Dwivedi, Ajay kumar <adwiv@yahoo.com>
* XmlSchemaUtil.cs: New file added.

* Parser.cs: New file Added. Unused at the moment.

* XmlSchemaObjectCollection: Fixed GetEnumerator

* General: Preprocessing for Attributes and SimpleTypes completed.

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

22 years ago2002-05-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 May 2002 11:36:10 +0000 (11:36 -0000)]
2002-05-03  Tim Coleman <tim@timcoleman.com>
        * System.Data.build: Fix the build so that test depends on build

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 4 May 2002 11:32:12 +0000 (11:32 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* StreamReaderTest.cs: Change location of sample file. Use memory
stream instead of file stream to eliminate reliance on file io
for now.  That area is still a bit immature.

* resources: New directory to hold files open/read, etc. by unit
tests.

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

22 years ago2002-05-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 4 May 2002 11:18:51 +0000 (11:18 -0000)]
2002-05-05  Nick Drochak  <ndrochak@gol.com>

* StreamReader.cs: Throw exceptions where needed. Changed Null field to
use new internal class since null cannot be passed to constructor
anymore. Also, fix a coule of small bugs.

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

22 years agoIgnore dll's and pdb's
Nick Drochak [Sat, 4 May 2002 11:13:40 +0000 (11:13 -0000)]
Ignore dll's and pdb's

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

22 years agoDoh!
Paolo Molaro [Sat, 4 May 2002 11:00:56 +0000 (11:00 -0000)]
Doh!

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

22 years agoUpdates for changes in mono_assembly_open () interface.
Paolo Molaro [Sat, 4 May 2002 09:15:44 +0000 (09:15 -0000)]
Updates for changes in mono_assembly_open () interface.

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

22 years agoSat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 4 May 2002 09:14:56 +0000 (09:14 -0000)]
Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Assembly.cs, AssemblyName.cs: updates and fixes.

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

22 years agoSat May 4 14:03:21 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 4 May 2002 09:14:52 +0000 (09:14 -0000)]
Sat May 4 14:03:21 CEST 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.c, appdomain.h, assembly.c, assembly.h, image.h,
icall.c, reflection.h: separate assembly loading by pathname and by
assembly name. Use the MONO_PATH env var to search for assemblies.

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

22 years ago2002-05-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 May 2002 01:28:41 +0000 (01:28 -0000)]
2002-05-03 Tim Coleman <tim@timcoleman.com>
library.build: Add "test" target for System.Data

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

22 years agoAdd "test" build target.
Tim Coleman [Sat, 4 May 2002 01:25:39 +0000 (01:25 -0000)]
Add "test" build target.

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

22 years agoNew files to begin the System.Data.SqlTypes test structure.
Tim Coleman [Sat, 4 May 2002 01:17:50 +0000 (01:17 -0000)]
New files to begin the System.Data.SqlTypes test structure.

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

22 years agoNew source and build information to allow "make test" to work with
Tim Coleman [Sat, 4 May 2002 01:16:46 +0000 (01:16 -0000)]
New source and build information to allow "make test" to work with
System.Data.  This uses the NUnit.Framework now.  Also added a
ChangeLog to track Test changes.

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

22 years agoModify the ChangeLog to reflect recent changes. Also, added
Tim Coleman [Fri, 3 May 2002 23:04:55 +0000 (23:04 -0000)]
Modify the ChangeLog to reflect recent changes.  Also, added
System.Data.SqlTypes to the build because it isn't so broken
anymore.

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

22 years agoThis fixes the updates last made by Rodrigo. Somehow the patch I sent
Tim Coleman [Fri, 3 May 2002 22:51:43 +0000 (22:51 -0000)]
This fixes the updates last made by Rodrigo.  Somehow the patch I sent
him only included four of the changed files.  This touches the rest of
the System.Data.SqlTypes.  This directory should actually compile (!)
now.

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

22 years ago2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 3 May 2002 22:02:07 +0000 (22:02 -0000)]
2002-05-03  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.build: removed comments

* System.Data.SqlClient/PostgresLibrary.cs: changed
the hard-coded PostgreSQL oid type int's to using an
enum.  Also, added PostgreSQL bpchar (character) type.

* Test/TestSqlDataReader.cs: updated test
to include new bpchar PostgreSQL type

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

22 years ago* removed enums.cs. These enums have been put in seperate files, and moved to System...
Dennis Hayes [Fri, 3 May 2002 21:14:40 +0000 (21:14 -0000)]
* removed enums.cs. These enums have been put in seperate files, and moved to System.Windows.Forms\System.Windows.Forms, as they should have been to begin with.

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

22 years ago* Corrected some enum values.
Dennis Hayes [Fri, 3 May 2002 21:06:18 +0000 (21:06 -0000)]
* Corrected some enum values.
* Minor formatting.

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

22 years ago* added BorderStyle.cs, it got left out in the last commit
Dennis Hayes [Fri, 3 May 2002 20:50:10 +0000 (20:50 -0000)]
* added BorderStyle.cs, it got left out in the last commit

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

22 years ago* Took enums a* - d* that were in System.Windows.Forms.enums.cs and:
Dennis Hayes [Fri, 3 May 2002 20:44:23 +0000 (20:44 -0000)]
* Took enums a* - d* that were in System.Windows.Forms.enums.cs and:
* Moved then to System.Windows.Forms\System.Windows.Forms\*.cs.
* Bursted them out, puting each enums in its own file.
* used ennumcheck to set correct values.
* Ran Monostyle on them.
* ArrangeDirection.cs enum does not have values for left and right.

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

22 years ago2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 3 May 2002 19:40:49 +0000 (19:40 -0000)]
2002-05-03  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.SqlTypes/SqlBinary.cs:
* System.Data.SqlTypes/SqlBoolean.cs:
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlString.cs: more implementation, by
Tim Coleman <tcoleman@opentext.com>.

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

22 years agoReactivate System.Drawing build. Bugfixes and stubbing of non-trivial
Mike Kestner [Fri, 3 May 2002 17:47:11 +0000 (17:47 -0000)]
Reactivate System.Drawing build. Bugfixes and stubbing of non-trivial
build breakers.

from System.Drawing/ChangeLog

2002-05-03  Mike Kestner <mkestner@speakeasy.net>

* Bitmap.cs : using System.IO
* ColorTranslator.cs : Stubbed off build breakers.
* Image.cs : Stub off IDisposable and ICloneable.

from System.Drawing.Imaging/ChangeLog

2002-05-03  Mike Kestner  <mkestner@speakeasy.net>

* Metafile.cs : Use System.IO. Fix exception typos.

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

22 years agoAdded some missing FP opcodes and made x86_patch() handle also the call opcode.
Paolo Molaro [Fri, 3 May 2002 12:52:19 +0000 (12:52 -0000)]
Added some missing FP opcodes and made x86_patch() handle also the call opcode.

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

22 years ago * divun.cs: microbenchmark for DIV.UN opt.
Sergey Chaban [Fri, 3 May 2002 12:22:45 +0000 (12:22 -0000)]
 * divun.cs: microbenchmark for DIV.UN opt.

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

22 years ago * x86.brg: coni4 optimizations for MUL and DIV_UN;
Sergey Chaban [Fri, 3 May 2002 12:20:27 +0000 (12:20 -0000)]
 * x86.brg: coni4 optimizations for MUL and DIV_UN;

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

22 years ago2002-05-03 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 3 May 2002 08:07:37 +0000 (08:07 -0000)]
2002-05-03  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: use VAROFFSET macro

* emit-x86.c (tree_emit): allocate space for spilled regs in
activation frame instead of pushing them to the stack.

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

22 years ago2002-05-03 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 3 May 2002 06:01:21 +0000 (06:01 -0000)]
2002-05-03  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: replace BXX with CBRANCH/COMPARE
replaced CXX CSET/COMPARE

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

22 years ago2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 3 May 2002 05:16:20 +0000 (05:16 -0000)]
2002-05-03  Daniel Morgan <danmorg@sc.rr.com>

* Test/TestExecuteScalar.cs: added test for
method ExecuteScalar in class SqlCommand.

* System.Data/DataColumnCollection.cs - it should
inherit properties from base InternalDataCollectionBase
and use them instead of overriding them, such as, List.

* System.Data/DataColumn.cs
* System.Data/DataTable.cs: tweaks to retrieve
meta data from the database

* System.Data.SqlClient/PostgresLibrary.cs -
added method OidToType to convert PostgreSQL oid type
to System.Type.  Renamed method OidTypeToSystem
to ConvertPgTypeToSystem for converting the data value
from a PostgreSQL type to a .NET System type.

* System.Data.SqlClient/SqlCommand.cs: implemented
method ExecuteReader which returns a SqlDataReader
for a light forward only read only result set.
It works on types int4 ==> Int32 and
varchar ==> String.  Other types
will come later.

* System.Data.SqlClient/SqlConnection.cs: added comment

* System.Data.SqlClient/SqlDataReader.cs: implemented
class.  It works, but still lots to do.

* Test/ReadPostgresData.cs: stuff

* Test/TestSqlDataReader.cs: updated test for SqlDataReader
to display meta data and the data

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

22 years ago2002-05-03 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 3 May 2002 02:58:04 +0000 (02:58 -0000)]
2002-05-03  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (arch_allocate_regs): improved register allocation

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

22 years agoremove more un-needed code
Miguel de Icaza [Fri, 3 May 2002 01:15:28 +0000 (01:15 -0000)]
remove more un-needed code

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

22 years agoFlush
Miguel de Icaza [Fri, 3 May 2002 01:13:42 +0000 (01:13 -0000)]
Flush

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

22 years agoFlush
Miguel de Icaza [Fri, 3 May 2002 00:49:22 +0000 (00:49 -0000)]
Flush

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

22 years agoGet the build going again
Miguel de Icaza [Fri, 3 May 2002 00:33:34 +0000 (00:33 -0000)]
Get the build going again

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

22 years agoAdded a missing line to enable Locale.GetText.
Duncan Mak [Fri, 3 May 2002 00:28:22 +0000 (00:28 -0000)]
Added a missing line to enable Locale.GetText.

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

22 years agoTemporary hack, as we still use MS libs for now
Miguel de Icaza [Fri, 3 May 2002 00:24:47 +0000 (00:24 -0000)]
Temporary hack, as we still use MS libs for now

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

22 years ago2002-05-03 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 3 May 2002 00:15:44 +0000 (00:15 -0000)]
2002-05-03  Duncan Mak  <duncan@ximian.com>

* TODO: Took out all the Exceptions. They should be all done now.

* System.Data/ConstraintException.cs:
* System.Data/DBConcurrencyException.cs:
* System.Data/DataException.cs:
* System.Data/DeletedRowInaccessibleException.cs:
* System.Data/DuplicateNameException.cs:
* System.Data/EvaluateException.cs:
* System.Data/InRowChangingEventException.cs:
* System.Data/InvalidConstraintException.cs:
* System.Data/InvalidExpressionException.cs:
* System.Data/MissingPrimaryKeyException.cs:
* System.Data/NoNullAllowedException.cs:
* System.Data/ReadOnlyException.cs:
* System.Data/RowNotInTableException.cs:
* System.Data/StrongTypingException.cs:
* System.Data/SyntaxErrorException.cs:
* System.Data/TypeDataSetGeneratorException.cs:
* System.Data/VersionNotFoundException.cs: Added to CVS.

* System.Data.SqlTypes/SqlNullValueException.cs:
* System.Data.SqlTypes/SqlTruncateException.cs:
* System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.

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

22 years agoUpdated TODO
Rodrigo Moya [Thu, 2 May 2002 19:51:50 +0000 (19:51 -0000)]
Updated TODO

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

22 years ago2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 2 May 2002 19:34:25 +0000 (19:34 -0000)]
2002-05-02  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataViewSettingCollection.cs: implemented.

* System.Data/DataRowView.cs: new stubs.

* System.Data.SqlTypes/SqlByte.cs:
* System.Data.SqlTypes/SqlDateTime.cs:
* System.Data.SqlTypes/SqlDecimal.cs:
* System.Data.SqlTypes/SqlDouble.cs:
* System.Data.SqlTypes/SqlGuid.cs:
* System.Data.SqlTypes/SqlInt16.cs:
* System.Data.SqlTypes/SqlInt64.cs:
* System.Data.SqlTypes/SqlMoney.cs:
* System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
by Tim Coleman <tcoleman@opentext.com>

* System.Data.build: excluded newly-added files.

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 16:21:28 +0000 (16:21 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* delegate.cs : Handle the case when we have more than one applicable
method. Flag an error only when we finish checking all.

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 16:19:29 +0000 (16:19 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* test-114.cs : Add.

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 15:47:21 +0000 (15:47 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* expression.cs (IsApplicable): Ensure that we add the "&" to
ref/out types before comparing it with the type of the argument.

(IsParamsMethodApplicable): Ditto.

(Argument.Type): Use TypeManager.LookupType instead of Type.GetType -
silly me ;-)

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

22 years ago2002-05-02 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 2 May 2002 15:44:42 +0000 (15:44 -0000)]
2002-05-02  Ravi Pratap  <ravi@ximian.com>

* test-113.cs : Another test for overload resolution ;-)

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

22 years agoPCL-CVS
Daniel Carrera [Thu, 2 May 2002 15:19:16 +0000 (15:19 -0000)]
PCL-CVS

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

22 years ago*** empty log message ***
Daniel Carrera [Thu, 2 May 2002 15:15:37 +0000 (15:15 -0000)]
*** empty log message ***

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

22 years agoPCL-CVS
Daniel Carrera [Thu, 2 May 2002 15:12:53 +0000 (15:12 -0000)]
PCL-CVS

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

22 years agoMinor update to FeatureSupport.cs.
Daniel Carrera [Thu, 2 May 2002 14:17:59 +0000 (14:17 -0000)]
Minor update to FeatureSupport.cs.

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

22 years ago2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 May 2002 13:51:41 +0000 (13:51 -0000)]
2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Int32.cs:
* Int64.cs:
* UInt32.cs:
* UInt64.cs (Parse): don't use a delegate to test for valid digits.

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

22 years ago2002-05-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 2 May 2002 13:19:39 +0000 (13:19 -0000)]
2002-05-02  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Add support for boolean static initializers.

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

22 years ago2002-05-03 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 2 May 2002 12:32:37 +0000 (12:32 -0000)]
2002-05-03  Nick Drochak  <ndrochak@gol.com>

* MemoryStream.cs: Refrain from allocating array until the space is
really needed. This fixes a bug in the Length property when the
constructor without the byte array is used.

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

22 years agoTest for Char.IsNumber.
Paolo Molaro [Thu, 2 May 2002 12:13:19 +0000 (12:13 -0000)]
Test for Char.IsNumber.

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

22 years agoThu May 2 17:56:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 May 2002 12:12:50 +0000 (12:12 -0000)]
Thu May 2 17:56:52 CEST 2002 Paolo Molaro <lupus@ximian.com>

* assembly.c, image.h: add some support for assemblies
with multiple modules.
* class.c, class.h: export mono_class_from_typeref().
* loader.c: remove duplicated code and use mono_class_from_typeref(),
instead.

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

22 years ago2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 May 2002 10:29:03 +0000 (10:29 -0000)]
2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Int32.cs:
* Int64.cs:
* UInt32.cs:
* UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.

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

22 years agoThu May 2 15:51:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 May 2002 10:04:07 +0000 (10:04 -0000)]
Thu May 2 15:51:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* unicode.c: Char.IsNumber doesn't include hex digits as the ms
documentation says (the ECMA one is correct).

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

22 years agoThu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 May 2002 09:31:16 +0000 (09:31 -0000)]
Thu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ArrayList.cs: make mcs compile again: it's allowed to
call arraylist.CopyTo(array, 0) when the length of the array
is also 0.

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