/[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 1030 by frank, Mon May 26 11:48:12 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]>
134    
135            * Resources/Bitmaps/legend_icon_layer.xpm: New, icon for legend.
136    
137            * Thuban/UI/legend.py (LegendTree.__FillTree): Use "legend_icon_layer"
138    
139    2003-05-27  Jan-Oliver Wagner <[email protected]>
140    
141            * 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
145            the menu.
146    
147    2003-05-27  Frank Koormann  <[email protected]>
148            
149            Nonmodal dialogs without parent (i.e. they can fall behind the main
150            window)
151    
152            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Explicitly destroy
153            all dialogs in the dialogs dictionary and the canvas.
154    
155            * Thuban/UI/dialogs.py (NonModalNonParentDialog): New class, without
156            parent, i.e. can fall behind other windows.
157            (NonModalDialog.OnClose): Check is dialog is in mainwindow.dialog
158            dictionary before removing it.
159    
160            * Thuban/UI/classifier.py: Dialog derived from NonModalNonParentDialog
161    
162            * Thuban/UI/projdialog.py: Dialog derived from NonModalNonParentDialog
163            * Thuban/UI/tableview.py: Dialog derived from NonModalNonParentDialog
164            * Thuban/UI/tree.py: Dialog derived from NonModalNonParentDialog
165    
166    2003-05-27  Bernhard Herzog  <[email protected]>
167    
168            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): New. Open a
169            tableview dialog
170            (MainWindow.TableShow): Use ShowTableView to open the dialogs.
171            Also, don't use the table's titles as the dialog names. The titles
172            aren't guaranteed to be unique.
173            (MainWindow.TableOpen): Open a table view dialog after opening the
174            table
175    
176    2003-05-27  Bernhard Herzog  <[email protected]>
177    
178            * Thuban/UI/mainwindow.py: Remove the Table/Hide menu item. Its
179            effect can be achieved by simply closing the window showing the
180            table.
181            (MainWindow.TableHide): Removed.
182            (main_menu): Removed "table_hide"
183    
184    2003-05-27  Frank Koormann  <[email protected]>
185    
186            Fix legend tree display problems under Win32
187    
188            * Thuban/UI/legend.py:  BMP_SIZE_W = 15
189            (LegendTree.__FillTree): Display "legend_icon_map.xpm" with layer title.
190            (LegendTree.__FillTreeLayer): Explicitely set SelectedImage.
191    
192            * Resources/Bitmaps/legend_icon_map.xpm: New icon for legend.
193    
194    2003-05-27  Jan-Oliver Wagner <[email protected]>
195    
196            * Thuban/UI/menu.py (Menu.InsertSeparator): Additional optional parameter
197            'after' now allows to insert separators almost anywhere in the menu.
198    
199    2003-05-27  Frank Koormann  <[email protected]>
200    
201            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Underline the
202            "S" of selection box label to hint on hot key (Alt-S). Works under
203            Win32 but is ignored under GTK.
204    
205    2003-05-26  Frank Koormann  <[email protected]>
206    
207            * Thuban/UI/projdialog.py (ProjFrame.__do_layout, ProjPanel._DoLayout):
208            Center Choices.
209    
210    2003-05-26  Bernhard Herzog  <[email protected]>
211    
212            Remove the Precision methods again. They're too DBF specific to be
213            part of the table interface and they're only used in table_to_dbf
214            anyway.
215            
216            * Thuban/Model/transientdb.py (TransientTableBase.Width):Use a
217            fixed precision of 12 for doubles.
218            (TransientTableBase.Precision): Removed
219            (AutoTransientTable.Width): Delegate to self.table.
220    
221            * Thuban/Model/table.py (DBFTable.Precision)
222            (MemoryTable.Precision): Removed.
223            (MemoryTable.Width): Use a fixed precision of 12 for doubles.
224            (table_to_dbf): Use a fixed precision of 12 for floats unless the
225            column object specifies something else.
226    
227            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): New.
228            test for table_to_dbf
229    
230    2003-05-26  Bernhard Herzog  <[email protected]>
231    
232            * test/test_transientdb.py
233            (TestTransientTable.run_iceland_political_tests): Fix a comment.
234    
235    2003-05-26  Bernhard Herzog  <[email protected]>
236    
237            * Thuban/UI/mainwindow.py (MainWindow.TableOpen): Real
238            implementation. Mark parts of the file format strings for
239            localization.
240    
241            * Thuban/Model/session.py (Session.OpenTableFile): New. Open a dbf
242            file and add the table to the tables managed by the session
243    
244            * test/test_session.py (TestSessionSimple.test_open_table_file):
245            New. test case for OpenTableFile
246    
247    2003-05-26  Jan-Oliver Wagner <[email protected]>
248    
249            * Thuban/UI/controls.py, Thuban/UI/identifyview.py, Thuban/UI/join.py,
250            Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py,
251            Thuban/UI/proj4dialog.py, Thuban/UI/tableview.py, Thuban/UI/view.py:
252            Replace the true/false of wxWindows by True/False of Python 2.2.1.
253    
254    2003-05-26  Jan-Oliver Wagner <[email protected]>
255    
256            * Thuban/UI/tableview.py (LayerTableFrame.__init__): If there is
257            already a selection present, update the grid accordingly.
258    
259            * Thuban/UI/mainwindow.py (MainWindow.TableShow): Make the dialog
260            resizeable and increase its initial size.
261    
262  2003-05-26  Frank Koormann  <[email protected]>  2003-05-26  Frank Koormann  <[email protected]>
263    
264          Table export functionality          Table export functionality

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26