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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 42 - (hide annotations)
Thu Sep 6 18:58:57 2001 UTC (23 years, 6 months ago) by bh
Original Path: trunk/thuban/ChangeLog
File size: 8487 byte(s)
update ChangeLog

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26