1 |
|
2003-05-28 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer |
4 |
|
does not necessarily have a filename). |
5 |
|
|
6 |
|
2003-05-28 Jan-Oliver Wagner <[email protected]> |
7 |
|
|
8 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow): |
9 |
|
sort the selection list for the dialog. |
10 |
|
|
11 |
|
2003-05-28 Frank Koormann <[email protected]> |
12 |
|
|
13 |
|
* extensions/thuban/wxproj.cpp |
14 |
|
(project_point): Removed cast to int for projected point coordinates. |
15 |
|
(shape_centroid): Return last point if all polygon vertices fall |
16 |
|
to one point. |
17 |
|
|
18 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope |
21 |
|
with layers that don't have shapestores, i.e. raster layers. |
22 |
|
|
23 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
* Thuban/Model/table.py (DBFTable.__init__): Omit the extension |
26 |
|
when determining the title from the filename. |
27 |
|
|
28 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): Update to |
29 |
|
reflect changes in the way the title is derived from the filename |
30 |
|
|
31 |
|
2003-05-28 Frank Koormann <[email protected]> |
32 |
|
|
33 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableShow): |
34 |
|
Added wxDEFAULT_DIALOG_STYLE to show table dialog styles. |
35 |
|
|
36 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
37 |
|
|
38 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages): Also |
39 |
|
delegate SelectedLayer. |
40 |
|
(MainWindow.LayerUnjoinTable): Implement. |
41 |
|
(_can_unjoin): New. Helper function for the sensitivity of the |
42 |
|
layer/unjoin command. |
43 |
|
|
44 |
|
* Thuban/Model/data.py (ShapefileStore.OrigShapeStore) |
45 |
|
(DerivedShapeStore.OrigShapeStore): New. Return the original |
46 |
|
shapestore. Used to figure out how to unjoin. |
47 |
|
(DerivedShapeStore.Shapefile): Fix a typo. |
48 |
|
|
49 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
50 |
|
|
51 |
|
* Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as |
52 |
|
well |
53 |
|
(JoinDialog.__init__): Use the layer parameter and only build the |
54 |
|
left choice when a layer is given |
55 |
|
(JoinDialog.OnJoin): Handle layer joins as well |
56 |
|
(JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case |
57 |
|
that the user selects the "Select..." item. The sensitivitly |
58 |
|
updating is now in update_sensitivity |
59 |
|
(JoinDialog.y): New method to refactor the sensitivity update of |
60 |
|
the join button into its own method. |
61 |
|
|
62 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement. |
63 |
|
|
64 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
65 |
|
|
66 |
|
* Thuban/UI/mainwindow.py (table_close command): Make it sensitive |
67 |
|
iff there are unreferenced tables in the session |
68 |
|
|
69 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
70 |
|
|
71 |
|
* Thuban/Model/messages.py (TABLE_REMOVED): New message. |
72 |
|
|
73 |
|
* Thuban/Model/session.py (Session.UnreferencedTables): New method |
74 |
|
to return tables that are not referenced by other tables or shape |
75 |
|
stores and can be removed. |
76 |
|
(Session.RemoveTable): Issue a TABLE_REMOVED message after |
77 |
|
removing the table |
78 |
|
|
79 |
|
* Thuban/UI/mainwindow.py: Remove unused imports |
80 |
|
(MainWindow.TableClose): Implement. |
81 |
|
|
82 |
|
* Thuban/UI/tableview.py (TableFrame.__init__): Subscribe to some |
83 |
|
messages so that the frame will be automatically closed when a new |
84 |
|
session is opened or the table is removed. |
85 |
|
(TableFrame.OnClose): Unsubscribe the Subscriptions made in |
86 |
|
__init__ |
87 |
|
(TableFrame.close_on_session_replaced) |
88 |
|
(TableFrame.close_on_table_removed): New. Subscribers that close |
89 |
|
the window |
90 |
|
|
91 |
|
* test/test_session.py (TestSessionMessages.test_remove_table) |
92 |
|
(TestSessionSimple.test_remove_table): Move the test to |
93 |
|
TestSessionSimple and add test for the TABLE_REMOVED message |
94 |
|
(TestSessionBase.setUp): Also subscribe to TABLE_REMOVED |
95 |
|
(TestSessionSimple.test_unreferenced_tables) New. Test for the |
96 |
|
UnreferencedTables method. |
97 |
|
(UnreferencedTablesTests): New. Class with some more sophisticated |
98 |
|
tests for UnreferencedTables. |
99 |
|
|
100 |
|
2003-05-27 Frank Koormann <[email protected]> |
101 |
|
|
102 |
|
* Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election" |
103 |
|
display has some unwanted side effects. Removed again. |
104 |
|
|
105 |
|
2003-05-27 Frank Koormann <[email protected]> |
106 |
|
|
107 |
|
* Resources/Bitmaps/legend_icon_layer.xpm: New, icon for legend. |
108 |
|
|
109 |
|
* Thuban/UI/legend.py (LegendTree.__FillTree): Use "legend_icon_layer" |
110 |
|
|
111 |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
112 |
|
|
113 |
* test/test_menu.py (MenuTest.test): Added test for Menu.RemoveItem(). |
* test/test_menu.py (MenuTest.test): Added test for |
114 |
|
Menu.RemoveItem(). |
115 |
|
|
116 |
* Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from the menu. |
* Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from |
117 |
|
the menu. |
118 |
|
|
|
* |
|
119 |
2003-05-27 Frank Koormann <[email protected]> |
2003-05-27 Frank Koormann <[email protected]> |
120 |
|
|
121 |
Nonmodal dialogs without parent (i.e. they can fall behind the main |
Nonmodal dialogs without parent (i.e. they can fall behind the main |