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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26