1 |
|
2004-05-17 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* README: Update for new release |
4 |
|
|
5 |
|
* setup.py (dbf_macros): New. Return the preprocessor macros |
6 |
|
needed to compile the dbflib wrapper. Determine whether |
7 |
|
DBFUpdateHeader is available and define the right value of |
8 |
|
HAVE_UPDATE_HEADER |
9 |
|
(extensions): Use dbf_macros for the dbflibc extension |
10 |
|
|
11 |
|
* dbflib_wrap.c, dbflib.py: Update from dbflib.i |
12 |
|
|
13 |
|
* dbflib.i (DBFInfo_commit): New. Implementation of the commit |
14 |
|
method. This new indirection is necessary because we use the |
15 |
|
DBFUpdateHeader function now which is not available in shapelib <= |
16 |
|
1.2.10 |
17 |
|
(DBFFile::commit): Use DBFInfo_commit as implementation |
18 |
|
(pragma __class__): New. Kludge to remove the commit method when |
19 |
|
the DBFUpdateHeader function isn't available |
20 |
|
(_have_commit): New. Helper for the pragma kludge. |
21 |
|
|
22 |
|
2003-11-03 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
* dbflib.i (do_read_attribute): New helper function for reading |
25 |
|
one attribute as a python object |
26 |
|
(DBFInfo_read_attribute): New. Implement the read_attribute method |
27 |
|
(DBFInfo_read_record): Use do_read_attribute to read the |
28 |
|
individual values |
29 |
|
(struct DBFFile): Add the read_attribute method. |
30 |
|
|
31 |
|
* dbflib_wrap.c, dbflib.py: Update from dbflib.i. |
32 |
|
|
33 |
|
2003-09-29 Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
|
* dbflib.i: Add exception typemap for the add_field method. Fixes |
36 |
|
Thuban bug RT#1842 |
37 |
|
|
38 |
|
* dbflib_wrap.c: Update from dbflib.i |
39 |
|
|
40 |
|
* testdbf.py: New. Test cases for the dbflib bindings based on the |
41 |
|
unittest module |
42 |
|
|
43 |
2003-08-18 Bernhard Herzog <[email protected]> |
2003-08-18 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
* dbflib.i (DBFInfo_write_record): Use PySequence_Check instead of |
* dbflib.i (DBFInfo_write_record): Use PySequence_Check instead of |