/[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 16 by bh, Fri Aug 31 15:36:39 2001 UTC revision 55 by bh, Tue Sep 11 11:45:27 2001 UTC
# Line 1  Line 1 
1    2001-09-11  Bernhard Herzog  <[email protected]>
2    
3            * setup.py (InnoIconItem): fix typo
4    
5            (thuban_bdist_inno.run):
6            (bdist_inno.run): Move the decision not to create symlinks on
7            non-nt platforms to thuban_bdist_inno and do it unconditinally
8            since we never want to create the symlinks here
9    
10    2001-09-10  Bernhard Herzog  <[email protected]>
11    
12            * Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the
13            identify view immediately
14    
15            * Thuban/UI/controls.py: New file with two classes RecordListCtrl
16            and SelectableRecordListCtrl that implement the code shared by the
17            identify view and the label dialog
18    
19            * Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the
20            new class RecordListCtrl
21    
22            * Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the
23            return value of GetValue is None instead of using it as a boolean
24            directly so that Zero numbers are handled properly.
25            (LabelListCtrl): Derive from the new class
26            SelectableRecordListCtrl
27    
28            * Thuban/UI/proj4dialog.py (Proj4Dialog.__init__):
29            (Proj4Dialog.dialogLayout): Make the window resizable and set the
30            size of the text control explicitly to make the sizers work on
31            both Windows and X.
32    
33    2001-09-07  Bernhard Herzog  <[email protected]>
34    
35            * Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter
36            that can limit the search to the currently selected layer.
37            (MapCanvas.SelectShapeAt): Make sure that the currently selected
38            layer stays selected even when no shape is found
39            (MapCanvas.FitRectToWindow): If the rect has zero with or zero
40            height do nothing (avoids zero division errors)
41    
42    2001-09-06  Bernhard Herzog  <[email protected]>
43    
44            * Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__):
45            Correct the spelling of SessionTreeCtrl. dabbrev is too damn
46            convenient :-)
47            (SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce
48            a new instvar layer_to_item to map layers to tree items
49            (SessionTreeCtrl.layer_selected): Select the appropriate tree item
50            to match the current selection in the interactor
51    
52            * Thuban/UI/interactor.py (Interactor.SelectedLayer):
53            (Interactor.HasSelectedLayer): New methods to query the current
54            selection
55    
56            * Thuban/UI/mainwindow.py (MainWindow.current_layer):
57            (MainWindow.has_selected_layer): Simply call the appropriate
58            interactor method
59    
60            * Thuban/UI/mainwindow.py (MainWindow.__init__):
61            (MainWindow.LayerShowTable):
62            (MainWindow.identify_view_on_demand): Store the interactor in an
63            instvar and use that reference instead of going through main.app
64    
65            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
66            * Thuban/UI/application.py (ThubanApplication.OnInit):
67            * Thuban/UI/main.py (main): Create the session tree view in main
68            with the new mainwindow method ShowSessionTree and not directly
69            the application's OnInit method
70    
71            * Thuban/UI/tree.py (myTreeCtrlPanel):
72            (SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a
73            TreeCtrl isntead of a panel. This affects most method since we now
74            refer to self instead of self.tree
75            (SessionTreeView): New class implementing a non-modal dialog
76            showing the session tree.
77    
78            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
79            layer to the tableview dialog.
80    
81            * Thuban/UI/tableview.py: Add some doc-strings
82            (TableGrid):
83            (TableGrid.OnRangeSelect):
84            (TableGrid.OnSelectCell):
85            (TableFrame.__init__):
86            (TableFrame.row_selected):
87            Selecting rows in the grid view now updates the selected shapes
88            through the TableFrame. To achieve this we derive TableGrid from
89            Publisher and introduce the message type ROW_SELECTED which the
90            TableFrame subscribes to and which is issued by OnRangeSelect and
91            OnSelectCell
92    
93            (DataTable.SelectRow): Removed because it's no longer needed in
94            the row/shape selection scheme
95    
96            * Thuban/UI/dialogs.py: New file implementing common classes for
97            dialogs
98    
99            * Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to
100            the SELECTED_SHAPE message anymore. This is now handled by the
101            parent.
102            (TableGrid.select_shape): Only update the selection if the shape
103            is not None.
104            (TableFrame): Inherit from the new NonModalDialog class.
105            (TableFrame.__init__, TableFrame.select_shape): Handle the
106            SELECT_SHAPE message.
107            (TableFrame.OnClose): Extend the inherited method to unsubscribe
108            SELECT_SHAPE
109    
110            * Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
111            (MainWindow.add_dialog):
112            (MainWindow.dialog_open):
113            (MainWindow.remove_dialog):
114            (MainWindow.get_open_dialog): New methods to maintain a dictionary
115            of opened non-modal dialogs.
116    
117            (MainWindow.__init__): Initialize the new non-modal dictionary
118            management code
119            (MainWindow.LayerShowTable): maintain separate dialogs for each
120            table using the non-modal dialog management code to only open a
121            view once for each table.
122    
123            (MainWindow.IdentifyTool):
124            (MainWindow.__init__):
125            (MainWindow.identify_view_on_demand): Don't open the identify view
126            in IdentifyTool anymore. This will be done automatically by the
127            new method identify_view_on_demand which handles the
128            SELECTED_SHAPE message so that the identify view will be opened on
129            demand
130    
131            * Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove
132            the interactor argument. The SELECTED_SHAPE message is now handled
133            by the parent.
134            (IdentifyView.__init__): Add the interactor argument so that we
135            can handle the SELECTED_SHAPE message here
136            (IdentifyView.selected_shape): New method to handle the
137            SELECTED_SHAPE messages
138    
139            * Thuban/UI/identifyview.py (IdentifyView): Derive from the new
140            NonModalDialog class
141            (IdentifyView.OnClose): Extend the inherited version to
142            unsubscribe SELECT_SHAPE
143    
144            * Thuban/Model/session.py (Session.UnsetModified): Remove debug prints
145    
146    2001-09-05  Bernhard Herzog  <[email protected]>
147    
148            * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
149            
150            * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
151            interactor to pass through to the MapCanvas
152            
153            * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
154            argument to the MainWindow constructor to get rid of the ugly hack
155            that made main.app available early just so that the mapcanvas
156            could access the interactor object.
157    
158    2001-09-04  Bernhard Herzog  <[email protected]>
159    
160            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method
161            that runs a modal message box
162            (MainWindow.OnClose): Use the new method
163            (MainWindow.RemoveLayer): Just do nothing in case no layer is
164            selected. The command should be grayed out anyway, so there's no
165            need to pop up a message box.
166            (MainWindow.AddLayer): Pop up a message box with an error message
167            if the shape file can't be opened
168    
169            * Thuban/Model/layer.py (Layer.__init__): Open the shapefile
170            immediately. This will cause an exception in case the file can't
171            be opened and we can display an appropriate message.
172    
173            * MANIFEST.in: Add extensions/pyprojection/LICENSE
174    
175            * setup.py (thuban_bdist_rpm): New class implementing a Thuban
176            specific bdist_rpm command.
177    
178            * Thuban/UI/main.py: Catch ImportError exceptions when importing
179            the locale module because it may not be available on some
180            installations.
181    
182            * extensions/pyprojection/LICENSE: Copy of the license text in
183            Projection.i. Having it in a separate file makes it easier to
184            refer to license text in e.g. RPMs
185    
186    2001-09-03  Bernhard Herzog  <[email protected]>
187    
188            * setup.py: use wx-config instead of wxgtk-config because it's
189            more generic
190    
191            * setup.py (ThubanInstall.get_outputs): Add the symlink in
192            <prefix>/bin to the outputs
193            (ThubanInstall.link_file): New method to link files. We need this
194            because the standard copy_files refuses to link non-existing
195            files.
196            (ThubanInstall.run): Remove the leading install root from the
197            script filename if an install root was specified and use the new
198            link_file method
199            
200            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
201            the window when the first layer is added to the map.
202    
203            * setup.py (ThubanInstall.run): Honor the build root (self.root)
204            when linking thuban.py to <prefix>/bin
205    
206  2001-08-31  Bernhard Herzog  <[email protected]>  2001-08-31  Bernhard Herzog  <[email protected]>
207    
208          * setup.py: In the setup call, the install parameters shouldn't          * setup.py: In the setup call, the install parameters shouldn't

Legend:
Removed from v.16  
changed lines
  Added in v.55

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26