/[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 992 by frank, Thu May 22 16:53:20 2003 UTC
# Line 1  Line 1 
1    2003-05-22  Frank Koormann  <[email protected]>
2    
3            Layer Top/Bottom placement added to legend.
4    
5            * Thuban/UI/legend.py
6            (LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods
7            bound to tool events.
8            (LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom):
9            New, methods binding the event methods with the map methods.
10    
11            * Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place
12            layer at top/bottom of layer stack.
13    
14            * Resources/Bitmaps/top_layer.xpm: New button icon.
15    
16            * Resources/Bitmaps/bottom_layer.xpm: New button icon.
17    
18    2003-05-22  Bernhard Herzog  <[email protected]>
19    
20            * Thuban/Model/session.py (Session.RemoveTable): New method to
21            remove tables
22    
23            * test/test_session.py (TestSessionSimple.test_remove_table): New.
24            Test for RemoveTable
25    
26    2003-05-22  Thomas Koester  <[email protected]>
27    
28            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
29            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
30    
31    2003-05-22  Bernhard Herzog  <[email protected]>
32    
33            Implement a way to discover dependencies between tables and
34            shapestores.
35    
36            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
37            (TransientJoinedTable.Dependencies)
38            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
39            interface
40            (TransientJoinedTable.__init__): Keep tack of the original table
41            objects in addition to the corresponding transient tables.
42    
43            * Thuban/Model/table.py (DBFTable.Dependencies)
44            (MemoryTable.Dependencies): New. Implement the dependencies
45            interface
46    
47            * Thuban/Model/data.py (ShapeTable): New. Helper class for
48            ShapefileStore
49            (ShapefileStore.__init__): Use ShapeTable instead of
50            AutoTransientTable
51            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
52            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
53            methods for filename and type
54            (ShapefileStore.Dependencies): New. Implement the dependencies
55            interface
56            (DerivedShapeStore): New class to replace SimpleStore. The main
57            difference to SimpleStore is that it depends not on a shapefile
58            but another shapestore which expresses the dependencies a bit
59            better
60            (SimpleStore.__init__): Add deprecation warning.
61    
62            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
63            Test for the Dependencies method.
64    
65            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
66            New. Test for the Dependencies method.
67    
68            * test/test_transientdb.py
69            (TestTransientTable.test_auto_transient_table_dependencies): New.
70            Test for the Dependencies method.
71            (TestTransientTable.test_transient_joined_table): Add test for the
72            Dependencies method.
73    
74            * test/test_session.py (TestSessionSimple.setUp)
75            (TestSessionSimple.tearDown): New. Implement a better way to
76            destroy the sessions.
77            (TestSessionSimple.test_initial_state)
78            (TestSessionSimple.test_add_table): Bind session to self.session
79            so that it's destroyed by tearDown
80            (TestSessionSimple.test_open_shapefile): New. Test for
81            OpenShapefile and the object it returns
82    
83    2003-05-22  Bernhard Herzog  <[email protected]>
84    
85            * Thuban/Model/session.py (Session.AddTable): New method to
86            register tables with the session.
87            (Session.Tables): Return the tables registered with AddTable too.
88    
89            * test/test_session.py (TestSessionSimple.test_add_table): New.
90            Test case for the AddTable method
91    
92    2003-05-22  Frank Koormann  <[email protected]>
93    
94            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
95            lower right corner, center labels for selections, initialize controls
96            in reasonable order for keyboard navigation.
97    
98            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
99            (ProjFrame.__DoOnProjAvail): Determine position of current projection
100            using the wxListBox.FindString() method. Still a problem (#1886)
101    
102            * Thuban/UI/classifier.py
103            (Classifier.__init__, SelectPropertiesDialog.__init__)
104    
105            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
106            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
107            different classification types from here to __init__.
108            (GenUniquePanel.__init__): Set the column width of the first field
109            in the Field ListCtrl to the full width.
110    
111            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
112            Button to 'Export'. Center Buttons in Selection Box, set Focus to
113            Grid.
114            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
115            changes focus to the Selection when pressing "Alt-S".
116    
117            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
118            the text if not visible. The italic font sometimes exceeds the
119            rendering area.
120    
121    2003-05-21  Jonathan Coles   <[email protected]>
122    
123            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
124            to OnClose so that Thuban closes correctly.
125    
126            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
127            DockFrame.OnClose, not DockFrame._OnClose.
128    
129    2003-05-21  Jonathan Coles   <[email protected]>
130    
131            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
132            references to 'inf' and use new Range __init__ to pass floats
133            directly rather than converting them to strings first.
134            Fixes RTBug #1876.
135    
136            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
137            Use new Range ___init__ to pass floats.
138    
139            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
140            filename is a valid image file. Throw IOError otherwise.
141    
142            * Thuban/Model/range.py: Brought over new Range from SciParam that
143            is immutable and has an __init__ which can accept floats.
144    
145            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
146            into try block. AddLayer doesn't throw any exceptions anymore.
147            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
148            try block.
149    
150            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
151            the first item in choices. Fixes RTBug #1882.
152    
153            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
154            has gone to 0 which is a serious problem. abort.
155            (MapRenderer.draw_raster_layer): Catch IOError seperately and
156            print the error from GDAL.
157    
158            * Thuban/UI/tableview.py (TableGrid.__init__): Call
159            ToggleEventListeners to turn on listening.
160            (TableGrid.ToggleEventListeners): New. Turns event listening on
161            and off so as to prevent excessive messages.
162            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
163            to suppress excessive messages when selecting many rows.
164            Fixes RTBug #1880.
165    
166            * Thuban/UI/view.py: Added checks against if scale == 0. This
167            is a serious problem that can occur when an image without
168            geo data is loading and causes the map projection bounds to
169            go to infinity. Right now, the solution is to simply try
170            to recover.
171    
172            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
173            to set the MFILEReceiver attributes even if the data is NULL.
174    
175            * extensions/thuban/gdalwarp.cpp: Improved the error handling
176            and passed GDAL messages back up to the Python layer. Also
177            tried to fix some memory leaks that were present in the original
178            utility but didn't matter because the program aborted.
179    
180            * test/test_range.py: Copied over tests from SciParam. Removed
181            tests against importing. Fixes RTBug #1867.
182    
183  2003-05-21  Bernhard Herzog  <[email protected]>  2003-05-21  Bernhard Herzog  <[email protected]>
184    
185          * 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.992

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26