1 |
|
2007-03-14 Bram de Greve <[email protected]> |
2 |
|
|
3 |
|
* dbflibmodule.c, dbflib.i: replaced dbflib.i by dbflibmodule.c to use |
4 |
|
hand-crafted Python bindings instead of SWIG generated ones |
5 |
|
|
6 |
|
* shapelibmodule.c, shapelib.c: Renamed shapelib.c to shapelibmodule.c |
7 |
|
to match style of dbflibmodule.c and shptreemodule.c. Changed some |
8 |
|
(well, most) names to match same style. |
9 |
|
|
10 |
|
* pyshapelib_common.h: do all necessary includes here |
11 |
|
|
12 |
|
* setup.py: updated building of dbflib. |
13 |
|
|
14 |
|
2007-03-13 Bram de Greve <[email protected]> |
15 |
|
|
16 |
|
* shapelib.c, shapelib_common.h: Added part_types() to SHPObject to |
17 |
|
return tuple of part types. Added __repr__ operators to return a |
18 |
|
string that can reconstruct the object using eval() |
19 |
|
|
20 |
|
* pytest.py: Added tests for part_types() and __repr__. |
21 |
|
Humanized the output a bit. |
22 |
|
|
23 |
|
2007-03-12 Bram de Greve <[email protected]> |
24 |
|
|
25 |
|
* shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use |
26 |
|
hand-crafted Python bindings instead of SWIG generated ones. |
27 |
|
|
28 |
|
* pyshapelib_common.h: New file with some common stuff for both |
29 |
|
shapelib and dbflib |
30 |
|
|
31 |
|
* pyshapelib_api.h, setup.py: import/build shapelib instead of shapelibc |
32 |
|
|
33 |
|
2006-09-24 Bernhard Reiter <[email protected]> |
34 |
|
|
35 |
|
* dbflib_wrap.c, README: Checked for python version >= 2.4.0a0 |
36 |
|
before using &PyOS_ascii_atof. |
37 |
|
|
38 |
|
2006-09-24 Bernhard Reiter <[email protected]> |
39 |
|
|
40 |
|
Added dirty workaround to make dbflib agnostic |
41 |
|
against decimal_poinst != ".\0". |
42 |
|
|
43 |
|
* dbflib_wrap.c: Added call DBFSetatof_function(&PyOS_ascii_atof); |
44 |
|
to initdbflibc(). |
45 |
|
* README: noted that manual editing of dbflib_wrap.c is necessary now. |
46 |
|
|
47 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
|
* shapelib.i (new_SHPObject): Fix the test for the length of the |
50 |
|
part types. It used the wrong variable. |
51 |
|
|
52 |
|
* shapelib_wrap.c: Regenerated from shapelib.i |
53 |
|
|
54 |
|
* pytest.py (make_shapefile): Add some more comments and add an |
55 |
|
example with a polygon with a hole. |
56 |
|
|
57 |
|
2004-12-27 Bernhard Reiter <[email protected]> |
58 |
|
|
59 |
|
* README: Refering to the new homepage shapelib.maptools.org now. |
60 |
|
|
61 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* dbflib.py: Updated from difflib.i with SWIG. |
64 |
|
|
65 |
|
* dbflib.i: Work around a bug in the generated python code which |
66 |
|
leads to exception in the __del__ method when the constructor |
67 |
|
fails. See the comments in the code for more details. |
68 |
|
|
69 |
|
2004-05-28 Bernhard Herzog <[email protected]> |
70 |
|
|
71 |
|
* README: Flesh out the some more. Correct the shapelib |
72 |
|
requirements. |
73 |
|
|
74 |
|
* NEWS: Update the date of the actual release of 0.3 |
75 |
|
|
76 |
|
2004-05-28 Bernhard Herzog <[email protected]> |
77 |
|
|
78 |
|
* setup.py: Determine shp_dir correctly when run with bdist_rpm |
79 |
|
(dbf_macros): Remove a debug print |
80 |
|
|
81 |
|
* NEWS: Also mention the new (compared to 0.2) setup.py |
82 |
|
|
83 |
|
* MANIFEST.in: New. Define which files belong into a source |
84 |
|
distribution |
85 |
|
|
86 |
|
2004-05-17 Bernhard Herzog <[email protected]> |
87 |
|
|
88 |
|
* README: Update for new release |
89 |
|
|
90 |
|
* setup.py (dbf_macros): New. Return the preprocessor macros |
91 |
|
needed to compile the dbflib wrapper. Determine whether |
92 |
|
DBFUpdateHeader is available and define the right value of |
93 |
|
HAVE_UPDATE_HEADER |
94 |
|
(extensions): Use dbf_macros for the dbflibc extension |
95 |
|
|
96 |
|
* dbflib_wrap.c, dbflib.py: Update from dbflib.i |
97 |
|
|
98 |
|
* dbflib.i (DBFInfo_commit): New. Implementation of the commit |
99 |
|
method. This new indirection is necessary because we use the |
100 |
|
DBFUpdateHeader function now which is not available in shapelib <= |
101 |
|
1.2.10 |
102 |
|
(DBFFile::commit): Use DBFInfo_commit as implementation |
103 |
|
(pragma __class__): New. Kludge to remove the commit method when |
104 |
|
the DBFUpdateHeader function isn't available |
105 |
|
(_have_commit): New. Helper for the pragma kludge. |
106 |
|
|
107 |
|
2003-11-03 Bernhard Herzog <[email protected]> |
108 |
|
|
109 |
|
* dbflib.i (do_read_attribute): New helper function for reading |
110 |
|
one attribute as a python object |
111 |
|
(DBFInfo_read_attribute): New. Implement the read_attribute method |
112 |
|
(DBFInfo_read_record): Use do_read_attribute to read the |
113 |
|
individual values |
114 |
|
(struct DBFFile): Add the read_attribute method. |
115 |
|
|
116 |
|
* dbflib_wrap.c, dbflib.py: Update from dbflib.i. |
117 |
|
|
118 |
2003-09-29 Bernhard Herzog <[email protected]> |
2003-09-29 Bernhard Herzog <[email protected]> |
119 |
|
|
120 |
* dbflib.i: Add exception typemap for the add_field method. Fixes |
* dbflib.i: Add exception typemap for the add_field method. Fixes |