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

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26