/[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 1349 by jonathan, Tue Jul 1 16:12:38 2003 UTC revision 1506 by jonathan, Tue Jul 29 14:29:25 2003 UTC
# Line 1  Line 1 
1    2003-07-29  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
4            python exception hook here so that we are sure to catch any
5            Thuban exception that happen during initialization.
6    
7            * Thuban/UI/main.py (main): Don't set the exception hook here,
8            it will get set in ThubanApplication.OnInit.
9    
10    2003-07-29  Jonathan Coles   <[email protected]>
11                                                                                
12            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
13            Removed and called it show_exception_dialog() so that the exception
14            handler can be set before the class is created.
15                                                                                
16            * Thuban/UI/main.py (main): Install the exception handler before
17            a ThubanApplication is created.
18                                                                                    
19    2003-07-29  Bernhard Herzog  <[email protected]>
20    
21            * po/it.po: New. Italian translation by Maurizio Napolitano
22    
23            * po/ru.po: New. Russian translation by Alex Shevlakov
24    
25    2003-07-29  Frank Koormann   <[email protected]>
26    
27            * Doc/manual/thuban-manual.xml: gaspell-checked.
28    
29    2003-07-29  Jonathan Coles   <[email protected]>
30    
31            * Doc/manual/images/3_5_legend.png: Added border to improve look
32            on white background.
33    
34    2003-07-29  Jonathan Coles   <[email protected]>
35    
36            * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added
37            descriptions for the legend toolbar.
38    
39            * Doc/manual/images/4_2_raster_layer_properties.png: Removed
40            cursor from dialog box.
41    
42    2003-07-28  Jonathan Coles   <[email protected]>
43    
44            * Doc/manual/thuban-manual.xml: More screenshots and more chapters.
45    
46            * Doc/manual/images/2_4_session_tree.png,
47            Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png,
48            Doc/manual/images/4_2_layer_properties.png,
49            Doc/manual/images/4_2_raster_layer_properties.png,
50            Doc/manual/images/5_3_genclass.png,
51            Doc/manual/images/5_classification.png,
52            Doc/manual/images/6_projection.png,
53            Doc/manual/images/7_1_table_view.png,
54            Doc/manual/images/7_2_5_join.png: New screenshots.
55    
56    2003-07-24  Jonathan Coles   <[email protected]>
57    
58            * Doc/manual/thuban-manual.xml: Chapter on Projection Management.
59    
60    2003-07-24  Jonathan Coles   <[email protected]>
61    
62            * Doc/manual/thuban-manual.xml: Added EPS images and wrote
63            chapter on Layer Management.
64    
65            * Doc/manual/Makefile: New. Makefile to generate all formats for the
66            manual and images.
67    
68    2003-07-24  Bernhard Herzog  <[email protected]>
69    
70            * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
71            it annoys lintian which warns about these files not being
72            executable. The #1 isn't necessary here since if you absolutely
73            must execute them you can always say "python <filename>".
74    
75            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove
76            superfluous code to set brush and pen for point shapes
77    
78            * Thuban/UI/viewport.py: Remove commented out code that wouldn't
79            belong in viewport anyway
80    
81    2003-07-24  Frank Koormann   <[email protected]>
82    
83            * Doc/manual/thuban-manual.xml: Added section on table management.
84    
85    2003-07-24  Bernhard Herzog  <[email protected]>
86    
87            * test/runtests.py (main): Recognize the long "verbose" option
88            correctly.
89    
90    2003-07-22  Jonathan Coles   <[email protected]>
91    
92            * Doc/manual/thuban-manual.xml: Continue to write first revision
93            of the manual.
94    
95            * Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method
96            with Begin/EndDrawing() calls to ensure we aren't doing to
97            many updates to the dc during rendering.
98            (ScreenRenderer.draw_shape_layer): self.draw_point_shape takes
99            a pen and brush argument so they need to be passed to the function.
100    
101            * Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New.
102            Calculates the minimum and maximum scale values. Factored out
103            of set_view_transform so that it could be used to zoom all the
104            way into a single point.
105            (ViewPort.set_view_transform): Call calc_min_max_scales().
106            (ViewPort.FitSelectedToWindow): Zoom to the maximum scale
107            if only a single point is selected.
108    
109            * Doc/manual/images/1_2_legend_close.png,
110            Doc/manual/images/1_2_legend_dock.png,
111            Doc/manual/images/1_2_mainwindow.png,
112            Doc/manual/images/1_2_mainwindow.ps,
113            Doc/manual/images/1_2_mainwindow.sk,
114            Doc/manual/images/3_2_fullextent.png,
115            Doc/manual/images/3_2_fulllayerextent.png,
116            Doc/manual/images/3_2_fullshapeextent.png,
117            Doc/manual/images/3_2_pan.png,
118            Doc/manual/images/3_2_zoomin.png,
119            Doc/manual/images/3_2_zoomout.png,
120            Doc/manual/images/3_3_identify.png,
121            Doc/manual/images/3_3_label.png,
122            Doc/manual/images/3_5_invisible.png,
123            Doc/manual/images/3_5_movedown.png,
124            Doc/manual/images/3_5_moveup.png,
125            Doc/manual/images/3_5_props.png,
126            Doc/manual/images/3_5_tobottom.png,
127            Doc/manual/images/3_5_totop.png,
128            Doc/manual/images/3_5_visible.png: New. Images for the documentation.
129    
130    2003-07-18  Bernhard Herzog  <[email protected]>
131    
132            * Thuban/UI/messages.py (MAP_REPLACED): New message.
133    
134            * Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED
135            after the new map has been assigned
136    
137            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
138            Delegate MAP_REPLACED to the canvas too
139            (MainWindow.prepare_new_session): Removed. Thanks to the new
140            MAP_REPLACED message it's no longer needed
141            (MainWindow.OpenSession, MainWindow.NewSession):
142            prepare_new_session has been removed.
143    
144            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
145            MAP_REPLACED so that we can close the dialog if a new map is set.
146            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
147            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
148            dialog
149    
150            * test/test_viewport.py (SimpleViewPortTest)
151            (SimpleViewPortTest.test_default_size): Add doc-strings
152            (ViewPortTest.setUp): Bind map to self.map so we can use it in
153            tests. Subscribe to MAP_REPLACED messages too.
154            (ViewPortTest.tearDown): No need to explicitly unsubscribe
155            (ViewPortTest.test_set_map): New test for the SetMap method.
156    
157    2003-07-18  Bernhard Herzog  <[email protected]>
158    
159            * test/test_viewport.py (SimpleViewPortTest.test_default_size):
160            Move this test from ViewPortTest.setUp to this new separate test
161            case. setUp is not the place for the actual tests.
162            (ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some
163            more of the test from setUp to the new test test_inital_settings.
164            (ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win)
165            (ViewPortTest.test_proj_conv): Split test_proj_conv into
166            test_win_to_proj and test_proj_to_win and make the tests easier to
167            understand
168            (ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor)
169            (ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate)
170            (ViewPortTest.test_unprojected_rect_around_point)
171            (ViewPortTest.test_find_shape_at, ViewPortTest.testTools):
172            Reformat to increase readability.
173    
174    2003-07-18  Bernhard Herzog  <[email protected]>
175    
176            * Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse.
177    
178    2003-07-18  Bernhard Herzog  <[email protected]>
179    
180            * test/runtests.py: The test suite can now be run without an X
181            connection. To make sure this remains true, remove the DISPLAY
182            environment variable so that an error occurs if the wxGTK is
183            imported accidentally
184    
185    2003-07-18  Bernhard Herzog  <[email protected]>
186    
187            * Thuban/UI/viewport.py: Remove unused imports
188    
189            * Thuban/UI/view.py: Remove unused imports
190    
191    2003-07-18  Bernhard Herzog  <[email protected]>
192    
193            * test/test_export.py Remove unused imports. The OutputTransform
194            function is now in viewport.py and is called output_transform
195            (TestScalebar.test_output_transform)
196            (TestScalebar.test_OutputTransform): Renamed to
197            test_output_transform and updated to use output_transform instead
198            of OutputTransform
199    
200            * Thuban/UI/view.py (OutputTransform): Moved to viewport.py and
201            renamed.
202            (MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was
203            renamed to output_transform
204    
205            * Thuban/UI/viewport.py (OutputTransform, output_transform):
206            Rename to output_transform
207    
208    2003-07-18  Bernhard Herzog  <[email protected]>
209    
210            * Thuban/Model/layer.py (Layer.__init__): Rename
211            classificationField to classificatin_column and init it here so
212            that it can be used in SetClassificationColumn
213            (Layer.GetClassificationColumn, Layer.GetClassificationField):
214            Rename to GetClassificationColumn.
215            (Layer.SetClassificationColumn, Layer.SetClassificationField):
216            Rename to SetClassificationColumn and issue a LAYER_CHANGED
217            message if the column changes.
218            (Layer._classification_changed, Layer.ClassChanged): Rename to
219            _classification_changed. Update the callers.
220            (Layer.SetShapeStore): Further field->column renames.
221    
222            * Thuban/Model/load.py (SessionLoader.start_classification)
223            (SessionLoader.start_clpoint): Updates because of
224            field->column method name changes in the Layer class
225    
226            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
227            because of field->column method name changes in the Layer class
228    
229            * Thuban/UI/classifier.py (Classifier.__init__)
230            (Classifier._OnTry, Classifier._OnRevert): Updates because of
231            field->column method name changes in the Layer class
232    
233            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
234            because of field->column method name changes in the Layer class
235    
236            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
237            of field->column method name changes in the Layer class
238    
239            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
240            (SaveSessionTest.testClassifiedLayer): Update because of
241            field->column method name changes in the Layer class
242    
243            * test/test_layer.py (SetShapeStoreTests.setUp)
244            (SetShapeStoreTests.test_sanity): Update because of field->column
245            method name changes in the Layer class
246            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
247            (TestLayerModification.test_sanity)
248            (TestLayerModification.test_initial_settings): remove unsued code
249            and rename to test_sanity.
250            (TestLayerModification.test_set_classification): New test for
251            SetClassification and SetClassificationField.
252    
253    2003-07-18  Bernhard Herzog  <[email protected]>
254    
255            * test/test_classgen.py (TestFixedRamp.test): Extend test to check
256            the non-fixed values as well. The old test would have accepted a
257            fixed ramp that only returnes the fixed properties
258    
259    2003-07-17  Jonathan Coles   <[email protected]>
260    
261            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
262            shots for the manual. The XCF file is the source image and
263            has additional layers to support changes.
264    
265            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
266    
267            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
268            Return both the new class and the field name.
269    
270            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
271            fit the map to the window as this changes any zoom level that
272            the user may have set.
273    
274    2003-07-16  Jonathan Coles   <[email protected]>
275    
276            * Thuban/Model/classgen.py (generate_singletons,
277            generate_uniform_distribution, generate_quantiles): Remove
278            fixes parameter, but maintain the same functionality by having
279            the calling function pass a FixedRamp object for the ramp.
280            (FixedRamp): New. Adapts a ramp to have fixed property values.
281    
282            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
283            (Classification): Inherit from Publisher.
284            (Classification.__init__): Remove the layer parameter.
285            Classifications no longer need to have a parent layer.
286            (Classification.GetField, Classification.GetFieldType,
287            Classification.SetFieldInfo): Removed. The field name is stored
288            in the layer, and the type can be retreived by calling
289            Layer.GetFieldType().
290            (Classification._set_layer, Classification.GetLayer): Removed.
291            Classifications no longer have a parent layer.
292    
293            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
294            classification.
295            (Layer.SetShapeStore): Reset the classification first while
296            we still have the old shape store to work with.
297            (Layer.GetClassificationField, Layer.SetClassificationField):
298            New. Method for getting/setting the field to classify on.
299            (Layer.SetClassification): Simplified now that the layer
300            simply has to hold a reference to the classification and not
301            tell the classification who owns it.
302            Fixes RTbug #2023.
303    
304            * Thuban/Model/load.py (SessionLoader.start_classification):
305            Set the field name on the layer, not the classification.
306    
307            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
308            classification is modified.
309    
310            * Thuban/Model/save.py (SessionSaver.write_classification):
311            Get the field name and type from the layer.
312    
313            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
314            parameter records to rows and add docstring. Fixes RTbug #1997.
315    
316            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
317            ramp when we need to fix certain values of a ramp rather than
318            using the old fixes parameter. Fixes RTbug #2024.
319    
320            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
321            parameter.
322            (ClassTable.Reset): Add fieldType parameter and use it, rather
323            than asking the classification.
324            (Classifier.__init__): Remember the original class's field
325            and ask the layer for the field type, rather than the classification.
326            (Classifier.__SetGridTable): Retrieve the field and field type
327            for the table because they are not in the classification.
328            (Classifier._OnTry, Classifier._OnRevert): Set the classification
329            field on the layer in addition to the classification itself.
330    
331            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
332            classification field from layer.
333    
334            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
335            classification field from layer. Split up tests and remove
336            *-imports. Fixes RTbug #1992.
337    
338            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
339    
340            * test/test_classification.py
341            (TestClassification.test_classification): Remove tests for methods
342            that no longer exist.
343    
344            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
345            __init__ no longer has a field parameter, use SetClassificationField.
346            (SetShapeStoreTests.test_sanity): Use layer object to get class
347            field info.
348    
349            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
350            SetClassificationField on layer to set class field info.
351    
352            * test/test_viewport.py: Renamed from test/test_view.py.
353    
354    2003-07-16  Jan-Oliver Wagner <[email protected]>
355    
356            * Doc/manual/thuban-manual.xml: Added authors and an initial
357            coarse structure.
358    
359    2003-07-15  Bernhard Herzog  <[email protected]>
360    
361            * test/support.py (FloatComparisonMixin): This is a mix-in class
362            and therefore should not be derived from any other class.
363    
364            * test/test_range.py (RangeTest): FloatComparisonMixin is a
365            mix-in, so derive from TestCase as well.
366    
367    2003-07-15  Bernhard Herzog  <[email protected]>
368    
369            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
370            draw_func handling a bit to remove one layer of indirection. This
371            makes the renderer about 10% faster in the non-classifying case
372            and the code a bit cleaner
373            (MapRenderer.draw_point_shape): Add the pen and brush parameters
374            and set them in the dc. Now the draw_point_shape method and
375            wxproj's draw_polygon_shape function have basically the same
376            signature so that both can be directly used as draw_func
377    
378    2003-07-15  Bernhard Herzog  <[email protected]>
379    
380            * Thuban/Model/save.py (SessionSaver.write_classification): Encode
381            string values (in addition to the labels) as UTF 8
382    
383            * Thuban/Model/load.py (SessionLoader.start_clpoint): Decode the
384            values if the field type is string
385    
386            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Test
387            saving a session with non-ascii string classification values.
388    
389            * test/test_load.py (TestClassification.file_contents)
390            (TestClassification.test): Check for non-ascii values in string
391            classifications
392    
393    2003-07-14  Jonathan Coles   <[email protected]>
394    
395            * test/test_view.py: New. Tests for ViewPort.
396    
397    2003-07-14  Frank Koormann   <[email protected]>
398    
399            * Thuban/Model/load.py (SessionLoader.start_map): Encode map
400            title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013
401    
402            * test/test_load_0_8.py (TestUnicodeStrings): New, test load of
403            unicode strings from session file: session title, map title and
404            projection name.
405            
406    2003-07-10  Jonathan Coles   <[email protected]>
407    
408            * Thuban/UI/viewport.py (Tool.MouseUp): Should have called
409            drag_stop, not drag_move when the mouse is released.
410    
411    2003-07-10  Jonathan Coles   <[email protected]>
412    
413            The most important part of this is the seperation of view.py into
414            two pieces. viewport.py now has a class called ViewPort which
415            contains all the non-wx parts of view.py and can therefore be
416            tested. view.py contains only the wx-specific parts and is fairly
417            simple.
418    
419            * Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes
420            RTTbug #1992.
421            * Thuban/UI/viewport.py: New. Contains non-wx view functionality.
422            RTTbug #1992.
423    
424            * Thuban/Model/classgen.py (generate_singletons,
425            generate_uniform_distribution, generate_quantiles):
426            Added 'fixes' parameter so that property attributes can
427            be held constant over the generated classification groups.
428            (CustomRamp.GetProperties): Remove unused variables.
429    
430            * Thuban/Model/map.py (Map.SetProjection): Send the old
431            projection as an argument to listeners of the MAP_PROJECTION_CHANGED
432            event.
433    
434            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records'
435            parameter which is a list of records that restricts which
436            records are saved. Fixes RTbug #1997.
437    
438            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
439            Port exception dialog from GREAT-ER. Fixes RTbug #1993.
440    
441            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls
442            to allow the user to fix line color/width on generated groups.
443            (ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_*
444            functions to optionally fix group properties.
445    
446            * Thuban/UI/main.py (main): Set exception hook to the
447            ShowExceptionDialog. Fixes RTbug #1993.
448    
449            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise
450            the table window when it is selectd to be shown.
451    
452            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an
453            Export Selection button and move the export buttons underneath
454            the table.
455            (QueryTableFrame.UpdateStatusText): Added event argument so
456            that it can respond to grid selection events. The status text
457            is now updated even when the table is not associated with a
458            layer as was previously assumed.
459            (QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed.
460            UpdateStatusText responds to these events.
461            (QueryTableFrame.OnSaveAs): Renamed to doExport.
462            (QueryTableFrame.doExport): Helper function that saves the
463            entire table, or selected rows, to a file.
464            (QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New.
465            Respond to export button events and call doExport.
466    
467            * extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure
468            the function doesn't return NULL without first setting a Python
469            Error.
470    
471            * test/runtests.py (main): Only print "Unknown option" for
472            unsupported options.
473    
474            * test/support.py (FloatComparisonMixin.assertFloatEqual): Take
475            optional epsilon argument to specify floating point accuracy.
476            (FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual
477            for each item test.
478    
479            * test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add
480            tests for saving selected records.
481    
482            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
483            tests for saving selected records.
484    
485            * test/test_map.py (TestMapWithContents.test_set_projection):
486            MAP_PROJECTION_CHANGED events send the old projection.
487    
488            * test/test_session.py
489            (TestSessionWithContent.test_forward_map_projection):
490            MAP_PROJECTION_CHANGED events send the old projection.
491    
492            * test/test_table.py (TableTest): Update tests to use non-deprecated
493            functions.
494    
495    2003-07-08  Bernhard Herzog  <[email protected]>
496    
497            * Thuban/Model/transientdb.py (TransientTableBase.Width): The type
498            constants in the column objects are the standard ones defined in
499            the table module.
500    
501            * test/test_transientdb.py
502            (TestTransientTable.test_transienttable_to_dbf): New. Test whether
503            exporting transient tables as DBF works. This should catch the bug
504            just fixed in TransientTableBase.Width.
505    
506    2003-07-08  Bernhard Herzog  <[email protected]>
507    
508            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the
509            interpolated colors correctly.
510    
511            * test/test_classgen.py (TestCustomRamp.test_color_interpolation):
512            New. Test case for the fix in classgen.py
513    
514    2003-07-08  Bernhard Herzog  <[email protected]>
515    
516            * test/runtests.py (main): Make the default output less verbose
517            and add a verbosity option (-v) to get the old output
518    
519    2003-07-08  Bernhard Herzog  <[email protected]>
520    
521            * Resources/XML/thuban-0.9.dtd: New. This will become the DTD for
522            0.9.
523    
524            * Thuban/Model/transientdb.py (TransientJoinedTable.JoinType):
525            New. Return the join type
526    
527            * Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9
528            DTD
529            (SessionSaver.write_data_containers): Save the join type for
530            joined tables
531    
532            * Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9
533            namespace
534            (SessionLoader.start_jointable): Handle the jointype attribute
535    
536            * test/test_load_0_8.py: New. Effectively a copy of test_load.py
537            as of Thuban 0.8. These are now tests to determine whether Thuban
538            can still read files generated by Thuban 0.8
539    
540            * test/test_load.py (LoadSessionTest.dtd)
541            (TestSingleLayer.file_contents)
542            (TestLayerVisibility.file_contents, TestLabels.file_contents)
543            (TestLayerProjection.file_contents)
544            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
545            (TestJoinedTable.file_contents)
546            (TestLoadError.file_contents): Update for new DTD
547            (TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test
548            for new join type attribute
549    
550            * test/test_save.py (SaveSessionTest.dtd)
551            (SaveSessionTest.testEmptySession)
552            (SaveSessionTest.testSingleLayer)
553            (SaveSessionTest.testLayerProjection)
554            (SaveSessionTest.testRasterLayer)
555            (SaveSessionTest.testClassifiedLayer)
556            (SaveSessionTest.test_dbf_table)
557            (SaveSessionTest.test_joined_table): Update for new DTD
558            (SaveSessionTest.test_joined_table): Add test for new join type
559            attribute
560    
561    2003-07-04  Bernhard Herzog  <[email protected]>
562    
563            * Thuban/Model/table.py (_find_dbf_column_names): New. Helper
564            function for table_to_dbf
565            (table_to_dbf): Deal with names longer than the 10 character limit
566    
567            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
568            doc-string
569            (TestTableToDBF.test_table_to_dbf_long_col_names): New test for
570            long column names
571    
572    2003-07-03  Bernhard Herzog  <[email protected]>
573    
574            * Doc/manual/thuban-manual.xml: Fix the CVS Revision Tag syntax
575    
576    2003-07-03  Bernhard Herzog  <[email protected]>
577    
578            * Doc/manual/thuban-manual.xml, Doc/manual/README: New. Skeleton
579            for the Thuban manual and README with some basic information about
580            the manual
581    
582    2003-07-03  Bernhard Herzog  <[email protected]>
583    
584            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
585            Update doc-string
586            (TransientJoinedTable.create): Do not modify the column objects of
587            the input tables in place and copy all columns of the input tables
588            into the joined table after all.
589    
590            * test/test_transientdb.py
591            (TestTransientTable.test_transient_joined_table_same_column_name):
592            Update to reflect the new behavior
593            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
594            Update to reflect the new behavior
595            (TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
596            New test case for a bug which modified the column objects in place
597    
598    2003-07-02  Jonathan Coles   <[email protected]>
599    
600            * Thuban/Model/classgen.py (generate_singletons,
601            generate_uniform_distribution, generate_quantiles,
602            GenQuantiles0): Make sure maxValue isn't less than
603            one, otherwise we could divide by zero.
604    
605            * test/test_classgen.py (ClassGenTest.doClassRangeTest,
606            ClassGenTest.doClassSingleTest): Call doBoundsTest to
607            check the end classification groups against the
608            proper property values.
609            (ClassGenTest.doBoundsTest): New. Checks the first and
610            last classification groups to make sure their properties
611            are the correct upper and lower bounds for a color ramp.
612    
613    2003-07-02  Jonathan Coles   <[email protected]>
614    
615            * Thuban/Model/classgen.py (generate_singletons,
616            generate_uniform_distribution, generate_quantiles,
617            GenQuantiles0): The denominator was one to high when
618            calculating the index for the ramp causing the index
619            to never to reach one.
620    
621    2003-07-02  Jonathan Coles   <[email protected]>
622    
623            Changed the singature of ClassGroupRange.__init__ and
624            ClassGroupRange.SetRange() so that the min/max values are
625            passed as a tuple. This makes a better calling scheme for
626            when a Range object is passed instead.
627    
628            * Thuban/Model/classgen.py: Fixed parameters to
629            ClassGroupRange constructor.
630    
631            * Thuban/Model/classification.py (ClassGroupRange.__init__):
632            Consolidate the min/max parameters into a single _range which
633            can either be a tuple or a Range object.
634            (ClassGroupRange.SetRange): Consolidate the min/max parameters
635            into a single _range which can either be a tuple or a Range object.
636    
637            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
638            call to ClassGroupRange constructor to use a tuple.
639    
640            * Thuban/Model/layer.py (Layer.SetClassification): Switch
641            the classification instance variable to the new class
642            before calling _set_layer otherwise subscribers to a
643            LAYER_CHANGED event will not see any difference.
644    
645            * test/test_classification.py: Fix tests of ClassGroupRange
646            so that they use the new signature.
647    
648            * test/test_load.py: Fix use of ClassGroupRange so that it
649            uses the new signature.
650    
651            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
652            uses the new signature.
653    
654            * test/test_save.py: Fix use of ClassGroupRange so that it
655            uses the new signature.
656    
657    
658  2003-07-01  Jonathan Coles   <[email protected]>  2003-07-01  Jonathan Coles   <[email protected]>
659    
660          * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.          * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.

Legend:
Removed from v.1349  
changed lines
  Added in v.1506

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26