/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1065  
changed lines
  Added in v.1097

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26