Commit Graph

  • 0b0639dae5 Fixed error when adapt()ing None Federico Di Gregorio 2009-03-09 21:45:49 +0100
  • a574321fcd NEWS for 2.0.10 Federico Di Gregorio 2009-03-02 11:07:36 +0100
  • 1daf300ca3 Support for seconds in time zone offsets Federico Di Gregorio 2009-03-02 11:07:17 +0100
  • 5b04203c9f Fixed error in register_type() Federico Di Gregorio 2009-03-02 10:59:52 +0100
  • a3ce636be0 Fixed error in register_type() Federico Di Gregorio 2009-03-02 10:56:53 +0100
  • 4077711050 More cross-platform build fixes Federico Di Gregorio 2009-03-02 09:19:23 +0100
  • 5c0cfa86bf isinf() for Solaris Federico Di Gregorio 2009-02-27 11:02:45 +0100
  • 71c7825b9c Release 2.0.9 2_0_9 Federico Di Gregorio 2009-02-23 21:39:47 +0100
  • 9b259bba86 Removed some spurious tabs Federico Di Gregorio 2009-02-23 21:39:25 +0100
  • 49bdaf92f6 Merge from trunk Federico Di Gregorio 2009-02-22 23:39:13 +0100
  • a6dff6c82a Preparing release 2.0.9 Federico Di Gregorio 2009-02-22 23:37:34 +0100
  • 9067bde803 * psycopg/utils.c (psycopg_escape_string): same here. James Henstridge 2009-02-17 16:00:52 +0900
  • 2a94dfae47 * tests/test_dates.py (DatetimeTests, mxDateTimeTests): full test coverage for datetime and time strings with and without time zone information. James Henstridge 2009-02-17 15:03:33 +0900
  • ba8be438bb * psycopg/typecast.c (typecast_parse_time): Fix up handling of negative timezone offsets with a non-zero minutes field. James Henstridge 2009-02-17 12:58:45 +0900
  • 3466b3b72d Add tests for time zone parsing, for "HH", "HH:MM" and "HH:MM:SS" forms. Currently the second fails for negative offsets due to bugs in the parser, and the third fails because it doesn't even try to parse second offset values (as Python doesn't either). James Henstridge 2009-02-17 12:39:57 +0900
  • 41dd7a1095 Compile again on modern FreeBSD Federico Di Gregorio 2009-02-16 10:00:34 +0100
  • f9fa711f03 Modified executemany() to return modified rows count Federico Di Gregorio 2009-02-07 18:02:14 +0100
  • eb25f9f154 Added adapter to handle float('inf') and float('nan') Federico Di Gregorio 2009-01-23 00:09:20 +0100
  • e22451736a register_type() now works on connection and cursor subclasses Federico Di Gregorio 2009-01-22 11:02:38 +0100
  • 78c0765367 Merge from public trunk Federico Di Gregorio 2009-01-10 18:51:45 +0100
  • f5ec676566 Added isready() error test to sandbox Federico Di Gregorio 2009-01-10 18:48:31 +0100
  • aeb5080208 Fixed isready() not throwing exception on error Federico Di Gregorio 2009-01-10 18:48:08 +0100
  • 83b03e5e36 If we are depending on Python 2.4, we don't need to make decimal module support conditional. James Henstridge 2008-12-27 00:03:11 +0900
  • 345a254ca0 Remove conditionals on support for booleans and datetimes, since they are guaranteed to be available in Python 2.4. James Henstridge 2008-12-26 23:46:35 +0900
  • e7b8d6505e Remove backward compatibility support for Python versions older than 2.4, since we don't really support them any way. James Henstridge 2008-12-26 09:37:44 +0900
  • 5480cf5332 Fixed memory leak in lobject Federico Di Gregorio 2008-12-04 16:58:05 +0100
  • 4eb295a8ca Patch from Jason Erickson to build on MSVC Federico Di Gregorio 2008-11-26 09:51:53 +0100
  • 5c982d90f0 Unified string quoting Federico Di Gregorio 2008-11-25 19:18:17 +0100
  • 4810789194 Removed non-existing files from project Federico Di Gregorio 2008-11-25 17:53:48 +0100
  • 4e359f6f05 Applied COPY patch from Alejandro Dubrovsky (missing files and project) Federico Di Gregorio 2008-11-25 17:46:15 +0100
  • c1d6073531 Applied COPY patch from Alejandro Dubrovsky Federico Di Gregorio 2008-11-25 17:45:22 +0100
  • b9157c8ba1 Merged changed by JH from head Federico Di Gregorio 2008-09-24 01:29:20 +0200
  • 4c8e80038e Added inet support Federico Di Gregorio 2008-09-24 01:27:52 +0200
  • cc2aa0a9ca * psycopg/psycopg.h (NotSupportedError_doc): clean up spelling/grammar a bit, using exception description from the PEP. James Henstridge 2008-09-23 17:22:37 +0800
  • 56f6001d6d Support for NULLs in UUID Federico Di Gregorio 2008-09-23 09:11:11 +0200
  • b92601306e Added suppport for UUID and related test. Federico Di Gregorio 2008-09-19 21:25:16 +0200
  • 758eaf23d1 Preparing release 2.0.8 2_0_8 Federico Di Gregorio 2008-09-16 09:58:44 +0200
  • bc662db1cc Fill in a few more items in the NEWS file for 2.0.8. James Henstridge 2008-08-26 14:47:47 +0800
  • f6a25ccdf0 Build fix from Jorgen Austvik Federico Di Gregorio 2008-08-02 10:30:36 +0200
  • ceee4c816f Merge from jh Federico Di Gregorio 2008-07-26 15:10:02 +0200
  • e95a4d9d2e get_backend_pid() patch and fixes Federico Di Gregorio 2008-07-26 15:09:20 +0200
  • a2f3e4a3ac * psycopg/lobject_type.c (lobject_setup): use FORMAT_CODE_PY_SSIZE_T in Dprintf() call for 64-bit compatibility when using Python 2.5 or later. (lobject_dealloc): same here. James Henstridge 2008-07-23 16:57:10 +0800
  • 0aec2840d8 Merge support for cyclic GC in relevant types that psycopg defines. James Henstridge 2008-07-23 16:50:24 +0800
  • 2273b79be9 Use Py_CLEAR() in a few more places, and do INCREF's before setting struct members rather than afterwards. James Henstridge 2008-07-21 13:41:54 +0800
  • e0287c0db4 * psycopg/adapter_qstring.c (qstring_traverse): add cyclic GC traversal for quoted string adapters. James Henstridge 2008-07-18 17:42:31 +0800
  • 590542e973 * psycopg/adapter_binary.c (binary_traverse): add cyclic GC traversal for binary adapters. James Henstridge 2008-07-01 11:59:25 +0800
  • 47d2414e32 * psycopg/adapter_asis.c (asis_traverse): add cyclic GC traversal for AsIs adapters. James Henstridge 2008-07-01 09:57:16 +0800
  • fd538a8b17 * psycopg/adapter_list.c (list_traverse): add cyclic GC traversal for list adapters. James Henstridge 2008-07-01 09:34:51 +0800
  • a5e01ef0df Fixed spaces in pg_config path Federico Di Gregorio 2008-06-28 18:34:57 +0200
  • e664abb248 Added XXXARRAY imports to psycopg2.extenions Federico Di Gregorio 2008-05-30 00:39:50 +0200
  • 26693621ef * psycopg/cursor_type.c (cursor_setup): incref before setting attributes, to make things GC-safe. James Henstridge 2008-05-28 17:45:37 +0800
  • bbd101bb7e * psycopg/typecast.c (typecast_traverse): implement cyclic GC traversal for typecasters. James Henstridge 2008-05-28 17:22:40 +0800
  • a39fb19eb9 * psycopg/connection_type.c: * psycopg/cursor_type.c: add support for cyclic GC. James Henstridge 2008-05-28 09:00:36 +0800
  • 5a428642f8 COPY problem tests and partial fix Federico Di Gregorio 2008-05-27 17:40:19 +0200
  • 6073193314 Fixed memory leak in executemany Federico Di Gregorio 2008-05-19 10:14:17 +0200
  • f1fab54b97 Update debian packaging files. Fabio Tranchitella 2008-05-12 15:33:10 +0800
  • ee235478bd * psycopg/lobject.h (lobjectObject): remove "mode" struct member, since it was unused. James Henstridge 2008-05-06 18:12:50 +0800
  • 9d20f5c09c * psycopg/lobject_*.c: replace uses of the closed struct member, and change the Python level attribute to a getset. James Henstridge 2008-05-06 18:07:54 +0800
  • 2046ae34fb * psycopg/lobject*: const'ify the code. James Henstridge 2008-05-06 17:09:43 +0800
  • 7d66c20edb * tests/test_lobject.py (LargeObjectTests): add more tests, including behaviour on closed lobjects and stale lobjects. James Henstridge 2008-05-06 17:04:26 +0800
  • e627948a6b * psycopg/lobject.h: don't export the lobjectType symbol. James Henstridge 2008-05-05 22:51:15 +0800
  • 0319bc8cc4 Fixed build error on SUN Federico Di Gregorio 2008-05-05 15:55:51 +0200
  • 975d2286e8 Merge lobject work from trunk, plus fixes to make it work with current psycopg2. James Henstridge 2008-05-05 19:23:33 +0800
  • 9a48c261be Add basic tests for large object code. Fix lobject.seek() to actually work. James Henstridge 2008-05-05 15:33:44 +0800
  • e192c603fa Fix up structmember definitions to match real types. T_LONG is not the same as T_INT/T_UINT on AMD64 ... James Henstridge 2008-05-05 15:00:50 +0800
  • 82557e65a2 Fix up pq_complete_error() calls. James Henstridge 2008-05-05 15:00:34 +0800
  • 5beef38bfc Fix double free in case where PGresult is NULL. James Henstridge 2008-05-05 14:16:57 +0800
  • ec20fa8912 Some changes to the lobject code to match changes in pqpath.[ch]. James Henstridge 2008-05-05 12:07:24 +0800
  • 3cfe438b74 Add an #endif I accidentally removed James Henstridge 2008-05-05 10:43:38 +0800
  • e01da0a540 add ignores James Henstridge 2008-05-05 10:39:13 +0800
  • 938c456cee Merge changes from psycopg2/trunk via psycopg2.r243. James Henstridge 2008-05-05 10:37:24 +0800
  • 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. James Henstridge 2008-05-05 10:22:22 +0800
  • fedfd53d54 Added encoding. Fabio Tranchitella 2008-04-09 09:49:55 +0000
  • 5930078ec7 Add the encoding property into the ZMI add form (debian bug #475123). Fabio Tranchitella 2008-04-09 09:47:45 +0000
  • 3b1c2b24de Signed all commits Federico Di Gregorio 2008-04-25 23:09:04 +0200
  • 331c942800 2008-04-21 James Henstridge <james@jamesh.id.au> James Henstridge 2008-04-20 23:19:42 +0000
  • 2f3f4c1258 2008-04-21 Jorgen Austvik <Jorgen.Austvik@sun.com> James Henstridge 2008-04-20 23:12:21 +0000
  • 962c5a9a5f Preparing release 2.0.7. 2_0_7 Federico Di Gregorio 2008-04-14 05:23:15 +0000
  • f3438f2961 Preparing release 2.0.7. Federico Di Gregorio 2008-04-14 04:27:22 +0000
  • 1fddaa8562 Added a couple of files used for tests. Federico Di Gregorio 2008-04-14 04:13:07 +0000
  • 23866bc35d * psycopg/connection_type.c (connection_dealloc): free connection->encoding with free() instead of PyMem_Free(). James Henstridge 2008-03-30 22:15:21 +0000
  • e848585b90 * psycopg/typecast.c (typecast_from_c): fix up some reference leaks. This leak affected a bounded set of objects, so doesn't account for any gradual leaks. James Henstridge 2008-03-25 23:21:00 +0000
  • af1478feb9 * psycopg/connection_int.c (conn_notice_callback): don't leak notice messages. James Henstridge 2008-03-19 01:01:26 +0000
  • 8103f44a12 Fixed test segfault due to double decref. Federico Di Gregorio 2008-03-17 08:13:16 +0000
  • cceaa7331b * psycopg/typecast.c (typecast_parse_time): give the correct return value for partially parsed time values. James Henstridge 2008-03-17 04:06:44 +0000
  • 1ea0cd4980 Missed the last bit of the commit message. James Henstridge 2008-03-06 19:35:47 +0000
  • 475df5ebd6 2008-03-07 Jason Erickson <jerickso@stickpeople.com> James Henstridge 2008-03-06 18:41:07 +0000
  • 89cadcb553 2008-03-07 Jason Erickson <jerickso@stickpeople.com> James Henstridge 2008-03-06 16:15:41 +0000
  • e55e2683cf * psycopg/pqpath.c (_pq_fetch_tuples): Don't call Python APIs without holding the GIL. James Henstridge 2008-03-06 15:12:40 +0000
  • 14135c1d7e * NEWS: add some draft NEWS items for a 2.0.7 release. James Henstridge 2008-02-27 04:42:56 +0000
  • fc2b684843 * runtests.py: add a harness to run all the psycopg tests against the version built by distutils. James Henstridge 2008-02-27 02:29:55 +0000
  • b5f4a5f6c2 Fix off-by-one error in PyMem_Malloc() call in psyco_conn_set_client_encoding(). Fixes #211 James Henstridge 2008-02-13 16:01:10 +0000
  • 6c2e3ab49b * Add HIDDEN attribute to datetime related global variables. * Make const strings static, which essentially makes them labels for the strings. James Henstridge 2008-01-22 00:13:42 +0000
  • fe853d0261 * psycopg/typecast.c (typecast_pydatetime): make array static. (typecast_mxdatetime): same here. James Henstridge 2008-01-21 21:41:17 +0000
  • e054004e8f Add more const qualifiers. James Henstridge 2008-01-21 21:01:08 +0000
  • eae563ac96 * psycopg/*.[ch]: add const qualifier to various string arguments to functions (typecast functions and conn_switch_isolation_level). James Henstridge 2008-01-21 17:34:08 +0000
  • 9fa039326c * setup.cfg (define): remove PSYCOPG_DISPLAY_SIZE from default list of defines, as discussed on mailing list. It slows down queries with very little benefit. James Henstridge 2008-01-21 05:59:03 +0000
  • 864d107325 * psycypg/*.h: apply HIDDEN to all global variables and functions that should not be exported from the module. This results in a 5% reduction in code size and shortens the dynamic symbol table. James Henstridge 2008-01-21 05:54:01 +0000
  • 3265dd172d * tests/test_connection.py (ConnectionTests): add simple tests for the Connection and Cursor "closed" attributes. James Henstridge 2008-01-19 03:32:42 +0000
  • 11b017fcbe * psycopg/pqpath.c (pq_raise): remove unused arguments to function, and simplify. (pq_resolve_critical): make function static, since it isn't being used outside of pqpath.c any more. James Henstridge 2008-01-19 02:16:57 +0000