Daniel Morgan [Wed, 16 Oct 2002 17:14:10 +0000 (17:14 -0000)]
2002-10-16 Daniel Morgan <danmorg@sc.rr.com>
* ParmUtil.cs
* PostgresLibrary.cs
* PostgresTypes.cs
* SqlClientPermission.cs
* SqlClientPermissionAttribute.cs
* SqlCommand.cs
* SqlCommandBuilder.cs
* SqlConnection.cs
* SqlDataAdapter.cs
* SqlDataReader.cs
* SqlError.cs
* SqlErrorCollection.cs
* SqlException.cs
* SqlInfoMessageEventArgs.cs
* SqlInfoMessageEventHandler.cs
* SqlParameter.cs
* SqlParameterCollection.cs
* SqlRowUpdatedEventArgs.cs
* SqlRowUpdatedEventHandler.cs
* SqlRowUpdatingEventArgs.cs
* SqlRowUpdatingEventHandler.cs
* SqlTransaction.cs: thanks to Miguel de Icaza, he
copied files on the mono cvs server
from mcs/class/System.Data/System.Data.SqlClient
for the PostgreSQL provider
to mcs/class/Mono.Data.PostgreSqlClient.
This frees up
mcs/class/System.Data/System.Data.SqlClient for
the Microsoft SQL Server provider.
Any Mono.Data.PostgreSqlClient/Sql*.cs files
were copied on the cvs server
to Mono.Data.PostgreSqlClient/PgSql*.cs files
and the old Mono.Data.PostgreSqlClient/Sql*.cs
files were removed. Copying, renaming, and removing
was done on the cvs server so we could keep
the cvs change history.
svn path=/trunk/mcs/; revision=8318
Miguel de Icaza [Wed, 16 Oct 2002 15:51:57 +0000 (15:51 -0000)]
2002-10-16 Miguel de Icaza <miguel@ximian.com>
* driver.cs: Report an error if the resource file is not found
instead of crashing.
svn path=/trunk/mcs/; revision=8317
Nick Drochak [Wed, 16 Oct 2002 14:52:31 +0000 (14:52 -0000)]
2002-10-16 Nick Drochak <ndrochak@gol.com>
* QueueTest.cs: Add test from tetsuo via Vladimir Vukicevic
(vladimir@pobox.com).
svn path=/trunk/mcs/; revision=8315
Nick Drochak [Wed, 16 Oct 2002 13:55:10 +0000 (13:55 -0000)]
2002-10-16 Nick Drochak <ndrochak@gol.com>
* CryptoConfigTest.cs (TestCreateFromName): Disable tests for
algorithms that aren't in the build yet.
svn path=/trunk/mcs/; revision=8314
Vladimir Vukicevic [Wed, 16 Oct 2002 04:38:01 +0000 (04:38 -0000)]
* Queue.cs: update new capacity in grow(), preventing queue from
constantly looping over old elements in Dequeue(). Also use
capacity instead of contents.Length in Enqueue().
svn path=/trunk/mcs/; revision=8307
Miguel de Icaza [Wed, 16 Oct 2002 04:33:23 +0000 (04:33 -0000)]
2002-10-16 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (PropertyExpr.EmitAssign): Pass IsBase instead of
false, like Emit does.
svn path=/trunk/mcs/; revision=8306
Brian Ritchie [Wed, 16 Oct 2002 04:12:35 +0000 (04:12 -0000)]
Modified SQLDescribeCol to work around bug in pinvoke...when doing a ref on a typed enum
svn path=/trunk/mcs/; revision=8304
Gaurav Vaish [Wed, 16 Oct 2002 03:59:51 +0000 (03:59 -0000)]
2002-10-16 Gaurav Vaish <gvaish_mono@lycos.com>
* winforms - Added <pre> tags for directory layout. Browser does
not display it properly otherwise.
svn path=/trunk/mono/; revision=8303
Miguel de Icaza [Wed, 16 Oct 2002 03:42:46 +0000 (03:42 -0000)]
Add to the build
svn path=/trunk/mcs/; revision=8302
Daniel Morgan [Tue, 15 Oct 2002 21:46:11 +0000 (21:46 -0000)]
2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
* System.Data.OleDb/libgda.cs: added more functions
to platfrom invoke into shared library libgda
* System.Data.OleDb/OleDbDataReader.cs: implemented
GetSchemaTable() and GetFieldType()
svn path=/trunk/mcs/; revision=8299
Rodrigo Moya [Tue, 15 Oct 2002 18:18:40 +0000 (18:18 -0000)]
2002-10-15 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.SqlTypes/AllTests.cs: added new test.
2002-10-15 Ville Palo <vi64pa@koti.soon.fi>
* System.Data.SqlTypes/SqlSingleTest.cs: added test suite for
SqlSingle.
svn path=/trunk/mcs/; revision=8297
Daniel Morgan [Tue, 15 Oct 2002 17:24:19 +0000 (17:24 -0000)]
2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
* SqlSharpCli.cs: get it to work with System.Data.OleDb
on MS .net when connected to Oracle 8i. Also, get data
to space correctly when data size is smaller than the
header size. If DataType is DateTime, use GetDataTime(),
otherwise, use GetValue().
svn path=/trunk/mcs/; revision=8296
Nick Drochak [Tue, 15 Oct 2002 15:52:44 +0000 (15:52 -0000)]
2002-10-16 Nick Drochak <ndrochak@gol.com>
* Enum.cs (Parse): Then fix the code so that it works too.
svn path=/trunk/mcs/; revision=8295
Nick Drochak [Tue, 15 Oct 2002 15:44:20 +0000 (15:44 -0000)]
Ignore debug files
svn path=/trunk/mcs/; revision=8293
Nick Drochak [Tue, 15 Oct 2002 15:41:30 +0000 (15:41 -0000)]
2002-10-16 Nick Drochak <ndrochak@gol.com>
* typemanager.cs: Remove unused private member. Also reported mcs
bug to report this as a warning like csc.
svn path=/trunk/mcs/; revision=8292
Nick Drochak [Tue, 15 Oct 2002 15:37:53 +0000 (15:37 -0000)]
Ignore more dll's
svn path=/trunk/mcs/; revision=8291
Nick Drochak [Tue, 15 Oct 2002 15:34:34 +0000 (15:34 -0000)]
Ignore dll's
svn path=/trunk/mcs/; revision=8290
Nick Drochak [Tue, 15 Oct 2002 15:28:24 +0000 (15:28 -0000)]
2002-10-16 Nick Drochak <ndrochak@gol.com>
* corlib_test.build: Fix build. Exclude tests that depend on
components we are not building into corlib yet.
svn path=/trunk/mcs/; revision=8289
Nick Drochak [Tue, 15 Oct 2002 15:26:19 +0000 (15:26 -0000)]
2002-10-16 Nick Drochak <ndrochak@gol.com>
* AllTests.cs: Disable tests that use components were are excluding
from corlib.
* SHA1Test.cs: same
svn path=/trunk/mcs/; revision=8288
Nick Drochak [Tue, 15 Oct 2002 15:23:13 +0000 (15:23 -0000)]
2002-10-16 Nick Drochak <ndrochak@gol.com>
* EnumTest.cs: Find out which Assert is causing the error on mono.
svn path=/trunk/mcs/; revision=8287
Nick Drochak [Tue, 15 Oct 2002 15:03:24 +0000 (15:03 -0000)]
2002-10-15 Nick Drochak <ndrochak@gol.com>
* Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
svn path=/trunk/mcs/; revision=8286
Martin Baulig [Tue, 15 Oct 2002 13:14:27 +0000 (13:14 -0000)]
Oooops, this was an accident, sorry for the breakage.
svn path=/trunk/mono/; revision=8285
Martin Baulig [Tue, 15 Oct 2002 12:08:18 +0000 (12:08 -0000)]
2002-10-15 Martin Baulig <martin@gnome.org>
* jit.cs (PUSH_TREE): Always set t->cli_addr here.
* debug.c (generate_line_number): Small fix to make this actually
work for more complex things.
svn path=/trunk/mono/; revision=8282
Martin Baulig [Tue, 15 Oct 2002 12:04:33 +0000 (12:04 -0000)]
2002-10-15 Martin Baulig <martin@gnome.org>
* statement.cs (Statement.Emit): Made this a virtual method; emits
the line number info and calls DoEmit().
(Statement.DoEmit): New protected abstract method, formerly knows
as Statement.Emit().
* codegen.cs (EmitContext.Mark): Check whether we have a symbol writer.
svn path=/trunk/mcs/; revision=8281
Sebastien Pouliot [Tue, 15 Oct 2002 02:47:50 +0000 (02:47 -0000)]
2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
* AllTests.cs: Added suite for PKCS1MaskGenerationMethod
* PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
result isn't the same as MS implementation !?! is MS using this class ?
svn path=/trunk/mcs/; revision=8276
Sebastien Pouliot [Tue, 15 Oct 2002 02:38:08 +0000 (02:38 -0000)]
2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
* PKCS1MaskGenerationMethod.cs: Added [CLSCompliant(false)] to methods using uint
svn path=/trunk/mcs/; revision=8275
Dennis Hayes [Tue, 15 Oct 2002 01:13:47 +0000 (01:13 -0000)]
2002-10-13 DennisHayes <dennish@raytek.com>
*Application.cs
*AxHost.cs
*ChangeLog
*CheckedListBox.cs
*ComboBox.cs
*CurrencyManager.cs
*DateTimePicker.cs
*DomainUpDown.cs
*FolderBrowserDialog.cs
*ListBox.cs
*logfile.txt
*StatusBarDrawItemEventArgs.cs
*TabControl.cs
*TextBox.cs
*TrackBar.cs
*UpDownBase.cs
* Updated to match .NET V1.1 Beta
svn path=/trunk/mcs/; revision=8274
Dennis Hayes [Tue, 15 Oct 2002 01:11:09 +0000 (01:11 -0000)]
2002-10-14 Dennis Hayes (dennish@raytek.com)
* Region.cs
* changed using namespace from Drawing2d to Drawing2D
svn path=/trunk/mcs/; revision=8273
Dennis Hayes [Tue, 15 Oct 2002 01:07:55 +0000 (01:07 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=8272
Dennis Hayes [Tue, 15 Oct 2002 01:06:53 +0000 (01:06 -0000)]
2002-10-13 DennisHayes <dennish@raytek.com>
* Changed namespace from *2d to *2D
* Changed comment header from system.Drawing to System.Drawing.Drawing2D
svn path=/trunk/mcs/; revision=8271
Dennis Hayes [Tue, 15 Oct 2002 01:03:58 +0000 (01:03 -0000)]
2002-10-13 DennisHayes <dennish@raytek.com>
* PrintDocument
* Added OriginAtMargin for .NET V 1.1 compatablity.
svn path=/trunk/mcs/; revision=8270
Miguel de Icaza [Tue, 15 Oct 2002 00:24:33 +0000 (00:24 -0000)]
Applied patch from Gustavo
svn path=/trunk/mcs/; revision=8268
Miguel de Icaza [Mon, 14 Oct 2002 20:40:56 +0000 (20:40 -0000)]
Flush
svn path=/trunk/mono/; revision=8262
Miguel de Icaza [Mon, 14 Oct 2002 18:14:06 +0000 (18:14 -0000)]
Flush
svn path=/trunk/mono/; revision=8256
Sebastien Pouliot [Mon, 14 Oct 2002 18:02:11 +0000 (18:02 -0000)]
2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
* MD5.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
* Rijndael.cs: Create using CryptoConfig. Removed TODO.
* RSAParameters.cs: Modulus must be serialized. Removed TODO.
* SHA256.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
* SHA384.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
* SHA512.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
* FromBase64Transform.cs: Removed ToString()
* ToBase64Transform.cs: Removed ToString()
* SymmetricAlgorithm.cs: Create using CryptoConfig, set default Mode and
Padding, added Clear, Dispose
* TripleDES.cs: New. Abstract class.
* MaskGenerationMethod.cs: New. Abstract class.
* PKCS1MaskGenerationMethod.cs: New. Implement PKCS#1 MGF (currently not
compatible with MS implementation - but not sure the bug is mine!).
svn path=/trunk/mcs/; revision=8254
Rodrigo Moya [Mon, 14 Oct 2002 16:33:50 +0000 (16:33 -0000)]
2002-10-14 Rodrigo Moya <rodrigo@ximian.com>
* list: added missing Odbc files.
svn path=/trunk/mcs/; revision=8251
Martin Baulig [Mon, 14 Oct 2002 11:38:45 +0000 (11:38 -0000)]
2002-10-14 Martin Baulig <martin@gnome.org>
* debug-mono-symfile.c: Added MONO_TYPE_I, MONO_TYPE_U and
MONO_TYPE_VOID.
svn path=/trunk/mono/; revision=8242
Martin Baulig [Mon, 14 Oct 2002 11:22:35 +0000 (11:22 -0000)]
2002-10-14 Martin Baulig <martin@gnome.org>
* debug-mono-symfile.c (ves_icall_MonoDebugger_GetType): Use
mono_class_get() instead of looking in the class cache.
svn path=/trunk/mono/; revision=8241
Martin Baulig [Mon, 14 Oct 2002 10:04:29 +0000 (10:04 -0000)]
2002-10-14 Martin Baulig <martin@gnome.org>
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
Append ".config" to the filename, not ".exe.config" since the
filename already has a ".exe" suffix.
svn path=/trunk/mcs/; revision=8239
Martin Baulig [Mon, 14 Oct 2002 09:51:05 +0000 (09:51 -0000)]
2002-10-14 Martin Baulig <martin@gnome.org>
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
Assembly.Location, not Assembly.FullName to get its filename.
svn path=/trunk/mcs/; revision=8238
Nick Zigarovich [Mon, 14 Oct 2002 06:22:08 +0000 (06:22 -0000)]
Make sure XmlTextReader.GetAttribute never returns null.
svn path=/trunk/mcs/; revision=8237
Brian Ritchie [Mon, 14 Oct 2002 05:28:50 +0000 (05:28 -0000)]
Changed odbc32 to odbc32.dll to support dllmapping in mono
svn path=/trunk/mcs/; revision=8236
Brian Ritchie [Mon, 14 Oct 2002 05:25:43 +0000 (05:25 -0000)]
Added dllmapping for odbc32
svn path=/trunk/mono/; revision=8235
Brian Ritchie [Mon, 14 Oct 2002 04:59:34 +0000 (04:59 -0000)]
Brian Ritchie
-Updated to support ODBC provider
svn path=/trunk/mcs/; revision=8234
Brian Ritchie [Mon, 14 Oct 2002 04:57:06 +0000 (04:57 -0000)]
Brian Ritchie
- Added OdbcTransaction Object and moved transaction logic out of connection and into new object.
- Support for DSN-less connection strings
- Fixed OdbcType enum to have correct values
- General cleanup on all objects
- Implemented Cancel in OdbcCommand
- Added DBNull support
- Updated OdbcType enum with values from header files.
- Modified column description code to happen dynamically as a column is accessed
instead of describing all columns when the query opens
- Works with SqlSharp
Known Issues:
- Transaction Isolation Level isn't handled
- A number of data types are returned as strings instead of native types
- Parameter support is weak -- only supports int types
- ExecuteReader: CommandBehavior isn't implemented
- ExecuteScalar not implemented
- Need better error handling
svn path=/trunk/mcs/; revision=8233
Mark Crichton [Mon, 14 Oct 2002 02:44:26 +0000 (02:44 -0000)]
Even more typos fixed.
svn path=/trunk/mono/; revision=8232
Vladimir Vukicevic [Mon, 14 Oct 2002 00:34:57 +0000 (00:34 -0000)]
fix dir name
svn path=/trunk/mcs/; revision=8231
Daniel Morgan [Mon, 14 Oct 2002 00:23:18 +0000 (00:23 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* Mono.Data.MySql/MySqlDataReader.cs: change "DataType" in
schema DataTable to be typeof(Type) instead of
typeof(string) to make it more like MS.NET
* Test/MySqlTest.cs: tweaks
svn path=/trunk/mcs/; revision=8230
Daniel Morgan [Mon, 14 Oct 2002 00:19:06 +0000 (00:19 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* System.Data/DataRow.cs: don't throw exception
if DBNull is false. Had to do comment this line
to allow a typeof(Type).
* System.Data.SqlClient/SqlCommand.cs: the "DataType"
DataColumn and DataRows in a DataTable for a schema should
be typeof Type, not string. This is to make it
compatible with MS.NET
* System.Data.SqlClient/SqlConnection.cs: the
isolation level should be set before
beginning the transaction
* Test/SqlSharpCli.cs: change string to Type for
"DataType" from a DataRow in a DataTable
that contains a schema.
svn path=/trunk/mcs/; revision=8229
Daniel Morgan [Sun, 13 Oct 2002 20:51:22 +0000 (20:51 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* SqlSharpCli.cs: better formatting of output
svn path=/trunk/mcs/; revision=8228
Daniel Morgan [Sun, 13 Oct 2002 20:41:21 +0000 (20:41 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* Mono.Data.MySql/MySqlCommand.cs:
* Mono.Data.MySql/MySqlConnection.cs:
* Mono.Data.MySql/MySqlDataReader.cs:
* Mono.Data.MySql/MySqlTypes.cs: modifed -
handle MySQL types to .NET types and some fixes
svn path=/trunk/mcs/; revision=8227
Martin Baulig [Sun, 13 Oct 2002 19:33:40 +0000 (19:33 -0000)]
2002-10-13 Martin Baulig <martin@gnome.org>
* debug-mono-symfile.c: Set version number to 28, include the
signature in method names.
svn path=/trunk/mono/; revision=8225
Martin Baulig [Sun, 13 Oct 2002 19:32:53 +0000 (19:32 -0000)]
2002-10-13 Martin Baulig <martin@gnome.org>
* MonoSymbolTable.cs: Set version number to 28.
(SourceFileEntry): Read the methods when they're needed.
(MethodSourceEntry): Made this a struct, not a class.
svn path=/trunk/mcs/; revision=8224
Martin Baulig [Sun, 13 Oct 2002 19:31:52 +0000 (19:31 -0000)]
2002-10-13 Martin Baulig <martin@gnome.org>
* MonoSymbolTable.cs: Set version number to 28.
(SourceFileEntry): Read the methods when they're needed.
(MethodSourceEntry): Made this a struct, not a class.
svn path=/trunk/mcs/; revision=8223
Sebastien Pouliot [Sun, 13 Oct 2002 18:47:53 +0000 (18:47 -0000)]
2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
* AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
HMACSHA1
* HashAlgorithmTest.cs: New. Test for Create and Clear
* KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
* HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
svn path=/trunk/mcs/; revision=8222
Sebastien Pouliot [Sun, 13 Oct 2002 18:38:54 +0000 (18:38 -0000)]
2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
* HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it
inherits ICryptoTransform
* KeyedHashAlgorithm.cs: New implementation
* HMACSHA1.cs: New (include a generic HMACAlgorithm as internal class)
* MACTripleDES.cs: New (missing core implementation on generic MACAlgorithm)
* CryptoStream.cs: Added limited functionalities to support HMACSHA1
svn path=/trunk/mcs/; revision=8221
Martin Baulig [Sun, 13 Oct 2002 16:48:36 +0000 (16:48 -0000)]
2002-10-13 Martin Baulig <martin@gnome.org>
* debug-mono-symfile.h: Set version number to 27.
svn path=/trunk/mono/; revision=8219
Martin Baulig [Sun, 13 Oct 2002 16:47:04 +0000 (16:47 -0000)]
2002-10-13 Martin Baulig <martin@gnome.org>
* MonoSymbolTable.cs: Set version number to 27. Added a source
file table which is used to search a method by source file + line number.
svn path=/trunk/mcs/; revision=8217
Daniel Morgan [Sun, 13 Oct 2002 15:02:49 +0000 (15:02 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* doc/adonet: updated status of all providers, added links,
and added information
about the Mono.Data.SqliteClient provider that
Vladimir Vukicevic contributed. Added Brian Ritchie's
and Vladimir Vukicevic's email addresses as
people to contact about ADO.NET in Mono.
Added information about SQL#, configuration tools,
and an ADO.NET Multiplexor, etc...
svn path=/trunk/mono/; revision=8216
Daniel Morgan [Sun, 13 Oct 2002 12:01:42 +0000 (12:01 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* class/library.build: added Mono.Data.SqliteClient
directory to windows build
svn path=/trunk/mcs/; revision=8215
Daniel Morgan [Sun, 13 Oct 2002 11:04:01 +0000 (11:04 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* SqlSharpCli.cs: modified
- add support for the external Mono.Data.SqliteClient
ADO.NET provider. All the user has to do is
"/provider sqlite"
to load it instead of the usual syntax for loading
external providers
"/loadextprovider Mono.Data.SqliteClient Mono.Data.SqliteClient.SqliteConnection".
svn path=/trunk/mcs/; revision=8214
Daniel Morgan [Sun, 13 Oct 2002 10:53:43 +0000 (10:53 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* Test: added new directory to hold
tests for Mono.Data.SqliteClient
* Test/SqliteTest.cs: added file
to test Mono.Data.SqliteClient.
svn path=/trunk/mcs/; revision=8213
Daniel Morgan [Sun, 13 Oct 2002 09:54:21 +0000 (09:54 -0000)]
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* Mono.Data.SqliteClient: add file
to build on Windows
* Mono.Data.SqliteClient/SqliteCommand.cs: modified
added unsafe { } around call to sqlite_exec() which calls
an unsafe method SqliteCallbackFunction
svn path=/trunk/mcs/; revision=8212
Vladimir Vukicevic [Sun, 13 Oct 2002 08:33:15 +0000 (08:33 -0000)]
* Mono.Data.SqlClient/SqliteCobmmand.cs, SqliteDataReader.cs,
SqliteParameterCollection.cs, SqliteConnection.cs,
SqliteParameter.cs: Initial checkin
svn path=/trunk/mcs/; revision=8210
John Sohn [Sun, 13 Oct 2002 06:48:56 +0000 (06:48 -0000)]
* Button.cs:
* Label.cs:
* Control.cs:
* Form.cs: fixed location of elements on Form
* FormTest.cs: changed location of Label and Button on Form
svn path=/trunk/mcs/; revision=8209
Sebastien Pouliot [Sun, 13 Oct 2002 03:13:08 +0000 (03:13 -0000)]
2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
* DSA.cs: changed constructor to public from internal (like MS)
* HashAlgorithm.cs: Completed ComputeHash methods
* SHA1.cs: Added HashSizeValue = 160
svn path=/trunk/mcs/; revision=8208
Sebastien Pouliot [Sun, 13 Oct 2002 03:05:30 +0000 (03:05 -0000)]
2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
* AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
SHA1CryptoServiceProvider
* RandomNumberGeneratorTest.cs: New. Tests for Create and generic
random quality tests (FIPS140-2)
* SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
* SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
specific tests
svn path=/trunk/mcs/; revision=8207
John Sohn [Sat, 12 Oct 2002 23:08:44 +0000 (23:08 -0000)]
* ButtonBase.cs:
* Button.cs: initial implementation of Button class
* FormTest.cs: added Button to form
* makefile: added Button.cs and ButtonBase.cs to makefile
svn path=/trunk/mcs/; revision=8206
Miguel de Icaza [Sat, 12 Oct 2002 22:17:24 +0000 (22:17 -0000)]
2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocument.cs (ImportNode): Implemented
svn path=/trunk/mcs/; revision=8205
John Sohn [Sat, 12 Oct 2002 19:30:39 +0000 (19:30 -0000)]
* Control.cs:
* Label.cs: changed CreateHandle method to use CreateParams property
* README: added instructions for building and using project
* makefile: removed monostart.c from makefile
* monostart.c:
* test.sh
* build.sh: no longer used, removed
svn path=/trunk/mcs/; revision=8202
Sebastien Pouliot [Sat, 12 Oct 2002 18:24:54 +0000 (18:24 -0000)]
2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
* HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it inherits ICryptoTransform
svn path=/trunk/mcs/; revision=8200
Sebastien Pouliot [Sat, 12 Oct 2002 16:22:31 +0000 (16:22 -0000)]
2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
* ICryptoTransform.cs: Now inherits from IDisposable
* RC2CryptoServiceProvider.cs: Added Dispose() to RC2Impl because it inherits ICryptoTransform
* CryptoAPITransform.cs: Added Dispose() to CryptoAPITransform... ICryptoTransform
* RijndaelManaged.cs: Added Dispose() to RijndaelController...ICryptoTransform
* FromBase64Transform.cs: Added Dispose() to FromBase64Transform...ICryptoTransform
* ToBase64Transform.cs: Added Dispose() to ToBase64Transform...ICryptoTransform
* DESCryptoServiceProvider.cs: Added Dispose() to DESTransformBase...ICryptoTransform
svn path=/trunk/mcs/; revision=8199
Daniel Morgan [Sat, 12 Oct 2002 11:03:40 +0000 (11:03 -0000)]
2002-10-12 Daniel Morgan <danmorg@sc.rr.com>
* Test/MySqlTest.cs: added file - to do
various Tests for the MySql provider
* Mono.Data.MySql/Field.cs: enum MySqlFieldFlags
should be unit. Rename class Field to MySqlMarshalledField
to represent what it really is. Redo handling of field Flags.
* Mono.Data.MySql/MySql.cs: added method AffectedRows() to
pinvoke into mysql_affected_rows() so we can know what rows
were affected by an INSERT, UPDATE, or DELETE SQL statement.
* Mono.Data.MySql/MySqlCommand.cs: rename
internal method rowVal() to GetColumnData(). In GetColumnData,
if IntPtr.Zero, return an empty "" string instead of "NULL".
Pass command behavior to data reader.
* Mono.Data.MySql/MySqlDataReader.cs: redo the
way field meta data and data is structured so
a schema DataTable can be built. Implement
GetSchemaTable() to create a DataTable holding the schema
of the fields. Implemented more methods.
* Mono.Data.MySql/MySqlTypes.cs: added method to
translate System.Data.DbType to System.Type
* est/TestMySqlExecuteReader.cs: minor tweaks
svn path=/trunk/mcs/; revision=8198
Daniel Morgan [Sat, 12 Oct 2002 03:03:00 +0000 (03:03 -0000)]
2002-10-11 Daniel Morgan <danmorg@sc.rr.com>
* OdbcTest.cs: added
for System.Data.Odbc tests. Modify this
test as needed...
svn path=/trunk/mcs/; revision=8197
Duncan Mak [Sat, 12 Oct 2002 02:02:24 +0000 (02:02 -0000)]
2002-10-11 Duncan Mak <duncan@ximian.com>
* CSharpCodeProvider.cs: Fix constructor visibility.
* unix.args: Added System.Security.Cryptography.CryptoConfig.
* DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().
svn path=/trunk/mcs/; revision=8196
Sebastien Pouliot [Sat, 12 Oct 2002 01:26:11 +0000 (01:26 -0000)]
2002-10-11 Sebastien Pouliot <spouliot@videotron.ca>
* DES.cs: Create() using CryptoConfig, fix #30256
* DESCryptoServiceProvider.cs: fix #30256
* RandomNumberGenerator.cs: uncomment in Create(rng) for CryptoConfig
svn path=/trunk/mcs/; revision=8195
Nick Drochak [Sat, 12 Oct 2002 01:18:41 +0000 (01:18 -0000)]
2002-10-12 Nick Drochak <ndrochak@gol.com>
* IntegerFormatter.cs: Fix compiler warnings.
svn path=/trunk/mcs/; revision=8194
Miguel de Icaza [Fri, 11 Oct 2002 21:33:22 +0000 (21:33 -0000)]
2002-10-11 Tim Haynes <thaynes@openlinksw.com>
* Type.cs (GetConstructors): Use the correct flags.
svn path=/trunk/mcs/; revision=8181
Martin Baulig [Fri, 11 Oct 2002 20:24:11 +0000 (20:24 -0000)]
2002-10-11 Martin Baulig <martin@gnome.org>
* gc.c: Don't register/unregister NULL pointers as disappearing links.
svn path=/trunk/mono/; revision=8177
Ravi Pratap M [Fri, 11 Oct 2002 20:14:38 +0000 (20:14 -0000)]
2002-10-11 Ravi Pratap <ravi@ximian.com>
* CodeMethodInvokeExpression.cs : Fix second constructor so that
the last argument is params - that is what the docs say.
svn path=/trunk/mcs/; revision=8176
Dick Porter [Fri, 11 Oct 2002 15:07:23 +0000 (15:07 -0000)]
Don't try to compile stuff that wants to reference System.Xml, or their
dependencies.
svn path=/trunk/mcs/; revision=8166
Dietmar Maurer [Fri, 11 Oct 2002 13:28:09 +0000 (13:28 -0000)]
(emit_label_func): make it possible to print operator names in
error messages.
svn path=/trunk/mono/; revision=8165
Dietmar Maurer [Fri, 11 Oct 2002 12:28:20 +0000 (12:28 -0000)]
2002-10-11 Dietmar Maurer <dietmar@ximian.com>
* x86.brg (freg): use fprem instead of fprem1
svn path=/trunk/mono/; revision=8164
Daniel Morgan [Fri, 11 Oct 2002 10:13:28 +0000 (10:13 -0000)]
2002-10-11 Daniel Morgan <danmorg@sc.rr.com>
* Mono.Data.MySql/MySqlTransaction.cs: added to
support transactions (BEGIN, COMMIT/ROLLBACK).
* Mono.Data.MySql.build: included MySqlTransaction
in build on Windows
* list: included MySqlTransaction
in build on Linux
* Mono.Data.MySql/MySql.cs: the mysql thread functions
were misnamed and prevented them from being loaded
by the mono JIT - my_thread_init() and my_thread_end().
Now, threading should work in the MySQL provider and
less memory leaks too.
* Mono.Data.MySql/Test.cs: remove conditional comiliation
since everything compiles fine on Mono now
* Mono.Data.MySql/MySqlCommand.cs: remove Console.WriteLine()
* Mono.Data.MySql/MySqlConnection.cs: added transaction
support, implemented method ChangeDatabase(), implemented
property ServerVersion
* Test/TestMySqlInsert.cs: modified test
to handle transactions
svn path=/trunk/mcs/; revision=8163
Dietmar Maurer [Fri, 11 Oct 2002 09:48:15 +0000 (09:48 -0000)]
2002-10-11 Dietmar Maurer <dietmar@ximian.com>
* monoburg.c (emit_tree_match): omit unnecessary compare
svn path=/trunk/mono/; revision=8162
Miguel de Icaza [Fri, 11 Oct 2002 05:16:45 +0000 (05:16 -0000)]
2002-10-11 Miguel de Icaza <miguel@ximian.com>
* class.cs: Following the comment from 2002-09-26 to AddMethod, I
have fixed a remaining problem: not every AddXXXX was adding a
fully qualified name.
Now everyone registers a fully qualified name in the DeclSpace as
being defined instead of the partial name.
Downsides: we are slower than we need to be due to the excess
copies and the names being registered this way.
The reason for this is that we currently depend (on the corlib
bootstrap for instance) that types are fully qualified, because
we dump all the types in the namespace, and we should really have
types inserted into the proper namespace, so we can only store the
basenames in the defined_names array.
svn path=/trunk/mcs/; revision=8161
Sebastien Pouliot [Fri, 11 Oct 2002 03:29:23 +0000 (03:29 -0000)]
2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
* DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
* RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
* AllTests.cs: Added DSATest.cs and RSATest.cs in suite
svn path=/trunk/mcs/; revision=8160
Sebastien Pouliot [Fri, 11 Oct 2002 03:20:52 +0000 (03:20 -0000)]
2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
* AsymmetricAlgorithm.cs: Inherit from IDisposable, common support from XML import
* DSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
* RSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
* DSACryptoServiceProvider.cs: Added Dispose()
svn path=/trunk/mcs/; revision=8159
Miguel de Icaza [Thu, 10 Oct 2002 22:08:27 +0000 (22:08 -0000)]
Remove doctools, not it lives in monodoc module
svn path=/trunk/mcs/; revision=8152
Miguel de Icaza [Thu, 10 Oct 2002 22:07:33 +0000 (22:07 -0000)]
Remove doc
svn path=/trunk/mcs/; revision=8151
Miguel de Icaza [Thu, 10 Oct 2002 21:49:03 +0000 (21:49 -0000)]
remove docs
svn path=/trunk/mcs/; revision=8150
Miguel de Icaza [Thu, 10 Oct 2002 21:48:19 +0000 (21:48 -0000)]
Remove docs
svn path=/trunk/mcs/; revision=8149
Rodrigo Moya [Thu, 10 Oct 2002 20:27:55 +0000 (20:27 -0000)]
2002-10-10 Ville Palo (vi64pa@koti.soon.fi)
* System.Data.SqlTypes/SqlDoubleTest.cs: new test suite for SqlDouble.
svn path=/trunk/mcs/; revision=8147
Martin Baulig [Thu, 10 Oct 2002 20:26:32 +0000 (20:26 -0000)]
2002-10-10 Martin Baulig <martin@gnome.org>
* expression.cs (ArrayAccess.EmitStoreOpcode): Reverted the patch
from bug #31834, see the bug report for a testcase which is
miscompiled.
svn path=/trunk/mcs/; revision=8146
Miguel de Icaza [Thu, 10 Oct 2002 20:07:50 +0000 (20:07 -0000)]
Rename
svn path=/trunk/mcs/; revision=8145
Miguel de Icaza [Thu, 10 Oct 2002 20:06:49 +0000 (20:06 -0000)]
Rename attributeusage file
svn path=/trunk/mcs/; revision=8144
Miguel de Icaza [Thu, 10 Oct 2002 17:21:22 +0000 (17:21 -0000)]
We have win binaries now
svn path=/trunk/mono/; revision=8137
Paolo Molaro [Thu, 10 Oct 2002 12:59:52 +0000 (12:59 -0000)]
Thu Oct 10 14:56:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
* metadata.c, metadata.h: added helper function to allocate signatures.
svn path=/trunk/mono/; revision=8136
Daniel Morgan [Thu, 10 Oct 2002 10:33:06 +0000 (10:33 -0000)]
2002-10-10 Daniel Morgan <danmorg@sc.rr.com>
* class/library.build: added Mono.Data.MySql directory to windows build.
svn path=/trunk/mcs/; revision=8135
Rodrigo Moya [Thu, 10 Oct 2002 10:05:33 +0000 (10:05 -0000)]
2002-10-10 Rodrigo Moya <rodrigo@ximian.com>
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.
svn path=/trunk/mcs/; revision=8134