/[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 2637 - (hide annotations)
Thu Jun 30 14:20:46 2005 UTC (19 years, 8 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib/ChangeLog
File size: 6240 byte(s)
* shapelib.i (new_SHPObject): Fix the test for the length of the
part types.  It used the wrong variable.

* shapelib_wrap.c: Regenerated from shapelib.i

* pytest.py (make_shapefile): Add some more comments and add an
example with a polygon with a hole.

1 bh 2637 2005-06-30 Bernhard Herzog <[email protected]>
2    
3     * shapelib.i (new_SHPObject): Fix the test for the length of the
4     part types. It used the wrong variable.
5    
6     * shapelib_wrap.c: Regenerated from shapelib.i
7    
8     * pytest.py (make_shapefile): Add some more comments and add an
9     example with a polygon with a hole.
10    
11 bernhard 2510 2004-12-27 Bernhard Reiter <[email protected]>
12    
13     * README: Refering to the new homepage shapelib.maptools.org now.
14    
15 bh 2453 2004-12-13 Bernhard Herzog <[email protected]>
16    
17     * dbflib.py: Updated from difflib.i with SWIG.
18    
19     * dbflib.i: Work around a bug in the generated python code which
20     leads to exception in the __del__ method when the constructor
21     fails. See the comments in the code for more details.
22    
23 bh 2223 2004-05-28 Bernhard Herzog <[email protected]>
24    
25 bh 2227 * README: Flesh out the some more. Correct the shapelib
26     requirements.
27    
28     * NEWS: Update the date of the actual release of 0.3
29    
30     2004-05-28 Bernhard Herzog <[email protected]>
31    
32 bh 2223 * setup.py: Determine shp_dir correctly when run with bdist_rpm
33     (dbf_macros): Remove a debug print
34    
35     * NEWS: Also mention the new (compared to 0.2) setup.py
36    
37     * MANIFEST.in: New. Define which files belong into a source
38     distribution
39    
40 bh 2213 2004-05-17 Bernhard Herzog <[email protected]>
41    
42     * README: Update for new release
43    
44     * setup.py (dbf_macros): New. Return the preprocessor macros
45     needed to compile the dbflib wrapper. Determine whether
46     DBFUpdateHeader is available and define the right value of
47     HAVE_UPDATE_HEADER
48     (extensions): Use dbf_macros for the dbflibc extension
49    
50     * dbflib_wrap.c, dbflib.py: Update from dbflib.i
51    
52     * dbflib.i (DBFInfo_commit): New. Implementation of the commit
53     method. This new indirection is necessary because we use the
54     DBFUpdateHeader function now which is not available in shapelib <=
55     1.2.10
56     (DBFFile::commit): Use DBFInfo_commit as implementation
57     (pragma __class__): New. Kludge to remove the commit method when
58     the DBFUpdateHeader function isn't available
59     (_have_commit): New. Helper for the pragma kludge.
60    
61 bh 1920 2003-11-03 Bernhard Herzog <[email protected]>
62    
63     * dbflib.i (do_read_attribute): New helper function for reading
64     one attribute as a python object
65     (DBFInfo_read_attribute): New. Implement the read_attribute method
66     (DBFInfo_read_record): Use do_read_attribute to read the
67     individual values
68     (struct DBFFile): Add the read_attribute method.
69    
70     * dbflib_wrap.c, dbflib.py: Update from dbflib.i.
71    
72 bh 1763 2003-09-29 Bernhard Herzog <[email protected]>
73    
74     * dbflib.i: Add exception typemap for the add_field method. Fixes
75     Thuban bug RT#1842
76    
77     * dbflib_wrap.c: Update from dbflib.i
78    
79     * testdbf.py: New. Test cases for the dbflib bindings based on the
80     unittest module
81    
82 jan 1611 2003-08-18 Bernhard Herzog <[email protected]>
83    
84     * dbflib.i (DBFInfo_write_record): Use PySequence_Check instead of
85     PyMapping_Check to distinguish between sequences and mappings
86     because in Python 2.3, PyMapping_Check returns true for tuples and
87     lists too.
88    
89     2003-05-28 Bernhard Herzog <[email protected]>
90    
91     * dbflib.i (DBFInfo_read_record): Read NULL fields as None unless
92     it's a string field. DBF files can't distinguish between NULL and
93     an empty string. Also, check the return value of
94     DBFReadStringAttribute which may return NULL to indicate errors.
95    
96     * dbflib_wrap.c: Updated from dbflib.i
97    
98     2002-08-27 Bernhard Herzog <[email protected]>
99    
100     * dbflib.i: Raise an exception if open or create fails.
101    
102     * shapelib.i: Slightly better wording for the IOError exception
103     that open and create may raise.
104    
105     * shapelib_wrap.c, dbflib_wrap.c: Regenerated
106    
107     2002-08-22 Bernhard Herzog <[email protected]>
108    
109     * dbflib.i (DBFFile::commit): New method for DBFCommit.
110    
111     * dbflib_wrap.c, dbflib.py: Update from dbflib.i
112    
113     2002-08-15 Bernhard Herzog <[email protected]>
114    
115     * shapelib.i, dbflib.i: Make the NOCHECK trick for the ShapeFile *
116     check typemap work with SWIG 1.3.
117    
118     * shapelib_wrap.c, dbflib_wrap.c: Regenerate from the .i files.
119    
120     2002-05-10 Bernhard Herzog <[email protected]>
121    
122     * dbflib.i (DBFInfo_write_record): Only DECREF if the return value
123     of PyMapping_GetItemString is not NULL. Also, test the return
124     value of PySequence_GetItem
125     (write_field): Remove some debug prints
126    
127     * dbflib_wrap.c: Updated from dbflib.i
128    
129     2002-05-07 Bernhard Herzog <[email protected]>
130    
131     * shptreemodule.c (SHPTreeType, initshptree): Set SHPTreeType's
132     PyType_Type pointer in the init function.
133     (shptree_methods): Use METH_VARARGS
134     (shptree_dealloc): Use PyMem_DEL
135     (shptree_find_shapes): Add a missing return
136    
137     2002-05-07 Bernhard Herzog <[email protected]>
138    
139     * shptreemodule.c: New file with a simple wrapper for shapelib's
140     quadtree
141    
142     * setup.py: Some fixes to use explicit forward slashes as
143     directory separators because of distutils.
144     (extensions): Add the shptree module.
145    
146     * pytest.py (read_shapefile): Add some demo calls for the shptree
147     module
148    
149     * pyshapelib_api.h (PyShapeLibAPI): Add some of the shptree
150     functions.
151     (PYSHAPELIB_IMPORT_API): New macro to import the API
152    
153     * shapelib.i (the_api): add the tree API functions.
154    
155     * shapelib_wrap.c: Updated from shapelib.i with SWIG.
156    
157     2002-04-11 Bernhard Herzog <[email protected]>
158    
159     * pyshapelib_api.h: New file with a limited C-level API for
160     accessing shapilib functions from other Python-extensions.
161    
162     * shapelib.i: Export the C-level API with the c_api function.
163    
164     * shapelib.py, shapelib_wrap.c: Updated from shapelib.i. Still
165     done with a very old version of SWIG, but it's probably not worth
166     it to try it with a newer version as long as this still works.
167    
168     2001-07-18 Bernhard Herzog <[email protected]>
169    
170     * shapelib.i (open_ShapeFile): declare the swig prototype
171     correctly with ShapeFile* as return type
172     (ShapeFile.cobject): New method returning the SHPHandle* as a
173     CObject
174    
175     * Makefile (VERSION): Increase to 0.3
176    
177     * setup.py, MANIFEST.in: New files for python distutils.
178    
179     2001-06-15 Bernhard Herzog <[email protected]>
180    
181     * Makefile (VERSION): Increase to 0.2
182    
183     2001-06-14 Bernhard Herzog <[email protected]>
184    
185     * shapelib.i: Add the functions SHPTypeName as type_name and
186     SHPPartTypeName as part_type_name
187     (SHPObject_vertices):
188     (build_vertex_list): Put building a list of vertices into the
189     separate function build_vertex_list so that SHPObject_vertices can
190     support SHPT_POINT too.
191    
192     * ChangeLog: create ChangeLog
193    

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26