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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 40 - (hide annotations)
Thu Sep 6 17:18:31 2001 UTC (23 years, 6 months ago) by bh
Original Path: trunk/thuban/ChangeLog
File size: 8099 byte(s)
update ChangeLog

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26