Commit Graph

180 Commits

Author SHA1 Message Date
Federico Di Gregorio
9080b30741 Preparing release 2.4.1 2011-05-11 09:58:34 +02:00
Daniele Varrazzo
7716cc6a0c Allow to specify --static-libpq on setup.py command line
Patch provided by Matthew Ryan (ticket #48).
2011-03-26 13:48:37 +00:00
Daniele Varrazzo
4a8b5f98f3 Bump to work on 2.4.1 2011-03-04 20:18:22 +00:00
Federico Di Gregorio
2212ea96a6 Preparing release 2.4
* NEWS file now uses 72 columns (better in emails and posts)
* Bumped versions
* Updated MonoDevelop file
2011-02-27 12:52:00 +01:00
Jason Erickson
2997c0eb6c Windows MSVC: 64bit compiler sees 2 export symbols
The MSVC compiler sees a request for the main symbol (init__pyscopg) to be
exported twice during the build process and issues a warning in 64bit mode.
One symbol is from distutils exporting the library with the
build_ext.get_export_symbols() function, the other is from the #define
PyMODINIT_FUNC (define in pyport.h) that begins the main _psycopg module.
This patch overrides the get_export_symbols function and returns an empty
array of symbols to export if the compiler is MSVC.
2011-02-25 10:25:12 +00:00
Jason Erickson
6f0dfe6d2d Windows MSVC: Remove /Wp64 compiler flag
Remove the /Wp64 flag since it is deprecated starting in Visual Studio 2008.
2011-02-23 14:29:44 -07:00
Daniele Varrazzo
8530ef1793 Download url set to the sdist location. 2011-02-18 13:53:57 +00:00
Daniele Varrazzo
7756eae573 Merge remote branch 'jason/devel' into devel 2011-02-17 11:50:14 +00:00
Daniele Varrazzo
84352e8cfb Bump version number 2011-02-15 10:26:48 +00:00
Jason Erickson
7dfb40ce43 Windows manifest check now checks compiler type
Initial compiler check was only checking two python versions.  Changed the
check not to check python version, but compiler version, to be compatible
with more versions of python.
2011-02-14 16:03:38 -07:00
Daniele Varrazzo
3842026bed Bumped to 2.4 beta2
We may release a Windows package to let people test if ticket #20 is
fixed.
2011-02-12 20:19:14 +00:00
Jason Erickson
560f52106c Windows manifest changes based upon architecture
Apparently, using * for the architecture has the potential to not work on
on some amd64 systems.  Added checks and split the manifest based upon
architecture.
2011-02-11 10:01:38 -07:00
Jason Erickson
da68119f7c MSVC manifest change to work with buildbot
The buildbot does not seem to like the checks for if the source has
changed, forced build, etc.  Removed to work with buildbot.
2011-02-10 22:55:33 -07:00
Jason Erickson
502d8e120e Fix manifest insertion checks for MSVC py2.6/2.7
The manifest was never inserted because the checks were failing.  Assuming
build_extension was clearing out some of the checked values.
2011-02-10 22:28:27 -07:00
Jason Erickson
f2c0a01db1 Modified code to conform to python coding standard
Change indention from 2 spaces to 4 spaces with recent changes.
2011-02-10 21:50:33 -07:00
Jason Erickson
68ccac1766 Fixed linefeeds on merged files to unix linefeeds
Merge utility changed the linefeeds from unix to windows.  Changed the
linefeeds back to unix linefeeds.
2011-02-10 17:16:10 -07:00
Jason Erickson
b075017ad9 Pulled down changes from dvarrazzo branch on gh
Pulled the master branch from of Daniele's psycopg branch on github and
merged the changes.
2011-02-10 15:59:31 -07:00
Jason Erickson
8d28509f49 Change win32 build to reinsert VC Library Manifest
Added a change at the end of the build process that would reinsert the VC library manifest.  This patch will fix issues when an embedded program does not have a manifest pointing to the VC 2008 runtime library, such as in an apache/mod_python situation.

Signed-off-by: Jason Erickson <jerickso@stickpeople.com>
2011-02-10 13:17:14 -07:00
Daniele Varrazzo
d08bfcbee5 Refuse to build if pg_config is not found.
I think half of the problems in OS X setup are due to setup going ahead
even when the pg_config is not found. We are now only building with PG
version that make the tool available.
2011-01-02 02:01:53 +01:00
Daniele Varrazzo
506ce93a5b Bump to the next dev version. 2011-01-01 12:55:41 +01:00
Federico Di Gregorio
69c66a3a3f Preparing release 2.3.2 2010-12-20 13:33:21 +01:00
Daniele Varrazzo
5a0cfad95f Bump to next dev version. 2010-12-18 15:25:53 +00:00
Daniele Varrazzo
9e9933faed Update classifier URLs for PyPI. 2010-12-04 23:14:03 +00:00
Federico Di Gregorio
ee5015a30b Preparing release 2.3.1 2010-12-04 21:24:02 +01:00
Daniele Varrazzo
ebd73c14a8 Going to dev version for 2.3.1. 2010-12-04 13:43:28 +00:00
Federico Di Gregorio
2dae07a796 Preparing release 2.3.0 2010-12-02 14:41:58 +01:00
Daniele Varrazzo
1fd6b84068 Added test suite to the distributed package. 2010-11-24 03:36:57 +00:00
Daniele Varrazzo
6f51eefac3 Dropped references to psycopg 1 from readme and install.
Nowaday not many remember it: I think it's useless to make comparisons.
2010-11-20 01:14:05 +00:00
Daniele Varrazzo
a88d7ab424 Dropped support for protocol 2.
Dropped both the setup constant allowing conditional compiling and the
code specific to V2 protocol (mostly COPY and error handling).
2010-11-16 01:08:50 +00:00
Federico Di Gregorio
cf07af5ff5 Version bump to 2.3.0-beta2 2010-11-09 18:51:46 +01:00
Federico Di Gregorio
645ab521f3 Preparing release 2.3.0-beta1
* Merged NEWS-2.3 and NEWS-2.2: 2.0 (pre-async) still makes sense in case
  someone has horrible problems with the new code but 2.3 will just
  substitute 2.2 so having a separated NEWS file doesn't make sense.

* Moved authors and contributors to AUHTORS file.

* README now has pointers to web site and bug tracker.

* Updated MonoDevelop project.
2010-11-06 15:50:39 +01:00
Daniele Varrazzo
40377a18af Updated classifier to make the upload work. 2010-11-05 10:06:54 +00:00
Daniele Varrazzo
d6cdc1c7b6 Bump to 2.3.dev0 2010-11-05 09:34:53 +00:00
Daniele Varrazzo
0021e56d80 Added connection.xid() and related objects.
By James Henstridge on 2008-07-23.

Merged from lp:~jamesh/psycopg/two-phase-commit/revision/356

* psycopg/connection_type.c (psyco_conn_xid): add a
Connection.xid() method that instantiates Xid objects.

* psycopg/psycopgmodule.c (init_psycopg): initialise the Xid
object type.

* psycopg/xid.h:
* psycopg/xid_type.c: Implement a basic transaction ID object for
use in two phase commit.
2010-11-05 09:34:47 +00:00
Daniele Varrazzo
f435d15c95 Adding Notify object with payload. 2010-11-05 09:34:46 +00:00
Daniele Varrazzo
cb1ef242a0 Bump to version 2.2.3-devel. 2010-09-23 23:27:55 +01:00
Federico Di Gregorio
c3b835929b Preparing release 2.2.2 2010-07-18 12:32:45 +02:00
Federico Di Gregorio
557608f715 Applied spelling fixes patch from Peter Eisentraut 2010-07-18 12:14:46 +02:00
Daniele Varrazzo
e3d489f701 Bump to version 2.2.2-devel.
The -devel suffix appears in the docs we publish on the website, so it's
clear that they refer to the upcoming version.
2010-05-20 02:03:07 +01:00
Daniele Varrazzo
eacf6febfe Warn on declarations not at beginning of the block.
They are accepted by gcc but not by MS compilers.
2010-05-19 11:40:38 +01:00
Federico Di Gregorio
23391a3c55 Preparing release 2.2.1 2010-05-17 21:51:25 +02:00
Jason Erickson
069695b4ae Additional Library for Windows linking and OpenSSL 1.0.0
Added the linking of crypt32.lib to the windows SSL build, as it seems that the current version of OpenSSL is looking for crypt32.lib as well.
2010-05-17 09:06:29 +02:00
Federico Di Gregorio
36cbefdee1 Updated project and version for release 2.2.0 2010-05-15 17:51:54 +02:00
Daniele Varrazzo
1446f046e9 Added wait callback and functions to deal with it. 2010-04-21 15:21:32 +01:00
Federico Di Gregorio
012e2e3c72 Preparing 2.2.0 release candidate 1 2010-04-05 17:06:35 +02:00
Federico Di Gregorio
0edd520593 Preparing release 2.0.14 (final) 2010-03-13 21:15:50 +01:00
Federico Di Gregorio
21a6a64fd1 Changed setup.py to detect PostgreSQL "alpha" versions 2010-03-11 22:42:00 +01:00
Federico Di Gregorio
3636bc4201 Release candidate 1 2010-02-22 19:45:48 +01:00
Federico Di Gregorio
fd6d3185b4 Preparing release 2.0.14 2010-02-21 01:26:43 +01:00
Federico Di Gregorio
192034dc38 Fixed problem with decimal.Decimal conversions 2010-02-21 01:04:00 +01:00
Federico Di Gregorio
67de65040c Fixed license in trove categories 2010-02-14 13:35:49 +01:00
Daniele Varrazzo
f6e87fbb30 Moved status from beta to stable in trove classifier. 2010-02-14 00:35:48 +01:00
Federico Di Gregorio
611606d532 Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
Jason Erickson
b537404487 Fixed --have_ssl command line parameter
Added initialization of have_ssl variable so passing --have_ssl on the
command line works.
2009-10-08 13:18:55 +02:00
Jason Erickson
ac1b5ce68a Unclear error message when no pg_config found
If unable to find pg_config, a warning will be printed instead of stopping
the build process and displaying a generic error message.
2009-10-08 13:17:26 +02:00
Jason Erickson
69a8400e60 Added additional library required for PostgreSQL 8.4.x
For MSVC, added an additional library to include that is required for
PostgreSQL 8.4.x.
2009-10-04 23:37:14 +02:00
Federico Di Gregorio
9bd771cda0 Preparing release 2.0.13 2009-10-04 12:53:42 +02:00
Federico Di Gregorio
9670c9eddc Enabled linking to static libpq 2009-10-04 12:43:30 +02:00
Federico Di Gregorio
0fc94be496 Preparing release 2.0.12 2009-08-09 17:22:18 +02:00
Federico Di Gregorio
a2af059e6c Fixed PostgreSQL version detection 2009-08-09 16:28:27 +02:00
Federico Di Gregorio
091102a919 Preparing release 2.0.11 2009-05-09 14:52:16 +02:00
Federico Di Gregorio
e1fae0fcac Fixed bug in RealDictCursor when prefetching 2009-05-09 14:44:59 +02:00
Federico Di Gregorio
5e3fa15091 Better detection of PostgreSQL version 2009-04-21 00:38:09 +02:00
Federico Di Gregorio
d621c02e58 Preparing release 2.0.10 2009-04-20 20:34:06 +02:00
Federico Di Gregorio
e3a5ae8e20 Added a couple of test scripts to sandbox 2009-04-19 16:25:49 +02:00
Federico Di Gregorio
850423d8fc Fixed setup script to handle PostgreSQL devel version strings 2009-03-21 12:54:44 +01:00
Federico Di Gregorio
49bdaf92f6 Merge from trunk 2009-02-22 23:39:13 +01:00
Federico Di Gregorio
a6dff6c82a Preparing release 2.0.9 2009-02-22 23:37:34 +01:00
James Henstridge
9067bde803 * psycopg/utils.c (psycopg_escape_string): same here.
* psycopg/adapter_binary.c (binary_escape): simplify PostgreSQL
	version check.

	* setup.py (psycopg_build_ext.finalize_options): use a single
	define of the PostgreSQL version in a form that can easily be used
	by #ifdefs.
2009-02-17 16:00:52 +09:00
Federico Di Gregorio
eb25f9f154 Added adapter to handle float('inf') and float('nan') 2009-01-23 00:09:20 +01:00
James Henstridge
83b03e5e36 If we are depending on Python 2.4, we don't need to make decimal module
support conditional.
2008-12-27 00:03:11 +09:00
James Henstridge
345a254ca0 Remove conditionals on support for booleans and datetimes, since they
are guaranteed to be available in Python 2.4.
2008-12-26 23:46:35 +09:00
Federico Di Gregorio
c1d6073531 Applied COPY patch from Alejandro Dubrovsky 2008-11-25 17:45:22 +01:00
Federico Di Gregorio
b92601306e Added suppport for UUID and related test. 2008-09-19 21:25:16 +02:00
Federico Di Gregorio
a5e01ef0df Fixed spaces in pg_config path 2008-06-28 18:34:57 +02:00
James Henstridge
938c456cee Merge changes from psycopg2/trunk via psycopg2.r243. 2008-05-05 10:37:24 +08:00
James Henstridge
31ef9355c2 Merge psycopg2/trunk into psycopg2/branches/2_0_x r243 (which is the
last revision merged into trunk).  Where file ID conflicts exist, but 
the content was equivalent, I've picked the 2_0_x version.
2008-05-05 10:22:22 +08:00
Federico Di Gregorio
8103f44a12 Fixed test segfault due to double decref. 2008-03-17 08:13:16 +00:00
Federico Di Gregorio
d6e232e2b9 Various fixes, now all examples work. 2007-04-13 14:07:11 +00:00
Federico Di Gregorio
ee44315ff2 Appliet Jasons patch to fix win32 build glitches. 2007-04-13 01:14:01 +00:00
Federico Di Gregorio
f57920b0dd Release 2.0.6b2. 2007-04-11 07:12:16 +00:00
Federico Di Gregorio
2a6b523506 Fixed crash and win32 patches. 2007-04-11 04:16:00 +00:00
Federico Di Gregorio
2883428791 Lets do a beta release. 2007-01-19 03:40:27 +00:00
Federico Di Gregorio
b651781f63 Added note about missign pg headers to INSTALL. 2007-01-16 10:11:28 +00:00
Federico Di Gregorio
616a1c2042 Preparing 2.0.5.1. 2006-09-02 01:09:31 +00:00
Federico Di Gregorio
0b9d13455d Missing file. 2006-09-01 16:44:07 +00:00
Federico Di Gregorio
b8f3cef62f psycopg is enlarging.. 2006-09-01 16:27:02 +00:00
Federico Di Gregorio
64933f2004 Merge from 2_0_x branch up to r814. 2006-09-01 13:46:57 +00:00
Federico Di Gregorio
4138409ab6 Fixed use of use_pydatetime in setup.cfg. 2006-09-01 08:44:57 +00:00
Federico Di Gregorio
d7100abbbe Changing version numbers for 2.0.5. 2006-09-01 08:33:01 +00:00
Federico Di Gregorio
f202c7fc81 Preparing release 2.0.4. 2006-08-01 23:36:50 +00:00
Federico Di Gregorio
14805a5311 Preparing release 2.0.3. 2006-07-31 00:22:13 +00:00
Federico Di Gregorio
8d8bfe969b Preparing 2.0.2. 2006-06-11 05:15:27 +00:00
Federico Di Gregorio
ba3361a7a6 Fixing ZPsycopgDA glitches of 2.0. 2006-06-09 00:05:42 +00:00
Federico Di Gregorio
429fd4f1d7 Zope DA fixes and preparing 2.0. 2006-06-07 23:33:47 +00:00
Federico Di Gregorio
ec877b0ef9 Final of 8.1.4 securiy patch. 2006-05-24 10:29:35 +00:00
Federico Di Gregorio
750806c806 Fixed setup.py buglet. 2006-04-27 14:20:11 +00:00
Federico Di Gregorio
bf52a9ac21 Preparing 2.0 beta 8. 2006-02-11 11:02:02 +00:00
Federico Di Gregorio
8db642945c MSVC build fixes. 2006-02-11 06:51:38 +00:00
Federico Di Gregorio
791a728c01 Applied patch #87 to make setup.py to not depend but just use pg_config. 2006-01-10 16:23:03 +00:00