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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26