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

Legend:
Removed from v.490  
changed lines
  Added in v.646

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26