/[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

revision 2741 by bramz, Tue Mar 13 23:30:41 2007 UTC revision 2751 by bramz, Wed Mar 28 23:30:15 2007 UTC
# Line 1  Line 1 
1  2007-03-12  Bram de Greve <[email protected]>  2007-03-29      Bram de Greve <[email protected]>
2    
3            * shapelibmodule.c, dbflibmodule.c, pyshapelib_common.h: added support for
4            Win32 wide character file API.  Unicode filenames are now fully supported
5            on the windows platform: for example exotic filenames like the greek letter
6            pi (u"\u03c0").  This is mostly mimicked from Python's fileobject.c, and
7            needed some severe changes in the C++ shapelib library to support the wide
8            filename API.  All XOpen and XCreate functions now have XOpenW and XCreateW
9            counterparts plus some common code has been split to XOpenEx and XCreateEx.
10            I hope these modifications might one day end up in an official shapelib
11            release.  Meanwhile, compatibility is guaranteed as the specific Unicode
12            code paths are not compiled if the modifications are not found.
13    
14    2007-03-22      Bram de Greve <[email protected]>
15    
16            * shapelibmodule.c, dbflibmodule.c: in __init__ of ShapeFile and DBFFile,
17            throw proper IOError if opening of file failed.
18            
19            * dbflibmodule.c: commit function was incorrectly pointing to
20            dbflib_read_record
21    
22    2007-03-21      Bram de Greve <[email protected]>
23    
24            * shptreemodule.c: restoring something that shouldn't have been committed.
25    
26    2007-03-15      Bram de Greve <[email protected]>
27    
28            * shapelib.c: When creating measured shapes (XYM), treat M value
29            value as optional (defaults to zero).  Similar for
30            3D shapes (XYZM), threat both the Z and M value as options
31            (both default to zero).  When M values are to be given,
32            None is accepted as "no-data" value, and is stored as zero
33            (ESRI shapefile specs define any M value smaller than 1e-38
34            as no-data). Added an unpack_vertex() function to lift some
35            of the load of shpobject_init. Fixed a missing break and
36            PyMem_Free in build_vertex_list(), shapefile_init() and
37            shapelib_create().
38    
39            * dbflibmodule.c: Added support for the FTLogical field type.
40            
41            * shapelibmodule.c, dbflibmodule.c: Added 'name' and 'mode'
42            keywords for ShapeFile and DBFFile constructors and the module's
43            open() function, similiar to Python's file().  Reformatted
44            the doc strings to have a standard look and feel when parsed
45            through pydoc.
46            
47            * shapelib_common.h: added no-data constants.
48            
49            * pytest.py: Added tests for multipatch shapefile with XYZM values.
50            Added tests for FTLogical field.
51    
52    2007-03-15      Bram de Greve <[email protected]>
53    
54            * shapelibmodule.c, dbflibmodule.c: added some Unicode support for the
55            filenames (no internal encoding for DBFFile yet).  It now should similar
56            Unicode support Python's file() (concerning the filename, that is).
57    
58    2007-03-14  Bram de Greve <[email protected]>
59    
60            * shapelibmodule.c: added support for shapetypes with Z and M values
61    
62    2007-03-14  Bram de Greve <[email protected]>
63    
64            * dbflibmodule.c, dbflib.i: replaced dbflib.i by dbflibmodule.c to use
65            hand-crafted Python bindings instead of SWIG generated ones
66            
67            * shapelibmodule.c, shapelib.c: Renamed shapelib.c to shapelibmodule.c
68            to match style of dbflibmodule.c and shptreemodule.c.  Changed some
69            (well, most) names to match same style.
70            
71            * pyshapelib_common.h: do all necessary includes here
72            
73            * setup.py: updated building of dbflib.
74            
75    2007-03-13  Bram de Greve <[email protected]>
76    
77          * shapelib.c, shapelib_common.h: Added part_types() to SHPObject to          * shapelib.c, shapelib_common.h: Added part_types() to SHPObject to
78          return tuple of part types. Added __repr__ operators to return a          return tuple of part types. Added __repr__ operators to return a
# Line 7  Line 81 
81          * pytest.py: Added tests for part_types() and __repr__.            * pytest.py: Added tests for part_types() and __repr__.  
82          Humanized the output a bit.          Humanized the output a bit.
83    
84  2007-03-12  Bram de Greve <[email protected]>  2007-03-12  Bram de Greve <[email protected]>
85    
86          * shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use          * shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use
87          hand-crafted Python bindings instead of SWIG generated ones.          hand-crafted Python bindings instead of SWIG generated ones.

Legend:
Removed from v.2741  
changed lines
  Added in v.2751

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26