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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (hide annotations)
Mon Sep 10 12:52:58 2001 UTC (23 years, 5 months ago) by bh
Original Path: trunk/thuban/ChangeLog
File size: 9147 byte(s)
Update ChangeLog

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

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26