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

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

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

revision 1592 by bh, Fri Aug 15 14:01:07 2003 UTC revision 1619 by jan, Tue Aug 19 22:19:07 2003 UTC
# Line 1  Line 1 
1    2003-08-19  Jan-Oliver Wagner <[email protected]>
2    
3            Moved anything from extensions to libraries.
4    
5            * libraries: New.
6    
7            * libraries/ pyprojection, pyshapelib, shapelib, thuban: New.
8    
9            * libraries/pyprojection/ LICENSE, MANIFEST.in, Projection.i,
10            Projection.py, Projection_wrap.c, setup.py, swighelp.txt: These files have
11            been moved here from thuban/extensions/pyprojection/
12            See there in the Attic for the older history.
13    
14            * libraries/pyshapelib/ COPYING, ChangeLog, NEWS, README, dbflib.i,
15            dbflib.py, dbflib_wrap.c, pyshapelib_api.h, pytest.py, setup.py,
16            shapelib.i, shapelib.py, shapelib_wrap.c, shptreemodule.c: These files
17            have been moved here from thuban/extensions/pyshapelib/
18            See there in the Attic for the older history.
19    
20            * libraries/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c: These
21            files have been moved here from thuban/extensions/shapelib/
22            See there in the Attic for the older history.
23    
24            * libraries/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h,
25            gdalwarp.cpp, wxproj.cpp: These files have been moved here from
26            thuban/extensions/thuban/
27            See there in the Attic for the older history.
28    
29            * MANIFEST.in, setup.cfg, setup.py: renamed extensions to libraries.
30    
31            * extensions/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h,
32            gdalwarp.cpp, wxproj.cpp: Moved to libraries/thuban.
33    
34            * extensions/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c:
35            Moved to libraries/shapelib.
36    
37            * extensions/pyshapelib/ COPYING, NEWS, dbflib.py, pytest.py,
38            shapelib.py, README, dbflib_wrap.c, setup.py, shapelib_wrap.c,
39            ChangeLog, dbflib.i, pyshapelib_api.h, shapelib.i, shptreemodule.c:
40            Moved to libraries/pyshapelib.
41    
42            * extensions/pyprojection/ MANIFEST.in, Projection.py, setup.py,
43            LICENSE, Projection.i, Projection_wrap.c, swighelp.txt:
44            Moved to libraries/pyprojection.
45    
46            * extensions/ pyprojection, pyshapelib, shapelib, thuban: Removed.
47    
48            * extensions: Removed.
49    
50    2003-08-19  Bernhard Herzog  <[email protected]>
51    
52            * test/test_viewport.py (ViewPortTest): We don't use the
53            facilities of FileTestMixin so don't derive from it.
54            (TestViewportWithPostGIS): New class with tests for using a
55            viewport on a map with postgis layers.
56    
57    2003-08-19  Bernhard Herzog  <[email protected]>
58    
59            Add the db connection management to the session.
60    
61            * Thuban/Model/session.py (Session.__init__): New instance
62            variable db_connections
63            (Session.AddDBConnection, Session.DBConnections)
64            (Session.HasDBConnections, Session.CanRemoveDBConnection)
65            (Session.RemoveDBConnection): New methods to manage and query the
66            db connections managed by the session
67            (Session.OpenDBShapeStore): New method to open a shapestore from a
68            db connection
69    
70            * Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New
71            messages for the db connection handling in the session
72    
73            * test/test_postgis_session.py: New. test cases for the session's
74            db connection handling with postgis connections
75    
76    2003-08-19  Bernhard Herzog  <[email protected]>
77    
78            Add very basic postgis database support and the corresponding test
79            cases. The test cases require a PostgreSQL + postgis installation
80            but no existing database. The database will be created
81            automatically by the test cases
82    
83            * test/README: Add note about skipped tests and the requirements
84            of the postgis tests.
85    
86            * Thuban/Model/postgisdb.py: New. Basic postgis database support.
87    
88            * test/test_postgis_db.py: New. Test cases for the postgis
89            support.
90    
91            * Thuban/Model/wellknowntext.py: New. Parser for well-known-text
92            format
93    
94            * test/test_wellknowntext.py: New. Test cases for the
95            wellknowntext parser
96    
97            * test/postgissupport.py: New. Support module for tests involving
98            a postgis database.
99    
100            * test/support.py (execute_as_testsuite): Shut down the postmaster
101            if it's still running after the tests
102    
103            * Thuban/Model/data.py (RAW_WKT): New constant for raw data in
104            well known text format
105    
106    2003-08-19  Jan-Oliver Wagner <[email protected]>
107    
108            * Examples/simple_extensions/hello_world.py: New. Raises a Hello World
109            message dialog.
110    
111    2003-08-18  Bernhard Herzog  <[email protected]>
112    
113            * test/support.py (ThubanTestResult.printErrors): Indent the
114            reason for the skips in the output to make it a bit more readable.
115            (execute_as_testsuite): New helper function to run a test suite
116            and print some more information.
117            (run_tests): Use execute_as_testsuite to run the tests
118    
119            * test/runtests.py (main): Use execute_as_testsuite to run the
120            tests
121    
122    2003-08-18  Bernhard Herzog  <[email protected]>
123    
124            Fix some bugs in Thuban and the test suite that were uncovered by
125            changes introduced in Python 2.3:
126    
127            * Thuban/Model/table.py (DBFTable.__init__): Make sure the
128            filename is an absolute name
129    
130            * Thuban/Model/layer.py (RasterLayer.__init__): Make sure the
131            filename is an absolute name
132    
133            * test/test_save.py (SaveSessionTest.testRasterLayer): Use a
134            unique filename to save to and use the correct relative filename
135            in the expected output.
136            (SaveSessionTest.test_dbf_table): Use the correct relative
137            filename in the expected output.
138    
139            * test/test_layer.py (TestLayer.test_raster_layer): Update the
140            test to check whether the filename is absolute.
141    
142    2003-08-18  Jan-Oliver Wagner <[email protected]>
143    
144            * Thuban/UI/about.py (About.__init__): Added Silke Reimer.
145    
146    2003-08-15  Bernhard Herzog  <[email protected]>
147    
148            Change the way shapes are returned by a shape store. The
149            ShapesInRegion method returns an iterator over actual shape
150            objects instead of a list of shape ids.
151    
152            * Thuban/Model/data.py (ShapefileShape.ShapeID): New. Return shape
153            id.
154            (ShapefileStore.ShapesInRegion): Return an iterator over the
155            shapes which yields shape objects instead of returning a list of
156            shape ids
157            (ShapefileStore.AllShapes): New. Return an iterator over all
158            shapes in the shape store
159            (DerivedShapeStore.AllShapes): New. Like in ShapefileStore
160    
161            * Thuban/Model/layer.py (Layer.ShapesInRegion): Update
162            doc-string.
163    
164            * Thuban/UI/baserenderer.py
165            (BaseRenderer.layer_ids, BaseRenderer.layer_shapes): Rename to
166            layer_shapes and make it return an iterator containg shapes
167            instead of a list of ids.
168            (BaseRenderer.draw_shape_layer): Update doc-string; Adapt to
169            layer_shapes() change
170    
171            * Thuban/UI/renderer.py (ScreenRenderer.layer_ids)
172            (ScreenRenderer.layer_shapes): Rename as in BaseRenderer
173    
174            * Thuban/UI/viewport.py (ViewPort._find_shape_in_layer): Adapt to
175            changes in the ShapesInRegion return value.
176            (ViewPort._get_hit_tester): Remove commented out code
177    
178            * test/mockgeo.py (SimpleShapeStore.ShapesInRegion): Adapt to the
179            new return value.
180            (SimpleShapeStore.AllShapes): New. Implement this method too.
181    
182            * test/test_layer.py (TestLayer.test_arc_layer)
183            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
184            (TestLayer.test_point_layer_with_projection)
185            (TestLayer.test_derived_store): Adapt to changes in the
186            ShapesInRegion return value.
187    
188            * test/test_shapefilestore.py
189            (TestShapefileStoreArc.test_shapes_in_region)
190            (TestShapefileStorePolygon.test_shapes_in_region)
191            (TestShapefileStorePoint.test_shapes_in_region): Adapt to changes
192            in the ShapesInRegion return value.
193            (TestShapefileStorePoint.test_all_shapes)
194            (TestShapefileStoreArc.test_shape_shapeid): New tests for the new
195            methods
196    
197            * test/test_derivedshapestore.py
198            (TestDerivedShapeStore.test_shapes_in_region): Adapt to changes in
199            the ShapesInRegion return value.
200            (TestDerivedShapeStore.test_all_shapes)
201            (TestDerivedShapeStore.test_shape_shapeid): New tests for the new
202            methods
203    
204  2003-08-15  Bernhard Herzog  <[email protected]>  2003-08-15  Bernhard Herzog  <[email protected]>
205    
206          Make the renderers deal correctly with raw vs. python level          Make the renderers deal correctly with raw vs. python level

Legend:
Removed from v.1592  
changed lines
  Added in v.1619

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26