/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by bh, Thu Sep 6 13:32:55 2001 UTC revision 59 by bh, Thu Sep 13 13:56:47 2001 UTC
# Line 1  Line 1 
1    2001-09-13  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to
4            idle time when there actually is something to draw. If there's
5            nothing to draw simply clear the window
6            (MapCanvas.do_redraw): Call dc.EndDrawing and add some comments.
7            (MapCanvas.SetMap): force a redraw in all cases because
8            FitMapToWindow doesn't always do it.
9            (MapCanvas.ZoomFactor): Add an optional parameter, center, to
10            specify the point to move into the center of the window
11            (ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't
12            dragged, zoon in/out by a factor of 2
13    
14            * Thuban/Model/session.py (create_empty_session): Unset the
15            modified bit before returning it
16    
17            * Thuban/UI/mainwindow.py (MainWindow.NewSession): Use
18            create_empty_session session to create the new, empty session.
19    
20            * Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of
21            the tool bitmaps.
22            (MainWindow.OnClose, MainWindow.save_modified_session): Separate
23            the code that asks whether the session should be saved into the
24            new method save_modified_session.
25            (MainWindow.OpenSession, MainWindow.NewSession): Use the new
26            method to save modified session here too.
27    
28    2001-09-11  Bernhard Herzog  <[email protected]>
29    
30            * setup.py (InnoIconItem): fix typo
31    
32            (thuban_bdist_inno.run):
33            (bdist_inno.run): Move the decision not to create symlinks on
34            non-nt platforms to thuban_bdist_inno and do it unconditinally
35            since we never want to create the symlinks here
36    
37    2001-09-10  Bernhard Herzog  <[email protected]>
38    
39            * Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the
40            identify view immediately
41    
42            * Thuban/UI/controls.py: New file with two classes RecordListCtrl
43            and SelectableRecordListCtrl that implement the code shared by the
44            identify view and the label dialog
45    
46            * Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the
47            new class RecordListCtrl
48    
49            * Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the
50            return value of GetValue is None instead of using it as a boolean
51            directly so that Zero numbers are handled properly.
52            (LabelListCtrl): Derive from the new class
53            SelectableRecordListCtrl
54    
55            * Thuban/UI/proj4dialog.py (Proj4Dialog.__init__):
56            (Proj4Dialog.dialogLayout): Make the window resizable and set the
57            size of the text control explicitly to make the sizers work on
58            both Windows and X.
59    
60    2001-09-07  Bernhard Herzog  <[email protected]>
61    
62            * Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter
63            that can limit the search to the currently selected layer.
64            (MapCanvas.SelectShapeAt): Make sure that the currently selected
65            layer stays selected even when no shape is found
66            (MapCanvas.FitRectToWindow): If the rect has zero with or zero
67            height do nothing (avoids zero division errors)
68    
69  2001-09-06  Bernhard Herzog  <[email protected]>  2001-09-06  Bernhard Herzog  <[email protected]>
70    
71            * Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__):
72            Correct the spelling of SessionTreeCtrl. dabbrev is too damn
73            convenient :-)
74            (SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce
75            a new instvar layer_to_item to map layers to tree items
76            (SessionTreeCtrl.layer_selected): Select the appropriate tree item
77            to match the current selection in the interactor
78    
79            * Thuban/UI/interactor.py (Interactor.SelectedLayer):
80            (Interactor.HasSelectedLayer): New methods to query the current
81            selection
82    
83            * Thuban/UI/mainwindow.py (MainWindow.current_layer):
84            (MainWindow.has_selected_layer): Simply call the appropriate
85            interactor method
86    
87            * Thuban/UI/mainwindow.py (MainWindow.__init__):
88            (MainWindow.LayerShowTable):
89            (MainWindow.identify_view_on_demand): Store the interactor in an
90            instvar and use that reference instead of going through main.app
91    
92            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
93            * Thuban/UI/application.py (ThubanApplication.OnInit):
94            * Thuban/UI/main.py (main): Create the session tree view in main
95            with the new mainwindow method ShowSessionTree and not directly
96            the application's OnInit method
97    
98            * Thuban/UI/tree.py (myTreeCtrlPanel):
99            (SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a
100            TreeCtrl isntead of a panel. This affects most method since we now
101            refer to self instead of self.tree
102            (SessionTreeView): New class implementing a non-modal dialog
103            showing the session tree.
104    
105            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
106            layer to the tableview dialog.
107    
108            * Thuban/UI/tableview.py: Add some doc-strings
109            (TableGrid):
110            (TableGrid.OnRangeSelect):
111            (TableGrid.OnSelectCell):
112            (TableFrame.__init__):
113            (TableFrame.row_selected):
114            Selecting rows in the grid view now updates the selected shapes
115            through the TableFrame. To achieve this we derive TableGrid from
116            Publisher and introduce the message type ROW_SELECTED which the
117            TableFrame subscribes to and which is issued by OnRangeSelect and
118            OnSelectCell
119    
120            (DataTable.SelectRow): Removed because it's no longer needed in
121            the row/shape selection scheme
122    
123          * Thuban/UI/dialogs.py: New file implementing common classes for          * Thuban/UI/dialogs.py: New file implementing common classes for
124          dialogs          dialogs
125    

Legend:
Removed from v.32  
changed lines
  Added in v.59

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26