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

Legend:
Removed from v.285  
changed lines
  Added in v.595

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26