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

Legend:
Removed from v.354  
changed lines
  Added in v.625

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26