/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Contents of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations)
Fri Sep 7 11:56:05 2001 UTC (23 years, 6 months ago) by bh
Original Path: trunk/thuban/ChangeLog
File size: 8780 byte(s)
update ChangeLog

1 2001-09-07 Bernhard Herzog <[email protected]>
2
3 * Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter
4 that can limit the search to the currently selected layer.
5 (MapCanvas.SelectShapeAt): Make sure that the currently selected
6 layer stays selected even when no shape is found
7
8 2001-09-06 Bernhard Herzog <[email protected]>
9
10 * Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__):
11 Correct the spelling of SessionTreeCtrl. dabbrev is too damn
12 convenient :-)
13 (SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce
14 a new instvar layer_to_item to map layers to tree items
15 (SessionTreeCtrl.layer_selected): Select the appropriate tree item
16 to match the current selection in the interactor
17
18 * Thuban/UI/interactor.py (Interactor.SelectedLayer):
19 (Interactor.HasSelectedLayer): New methods to query the current
20 selection
21
22 * Thuban/UI/mainwindow.py (MainWindow.current_layer):
23 (MainWindow.has_selected_layer): Simply call the appropriate
24 interactor method
25
26 * Thuban/UI/mainwindow.py (MainWindow.__init__):
27 (MainWindow.LayerShowTable):
28 (MainWindow.identify_view_on_demand): Store the interactor in an
29 instvar and use that reference instead of going through main.app
30
31 * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
32 * Thuban/UI/application.py (ThubanApplication.OnInit):
33 * Thuban/UI/main.py (main): Create the session tree view in main
34 with the new mainwindow method ShowSessionTree and not directly
35 the application's OnInit method
36
37 * Thuban/UI/tree.py (myTreeCtrlPanel):
38 (SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a
39 TreeCtrl isntead of a panel. This affects most method since we now
40 refer to self instead of self.tree
41 (SessionTreeView): New class implementing a non-modal dialog
42 showing the session tree.
43
44 * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
45 layer to the tableview dialog.
46
47 * Thuban/UI/tableview.py: Add some doc-strings
48 (TableGrid):
49 (TableGrid.OnRangeSelect):
50 (TableGrid.OnSelectCell):
51 (TableFrame.__init__):
52 (TableFrame.row_selected):
53 Selecting rows in the grid view now updates the selected shapes
54 through the TableFrame. To achieve this we derive TableGrid from
55 Publisher and introduce the message type ROW_SELECTED which the
56 TableFrame subscribes to and which is issued by OnRangeSelect and
57 OnSelectCell
58
59 (DataTable.SelectRow): Removed because it's no longer needed in
60 the row/shape selection scheme
61
62 * Thuban/UI/dialogs.py: New file implementing common classes for
63 dialogs
64
65 * Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to
66 the SELECTED_SHAPE message anymore. This is now handled by the
67 parent.
68 (TableGrid.select_shape): Only update the selection if the shape
69 is not None.
70 (TableFrame): Inherit from the new NonModalDialog class.
71 (TableFrame.__init__, TableFrame.select_shape): Handle the
72 SELECT_SHAPE message.
73 (TableFrame.OnClose): Extend the inherited method to unsubscribe
74 SELECT_SHAPE
75
76 * Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
77 (MainWindow.add_dialog):
78 (MainWindow.dialog_open):
79 (MainWindow.remove_dialog):
80 (MainWindow.get_open_dialog): New methods to maintain a dictionary
81 of opened non-modal dialogs.
82
83 (MainWindow.__init__): Initialize the new non-modal dictionary
84 management code
85 (MainWindow.LayerShowTable): maintain separate dialogs for each
86 table using the non-modal dialog management code to only open a
87 view once for each table.
88
89 (MainWindow.IdentifyTool):
90 (MainWindow.__init__):
91 (MainWindow.identify_view_on_demand): Don't open the identify view
92 in IdentifyTool anymore. This will be done automatically by the
93 new method identify_view_on_demand which handles the
94 SELECTED_SHAPE message so that the identify view will be opened on
95 demand
96
97 * Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove
98 the interactor argument. The SELECTED_SHAPE message is now handled
99 by the parent.
100 (IdentifyView.__init__): Add the interactor argument so that we
101 can handle the SELECTED_SHAPE message here
102 (IdentifyView.selected_shape): New method to handle the
103 SELECTED_SHAPE messages
104
105 * Thuban/UI/identifyview.py (IdentifyView): Derive from the new
106 NonModalDialog class
107 (IdentifyView.OnClose): Extend the inherited version to
108 unsubscribe SELECT_SHAPE
109
110 * Thuban/Model/session.py (Session.UnsetModified): Remove debug prints
111
112 2001-09-05 Bernhard Herzog <[email protected]>
113
114 * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
115
116 * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
117 interactor to pass through to the MapCanvas
118
119 * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
120 argument to the MainWindow constructor to get rid of the ugly hack
121 that made main.app available early just so that the mapcanvas
122 could access the interactor object.
123
124 2001-09-04 Bernhard Herzog <[email protected]>
125
126 * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method
127 that runs a modal message box
128 (MainWindow.OnClose): Use the new method
129 (MainWindow.RemoveLayer): Just do nothing in case no layer is
130 selected. The command should be grayed out anyway, so there's no
131 need to pop up a message box.
132 (MainWindow.AddLayer): Pop up a message box with an error message
133 if the shape file can't be opened
134
135 * Thuban/Model/layer.py (Layer.__init__): Open the shapefile
136 immediately. This will cause an exception in case the file can't
137 be opened and we can display an appropriate message.
138
139 * MANIFEST.in: Add extensions/pyprojection/LICENSE
140
141 * setup.py (thuban_bdist_rpm): New class implementing a Thuban
142 specific bdist_rpm command.
143
144 * Thuban/UI/main.py: Catch ImportError exceptions when importing
145 the locale module because it may not be available on some
146 installations.
147
148 * extensions/pyprojection/LICENSE: Copy of the license text in
149 Projection.i. Having it in a separate file makes it easier to
150 refer to license text in e.g. RPMs
151
152 2001-09-03 Bernhard Herzog <[email protected]>
153
154 * setup.py: use wx-config instead of wxgtk-config because it's
155 more generic
156
157 * setup.py (ThubanInstall.get_outputs): Add the symlink in
158 <prefix>/bin to the outputs
159 (ThubanInstall.link_file): New method to link files. We need this
160 because the standard copy_files refuses to link non-existing
161 files.
162 (ThubanInstall.run): Remove the leading install root from the
163 script filename if an install root was specified and use the new
164 link_file method
165
166 * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
167 the window when the first layer is added to the map.
168
169 * setup.py (ThubanInstall.run): Honor the build root (self.root)
170 when linking thuban.py to <prefix>/bin
171
172 2001-08-31 Bernhard Herzog <[email protected]>
173
174 * setup.py: In the setup call, the install parameters shouldn't
175 have trailing slashes because distutils on non-posix platforms
176 doesn't like that. The same applies to other directories like
177 "Resources/Bitmaps"
178
179 In the configuration section for nt, move the wxWindows directory
180 optins into the part clearly marked as editable.
181
182 (InstallLocal.initialize_options):
183 (InstallLocal.user_options): remove the currently unused debug
184 flag
185 (thuban_build_py.find_all_modules): Add this method so that it
186 works for our case of having packages and modules in one
187 distribution as well.
188 (ThubanInstall.initialize_options):
189 (ThubanInstall.finalize_options):
190 (ThubanInstall.user_options):
191 (ThubanInstall.boolean_options): Add new options, do-symlink and
192 extra files. Since these are the first ThubanInstall specific
193 options, override user_options and boolean_options
194 (ThubanInstall.run): Honor the new do-symlink and extra-files
195 options.
196 (ThubanInstall.get_outputs): Add to override the base-class's
197 version and add the extra-files to the outputs
198 (bdist_inno): New class for windows distributions with Inno Setup
199 (InnoIconItem): Helper class for bdist_inno
200 (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
201 this together with the appropriate parameters, to the setup call.
202
203 * setup.cfg (bdist_inno): added new section for the inno setup
204 installer
205
206 * Thuban/UI/tree.py (myTreeCtrlPanel.__init__): New inst var
207 changing_selection to avoid recursive selection events when
208 modifying the selection in response to a selection event.
209 (myTreeCtrlPanel.normalize_selection): Set the new inst var when
210 changing the tree's selection.
211 (myTreeCtrlPanel.OnSelChanged): Only normalize the selection when
212 we're not being called indirectly from normalize_selection.
213
214 * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): Call
215 event.Check only if the command is actuall checkable.
216 (MainWindow.__init__): Call the toolbar's Realize method to make
217 sure that the items are actually shown
218
219 2001-08-28 Bernhard Herzog <[email protected]>
220
221 * setup.py: Fix some doc strings
222
223 * ChangeLog: started
224

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26