/[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 1497 by frank, Tue Jul 29 12:07:41 2003 UTC revision 1626 by jan, Thu Aug 21 16:04:06 2003 UTC
# Line 1  Line 1 
1    2003-08-21  Jan-Oliver Wagner <[email protected]>
2    
3            * Doc/manual/thuban-manual.xml: Added CVS revision for rev-history.
4            (section Adding and Removing Layers): Added text and described
5            multi-selection.
6            (chapter Extensions): New.
7    
8    2003-08-21  Jan-Oliver Wagner <[email protected]>
9    
10            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Changed dialog
11            settings to allow multiple files to load into the map.
12            Also reduced selection to *.shp as a default.
13    
14    2003-08-20  Bernhard Herzog  <[email protected]>
15    
16            Add dialogs and commands to open database connections and add
17            database layers.
18    
19            * Thuban/UI/mainwindow.py (MainWindow.DatabaseManagement): New
20            method to open the database connection management dialog
21            (MainWindow.AddDBLayer): New method to add a layer from a database
22            (_has_dbconnections): New helper function to use for sensitivity
23            (database_management command, layer_add_db command): New commands
24            that call the above new methods.
25            (main_menu): Add the new commands to the menu.
26    
27            * Thuban/Model/postgisdb.py (PostGISConnection.__init__)
28            (PostGISConnection.connect): Establish the actual connection in a
29            separate method and call it in __init__. This makes it easier to
30            override the behavior in test cases
31            (PostGISConnection.BriefDescription): New method to return a brief
32            description for use in dialogs.
33    
34            * test/test_postgis_db.py (NonConnection): DB connection that
35            doesn't actually connect
36            (TestBriefDescription): New class with tests for the new
37            BriefDescription method
38    
39    2003-08-19  Jan-Oliver Wagner <[email protected]>
40    
41            Moved anything from extensions to libraries.
42    
43            * libraries: New.
44    
45            * libraries/ pyprojection, pyshapelib, shapelib, thuban: New.
46    
47            * libraries/pyprojection/ LICENSE, MANIFEST.in, Projection.i,
48            Projection.py, Projection_wrap.c, setup.py, swighelp.txt: These files have
49            been moved here from thuban/extensions/pyprojection/
50            See there in the Attic for the older history.
51    
52            * libraries/pyshapelib/ COPYING, ChangeLog, NEWS, README, dbflib.i,
53            dbflib.py, dbflib_wrap.c, pyshapelib_api.h, pytest.py, setup.py,
54            shapelib.i, shapelib.py, shapelib_wrap.c, shptreemodule.c: These files
55            have been moved here from thuban/extensions/pyshapelib/
56            See there in the Attic for the older history.
57    
58            * libraries/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c: These
59            files have been moved here from thuban/extensions/shapelib/
60            See there in the Attic for the older history.
61    
62            * libraries/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h,
63            gdalwarp.cpp, wxproj.cpp: These files have been moved here from
64            thuban/extensions/thuban/
65            See there in the Attic for the older history.
66    
67            * MANIFEST.in, setup.cfg, setup.py: renamed extensions to libraries.
68    
69            * extensions/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h,
70            gdalwarp.cpp, wxproj.cpp: Moved to libraries/thuban.
71    
72            * extensions/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c:
73            Moved to libraries/shapelib.
74    
75            * extensions/pyshapelib/ COPYING, NEWS, dbflib.py, pytest.py,
76            shapelib.py, README, dbflib_wrap.c, setup.py, shapelib_wrap.c,
77            ChangeLog, dbflib.i, pyshapelib_api.h, shapelib.i, shptreemodule.c:
78            Moved to libraries/pyshapelib.
79    
80            * extensions/pyprojection/ MANIFEST.in, Projection.py, setup.py,
81            LICENSE, Projection.i, Projection_wrap.c, swighelp.txt:
82            Moved to libraries/pyprojection.
83    
84            * extensions/ pyprojection, pyshapelib, shapelib, thuban: Removed.
85    
86            * extensions: Removed.
87    
88    2003-08-19  Bernhard Herzog  <[email protected]>
89    
90            * test/test_viewport.py (ViewPortTest): We don't use the
91            facilities of FileTestMixin so don't derive from it.
92            (TestViewportWithPostGIS): New class with tests for using a
93            viewport on a map with postgis layers.
94    
95    2003-08-19  Bernhard Herzog  <[email protected]>
96    
97            Add the db connection management to the session.
98    
99            * Thuban/Model/session.py (Session.__init__): New instance
100            variable db_connections
101            (Session.AddDBConnection, Session.DBConnections)
102            (Session.HasDBConnections, Session.CanRemoveDBConnection)
103            (Session.RemoveDBConnection): New methods to manage and query the
104            db connections managed by the session
105            (Session.OpenDBShapeStore): New method to open a shapestore from a
106            db connection
107    
108            * Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New
109            messages for the db connection handling in the session
110    
111            * test/test_postgis_session.py: New. test cases for the session's
112            db connection handling with postgis connections
113    
114    2003-08-19  Bernhard Herzog  <[email protected]>
115    
116            Add very basic postgis database support and the corresponding test
117            cases. The test cases require a PostgreSQL + postgis installation
118            but no existing database. The database will be created
119            automatically by the test cases
120    
121            * test/README: Add note about skipped tests and the requirements
122            of the postgis tests.
123    
124            * Thuban/Model/postgisdb.py: New. Basic postgis database support.
125    
126            * test/test_postgis_db.py: New. Test cases for the postgis
127            support.
128    
129            * Thuban/Model/wellknowntext.py: New. Parser for well-known-text
130            format
131    
132            * test/test_wellknowntext.py: New. Test cases for the
133            wellknowntext parser
134    
135            * test/postgissupport.py: New. Support module for tests involving
136            a postgis database.
137    
138            * test/support.py (execute_as_testsuite): Shut down the postmaster
139            if it's still running after the tests
140    
141            * Thuban/Model/data.py (RAW_WKT): New constant for raw data in
142            well known text format
143    
144    2003-08-19  Jan-Oliver Wagner <[email protected]>
145    
146            * Examples/simple_extensions/hello_world.py: New. Raises a Hello World
147            message dialog.
148    
149    2003-08-18  Bernhard Herzog  <[email protected]>
150    
151            * test/support.py (ThubanTestResult.printErrors): Indent the
152            reason for the skips in the output to make it a bit more readable.
153            (execute_as_testsuite): New helper function to run a test suite
154            and print some more information.
155            (run_tests): Use execute_as_testsuite to run the tests
156    
157            * test/runtests.py (main): Use execute_as_testsuite to run the
158            tests
159    
160    2003-08-18  Bernhard Herzog  <[email protected]>
161    
162            Fix some bugs in Thuban and the test suite that were uncovered by
163            changes introduced in Python 2.3:
164    
165            * Thuban/Model/table.py (DBFTable.__init__): Make sure the
166            filename is an absolute name
167    
168            * Thuban/Model/layer.py (RasterLayer.__init__): Make sure the
169            filename is an absolute name
170    
171            * test/test_save.py (SaveSessionTest.testRasterLayer): Use a
172            unique filename to save to and use the correct relative filename
173            in the expected output.
174            (SaveSessionTest.test_dbf_table): Use the correct relative
175            filename in the expected output.
176    
177            * test/test_layer.py (TestLayer.test_raster_layer): Update the
178            test to check whether the filename is absolute.
179    
180    2003-08-18  Jan-Oliver Wagner <[email protected]>
181    
182            * Thuban/UI/about.py (About.__init__): Added Silke Reimer.
183    
184    2003-08-15  Bernhard Herzog  <[email protected]>
185    
186            Change the way shapes are returned by a shape store. The
187            ShapesInRegion method returns an iterator over actual shape
188            objects instead of a list of shape ids.
189    
190            * Thuban/Model/data.py (ShapefileShape.ShapeID): New. Return shape
191            id.
192            (ShapefileStore.ShapesInRegion): Return an iterator over the
193            shapes which yields shape objects instead of returning a list of
194            shape ids
195            (ShapefileStore.AllShapes): New. Return an iterator over all
196            shapes in the shape store
197            (DerivedShapeStore.AllShapes): New. Like in ShapefileStore
198    
199            * Thuban/Model/layer.py (Layer.ShapesInRegion): Update
200            doc-string.
201    
202            * Thuban/UI/baserenderer.py
203            (BaseRenderer.layer_ids, BaseRenderer.layer_shapes): Rename to
204            layer_shapes and make it return an iterator containg shapes
205            instead of a list of ids.
206            (BaseRenderer.draw_shape_layer): Update doc-string; Adapt to
207            layer_shapes() change
208    
209            * Thuban/UI/renderer.py (ScreenRenderer.layer_ids)
210            (ScreenRenderer.layer_shapes): Rename as in BaseRenderer
211    
212            * Thuban/UI/viewport.py (ViewPort._find_shape_in_layer): Adapt to
213            changes in the ShapesInRegion return value.
214            (ViewPort._get_hit_tester): Remove commented out code
215    
216            * test/mockgeo.py (SimpleShapeStore.ShapesInRegion): Adapt to the
217            new return value.
218            (SimpleShapeStore.AllShapes): New. Implement this method too.
219    
220            * test/test_layer.py (TestLayer.test_arc_layer)
221            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
222            (TestLayer.test_point_layer_with_projection)
223            (TestLayer.test_derived_store): Adapt to changes in the
224            ShapesInRegion return value.
225    
226            * test/test_shapefilestore.py
227            (TestShapefileStoreArc.test_shapes_in_region)
228            (TestShapefileStorePolygon.test_shapes_in_region)
229            (TestShapefileStorePoint.test_shapes_in_region): Adapt to changes
230            in the ShapesInRegion return value.
231            (TestShapefileStorePoint.test_all_shapes)
232            (TestShapefileStoreArc.test_shape_shapeid): New tests for the new
233            methods
234    
235            * test/test_derivedshapestore.py
236            (TestDerivedShapeStore.test_shapes_in_region): Adapt to changes in
237            the ShapesInRegion return value.
238            (TestDerivedShapeStore.test_all_shapes)
239            (TestDerivedShapeStore.test_shape_shapeid): New tests for the new
240            methods
241    
242    2003-08-15  Bernhard Herzog  <[email protected]>
243    
244            Make the renderers deal correctly with raw vs. python level
245            representation of shape geometries
246    
247            * Thuban/UI/baserenderer.py (BaseRenderer.low_level_renderer):
248            Return a flag useraw in addition to the callable and the parameter
249            to indicate whether the callable can deal with the raw shape data
250            or uses the higher level python lists of coordinates. The callable
251            now should accept either the raw data or the return value of the
252            shape's Points() method.
253            (BaseRenderer.draw_shape_layer): Adapt to the low_level_renderer
254            change
255            (BaseRenderer.projected_points): Instead of the shape id use the
256            points list as parameter.
257            (BaseRenderer.draw_polygon_shape, BaseRenderer.draw_arc_shape)
258            (BaseRenderer.draw_point_shape): Adapt to projected_points()
259            change and accept the points list as parameter instead of the
260            shape id.
261    
262            * Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Return
263            the useraw flag as required by the BaseRenderer
264            (ScreenRenderer.draw_shape_layer): Adapt to low-level renderer
265            changes.
266    
267            * test/test_baserenderer.py
268            (TestBaseRenderer.test_point_with_classification): New test for
269            rendering a map with classifications.
270    
271    2003-08-15  Bernhard Herzog  <[email protected]>
272    
273            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
274            (ViewPort._find_shape_in_layer, ViewPort._find_shape_in_layer)
275            (ViewPort._get_hit_tester, ViewPort.projected_points)
276            (ViewPort._hit_point, ViewPort._hit_arc, ViewPort._hit_polygon)
277            (ViewPort._find_label_at): Split the find_shape_at method into
278            several new methods and use the functions in the hit-test module.
279    
280            * Thuban/UI/hittest.py: New module with Python-level hit-testing
281            functions
282    
283            * test/test_hittest.py: New. Test for the new hittest module
284    
285    2003-08-15  Bernhard Herzog  <[email protected]>
286    
287            * Thuban/Model/layer.py (Layer.ShapesInRegion): Apply the layer
288            projection to all corners of the bounding box to get a better
289            approximation of the projected bounding box
290    
291            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
292            New. Test coordinate handling of a layer with a projection.
293            Catches the bug fixed in Layer.ShapesInRegion
294    
295    2003-08-15  Bernhard Herzog  <[email protected]>
296    
297            Move some of the mock objects in test_baserenderer into their own
298            module so they can easily be used from other tests
299    
300            * test/mockgeo.py: New test helper module with some mock objects
301            for geometry related things like shapes, shapestores and
302            projections.
303    
304            * test/test_mockgeo.py: New. Tests for the new helper module
305    
306            * test/test_baserenderer.py: Some of the mock-objects are in
307            mockgeo now.
308    
309    2003-08-12  Jan-Oliver Wagner <[email protected]>
310    
311            * Thuban/UI/about.py (About.__init__): Added Bj�rn Broscheit.
312    
313    2003-08-12  Bernhard Herzog  <[email protected]>
314    
315            * po/de.po: New. German translations by Bjoern Broscheit
316    
317    2003-08-12  Bernhard Herzog  <[email protected]>
318    
319            * Thuban/UI/projdialog.py (UnknownProjPanel._DoLayout): Translated
320            strings have to be one string literal.
321    
322    2003-08-11  Bernhard Herzog  <[email protected]>
323    
324            * test/support.py (FloatComparisonMixin.assertPointListEquals):
325            New. This method was used in various derived classes, but it's
326            better to have it here.
327    
328            * test/test_shapefilestore.py
329            (ShapefileStoreTests.assertPointListEquals): Removed. It's now in
330            FloatComparisonMixin
331    
332            * test/test_layer.py (TestLayer.assertPointListEquals): Removed.
333            It's now in FloatComparisonMixin
334    
335            * test/test_derivedshapestore.py
336            (TestDerivedShapeStore.assertPointListEquals): Removed. It's now
337            in FloatComparisonMixin
338    
339    2003-08-11  Bernhard Herzog  <[email protected]>
340    
341            * Thuban/UI/join.py (JoinDialog.OnJoin): Add missing space to
342            error message
343    
344    2003-08-08  Jan-Oliver Wagner <[email protected]>
345    
346            * Doc/manual/thuban-manual.xml: Now use authorgroup. Added revhistory
347            with version number.
348            Changed title to reflect version number of Thuban.
349    
350    2003-08-08  Jan-Oliver Wagner <[email protected]>
351    
352            * Thuban/UI/about.py (About.__init__): Reworked the hall of fame. Now
353            the list corresponds to the "About" web page.
354    
355    2003-08-08  Bernhard Herzog  <[email protected]>
356    
357            * Thuban/UI/projdialog.py (UTMProposeZoneDialog.dialogLayout):
358            Make sure translated strings are recognized as one string literal.
359    
360            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog.dialogLayout):
361            Make sure translated strings are recognized as one string literal.
362    
363            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Make sure
364            translated strings are recognized as one string literal.
365    
366            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
367            sure translated strings are recognized as one string literal.
368    
369    2003-08-07  Bernhard Herzog  <[email protected]>
370    
371            * Thuban/Model/data.py (DerivedShapeStore.RawShapeFormat): New.
372            Simply delegates to the original shapestore.
373    
374            * test/test_derivedshapestore.py
375            (TestDerivedShapeStore.test_raw_format): New. Test case for
376            DerivedShapeStore.RawShapeFormat
377    
378    2003-08-07  Bernhard Herzog  <[email protected]>
379    
380            Add raw data interface to shape objects.
381    
382            * Thuban/Model/data.py (ShapefileShape, Shape): Rname the shape
383            class to ShapefileShape which now holds shapefile specific
384            information.
385            (ShapefileShape.compute_bbox): Simplified to not cache any
386            information. The way this method is used that shouldn't matter
387            performance wise.
388            (ShapefileShape.RawData): New. Return the shapeid which is the raw
389            data format for shapes from shapefiles.
390            (ShapefileStore.RawShapeFormat): New. Return the raw datatype used
391            in the shape objects returned by a shapestore. For a
392            ShapefileStore this is always RAW_SHAPEFILE.
393            (RAW_PYTHON, RAW_SHAPEFILE): Constants for the RawShapeFormat
394            method.
395    
396            * test/test_shapefilestore.py
397            (TestShapefileStore.test_raw_format): New test to test the raw
398            format feature of shapes.
399    
400            * Thuban/Model/layer.py: Remove the unused import of Shape from
401            data. It was only there for interface compatibility but it's not
402            used inside of Thuban and the generic Shape class has gone away.
403    
404            * Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Check
405            the raw data format and only use an optimized version of its a
406            shapefile.
407    
408    2003-08-07  Bernhard Herzog  <[email protected]>
409    
410            * test/test_baserenderer.py (SimpleShape): Shape class for the
411            tests.
412            (SimpleShapeStore.Shape): Use SimpleShape instead of
413            Thuban.Model.data.Shape to make the tests independed of the coming
414            changes.
415    
416    2003-08-07  Bernhard Herzog  <[email protected]>
417    
418            * test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner)
419            (ThubanTestProgram): New classes that extend the respective
420            classes from unittest. These new version support skipping tests
421            under certain expected conditions. In the Thuban test suite we
422            uses this for tests that require the optional gdal support.
423            (run_tests): Use ThubanTestProgram instead of the unittest.main()
424    
425            * test/runtests.py (main): Use the new ThubanTestRunner instead of
426            the normal one from unittest
427    
428            * test/test_layer.py (TestLayer.test_raster_layer): If this test
429            is not run because gdal support isn't available report this to the
430            runner.
431    
432            * test/test_baserenderer.py
433            (TestBaseRenderer.test_raster_no_projection): Do not run this test
434            if gdal support isn't available and report this to the runner.
435    
436    2003-08-06  Bernhard Herzog  <[email protected]>
437    
438            Rearrange the renderers a bit, partly in preparation for changes
439            required for the postgis merge, partly to make it more testable.
440            Also make the representation of coordinates in Shapes more
441            consistent.
442    
443            * Thuban/UI/renderer.py (MapRenderer): Most of the code/methods in
444            this class is now in BaseRenderer. This class is now practically
445            only a specialization of BaseRenderer for rendering to an actual
446            wx DC.
447            (ScreenRenderer.draw_shape_layer): Use self.low_level_renderer()
448            to get the shapetype specific rendering functions.
449    
450            * Thuban/UI/baserenderer.py: New file with the basic rendering
451            logic. The code in this file is completely independend of wx.
452            (BaseRenderer): Class with the basic rendering logic
453    
454            * test/test_baserenderer.py: New. Test cases for BaseRenderer
455    
456            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
457            error_on_redraw to guard agains endless loops and stack overflows
458            when there's a bug in the rendering code that raises exceptions.
459            (MapCanvas.OnIdle, MapCanvas._do_redraw): Split the actual
460            rendering into a separate method _do_redraw so that error handling
461            is a bit easier. When an exception occurs, set error_on_redraw to
462            true. When it's true on entry to OnIdle do nothing and return
463            immediately.
464    
465            * Thuban/Model/data.py (ShapefileStore.Shape): For consistency, a
466            Shape object will always have the coordinates as a list of list of
467            coordinate pairs (tuples).
468            (Shape.compute_bbox): Adapt to new representation.
469    
470            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
471            (ViewPort.LabelShapeAt): Adapt to new coordinate representation in
472            Shape objects.
473    
474            * test/test_shapefilestore.py
475            (ShapefileStoreTests.assertFloatTuplesEqual)
476            (ShapefileStoreTests.assertPointListEquals): Rename to
477            assertPointListEquals and change purpose to checking equality of
478            the lists returned by Shape.Points().
479            (TestShapefileStoreArc.test_shape)
480            (TestShapefileStorePolygon.test_shape)
481            (TestShapefileStorePoint.test_shape): Use the new
482            assertPointListEquals instead of assertFloatTuplesEqual
483    
484            * test/test_layer.py (TestLayer.assertFloatTuplesEqual)
485            (TestLayer.assertPointListEquals): Rename to assertPointListEquals
486            and change purpose to checking equality of the lists returned by
487            Shape.Points().
488            (TestLayer.test_arc_layer, TestLayer.test_arc_layer)
489            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
490            (TestLayer.test_derived_store): Use the new assertPointListEquals
491            instead of assertFloatTuplesEqual
492    
493            * test/test_derivedshapestore.py
494            (TestDerivedShapeStore.assertFloatTuplesEqual)
495            (TestDerivedShapeStore.assertPointListEquals): Rename to
496            assertPointListEquals and change purpose to checking equality of
497            the lists returned by Shape.Points().
498            (TestDerivedShapeStore.test_shape): Use the new
499            assertPointListEquals instead of assertFloatTuplesEqual
500    
501    2003-08-06  Jan-Oliver Wagner <[email protected]>
502    
503            * Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for
504            a bounding box. A dialog is raised in case, no bounding box
505            is found. This fixes bug #2043:
506            https://intevation.de/rt/webrt?serial_num=2043
507    
508    2003-08-05  Bernhard Herzog  <[email protected]>
509    
510            * Thuban/Model/color.py (Color.__repr__): Make the repr of a color
511            object look like a Color instantiation. Formerly it looked like a
512            tuple.
513    
514            * test/test_color.py (TestColor.test_repr)
515            (TestColor.test_equality, TestColor.test_inequality): New. test
516            some more apects of the Color class
517            (TestTransparent.test_repr, TestTransparent.test_hex)
518            (TestTransparent.test_equality): New. Test cases for the
519            Transparent object.
520    
521    2003-08-04  Jan-Oliver Wagner <[email protected]>
522    
523            * Doc/manual/thuban-manual.xml: a number of small improvements.
524            The resulting file is the version submitted for GREAT-ER II.
525    
526    2003-08-01  Bernhard Herzog  <[email protected]>
527    
528            * Thuban/UI/resource.py, Thuban/UI/projdialog.py,
529            Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py,
530            Thuban/Model/resource.py: Insert cvs keywords and doc-strings.
531    
532            * Thuban/UI/common.py: Insert cvs keywords and doc-strings.
533            (Color2wxColour, wxColour2Color, ThubanBeginBusyCursor)
534            (ThubanEndBusyCursor): Add doc-strings
535    
536    2003-08-01  Bernhard Herzog  <[email protected]>
537    
538            First step towards PostGIS integration. More abstraction by movin
539            more code from the layer to the shapestore. More methods of the
540            layer are now simply delegated to the equivalent method of the
541            shapestore. The SHAPETYPE_* constants are now in data not in
542            layer.
543    
544            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
545            (SHAPETYPE_POINT, Shape): Move these constants and classes from
546            layer.py to data.py
547            (ShapefileStore.__init__): More Initialization for the new methods
548            and functionality.
549            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
550            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
551            (ShapefileStore.Shape): New methods that were formerly implemented
552            in the layer.
553            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
554            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
555            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
556            equivalents of the new shape methods. These versions are simply
557            delegated to the original shapstore.
558    
559            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
560            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
561            (Layer.SetShapeStore): Removed the initializatin of instance
562            variables that were needed for the stuff that's now in
563            ShapefileStore
564            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
565            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
566            shapestore.
567    
568            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
569            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
570            instead of layer.
571    
572            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
573    
574            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
575    
576            * test/test_layer.py: Import the SHAPETYPE_* constants from data
577            instead of layer.
578            (TestLayer.test_derived_store): Remove the test for the exception
579            when instantiating the DerivedShapeStore with an incompatible
580            table which is now in test_derivedshapestore.py. Add some more
581            tests of the layer methods to determine whether they work for a
582            DerivedShapeStore as well.
583    
584    2003-07-31  Jonathan Coles   <[email protected]>
585    
586            * Doc/manual/thuban-manual.xml: Fix the list of required packages
587            by just listing the name and where they can be found.
588    
589    2003-07-31  Frank Koormann   <[email protected]>
590    
591            * Doc/manual/thuban-manual.xml:
592            Changed the screenshot elements to figure.
593            Changed some variablelist elements to itemizedlist.
594            Added section on GDAL formats.
595    
596    2003-07-31  Jonathan Coles   <[email protected]>
597    
598            * Doc/manual/thuban-manual.xml: Added a few sentences about
599            the Fix Border Color option when generating classes.
600    
601    2003-07-30  Jonathan Coles   <[email protected]>
602    
603            * Thuban/Model/classgen.py: Add docstrings. Rename specific
604            Ramp instances to use lower_case_style.
605    
606            * Thuban/UI/classgen.py: Use renamed Ramp instances.
607            
608            * Thuban/UI/classifier.py: Add docstrings.
609    
610            * Thuban/UI/dock.py: Add docstrings.
611    
612            * test/test_classgen.py: Use renamed Ramp instances.
613    
614    2003-07-30  Bernhard Herzog  <[email protected]>
615    
616            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
617            was never used in Thuban.
618    
619    2003-07-30  Bernhard Herzog  <[email protected]>
620    
621            * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()
622            method directly instead of going through the transient_table
623            method. This faster because transient_table may force the copy of
624            a DBF file into the transient database and setting a table's title
625            doesnm't affect the title of the associated transient table, so
626            this fixes RT #2042
627    
628            * Thuban/UI/main.py (__version__): Don't import the already
629            removed show_exception_dialog.
630    
631    2003-07-29  Jonathan Coles   <[email protected]>
632    
633            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
634            Put back this method and remove the equivalent function since we
635            are setting the exception hook from within this class (OnInit).
636    
637    2003-07-29  Jonathan Coles   <[email protected]>
638    
639            * Doc/manual/images/5_2_custom_ramp.png,
640            Doc/manual/images/5_2_quantiles.png,
641            Doc/manual/images/5_2_uniform_dist.png,
642            Doc/manual/images/5_2_unique_values.png,
643            Doc/manual/images/8_int_error.png: New screen shots.
644    
645            * Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified
646            some points, and added more screen shots.
647    
648    2003-07-29  Bernhard Herzog  <[email protected]>
649    
650            * Thuban/Model/data.py: Remove the now unused import of warnings
651    
652    2003-07-29  Bernhard Herzog  <[email protected]>
653    
654            * Thuban/Model/data.py (SimpleStore): Removed. This class has been
655            deprecated since before the 0.8 release and isn't used in Thuban
656            itself anymore.
657    
658            * Thuban/Model/transientdb.py: Remove some unnecessary imports
659    
660    2003-07-29  Jonathan Coles   <[email protected]>
661    
662            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
663            python exception hook here so that we are sure to catch any
664            Thuban exception that happen during initialization.
665    
666            * Thuban/UI/main.py (main): Don't set the exception hook here,
667            it will get set in ThubanApplication.OnInit.
668    
669    2003-07-29  Jonathan Coles   <[email protected]>
670                                                                                
671            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
672            Removed and called it show_exception_dialog() so that the exception
673            handler can be set before the class is created.
674                                                                                
675            * Thuban/UI/main.py (main): Install the exception handler before
676            a ThubanApplication is created.
677                                                                                    
678    2003-07-29  Bernhard Herzog  <[email protected]>
679    
680            * po/it.po: New. Italian translation by Maurizio Napolitano
681    
682            * po/ru.po: New. Russian translation by Alex Shevlakov
683    
684    2003-07-29  Frank Koormann   <[email protected]>
685    
686            * Doc/manual/thuban-manual.xml: Extended section on supported
687            projections.
688            
689  2003-07-29  Frank Koormann   <[email protected]>  2003-07-29  Frank Koormann   <[email protected]>
690    
691          * Doc/manual/thuban-manual.xml: gaspell-checked.          * Doc/manual/thuban-manual.xml: gaspell-checked.

Legend:
Removed from v.1497  
changed lines
  Added in v.1626

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26