/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

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

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

Legend:
Removed from v.988  
changed lines
  Added in v.1046

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26