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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/thuban/libraries/pyshapelib/ChangeLog revision 1611 by jan, Tue Aug 19 21:24:20 2003 UTC branches/WIP-pyshapelib-bramz/libraries/pyshapelib/ChangeLog revision 2747 by bramz, Tue Mar 20 23:12:45 2007 UTC
# Line 1  Line 1 
1    2007-03-21      Bram de Greve <[email protected]>
2    
3            * shptreemodule.c: restoring something that shouldn't have been committed.
4    
5    2007-03-15      Bram de Greve <[email protected]>
6    
7            * shapelib.c: When creating measured shapes (XYM), treat M value
8            value as optional (defaults to zero).  Similar for
9            3D shapes (XYZM), threat both the Z and M value as options
10            (both default to zero).  When M values are to be given,
11            None is accepted as "no-data" value, and is stored as zero
12            (ESRI shapefile specs define any M value smaller than 1e-38
13            as no-data). Added an unpack_vertex() function to lift some
14            of the load of shpobject_init. Fixed a missing break and
15            PyMem_Free in build_vertex_list(), shapefile_init() and
16            shapelib_create().
17    
18            * dbflibmodule.c: Added support for the FTLogical field type.
19            
20            * shapelibmodule.c, dbflibmodule.c: Added 'name' and 'mode'
21            keywords for ShapeFile and DBFFile constructors and the module's
22            open() function, similiar to Python's file().  Reformatted
23            the doc strings to have a standard look and feel when parsed
24            through pydoc.
25            
26            * shapelib_common.h: added no-data constants.
27            
28            * pytest.py: Added tests for multipatch shapefile with XYZM values.
29            Added tests for FTLogical field.
30    
31    2007-03-15      Bram de Greve <[email protected]>
32    
33            * shapelibmodule.c, dbflibmodule.c: added some Unicode support for the
34            filenames (no internal encoding for DBFFile yet).  It now should similar
35            Unicode support Python's file() (concerning the filename, that is).
36    
37    2007-03-14  Bram de Greve <[email protected]>
38    
39            * shapelibmodule.c: added support for shapetypes with Z and M values
40    
41    2007-03-14  Bram de Greve <[email protected]>
42    
43            * dbflibmodule.c, dbflib.i: replaced dbflib.i by dbflibmodule.c to use
44            hand-crafted Python bindings instead of SWIG generated ones
45            
46            * shapelibmodule.c, shapelib.c: Renamed shapelib.c to shapelibmodule.c
47            to match style of dbflibmodule.c and shptreemodule.c.  Changed some
48            (well, most) names to match same style.
49            
50            * pyshapelib_common.h: do all necessary includes here
51            
52            * setup.py: updated building of dbflib.
53            
54    2007-03-13  Bram de Greve <[email protected]>
55    
56            * shapelib.c, shapelib_common.h: Added part_types() to SHPObject to
57            return tuple of part types. Added __repr__ operators to return a
58            string that can reconstruct the object using eval()
59            
60            * pytest.py: Added tests for part_types() and __repr__.  
61            Humanized the output a bit.
62    
63    2007-03-12  Bram de Greve <[email protected]>
64    
65            * shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use
66            hand-crafted Python bindings instead of SWIG generated ones.
67            
68            * pyshapelib_common.h: New file with some common stuff for both
69            shapelib and dbflib
70            
71            * pyshapelib_api.h, setup.py: import/build shapelib instead of shapelibc
72            
73    2006-09-24  Bernhard Reiter  <[email protected]>
74    
75            * dbflib_wrap.c, README: Checked for python version >= 2.4.0a0
76            before using &PyOS_ascii_atof.
77    
78    2006-09-24  Bernhard Reiter  <[email protected]>
79    
80            Added dirty workaround to make dbflib agnostic
81            against decimal_poinst != ".\0".
82    
83            * dbflib_wrap.c: Added call DBFSetatof_function(&PyOS_ascii_atof);
84            to initdbflibc().
85            * README: noted that manual editing of dbflib_wrap.c is necessary now.
86    
87    2005-06-30  Bernhard Herzog  <[email protected]>
88    
89            * shapelib.i (new_SHPObject): Fix the test for the length of the
90            part types.  It used the wrong variable.
91    
92            * shapelib_wrap.c: Regenerated from shapelib.i
93    
94            * pytest.py (make_shapefile): Add some more comments and add an
95            example with a polygon with a hole.
96    
97    2004-12-27  Bernhard Reiter  <[email protected]>
98            
99            * README: Refering to the new homepage shapelib.maptools.org now.
100    
101    2004-12-13  Bernhard Herzog  <[email protected]>
102    
103            * dbflib.py: Updated from difflib.i with SWIG.
104    
105            * dbflib.i: Work around a bug in the generated python code which
106            leads to exception in the __del__ method when the constructor
107            fails.  See the comments in the code for more details.
108    
109    2004-05-28  Bernhard Herzog  <[email protected]>
110    
111            * README: Flesh out the some more.  Correct the shapelib
112            requirements.
113    
114            * NEWS: Update the date of the actual release of 0.3
115    
116    2004-05-28  Bernhard Herzog  <[email protected]>
117    
118            * setup.py: Determine shp_dir correctly when run with bdist_rpm
119            (dbf_macros): Remove a debug print
120    
121            * NEWS: Also mention the new (compared to 0.2) setup.py
122    
123            * MANIFEST.in: New. Define which files belong into a source
124            distribution
125    
126    2004-05-17  Bernhard Herzog  <[email protected]>
127    
128            * README: Update for new release
129    
130            * setup.py (dbf_macros): New. Return the preprocessor macros
131            needed to compile the dbflib wrapper.  Determine whether
132            DBFUpdateHeader is available and define the right value of
133            HAVE_UPDATE_HEADER
134            (extensions): Use dbf_macros for the dbflibc extension
135    
136            * dbflib_wrap.c, dbflib.py: Update from dbflib.i
137    
138            * dbflib.i (DBFInfo_commit): New. Implementation of the commit
139            method.  This new indirection is necessary because we use the
140            DBFUpdateHeader function now which is not available in shapelib <=
141            1.2.10
142            (DBFFile::commit): Use DBFInfo_commit as implementation
143            (pragma __class__): New. Kludge to remove the commit method when
144            the DBFUpdateHeader function isn't available
145            (_have_commit): New. Helper for the pragma kludge.
146    
147    2003-11-03  Bernhard Herzog  <[email protected]>
148    
149            * dbflib.i (do_read_attribute): New helper function for reading
150            one attribute as a python object
151            (DBFInfo_read_attribute): New. Implement the read_attribute method
152            (DBFInfo_read_record): Use do_read_attribute to read the
153            individual values
154            (struct DBFFile): Add the read_attribute method.
155    
156            * dbflib_wrap.c, dbflib.py: Update from dbflib.i.
157    
158    2003-09-29  Bernhard Herzog  <[email protected]>
159    
160            * dbflib.i: Add exception typemap for the add_field method. Fixes
161            Thuban bug RT#1842
162    
163            * dbflib_wrap.c: Update from dbflib.i
164    
165            * testdbf.py: New. Test cases for the dbflib bindings based on the
166            unittest module
167    
168  2003-08-18  Bernhard Herzog  <[email protected]>  2003-08-18  Bernhard Herzog  <[email protected]>
169    
170          * dbflib.i (DBFInfo_write_record): Use PySequence_Check instead of          * dbflib.i (DBFInfo_write_record): Use PySequence_Check instead of

Legend:
Removed from v.1611  
changed lines
  Added in v.2747

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26