/[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 958 by bh, Wed May 21 17:12:30 2003 UTC revision 1017 by bh, Fri May 23 11:06:14 2003 UTC
# Line 1  Line 1 
1    2003-05-23  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/session.py (Session.AddShapeStore): Define
4            AddShapeStore analogously to AddTable.
5    
6            * test/test_session.py (TestSessionSimple.test_add_shapestore):
7            New. Test for AddShapeStore
8    
9    2003-05-23  Jan-Oliver Wagner <[email protected]>
10    
11            Introducing QueryTableFrame and a very coarse ShowTable implementation.
12    
13            * Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the
14            class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame.
15            The latter implements the selection GUI without dependency on a layer.
16            LayerTableFrame now is derived from QueryTableFrame and connects
17            to a layer.
18    
19            * Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse
20            implementation that still needs work.
21    
22            * Thuban/Model/layer.py (Layer.TreeInfo): Added filename.
23    
24    2003-05-22  Frank Koormann  <[email protected]>
25    
26            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
27            Added "outer_join = False" as optional parameter.
28            (TransientJoinedTable.create): If outer join is true, perform a
29            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
30            the left table. Records not matching are filled with 0 / None.
31    
32            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
33            (JoinDialog.OnJoin): Consider outer join check box.
34    
35    2003-05-22  Bernhard Herzog  <[email protected]>
36    
37            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
38            somewhat safer way. Storing the traceback in a local variable can
39            lead to memory leaks
40    
41    2003-05-22  Bernhard Herzog  <[email protected]>
42    
43            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
44            the wxMessageDialog's Destroy() method.
45    
46    2003-05-22  Frank Koormann  <[email protected]>
47    
48            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
49            TransientTable.Title()
50    
51    2003-05-22  Frank Koormann  <[email protected]>
52    
53            Join Dialog, initial version.
54    
55            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
56    
57            * Thuban/UI/join.py (JoinDialog): Functional implementation of
58            former framework. Renamed Table1/Table2 to LeftTable/RightTable
59            in all occurences.
60    
61            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
62            Typo fixed.
63    
64    2003-05-22  Bernhard Herzog  <[email protected]>
65    
66            Give the tables titles so that the GUI can display more meaningful
67            names. For now the titles are fixed but depend on e.g. filenames
68            or the titles of the joined tables.
69    
70            * Thuban/Model/transientdb.py (TransientTable.Title)
71            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
72    
73            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
74    
75            * test/test_transientdb.py
76            (TestTransientTable.test_auto_transient_table_title): New. Test
77            for the Title method
78            (TestTransientTable.test_transient_joined_table)
79            (TestTransientTable.test_transient_table): Add test for the Title
80            methods
81    
82            * test/test_memory_table.py (TestMemoryTable.test_title): New.
83            Test for the Title method
84    
85            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
86            the Title method
87    
88    2003-05-22  Bernhard Herzog  <[email protected]>
89    
90            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
91            Provide a better way to destroy the layers
92            (TestLayer.test_base_layer, TestLayer.test_arc_layer)
93            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
94            (TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use
95            the new way to destroy the layers.
96            (TestLayer.test_derived_store): New. Test for using a layer with a
97            DerivedShapeStore
98    
99            * Thuban/Model/layer.py (Layer.SetShapeStore): Only set the
100            filename if the shape store actually has one.
101    
102    2003-05-22  Bernhard Herzog  <[email protected]>
103    
104            * Thuban/Model/table.py (DBFTable.FileName): New. Accessor method
105            for the filename
106    
107            * test/test_dbf_table.py (TestDBFTable.test_filename): New. Test
108            for the FileName method
109            (TestDBFTableWriting.test_write): Fix spelling of filename
110    
111    2003-05-22  Thomas Koester  <[email protected]>
112    
113            * Thuban/Model/range.py, test/test_range.py: Brought over new Range
114            from SciParam that now really is immutable.
115    
116    2003-05-22  Frank Koormann  <[email protected]>
117    
118            Layer Top/Bottom placement added to legend.
119    
120            * Thuban/UI/legend.py
121            (LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods
122            bound to tool events.
123            (LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom):
124            New, methods binding the event methods with the map methods.
125    
126            * Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place
127            layer at top/bottom of layer stack.
128    
129            * Resources/Bitmaps/top_layer.xpm: New button icon.
130    
131            * Resources/Bitmaps/bottom_layer.xpm: New button icon.
132    
133    2003-05-22  Bernhard Herzog  <[email protected]>
134    
135            * Thuban/Model/session.py (Session.RemoveTable): New method to
136            remove tables
137    
138            * test/test_session.py (TestSessionSimple.test_remove_table): New.
139            Test for RemoveTable
140    
141    2003-05-22  Thomas Koester  <[email protected]>
142    
143            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
144            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
145    
146    2003-05-22  Bernhard Herzog  <[email protected]>
147    
148            Implement a way to discover dependencies between tables and
149            shapestores.
150    
151            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
152            (TransientJoinedTable.Dependencies)
153            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
154            interface
155            (TransientJoinedTable.__init__): Keep tack of the original table
156            objects in addition to the corresponding transient tables.
157    
158            * Thuban/Model/table.py (DBFTable.Dependencies)
159            (MemoryTable.Dependencies): New. Implement the dependencies
160            interface
161    
162            * Thuban/Model/data.py (ShapeTable): New. Helper class for
163            ShapefileStore
164            (ShapefileStore.__init__): Use ShapeTable instead of
165            AutoTransientTable
166            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
167            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
168            methods for filename and type
169            (ShapefileStore.Dependencies): New. Implement the dependencies
170            interface
171            (DerivedShapeStore): New class to replace SimpleStore. The main
172            difference to SimpleStore is that it depends not on a shapefile
173            but another shapestore which expresses the dependencies a bit
174            better
175            (SimpleStore.__init__): Add deprecation warning.
176    
177            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
178            Test for the Dependencies method.
179    
180            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
181            New. Test for the Dependencies method.
182    
183            * test/test_transientdb.py
184            (TestTransientTable.test_auto_transient_table_dependencies): New.
185            Test for the Dependencies method.
186            (TestTransientTable.test_transient_joined_table): Add test for the
187            Dependencies method.
188    
189            * test/test_session.py (TestSessionSimple.setUp)
190            (TestSessionSimple.tearDown): New. Implement a better way to
191            destroy the sessions.
192            (TestSessionSimple.test_initial_state)
193            (TestSessionSimple.test_add_table): Bind session to self.session
194            so that it's destroyed by tearDown
195            (TestSessionSimple.test_open_shapefile): New. Test for
196            OpenShapefile and the object it returns
197    
198    2003-05-22  Bernhard Herzog  <[email protected]>
199    
200            * Thuban/Model/session.py (Session.AddTable): New method to
201            register tables with the session.
202            (Session.Tables): Return the tables registered with AddTable too.
203    
204            * test/test_session.py (TestSessionSimple.test_add_table): New.
205            Test case for the AddTable method
206    
207    2003-05-22  Frank Koormann  <[email protected]>
208    
209            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
210            lower right corner, center labels for selections, initialize controls
211            in reasonable order for keyboard navigation.
212    
213            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
214            (ProjFrame.__DoOnProjAvail): Determine position of current projection
215            using the wxListBox.FindString() method. Still a problem (#1886)
216    
217            * Thuban/UI/classifier.py
218            (Classifier.__init__, SelectPropertiesDialog.__init__)
219    
220            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
221            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
222            different classification types from here to __init__.
223            (GenUniquePanel.__init__): Set the column width of the first field
224            in the Field ListCtrl to the full width.
225    
226            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
227            Button to 'Export'. Center Buttons in Selection Box, set Focus to
228            Grid.
229            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
230            changes focus to the Selection when pressing "Alt-S".
231    
232            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
233            the text if not visible. The italic font sometimes exceeds the
234            rendering area.
235    
236    2003-05-21  Jonathan Coles   <[email protected]>
237    
238            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
239            to OnClose so that Thuban closes correctly.
240    
241            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
242            DockFrame.OnClose, not DockFrame._OnClose.
243    
244    2003-05-21  Jonathan Coles   <[email protected]>
245    
246            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
247            references to 'inf' and use new Range __init__ to pass floats
248            directly rather than converting them to strings first.
249            Fixes RTBug #1876.
250    
251            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
252            Use new Range ___init__ to pass floats.
253    
254            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
255            filename is a valid image file. Throw IOError otherwise.
256    
257            * Thuban/Model/range.py: Brought over new Range from SciParam that
258            is immutable and has an __init__ which can accept floats.
259    
260            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
261            into try block. AddLayer doesn't throw any exceptions anymore.
262            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
263            try block.
264    
265            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
266            the first item in choices. Fixes RTBug #1882.
267    
268            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
269            has gone to 0 which is a serious problem. abort.
270            (MapRenderer.draw_raster_layer): Catch IOError seperately and
271            print the error from GDAL.
272    
273            * Thuban/UI/tableview.py (TableGrid.__init__): Call
274            ToggleEventListeners to turn on listening.
275            (TableGrid.ToggleEventListeners): New. Turns event listening on
276            and off so as to prevent excessive messages.
277            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
278            to suppress excessive messages when selecting many rows.
279            Fixes RTBug #1880.
280    
281            * Thuban/UI/view.py: Added checks against if scale == 0. This
282            is a serious problem that can occur when an image without
283            geo data is loading and causes the map projection bounds to
284            go to infinity. Right now, the solution is to simply try
285            to recover.
286    
287            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
288            to set the MFILEReceiver attributes even if the data is NULL.
289    
290            * extensions/thuban/gdalwarp.cpp: Improved the error handling
291            and passed GDAL messages back up to the Python layer. Also
292            tried to fix some memory leaks that were present in the original
293            utility but didn't matter because the program aborted.
294    
295            * test/test_range.py: Copied over tests from SciParam. Removed
296            tests against importing. Fixes RTBug #1867.
297    
298  2003-05-21  Bernhard Herzog  <[email protected]>  2003-05-21  Bernhard Herzog  <[email protected]>
299    
300          * test/test_load.py: Remove unused imports and restructure the          * test/test_load.py: Remove unused imports and restructure the

Legend:
Removed from v.958  
changed lines
  Added in v.1017

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26