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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26