1 |
|
2002-07-08 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/save.py (relative_filename): Wrapper around |
4 |
|
Thuban.Lib.fileutil.relative_filename that accepts an empty dir |
5 |
|
argument. save_session now automatically uses this version, |
6 |
|
solving a problem when saving to a relative filename. |
7 |
|
|
8 |
|
* setup.py: In the setup call, make sure that the library |
9 |
|
directories are under $prefix/lib not directly under $prefix. |
10 |
|
|
11 |
|
2002-06-20 Jan-Oliver Wagner <[email protected]> |
12 |
|
|
13 |
|
* Thuban/Model/extension.py: new module to handle extension objects. |
14 |
|
* Thuban/Model/messages.py: new messages for extensions. |
15 |
|
* Thuban/Model/session.py (Session.Extensions, Session.HasExtensions, |
16 |
|
Session.AddExtension): new for handling extensions. |
17 |
|
Also some other minor changes to round up extension handling. |
18 |
|
* Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization |
19 |
|
of Extension titles and title and names of its objects. |
20 |
|
|
21 |
|
2002-05-29 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
|
* Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind |
24 |
|
the events for a command. |
25 |
|
(MainWindow.add_toolbar_command, MainWindow.add_menu_command): |
26 |
|
Call bind_command_events to bind the events. add_toolbar_command |
27 |
|
can now bind events too so that it's possible to have commands |
28 |
|
that are only available through the toolbar. |
29 |
|
(MainWindow.init_ids): New instance variable events_bound to keep |
30 |
|
track of for which commands events have been bound. |
31 |
|
|
32 |
|
2002-05-28 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
* Thuban/UI/menu.py: New module to build and manage menus. |
35 |
|
|
36 |
|
* Thuban/UI/mainwindow.py: Remove some unused imports. |
37 |
|
(MainWindow.__init__, main_menu): move the definition of the main |
38 |
|
menu from __init__ to the Menu instance main_menu. |
39 |
|
(MainWindow.build_menu_bar, MainWindow.build_menu): New methods to |
40 |
|
build the menu bar and sub-menus from a menu description. |
41 |
|
|
42 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Read the |
43 |
|
startup file |
44 |
|
(ThubanApplication.read_startup_files): New method to run |
45 |
|
~/.thuban/thubanstart.py |
46 |
|
|
47 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar): |
48 |
|
Move the toolbar definition to the Menu instance main_toolbar. |
49 |
|
(MainWindow.build_toolbar): New method to build the toolbar |
50 |
|
similar to the build_menu methods |
51 |
|
|
52 |
|
2002-05-23 Bernhard Herzog <[email protected]> |
53 |
|
|
54 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of |
55 |
|
layer_outline_color. Fix it in the definition of the command too. |
56 |
|
|
57 |
|
* Thuban/UI/command.py (Command): Fix typo in doc string |
58 |
|
|
59 |
|
2002-05-22 Bernhard Herzog <[email protected]> |
60 |
|
|
61 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo |
62 |
|
in the docstring |
63 |
|
|
64 |
|
2002-05-15 Bernhard Herzog <[email protected]> |
65 |
|
|
66 |
|
* Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None |
67 |
|
when the shapefile is empty. |
68 |
|
(Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may |
69 |
|
now return None for empty shapefiles. Update doc-strings. |
70 |
|
|
71 |
|
* Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with |
72 |
|
the layer's bbox being None. |
73 |
|
|
74 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the |
75 |
|
layer's bbox being None. |
76 |
|
|
77 |
|
* Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when |
78 |
|
necessary. |
79 |
|
(MapCanvas.__init__): New instance variables, last_selected_layer |
80 |
|
and last_selected_shape to determine how the selection has |
81 |
|
changed. |
82 |
|
|
83 |
|
* Thuban/UI/tableview.py (TableGrid.__init__): Do not call |
84 |
|
AutoSizeColumns because it will cause a traversal of the entire |
85 |
|
table which for large .dbf files will take a very long time. |
86 |
|
|
87 |
|
2002-05-14 Bernhard Herzog <[email protected]> |
88 |
|
|
89 |
|
* Thuban/Model/layer.py (Layer.open_shapefile): Choose a better |
90 |
|
maximum depth for the tree than shapelib does by default. |
91 |
|
|
92 |
|
2002-05-10 Bernhard Herzog <[email protected]> |
93 |
|
|
94 |
|
* setup.py (py_modules): The shptree modules doesn't have a |
95 |
|
wrapper, so don't include it in the py_modules |
96 |
|
|
97 |
|
2002-05-08 Bernhard Herzog <[email protected]> |
98 |
|
|
99 |
|
* extensions/shapelib/shptree.c (compare_ints): Make arguments |
100 |
|
const void * as in the qsort prototype |
101 |
|
(SHPTreeFindLikelyShapes): Remove some unused variables. |
102 |
|
|
103 |
|
* Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view |
104 |
|
maintains to redraw the window during a drag. |
105 |
|
(MapCanvas.unprojected_rect_around_point): New method to determine |
106 |
|
a small region around a point for hit-testing. |
107 |
|
(MapCanvas.find_shape_at): Only test the shapes in a small region |
108 |
|
around the point. |
109 |
|
|
110 |
|
* setup.py: Increment the version to 0.1.2 |
111 |
|
|
112 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a |
113 |
|
debug print and set session to None after unsubscribing |
114 |
|
|
115 |
2002-05-07 Bernhard Herzog <[email protected]> |
2002-05-07 Bernhard Herzog <[email protected]> |
116 |
|
|
117 |
|
* Data/iceland_sample.session, Data/iceland_sample.thuban: Rename |
118 |
|
the file to have a .thuban extension. |
119 |
|
|
120 |
* Thuban/UI/tree.py (session_channels): New class constant with |
* Thuban/UI/tree.py (session_channels): New class constant with |
121 |
all the session channels to subscribe to to update the tree |
all the session channels to subscribe to to update the tree |
122 |
(SessionTreeCtrl.session_changed): Remember the session so that we |
(SessionTreeCtrl.session_changed): Remember the session so that we |