/[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 1095 by bh, Wed May 28 18:59:58 2003 UTC
# Line 1  Line 1 
1    2003-05-28  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer)
4            (MainWindow.CanDuplicateLayer): New methods to implement the
5            Layer/Duplicate command.
6            (layer_duplicate command): New.
7            (main_menu): Add layer_duplicate to the Layer menu.
8    
9    2003-05-28  Bernhard Herzog  <[email protected]>
10    
11            * Thuban/UI/tableview.py (NullRenderer.Draw): New. Our own
12            renderer so that NULL/None values get displayed differently (by a
13            gray rectangle).
14            (TableGrid.__init__): Override the default renderers
15    
16    2003-05-28  Bernhard Herzog  <[email protected]>
17    
18            * Thuban/Model/layer.py (Layer.SetShapeStore): Set the
19            classification to "None" if the type of the field has changed.
20    
21            * test/test_layer.py (SetShapeStoreTests): New. Class with a few
22            test for the Layer.SetShapeStore method
23    
24    2003-05-28  Jan-Oliver Wagner <[email protected]>
25    
26            * Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer
27            does not necessarily have a filename).
28    
29    2003-05-28  Jan-Oliver Wagner <[email protected]>
30    
31            * Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow):
32            sort the selection list for the dialog.
33    
34    2003-05-28  Frank Koormann  <[email protected]>
35    
36            * extensions/thuban/wxproj.cpp
37            (project_point): Removed cast to int for projected point coordinates.
38            (shape_centroid): Return last point if all polygon vertices fall
39            to one point.
40    
41    2003-05-28  Bernhard Herzog  <[email protected]>
42    
43            * Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope
44            with layers that don't have shapestores, i.e. raster layers.
45    
46    2003-05-28  Bernhard Herzog  <[email protected]>
47    
48            * Thuban/Model/table.py (DBFTable.__init__): Omit the extension
49            when determining the title from the filename.
50    
51            * test/test_dbf_table.py (TestDBFTable.test_title): Update to
52            reflect changes in the way the title is derived from the filename
53    
54    2003-05-28  Frank Koormann  <[email protected]>
55    
56            * Thuban/UI/mainwindow.py (MainWindow.TableShow):
57            Added wxDEFAULT_DIALOG_STYLE to show table dialog styles.
58    
59    2003-05-27  Bernhard Herzog  <[email protected]>
60    
61            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages): Also
62            delegate SelectedLayer.
63            (MainWindow.LayerUnjoinTable): Implement.
64            (_can_unjoin): New. Helper function for the sensitivity of the
65            layer/unjoin command.
66    
67            * Thuban/Model/data.py (ShapefileStore.OrigShapeStore)
68            (DerivedShapeStore.OrigShapeStore): New. Return the original
69            shapestore. Used to figure out how to unjoin.
70            (DerivedShapeStore.Shapefile): Fix a typo.
71    
72    2003-05-27  Bernhard Herzog  <[email protected]>
73    
74            * Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as
75            well
76            (JoinDialog.__init__): Use the layer parameter and only build the
77            left choice when a layer is given
78            (JoinDialog.OnJoin): Handle layer joins as well
79            (JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case
80            that the user selects the "Select..." item. The sensitivitly
81            updating is now in update_sensitivity
82            (JoinDialog.y): New method to refactor the sensitivity update of
83            the join button into its own method.
84    
85            * Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement.
86    
87    2003-05-27  Bernhard Herzog  <[email protected]>
88    
89            * Thuban/UI/mainwindow.py (table_close command): Make it sensitive
90            iff there are unreferenced tables in the session
91    
92    2003-05-27  Bernhard Herzog  <[email protected]>
93    
94            * Thuban/Model/messages.py (TABLE_REMOVED): New message.
95    
96            * Thuban/Model/session.py (Session.UnreferencedTables): New method
97            to return tables that are not referenced by other tables or shape
98            stores and can be removed.
99            (Session.RemoveTable): Issue a TABLE_REMOVED message after
100            removing the table
101    
102            * Thuban/UI/mainwindow.py: Remove unused imports
103            (MainWindow.TableClose): Implement.
104    
105            * Thuban/UI/tableview.py (TableFrame.__init__): Subscribe to some
106            messages so that the frame will be automatically closed when a new
107            session is opened or the table is removed.
108            (TableFrame.OnClose): Unsubscribe the Subscriptions made in
109            __init__
110            (TableFrame.close_on_session_replaced)
111            (TableFrame.close_on_table_removed): New. Subscribers that close
112            the window
113    
114            * test/test_session.py (TestSessionMessages.test_remove_table)
115            (TestSessionSimple.test_remove_table): Move the test to
116            TestSessionSimple and add test for the TABLE_REMOVED message
117            (TestSessionBase.setUp): Also subscribe to TABLE_REMOVED
118            (TestSessionSimple.test_unreferenced_tables) New. Test for the
119            UnreferencedTables method.
120            (UnreferencedTablesTests): New. Class with some more sophisticated
121            tests for UnreferencedTables.
122    
123    2003-05-27  Frank Koormann  <[email protected]>
124    
125            * Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election"
126            display has some unwanted side effects. Removed again.
127    
128    2003-05-27  Frank Koormann  <[email protected]>
129    
130            * Resources/Bitmaps/legend_icon_layer.xpm: New, icon for legend.
131    
132            * Thuban/UI/legend.py (LegendTree.__FillTree): Use "legend_icon_layer"
133    
134    2003-05-27  Jan-Oliver Wagner <[email protected]>
135    
136            * test/test_menu.py (MenuTest.test): Added test for
137            Menu.RemoveItem().
138    
139            * Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from
140            the menu.
141    
142    2003-05-27  Frank Koormann  <[email protected]>
143            
144            Nonmodal dialogs without parent (i.e. they can fall behind the main
145            window)
146    
147            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Explicitly destroy
148            all dialogs in the dialogs dictionary and the canvas.
149    
150            * Thuban/UI/dialogs.py (NonModalNonParentDialog): New class, without
151            parent, i.e. can fall behind other windows.
152            (NonModalDialog.OnClose): Check is dialog is in mainwindow.dialog
153            dictionary before removing it.
154    
155            * Thuban/UI/classifier.py: Dialog derived from NonModalNonParentDialog
156    
157            * Thuban/UI/projdialog.py: Dialog derived from NonModalNonParentDialog
158            * Thuban/UI/tableview.py: Dialog derived from NonModalNonParentDialog
159            * Thuban/UI/tree.py: Dialog derived from NonModalNonParentDialog
160    
161    2003-05-27  Bernhard Herzog  <[email protected]>
162    
163            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): New. Open a
164            tableview dialog
165            (MainWindow.TableShow): Use ShowTableView to open the dialogs.
166            Also, don't use the table's titles as the dialog names. The titles
167            aren't guaranteed to be unique.
168            (MainWindow.TableOpen): Open a table view dialog after opening the
169            table
170    
171    2003-05-27  Bernhard Herzog  <[email protected]>
172    
173            * Thuban/UI/mainwindow.py: Remove the Table/Hide menu item. Its
174            effect can be achieved by simply closing the window showing the
175            table.
176            (MainWindow.TableHide): Removed.
177            (main_menu): Removed "table_hide"
178    
179    2003-05-27  Frank Koormann  <[email protected]>
180    
181            Fix legend tree display problems under Win32
182    
183            * Thuban/UI/legend.py:  BMP_SIZE_W = 15
184            (LegendTree.__FillTree): Display "legend_icon_map.xpm" with layer title.
185            (LegendTree.__FillTreeLayer): Explicitely set SelectedImage.
186    
187            * Resources/Bitmaps/legend_icon_map.xpm: New icon for legend.
188    
189    2003-05-27  Jan-Oliver Wagner <[email protected]>
190    
191            * Thuban/UI/menu.py (Menu.InsertSeparator): Additional optional parameter
192            'after' now allows to insert separators almost anywhere in the menu.
193    
194    2003-05-27  Frank Koormann  <[email protected]>
195    
196            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Underline the
197            "S" of selection box label to hint on hot key (Alt-S). Works under
198            Win32 but is ignored under GTK.
199    
200    2003-05-26  Frank Koormann  <[email protected]>
201    
202            * Thuban/UI/projdialog.py (ProjFrame.__do_layout, ProjPanel._DoLayout):
203            Center Choices.
204    
205    2003-05-26  Bernhard Herzog  <[email protected]>
206    
207            Remove the Precision methods again. They're too DBF specific to be
208            part of the table interface and they're only used in table_to_dbf
209            anyway.
210            
211            * Thuban/Model/transientdb.py (TransientTableBase.Width):Use a
212            fixed precision of 12 for doubles.
213            (TransientTableBase.Precision): Removed
214            (AutoTransientTable.Width): Delegate to self.table.
215    
216            * Thuban/Model/table.py (DBFTable.Precision)
217            (MemoryTable.Precision): Removed.
218            (MemoryTable.Width): Use a fixed precision of 12 for doubles.
219            (table_to_dbf): Use a fixed precision of 12 for floats unless the
220            column object specifies something else.
221    
222            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): New.
223            test for table_to_dbf
224    
225    2003-05-26  Bernhard Herzog  <[email protected]>
226    
227            * test/test_transientdb.py
228            (TestTransientTable.run_iceland_political_tests): Fix a comment.
229    
230    2003-05-26  Bernhard Herzog  <[email protected]>
231    
232            * Thuban/UI/mainwindow.py (MainWindow.TableOpen): Real
233            implementation. Mark parts of the file format strings for
234            localization.
235    
236            * Thuban/Model/session.py (Session.OpenTableFile): New. Open a dbf
237            file and add the table to the tables managed by the session
238    
239            * test/test_session.py (TestSessionSimple.test_open_table_file):
240            New. test case for OpenTableFile
241    
242    2003-05-26  Jan-Oliver Wagner <[email protected]>
243    
244            * Thuban/UI/controls.py, Thuban/UI/identifyview.py, Thuban/UI/join.py,
245            Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py,
246            Thuban/UI/proj4dialog.py, Thuban/UI/tableview.py, Thuban/UI/view.py:
247            Replace the true/false of wxWindows by True/False of Python 2.2.1.
248    
249    2003-05-26  Jan-Oliver Wagner <[email protected]>
250    
251            * Thuban/UI/tableview.py (LayerTableFrame.__init__): If there is
252            already a selection present, update the grid accordingly.
253    
254            * Thuban/UI/mainwindow.py (MainWindow.TableShow): Make the dialog
255            resizeable and increase its initial size.
256    
257    2003-05-26  Frank Koormann  <[email protected]>
258    
259            Table export functionality
260    
261            * Thuban/Model/table.py (DBFTable.Width, MemoryTable.Width):
262            Return width (in characters) for a column.
263            (DBFTable.Precision, MemoryTable.Precision): Return decimal precision.
264            (table_to_dbf): Write table to dbf file.
265            (table_to_csv): Write table to csv file.
266    
267            * Thuban/Model/transientdb.py (TransientTableBase.Width,
268            TransientTableBase.Precision): Return column width and precision.
269    
270            * Thuban/UI/tableview.py (QueryTableFrame.OnSaveAs): Call table_to_dbf
271            or table_to_csv depending on file selection.
272    
273            * test/test_dbf_table.py:
274            Test table_to_dbf (extension of former part of test).
275    
276            * test/test_csv_table.py:
277            Test table_to_csv.
278    
279    2003-05-23  Jan-Oliver Wagner <[email protected]>
280    
281            * Thuban/UI/join.py (JoinDialog.OnJoin): Use _() for strings.
282            Use QueryTableFrame instead of TableFrame.
283    
284            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Prefix the
285            table window with 'Layer Table:' instead of 'Table:'.
286    
287    2003-05-23  Jan-Oliver Wagner <[email protected]>
288    
289            Give all tables a title via mix-in TitledObject.LayerShowTable
290    
291            * Thuban/Model/base.py (TitledObject.SetTitle): Call method 'issue'
292            only if it exists.
293    
294            * Thuban/Model/table.py (DBFTable, MemoryTable): mix-in TitledObject
295            and call its init-method with a default title. Remove Title() method.
296    
297            * Thuban/Model/transientdb.py (TransientTable, TransientJoinedTable,
298            AutoTransientTable): mix-in TitledObject and call its init-method with
299            a default title. Remove Title() method.
300    
301    2003-05-23  Bernhard Herzog  <[email protected]>
302    
303            * Thuban/Model/session.py (Session.AddShapeStore): Define
304            AddShapeStore analogously to AddTable.
305    
306            * test/test_session.py (TestSessionSimple.test_add_shapestore):
307            New. Test for AddShapeStore
308    
309    2003-05-23  Jan-Oliver Wagner <[email protected]>
310    
311            Introducing QueryTableFrame and a very coarse ShowTable implementation.
312    
313            * Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the
314            class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame.
315            The latter implements the selection GUI without dependency on a layer.
316            LayerTableFrame now is derived from QueryTableFrame and connects
317            to a layer.
318    
319            * Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse
320            implementation that still needs work.
321    
322            * Thuban/Model/layer.py (Layer.TreeInfo): Added filename.
323    
324    2003-05-22  Frank Koormann  <[email protected]>
325    
326            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
327            Added "outer_join = False" as optional parameter.
328            (TransientJoinedTable.create): If outer join is true, perform a
329            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
330            the left table. Records not matching are filled with 0 / None.
331    
332            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
333            (JoinDialog.OnJoin): Consider outer join check box.
334    
335    2003-05-22  Bernhard Herzog  <[email protected]>
336    
337            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
338            somewhat safer way. Storing the traceback in a local variable can
339            lead to memory leaks
340    
341    2003-05-22  Bernhard Herzog  <[email protected]>
342    
343            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
344            the wxMessageDialog's Destroy() method.
345    
346    2003-05-22  Frank Koormann  <[email protected]>
347    
348            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
349            TransientTable.Title()
350    
351    2003-05-22  Frank Koormann  <[email protected]>
352    
353            Join Dialog, initial version.
354    
355            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
356    
357            * Thuban/UI/join.py (JoinDialog): Functional implementation of
358            former framework. Renamed Table1/Table2 to LeftTable/RightTable
359            in all occurences.
360    
361            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
362            Typo fixed.
363    
364    2003-05-22  Bernhard Herzog  <[email protected]>
365    
366            Give the tables titles so that the GUI can display more meaningful
367            names. For now the titles are fixed but depend on e.g. filenames
368            or the titles of the joined tables.
369    
370            * Thuban/Model/transientdb.py (TransientTable.Title)
371            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
372    
373            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
374    
375            * test/test_transientdb.py
376            (TestTransientTable.test_auto_transient_table_title): New. Test
377            for the Title method
378            (TestTransientTable.test_transient_joined_table)
379            (TestTransientTable.test_transient_table): Add test for the Title
380            methods
381    
382            * test/test_memory_table.py (TestMemoryTable.test_title): New.
383            Test for the Title method
384    
385            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
386            the Title method
387    
388    2003-05-22  Bernhard Herzog  <[email protected]>
389    
390            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
391            Provide a better way to destroy the layers
392            (TestLayer.test_base_layer, TestLayer.test_arc_layer)
393            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
394            (TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use
395            the new way to destroy the layers.
396            (TestLayer.test_derived_store): New. Test for using a layer with a
397            DerivedShapeStore
398    
399            * Thuban/Model/layer.py (Layer.SetShapeStore): Only set the
400            filename if the shape store actually has one.
401    
402    2003-05-22  Bernhard Herzog  <[email protected]>
403    
404            * Thuban/Model/table.py (DBFTable.FileName): New. Accessor method
405            for the filename
406    
407            * test/test_dbf_table.py (TestDBFTable.test_filename): New. Test
408            for the FileName method
409            (TestDBFTableWriting.test_write): Fix spelling of filename
410    
411    2003-05-22  Thomas Koester  <[email protected]>
412    
413            * Thuban/Model/range.py, test/test_range.py: Brought over new Range
414            from SciParam that now really is immutable.
415    
416    2003-05-22  Frank Koormann  <[email protected]>
417    
418            Layer Top/Bottom placement added to legend.
419    
420            * Thuban/UI/legend.py
421            (LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods
422            bound to tool events.
423            (LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom):
424            New, methods binding the event methods with the map methods.
425    
426            * Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place
427            layer at top/bottom of layer stack.
428    
429            * Resources/Bitmaps/top_layer.xpm: New button icon.
430    
431            * Resources/Bitmaps/bottom_layer.xpm: New button icon.
432    
433    2003-05-22  Bernhard Herzog  <[email protected]>
434    
435            * Thuban/Model/session.py (Session.RemoveTable): New method to
436            remove tables
437    
438            * test/test_session.py (TestSessionSimple.test_remove_table): New.
439            Test for RemoveTable
440    
441    2003-05-22  Thomas Koester  <[email protected]>
442    
443            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
444            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
445    
446    2003-05-22  Bernhard Herzog  <[email protected]>
447    
448            Implement a way to discover dependencies between tables and
449            shapestores.
450    
451            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
452            (TransientJoinedTable.Dependencies)
453            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
454            interface
455            (TransientJoinedTable.__init__): Keep tack of the original table
456            objects in addition to the corresponding transient tables.
457    
458            * Thuban/Model/table.py (DBFTable.Dependencies)
459            (MemoryTable.Dependencies): New. Implement the dependencies
460            interface
461    
462            * Thuban/Model/data.py (ShapeTable): New. Helper class for
463            ShapefileStore
464            (ShapefileStore.__init__): Use ShapeTable instead of
465            AutoTransientTable
466            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
467            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
468            methods for filename and type
469            (ShapefileStore.Dependencies): New. Implement the dependencies
470            interface
471            (DerivedShapeStore): New class to replace SimpleStore. The main
472            difference to SimpleStore is that it depends not on a shapefile
473            but another shapestore which expresses the dependencies a bit
474            better
475            (SimpleStore.__init__): Add deprecation warning.
476    
477            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
478            Test for the Dependencies method.
479    
480            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
481            New. Test for the Dependencies method.
482    
483            * test/test_transientdb.py
484            (TestTransientTable.test_auto_transient_table_dependencies): New.
485            Test for the Dependencies method.
486            (TestTransientTable.test_transient_joined_table): Add test for the
487            Dependencies method.
488    
489            * test/test_session.py (TestSessionSimple.setUp)
490            (TestSessionSimple.tearDown): New. Implement a better way to
491            destroy the sessions.
492            (TestSessionSimple.test_initial_state)
493            (TestSessionSimple.test_add_table): Bind session to self.session
494            so that it's destroyed by tearDown
495            (TestSessionSimple.test_open_shapefile): New. Test for
496            OpenShapefile and the object it returns
497    
498    2003-05-22  Bernhard Herzog  <[email protected]>
499    
500            * Thuban/Model/session.py (Session.AddTable): New method to
501            register tables with the session.
502            (Session.Tables): Return the tables registered with AddTable too.
503    
504            * test/test_session.py (TestSessionSimple.test_add_table): New.
505            Test case for the AddTable method
506    
507    2003-05-22  Frank Koormann  <[email protected]>
508    
509            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
510            lower right corner, center labels for selections, initialize controls
511            in reasonable order for keyboard navigation.
512    
513            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
514            (ProjFrame.__DoOnProjAvail): Determine position of current projection
515            using the wxListBox.FindString() method. Still a problem (#1886)
516    
517            * Thuban/UI/classifier.py
518            (Classifier.__init__, SelectPropertiesDialog.__init__)
519    
520            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
521            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
522            different classification types from here to __init__.
523            (GenUniquePanel.__init__): Set the column width of the first field
524            in the Field ListCtrl to the full width.
525    
526            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
527            Button to 'Export'. Center Buttons in Selection Box, set Focus to
528            Grid.
529            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
530            changes focus to the Selection when pressing "Alt-S".
531    
532            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
533            the text if not visible. The italic font sometimes exceeds the
534            rendering area.
535    
536    2003-05-21  Jonathan Coles   <[email protected]>
537    
538            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
539            to OnClose so that Thuban closes correctly.
540    
541            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
542            DockFrame.OnClose, not DockFrame._OnClose.
543    
544    2003-05-21  Jonathan Coles   <[email protected]>
545    
546            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
547            references to 'inf' and use new Range __init__ to pass floats
548            directly rather than converting them to strings first.
549            Fixes RTBug #1876.
550    
551            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
552            Use new Range ___init__ to pass floats.
553    
554            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
555            filename is a valid image file. Throw IOError otherwise.
556    
557            * Thuban/Model/range.py: Brought over new Range from SciParam that
558            is immutable and has an __init__ which can accept floats.
559    
560            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
561            into try block. AddLayer doesn't throw any exceptions anymore.
562            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
563            try block.
564    
565            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
566            the first item in choices. Fixes RTBug #1882.
567    
568            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
569            has gone to 0 which is a serious problem. abort.
570            (MapRenderer.draw_raster_layer): Catch IOError seperately and
571            print the error from GDAL.
572    
573            * Thuban/UI/tableview.py (TableGrid.__init__): Call
574            ToggleEventListeners to turn on listening.
575            (TableGrid.ToggleEventListeners): New. Turns event listening on
576            and off so as to prevent excessive messages.
577            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
578            to suppress excessive messages when selecting many rows.
579            Fixes RTBug #1880.
580    
581            * Thuban/UI/view.py: Added checks against if scale == 0. This
582            is a serious problem that can occur when an image without
583            geo data is loading and causes the map projection bounds to
584            go to infinity. Right now, the solution is to simply try
585            to recover.
586    
587            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
588            to set the MFILEReceiver attributes even if the data is NULL.
589    
590            * extensions/thuban/gdalwarp.cpp: Improved the error handling
591            and passed GDAL messages back up to the Python layer. Also
592            tried to fix some memory leaks that were present in the original
593            utility but didn't matter because the program aborted.
594    
595            * test/test_range.py: Copied over tests from SciParam. Removed
596            tests against importing. Fixes RTBug #1867.
597    
598  2003-05-21  Bernhard Herzog  <[email protected]>  2003-05-21  Bernhard Herzog  <[email protected]>
599    
600          * 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.1095

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26