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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26