1 |
bh |
230 |
2002-07-19 Bernhard Herzog <[email protected]> |
2 |
|
|
|
3 |
bh |
234 |
* Thuban/Model/session.py: Issue a CHANGED message every time |
4 |
|
|
another changed message is issued to make it easier to get |
5 |
|
|
notified of changes. |
6 |
|
|
(Session): Update the doc string |
7 |
|
|
(Session.forward): Issue changed-events as CHANGED as well. |
8 |
|
|
(Session.changed): Overwrite the inherited version to issue |
9 |
|
|
CHANGED events as well. |
10 |
|
|
|
11 |
|
|
* Thuban/UI/tree.py: We can now simply subscribe to the session's |
12 |
|
|
CHANGED channel to be informed of changes. |
13 |
|
|
(SessionTreeCtrl.session_channels): Not needed any longer. |
14 |
|
|
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
15 |
|
|
Only have to (un)subscribe CHANGED |
16 |
|
|
|
17 |
|
|
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
18 |
|
|
|
19 |
bh |
230 |
* Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around |
20 |
|
|
for the wxPython locale bug to __init__.py so that it's |
21 |
|
|
automatically executed by anybody using UI code from Thuban. |
22 |
|
|
|
23 |
bh |
225 |
2002-07-18 Bernhard Herzog <[email protected]> |
24 |
|
|
|
25 |
bh |
228 |
* Thuban/UI/main.py (main): app no longer needs to be global |
26 |
|
|
|
27 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Add application |
28 |
|
|
as parameter and store it in an instance variable |
29 |
|
|
(MainWindow.invoke_command, MainWindow.update_command_ui) |
30 |
|
|
(MainWindow.save_modified_session, MainWindow.NewSession) |
31 |
|
|
(MainWindow.OpenSession, MainWindow.SaveSession) |
32 |
|
|
(MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's |
33 |
|
|
application object. |
34 |
|
|
|
35 |
|
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate |
36 |
|
|
the main window with self. |
37 |
|
|
|
38 |
bh |
225 |
* Thuban/UI/context.py: New module with the context class |
39 |
|
|
|
40 |
|
|
* Thuban/UI/command.py (Command): Update doc string. |
41 |
|
|
|
42 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.invoke_command, |
43 |
|
|
MainWindow.update_command_ui): Pass an instance of the context |
44 |
|
|
class to the command's methods |
45 |
|
|
(check_current_tool, call_method): Handle the new context |
46 |
|
|
implementation |
47 |
|
|
|
48 |
|
|
* Examples/simple_extensions/simple_tool.py (simple_tool, |
49 |
|
|
check_simple_tool): Handle the new context implementation |
50 |
|
|
|
51 |
|
|
* Examples/simple_extensions/simple_command.py (simple_command): |
52 |
|
|
Handle the new context implementation. Update the comments about |
53 |
|
|
the context. |
54 |
|
|
|
55 |
|
|
* Thuban/UI/application.py (ThubanApplication.SetSession): Add |
56 |
|
|
doc-string |
57 |
|
|
(ThubanApplication.Session): New method to return the session |
58 |
|
|
object |
59 |
|
|
|
60 |
|
|
* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The |
61 |
|
|
interactor's selected_layer may not be a layer of the current |
62 |
|
|
session when the tree is updated while a new session is being set. |
63 |
|
|
|
64 |
bh |
217 |
2002-07-17 Bernhard Herzog <[email protected]> |
65 |
|
|
|
66 |
|
|
* Thuban/UI/tree.py (color_string): Removed. No longer used. |
67 |
|
|
(SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split |
68 |
|
|
update_tree into update_tree and add_items. The tree now uses a |
69 |
|
|
more generic way to display the contents of the tree. |
70 |
|
|
(SessionTreeCtrl): Add a doc string explaining the TreeInfo method |
71 |
|
|
|
72 |
|
|
* Thuban/Model/layer.py (Layer.TreeInfo), |
73 |
|
|
Thuban/Model/extension.py (Extension.TreeInfo), |
74 |
|
|
Thuban/Model/map.py (Map.TreeInfo), |
75 |
|
|
Thuban/Model/session.py (Session.TreeInfo): |
76 |
|
|
Add TreeInfo methods to implement the new tree view update scheme |
77 |
|
|
|
78 |
bh |
216 |
2002-07-16 Bernhard Herzog <[email protected]> |
79 |
|
|
|
80 |
|
|
* Thuban/UI/application.py: Don't use "import from" for the |
81 |
|
|
MainWindow. It can't always be resolved. |
82 |
|
|
(ThubanApplication.OnInit): change reference to MainWindow |
83 |
|
|
accordingly. |
84 |
|
|
|
85 |
|
|
* Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu |
86 |
|
|
completely |
87 |
|
|
|
88 |
bh |
213 |
2002-07-10 Bernhard Herzog <[email protected]> |
89 |
|
|
|
90 |
|
|
* setup.py (create_init_module): New configurable variable whose |
91 |
|
|
default depends on the platform we're running on. |
92 |
|
|
(ThubanInstall.initialize_options): Initialize |
93 |
|
|
self.create_init_module from the global create_init_module |
94 |
|
|
(ThubanInstall.user_options): indictate that the options |
95 |
|
|
create-init-module and init-module-dir have arguments. |
96 |
|
|
|
97 |
|
|
* setup.py: In the setup call change the version number to include |
98 |
|
|
cvs. |
99 |
|
|
|
100 |
|
|
* MANIFEST.in: Add the files in Examples |
101 |
|
|
|
102 |
bh |
205 |
2002-07-09 Bernhard Herzog <[email protected]> |
103 |
|
|
|
104 |
bh |
210 |
* setup.py: In the setup call, use the thuban homepage as the |
105 |
|
|
value of the url parameter. |
106 |
|
|
|
107 |
bh |
208 |
* Examples: New subdirectory for examples. |
108 |
|
|
|
109 |
|
|
* Examples/simple_extensions/simple_tool.xpm, |
110 |
|
|
Examples/simple_extensions/simple_tool.py, |
111 |
|
|
Examples/simple_extensions/simple_command.py, |
112 |
|
|
Examples/simple_extensions/README: Simple examples showing how to |
113 |
|
|
add new commands and tools. |
114 |
|
|
|
115 |
bh |
207 |
* setup.cfg (bdist_rpm): Add the default value for prefix and tell |
116 |
|
|
bdist_rpm that we also have an install script. |
117 |
|
|
(bdist_inno): Add 2002 to the copyright notice. |
118 |
|
|
|
119 |
bh |
205 |
* setup.py: Create a file in python's site-packages directory to |
120 |
|
|
make installation of Thuban as a library easier. |
121 |
|
|
(ThubanInstall.user_options): Add two new options, |
122 |
|
|
create-init-module and init-module-dir |
123 |
|
|
(ThubanInstall.expand_with_pure_python_dirs): New method to expand |
124 |
|
|
filenames for installation in the default directories. |
125 |
|
|
(ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend |
126 |
|
|
the inherited methods to capture some filenames before they're |
127 |
|
|
transformed too much by distutils. |
128 |
|
|
(ThubanInstall.run): Create the init module if requested. |
129 |
|
|
(ThubanInstall.thuban_init_filename): New method to return the |
130 |
|
|
full name of the init module. |
131 |
|
|
(ThubanInstall.get_outputs): Append the filename of the init |
132 |
|
|
module. |
133 |
|
|
|
134 |
bh |
202 |
2002-07-08 Bernhard Herzog <[email protected]> |
135 |
|
|
|
136 |
bh |
205 |
* setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to |
137 |
|
|
handle the prefix properly which means that the default for the |
138 |
|
|
installation prefix should be /usr for RPMs and /usr/local when |
139 |
|
|
doing a normal source install. |
140 |
|
|
(bdist_rpm_install_script): Script to override the default install |
141 |
|
|
commands in the specfile generated by the bdist_rpm command. |
142 |
|
|
(thuban_bdist_rpm.user_options): Add a prefix option |
143 |
|
|
(thuban_bdist_rpm.initialize_options): Init the prefix option. |
144 |
|
|
Create the script files for the spec files as empty files here |
145 |
|
|
(thuban_bdist_rpm._make_spec_file): Override the inherited method |
146 |
|
|
to fill the script files with content. |
147 |
|
|
|
148 |
bh |
202 |
* Thuban/Model/save.py (relative_filename): Wrapper around |
149 |
|
|
Thuban.Lib.fileutil.relative_filename that accepts an empty dir |
150 |
|
|
argument. save_session now automatically uses this version, |
151 |
|
|
solving a problem when saving to a relative filename. |
152 |
|
|
|
153 |
|
|
* setup.py: In the setup call, make sure that the library |
154 |
|
|
directories are under $prefix/lib not directly under $prefix. |
155 |
|
|
|
156 |
jan |
199 |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
157 |
|
|
|
158 |
|
|
* Thuban/Model/extension.py: new module to handle extension objects. |
159 |
|
|
* Thuban/Model/messages.py: new messages for extensions. |
160 |
|
|
* Thuban/Model/session.py (Session.Extensions, Session.HasExtensions, |
161 |
|
|
Session.AddExtension): new for handling extensions. |
162 |
|
|
Also some other minor changes to round up extension handling. |
163 |
|
|
* Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization |
164 |
|
|
of Extension titles and title and names of its objects. |
165 |
|
|
|
166 |
bh |
194 |
2002-05-29 Bernhard Herzog <[email protected]> |
167 |
|
|
|
168 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind |
169 |
bh |
202 |
the events for a command. |
170 |
bh |
194 |
(MainWindow.add_toolbar_command, MainWindow.add_menu_command): |
171 |
|
|
Call bind_command_events to bind the events. add_toolbar_command |
172 |
|
|
can now bind events too so that it's possible to have commands |
173 |
|
|
that are only available through the toolbar. |
174 |
|
|
(MainWindow.init_ids): New instance variable events_bound to keep |
175 |
|
|
track of for which commands events have been bound. |
176 |
|
|
|
177 |
bh |
190 |
2002-05-28 Bernhard Herzog <[email protected]> |
178 |
|
|
|
179 |
|
|
* Thuban/UI/menu.py: New module to build and manage menus. |
180 |
|
|
|
181 |
|
|
* Thuban/UI/mainwindow.py: Remove some unused imports. |
182 |
|
|
(MainWindow.__init__, main_menu): move the definition of the main |
183 |
|
|
menu from __init__ to the Menu instance main_menu. |
184 |
|
|
(MainWindow.build_menu_bar, MainWindow.build_menu): New methods to |
185 |
|
|
build the menu bar and sub-menus from a menu description. |
186 |
|
|
|
187 |
|
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Read the |
188 |
|
|
startup file |
189 |
|
|
(ThubanApplication.read_startup_files): New method to run |
190 |
|
|
~/.thuban/thubanstart.py |
191 |
|
|
|
192 |
bh |
192 |
* Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar): |
193 |
|
|
Move the toolbar definition to the Menu instance main_toolbar. |
194 |
|
|
(MainWindow.build_toolbar): New method to build the toolbar |
195 |
|
|
similar to the build_menu methods |
196 |
|
|
|
197 |
bh |
184 |
2002-05-23 Bernhard Herzog <[email protected]> |
198 |
|
|
|
199 |
bh |
186 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of |
200 |
|
|
layer_outline_color. Fix it in the definition of the command too. |
201 |
|
|
|
202 |
bh |
184 |
* Thuban/UI/command.py (Command): Fix typo in doc string |
203 |
|
|
|
204 |
bh |
182 |
2002-05-22 Bernhard Herzog <[email protected]> |
205 |
|
|
|
206 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo |
207 |
|
|
in the docstring |
208 |
|
|
|
209 |
bh |
175 |
2002-05-15 Bernhard Herzog <[email protected]> |
210 |
|
|
|
211 |
bh |
180 |
* Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None |
212 |
|
|
when the shapefile is empty. |
213 |
|
|
(Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may |
214 |
|
|
now return None for empty shapefiles. Update doc-strings. |
215 |
|
|
|
216 |
|
|
* Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with |
217 |
|
|
the layer's bbox being None. |
218 |
|
|
|
219 |
|
|
* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the |
220 |
|
|
layer's bbox being None. |
221 |
|
|
|
222 |
bh |
175 |
* Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when |
223 |
|
|
necessary. |
224 |
|
|
(MapCanvas.__init__): New instance variables, last_selected_layer |
225 |
|
|
and last_selected_shape to determine how the selection has |
226 |
|
|
changed. |
227 |
|
|
|
228 |
|
|
* Thuban/UI/tableview.py (TableGrid.__init__): Do not call |
229 |
|
|
AutoSizeColumns because it will cause a traversal of the entire |
230 |
|
|
table which for large .dbf files will take a very long time. |
231 |
|
|
|
232 |
bh |
172 |
2002-05-14 Bernhard Herzog <[email protected]> |
233 |
|
|
|
234 |
|
|
* Thuban/Model/layer.py (Layer.open_shapefile): Choose a better |
235 |
|
|
maximum depth for the tree than shapelib does by default. |
236 |
|
|
|
237 |
bh |
165 |
2002-05-10 Bernhard Herzog <[email protected]> |
238 |
|
|
|
239 |
|
|
* setup.py (py_modules): The shptree modules doesn't have a |
240 |
|
|
wrapper, so don't include it in the py_modules |
241 |
|
|
|
242 |
bh |
163 |
2002-05-08 Bernhard Herzog <[email protected]> |
243 |
|
|
|
244 |
|
|
* extensions/shapelib/shptree.c (compare_ints): Make arguments |
245 |
|
|
const void * as in the qsort prototype |
246 |
|
|
(SHPTreeFindLikelyShapes): Remove some unused variables. |
247 |
|
|
|
248 |
|
|
* Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view |
249 |
|
|
maintains to redraw the window during a drag. |
250 |
|
|
(MapCanvas.unprojected_rect_around_point): New method to determine |
251 |
|
|
a small region around a point for hit-testing. |
252 |
|
|
(MapCanvas.find_shape_at): Only test the shapes in a small region |
253 |
|
|
around the point. |
254 |
|
|
|
255 |
|
|
* setup.py: Increment the version to 0.1.2 |
256 |
|
|
|
257 |
|
|
* Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a |
258 |
|
|
debug print and set session to None after unsubscribing |
259 |
|
|
|
260 |
bh |
146 |
2002-05-07 Bernhard Herzog <[email protected]> |
261 |
|
|
|
262 |
bh |
154 |
* Data/iceland_sample.session, Data/iceland_sample.thuban: Rename |
263 |
|
|
the file to have a .thuban extension. |
264 |
|
|
|
265 |
bh |
152 |
* Thuban/UI/tree.py (session_channels): New class constant with |
266 |
|
|
all the session channels to subscribe to to update the tree |
267 |
|
|
(SessionTreeCtrl.session_changed): Remember the session so that we |
268 |
|
|
can unsubscribe properly. Use the new class constant to |
269 |
|
|
unsubscribe from the old session and subscribe to the new one. |
270 |
|
|
(SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all |
271 |
|
|
subscriptions of the SessionTreeCtrl. |
272 |
|
|
(SessionTreeView.OnClose): Call the tree's unsubscribe_all method. |
273 |
|
|
|
274 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show |
275 |
|
|
Session Tree" command to the file menu. |
276 |
|
|
|
277 |
|
|
* Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap |
278 |
|
|
as update_region to the renderer. |
279 |
|
|
|
280 |
|
|
* Thuban/UI/renderer.py |
281 |
|
|
(ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The |
282 |
|
|
update box is now directly a tuple, not a wxRect anymore. |
283 |
|
|
|
284 |
|
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug |
285 |
|
|
prints. |
286 |
|
|
|
287 |
|
|
2002-05-07 Bernhard Herzog <[email protected]> |
288 |
|
|
|
289 |
bh |
146 |
* setup.py: Add the shptree extension module. See |
290 |
|
|
extensions/pyshapelib/ChangeLog for more details. |
291 |
|
|
|
292 |
|
|
* extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h, |
293 |
|
|
extensions/shapelib/dbfopen.c: Really update to the versions of |
294 |
|
|
shapelib 1.2.9. For some reason it wasn't really done on |
295 |
|
|
2002-04-11. |
296 |
|
|
|
297 |
|
|
* extensions/shapelib/shptree.c: Modified version of shptree.c of |
298 |
|
|
shapelib 1.2.9. The only real difference is the use of qsort |
299 |
|
|
instead of a bubble sort implementation |
300 |
|
|
|
301 |
|
|
* Thuban/Model/layer.py (Layer.__init__): New instance variable |
302 |
|
|
shapetree to hold the shapelib quadtree for the shapefile |
303 |
|
|
(Layer.open_shapefile): Create the quad tree. |
304 |
|
|
(Layer.ShapesInRegion): New method to return the ids of shapes in |
305 |
|
|
a given region using the quad tree. |
306 |
|
|
|
307 |
|
|
* extensions/thuban/wxproj.cpp (project_points): Fix some typos in |
308 |
|
|
comment |
309 |
|
|
(draw_polygon_shape): Accept both arcs and polygons. |
310 |
|
|
(initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import |
311 |
|
|
the api. |
312 |
|
|
|
313 |
|
|
* Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to |
314 |
|
|
return the shape ids to be rendered in a given layer. |
315 |
|
|
(MapRenderer.draw_shape_layer): Call layer_ids to get the list of |
316 |
|
|
ids. Use draw_polygon_shape to draw arc shapes as well. |
317 |
|
|
(ScreenRenderer.RenderMap): New parameter for the rectangle that |
318 |
|
|
has to be updated |
319 |
|
|
(ScreenRenderer.layer_ids): Make use of the layer's quadtree by |
320 |
|
|
calling it's ShapesInRegion method. |
321 |
|
|
|
322 |
|
|
* Thuban/UI/view.py (MapCanvas.__init__): New instance variable |
323 |
|
|
update_region for the update region. |
324 |
|
|
(MapCanvas.OnPaint): Maintain the update region |
325 |
|
|
(MapCanvas.do_redraw): Pass the bounding box of the update_region |
326 |
|
|
to the renderer when drawing the bitmap. Reset the update_region. |
327 |
|
|
|
328 |
bh |
129 |
2002-05-03 Bernhard Herzog <[email protected]> |
329 |
|
|
|
330 |
bh |
131 |
* Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs, |
331 |
|
|
MainWindow.OpenSession): Change the file extension of the session |
332 |
|
|
files to .thuban |
333 |
|
|
|
334 |
bh |
129 |
* Thuban/Model/session.py (Session.AddMap, forwarded_channels): |
335 |
|
|
Move the map channels to be forwarded by the session into the |
336 |
bh |
146 |
class constant with forwarded_channels. Also add |
337 |
|
|
LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to |
338 |
|
|
forwarded_channels |
339 |
bh |
129 |
|
340 |
|
|
* Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a |
341 |
|
|
typo and some rewording). |
342 |
|
|
|
343 |
bh |
126 |
2002-05-02 Bernhard Herzog <[email protected]> |
344 |
|
|
|
345 |
|
|
* Thuban/UI/view.py: Keep the temporary bitmap used during drawing |
346 |
|
|
around to speed up most redraws: |
347 |
|
|
(MapCanvas.__init__): New instance variable bitmap which holds the |
348 |
|
|
bitmap |
349 |
|
|
(MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use |
350 |
|
|
self.bitmap to draw. |
351 |
|
|
(MapCanvas.full_redraw): New method to force a full redraw |
352 |
|
|
including the bitmap |
353 |
|
|
(MapCanvas.SetMap): Subscribe full_redraw instead of redraw to |
354 |
|
|
make sure the bitmap is redrawn. |
355 |
|
|
(MapCanvas.projection_changed, MapCanvas.set_view_transform, |
356 |
|
|
MapCanvas.shape_selected): Call full_redraw instead of readraw to |
357 |
|
|
make sure the bitmap is redrawn. |
358 |
|
|
(MapCanvas.OnSize): New method to handle size events so that the |
359 |
|
|
bitmap can be redrawn. |
360 |
|
|
|
361 |
bh |
124 |
2002-04-29 Bernhard Herzog <[email protected]> |
362 |
|
|
|
363 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the |
364 |
|
|
canvas' VIEW_POSITION event |
365 |
|
|
(MainWindow.view_position_changed): Handler for VIEW_POSITION. |
366 |
|
|
Update the text in the status-bar accordingly. |
367 |
|
|
|
368 |
|
|
* Thuban/UI/view.py (MapCanvas): Derive from Publisher as well |
369 |
|
|
(MapCanvas.__del__): Implement because Publisher.__del__ has to be |
370 |
|
|
called. |
371 |
|
|
(MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize |
372 |
|
|
current_position |
373 |
|
|
(MapCanvas.set_current_position): New method to set |
374 |
|
|
current_position. Issue a VIEW_POSITION event |
375 |
|
|
(MapCanvas.CurrentPosition): New public method to return the value |
376 |
|
|
of current_position. Should be called when the VIEW_POSITION event |
377 |
|
|
is processed. |
378 |
|
|
(MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion): |
379 |
|
|
Update the position. |
380 |
|
|
(MapCanvas.OnLeaveWindow): Set the position to None. |
381 |
|
|
|
382 |
|
|
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
383 |
|
|
position in the statusbar |
384 |
|
|
|
385 |
frank |
120 |
2002-04-26 Frank Koormann <[email protected]> |
386 |
|
|
|
387 |
|
|
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
388 |
|
|
|
389 |
|
|
2002-04-24 Frank Koormann <[email protected]> |
390 |
frank |
118 |
|
391 |
|
|
* Resources/Bitmaps/identify.xpm: shadow added |
392 |
|
|
|
393 |
|
|
* Resources/Bitmaps/fullextent.xpm: new |
394 |
|
|
|
395 |
jan |
116 |
2002-04-22 Jan-Oliver Wagner <[email protected]> |
396 |
|
|
|
397 |
|
|
* Thuban/UI/tree.py (update_tree): added test for None on map bounding box |
398 |
|
|
|
399 |
jan |
114 |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
400 |
|
|
|
401 |
|
|
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
402 |
|
|
|
403 |
|
|
* Thuban/UI/tree.py (update_tree): added added map extent |
404 |
|
|
|
405 |
|
|
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
406 |
|
|
icon; added map_full_extend as tool |
407 |
|
|
|
408 |
jan |
107 |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
409 |
|
|
|
410 |
|
|
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
411 |
|
|
saving _new_ sessions |
412 |
|
|
|
413 |
|
|
* Thuban/Model/session.py (create_empty_session): new session |
414 |
|
|
don't have a filename (set to None) |
415 |
|
|
|
416 |
|
|
* Thuban/UI/tree.py (update_tree): added filename and modified flag |
417 |
|
|
|
418 |
|
|
* Thuban/Model/load.py (ProcessSession): convert projection |
419 |
|
|
parameters from unicode to regular string |
420 |
|
|
|
421 |
|
|
* Data/iceland_sample.session: Added UTM Zone 26 projection. |
422 |
|
|
|
423 |
bh |
100 |
2002-04-11 Bernhard Herzog <[email protected]> |
424 |
|
|
|
425 |
|
|
* extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c, |
426 |
|
|
extensions/shapelib/dbfopen.c: Update to the versions of shapelib |
427 |
|
|
1.2.9 |
428 |
|
|
|
429 |
|
|
* setup.py (Lib.wxproj extension): Don't link shpopen.c and put |
430 |
|
|
the pyshapelib directoy into the list of include dirs, so that |
431 |
|
|
pyshapelib_api.h can be found. |
432 |
|
|
|
433 |
|
|
* extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that |
434 |
|
|
holds the pyshapelib C-API |
435 |
|
|
(draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use |
436 |
|
|
pyshapelib_api to access the shapelib functions. |
437 |
|
|
(initwxproj): Import the c_api from the shapelib module and |
438 |
|
|
initialize pyshapelib_api. |
439 |
|
|
|
440 |
bh |
89 |
2002-04-04 Bernhard Herzog <[email protected]> |
441 |
|
|
|
442 |
bh |
91 |
* setup.py (thuban_bdist_rpm.initialize_options): Use |
443 |
|
|
initialize_options to create the scripts for the rpm. |
444 |
|
|
|
445 |
bh |
89 |
* extensions/pyprojection/setup.py (PROJ4_PREFIX): Just use / |
446 |
|
|
|
447 |
bh |
85 |
2002-04-03 Bernhard Herzog <[email protected]> |
448 |
|
|
|
449 |
bh |
87 |
* setup.py: Increment version to 0.1.1 |
450 |
|
|
|
451 |
bh |
85 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add |
452 |
|
|
Layer" and "Remove Layer" commands from the layer menu to the map |
453 |
|
|
menu |
454 |
|
|
|
455 |
bh |
83 |
2002-02-15 Bernhard Herzog <[email protected]> |
456 |
|
|
|
457 |
|
|
* Thuban/Model/layer.py (Layer.Shape): list append only takes one |
458 |
|
|
argument (python <= 1.5.2 erroneously accepted multiuple |
459 |
|
|
arguments) |
460 |
|
|
|
461 |
bh |
81 |
2002-02-04 Bernhard Herzog <[email protected]> |
462 |
|
|
|
463 |
|
|
* Thuban/UI/identifyview.py (IdentifyGridCtrl): New class to use a |
464 |
|
|
RecordGrid in the identifyview. |
465 |
|
|
(IdentifyView.__init__): Use IdentifyGridCtrl instead of |
466 |
|
|
IdentifyListCtrl. The grid allows editing of the values. |
467 |
|
|
|
468 |
|
|
* Thuban/UI/controls.py (RecordTable, RecordGridCtrl): New classes |
469 |
|
|
implementing a grid for a single row of a thuban table. |
470 |
|
|
|
471 |
|
|
* Thuban/UI/view.py (MapCanvas.SelectShapeAt): Search through all |
472 |
|
|
layers by default. Easier to use than the previous default of only |
473 |
|
|
searching through the select layer which meant that if no layer |
474 |
|
|
was selected, you couldn't select a shape. |
475 |
|
|
|
476 |
|
|
* Thuban/UI/tableview.py (TableGrid.__init__): Fix typo |
477 |
|
|
|
478 |
|
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Honour the |
479 |
|
|
stroke_width attribute |
480 |
|
|
|
481 |
|
|
* Thuban/Model/save.py (save_session): Write the new stroke_width |
482 |
|
|
attribute |
483 |
|
|
|
484 |
|
|
* Thuban/Model/load.py (ProcessSession.startElement): Read the |
485 |
|
|
stroke_width attribute |
486 |
|
|
|
487 |
|
|
* Thuban/Model/layer.py (Layer.__init__): New parameter and |
488 |
|
|
instance variable stroke_width |
489 |
|
|
(Layer.SetStrokeWidth): Set the stroke_width. |
490 |
|
|
|
491 |
bh |
72 |
2002-02-01 Bernhard Herzog <[email protected]> |
492 |
|
|
|
493 |
|
|
* extensions/thuban/wxproj.cpp (project_points): Fix two |
494 |
|
|
off-by-one errors in the last loop that joins the various parts |
495 |
|
|
together. |
496 |
|
|
|
497 |
bh |
71 |
2002-01-14 Bernhard Herzog <[email protected]> |
498 |
|
|
|
499 |
|
|
* setup.py (data_dist.make_distribution): Fix some typos |
500 |
|
|
|
501 |
bh |
70 |
2001-09-18 Bernhard Herzog <[email protected]> |
502 |
|
|
|
503 |
|
|
* README: Slight tweaking in preparation for the 0.1 release |
504 |
|
|
|
505 |
|
|
* setup.cfg: Add section for sdist to create both tgz and zip |
506 |
|
|
archives |
507 |
|
|
|
508 |
|
|
* setup.py: increase version number to 0.1 |
509 |
|
|
(data_dist): New command class for data distribution |
510 |
|
|
|
511 |
|
|
|
512 |
bh |
64 |
2001-09-14 Bernhard Herzog <[email protected]> |
513 |
|
|
|
514 |
bh |
70 |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
515 |
|
|
Handle the case of no layer (i.e. layer is None) properly. |
516 |
|
|
|
517 |
|
|
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
518 |
|
|
Set the initial selection of the combo boxes to reflect the |
519 |
|
|
projection we're starting with in a way that works on windows, |
520 |
|
|
too. |
521 |
|
|
|
522 |
bh |
64 |
* Thuban/Lib/connector.py (Connector.print_connections): Print the |
523 |
|
|
puiblisher's ids in hex to make it easier to compare them to the |
524 |
|
|
standard repr of python methods |
525 |
|
|
|
526 |
|
|
* Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer |
527 |
|
|
messages |
528 |
|
|
|
529 |
bh |
59 |
2001-09-13 Bernhard Herzog <[email protected]> |
530 |
|
|
|
531 |
bh |
64 |
* Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to |
532 |
|
|
deselect the layer if no layer is selected |
533 |
|
|
|
534 |
bh |
59 |
* Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to |
535 |
|
|
idle time when there actually is something to draw. If there's |
536 |
|
|
nothing to draw simply clear the window |
537 |
|
|
(MapCanvas.do_redraw): Call dc.EndDrawing and add some comments. |
538 |
|
|
(MapCanvas.SetMap): force a redraw in all cases because |
539 |
|
|
FitMapToWindow doesn't always do it. |
540 |
|
|
(MapCanvas.ZoomFactor): Add an optional parameter, center, to |
541 |
|
|
specify the point to move into the center of the window |
542 |
|
|
(ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't |
543 |
|
|
dragged, zoon in/out by a factor of 2 |
544 |
bh |
64 |
(MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing |
545 |
|
|
index, i.e. reversed drawing order) so that objects appearing to |
546 |
|
|
be in from of others are selected first. This is probably mostly |
547 |
|
|
relevant for point shapes where the symbols used may overlap |
548 |
bh |
59 |
|
549 |
|
|
* Thuban/Model/session.py (create_empty_session): Unset the |
550 |
|
|
modified bit before returning it |
551 |
|
|
|
552 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.NewSession): Use |
553 |
|
|
create_empty_session session to create the new, empty session. |
554 |
|
|
|
555 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of |
556 |
|
|
the tool bitmaps. |
557 |
|
|
(MainWindow.OnClose, MainWindow.save_modified_session): Separate |
558 |
|
|
the code that asks whether the session should be saved into the |
559 |
|
|
new method save_modified_session. |
560 |
|
|
(MainWindow.OpenSession, MainWindow.NewSession): Use the new |
561 |
|
|
method to save modified session here too. |
562 |
|
|
|
563 |
bh |
55 |
2001-09-11 Bernhard Herzog <[email protected]> |
564 |
|
|
|
565 |
|
|
* setup.py (InnoIconItem): fix typo |
566 |
|
|
|
567 |
|
|
(thuban_bdist_inno.run): |
568 |
|
|
(bdist_inno.run): Move the decision not to create symlinks on |
569 |
|
|
non-nt platforms to thuban_bdist_inno and do it unconditinally |
570 |
|
|
since we never want to create the symlinks here |
571 |
|
|
|
572 |
bh |
48 |
2001-09-10 Bernhard Herzog <[email protected]> |
573 |
|
|
|
574 |
bh |
53 |
* Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the |
575 |
|
|
identify view immediately |
576 |
|
|
|
577 |
|
|
* Thuban/UI/controls.py: New file with two classes RecordListCtrl |
578 |
|
|
and SelectableRecordListCtrl that implement the code shared by the |
579 |
|
|
identify view and the label dialog |
580 |
|
|
|
581 |
|
|
* Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the |
582 |
|
|
new class RecordListCtrl |
583 |
|
|
|
584 |
|
|
* Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the |
585 |
|
|
return value of GetValue is None instead of using it as a boolean |
586 |
|
|
directly so that Zero numbers are handled properly. |
587 |
|
|
(LabelListCtrl): Derive from the new class |
588 |
|
|
SelectableRecordListCtrl |
589 |
|
|
|
590 |
bh |
48 |
* Thuban/UI/proj4dialog.py (Proj4Dialog.__init__): |
591 |
|
|
(Proj4Dialog.dialogLayout): Make the window resizable and set the |
592 |
|
|
size of the text control explicitly to make the sizers work on |
593 |
|
|
both Windows and X. |
594 |
|
|
|
595 |
bh |
44 |
2001-09-07 Bernhard Herzog <[email protected]> |
596 |
|
|
|
597 |
|
|
* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter |
598 |
|
|
that can limit the search to the currently selected layer. |
599 |
|
|
(MapCanvas.SelectShapeAt): Make sure that the currently selected |
600 |
|
|
layer stays selected even when no shape is found |
601 |
bh |
46 |
(MapCanvas.FitRectToWindow): If the rect has zero with or zero |
602 |
|
|
height do nothing (avoids zero division errors) |
603 |
bh |
44 |
|
604 |
bh |
32 |
2001-09-06 Bernhard Herzog <[email protected]> |
605 |
|
|
|
606 |
bh |
42 |
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |
607 |
|
|
Correct the spelling of SessionTreeCtrl. dabbrev is too damn |
608 |
|
|
convenient :-) |
609 |
|
|
(SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce |
610 |
|
|
a new instvar layer_to_item to map layers to tree items |
611 |
|
|
(SessionTreeCtrl.layer_selected): Select the appropriate tree item |
612 |
|
|
to match the current selection in the interactor |
613 |
|
|
|
614 |
bh |
40 |
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
615 |
|
|
(Interactor.HasSelectedLayer): New methods to query the current |
616 |
|
|
selection |
617 |
|
|
|
618 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.current_layer): |
619 |
|
|
(MainWindow.has_selected_layer): Simply call the appropriate |
620 |
|
|
interactor method |
621 |
|
|
|
622 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): |
623 |
|
|
(MainWindow.LayerShowTable): |
624 |
|
|
(MainWindow.identify_view_on_demand): Store the interactor in an |
625 |
|
|
instvar and use that reference instead of going through main.app |
626 |
|
|
|
627 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
628 |
|
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
629 |
|
|
* Thuban/UI/main.py (main): Create the session tree view in main |
630 |
|
|
with the new mainwindow method ShowSessionTree and not directly |
631 |
|
|
the application's OnInit method |
632 |
|
|
|
633 |
|
|
* Thuban/UI/tree.py (myTreeCtrlPanel): |
634 |
|
|
(SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a |
635 |
|
|
TreeCtrl isntead of a panel. This affects most method since we now |
636 |
|
|
refer to self instead of self.tree |
637 |
|
|
(SessionTreeView): New class implementing a non-modal dialog |
638 |
|
|
showing the session tree. |
639 |
|
|
|
640 |
bh |
35 |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
641 |
|
|
layer to the tableview dialog. |
642 |
|
|
|
643 |
|
|
* Thuban/UI/tableview.py: Add some doc-strings |
644 |
|
|
(TableGrid): |
645 |
|
|
(TableGrid.OnRangeSelect): |
646 |
|
|
(TableGrid.OnSelectCell): |
647 |
|
|
(TableFrame.__init__): |
648 |
|
|
(TableFrame.row_selected): |
649 |
|
|
Selecting rows in the grid view now updates the selected shapes |
650 |
|
|
through the TableFrame. To achieve this we derive TableGrid from |
651 |
|
|
Publisher and introduce the message type ROW_SELECTED which the |
652 |
|
|
TableFrame subscribes to and which is issued by OnRangeSelect and |
653 |
|
|
OnSelectCell |
654 |
|
|
|
655 |
|
|
(DataTable.SelectRow): Removed because it's no longer needed in |
656 |
|
|
the row/shape selection scheme |
657 |
|
|
|
658 |
bh |
32 |
* Thuban/UI/dialogs.py: New file implementing common classes for |
659 |
|
|
dialogs |
660 |
|
|
|
661 |
|
|
* Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to |
662 |
|
|
the SELECTED_SHAPE message anymore. This is now handled by the |
663 |
|
|
parent. |
664 |
|
|
(TableGrid.select_shape): Only update the selection if the shape |
665 |
|
|
is not None. |
666 |
|
|
(TableFrame): Inherit from the new NonModalDialog class. |
667 |
|
|
(TableFrame.__init__, TableFrame.select_shape): Handle the |
668 |
|
|
SELECT_SHAPE message. |
669 |
|
|
(TableFrame.OnClose): Extend the inherited method to unsubscribe |
670 |
|
|
SELECT_SHAPE |
671 |
|
|
|
672 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.init_dialogs): |
673 |
|
|
(MainWindow.add_dialog): |
674 |
|
|
(MainWindow.dialog_open): |
675 |
|
|
(MainWindow.remove_dialog): |
676 |
|
|
(MainWindow.get_open_dialog): New methods to maintain a dictionary |
677 |
|
|
of opened non-modal dialogs. |
678 |
|
|
|
679 |
|
|
(MainWindow.__init__): Initialize the new non-modal dictionary |
680 |
|
|
management code |
681 |
|
|
(MainWindow.LayerShowTable): maintain separate dialogs for each |
682 |
|
|
table using the non-modal dialog management code to only open a |
683 |
|
|
view once for each table. |
684 |
|
|
|
685 |
|
|
(MainWindow.IdentifyTool): |
686 |
|
|
(MainWindow.__init__): |
687 |
|
|
(MainWindow.identify_view_on_demand): Don't open the identify view |
688 |
|
|
in IdentifyTool anymore. This will be done automatically by the |
689 |
|
|
new method identify_view_on_demand which handles the |
690 |
|
|
SELECTED_SHAPE message so that the identify view will be opened on |
691 |
|
|
demand |
692 |
|
|
|
693 |
|
|
* Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove |
694 |
|
|
the interactor argument. The SELECTED_SHAPE message is now handled |
695 |
|
|
by the parent. |
696 |
|
|
(IdentifyView.__init__): Add the interactor argument so that we |
697 |
|
|
can handle the SELECTED_SHAPE message here |
698 |
|
|
(IdentifyView.selected_shape): New method to handle the |
699 |
|
|
SELECTED_SHAPE messages |
700 |
|
|
|
701 |
|
|
* Thuban/UI/identifyview.py (IdentifyView): Derive from the new |
702 |
|
|
NonModalDialog class |
703 |
|
|
(IdentifyView.OnClose): Extend the inherited version to |
704 |
|
|
unsubscribe SELECT_SHAPE |
705 |
|
|
|
706 |
|
|
* Thuban/Model/session.py (Session.UnsetModified): Remove debug prints |
707 |
|
|
|
708 |
bh |
26 |
2001-09-05 Bernhard Herzog <[email protected]> |
709 |
|
|
|
710 |
|
|
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
711 |
|
|
|
712 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
713 |
|
|
interactor to pass through to the MapCanvas |
714 |
|
|
|
715 |
|
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
716 |
|
|
argument to the MainWindow constructor to get rid of the ugly hack |
717 |
|
|
that made main.app available early just so that the mapcanvas |
718 |
|
|
could access the interactor object. |
719 |
|
|
|
720 |
bh |
19 |
2001-09-04 Bernhard Herzog <[email protected]> |
721 |
|
|
|
722 |
bh |
22 |
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method |
723 |
|
|
that runs a modal message box |
724 |
|
|
(MainWindow.OnClose): Use the new method |
725 |
|
|
(MainWindow.RemoveLayer): Just do nothing in case no layer is |
726 |
|
|
selected. The command should be grayed out anyway, so there's no |
727 |
|
|
need to pop up a message box. |
728 |
|
|
(MainWindow.AddLayer): Pop up a message box with an error message |
729 |
|
|
if the shape file can't be opened |
730 |
|
|
|
731 |
|
|
* Thuban/Model/layer.py (Layer.__init__): Open the shapefile |
732 |
|
|
immediately. This will cause an exception in case the file can't |
733 |
|
|
be opened and we can display an appropriate message. |
734 |
|
|
|
735 |
bh |
19 |
* MANIFEST.in: Add extensions/pyprojection/LICENSE |
736 |
|
|
|
737 |
|
|
* setup.py (thuban_bdist_rpm): New class implementing a Thuban |
738 |
|
|
specific bdist_rpm command. |
739 |
|
|
|
740 |
|
|
* Thuban/UI/main.py: Catch ImportError exceptions when importing |
741 |
|
|
the locale module because it may not be available on some |
742 |
|
|
installations. |
743 |
|
|
|
744 |
|
|
* extensions/pyprojection/LICENSE: Copy of the license text in |
745 |
|
|
Projection.i. Having it in a separate file makes it easier to |
746 |
|
|
refer to license text in e.g. RPMs |
747 |
|
|
|
748 |
bh |
18 |
2001-09-03 Bernhard Herzog <[email protected]> |
749 |
|
|
|
750 |
bh |
19 |
* setup.py: use wx-config instead of wxgtk-config because it's |
751 |
|
|
more generic |
752 |
|
|
|
753 |
|
|
* setup.py (ThubanInstall.get_outputs): Add the symlink in |
754 |
|
|
<prefix>/bin to the outputs |
755 |
|
|
(ThubanInstall.link_file): New method to link files. We need this |
756 |
|
|
because the standard copy_files refuses to link non-existing |
757 |
|
|
files. |
758 |
|
|
(ThubanInstall.run): Remove the leading install root from the |
759 |
|
|
script filename if an install root was specified and use the new |
760 |
|
|
link_file method |
761 |
|
|
|
762 |
bh |
18 |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
763 |
|
|
the window when the first layer is added to the map. |
764 |
|
|
|
765 |
|
|
* setup.py (ThubanInstall.run): Honor the build root (self.root) |
766 |
|
|
when linking thuban.py to <prefix>/bin |
767 |
|
|
|
768 |
bh |
16 |
2001-08-31 Bernhard Herzog <[email protected]> |
769 |
|
|
|
770 |
|
|
* setup.py: In the setup call, the install parameters shouldn't |
771 |
|
|
have trailing slashes because distutils on non-posix platforms |
772 |
|
|
doesn't like that. The same applies to other directories like |
773 |
|
|
"Resources/Bitmaps" |
774 |
|
|
|
775 |
|
|
In the configuration section for nt, move the wxWindows directory |
776 |
|
|
optins into the part clearly marked as editable. |
777 |
|
|
|
778 |
|
|
(InstallLocal.initialize_options): |
779 |
|
|
(InstallLocal.user_options): remove the currently unused debug |
780 |
|
|
flag |
781 |
|
|
(thuban_build_py.find_all_modules): Add this method so that it |
782 |
|
|
works for our case of having packages and modules in one |
783 |
|
|
distribution as well. |
784 |
|
|
(ThubanInstall.initialize_options): |
785 |
|
|
(ThubanInstall.finalize_options): |
786 |
|
|
(ThubanInstall.user_options): |
787 |
|
|
(ThubanInstall.boolean_options): Add new options, do-symlink and |
788 |
|
|
extra files. Since these are the first ThubanInstall specific |
789 |
|
|
options, override user_options and boolean_options |
790 |
|
|
(ThubanInstall.run): Honor the new do-symlink and extra-files |
791 |
|
|
options. |
792 |
|
|
(ThubanInstall.get_outputs): Add to override the base-class's |
793 |
|
|
version and add the extra-files to the outputs |
794 |
|
|
(bdist_inno): New class for windows distributions with Inno Setup |
795 |
|
|
(InnoIconItem): Helper class for bdist_inno |
796 |
|
|
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
797 |
|
|
this together with the appropriate parameters, to the setup call. |
798 |
|
|
|
799 |
|
|
* setup.cfg (bdist_inno): added new section for the inno setup |
800 |
|
|
installer |
801 |
|
|
|
802 |
|
|
* Thuban/UI/tree.py (myTreeCtrlPanel.__init__): New inst var |
803 |
|
|
changing_selection to avoid recursive selection events when |
804 |
|
|
modifying the selection in response to a selection event. |
805 |
|
|
(myTreeCtrlPanel.normalize_selection): Set the new inst var when |
806 |
|
|
changing the tree's selection. |
807 |
|
|
(myTreeCtrlPanel.OnSelChanged): Only normalize the selection when |
808 |
|
|
we're not being called indirectly from normalize_selection. |
809 |
|
|
|
810 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): Call |
811 |
|
|
event.Check only if the command is actuall checkable. |
812 |
|
|
(MainWindow.__init__): Call the toolbar's Realize method to make |
813 |
|
|
sure that the items are actually shown |
814 |
|
|
|
815 |
bh |
7 |
2001-08-28 Bernhard Herzog <[email protected]> |
816 |
|
|
|
817 |
bh |
9 |
* setup.py: Fix some doc strings |
818 |
|
|
|
819 |
bh |
7 |
* ChangeLog: started |
820 |
|
|
|