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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2704 - (show annotations)
Sun Sep 24 18:52:59 2006 UTC (18 years, 5 months ago) by bernhard
Original Path: trunk/thuban/libraries/pyshapelib/ChangeLog
File size: 6540 byte(s)
Added dirty workaround to make dbflib agnostic 
against decimal_poinst != ".\0".

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26