/[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 2213 - (show annotations)
Mon May 17 15:48:53 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib/ChangeLog
File size: 5059 byte(s)
update ChangeLogs

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26