Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch 'classifiers' | Daniele Varrazzo | 2013-04-21 | 1 | -0/+6 | |
|\ | ||||||
| * | Added explicit Python 2 and Python 3 classifiers | Daniele Varrazzo | 2013-04-21 | 1 | -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 Support | Saul Shanabrook | 2013-04-21 | 1 | -1/+6 | |
|/ | | | | Used supported versions from http://initd.org/psycopg/docs/install.html | |||||
* | Make sure to return a bytes string from numeric range adapter | Daniele Varrazzo | 2013-04-21 | 1 | -3/+3 | |
| | ||||||
* | Merge branch 'solaris-round' | Daniele Varrazzo | 2013-04-21 | 2 | -1/+11 | |
|\ | ||||||
| * | Mention Solaris round fix in NEWS file | Daniele Varrazzo | 2013-04-21 | 1 | -0/+7 | |
| | | ||||||
| * | Long ifdef reformatted for readibility | Daniele Varrazzo | 2013-04-20 | 1 | -1/+4 | |
| | | ||||||
| * | Remove extra || | Daniel Enman | 2013-04-18 | 1 | -1/+1 | |
| | | ||||||
| * | Solaris 10+, and illumos distros have round() | Daniel Enman | 2013-04-18 | 1 | -1/+1 | |
| | | ||||||
* | | Testing external script independent from psycopg implementation | Daniele Varrazzo | 2013-04-19 | 1 | -5/+6 | |
| | | | | | | | | Patch needed to run the test suite on psycopg2cffi or psycopg2ct. | |||||
* | | The UUID adapter returns bytes instead of str in Python 3 | Daniele Varrazzo | 2013-04-07 | 1 | -6/+8 | |
| | | | | | | | | Also added __conform__ method to the adapter. | |||||
* | | Script to test ticket #58 moved into sandbox | Daniele Varrazzo | 2013-04-07 | 1 | -0/+0 | |
| | | | | | | | | We don't need it distributed in the sdist | |||||
* | | Dropped GPL license from source | Daniele Varrazzo | 2013-04-07 | 2 | -677/+1 | |
| | | | | | | | | It doesn't apply: leaving the LGPL only. | |||||
* | | Stop distributing the compiled documentation with the source | Daniele Varrazzo | 2013-04-07 | 2 | -5/+1 | |
| | | ||||||
* | | Dropped stale entries from MANIFEST.in | Daniele Varrazzo | 2013-04-07 | 1 | -1/+0 | |
| | | ||||||
* | | Dropped psycopg 1 changelog | Daniele Varrazzo | 2013-04-07 | 2 | -1748/+2 | |
| | | | | | | | | Also MANIFEST.in cleaned up from stale entries | |||||
* | | Bump to next dev version | Daniele Varrazzo | 2013-04-07 | 1 | -1/+1 | |
|/ | ||||||
* | Merge branch 'devel'2_5 | Daniele Varrazzo | 2013-04-07 | 132 | -7850/+5217 | |
|\ | ||||||
| * | Bump to release 2.5 | Daniele Varrazzo | 2013-04-07 | 1 | -1/+1 | |
| | | ||||||
| * | Use NULL instead of an empty string as PyObject_CallMethod format | Daniele Varrazzo | 2013-04-07 | 1 | -2/+2 | |
| | | ||||||
| * | A couple of typos fixed | Daniele Varrazzo | 2013-04-07 | 2 | -2/+2 | |
| | | ||||||
| * | Dropped __all__ from modules | Daniele Varrazzo | 2013-04-07 | 3 | -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 typecasters | Daniele Varrazzo | 2013-04-07 | 1 | -0/+4 | |
| | | | | | | | | | | Otherwise it would have been enabled importing psycopg2.extras, which is a surprising behaviour. | |||||
| * | Added cursor_factory connection attribute and connect() parameter | Daniele Varrazzo | 2013-04-07 | 10 | -23/+111 | |
| | | ||||||
| * | Testing boilerplate unified in a single base class | Daniele Varrazzo | 2013-04-07 | 18 | -271/+162 | |
| | | | | | | | | | | The class makes a connection always available, allows creating new connection and closes everything on tear down. | |||||
| * | Fixed build on windows | Daniele Varrazzo | 2013-04-06 | 1 | -3/+7 | |
| | | | | | | | | Will fail with error: initializer element is not constant | |||||
| * | Use the Python heap for conn->dsn | Daniele Varrazzo | 2013-04-06 | 1 | -5/+2 | |
| | | ||||||
| * | Merge branch 'drop-py24' into devel | Daniele Varrazzo | 2013-04-05 | 8 | -89/+21 | |
| |\ | ||||||
| | * | Dropped support for Python 2.4 | Daniele Varrazzo | 2013-03-20 | 8 | -89/+21 | |
| | | | ||||||
| | * | PyType_GenericAlloc is the default allocator: no need to specify | Daniele Varrazzo | 2013-03-20 | 19 | -66/+55 | |
| | | | ||||||
| | * | Better use of Py_CLEAR and implicit zeroed-out structures | Daniele Varrazzo | 2013-03-20 | 4 | -82/+19 | |
| | | | ||||||
| | * | Use wrap to fix names of decorated test methods | Daniele Varrazzo | 2013-03-20 | 4 | -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 run | Daniele Varrazzo | 2013-03-20 | 1 | -0/+2 | |
| | | | ||||||
| * | | Use the Py_RETURN_NONE macro | Daniele Varrazzo | 2013-04-05 | 16 | -79/+49 | |
| | | | ||||||
| * | | Added tp_clear method for objects with GC support | Daniele Varrazzo | 2013-04-05 | 2 | -25/+30 | |
| | | | ||||||
| * | | Dropped bogus return in void function | Daniele Varrazzo | 2013-04-05 | 1 | -1/+1 | |
| | | | ||||||
| * | | Dropped GC support for several objects | Daniele Varrazzo | 2013-04-05 | 10 | -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 adapter | Daniele Varrazzo | 2013-04-05 | 2 | -16/+5 | |
| | | | ||||||
| * | | Static-type psycopg_escape_string connection parameter | Daniele Varrazzo | 2013-04-05 | 6 | -12/+13 | |
| | | | ||||||
| * | | Avoid encoding strdup in qstring adapter | Daniele Varrazzo | 2013-04-05 | 3 | -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_string | Daniele Varrazzo | 2013-04-04 | 3 | -13/+25 | |
| | | | | | | | | | | | | ...otherwise all the callers should set it. | |||||
| * | | Dropped GC support from Xid and Notify types | Daniele Varrazzo | 2013-04-02 | 2 | -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 GC | Daniele Varrazzo | 2013-03-21 | 2 | -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_clear | Daniele Varrazzo | 2013-03-21 | 1 | -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 specify | Daniele Varrazzo | 2013-03-20 | 19 | -66/+55 | |
| | | | ||||||
| * | | Better use of Py_CLEAR and implicit zeroed-out structures | Daniele Varrazzo | 2013-03-20 | 4 | -82/+19 | |
| | | | ||||||
| * | | Use wrap to fix names of decorated test methods | Daniele Varrazzo | 2013-03-20 | 4 | -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 run | Daniele Varrazzo | 2013-03-20 | 1 | -4/+6 | |
| |/ | ||||||
| * | Fixed leak of cancel key on connection.reset() | Daniele Varrazzo | 2013-03-20 | 3 | -15/+19 | |
| | | | | | | | | | | Moving the final free into the destructor is not necessary but looks appropriate. | |||||
| * | Added forgotten attributes to visit in error | Daniele Varrazzo | 2013-03-20 | 1 | -0/+4 | |
| | |