1 |
|
2002-05-28 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/menu.py: New module to build and manage menus. |
4 |
|
|
5 |
|
* Thuban/UI/mainwindow.py: Remove some unused imports. |
6 |
|
(MainWindow.__init__, main_menu): move the definition of the main |
7 |
|
menu from __init__ to the Menu instance main_menu. |
8 |
|
(MainWindow.build_menu_bar, MainWindow.build_menu): New methods to |
9 |
|
build the menu bar and sub-menus from a menu description. |
10 |
|
|
11 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Read the |
12 |
|
startup file |
13 |
|
(ThubanApplication.read_startup_files): New method to run |
14 |
|
~/.thuban/thubanstart.py |
15 |
|
|
16 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar): |
17 |
|
Move the toolbar definition to the Menu instance main_toolbar. |
18 |
|
(MainWindow.build_toolbar): New method to build the toolbar |
19 |
|
similar to the build_menu methods |
20 |
|
|
21 |
|
2002-05-23 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of |
24 |
|
layer_outline_color. Fix it in the definition of the command too. |
25 |
|
|
26 |
|
* Thuban/UI/command.py (Command): Fix typo in doc string |
27 |
|
|
28 |
|
2002-05-22 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo |
31 |
|
in the docstring |
32 |
|
|
33 |
|
2002-05-15 Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
|
* Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None |
36 |
|
when the shapefile is empty. |
37 |
|
(Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may |
38 |
|
now return None for empty shapefiles. Update doc-strings. |
39 |
|
|
40 |
|
* Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with |
41 |
|
the layer's bbox being None. |
42 |
|
|
43 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the |
44 |
|
layer's bbox being None. |
45 |
|
|
46 |
|
* Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when |
47 |
|
necessary. |
48 |
|
(MapCanvas.__init__): New instance variables, last_selected_layer |
49 |
|
and last_selected_shape to determine how the selection has |
50 |
|
changed. |
51 |
|
|
52 |
|
* Thuban/UI/tableview.py (TableGrid.__init__): Do not call |
53 |
|
AutoSizeColumns because it will cause a traversal of the entire |
54 |
|
table which for large .dbf files will take a very long time. |
55 |
|
|
56 |
|
2002-05-14 Bernhard Herzog <[email protected]> |
57 |
|
|
58 |
|
* Thuban/Model/layer.py (Layer.open_shapefile): Choose a better |
59 |
|
maximum depth for the tree than shapelib does by default. |
60 |
|
|
61 |
|
2002-05-10 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* setup.py (py_modules): The shptree modules doesn't have a |
64 |
|
wrapper, so don't include it in the py_modules |
65 |
|
|
66 |
|
2002-05-08 Bernhard Herzog <[email protected]> |
67 |
|
|
68 |
|
* extensions/shapelib/shptree.c (compare_ints): Make arguments |
69 |
|
const void * as in the qsort prototype |
70 |
|
(SHPTreeFindLikelyShapes): Remove some unused variables. |
71 |
|
|
72 |
|
* Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view |
73 |
|
maintains to redraw the window during a drag. |
74 |
|
(MapCanvas.unprojected_rect_around_point): New method to determine |
75 |
|
a small region around a point for hit-testing. |
76 |
|
(MapCanvas.find_shape_at): Only test the shapes in a small region |
77 |
|
around the point. |
78 |
|
|
79 |
|
* setup.py: Increment the version to 0.1.2 |
80 |
|
|
81 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a |
82 |
|
debug print and set session to None after unsubscribing |
83 |
|
|
84 |
2002-05-07 Bernhard Herzog <[email protected]> |
2002-05-07 Bernhard Herzog <[email protected]> |
85 |
|
|
86 |
|
* Data/iceland_sample.session, Data/iceland_sample.thuban: Rename |
87 |
|
the file to have a .thuban extension. |
88 |
|
|
89 |
* Thuban/UI/tree.py (session_channels): New class constant with |
* Thuban/UI/tree.py (session_channels): New class constant with |
90 |
all the session channels to subscribe to to update the tree |
all the session channels to subscribe to to update the tree |
91 |
(SessionTreeCtrl.session_changed): Remember the session so that we |
(SessionTreeCtrl.session_changed): Remember the session so that we |