Miguel de Icaza [Sun, 5 May 2002 23:21:02 +0000 (23:21 -0000)]
Some sample code
svn path=/trunk/mcs/; revision=4323
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sun, 5 May 2002 17:08:13 +0000 (17:08 -0000)]
Flush ChangeLog
svn path=/trunk/mcs/; revision=4311
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
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
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
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
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
Nick Drochak [Sun, 5 May 2002 11:32:13 +0000 (11:32 -0000)]
Flush
svn path=/trunk/mcs/; revision=4304
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
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
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
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
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
Lawrence Pit [Sun, 5 May 2002 08:44:48 +0000 (08:44 -0000)]
added implementation of CredentialCache
svn path=/trunk/mcs/; revision=4298
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sat, 4 May 2002 21:54:19 +0000 (21:54 -0000)]
Update
svn path=/trunk/mono/; revision=4285
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
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
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
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
Miguel de Icaza [Sat, 4 May 2002 18:12:21 +0000 (18:12 -0000)]
Remove stale debugging message
svn path=/trunk/mcs/; revision=4280
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
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
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
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
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
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
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
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
Paolo Molaro [Sat, 4 May 2002 11:00:56 +0000 (11:00 -0000)]
Doh!
svn path=/trunk/mono/; revision=4271
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
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
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
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
Tim Coleman [Sat, 4 May 2002 01:25:39 +0000 (01:25 -0000)]
Add "test" build target.
svn path=/trunk/mcs/; revision=4265
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 3 May 2002 01:13:42 +0000 (01:13 -0000)]
Flush
svn path=/trunk/mono/; revision=4244
Miguel de Icaza [Fri, 3 May 2002 00:49:22 +0000 (00:49 -0000)]
Flush
svn path=/trunk/mono/; revision=4242
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
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
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
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
Rodrigo Moya [Thu, 2 May 2002 19:51:50 +0000 (19:51 -0000)]
Updated TODO
svn path=/trunk/mcs/; revision=4235
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
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
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
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
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
Daniel Carrera [Thu, 2 May 2002 15:19:16 +0000 (15:19 -0000)]
PCL-CVS
svn path=/trunk/mcs/; revision=4229
Daniel Carrera [Thu, 2 May 2002 15:15:37 +0000 (15:15 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=4228
Daniel Carrera [Thu, 2 May 2002 15:12:53 +0000 (15:12 -0000)]
PCL-CVS
svn path=/trunk/mcs/; revision=4227
Daniel Carrera [Thu, 2 May 2002 14:17:59 +0000 (14:17 -0000)]
Minor update to FeatureSupport.cs.
svn path=/trunk/mcs/; revision=4226
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
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
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
Paolo Molaro [Thu, 2 May 2002 12:13:19 +0000 (12:13 -0000)]
Test for Char.IsNumber.
svn path=/trunk/mono/; revision=4222
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
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
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
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