| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Copyright year updated to 2021 | Daniele Varrazzo | 2021-06-15 | 1 | -1/+1 |
| | | | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*Psycopg Team.*\)/\1-$(date +%Y)\3/I" | ||||
| * | Copyright bumped to 2020 | Daniele Varrazzo | 2020-01-17 | 1 | -0/+1 |
| | | |||||
| * | Prefix 'psycopg_' changed to 'psyco_'naming | Daniele Varrazzo | 2019-03-17 | 1 | -4/+4 |
| | | |||||
| * | Copyright year updated | Daniele Varrazzo | 2019-02-17 | 1 | -1/+1 |
| | | | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I" | ||||
| * | Stricter use of PyArg_ParseTuple typed objects | Daniele Varrazzo | 2019-01-21 | 1 | -2/+2 |
| | | | | | The function expect PyObject *, not subclasses. | ||||
| * | Dropped compiler warning about signed/unsigned comparisons | Daniele Varrazzo | 2017-02-08 | 1 | -1/+1 |
| | | |||||
| * | Don't look up for Python encoding | Daniele Varrazzo | 2016-12-29 | 1 | -27/+12 |
| | | | | | | | Store the encode/decode functions for the right codec in the connection. The Python encoding name has been dropped of the connection to avoid the temptation to use it... | ||||
| * | Use -1 instead of 0 to say "calculate the length" in many funcs | Daniele Varrazzo | 2016-12-27 | 1 | -1/+1 |
| | | | | | 0 is a valid length, isn't it? | ||||
| * | conn->codec rename to pyenc | Daniele Varrazzo | 2016-12-26 | 1 | -1/+1 |
| | | |||||
| * | Allow adapting bytes using QuotedString on Python 3 too | Daniele Varrazzo | 2016-07-01 | 1 | -4/+2 |
| | | | | | Close #365. | ||||
| * | Test moved to the right module, cleanup, but same problem | Daniele Varrazzo | 2016-07-01 | 1 | -2/+1 |
| | | |||||
| * | Work in progress on writable encoding | Daniele Varrazzo | 2016-07-01 | 1 | -18/+53 |
| | | | | | | | | | | | | | | | | | Would help using adapt(unicode) to quote strings without a connection, see ticket #331. Currently in heisenbug state: if test_connection_wins_anyway and test_encoding_default run (in this order), the latter fail because the returned value is "'\xe8 '", with an extra space. Skipping the first test, the second succeed. The bad value is returned by the libpq: ql = PQescapeString(to+eq+1, from, len); just returns len = 2 and an extra space in the string... meh. | ||||
| * | Dropped simple type wrapper functions | Daniele Varrazzo | 2014-08-15 | 1 | -14/+0 |
| | | | | | | These functions don't need to exist: exposing the type in the module is enough. It is actually better as one may use isinstance and such. | ||||
| * | Dropped almost-no-op customized objects repr() | Daniele Varrazzo | 2014-08-15 | 1 | -7/+1 |
| | | | | | | | | | The default repr is enough: it prints <TypeName at 0xADDR> instead of <TypeName object at 0xADDR>. The only people being hurt by this change are the ones using doctests: they deserve it. | ||||
| * | Name the types after the module they are exposed from | Daniele Varrazzo | 2014-08-15 | 1 | -3/+3 |
| | | |||||
| * | Use the Py_RETURN_NONE macro | Daniele Varrazzo | 2013-04-05 | 1 | -2/+1 |
| | | |||||
| * | Dropped GC support for several objects | Daniele Varrazzo | 2013-04-05 | 1 | -13/+2 |
| | | | | | | | 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. | ||||
| * | Static-type psycopg_escape_string connection parameter | Daniele Varrazzo | 2013-04-05 | 1 | -1/+1 |
| | | |||||
| * | Avoid encoding strdup in qstring adapter | Daniele Varrazzo | 2013-04-05 | 1 | -46/+52 |
| | | | | | | | 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 | 1 | -1/+0 |
| | | | | | ...otherwise all the callers should set it. | ||||
| * | PyType_GenericAlloc is the default allocator: no need to specify | Daniele Varrazzo | 2013-03-20 | 1 | -1/+1 |
| | | |||||
| * | Dropped "customized" pg_free functions | Daniele Varrazzo | 2013-03-20 | 1 | -27/+1 |
| | | | | | The defaut is already to call PyObject_GC_Del. | ||||
| * | Dropped GIL release around function calling PyMem_Malloc | Daniele Varrazzo | 2012-05-22 | 1 | -10/+1 |
| | | | | | Closes ticket #110. | ||||
| * | Proper type check in prepare() methods for list, binary, qstring | Daniele Varrazzo | 2012-03-04 | 1 | -8/+6 |
| | | |||||
| * | Further modeling of exception raising | Daniele Varrazzo | 2012-03-04 | 1 | -1/+1 |
| | | |||||
| * | Fixed adaptation in several adapters. | Daniele Varrazzo | 2010-12-31 | 1 | -3/+3 |
| | | | | | | The getquoted methods always return bytes. The str() convert this representation to string on the fly. | ||||
| * | Redefining the microprotocol on Py3 as returning bytes. | Daniele Varrazzo | 2010-12-31 | 1 | -3/+2 |
| | | |||||
| * | The library can be compiled with Python 3. | Daniele Varrazzo | 2010-12-21 | 1 | -2/+5 |
| | | | | | | | | | | Just compiled! No test run yet and many points to review, marked in the code. The patch is largely Martin von Löwis work, simplified after refactoring in the previous commits and adapted to the new code (as the patch was originally for Psycopg 2.0.9) | ||||
| * | Added Python codec name to the connection. | Daniele Varrazzo | 2010-12-21 | 1 | -18/+5 |
| | | | | | | This allows dropping repeated dictionary lookups with unicode query/parameters. | ||||
| * | Import structmember/stringobject headers from python.h. | Daniele Varrazzo | 2010-12-21 | 1 | -2/+0 |
| | | | | | stringobject is not to be imported with Python 3. | ||||
| * | Using PyVarObject_HEAD_INIT macro. | Daniele Varrazzo | 2010-12-21 | 1 | -2/+1 |
| | | |||||
| * | Using Py_TYPE and Py_REFCNT macros. | Daniele Varrazzo | 2010-12-21 | 1 | -4/+4 |
| | | |||||
| * | Changed Python const RO -> READONLY. | Daniele Varrazzo | 2010-12-12 | 1 | -3/+3 |
| | | |||||
| * | Internal imports simplified. | Daniele Varrazzo | 2010-12-12 | 1 | -10/+5 |
| | | | | | | | | | | | .c files only need to import psycopg.h: it will in turn import dependencies from Python and libpq and configure.h. psycopg.h should be the first to be imported, so the basic imports are not required in the .h's As a guideline I'm trying to import from the most specific to the most generic to detect missing imports in the .h's. | ||||
| * | Dropped PyArg_ParseTuple() calls in functions taking no arguments. | Daniele Varrazzo | 2010-11-09 | 1 | -2/+1 |
| | | |||||
| * | Changes license to LGPL3 + OpenSSL exception on all source files | Federico Di Gregorio | 2010-02-12 | 1 | -12/+16 |
| | | |||||
| * | Unified string quoting | Federico Di Gregorio | 2008-11-25 | 1 | -78/+17 |
| | | |||||
| * | Applied COPY patch from Alejandro Dubrovsky | Federico Di Gregorio | 2008-11-25 | 1 | -2/+2 |
| | | |||||
| * | Merge from jh | Federico Di Gregorio | 2008-07-26 | 1 | -9/+20 |
| |\ | |||||
| | * | Use Py_CLEAR() in a few more places, and do INCREF's before setting | James Henstridge | 2008-07-21 | 1 | -6/+6 |
| | | | | | | | | | struct members rather than afterwards. | ||||
| | * | * psycopg/adapter_qstring.c (qstring_traverse): add cyclic GC | James Henstridge | 2008-07-18 | 1 | -3/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | traversal for quoted string adapters. * psycopg/adapter_pboolean.c (pboolean_traverse): add cyclic GC traversal for boolean adapters. * psycopg/adapter_mxdatetime.c (mxdatetime_traverse): add cyclic GC traversal for mxdatetime adapters. * psycopg/adapter_datetime.c (pydatetime_traverse): add cyclic GC traversal for datetime adapters. | ||||
| * | | get_backend_pid() patch and fixes | Federico Di Gregorio | 2008-07-26 | 1 | -5/+2 |
| |/ | |||||
| * | Add more const qualifiers. | James Henstridge | 2008-01-21 | 1 | -4/+4 |
| | | |||||
| * | * psycopg/typecast_array.c (typecast_array_scan): set an initial | James Henstridge | 2008-01-13 | 1 | -3/+3 |
| | | | | | | | value for quotes to keep gcc happy. * psycopg/*.c: add missing static modifier on many functions. | ||||
| * | Use escape string syntax for string escape if connected to a server | Daniele Varrazzo | 2007-11-11 | 1 | -4/+9 |
| | | | | | | | | | | | | requiring it. Added a connection flag to store whether E''-style quoting is required: this avoids repeated PQparameterStatus() calls. Added a test case to verify correct behavior on strings, unicode and binary data. Tested with PG versions from 7.4 to 8.3b2, with any server 'standard_conforming_strings' setting and with 'PSYCOPG_OWN_QUOTING' too. | ||||
| * | int->size_t transition. | Federico Di Gregorio | 2007-04-13 | 1 | -5/+20 |
| | | |||||
| * | Fixed both Python 2.5 and 64 bit problems. | Federico Di Gregorio | 2007-04-10 | 1 | -28/+35 |
| | | |||||
| * | Encoding fixes. | Federico Di Gregorio | 2007-01-16 | 1 | -2/+4 |
| | | |||||
| * | Piet Delport patches: 2 of 3. | Federico Di Gregorio | 2006-09-23 | 1 | -1/+1 |
| | | |||||
| * | Fixed segfault in Binary/QString. | Federico Di Gregorio | 2006-06-18 | 1 | -7/+5 |
| | | |||||
