/[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 1418 by bh, Tue Jul 15 08:44:20 2003 UTC revision 1637 by bh, Fri Aug 22 17:20:38 2003 UTC
# Line 1  Line 1 
1    2003-08-22  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/postgisdb.py (ConnectionError): New exception class
4            for exceptions occurring when establishing a Database connection
5            (PostGISConnection.connect): Catch psycopg.OperationalError during
6            connects and raise ConnectionError.
7    
8            * test/test_postgis_db.py (TestPostgisDBExceptions): New class for
9            tests for database exceptions
10    
11    2003-08-22  Bernhard Herzog  <[email protected]>
12    
13            Prepare the test suite for tests with required authentication
14    
15            * test/postgissupport.py (PostgreSQLServer.__init__): Add instance
16            variables with two predefined users/passwords, one for the admin
17            and one for a non-privileged user.
18            (PostgreSQLServer.createdb): Pass the admin name to initdb and add
19            the non-privileged user to the database and set the admin password
20            (PostgreSQLServer.wait_for_postmaster): Use the admin user name.
21            Better error reporting
22            (PostgreSQLServer.connection_params)
23            (PostgreSQLServer.connection_string): New methods to return
24            information about how to connect to the server
25            (PostgreSQLServer.execute_sql): New. Convenience method to execute
26            SQL statements
27            (PostgreSQLServer.require_authentication): Toggle whether the
28            server requires authentication
29            (PostgreSQLServer.create_user, PostgreSQLServer.alter_user): New.
30            Add or alter users
31            (PostGISDatabase.initdb): Pass the admin name one the
32            subprocesses' command lines. Grant select rights on
33            geometry_columns to everybody.
34            (upload_shapefile): Use the admin name and password when
35            connecting. Grant select rights on the new table to everybody.
36    
37            * test/test_viewport.py (TestViewportWithPostGIS.setUp): Use the
38            server's new methods to get the connection parameters.
39    
40            * test/test_postgis_session.py (TestSessionWithPostGIS.setUp)
41            (TestSessionWithPostGIS.test_remove_dbconn_exception): Use the
42            server's new methods to get the connection parameters.
43    
44            * test/test_postgis_db.py
45            (TestPostGISConnection.test_gis_tables_empty)
46            (TestPostGISConnection.test_gis_tables_non_empty)
47            (PostGISStaticTests.setUp): Use the server's new methods to get
48            the connection parameters.
49    
50    2003-08-22  Bernhard Herzog  <[email protected]>
51    
52            * Thuban/UI/about.py (About.__init__): Add the psycopg version.
53    
54            * Thuban/version.py: Add psycopg version
55    
56            * Thuban/Model/postgisdb.py (psycopg_version): New. Return the
57            version of the psycopg module
58    
59    2003-08-22  Bernhard Herzog  <[email protected]>
60    
61            * Thuban/UI/dbdialog.py (DBPwdDlg): Removed because it's not used.
62            (DBFrame.OnEdit): Removed because it's not used and wouldn't work
63            at the moment. The functionality should probably be implemented
64            some time, though.
65            (DBFrame.OnRemove): Display a message if the connection can't be
66            removed because it's still in use.
67    
68    2003-08-22  Jan-Oliver Wagner <[email protected]>
69    
70            * Thuban/UI/about.py (About.__init__): split up the huge about
71            text into elements/lists for easier translation. This fixes bug
72            https://intevation.de/rt/webrt?serial_num=2058
73            Also, made some forgotten string available for the i18n.
74    
75    2003-08-21  Bernhard Herzog  <[email protected]>
76    
77            Make postgis support really optional including insensitive menu
78            items.
79    
80            * Thuban/Model/postgisdb.py (has_postgis_support): New. Return
81            whether the postgis is supported.
82    
83            * Thuban/UI/dbdialog.py: Put the psycopg import into try..except
84            to make postgis support optional
85    
86            * Thuban/UI/mainwindow.py (_has_postgis_support): New. Context
87            version of Thuban.Model.postgisdb.has_postgis_support
88            (database_management command): Make it only sensitive if postgis
89            is supported.
90    
91    2003-08-21  Jan-Oliver Wagner <[email protected]>
92    
93            * Doc/manual/thuban-manual.xml: Added CVS revision for rev-history.
94            (section Adding and Removing Layers): Added text and described
95            multi-selection.
96            (chapter Extensions): New.
97    
98    2003-08-21  Jan-Oliver Wagner <[email protected]>
99    
100            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Changed dialog
101            settings to allow multiple files to load into the map.
102            Also reduced selection to *.shp as a default.
103    
104    2003-08-20  Bernhard Herzog  <[email protected]>
105    
106            Add dialogs and commands to open database connections and add
107            database layers.
108    
109            * Thuban/UI/mainwindow.py (MainWindow.DatabaseManagement): New
110            method to open the database connection management dialog
111            (MainWindow.AddDBLayer): New method to add a layer from a database
112            (_has_dbconnections): New helper function to use for sensitivity
113            (database_management command, layer_add_db command): New commands
114            that call the above new methods.
115            (main_menu): Add the new commands to the menu.
116    
117            * Thuban/Model/postgisdb.py (PostGISConnection.__init__)
118            (PostGISConnection.connect): Establish the actual connection in a
119            separate method and call it in __init__. This makes it easier to
120            override the behavior in test cases
121            (PostGISConnection.BriefDescription): New method to return a brief
122            description for use in dialogs.
123    
124            * test/test_postgis_db.py (NonConnection): DB connection that
125            doesn't actually connect
126            (TestBriefDescription): New class with tests for the new
127            BriefDescription method
128    
129    2003-08-19  Jan-Oliver Wagner <[email protected]>
130    
131            Moved anything from extensions to libraries.
132    
133            * libraries: New.
134    
135            * libraries/ pyprojection, pyshapelib, shapelib, thuban: New.
136    
137            * libraries/pyprojection/ LICENSE, MANIFEST.in, Projection.i,
138            Projection.py, Projection_wrap.c, setup.py, swighelp.txt: These files have
139            been moved here from thuban/extensions/pyprojection/
140            See there in the Attic for the older history.
141    
142            * libraries/pyshapelib/ COPYING, ChangeLog, NEWS, README, dbflib.i,
143            dbflib.py, dbflib_wrap.c, pyshapelib_api.h, pytest.py, setup.py,
144            shapelib.i, shapelib.py, shapelib_wrap.c, shptreemodule.c: These files
145            have been moved here from thuban/extensions/pyshapelib/
146            See there in the Attic for the older history.
147    
148            * libraries/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c: These
149            files have been moved here from thuban/extensions/shapelib/
150            See there in the Attic for the older history.
151    
152            * libraries/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h,
153            gdalwarp.cpp, wxproj.cpp: These files have been moved here from
154            thuban/extensions/thuban/
155            See there in the Attic for the older history.
156    
157            * MANIFEST.in, setup.cfg, setup.py: renamed extensions to libraries.
158    
159            * extensions/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h,
160            gdalwarp.cpp, wxproj.cpp: Moved to libraries/thuban.
161    
162            * extensions/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c:
163            Moved to libraries/shapelib.
164    
165            * extensions/pyshapelib/ COPYING, NEWS, dbflib.py, pytest.py,
166            shapelib.py, README, dbflib_wrap.c, setup.py, shapelib_wrap.c,
167            ChangeLog, dbflib.i, pyshapelib_api.h, shapelib.i, shptreemodule.c:
168            Moved to libraries/pyshapelib.
169    
170            * extensions/pyprojection/ MANIFEST.in, Projection.py, setup.py,
171            LICENSE, Projection.i, Projection_wrap.c, swighelp.txt:
172            Moved to libraries/pyprojection.
173    
174            * extensions/ pyprojection, pyshapelib, shapelib, thuban: Removed.
175    
176            * extensions: Removed.
177    
178    2003-08-19  Bernhard Herzog  <[email protected]>
179    
180            * test/test_viewport.py (ViewPortTest): We don't use the
181            facilities of FileTestMixin so don't derive from it.
182            (TestViewportWithPostGIS): New class with tests for using a
183            viewport on a map with postgis layers.
184    
185    2003-08-19  Bernhard Herzog  <[email protected]>
186    
187            Add the db connection management to the session.
188    
189            * Thuban/Model/session.py (Session.__init__): New instance
190            variable db_connections
191            (Session.AddDBConnection, Session.DBConnections)
192            (Session.HasDBConnections, Session.CanRemoveDBConnection)
193            (Session.RemoveDBConnection): New methods to manage and query the
194            db connections managed by the session
195            (Session.OpenDBShapeStore): New method to open a shapestore from a
196            db connection
197    
198            * Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New
199            messages for the db connection handling in the session
200    
201            * test/test_postgis_session.py: New. test cases for the session's
202            db connection handling with postgis connections
203    
204    2003-08-19  Bernhard Herzog  <[email protected]>
205    
206            Add very basic postgis database support and the corresponding test
207            cases. The test cases require a PostgreSQL + postgis installation
208            but no existing database. The database will be created
209            automatically by the test cases
210    
211            * test/README: Add note about skipped tests and the requirements
212            of the postgis tests.
213    
214            * Thuban/Model/postgisdb.py: New. Basic postgis database support.
215    
216            * test/test_postgis_db.py: New. Test cases for the postgis
217            support.
218    
219            * Thuban/Model/wellknowntext.py: New. Parser for well-known-text
220            format
221    
222            * test/test_wellknowntext.py: New. Test cases for the
223            wellknowntext parser
224    
225            * test/postgissupport.py: New. Support module for tests involving
226            a postgis database.
227    
228            * test/support.py (execute_as_testsuite): Shut down the postmaster
229            if it's still running after the tests
230    
231            * Thuban/Model/data.py (RAW_WKT): New constant for raw data in
232            well known text format
233    
234    2003-08-19  Jan-Oliver Wagner <[email protected]>
235    
236            * Examples/simple_extensions/hello_world.py: New. Raises a Hello World
237            message dialog.
238    
239    2003-08-18  Bernhard Herzog  <[email protected]>
240    
241            * test/support.py (ThubanTestResult.printErrors): Indent the
242            reason for the skips in the output to make it a bit more readable.
243            (execute_as_testsuite): New helper function to run a test suite
244            and print some more information.
245            (run_tests): Use execute_as_testsuite to run the tests
246    
247            * test/runtests.py (main): Use execute_as_testsuite to run the
248            tests
249    
250    2003-08-18  Bernhard Herzog  <[email protected]>
251    
252            Fix some bugs in Thuban and the test suite that were uncovered by
253            changes introduced in Python 2.3:
254    
255            * Thuban/Model/table.py (DBFTable.__init__): Make sure the
256            filename is an absolute name
257    
258            * Thuban/Model/layer.py (RasterLayer.__init__): Make sure the
259            filename is an absolute name
260    
261            * test/test_save.py (SaveSessionTest.testRasterLayer): Use a
262            unique filename to save to and use the correct relative filename
263            in the expected output.
264            (SaveSessionTest.test_dbf_table): Use the correct relative
265            filename in the expected output.
266    
267            * test/test_layer.py (TestLayer.test_raster_layer): Update the
268            test to check whether the filename is absolute.
269    
270    2003-08-18  Jan-Oliver Wagner <[email protected]>
271    
272            * Thuban/UI/about.py (About.__init__): Added Silke Reimer.
273    
274    2003-08-15  Bernhard Herzog  <[email protected]>
275    
276            Change the way shapes are returned by a shape store. The
277            ShapesInRegion method returns an iterator over actual shape
278            objects instead of a list of shape ids.
279    
280            * Thuban/Model/data.py (ShapefileShape.ShapeID): New. Return shape
281            id.
282            (ShapefileStore.ShapesInRegion): Return an iterator over the
283            shapes which yields shape objects instead of returning a list of
284            shape ids
285            (ShapefileStore.AllShapes): New. Return an iterator over all
286            shapes in the shape store
287            (DerivedShapeStore.AllShapes): New. Like in ShapefileStore
288    
289            * Thuban/Model/layer.py (Layer.ShapesInRegion): Update
290            doc-string.
291    
292            * Thuban/UI/baserenderer.py
293            (BaseRenderer.layer_ids, BaseRenderer.layer_shapes): Rename to
294            layer_shapes and make it return an iterator containg shapes
295            instead of a list of ids.
296            (BaseRenderer.draw_shape_layer): Update doc-string; Adapt to
297            layer_shapes() change
298    
299            * Thuban/UI/renderer.py (ScreenRenderer.layer_ids)
300            (ScreenRenderer.layer_shapes): Rename as in BaseRenderer
301    
302            * Thuban/UI/viewport.py (ViewPort._find_shape_in_layer): Adapt to
303            changes in the ShapesInRegion return value.
304            (ViewPort._get_hit_tester): Remove commented out code
305    
306            * test/mockgeo.py (SimpleShapeStore.ShapesInRegion): Adapt to the
307            new return value.
308            (SimpleShapeStore.AllShapes): New. Implement this method too.
309    
310            * test/test_layer.py (TestLayer.test_arc_layer)
311            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
312            (TestLayer.test_point_layer_with_projection)
313            (TestLayer.test_derived_store): Adapt to changes in the
314            ShapesInRegion return value.
315    
316            * test/test_shapefilestore.py
317            (TestShapefileStoreArc.test_shapes_in_region)
318            (TestShapefileStorePolygon.test_shapes_in_region)
319            (TestShapefileStorePoint.test_shapes_in_region): Adapt to changes
320            in the ShapesInRegion return value.
321            (TestShapefileStorePoint.test_all_shapes)
322            (TestShapefileStoreArc.test_shape_shapeid): New tests for the new
323            methods
324    
325            * test/test_derivedshapestore.py
326            (TestDerivedShapeStore.test_shapes_in_region): Adapt to changes in
327            the ShapesInRegion return value.
328            (TestDerivedShapeStore.test_all_shapes)
329            (TestDerivedShapeStore.test_shape_shapeid): New tests for the new
330            methods
331    
332    2003-08-15  Bernhard Herzog  <[email protected]>
333    
334            Make the renderers deal correctly with raw vs. python level
335            representation of shape geometries
336    
337            * Thuban/UI/baserenderer.py (BaseRenderer.low_level_renderer):
338            Return a flag useraw in addition to the callable and the parameter
339            to indicate whether the callable can deal with the raw shape data
340            or uses the higher level python lists of coordinates. The callable
341            now should accept either the raw data or the return value of the
342            shape's Points() method.
343            (BaseRenderer.draw_shape_layer): Adapt to the low_level_renderer
344            change
345            (BaseRenderer.projected_points): Instead of the shape id use the
346            points list as parameter.
347            (BaseRenderer.draw_polygon_shape, BaseRenderer.draw_arc_shape)
348            (BaseRenderer.draw_point_shape): Adapt to projected_points()
349            change and accept the points list as parameter instead of the
350            shape id.
351    
352            * Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Return
353            the useraw flag as required by the BaseRenderer
354            (ScreenRenderer.draw_shape_layer): Adapt to low-level renderer
355            changes.
356    
357            * test/test_baserenderer.py
358            (TestBaseRenderer.test_point_with_classification): New test for
359            rendering a map with classifications.
360    
361    2003-08-15  Bernhard Herzog  <[email protected]>
362    
363            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
364            (ViewPort._find_shape_in_layer, ViewPort._find_shape_in_layer)
365            (ViewPort._get_hit_tester, ViewPort.projected_points)
366            (ViewPort._hit_point, ViewPort._hit_arc, ViewPort._hit_polygon)
367            (ViewPort._find_label_at): Split the find_shape_at method into
368            several new methods and use the functions in the hit-test module.
369    
370            * Thuban/UI/hittest.py: New module with Python-level hit-testing
371            functions
372    
373            * test/test_hittest.py: New. Test for the new hittest module
374    
375    2003-08-15  Bernhard Herzog  <[email protected]>
376    
377            * Thuban/Model/layer.py (Layer.ShapesInRegion): Apply the layer
378            projection to all corners of the bounding box to get a better
379            approximation of the projected bounding box
380    
381            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
382            New. Test coordinate handling of a layer with a projection.
383            Catches the bug fixed in Layer.ShapesInRegion
384    
385    2003-08-15  Bernhard Herzog  <[email protected]>
386    
387            Move some of the mock objects in test_baserenderer into their own
388            module so they can easily be used from other tests
389    
390            * test/mockgeo.py: New test helper module with some mock objects
391            for geometry related things like shapes, shapestores and
392            projections.
393    
394            * test/test_mockgeo.py: New. Tests for the new helper module
395    
396            * test/test_baserenderer.py: Some of the mock-objects are in
397            mockgeo now.
398    
399    2003-08-12  Jan-Oliver Wagner <[email protected]>
400    
401            * Thuban/UI/about.py (About.__init__): Added Bj�rn Broscheit.
402    
403    2003-08-12  Bernhard Herzog  <[email protected]>
404    
405            * po/de.po: New. German translations by Bjoern Broscheit
406    
407    2003-08-12  Bernhard Herzog  <[email protected]>
408    
409            * Thuban/UI/projdialog.py (UnknownProjPanel._DoLayout): Translated
410            strings have to be one string literal.
411    
412    2003-08-11  Bernhard Herzog  <[email protected]>
413    
414            * test/support.py (FloatComparisonMixin.assertPointListEquals):
415            New. This method was used in various derived classes, but it's
416            better to have it here.
417    
418            * test/test_shapefilestore.py
419            (ShapefileStoreTests.assertPointListEquals): Removed. It's now in
420            FloatComparisonMixin
421    
422            * test/test_layer.py (TestLayer.assertPointListEquals): Removed.
423            It's now in FloatComparisonMixin
424    
425            * test/test_derivedshapestore.py
426            (TestDerivedShapeStore.assertPointListEquals): Removed. It's now
427            in FloatComparisonMixin
428    
429    2003-08-11  Bernhard Herzog  <[email protected]>
430    
431            * Thuban/UI/join.py (JoinDialog.OnJoin): Add missing space to
432            error message
433    
434    2003-08-08  Jan-Oliver Wagner <[email protected]>
435    
436            * Doc/manual/thuban-manual.xml: Now use authorgroup. Added revhistory
437            with version number.
438            Changed title to reflect version number of Thuban.
439    
440    2003-08-08  Jan-Oliver Wagner <[email protected]>
441    
442            * Thuban/UI/about.py (About.__init__): Reworked the hall of fame. Now
443            the list corresponds to the "About" web page.
444    
445    2003-08-08  Bernhard Herzog  <[email protected]>
446    
447            * Thuban/UI/projdialog.py (UTMProposeZoneDialog.dialogLayout):
448            Make sure translated strings are recognized as one string literal.
449    
450            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog.dialogLayout):
451            Make sure translated strings are recognized as one string literal.
452    
453            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Make sure
454            translated strings are recognized as one string literal.
455    
456            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
457            sure translated strings are recognized as one string literal.
458    
459    2003-08-07  Bernhard Herzog  <[email protected]>
460    
461            * Thuban/Model/data.py (DerivedShapeStore.RawShapeFormat): New.
462            Simply delegates to the original shapestore.
463    
464            * test/test_derivedshapestore.py
465            (TestDerivedShapeStore.test_raw_format): New. Test case for
466            DerivedShapeStore.RawShapeFormat
467    
468    2003-08-07  Bernhard Herzog  <[email protected]>
469    
470            Add raw data interface to shape objects.
471    
472            * Thuban/Model/data.py (ShapefileShape, Shape): Rname the shape
473            class to ShapefileShape which now holds shapefile specific
474            information.
475            (ShapefileShape.compute_bbox): Simplified to not cache any
476            information. The way this method is used that shouldn't matter
477            performance wise.
478            (ShapefileShape.RawData): New. Return the shapeid which is the raw
479            data format for shapes from shapefiles.
480            (ShapefileStore.RawShapeFormat): New. Return the raw datatype used
481            in the shape objects returned by a shapestore. For a
482            ShapefileStore this is always RAW_SHAPEFILE.
483            (RAW_PYTHON, RAW_SHAPEFILE): Constants for the RawShapeFormat
484            method.
485    
486            * test/test_shapefilestore.py
487            (TestShapefileStore.test_raw_format): New test to test the raw
488            format feature of shapes.
489    
490            * Thuban/Model/layer.py: Remove the unused import of Shape from
491            data. It was only there for interface compatibility but it's not
492            used inside of Thuban and the generic Shape class has gone away.
493    
494            * Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Check
495            the raw data format and only use an optimized version of its a
496            shapefile.
497    
498    2003-08-07  Bernhard Herzog  <[email protected]>
499    
500            * test/test_baserenderer.py (SimpleShape): Shape class for the
501            tests.
502            (SimpleShapeStore.Shape): Use SimpleShape instead of
503            Thuban.Model.data.Shape to make the tests independed of the coming
504            changes.
505    
506    2003-08-07  Bernhard Herzog  <[email protected]>
507    
508            * test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner)
509            (ThubanTestProgram): New classes that extend the respective
510            classes from unittest. These new version support skipping tests
511            under certain expected conditions. In the Thuban test suite we
512            uses this for tests that require the optional gdal support.
513            (run_tests): Use ThubanTestProgram instead of the unittest.main()
514    
515            * test/runtests.py (main): Use the new ThubanTestRunner instead of
516            the normal one from unittest
517    
518            * test/test_layer.py (TestLayer.test_raster_layer): If this test
519            is not run because gdal support isn't available report this to the
520            runner.
521    
522            * test/test_baserenderer.py
523            (TestBaseRenderer.test_raster_no_projection): Do not run this test
524            if gdal support isn't available and report this to the runner.
525    
526    2003-08-06  Bernhard Herzog  <[email protected]>
527    
528            Rearrange the renderers a bit, partly in preparation for changes
529            required for the postgis merge, partly to make it more testable.
530            Also make the representation of coordinates in Shapes more
531            consistent.
532    
533            * Thuban/UI/renderer.py (MapRenderer): Most of the code/methods in
534            this class is now in BaseRenderer. This class is now practically
535            only a specialization of BaseRenderer for rendering to an actual
536            wx DC.
537            (ScreenRenderer.draw_shape_layer): Use self.low_level_renderer()
538            to get the shapetype specific rendering functions.
539    
540            * Thuban/UI/baserenderer.py: New file with the basic rendering
541            logic. The code in this file is completely independend of wx.
542            (BaseRenderer): Class with the basic rendering logic
543    
544            * test/test_baserenderer.py: New. Test cases for BaseRenderer
545    
546            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
547            error_on_redraw to guard agains endless loops and stack overflows
548            when there's a bug in the rendering code that raises exceptions.
549            (MapCanvas.OnIdle, MapCanvas._do_redraw): Split the actual
550            rendering into a separate method _do_redraw so that error handling
551            is a bit easier. When an exception occurs, set error_on_redraw to
552            true. When it's true on entry to OnIdle do nothing and return
553            immediately.
554    
555            * Thuban/Model/data.py (ShapefileStore.Shape): For consistency, a
556            Shape object will always have the coordinates as a list of list of
557            coordinate pairs (tuples).
558            (Shape.compute_bbox): Adapt to new representation.
559    
560            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
561            (ViewPort.LabelShapeAt): Adapt to new coordinate representation in
562            Shape objects.
563    
564            * test/test_shapefilestore.py
565            (ShapefileStoreTests.assertFloatTuplesEqual)
566            (ShapefileStoreTests.assertPointListEquals): Rename to
567            assertPointListEquals and change purpose to checking equality of
568            the lists returned by Shape.Points().
569            (TestShapefileStoreArc.test_shape)
570            (TestShapefileStorePolygon.test_shape)
571            (TestShapefileStorePoint.test_shape): Use the new
572            assertPointListEquals instead of assertFloatTuplesEqual
573    
574            * test/test_layer.py (TestLayer.assertFloatTuplesEqual)
575            (TestLayer.assertPointListEquals): Rename to assertPointListEquals
576            and change purpose to checking equality of the lists returned by
577            Shape.Points().
578            (TestLayer.test_arc_layer, TestLayer.test_arc_layer)
579            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
580            (TestLayer.test_derived_store): Use the new assertPointListEquals
581            instead of assertFloatTuplesEqual
582    
583            * test/test_derivedshapestore.py
584            (TestDerivedShapeStore.assertFloatTuplesEqual)
585            (TestDerivedShapeStore.assertPointListEquals): Rename to
586            assertPointListEquals and change purpose to checking equality of
587            the lists returned by Shape.Points().
588            (TestDerivedShapeStore.test_shape): Use the new
589            assertPointListEquals instead of assertFloatTuplesEqual
590    
591    2003-08-06  Jan-Oliver Wagner <[email protected]>
592    
593            * Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for
594            a bounding box. A dialog is raised in case, no bounding box
595            is found. This fixes bug #2043:
596            https://intevation.de/rt/webrt?serial_num=2043
597    
598    2003-08-05  Bernhard Herzog  <[email protected]>
599    
600            * Thuban/Model/color.py (Color.__repr__): Make the repr of a color
601            object look like a Color instantiation. Formerly it looked like a
602            tuple.
603    
604            * test/test_color.py (TestColor.test_repr)
605            (TestColor.test_equality, TestColor.test_inequality): New. test
606            some more apects of the Color class
607            (TestTransparent.test_repr, TestTransparent.test_hex)
608            (TestTransparent.test_equality): New. Test cases for the
609            Transparent object.
610    
611    2003-08-04  Jan-Oliver Wagner <[email protected]>
612    
613            * Doc/manual/thuban-manual.xml: a number of small improvements.
614            The resulting file is the version submitted for GREAT-ER II.
615    
616    2003-08-01  Bernhard Herzog  <[email protected]>
617    
618            * Thuban/UI/resource.py, Thuban/UI/projdialog.py,
619            Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py,
620            Thuban/Model/resource.py: Insert cvs keywords and doc-strings.
621    
622            * Thuban/UI/common.py: Insert cvs keywords and doc-strings.
623            (Color2wxColour, wxColour2Color, ThubanBeginBusyCursor)
624            (ThubanEndBusyCursor): Add doc-strings
625    
626    2003-08-01  Bernhard Herzog  <[email protected]>
627    
628            First step towards PostGIS integration. More abstraction by movin
629            more code from the layer to the shapestore. More methods of the
630            layer are now simply delegated to the equivalent method of the
631            shapestore. The SHAPETYPE_* constants are now in data not in
632            layer.
633    
634            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
635            (SHAPETYPE_POINT, Shape): Move these constants and classes from
636            layer.py to data.py
637            (ShapefileStore.__init__): More Initialization for the new methods
638            and functionality.
639            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
640            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
641            (ShapefileStore.Shape): New methods that were formerly implemented
642            in the layer.
643            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
644            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
645            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
646            equivalents of the new shape methods. These versions are simply
647            delegated to the original shapstore.
648    
649            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
650            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
651            (Layer.SetShapeStore): Removed the initializatin of instance
652            variables that were needed for the stuff that's now in
653            ShapefileStore
654            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
655            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
656            shapestore.
657    
658            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
659            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
660            instead of layer.
661    
662            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
663    
664            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
665    
666            * test/test_layer.py: Import the SHAPETYPE_* constants from data
667            instead of layer.
668            (TestLayer.test_derived_store): Remove the test for the exception
669            when instantiating the DerivedShapeStore with an incompatible
670            table which is now in test_derivedshapestore.py. Add some more
671            tests of the layer methods to determine whether they work for a
672            DerivedShapeStore as well.
673    
674    2003-07-31  Jonathan Coles   <[email protected]>
675    
676            * Doc/manual/thuban-manual.xml: Fix the list of required packages
677            by just listing the name and where they can be found.
678    
679    2003-07-31  Frank Koormann   <[email protected]>
680    
681            * Doc/manual/thuban-manual.xml:
682            Changed the screenshot elements to figure.
683            Changed some variablelist elements to itemizedlist.
684            Added section on GDAL formats.
685    
686    2003-07-31  Jonathan Coles   <[email protected]>
687    
688            * Doc/manual/thuban-manual.xml: Added a few sentences about
689            the Fix Border Color option when generating classes.
690    
691    2003-07-30  Jonathan Coles   <[email protected]>
692    
693            * Thuban/Model/classgen.py: Add docstrings. Rename specific
694            Ramp instances to use lower_case_style.
695    
696            * Thuban/UI/classgen.py: Use renamed Ramp instances.
697            
698            * Thuban/UI/classifier.py: Add docstrings.
699    
700            * Thuban/UI/dock.py: Add docstrings.
701    
702            * test/test_classgen.py: Use renamed Ramp instances.
703    
704    2003-07-30  Bernhard Herzog  <[email protected]>
705    
706            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
707            was never used in Thuban.
708    
709    2003-07-30  Bernhard Herzog  <[email protected]>
710    
711            * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()
712            method directly instead of going through the transient_table
713            method. This faster because transient_table may force the copy of
714            a DBF file into the transient database and setting a table's title
715            doesnm't affect the title of the associated transient table, so
716            this fixes RT #2042
717    
718            * Thuban/UI/main.py (__version__): Don't import the already
719            removed show_exception_dialog.
720    
721    2003-07-29  Jonathan Coles   <[email protected]>
722    
723            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
724            Put back this method and remove the equivalent function since we
725            are setting the exception hook from within this class (OnInit).
726    
727    2003-07-29  Jonathan Coles   <[email protected]>
728    
729            * Doc/manual/images/5_2_custom_ramp.png,
730            Doc/manual/images/5_2_quantiles.png,
731            Doc/manual/images/5_2_uniform_dist.png,
732            Doc/manual/images/5_2_unique_values.png,
733            Doc/manual/images/8_int_error.png: New screen shots.
734    
735            * Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified
736            some points, and added more screen shots.
737    
738    2003-07-29  Bernhard Herzog  <[email protected]>
739    
740            * Thuban/Model/data.py: Remove the now unused import of warnings
741    
742    2003-07-29  Bernhard Herzog  <[email protected]>
743    
744            * Thuban/Model/data.py (SimpleStore): Removed. This class has been
745            deprecated since before the 0.8 release and isn't used in Thuban
746            itself anymore.
747    
748            * Thuban/Model/transientdb.py: Remove some unnecessary imports
749    
750    2003-07-29  Jonathan Coles   <[email protected]>
751    
752            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
753            python exception hook here so that we are sure to catch any
754            Thuban exception that happen during initialization.
755    
756            * Thuban/UI/main.py (main): Don't set the exception hook here,
757            it will get set in ThubanApplication.OnInit.
758    
759    2003-07-29  Jonathan Coles   <[email protected]>
760                                                                                
761            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
762            Removed and called it show_exception_dialog() so that the exception
763            handler can be set before the class is created.
764                                                                                
765            * Thuban/UI/main.py (main): Install the exception handler before
766            a ThubanApplication is created.
767                                                                                    
768    2003-07-29  Bernhard Herzog  <[email protected]>
769    
770            * po/it.po: New. Italian translation by Maurizio Napolitano
771    
772            * po/ru.po: New. Russian translation by Alex Shevlakov
773    
774    2003-07-29  Frank Koormann   <[email protected]>
775    
776            * Doc/manual/thuban-manual.xml: Extended section on supported
777            projections.
778            
779    2003-07-29  Frank Koormann   <[email protected]>
780    
781            * Doc/manual/thuban-manual.xml: gaspell-checked.
782    
783    2003-07-29  Jonathan Coles   <[email protected]>
784    
785            * Doc/manual/images/3_5_legend.png: Added border to improve look
786            on white background.
787    
788    2003-07-29  Jonathan Coles   <[email protected]>
789    
790            * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added
791            descriptions for the legend toolbar.
792    
793            * Doc/manual/images/4_2_raster_layer_properties.png: Removed
794            cursor from dialog box.
795    
796    2003-07-28  Jonathan Coles   <[email protected]>
797    
798            * Doc/manual/thuban-manual.xml: More screenshots and more chapters.
799    
800            * Doc/manual/images/2_4_session_tree.png,
801            Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png,
802            Doc/manual/images/4_2_layer_properties.png,
803            Doc/manual/images/4_2_raster_layer_properties.png,
804            Doc/manual/images/5_3_genclass.png,
805            Doc/manual/images/5_classification.png,
806            Doc/manual/images/6_projection.png,
807            Doc/manual/images/7_1_table_view.png,
808            Doc/manual/images/7_2_5_join.png: New screenshots.
809    
810    2003-07-24  Jonathan Coles   <[email protected]>
811    
812            * Doc/manual/thuban-manual.xml: Chapter on Projection Management.
813    
814    2003-07-24  Jonathan Coles   <[email protected]>
815    
816            * Doc/manual/thuban-manual.xml: Added EPS images and wrote
817            chapter on Layer Management.
818    
819            * Doc/manual/Makefile: New. Makefile to generate all formats for the
820            manual and images.
821    
822    2003-07-24  Bernhard Herzog  <[email protected]>
823    
824            * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
825            it annoys lintian which warns about these files not being
826            executable. The #1 isn't necessary here since if you absolutely
827            must execute them you can always say "python <filename>".
828    
829            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove
830            superfluous code to set brush and pen for point shapes
831    
832            * Thuban/UI/viewport.py: Remove commented out code that wouldn't
833            belong in viewport anyway
834    
835    2003-07-24  Frank Koormann   <[email protected]>
836    
837            * Doc/manual/thuban-manual.xml: Added section on table management.
838    
839    2003-07-24  Bernhard Herzog  <[email protected]>
840    
841            * test/runtests.py (main): Recognize the long "verbose" option
842            correctly.
843    
844    2003-07-22  Jonathan Coles   <[email protected]>
845    
846            * Doc/manual/thuban-manual.xml: Continue to write first revision
847            of the manual.
848    
849            * Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method
850            with Begin/EndDrawing() calls to ensure we aren't doing to
851            many updates to the dc during rendering.
852            (ScreenRenderer.draw_shape_layer): self.draw_point_shape takes
853            a pen and brush argument so they need to be passed to the function.
854    
855            * Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New.
856            Calculates the minimum and maximum scale values. Factored out
857            of set_view_transform so that it could be used to zoom all the
858            way into a single point.
859            (ViewPort.set_view_transform): Call calc_min_max_scales().
860            (ViewPort.FitSelectedToWindow): Zoom to the maximum scale
861            if only a single point is selected.
862    
863            * Doc/manual/images/1_2_legend_close.png,
864            Doc/manual/images/1_2_legend_dock.png,
865            Doc/manual/images/1_2_mainwindow.png,
866            Doc/manual/images/1_2_mainwindow.ps,
867            Doc/manual/images/1_2_mainwindow.sk,
868            Doc/manual/images/3_2_fullextent.png,
869            Doc/manual/images/3_2_fulllayerextent.png,
870            Doc/manual/images/3_2_fullshapeextent.png,
871            Doc/manual/images/3_2_pan.png,
872            Doc/manual/images/3_2_zoomin.png,
873            Doc/manual/images/3_2_zoomout.png,
874            Doc/manual/images/3_3_identify.png,
875            Doc/manual/images/3_3_label.png,
876            Doc/manual/images/3_5_invisible.png,
877            Doc/manual/images/3_5_movedown.png,
878            Doc/manual/images/3_5_moveup.png,
879            Doc/manual/images/3_5_props.png,
880            Doc/manual/images/3_5_tobottom.png,
881            Doc/manual/images/3_5_totop.png,
882            Doc/manual/images/3_5_visible.png: New. Images for the documentation.
883    
884    2003-07-18  Bernhard Herzog  <[email protected]>
885    
886            * Thuban/UI/messages.py (MAP_REPLACED): New message.
887    
888            * Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED
889            after the new map has been assigned
890    
891            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
892            Delegate MAP_REPLACED to the canvas too
893            (MainWindow.prepare_new_session): Removed. Thanks to the new
894            MAP_REPLACED message it's no longer needed
895            (MainWindow.OpenSession, MainWindow.NewSession):
896            prepare_new_session has been removed.
897    
898            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
899            MAP_REPLACED so that we can close the dialog if a new map is set.
900            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
901            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
902            dialog
903    
904            * test/test_viewport.py (SimpleViewPortTest)
905            (SimpleViewPortTest.test_default_size): Add doc-strings
906            (ViewPortTest.setUp): Bind map to self.map so we can use it in
907            tests. Subscribe to MAP_REPLACED messages too.
908            (ViewPortTest.tearDown): No need to explicitly unsubscribe
909            (ViewPortTest.test_set_map): New test for the SetMap method.
910    
911    2003-07-18  Bernhard Herzog  <[email protected]>
912    
913            * test/test_viewport.py (SimpleViewPortTest.test_default_size):
914            Move this test from ViewPortTest.setUp to this new separate test
915            case. setUp is not the place for the actual tests.
916            (ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some
917            more of the test from setUp to the new test test_inital_settings.
918            (ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win)
919            (ViewPortTest.test_proj_conv): Split test_proj_conv into
920            test_win_to_proj and test_proj_to_win and make the tests easier to
921            understand
922            (ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor)
923            (ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate)
924            (ViewPortTest.test_unprojected_rect_around_point)
925            (ViewPortTest.test_find_shape_at, ViewPortTest.testTools):
926            Reformat to increase readability.
927    
928    2003-07-18  Bernhard Herzog  <[email protected]>
929    
930            * Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse.
931    
932    2003-07-18  Bernhard Herzog  <[email protected]>
933    
934            * test/runtests.py: The test suite can now be run without an X
935            connection. To make sure this remains true, remove the DISPLAY
936            environment variable so that an error occurs if the wxGTK is
937            imported accidentally
938    
939    2003-07-18  Bernhard Herzog  <[email protected]>
940    
941            * Thuban/UI/viewport.py: Remove unused imports
942    
943            * Thuban/UI/view.py: Remove unused imports
944    
945    2003-07-18  Bernhard Herzog  <[email protected]>
946    
947            * test/test_export.py Remove unused imports. The OutputTransform
948            function is now in viewport.py and is called output_transform
949            (TestScalebar.test_output_transform)
950            (TestScalebar.test_OutputTransform): Renamed to
951            test_output_transform and updated to use output_transform instead
952            of OutputTransform
953    
954            * Thuban/UI/view.py (OutputTransform): Moved to viewport.py and
955            renamed.
956            (MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was
957            renamed to output_transform
958    
959            * Thuban/UI/viewport.py (OutputTransform, output_transform):
960            Rename to output_transform
961    
962    2003-07-18  Bernhard Herzog  <[email protected]>
963    
964            * Thuban/Model/layer.py (Layer.__init__): Rename
965            classificationField to classificatin_column and init it here so
966            that it can be used in SetClassificationColumn
967            (Layer.GetClassificationColumn, Layer.GetClassificationField):
968            Rename to GetClassificationColumn.
969            (Layer.SetClassificationColumn, Layer.SetClassificationField):
970            Rename to SetClassificationColumn and issue a LAYER_CHANGED
971            message if the column changes.
972            (Layer._classification_changed, Layer.ClassChanged): Rename to
973            _classification_changed. Update the callers.
974            (Layer.SetShapeStore): Further field->column renames.
975    
976            * Thuban/Model/load.py (SessionLoader.start_classification)
977            (SessionLoader.start_clpoint): Updates because of
978            field->column method name changes in the Layer class
979    
980            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
981            because of field->column method name changes in the Layer class
982    
983            * Thuban/UI/classifier.py (Classifier.__init__)
984            (Classifier._OnTry, Classifier._OnRevert): Updates because of
985            field->column method name changes in the Layer class
986    
987            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
988            because of field->column method name changes in the Layer class
989    
990            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
991            of field->column method name changes in the Layer class
992    
993            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
994            (SaveSessionTest.testClassifiedLayer): Update because of
995            field->column method name changes in the Layer class
996    
997            * test/test_layer.py (SetShapeStoreTests.setUp)
998            (SetShapeStoreTests.test_sanity): Update because of field->column
999            method name changes in the Layer class
1000            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
1001            (TestLayerModification.test_sanity)
1002            (TestLayerModification.test_initial_settings): remove unsued code
1003            and rename to test_sanity.
1004            (TestLayerModification.test_set_classification): New test for
1005            SetClassification and SetClassificationField.
1006    
1007    2003-07-18  Bernhard Herzog  <[email protected]>
1008    
1009            * test/test_classgen.py (TestFixedRamp.test): Extend test to check
1010            the non-fixed values as well. The old test would have accepted a
1011            fixed ramp that only returnes the fixed properties
1012    
1013    2003-07-17  Jonathan Coles   <[email protected]>
1014    
1015            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
1016            shots for the manual. The XCF file is the source image and
1017            has additional layers to support changes.
1018    
1019            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
1020    
1021            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
1022            Return both the new class and the field name.
1023    
1024            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
1025            fit the map to the window as this changes any zoom level that
1026            the user may have set.
1027    
1028    2003-07-16  Jonathan Coles   <[email protected]>
1029    
1030            * Thuban/Model/classgen.py (generate_singletons,
1031            generate_uniform_distribution, generate_quantiles): Remove
1032            fixes parameter, but maintain the same functionality by having
1033            the calling function pass a FixedRamp object for the ramp.
1034            (FixedRamp): New. Adapts a ramp to have fixed property values.
1035    
1036            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
1037            (Classification): Inherit from Publisher.
1038            (Classification.__init__): Remove the layer parameter.
1039            Classifications no longer need to have a parent layer.
1040            (Classification.GetField, Classification.GetFieldType,
1041            Classification.SetFieldInfo): Removed. The field name is stored
1042            in the layer, and the type can be retreived by calling
1043            Layer.GetFieldType().
1044            (Classification._set_layer, Classification.GetLayer): Removed.
1045            Classifications no longer have a parent layer.
1046    
1047            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
1048            classification.
1049            (Layer.SetShapeStore): Reset the classification first while
1050            we still have the old shape store to work with.
1051            (Layer.GetClassificationField, Layer.SetClassificationField):
1052            New. Method for getting/setting the field to classify on.
1053            (Layer.SetClassification): Simplified now that the layer
1054            simply has to hold a reference to the classification and not
1055            tell the classification who owns it.
1056            Fixes RTbug #2023.
1057    
1058            * Thuban/Model/load.py (SessionLoader.start_classification):
1059            Set the field name on the layer, not the classification.
1060    
1061            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
1062            classification is modified.
1063    
1064            * Thuban/Model/save.py (SessionSaver.write_classification):
1065            Get the field name and type from the layer.
1066    
1067            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
1068            parameter records to rows and add docstring. Fixes RTbug #1997.
1069    
1070            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
1071            ramp when we need to fix certain values of a ramp rather than
1072            using the old fixes parameter. Fixes RTbug #2024.
1073    
1074            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
1075            parameter.
1076            (ClassTable.Reset): Add fieldType parameter and use it, rather
1077            than asking the classification.
1078            (Classifier.__init__): Remember the original class's field
1079            and ask the layer for the field type, rather than the classification.
1080            (Classifier.__SetGridTable): Retrieve the field and field type
1081            for the table because they are not in the classification.
1082            (Classifier._OnTry, Classifier._OnRevert): Set the classification
1083            field on the layer in addition to the classification itself.
1084    
1085            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
1086            classification field from layer.
1087    
1088            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
1089            classification field from layer. Split up tests and remove
1090            *-imports. Fixes RTbug #1992.
1091    
1092            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
1093    
1094            * test/test_classification.py
1095            (TestClassification.test_classification): Remove tests for methods
1096            that no longer exist.
1097    
1098            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
1099            __init__ no longer has a field parameter, use SetClassificationField.
1100            (SetShapeStoreTests.test_sanity): Use layer object to get class
1101            field info.
1102    
1103            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
1104            SetClassificationField on layer to set class field info.
1105    
1106            * test/test_viewport.py: Renamed from test/test_view.py.
1107    
1108    2003-07-16  Jan-Oliver Wagner <[email protected]>
1109    
1110            * Doc/manual/thuban-manual.xml: Added authors and an initial
1111            coarse structure.
1112    
1113    2003-07-15  Bernhard Herzog  <[email protected]>
1114    
1115            * test/support.py (FloatComparisonMixin): This is a mix-in class
1116            and therefore should not be derived from any other class.
1117    
1118            * test/test_range.py (RangeTest): FloatComparisonMixin is a
1119            mix-in, so derive from TestCase as well.
1120    
1121    2003-07-15  Bernhard Herzog  <[email protected]>
1122    
1123            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
1124            draw_func handling a bit to remove one layer of indirection. This
1125            makes the renderer about 10% faster in the non-classifying case
1126            and the code a bit cleaner
1127            (MapRenderer.draw_point_shape): Add the pen and brush parameters
1128            and set them in the dc. Now the draw_point_shape method and
1129            wxproj's draw_polygon_shape function have basically the same
1130            signature so that both can be directly used as draw_func
1131    
1132  2003-07-15  Bernhard Herzog  <[email protected]>  2003-07-15  Bernhard Herzog  <[email protected]>
1133    
1134          * Thuban/Model/save.py (SessionSaver.write_classification): Encode          * Thuban/Model/save.py (SessionSaver.write_classification): Encode

Legend:
Removed from v.1418  
changed lines
  Added in v.1637

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26