/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 514 by jonathan, Tue Mar 11 16:44:44 2003 UTC revision 647 by jonathan, Fri Apr 11 14:26:41 2003 UTC
# Line 1  Line 1 
1    2003-04-11  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/resource.py: New. Centralize the loading of resources
4            such as bitmaps.
5    
6            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons,
7            added images to the move buttons, added 'reverse' button.
8            (CustomRampPanel.__init__): Added images to the move buttons.
9            (GreyRamp): New. Generates a ramp from white to black.
10            (HotToColdRamp): New. Generates a ramp from cold to hot colors.
11    
12            * Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to
13            ID_PROPERTY_*.
14            (Classifier.__init__): Minor changes to the layout.
15            (Classifier._OnTitleChanged): Listen for when the user edits the
16            title and update the dialog's title and the layer's title.
17    
18            * Thuban/UI/dock.py: Use new bitmaps for the control buttons.
19    
20            * Thuban/UI/legend.py: Use new bitmaps for the control buttons.
21            (LegendTree._OnMsgLayerTitleChanged): Change the displayed title
22            if the layer's title changes.
23    
24            * Thuban/UI/mainwindow.py: Added new menu item and associated code
25            to open a dialog to rename the map.
26            (MainWindow): Use new resource class to import bitmaps.
27    
28    2003-04-11  Jonathan Coles   <[email protected]>
29    
30            * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,
31            Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,
32            Resources/Bitmaps/group_use_none.xpm,
33            Resources/Bitmaps/group_use_not.xpm,
34            Resources/Bitmaps/hide_layer.xpm,
35            Resources/Bitmaps/layer_properties.xpm,
36            Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,
37            Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:
38            New.
39    
40    2003-04-10  Jonathan Coles   <[email protected]>
41    
42            * Thuban/Model/classification.py: (ClassGroupRange.__init__):
43            Should pass group to ClassGroup constructor.
44    
45    2003-04-10  Jonathan Coles   <[email protected]>
46    
47            * Thuban/Model/classification.py: (ClassGroup): Move all the common
48            methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__)
49            here. Implement SetVisible(), IsVisible().
50            (ClassGroup.__init__): Add group parameter which acts as a copy
51            constructor.
52    
53            * Thuban/UI/classifier.py (ClassTable): Add a new column for the
54            "Visible" check boxes.
55            (Classifier): Rename the buttons and refactor the code to match
56            the new labels.
57    
58            * Thuban/UI/legend.py: Classify button is now called "Properties".
59            Refactored the code to change variable names.
60            (LegendTree.__FillTreeLayer): Only list a group if it is visible.
61    
62            * Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to
63            MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties
64            renamed to MainWindow.LayerEditProperties.
65            (MainWindow.ToggleLegend): Don't include map name in legend title.
66            (MainWindow.SetMap): Added the map name to the window title.
67            (MainWindow.LayerFillColor, MainWindow.LayerTransparentFill,
68            MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed.
69            Functionality is found in the layer properties dialog.
70    
71            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
72            draw visible groups.
73    
74    2003-04-09  Jonathan Coles   <[email protected]>
75    
76            * Thuban/UI/classgen.py: Modifications to allow simple
77            addition and selection of new color schemes.
78            (MonochromaticRamp): New. Generates a ramp between two colors.
79            (RedRamp): New. Generates a ramp of all red.
80            (GreenRamp): New. Generates a ramp of all green.
81            (BlueRamp): New. Generates a ramp of all blue.
82    
83    2003-04-09  Jonathan Coles   <[email protected]>
84    
85            * Thuban/Model/classification.py (Classification.__deepcopy__):
86            Need to copy over field and fieldType attributes.
87    
88            * Thuban/Model/table.py (Table.field_range): New. Retrive the
89            maximum and minimum values over the entire table for a given
90            field.
91            (Table.GetUniqueValues): New. Retrieve all the unique values
92            in the table for a given field.
93    
94            * Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel.
95            (GenUniquePanel): New. Controls to allow the user to select
96            which unique field values they would like in the classification.
97            (CustomRampPanel): Code that was in ClassGenDialog that allows
98            the user to select the properties for a custom ramp.
99            (ClassGenerator.GenUniformDistribution): Was called GenerateRanges.
100    
101            * Thuban/UI/classifier.py: Removed a lot of debugging code.
102            (Classifier._SetClassification): Callback method so that the
103            class generator can set the classification in the grid.
104            (ClassGroupPropertiesCtrl): New. Encapsulates the drawing and
105            editing of a group properties class into a wxWindows control.
106    
107            * Thuban/UI/dock.py: It was decided that if the user closes
108            a dockable window the window should simply hide itself. That
109            way if the user wants to show the dock again it appears in the
110            same place as it was when it was closed.
111            (DockableWindow.Destroy): Call renamed method OnDockDestroy().
112            (DockableWindow._OnButtonClose): Hide the window instead of
113            destroying it.
114            (DockableWindow._OnClose): Hide the window instead of
115            destroying it.
116    
117            * Thuban/UI/legend.py (LegendTree): Use a private method to
118            consistently set the font and style of the text. Fixes RTbug #1786.
119    
120            * Thuban/UI/mainwindow.py: Import just the Classifier class.
121    
122    2003-04-07  Bernhard Herzog  <[email protected]>
123    
124            * Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item
125            to the map module
126    
127    2003-04-07  Bernhard Herzog  <[email protected]>
128    
129            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in
130            favor of ToggleSessionTree
131            (MainWindow.ToggleSessionTree): New method to toggle visibility of
132            the session tree.
133            (MainWindow.SessionTreeShown): New method to return whether the
134            session tree is currently shown.
135            (MainWindow.ToggleLegend): New method to toggle visibility of the
136            legend
137            (MainWindow.ShowLegend): Implement in terms of ToggleLegend and
138            LegendShown
139            (MainWindow.LegendShown): New method to return whether the legend
140            is currently shown.
141            (_method_command): Add checked parameter so we can define check
142            menu items
143            (_has_tree_window_shown, _has_legend_shown): Use the appropriate
144            mainwindow methods.
145            (show_session_tree, show_legend commands): Removed.
146            (toggle_session_tree, toggle_legend commands): New commands to
147            toggle the visibility of the dialogs
148    
149    2003-04-07  Jonathan Coles   <[email protected]>
150    
151            * Thuban/UI/classgen.py: Fix Windows problem.
152    
153            * Thuban/UI/dock.py: Fix Windows problem.
154    
155            * Thuban/UI/mainwindow.py: Use False instead of false.
156            (MainWindow.ShowLegend): Remove unnecessary switch parameter.
157    
158    2003-04-07  Jonathan Coles   <[email protected]>
159    
160            Since we now say that the order of the groups in a classification
161            matters, it makes sense to be able to manipulate that order. Most
162            of the changes to Thuban/Model/classification.py are to that end.
163    
164            * Thuban/Model/classification.py (Classification.AppendGroup,
165            Classification.InsertGroup, Classification.ReplaceGroup,
166            Classification.RemoveGroup, Classification.GetGroup): Do as the
167            names imply.
168            (Classification.FindGroup): This was called GetGroup, but GetGroup
169            takes an index, while FindGroup takes a value.
170            (Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER
171            REFERENCE. Currently there is a cyclic reference between the layer
172            and its classification. If the classification doesn't need to know
173            its owning layer we can change this, since it may make sense to be
174            able to use the same classification with different layers.
175    
176            * Thuban/Model/load.py: Use Classification.AppendGroup(), not AddGroup()
177    
178            * Thuban/UI/classgen.py: Use Classification.AppendGroup(),
179            not AddGroup()
180    
181            * Thuban/UI/classifier.py: Now that we can depend on the order in
182            a Classification and have methods to manipulate that order we don't
183            need to use our own data structures in the grid. We can simply make
184            the grid/table access the information they need from a copy of
185            the classification object.
186            (Classifier._OnCloseBtn): Event handler for when the user clicks
187            'Close'. This is needed so if the user applies changes and then
188            continues to change the table the user has the option of discarding
189            the most recent changes and keeping what they applied.
190    
191            * Thuban/UI/mainwindow.py: Put "Show Legend" and "Show Session Tree"
192            into the same group.
193    
194            * extensions/thuban/wxproj.cpp (check_version): If Thuban is compiled
195            with a really old version of proj, PJ_VERSION won't even be defined.
196            If it isn't defined then just compile so that the function always
197            returns Py_False.
198    
199            * test/test_classification.py: Fix tests to use the renamed methods.
200            Still need to write tests for the new methods.
201    
202    2003-04-04  Jonathan Coles   <[email protected]>
203    
204            * Thuban/UI/classifier.py (Classifier.__SelectField): Move the
205            call to SetSelection out of the method and before the call
206            to __SelectField in __init__. This prevents a recursion of events
207            when _OnFieldSelect is triggered by the user.
208    
209    2003-04-04  Jonathan Coles   <[email protected]>
210    
211            * Thuban/Model/classification.py: Rename Color.None to
212            Color.Transparent.
213            (ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
214            Don't bother copying the color, since Colors are immutable.
215    
216            * Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py,
217            Thuban/UI/classifier.py, Thuban/UI/mainwindow.py,
218            Thuban/UI/renderer.py, Thuban/UI/view.py:
219            Rename Color.None to Color.Transparent.
220        
221            * test/test_classification.py, test/test_load.py: Rename Color.None
222            to Color.Transparent.
223    
224    2003-04-04  Jonathan Coles   <[email protected]>
225    
226            * Thuban/Model/classification.py: Fix assert calls.
227            (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
228            Copy the color parameter rather than hold onto a reference.
229    
230            * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy
231            the color object.
232            (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
233            are sure there exists only one refernce to Color.None in the system.
234            This allows us to use 'is' rather than the comparision functions.
235            
236            * Thuban/Model/save.py: Fix assert calls.
237            
238            * Thuban/UI/classifier.py: Fix assert calls.
239            (ClassGrid._OnCellDClick): Call up to the classifier to open the
240            dialog to edit the groups properties.
241            (ClassGrid._OnCellResize): Make sure that the scollbars are drawn
242            correctly if a cell is resized.
243            (ClassTable.SetClassification): New. Changes the classification
244            that is in the table.
245            (ClassTable.__SetRow): Allow groups to be prepended.
246            (Classifier): New code for opening the EditProperties and
247            GenerateRanges dialogs.
248            (SelectPropertiesDialog.__GetColor): Only set the color in the
249            color dialog if the current color is not None.
250            
251            * Thuban/UI/dock.py: Fix assert calls.
252            
253            * Thuban/UI/legend.py: Fix assert calls.
254            
255            * Thuban/UI/renderer.py: Fix assert calls.
256            
257            * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating
258            classifications.
259            (GenRangePanel): Panel specific to range generation.
260            (GenSingletonPanel): Panel specific to singleton generation.
261            (ClassGenerator): Class responsible for actually generating
262            the classification from the data gathered in the dialog box.
263            (PropertyRamp): Generates properties whose values range from
264            a starting property to an ending property.
265    
266    2003-04-03  Bernhard Herzog  <[email protected]>
267    
268            * test/support.py (print_garbage_information): New function that
269            prints information about still connected messages and memory
270            leaks.
271            (run_suite): Removed.
272            (run_tests): New function for use as a replacement of
273            unittest.main in the test_* files. This one calls
274            print_garbage_information at the end.
275    
276            * test/runtests.py (main): Use support.print_garbage_information
277    
278            * test/test_layer.py: Use support.run_tests instead of
279            unittest.main so we get memory leak information
280            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
281            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
282            (TestLayerLegend.test_visibility): Call the layer's Destroy method
283            to fix a memory leak.
284    
285            * test/test_classification.py: Use support.run_tests instead of
286            unittest.main so we get memory leak information
287            (TestClassification.test_classification): Call the layer's Destroy
288            method to fix a memory leak.
289    
290    2003-04-02  Bernhard Herzog  <[email protected]>
291    
292            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
293            Handle the reference counts of the return value and errors in
294            PyArg_ParseTuple correctly.
295    
296            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
297            sure the filename is absolute to avoid problems when saving the
298            session again
299    
300            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
301    
302    2003-04-01  Jonathan Coles   <[email protected]>
303    
304            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
305            that there actually are points in the returned list of points
306            before trying to index into the list. The list may be empty if
307            the shape is a Null Shape.
308    
309    2003-04-01  Bernhard Herzog  <[email protected]>
310    
311            * test/test_map.py: Don't use from <module> import *
312    
313    2003-04-01  Jonathan Coles   <[email protected]>
314    
315            * Thuban/Model/session.py: Use LAYER_CHANGED instead of
316            LAYER_LEGEND_CHANGED
317    
318            * Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call
319            self.Destroy() to close the window after yesterday's changes.
320    
321            * test/test_map.py, test/test_session.py: Fix messages that
322            are sent from maps and layers.
323    
324    2003-03-31  Jonathan Coles   <[email protected]>
325    
326            * Thuban/UI/classifier.py: Commented out some debugging statements.
327            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
328            RTbug #1769.
329    
330            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
331            position (although position doesn't work yet under GTK).
332            (DockableWindow.Destroy): New. Called when the window must be
333            closed. Namely needed when the DockFrame closes and must close
334            its children.
335            (DockFrame): Listen for EVT_CLOSE and destroy all children.
336    
337            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
338            when then window is told to close.
339            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
340            comment in source for more info.
341    
342            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
343    
344            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
345            symmetry with other such methods.
346            (MainWindow.ShowLegend): Show the legend docked by default.
347    
348    2003-03-28  Jonathan Coles   <[email protected]>
349    
350            * Thuban/UI/classifier.py: Support for highlighting a specific
351            group within the grid when the classification dialog is opened.
352            Also contains a lot of debugging printouts which will later
353            be removed.
354    
355            * Thuban/UI/dock.py: Complete rework on the dock code so that
356            that it is fairly removed from the rest of the Thuban application.
357            It is easy to add new docks which the rest of the program having
358            to be aware of them.
359    
360            * Thuban/UI/legend.py: Modifications to support selecting a
361            specific group in the classification dialog. Changed how layers
362            are drawn when the layer is visible/invisible.
363    
364            * Thuban/UI/mainwindow.py: Removed legend specific code and
365            replaced it with calls to the new dock code.
366    
367            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
368            to check if scale > 0. Trying to track down a divide by zero.
369    
370    2003-03-26  Jonathan Coles   <[email protected]>
371    
372            * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.
373            (LegendPanel): Removed _OnDock()/_OnUnDock() methods which are
374            now part of DockableWindow.
375            (LegendPanel.DoOnSelChanged): Select the current layer in the
376            map.
377            (LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged()
378            with the selected layer and/or group.
379    
380    2003-03-26  Jonathan Coles   <[email protected]>
381    
382            This putback contains the code for dockable windows. There is
383            no support in wxWindows as of this date for windows that can
384            attach themselves to other windows.
385    
386            The current model contains a DockableWindow which has a parent
387            window for when it is detached and a dock window that it puts
388            its contents in when it is docked. The contents of a DockableWindow
389            must be a DockPanel. DockPanel itself derives from wxPanel.
390    
391            * Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED
392            message, not a LAYER_LEGEND_CHANGED message.
393    
394            * Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages.
395    
396            * Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE
397            as one of the style properties for the fieldTypeText item to
398            be sure that its size is correct when the text changes.
399    
400            * Thuban/UI/dock.py: New. Classes for the DockPanel and
401            DockableWindow.
402    
403            * Thuban/UI/legend.py: Added some more buttons and made the
404            LegendPanel a DockPanel.
405    
406            * Thuban/UI/mainwindow.py: Added sash windows to the main window
407            and supporting functions for manipulating the sashes.
408            (MainWindow.ShowLegend): Create a DockableWindow with the
409            LegendPanel as the contents.
410    
411            * Thuban/UI/messages.py: Added DOCKABLE_* messages
412    
413            * Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED,
414            not LAYER_LEGEND_CHANGED, messages.
415    
416    2003-03-25  Jonathan Coles   <[email protected]>
417    
418            * setup.py: Added custom script bdist_rpm_build_script so that
419            when the rpm is built the path to wx-config is correct.
420    
421            * setup.cfg: Added line saying to use the custom build script
422    
423    2003-03-20  Jonathan Coles   <[email protected]>
424    
425            Initial implementation of the Legend.
426    
427            * Thuban/UI/legend.py: New. Creates a window that shows the map's
428            Legend information and allows the user to add/modify classifications
429            and how the layers are drawn on the map.
430    
431            * setup.py: New command 'build_docs' which currently uses
432            happydoc to generate html documentation for Thuban.
433    
434            * Thuban/Model/classification.py (ClassGroup.GetDisplayText): New.
435            Returns a string which is appropriately describes the group.
436    
437            * Thuban/Model/layer.py (Layer.SetClassification): Generate a
438            LAYER_CHANGED event instead of a LAYER_LEGEND_CHANGED event.
439    
440            * Thuban/Model/map.py (Map): Rename messages and use new, more
441            specific, messages.
442    
443            * Thuban/Model/messages.py: New message to indicate that a layer's
444            data has changed (LAYER_CHANGED). New map messages to indicate
445            when layers have been added/removed/changed or if the stacking order
446            of the layers has changed.
447    
448            * Thuban/Model/session.py: Rename and use new messages.
449    
450            * Thuban/UI/classifier.py: Remember if any changes have actually
451            been applied so that if the dialog is cancelled without an application
452            of changes we don't have to set a new classification.
453            (ClassDataPreviewer): Pulled out the window specific code and put it
454            ClassDataPreviewWindow. ClassDataPreviewer can then be used to draw
455            symbols on any DC.
456            
457            * Thuban/UI/mainwindow.py: New code to open the legend.
458    
459            * Thuban/UI/view.py: Use new message names.
460    
461    2003-03-19  Jonathan Coles   <[email protected]>
462    
463            * Thuban/UI/main.py (verify_versions): New. Checks the versions
464            of Python, wxPython, and some other libraries.
465    
466            * extensions/thuban/wxproj.cpp (check_version): Checks the given
467            version against what wxproj was compiled with.
468            (check_version_gtk): If wxproj was compiled with gtk then check
469            the given version against the version of the gtk library
470            currently being used.
471    
472    2003-03-14  Bernhard Herzog  <[email protected]>
473    
474            * test/test_command.py: Run the tests when the module is run as a
475            script
476    
477    2003-03-14  Bernhard Herzog  <[email protected]>
478    
479            Implement selection of multiple selected shapes in the same layer:
480    
481            - Introduce a new class to hold the selection. This basically
482              replaces the interactor which was nothing more than the
483              selection anyway. A major difference is of course that the new
484              selection class supports multiple selected shapes in one layer
485            
486            - Move the object that represents the selection from the
487              application to the canvas. The canvas is a better place than the
488              application because the selection represents which shapes and
489              layer of the map displayed by the canvas are selected and
490              affects how the map is drawn.
491    
492            - Make the selection and its messages publicly available through
493              the mainwindow.
494    
495            - The non-modal dialogs do not get a reference to the interactor
496              anymore as they can simply refer to their parent, the
497              mainwindow, for the what the interactor had to offer.
498    
499            * Thuban/UI/selection.py: New module with a class to represent the
500            selection.
501    
502            * Thuban/UI/messages.py (SELECTED_TABLE, SELECTED_MAP): Remove
503            these unused messages
504    
505            * Thuban/UI/application.py (ThubanApplication.OnInit)
506            (ThubanApplication.OnExit, ThubanApplication.SetSession): The
507            interactor is gone now.
508            (ThubanApplication.CreateMainWindow): There is no interactor
509            anymore so we pass None as the interactor argument for now for
510            compatibility.
511    
512            * Thuban/UI/view.py (MapCanvas.delegated_messages)
513            (MapCanvas.Subscribe, MapCanvas.Unsubscribe): In Subscribe and
514            Unsubscribe, delegate messages according to the delegated_messages
515            class variable.
516            (MapCanvas.__getattr__, MapCanvas.delegated_methods): Get some
517            attributes from instance variables as described with the
518            delegated_methods class variable.
519            (MapCanvas.__init__): New instance variable selection holding the
520            current selection
521            (MapCanvas.do_redraw): Deal with multiple selected shapes. Simply
522            pass them on to the renderer
523            (MapCanvas.SetMap): Clear the selection when a different map is
524            selected.
525            (MapCanvas.shape_selected): Simple force a complete redraw. The
526            selection class now takes care of only issueing SHAPES_SELECTED
527            messages when the set of selected shapes actually does change.
528            (MapCanvas.SelectShapeAt): The selection is now managed in
529            self.selection
530    
531            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages)
532            (MainWindow.Subscribe, MainWindow.Unsubscribe): In Subscribe and
533            Unsubscribe, delegate messages according to the delegated_messages
534            class variable.
535            (MainWindow.delegated_methods, MainWindow.__getattr__): Get some
536            attributes from instance variables as described with the
537            delegated_methods class variable.
538            (MainWindow.__init__): The interactor as ivar is gone. The
539            parameter is still there for compatibility. The selection messages
540            now come from the canvas.
541            (MainWindow.current_layer, MainWindow.has_selected_layer):
542            Delegate to the the canvas.
543            (MainWindow.LayerShowTable, MainWindow.Classify)
544            (MainWindow.identify_view_on_demand): The dialogs don't need the
545            interactor parameter anymore.
546    
547            * Thuban/UI/tableview.py (TableFrame.__init__)
548            (LayerTableFrame.__init__, LayerTableFrame.OnClose)
549            (LayerTableFrame.row_selected): The interactor is gone. It's job
550            from the dialog's point of view is now done by the mainwindow,
551            i.e. the parent. Subscribe to SHAPES_SELECTED instead
552            of SELECTED_SHAPE
553            
554            * Thuban/UI/dialogs.py (NonModalDialog.__init__): The interactor
555            is gone. It's job from the dialog's point of view is now done by
556            the mainwindow, i.e. the parent.
557            
558            * Thuban/UI/classifier.py (Classifier.__init__): The interactor is
559            gone. It's job from the dialog's point of view is now done by the
560            mainwindow, i.e. the parent.
561    
562            * Thuban/UI/tree.py (SessionTreeView.__init__): The interactor is
563            gone. It's job from the dialog's point of view is now done by the
564            mainwindow, i.e. the parent.
565            (SessionTreeCtrl.__init__): New parameter mainwindow which is
566            stored as self.mainwindow. The mainwindow is need so that the tree
567            can still subscribe to the selection messages.
568            (SessionTreeCtrl.__init__, SessionTreeCtrl.unsubscribe_all)
569            (SessionTreeCtrl.update_tree, SessionTreeCtrl.OnSelChanged): The
570            selection is now accessible through the mainwindow. Subscribe to
571            SHAPES_SELECTED instead of SELECTED_SHAPE
572    
573            * Thuban/UI/identifyview.py (IdentifyView.__init__): Use the
574            SHAPES_SELECTED message now.
575            (IdentifyView.selected_shape): Now subscribed to SHAPES_SELECTED,
576            so deal with multiple shapes
577            (IdentifyView.__init__, IdentifyView.OnClose): The interactor is
578            gone. It's job from the dialog's point of view is now done by the
579            mainwindow, i.e. the parent.
580    
581            * Thuban/UI/controls.py (RecordListCtrl.fill_list): The second
582            parameter is now a list of shape ids.
583            (RecordTable.SetTable): The second parameter is now a list of
584            indices.
585    
586            * Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Rename the
587            selected_shape parameter and ivar to selected_shapes. It's now a
588            list of shape ids.
589            (MapRenderer.draw_label_layer): Deal with multiple selected
590            shapes. Rearrange the code a bit so that the setup and shape type
591            distinctions are only executed once.
592    
593            * test/test_selection.py: Test cases for the selection class
594    
595    2003-03-11  Jonathan Coles   <[email protected]>
596    
597            * Thuban/Model/load.py: Temporary fix so that the xml reader
598            doesn't cause Thuban to crash.
599    
600            * Thuban/Model/layer.py: Handle the cyclic references between
601            a layer and its classification better, and be sure to disconnect
602            the classification from the layer when the layer is destroyed
603            so that we don't maintain a cyclic reference that may not be
604            garbage collected.
605    
606            * Thuban/Model/classification.py: See comment for layer.py.
607    
608    2003-03-12  Jan-Oliver Wagner <[email protected]>
609    
610            * HOWTO-Release: New. Information on the steps for releasing
611            a new version of Thuban.
612    
613  2003-03-11  Jonathan Coles   <[email protected]>  2003-03-11  Jonathan Coles   <[email protected]>
614    
615          * Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog.          * Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog.

Legend:
Removed from v.514  
changed lines
  Added in v.647

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26