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

Legend:
Removed from v.1508  
changed lines
  Added in v.1635

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26