/[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 1272 by jonathan, Fri Jun 20 16:43:13 2003 UTC revision 1573 by bh, Mon Aug 11 10:20:16 2003 UTC
# Line 1  Line 1 
1    2003-08-11  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/join.py (JoinDialog.OnJoin): Add missing space to
4            error message
5    
6    2003-08-08  Jan-Oliver Wagner <[email protected]>
7    
8            * Doc/manual/thuban-manual.xml: Now use authorgroup. Added revhistory
9            with version number.
10            Changed title to reflect version number of Thuban.
11    
12    2003-08-08  Jan-Oliver Wagner <[email protected]>
13    
14            * Thuban/UI/about.py (About.__init__): Reworked the hall of fame. Now
15            the list corresponds to the "About" web page.
16    
17    2003-08-08  Bernhard Herzog  <[email protected]>
18    
19            * Thuban/UI/projdialog.py (UTMProposeZoneDialog.dialogLayout):
20            Make sure translated strings are recognized as one string literal.
21    
22            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog.dialogLayout):
23            Make sure translated strings are recognized as one string literal.
24    
25            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Make sure
26            translated strings are recognized as one string literal.
27    
28            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
29            sure translated strings are recognized as one string literal.
30    
31    2003-08-07  Bernhard Herzog  <[email protected]>
32    
33            * Thuban/Model/data.py (DerivedShapeStore.RawShapeFormat): New.
34            Simply delegates to the original shapestore.
35    
36            * test/test_derivedshapestore.py
37            (TestDerivedShapeStore.test_raw_format): New. Test case for
38            DerivedShapeStore.RawShapeFormat
39    
40    2003-08-07  Bernhard Herzog  <[email protected]>
41    
42            Add raw data interface to shape objects.
43    
44            * Thuban/Model/data.py (ShapefileShape, Shape): Rname the shape
45            class to ShapefileShape which now holds shapefile specific
46            information.
47            (ShapefileShape.compute_bbox): Simplified to not cache any
48            information. The way this method is used that shouldn't matter
49            performance wise.
50            (ShapefileShape.RawData): New. Return the shapeid which is the raw
51            data format for shapes from shapefiles.
52            (ShapefileStore.RawShapeFormat): New. Return the raw datatype used
53            in the shape objects returned by a shapestore. For a
54            ShapefileStore this is always RAW_SHAPEFILE.
55            (RAW_PYTHON, RAW_SHAPEFILE): Constants for the RawShapeFormat
56            method.
57    
58            * test/test_shapefilestore.py
59            (TestShapefileStore.test_raw_format): New test to test the raw
60            format feature of shapes.
61    
62            * Thuban/Model/layer.py: Remove the unused import of Shape from
63            data. It was only there for interface compatibility but it's not
64            used inside of Thuban and the generic Shape class has gone away.
65    
66            * Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Check
67            the raw data format and only use an optimized version of its a
68            shapefile.
69    
70    2003-08-07  Bernhard Herzog  <[email protected]>
71    
72            * test/test_baserenderer.py (SimpleShape): Shape class for the
73            tests.
74            (SimpleShapeStore.Shape): Use SimpleShape instead of
75            Thuban.Model.data.Shape to make the tests independed of the coming
76            changes.
77    
78    2003-08-07  Bernhard Herzog  <[email protected]>
79    
80            * test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner)
81            (ThubanTestProgram): New classes that extend the respective
82            classes from unittest. These new version support skipping tests
83            under certain expected conditions. In the Thuban test suite we
84            uses this for tests that require the optional gdal support.
85            (run_tests): Use ThubanTestProgram instead of the unittest.main()
86    
87            * test/runtests.py (main): Use the new ThubanTestRunner instead of
88            the normal one from unittest
89    
90            * test/test_layer.py (TestLayer.test_raster_layer): If this test
91            is not run because gdal support isn't available report this to the
92            runner.
93    
94            * test/test_baserenderer.py
95            (TestBaseRenderer.test_raster_no_projection): Do not run this test
96            if gdal support isn't available and report this to the runner.
97    
98    2003-08-06  Bernhard Herzog  <[email protected]>
99    
100            Rearrange the renderers a bit, partly in preparation for changes
101            required for the postgis merge, partly to make it more testable.
102            Also make the representation of coordinates in Shapes more
103            consistent.
104    
105            * Thuban/UI/renderer.py (MapRenderer): Most of the code/methods in
106            this class is now in BaseRenderer. This class is now practically
107            only a specialization of BaseRenderer for rendering to an actual
108            wx DC.
109            (ScreenRenderer.draw_shape_layer): Use self.low_level_renderer()
110            to get the shapetype specific rendering functions.
111    
112            * Thuban/UI/baserenderer.py: New file with the basic rendering
113            logic. The code in this file is completely independend of wx.
114            (BaseRenderer): Class with the basic rendering logic
115    
116            * test/test_baserenderer.py: New. Test cases for BaseRenderer
117    
118            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
119            error_on_redraw to guard agains endless loops and stack overflows
120            when there's a bug in the rendering code that raises exceptions.
121            (MapCanvas.OnIdle, MapCanvas._do_redraw): Split the actual
122            rendering into a separate method _do_redraw so that error handling
123            is a bit easier. When an exception occurs, set error_on_redraw to
124            true. When it's true on entry to OnIdle do nothing and return
125            immediately.
126    
127            * Thuban/Model/data.py (ShapefileStore.Shape): For consistency, a
128            Shape object will always have the coordinates as a list of list of
129            coordinate pairs (tuples).
130            (Shape.compute_bbox): Adapt to new representation.
131    
132            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
133            (ViewPort.LabelShapeAt): Adapt to new coordinate representation in
134            Shape objects.
135    
136            * test/test_shapefilestore.py
137            (ShapefileStoreTests.assertFloatTuplesEqual)
138            (ShapefileStoreTests.assertPointListEquals): Rename to
139            assertPointListEquals and change purpose to checking equality of
140            the lists returned by Shape.Points().
141            (TestShapefileStoreArc.test_shape)
142            (TestShapefileStorePolygon.test_shape)
143            (TestShapefileStorePoint.test_shape): Use the new
144            assertPointListEquals instead of assertFloatTuplesEqual
145    
146            * test/test_layer.py (TestLayer.assertFloatTuplesEqual)
147            (TestLayer.assertPointListEquals): Rename to assertPointListEquals
148            and change purpose to checking equality of the lists returned by
149            Shape.Points().
150            (TestLayer.test_arc_layer, TestLayer.test_arc_layer)
151            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
152            (TestLayer.test_derived_store): Use the new assertPointListEquals
153            instead of assertFloatTuplesEqual
154    
155            * test/test_derivedshapestore.py
156            (TestDerivedShapeStore.assertFloatTuplesEqual)
157            (TestDerivedShapeStore.assertPointListEquals): Rename to
158            assertPointListEquals and change purpose to checking equality of
159            the lists returned by Shape.Points().
160            (TestDerivedShapeStore.test_shape): Use the new
161            assertPointListEquals instead of assertFloatTuplesEqual
162    
163    2003-08-06  Jan-Oliver Wagner <[email protected]>
164    
165            * Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for
166            a bounding box. A dialog is raised in case, no bounding box
167            is found. This fixes bug #2043:
168            https://intevation.de/rt/webrt?serial_num=2043
169    
170    2003-08-05  Bernhard Herzog  <[email protected]>
171    
172            * Thuban/Model/color.py (Color.__repr__): Make the repr of a color
173            object look like a Color instantiation. Formerly it looked like a
174            tuple.
175    
176            * test/test_color.py (TestColor.test_repr)
177            (TestColor.test_equality, TestColor.test_inequality): New. test
178            some more apects of the Color class
179            (TestTransparent.test_repr, TestTransparent.test_hex)
180            (TestTransparent.test_equality): New. Test cases for the
181            Transparent object.
182    
183    2003-08-04  Jan-Oliver Wagner <[email protected]>
184    
185            * Doc/manual/thuban-manual.xml: a number of small improvements.
186            The resulting file is the version submitted for GREAT-ER II.
187    
188    2003-08-01  Bernhard Herzog  <[email protected]>
189    
190            * Thuban/UI/resource.py, Thuban/UI/projdialog.py,
191            Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py,
192            Thuban/Model/resource.py: Insert cvs keywords and doc-strings.
193    
194            * Thuban/UI/common.py: Insert cvs keywords and doc-strings.
195            (Color2wxColour, wxColour2Color, ThubanBeginBusyCursor)
196            (ThubanEndBusyCursor): Add doc-strings
197    
198    2003-08-01  Bernhard Herzog  <[email protected]>
199    
200            First step towards PostGIS integration. More abstraction by movin
201            more code from the layer to the shapestore. More methods of the
202            layer are now simply delegated to the equivalent method of the
203            shapestore. The SHAPETYPE_* constants are now in data not in
204            layer.
205    
206            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
207            (SHAPETYPE_POINT, Shape): Move these constants and classes from
208            layer.py to data.py
209            (ShapefileStore.__init__): More Initialization for the new methods
210            and functionality.
211            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
212            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
213            (ShapefileStore.Shape): New methods that were formerly implemented
214            in the layer.
215            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
216            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
217            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
218            equivalents of the new shape methods. These versions are simply
219            delegated to the original shapstore.
220    
221            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
222            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
223            (Layer.SetShapeStore): Removed the initializatin of instance
224            variables that were needed for the stuff that's now in
225            ShapefileStore
226            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
227            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
228            shapestore.
229    
230            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
231            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
232            instead of layer.
233    
234            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
235    
236            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
237    
238            * test/test_layer.py: Import the SHAPETYPE_* constants from data
239            instead of layer.
240            (TestLayer.test_derived_store): Remove the test for the exception
241            when instantiating the DerivedShapeStore with an incompatible
242            table which is now in test_derivedshapestore.py. Add some more
243            tests of the layer methods to determine whether they work for a
244            DerivedShapeStore as well.
245    
246    2003-07-31  Jonathan Coles   <[email protected]>
247    
248            * Doc/manual/thuban-manual.xml: Fix the list of required packages
249            by just listing the name and where they can be found.
250    
251    2003-07-31  Frank Koormann   <[email protected]>
252    
253            * Doc/manual/thuban-manual.xml:
254            Changed the screenshot elements to figure.
255            Changed some variablelist elements to itemizedlist.
256            Added section on GDAL formats.
257    
258    2003-07-31  Jonathan Coles   <[email protected]>
259    
260            * Doc/manual/thuban-manual.xml: Added a few sentences about
261            the Fix Border Color option when generating classes.
262    
263    2003-07-30  Jonathan Coles   <[email protected]>
264    
265            * Thuban/Model/classgen.py: Add docstrings. Rename specific
266            Ramp instances to use lower_case_style.
267    
268            * Thuban/UI/classgen.py: Use renamed Ramp instances.
269            
270            * Thuban/UI/classifier.py: Add docstrings.
271    
272            * Thuban/UI/dock.py: Add docstrings.
273    
274            * test/test_classgen.py: Use renamed Ramp instances.
275    
276    2003-07-30  Bernhard Herzog  <[email protected]>
277    
278            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
279            was never used in Thuban.
280    
281    2003-07-30  Bernhard Herzog  <[email protected]>
282    
283            * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()
284            method directly instead of going through the transient_table
285            method. This faster because transient_table may force the copy of
286            a DBF file into the transient database and setting a table's title
287            doesnm't affect the title of the associated transient table, so
288            this fixes RT #2042
289    
290            * Thuban/UI/main.py (__version__): Don't import the already
291            removed show_exception_dialog.
292    
293    2003-07-29  Jonathan Coles   <[email protected]>
294    
295            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
296            Put back this method and remove the equivalent function since we
297            are setting the exception hook from within this class (OnInit).
298    
299    2003-07-29  Jonathan Coles   <[email protected]>
300    
301            * Doc/manual/images/5_2_custom_ramp.png,
302            Doc/manual/images/5_2_quantiles.png,
303            Doc/manual/images/5_2_uniform_dist.png,
304            Doc/manual/images/5_2_unique_values.png,
305            Doc/manual/images/8_int_error.png: New screen shots.
306    
307            * Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified
308            some points, and added more screen shots.
309    
310    2003-07-29  Bernhard Herzog  <[email protected]>
311    
312            * Thuban/Model/data.py: Remove the now unused import of warnings
313    
314    2003-07-29  Bernhard Herzog  <[email protected]>
315    
316            * Thuban/Model/data.py (SimpleStore): Removed. This class has been
317            deprecated since before the 0.8 release and isn't used in Thuban
318            itself anymore.
319    
320            * Thuban/Model/transientdb.py: Remove some unnecessary imports
321    
322    2003-07-29  Jonathan Coles   <[email protected]>
323    
324            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
325            python exception hook here so that we are sure to catch any
326            Thuban exception that happen during initialization.
327    
328            * Thuban/UI/main.py (main): Don't set the exception hook here,
329            it will get set in ThubanApplication.OnInit.
330    
331    2003-07-29  Jonathan Coles   <[email protected]>
332                                                                                
333            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
334            Removed and called it show_exception_dialog() so that the exception
335            handler can be set before the class is created.
336                                                                                
337            * Thuban/UI/main.py (main): Install the exception handler before
338            a ThubanApplication is created.
339                                                                                    
340    2003-07-29  Bernhard Herzog  <[email protected]>
341    
342            * po/it.po: New. Italian translation by Maurizio Napolitano
343    
344            * po/ru.po: New. Russian translation by Alex Shevlakov
345    
346    2003-07-29  Frank Koormann   <[email protected]>
347    
348            * Doc/manual/thuban-manual.xml: Extended section on supported
349            projections.
350            
351    2003-07-29  Frank Koormann   <[email protected]>
352    
353            * Doc/manual/thuban-manual.xml: gaspell-checked.
354    
355    2003-07-29  Jonathan Coles   <[email protected]>
356    
357            * Doc/manual/images/3_5_legend.png: Added border to improve look
358            on white background.
359    
360    2003-07-29  Jonathan Coles   <[email protected]>
361    
362            * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added
363            descriptions for the legend toolbar.
364    
365            * Doc/manual/images/4_2_raster_layer_properties.png: Removed
366            cursor from dialog box.
367    
368    2003-07-28  Jonathan Coles   <[email protected]>
369    
370            * Doc/manual/thuban-manual.xml: More screenshots and more chapters.
371    
372            * Doc/manual/images/2_4_session_tree.png,
373            Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png,
374            Doc/manual/images/4_2_layer_properties.png,
375            Doc/manual/images/4_2_raster_layer_properties.png,
376            Doc/manual/images/5_3_genclass.png,
377            Doc/manual/images/5_classification.png,
378            Doc/manual/images/6_projection.png,
379            Doc/manual/images/7_1_table_view.png,
380            Doc/manual/images/7_2_5_join.png: New screenshots.
381    
382    2003-07-24  Jonathan Coles   <[email protected]>
383    
384            * Doc/manual/thuban-manual.xml: Chapter on Projection Management.
385    
386    2003-07-24  Jonathan Coles   <[email protected]>
387    
388            * Doc/manual/thuban-manual.xml: Added EPS images and wrote
389            chapter on Layer Management.
390    
391            * Doc/manual/Makefile: New. Makefile to generate all formats for the
392            manual and images.
393    
394    2003-07-24  Bernhard Herzog  <[email protected]>
395    
396            * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
397            it annoys lintian which warns about these files not being
398            executable. The #1 isn't necessary here since if you absolutely
399            must execute them you can always say "python <filename>".
400    
401            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove
402            superfluous code to set brush and pen for point shapes
403    
404            * Thuban/UI/viewport.py: Remove commented out code that wouldn't
405            belong in viewport anyway
406    
407    2003-07-24  Frank Koormann   <[email protected]>
408    
409            * Doc/manual/thuban-manual.xml: Added section on table management.
410    
411    2003-07-24  Bernhard Herzog  <[email protected]>
412    
413            * test/runtests.py (main): Recognize the long "verbose" option
414            correctly.
415    
416    2003-07-22  Jonathan Coles   <[email protected]>
417    
418            * Doc/manual/thuban-manual.xml: Continue to write first revision
419            of the manual.
420    
421            * Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method
422            with Begin/EndDrawing() calls to ensure we aren't doing to
423            many updates to the dc during rendering.
424            (ScreenRenderer.draw_shape_layer): self.draw_point_shape takes
425            a pen and brush argument so they need to be passed to the function.
426    
427            * Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New.
428            Calculates the minimum and maximum scale values. Factored out
429            of set_view_transform so that it could be used to zoom all the
430            way into a single point.
431            (ViewPort.set_view_transform): Call calc_min_max_scales().
432            (ViewPort.FitSelectedToWindow): Zoom to the maximum scale
433            if only a single point is selected.
434    
435            * Doc/manual/images/1_2_legend_close.png,
436            Doc/manual/images/1_2_legend_dock.png,
437            Doc/manual/images/1_2_mainwindow.png,
438            Doc/manual/images/1_2_mainwindow.ps,
439            Doc/manual/images/1_2_mainwindow.sk,
440            Doc/manual/images/3_2_fullextent.png,
441            Doc/manual/images/3_2_fulllayerextent.png,
442            Doc/manual/images/3_2_fullshapeextent.png,
443            Doc/manual/images/3_2_pan.png,
444            Doc/manual/images/3_2_zoomin.png,
445            Doc/manual/images/3_2_zoomout.png,
446            Doc/manual/images/3_3_identify.png,
447            Doc/manual/images/3_3_label.png,
448            Doc/manual/images/3_5_invisible.png,
449            Doc/manual/images/3_5_movedown.png,
450            Doc/manual/images/3_5_moveup.png,
451            Doc/manual/images/3_5_props.png,
452            Doc/manual/images/3_5_tobottom.png,
453            Doc/manual/images/3_5_totop.png,
454            Doc/manual/images/3_5_visible.png: New. Images for the documentation.
455    
456    2003-07-18  Bernhard Herzog  <[email protected]>
457    
458            * Thuban/UI/messages.py (MAP_REPLACED): New message.
459    
460            * Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED
461            after the new map has been assigned
462    
463            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
464            Delegate MAP_REPLACED to the canvas too
465            (MainWindow.prepare_new_session): Removed. Thanks to the new
466            MAP_REPLACED message it's no longer needed
467            (MainWindow.OpenSession, MainWindow.NewSession):
468            prepare_new_session has been removed.
469    
470            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
471            MAP_REPLACED so that we can close the dialog if a new map is set.
472            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
473            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
474            dialog
475    
476            * test/test_viewport.py (SimpleViewPortTest)
477            (SimpleViewPortTest.test_default_size): Add doc-strings
478            (ViewPortTest.setUp): Bind map to self.map so we can use it in
479            tests. Subscribe to MAP_REPLACED messages too.
480            (ViewPortTest.tearDown): No need to explicitly unsubscribe
481            (ViewPortTest.test_set_map): New test for the SetMap method.
482    
483    2003-07-18  Bernhard Herzog  <[email protected]>
484    
485            * test/test_viewport.py (SimpleViewPortTest.test_default_size):
486            Move this test from ViewPortTest.setUp to this new separate test
487            case. setUp is not the place for the actual tests.
488            (ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some
489            more of the test from setUp to the new test test_inital_settings.
490            (ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win)
491            (ViewPortTest.test_proj_conv): Split test_proj_conv into
492            test_win_to_proj and test_proj_to_win and make the tests easier to
493            understand
494            (ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor)
495            (ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate)
496            (ViewPortTest.test_unprojected_rect_around_point)
497            (ViewPortTest.test_find_shape_at, ViewPortTest.testTools):
498            Reformat to increase readability.
499    
500    2003-07-18  Bernhard Herzog  <[email protected]>
501    
502            * Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse.
503    
504    2003-07-18  Bernhard Herzog  <[email protected]>
505    
506            * test/runtests.py: The test suite can now be run without an X
507            connection. To make sure this remains true, remove the DISPLAY
508            environment variable so that an error occurs if the wxGTK is
509            imported accidentally
510    
511    2003-07-18  Bernhard Herzog  <[email protected]>
512    
513            * Thuban/UI/viewport.py: Remove unused imports
514    
515            * Thuban/UI/view.py: Remove unused imports
516    
517    2003-07-18  Bernhard Herzog  <[email protected]>
518    
519            * test/test_export.py Remove unused imports. The OutputTransform
520            function is now in viewport.py and is called output_transform
521            (TestScalebar.test_output_transform)
522            (TestScalebar.test_OutputTransform): Renamed to
523            test_output_transform and updated to use output_transform instead
524            of OutputTransform
525    
526            * Thuban/UI/view.py (OutputTransform): Moved to viewport.py and
527            renamed.
528            (MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was
529            renamed to output_transform
530    
531            * Thuban/UI/viewport.py (OutputTransform, output_transform):
532            Rename to output_transform
533    
534    2003-07-18  Bernhard Herzog  <[email protected]>
535    
536            * Thuban/Model/layer.py (Layer.__init__): Rename
537            classificationField to classificatin_column and init it here so
538            that it can be used in SetClassificationColumn
539            (Layer.GetClassificationColumn, Layer.GetClassificationField):
540            Rename to GetClassificationColumn.
541            (Layer.SetClassificationColumn, Layer.SetClassificationField):
542            Rename to SetClassificationColumn and issue a LAYER_CHANGED
543            message if the column changes.
544            (Layer._classification_changed, Layer.ClassChanged): Rename to
545            _classification_changed. Update the callers.
546            (Layer.SetShapeStore): Further field->column renames.
547    
548            * Thuban/Model/load.py (SessionLoader.start_classification)
549            (SessionLoader.start_clpoint): Updates because of
550            field->column method name changes in the Layer class
551    
552            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
553            because of field->column method name changes in the Layer class
554    
555            * Thuban/UI/classifier.py (Classifier.__init__)
556            (Classifier._OnTry, Classifier._OnRevert): Updates because of
557            field->column method name changes in the Layer class
558    
559            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
560            because of field->column method name changes in the Layer class
561    
562            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
563            of field->column method name changes in the Layer class
564    
565            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
566            (SaveSessionTest.testClassifiedLayer): Update because of
567            field->column method name changes in the Layer class
568    
569            * test/test_layer.py (SetShapeStoreTests.setUp)
570            (SetShapeStoreTests.test_sanity): Update because of field->column
571            method name changes in the Layer class
572            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
573            (TestLayerModification.test_sanity)
574            (TestLayerModification.test_initial_settings): remove unsued code
575            and rename to test_sanity.
576            (TestLayerModification.test_set_classification): New test for
577            SetClassification and SetClassificationField.
578    
579    2003-07-18  Bernhard Herzog  <[email protected]>
580    
581            * test/test_classgen.py (TestFixedRamp.test): Extend test to check
582            the non-fixed values as well. The old test would have accepted a
583            fixed ramp that only returnes the fixed properties
584    
585    2003-07-17  Jonathan Coles   <[email protected]>
586    
587            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
588            shots for the manual. The XCF file is the source image and
589            has additional layers to support changes.
590    
591            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
592    
593            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
594            Return both the new class and the field name.
595    
596            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
597            fit the map to the window as this changes any zoom level that
598            the user may have set.
599    
600    2003-07-16  Jonathan Coles   <[email protected]>
601    
602            * Thuban/Model/classgen.py (generate_singletons,
603            generate_uniform_distribution, generate_quantiles): Remove
604            fixes parameter, but maintain the same functionality by having
605            the calling function pass a FixedRamp object for the ramp.
606            (FixedRamp): New. Adapts a ramp to have fixed property values.
607    
608            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
609            (Classification): Inherit from Publisher.
610            (Classification.__init__): Remove the layer parameter.
611            Classifications no longer need to have a parent layer.
612            (Classification.GetField, Classification.GetFieldType,
613            Classification.SetFieldInfo): Removed. The field name is stored
614            in the layer, and the type can be retreived by calling
615            Layer.GetFieldType().
616            (Classification._set_layer, Classification.GetLayer): Removed.
617            Classifications no longer have a parent layer.
618    
619            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
620            classification.
621            (Layer.SetShapeStore): Reset the classification first while
622            we still have the old shape store to work with.
623            (Layer.GetClassificationField, Layer.SetClassificationField):
624            New. Method for getting/setting the field to classify on.
625            (Layer.SetClassification): Simplified now that the layer
626            simply has to hold a reference to the classification and not
627            tell the classification who owns it.
628            Fixes RTbug #2023.
629    
630            * Thuban/Model/load.py (SessionLoader.start_classification):
631            Set the field name on the layer, not the classification.
632    
633            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
634            classification is modified.
635    
636            * Thuban/Model/save.py (SessionSaver.write_classification):
637            Get the field name and type from the layer.
638    
639            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
640            parameter records to rows and add docstring. Fixes RTbug #1997.
641    
642            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
643            ramp when we need to fix certain values of a ramp rather than
644            using the old fixes parameter. Fixes RTbug #2024.
645    
646            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
647            parameter.
648            (ClassTable.Reset): Add fieldType parameter and use it, rather
649            than asking the classification.
650            (Classifier.__init__): Remember the original class's field
651            and ask the layer for the field type, rather than the classification.
652            (Classifier.__SetGridTable): Retrieve the field and field type
653            for the table because they are not in the classification.
654            (Classifier._OnTry, Classifier._OnRevert): Set the classification
655            field on the layer in addition to the classification itself.
656    
657            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
658            classification field from layer.
659    
660            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
661            classification field from layer. Split up tests and remove
662            *-imports. Fixes RTbug #1992.
663    
664            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
665    
666            * test/test_classification.py
667            (TestClassification.test_classification): Remove tests for methods
668            that no longer exist.
669    
670            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
671            __init__ no longer has a field parameter, use SetClassificationField.
672            (SetShapeStoreTests.test_sanity): Use layer object to get class
673            field info.
674    
675            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
676            SetClassificationField on layer to set class field info.
677    
678            * test/test_viewport.py: Renamed from test/test_view.py.
679    
680    2003-07-16  Jan-Oliver Wagner <[email protected]>
681    
682            * Doc/manual/thuban-manual.xml: Added authors and an initial
683            coarse structure.
684    
685    2003-07-15  Bernhard Herzog  <[email protected]>
686    
687            * test/support.py (FloatComparisonMixin): This is a mix-in class
688            and therefore should not be derived from any other class.
689    
690            * test/test_range.py (RangeTest): FloatComparisonMixin is a
691            mix-in, so derive from TestCase as well.
692    
693    2003-07-15  Bernhard Herzog  <[email protected]>
694    
695            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
696            draw_func handling a bit to remove one layer of indirection. This
697            makes the renderer about 10% faster in the non-classifying case
698            and the code a bit cleaner
699            (MapRenderer.draw_point_shape): Add the pen and brush parameters
700            and set them in the dc. Now the draw_point_shape method and
701            wxproj's draw_polygon_shape function have basically the same
702            signature so that both can be directly used as draw_func
703    
704    2003-07-15  Bernhard Herzog  <[email protected]>
705    
706            * Thuban/Model/save.py (SessionSaver.write_classification): Encode
707            string values (in addition to the labels) as UTF 8
708    
709            * Thuban/Model/load.py (SessionLoader.start_clpoint): Decode the
710            values if the field type is string
711    
712            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Test
713            saving a session with non-ascii string classification values.
714    
715            * test/test_load.py (TestClassification.file_contents)
716            (TestClassification.test): Check for non-ascii values in string
717            classifications
718    
719    2003-07-14  Jonathan Coles   <[email protected]>
720    
721            * test/test_view.py: New. Tests for ViewPort.
722    
723    2003-07-14  Frank Koormann   <[email protected]>
724    
725            * Thuban/Model/load.py (SessionLoader.start_map): Encode map
726            title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013
727    
728            * test/test_load_0_8.py (TestUnicodeStrings): New, test load of
729            unicode strings from session file: session title, map title and
730            projection name.
731            
732    2003-07-10  Jonathan Coles   <[email protected]>
733    
734            * Thuban/UI/viewport.py (Tool.MouseUp): Should have called
735            drag_stop, not drag_move when the mouse is released.
736    
737    2003-07-10  Jonathan Coles   <[email protected]>
738    
739            The most important part of this is the seperation of view.py into
740            two pieces. viewport.py now has a class called ViewPort which
741            contains all the non-wx parts of view.py and can therefore be
742            tested. view.py contains only the wx-specific parts and is fairly
743            simple.
744    
745            * Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes
746            RTTbug #1992.
747            * Thuban/UI/viewport.py: New. Contains non-wx view functionality.
748            RTTbug #1992.
749    
750            * Thuban/Model/classgen.py (generate_singletons,
751            generate_uniform_distribution, generate_quantiles):
752            Added 'fixes' parameter so that property attributes can
753            be held constant over the generated classification groups.
754            (CustomRamp.GetProperties): Remove unused variables.
755    
756            * Thuban/Model/map.py (Map.SetProjection): Send the old
757            projection as an argument to listeners of the MAP_PROJECTION_CHANGED
758            event.
759    
760            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records'
761            parameter which is a list of records that restricts which
762            records are saved. Fixes RTbug #1997.
763    
764            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
765            Port exception dialog from GREAT-ER. Fixes RTbug #1993.
766    
767            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls
768            to allow the user to fix line color/width on generated groups.
769            (ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_*
770            functions to optionally fix group properties.
771    
772            * Thuban/UI/main.py (main): Set exception hook to the
773            ShowExceptionDialog. Fixes RTbug #1993.
774    
775            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise
776            the table window when it is selectd to be shown.
777    
778            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an
779            Export Selection button and move the export buttons underneath
780            the table.
781            (QueryTableFrame.UpdateStatusText): Added event argument so
782            that it can respond to grid selection events. The status text
783            is now updated even when the table is not associated with a
784            layer as was previously assumed.
785            (QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed.
786            UpdateStatusText responds to these events.
787            (QueryTableFrame.OnSaveAs): Renamed to doExport.
788            (QueryTableFrame.doExport): Helper function that saves the
789            entire table, or selected rows, to a file.
790            (QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New.
791            Respond to export button events and call doExport.
792    
793            * extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure
794            the function doesn't return NULL without first setting a Python
795            Error.
796    
797            * test/runtests.py (main): Only print "Unknown option" for
798            unsupported options.
799    
800            * test/support.py (FloatComparisonMixin.assertFloatEqual): Take
801            optional epsilon argument to specify floating point accuracy.
802            (FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual
803            for each item test.
804    
805            * test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add
806            tests for saving selected records.
807    
808            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
809            tests for saving selected records.
810    
811            * test/test_map.py (TestMapWithContents.test_set_projection):
812            MAP_PROJECTION_CHANGED events send the old projection.
813    
814            * test/test_session.py
815            (TestSessionWithContent.test_forward_map_projection):
816            MAP_PROJECTION_CHANGED events send the old projection.
817    
818            * test/test_table.py (TableTest): Update tests to use non-deprecated
819            functions.
820    
821    2003-07-08  Bernhard Herzog  <[email protected]>
822    
823            * Thuban/Model/transientdb.py (TransientTableBase.Width): The type
824            constants in the column objects are the standard ones defined in
825            the table module.
826    
827            * test/test_transientdb.py
828            (TestTransientTable.test_transienttable_to_dbf): New. Test whether
829            exporting transient tables as DBF works. This should catch the bug
830            just fixed in TransientTableBase.Width.
831    
832    2003-07-08  Bernhard Herzog  <[email protected]>
833    
834            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the
835            interpolated colors correctly.
836    
837            * test/test_classgen.py (TestCustomRamp.test_color_interpolation):
838            New. Test case for the fix in classgen.py
839    
840    2003-07-08  Bernhard Herzog  <[email protected]>
841    
842            * test/runtests.py (main): Make the default output less verbose
843            and add a verbosity option (-v) to get the old output
844    
845    2003-07-08  Bernhard Herzog  <[email protected]>
846    
847            * Resources/XML/thuban-0.9.dtd: New. This will become the DTD for
848            0.9.
849    
850            * Thuban/Model/transientdb.py (TransientJoinedTable.JoinType):
851            New. Return the join type
852    
853            * Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9
854            DTD
855            (SessionSaver.write_data_containers): Save the join type for
856            joined tables
857    
858            * Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9
859            namespace
860            (SessionLoader.start_jointable): Handle the jointype attribute
861    
862            * test/test_load_0_8.py: New. Effectively a copy of test_load.py
863            as of Thuban 0.8. These are now tests to determine whether Thuban
864            can still read files generated by Thuban 0.8
865    
866            * test/test_load.py (LoadSessionTest.dtd)
867            (TestSingleLayer.file_contents)
868            (TestLayerVisibility.file_contents, TestLabels.file_contents)
869            (TestLayerProjection.file_contents)
870            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
871            (TestJoinedTable.file_contents)
872            (TestLoadError.file_contents): Update for new DTD
873            (TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test
874            for new join type attribute
875    
876            * test/test_save.py (SaveSessionTest.dtd)
877            (SaveSessionTest.testEmptySession)
878            (SaveSessionTest.testSingleLayer)
879            (SaveSessionTest.testLayerProjection)
880            (SaveSessionTest.testRasterLayer)
881            (SaveSessionTest.testClassifiedLayer)
882            (SaveSessionTest.test_dbf_table)
883            (SaveSessionTest.test_joined_table): Update for new DTD
884            (SaveSessionTest.test_joined_table): Add test for new join type
885            attribute
886    
887    2003-07-04  Bernhard Herzog  <[email protected]>
888    
889            * Thuban/Model/table.py (_find_dbf_column_names): New. Helper
890            function for table_to_dbf
891            (table_to_dbf): Deal with names longer than the 10 character limit
892    
893            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
894            doc-string
895            (TestTableToDBF.test_table_to_dbf_long_col_names): New test for
896            long column names
897    
898    2003-07-03  Bernhard Herzog  <[email protected]>
899    
900            * Doc/manual/thuban-manual.xml: Fix the CVS Revision Tag syntax
901    
902    2003-07-03  Bernhard Herzog  <[email protected]>
903    
904            * Doc/manual/thuban-manual.xml, Doc/manual/README: New. Skeleton
905            for the Thuban manual and README with some basic information about
906            the manual
907    
908    2003-07-03  Bernhard Herzog  <[email protected]>
909    
910            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
911            Update doc-string
912            (TransientJoinedTable.create): Do not modify the column objects of
913            the input tables in place and copy all columns of the input tables
914            into the joined table after all.
915    
916            * test/test_transientdb.py
917            (TestTransientTable.test_transient_joined_table_same_column_name):
918            Update to reflect the new behavior
919            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
920            Update to reflect the new behavior
921            (TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
922            New test case for a bug which modified the column objects in place
923    
924    2003-07-02  Jonathan Coles   <[email protected]>
925    
926            * Thuban/Model/classgen.py (generate_singletons,
927            generate_uniform_distribution, generate_quantiles,
928            GenQuantiles0): Make sure maxValue isn't less than
929            one, otherwise we could divide by zero.
930    
931            * test/test_classgen.py (ClassGenTest.doClassRangeTest,
932            ClassGenTest.doClassSingleTest): Call doBoundsTest to
933            check the end classification groups against the
934            proper property values.
935            (ClassGenTest.doBoundsTest): New. Checks the first and
936            last classification groups to make sure their properties
937            are the correct upper and lower bounds for a color ramp.
938    
939    2003-07-02  Jonathan Coles   <[email protected]>
940    
941            * Thuban/Model/classgen.py (generate_singletons,
942            generate_uniform_distribution, generate_quantiles,
943            GenQuantiles0): The denominator was one to high when
944            calculating the index for the ramp causing the index
945            to never to reach one.
946    
947    2003-07-02  Jonathan Coles   <[email protected]>
948    
949            Changed the singature of ClassGroupRange.__init__ and
950            ClassGroupRange.SetRange() so that the min/max values are
951            passed as a tuple. This makes a better calling scheme for
952            when a Range object is passed instead.
953    
954            * Thuban/Model/classgen.py: Fixed parameters to
955            ClassGroupRange constructor.
956    
957            * Thuban/Model/classification.py (ClassGroupRange.__init__):
958            Consolidate the min/max parameters into a single _range which
959            can either be a tuple or a Range object.
960            (ClassGroupRange.SetRange): Consolidate the min/max parameters
961            into a single _range which can either be a tuple or a Range object.
962    
963            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
964            call to ClassGroupRange constructor to use a tuple.
965    
966            * Thuban/Model/layer.py (Layer.SetClassification): Switch
967            the classification instance variable to the new class
968            before calling _set_layer otherwise subscribers to a
969            LAYER_CHANGED event will not see any difference.
970    
971            * test/test_classification.py: Fix tests of ClassGroupRange
972            so that they use the new signature.
973    
974            * test/test_load.py: Fix use of ClassGroupRange so that it
975            uses the new signature.
976    
977            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
978            uses the new signature.
979    
980            * test/test_save.py: Fix use of ClassGroupRange so that it
981            uses the new signature.
982    
983    
984    2003-07-01  Jonathan Coles   <[email protected]>
985    
986            * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.
987            Import used objects/class from color.
988            (generate_singletons): We don't
989            need the numGroups parameter anymore because we are using
990            the new ramps with GetProperties().
991            (generate_uniform_distribution): Use new ramp method
992            GetProperties().
993            (generate_quantiles, GenQuantiles0): Use new ramp method
994            GetProperties().
995            (CustomRamp.SetNumGroups): Removed. The ramps now map
996            a value from 0 to 1 to class properties so the number
997            of groups is not needed ahead of time.
998            (CustomRamp.next): Removed. CustomRamp does not support
999            interation anymore.
1000            (CustomRamp.GetProperties): Returns a ClassGroupProperties
1001            object based on the index value from 0 to 1 that is
1002            passed to it.
1003            (GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp):
1004            Made into instances of Monochromatic class instread of
1005            deriving from it.
1006            (HotToCold.SetNumGroups): Removed. See CustomRamp.
1007            (HotToCold.next): Removed. See CustomRamp.
1008    
1009            * Thuban/Model/classification.py: Fixes RTbug #1973, 1971.
1010            (Classification.SetField, Classification.SetFieldType):
1011            Replaced with SetFieldInfo.
1012            (Classification.SetFieldInfo): New. Does a better job of
1013            what SetField and SetFieldType used to do by combining
1014            their function since they should really always be done
1015            at the same time.
1016            (Classification.SetLayer): Renamed to _set_layer.
1017            (Classification._set_layer): Should only be called from
1018            Layer's SetClassification. This does not cause a recursive
1019            call as SetLayer did because we know that Layer knows about
1020            the classification.
1021    
1022            * Thuban/Model/color.py: Fixes RTbug #1971.
1023            (_Transparent): Renamed from Transparent so it doesn't
1024            conflict with the module variable.
1025            (Transparent, Black): Renamed from Color.Transparent,
1026            Color.Black so they are not class variables.
1027    
1028            * Thuban/Model/layer.py: Fixes RTbug #1971, 1973.
1029            (Layer.Destroy): We don't need to call SetClassification
1030            anymore to clear out the back reference in the classifcation
1031            to the layer. It's better to set it to None using _set_layer,
1032            and we won't be creating another clas object too.
1033            (Layer.SetClassification): Classification._set_layer is not
1034            recursive so remove all the locking variables. Also clean
1035            up the code so that it remains unchanged if something fails.
1036    
1037            * Thuban/Model/load.py: Fixes RTbug #1971.
1038            (SessionLoader.start_classification): Call
1039            Classification.SetFieldInfo().
1040    
1041            * Thuban/Model/save.py: Removed import of Color which wasn't
1042            being used.
1043    
1044            * Thuban/UI/classgen.py: Fixes RTbug #1972.
1045            (ClassGenDialog.__init__): Color ramps are now instances
1046            already so we don't need to create any new objects.
1047            (ClassGenDialog.OnOK): Check for numGroups is no longer
1048            necessary because we never use it.
1049    
1050            * Thuban/UI/classifier.py: Fixes RTbug #1971.
1051            (Classifier.__BuildClassification, Classifier.__SetGridTable):
1052            Call Classification.SetFieldInfo() instead of SetFieldType.
1053    
1054            * Thuban/UI/renderer.py: Fixes RTbug #1971.
1055    
1056            * Thuban/UI/view.py: Fixes RTbug #1974, 1971.
1057            (MapCanvas.__init__): Subscribe to the idle time event. Set
1058            background color to white.
1059            (MapCanvas.OnPaint): Set a flag indicating that we should
1060            render the map during idle time. If we already have a bitmap
1061            just draw it now.
1062            (MapCanvas.OnIdle): New. Render the map only during idle time.
1063            This also fixes a problem with the busy cursor under gtk.
1064    
1065            * test/test_classgen.py (ClassGenTest.test_generate_singletons):
1066            Fix calls to generate_singletons because the signature changed.
1067    
1068            * test/test_classification.py: Fix color references and
1069            change calls to Classification.[SetField|SetFieldType] to
1070            SetFieldInfo.
1071    
1072            * test/test_load.py: Fix color references.
1073    
1074            * test/test_load_0_2.py: Fix color references.
1075    
1076            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
1077            Change calls to Classification.[SetField|SetFieldType] to
1078            SetFieldInfo.
1079    
1080    2003-07-01  Frank Koormann   <[email protected]>
1081    
1082            MERGE from the greater-ms3 branch.
1083    
1084            * test/test_transientdb.py
1085            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
1086            New. Test join of two tables with partly equal column names.
1087    
1088            * Thuban/Model/transientdb.py (TransientJoinedTable.create):
1089            If duplicates in left and right tables column names are found,
1090            append '_' (underscores) to the name until it is unique.
1091            Create always new internal names for the resulting table and reference
1092            columns in the join statement with <table>.<column>
1093    
1094    2003-07-01  Bernhard Herzog  <[email protected]>
1095    
1096            * test/test_transientdb.py
1097            (TestTransientTable.test_transient_joined_table_same_column_name):
1098            New. Test whether joining on columns with the same names in both
1099            tables works.
1100            
1101            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
1102            sure to use the right internal names even when joining on field
1103            with the same names in both tables. Also, detect duplicate names
1104            in the joined table correctly.
1105    
1106    2003-07-01  Frank Koormann   <[email protected]>
1107    
1108            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
1109            Reverse List of layers to render in same order as in desktop legend.
1110    
1111    2003-06-30  Jonathan Coles   <[email protected]>
1112    
1113            * Thuban/version.py (make_tuple): Takes a version string
1114            and splits it into a tuple of at most three integers.
1115            Used make_tuple() to make tuple versions of the version
1116            numbers.
1117    
1118            * Thuban/UI/about.py: Add Thuban email addresses.
1119    
1120    2003-06-30  Jonathan Coles   <[email protected]>
1121    
1122            * Thuban/version.py: SQLite/PySQLite version dependencies
1123            were too high.
1124    
1125    2003-06-30  Jonathan Coles   <[email protected]>
1126    
1127            * Thuban/version.py: Update version to 0.8.1
1128            
1129            * MANIFEST.in: Added Projections so that default.proj is
1130            included.
1131    
1132    2003-06-26  Jonathan Coles   <[email protected]>
1133    
1134            New About box with lots more information including library
1135            versions and credits. More/better version checking before
1136            Thuban starts.
1137    
1138            * Thuban/UI/about.py: New. New About box that displays
1139            library version information and credits.
1140    
1141            * Thuban/version.py: Added new 'versions' dictionary which
1142            contains the verions of various libraries which are checked
1143            when the module loads.
1144            (verify_versions): Check all version numbers and returns
1145            a list of errors.
1146    
1147            * Thuban/UI/classifier.py (Classifier.__EnableButtons):
1148            Reset the status of the buttons as the situation warrants,
1149            but in a better more reliable way by not relying on the
1150            current status to determine what needs to change.
1151    
1152            * Thuban/UI/main.py (wxCHECK_VERSION): Removed. Not needed.
1153            (verify_versions): Remove most of the code since it is
1154            now in Thuban.version.verify_versions.o
1155    
1156            * Thuban/UI/mainwindow.py (MainWindow.About): Call new
1157            About box in Thuban.UI.about.
1158    
1159            * extensions/thuban/gdalwarp.cpp (get_gdal_version): New.
1160            Returns the version of gdal library being used as a string.
1161    
1162            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
1163            Removed.
1164            (get_proj_version): Return the version of PROJ that the file
1165            was compiled with.
1166            (get_gtk_version): Return th version of GTK that the file
1167            was compiled with.
1168    
1169    2003-06-25  Jonathan Coles   <[email protected]>
1170    
1171            * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent
1172            of the SelectPropertiesDialog should be self so the window
1173            appears on top.
1174            (ClassGroupPropertiesCtrl.DoEdit): The parent
1175            of the SelectPropertiesDialog should be self so the window
1176            appears on top.
1177    
1178            * Thuban/UI/resource.py: Cleaned up how we determine file
1179            extensions.
1180            (GetImageResource): Return an wxImage from our Resources.
1181    
1182    2003-06-24  Jonathan Coles   <[email protected]>
1183    
1184            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
1185            Check that a layer has a classification before trying
1186            to get it. Raster layers don't have classifications.
1187    
1188    2003-06-23  Jonathan Coles   <[email protected]>
1189            
1190            * setup.py: Add Resources/XML to resource list.
1191        
1192    2003-06-23  Jonathan Coles   <[email protected]>
1193    
1194            * setup.cfg: Fix copyright dates
1195        
1196    2003-06-23  Jonathan Coles   <[email protected]>
1197    
1198            * MANIFEST.in: Update with Resources/XML
1199    
1200            * setup.py: Don't include Locale resources yet as we don't
1201            have any and it causes problems building the distribution
1202            for Windows. Update version to 0.8.0.
1203    
1204            * Doc/thuban.dtd: Removed since it is now in Resources/XML.
1205    
1206            * Thuban/UI/mainwindow.py: Add blank line at the end because
1207            file was not being read correctly building the Windows
1208            distribution.
1209    
1210    2003-06-23  Jonathan Coles   <[email protected]>
1211    
1212            * Thuban/UI/mainwindow.py (MainWindow.About): Fix text.
1213    
1214            * Thuban/version.py: Temporarily update longversion for
1215            the 0.8 release so that it doesn't have the cvs revision.
1216    
1217    2003-06-23  Jonathan Coles   <[email protected]>
1218    
1219            * Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield
1220            to make sure that we don't create reentrant possibilities with
1221            wxYield.
1222    
1223            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor()
1224            directly to avoid the wxSafeYield() call which generates an
1225            OnPaint event causing infinite recursion. Don't try to catch
1226            exception anymore. This was for before there were limits on map
1227            scaling.
1228    
1229    2003-06-23  Bernhard Herzog  <[email protected]>
1230    
1231            Bug fix for RT #1961:
1232    
1233            * Thuban/Model/load.py (SessionLoader.start_derivedshapesource):
1234            Register DerivedShapestores with the session
1235    
1236            * Thuban/Model/session.py (Session.Tables): Make sure each table
1237            is only listed once.
1238    
1239            * test/test_load.py (TestJoinedTable.test): Add check_format call.
1240            Update file contents to match the one written out.
1241    
1242    2003-06-20  Bernhard Herzog  <[email protected]>
1243    
1244            * test/xmlsupport.py (SaxEventLister.startElementNS)
1245            (SaxEventLister.endElementNS): Do not include the qname. Python
1246            2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it
1247            is (presumably incorrectly) None, whereas it's a string with the
1248            element name in the later versions.
1249    
1250            * test/test_xmlsupport.py (TestEventList.test_even_list_simple)
1251            (TestEventList.test_even_list_namespace): Update tests to reflect
1252            the new behaviour
1253            (TestEventList.test_even_list_id_normalization): Fix doc-string
1254    
1255    2003-06-20  Jonathan Coles   <[email protected]>
1256    
1257            * Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden
1258            by deriving classes to determine if that layer supports shapes.
1259            (Layer): Override HasShapes and return true.
1260    
1261            * Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor()
1262            instead of a direct call to wx[Begin|End]CusyCursor().
1263            (GenUniquePanel._OnRetrieve): Set busy cursor while retrieving
1264            table data.
1265    
1266            * Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor):
1267            New. Wrappers around the wxWindows functions that allow us to
1268            make additional calls such as wxYield which gives the native
1269            system a chance to update the cursor correctly.
1270    
1271            * Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor()
1272            instead of a direct call to wx[Begin|End]CusyCursor().
1273    
1274            * Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor()
1275            instead of a direct call to wx[Begin|End]CusyCursor().
1276            (MapCanvas.find_shape_at): Check if the current search layer
1277            support shapes, otherwise go on to the next layer.
1278    
1279            * test/test_layer.py: Add tests in each type of layer for
1280            HasClassification() and HasShapes()
1281    
1282  2003-06-20  Jonathan Coles   <[email protected]>  2003-06-20  Jonathan Coles   <[email protected]>
1283    
1284          * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after          * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after

Legend:
Removed from v.1272  
changed lines
  Added in v.1573

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26