/[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 349 by bh, Wed Oct 23 14:46:18 2002 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]>
614    
615            * Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog.
616            Use True instead of true.
617            (Classifier): Should have a single panel in which all the controls lie.
618    
619            * Thuban/UI/proj4dialog.py: Add normal border.
620    
621            * Thuban/UI/tree.py: Fixed problem with bad item images under Windows.
622    
623            * Thuban/UI/mainwindow.py: Use True instead of true.
624    
625            * setup.py: Update some definitions to use wxWindows2.4 files
626    
627            * Data/iceland_sample_class.thuban: Fixed file so that the
628            field_type information is present.
629    
630    2003-03-10  Jonathan Coles   <[email protected]>
631    
632            * Thuban/UI/classifier.py (Classifier.__init__): Make the
633            field type label grow so that when the text changes the
634            size is updated correctly. This may be a wxWindows bug.
635    
636    2003-03-10  Jonathan Coles   <[email protected]>
637    
638            * Thuban/UI/application.py: Changed SESSION_CHANGED to
639            SESSION_REPLACED.
640    
641            * Thuban/UI/classifier.py: Wrap text with _().
642            (ClassGrid.CreateTable): Set dimensions and size hints here,
643            instead of in Reset, so we only set the size once.
644    
645            * Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()!
646    
647            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
648            Call Close() instead of Shutdown().
649    
650            * Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED.
651    
652            * Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED.
653            Go back to using OnClose() instead of Shutdown().
654    
655    2003-03-10  Jonathan Coles   <[email protected]>
656    
657            * Thuban/UI/classifier.py (Classifier): SelectField() needed
658            to know the old field index as well as the new one.
659    
660    2003-03-10  Jonathan Coles   <[email protected]>
661    
662            * Thuban/UI/classifier.py (Classifier): Use __SelectField()
663            to correctly set the table information and call this from
664            __init__ and from _OnFieldSelect so that all the information
665            is up to date when the dialog opens and when a field is changed.
666    
667    2003-03-10  Jonathan Coles   <[email protected]>
668    
669            * Thuban/Model/classification.py (Classification): Don't use
670            layer's message function directly, use the ClassChanged() method
671            when then classification changes. SetField/SetFieldType/SetLayer
672            must keep the information about field name and field type in
673            sync when an owning layer is set or removed.
674    
675            * Thuban/Model/layer.py: Added ClassChanged() so that the
676            classification can tell the layer when its data has changed.
677            (Layer.SetClassification): Accepts None as an arguement to
678            remove the current classification and correctly handles
679            adding a new classification.
680    
681            * Thuban/Model/load.py: Comment out print statement
682    
683            * test/test_classification.py, test/test_save.py: New and
684            improved tests.
685    
686    2003-03-07  Jonathan Coles   <[email protected]>
687    
688            * Thuban/Model/classification.py: Implemented __copy__ and
689            __deepcopy__ for ClassGroup* and ClassGroupProperites so
690            they can easily be copied by the classifier dialog.
691            (ClassGroupProperites.__init__): The default line color should
692            have been Color.Black.
693    
694            * Thuban/UI/classifier.py: Setting and Getting table values now
695            uses a consistent set of functions.
696            (Classifier): Now non-modal. Has field type label which changes
697            as the field changes. Keep track of buttons in a list so that
698            we can enable/disable the buttons when the None field is selected.
699            (SelectPropertiesDialog): Add buttons to make the colors transparent.
700    
701            * Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which
702            does what OnClose did, but can be called by the application to
703            close a window. Needed when a session changes, and we have to
704            close the classifier windows.
705    
706            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
707            Shuts down open dialogs. Used when a new session is created
708            or a session is opened.
709            (MainWindow.SaveSession): Should only call application.SaveSession()
710            if we don't call SaveSessionAs first.
711            (MainWindow.Classify): Allow different classifier dialogs for
712            different layers.
713    
714            * Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let
715            the parent class handle it. Add Shutdown() to unsubscibe from
716            event notification and call the parent Shutdown(). This was
717            necessary so the application can close the tree window.
718    
719    2003-03-06  Jonathan Coles   <[email protected]>
720    
721            * Thuban/Model/classification.py: Minor documentation changes,
722            Addition of __eq__ and __ne__ methods.
723            (Classification.SetLayer): prevent recursion between this method
724            and Layer.SetClassification().
725    
726            * Thuban/Model/color.py: Addition of __eq__ and __ne__ methods.
727    
728            * Thuban/Model/layer.py (SetClassification): prevent recursion
729            between this method and Classification.SetLayer().
730    
731            * test/test_classification.py, test/test_load.py,
732            test/test_session.py: Fixed and added tests for the classification
733            classes.
734    
735    2003-03-06  Bernhard Herzog  <[email protected]>
736    
737            * Thuban/UI/classifier.py (ClassGrid.__init__)
738            (ClassGrid.CreateTable): Move the SetSelectionMode call to
739            CreateTable because otherwise it triggers an assertion in
740            wxPython/wxGTK 2.4.
741    
742    2003-03-05  Jonathan Coles   <[email protected]>
743    
744            * Thuban/common.py: Move FIELDTYPE constants back to table.py.
745    
746            * Thuban/Model/load.py: import FIELDTYPE constants from table.
747    
748            * Thuban/UI/classifier.py: import FIELDTYPE constants from table.
749    
750            * Thuban/Model/table.py: Put FIELDTYPE constants back.
751    
752    2003-03-05  Jonathan Coles   <[email protected]>
753    
754            * Thuban/UI/classifier.py: Added class documentation.
755            Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
756            Store just the groups in the table and generate the other
757            column information when it is requested. Add "None" field
758            to pull-down to select no classification.
759    
760            * Thuban/common.py: Moved FIELDTYPE constants from table.py
761            (Str2Num): Only catch ValueError exceptions.
762    
763            * Thuban/Model/classification.py: Class documentation. Renaming
764            of methods with Stroke to Line. Groups are stored in a single
765            list with the default as the first element. Groups are searched
766            in the order they appear in the list.
767    
768            * Thuban/Model/color.py: Documentation.
769    
770            * Thuban/Model/layer.py (Layer): Add GetFieldType to retreive
771            the kind of data represented by a field.
772    
773            * Thuban/Model/load.py (ProcessSession): Use proper string
774            conversion function; fixes RTbug #1713.
775    
776            * Thuban/Model/save.py (Saver): Store field type information.
777    
778            * Thuban/Model/table.py: Put FIELDTYPE constants in common.py.
779            (Table): Add field_info_by_name() to retrieve field information
780            by specifying the field name, not the number.
781    
782            * Thuban/UI/mainwindow.py: Function name changes.
783    
784            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
785            get the layer classification once. Don't try to classify
786            values when the field is None: just use the default properties.
787    
788            * Thuban/UI/view.py: Function name changes.
789    
790            * Doc/thuban.dtd: Add field_type attribute to a classification.
791    
792    2003-03-04  Bernhard Herzog  <[email protected]>
793    
794            * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
795            the fill and stroke layer attributes optional with suitable
796            default values. Add the stroke_width layer attribute. Use correct
797            syntax for empty elements. Make the attribute list for labels
798            refer to the label element.
799    
800    2003-03-04  Bernhard Herzog  <[email protected]>
801    
802            * setup.py (thuban_build_py.build): Add a comment about distutils in
803            Python 2.3 containing some of the functionality we implement in
804            setup.py ourselves.
805    
806            * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
807            before the selection mode. Doing it the other way round triggers
808            an assertion in wxWindows.
809    
810            * Thuban/Model/save.py (escape): Fix typo in doc-string
811    
812            * Thuban/Model/classification.py: Remove unnecessary wxPython
813            import
814    
815    2003-03-04  Jonathan Coles   <[email protected]>
816    
817            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
818            Parameter 'value' should default to None.
819    
820            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
821            the class attribute __classification is now private.
822    
823            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
824            Classifier to ClassGrid. Added support for removing selected rows,
825            which including code for keeping track of when cells are selected,
826            and deselected.
827            (ClassTable): Support for added/removing rows. Fixed a problem
828            with __ParseInput whereby it would not allow strings (only numbers)
829            to be entered.
830            (Classifier): Added button and supporting code for removing
831            selected rows.
832    
833    2003-02-27  Jonathan Coles   <[email protected]>
834    
835            * Thuban/common.py: Moved color conversion functions into
836            Thuban/UI/common.py.
837            (Str2Num): Now converts the float (not the string) to a long/int
838            so that an exception isn't thrown.
839    
840            * Thuban/UI/common.py: Common functions used in several UI modules
841    
842            * Thuban/Model/classification.py: Changed the class hierarchy
843            so that a Classification consists of Groups which return
844            Properties when a value matches a Group.
845    
846            * Thuban/Model/layer.py: Fixed name resolution problem.
847    
848            * Thuban/Model/load.py: Use new Classification and Group functions.
849    
850            * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
851            failure.
852            (Saver.write_classification): Use new Classification and Group
853            functions.
854    
855            * Thuban/UI/classifier.py: Changes to use new Classification and Group
856            functions. Fix to create a tuple with a single value instead of
857            simply returning the value.
858    
859            * Thuban/UI/renderer.py: Use new Classification and Group functions.
860            Use common.py functions.
861    
862            * Thuban/UI/tree.py: Use common.py functions.
863            
864            * test/test_classification.py: Use new Classification and Group
865            classes.
866    
867    2003-02-24  Jonathan Coles   <[email protected]>
868    
869            * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
870            functions from Thuban color objects to wxWindow colour objects.
871    
872            * Thuban/Model/classification.py (Classification): Renamed
873            GetProperties() to GetClassData(). Used the new iterator
874            in TreeInfo().
875            (ClassIterator): Iterator implementation to iterate over the
876            ClassData objects in a classification object.
877    
878            * Thuban/Model/save.py (Saver.write_classificaton): Uses
879            the new iterator to save the classification information.
880    
881            * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
882            for changing the stroke and fill colors and previewing the
883            changes.
884    
885            * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
886            MainWindow.SaveSessionAs): Text string changes so the dialogs
887            have more meaningful titles.
888    
889            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
890            Classification method name from GetProperties to GetClassData.
891    
892            * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
893            instead of accessing now non-existent class variables.
894    
895    2003-02-24  Bernhard Herzog  <[email protected]>
896    
897            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
898            unneeded Shape() call. Rendering is substantially faster without
899            it and it avoids some problems with broken shape files.
900    
901    2003-02-20  Frank Koormann   <[email protected]>
902    
903            Force minimal size of identify and label dialogs. The autosizing
904            looked too ugly.
905    
906            * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
907            * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
908            Set size of listctrl.
909            * Thuban/UI/identifyview.py (IdentifyView.__init__):
910            Set size of dialog.
911    
912    2003-02-19  Jonathan Coles   <[email protected]>
913    
914            * test/test_classification.py, test/test_layer.py,
915            test/test_load.py, test/test_map.py, test/test_session.py:
916            Updated the tests to use the new functions that are in the
917            respective classes.
918    
919            * Thuban/Model/classification.py (Classification):
920            Uses the new ClassData* classes. Modification messages are
921            passed up to the parent layer (if it exists).
922            (ClassData): New class to encapsulate the common data in each
923            classification property.
924            (ClassDataDefault): Represents the Default class. data.
925            (ClassDataPoint): Represents a single class. data point
926            (ClassDataRange): Represents a class. range
927            (ClassDataMap): Represents a class. map (unused).
928    
929            * Thuban/Model/color.py: Added Color.None to represent something
930            with no color. Color.Black represents the color black.
931            (NoColor): Helper class derived from Color to represent something
932            with no color.
933    
934            * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
935            stroke_width attributes. Made the 'classification' attribute private.
936            New methods for setting/getting the classification.
937    
938            * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
939            to get the classifcation and use the new ClassData* classes to
940            hold the classification data. Use Str2Num to convert numbers
941            properly.
942    
943            * Thuban/Model/save.py (Saver): Use new Color and Classification
944            methods
945    
946            * Thuban/UI/classifier.py (ClassGrid): New class to represent a
947            custom grid.
948            (ClassTable): Support for editing Values and Labels and for
949            changing what type (point or range) of data is stored in each
950            property based on how the user enters the data.
951            (Classifier): Support for saving the new classifications and
952            launching the dialog to edit a property.
953            (SelectPropertiesDialog): New class for editing the visual
954            properties of a classification (stroke color, width, and fill color)
955            (ClassPreviewer): Took the Draw method from ClassRenderer and
956            made most of it into this new class. Intend to use this class in
957            the SelectPropertiesDialog for previewing changes.
958    
959            * Thuban/UI/renderer.py: Use new Color and Classification methods.
960    
961            * Thuban/UI/tree.py: Formatting changes.
962    
963            * Doc/thuban.dtd: Add 'label' element
964    
965            * Thuban/common.py: New. Contains common routines used throughout
966            the code.
967            (Str2Num): Takes a string and converts it to the "best" type of
968            number.
969    
970    2003-02-14  Bernhard Herzog  <[email protected]>
971    
972            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the
973            dragging flag is always set to 0 even when the tool implementation
974            raises an exception
975    
976    2003-02-11  Bernhard Herzog  <[email protected]>
977    
978            * Thuban/UI/application.py (ThubanApplication.splash_screen): New
979            method to create a splash screen.
980            (ThubanApplication.ShowMainWindow): New. Show the main window.
981            Needed so the splash screen can display the mainwindow
982            (ThubanApplication.OnInit): Call the
983            new splash_screen method to determine whether the application
984            should display a splash screen. If it displays a splash screen do
985            not immediately show the main window.
986    
987    2003-02-11  Jonathan Coles  <[email protected]>
988    
989            * Thuban/Model/classification.py: Added import line to fix
990            feature conflicts between running on python2.2 and python2.1.
991    
992            * Thuban/UI/classifier.py (ClassTable): Didn't need to hang
993            onto the clinfo parameter, so removed the deepcopy().
994    
995    2003-02-10  Jonathan Coles  <[email protected]>
996    
997            * Thuban/Model/save.py (Saver.open_element, Saver.close_element):
998            Added element_open variable to track opening and closing of tags
999            so that tags that don't span more than one line are closed with
1000            /> instead of </tag_name>. Use the GetDefault*() methods of
1001            the Classification class.
1002    
1003            * Thuban/Model/classification.py (Classificaton): Added set and
1004            get methods for the default data. The class also takes a layer
1005            reference so that modification messages can be sent. Fixed the
1006            methods to use the new ClassData class.
1007            (ClassData): New class to encapsulate the classification data
1008    
1009            * Thuban/Model/layer.py (Layer): Remove the
1010            Set[Fill|Stroke|StrokeWidth]() methods. Code should call the
1011            SetDefault*() methods on the layer's classification object.
1012            (Layer.__init__): Use the new SetDefault*() methods in the
1013            Classification class.
1014    
1015            * Thuban/Model/load.py (ProcessSession): Use the new ClassData
1016            object instead of a dictionary.
1017    
1018            * Thuban/UI/classifier.py (ClassRenderer): New class to
1019            draw the classifications in the dialog box's table.
1020            (Classifier): Modified to use the ClassRenderer class.
1021    
1022            * Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*()
1023            methods of the Classification class.
1024    
1025            * Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods
1026            of the ClassData class.
1027    
1028            * test/test_classification.py, test/test_layer.py,
1029            test/test_map.py, test/test_session.py: Fix the tests to work
1030            with the above code changes.
1031    
1032    2003-02-03  Jonathan Coles  <[email protected]>
1033    
1034            * Thuban/Model/classification.py (Classification): Added getNull()
1035            to return the NullData reference
1036    
1037            * Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke,
1038            Layer.SetStrokeWidth): Modified these functions to change the
1039            null data in the classification rather than keep these values
1040            directly in the Layer class. Menu options to change these values
1041            work again.
1042    
1043    2003-01-28  Jonathan Coles  <[email protected]>
1044    
1045            * Thuban/UI/classifier.py (Classifier): Resolved merging conflicts.
1046            Fixed crashing problem on some systems. Dialog box shows
1047            classification data.
1048    
1049            * Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing
1050            Colors in the tree view.
1051    
1052            * Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build
1053            the tree info for classifications. Commented out unnecessary lines.
1054    
1055            * Thuban/Model/classification.py (Classification.TreeInfo): New
1056            function to add information about the classification into the
1057            tree view.
1058    
1059    2003-01-27  Jan-Oliver Wagner <[email protected]>
1060    
1061            * Thuban/__init__.py (_): New.
1062    
1063            * Thuban/Model/classification.py, Thuban/Model/extension.py,
1064            Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py,
1065            Thuban/Model/session.py, Thuban/UI/application.py,
1066            Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py,
1067            Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py,
1068            Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py,
1069            Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py,
1070            Thuban/Lib/fileutil.py: Replace user string by _() for i18n.
1071    
1072    2003-01-27  Jonathan Coles  <[email protected]>
1073    
1074            * Thuban/Model/layer.py: Classification initialization calls.
1075    
1076            * Thuban/Model/classification.py: Created class to encapsulate
1077            a layer classification. Supports specific data points and
1078            ranges.
1079    
1080            * Thuban/Model/load.py: Added support for loading classification
1081            information.
1082    
1083            * Thuban/Model/save.py: Added support for saving classification
1084            information.
1085    
1086            * Thuban/UI/classifier.py: Initial class for a dialog box for
1087            specifying classification information.
1088    
1089            * Thuban/UI/mainwindows.py: Support for opening the classifier
1090            dialog.
1091    
1092            * Thuban/UI/renderer.py: Support for drawing a layer with the
1093            classification information.
1094    
1095            * Data/iceland_sample_class.thuban: iceland_sample with
1096            classification data.
1097    
1098            * test/test_classification: Tests for the Classification class.
1099    
1100    2002-12-09  Bernhard Herzog  <[email protected]>
1101    
1102            * test/test_command.py: New. Tests for the command classes.
1103    
1104            * Thuban/UI/command.py (ToolCommand): New class for tool commands.
1105            (Command.IsTool): New method to distinguish between command
1106            switching tools and other commands.
1107    
1108            * Thuban/UI/view.py (MapCanvas.SelectTool): New method to select
1109            the tool to avoid direct assignments to instance variables
1110            (MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool)
1111            (MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to
1112            change the tool
1113    
1114            * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an
1115            active tool's command turns insensitive, disable the tool.
1116            (_tool_command): Use the new ToolCommand class
1117    
1118            * Examples/simple_extensions/simple_tool.py (simple_tool): Use the
1119            SelectTool method to change the tool
1120            (iconfile): Use the ToolCommand class
1121    
1122    2002-12-03  Bernhard Herzog  <[email protected]>
1123    
1124            * Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle
1125            the case of selected items that are not children of Layers or Maps
1126            properly. Previously this bug would trigger an assertion in
1127            wxWindows.
1128    
1129    2002-11-06  Frank Koormann  <[email protected]>
1130    
1131            * Thuban/UI/mainwindow.py: Altered the order of tools in the
1132            toolbar: First now are all navigation tools (Zoom In/Out, Pan,
1133            Full Extent).
1134    
1135  2002-10-23  Bernhard Herzog  <[email protected]>  2002-10-23  Bernhard Herzog  <[email protected]>
1136    
1137          * setup.py (setup call): version now 0.1.3          * setup.py (setup call): version now 0.1.3
# Line 108  Line 1242 
1242          * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe          * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
1243          VIEW_POSITION          VIEW_POSITION
1244    
1245  2002-09-04  Frank Koormann   <[email protected]>  2002-09-04  Frank Koormann  <[email protected]>
1246    
1247          * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")          * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
1248    
# Line 195  Line 1329 
1329    
1330          * Thuban/Model/table.py (Table.write_record): New method to write          * Thuban/Model/table.py (Table.write_record): New method to write
1331          records.          records.
1332          (Table.__init__): Open the DBF file for writing too.          (Table.__init__): Open the DBF file for writing too.
1333    
1334          * Thuban/UI/controls.py (RecordTable.SetValue): Write the value          * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
1335          into the underlying table.          into the underlying table.
# Line 233  Line 1367 
1367          * setup.py (ThubanInstall.run): Don't repr install_lib_orig          * setup.py (ThubanInstall.run): Don't repr install_lib_orig
1368          because thubaninit_contents will do it for us.          because thubaninit_contents will do it for us.
1369    
1370  2002-08-16      Jan-Oliver Wagner <[email protected]>  2002-08-16  Jan-Oliver Wagner <[email protected]>
1371    
1372          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
1373          tree window already open          tree window already open
# Line 361  Line 1495 
1495          * Thuban/UI/tree.py: We can now simply subscribe to the session's          * Thuban/UI/tree.py: We can now simply subscribe to the session's
1496          CHANGED channel to be informed of changes.          CHANGED channel to be informed of changes.
1497          (SessionTreeCtrl.session_channels): Not needed any longer.          (SessionTreeCtrl.session_channels): Not needed any longer.
1498          (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):          (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
1499          Only have to (un)subscribe CHANGED          Only have to (un)subscribe CHANGED
1500    
1501          * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.          * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
# Line 422  Line 1556 
1556          * Thuban/Model/layer.py (Layer.TreeInfo),          * Thuban/Model/layer.py (Layer.TreeInfo),
1557          Thuban/Model/extension.py (Extension.TreeInfo),          Thuban/Model/extension.py (Extension.TreeInfo),
1558          Thuban/Model/map.py (Map.TreeInfo),          Thuban/Model/map.py (Map.TreeInfo),
1559          Thuban/Model/session.py (Session.TreeInfo):          Thuban/Model/session.py (Session.TreeInfo):
1560          Add TreeInfo methods to implement the new tree view update scheme          Add TreeInfo methods to implement the new tree view update scheme
1561    
1562  2002-07-16  Bernhard Herzog  <[email protected]>  2002-07-16  Bernhard Herzog  <[email protected]>
# Line 503  Line 1637 
1637          * setup.py: In the setup call, make sure that the library          * setup.py: In the setup call, make sure that the library
1638          directories are under $prefix/lib not directly under $prefix.          directories are under $prefix/lib not directly under $prefix.
1639    
1640  2002-06-20      Jan-Oliver Wagner <[email protected]>  2002-06-20  Jan-Oliver Wagner <[email protected]>
1641    
1642          * Thuban/Model/extension.py: new module to handle extension objects.          * Thuban/Model/extension.py: new module to handle extension objects.
1643          * Thuban/Model/messages.py: new messages for extensions.          * Thuban/Model/messages.py: new messages for extensions.
# Line 732  Line 1866 
1866          * Thuban/UI/messages.py (VIEW_POSITION): New message for the          * Thuban/UI/messages.py (VIEW_POSITION): New message for the
1867          position in the statusbar          position in the statusbar
1868    
1869  2002-04-26      Frank Koormann <[email protected]>  2002-04-26  Frank Koormann <[email protected]>
1870    
1871          * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data          * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
1872    
1873  2002-04-24      Frank Koormann <[email protected]>  2002-04-24  Frank Koormann <[email protected]>
1874            
1875          * Resources/Bitmaps/identify.xpm: shadow added          * Resources/Bitmaps/identify.xpm: shadow added
1876    
1877          * Resources/Bitmaps/fullextent.xpm: new          * Resources/Bitmaps/fullextent.xpm: new
           
 2002-04-22      Jan-Oliver Wagner <[email protected]>  
1878    
1879          * Thuban/UI/tree.py (update_tree): added test for None on map bounding box  2002-04-22  Jan-Oliver Wagner <[email protected]>
1880    
1881  2002-04-21      Jan-Oliver Wagner <[email protected]>          * Thuban/UI/tree.py (update_tree): added test for None on map bounding
1882            box
1883    
1884    2002-04-21  Jan-Oliver Wagner <[email protected]>
1885    
1886          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
1887    
1888          * Thuban/UI/tree.py (update_tree): added added map extent          * Thuban/UI/tree.py (update_tree): added added map extent
1889    
1890          * Thuban/UI/mainwindow.py (_method_command): extended by parameter          * Thuban/UI/mainwindow.py (_method_command): extended by parameter
1891          icon; added map_full_extend as tool          icon; added map_full_extend as tool
1892    
1893  2002-04-19      Jan-Oliver Wagner <[email protected]>  2002-04-19  Jan-Oliver Wagner <[email protected]>
1894    
1895          * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for          * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
1896          saving _new_ sessions          saving _new_ sessions
# Line 857  Line 1992 
1992    
1993          * setup.py: increase version number to 0.1          * setup.py: increase version number to 0.1
1994          (data_dist): New command class for data distribution          (data_dist): New command class for data distribution
           
1995    
1996  2001-09-14  Bernhard Herzog  <[email protected]>  2001-09-14  Bernhard Herzog  <[email protected]>
1997    
1998          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
1999          Handle the case of no layer (i.e. layer is None) properly.          Handle the case of no layer (i.e. layer is None) properly.
2000    
2001          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
2002          Set the initial selection of the combo boxes to reflect the          Set the initial selection of the combo boxes to reflect the
2003          projection we're starting with in a way that works on windows,          projection we're starting with in a way that works on windows,
2004          too.          too.
# Line 974  Line 2108 
2108          (MainWindow.identify_view_on_demand): Store the interactor in an          (MainWindow.identify_view_on_demand): Store the interactor in an
2109          instvar and use that reference instead of going through main.app          instvar and use that reference instead of going through main.app
2110    
2111          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
2112          * Thuban/UI/application.py (ThubanApplication.OnInit):          * Thuban/UI/application.py (ThubanApplication.OnInit):
2113          * Thuban/UI/main.py (main): Create the session tree view in main          * Thuban/UI/main.py (main): Create the session tree view in main
2114          with the new mainwindow method ShowSessionTree and not directly          with the new mainwindow method ShowSessionTree and not directly
2115          the application's OnInit method          the application's OnInit method
# Line 991  Line 2125 
2125          layer to the tableview dialog.          layer to the tableview dialog.
2126    
2127          * Thuban/UI/tableview.py: Add some doc-strings          * Thuban/UI/tableview.py: Add some doc-strings
2128          (TableGrid):          (TableGrid):
2129          (TableGrid.OnRangeSelect):          (TableGrid.OnRangeSelect):
2130          (TableGrid.OnSelectCell):          (TableGrid.OnSelectCell):
2131          (TableFrame.__init__):          (TableFrame.__init__):
# Line 1058  Line 2192 
2192  2001-09-05  Bernhard Herzog  <[email protected]>  2001-09-05  Bernhard Herzog  <[email protected]>
2193    
2194          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
2195            
2196          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
2197          interactor to pass through to the MapCanvas          interactor to pass through to the MapCanvas
2198            
2199          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
2200          argument to the MainWindow constructor to get rid of the ugly hack          argument to the MainWindow constructor to get rid of the ugly hack
2201          that made main.app available early just so that the mapcanvas          that made main.app available early just so that the mapcanvas
# Line 1108  Line 2242 
2242          (ThubanInstall.run): Remove the leading install root from the          (ThubanInstall.run): Remove the leading install root from the
2243          script filename if an install root was specified and use the new          script filename if an install root was specified and use the new
2244          link_file method          link_file method
2245            
2246          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
2247          the window when the first layer is added to the map.          the window when the first layer is added to the map.
2248    
# Line 1145  Line 2279 
2279          (InnoIconItem): Helper class for bdist_inno          (InnoIconItem): Helper class for bdist_inno
2280          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
2281          this together with the appropriate parameters, to the setup call.          this together with the appropriate parameters, to the setup call.
2282            
2283          * setup.cfg (bdist_inno): added new section for the inno setup          * setup.cfg (bdist_inno): added new section for the inno setup
2284          installer          installer
2285    

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26