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

Legend:
Removed from v.992  
changed lines
  Added in v.1059

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26