/[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 1920 - (show annotations)
Mon Nov 3 17:33:45 2003 UTC (21 years, 4 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib/ChangeLog
File size: 4242 byte(s)
update ChangeLog

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26