/[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 2227 - (show annotations)
Fri May 28 19:07:27 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib/ChangeLog
File size: 5522 byte(s)
update ChangeLog

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26