/[thuban]/branches/WIP-pyshapelib-bramz/libraries/pyshapelib/ChangeLog
ViewVC logotype

Annotation of /branches/WIP-pyshapelib-bramz/libraries/pyshapelib/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2743 - (hide annotations)
Wed Mar 14 20:53:53 2007 UTC (17 years, 11 months ago) by bramz
File size: 7988 byte(s)
added support for shapetypes with Z and M values in shapelib
1 bramz 2742 2007-03-14 Bram de Greve <[email protected]>
2 bramz 2735
3 bramz 2743 * shapelibmodule.c: added support for shapetypes with Z and M values
4    
5     2007-03-14 Bram de Greve <[email protected]>
6    
7 bramz 2742 * dbflibmodule.c, dbflib.i: replaced dbflib.i by dbflibmodule.c to use
8     hand-crafted Python bindings instead of SWIG generated ones
9    
10     * shapelibmodule.c, shapelib.c: Renamed shapelib.c to shapelibmodule.c
11     to match style of dbflibmodule.c and shptreemodule.c. Changed some
12     (well, most) names to match same style.
13    
14     * pyshapelib_common.h: do all necessary includes here
15    
16     * setup.py: updated building of dbflib.
17    
18     2007-03-13 Bram de Greve <[email protected]>
19    
20 bramz 2741 * shapelib.c, shapelib_common.h: Added part_types() to SHPObject to
21     return tuple of part types. Added __repr__ operators to return a
22     string that can reconstruct the object using eval()
23    
24     * pytest.py: Added tests for part_types() and __repr__.
25     Humanized the output a bit.
26    
27 bramz 2742 2007-03-12 Bram de Greve <[email protected]>
28 bramz 2741
29 bramz 2735 * shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use
30     hand-crafted Python bindings instead of SWIG generated ones.
31    
32     * pyshapelib_common.h: New file with some common stuff for both
33     shapelib and dbflib
34    
35     * pyshapelib_api.h, setup.py: import/build shapelib instead of shapelibc
36    
37 bernhard 2704 2006-09-24 Bernhard Reiter <[email protected]>
38    
39 bernhard 2706 * dbflib_wrap.c, README: Checked for python version >= 2.4.0a0
40     before using &PyOS_ascii_atof.
41    
42     2006-09-24 Bernhard Reiter <[email protected]>
43    
44 bernhard 2704 Added dirty workaround to make dbflib agnostic
45     against decimal_poinst != ".\0".
46    
47     * dbflib_wrap.c: Added call DBFSetatof_function(&PyOS_ascii_atof);
48     to initdbflibc().
49     * README: noted that manual editing of dbflib_wrap.c is necessary now.
50    
51 bh 2637 2005-06-30 Bernhard Herzog <[email protected]>
52    
53     * shapelib.i (new_SHPObject): Fix the test for the length of the
54     part types. It used the wrong variable.
55    
56     * shapelib_wrap.c: Regenerated from shapelib.i
57    
58     * pytest.py (make_shapefile): Add some more comments and add an
59     example with a polygon with a hole.
60    
61 bernhard 2510 2004-12-27 Bernhard Reiter <[email protected]>
62    
63     * README: Refering to the new homepage shapelib.maptools.org now.
64    
65 bh 2453 2004-12-13 Bernhard Herzog <[email protected]>
66    
67     * dbflib.py: Updated from difflib.i with SWIG.
68    
69     * dbflib.i: Work around a bug in the generated python code which
70     leads to exception in the __del__ method when the constructor
71     fails. See the comments in the code for more details.
72    
73 bh 2223 2004-05-28 Bernhard Herzog <[email protected]>
74    
75 bh 2227 * README: Flesh out the some more. Correct the shapelib
76     requirements.
77    
78     * NEWS: Update the date of the actual release of 0.3
79    
80     2004-05-28 Bernhard Herzog <[email protected]>
81    
82 bh 2223 * setup.py: Determine shp_dir correctly when run with bdist_rpm
83     (dbf_macros): Remove a debug print
84    
85     * NEWS: Also mention the new (compared to 0.2) setup.py
86    
87     * MANIFEST.in: New. Define which files belong into a source
88     distribution
89    
90 bh 2213 2004-05-17 Bernhard Herzog <[email protected]>
91    
92     * README: Update for new release
93    
94     * setup.py (dbf_macros): New. Return the preprocessor macros
95     needed to compile the dbflib wrapper. Determine whether
96     DBFUpdateHeader is available and define the right value of
97     HAVE_UPDATE_HEADER
98     (extensions): Use dbf_macros for the dbflibc extension
99    
100     * dbflib_wrap.c, dbflib.py: Update from dbflib.i
101    
102     * dbflib.i (DBFInfo_commit): New. Implementation of the commit
103     method. This new indirection is necessary because we use the
104     DBFUpdateHeader function now which is not available in shapelib <=
105     1.2.10
106     (DBFFile::commit): Use DBFInfo_commit as implementation
107     (pragma __class__): New. Kludge to remove the commit method when
108     the DBFUpdateHeader function isn't available
109     (_have_commit): New. Helper for the pragma kludge.
110    
111 bh 1920 2003-11-03 Bernhard Herzog <[email protected]>
112    
113     * dbflib.i (do_read_attribute): New helper function for reading
114     one attribute as a python object
115     (DBFInfo_read_attribute): New. Implement the read_attribute method
116     (DBFInfo_read_record): Use do_read_attribute to read the
117     individual values
118     (struct DBFFile): Add the read_attribute method.
119    
120     * dbflib_wrap.c, dbflib.py: Update from dbflib.i.
121    
122 bh 1763 2003-09-29 Bernhard Herzog <[email protected]>
123    
124     * dbflib.i: Add exception typemap for the add_field method. Fixes
125     Thuban bug RT#1842
126    
127     * dbflib_wrap.c: Update from dbflib.i
128    
129     * testdbf.py: New. Test cases for the dbflib bindings based on the
130     unittest module
131    
132 jan 1611 2003-08-18 Bernhard Herzog <[email protected]>
133    
134     * dbflib.i (DBFInfo_write_record): Use PySequence_Check instead of
135     PyMapping_Check to distinguish between sequences and mappings
136     because in Python 2.3, PyMapping_Check returns true for tuples and
137     lists too.
138    
139     2003-05-28 Bernhard Herzog <[email protected]>
140    
141     * dbflib.i (DBFInfo_read_record): Read NULL fields as None unless
142     it's a string field. DBF files can't distinguish between NULL and
143     an empty string. Also, check the return value of
144     DBFReadStringAttribute which may return NULL to indicate errors.
145    
146     * dbflib_wrap.c: Updated from dbflib.i
147    
148     2002-08-27 Bernhard Herzog <[email protected]>
149    
150     * dbflib.i: Raise an exception if open or create fails.
151    
152     * shapelib.i: Slightly better wording for the IOError exception
153     that open and create may raise.
154    
155     * shapelib_wrap.c, dbflib_wrap.c: Regenerated
156    
157     2002-08-22 Bernhard Herzog <[email protected]>
158    
159     * dbflib.i (DBFFile::commit): New method for DBFCommit.
160    
161     * dbflib_wrap.c, dbflib.py: Update from dbflib.i
162    
163     2002-08-15 Bernhard Herzog <[email protected]>
164    
165     * shapelib.i, dbflib.i: Make the NOCHECK trick for the ShapeFile *
166     check typemap work with SWIG 1.3.
167    
168     * shapelib_wrap.c, dbflib_wrap.c: Regenerate from the .i files.
169    
170     2002-05-10 Bernhard Herzog <[email protected]>
171    
172     * dbflib.i (DBFInfo_write_record): Only DECREF if the return value
173     of PyMapping_GetItemString is not NULL. Also, test the return
174     value of PySequence_GetItem
175     (write_field): Remove some debug prints
176    
177     * dbflib_wrap.c: Updated from dbflib.i
178    
179     2002-05-07 Bernhard Herzog <[email protected]>
180    
181     * shptreemodule.c (SHPTreeType, initshptree): Set SHPTreeType's
182     PyType_Type pointer in the init function.
183     (shptree_methods): Use METH_VARARGS
184     (shptree_dealloc): Use PyMem_DEL
185     (shptree_find_shapes): Add a missing return
186    
187     2002-05-07 Bernhard Herzog <[email protected]>
188    
189     * shptreemodule.c: New file with a simple wrapper for shapelib's
190     quadtree
191    
192     * setup.py: Some fixes to use explicit forward slashes as
193     directory separators because of distutils.
194     (extensions): Add the shptree module.
195    
196     * pytest.py (read_shapefile): Add some demo calls for the shptree
197     module
198    
199     * pyshapelib_api.h (PyShapeLibAPI): Add some of the shptree
200     functions.
201     (PYSHAPELIB_IMPORT_API): New macro to import the API
202    
203     * shapelib.i (the_api): add the tree API functions.
204    
205     * shapelib_wrap.c: Updated from shapelib.i with SWIG.
206    
207     2002-04-11 Bernhard Herzog <[email protected]>
208    
209     * pyshapelib_api.h: New file with a limited C-level API for
210     accessing shapilib functions from other Python-extensions.
211    
212     * shapelib.i: Export the C-level API with the c_api function.
213    
214     * shapelib.py, shapelib_wrap.c: Updated from shapelib.i. Still
215     done with a very old version of SWIG, but it's probably not worth
216     it to try it with a newer version as long as this still works.
217    
218     2001-07-18 Bernhard Herzog <[email protected]>
219    
220     * shapelib.i (open_ShapeFile): declare the swig prototype
221     correctly with ShapeFile* as return type
222     (ShapeFile.cobject): New method returning the SHPHandle* as a
223     CObject
224    
225     * Makefile (VERSION): Increase to 0.3
226    
227     * setup.py, MANIFEST.in: New files for python distutils.
228    
229     2001-06-15 Bernhard Herzog <[email protected]>
230    
231     * Makefile (VERSION): Increase to 0.2
232    
233     2001-06-14 Bernhard Herzog <[email protected]>
234    
235     * shapelib.i: Add the functions SHPTypeName as type_name and
236     SHPPartTypeName as part_type_name
237     (SHPObject_vertices):
238     (build_vertex_list): Put building a list of vertices into the
239     separate function build_vertex_list so that SHPObject_vertices can
240     support SHPT_POINT too.
241    
242     * ChangeLog: create ChangeLog
243    

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26