summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'classifiers'Daniele Varrazzo2013-04-211-0/+6
|\
| * Added explicit Python 2 and Python 3 classifiersDaniele Varrazzo2013-04-211-0/+1
| | | | | | | | | | Not sure, but I suspect the "python3" page on PyPy in only based on the Language :: Python :: 3 classifier, not the more specific ones
| * Explicit Python Version SupportSaul Shanabrook2013-04-211-1/+6
|/ | | | Used supported versions from http://initd.org/psycopg/docs/install.html
* Make sure to return a bytes string from numeric range adapterDaniele Varrazzo2013-04-211-3/+3
|
* Merge branch 'solaris-round'Daniele Varrazzo2013-04-212-1/+11
|\
| * Mention Solaris round fix in NEWS fileDaniele Varrazzo2013-04-211-0/+7
| |
| * Long ifdef reformatted for readibilityDaniele Varrazzo2013-04-201-1/+4
| |
| * Remove extra ||Daniel Enman2013-04-181-1/+1
| |
| * Solaris 10+, and illumos distros have round()Daniel Enman2013-04-181-1/+1
| |
* | Testing external script independent from psycopg implementationDaniele Varrazzo2013-04-191-5/+6
| | | | | | | | Patch needed to run the test suite on psycopg2cffi or psycopg2ct.
* | The UUID adapter returns bytes instead of str in Python 3Daniele Varrazzo2013-04-071-6/+8
| | | | | | | | Also added __conform__ method to the adapter.
* | Script to test ticket #58 moved into sandboxDaniele Varrazzo2013-04-071-0/+0
| | | | | | | | We don't need it distributed in the sdist
* | Dropped GPL license from sourceDaniele Varrazzo2013-04-072-677/+1
| | | | | | | | It doesn't apply: leaving the LGPL only.
* | Stop distributing the compiled documentation with the sourceDaniele Varrazzo2013-04-072-5/+1
| |
* | Dropped stale entries from MANIFEST.inDaniele Varrazzo2013-04-071-1/+0
| |
* | Dropped psycopg 1 changelogDaniele Varrazzo2013-04-072-1748/+2
| | | | | | | | Also MANIFEST.in cleaned up from stale entries
* | Bump to next dev versionDaniele Varrazzo2013-04-071-1/+1
|/
* Merge branch 'devel'2_5Daniele Varrazzo2013-04-07132-7850/+5217
|\
| * Bump to release 2.5Daniele Varrazzo2013-04-071-1/+1
| |
| * Use NULL instead of an empty string as PyObject_CallMethod formatDaniele Varrazzo2013-04-071-2/+2
| |
| * A couple of typos fixedDaniele Varrazzo2013-04-072-2/+2
| |
| * Dropped __all__ from modulesDaniele Varrazzo2013-04-073-38/+28
| | | | | | | | | | | | They were only used to generate docs with Epydoc, now largely forgotten. Imports in extras cleaned up to expose the API only.
| * Enable by default the range typecastersDaniele Varrazzo2013-04-071-0/+4
| | | | | | | | | | Otherwise it would have been enabled importing psycopg2.extras, which is a surprising behaviour.
| * Added cursor_factory connection attribute and connect() parameterDaniele Varrazzo2013-04-0710-23/+111
| |
| * Testing boilerplate unified in a single base classDaniele Varrazzo2013-04-0718-271/+162
| | | | | | | | | | The class makes a connection always available, allows creating new connection and closes everything on tear down.
| * Fixed build on windowsDaniele Varrazzo2013-04-061-3/+7
| | | | | | | | Will fail with error: initializer element is not constant
| * Use the Python heap for conn->dsnDaniele Varrazzo2013-04-061-5/+2
| |
| * Merge branch 'drop-py24' into develDaniele Varrazzo2013-04-058-89/+21
| |\
| | * Dropped support for Python 2.4Daniele Varrazzo2013-03-208-89/+21
| | |
| | * PyType_GenericAlloc is the default allocator: no need to specifyDaniele Varrazzo2013-03-2019-66/+55
| | |
| | * Better use of Py_CLEAR and implicit zeroed-out structuresDaniele Varrazzo2013-03-204-82/+19
| | |
| | * Use wrap to fix names of decorated test methodsDaniele Varrazzo2013-03-204-23/+41
| | | | | | | | | | | | | | | | | | | | | Decorators not using wrap() prevent running the test from command line, e.g. with: python tests/__init__.py test_module.TestSuite.test_method
| | * Fixed broken test decorator preventing 3 tests to runDaniele Varrazzo2013-03-201-0/+2
| | |
| * | Use the Py_RETURN_NONE macroDaniele Varrazzo2013-04-0516-79/+49
| | |
| * | Added tp_clear method for objects with GC supportDaniele Varrazzo2013-04-052-25/+30
| | |
| * | Dropped bogus return in void functionDaniele Varrazzo2013-04-051-1/+1
| | |
| * | Dropped GC support for several objectsDaniele Varrazzo2013-04-0510-110/+20
| | | | | | | | | | | | | | | | | | Non-containers don't need GC. It was half-baked anyway as the tp_clear was often not set. Dropped tp_traverse too for these objects as unused.
| * | Dropped encoding attribute from list adapterDaniele Varrazzo2013-04-052-16/+5
| | |
| * | Static-type psycopg_escape_string connection parameterDaniele Varrazzo2013-04-056-12/+13
| | |
| * | Avoid encoding strdup in qstring adapterDaniele Varrazzo2013-04-053-52/+69
| | | | | | | | | | | | | | | | | | Dropped encoding parameter in the constructor: it is used nowhere and not documented. Use directly the connection encoding if available, else the previous latin1 fallback.
| * | Set a memory exception in psycopg_escape_stringDaniele Varrazzo2013-04-043-13/+25
| | | | | | | | | | | | ...otherwise all the callers should set it.
| * | Dropped GC support from Xid and Notify typesDaniele Varrazzo2013-04-022-31/+9
| | | | | | | | | | | | | | | These types are immutable and have only atomic types attributes, so it's impossible to build loops out of them.
| * | Some improvements to connection/cursor GCDaniele Varrazzo2013-03-212-24/+40
| | | | | | | | | | | | Provide a tp_clear, make sure that GC_UnTrack is called before clearing.
| * | Clean the C members of Error in tp_dealloc instead of tp_clearDaniele Varrazzo2013-03-211-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tp_clear should only be used to break the reference cycles. tp_clear was causing a segfault because it was called twice (by the gc and by _dealloc) so self->codec was freed twice. Amazingly the double free was only causing a segfault on Python 3.3 (released in late 2012) talking to Postgres 8.1 (released in 2005) in async mode... no other combination crashed. Thank you buildbot.
| * | PyType_GenericAlloc is the default allocator: no need to specifyDaniele Varrazzo2013-03-2019-66/+55
| | |
| * | Better use of Py_CLEAR and implicit zeroed-out structuresDaniele Varrazzo2013-03-204-82/+19
| | |
| * | Use wrap to fix names of decorated test methodsDaniele Varrazzo2013-03-204-24/+42
| | | | | | | | | | | | | | | | | | | | | Decorators not using wrap() prevent running the test from command line, e.g. with: python tests/__init__.py test_module.TestSuite.test_method
| * | Fixed broken test decorator preventing 3 tests to runDaniele Varrazzo2013-03-201-4/+6
| |/
| * Fixed leak of cancel key on connection.reset()Daniele Varrazzo2013-03-203-15/+19
| | | | | | | | | | Moving the final free into the destructor is not necessary but looks appropriate.
| * Added forgotten attributes to visit in errorDaniele Varrazzo2013-03-201-0/+4
| |