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

Legend:
Removed from v.271  
changed lines
  Added in v.586

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26