/[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 997 by bh, Thu May 22 18:21:23 2003 UTC revision 1073 by bh, Tue May 27 16:48:01 2003 UTC
# Line 1  Line 1 
1    2003-05-27  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as
4            well
5            (JoinDialog.__init__): Use the layer parameter and only build the
6            left choice when a layer is given
7            (JoinDialog.OnJoin): Handle layer joins as well
8            (JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case
9            that the user selects the "Select..." item. The sensitivitly
10            updating is now in update_sensitivity
11            (JoinDialog.y): New method to refactor the sensitivity update of
12            the join button into its own method.
13    
14            * Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement.
15    
16    2003-05-27  Bernhard Herzog  <[email protected]>
17    
18            * Thuban/UI/mainwindow.py (table_close command): Make it sensitive
19            iff there are unreferenced tables in the session
20    
21    2003-05-27  Bernhard Herzog  <[email protected]>
22    
23            * Thuban/Model/messages.py (TABLE_REMOVED): New message.
24    
25            * Thuban/Model/session.py (Session.UnreferencedTables): New method
26            to return tables that are not referenced by other tables or shape
27            stores and can be removed.
28            (Session.RemoveTable): Issue a TABLE_REMOVED message after
29            removing the table
30    
31            * Thuban/UI/mainwindow.py: Remove unused imports
32            (MainWindow.TableClose): Implement.
33    
34            * Thuban/UI/tableview.py (TableFrame.__init__): Subscribe to some
35            messages so that the frame will be automatically closed when a new
36            session is opened or the table is removed.
37            (TableFrame.OnClose): Unsubscribe the Subscriptions made in
38            __init__
39            (TableFrame.close_on_session_replaced)
40            (TableFrame.close_on_table_removed): New. Subscribers that close
41            the window
42    
43            * test/test_session.py (TestSessionMessages.test_remove_table)
44            (TestSessionSimple.test_remove_table): Move the test to
45            TestSessionSimple and add test for the TABLE_REMOVED message
46            (TestSessionBase.setUp): Also subscribe to TABLE_REMOVED
47            (TestSessionSimple.test_unreferenced_tables) New. Test for the
48            UnreferencedTables method.
49            (UnreferencedTablesTests): New. Class with some more sophisticated
50            tests for UnreferencedTables.
51    
52    2003-05-27  Frank Koormann  <[email protected]>
53    
54            * Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election"
55            display has some unwanted side effects. Removed again.
56    
57    2003-05-27  Frank Koormann  <[email protected]>
58    
59            * Resources/Bitmaps/legend_icon_layer.xpm: New, icon for legend.
60    
61            * Thuban/UI/legend.py (LegendTree.__FillTree): Use "legend_icon_layer"
62    
63    2003-05-27  Jan-Oliver Wagner <[email protected]>
64    
65            * test/test_menu.py (MenuTest.test): Added test for
66            Menu.RemoveItem().
67    
68            * Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from
69            the menu.
70    
71    2003-05-27  Frank Koormann  <[email protected]>
72            
73            Nonmodal dialogs without parent (i.e. they can fall behind the main
74            window)
75    
76            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Explicitly destroy
77            all dialogs in the dialogs dictionary and the canvas.
78    
79            * Thuban/UI/dialogs.py (NonModalNonParentDialog): New class, without
80            parent, i.e. can fall behind other windows.
81            (NonModalDialog.OnClose): Check is dialog is in mainwindow.dialog
82            dictionary before removing it.
83    
84            * Thuban/UI/classifier.py: Dialog derived from NonModalNonParentDialog
85    
86            * Thuban/UI/projdialog.py: Dialog derived from NonModalNonParentDialog
87            * Thuban/UI/tableview.py: Dialog derived from NonModalNonParentDialog
88            * Thuban/UI/tree.py: Dialog derived from NonModalNonParentDialog
89    
90    2003-05-27  Bernhard Herzog  <[email protected]>
91    
92            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): New. Open a
93            tableview dialog
94            (MainWindow.TableShow): Use ShowTableView to open the dialogs.
95            Also, don't use the table's titles as the dialog names. The titles
96            aren't guaranteed to be unique.
97            (MainWindow.TableOpen): Open a table view dialog after opening the
98            table
99    
100    2003-05-27  Bernhard Herzog  <[email protected]>
101    
102            * Thuban/UI/mainwindow.py: Remove the Table/Hide menu item. Its
103            effect can be achieved by simply closing the window showing the
104            table.
105            (MainWindow.TableHide): Removed.
106            (main_menu): Removed "table_hide"
107    
108    2003-05-27  Frank Koormann  <[email protected]>
109    
110            Fix legend tree display problems under Win32
111    
112            * Thuban/UI/legend.py:  BMP_SIZE_W = 15
113            (LegendTree.__FillTree): Display "legend_icon_map.xpm" with layer title.
114            (LegendTree.__FillTreeLayer): Explicitely set SelectedImage.
115    
116            * Resources/Bitmaps/legend_icon_map.xpm: New icon for legend.
117    
118    2003-05-27  Jan-Oliver Wagner <[email protected]>
119    
120            * Thuban/UI/menu.py (Menu.InsertSeparator): Additional optional parameter
121            'after' now allows to insert separators almost anywhere in the menu.
122    
123    2003-05-27  Frank Koormann  <[email protected]>
124    
125            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Underline the
126            "S" of selection box label to hint on hot key (Alt-S). Works under
127            Win32 but is ignored under GTK.
128    
129    2003-05-26  Frank Koormann  <[email protected]>
130    
131            * Thuban/UI/projdialog.py (ProjFrame.__do_layout, ProjPanel._DoLayout):
132            Center Choices.
133    
134    2003-05-26  Bernhard Herzog  <[email protected]>
135    
136            Remove the Precision methods again. They're too DBF specific to be
137            part of the table interface and they're only used in table_to_dbf
138            anyway.
139            
140            * Thuban/Model/transientdb.py (TransientTableBase.Width):Use a
141            fixed precision of 12 for doubles.
142            (TransientTableBase.Precision): Removed
143            (AutoTransientTable.Width): Delegate to self.table.
144    
145            * Thuban/Model/table.py (DBFTable.Precision)
146            (MemoryTable.Precision): Removed.
147            (MemoryTable.Width): Use a fixed precision of 12 for doubles.
148            (table_to_dbf): Use a fixed precision of 12 for floats unless the
149            column object specifies something else.
150    
151            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): New.
152            test for table_to_dbf
153    
154    2003-05-26  Bernhard Herzog  <[email protected]>
155    
156            * test/test_transientdb.py
157            (TestTransientTable.run_iceland_political_tests): Fix a comment.
158    
159    2003-05-26  Bernhard Herzog  <[email protected]>
160    
161            * Thuban/UI/mainwindow.py (MainWindow.TableOpen): Real
162            implementation. Mark parts of the file format strings for
163            localization.
164    
165            * Thuban/Model/session.py (Session.OpenTableFile): New. Open a dbf
166            file and add the table to the tables managed by the session
167    
168            * test/test_session.py (TestSessionSimple.test_open_table_file):
169            New. test case for OpenTableFile
170    
171    2003-05-26  Jan-Oliver Wagner <[email protected]>
172    
173            * Thuban/UI/controls.py, Thuban/UI/identifyview.py, Thuban/UI/join.py,
174            Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py,
175            Thuban/UI/proj4dialog.py, Thuban/UI/tableview.py, Thuban/UI/view.py:
176            Replace the true/false of wxWindows by True/False of Python 2.2.1.
177    
178    2003-05-26  Jan-Oliver Wagner <[email protected]>
179    
180            * Thuban/UI/tableview.py (LayerTableFrame.__init__): If there is
181            already a selection present, update the grid accordingly.
182    
183            * Thuban/UI/mainwindow.py (MainWindow.TableShow): Make the dialog
184            resizeable and increase its initial size.
185    
186    2003-05-26  Frank Koormann  <[email protected]>
187    
188            Table export functionality
189    
190            * Thuban/Model/table.py (DBFTable.Width, MemoryTable.Width):
191            Return width (in characters) for a column.
192            (DBFTable.Precision, MemoryTable.Precision): Return decimal precision.
193            (table_to_dbf): Write table to dbf file.
194            (table_to_csv): Write table to csv file.
195    
196            * Thuban/Model/transientdb.py (TransientTableBase.Width,
197            TransientTableBase.Precision): Return column width and precision.
198    
199            * Thuban/UI/tableview.py (QueryTableFrame.OnSaveAs): Call table_to_dbf
200            or table_to_csv depending on file selection.
201    
202            * test/test_dbf_table.py:
203            Test table_to_dbf (extension of former part of test).
204    
205            * test/test_csv_table.py:
206            Test table_to_csv.
207    
208    2003-05-23  Jan-Oliver Wagner <[email protected]>
209    
210            * Thuban/UI/join.py (JoinDialog.OnJoin): Use _() for strings.
211            Use QueryTableFrame instead of TableFrame.
212    
213            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Prefix the
214            table window with 'Layer Table:' instead of 'Table:'.
215    
216    2003-05-23  Jan-Oliver Wagner <[email protected]>
217    
218            Give all tables a title via mix-in TitledObject.LayerShowTable
219    
220            * Thuban/Model/base.py (TitledObject.SetTitle): Call method 'issue'
221            only if it exists.
222    
223            * Thuban/Model/table.py (DBFTable, MemoryTable): mix-in TitledObject
224            and call its init-method with a default title. Remove Title() method.
225    
226            * Thuban/Model/transientdb.py (TransientTable, TransientJoinedTable,
227            AutoTransientTable): mix-in TitledObject and call its init-method with
228            a default title. Remove Title() method.
229    
230    2003-05-23  Bernhard Herzog  <[email protected]>
231    
232            * Thuban/Model/session.py (Session.AddShapeStore): Define
233            AddShapeStore analogously to AddTable.
234    
235            * test/test_session.py (TestSessionSimple.test_add_shapestore):
236            New. Test for AddShapeStore
237    
238    2003-05-23  Jan-Oliver Wagner <[email protected]>
239    
240            Introducing QueryTableFrame and a very coarse ShowTable implementation.
241    
242            * Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the
243            class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame.
244            The latter implements the selection GUI without dependency on a layer.
245            LayerTableFrame now is derived from QueryTableFrame and connects
246            to a layer.
247    
248            * Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse
249            implementation that still needs work.
250    
251            * Thuban/Model/layer.py (Layer.TreeInfo): Added filename.
252    
253    2003-05-22  Frank Koormann  <[email protected]>
254    
255            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
256            Added "outer_join = False" as optional parameter.
257            (TransientJoinedTable.create): If outer join is true, perform a
258            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
259            the left table. Records not matching are filled with 0 / None.
260    
261            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
262            (JoinDialog.OnJoin): Consider outer join check box.
263    
264    2003-05-22  Bernhard Herzog  <[email protected]>
265    
266            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
267            somewhat safer way. Storing the traceback in a local variable can
268            lead to memory leaks
269    
270    2003-05-22  Bernhard Herzog  <[email protected]>
271    
272            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
273            the wxMessageDialog's Destroy() method.
274    
275    2003-05-22  Frank Koormann  <[email protected]>
276    
277            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
278            TransientTable.Title()
279    
280    2003-05-22  Frank Koormann  <[email protected]>
281    
282            Join Dialog, initial version.
283    
284            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
285    
286            * Thuban/UI/join.py (JoinDialog): Functional implementation of
287            former framework. Renamed Table1/Table2 to LeftTable/RightTable
288            in all occurences.
289    
290            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
291            Typo fixed.
292    
293    2003-05-22  Bernhard Herzog  <[email protected]>
294    
295            Give the tables titles so that the GUI can display more meaningful
296            names. For now the titles are fixed but depend on e.g. filenames
297            or the titles of the joined tables.
298    
299            * Thuban/Model/transientdb.py (TransientTable.Title)
300            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
301    
302            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
303    
304            * test/test_transientdb.py
305            (TestTransientTable.test_auto_transient_table_title): New. Test
306            for the Title method
307            (TestTransientTable.test_transient_joined_table)
308            (TestTransientTable.test_transient_table): Add test for the Title
309            methods
310    
311            * test/test_memory_table.py (TestMemoryTable.test_title): New.
312            Test for the Title method
313    
314            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
315            the Title method
316    
317  2003-05-22  Bernhard Herzog  <[email protected]>  2003-05-22  Bernhard Herzog  <[email protected]>
318    
319          * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):          * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):

Legend:
Removed from v.997  
changed lines
  Added in v.1073

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26