<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/kinterbasdb/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/kinterbasdb/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 11 Mar 2010 06:43:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/kinterbasdb/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Incorrect format specifer - too many arguments for format</title><link>https://sourceforge.net/p/kinterbasdb/patches/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;My Environment:&lt;br /&gt;
OS: Windows Vista Home Basic Ru + sp2&lt;br /&gt;
Compiler: Mingw32 gcc (GCC) 4.4.0&lt;br /&gt;
Linker: GNU ld (GNU Binutils) 2.20&lt;br /&gt;
__MINGW32_VERSION 3.18&lt;br /&gt;
__W32API_VERSION 3.14&lt;br /&gt;
KInterbasDB 3.3.0&lt;br /&gt;
SVN Revision: 1088&lt;br /&gt;
SVN URL: &lt;a href="http://firebird.svn.sourceforge.net/svnroot/firebird/kinterbasdb/trunk"&gt;http://firebird.svn.sourceforge.net/svnroot/firebird/kinterbasdb/trunk&lt;/a&gt;&lt;br /&gt;
Version 3.3.0&lt;/p&gt;
&lt;p&gt;Log for build:&lt;br /&gt;
...&lt;br /&gt;
In file included from _kiconversion.c:81,&lt;br /&gt;
from _kinterbasdb.c:235:&lt;br /&gt;
_kiconversion_blob_streaming.c: In function 'conv_in_blob_from_pyfilelike':&lt;br /&gt;
_kiconversion_blob_streaming.c:816: warning: unknown conversion type character 'z' in format&lt;br /&gt;
_kiconversion_blob_streaming.c:816: warning: too many arguments for format&lt;br /&gt;
In file included from _kinterbasdb.c:245:&lt;br /&gt;
_kicore_connection.c: In function 'pyob_Connection_connect':&lt;br /&gt;
_kicore_connection.c:1175: warning: unknown conversion type character 'z' in format&lt;br /&gt;
_kicore_connection.c:1175: warning: too many arguments for format&lt;br /&gt;
_kicore_connection.c:1188: warning: unknown conversion type character 'z' in format&lt;br /&gt;
_kicore_connection.c:1188: warning: too many arguments for format&lt;br /&gt;
In file included from _kinterbasdb.c:249:&lt;br /&gt;
_kicore_cursor.c: In function 'pyob_Cursor_arraysize_set':&lt;br /&gt;
_kicore_cursor.c:1876: warning: unknown conversion type character 'z' in format&lt;br /&gt;
_kicore_cursor.c:1876: warning: too many arguments for format&lt;br /&gt;
...&lt;br /&gt;
Pach for correct:&lt;br /&gt;
Index: _kinterbasdb.h&lt;br /&gt;
===================================================================&lt;br /&gt;
--- _kinterbasdb.h (revision 1088)&lt;br /&gt;
+++ _kinterbasdb.h (working copy)&lt;br /&gt;
@@ -166,7 +166,11 @@&lt;br /&gt;
#define PyInt_FromSsize_t PyInt_FromLong&lt;br /&gt;
#define PyInt_AsSsize_t PyInt_AsLong&lt;br /&gt;
#else&lt;br /&gt;
- #define Py_ssize_t_STRING_FORMAT "%zd"&lt;br /&gt;
+ #ifndef PLATFORM_WINDOWS&lt;br /&gt;
+ #define Py_ssize_t_STRING_FORMAT "%zd"&lt;br /&gt;
+ #else&lt;br /&gt;
+ #define Py_ssize_t_STRING_FORMAT "%Id"&lt;br /&gt;
+ #endif&lt;br /&gt;
#define Py_ssize_t_EXTRACTION_CODE "n"&lt;br /&gt;
#endif&lt;br /&gt;
#define SIZE_T_TO_PYTHON_SIZE(x) ((Py_ssize_t)(x))&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandr Zamaraev (aka Tonal)</dc:creator><pubDate>Thu, 11 Mar 2010 06:43:26 -0000</pubDate><guid>https://sourceforge.neta759403fa407a6e17f1513042afe8063023fcd0b</guid></item><item><title>Compile kinterbasdb with mingw32 and python 2.6</title><link>https://sourceforge.net/p/kinterbasdb/patches/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I write path for compile kinterbasdb with mingw32 and python 2.6 for rev 1038&lt;br /&gt;
Simple applay path and change value of manual_config/needs_mingw_time_workaround from setup.cfg to 1&lt;/p&gt;
&lt;p&gt;This path is adoptation path from NumPy: &lt;a href="http://mail.scipy.org/pipermail/numpy-discussion/2008-December/039380.html" rel="nofollow"&gt;http://mail.scipy.org/pipermail/numpy-discussion/2008-December/039380.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My Environment:&lt;br /&gt;
Windows Vista Home Basic Ru + Sp2&lt;br /&gt;
Firebird-2.1.3.18185-0_Win32.zip&lt;br /&gt;
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32&lt;br /&gt;
g++ (GCC) 4.4.0&lt;br /&gt;
GNU ld (GNU Binutils) 2.19&lt;br /&gt;
__MINGW32_VERSION           3.16&lt;br /&gt;
__W32API_VERSION 3.13&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandr Zamaraev (aka Tonal)</dc:creator><pubDate>Mon, 05 Oct 2009 05:54:29 -0000</pubDate><guid>https://sourceforge.net6437c6ccd8c5cccbc1917500f086ac6142c1413c</guid></item><item><title>assertion failure for null blob value</title><link>https://sourceforge.net/p/kinterbasdb/patches/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When the translation for blob types is set, a null blob value can cause the following assertion failure:&lt;/p&gt;
&lt;p&gt;python: _kiconversion_type_translation.c:804: dynamically_type_convert_output_ob&lt;br /&gt;
j_if_necessary: Assertion `data_type == 520 ? !((converter)-&amp;gt;ob_type == (&amp;amp;PyDict&lt;br /&gt;
_Type) || PyType_IsSubtype((converter)-&amp;gt;ob_type, (&amp;amp;PyDict_Type))) : 1' failed.&lt;/p&gt;
&lt;p&gt;Attached is a patch to fix this problem.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lplatypus</dc:creator><pubDate>Wed, 18 Feb 2009 04:01:45 -0000</pubDate><guid>https://sourceforge.netf5ee56146766fe2a2df8762218355517f5c21347</guid></item><item><title>Event Wrapper</title><link>https://sourceforge.net/p/kinterbasdb/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have made a reasonable wrapper for event_conduit.&lt;/p&gt;
&lt;p&gt;Feel free to have a look and change if you so desire.  This was created by Michael van der Kolff &amp;amp; NVTech Pty. Ltd, and is licensed under both the MPL and the GPL.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael van der Kolff</dc:creator><pubDate>Sat, 25 Aug 2007 02:27:04 -0000</pubDate><guid>https://sourceforge.net7cbbce4f15c3682b8df57db2fdeaf085216f80fa</guid></item><item><title>Event API - added nicer wrapper</title><link>https://sourceforge.net/p/kinterbasdb/patches/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Following up to previous patch - wasn't working because&lt;br /&gt;
I pulled out old version from my subversion - oops :(&lt;/p&gt;
&lt;p&gt;Here is the new version.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael van der Kolff</dc:creator><pubDate>Sun, 13 Mar 2005 13:05:30 -0000</pubDate><guid>https://sourceforge.net1c0ab86ef360f2cab900171578850c2a071a4a77</guid></item><item><title>Event API - added nicer wrapper</title><link>https://sourceforge.net/p/kinterbasdb/patches/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I found the Event API rather unPythonesque, and wrote a&lt;br /&gt;
wrapper for it (the normal API is harder to explain to&lt;br /&gt;
my employer, who is also rather involved in the code... :)&lt;/p&gt;
&lt;p&gt;I am releasing this under the MPL/GPL bijunction.&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 13 Mar 2005 01:23:33 -0000</pubDate><guid>https://sourceforge.netceb3d04eb8b28a2ba04e687a9fead0d7bd64fff1</guid></item><item><title>Patch for macosx</title><link>https://sourceforge.net/p/kinterbasdb/patches/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch allows you to install kinterbasdb on Mac OS&lt;br /&gt;
X when Firebird 1.5 (the framework installation) has&lt;br /&gt;
been installed:&lt;/p&gt;
&lt;p&gt;diff -c&lt;br /&gt;
/Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py.\~1\~&lt;br /&gt;
/Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py&lt;br /&gt;
***&lt;br /&gt;
/Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py.~1~&lt;br /&gt;
Tue Nov 11 06:17:34 2003&lt;br /&gt;
--- /Users/piet/Projects/kinterbasdb-3.1_pre7/setup.py&lt;br /&gt;
Thu Mar  4 16:56:03 2004&lt;br /&gt;
***************&lt;br /&gt;
*** 734,739 ****&lt;br /&gt;
--- 734,743 ----&lt;br /&gt;
assert os.path.isfile(libUltimateDest)&lt;br /&gt;
print '  *** CYGWIN LIBRARY GENERATION : end ***\n'&lt;/p&gt;
&lt;p&gt;+ elif sys.platform == 'darwin':&lt;br /&gt;
+     PLATFORM_SPECIFIC_EXTRA_LINKER_ARGS =&lt;br /&gt;
['-framework', 'Firebird']&lt;br /&gt;
+     DATABASE_INCLUDE_DIR =&lt;br /&gt;
'/Library/Frameworks/Firebird.framework/Headers'&lt;br /&gt;
+   &lt;br /&gt;
else: # not win32 or cygwin&lt;br /&gt;
# If the platform isn't Linux, issue a warning.&lt;br /&gt;
if not sys.platform.lower().startswith('linux'):&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Piet van Oostrum</dc:creator><pubDate>Thu, 04 Mar 2004 16:08:10 -0000</pubDate><guid>https://sourceforge.net582186901cf16a2f12e9fa039c7e630d31c995d0</guid></item><item><title>prepared params</title><link>https://sourceforge.net/p/kinterbasdb/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think that kinterbasdb is too strict when passing &lt;br /&gt;
params to ib.&lt;/p&gt;
&lt;p&gt;example: if required param is SQL_SHORT. it can be &lt;br /&gt;
only passed as (1,) and not as string ('1', ).&lt;/p&gt;
&lt;p&gt;Ib supports coercing so i patched PyObject2XSQLVAR &lt;br /&gt;
(just SQL_SHORT) to demonstrate more liberal param &lt;br /&gt;
passing.&lt;/p&gt;
&lt;p&gt;Other types could be supported in the same way, but i &lt;br /&gt;
didn't do it, because I would  know if this &lt;br /&gt;
patch/proposal will be accepted. &lt;/p&gt;
&lt;p&gt;Janez&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">janez jere</dc:creator><pubDate>Tue, 19 Mar 2002 12:04:52 -0000</pubDate><guid>https://sourceforge.nete62bac754604f2ced14a2ddfa5b29ae0c7653b9a</guid></item><item><title>ib6 fix passing params</title><link>https://sourceforge.net/p/kinterbasdb/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;for interbase 6 there are several bugs, &lt;br /&gt;
I fixed the most annoying, when passing date and float &lt;br /&gt;
params.&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">janez jere</dc:creator><pubDate>Mon, 16 Jul 2001 06:54:08 -0000</pubDate><guid>https://sourceforge.net598845ab4c127b48890810e81dc8e128f274e307</guid></item><item><title>ib6 fix passing params in query</title><link>https://sourceforge.net/p/kinterbasdb/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;for interbase 6 there are several bugs,&lt;br /&gt;
I fixed the most annoying, when passing date and float &lt;br /&gt;
params.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 16 Jul 2001 06:34:26 -0000</pubDate><guid>https://sourceforge.net417a6e02fb6b7b218c826b2c69d9425cfc8f1576</guid></item></channel></rss>