/[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 402 by bh, Tue Feb 11 15:19:47 2003 UTC revision 669 by jonathan, Mon Apr 14 17:13:08 2003 UTC
# Line 1  Line 1 
1    2003-04-14  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/dock.py: Fixes some window resizing problems most
4            noticable under windows. Always assume the button bitmaps will
5            be there. Code clean up.
6            (DockabelWindow.Dock, DockableWindow.UnDock): Force all the
7            images for the dock/undock button to the same images.
8            Work around for RTbug #1801.
9    
10            * Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should
11            be allowed to grow within the sizer. Fixes a bug under Windows
12            where the toolbar wasn't being drawn.
13    
14    2003-04-14  Frank Koormann   <[email protected]>
15    
16            * Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm:
17            Updated design to try to make the button functionality more
18            transparent.
19    
20    2003-04-14  Jonathan Coles   <[email protected]>
21    
22            * Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to
23            finalize the intialization of the panel.
24    
25            * Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the
26            creation of the panel. Should be the last thing called in the
27            initializer of a subclass.
28    
29            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively
30            set the current selections in the combo boxes. This is needed
31            under Windows.
32    
33            * Thuban/UI/classifier.py (Classifier.__init__): Add a top
34            level panel to the dialog so that the background colors are
35            consistent under Windows.
36    
37    2003-04-11  Jonathan Coles   <[email protected]>
38    
39            * Thuban/UI/classgen.py: Change color ramps to start at white
40            not black.
41    
42            * Thuban/UI/legend.py: Enable/disable the legend buttons when
43            the legend changes. Fixes RTbug #1793.
44    
45            * test/test_classification.py: Added test for copying of
46            classifications.
47    
48    2003-04-11  Jonathan Coles   <[email protected]>
49    
50            * Thuban/UI/resource.py: New. Centralize the loading of resources
51            such as bitmaps.
52    
53            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons,
54            added images to the move buttons, added 'reverse' button.
55            (CustomRampPanel.__init__): Added images to the move buttons.
56            (GreyRamp): New. Generates a ramp from white to black.
57            (HotToColdRamp): New. Generates a ramp from cold to hot colors.
58    
59            * Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to
60            ID_PROPERTY_*.
61            (Classifier.__init__): Minor changes to the layout.
62            (Classifier._OnTitleChanged): Listen for when the user edits the
63            title and update the dialog's title and the layer's title.
64    
65            * Thuban/UI/dock.py: Use new bitmaps for the control buttons.
66    
67            * Thuban/UI/legend.py: Use new bitmaps for the control buttons.
68            (LegendTree._OnMsgLayerTitleChanged): Change the displayed title
69            if the layer's title changes.
70    
71            * Thuban/UI/mainwindow.py: Added new menu item and associated code
72            to open a dialog to rename the map.
73            (MainWindow): Use new resource class to import bitmaps.
74    
75    2003-04-11  Jonathan Coles   <[email protected]>
76    
77            * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,
78            Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,
79            Resources/Bitmaps/group_use_none.xpm,
80            Resources/Bitmaps/group_use_not.xpm,
81            Resources/Bitmaps/hide_layer.xpm,
82            Resources/Bitmaps/layer_properties.xpm,
83            Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,
84            Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:
85            New.
86    
87    2003-04-10  Jonathan Coles   <[email protected]>
88    
89            * Thuban/Model/classification.py: (ClassGroupRange.__init__):
90            Should pass group to ClassGroup constructor.
91    
92    2003-04-10  Jonathan Coles   <[email protected]>
93    
94            * Thuban/Model/classification.py: (ClassGroup): Move all the common
95            methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__)
96            here. Implement SetVisible(), IsVisible().
97            (ClassGroup.__init__): Add group parameter which acts as a copy
98            constructor.
99    
100            * Thuban/UI/classifier.py (ClassTable): Add a new column for the
101            "Visible" check boxes.
102            (Classifier): Rename the buttons and refactor the code to match
103            the new labels.
104    
105            * Thuban/UI/legend.py: Classify button is now called "Properties".
106            Refactored the code to change variable names.
107            (LegendTree.__FillTreeLayer): Only list a group if it is visible.
108    
109            * Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to
110            MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties
111            renamed to MainWindow.LayerEditProperties.
112            (MainWindow.ToggleLegend): Don't include map name in legend title.
113            (MainWindow.SetMap): Added the map name to the window title.
114            (MainWindow.LayerFillColor, MainWindow.LayerTransparentFill,
115            MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed.
116            Functionality is found in the layer properties dialog.
117    
118            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
119            draw visible groups.
120    
121    2003-04-09  Jonathan Coles   <[email protected]>
122    
123            * Thuban/UI/classgen.py: Modifications to allow simple
124            addition and selection of new color schemes.
125            (MonochromaticRamp): New. Generates a ramp between two colors.
126            (RedRamp): New. Generates a ramp of all red.
127            (GreenRamp): New. Generates a ramp of all green.
128            (BlueRamp): New. Generates a ramp of all blue.
129    
130    2003-04-09  Jonathan Coles   <[email protected]>
131    
132            * Thuban/Model/classification.py (Classification.__deepcopy__):
133            Need to copy over field and fieldType attributes.
134    
135            * Thuban/Model/table.py (Table.field_range): New. Retrive the
136            maximum and minimum values over the entire table for a given
137            field.
138            (Table.GetUniqueValues): New. Retrieve all the unique values
139            in the table for a given field.
140    
141            * Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel.
142            (GenUniquePanel): New. Controls to allow the user to select
143            which unique field values they would like in the classification.
144            (CustomRampPanel): Code that was in ClassGenDialog that allows
145            the user to select the properties for a custom ramp.
146            (ClassGenerator.GenUniformDistribution): Was called GenerateRanges.
147    
148            * Thuban/UI/classifier.py: Removed a lot of debugging code.
149            (Classifier._SetClassification): Callback method so that the
150            class generator can set the classification in the grid.
151            (ClassGroupPropertiesCtrl): New. Encapsulates the drawing and
152            editing of a group properties class into a wxWindows control.
153    
154            * Thuban/UI/dock.py: It was decided that if the user closes
155            a dockable window the window should simply hide itself. That
156            way if the user wants to show the dock again it appears in the
157            same place as it was when it was closed.
158            (DockableWindow.Destroy): Call renamed method OnDockDestroy().
159            (DockableWindow._OnButtonClose): Hide the window instead of
160            destroying it.
161            (DockableWindow._OnClose): Hide the window instead of
162            destroying it.
163    
164            * Thuban/UI/legend.py (LegendTree): Use a private method to
165            consistently set the font and style of the text. Fixes RTbug #1786.
166    
167            * Thuban/UI/mainwindow.py: Import just the Classifier class.
168    
169    2003-04-07  Bernhard Herzog  <[email protected]>
170    
171            * Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item
172            to the map module
173    
174    2003-04-07  Bernhard Herzog  <[email protected]>
175    
176            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in
177            favor of ToggleSessionTree
178            (MainWindow.ToggleSessionTree): New method to toggle visibility of
179            the session tree.
180            (MainWindow.SessionTreeShown): New method to return whether the
181            session tree is currently shown.
182            (MainWindow.ToggleLegend): New method to toggle visibility of the
183            legend
184            (MainWindow.ShowLegend): Implement in terms of ToggleLegend and
185            LegendShown
186            (MainWindow.LegendShown): New method to return whether the legend
187            is currently shown.
188            (_method_command): Add checked parameter so we can define check
189            menu items
190            (_has_tree_window_shown, _has_legend_shown): Use the appropriate
191            mainwindow methods.
192            (show_session_tree, show_legend commands): Removed.
193            (toggle_session_tree, toggle_legend commands): New commands to
194            toggle the visibility of the dialogs
195    
196    2003-04-07  Jonathan Coles   <[email protected]>
197    
198            * Thuban/UI/classgen.py: Fix Windows problem.
199    
200            * Thuban/UI/dock.py: Fix Windows problem.
201    
202            * Thuban/UI/mainwindow.py: Use False instead of false.
203            (MainWindow.ShowLegend): Remove unnecessary switch parameter.
204    
205    2003-04-07  Jonathan Coles   <[email protected]>
206    
207            Since we now say that the order of the groups in a classification
208            matters, it makes sense to be able to manipulate that order. Most
209            of the changes to Thuban/Model/classification.py are to that end.
210    
211            * Thuban/Model/classification.py (Classification.AppendGroup,
212            Classification.InsertGroup, Classification.ReplaceGroup,
213            Classification.RemoveGroup, Classification.GetGroup): Do as the
214            names imply.
215            (Classification.FindGroup): This was called GetGroup, but GetGroup
216            takes an index, while FindGroup takes a value.
217            (Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER
218            REFERENCE. Currently there is a cyclic reference between the layer
219            and its classification. If the classification doesn't need to know
220            its owning layer we can change this, since it may make sense to be
221            able to use the same classification with different layers.
222    
223            * Thuban/Model/load.py: Use Classification.AppendGroup(), not AddGroup()
224    
225            * Thuban/UI/classgen.py: Use Classification.AppendGroup(),
226            not AddGroup()
227    
228            * Thuban/UI/classifier.py: Now that we can depend on the order in
229            a Classification and have methods to manipulate that order we don't
230            need to use our own data structures in the grid. We can simply make
231            the grid/table access the information they need from a copy of
232            the classification object.
233            (Classifier._OnCloseBtn): Event handler for when the user clicks
234            'Close'. This is needed so if the user applies changes and then
235            continues to change the table the user has the option of discarding
236            the most recent changes and keeping what they applied.
237    
238            * Thuban/UI/mainwindow.py: Put "Show Legend" and "Show Session Tree"
239            into the same group.
240    
241            * extensions/thuban/wxproj.cpp (check_version): If Thuban is compiled
242            with a really old version of proj, PJ_VERSION won't even be defined.
243            If it isn't defined then just compile so that the function always
244            returns Py_False.
245    
246            * test/test_classification.py: Fix tests to use the renamed methods.
247            Still need to write tests for the new methods.
248    
249    2003-04-04  Jonathan Coles   <[email protected]>
250    
251            * Thuban/UI/classifier.py (Classifier.__SelectField): Move the
252            call to SetSelection out of the method and before the call
253            to __SelectField in __init__. This prevents a recursion of events
254            when _OnFieldSelect is triggered by the user.
255    
256    2003-04-04  Jonathan Coles   <[email protected]>
257    
258            * Thuban/Model/classification.py: Rename Color.None to
259            Color.Transparent.
260            (ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
261            Don't bother copying the color, since Colors are immutable.
262    
263            * Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py,
264            Thuban/UI/classifier.py, Thuban/UI/mainwindow.py,
265            Thuban/UI/renderer.py, Thuban/UI/view.py:
266            Rename Color.None to Color.Transparent.
267        
268            * test/test_classification.py, test/test_load.py: Rename Color.None
269            to Color.Transparent.
270    
271    2003-04-04  Jonathan Coles   <[email protected]>
272    
273            * Thuban/Model/classification.py: Fix assert calls.
274            (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
275            Copy the color parameter rather than hold onto a reference.
276    
277            * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy
278            the color object.
279            (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
280            are sure there exists only one refernce to Color.None in the system.
281            This allows us to use 'is' rather than the comparision functions.
282            
283            * Thuban/Model/save.py: Fix assert calls.
284            
285            * Thuban/UI/classifier.py: Fix assert calls.
286            (ClassGrid._OnCellDClick): Call up to the classifier to open the
287            dialog to edit the groups properties.
288            (ClassGrid._OnCellResize): Make sure that the scollbars are drawn
289            correctly if a cell is resized.
290            (ClassTable.SetClassification): New. Changes the classification
291            that is in the table.
292            (ClassTable.__SetRow): Allow groups to be prepended.
293            (Classifier): New code for opening the EditProperties and
294            GenerateRanges dialogs.
295            (SelectPropertiesDialog.__GetColor): Only set the color in the
296            color dialog if the current color is not None.
297            
298            * Thuban/UI/dock.py: Fix assert calls.
299            
300            * Thuban/UI/legend.py: Fix assert calls.
301            
302            * Thuban/UI/renderer.py: Fix assert calls.
303            
304            * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating
305            classifications.
306            (GenRangePanel): Panel specific to range generation.
307            (GenSingletonPanel): Panel specific to singleton generation.
308            (ClassGenerator): Class responsible for actually generating
309            the classification from the data gathered in the dialog box.
310            (PropertyRamp): Generates properties whose values range from
311            a starting property to an ending property.
312    
313    2003-04-03  Bernhard Herzog  <[email protected]>
314    
315            * test/support.py (print_garbage_information): New function that
316            prints information about still connected messages and memory
317            leaks.
318            (run_suite): Removed.
319            (run_tests): New function for use as a replacement of
320            unittest.main in the test_* files. This one calls
321            print_garbage_information at the end.
322    
323            * test/runtests.py (main): Use support.print_garbage_information
324    
325            * test/test_layer.py: Use support.run_tests instead of
326            unittest.main so we get memory leak information
327            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
328            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
329            (TestLayerLegend.test_visibility): Call the layer's Destroy method
330            to fix a memory leak.
331    
332            * test/test_classification.py: Use support.run_tests instead of
333            unittest.main so we get memory leak information
334            (TestClassification.test_classification): Call the layer's Destroy
335            method to fix a memory leak.
336    
337    2003-04-02  Bernhard Herzog  <[email protected]>
338    
339            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
340            Handle the reference counts of the return value and errors in
341            PyArg_ParseTuple correctly.
342    
343            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
344            sure the filename is absolute to avoid problems when saving the
345            session again
346    
347            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
348    
349    2003-04-01  Jonathan Coles   <[email protected]>
350    
351            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
352            that there actually are points in the returned list of points
353            before trying to index into the list. The list may be empty if
354            the shape is a Null Shape.
355    
356    2003-04-01  Bernhard Herzog  <[email protected]>
357    
358            * test/test_map.py: Don't use from <module> import *
359    
360    2003-04-01  Jonathan Coles   <[email protected]>
361    
362            * Thuban/Model/session.py: Use LAYER_CHANGED instead of
363            LAYER_LEGEND_CHANGED
364    
365            * Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call
366            self.Destroy() to close the window after yesterday's changes.
367    
368            * test/test_map.py, test/test_session.py: Fix messages that
369            are sent from maps and layers.
370    
371    2003-03-31  Jonathan Coles   <[email protected]>
372    
373            * Thuban/UI/classifier.py: Commented out some debugging statements.
374            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
375            RTbug #1769.
376    
377            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
378            position (although position doesn't work yet under GTK).
379            (DockableWindow.Destroy): New. Called when the window must be
380            closed. Namely needed when the DockFrame closes and must close
381            its children.
382            (DockFrame): Listen for EVT_CLOSE and destroy all children.
383    
384            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
385            when then window is told to close.
386            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
387            comment in source for more info.
388    
389            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
390    
391            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
392            symmetry with other such methods.
393            (MainWindow.ShowLegend): Show the legend docked by default.
394    
395    2003-03-28  Jonathan Coles   <[email protected]>
396    
397            * Thuban/UI/classifier.py: Support for highlighting a specific
398            group within the grid when the classification dialog is opened.
399            Also contains a lot of debugging printouts which will later
400            be removed.
401    
402            * Thuban/UI/dock.py: Complete rework on the dock code so that
403            that it is fairly removed from the rest of the Thuban application.
404            It is easy to add new docks which the rest of the program having
405            to be aware of them.
406    
407            * Thuban/UI/legend.py: Modifications to support selecting a
408            specific group in the classification dialog. Changed how layers
409            are drawn when the layer is visible/invisible.
410    
411            * Thuban/UI/mainwindow.py: Removed legend specific code and
412            replaced it with calls to the new dock code.
413    
414            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
415            to check if scale > 0. Trying to track down a divide by zero.
416    
417    2003-03-26  Jonathan Coles   <[email protected]>
418    
419            * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.
420            (LegendPanel): Removed _OnDock()/_OnUnDock() methods which are
421            now part of DockableWindow.
422            (LegendPanel.DoOnSelChanged): Select the current layer in the
423            map.
424            (LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged()
425            with the selected layer and/or group.
426    
427    2003-03-26  Jonathan Coles   <[email protected]>
428    
429            This putback contains the code for dockable windows. There is
430            no support in wxWindows as of this date for windows that can
431            attach themselves to other windows.
432    
433            The current model contains a DockableWindow which has a parent
434            window for when it is detached and a dock window that it puts
435            its contents in when it is docked. The contents of a DockableWindow
436            must be a DockPanel. DockPanel itself derives from wxPanel.
437    
438            * Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED
439            message, not a LAYER_LEGEND_CHANGED message.
440    
441            * Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages.
442    
443            * Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE
444            as one of the style properties for the fieldTypeText item to
445            be sure that its size is correct when the text changes.
446    
447            * Thuban/UI/dock.py: New. Classes for the DockPanel and
448            DockableWindow.
449    
450            * Thuban/UI/legend.py: Added some more buttons and made the
451            LegendPanel a DockPanel.
452    
453            * Thuban/UI/mainwindow.py: Added sash windows to the main window
454            and supporting functions for manipulating the sashes.
455            (MainWindow.ShowLegend): Create a DockableWindow with the
456            LegendPanel as the contents.
457    
458            * Thuban/UI/messages.py: Added DOCKABLE_* messages
459    
460            * Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED,
461            not LAYER_LEGEND_CHANGED, messages.
462    
463    2003-03-25  Jonathan Coles   <[email protected]>
464    
465            * setup.py: Added custom script bdist_rpm_build_script so that
466            when the rpm is built the path to wx-config is correct.
467    
468            * setup.cfg: Added line saying to use the custom build script
469    
470    2003-03-20  Jonathan Coles   <[email protected]>
471    
472            Initial implementation of the Legend.
473    
474            * Thuban/UI/legend.py: New. Creates a window that shows the map's
475            Legend information and allows the user to add/modify classifications
476            and how the layers are drawn on the map.
477    
478            * setup.py: New command 'build_docs' which currently uses
479            happydoc to generate html documentation for Thuban.
480    
481            * Thuban/Model/classification.py (ClassGroup.GetDisplayText): New.
482            Returns a string which is appropriately describes the group.
483    
484            * Thuban/Model/layer.py (Layer.SetClassification): Generate a
485            LAYER_CHANGED event instead of a LAYER_LEGEND_CHANGED event.
486    
487            * Thuban/Model/map.py (Map): Rename messages and use new, more
488            specific, messages.
489    
490            * Thuban/Model/messages.py: New message to indicate that a layer's
491            data has changed (LAYER_CHANGED). New map messages to indicate
492            when layers have been added/removed/changed or if the stacking order
493            of the layers has changed.
494    
495            * Thuban/Model/session.py: Rename and use new messages.
496    
497            * Thuban/UI/classifier.py: Remember if any changes have actually
498            been applied so that if the dialog is cancelled without an application
499            of changes we don't have to set a new classification.
500            (ClassDataPreviewer): Pulled out the window specific code and put it
501            ClassDataPreviewWindow. ClassDataPreviewer can then be used to draw
502            symbols on any DC.
503            
504            * Thuban/UI/mainwindow.py: New code to open the legend.
505    
506            * Thuban/UI/view.py: Use new message names.
507    
508    2003-03-19  Jonathan Coles   <[email protected]>
509    
510            * Thuban/UI/main.py (verify_versions): New. Checks the versions
511            of Python, wxPython, and some other libraries.
512    
513            * extensions/thuban/wxproj.cpp (check_version): Checks the given
514            version against what wxproj was compiled with.
515            (check_version_gtk): If wxproj was compiled with gtk then check
516            the given version against the version of the gtk library
517            currently being used.
518    
519    2003-03-14  Bernhard Herzog  <[email protected]>
520    
521            * test/test_command.py: Run the tests when the module is run as a
522            script
523    
524    2003-03-14  Bernhard Herzog  <[email protected]>
525    
526            Implement selection of multiple selected shapes in the same layer:
527    
528            - Introduce a new class to hold the selection. This basically
529              replaces the interactor which was nothing more than the
530              selection anyway. A major difference is of course that the new
531              selection class supports multiple selected shapes in one layer
532            
533            - Move the object that represents the selection from the
534              application to the canvas. The canvas is a better place than the
535              application because the selection represents which shapes and
536              layer of the map displayed by the canvas are selected and
537              affects how the map is drawn.
538    
539            - Make the selection and its messages publicly available through
540              the mainwindow.
541    
542            - The non-modal dialogs do not get a reference to the interactor
543              anymore as they can simply refer to their parent, the
544              mainwindow, for the what the interactor had to offer.
545    
546            * Thuban/UI/selection.py: New module with a class to represent the
547            selection.
548    
549            * Thuban/UI/messages.py (SELECTED_TABLE, SELECTED_MAP): Remove
550            these unused messages
551    
552            * Thuban/UI/application.py (ThubanApplication.OnInit)
553            (ThubanApplication.OnExit, ThubanApplication.SetSession): The
554            interactor is gone now.
555            (ThubanApplication.CreateMainWindow): There is no interactor
556            anymore so we pass None as the interactor argument for now for
557            compatibility.
558    
559            * Thuban/UI/view.py (MapCanvas.delegated_messages)
560            (MapCanvas.Subscribe, MapCanvas.Unsubscribe): In Subscribe and
561            Unsubscribe, delegate messages according to the delegated_messages
562            class variable.
563            (MapCanvas.__getattr__, MapCanvas.delegated_methods): Get some
564            attributes from instance variables as described with the
565            delegated_methods class variable.
566            (MapCanvas.__init__): New instance variable selection holding the
567            current selection
568            (MapCanvas.do_redraw): Deal with multiple selected shapes. Simply
569            pass them on to the renderer
570            (MapCanvas.SetMap): Clear the selection when a different map is
571            selected.
572            (MapCanvas.shape_selected): Simple force a complete redraw. The
573            selection class now takes care of only issueing SHAPES_SELECTED
574            messages when the set of selected shapes actually does change.
575            (MapCanvas.SelectShapeAt): The selection is now managed in
576            self.selection
577    
578            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages)
579            (MainWindow.Subscribe, MainWindow.Unsubscribe): In Subscribe and
580            Unsubscribe, delegate messages according to the delegated_messages
581            class variable.
582            (MainWindow.delegated_methods, MainWindow.__getattr__): Get some
583            attributes from instance variables as described with the
584            delegated_methods class variable.
585            (MainWindow.__init__): The interactor as ivar is gone. The
586            parameter is still there for compatibility. The selection messages
587            now come from the canvas.
588            (MainWindow.current_layer, MainWindow.has_selected_layer):
589            Delegate to the the canvas.
590            (MainWindow.LayerShowTable, MainWindow.Classify)
591            (MainWindow.identify_view_on_demand): The dialogs don't need the
592            interactor parameter anymore.
593    
594            * Thuban/UI/tableview.py (TableFrame.__init__)
595            (LayerTableFrame.__init__, LayerTableFrame.OnClose)
596            (LayerTableFrame.row_selected): The interactor is gone. It's job
597            from the dialog's point of view is now done by the mainwindow,
598            i.e. the parent. Subscribe to SHAPES_SELECTED instead
599            of SELECTED_SHAPE
600            
601            * Thuban/UI/dialogs.py (NonModalDialog.__init__): The interactor
602            is gone. It's job from the dialog's point of view is now done by
603            the mainwindow, i.e. the parent.
604            
605            * Thuban/UI/classifier.py (Classifier.__init__): The interactor is
606            gone. It's job from the dialog's point of view is now done by the
607            mainwindow, i.e. the parent.
608    
609            * Thuban/UI/tree.py (SessionTreeView.__init__): The interactor is
610            gone. It's job from the dialog's point of view is now done by the
611            mainwindow, i.e. the parent.
612            (SessionTreeCtrl.__init__): New parameter mainwindow which is
613            stored as self.mainwindow. The mainwindow is need so that the tree
614            can still subscribe to the selection messages.
615            (SessionTreeCtrl.__init__, SessionTreeCtrl.unsubscribe_all)
616            (SessionTreeCtrl.update_tree, SessionTreeCtrl.OnSelChanged): The
617            selection is now accessible through the mainwindow. Subscribe to
618            SHAPES_SELECTED instead of SELECTED_SHAPE
619    
620            * Thuban/UI/identifyview.py (IdentifyView.__init__): Use the
621            SHAPES_SELECTED message now.
622            (IdentifyView.selected_shape): Now subscribed to SHAPES_SELECTED,
623            so deal with multiple shapes
624            (IdentifyView.__init__, IdentifyView.OnClose): The interactor is
625            gone. It's job from the dialog's point of view is now done by the
626            mainwindow, i.e. the parent.
627    
628            * Thuban/UI/controls.py (RecordListCtrl.fill_list): The second
629            parameter is now a list of shape ids.
630            (RecordTable.SetTable): The second parameter is now a list of
631            indices.
632    
633            * Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Rename the
634            selected_shape parameter and ivar to selected_shapes. It's now a
635            list of shape ids.
636            (MapRenderer.draw_label_layer): Deal with multiple selected
637            shapes. Rearrange the code a bit so that the setup and shape type
638            distinctions are only executed once.
639    
640            * test/test_selection.py: Test cases for the selection class
641    
642    2003-03-11  Jonathan Coles   <[email protected]>
643    
644            * Thuban/Model/load.py: Temporary fix so that the xml reader
645            doesn't cause Thuban to crash.
646    
647            * Thuban/Model/layer.py: Handle the cyclic references between
648            a layer and its classification better, and be sure to disconnect
649            the classification from the layer when the layer is destroyed
650            so that we don't maintain a cyclic reference that may not be
651            garbage collected.
652    
653            * Thuban/Model/classification.py: See comment for layer.py.
654    
655    2003-03-12  Jan-Oliver Wagner <[email protected]>
656    
657            * HOWTO-Release: New. Information on the steps for releasing
658            a new version of Thuban.
659    
660    2003-03-11  Jonathan Coles   <[email protected]>
661    
662            * Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog.
663            Use True instead of true.
664            (Classifier): Should have a single panel in which all the controls lie.
665    
666            * Thuban/UI/proj4dialog.py: Add normal border.
667    
668            * Thuban/UI/tree.py: Fixed problem with bad item images under Windows.
669    
670            * Thuban/UI/mainwindow.py: Use True instead of true.
671    
672            * setup.py: Update some definitions to use wxWindows2.4 files
673    
674            * Data/iceland_sample_class.thuban: Fixed file so that the
675            field_type information is present.
676    
677    2003-03-10  Jonathan Coles   <[email protected]>
678    
679            * Thuban/UI/classifier.py (Classifier.__init__): Make the
680            field type label grow so that when the text changes the
681            size is updated correctly. This may be a wxWindows bug.
682    
683    2003-03-10  Jonathan Coles   <[email protected]>
684    
685            * Thuban/UI/application.py: Changed SESSION_CHANGED to
686            SESSION_REPLACED.
687    
688            * Thuban/UI/classifier.py: Wrap text with _().
689            (ClassGrid.CreateTable): Set dimensions and size hints here,
690            instead of in Reset, so we only set the size once.
691    
692            * Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()!
693    
694            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
695            Call Close() instead of Shutdown().
696    
697            * Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED.
698    
699            * Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED.
700            Go back to using OnClose() instead of Shutdown().
701    
702    2003-03-10  Jonathan Coles   <[email protected]>
703    
704            * Thuban/UI/classifier.py (Classifier): SelectField() needed
705            to know the old field index as well as the new one.
706    
707    2003-03-10  Jonathan Coles   <[email protected]>
708    
709            * Thuban/UI/classifier.py (Classifier): Use __SelectField()
710            to correctly set the table information and call this from
711            __init__ and from _OnFieldSelect so that all the information
712            is up to date when the dialog opens and when a field is changed.
713    
714    2003-03-10  Jonathan Coles   <[email protected]>
715    
716            * Thuban/Model/classification.py (Classification): Don't use
717            layer's message function directly, use the ClassChanged() method
718            when then classification changes. SetField/SetFieldType/SetLayer
719            must keep the information about field name and field type in
720            sync when an owning layer is set or removed.
721    
722            * Thuban/Model/layer.py: Added ClassChanged() so that the
723            classification can tell the layer when its data has changed.
724            (Layer.SetClassification): Accepts None as an arguement to
725            remove the current classification and correctly handles
726            adding a new classification.
727    
728            * Thuban/Model/load.py: Comment out print statement
729    
730            * test/test_classification.py, test/test_save.py: New and
731            improved tests.
732    
733    2003-03-07  Jonathan Coles   <[email protected]>
734    
735            * Thuban/Model/classification.py: Implemented __copy__ and
736            __deepcopy__ for ClassGroup* and ClassGroupProperites so
737            they can easily be copied by the classifier dialog.
738            (ClassGroupProperites.__init__): The default line color should
739            have been Color.Black.
740    
741            * Thuban/UI/classifier.py: Setting and Getting table values now
742            uses a consistent set of functions.
743            (Classifier): Now non-modal. Has field type label which changes
744            as the field changes. Keep track of buttons in a list so that
745            we can enable/disable the buttons when the None field is selected.
746            (SelectPropertiesDialog): Add buttons to make the colors transparent.
747    
748            * Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which
749            does what OnClose did, but can be called by the application to
750            close a window. Needed when a session changes, and we have to
751            close the classifier windows.
752    
753            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
754            Shuts down open dialogs. Used when a new session is created
755            or a session is opened.
756            (MainWindow.SaveSession): Should only call application.SaveSession()
757            if we don't call SaveSessionAs first.
758            (MainWindow.Classify): Allow different classifier dialogs for
759            different layers.
760    
761            * Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let
762            the parent class handle it. Add Shutdown() to unsubscibe from
763            event notification and call the parent Shutdown(). This was
764            necessary so the application can close the tree window.
765    
766    2003-03-06  Jonathan Coles   <[email protected]>
767    
768            * Thuban/Model/classification.py: Minor documentation changes,
769            Addition of __eq__ and __ne__ methods.
770            (Classification.SetLayer): prevent recursion between this method
771            and Layer.SetClassification().
772    
773            * Thuban/Model/color.py: Addition of __eq__ and __ne__ methods.
774    
775            * Thuban/Model/layer.py (SetClassification): prevent recursion
776            between this method and Classification.SetLayer().
777    
778            * test/test_classification.py, test/test_load.py,
779            test/test_session.py: Fixed and added tests for the classification
780            classes.
781    
782    2003-03-06  Bernhard Herzog  <[email protected]>
783    
784            * Thuban/UI/classifier.py (ClassGrid.__init__)
785            (ClassGrid.CreateTable): Move the SetSelectionMode call to
786            CreateTable because otherwise it triggers an assertion in
787            wxPython/wxGTK 2.4.
788    
789    2003-03-05  Jonathan Coles   <[email protected]>
790    
791            * Thuban/common.py: Move FIELDTYPE constants back to table.py.
792    
793            * Thuban/Model/load.py: import FIELDTYPE constants from table.
794    
795            * Thuban/UI/classifier.py: import FIELDTYPE constants from table.
796    
797            * Thuban/Model/table.py: Put FIELDTYPE constants back.
798    
799    2003-03-05  Jonathan Coles   <[email protected]>
800    
801            * Thuban/UI/classifier.py: Added class documentation.
802            Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
803            Store just the groups in the table and generate the other
804            column information when it is requested. Add "None" field
805            to pull-down to select no classification.
806    
807            * Thuban/common.py: Moved FIELDTYPE constants from table.py
808            (Str2Num): Only catch ValueError exceptions.
809    
810            * Thuban/Model/classification.py: Class documentation. Renaming
811            of methods with Stroke to Line. Groups are stored in a single
812            list with the default as the first element. Groups are searched
813            in the order they appear in the list.
814    
815            * Thuban/Model/color.py: Documentation.
816    
817            * Thuban/Model/layer.py (Layer): Add GetFieldType to retreive
818            the kind of data represented by a field.
819    
820            * Thuban/Model/load.py (ProcessSession): Use proper string
821            conversion function; fixes RTbug #1713.
822    
823            * Thuban/Model/save.py (Saver): Store field type information.
824    
825            * Thuban/Model/table.py: Put FIELDTYPE constants in common.py.
826            (Table): Add field_info_by_name() to retrieve field information
827            by specifying the field name, not the number.
828    
829            * Thuban/UI/mainwindow.py: Function name changes.
830    
831            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
832            get the layer classification once. Don't try to classify
833            values when the field is None: just use the default properties.
834    
835            * Thuban/UI/view.py: Function name changes.
836    
837            * Doc/thuban.dtd: Add field_type attribute to a classification.
838    
839    2003-03-04  Bernhard Herzog  <[email protected]>
840    
841            * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
842            the fill and stroke layer attributes optional with suitable
843            default values. Add the stroke_width layer attribute. Use correct
844            syntax for empty elements. Make the attribute list for labels
845            refer to the label element.
846    
847    2003-03-04  Bernhard Herzog  <[email protected]>
848    
849            * setup.py (thuban_build_py.build): Add a comment about distutils in
850            Python 2.3 containing some of the functionality we implement in
851            setup.py ourselves.
852    
853            * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
854            before the selection mode. Doing it the other way round triggers
855            an assertion in wxWindows.
856    
857            * Thuban/Model/save.py (escape): Fix typo in doc-string
858    
859            * Thuban/Model/classification.py: Remove unnecessary wxPython
860            import
861    
862    2003-03-04  Jonathan Coles   <[email protected]>
863    
864            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
865            Parameter 'value' should default to None.
866    
867            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
868            the class attribute __classification is now private.
869    
870            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
871            Classifier to ClassGrid. Added support for removing selected rows,
872            which including code for keeping track of when cells are selected,
873            and deselected.
874            (ClassTable): Support for added/removing rows. Fixed a problem
875            with __ParseInput whereby it would not allow strings (only numbers)
876            to be entered.
877            (Classifier): Added button and supporting code for removing
878            selected rows.
879    
880    2003-02-27  Jonathan Coles   <[email protected]>
881    
882            * Thuban/common.py: Moved color conversion functions into
883            Thuban/UI/common.py.
884            (Str2Num): Now converts the float (not the string) to a long/int
885            so that an exception isn't thrown.
886    
887            * Thuban/UI/common.py: Common functions used in several UI modules
888    
889            * Thuban/Model/classification.py: Changed the class hierarchy
890            so that a Classification consists of Groups which return
891            Properties when a value matches a Group.
892    
893            * Thuban/Model/layer.py: Fixed name resolution problem.
894    
895            * Thuban/Model/load.py: Use new Classification and Group functions.
896    
897            * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
898            failure.
899            (Saver.write_classification): Use new Classification and Group
900            functions.
901    
902            * Thuban/UI/classifier.py: Changes to use new Classification and Group
903            functions. Fix to create a tuple with a single value instead of
904            simply returning the value.
905    
906            * Thuban/UI/renderer.py: Use new Classification and Group functions.
907            Use common.py functions.
908    
909            * Thuban/UI/tree.py: Use common.py functions.
910            
911            * test/test_classification.py: Use new Classification and Group
912            classes.
913    
914    2003-02-24  Jonathan Coles   <[email protected]>
915    
916            * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
917            functions from Thuban color objects to wxWindow colour objects.
918    
919            * Thuban/Model/classification.py (Classification): Renamed
920            GetProperties() to GetClassData(). Used the new iterator
921            in TreeInfo().
922            (ClassIterator): Iterator implementation to iterate over the
923            ClassData objects in a classification object.
924    
925            * Thuban/Model/save.py (Saver.write_classificaton): Uses
926            the new iterator to save the classification information.
927    
928            * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
929            for changing the stroke and fill colors and previewing the
930            changes.
931    
932            * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
933            MainWindow.SaveSessionAs): Text string changes so the dialogs
934            have more meaningful titles.
935    
936            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
937            Classification method name from GetProperties to GetClassData.
938    
939            * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
940            instead of accessing now non-existent class variables.
941    
942    2003-02-24  Bernhard Herzog  <[email protected]>
943    
944            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
945            unneeded Shape() call. Rendering is substantially faster without
946            it and it avoids some problems with broken shape files.
947    
948    2003-02-20  Frank Koormann   <[email protected]>
949    
950            Force minimal size of identify and label dialogs. The autosizing
951            looked too ugly.
952    
953            * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
954            * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
955            Set size of listctrl.
956            * Thuban/UI/identifyview.py (IdentifyView.__init__):
957            Set size of dialog.
958    
959    2003-02-19  Jonathan Coles   <[email protected]>
960    
961            * test/test_classification.py, test/test_layer.py,
962            test/test_load.py, test/test_map.py, test/test_session.py:
963            Updated the tests to use the new functions that are in the
964            respective classes.
965    
966            * Thuban/Model/classification.py (Classification):
967            Uses the new ClassData* classes. Modification messages are
968            passed up to the parent layer (if it exists).
969            (ClassData): New class to encapsulate the common data in each
970            classification property.
971            (ClassDataDefault): Represents the Default class. data.
972            (ClassDataPoint): Represents a single class. data point
973            (ClassDataRange): Represents a class. range
974            (ClassDataMap): Represents a class. map (unused).
975    
976            * Thuban/Model/color.py: Added Color.None to represent something
977            with no color. Color.Black represents the color black.
978            (NoColor): Helper class derived from Color to represent something
979            with no color.
980    
981            * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
982            stroke_width attributes. Made the 'classification' attribute private.
983            New methods for setting/getting the classification.
984    
985            * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
986            to get the classifcation and use the new ClassData* classes to
987            hold the classification data. Use Str2Num to convert numbers
988            properly.
989    
990            * Thuban/Model/save.py (Saver): Use new Color and Classification
991            methods
992    
993            * Thuban/UI/classifier.py (ClassGrid): New class to represent a
994            custom grid.
995            (ClassTable): Support for editing Values and Labels and for
996            changing what type (point or range) of data is stored in each
997            property based on how the user enters the data.
998            (Classifier): Support for saving the new classifications and
999            launching the dialog to edit a property.
1000            (SelectPropertiesDialog): New class for editing the visual
1001            properties of a classification (stroke color, width, and fill color)
1002            (ClassPreviewer): Took the Draw method from ClassRenderer and
1003            made most of it into this new class. Intend to use this class in
1004            the SelectPropertiesDialog for previewing changes.
1005    
1006            * Thuban/UI/renderer.py: Use new Color and Classification methods.
1007    
1008            * Thuban/UI/tree.py: Formatting changes.
1009    
1010            * Doc/thuban.dtd: Add 'label' element
1011    
1012            * Thuban/common.py: New. Contains common routines used throughout
1013            the code.
1014            (Str2Num): Takes a string and converts it to the "best" type of
1015            number.
1016    
1017    2003-02-14  Bernhard Herzog  <[email protected]>
1018    
1019            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the
1020            dragging flag is always set to 0 even when the tool implementation
1021            raises an exception
1022    
1023  2003-02-11  Bernhard Herzog  <[email protected]>  2003-02-11  Bernhard Herzog  <[email protected]>
1024    
1025          * Thuban/UI/application.py (ThubanApplication.splash_screen): New          * Thuban/UI/application.py (ThubanApplication.splash_screen): New
# Line 19  Line 1041 
1041    
1042  2003-02-10  Jonathan Coles  <[email protected]>  2003-02-10  Jonathan Coles  <[email protected]>
1043    
1044          * Thuban/Model/save.py (Saver.open_element, Saver.close_element):          * Thuban/Model/save.py (Saver.open_element, Saver.close_element):
1045          Added element_open variable to track opening and closing of tags          Added element_open variable to track opening and closing of tags
1046          so that tags that don't span more than one line are closed with          so that tags that don't span more than one line are closed with
1047          /> instead of </tag_name>. Use the GetDefault*() methods of          /> instead of </tag_name>. Use the GetDefault*() methods of
# Line 32  Line 1054 
1054          (ClassData): New class to encapsulate the classification data          (ClassData): New class to encapsulate the classification data
1055    
1056          * Thuban/Model/layer.py (Layer): Remove the          * Thuban/Model/layer.py (Layer): Remove the
1057          Set[Fill|Stroke|StrokeWidth]() methods. Code should call the          Set[Fill|Stroke|StrokeWidth]() methods. Code should call the
1058          SetDefault*() methods on the layer's classification object.          SetDefault*() methods on the layer's classification object.
1059          (Layer.__init__): Use the new SetDefault*() methods in the          (Layer.__init__): Use the new SetDefault*() methods in the
1060          Classification class.          Classification class.
1061    
1062          * Thuban/Model/load.py (ProcessSession): Use the new ClassData          * Thuban/Model/load.py (ProcessSession): Use the new ClassData
1063          object instead of a dictionary.          object instead of a dictionary.
1064    
1065          * Thuban/UI/classifier.py (ClassRenderer): New class to          * Thuban/UI/classifier.py (ClassRenderer): New class to
1066          draw the classifications in the dialog box's table.          draw the classifications in the dialog box's table.
1067          (Classifier): Modified to use the ClassRenderer class.          (Classifier): Modified to use the ClassRenderer class.
1068    
1069          * Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*()          * Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*()
1070          methods of the Classification class.              methods of the Classification class.
1071    
1072          * Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods          * Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods
1073          of the ClassData class.          of the ClassData class.
# Line 68  Line 1090 
1090  2003-01-28  Jonathan Coles  <[email protected]>  2003-01-28  Jonathan Coles  <[email protected]>
1091    
1092          * Thuban/UI/classifier.py (Classifier): Resolved merging conflicts.          * Thuban/UI/classifier.py (Classifier): Resolved merging conflicts.
1093          Fixed crashing problem on some systems. Dialog box shows          Fixed crashing problem on some systems. Dialog box shows
1094          classification data.          classification data.
1095    
1096          * Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing          * Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing
# Line 81  Line 1103 
1103          function to add information about the classification into the          function to add information about the classification into the
1104          tree view.          tree view.
1105    
1106  2003-01-27      Jan-Oliver Wagner <[email protected]>  2003-01-27  Jan-Oliver Wagner <[email protected]>
1107    
1108          * Thuban/__init__.py (_): New.          * Thuban/__init__.py (_): New.
1109    
1110          * Thuban/Model/classification.py, Thuban/Model/extension.py,          * Thuban/Model/classification.py, Thuban/Model/extension.py,
1111          Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py,          Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py,
1112          Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py,          Thuban/Model/session.py, Thuban/UI/application.py,
1113          Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py,          Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py,
1114          Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py,          Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py,
1115          Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py,          Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py,
1116          Thuban/Lib/connector.py, Thuban/Lib/fileutil.py:          Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py,
1117          Replace user string by _() for i18n.          Thuban/Lib/fileutil.py: Replace user string by _() for i18n.
1118    
1119  2003-01-27  Jonathan Coles  <[email protected]>  2003-01-27  Jonathan Coles  <[email protected]>
1120    
1121    * Thuban/Model/layer.py: Classification initialization calls.          * Thuban/Model/layer.py: Classification initialization calls.
1122    
1123    * Thuban/Model/classification.py: Created class to encapsulate          * Thuban/Model/classification.py: Created class to encapsulate
1124    a layer classification. Supports specific data points and          a layer classification. Supports specific data points and
1125    ranges.          ranges.
1126    
1127    * Thuban/Model/load.py: Added support for loading classification          * Thuban/Model/load.py: Added support for loading classification
1128    information.          information.
1129    
1130    * Thuban/Model/save.py: Added support for saving classification          * Thuban/Model/save.py: Added support for saving classification
1131    information.          information.
1132    
1133    * Thuban/UI/classifier.py: Initial class for a dialog box for          * Thuban/UI/classifier.py: Initial class for a dialog box for
1134    specifying classification information.          specifying classification information.
1135    
1136    * Thuban/UI/mainwindows.py: Support for opening the classifier          * Thuban/UI/mainwindows.py: Support for opening the classifier
1137    dialog.          dialog.
1138    
1139    * Thuban/UI/renderer.py: Support for drawing a layer with the          * Thuban/UI/renderer.py: Support for drawing a layer with the
1140    classification information.          classification information.
1141    
1142    * Data/iceland_sample_class.thuban: iceland_sample with          * Data/iceland_sample_class.thuban: iceland_sample with
1143    classification data.          classification data.
1144    
1145    * test/test_classification: Tests for the Classification class.          * test/test_classification: Tests for the Classification class.
1146    
1147  2002-12-09  Bernhard Herzog  <[email protected]>  2002-12-09  Bernhard Herzog  <[email protected]>
1148    
# Line 156  Line 1178 
1178          * Thuban/UI/mainwindow.py: Altered the order of tools in the          * Thuban/UI/mainwindow.py: Altered the order of tools in the
1179          toolbar: First now are all navigation tools (Zoom In/Out, Pan,          toolbar: First now are all navigation tools (Zoom In/Out, Pan,
1180          Full Extent).          Full Extent).
1181        
1182  2002-10-23  Bernhard Herzog  <[email protected]>  2002-10-23  Bernhard Herzog  <[email protected]>
1183    
1184          * setup.py (setup call): version now 0.1.3          * setup.py (setup call): version now 0.1.3
# Line 267  Line 1289 
1289          * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe          * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
1290          VIEW_POSITION          VIEW_POSITION
1291    
1292  2002-09-04  Frank Koormann   <[email protected]>  2002-09-04  Frank Koormann  <[email protected]>
1293    
1294          * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")          * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
1295    
# Line 354  Line 1376 
1376    
1377          * Thuban/Model/table.py (Table.write_record): New method to write          * Thuban/Model/table.py (Table.write_record): New method to write
1378          records.          records.
1379          (Table.__init__): Open the DBF file for writing too.          (Table.__init__): Open the DBF file for writing too.
1380    
1381          * Thuban/UI/controls.py (RecordTable.SetValue): Write the value          * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
1382          into the underlying table.          into the underlying table.
# Line 392  Line 1414 
1414          * setup.py (ThubanInstall.run): Don't repr install_lib_orig          * setup.py (ThubanInstall.run): Don't repr install_lib_orig
1415          because thubaninit_contents will do it for us.          because thubaninit_contents will do it for us.
1416    
1417  2002-08-16      Jan-Oliver Wagner <[email protected]>  2002-08-16  Jan-Oliver Wagner <[email protected]>
1418    
1419          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
1420          tree window already open          tree window already open
# Line 520  Line 1542 
1542          * 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
1543          CHANGED channel to be informed of changes.          CHANGED channel to be informed of changes.
1544          (SessionTreeCtrl.session_channels): Not needed any longer.          (SessionTreeCtrl.session_channels): Not needed any longer.
1545          (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):          (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
1546          Only have to (un)subscribe CHANGED          Only have to (un)subscribe CHANGED
1547    
1548          * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.          * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
# Line 581  Line 1603 
1603          * Thuban/Model/layer.py (Layer.TreeInfo),          * Thuban/Model/layer.py (Layer.TreeInfo),
1604          Thuban/Model/extension.py (Extension.TreeInfo),          Thuban/Model/extension.py (Extension.TreeInfo),
1605          Thuban/Model/map.py (Map.TreeInfo),          Thuban/Model/map.py (Map.TreeInfo),
1606          Thuban/Model/session.py (Session.TreeInfo):          Thuban/Model/session.py (Session.TreeInfo):
1607          Add TreeInfo methods to implement the new tree view update scheme          Add TreeInfo methods to implement the new tree view update scheme
1608    
1609  2002-07-16  Bernhard Herzog  <[email protected]>  2002-07-16  Bernhard Herzog  <[email protected]>
# Line 662  Line 1684 
1684          * setup.py: In the setup call, make sure that the library          * setup.py: In the setup call, make sure that the library
1685          directories are under $prefix/lib not directly under $prefix.          directories are under $prefix/lib not directly under $prefix.
1686    
1687  2002-06-20      Jan-Oliver Wagner <[email protected]>  2002-06-20  Jan-Oliver Wagner <[email protected]>
1688    
1689          * Thuban/Model/extension.py: new module to handle extension objects.          * Thuban/Model/extension.py: new module to handle extension objects.
1690          * Thuban/Model/messages.py: new messages for extensions.          * Thuban/Model/messages.py: new messages for extensions.
# Line 891  Line 1913 
1913          * Thuban/UI/messages.py (VIEW_POSITION): New message for the          * Thuban/UI/messages.py (VIEW_POSITION): New message for the
1914          position in the statusbar          position in the statusbar
1915    
1916  2002-04-26      Frank Koormann <[email protected]>  2002-04-26  Frank Koormann <[email protected]>
1917    
1918          * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data          * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
1919    
1920  2002-04-24      Frank Koormann <[email protected]>  2002-04-24  Frank Koormann <[email protected]>
1921            
1922          * Resources/Bitmaps/identify.xpm: shadow added          * Resources/Bitmaps/identify.xpm: shadow added
1923    
1924          * Resources/Bitmaps/fullextent.xpm: new          * Resources/Bitmaps/fullextent.xpm: new
           
 2002-04-22      Jan-Oliver Wagner <[email protected]>  
1925    
1926          * Thuban/UI/tree.py (update_tree): added test for None on map bounding box  2002-04-22  Jan-Oliver Wagner <[email protected]>
1927    
1928            * Thuban/UI/tree.py (update_tree): added test for None on map bounding
1929            box
1930    
1931  2002-04-21      Jan-Oliver Wagner <[email protected]>  2002-04-21  Jan-Oliver Wagner <[email protected]>
1932    
1933          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
1934    
1935          * Thuban/UI/tree.py (update_tree): added added map extent          * Thuban/UI/tree.py (update_tree): added added map extent
1936    
1937          * Thuban/UI/mainwindow.py (_method_command): extended by parameter          * Thuban/UI/mainwindow.py (_method_command): extended by parameter
1938          icon; added map_full_extend as tool          icon; added map_full_extend as tool
1939    
1940  2002-04-19      Jan-Oliver Wagner <[email protected]>  2002-04-19  Jan-Oliver Wagner <[email protected]>
1941    
1942          * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for          * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
1943          saving _new_ sessions          saving _new_ sessions
# Line 1016  Line 2039 
2039    
2040          * setup.py: increase version number to 0.1          * setup.py: increase version number to 0.1
2041          (data_dist): New command class for data distribution          (data_dist): New command class for data distribution
           
2042    
2043  2001-09-14  Bernhard Herzog  <[email protected]>  2001-09-14  Bernhard Herzog  <[email protected]>
2044    
2045          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
2046          Handle the case of no layer (i.e. layer is None) properly.          Handle the case of no layer (i.e. layer is None) properly.
2047    
2048          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
2049          Set the initial selection of the combo boxes to reflect the          Set the initial selection of the combo boxes to reflect the
2050          projection we're starting with in a way that works on windows,          projection we're starting with in a way that works on windows,
2051          too.          too.
# Line 1133  Line 2155 
2155          (MainWindow.identify_view_on_demand): Store the interactor in an          (MainWindow.identify_view_on_demand): Store the interactor in an
2156          instvar and use that reference instead of going through main.app          instvar and use that reference instead of going through main.app
2157    
2158          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
2159          * Thuban/UI/application.py (ThubanApplication.OnInit):          * Thuban/UI/application.py (ThubanApplication.OnInit):
2160          * Thuban/UI/main.py (main): Create the session tree view in main          * Thuban/UI/main.py (main): Create the session tree view in main
2161          with the new mainwindow method ShowSessionTree and not directly          with the new mainwindow method ShowSessionTree and not directly
2162          the application's OnInit method          the application's OnInit method
# Line 1150  Line 2172 
2172          layer to the tableview dialog.          layer to the tableview dialog.
2173    
2174          * Thuban/UI/tableview.py: Add some doc-strings          * Thuban/UI/tableview.py: Add some doc-strings
2175          (TableGrid):          (TableGrid):
2176          (TableGrid.OnRangeSelect):          (TableGrid.OnRangeSelect):
2177          (TableGrid.OnSelectCell):          (TableGrid.OnSelectCell):
2178          (TableFrame.__init__):          (TableFrame.__init__):
# Line 1217  Line 2239 
2239  2001-09-05  Bernhard Herzog  <[email protected]>  2001-09-05  Bernhard Herzog  <[email protected]>
2240    
2241          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
2242            
2243          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
2244          interactor to pass through to the MapCanvas          interactor to pass through to the MapCanvas
2245            
2246          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
2247          argument to the MainWindow constructor to get rid of the ugly hack          argument to the MainWindow constructor to get rid of the ugly hack
2248          that made main.app available early just so that the mapcanvas          that made main.app available early just so that the mapcanvas
# Line 1267  Line 2289 
2289          (ThubanInstall.run): Remove the leading install root from the          (ThubanInstall.run): Remove the leading install root from the
2290          script filename if an install root was specified and use the new          script filename if an install root was specified and use the new
2291          link_file method          link_file method
2292            
2293          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
2294          the window when the first layer is added to the map.          the window when the first layer is added to the map.
2295    
# Line 1304  Line 2326 
2326          (InnoIconItem): Helper class for bdist_inno          (InnoIconItem): Helper class for bdist_inno
2327          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
2328          this together with the appropriate parameters, to the setup call.          this together with the appropriate parameters, to the setup call.
2329            
2330          * setup.cfg (bdist_inno): added new section for the inno setup          * setup.cfg (bdist_inno): added new section for the inno setup
2331          installer          installer
2332    

Legend:
Removed from v.402  
changed lines
  Added in v.669

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26