Files
mono/mcs/class/Npgsql/ChangeLog
T
Raja R Harinath 77c26d6ab9 * Makefile (OVERRIDE_BARE_TARGETS): Remove.
(OVERRIDE_TARGET_ALL): Define.
(all-recursive,$(STD_TARGETS:=-recursive)): Depend on
'platform-check' and 'profile-check'.
(all.override): New.  Run two passes: once to build, and once to
sign libraries.

build/:
* rules.make (OVERRIDE_BARE_TARGETS): Remove.
(OVERRIDE_TARGET_ALL): New control for overriding the default all:
rule.  If set, 'make all' will run 'all.override' from the client
Makefile.
(all): Move commands ...
(all.real): ... here.  Make ordering assumptions explicit, and
parallel-safe.
(test,run-test,run-test-ondotnet,clean,install,uninstall):
Consolidate into ...
(STD_TARGETS): ... this new variable.  Make ordering assumption
between -recursive and -local targets explicit.
(%-recursive): Handle W32 GNU make that has --unix as the first
argument in $(MAKE).
* README.makefiles (Special recursion needs): Update to reflect
changes.
* library.make (all-local): Build $(the_lib_signature_stamp) when
NO_SIGN_ASSEMBLY is defined.
($(gacutil),$(sn)): Consolidate rules.
(test-local,run-test-local,run-test-ondotnet-local): Likewise.

class/:
* IBM.Data.DB2/Makefile (all-local $(STD_TARGETS:=-local)):
Simplify dummy rule somewhat.

class/Npgsql/:
* Makefile (OVERRIDE_BARE_TARGETS): Remove.
($(the_lib)): Make dependency explicit.

class/corlib/:
* Makefile ($(net20bootstrap_makefrag)): Build from net_2_0
profile response file.
(gmcs): Style update.

svn path=/trunk/mcs/; revision=30643
2004-07-02 08:31:03 +00:00

445 lines
17 KiB
Plaintext

2004-07-02 Raja R Harinath <[email protected]>
* Makefile (OVERRIDE_BARE_TARGETS): Remove.
($(the_lib)): Make dependency explicit.
2004-06-28 Raja R Harinath <[email protected]>
* Makefile (%.resources): Use $(RESGEN).
2004-06-22 Raja R Harinath <[email protected]>
* Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
2004-06-21 Raja R Harinath <[email protected]>
* Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
2004-06-18 Francisco Figueiredo Jr. <[email protected]>
* Synchronized files with gborg cvs up to release 0.6.
2004-05-29 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
([email protected]) for the patch.
2004-05-24 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
Fixes Gborg bug 752.
Thanks [email protected] for the patch.
2004-05-23 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
connect to cvs built servers which had devel in its version string.
2004-05-22 Francisco Figueiredo Jr. <[email protected]>
Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlDataReader.cs,
Npgsql/NpgsqlException.cs,
Npgsql/NpgsqlTransaction.cs,
Npgsql/Design/ConnectionStringEditor.cs,
Npgsql/Design/ConnectionStringEditorForm.cs,
Npgsql/Design/NpgsqlParameterConverter.cs,
Npgsql/Design/NpgsqlParametersEditor.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
Glen Parker ([email protected]): Bug #772 ("Using
Command and Prepare adds single quotes to strings twice")
is fixed :-) It was broken when running on the version 3
protocol (extended query support) on PostgreSQL 7.4.
Some of the files in Design were formatted with macintosh line
terminators. This was screwing up the xmldoc generator in csc,
so I reformatted to make it work.
I've added some essential xmldoc comments (<summary> tags). Much work
remains here, but I wanted to get a few in on common functions and
properties.
The .build file will now generate the Npgsql.xml file, next to the .dll
file. I removed the existing Npgsql.xml from CVS.
Thanks Glen Parker for this patch.
2004-05-20 Francisco Figueiredo Jr. <[email protected]>
NpgsqlAsciiRow.cs,
NpgsqlBackEndKeyData.cs,
NpgsqlBinaryRow.cs,
NpgsqlCommand.cs,
NpgsqlConnectedState.cs,
NpgsqlConnection.cs,
NpgsqlConnection.resx,
NpgsqlConnector.cs,
NpgsqlConnectorPool.cs,
NpgsqlError.cs,
NpgsqlMediator.cs,
NpgsqlMessageTypes.cs,
NpgsqlPasswordPacket.cs,
NpgsqlQuery.cs,
NpgsqlRowDescription.cs,
NpgsqlStartupPacket.cs,
NpgsqlState.cs,
PGUtil.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
- split more protocol handlers between version 2 and version 3
- split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
- store BackendKeyData in its own member on Mediator
- Store ParameterStatus objects in a key map on Mediator
- Get backend version now from the Mediator if possible
- Rewrite parsers for server version and connection string
- Store server version numericially (in a new class ServerVersion)
- As usual, lots of code cleanup/commenting/etc.
Thanks very much Glen Parker ([email protected]) for this patch.
2004-05-20 Raja R Harinath <[email protected]>
* Makefile (%.resources): Use INTERNAL_RESGEN.
2004-05-13 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
o InvalidOperationException when calling the Hash property and hash value is nul
l. Thanks Gonzalo Paniagua Javier <[email protected]> for catching that.
2004-05-09 Francisco Figueiredo Jr. <[email protected]>
* HashAlgorithm.cs,
NpgsqlAsciiRow.cs,
NpgsqlBinaryRow.cs,
NpgsqlClosedState.cs,
NpgsqlCommand.cs,
NpgsqlCommandBuilder.cs,
NpgsqlConnection.cs,
NpgsqlDataReader.cs,
NpgsqlException.cs,
NpgsqlParameterCollection.cs,
NpgsqlReadyState.cs,
NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
e meaningful exceptions instead of throw NpgsqlException which are now exclusive
ly to sign server errors. Thanks Glen Parker ([email protected]) for the patch.
2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* Makefile:
* Npgsql.dll.resources: all the resources command line options are now
in a separate response file.
2004-05-04 Jaroslaw Kowalski <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
2004-05-01 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlConnector.cs,
Npgsql/NpgsqlConnectorPool.cs,
Npgsql/NpgsqlError.cs,
Npgsql/NpgsqlException.cs,
Npgsql/NpgsqlParameterCollection.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker ([email protected]) for the patch.
2004-04-30 Todd Berman <[email protected]>
* Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
2004-04-30 Duncan Mak <[email protected]>
* Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
* Npgsql/Npgsql.pub: Added to CVS.
2004-04-21 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
* Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
* Npgsql/NpgsqlCommand.cs
* Npgsql/NpgsqlCommand.resx
* Npgsql/NpgsqlConnection.cs
* Npgsql/NpgsqlConnection.resx
* Npgsql/NpgsqlDataAdapter.cs
* Npgsql/NpgsqlError.cs
* Npgsql/NpgsqlException.cs
* Npgsql/NpgsqlException.resx
* Npgsql/NpgsqlMediator.cs
* Npgsql/NpgsqlState.cs
* Npgsql/NpgsqlState.resx
* Npgsql/PGUtil.cs : Added initial error handling code improvements. Thanks Glen Parker ([email protected]) for the patch. NpgsqlException now gives aceess to error collection through the Errors property. This property return a collection of NpgsqlErrors objects. Also it gives access to error message, hint, severity and code. This fixes the feature request 689 in gborg.
2004-04-09 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Fixed DataAdapter to raise the RowUpdating and RowUpdated events. This also fixes some issues in gborg 710 bug. This modification may have broken CommandBuilder support. Working on that.
2004-03-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlTransaction.cs: Fixed a bug where rollback was being called when disposing NpgsqlTransaction objects even when transaction was sucessfully commited. Fixes bug 725 in gborg. Thanks melkor ([email protected]) for spotting that.
2004-03-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
2004-03-22 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlAsciiRow.cs
* Npgsql/NpgsqlBinaryRow.cs
* Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker ([email protected]) for the patch.
2004-03-13 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlClosedState.cs: Added support for SSL callbacks points. Now, client applications can provide the callbacks. Npgsql provide a default callback implementation which always assumes the certificate is ok. This allows easy use as client don't need to provide callback to use ssl connections. This also fixes bug 705 in gborg.
* NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <[email protected]> for the patch.
2004-03-06 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <[email protected]> for the patch.
2004-02-29 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
* Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
2004-02-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
* Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
* Npgsql/NpgsqlCommand.cs: Fixed an Invalid Index error when executing ExecuteScalar() method with an empty resultset. Thanks Lynn A. Roth for the fix. This fixes bug 687 in gborg.
2004-02-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
* Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <[email protected]> for the patch.
2004-02-16 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
ction startup time in 300 milliseconds.
2004-02-16 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
request 534 on gborg. Thanks Ivar <[email protected]> for pointing it out.
2004-02-16 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
connecting using protocol 3.0 version. Thanks Sami Kuhmonen <[email protected]> for pointing it out.
2004-02-14 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <[email protected]> for the fix.
2004-02-10 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen ([email protected]).
2004-01-15 Jackson Harper <[email protected]>
* NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
2003-11-23 Pedro Martínez Juliá <[email protected]>
* Npgsql/HashAlgorithm.cs:
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlCommand.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlStartupState.cs:
* Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
ADO.NET we need to call Dispose after using any Component like
NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
methods to Properties.
2003-11-22 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
implementation. Now we're using TcpClient for the connection and
Stream for the abstraction layer to SslClientStream.
2003-11-11 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
CanRead because the schema can be readed with or without result
rows.
2003-11-10 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
2003-11-10 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
when a mapping is not in the collection.
2003-11-09 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
CommandBuilder to the local data. Local data should be null if the
client doesn't set them.
* Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
2003-11-09 Pedro Martínez Juliá <[email protected]>
* Makefile: Little fix for build the resources.
* Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
command.
2003-11-08 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
calls, the problem is fixed.
* Makefile: Fix one bug in the build of resources.
2003-11-08 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
* Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
OnRowUpdating is called we create the command necesary for updating,
inserting or deleting any row of the DataTable/DataSet.
* Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
work. This must be removed when ResMan works.
* Npgsql/NpgsqlParameter: No more than one call to value.GetType()
is more efficient for the deep if structure types.
2003-11-07 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
change. The Command objects must not be created in the constructor.
The Commands should be in the overrided method "OnRowUpdating".
* Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
the proper exception (not MissingManifestResourceException). It is
thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
2003-11-07 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
different Insrt / Update / Delete commands.
2003-10-20 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
namespace is Mono.System.Protocol.Tls, before was
System.Security.Tls.
* Npgsql/Makefile: Change reference from System.Security.Tls to
Mono.Security (now Tls lives there).
2003-10-16 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
because now it is used TlsSession and it doesn't work without
these changes.
2003-10-16 Pedro Martínez Juliá <[email protected]>
* Makefile: changed reference from Lib/System.Security.Tls.dll to
System.Security.Tls because the last will be installed before and
separatelly.
* Lib: Removed Lib directory, moved System.Security.Tls.dll to
Mono.Security.Tls library directory.
2003-10-15 Pedro Martínez Juliá <[email protected]>
* Makefile: fix building and the install objectives.
2003-04-26 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
they works as direct casting from GetValue.
2003-07-18 Peter Williams <[email protected]>
* Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
we can't unless corlib is strongnamed too. Not a wonderful solution,
but I don't think this ever worked anyway.
2003-05-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
processing 0 rows queries.
2003-04-26 Pedro Martínez Juliá <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
date formats. I think that it's needed support to auto-detect
DateTime format through PgSql server configuration.
2003-01-28 Daniel Morgan <[email protected]>
* Npgsql.build: got it to work for Windows build
* Npgsql/Npgsql.build
* Npgsql/Npgsql.cmbx
* Npgsql/Npgsql.prjx: removed files not needed
2003-01-28 Daniel Morgan <[email protected]>
* added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
from http://gborg.postgresql.org/project/npgsql/projdisplay.php
by adding the following files and directories to the mcs module
in mono-cvs.ximian.com at mcs/class:
Npgsql (directory)
ChangeLog
Makefile
Npgsql.build
RELEASENOTES.txt
TODO.txt
makefile.gnu
LICENSE.txt
README.txt
STATUS.txt
list
Npgsql/Npgsql (directory)
Npgsql/AssemblyInfo.cs
Npgsql/NpgsqlAsciiRow.cs
Npgsql/NpgsqlBackEndKeyData.cs
Npgsql/NpgsqlClosedState.cs
Npgsql/NpgsqlCommand.cs
Npgsql/NpgsqlConnectedState.cs
Npgsql/NpgsqlConnection.cs
Npgsql/NpgsqlConnector.cs
Npgsql/NpgsqlConnectorPool.cs
Npgsql/NpgsqlDataAdapter.cs
Npgsql/NpgsqlDataReader.cs
Npgsql/NpgsqlEventLog.cs
Npgsql/NpgsqlException.cs
Npgsql/NpgsqlMediator.cs
Npgsql/NpgsqlMessageTypes.cs
Npgsql/NpgsqlParameter.cs
Npgsql/NpgsqlParameterCollection.cs
Npgsql/NpgsqlPasswordPacket.cs
Npgsql/NpgsqlQuery.cs
Npgsql/NpgsqlReadyState.cs
Npgsql/NpgsqlResultSet.cs
Npgsql/NpgsqlRowDescription.cs
Npgsql/NpgsqlStartupPacket.cs
Npgsql/NpgsqlStartupState.cs
Npgsql/NpgsqlState.cs
Npgsql/NpgsqlTransaction.cs
Npgsql/PGUtil.cs