/[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 2706 - (hide annotations)
Sun Sep 24 19:25:26 2006 UTC (18 years, 5 months ago) by bernhard
Original Path: trunk/thuban/libraries/pyshapelib/ChangeLog
File size: 6692 byte(s)
* dbflib_wrap.c, README: Checked for python version >= 2.4.0a0
before using &PyOS_ascii_atof.

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26