Age | Commit message (Collapse) | Author |
|
* NpgsqlClosedState.cs: Added a performance improvement fix. Npgsql now use a buffered stream for all server interactions.
svn path=/trunk/mcs/; revision=54309
|
|
* Npgsql/NpgsqlCommand.cs: [bugzilla 76961] Fixed problem with ExecuteReader when using SchemaOnly and SingleRow behavior at same time. Thanks Kamil Skalski for feedback.
svn path=/trunk/mcs/; revision=54193
|
|
Npgsql/NpgsqlError.cs,
Npgsql/NpgsqlParameter.cs,
Npgsql/NpgsqlConnectionString.cs,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlSchema.cs,
Npgsql/NpgsqlClosedState.cs,
Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlState.cs,
Npgsql/NpgsqlAsciiRow.cs,
Npgsql/NpgsqlConnectorPool.cs,
Npgsql/NpgsqlConnector.cs,
Npgsql/NpgsqlQuery.cs,
Npgsql/NpgsqlRowDescription.cs,
Npgsql/NpgsqlCommandBuilder.cs,
Npgsql/NpgsqlDataReader.cs,
Npgsql/NpgsqlException.cs,
Npgsql/NpgsqlMediator.cs,
Npgsql/NpgsqlReadyState.cs,
Npgsql/NpgsqlEventLog.cs,
Npgsql.dll.resources,
NpgsqlTypes/NpgsqlTypeConverters.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs,
Makefile: Updated to 1.0beta1
svn path=/trunk/mcs/; revision=54161
|
|
* NpgsqlParameter.cs: Applied patch to fix a NullReferenceException when using Design Time support. Thanks Josh Cooley ( jbnpgsql at tuxinthebox dot net ) for patch.
* NpgsqlDataReader.cs: Updated ProviderType metadata from NpgsqlDataReader.GetResultsetSchema to be the string for the type rather than the oid. Fixed ColumnSize, NumericPrecision, NumericScale, BaseColumnName, AllowDBNull, and IsAliased. Also integrated patch from (rlp at bamafolks dot com), gborg 751. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patches!
* NpgsqlConnection.cs,
NpgsqlSchema.cs: Josh Cooley (jbnpgsql at tuxinthebox dot net) improved Metadata support in Npgsql. Added support for the following collections through NpgsqlConnection.GetSchema() methods: MetaDataCollections, Restrictions, Databases, Tables, Columns, Views and Users. Also added support for restrictions when getting info about these collections.
* NpgsqlCommand.cs: Fixed problem with stored procedure command texts which finished with a ";". Npgsql was adding incorrectly a trailing "()" when calling this command text.
* NpgsqlDbType.cs,
NpgsqlTypesHelper.cs: Added refcursor parameter support. Now, refcursors can be passed as arguments for functions. Thanks Jon Asher for heads up and tests.
* NpgsqlDataAdapter: Updated constructor documentation.
* Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).
* NpgsqlConnectorPool: Fixed concurrent problem when using MinPoolSize > 1. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patch.
* NpgsqlParameterCollection.cs: Fixed problems with parameters with "@" prefix. They weren't correctly recognized. Thanks Pejvan Beigui ( pejvan at gmail dot com) for heads up.
* NpgsqlCommandBuilder.cs: Updated documentation.
svn path=/trunk/mcs/; revision=48966
|
|
* Makefile,
Npgsql.dll.resources: Removed references to design time support. This is not needed when compiling Npgsql with mono.
svn path=/trunk/mcs/; revision=48633
|
|
* NpgsqlCommand.cs: Fixed problem when using commandtype.storedprocedure with command texts which have parameters with ' or any other value which needed to be escaped. Now they are properly handled. Thanks Dalibor (dalxxx at email dot com) for heads up and tests.
svn path=/trunk/mcs/; revision=48070
|
|
* NpgsqlConnection.cs: Fixed documentation about User Id connection string key. Thanks peyn
at tlen dot pl for heads up. Fixes gborg 1388
svn path=/trunk/mcs/; revision=48050
|
|
* NpgsqlCommand.cs: Fixed problem with query strings with newlines. Regexp used to parse parameters were removing new line bytes creating query strings with errors. Thanks Jaroslaw Kowalski (jaak at jkowalski dot net) for fix.
svn path=/trunk/mcs/; revision=47826
|
|
* NpgsqlTypes/NpgsqlTypeConverters.cs: Gborg 1370. Fixed problems with Money type when using a culture which doesn't use dot as decimal separator. Also fixed problem where only Decimal types (i.e.: 7.4M) could be used as Money type values. Now Float values can be used too.
svn path=/trunk/mcs/; revision=47457
|
|
* Npgsql/NpgsqlCommand.cs: Npgsql now can handle functions which return refcursor and setof refcursor. Now, results are returned as NpgsqlDataReader resultsets. There is no need to explicitly call "fetch all ..."
svn path=/trunk/mcs/; revision=47105
|
|
* NpgsqlTypes/NpgsqlDbType.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs,
Npgsql/NpgsqlParameter.cs,
Npgsql/NpgsqlConnectionString.cs,
Npgsql/NpgsqlState.resx,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlClosedState.cs,
Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlConnector.cs,
Npgsql/NpgsqlParameterCollection.cs,
Npgsql/NpgsqlDataReader.cs,
Npgsql/NpgsqlException.cs: Updated to Npgsql 0.7beta6 gborg code.
svn path=/trunk/mcs/; revision=46979
|
|
* Npgsql/NpgsqlCommand.cs: Fixed a problem when using prepare commands inside a transaction. Portal wasn't being released. We use the unnamed portal now. Thanks Marcin (marcin at floryan dot neostrada dot pl) for the heads up.
svn path=/trunk/mcs/; revision=40935
|
|
* NpgsqlTypes/NpgsqlTypesHelper.cs: gborg 1121: Fixed another culture variant representation problem when handling floating numbers. Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
svn path=/trunk/mcs/; revision=40577
|
|
* NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
* Npgsql/NpgsqlCommand.cs: Fixed problem when setting a new connection and a running transaction existed. Now, the transaction can be removed and later the connection can be replaced. Thanks Mike Griffin (mike.griffin at mygenerationsoftware dot com) for heads up.
2005-02-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlTypes/NpgsqlTypeConverters.cs: Fixed datetime precision when sending values to backend. It was sending just the first 3 decimal values of time. Now it sends all the 6 digits. Thanks Martin Susil (spam at susil dot net) for heads up.
2005-01-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
Fixed internal constructor to initialize Parameters collection and timeout.
svn path=/trunk/mcs/; revision=40316
|
|
* Npgsql/NpgsqlParameter.cs,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlParameterCollection.cs,
Makefile: Fixed problem when compiling Npgsql with Mono on windows with cygwin. Thanks Atsushi Enomoto(atsushi at ximian dot com) for heads up and Rafael Teixeira(monoman at gmail dot com) for fix.
svn path=/trunk/mcs/; revision=39635
|
|
* Makefile : quick csc build fix (tested on mcs as well).
svn path=/trunk/mcs/; revision=39425
|
|
* NpgsqlTypes/NpgsqlTypes.cs,
Npgsql.dll.sources,
Npgsql/NpgsqlParameter.cs,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlParameterCollection.cs,
Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
* NpgsqlTypes/NpgsqlTypesHelper.cs: Added patch for gborg 1121. Thanks regmaster (regmaster at gmx dot li) and torben (torben-spam-npsql at nehmer dot net) for patch.
svn path=/trunk/mcs/; revision=39389
|
|
* NpgsqlTypes/NpgsqlDbType.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
* Npgsql/PGUtil.cs,
Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
* Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support.
gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
* Npgsql/NpgsqlCommandBuilder.cs,
NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
* Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
svn path=/trunk/mcs/; revision=39297
|
|
* Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Møller (cgm at knowledgelab dot sdu dot dk) for heads up.
svn path=/trunk/mcs/; revision=37971
|
|
* Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Moller (cgm at knowledgelab dot sdu dot dk) for heads up.
svn path=/trunk/mcs/; revision=37970
|
|
* Npgsql/NpgsqlCommand.cs: Fixed gborg 1088 and 1080. Thanks Neri (neri at gborg dot postgresql dot org) for help. Now mapped output parameters are correctly updated regardless their position in Parameters collection.
svn path=/trunk/mcs/; revision=37944
|
|
* Npgsql/NpgsqlConnector.cs: Changed name of portal and prepare prefixes to be all lower case in order to not have case problems when deallocating them. * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.
svn path=/trunk/mcs/; revision=37943
|
|
* Npgsql/NpgsqlConnector (IsValid): Clean mediator after get a connection from pool and test it for validity. This fix a bug which some times occured which made available this test resultset to user when it shouldn't.
svn path=/trunk/mcs/; revision=37450
|
|
* Makefile ($(RESX_RES)): Pass argument of RESGEN through
PLATFORM_CHANGE_SEPARATOR_CMD.
In class/Npgsql:
* Makefile (CLEAN_FILES): Add $(RESX_RES).
($(the_lib)): Depend on $(OTHER_RES) too.
($(RESX_RES)): Pass argument of RESGEN through
PLATFORM_CHANGE_SEPARATOR_CMD.
svn path=/trunk/mcs/; revision=37296
|
|
* Npgsql/NpgsqlCommand.cs: gborg 971 & 1068: Added support for ParameterDirection.Output and ParameterDirection.InputOutput parameters. Now you can usethese types of parameters to get results. Thanks Ivan (ivan-sun1 at mail dot ru) and (teste at aslls dot ss) for heads up.
svn path=/trunk/mcs/; revision=37154
|
|
* Makefile (dist-local): Use the default dist rules.
In class/ByteFX.Data:
* Makefile (OTHER_RES): New. List of resources.
(EXTRA_DISTFILES): Distribute them.
In class/Npgsql:
* Makefile (OTHER_RES): New. List of .bmp files.
(EXTRA_DISTFILES): Distribute them.
svn path=/trunk/mcs/; revision=36617
|
|
Updated to 0.7beta3 release.
svn path=/trunk/mcs/; revision=36554
|
|
* Makefile (DISTFILES): Add nunit.key.
In build:
* platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME): New.
* platforms/win32.make: Likewise.
* profiles/basic.make: Use $(EXTERNAL_MCS).
* profiles/net_1_1_bootstrap.make: Likewise.
* library.make ($(the_lib)): Add support for BUILT_SOURCES.
(run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness. Useful to
pass, say /labels, to nunit-console.
In class:
* Makefile (DISTFILES): Add public and private keys.
(lib/basic.tar.gz): New.
(dist-local): Distribute it.
(DIST_ONLY_SUBDIRS): Distribute Managed.Windows.Forms.
* I18N/Makefile (DISTFILES): Add Assembly/ChangeLog and
Assembly/AssemblyInfo.cs.
* IBM.Data.DB2/Makefile (EXTRA_DISTFILES): Distribute ibm.pub.
In class/System.Web:
* Makefile (RESOURCE_FILES): New. List set of resources.
(EXTRA_DISTFILES): New. Distribute them.
In class/ICSharpCode.SharpZipLib:
* Makefile (EXTRA_DISTFILES): Add SharpZipLib.pub.
In class/System.Data:
* Makefile (BUILT_SOURCES): New. Build Mono.Data.SqlExpressions/Parser.cs.
(EXTRA_DISTFILES): Add Mono.Data.SqlExpressions/Parser.jay.
* System.Data.dll.sources: Don't mention Mono.Data.SqlExpressions/Parser.cs.
In class/Microsoft.Web.Services:
* Makefile (dist-local): Use cp -p.
In class/Npgsql:
* Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
In class/Mono.C5:
* Makefile (EXTRA_DISTFILES): Distribute LICENCE.txt and keys.
In class/Mono.Security.Win32:
* Makefile (NO_TEST): Define when not in W32.
In class/Microsoft.VisualBasic:
* Makefile (EXTRA_DISTFILES): Fix typo.
svn path=/trunk/mcs/; revision=36550
|
|
svn path=/trunk/mcs/; revision=35636
|
|
* NpgsqlTypes/FastPath.cs,
NpgsqlTypes/FastPathArg.cs,
NpgsqlTypes/LargeObject.cs,
NpgsqlTypes/LargeObjectManager.cs,
Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
svn path=/trunk/mcs/; revision=34575
|
|
* Npgsql/NpgsqlDataReader.cs:
GetBytes: Added a little fix for proper handling of getbytes with current Npgsql semantics in mind. For while, we just support offset value of 0 as we
read all the bytes field value at a time. So there is no copy when offset is not 0.
svn path=/trunk/mcs/; revision=34406
|
|
* Npgsql/NpgsqlCommand.cs:
GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
svn path=/trunk/mcs/; revision=34405
|
|
* Npgsql/NpgsqlCommand.cs:
ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
svn path=/trunk/mcs/; revision=34395
|
|
* NpgsqlTypes/NpgsqlTypesHelper.cs:
ConvertToBackend: Added support for System.Enum types. Now enumerated types can be used correctly as a paramater value. Thanks Martin ( martijn at boland dot org) for the heads up.
svn path=/trunk/mcs/; revision=34322
|
|
* Npgsql/NpgsqlCommand.cs:
GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
* NpgsqlTypes/NpgsqlTypeConverters.cs:
BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
svn path=/trunk/mcs/; revision=34050
|
|
* NpgsqlCommand.cs,
NpgsqlConnector.cs: Improved portal and plan name creation to use an unique number from NpgsqlConnector instead of using an static field in NpgsqlCommand. Thanks Martin ( martijn at boland dot org) for the heads up.
svn path=/trunk/mcs/; revision=34038
|
|
* Npgsql/NpgsqlRowDescription.cs:
FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
svn path=/trunk/mcs/; revision=33950
|
|
* Npgsql/NpgsqlRowDescription.cs:
FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
svn path=/trunk/mcs/; revision=33910
|
|
* NpgsqlTypes/NpgsqlTypesHelper:
VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
for heads up.
svn path=/trunk/mcs/; revision=33785
|
|
* NpgsqlTypes/NpgsqlTypesHelper:
ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
Fix bug 955 in gborg.
svn path=/trunk/mcs/; revision=33784
|
|
* Npgsql/NpgsqlConnection.cs:
Dispose: Improved implementation. Also added warning logging for
NpgsqlConnection leakings.
Close: Fixed code to allow calling many times even when being disposed.
* Npgsql/NpgsqlConnection.resx:
Added new warning logging message for NpgsqlConnection leakings.
* Npgsql/NpgsqlConnector.cs:
IsValid: new method to check if Connector is still valid.
* Npgsql/NpgsqlConnectorPool.cs:
GetPooledConnector: Improved to check validity of Connector.
FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
svn path=/trunk/mcs/; revision=33757
|
|
* NpgsqlException.cs: Added support for deserialization of NpgsqlException.
* NpgsqlState.cs: Added missing handling of NoData message.
svn path=/trunk/mcs/; revision=33539
|
|
(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
|
|
svn path=/trunk/mcs/; revision=30501
|
|
svn path=/trunk/mcs/; revision=30101
|
|
svn path=/trunk/mcs/; revision=30028
|
|
* Synchronized files with gborg cvs up to release 0.6
svn path=/trunk/mcs/; revision=29839
|
|
* Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
(jaak@zd.com.pl) for the patch.
svn path=/trunk/mcs/; revision=28437
|
|
* Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
connect to cvs built servers which had devel in its version string.
svn path=/trunk/mcs/; revision=27928
|
|
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 (glenebob@nwlink.com): 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.
svn path=/trunk/mcs/; revision=27877
|