/[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 1044 by bh, Mon May 26 19:27:40 2003 UTC
# Line 1  Line 1 
1    2003-05-26  Bernhard Herzog  <[email protected]>
2    
3            Remove the Precision methods again. They're too DBF specific to be
4            part of the table interface and they're only used in table_to_dbf
5            anyway.
6            
7            * Thuban/Model/transientdb.py (TransientTableBase.Width):Use a
8            fixed precision of 12 for doubles.
9            (TransientTableBase.Precision): Removed
10            (AutoTransientTable.Width): Delegate to self.table.
11    
12            * Thuban/Model/table.py (DBFTable.Precision)
13            (MemoryTable.Precision): Removed.
14            (MemoryTable.Width): Use a fixed precision of 12 for doubles.
15            (table_to_dbf): Use a fixed precision of 12 for floats unless the
16            column object specifies something else.
17    
18            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): New.
19            test for table_to_dbf
20    
21    2003-05-26  Bernhard Herzog  <[email protected]>
22    
23            * test/test_transientdb.py
24            (TestTransientTable.run_iceland_political_tests): Fix a comment.
25    
26    2003-05-26  Bernhard Herzog  <[email protected]>
27    
28            * Thuban/UI/mainwindow.py (MainWindow.TableOpen): Real
29            implementation. Mark parts of the file format strings for
30            localization.
31    
32            * Thuban/Model/session.py (Session.OpenTableFile): New. Open a dbf
33            file and add the table to the tables managed by the session
34    
35            * test/test_session.py (TestSessionSimple.test_open_table_file):
36            New. test case for OpenTableFile
37    
38    2003-05-26  Jan-Oliver Wagner <[email protected]>
39    
40            * Thuban/UI/controls.py, Thuban/UI/identifyview.py, Thuban/UI/join.py,
41            Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py,
42            Thuban/UI/proj4dialog.py, Thuban/UI/tableview.py, Thuban/UI/view.py:
43            Replace the true/false of wxWindows by True/False of Python 2.2.1.
44    
45    2003-05-26  Jan-Oliver Wagner <[email protected]>
46    
47            * Thuban/UI/tableview.py (LayerTableFrame.__init__): If there is
48            already a selection present, update the grid accordingly.
49    
50            * Thuban/UI/mainwindow.py (MainWindow.TableShow): Make the dialog
51            resizeable and increase its initial size.
52    
53    2003-05-26  Frank Koormann  <[email protected]>
54    
55            Table export functionality
56    
57            * Thuban/Model/table.py (DBFTable.Width, MemoryTable.Width):
58            Return width (in characters) for a column.
59            (DBFTable.Precision, MemoryTable.Precision): Return decimal precision.
60            (table_to_dbf): Write table to dbf file.
61            (table_to_csv): Write table to csv file.
62    
63            * Thuban/Model/transientdb.py (TransientTableBase.Width,
64            TransientTableBase.Precision): Return column width and precision.
65    
66            * Thuban/UI/tableview.py (QueryTableFrame.OnSaveAs): Call table_to_dbf
67            or table_to_csv depending on file selection.
68    
69            * test/test_dbf_table.py:
70            Test table_to_dbf (extension of former part of test).
71    
72            * test/test_csv_table.py:
73            Test table_to_csv.
74    
75    2003-05-23  Jan-Oliver Wagner <[email protected]>
76    
77            * Thuban/UI/join.py (JoinDialog.OnJoin): Use _() for strings.
78            Use QueryTableFrame instead of TableFrame.
79    
80            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Prefix the
81            table window with 'Layer Table:' instead of 'Table:'.
82    
83    2003-05-23  Jan-Oliver Wagner <[email protected]>
84    
85            Give all tables a title via mix-in TitledObject.LayerShowTable
86    
87            * Thuban/Model/base.py (TitledObject.SetTitle): Call method 'issue'
88            only if it exists.
89    
90            * Thuban/Model/table.py (DBFTable, MemoryTable): mix-in TitledObject
91            and call its init-method with a default title. Remove Title() method.
92    
93            * Thuban/Model/transientdb.py (TransientTable, TransientJoinedTable,
94            AutoTransientTable): mix-in TitledObject and call its init-method with
95            a default title. Remove Title() method.
96    
97    2003-05-23  Bernhard Herzog  <[email protected]>
98    
99            * Thuban/Model/session.py (Session.AddShapeStore): Define
100            AddShapeStore analogously to AddTable.
101    
102            * test/test_session.py (TestSessionSimple.test_add_shapestore):
103            New. Test for AddShapeStore
104    
105    2003-05-23  Jan-Oliver Wagner <[email protected]>
106    
107            Introducing QueryTableFrame and a very coarse ShowTable implementation.
108    
109            * Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the
110            class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame.
111            The latter implements the selection GUI without dependency on a layer.
112            LayerTableFrame now is derived from QueryTableFrame and connects
113            to a layer.
114    
115            * Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse
116            implementation that still needs work.
117    
118            * Thuban/Model/layer.py (Layer.TreeInfo): Added filename.
119    
120    2003-05-22  Frank Koormann  <[email protected]>
121    
122            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
123            Added "outer_join = False" as optional parameter.
124            (TransientJoinedTable.create): If outer join is true, perform a
125            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
126            the left table. Records not matching are filled with 0 / None.
127    
128            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
129            (JoinDialog.OnJoin): Consider outer join check box.
130    
131    2003-05-22  Bernhard Herzog  <[email protected]>
132    
133            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
134            somewhat safer way. Storing the traceback in a local variable can
135            lead to memory leaks
136    
137    2003-05-22  Bernhard Herzog  <[email protected]>
138    
139            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
140            the wxMessageDialog's Destroy() method.
141    
142    2003-05-22  Frank Koormann  <[email protected]>
143    
144            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
145            TransientTable.Title()
146    
147    2003-05-22  Frank Koormann  <[email protected]>
148    
149            Join Dialog, initial version.
150    
151            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
152    
153            * Thuban/UI/join.py (JoinDialog): Functional implementation of
154            former framework. Renamed Table1/Table2 to LeftTable/RightTable
155            in all occurences.
156    
157            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
158            Typo fixed.
159    
160    2003-05-22  Bernhard Herzog  <[email protected]>
161    
162            Give the tables titles so that the GUI can display more meaningful
163            names. For now the titles are fixed but depend on e.g. filenames
164            or the titles of the joined tables.
165    
166            * Thuban/Model/transientdb.py (TransientTable.Title)
167            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
168    
169            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
170    
171            * test/test_transientdb.py
172            (TestTransientTable.test_auto_transient_table_title): New. Test
173            for the Title method
174            (TestTransientTable.test_transient_joined_table)
175            (TestTransientTable.test_transient_table): Add test for the Title
176            methods
177    
178            * test/test_memory_table.py (TestMemoryTable.test_title): New.
179            Test for the Title method
180    
181            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
182            the Title method
183    
184    2003-05-22  Bernhard Herzog  <[email protected]>
185    
186            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
187            Provide a better way to destroy the layers
188            (TestLayer.test_base_layer, TestLayer.test_arc_layer)
189            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
190            (TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use
191            the new way to destroy the layers.
192            (TestLayer.test_derived_store): New. Test for using a layer with a
193            DerivedShapeStore
194    
195            * Thuban/Model/layer.py (Layer.SetShapeStore): Only set the
196            filename if the shape store actually has one.
197    
198  2003-05-22  Bernhard Herzog  <[email protected]>  2003-05-22  Bernhard Herzog  <[email protected]>
199    
200          * 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.1044

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26